@streamoid/ui 0.6.34 → 0.6.36

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.
@@ -41,10 +41,10 @@ before, and the panel read as three lists rather than one.
41
41
  - **Four things that will bite you:**
42
42
  1. It **re-sorts your array** into a canonical product order. Your ordering is
43
43
  discarded.
44
- 2. Known products render the **canonical tagline** (e.g. "Buyers and
45
- planners"), not `description` and not the product `name`. Do not copy that
46
- map into a host. Taglines name what the product is; none of them start with
47
- "for".
44
+ 2. Known products render the **canonical tagline** (e.g. "Buying and
45
+ planning"), not `description` and not the product `name`. Do not copy that
46
+ map into a host. Taglines name what the product DOES; none of them start
47
+ with "for", and none of them name an audience.
48
48
  3. Matching is a **substring** test over `` `${key} ${name}`.toLowerCase() ``. A key
49
49
  containing `"cxo"` or `"streamoid"` gets the **CXO** wordmark — but the four
50
50
  product names are matched first, so `"Streamoid Catalogix"` is Catalogix.
@@ -135,11 +135,11 @@ without rendering. The panel applies it already — hosts do not need to sort.
135
135
 
136
136
  | Order | Matches (substring, case-insensitive, on `key + " " + name`) | Renders |
137
137
  |---|---|---|
138
- | 1 | `cxo`, `streamoid` | CXO wordmark + "for CXOs" |
139
- | 2 | `tactix` | Tactix wordmark + "for buyers and planners" |
140
- | 3 | `artifax`, `design studio` | Artifax wordmark + "for design and development" |
141
- | 4 | `photogenix`, `photo studio` | Photogenix wordmark + "for studio and content" |
142
- | 5 | `catalogix`, `catalog studio` | Catalogix wordmark + "for catalog and ecommerce" |
138
+ | 1 | `cxo`, `streamoid` | CXO wordmark + "Retail Command Center" |
139
+ | 2 | `tactix` | Tactix wordmark + "Buying and planning" |
140
+ | 3 | `artifax`, `design studio` | Artifax wordmark + "Design and development" |
141
+ | 4 | `photogenix`, `photo studio` | Photogenix wordmark + "Studio and content" |
142
+ | 5 | `catalogix`, `catalog studio` | Catalogix wordmark + "Catalog and ecommerce" |
143
143
  | last | anything else | `name` (16px semibold) + host `description` (14px tertiary) |
144
144
 
145
145
  **CXO leads the display order but trails the match order.** It is the hub every
package/dist/index.css CHANGED
@@ -3813,9 +3813,6 @@
3813
3813
  cursor: col-resize;
3814
3814
  touch-action: none;
3815
3815
  }
3816
- .ScSidebarResizeHandle_collapsed {
3817
- right: -8px;
3818
- }
3819
3816
  .ScSidebarResizeHandle_line {
3820
3817
  pointer-events: none;
3821
3818
  position: absolute;
package/dist/index.js CHANGED
@@ -394,7 +394,7 @@ var PRODUCT_BRANDS = [
394
394
  tagline: "Retail Command Center",
395
395
  hub: true
396
396
  },
397
- { match: ["tactix"], product: "tactix", tagline: "Buyers and planners" },
397
+ { match: ["tactix"], product: "tactix", tagline: "Buying and planning" },
398
398
  {
399
399
  match: ["artifax", "design studio"],
400
400
  product: "artifax",
@@ -532,7 +532,7 @@ var ScAppSwitchRow = ({
532
532
  {
533
533
  product: brand.product,
534
534
  color: labelColor,
535
- style: { transform: "scale(1.25)", transformOrigin: "left center" }
535
+ style: { transform: "scale(1.125)", transformOrigin: "left center" }
536
536
  }
537
537
  )
538
538
  }
@@ -615,10 +615,21 @@ var ScAppSwitchGroupLabel = ({ children }) => /* @__PURE__ */ (0, import_jsx_run
615
615
  {
616
616
  style: {
617
617
  padding: "var(--spacing-md, 8px) var(--spacing-md, 8px) var(--spacing-sm, 4px)",
618
- color: T.tertiary,
618
+ /* SECONDARY, NOT TERTIARY. A group label is structure — it tells you
619
+ which kind of row follows — so it has to be readable; tertiary is the
620
+ ramp step for text you are not meant to read, and at 12px it fell
621
+ under it. */
622
+ color: T.secondary,
619
623
  fontFamily: T.font,
620
- fontSize: "var(--font-size-font-size-sm, 14px)",
621
- lineHeight: "var(--line-height-line-height-sm, 20px)",
624
+ /* 12px/16px. At 14px/20px these sat at the same size as the rows they
625
+ label, so "Apps" read as an entry in the list rather than a heading
626
+ over it. Dropping a step makes the hierarchy legible AND takes 4px
627
+ off each label's line box — 8px out of the panel, which is most of
628
+ the tightening asked for. */
629
+ fontSize: "var(--font-size-font-size-xs, 12px)",
630
+ lineHeight: "var(--line-height-line-height-xs, 16px)",
631
+ /* Medium. Weight is what keeps a 12px label from reading as fine print
632
+ once the size drops. */
622
633
  fontWeight: 500
623
634
  },
624
635
  children
@@ -4514,7 +4525,6 @@ var import_react14 = require("react");
4514
4525
  // src/SC-Sidebar-new/ScSidebarResizeHandle.module.css
4515
4526
  var ScSidebarResizeHandle_default = {
4516
4527
  handle: "ScSidebarResizeHandle_handle",
4517
- collapsed: "ScSidebarResizeHandle_collapsed",
4518
4528
  line: "ScSidebarResizeHandle_line",
4519
4529
  active: "ScSidebarResizeHandle_active"
4520
4530
  };
@@ -4601,7 +4611,7 @@ function ScSidebarResizeHandle({
4601
4611
  onExpandedChange(true);
4602
4612
  }
4603
4613
  },
4604
- className: `${ScSidebarResizeHandle_default.handle} ${expanded ? "" : ScSidebarResizeHandle_default.collapsed} ${active ? ScSidebarResizeHandle_default.active : ""} ${className ?? ""}`.trim(),
4614
+ className: `${ScSidebarResizeHandle_default.handle} ${active ? ScSidebarResizeHandle_default.active : ""} ${className ?? ""}`.trim(),
4605
4615
  style,
4606
4616
  children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { "aria-hidden": true, className: ScSidebarResizeHandle_default.line })
4607
4617
  }
@@ -5129,7 +5139,7 @@ function StreamoidSidebar({
5129
5139
  "div",
5130
5140
  {
5131
5141
  className: `relative flex h-full items-center justify-center shrink-0 ${className ?? ""}`.trim(),
5132
- style,
5142
+ style: { padding: "var(--spacing-3xl)", ...style },
5133
5143
  children: [
5134
5144
  resizable && !isMobile ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5135
5145
  ScSidebarResizeHandle,
@@ -5145,6 +5155,11 @@ function StreamoidSidebar({
5145
5155
  className: "flex flex-col h-full items-center justify-center relative shrink-0",
5146
5156
  style: {
5147
5157
  backgroundColor: "var(--alias-surface-base)",
5158
+ /* Matches the expanded card. It was square with a hard right seam,
5159
+ which read as a different component rather than the same one
5160
+ narrowed — and next to a floating rounded card it looked like the
5161
+ rail had been replaced. */
5162
+ borderRadius: "var(--radius-3xl)",
5148
5163
  padding: "var(--spacing-md)",
5149
5164
  gap: "var(--spacing-xxs)"
5150
5165
  },
@@ -5155,7 +5170,9 @@ function StreamoidSidebar({
5155
5170
  "aria-hidden": "true",
5156
5171
  className: "absolute inset-0 pointer-events-none",
5157
5172
  style: {
5158
- borderRight: "1px solid var(--alias-border-subtle)"
5173
+ border: "1px solid var(--alias-border-subtle)",
5174
+ borderRadius: "var(--radius-3xl)",
5175
+ zIndex: 30
5159
5176
  }
5160
5177
  }
5161
5178
  ),
package/dist/index.mjs CHANGED
@@ -209,7 +209,7 @@ var PRODUCT_BRANDS = [
209
209
  tagline: "Retail Command Center",
210
210
  hub: true
211
211
  },
212
- { match: ["tactix"], product: "tactix", tagline: "Buyers and planners" },
212
+ { match: ["tactix"], product: "tactix", tagline: "Buying and planning" },
213
213
  {
214
214
  match: ["artifax", "design studio"],
215
215
  product: "artifax",
@@ -347,7 +347,7 @@ var ScAppSwitchRow = ({
347
347
  {
348
348
  product: brand.product,
349
349
  color: labelColor,
350
- style: { transform: "scale(1.25)", transformOrigin: "left center" }
350
+ style: { transform: "scale(1.125)", transformOrigin: "left center" }
351
351
  }
352
352
  )
353
353
  }
@@ -430,10 +430,21 @@ var ScAppSwitchGroupLabel = ({ children }) => /* @__PURE__ */ jsx4(
430
430
  {
431
431
  style: {
432
432
  padding: "var(--spacing-md, 8px) var(--spacing-md, 8px) var(--spacing-sm, 4px)",
433
- color: T.tertiary,
433
+ /* SECONDARY, NOT TERTIARY. A group label is structure — it tells you
434
+ which kind of row follows — so it has to be readable; tertiary is the
435
+ ramp step for text you are not meant to read, and at 12px it fell
436
+ under it. */
437
+ color: T.secondary,
434
438
  fontFamily: T.font,
435
- fontSize: "var(--font-size-font-size-sm, 14px)",
436
- lineHeight: "var(--line-height-line-height-sm, 20px)",
439
+ /* 12px/16px. At 14px/20px these sat at the same size as the rows they
440
+ label, so "Apps" read as an entry in the list rather than a heading
441
+ over it. Dropping a step makes the hierarchy legible AND takes 4px
442
+ off each label's line box — 8px out of the panel, which is most of
443
+ the tightening asked for. */
444
+ fontSize: "var(--font-size-font-size-xs, 12px)",
445
+ lineHeight: "var(--line-height-line-height-xs, 16px)",
446
+ /* Medium. Weight is what keeps a 12px label from reading as fine print
447
+ once the size drops. */
437
448
  fontWeight: 500
438
449
  },
439
450
  children
@@ -4329,7 +4340,6 @@ import { useRef as useRef5, useState as useState11 } from "react";
4329
4340
  // src/SC-Sidebar-new/ScSidebarResizeHandle.module.css
4330
4341
  var ScSidebarResizeHandle_default = {
4331
4342
  handle: "ScSidebarResizeHandle_handle",
4332
- collapsed: "ScSidebarResizeHandle_collapsed",
4333
4343
  line: "ScSidebarResizeHandle_line",
4334
4344
  active: "ScSidebarResizeHandle_active"
4335
4345
  };
@@ -4416,7 +4426,7 @@ function ScSidebarResizeHandle({
4416
4426
  onExpandedChange(true);
4417
4427
  }
4418
4428
  },
4419
- className: `${ScSidebarResizeHandle_default.handle} ${expanded ? "" : ScSidebarResizeHandle_default.collapsed} ${active ? ScSidebarResizeHandle_default.active : ""} ${className ?? ""}`.trim(),
4429
+ className: `${ScSidebarResizeHandle_default.handle} ${active ? ScSidebarResizeHandle_default.active : ""} ${className ?? ""}`.trim(),
4420
4430
  style,
4421
4431
  children: /* @__PURE__ */ jsx49("span", { "aria-hidden": true, className: ScSidebarResizeHandle_default.line })
4422
4432
  }
@@ -4944,7 +4954,7 @@ function StreamoidSidebar({
4944
4954
  "div",
4945
4955
  {
4946
4956
  className: `relative flex h-full items-center justify-center shrink-0 ${className ?? ""}`.trim(),
4947
- style,
4957
+ style: { padding: "var(--spacing-3xl)", ...style },
4948
4958
  children: [
4949
4959
  resizable && !isMobile ? /* @__PURE__ */ jsx50(
4950
4960
  ScSidebarResizeHandle,
@@ -4960,6 +4970,11 @@ function StreamoidSidebar({
4960
4970
  className: "flex flex-col h-full items-center justify-center relative shrink-0",
4961
4971
  style: {
4962
4972
  backgroundColor: "var(--alias-surface-base)",
4973
+ /* Matches the expanded card. It was square with a hard right seam,
4974
+ which read as a different component rather than the same one
4975
+ narrowed — and next to a floating rounded card it looked like the
4976
+ rail had been replaced. */
4977
+ borderRadius: "var(--radius-3xl)",
4963
4978
  padding: "var(--spacing-md)",
4964
4979
  gap: "var(--spacing-xxs)"
4965
4980
  },
@@ -4970,7 +4985,9 @@ function StreamoidSidebar({
4970
4985
  "aria-hidden": "true",
4971
4986
  className: "absolute inset-0 pointer-events-none",
4972
4987
  style: {
4973
- borderRight: "1px solid var(--alias-border-subtle)"
4988
+ border: "1px solid var(--alias-border-subtle)",
4989
+ borderRadius: "var(--radius-3xl)",
4990
+ zIndex: 30
4974
4991
  }
4975
4992
  }
4976
4993
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamoid/ui",
3
- "version": "0.6.34",
3
+ "version": "0.6.36",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",