@ksp-gonogo/ui-kit 1.0.0-rc.45 → 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.
package/dist/tokens.css CHANGED
@@ -657,6 +657,8 @@ textarea {
657
657
  inset is already above it, so the full panel top would double the gap
658
658
  between a drawing and the readouts that annotate it. */
659
659
  --inset-panel-sidebar-under: var(--space-4);
660
+ /* Under a message that stands above a single control, so the control does not touch its last line. */
661
+ --inset-message-above-control: 0 0 var(--space-4);
660
662
  /* No bottom inset: the body's own gap is the only space between the header and the content. */
661
663
  --inset-panel-header: 0 var(--gutter-panel);
662
664
  /* Above a hand-composed header row; inside a Panel the rail band is that inset. */
@@ -754,6 +756,8 @@ textarea {
754
756
  --inset-control-small-touch: var(--space-6) var(--space-10);
755
757
  /* A chromeless glyph button. */
756
758
  --inset-glyph-button: var(--space-2) var(--space-4);
759
+ /* How far a glyph button's hit target stands past the text line beside it. */
760
+ --overhang-glyph-button: var(--space-4);
757
761
  /* A glyph button in a row, padded across only. */
758
762
  --inset-glyph: 0 var(--space-4);
759
763
  /* The same, packed tight against the row's text. */
@@ -879,7 +883,7 @@ textarea {
879
883
  --inset-empty-popover: var(--space-16) 0;
880
884
  --inset-chart-empty: var(--space-24) 0;
881
885
  /* A widget's refusal to draw. */
882
- --inset-refusal: var(--space-8);
886
+ --inset-refusal: var(--space-8) 0;
883
887
  /* A message standing in for a whole screen. */
884
888
  --inset-screen-message: var(--space-24);
885
889
  /* A stand-in box with no content of its own. */
@@ -896,6 +900,10 @@ textarea {
896
900
  --gutter-screen: var(--space-24);
897
901
  /* The gutter of a widget screen whose children draw no edge of their own; the panel pads the sides. */
898
902
  --gutter-screen-body: var(--space-8) 0;
903
+ /* The floating dashboard-controls button's diameter. */
904
+ --fab-size: 48px;
905
+ /* The button's distance from the bottom and right edges, before any safe-area inset. */
906
+ --fab-edge: var(--space-24);
899
907
  /* The dashboard grid's gutter between tiles. */
900
908
  --gutter-dashboard: var(--space-8);
901
909
  /* A tile's drag header. */
@@ -904,6 +912,11 @@ textarea {
904
912
  --inset-dialog: var(--space-24);
905
913
  --inset-modal-bar: var(--space-12) var(--space-16);
906
914
  --inset-modal-body: var(--space-16);
915
+ /* A full-page route (the join page): its edge before any safe-area inset, and the space between its blocks. */
916
+ --inset-page: var(--space-16);
917
+ --gap-page: var(--space-24);
918
+ /* A choice set out as a whole-card button, such as a seat to join or start at. */
919
+ --inset-choice-card: var(--space-16);
907
920
  /* The bands of a full-surface overlay, on one gutter. */
908
921
  --gutter-overlay: var(--space-16);
909
922
  --inset-overlay-band: var(--space-12) var(--gutter-overlay);
@@ -934,6 +947,8 @@ textarea {
934
947
  --offset-pad-mark: var(--space-4);
935
948
  /* An inline code run in a banner. */
936
949
  --inset-code-inline: 0 var(--space-2);
950
+ /* The sunken backing behind a figure laid over a drawing, so its text reads over the lines under it. */
951
+ --inset-figure-backing: 0 var(--space-2);
937
952
  /* A free-standing sheet of cards, and a card on it. */
938
953
  --inset-sheet: var(--space-12);
939
954
  --inset-sheet-card: var(--space-8) var(--space-12);
@@ -964,8 +979,6 @@ textarea {
964
979
  --size-comms-hop: var(--space-16);
965
980
  /* The gauge bar under a tiny tile's figure: the figure and the bar share a content box barely taller than the figure. */
966
981
  --size-tiny-gauge: var(--space-2);
967
- /* The row a narrow station screen reserves above its mission banner for the station name chip. */
968
- --size-station-chip-row: calc(var(--space-24) + var(--space-16));
969
982
 
970
983
  /*
971
984
  * RADIUS. Three jobs plus two shape sentinels.
@@ -1059,6 +1072,12 @@ textarea {
1059
1072
  */
1060
1073
  --control-height: 28px;
1061
1074
 
1075
+ /* The smallest pressable box on a coarse pointer. A region drawn zoomed out raises it by the zoom, so what the operator touches stays this large on screen. */
1076
+ --touch-target: 44px;
1077
+
1078
+ /* Floor for a control that opts out of --control-height to stay compact: none on a fine pointer, the touch target on a coarse one. */
1079
+ --control-height-touch: 0px;
1080
+
1062
1081
  /*
1063
1082
  * Z-INDEX, as named layers rather than a numeric ramp.
1064
1083
  *
@@ -1167,5 +1186,6 @@ textarea {
1167
1186
  40 -> 48 here; without this its glyph stayed behind. */
1168
1187
  --icon-size-control: 15px;
1169
1188
  --icon-size-standalone: 24px;
1189
+ --control-height-touch: 44px;
1170
1190
  }
1171
1191
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@ksp-gonogo/ui-kit",
3
3
  "description": "Export-safe design system for Gonogo mission-control widgets and third-party Uplinks",
4
4
  "license": "MIT",
5
- "version": "1.0.0-rc.45",
5
+ "version": "1.0.0",
6
6
  "type": "module",
7
7
  "repository": {
8
8
  "type": "git",
@@ -78,7 +78,7 @@
78
78
  "jest-axe": "^10.0.0",
79
79
  "react": "^18.0.0",
80
80
  "styled-components": "^6.0.0",
81
- "@ksp-gonogo/sitrep-sdk": "1.0.0-rc.45"
81
+ "@ksp-gonogo/sitrep-sdk": "1.0.0"
82
82
  },
83
83
  "peerDependenciesMeta": {
84
84
  "jest-axe": {