@richardmcquiston01/dashboard-widgets-toolkit 0.8.0 → 0.9.0

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/dist/styles.css CHANGED
@@ -170,6 +170,36 @@
170
170
  font-size: 0.875rem;
171
171
  }
172
172
 
173
+ :where(.dwt-toolbar) {
174
+ display: flex;
175
+ flex-wrap: wrap;
176
+ align-items: center;
177
+ gap: 8px;
178
+ margin-bottom: 12px;
179
+ font-size: 0.875rem;
180
+ }
181
+
182
+ :where(.dwt-confirm) {
183
+ display: inline-flex;
184
+ align-items: center;
185
+ gap: 6px;
186
+ }
187
+
188
+ :where(.dwt-confirm-message) {
189
+ color: var(--dwt-text-secondary);
190
+ }
191
+
192
+ /* A lock icon sits where a card's controls would be: same size, no action. */
193
+ :where(.dwt-lock) {
194
+ display: inline-flex;
195
+ align-items: center;
196
+ justify-content: center;
197
+ box-sizing: border-box;
198
+ width: 28px;
199
+ height: 28px;
200
+ color: var(--dwt-text-secondary);
201
+ }
202
+
173
203
  :where(.dwt-hidden-label) {
174
204
  color: var(--dwt-text-secondary);
175
205
  }
@@ -188,6 +218,11 @@
188
218
  font-family: var(--dwt-font);
189
219
  }
190
220
 
221
+ :where(.dwt-dashboard--editing .dwt-card--editing) {
222
+ border-style: dashed;
223
+ border-color: var(--dwt-text-secondary);
224
+ }
225
+
191
226
  :where(.dwt-card-header) {
192
227
  display: flex;
193
228
  align-items: flex-start;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@richardmcquiston01/dashboard-widgets-toolkit",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Framework-agnostic dashboard widget toolkit: typed widget definitions and data payloads (KPI, gauge, table, bar list, alert list, chart), user layout (order, hide, minimise), and React renderers. Bring your own data providers.",
5
5
  "keywords": [
6
6
  "dashboard",