@behivetech/molecules.confirm-dialog 0.2.5 → 0.2.6
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/confirm-dialog.module.scss +5 -0
- package/dist/index.css +1 -0
- package/package.json +3 -3
|
@@ -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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@behivetech/molecules.confirm-dialog",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
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.
|
|
31
|
-
"@behivetech/atoms.modal": "0.
|
|
30
|
+
"@behivetech/atoms.button": "0.5.0",
|
|
31
|
+
"@behivetech/atoms.modal": "0.3.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": "^19.2.7",
|