@zolomedia/bifrost-client 1.7.77 → 1.7.79

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.
@@ -218,7 +218,7 @@ export class TableRenderer {
218
218
  // Render caption as a description line UNDER the title (not a full-width row
219
219
  // inside the table). Reads like a subtitle: what the table shows / source / date.
220
220
  if (caption) {
221
- const captionElement = createElement('p', ['zMuted', 'zMb-3']);
221
+ const captionElement = createElement('p', ['zText-muted', 'zmb-3']);
222
222
  captionElement.style.fontSize = '0.875rem';
223
223
  captionElement.textContent = this._decodeUnicodeEscapes(caption);
224
224
  wrapper.appendChild(captionElement);
@@ -323,7 +323,7 @@ export class TableRenderer {
323
323
 
324
324
  // Apply zTheme styling
325
325
  setAttributes(titleElement, {
326
- class: 'zMb-3 zText-dark',
326
+ class: 'zmb-3 zText-dark',
327
327
  style: `font-weight: ${TYPOGRAPHY.FONT_WEIGHTS.MEDIUM};`
328
328
  });
329
329
 
@@ -574,7 +574,7 @@ export class TableRenderer {
574
574
  const jumpContainer = createDiv();
575
575
  jumpContainer.classList.add(
576
576
  'zD-flex',
577
- 'zAlign-items-center',
577
+ 'zFlex-items-center',
578
578
  getGapClass(2)
579
579
  );
580
580
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zolomedia/bifrost-client",
3
- "version": "1.7.77",
3
+ "version": "1.7.79",
4
4
  "description": "Browser client for zBifrost — the WebSocket bridge that turns JSON events from a zOS server into live DOM. Thin bootstrap + server-controlled core.",
5
5
  "homepage": "https://github.com/ZoloAi/zbifrost-client#readme",
6
6
  "repository": {
@@ -108,6 +108,23 @@ p {
108
108
 
109
109
  p:last-child { margin-bottom: 0; }
110
110
 
111
+ /* ─── Inline emphasis (zMD / zText markdown) ───────────────────────────────── */
112
+ /* Bifrost owns the inline tags the markdown parser emits (**bold**, *italic*,
113
+ * __underline__, ~~strike~~, ==highlight==) so rich text renders deliberately
114
+ * and themed — never on raw browser UA defaults. Apps re-skin via _zClass. */
115
+
116
+ strong, b { font-weight: 700; }
117
+ em, i { font-style: italic; }
118
+ u { text-decoration: underline; }
119
+ del, s { text-decoration: line-through; opacity: 0.7; }
120
+
121
+ mark {
122
+ background: color-mix(in srgb, var(--color-warning, #FFB347) 30%, transparent);
123
+ color: inherit;
124
+ padding: 0.05em 0.25em;
125
+ border-radius: 4px;
126
+ }
127
+
111
128
  /* ─── zTheme semantic text colors — zCLI parity ───────────────────────────── */
112
129
  /* The client maps a header/text `color:` token → `.zText-<token>`. These are
113
130
  * the zOS defaults so `color: PRIMARY` paints in Bifrost without any _zClass,
@@ -1035,6 +1052,9 @@ zNavBar .zNav-link.active {
1035
1052
  }
1036
1053
 
1037
1054
  .zText-muted { opacity: 0.6; }
1055
+ .zText-dark { color: #f9fafb; }
1056
+ .zBorder { border: 1px solid rgba(255, 255, 255, 0.12); }
1057
+ .zShadow-sm { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
1038
1058
  .zText-center { text-align: center !important; }
1039
1059
  .zText-start { text-align: left !important; }
1040
1060
  .zText-end { text-align: right !important; }
@@ -1107,6 +1127,39 @@ zNavBar .zNav-link.active {
1107
1127
  .zBtn-warning { background: var(--color-warning, #FFB347); color: #3a2400; }
1108
1128
  .zBtn-info { background: var(--color-info, #5CA9FF); color: #07243d; }
1109
1129
 
1130
+ /* Size + outline + group variants — emitted by the renderer (e.g. the zTable
1131
+ * paging control bar). Outline buttons keep the base box model and only swap the
1132
+ * skin (transparent fill, token-tinted text/border). */
1133
+ .zBtn-sm { padding: 0.32rem 0.7rem; font-size: 0.82rem; border-radius: 7px; }
1134
+ .zBtn-lg { padding: 0.8rem 1.8rem; font-size: 1.05rem; border-radius: 11px; }
1135
+
1136
+ .zBtn-outline-primary,
1137
+ .zBtn-outline-secondary,
1138
+ .zBtn-outline-success,
1139
+ .zBtn-outline-warning,
1140
+ .zBtn-outline-info {
1141
+ background: transparent;
1142
+ border-color: currentColor;
1143
+ }
1144
+ .zBtn-outline-primary { color: var(--color-primary, #A2D46E); }
1145
+ .zBtn-outline-secondary { color: var(--color-secondary, #9370DB); }
1146
+ .zBtn-outline-success { color: var(--color-success, #52B788); }
1147
+ .zBtn-outline-warning { color: var(--color-warning, #FFB347); }
1148
+ .zBtn-outline-info { color: var(--color-info, #5CA9FF); }
1149
+ .zBtn-outline-primary:hover,
1150
+ .zBtn-outline-secondary:hover,
1151
+ .zBtn-outline-success:hover,
1152
+ .zBtn-outline-warning:hover,
1153
+ .zBtn-outline-info:hover {
1154
+ background: color-mix(in srgb, currentColor 14%, transparent);
1155
+ }
1156
+
1157
+ .zBtn-group { display: inline-flex; }
1158
+ .zBtn-group > .zBtn { border-radius: 0; }
1159
+ .zBtn-group > .zBtn:first-child { border-top-left-radius: 7px; border-bottom-left-radius: 7px; }
1160
+ .zBtn-group > .zBtn:last-child { border-top-right-radius: 7px; border-bottom-right-radius: 7px; }
1161
+ .zBtn-group > .zBtn:not(:first-child) { margin-left: -1px; }
1162
+
1110
1163
  /* Structural display defaults */
1111
1164
  .zSignal { display: block; }
1112
1165
  .zCard { position: relative; }