@beehexa/design-rules 2611.5.5 → 2611.6.1
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.
- package/README.md +1 -1
- package/dist/catalog.json +908 -208
- package/dist/docs/public/_redirects +2 -2
- package/dist/docs/scripts/color-pairs.mjs +4 -0
- package/dist/docs/src/components/ChildPages.astro +8 -1
- package/dist/docs/src/components/ColorDemo.astro +12 -9
- package/dist/docs/src/components/DocsFooter.astro +1 -1
- package/dist/docs/src/components/HelpOptions.astro +8 -6
- package/dist/docs/src/components/IconBrowser.astro +2 -2
- package/dist/docs/src/components/LayoutDemo.astro +178 -99
- package/dist/docs/src/components/NativeControlsDemo.astro +165 -40
- package/dist/docs/src/components/NativeFlowDemo.astro +206 -0
- package/dist/docs/src/components/PhaseTable.astro +9 -5
- package/dist/docs/src/components/RoleGuides.astro +30 -22
- package/dist/docs/src/components/RuleDemo.astro +111 -0
- package/dist/docs/src/components/ShapeDemo.astro +24 -36
- package/dist/docs/src/components/SiteHeader.astro +1 -1
- package/dist/docs/src/components/SpacingDemo.astro +2 -0
- package/dist/docs/src/components/SwitchToggle.astro +13 -0
- package/dist/docs/src/components/SystemAreas.astro +9 -6
- package/dist/docs/src/components/TableOfContents.astro +1 -1
- package/dist/docs/src/components/TokenSearch.astro +64 -0
- package/dist/docs/src/components/TokenTable.astro +14 -9
- package/dist/docs/src/components/TypeDemo.astro +1 -1
- package/dist/docs/src/components/logos/LogoClearSpace.astro +1 -1
- package/dist/docs/src/content/components/button/accessibility.mdx +3 -3
- package/dist/docs/src/content/components/button/changelog.mdx +1 -1
- package/dist/docs/src/content/components/button/examples.mdx +10 -23
- package/dist/docs/src/content/components/button/meta.json +5 -1
- package/dist/docs/src/content/components/button/usage.mdx +13 -26
- package/dist/docs/src/content/components/resizable-panel/meta.json +5 -1
- package/dist/docs/src/content/{foundations/styles/scrollbars.mdx → components/scrollbar/code.mdx} +20 -39
- package/dist/docs/src/content/components/scrollbar/meta.json +9 -0
- package/dist/docs/src/content/components/scrollbar/usage.mdx +36 -0
- package/dist/docs/src/content/components/switch/accessibility.mdx +28 -0
- package/dist/docs/src/content/components/switch/examples.mdx +35 -0
- package/dist/docs/src/content/components/switch/meta.json +9 -0
- package/dist/docs/src/content/components/switch/usage.mdx +44 -0
- package/dist/docs/src/content/foundations/guidelines/accessibility/statement.mdx +4 -2
- package/dist/docs/src/content/foundations/guidelines/accessibility/testing.mdx +1 -1
- package/dist/docs/src/content/foundations/guidelines/accessibility.mdx +1 -1
- package/dist/docs/src/content/foundations/guidelines/content/messages.mdx +67 -0
- package/dist/docs/src/content/foundations/guidelines/content/numbers-dates-and-currency.mdx +72 -0
- package/dist/docs/src/content/foundations/guidelines/content/style-and-grammar.mdx +92 -0
- package/dist/docs/src/content/foundations/guidelines/content/terms.mdx +57 -0
- package/dist/docs/src/content/foundations/guidelines/content/voice-and-tone.mdx +48 -0
- package/dist/docs/src/content/foundations/guidelines/content.mdx +22 -17
- package/dist/docs/src/content/foundations/styles/border.mdx +5 -6
- package/dist/docs/src/content/foundations/styles/color/accessibility.mdx +31 -7
- package/dist/docs/src/content/foundations/styles/color/dark-mode.mdx +66 -6
- package/dist/docs/src/content/foundations/styles/color/palette.mdx +2 -2
- package/dist/docs/src/content/foundations/styles/color/usage.mdx +5 -5
- package/dist/docs/src/content/foundations/styles/data-visualization.mdx +33 -78
- package/dist/docs/src/content/foundations/styles/elevation.mdx +2 -2
- package/dist/docs/src/content/foundations/styles/icons/accessibility.mdx +1 -1
- package/dist/docs/src/content/foundations/styles/icons/code.mdx +1 -1
- package/dist/docs/src/content/foundations/styles/icons/library.mdx +2 -2
- package/dist/docs/src/content/foundations/styles/icons/usage.mdx +0 -3
- package/dist/docs/src/content/foundations/styles/interaction-states.mdx +40 -14
- package/dist/docs/src/content/foundations/styles/layout/app-frame.mdx +4 -9
- package/dist/docs/src/content/foundations/styles/layout/grid.mdx +1 -1
- package/dist/docs/src/content/foundations/styles/layout/overlays.mdx +3 -0
- package/dist/docs/src/content/foundations/styles/logos/downloads-and-terms.mdx +3 -3
- package/dist/docs/src/content/foundations/styles/logos/using-the-logo.mdx +1 -1
- package/dist/docs/src/content/foundations/styles/motion.mdx +2 -0
- package/dist/docs/src/content/foundations/styles/radius.mdx +38 -27
- package/dist/docs/src/content/foundations/styles/size-and-density.mdx +7 -6
- package/dist/docs/src/content/foundations/styles/spacing.mdx +1 -1
- package/dist/docs/src/content/foundations/styles/typography/code.mdx +1 -1
- package/dist/docs/src/content/foundations/styles/typography/usage.mdx +7 -0
- package/dist/docs/src/content/foundations/styles/z-index.mdx +3 -16
- package/dist/docs/src/content/foundations/tokens/all-tokens.mdx +51 -2
- package/dist/docs/src/content/foundations/tokens/index.mdx +91 -6
- package/dist/docs/src/content/get-started/content.mdx +25 -3
- package/dist/docs/src/content/get-started/design.mdx +34 -15
- package/dist/docs/src/content/get-started/develop.mdx +83 -28
- package/dist/docs/src/content/get-started/get-help.mdx +21 -5
- package/dist/docs/src/content/get-started/index.mdx +11 -12
- package/dist/docs/src/content/tools/ant-design-vue-theme.mdx +176 -48
- package/dist/docs/src/content/tools/application-content.mdx +52 -13
- package/dist/docs/src/content/tools/editors.mdx +36 -28
- package/dist/docs/src/content/tools/mermaid.mdx +42 -9
- package/dist/docs/src/content/tools/vueflow.mdx +56 -7
- package/dist/docs/src/content-vi/components/button/accessibility.mdx +51 -0
- package/dist/docs/src/content-vi/components/button/changelog.mdx +6 -0
- package/dist/docs/src/content-vi/components/button/examples.mdx +27 -0
- package/dist/docs/src/content-vi/components/button/usage.mdx +31 -0
- package/dist/docs/src/content-vi/components/resizable-panel/accessibility.mdx +58 -0
- package/dist/docs/src/content-vi/components/resizable-panel/changelog.mdx +20 -0
- package/dist/docs/src/content-vi/components/resizable-panel/code.mdx +78 -0
- package/dist/docs/src/content-vi/components/resizable-panel/examples.mdx +83 -0
- package/dist/docs/src/content-vi/components/resizable-panel/usage.mdx +97 -0
- package/dist/docs/src/content-vi/components/scrollbar/code.mdx +71 -0
- package/dist/docs/src/content-vi/components/scrollbar/usage.mdx +36 -0
- package/dist/docs/src/content-vi/components/switch/accessibility.mdx +28 -0
- package/dist/docs/src/content-vi/components/switch/examples.mdx +35 -0
- package/dist/docs/src/content-vi/components/switch/usage.mdx +44 -0
- package/dist/docs/src/content-vi/foundations/guidelines/accessibility/statement.mdx +4 -2
- package/dist/docs/src/content-vi/foundations/guidelines/accessibility/testing.mdx +1 -1
- package/dist/docs/src/content-vi/foundations/guidelines/accessibility.mdx +1 -1
- package/dist/docs/src/content-vi/foundations/guidelines/content/messages.mdx +67 -0
- package/dist/docs/src/content-vi/foundations/guidelines/content/numbers-dates-and-currency.mdx +71 -0
- package/dist/docs/src/content-vi/foundations/guidelines/content/style-and-grammar.mdx +91 -0
- package/dist/docs/src/content-vi/foundations/guidelines/content/terms.mdx +57 -0
- package/dist/docs/src/content-vi/foundations/guidelines/content/voice-and-tone.mdx +48 -0
- package/dist/docs/src/content-vi/foundations/guidelines/content.mdx +24 -19
- package/dist/docs/src/content-vi/foundations/styles/border.mdx +5 -5
- package/dist/docs/src/content-vi/foundations/styles/color/accessibility.mdx +30 -7
- package/dist/docs/src/content-vi/foundations/styles/color/dark-mode.mdx +65 -6
- package/dist/docs/src/content-vi/foundations/styles/color/palette.mdx +2 -2
- package/dist/docs/src/content-vi/foundations/styles/color/usage.mdx +5 -5
- package/dist/docs/src/content-vi/foundations/styles/data-visualization.mdx +31 -1
- package/dist/docs/src/content-vi/foundations/styles/elevation.mdx +2 -2
- package/dist/docs/src/content-vi/foundations/styles/icons/accessibility.mdx +1 -1
- package/dist/docs/src/content-vi/foundations/styles/icons/code.mdx +1 -1
- package/dist/docs/src/content-vi/foundations/styles/icons/library.mdx +2 -2
- package/dist/docs/src/content-vi/foundations/styles/icons/usage.mdx +0 -3
- package/dist/docs/src/content-vi/foundations/styles/interaction-states.mdx +54 -12
- package/dist/docs/src/content-vi/foundations/styles/layout/app-frame.mdx +4 -9
- package/dist/docs/src/content-vi/foundations/styles/layout/grid.mdx +1 -1
- package/dist/docs/src/content-vi/foundations/styles/layout/overlays.mdx +3 -0
- package/dist/docs/src/content-vi/foundations/styles/logos/downloads-and-terms.mdx +3 -3
- package/dist/docs/src/content-vi/foundations/styles/motion.mdx +2 -0
- package/dist/docs/src/content-vi/foundations/styles/radius.mdx +38 -27
- package/dist/docs/src/content-vi/foundations/styles/size-and-density.mdx +7 -6
- package/dist/docs/src/content-vi/foundations/styles/spacing.mdx +1 -1
- package/dist/docs/src/content-vi/foundations/styles/typography/code.mdx +1 -1
- package/dist/docs/src/content-vi/foundations/styles/typography/usage.mdx +7 -0
- package/dist/docs/src/content-vi/foundations/styles/z-index.mdx +3 -16
- package/dist/docs/src/content-vi/foundations/tokens/all-tokens.mdx +51 -2
- package/dist/docs/src/content-vi/foundations/tokens/index.mdx +90 -5
- package/dist/docs/src/content-vi/get-started/content.mdx +36 -0
- package/dist/docs/src/content-vi/get-started/design.mdx +49 -0
- package/dist/docs/src/content-vi/get-started/develop.mdx +110 -0
- package/dist/docs/src/content-vi/get-started/get-help.mdx +35 -0
- package/dist/docs/src/content-vi/get-started/index.mdx +49 -0
- package/dist/docs/src/content-vi/release-phases/index.mdx +11 -0
- package/dist/docs/src/content-vi/tools/ai-agents.mdx +36 -0
- package/dist/docs/src/content-vi/tools/ant-design-vue-theme.mdx +676 -0
- package/dist/docs/src/content-vi/tools/application-content.mdx +171 -0
- package/dist/docs/src/content-vi/tools/editors.mdx +254 -0
- package/dist/docs/src/content-vi/tools/eslint.mdx +15 -0
- package/dist/docs/src/content-vi/tools/index.mdx +7 -0
- package/dist/docs/src/content-vi/tools/mermaid.mdx +179 -0
- package/dist/docs/src/content-vi/tools/stylelint.mdx +18 -0
- package/dist/docs/src/content-vi/tools/vueflow.mdx +189 -0
- package/dist/docs/src/content.config.ts +12 -1
- package/dist/docs/src/lib/dates.ts +8 -0
- package/dist/docs/src/lib/i18n.ts +1 -0
- package/dist/docs/src/lib/navigation.ts +6 -4
- package/dist/docs/src/lib/token-descriptions-vi.ts +247 -11
- package/dist/docs/src/lib/tokens.ts +3 -0
- package/dist/docs/src/styles/chrome.css +8 -8
- package/dist/docs/src/styles/color.css +31 -31
- package/dist/docs/src/styles/docs.css +55 -40
- package/dist/docs/src/styles/elevation.css +1 -1
- package/dist/docs/src/styles/global.css +13 -4
- package/dist/docs/src/styles/icons.css +16 -16
- package/dist/docs/src/styles/kit.css +29 -10
- package/dist/docs/src/styles/layout.css +16 -11
- package/dist/docs/src/styles/logos.css +24 -24
- package/dist/docs/src/styles/opacity.css +3 -3
- package/dist/docs/src/styles/rules.css +24 -0
- package/dist/docs/src/styles/shapes.css +2 -2
- package/dist/docs/src/styles/tokens.css +228 -147
- package/dist/docs/src/styles/tokens.js +88 -62
- package/dist/docs/src/styles/typography.css +9 -9
- package/dist/docs/src/styles/zindex.css +6 -5
- package/dist/docs/tokens/color.json +24 -14
- package/dist/docs/tokens/components.json +39 -0
- package/dist/docs/tokens/content.json +103 -10
- package/dist/docs/tokens/diagram.json +490 -49
- package/dist/docs/tokens/editor.json +128 -22
- package/dist/docs/tokens/flow.json +412 -80
- package/dist/docs/tokens/layout.json +13 -4
- package/dist/docs/tokens/motion.json +11 -0
- package/dist/docs/tokens/radius.json +9 -9
- package/dist/docs/tokens/renderer.json +8 -0
- package/dist/docs/tokens/resize.json +84 -15
- package/dist/docs/tokens/scrollbar.json +42 -7
- package/dist/docs/tokens/size.json +6 -6
- package/dist/docs/tokens/spacing.json +1 -1
- package/dist/docs/tokens/switch.json +314 -59
- package/dist/docs/tokens/typography.json +1 -1
- package/dist/docs/tokens/visualization.json +465 -53
- package/dist/docs/tokens/z-index.json +0 -10
- package/dist/index.js +908 -208
- package/package.json +1 -1
- package/dist/docs/src/brand/structure-proposal.md +0 -227
- package/dist/docs/src/content/components/button/code.mdx +0 -34
|
@@ -17,15 +17,24 @@
|
|
|
17
17
|
"large": { "$type": "dimension", "$value": "{space.400}", "$description": "32px page margin from breakpoint.xl." }
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
+
"grid": {
|
|
21
|
+
"columns": {
|
|
22
|
+
"small": { "$type": "number", "$value": 4, "$description": "4 columns below breakpoint.md. Gutter and page margin space.200." },
|
|
23
|
+
"medium": { "$type": "number", "$value": 8, "$description": "8 columns from breakpoint.md. Gutter and page margin space.300." },
|
|
24
|
+
"large": { "$type": "number", "$value": 12, "$description": "12 columns from breakpoint.lg. Gutter space.300; page margin space.400 from breakpoint.xl." }
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"panel": {
|
|
28
|
+
"columns": {
|
|
29
|
+
"default": { "$type": "number", "$value": 4, "$description": "A side panel beside the main content takes 4 of 12 columns from breakpoint.lg. Below breakpoint.lg it opens as a drawer." },
|
|
30
|
+
"large": { "$type": "number", "$value": 3, "$description": "A side panel takes 3 of 12 columns from breakpoint.xl." }
|
|
31
|
+
}
|
|
32
|
+
},
|
|
20
33
|
"overlay": {
|
|
21
34
|
"default": { "$type": "dimension", "$value": "max(50vw, 900px)", "$description": "Default desktop width for a data-inspection overlay, from breakpoint.lg. Use the mobile role below breakpoint.lg. Not a default for small confirmation dialogs." },
|
|
22
35
|
"wide": { "$type": "dimension", "$value": "70vw", "$description": "Explicit wide data-inspection variant when its content needs it, from breakpoint.lg. Never a blanket override of all drawers." },
|
|
23
36
|
"mobile": { "$type": "dimension", "$value": "100vw", "$description": "Full available viewport width for data-inspection overlays below breakpoint.lg; content and actions must reflow." }
|
|
24
37
|
},
|
|
25
|
-
"renderer": {
|
|
26
|
-
"minimum-inline-size": { "$type": "dimension", "$value": "21.875rem", "$description": "350px nominal readable interactive editor/canvas viewport. The allocated outer shell still shrinks; expose narrower allocations through one explicit overflow owner. Not a minimum for static text or read-only fields." },
|
|
27
|
-
"minimum-block-size": { "$type": "dimension", "$value": "21.875rem", "$description": "350px nominal readable interactive editor/canvas viewport below its intrinsic toolbar. Fill larger parent allocations instead of treating this minimum as a fixed height or cap." }
|
|
28
|
-
},
|
|
29
38
|
"description": {
|
|
30
39
|
"minimum": { "$type": "dimension", "$value": "12.5rem", "$description": "200px nominal minimum description-column width in desktop structured data inspection. Below the available inline budget, stack content instead of forcing horizontal overflow." }
|
|
31
40
|
}
|
|
@@ -8,6 +8,17 @@
|
|
|
8
8
|
"slower": { "$type": "duration", "$value": "400ms", "$description": "400 ms. Opening full-screen sheets and other large surfaces." },
|
|
9
9
|
"slowest": { "$type": "duration", "$value": "600ms", "$description": "600 ms. Rare emphasized moments people see once, such as finishing onboarding. Never for everyday controls." }
|
|
10
10
|
},
|
|
11
|
+
"wait": {
|
|
12
|
+
"tooltip": {
|
|
13
|
+
"show": { "$type": "duration", "$value": "300ms", "$description": "300 ms. A tooltip shows after the pointer rests this long; at once on keyboard focus, and at once for the next tooltip. A waiting time, not a duration: it stays the same under reduced motion." },
|
|
14
|
+
"hide": { "$type": "duration", "$value": "100ms", "$description": "100 ms. A tooltip hides this long after the pointer leaves. Stays the same under reduced motion." }
|
|
15
|
+
},
|
|
16
|
+
"spinner": { "$type": "duration", "$value": "300ms", "$description": "300 ms. Show a spinner only when a wait passes this long, so quick loads do not flash. Stays the same under reduced motion." },
|
|
17
|
+
"toast": {
|
|
18
|
+
"$root": { "$type": "duration", "$value": "5000ms", "$description": "5 s. A toast closes after this long. The timer pauses while the pointer or focus is on it." },
|
|
19
|
+
"action": { "$type": "duration", "$value": "10000ms", "$description": "10 s. A toast with an action closes after this long. The timer pauses while the pointer or focus is on it." }
|
|
20
|
+
}
|
|
21
|
+
},
|
|
11
22
|
"easing": {
|
|
12
23
|
"standard": { "$type": "cubicBezier", "$value": "cubic-bezier(0.4, 0, 0.2, 1)", "$description": "Speeds up, then slows down. Things that move within the screen, and changes the system makes on its own." },
|
|
13
24
|
"enter": { "$type": "cubicBezier", "$value": "cubic-bezier(0, 0, 0.2, 1)", "$description": "Starts fast and slows to a stop. Things that come onto the screen: menus, dialogs, drawers, toasts." },
|
|
@@ -13,27 +13,27 @@
|
|
|
13
13
|
"050": {
|
|
14
14
|
"$type": "dimension",
|
|
15
15
|
"$value": "0.25rem",
|
|
16
|
-
"$description": "4 px.
|
|
16
|
+
"$description": "4 px. Supporting elements: tags, status labels, tooltips, dates and timestamps, compact buttons, and items inside a menu."
|
|
17
17
|
},
|
|
18
18
|
"075": {
|
|
19
19
|
"$type": "dimension",
|
|
20
20
|
"$value": "0.375rem",
|
|
21
|
-
"$description": "6 px.
|
|
21
|
+
"$description": "6 px. Interactive elements: buttons, inputs, text areas, selects and side navigation items."
|
|
22
22
|
},
|
|
23
23
|
"100": {
|
|
24
24
|
"$type": "dimension",
|
|
25
25
|
"$value": "0.5rem",
|
|
26
|
-
"$description": "8 px.
|
|
26
|
+
"$description": "8 px. Containment: cards, alerts and banners, in-page containers, and floating UI such as menus, popovers and toasts."
|
|
27
27
|
},
|
|
28
28
|
"150": {
|
|
29
29
|
"$type": "dimension",
|
|
30
30
|
"$value": "0.75rem",
|
|
31
|
-
"$description": "12 px.
|
|
31
|
+
"$description": "12 px. Large page elements: dialogs, drawers, full-page containers and tables in their own frame."
|
|
32
32
|
},
|
|
33
33
|
"200": {
|
|
34
34
|
"$type": "dimension",
|
|
35
35
|
"$value": "1rem",
|
|
36
|
-
"$description": "16 px.
|
|
36
|
+
"$description": "16 px. Large media: video and image preview containers. No component takes it by default."
|
|
37
37
|
},
|
|
38
38
|
"full": {
|
|
39
39
|
"$type": "dimension",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"control": {
|
|
44
44
|
"$root": {
|
|
45
45
|
"$type": "dimension",
|
|
46
|
-
"$value": "{radius.
|
|
47
|
-
"$description": "
|
|
46
|
+
"$value": "{radius.075}",
|
|
47
|
+
"$description": "Buttons, text fields, selects and side navigation items.",
|
|
48
48
|
"$extensions": { "design.beehexa": { "family": "control" } }
|
|
49
49
|
},
|
|
50
50
|
"small": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"item": {
|
|
58
58
|
"$type": "dimension",
|
|
59
59
|
"$value": "{radius.050}",
|
|
60
|
-
"$description": "Items inside menus and lists. Nests inside
|
|
60
|
+
"$description": "Items inside menus and lists. Nests inside radius.overlay with space.overlay.",
|
|
61
61
|
"$extensions": { "design.beehexa": { "family": "item" } }
|
|
62
62
|
},
|
|
63
63
|
"card": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"overlay": {
|
|
70
70
|
"$type": "dimension",
|
|
71
71
|
"$value": "{radius.100}",
|
|
72
|
-
"$description": "Floating
|
|
72
|
+
"$description": "Floating UI: menus, popovers, select lists and toasts.",
|
|
73
73
|
"$extensions": { "design.beehexa": { "family": "overlay" } }
|
|
74
74
|
},
|
|
75
75
|
"modal": {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"layout": {
|
|
3
|
+
"renderer": {
|
|
4
|
+
"minimum-inline-size": { "$type": "dimension", "$value": "21.875rem", "$description": "350 px. Added by PR #5 for interactive editor and canvas viewports in products. Not an approved foundation value and not on a scale; kept as a component token until the renderer decision.", "$extensions": { "design.beehexa": { "component": "renderer" } } },
|
|
5
|
+
"minimum-block-size": { "$type": "dimension", "$value": "21.875rem", "$description": "350 px. Added by PR #5 for interactive editor and canvas viewports in products. Not an approved foundation value and not on a scale; kept as a component token until the renderer decision.", "$extensions": { "design.beehexa": { "component": "renderer" } } }
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -3,77 +3,146 @@
|
|
|
3
3
|
"divider": {
|
|
4
4
|
"$type": "dimension",
|
|
5
5
|
"$value": "{border.width.accent}",
|
|
6
|
-
"$description": "Visible divider thickness; do not use as the sole pointer hit area."
|
|
6
|
+
"$description": "Visible divider thickness; do not use as the sole pointer hit area.",
|
|
7
|
+
"$extensions": {
|
|
8
|
+
"design.beehexa": {
|
|
9
|
+
"component": "resize"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
7
12
|
},
|
|
8
13
|
"target": {
|
|
9
14
|
"$type": "dimension",
|
|
10
15
|
"$value": "{size.target.minimum}",
|
|
11
|
-
"$description": "Minimum pointer/keyboard target around a resize divider."
|
|
16
|
+
"$description": "Minimum pointer/keyboard target around a resize divider.",
|
|
17
|
+
"$extensions": {
|
|
18
|
+
"design.beehexa": {
|
|
19
|
+
"component": "resize"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
12
22
|
},
|
|
13
23
|
"touchTarget": {
|
|
14
24
|
"$type": "dimension",
|
|
15
25
|
"$value": "{size.target.touch}",
|
|
16
|
-
"$description": "Touch target around a resize divider."
|
|
26
|
+
"$description": "Touch target around a resize divider.",
|
|
27
|
+
"$extensions": {
|
|
28
|
+
"design.beehexa": {
|
|
29
|
+
"component": "resize"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
17
32
|
},
|
|
18
33
|
"handle": {
|
|
19
34
|
"width": {
|
|
20
35
|
"$type": "dimension",
|
|
21
36
|
"$value": "{space.200}",
|
|
22
|
-
"$description": "Visible handle width."
|
|
37
|
+
"$description": "Visible handle width.",
|
|
38
|
+
"$extensions": {
|
|
39
|
+
"design.beehexa": {
|
|
40
|
+
"component": "resize"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
23
43
|
},
|
|
24
44
|
"height": {
|
|
25
45
|
"$type": "dimension",
|
|
26
46
|
"$value": "{space.400}",
|
|
27
|
-
"$description": "Visible handle height."
|
|
47
|
+
"$description": "Visible handle height.",
|
|
48
|
+
"$extensions": {
|
|
49
|
+
"design.beehexa": {
|
|
50
|
+
"component": "resize"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
28
53
|
},
|
|
29
54
|
"radius": {
|
|
30
55
|
"$type": "dimension",
|
|
31
56
|
"$value": "{radius.050}",
|
|
32
|
-
"$description": "Visible handle corner radius."
|
|
57
|
+
"$description": "Visible handle corner radius.",
|
|
58
|
+
"$extensions": {
|
|
59
|
+
"design.beehexa": {
|
|
60
|
+
"component": "resize"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
33
63
|
},
|
|
34
64
|
"background": {
|
|
35
65
|
"$type": "color",
|
|
36
66
|
"$value": "{color.surface}",
|
|
37
|
-
"$description": "Handle surface paired with resize.grip."
|
|
67
|
+
"$description": "Handle surface paired with resize.grip.",
|
|
68
|
+
"$extensions": {
|
|
69
|
+
"design.beehexa": {
|
|
70
|
+
"component": "resize"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
38
73
|
},
|
|
39
74
|
"activeBackground": {
|
|
40
75
|
"$type": "color",
|
|
41
76
|
"$value": "{color.background.neutral.bold}",
|
|
42
|
-
"$description": "Hovered or dragged handle surface paired with resize.activeGrip."
|
|
77
|
+
"$description": "Hovered or dragged handle surface paired with resize.activeGrip.",
|
|
78
|
+
"$extensions": {
|
|
79
|
+
"design.beehexa": {
|
|
80
|
+
"component": "resize"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
43
83
|
}
|
|
44
84
|
},
|
|
45
85
|
"dot": {
|
|
46
86
|
"size": {
|
|
47
87
|
"$type": "dimension",
|
|
48
88
|
"$value": "{space.025}",
|
|
49
|
-
"$description": "Diameter of each of the exactly three circular grip dots."
|
|
89
|
+
"$description": "Diameter of each of the exactly three circular grip dots.",
|
|
90
|
+
"$extensions": {
|
|
91
|
+
"design.beehexa": {
|
|
92
|
+
"component": "resize"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
50
95
|
},
|
|
51
96
|
"pitch": {
|
|
52
97
|
"$type": "dimension",
|
|
53
98
|
"$value": "{space.100}",
|
|
54
|
-
"$description": "Equal center-to-center spacing of three dots, symmetric about the handle center in either orientation."
|
|
99
|
+
"$description": "Equal center-to-center spacing of three dots, symmetric about the handle center in either orientation.",
|
|
100
|
+
"$extensions": {
|
|
101
|
+
"design.beehexa": {
|
|
102
|
+
"component": "resize"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
55
105
|
}
|
|
56
106
|
},
|
|
57
107
|
"color": {
|
|
58
108
|
"$type": "color",
|
|
59
109
|
"$value": "{color.border.bold}",
|
|
60
|
-
"$description": "Resize divider and grip at rest."
|
|
110
|
+
"$description": "Resize divider and grip at rest.",
|
|
111
|
+
"$extensions": {
|
|
112
|
+
"design.beehexa": {
|
|
113
|
+
"component": "resize"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
61
116
|
},
|
|
62
117
|
"active": {
|
|
63
118
|
"$type": "color",
|
|
64
119
|
"$value": "{color.border.focus}",
|
|
65
|
-
"$description": "Hovered, keyboard-focused or dragged resize divider."
|
|
120
|
+
"$description": "Hovered, keyboard-focused or dragged resize divider.",
|
|
121
|
+
"$extensions": {
|
|
122
|
+
"design.beehexa": {
|
|
123
|
+
"component": "resize"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
66
126
|
},
|
|
67
127
|
"grip": {
|
|
68
128
|
"$type": "color",
|
|
69
129
|
"$value": "{color.icon}",
|
|
70
|
-
"$description": "Grip mark on surface."
|
|
130
|
+
"$description": "Grip mark on surface.",
|
|
131
|
+
"$extensions": {
|
|
132
|
+
"design.beehexa": {
|
|
133
|
+
"component": "resize"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
71
136
|
},
|
|
72
137
|
"activeGrip": {
|
|
73
138
|
"$type": "color",
|
|
74
139
|
"$value": "{color.text.inverse}",
|
|
75
|
-
"$description": "Grip marks on the active neutral bold handle surface."
|
|
140
|
+
"$description": "Grip marks on the active neutral bold handle surface.",
|
|
141
|
+
"$extensions": {
|
|
142
|
+
"design.beehexa": {
|
|
143
|
+
"component": "resize"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
76
146
|
}
|
|
77
147
|
}
|
|
78
148
|
}
|
|
79
|
-
|
|
@@ -4,37 +4,72 @@
|
|
|
4
4
|
"width": {
|
|
5
5
|
"$type": "dimension",
|
|
6
6
|
"$value": "{space.100}",
|
|
7
|
-
"$description": "Shared vertical width and horizontal height: 0.5rem, nominal 8px at the native 16px root, matching Ant tableScrollThumbSize. Standards-only browsers use their native thin metric; overlay platforms may retain platform geometry. Never duplicate per-axis or per-application sizes."
|
|
7
|
+
"$description": "Shared vertical width and horizontal height: 0.5rem, nominal 8px at the native 16px root, matching Ant tableScrollThumbSize. Standards-only browsers use their native thin metric; overlay platforms may retain platform geometry. Never duplicate per-axis or per-application sizes.",
|
|
8
|
+
"$extensions": {
|
|
9
|
+
"design.beehexa": {
|
|
10
|
+
"component": "scrollbar"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
8
13
|
},
|
|
9
14
|
"track": {
|
|
10
15
|
"$type": "color",
|
|
11
16
|
"$value": "{color.border}",
|
|
12
|
-
"$description": "Track in both axes, following Ant tableScrollBg = colorSplit, mapped by the Beehexa Ant factory to color.border. Theme aliases resolve in light and dark."
|
|
17
|
+
"$description": "Track in both axes, following Ant tableScrollBg = colorSplit, mapped by the Beehexa Ant factory to color.border. Theme aliases resolve in light and dark.",
|
|
18
|
+
"$extensions": {
|
|
19
|
+
"design.beehexa": {
|
|
20
|
+
"component": "scrollbar"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
13
23
|
},
|
|
14
24
|
"thumb": {
|
|
15
25
|
"$type": "color",
|
|
16
26
|
"$value": "{color.text.subtlest}",
|
|
17
|
-
"$description": "Foreground thumb at rest, following Ant tableScrollThumbBg = colorTextPlaceholder, mapped to color.text.subtlest. Keep the opaque thumb distinguishable from scrollbar.track; do not weaken it with opacity."
|
|
27
|
+
"$description": "Foreground thumb at rest, following Ant tableScrollThumbBg = colorTextPlaceholder, mapped to color.text.subtlest. Keep the opaque thumb distinguishable from scrollbar.track; do not weaken it with opacity.",
|
|
28
|
+
"$extensions": {
|
|
29
|
+
"design.beehexa": {
|
|
30
|
+
"component": "scrollbar"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
18
33
|
},
|
|
19
34
|
"thumbHover": {
|
|
20
35
|
"$type": "color",
|
|
21
36
|
"$value": "{color.text}",
|
|
22
|
-
"$description": "Hovered thumb, following Ant tableScrollThumbBgHover = colorTextHeading, mapped to color.text. Standards-only browsers expose the scroll host hover state rather than a thumb pseudo-element."
|
|
37
|
+
"$description": "Hovered thumb, following Ant tableScrollThumbBgHover = colorTextHeading, mapped to color.text. Standards-only browsers expose the scroll host hover state rather than a thumb pseudo-element.",
|
|
38
|
+
"$extensions": {
|
|
39
|
+
"design.beehexa": {
|
|
40
|
+
"component": "scrollbar"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
23
43
|
},
|
|
24
44
|
"thumbActive": {
|
|
25
45
|
"$type": "color",
|
|
26
46
|
"$value": "{scrollbar.thumbHover}",
|
|
27
|
-
"$description": "Dragged/pressed thumb; Ant sticky scrollbar uses the same colorTextHeading role for hover and active. Standards-only browsers expose the scroll host active state rather than thumb drag state."
|
|
47
|
+
"$description": "Dragged/pressed thumb; Ant sticky scrollbar uses the same colorTextHeading role for hover and active. Standards-only browsers expose the scroll host active state rather than thumb drag state.",
|
|
48
|
+
"$extensions": {
|
|
49
|
+
"design.beehexa": {
|
|
50
|
+
"component": "scrollbar"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
28
53
|
},
|
|
29
54
|
"corner": {
|
|
30
55
|
"$type": "color",
|
|
31
56
|
"$value": "{scrollbar.track}",
|
|
32
|
-
"$description": "Junction of horizontal and vertical native tracks. Match the track so one two-axis scroll owner has a continuous surface; no separate app color."
|
|
57
|
+
"$description": "Junction of horizontal and vertical native tracks. Match the track so one two-axis scroll owner has a continuous surface; no separate app color.",
|
|
58
|
+
"$extensions": {
|
|
59
|
+
"design.beehexa": {
|
|
60
|
+
"component": "scrollbar"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
33
63
|
},
|
|
34
64
|
"radius": {
|
|
35
65
|
"$type": "dimension",
|
|
36
66
|
"$value": "{radius.full}",
|
|
37
|
-
"$description": "Fully rounded thumb and track. Ant sticky scrollbar uses borderRadius 100 to form a pill; use the canonical Beehexa full-radius alias rather than copying its fixed number."
|
|
67
|
+
"$description": "Fully rounded thumb and track. Ant sticky scrollbar uses borderRadius 100 to form a pill; use the canonical Beehexa full-radius alias rather than copying its fixed number.",
|
|
68
|
+
"$extensions": {
|
|
69
|
+
"design.beehexa": {
|
|
70
|
+
"component": "scrollbar"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
38
73
|
}
|
|
39
74
|
}
|
|
40
75
|
}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"size": {
|
|
3
|
-
"icon": {
|
|
4
|
-
"default": { "$type": "dimension", "$value": "1rem", "$description": "16 px. Default icon beside 14px text, in buttons, menus, tables and form fields." },
|
|
5
|
-
"medium": { "$type": "dimension", "$value": "1.25rem", "$description": "20 px. Icon beside 16px text, in toolbars and page headers." },
|
|
6
|
-
"large": { "$type": "dimension", "$value": "1.5rem", "$description": "24 px. Standalone status icon in a card or small empty state." },
|
|
7
|
-
"empty": { "$type": "dimension", "$value": "2rem", "$description": "32 px. Empty-state icons only; never scale a standard icon to an arbitrary illustration size." }
|
|
8
|
-
},
|
|
9
3
|
"control": {
|
|
10
4
|
"small": { "$type": "dimension", "$value": "1.5rem", "$description": "24 px. Height of small controls: dense tables and their toolbars, filters, tags. Side padding space.100." },
|
|
11
5
|
"default": { "$type": "dimension", "$value": "2rem", "$description": "32 px. Height of buttons, text fields, selects, segmented controls and tabs everywhere else: forms, the header, toolbars. Side padding space.150." },
|
|
@@ -14,6 +8,12 @@
|
|
|
14
8
|
"target": {
|
|
15
9
|
"minimum": { "$type": "dimension", "$value": "1.5rem", "$description": "24 px. Smallest area that responds to a click or tap (WCAG 2.2 SC 2.5.8). Every control and icon button is at least this size." },
|
|
16
10
|
"touch": { "$type": "dimension", "$value": "2.75rem", "$description": "44 px. Area that responds to a tap on touch screens. Extend the hit area around a smaller control and keep its visible size; rows in lists and menus grow to this height instead." }
|
|
11
|
+
},
|
|
12
|
+
"icon": {
|
|
13
|
+
"default": { "$type": "dimension", "$value": "1rem", "$description": "16 px. Default icon size: buttons, menus, tables, form fields, next to 14 px text." },
|
|
14
|
+
"medium": { "$type": "dimension", "$value": "1.25rem", "$description": "20 px. Icons next to 16 px text, in toolbars and in the page header." },
|
|
15
|
+
"large": { "$type": "dimension", "$value": "1.5rem", "$description": "24 px. An icon on its own, such as a status in a card or a small empty state." },
|
|
16
|
+
"empty": { "$type": "dimension", "$value": "2rem", "$description": "32 px. Empty states only." }
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"x": { "$type": "dimension", "$value": "{space.150}", "$description": "Side padding of items in menus, lists and side navigation.", "$extensions": { "design.beehexa": { "family": "item" } } }
|
|
27
27
|
},
|
|
28
28
|
"overlay": {
|
|
29
|
-
"$root": { "$type": "dimension", "$value": "{space.050}", "$description": "Inside menus, selects and popovers, around their items.
|
|
29
|
+
"$root": { "$type": "dimension", "$value": "{space.050}", "$description": "Inside menus, selects and popovers, around their items. Nests the corners: radius.overlay = radius.item + space.overlay.", "$extensions": { "design.beehexa": { "family": "overlay" } } },
|
|
30
30
|
"offset": { "$type": "dimension", "$value": "{space.050}", "$description": "Between a menu, popover or tooltip and the element that opened it.", "$extensions": { "design.beehexa": { "family": "overlay" } } }
|
|
31
31
|
},
|
|
32
32
|
"card": { "$type": "dimension", "$value": "{space.300}", "$description": "Inside cards and panels.", "$extensions": { "design.beehexa": { "family": "card" } } },
|