@openwarelabs/blocks 0.10.0 → 0.10.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.
@@ -12,8 +12,8 @@ export interface Notifications01Item {
12
12
  tone?: "primary" | "danger";
13
13
  /** What happened, with the names in bold: <><strong>Clara Novak</strong> mentioned you in …</>. */
14
14
  message: ReactNode;
15
- /** The same in plain words, read out in place of `message`. */
16
- summary: string;
15
+ /** @deprecated No longer used: an item is named by the text it shows. Kept so code from 0.10.0 still compiles. */
16
+ summary?: string;
17
17
  /** A line or two quoted from a comment, clamped to two lines. */
18
18
  quote?: ReactNode;
19
19
  /** Where it happened: "billing-api". */
@@ -12,8 +12,8 @@ export interface Notifications01Item {
12
12
  tone?: "primary" | "danger";
13
13
  /** What happened, with the names in bold: <><strong>Clara Novak</strong> mentioned you in …</>. */
14
14
  message: ReactNode;
15
- /** The same in plain words, read out in place of `message`. */
16
- summary: string;
15
+ /** @deprecated No longer used: an item is named by the text it shows. Kept so code from 0.10.0 still compiles. */
16
+ summary?: string;
17
17
  /** A line or two quoted from a comment, clamped to two lines. */
18
18
  quote?: ReactNode;
19
19
  /** Where it happened: "billing-api". */
package/dist/styles.css CHANGED
@@ -10991,7 +10991,7 @@
10991
10991
 
10992
10992
  /* Bands the estimate doesn't reach fade back; Text has no tone for disabled text. */
10993
10993
  .ow-pricing05__line[data-idle] {
10994
- color: var(--ow-text-disabled);
10994
+ color: var(--ow-text-muted);
10995
10995
  }
10996
10996
 
10997
10997
  .ow-pricing05__total {
@@ -13100,7 +13100,7 @@
13100
13100
  margin: 0 auto;
13101
13101
  }
13102
13102
 
13103
- /* The logos are the tabs: muted until chosen, with the underline under the one showing. */
13103
+ /* The logos are the tabs: their marks muted until chosen, with the underline under the one showing. */
13104
13104
  .ow-testimonial03__tabs {
13105
13105
  gap: 0;
13106
13106
  margin-top: 48px;
@@ -13116,13 +13116,14 @@
13116
13116
  padding: 0 4px;
13117
13117
  }
13118
13118
 
13119
- .ow-testimonial03__tab > * {
13119
+ /* Only the marks dim: the names stay at full strength, so they keep their contrast. */
13120
+ .ow-testimonial03__tab :is(svg, img) {
13120
13121
  opacity: 0.6;
13121
13122
  transition: opacity var(--ow-duration-base) var(--ow-ease-standard);
13122
13123
  }
13123
13124
 
13124
- .ow-testimonial03__tab:hover > *,
13125
- .ow-testimonial03__tab[aria-selected="true"] > * {
13125
+ .ow-testimonial03__tab:hover :is(svg, img),
13126
+ .ow-testimonial03__tab[aria-selected="true"] :is(svg, img) {
13126
13127
  opacity: 1;
13127
13128
  }
13128
13129
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@openwarelabs/blocks",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Openware UI blocks: whole page sections (heroes and more) as React components that take their content as props.",
5
5
  "license": "MIT",
6
6
  "author": "Alexander Silver",
7
- "homepage": "https://github.com/openwarelabs/ui/tree/main/blocks#readme",
7
+ "homepage": "https://openwarelabs.github.io/ui/#/blocks",
8
8
  "bugs": {
9
9
  "url": "https://github.com/openwarelabs/ui/issues"
10
10
  },
@@ -34,7 +34,7 @@
34
34
  "README.md"
35
35
  ],
36
36
  "peerDependencies": {
37
- "@openwarelabs/ui": "^0.10.0",
37
+ "@openwarelabs/ui": "^0.10.1",
38
38
  "react": ">=18",
39
39
  "react-dom": ">=18"
40
40
  },