@oods/component-styles 0.11.2 → 0.12.0
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 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -28,4 +28,4 @@ Generated apps pin the OODS release that generated them; to upgrade, regenerate
|
|
|
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.12.0/LICENSE) and [NOTICE](https://cdn.jsdelivr.net/npm/@oods/component-styles@0.12.0/NOTICE). Generated output belongs to its user; installed package dependencies retain their own licenses.
|
package/dist/components.css
CHANGED
|
@@ -540,7 +540,7 @@
|
|
|
540
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%; max-inline-size: calc(
|
|
543
|
+
:where([data-viz-svg-narrow]) > svg { display: block; inline-size: 100%; max-inline-size: calc(292px * 1.25); margin-inline: auto; block-size: auto; }
|
|
544
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; }
|
|
@@ -552,9 +552,12 @@
|
|
|
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 stops at 1.25 times while waiting for the wide render to fit, and the wide render
|
|
556
|
-
:
|
|
557
|
-
|
|
555
|
+
* render stops at 1.25 times while waiting for the wide render to fit, and the wide render stops growing here.
|
|
556
|
+
* s244-m04: each cap is 1.25 times the size the render was requested at (292, 720 and 1120px). Vega pads its render by
|
|
557
|
+
* 10px (302, 730, 1130) and so stops a little below 1.25 times; ECharts draws the requested size, and a relationship
|
|
558
|
+
* graph was drawn up to 1.27 times while the caps took Vega's padded sizes. */
|
|
559
|
+
:where([data-viz-svg-wide]) > svg { max-inline-size: calc(1120px * 1.25); }
|
|
560
|
+
:where([data-viz-wide='true']) > [data-viz-svg] > svg { max-inline-size: calc(720px * 1.25); margin-inline: auto; }
|
|
558
561
|
@container (min-width: 1130px) {
|
|
559
562
|
:where([data-viz-wide='true']) > [data-viz-svg] { display: none; }
|
|
560
563
|
:where([data-viz-wide='true']) > [data-viz-svg-wide] { display: block; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oods/component-styles",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
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.12.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@oods/component-contracts": "0.
|
|
56
|
+
"@oods/component-contracts": "0.12.0",
|
|
57
57
|
"playwright": "^1.56.1"
|
|
58
58
|
},
|
|
59
59
|
"packageManager": "pnpm@9.12.2",
|