@richardmcquiston01/dashboard-widgets-toolkit 0.11.2 → 0.12.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
@@ -289,13 +289,13 @@
289
289
  font-weight: 600;
290
290
  }
291
291
 
292
- :where(.dwt-move-menu) {
292
+ :where(.dwt-edit-menu) {
293
293
  position: relative;
294
294
  display: inline-flex;
295
295
  }
296
296
 
297
- /* A small floating panel over the card, under the Move button. */
298
- :where(.dwt-move-popover) {
297
+ /* A small floating panel over the card, under the arrange button. */
298
+ :where(.dwt-edit-popover) {
299
299
  position: absolute;
300
300
  top: calc(100% + 4px);
301
301
  right: 0;
@@ -312,14 +312,14 @@
312
312
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.18);
313
313
  }
314
314
 
315
- :where(.dwt-move-heading) {
315
+ :where(.dwt-edit-heading) {
316
316
  margin: 0;
317
317
  padding: 4px 8px;
318
318
  color: var(--dwt-text-secondary);
319
319
  font-size: 0.75rem;
320
320
  }
321
321
 
322
- :where(.dwt-move-option) {
322
+ :where(.dwt-edit-option) {
323
323
  padding: 6px 8px;
324
324
  font: inherit;
325
325
  font-size: 0.8125rem;
@@ -331,10 +331,15 @@
331
331
  cursor: pointer;
332
332
  }
333
333
 
334
- :where(.dwt-move-option:hover, .dwt-move-option:focus-visible) {
334
+ :where(.dwt-edit-option:hover, .dwt-edit-option:focus-visible) {
335
335
  background: var(--dwt-surface-muted, rgb(127 127 127 / 0.15));
336
336
  }
337
337
 
338
+ :where(.dwt-edit-option:disabled) {
339
+ opacity: 0.45;
340
+ cursor: default;
341
+ }
342
+
338
343
  :where(.dwt-page-panel) {
339
344
  min-width: 0;
340
345
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@richardmcquiston01/dashboard-widgets-toolkit",
3
- "version": "0.11.2",
3
+ "version": "0.12.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",