@oods/component-styles 0.11.0 → 0.11.2

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
@@ -24,8 +24,8 @@ The stylesheet expects OODS component markup and classes. Applying it to an unre
24
24
 
25
25
  ## Limits
26
26
 
27
- Use one version of the OODS packages together. Apps that `@oods/foundry` generates pin the tested 0.6.2 set; keep those pins unless you upgrade all of them together. These packages are separate from the local MCP server, `@oods/foundry`. <!-- history -->
27
+ Generated apps pin the OODS release that generated them; to upgrade, regenerate the app or move all four pins together. These packages are separate from the local MCP server, `@oods/foundry`.
28
28
 
29
29
  ## License
30
30
 
31
- Apache License 2.0. See [LICENSE](https://cdn.jsdelivr.net/npm/@oods/component-styles@0.11.0/LICENSE) and [NOTICE](https://cdn.jsdelivr.net/npm/@oods/component-styles@0.11.0/NOTICE). Generated output belongs to its user; installed package dependencies retain their own licenses.
31
+ Apache License 2.0. See [LICENSE](https://cdn.jsdelivr.net/npm/@oods/component-styles@0.11.2/LICENSE) and [NOTICE](https://cdn.jsdelivr.net/npm/@oods/component-styles@0.11.2/NOTICE). Generated output belongs to its user; installed package dependencies retain their own licenses.
@@ -537,25 +537,25 @@
537
537
  }
538
538
  :where([data-viz-svg]) { min-inline-size: 0; }
539
539
  :where([data-viz-svg]) > svg { display: block; inline-size: 100%; max-inline-size: var(--oods-viz-width, 100%); block-size: auto; }
540
- /* A placed chart carries a narrow render beside the design-size one; the figure measures its own inline size and shows the narrow render at 600px or less, so axis text keeps its size on a phone column instead of scaling with the SVG (Sprint 202 m01). */
540
+ /* A placed chart carries a narrow render beside the design-size one; the figure measures its own inline size and shows the narrow render below the design SVG's intrinsic 730px width, so axis text keeps its size on a phone column instead of scaling with the SVG (Sprint 202 m01). */
541
541
  :where([data-viz-rendered='true'][data-viz-narrow='true']) { container-type: inline-size; }
542
542
  :where([data-viz-svg-narrow]) { display: none; min-inline-size: 0; }
543
- :where([data-viz-svg-narrow]) > svg { display: block; inline-size: 100%; block-size: auto; }
544
- @container (max-width: 600px) {
543
+ :where([data-viz-svg-narrow]) > svg { display: block; inline-size: 100%; max-inline-size: calc(302px * 1.25); margin-inline: auto; block-size: auto; }
544
+ @container (max-width: 729px) {
545
545
  :where([data-viz-narrow='true']) > [data-viz-svg] { display: none; }
546
546
  :where([data-viz-narrow='true']) > [data-viz-svg-narrow] { display: block; }
547
547
  }
548
548
  /* s213-m01 (Sprint 212 review finding 5): a figure with a wide render fills its column. The design render grows until
549
- * the figure is 900px wide, then the render drawn for a desktop column takes over, so the chart spans the screen near
549
+ * the figure is 1130px wide, then the render drawn for a desktop column takes over, so the chart spans the screen near
550
550
  * design scale; it used to stop at its design width, half of a 1440 detail screen. */
551
551
  :where([data-viz-rendered='true'][data-viz-wide='true']) { container-type: inline-size; }
552
552
  :where([data-viz-svg-wide]) { display: none; min-inline-size: 0; }
553
553
  :where([data-viz-svg-wide]) > svg { display: block; inline-size: 100%; block-size: auto; }
554
554
  /* Each render is drawn at most 1.25 times its own size, so a 10px axis label never passes 12.5px (#2347): the design
555
- * render reaches about 1.23 times before the wide one takes over, and the wide render, 1130px wide, stops growing here. */
555
+ * render stops at 1.25 times while waiting for the wide render to fit, and the wide render, 1130px wide, stops growing here. */
556
556
  :where([data-viz-svg-wide]) > svg { max-inline-size: calc(1130px * 1.25); }
557
- :where([data-viz-wide='true']) > [data-viz-svg] > svg { max-inline-size: none; }
558
- @container (min-width: 900px) {
557
+ :where([data-viz-wide='true']) > [data-viz-svg] > svg { max-inline-size: calc(730px * 1.25); margin-inline: auto; }
558
+ @container (min-width: 1130px) {
559
559
  :where([data-viz-wide='true']) > [data-viz-svg] { display: none; }
560
560
  :where([data-viz-wide='true']) > [data-viz-svg-wide] { display: block; }
561
561
  }
@@ -2029,6 +2029,10 @@ div.oods-field[data-oods-component='Checkbox'] { display: grid; grid-template-co
2029
2029
 
2030
2030
  /* A record's events read as one timeline: each event sits on a rail at the left instead of in a card of its own. */
2031
2031
  [data-oods-collection='events'] > .oods-collection { gap: 0; }
2032
+ /* Vue's mapped Card wraps the team's surface. Match React's inset only for event entries. */
2033
+ [data-oods-collection='events'] > .oods-collection > li > [data-oods-adapter='Card'] > [data-oods-card-surface] {
2034
+ padding-inline: var(--sys-inset-md, 1rem);
2035
+ }
2032
2036
  [data-oods-collection='events'] > .oods-collection > li > :is(.oods-card, [data-oods-component='Card']) {
2033
2037
  gap: var(--sys-control-gap-compact, 0.25rem);
2034
2038
  padding: 0 0 var(--sys-stack-md, 1rem) var(--sys-inset-md, 1rem);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oods/component-styles",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "Shared CSS for the OODS Foundry React and Vue components, driven by its design tokens.",
5
5
  "homepage": "https://oods-foundry.com/",
6
6
  "bugs": {
@@ -50,10 +50,10 @@
50
50
  "**/*.css"
51
51
  ],
52
52
  "dependencies": {
53
- "@oods/tokens": "0.11.0"
53
+ "@oods/tokens": "0.11.2"
54
54
  },
55
55
  "devDependencies": {
56
- "@oods/component-contracts": "0.11.0",
56
+ "@oods/component-contracts": "0.11.2",
57
57
  "playwright": "^1.56.1"
58
58
  },
59
59
  "packageManager": "pnpm@9.12.2",