@bkstg/design-systems 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 (126) hide show
  1. package/README.md +2 -0
  2. package/bkstg/latest/README.md +46 -0
  3. package/bkstg/latest/bkstg.css +1668 -0
  4. package/bkstg/latest/bkstg.js +703 -0
  5. package/bkstg/latest/charts-core.mjs +349 -0
  6. package/bkstg/latest/charts.js +58 -0
  7. package/bkstg/latest/motion.js +168 -0
  8. package/bkstg/latest/react/ActivityFeed.jsx +18 -0
  9. package/bkstg/latest/react/Alert.jsx +28 -0
  10. package/bkstg/latest/react/Annotations.jsx +24 -0
  11. package/bkstg/latest/react/AppShell.jsx +87 -0
  12. package/bkstg/latest/react/Avatar.jsx +19 -0
  13. package/bkstg/latest/react/Badge.jsx +14 -0
  14. package/bkstg/latest/react/Banner.jsx +17 -0
  15. package/bkstg/latest/react/Breadcrumbs.jsx +23 -0
  16. package/bkstg/latest/react/Button.jsx +31 -0
  17. package/bkstg/latest/react/ButtonGroup.jsx +29 -0
  18. package/bkstg/latest/react/Calendar.jsx +57 -0
  19. package/bkstg/latest/react/CardHeader.jsx +14 -0
  20. package/bkstg/latest/react/Chart.jsx +42 -0
  21. package/bkstg/latest/react/Chat.jsx +34 -0
  22. package/bkstg/latest/react/Checkbox.jsx +32 -0
  23. package/bkstg/latest/react/CodeSnippet.jsx +17 -0
  24. package/bkstg/latest/react/ColorPicker.jsx +35 -0
  25. package/bkstg/latest/react/CommandMenu.jsx +54 -0
  26. package/bkstg/latest/react/DatePicker.jsx +34 -0
  27. package/bkstg/latest/react/DeviceFrame.jsx +12 -0
  28. package/bkstg/latest/react/Dialog.jsx +43 -0
  29. package/bkstg/latest/react/Divider.jsx +10 -0
  30. package/bkstg/latest/react/Editor.jsx +85 -0
  31. package/bkstg/latest/react/EmptyState.jsx +13 -0
  32. package/bkstg/latest/react/Field.jsx +32 -0
  33. package/bkstg/latest/react/FileUpload.jsx +38 -0
  34. package/bkstg/latest/react/Filters.jsx +19 -0
  35. package/bkstg/latest/react/Infographics.jsx +54 -0
  36. package/bkstg/latest/react/InlineCTA.jsx +14 -0
  37. package/bkstg/latest/react/LineChart.jsx +23 -0
  38. package/bkstg/latest/react/Marketing.jsx +161 -0
  39. package/bkstg/latest/react/Menu.jsx +76 -0
  40. package/bkstg/latest/react/Metric.jsx +28 -0
  41. package/bkstg/latest/react/PageHeader.jsx +22 -0
  42. package/bkstg/latest/react/Pagination.jsx +32 -0
  43. package/bkstg/latest/react/Progress.jsx +26 -0
  44. package/bkstg/latest/react/RadioGroup.jsx +27 -0
  45. package/bkstg/latest/react/Reveal.jsx +17 -0
  46. package/bkstg/latest/react/SectionHeader.jsx +24 -0
  47. package/bkstg/latest/react/Select.jsx +19 -0
  48. package/bkstg/latest/react/Sheet.jsx +25 -0
  49. package/bkstg/latest/react/SideNav.jsx +37 -0
  50. package/bkstg/latest/react/Skeleton.jsx +16 -0
  51. package/bkstg/latest/react/Slider.jsx +27 -0
  52. package/bkstg/latest/react/Spinner.jsx +14 -0
  53. package/bkstg/latest/react/Steps.jsx +22 -0
  54. package/bkstg/latest/react/Switch.jsx +11 -0
  55. package/bkstg/latest/react/Table.jsx +24 -0
  56. package/bkstg/latest/react/Tabs.jsx +80 -0
  57. package/bkstg/latest/react/Tag.jsx +34 -0
  58. package/bkstg/latest/react/Tooltip.jsx +25 -0
  59. package/bkstg/latest/react/Tree.jsx +41 -0
  60. package/bkstg/latest/react/VideoPlayer.jsx +57 -0
  61. package/bkstg/latest/react/cx.js +4 -0
  62. package/bkstg/latest/react/index.js +59 -0
  63. package/bkstg/latest/system.json +24 -0
  64. package/bkstg/v1/README.md +46 -0
  65. package/bkstg/v1/bkstg.css +1668 -0
  66. package/bkstg/v1/bkstg.js +703 -0
  67. package/bkstg/v1/charts-core.mjs +349 -0
  68. package/bkstg/v1/charts.js +58 -0
  69. package/bkstg/v1/motion.js +168 -0
  70. package/bkstg/v1/react/ActivityFeed.jsx +18 -0
  71. package/bkstg/v1/react/Alert.jsx +28 -0
  72. package/bkstg/v1/react/Annotations.jsx +24 -0
  73. package/bkstg/v1/react/AppShell.jsx +87 -0
  74. package/bkstg/v1/react/Avatar.jsx +19 -0
  75. package/bkstg/v1/react/Badge.jsx +14 -0
  76. package/bkstg/v1/react/Banner.jsx +17 -0
  77. package/bkstg/v1/react/Breadcrumbs.jsx +23 -0
  78. package/bkstg/v1/react/Button.jsx +31 -0
  79. package/bkstg/v1/react/ButtonGroup.jsx +29 -0
  80. package/bkstg/v1/react/Calendar.jsx +57 -0
  81. package/bkstg/v1/react/CardHeader.jsx +14 -0
  82. package/bkstg/v1/react/Chart.jsx +42 -0
  83. package/bkstg/v1/react/Chat.jsx +34 -0
  84. package/bkstg/v1/react/Checkbox.jsx +32 -0
  85. package/bkstg/v1/react/CodeSnippet.jsx +17 -0
  86. package/bkstg/v1/react/ColorPicker.jsx +35 -0
  87. package/bkstg/v1/react/CommandMenu.jsx +54 -0
  88. package/bkstg/v1/react/DatePicker.jsx +34 -0
  89. package/bkstg/v1/react/DeviceFrame.jsx +12 -0
  90. package/bkstg/v1/react/Dialog.jsx +43 -0
  91. package/bkstg/v1/react/Divider.jsx +10 -0
  92. package/bkstg/v1/react/Editor.jsx +85 -0
  93. package/bkstg/v1/react/EmptyState.jsx +13 -0
  94. package/bkstg/v1/react/Field.jsx +32 -0
  95. package/bkstg/v1/react/FileUpload.jsx +38 -0
  96. package/bkstg/v1/react/Filters.jsx +19 -0
  97. package/bkstg/v1/react/Infographics.jsx +54 -0
  98. package/bkstg/v1/react/InlineCTA.jsx +14 -0
  99. package/bkstg/v1/react/LineChart.jsx +23 -0
  100. package/bkstg/v1/react/Marketing.jsx +161 -0
  101. package/bkstg/v1/react/Menu.jsx +76 -0
  102. package/bkstg/v1/react/Metric.jsx +28 -0
  103. package/bkstg/v1/react/PageHeader.jsx +22 -0
  104. package/bkstg/v1/react/Pagination.jsx +32 -0
  105. package/bkstg/v1/react/Progress.jsx +26 -0
  106. package/bkstg/v1/react/RadioGroup.jsx +27 -0
  107. package/bkstg/v1/react/Reveal.jsx +17 -0
  108. package/bkstg/v1/react/SectionHeader.jsx +24 -0
  109. package/bkstg/v1/react/Select.jsx +19 -0
  110. package/bkstg/v1/react/Sheet.jsx +25 -0
  111. package/bkstg/v1/react/SideNav.jsx +37 -0
  112. package/bkstg/v1/react/Skeleton.jsx +16 -0
  113. package/bkstg/v1/react/Slider.jsx +27 -0
  114. package/bkstg/v1/react/Spinner.jsx +14 -0
  115. package/bkstg/v1/react/Steps.jsx +22 -0
  116. package/bkstg/v1/react/Switch.jsx +11 -0
  117. package/bkstg/v1/react/Table.jsx +24 -0
  118. package/bkstg/v1/react/Tabs.jsx +80 -0
  119. package/bkstg/v1/react/Tag.jsx +34 -0
  120. package/bkstg/v1/react/Tooltip.jsx +25 -0
  121. package/bkstg/v1/react/Tree.jsx +41 -0
  122. package/bkstg/v1/react/VideoPlayer.jsx +57 -0
  123. package/bkstg/v1/react/cx.js +4 -0
  124. package/bkstg/v1/react/index.js +59 -0
  125. package/bkstg/v1/system.json +24 -0
  126. package/package.json +14 -0
package/README.md ADDED
@@ -0,0 +1,2 @@
1
+ # bkstg-design-systems
2
+ Design systems built using the BKSTG app
@@ -0,0 +1,46 @@
1
+ # BKSTG
2
+
3
+ A design system exported from design-system-kit. Base: Untitled UI. Themes: backstage + backstage-light (mode light).
4
+
5
+ ## Use it in a website or WordPress theme
6
+
7
+ ```html
8
+ <link rel="stylesheet" href="bkstg.css">
9
+ <script src="bkstg.js" defer></script> <!-- the interactive pieces: tabs, dialogs, menus … -->
10
+ <script src="motion.js" defer></script> <!-- animations: data-reveal and counters; optional -->
11
+ <script type="module" src="charts.js"></script> <!-- charts from attributes: <figure data-ui-viz="bar" ...>; optional -->
12
+ ```
13
+
14
+ Then use the `ui-` classes: see `system.json` and the workbench for examples.
15
+
16
+ ## Use it in a React app
17
+
18
+ Copy this folder into the app, import the stylesheet once at the root, and import components from `react/`:
19
+
20
+ ```js
21
+ import "./bkstg/bkstg.css";
22
+ import { Button, Badge, Alert, Field, Input } from "./bkstg/react"; // import what you use; react/index.js lists them all
23
+ ```
24
+
25
+ ## Light and dark
26
+
27
+ It starts light. Set `data-mode="light"` or `data-mode="dark"` on `<html>` to force one.
28
+
29
+ ## What was changed from the base
30
+
31
+ - `--progress-dur`: 400ms
32
+ - `--progress-fill`: var(--fill)
33
+ - `--progress-track`: var(--on-fill)
34
+
35
+ ## Accessibility (contrast)
36
+
37
+ Checked 2026-10-04 against WCAG 2.1, which the ADA rule for state and local governments adopts at Level AA:
38
+
39
+ - Dark (backstage): meets AA on all 96 contrast checks; AAA on 48 of 57 text checks.
40
+ - Light (backstage-light, custom colors): meets AA on all 96 contrast checks; AAA on 50 of 57 text checks.
41
+
42
+ Contrast is one part of WCAG. Keyboard use, focus order, text alternatives, captions, labels and the content itself are checked on the finished site.
43
+
44
+ ## Changing it
45
+
46
+ Edit the system in the workbench (the Design Systems page in the BKSTG Hub, or `node workbench.mjs` in design-system-kit), save, and export again. This folder is generated; edits made here are lost on the next export.