@oods/component-styles 0.10.2 → 0.11.1
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 +1 -1
- package/dist/components.css +7 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -28,4 +28,4 @@ Use one version of the OODS packages together. Apps that `@oods/foundry` generat
|
|
|
28
28
|
|
|
29
29
|
## License
|
|
30
30
|
|
|
31
|
-
Apache License 2.0. See [LICENSE](https://cdn.jsdelivr.net/npm/@oods/component-styles@0.
|
|
31
|
+
Apache License 2.0. See [LICENSE](https://cdn.jsdelivr.net/npm/@oods/component-styles@0.11.1/LICENSE) and [NOTICE](https://cdn.jsdelivr.net/npm/@oods/component-styles@0.11.1/NOTICE). Generated output belongs to its user; installed package dependencies retain their own licenses.
|
package/dist/components.css
CHANGED
|
@@ -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
|
|
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:
|
|
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
|
|
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
|
|
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:
|
|
558
|
-
@container (min-width:
|
|
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
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oods/component-styles",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.1",
|
|
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.
|
|
53
|
+
"@oods/tokens": "0.11.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@oods/component-contracts": "0.
|
|
56
|
+
"@oods/component-contracts": "0.11.1",
|
|
57
57
|
"playwright": "^1.56.1"
|
|
58
58
|
},
|
|
59
59
|
"packageManager": "pnpm@9.12.2",
|