@muraldevkit/ui-toolkit 1.22.6 → 1.23.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.
@@ -14,3 +14,38 @@
14
14
  max-width: var(--mrl-modal-size);
15
15
  }
16
16
  }
17
+
18
+ .mrl-modal-header .mrl-native-button {
19
+ display: none;
20
+ }
21
+
22
+ .mrl-native-modal {
23
+ .mrl-modal-close,
24
+ .mrl-modal-footer {
25
+ display: none;
26
+ }
27
+
28
+ .mrl-modal-header {
29
+ position: relative;
30
+ text-align: center;
31
+
32
+ .mrl-text-heading {
33
+ text-align: center;
34
+ width: 100%;
35
+ }
36
+
37
+ .mrl-native-button {
38
+ display: initial;
39
+ position: absolute;
40
+ top: var(--mrl-modal-close-offset);
41
+ }
42
+
43
+ .mrlButton--primary-native {
44
+ right: var(--mrl-modal-close-offset);
45
+ }
46
+
47
+ .mrlButton--secondary-native {
48
+ left: var(--mrl-modal-close-offset);
49
+ }
50
+ }
51
+ }
@@ -72,6 +72,13 @@
72
72
  --mrl-button-border-color-disabled: transparent;
73
73
  }
74
74
 
75
+ &--secondary-native {
76
+ --mrl-button-border-color: transparent;
77
+ --mrl-button-border-color-active: transparent;
78
+ --mrl-button-border-color-hover: transparent;
79
+ --mrl-button-border-color-disabled: transparent;
80
+ }
81
+
75
82
  &--primary {
76
83
  // Overrides mrl-button styles
77
84
  --mrl-button-background-color: var(--mrl-color-brand);
@@ -84,6 +91,21 @@
84
91
  --mrl-button-text-color-hover: var(--mrl-color-text-inverse);
85
92
  }
86
93
 
94
+ &--primary-native {
95
+ --mrl-button-background-color: transparent;
96
+ --mrl-button-background-color-active: var(--mrl-black-opacity-01);
97
+ --mrl-button-background-color-disabled: var(transparent);
98
+ --mrl-button-background-color-hover: var(--mrl-black-opacity-00);
99
+ --mrl-button-border-color: transparent;
100
+ --mrl-button-border-color-active: transparent;
101
+ --mrl-button-border-color-hover: transparent;
102
+ --mrl-button-border-color-disabled: transparent;
103
+ --mrl-button-text-color: rgba(var(--mrl-blue-70), 1);
104
+ --mrl-button-text-color-active: rgba(var(--mrl-blue-70), 1);
105
+ --mrl-button-text-color-disabled: var(--mrl-black-opacity-03);
106
+ --mrl-button-text-color-hover: rgba(var(--mrl-blue-70), 1);
107
+ }
108
+
87
109
  &--ghost {
88
110
  // Overrides mrl-button styles
89
111
  --mrl-button-background-color: transparent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muraldevkit/ui-toolkit",
3
- "version": "1.22.6",
3
+ "version": "1.23.0",
4
4
  "description": "Mural's UI Toolkit",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",