@parallelogram-js/dashboard 0.1.3 → 0.1.4
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/CHANGELOG.md +18 -1
- package/dist/parallelogram-dashboard.css +10 -3
- package/dist/parallelogram-dashboard.css.map +1 -1
- package/dist/parallelogram-dashboard.min.css +1 -1
- package/package.json +1 -1
- package/scss/components/_form-layout.scss +7 -1
- package/scss/components/_pageheader.scss +7 -2
- package/src/js/behaviours/overflow-actions.js +1 -1
package/package.json
CHANGED
|
@@ -123,10 +123,15 @@
|
|
|
123
123
|
// Field (label, control(s), description, error and any extra markup)
|
|
124
124
|
// --------------------------------------------------------------------------
|
|
125
125
|
|
|
126
|
+
// Help text and errors sit 6px under the control; the label (or the row holding it) keeps 8px
|
|
126
127
|
&__field {
|
|
127
128
|
display: flex;
|
|
128
129
|
flex-direction: column;
|
|
129
|
-
gap:
|
|
130
|
+
gap: 0.375rem;
|
|
131
|
+
|
|
132
|
+
> :first-child {
|
|
133
|
+
margin-bottom: 0.125rem;
|
|
134
|
+
}
|
|
130
135
|
|
|
131
136
|
// Deprecated: set aria-invalid="true" on the control instead
|
|
132
137
|
&--error {
|
|
@@ -164,6 +169,7 @@
|
|
|
164
169
|
|
|
165
170
|
&__description {
|
|
166
171
|
font-size: $font-size-xs;
|
|
172
|
+
line-height: 1.25;
|
|
167
173
|
color: var(--fg-muted);
|
|
168
174
|
}
|
|
169
175
|
|
|
@@ -72,11 +72,16 @@
|
|
|
72
72
|
z-index: $z-sticky - 1;
|
|
73
73
|
margin-top: -$spacing-lg;
|
|
74
74
|
margin-inline: -$spacing-lg;
|
|
75
|
-
padding: $spacing-
|
|
75
|
+
padding: $spacing-sm $spacing-lg;
|
|
76
76
|
background-color: var(--bg);
|
|
77
77
|
|
|
78
|
+
// Longhands, not the animation shorthand: a minifier can sort the shorthand after
|
|
79
|
+
// animation-timeline, which resets the timeline to auto and shows the shadow at the top
|
|
78
80
|
@supports (animation-timeline: scroll()) {
|
|
79
|
-
animation: pageheader-pinned
|
|
81
|
+
animation-name: pageheader-pinned;
|
|
82
|
+
animation-duration: auto;
|
|
83
|
+
animation-timing-function: linear;
|
|
84
|
+
animation-fill-mode: both;
|
|
80
85
|
animation-timeline: scroll(root);
|
|
81
86
|
animation-range: 0 $spacing-lg;
|
|
82
87
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Toggle } from './toggle.js';
|
|
2
2
|
|
|
3
|
-
const ACTIONBAR_MORE_ICON = '<svg class="icon" viewBox="0 0 24 24"><path d="
|
|
3
|
+
const ACTIONBAR_MORE_ICON = '<svg class="icon" viewBox="0 0 24 24"><path d="M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"/><path d="M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"/><path d="M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"/></svg>';
|
|
4
4
|
const OVERFLOW_RANK = { low: 1, medium: 2 };
|
|
5
5
|
let overflowMenuCount = 0;
|
|
6
6
|
|