@sharadox/sharadox-web-library 0.54.0 → 0.54.1-development.107

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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  What changed in each version of `@sharadox/sharadox-web-library`, newest first.
4
4
 
5
+ ## 0.54.1
6
+
7
+ `Section`'s left text alignment no longer depends on stylesheet order: a section's own class (the 404 page's centered text) always wins. A change in which modules a page imported had moved the 404 paragraph to the left.
8
+
5
9
  ## 0.54.0
6
10
 
7
11
  - `component/page-frame`: `PageFrame`, everything around a page (navigation, `<main>`, footer and the site-wide behavior), with `before`, `aside` and `after` for page-specific pieces.
@@ -1 +1 @@
1
- .section{text-align:left;position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin-inline:auto;border-inline:1px solid var(--line)}.padded{padding:clamp(72px,10vw,128px) var(--padding)}.line{position:absolute;left:calc(-1*var(--gutter));right:calc(-1*var(--gutter));top:-0.5px;height:1px;background:linear-gradient(90deg, transparent, var(--line) var(--gutter), var(--line) calc(100% - var(--gutter)), transparent);transform-origin:left}@media(prefers-reduced-motion: no-preference){@supports(animation-timeline: view()){.line{animation:draw linear both;animation-timeline:view();animation-range:entry 0% entry 60%}}}@keyframes draw{from{transform:scaleX(0)}}
1
+ :where(.section){text-align:left}.section{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin-inline:auto;border-inline:1px solid var(--line)}.padded{padding:clamp(72px,10vw,128px) var(--padding)}.line{position:absolute;left:calc(-1*var(--gutter));right:calc(-1*var(--gutter));top:-0.5px;height:1px;background:linear-gradient(90deg, transparent, var(--line) var(--gutter), var(--line) calc(100% - var(--gutter)), transparent);transform-origin:left}@media(prefers-reduced-motion: no-preference){@supports(animation-timeline: view()){.line{animation:draw linear both;animation-timeline:view();animation-range:entry 0% entry 60%}}}@keyframes draw{from{transform:scaleX(0)}}
@@ -1,8 +1,11 @@
1
1
  @use "style/token" as *;
2
2
 
3
- .section {
4
- /* Its text reads from the left (the page default is centered). */
3
+ /* Its text reads from the left (the page default is centered). Without specificity, so a section's own class (the
4
+ 404's centered text) wins whatever order the stylesheets load in. */
5
+ :where(.section) {
5
6
  text-align: left;
7
+ }
8
+ .section {
6
9
  position: relative;
7
10
  width: min(100% - 2 * var(--gutter), var(--maximum-width));
8
11
  margin-inline: auto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sharadox/sharadox-web-library",
3
- "version": "0.54.0",
3
+ "version": "0.54.1-development.107",
4
4
  "description": "Sharadox's own website building blocks: content, components, brand and actions for sharadox-web-application, plus the preview notice and agency credit used on client demos.",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENCA.md",