@instacks/peak 1.5.0 → 1.6.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.
- package/README.md +3 -0
- package/dist/peak.css +51 -0
- package/dist/peak.min.css +1 -1
- package/dist/peak.scoped.css +51 -0
- package/dist/peak.scoped.min.css +1 -1
- package/package.json +1 -1
package/dist/peak.scoped.css
CHANGED
|
@@ -4207,6 +4207,10 @@ meter {
|
|
|
4207
4207
|
}
|
|
4208
4208
|
}
|
|
4209
4209
|
|
|
4210
|
+
[data-peak-anchor] > [popovertarget] {
|
|
4211
|
+
margin-block-end: 0;
|
|
4212
|
+
}
|
|
4213
|
+
|
|
4210
4214
|
:is([popover="hint"], [role="tooltip"][popover]) {
|
|
4211
4215
|
border-radius: var(--pico-border-radius);
|
|
4212
4216
|
background-color: var(--pico-tooltip-background-color);
|
|
@@ -5154,6 +5158,14 @@ dialog.peak-drawer > article {
|
|
|
5154
5158
|
display: inline-flex;
|
|
5155
5159
|
}
|
|
5156
5160
|
|
|
5161
|
+
div.peak-avatar-group {
|
|
5162
|
+
display: flex;
|
|
5163
|
+
}
|
|
5164
|
+
|
|
5165
|
+
:where(div.peak-avatar-group) {
|
|
5166
|
+
margin-block-end: var(--pico-typography-spacing-vertical);
|
|
5167
|
+
}
|
|
5168
|
+
|
|
5157
5169
|
.peak-avatar-group > .peak-avatar {
|
|
5158
5170
|
box-shadow: 0 0 0 calc(var(--pico-border-width) * 2) var(--peak-bg);
|
|
5159
5171
|
}
|
|
@@ -5187,6 +5199,45 @@ dialog.peak-drawer > article {
|
|
|
5187
5199
|
background-clip: text;
|
|
5188
5200
|
}
|
|
5189
5201
|
|
|
5202
|
+
.peak-icon {
|
|
5203
|
+
inline-size: var(--peak-icon-size, 1.25em);
|
|
5204
|
+
block-size: var(--peak-icon-size, 1.25em);
|
|
5205
|
+
vertical-align: middle;
|
|
5206
|
+
mask: var(--peak-icon) center / contain no-repeat;
|
|
5207
|
+
forced-color-adjust: none;
|
|
5208
|
+
-webkit-print-color-adjust: exact;
|
|
5209
|
+
print-color-adjust: exact;
|
|
5210
|
+
background-color: currentColor;
|
|
5211
|
+
flex: none;
|
|
5212
|
+
display: inline-block;
|
|
5213
|
+
}
|
|
5214
|
+
|
|
5215
|
+
.peak-icon.sm {
|
|
5216
|
+
--peak-icon-size: 1em;
|
|
5217
|
+
}
|
|
5218
|
+
|
|
5219
|
+
.peak-icon.lg {
|
|
5220
|
+
--peak-icon-size: 1.75em;
|
|
5221
|
+
}
|
|
5222
|
+
|
|
5223
|
+
.peak-icon.xl {
|
|
5224
|
+
--peak-icon-size: 2.5em;
|
|
5225
|
+
}
|
|
5226
|
+
|
|
5227
|
+
:where(a:not([role="button"], aside li a, .dropdown li a, [popover] li a):has( > .peak-icon)) {
|
|
5228
|
+
align-items: baseline;
|
|
5229
|
+
gap: .25em;
|
|
5230
|
+
display: inline-flex;
|
|
5231
|
+
}
|
|
5232
|
+
|
|
5233
|
+
:where(a:not([role="button"], aside li a, .dropdown li a, [popover] li a)) > .peak-icon {
|
|
5234
|
+
line-height: var(--peak-icon-size, 1.25em);
|
|
5235
|
+
}
|
|
5236
|
+
|
|
5237
|
+
:where(a:not([role="button"], aside li a, .dropdown li a, [popover] li a)) > .peak-icon:before {
|
|
5238
|
+
content: "" / "";
|
|
5239
|
+
}
|
|
5240
|
+
|
|
5190
5241
|
.site-nav .site-menu, .site-nav .site-menu-popover[popover] {
|
|
5191
5242
|
display: contents;
|
|
5192
5243
|
}
|