@anydigital/bricks 1.0.0-alpha.14 → 1.0.0-alpha.15

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 CHANGED
@@ -105,7 +105,7 @@ The `.prose` class provides enhanced typography for article content and long-for
105
105
 
106
106
  **Code Blocks:**
107
107
 
108
- - Code blocks with `data-file` attribute display the filename above the code block (styled with 50% opacity, italic, and `1.5em` bottom margin)
108
+ - Code blocks with `data-caption` attribute display the caption above the code block (styled with 50% opacity, italic, and `1.5em` bottom margin)
109
109
 
110
110
  **Usage:**
111
111
 
package/bricks/_prose.css CHANGED
@@ -134,9 +134,9 @@
134
134
  }
135
135
  }
136
136
 
137
- code[data-file] {
137
+ code[data-caption] {
138
138
  &::before {
139
- content: attr(data-file);
139
+ content: attr(data-caption);
140
140
  display: block;
141
141
  margin-bottom: 1.5em;
142
142
  opacity: 0.5;
package/dist/bricks.css CHANGED
@@ -189,8 +189,8 @@ body > main {
189
189
  margin-right: 0.25em;
190
190
  }
191
191
 
192
- .prose code[data-file]::before {
193
- content: attr(data-file);
192
+ .prose code[data-caption]::before {
193
+ content: attr(data-caption);
194
194
  display: block;
195
195
  margin-bottom: 1.5em;
196
196
  opacity: 0.5;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anydigital/bricks",
3
- "version": "1.0.0-alpha.14",
3
+ "version": "1.0.0-alpha.15",
4
4
  "description": "Framework-agnostic CSS utilities and single-file Liquid 'bricks' for modern web development.",
5
5
  "main": "dist/bricks.css",
6
6
  "style": "dist/bricks.css",