@bridgeline-digital/hawk-app-ui 0.1.0 → 0.1.1-dev.20261021024847

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 CHANGED
@@ -91,9 +91,9 @@ see it in a real one). `<HawkAppProvider preview={{ mode: 'dark' }}>` renders wi
91
91
  | Part | From |
92
92
  |---|---|
93
93
  | Typography (Montserrat, 14 px base, h1–h3, `featuredValue`), breakpoints (`sm` 640 … `2xl` 1536), spacing, card and list overrides | Spark's theme (`sparkThemeOptions`) |
94
- | Primary color and its text, backgrounds, text colors, dividers, border radius, light or dark | The host's theme tokens (`color-button-accent-background`, `color-background`, `color-background-container`, `color-text-default`, `color-text-secondary`, `color-border-default`, `border-radius`, `mode`), else Spark's |
94
+ | Primary color and its text, backgrounds, text colors, dividers, border radius, light or dark | The host's theme tokens (`color-button-accent-background`, `color-background`, `color-background-container`, `color-text-default`, `color-text-secondary`, `color-border-default`, `border-radius`, `mode`), else Spark's. A `color-border-default` too faint to see on the host's surface (contrast under 1.2, such as HawkSearch's `#f5f7fa` on white) is left out, so dividers, table rows and outlined cards keep MUI's divider |
95
95
  | Dialogs and snackbars in the part of the frame the user can see | The kit (`frameThemeOptions`, from the bridge's `--hawk-visible-*` variables) |
96
- | Table rows and header (borders in the divider color, a header row on the page background) | The kit (`tableThemeOptions`) |
96
+ | Table rows and header (borders in the divider color, a header row on the page background, rows 10px above and below, every other body row tinted; the stylesheet's `.hawk-table` alike) | The kit (`tableThemeOptions`) |
97
97
 
98
98
  The font is always Spark's, whatever the host uses, so apps look the same in HawkSearch and Spark.
99
99
 
package/dist/css/hawk.css CHANGED
@@ -227,10 +227,12 @@ hawk-kpi[highlight] .hawk-kpi {
227
227
  border-collapse: collapse;
228
228
  font-variant-numeric: tabular-nums;
229
229
  }
230
+ /* Rows: 10px above and below; lines that show even when the host's border color is too faint to see on its own
231
+ (HawkSearch's is #f5f7fa), and every other body row tinted with the text color (light and dark alike). */
230
232
  .hawk-table th,
231
233
  .hawk-table td {
232
- padding: 6px 16px;
233
- border-bottom: 1px solid var(--hawk-ui-border);
234
+ padding: 10px 16px;
235
+ border-bottom: 1px solid color-mix(in srgb, var(--hawk-ui-text) 12%, var(--hawk-ui-border));
234
236
  text-align: left;
235
237
  vertical-align: middle;
236
238
  }
@@ -254,6 +256,9 @@ hawk-kpi[highlight] .hawk-kpi {
254
256
  font-weight: 700;
255
257
  border-bottom: 0;
256
258
  }
259
+ .hawk-table tbody tr:nth-of-type(even) {
260
+ background: color-mix(in srgb, var(--hawk-ui-text) 3%, transparent);
261
+ }
257
262
  .hawk-table tbody tr.is-clickable {
258
263
  cursor: pointer;
259
264
  }
@@ -11,11 +11,14 @@ export declare const frameThemeOptions: ThemeOptions;
11
11
  * Tables that read as tables in a frame: MUI draws cell borders in the divider lightened by 88%, which is nearly white
12
12
  * with a host's light border color, so rows ran together. Cells use the divider as is, the header row gets the page
13
13
  * background and semibold secondary text, and the last row has no border (the outlined Paper around a table draws it).
14
+ * Rows are a little taller than MUI's small size (10px above and below, not 6px) and every other body row is tinted
15
+ * with the text color (so it works in light and dark); a clickable row's hover still shows over the tint.
14
16
  */
15
17
  export declare const tableThemeOptions: ThemeOptions;
16
18
  /**
17
19
  * The palette from the host's theme tokens (`context.theme.tokens`, the same names as the `--hawk-*` CSS variables):
18
- * backgrounds, text, borders and the accent color. Missing or unreadable tokens keep Spark's.
20
+ * backgrounds, text, borders and the accent color. Missing or unreadable tokens keep Spark's, and so does a border color
21
+ * too faint to see on the host's surface.
19
22
  */
20
23
  export declare function hostPalette(theme: HawkTheme | null | undefined): PaletteOptions;
21
24
  /**
@@ -1,4 +1,4 @@
1
- import { createTheme } from '@mui/material/styles';
1
+ import { alpha, createTheme, getContrastRatio } from '@mui/material/styles';
2
2
  import { sparkPalette, sparkThemeOptions } from './spark.js';
3
3
  export { SPARK_SOURCE, sparkFontFamily, sparkPalette, sparkThemeOptions } from './spark.js';
4
4
  /**
@@ -29,6 +29,8 @@ export const frameThemeOptions = {
29
29
  * Tables that read as tables in a frame: MUI draws cell borders in the divider lightened by 88%, which is nearly white
30
30
  * with a host's light border color, so rows ran together. Cells use the divider as is, the header row gets the page
31
31
  * background and semibold secondary text, and the last row has no border (the outlined Paper around a table draws it).
32
+ * Rows are a little taller than MUI's small size (10px above and below, not 6px) and every other body row is tinted
33
+ * with the text color (so it works in light and dark); a clickable row's hover still shows over the tint.
32
34
  */
33
35
  export const tableThemeOptions = {
34
36
  components: {
@@ -40,11 +42,16 @@ export const tableThemeOptions = {
40
42
  color: theme.palette.text.secondary,
41
43
  fontWeight: 600,
42
44
  }),
45
+ sizeSmall: { paddingTop: 10, paddingBottom: 10 },
43
46
  },
44
47
  },
45
48
  MuiTableRow: {
46
49
  styleOverrides: {
47
- root: { '&:last-child > td, &:last-child > th[scope="row"]': { borderBottom: 0 } },
50
+ root: ({ theme }) => ({
51
+ '&:last-child > td, &:last-child > th[scope="row"]': { borderBottom: 0 },
52
+ '.MuiTableBody-root > &:nth-of-type(even)': { backgroundColor: alpha(theme.palette.text.primary, 0.03) },
53
+ '.MuiTableBody-root > &.MuiTableRow-hover:hover': { backgroundColor: theme.palette.action.hover },
54
+ }),
48
55
  },
49
56
  },
50
57
  },
@@ -62,19 +69,38 @@ function radius(tokens) {
62
69
  function defined(value) {
63
70
  return Object.fromEntries(Object.entries(value).filter(([, v]) => v !== undefined && !(typeof v === 'object' && v !== null && Object.keys(v).length === 0)));
64
71
  }
72
+ /**
73
+ * The least contrast a host's border color needs against the surface to be used as the divider. HawkSearch's
74
+ * `color-border-default` (#f5f7fa) is about 1.07 on white: table rows and outlined cards would have no visible lines.
75
+ */
76
+ const MIN_DIVIDER_CONTRAST = 1.2;
77
+ /** The host's border color when it shows on `surface`; else undefined (MUI's divider then, which always does). */
78
+ function visibleBorder(border, surface) {
79
+ if (!border)
80
+ return undefined;
81
+ try {
82
+ return getContrastRatio(border, surface) >= MIN_DIVIDER_CONTRAST ? border : undefined;
83
+ }
84
+ catch {
85
+ return border;
86
+ }
87
+ }
65
88
  /**
66
89
  * The palette from the host's theme tokens (`context.theme.tokens`, the same names as the `--hawk-*` CSS variables):
67
- * backgrounds, text, borders and the accent color. Missing or unreadable tokens keep Spark's.
90
+ * backgrounds, text, borders and the accent color. Missing or unreadable tokens keep Spark's, and so does a border color
91
+ * too faint to see on the host's surface.
68
92
  */
69
93
  export function hostPalette(theme) {
70
94
  const tokens = theme?.tokens ?? {};
71
95
  const accent = color(tokens, 'color-button-accent-background');
96
+ const dark = theme?.mode === 'dark';
97
+ const paper = color(tokens, 'color-background-container');
72
98
  return defined({
73
- mode: theme?.mode === 'dark' ? 'dark' : 'light',
99
+ mode: dark ? 'dark' : 'light',
74
100
  primary: accent ? defined({ main: accent, contrastText: color(tokens, 'color-button-accent-text') }) : undefined,
75
- background: defined({ default: color(tokens, 'color-background'), paper: color(tokens, 'color-background-container') }),
101
+ background: defined({ default: color(tokens, 'color-background'), paper }),
76
102
  text: defined({ primary: color(tokens, 'color-text-default'), secondary: color(tokens, 'color-text-secondary') }),
77
- divider: color(tokens, 'color-border-default'),
103
+ divider: visibleBorder(color(tokens, 'color-border-default'), paper ?? (dark ? '#121212' : '#ffffff')),
78
104
  });
79
105
  }
80
106
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAsD,MAAM,sBAAsB,CAAC;AACvG,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE7D,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE5F;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAiB;IAC3C,UAAU,EAAE;QACR,SAAS,EAAE;YACP,cAAc,EAAE;gBACZ,SAAS,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,EAAE,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AE,MAAM,IAAI,EAAE,CAAC,CAAC;IAC9C,wGAAwG;IACxG,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,GAAG,iBAAiB,CAAC;IAC5D,OAAO,WAAW,CACd,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EACjB;QACI,OAAO,EAAE;YACL,GAAG,IAAI;YACP,GAAG,IAAI;YACP,OAAO,EAAE,EAAE,GAAI,IAAI,CAAC,OAAkB,EAAE,GAAI,IAAI,CAAC,OAAkB,EAAE;YACrE,UAAU,EAAE,EAAE,GAAI,IAAI,CAAC,UAAqB,EAAE,GAAI,IAAI,CAAC,UAAqB,EAAE;SAC/D;QACnB,GAAG,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACrE,EACD,GAAG,SAAS,CACf,CAAC;AACN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bridgeline-digital/hawk-app-ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.1-dev.20261021024847",
4
4
  "description": "For Bridgeline developers: the Spark look for Hawk Apps: for React + MUI, the theme (following the host's colors and mode), the app provider and shared components; for any app (vanilla, Preact, React, Next), a stylesheet and custom elements.",
5
5
  "author": "Bridgeline Digital",
6
6
  "license": "UNLICENSED",
@@ -93,7 +93,7 @@
93
93
  "@fontsource/montserrat": "^5.3.0"
94
94
  },
95
95
  "peerDependencies": {
96
- "@bridgeline-digital/hawk-app-bridge": ">=0.1.0 <1.0.0",
96
+ "@bridgeline-digital/hawk-app-bridge": "0.1.1-dev.20261021024847",
97
97
  "@emotion/react": "^11.14.0",
98
98
  "@emotion/styled": "^11.14.1",
99
99
  "@mui/material": "^9.3.1",