baseline-foundry 0.1.3 → 0.1.5

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.
Files changed (84) hide show
  1. package/README.md +577 -553
  2. package/config/experiments/ibm-plex-engine-smoke.json +115 -115
  3. package/config/experiments/ubuntu-engine-smoke.json +115 -115
  4. package/config/foundation-theme.json +110 -110
  5. package/config/tiers/app.json +116 -116
  6. package/config/tiers/documentation.json +116 -116
  7. package/config/tiers/editorial.json +116 -116
  8. package/config/tiers/os.json +116 -116
  9. package/dist/baseline-grid-overlay.js +43 -43
  10. package/dist/build.js +4 -4
  11. package/dist/code-snippet.js +1 -1
  12. package/dist/css-app-tier.js +78 -73
  13. package/dist/css-components/article-pagination.js +141 -140
  14. package/dist/css-components/button-actions.js +181 -161
  15. package/dist/css-components/cards-options.js +176 -176
  16. package/dist/css-components/chip-badge-status.d.ts +0 -3
  17. package/dist/css-components/chip-badge-status.js +174 -159
  18. package/dist/css-components/content-card.d.ts +7 -7
  19. package/dist/css-components/content-card.js +498 -497
  20. package/dist/css-components/control-row.d.ts +1 -1
  21. package/dist/css-components/control-row.js +15 -15
  22. package/dist/css-components/cta-figure-aspect.js +120 -120
  23. package/dist/css-components/document-navigation.js +427 -390
  24. package/dist/css-components/editorial-content.js +42 -42
  25. package/dist/css-components/icon.js +72 -72
  26. package/dist/css-components/interactive-feedback.js +239 -217
  27. package/dist/css-components/interactive-tables.js +160 -155
  28. package/dist/css-components/legacy-navigation.d.ts +8 -0
  29. package/dist/css-components/legacy-navigation.js +816 -0
  30. package/dist/css-components/linked-logo-site-layout.d.ts +3 -3
  31. package/dist/css-components/linked-logo-site-layout.js +177 -180
  32. package/dist/css-components/list-tree.js +96 -94
  33. package/dist/css-components/list.js +9 -7
  34. package/dist/css-components/logo-media.d.ts +6 -6
  35. package/dist/css-components/logo-media.js +218 -207
  36. package/dist/css-components/navigation-layout.js +144 -144
  37. package/dist/css-components/panel.js +148 -144
  38. package/dist/css-components/search-box-and-filter.d.ts +0 -1
  39. package/dist/css-components/search-box-and-filter.js +263 -264
  40. package/dist/css-components/sites-editorial-ports.d.ts +3 -4
  41. package/dist/css-components/sites-editorial-ports.js +279 -247
  42. package/dist/css-components/sites-foundation.js +142 -146
  43. package/dist/css-components/sites-rich-lists.d.ts +5 -5
  44. package/dist/css-components/sites-rich-lists.js +339 -349
  45. package/dist/css-components/static-content-ports.d.ts +3 -3
  46. package/dist/css-components/static-content-ports.js +200 -186
  47. package/dist/css-components/tab-section.d.ts +3 -3
  48. package/dist/css-components/tab-section.js +93 -85
  49. package/dist/css-components/table.js +76 -75
  50. package/dist/css-components/tabs-choice-breadcrumbs.js +307 -303
  51. package/dist/css-components/tiered-list-equal-height-row.js +271 -271
  52. package/dist/css-components.js +1881 -2554
  53. package/dist/css-grid.d.ts +1 -1
  54. package/dist/css-grid.js +183 -173
  55. package/dist/css.js +317 -241
  56. package/dist/experiments/ibm-plex-engine-smoke/styles.css +894 -538
  57. package/dist/experiments/ibm-plex-engine-smoke/surfaces.json +2 -2
  58. package/dist/experiments/ibm-plex-engine-smoke/tokens.json +1 -1
  59. package/dist/in-page-navigation.js +1 -1
  60. package/dist/presets/app-tier/styles.css +928 -568
  61. package/dist/presets/app-tier/surfaces.json +17 -17
  62. package/dist/presets/app-tier/tokens.json +7 -7
  63. package/dist/presets/prose/styles.css +919 -562
  64. package/dist/presets/prose/surfaces.json +17 -17
  65. package/dist/presets/prose/tokens.json +1 -1
  66. package/dist/resizable-aside.js +12 -4
  67. package/dist/styles.css +919 -562
  68. package/dist/surfaces.json +17 -17
  69. package/dist/tiers/app/styles.css +928 -568
  70. package/dist/tiers/app/surfaces.json +17 -17
  71. package/dist/tiers/app/tokens.json +7 -7
  72. package/dist/tiers/documentation/styles.css +920 -563
  73. package/dist/tiers/documentation/surfaces.json +17 -17
  74. package/dist/tiers/documentation/tokens.json +2 -2
  75. package/dist/tiers/editorial/styles.css +919 -562
  76. package/dist/tiers/editorial/surfaces.json +17 -17
  77. package/dist/tiers/editorial/tokens.json +1 -1
  78. package/dist/tiers/os/styles.css +925 -568
  79. package/dist/tiers/os/surfaces.json +17 -17
  80. package/dist/tiers/os/tokens.json +7 -7
  81. package/dist/tokens.json +1 -1
  82. package/dist/types.d.ts +1 -1
  83. package/docs/publishing.md +31 -14
  84. package/package.json +119 -108
@@ -1,14 +1,14 @@
1
1
  /**
2
2
  * Vanilla parity ports: logo section and media object.
3
3
  *
4
- * Vanilla → BF rhythm mapping (at Vanilla's 8px unit):
5
- * - Logo mark heights 72px / 104px → `space-8 + space-1` / `space-12 +
4
+ * Vanilla → BF rhythm mapping (at Vanilla's 0.5rem unit):
5
+ * - Logo mark heights 4.5rem / 6.5rem → `space-8 + space-1` / `space-12 +
6
6
  * space-1` (nine / thirteen BF baselines).
7
- * - Logo 32px inline gap → `space-4`; Vanilla's 8px / 16px negative row pull
7
+ * - Logo 2rem inline gap → `space-4`; Vanilla's 0.5rem / 1rem negative row pull
8
8
  * and matching wrapper compensation → `space-1` / `space-2`.
9
- * - Media thumbnails 48px / 96px → `space-6` / `space-12`; their 16px
10
- * gap → `space-2`; trailing 24px → `section-space-shallow`; metadata top
11
- * 8px → `space-1`.
9
+ * - Media thumbnails 3rem / 6rem → `space-6` / `space-12`; their 1rem
10
+ * gap → `space-2`; trailing 1.5rem → `section-space-shallow`; metadata top
11
+ * 0.5rem → `space-1`.
12
12
  *
13
13
  * Those are relative values, rather than fixed pixels, so the same semantics
14
14
  * retain the deliberately denser documentation, app, and OS tiers.
@@ -1,219 +1,230 @@
1
1
  /**
2
2
  * Vanilla parity ports: logo section and media object.
3
3
  *
4
- * Vanilla → BF rhythm mapping (at Vanilla's 8px unit):
5
- * - Logo mark heights 72px / 104px → `space-8 + space-1` / `space-12 +
4
+ * Vanilla → BF rhythm mapping (at Vanilla's 0.5rem unit):
5
+ * - Logo mark heights 4.5rem / 6.5rem → `space-8 + space-1` / `space-12 +
6
6
  * space-1` (nine / thirteen BF baselines).
7
- * - Logo 32px inline gap → `space-4`; Vanilla's 8px / 16px negative row pull
7
+ * - Logo 2rem inline gap → `space-4`; Vanilla's 0.5rem / 1rem negative row pull
8
8
  * and matching wrapper compensation → `space-1` / `space-2`.
9
- * - Media thumbnails 48px / 96px → `space-6` / `space-12`; their 16px
10
- * gap → `space-2`; trailing 24px → `section-space-shallow`; metadata top
11
- * 8px → `space-1`.
9
+ * - Media thumbnails 3rem / 6rem → `space-6` / `space-12`; their 1rem
10
+ * gap → `space-2`; trailing 1.5rem → `section-space-shallow`; metadata top
11
+ * 0.5rem → `space-1`.
12
12
  *
13
13
  * Those are relative values, rather than fixed pixels, so the same semantics
14
14
  * retain the deliberately denser documentation, app, and OS tiers.
15
15
  */
16
16
  export function logoMediaCss() {
17
- return `/* ------------------------------------------------------------------ */
18
- /* Logo section — intrinsic linked marks, without the deprecated logo-block. */
19
- /* ------------------------------------------------------------------ */
20
-
21
- :where(.bf-theme) :where(.bf-logo-section) {
22
- container-name: bf-logo-section;
23
- container-type: inline-size;
24
- margin-block-end: var(--bf-section-space-shallow);
25
- min-inline-size: 0;
26
- }
27
-
28
- :where(.bf-theme) :where(.bf-logo-section-items) {
29
- align-items: center;
30
- display: flex;
31
- flex-wrap: wrap;
32
- column-gap: var(--bf-space-4);
33
- min-inline-size: 0;
34
- padding-block: var(--bf-space-1);
35
- }
36
-
37
- :where(.bf-theme) :where(.bf-logo-section-item) {
38
- align-items: center;
39
- block-size: calc(var(--bf-space-8) + var(--bf-space-1));
40
- display: flex;
41
- flex: 0 0 auto;
42
- max-inline-size: 100%;
43
- margin-block: calc(var(--bf-space-1) * -1);
44
- min-inline-size: 0;
45
- }
46
-
47
- :where(.bf-theme) :where(.bf-logo-section-link) {
48
- align-items: center;
49
- display: inline-flex;
50
- max-inline-size: 100%;
51
- }
52
-
53
- :where(.bf-theme) :where(.bf-logo-section-link:focus:not(:focus-visible)) {
54
- outline: none;
55
- }
56
-
57
- :where(.bf-theme) :where(.bf-logo-section-link:focus-visible) {
58
- outline: 2px solid var(--bf-color-focus);
59
- outline-offset: 2px;
60
- }
61
-
62
- :where(.bf-theme) :where(.bf-logo-section-logo) {
63
- block-size: 100%;
64
- display: block;
65
- inline-size: auto;
66
- max-inline-size: 100%;
67
- object-fit: contain;
68
- }
69
-
70
- /* An explicit fallback for marks supplied in inconsistent intrinsic ratios.
71
- It is named for the component's behaviour—not Vanilla's legacy selector. */
72
- :where(.bf-theme) :where(.bf-logo-section.is-contained) :where(.bf-logo-section-item) {
73
- inline-size: calc(var(--bf-space-8) + var(--bf-space-1));
74
- margin-block: 0 var(--bf-space-1);
75
- }
76
-
77
- :where(.bf-theme) :where(.bf-logo-section.is-contained) :where(.bf-logo-section-items) {
78
- padding-block: 0;
79
- }
80
-
81
- :where(.bf-theme) :where(.bf-logo-section.is-contained) :where(.bf-logo-section-logo) {
82
- block-size: auto;
83
- inline-size: 100%;
84
- }
85
-
86
- /* Vanilla's small breakpoint is 620px. The items descendant, rather than the
87
- query container itself, responds when its allocated space reaches it. */
88
- @container bf-logo-section (width >= 38.75rem) {
89
- :where(.bf-theme) :where(.bf-logo-section-items) {
90
- padding-block: var(--bf-space-2);
91
- }
92
-
93
- :where(.bf-theme) :where(.bf-logo-section-item) {
94
- block-size: calc(var(--bf-space-12) + var(--bf-space-1));
95
- margin-block: calc(var(--bf-space-2) * -1);
96
- }
97
-
98
- :where(.bf-theme) :where(.bf-logo-section.is-contained) :where(.bf-logo-section-item) {
99
- inline-size: calc(var(--bf-space-12) + var(--bf-space-1));
100
- margin-block: 0 var(--bf-space-1);
101
- }
102
-
103
- :where(.bf-theme) :where(.bf-logo-section.is-contained) :where(.bf-logo-section-items) {
104
- padding-block: 0;
105
- }
106
- }
107
-
108
- /* ------------------------------------------------------------------ */
109
- /* Media object — semantic media/content slots with a container-owned */
110
- /* structural collapse only. Content roles retain their own spacing. */
111
- /* ------------------------------------------------------------------ */
112
-
113
- :where(.bf-theme) :where(.bf-media-object) {
114
- margin-block-end: var(--bf-section-space-shallow);
115
- min-inline-size: 0;
116
- }
117
-
118
- :where(.bf-theme) :where(.bf-media-object-layout) {
119
- display: grid;
120
- align-items: start;
121
- column-gap: var(--bf-space-2);
122
- grid-template-columns: auto minmax(0, 1fr);
123
- min-inline-size: 0;
124
- }
125
-
126
- :where(.bf-theme) :where(.bf-media-object-media) {
127
- align-self: start;
128
- block-size: var(--bf-space-6);
129
- inline-size: var(--bf-space-6);
130
- max-inline-size: 100%;
131
- min-inline-size: 0;
132
- }
133
-
134
- :where(.bf-theme) :where(.bf-media-object-media > :where(img, picture, svg, video)) {
135
- block-size: 100%;
136
- display: block;
137
- inline-size: 100%;
138
- max-inline-size: 100%;
139
- object-fit: contain;
140
- }
141
-
142
- :where(.bf-theme) :where(.bf-media-object-media.is-round > :where(img, picture, svg, video)) {
143
- border-radius: 50%;
144
- object-fit: cover;
145
- }
146
-
147
- :where(.bf-theme) :where(.bf-media-object-content) {
148
- min-inline-size: 0;
149
- overflow-wrap: anywhere;
150
- }
151
-
152
- /* This is a real heading slot. The class may be applied to h1–h6; regular
153
- media objects use BF h4 while the large composition promotes to h1. */
154
- :where(.bf-theme) :where(.bf-media-object-title) {
155
- font-family: var(--bf-h4-font-family);
156
- font-size: var(--bf-h4-font-size);
157
- font-style: var(--bf-h4-font-style);
158
- font-variant-caps: var(--bf-h4-font-variant-caps);
159
- font-weight: var(--bf-h4-font-weight);
160
- letter-spacing: var(--bf-h4-letter-spacing);
161
- line-height: var(--bf-h4-line-height);
162
- margin-block: 0 var(--bf-h4-margin-bottom);
163
- overflow-wrap: anywhere;
164
- padding-block: var(--bf-h4-nudge-start) 0;
165
- text-transform: var(--bf-h4-text-transform);
166
- }
167
-
168
- :where(.bf-theme) :where(.bf-media-object.is-large) :where(.bf-media-object-media) {
169
- block-size: var(--bf-space-12);
170
- inline-size: var(--bf-space-12);
171
- }
172
-
173
- :where(.bf-theme) :where(.bf-media-object.is-large) :where(.bf-media-object-title) {
174
- font-family: var(--bf-h1-font-family);
175
- font-size: var(--bf-h1-font-size);
176
- font-style: var(--bf-h1-font-style);
177
- font-variant-caps: var(--bf-h1-font-variant-caps);
178
- font-weight: var(--bf-h1-font-weight);
179
- letter-spacing: var(--bf-h1-letter-spacing);
180
- line-height: var(--bf-h1-line-height);
181
- margin-block: 0 var(--bf-h1-margin-bottom);
182
- padding-block: var(--bf-h1-nudge-start) 0;
183
- text-transform: var(--bf-h1-text-transform);
184
- }
185
-
186
- :where(.bf-theme) :where(.bf-media-object-meta-list) {
187
- list-style: none;
188
- margin: var(--bf-space-1) 0 0;
189
- padding: 0;
190
- }
191
-
192
- :where(.bf-theme) :where(.bf-media-object-meta) {
193
- align-items: start;
194
- column-gap: var(--bf-space-1);
195
- display: grid;
196
- grid-template-columns: var(--bf-icon-size-default) minmax(0, 1fr);
197
- min-inline-size: 0;
198
- overflow-wrap: anywhere;
199
- }
200
-
201
- :where(.bf-theme) :where(.bf-media-object-meta + .bf-media-object-meta) {
202
- margin-block-start: var(--bf-space-1);
203
- }
204
-
205
- :where(.bf-theme) :where(.bf-media-object-meta .bf-icon) {
206
- margin-block-start: var(--bf-body-nudge-start);
207
- }
208
-
209
- :where(.bf-theme) :where(.bf-media-object.is-media-end) :where(.bf-media-object-content) {
210
- grid-column: 1;
211
- grid-row: 1;
212
- }
213
-
214
- :where(.bf-theme) :where(.bf-media-object.is-media-end) :where(.bf-media-object-media) {
215
- grid-column: 2;
216
- grid-row: 1;
217
- }
17
+ return `/* ------------------------------------------------------------------ */
18
+ /* Logo section — intrinsic linked marks, without the deprecated logo-block. */
19
+ /* ------------------------------------------------------------------ */
20
+
21
+ :where(.bf-theme) :where(.bf-logo-section) {
22
+ container-name: bf-logo-section;
23
+ container-type: inline-size;
24
+ margin: 0;
25
+ min-inline-size: 0;
26
+ }
27
+
28
+ :where(.bf-theme) :where(.bf-logo-section-items) {
29
+ align-items: center;
30
+ display: flex;
31
+ flex-wrap: wrap;
32
+ column-gap: var(--bf-space-4);
33
+ min-inline-size: 0;
34
+ padding-block: var(--bf-space-1);
35
+ }
36
+
37
+ :where(.bf-theme) :where(.bf-logo-section-item) {
38
+ align-items: center;
39
+ block-size: calc(var(--bf-space-8) + var(--bf-space-1));
40
+ display: flex;
41
+ flex: 0 0 auto;
42
+ max-inline-size: 100%;
43
+ margin-block: calc(var(--bf-space-1) * -1);
44
+ min-inline-size: 0;
45
+ }
46
+
47
+ :where(.bf-theme) :where(.bf-logo-section-link) {
48
+ align-items: center;
49
+ display: inline-flex;
50
+ max-inline-size: 100%;
51
+ }
52
+
53
+ :where(.bf-theme) :where(.bf-logo-section-link:focus:not(:focus-visible)) {
54
+ outline: none;
55
+ }
56
+
57
+ :where(.bf-theme) :where(.bf-logo-section-link:focus-visible) {
58
+ outline: 0.125rem solid var(--bf-color-focus);
59
+ outline-offset: 0.125rem;
60
+ }
61
+
62
+ :where(.bf-theme) :where(.bf-logo-section-logo) {
63
+ block-size: 100%;
64
+ display: block;
65
+ inline-size: auto;
66
+ max-inline-size: 100%;
67
+ object-fit: contain;
68
+ }
69
+
70
+ /* An explicit fallback for marks supplied in inconsistent intrinsic ratios.
71
+ It is named for the component's behaviour—not Vanilla's legacy selector. */
72
+ :where(.bf-theme) :where(.bf-logo-section.is-contained) :where(.bf-logo-section-item) {
73
+ inline-size: calc(var(--bf-space-8) + var(--bf-space-1));
74
+ margin-block: 0 var(--bf-space-1);
75
+ }
76
+
77
+ :where(.bf-theme) :where(.bf-logo-section.is-contained) :where(.bf-logo-section-items) {
78
+ padding-block: 0;
79
+ }
80
+
81
+ :where(.bf-theme) :where(.bf-logo-section.is-contained) :where(.bf-logo-section-logo) {
82
+ block-size: auto;
83
+ inline-size: 100%;
84
+ }
85
+
86
+ /* Vanilla's small breakpoint is 38.75rem. The items descendant, rather than the
87
+ query container itself, responds when its allocated space reaches it. */
88
+ @container bf-logo-section (width >= 38.75rem) {
89
+ :where(.bf-theme) :where(.bf-logo-section-items) {
90
+ padding-block: var(--bf-space-2);
91
+ }
92
+
93
+ :where(.bf-theme) :where(.bf-logo-section-item) {
94
+ block-size: calc(var(--bf-space-12) + var(--bf-space-1));
95
+ margin-block: calc(var(--bf-space-2) * -1);
96
+ }
97
+
98
+ :where(.bf-theme) :where(.bf-logo-section.is-contained) :where(.bf-logo-section-item) {
99
+ inline-size: calc(var(--bf-space-12) + var(--bf-space-1));
100
+ margin-block: 0 var(--bf-space-1);
101
+ }
102
+
103
+ :where(.bf-theme) :where(.bf-logo-section.is-contained) :where(.bf-logo-section-items) {
104
+ padding-block: 0;
105
+ }
106
+ }
107
+
108
+ /* ------------------------------------------------------------------ */
109
+ /* Media object — semantic media/content slots with a container-owned */
110
+ /* structural collapse. Content roles retain their metric boxes. */
111
+ /* ------------------------------------------------------------------ */
112
+
113
+ :where(.bf-theme) :where(.bf-media-object) {
114
+ container-name: bf-media-object;
115
+ container-type: inline-size;
116
+ margin: 0;
117
+ min-inline-size: 0;
118
+ }
119
+
120
+ :where(.bf-theme) :where(.bf-media-object-layout) {
121
+ align-items: start;
122
+ column-gap: var(--bf-grid-gap-inline);
123
+ display: grid;
124
+ grid-template-columns: repeat(4, minmax(0, 1fr));
125
+ min-inline-size: 0;
126
+ }
127
+
128
+ :where(.bf-theme) :where(.bf-media-object-media) {
129
+ align-self: start;
130
+ block-size: var(--bf-space-6);
131
+ inline-size: var(--bf-space-6);
132
+ max-inline-size: 100%;
133
+ min-inline-size: 0;
134
+ }
135
+
136
+ :where(.bf-theme) :where(.bf-media-object-media) {
137
+ grid-column: 1 / span 2;
138
+ }
139
+
140
+ :where(.bf-theme) :where(.bf-media-object-media > :where(img, picture, svg, video)) {
141
+ block-size: 100%;
142
+ display: block;
143
+ inline-size: 100%;
144
+ max-inline-size: 100%;
145
+ object-fit: contain;
146
+ }
147
+
148
+ :where(.bf-theme) :where(.bf-media-object-media.is-round > :where(img, picture, svg, video)) {
149
+ border-radius: 50%;
150
+ object-fit: cover;
151
+ }
152
+
153
+ :where(.bf-theme) :where(.bf-media-object-content) {
154
+ grid-column: 3 / -1;
155
+ min-inline-size: 0;
156
+ overflow-wrap: anywhere;
157
+ }
158
+
159
+ /* This is a real heading slot. The class may be applied to h1–h6; regular
160
+ media objects use BF h4 while the large composition promotes to h1. */
161
+ :where(.bf-theme) :where(.bf-media-object-title) {
162
+ font-family: var(--bf-h4-font-family);
163
+ font-size: var(--bf-h4-font-size);
164
+ font-style: var(--bf-h4-font-style);
165
+ font-variant-caps: var(--bf-h4-font-variant-caps);
166
+ font-weight: var(--bf-h4-font-weight);
167
+ letter-spacing: var(--bf-h4-letter-spacing);
168
+ line-height: var(--bf-h4-line-height);
169
+ margin-block: 0 var(--bf-h4-margin-bottom);
170
+ overflow-wrap: anywhere;
171
+ padding-block: var(--bf-h4-nudge-start) 0;
172
+ text-transform: var(--bf-h4-text-transform);
173
+ }
174
+
175
+ :where(.bf-theme) :where(.bf-media-object.is-large) :where(.bf-media-object-media) {
176
+ block-size: var(--bf-space-12);
177
+ inline-size: var(--bf-space-12);
178
+ }
179
+
180
+ :where(.bf-theme) :where(.bf-media-object.is-large) :where(.bf-media-object-title) {
181
+ font-family: var(--bf-h1-font-family);
182
+ font-size: var(--bf-h1-font-size);
183
+ font-style: var(--bf-h1-font-style);
184
+ font-variant-caps: var(--bf-h1-font-variant-caps);
185
+ font-weight: var(--bf-h1-font-weight);
186
+ letter-spacing: var(--bf-h1-letter-spacing);
187
+ line-height: var(--bf-h1-line-height);
188
+ margin-block: 0 var(--bf-h1-margin-bottom);
189
+ padding-block: var(--bf-h1-nudge-start) 0;
190
+ text-transform: var(--bf-h1-text-transform);
191
+ }
192
+
193
+ :where(.bf-theme) :where(.bf-media-object-meta-list) {
194
+ --bf-stack-space: var(--bf-space-1);
195
+ align-content: start;
196
+ display: grid;
197
+ gap: var(--bf-stack-space);
198
+ list-style: none;
199
+ margin: 0;
200
+ padding: 0;
201
+ }
202
+
203
+ :where(.bf-theme) :where(.bf-media-object-meta) {
204
+ align-items: start;
205
+ column-gap: var(--bf-space-1);
206
+ display: grid;
207
+ grid-template-columns: var(--bf-icon-size-default) minmax(0, 1fr);
208
+ min-inline-size: 0;
209
+ overflow-wrap: anywhere;
210
+ }
211
+
212
+ :where(.bf-theme) :where(.bf-media-object-meta .bf-icon) {
213
+ margin-block-start: var(--bf-body-nudge-start);
214
+ }
215
+
216
+ @container bf-media-object (width >= 38.75rem) {
217
+ :where(.bf-theme) :where(.bf-media-object-layout) {
218
+ grid-template-columns: repeat(8, minmax(0, 1fr));
219
+ }
220
+
221
+ :where(.bf-theme) :where(.bf-media-object-media) {
222
+ grid-column: 1 / span 2;
223
+ }
224
+
225
+ :where(.bf-theme) :where(.bf-media-object-content) {
226
+ grid-column: 3 / -1;
227
+ }
228
+ }
218
229
  `;
219
230
  }