@anydigital/bricks 0.24.0 → 0.24.2

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/bricks/bricks.css CHANGED
@@ -3,8 +3,8 @@
3
3
  * Framework-agnostic CSS utility helpers
4
4
  */
5
5
 
6
- @import "__html";
7
- @import "_prose";
6
+ @import "./__html";
7
+ @import "./_prose";
8
8
  @import "@anydigital/breakout-css"; /* after prose to override it */
9
- @import "_prism";
10
- @import "_util";
9
+ @import "./_prism";
10
+ @import "./_util";
package/dist/bricks.css CHANGED
@@ -212,17 +212,17 @@ body a,body table {
212
212
  transform: translateX(-50%);
213
213
  }
214
214
 
215
+ /*** .does-not-exist is used below to avoid !important-s @TODO ***/
216
+
215
217
  /* Respect inline blocks' min-width */
216
218
 
217
- .breakout > img:not(does-not-exist),.breakout > picture:not(does-not-exist),.breakout > figure:not(does-not-exist),.breakout > canvas:not(does-not-exist),.breakout > audio:not(does-not-exist),.breakout > p > img,.breakout > p > picture,.breakout > p > figure,.breakout > p > canvas,.breakout > p > audio {
219
+ .breakout > img:not(does-not-exist):not(.does-not-exist),.breakout > picture:not(does-not-exist):not(.does-not-exist),.breakout > figure:not(does-not-exist):not(.does-not-exist),.breakout > canvas:not(does-not-exist):not(.does-not-exist),.breakout > audio:not(does-not-exist):not(.does-not-exist),.breakout > p > img:not(.does-not-exist),.breakout > p > picture:not(.does-not-exist),.breakout > p > figure:not(.does-not-exist),.breakout > p > canvas:not(.does-not-exist),.breakout > p > audio:not(.does-not-exist) {
218
220
  min-width: auto;
219
221
  }
220
222
 
221
223
  /* Tables are so special :( */
222
224
 
223
225
  .breakout > table:not(does-not-exist):not(.does-not-exist),.breakout > p > table:not(.does-not-exist) {
224
- /* .does-not-exist is here to avoid !important below @TODO */
225
-
226
226
  /* Let them full-bleed */
227
227
  width: -moz-max-content;
228
228
  width: max-content;
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "@anydigital/bricks",
3
- "version": "0.24.0",
3
+ "version": "0.24.2",
4
4
  "description": "Framework-agnostic CSS utilities and single-file Liquid 'bricks' for modern web development.",
5
- "main": "dist/bricks.css",
6
- "style": "dist/bricks.css",
5
+ "style": "./bricks/bricks.css",
6
+ "exports": {
7
+ ".": "./bricks/bricks.css",
8
+ "./dist": "./dist/bricks.css"
9
+ },
7
10
  "scripts": {
8
11
  "postcss": "postcss bricks/bricks.css -o dist/bricks.css",
9
12
  "build": "npm run postcss -- --no-map",
@@ -24,11 +27,13 @@
24
27
  "author": "Anton Staroverov",
25
28
  "license": "MIT",
26
29
  "devDependencies": {
27
- "@anydigital/breakout-css": "^0.11.0",
28
30
  "postcss": "^8.4.33",
29
31
  "postcss-cli": "^11.0.0",
30
32
  "postcss-import": "^16.1.1",
31
33
  "postcss-preset-env": "^10.6.0",
32
34
  "prettier-plugin-jinja-template": "^2.1.0"
35
+ },
36
+ "dependencies": {
37
+ "@anydigital/breakout-css": "^0.11.1"
33
38
  }
34
39
  }