@behivetech/molecules.confirm-dialog 0.2.5 → 0.2.7

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.
@@ -12,6 +12,11 @@
12
12
  }
13
13
 
14
14
  &__actions {
15
+ // Modal's panel is `surface-container-high`, where Button's default ghost
16
+ // label (`primary`) is 4.02:1 in the-behive's Dark tokens (8.43:1 in the
17
+ // defaults). `secondary` is 12.87:1 Dark and 5.40:1 Light there, so Cancel stays above the 4.5:1 small-text rule.
18
+ --button-label-color: var(--md-sys-color-secondary);
19
+
15
20
  display: flex;
16
21
  justify-content: flex-end;
17
22
  gap: var(--spacing-3, 0.75rem);
package/dist/index.css CHANGED
@@ -9,6 +9,7 @@
9
9
  margin: 0 0 var(--spacing-5, 1.25rem);
10
10
  }
11
11
  .BHT__ConfirmDialog__actions {
12
+ --button-label-color: var(--md-sys-color-secondary);
12
13
  display: flex;
13
14
  justify-content: flex-end;
14
15
  gap: var(--spacing-3, 0.75rem);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@behivetech/molecules.confirm-dialog",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "license": "MIT",
5
5
  "description": "A `Modal` pre-wired with a message and confirm/cancel actions, for \"are you sure?\" moments such as confirming a delete.",
6
6
  "type": "module",
@@ -27,8 +27,8 @@
27
27
  "tags": []
28
28
  },
29
29
  "dependencies": {
30
- "@behivetech/atoms.button": "0.4.4",
31
- "@behivetech/atoms.modal": "0.2.5"
30
+ "@behivetech/atoms.button": "0.5.0",
31
+ "@behivetech/atoms.modal": "0.4.0"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": "^19.2.7",