@streamscloud/embeddable 16.0.7-1772105858986 → 16.0.7-1772107327250

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.
@@ -14,17 +14,24 @@ const fieldMetadata = $derived({ displayDate: metadata.displayDate });
14
14
  </div>
15
15
 
16
16
  <style>.article-container {
17
+ --_article--max-width: var(--article--max-width, 100%);
17
18
  --_article--min-height: var(--article--min-height, 0);
18
19
  --_article--background: var(--article--background, light-dark(#ffffff, #2e2e2e));
20
+ --_article--container-background: var(--article--container-background, light-dark(#fafafa, #1c1c1c));
19
21
  --_article--text-color: var(--article--text-color, light-dark(#000000, #ffffff));
20
22
  container-type: inline-size;
21
23
  min-height: var(--_article--min-height);
24
+ background: var(--_article--container-background);
25
+ overflow: hidden;
22
26
  }
23
27
 
24
28
  .article {
25
29
  --article-field--text-color: var(--_article--text-color);
30
+ max-width: var(--_article--max-width);
31
+ margin: 0 auto;
26
32
  min-height: var(--_article--min-height);
27
33
  background: var(--_article--background);
34
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
28
35
  padding-bottom: 6.25rem;
29
36
  display: flex;
30
37
  flex-direction: column;
@@ -88,7 +88,9 @@ Displays a placeholder when the article is not found.
88
88
  ### CSS Custom Properties
89
89
  | Property | Description | Default |
90
90
  |---|---|---|
91
- | `--article--background` | Article background color | `white` / `dark-800` |
91
+ | `--article--max-width` | Article max width (centered when constrained) | `100%` |
92
+ | `--article--container-background` | Outer container background (visible when width constrained) | `gray-50` / `gray-900` |
93
+ | `--article--background` | Article background color | `white` / `gray-800` |
92
94
  | `--article--text-color` | Article text color | `black` / `white` |
93
95
  | `--article--min-height` | Minimum article height | `0` |
94
96
  -->
@@ -36,7 +36,9 @@ type Props = {
36
36
  * ### CSS Custom Properties
37
37
  * | Property | Description | Default |
38
38
  * |---|---|---|
39
- * | `--article--background` | Article background color | `white` / `dark-800` |
39
+ * | `--article--max-width` | Article max width (centered when constrained) | `100%` |
40
+ * | `--article--container-background` | Outer container background (visible when width constrained) | `gray-50` / `gray-900` |
41
+ * | `--article--background` | Article background color | `white` / `gray-800` |
40
42
  * | `--article--text-color` | Article text color | `black` / `white` |
41
43
  * | `--article--min-height` | Minimum article height | `0` |
42
44
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamscloud/embeddable",
3
- "version": "16.0.7-1772105858986",
3
+ "version": "16.0.7-1772107327250",
4
4
  "author": "StreamsCloud",
5
5
  "repository": {
6
6
  "type": "git",