@rebasepro/ui 0.16.0 → 0.16.1-canary.g0d7af95

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 (56) hide show
  1. package/dist/components/BooleanSwitchWithLabel.d.ts +1 -1
  2. package/dist/components/Button.d.ts +1 -1
  3. package/dist/components/Chip.d.ts +1 -1
  4. package/dist/components/CircularProgressCenter.d.ts +1 -1
  5. package/dist/components/ColorPicker.d.ts +1 -1
  6. package/dist/components/DebouncedTextField.d.ts +1 -1
  7. package/dist/components/DialogTitle.d.ts +1 -1
  8. package/dist/components/LoadingButton.d.ts +1 -1
  9. package/dist/components/VirtualTable/VirtualTable.d.ts +1 -1
  10. package/dist/components/VirtualTable/VirtualTableCell.d.ts +1 -1
  11. package/dist/components/VirtualTable/VirtualTableHeader.d.ts +1 -1
  12. package/dist/components/VirtualTable/VirtualTableHeaderRow.d.ts +1 -1
  13. package/dist/components/VirtualTable/VirtualTableProps.d.ts +1 -1
  14. package/dist/components/VirtualTable/VirtualTableRow.d.ts +1 -1
  15. package/dist/components/VirtualTable/index.d.ts +10 -10
  16. package/dist/components/VirtualTable/selection/SelectionContext.d.ts +1 -1
  17. package/dist/components/VirtualTable/types.d.ts +2 -2
  18. package/dist/components/common/SelectInputLabel.d.ts +14 -0
  19. package/dist/components/index.d.ts +53 -53
  20. package/dist/hooks/index.d.ts +6 -6
  21. package/dist/icons/GitHubIcon.d.ts +1 -1
  22. package/dist/icons/HandleIcon.d.ts +1 -1
  23. package/dist/icons/index.d.ts +6 -6
  24. package/dist/index.css +19 -7
  25. package/dist/index.d.ts +17 -17
  26. package/dist/index.es.js +61 -15
  27. package/dist/index.es.js.map +1 -1
  28. package/dist/src/index.css +19 -7
  29. package/dist/src/theme.css +51 -3
  30. package/dist/styles.d.ts +36 -4
  31. package/dist/theme.css +51 -3
  32. package/dist/util/index.d.ts +4 -4
  33. package/dist/views/CardView.d.ts +1 -1
  34. package/dist/views/CollectionView/CollectionCardView.d.ts +1 -1
  35. package/dist/views/CollectionView/CollectionKanbanView.d.ts +1 -1
  36. package/dist/views/CollectionView/CollectionListView.d.ts +1 -1
  37. package/dist/views/CollectionView/CollectionTableView.d.ts +1 -1
  38. package/dist/views/CollectionView/CollectionView.d.ts +1 -1
  39. package/dist/views/CollectionView/CollectionViewToolbar.d.ts +1 -1
  40. package/dist/views/CollectionView/CollectionViewTypes.d.ts +1 -1
  41. package/dist/views/CollectionView/DefaultCellRenderer.d.ts +1 -1
  42. package/dist/views/CollectionView/index.d.ts +8 -8
  43. package/dist/views/CollectionView/resolveTitleProperty.d.ts +1 -1
  44. package/dist/views/Kanban/Board.d.ts +1 -1
  45. package/dist/views/Kanban/BoardColumn.d.ts +1 -1
  46. package/dist/views/Kanban/BoardSortableList.d.ts +1 -1
  47. package/dist/views/Kanban/index.d.ts +5 -5
  48. package/dist/views/Kanban/placement.d.ts +1 -1
  49. package/dist/views/KanbanView.d.ts +1 -1
  50. package/dist/views/index.d.ts +4 -4
  51. package/package.json +2 -2
  52. package/src/components/TextField.tsx +10 -1
  53. package/src/components/common/SelectInputLabel.tsx +15 -1
  54. package/src/index.css +19 -7
  55. package/src/styles.ts +40 -4
  56. package/src/theme.css +51 -3
package/src/theme.css CHANGED
@@ -26,7 +26,13 @@
26
26
  console and the marketing site all spell the same intent the same way
27
27
  instead of each hardcoding its own em value. Pair display/title with
28
28
  font-semibold and heading with font-medium. */
29
- --tracking-display: -0.022em; /* >= 30px — the headline tier; matches the marketing site */
29
+ /* -0.025em, revised 2026-08-24 from -0.022em. The website's dev-only
30
+ TypeDevPanel has shipped `td: -25` as its "SHIPPED" default all along, so
31
+ every local preview and every design decision taken in front of one was
32
+ made at -0.025em while the built site served -0.022em. Of the panel's
33
+ eleven defaults these two — tracking and display weight — were the only
34
+ ones that did not match the tokens. Both are now true. */
35
+ --tracking-display: -0.025em; /* >= 30px — the headline tier; matches the marketing site */
30
36
  --tracking-title: -0.018em; /* 20-24px — section titles */
31
37
  --tracking-heading: -0.01em; /* <= 18px — labels; still a heading, not a headline */
32
38
 
@@ -43,6 +49,31 @@
43
49
  --text-3xs: 10px;
44
50
  --text-3xs--line-height: 1.4;
45
51
 
52
+ /* Display tier — above `text-4xl`, where the scale stops being a heading
53
+ and starts being a statement. Added 2026-08-24.
54
+
55
+ Fluid rather than fixed because the same token has to survive four
56
+ locales: German and French run 15-25% longer than English, and a fixed
57
+ 112px headline that fits "The Postgres you already have" does not fit
58
+ "Das Postgres, das Sie bereits haben". The `vw` middle term shrinks
59
+ before it can overflow; the `rem` floor protects small screens, where
60
+ the type is already proportionally large.
61
+
62
+ Both carry their own line-height and tracking: at this size 1.1 reads as
63
+ a gap and -0.025em reads as loose. Weight stays on the 600 ceiling —
64
+ this tier separates itself by SIZE, which is the whole point of adding
65
+ it rather than reaching for 700. */
66
+ --text-display-2: clamp(2.25rem, 4.4vw, 4rem); /* 36 -> 64px */
67
+ --text-display-2--line-height: 1.0;
68
+ --text-display-2--letter-spacing: -0.028em;
69
+ /* 7.2vw capped at 7rem was too much: on a wide window the headline filled
70
+ the viewport on its own and pushed the install terminal below the fold,
71
+ which breaks the rule the hero exists to satisfy (SITE-STORY §5 — the
72
+ hero carries a product artifact). Still ~1.7x the 48px it replaced. */
73
+ --text-display-1: clamp(2.5rem, 5.2vw, 4.75rem); /* 40 -> 76px */
74
+ --text-display-1--line-height: 0.94;
75
+ --text-display-1--letter-spacing: -0.032em;
76
+
46
77
  /* Control heights — the one scale every inline control resolves to, so a
47
78
  Button, TextField and Select at the same size share a baseline. Mirrors
48
79
  CONTROL_HEIGHT in styles.ts; that is the source for React components,
@@ -78,8 +109,25 @@
78
109
 
79
110
  /* Text Colors — using opaque values so icon strokes render solidly */
80
111
  --color-text-primary: #212121;
81
- --color-text-secondary: #757575;
82
- --color-text-disabled: #9e9e9e;
112
+ /* #737373, not #757575. Two units, and they are the two that matter.
113
+ The app's light page ground is #fafafa, not #ffffff, and #757575 lands at
114
+ 4.41:1 there — under AA for the 14px type this token carries. It clears
115
+ 4.5 only against pure white, which is not a surface the product actually
116
+ uses. Every field label in light mode was failing by a whisker.
117
+ #737373 measures 4.54:1 on #fafafa and 4.74:1 on #ffffff, so it passes on
118
+ both grounds instead of the theoretical one. Same fix, and the same
119
+ reasoning, as the `--color-surface-500` move recorded below. */
120
+ --color-text-secondary: #737373;
121
+ /* #8b8b8b, not #9e9e9e. Measured against the field fill a disabled label
122
+ actually sits on (`surface-accent-200/50` over #fafafa ≈ #eef1f5),
123
+ #9e9e9e reached 2.36:1 — present, but not readable.
124
+ Full AA is not achievable here and should not be chased: 4.5:1 on that
125
+ fill needs #6e6e6e, which is DARKER than the #737373 an ENABLED label
126
+ uses, so the disabled state would read as the emphasised one. WCAG 1.4.3
127
+ exempts inactive controls for exactly this reason.
128
+ #8b8b8b lands at ~3:1 — legible at a glance, still unmistakably muted
129
+ against its enabled neighbour. */
130
+ --color-text-disabled: #8b8b8b;
83
131
  --color-text-primary-dark: #ffffff;
84
132
  --color-text-secondary-dark: #a0a0a9;
85
133
  --color-text-disabled-dark: #757580;