@threadlabs/looma 0.41.0 → 0.41.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/components/ui-callout/ui-callout.html +5 -1
- package/components/ui-site-header/ui-site-header.html +6 -2
- package/dist/index.js +1 -1
- package/docs/catalog.json +7 -4
- package/package.json +1 -1
- package/styles/ui-callout.css +5 -1
- package/styles/ui-site-header.css +6 -2
- package/vue/UiCallout.vue +9 -1
- package/vue/UiSiteHeader.vue +6 -2
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiSiteHeader.js +1 -1
- package/vue/components.css +20 -4
|
@@ -118,7 +118,11 @@
|
|
|
118
118
|
--_ui-callout-icon: var(--ui-callout-icon);
|
|
119
119
|
--_ui-callout-icon-size: var(--ui-callout-icon-size);
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
/* Near white, sRGB retains more green chroma than blue/red; bound chroma by hue to avoid clipping. */
|
|
122
|
+
--_callout-surface: light-dark(
|
|
123
|
+
oklch(from var(--_callout-border) 96% min(c, calc(0.02 + 0.03 * max(0, cos(calc((h - 140) * 1deg))))) h),
|
|
124
|
+
oklch(from var(--_callout-border) 25% min(c, 0.035) h)
|
|
125
|
+
);
|
|
122
126
|
--_ui-selection-context-surface: light-dark(
|
|
123
127
|
oklch(from var(--ui-callout-surface, var(--_callout-surface)) calc(l - 0.045) calc(max(c, min(0.045, c * 3))) h),
|
|
124
128
|
oklch(from var(--ui-callout-surface, var(--_callout-surface)) calc(l + 0.045) calc(max(c, min(0.045, c * 3))) h)
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
align-items: center !important;
|
|
48
48
|
align-content: center !important;
|
|
49
49
|
gap: var(--ui-space-2) !important;
|
|
50
|
+
inline-size: 100%;
|
|
50
51
|
min-inline-size: 0;
|
|
51
52
|
min-block-size: var(--ui-site-header-compact-height, 3.75rem);
|
|
52
53
|
padding: var(--ui-space-2) var(--ui-site-header-padding-inline, var(--ui-space-4)) !important;
|
|
@@ -68,13 +69,16 @@
|
|
|
68
69
|
max-inline-size: 100%;
|
|
69
70
|
}
|
|
70
71
|
.actions {
|
|
71
|
-
|
|
72
|
+
display: grid !important;
|
|
73
|
+
grid-auto-flow: column !important;
|
|
74
|
+
grid-auto-columns: minmax(max-content, var(--ui-control-min-block-size)) !important;
|
|
75
|
+
justify-items: center !important;
|
|
72
76
|
margin-inline-start: auto !important;
|
|
73
77
|
}
|
|
74
78
|
/* Text shares a baseline inside one group; the group is centred beside any control height. */
|
|
75
79
|
.identity {
|
|
76
80
|
display: flex !important;
|
|
77
|
-
flex: 1 1
|
|
81
|
+
flex: 1 1 0;
|
|
78
82
|
flex-wrap: wrap !important;
|
|
79
83
|
align-items: baseline !important;
|
|
80
84
|
gap: var(--ui-space-2) var(--ui-space-6) !important;
|