@muraldevkit/ui-toolkit 1.6.3 → 1.7.1
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/components/button/MrlButton/MrlButton.d.ts +23 -26
- package/dist/components/button/MrlIconButton/MrlIconButton.d.ts +75 -0
- package/dist/components/button/MrlIconButton/index.d.ts +1 -0
- package/dist/components/button/{MrlButton/helpers.d.ts → helpers.d.ts} +1 -1
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/svg/MrlSvg/MrlSvg.d.ts +1 -1
- package/dist/components/tooltip/constants.d.ts +0 -5
- package/dist/index.js +1 -1
- package/dist/styles/MrlButton/global.scss +1 -0
- package/dist/styles/button/mixins.scss +0 -1
- package/dist/styles/button/variables.scss +5 -7
- package/package.json +1 -1
|
@@ -24,7 +24,6 @@ $mrl-button-toggle-selector: '[aria-pressed="true"],[aria-expanded="true"],[aria
|
|
|
24
24
|
box-shadow: inset 0 0 0 var(--mrl-button-border-width) var(--mrl-button-border-color);
|
|
25
25
|
color: var(--mrl-button-text-color);
|
|
26
26
|
justify-content: center;
|
|
27
|
-
min-width: auto;
|
|
28
27
|
outline: none;
|
|
29
28
|
|
|
30
29
|
// This adds transition styles when mousing out
|
|
@@ -63,7 +63,9 @@
|
|
|
63
63
|
&.mrlButton--primary,
|
|
64
64
|
&.mrlButton--ghost,
|
|
65
65
|
&.mrlButton--ghost-inverse,
|
|
66
|
-
&.mrlIconButton--
|
|
66
|
+
&.mrlIconButton--primary,
|
|
67
|
+
&.mrlIconButton--ghost,
|
|
68
|
+
&.mrlIconButton--ghost-inverse {
|
|
67
69
|
--mrl-button-border-color: transparent;
|
|
68
70
|
--mrl-button-border-color-active: transparent;
|
|
69
71
|
--mrl-button-border-color-hover: transparent;
|
|
@@ -94,9 +96,7 @@
|
|
|
94
96
|
--mrl-button-text-color-hover: rgba(var(--mrl-gray-100), 1);
|
|
95
97
|
|
|
96
98
|
// Used for basic buttons only
|
|
97
|
-
--mrl-button-inset-horizontal: calc(
|
|
98
|
-
var(--mrl-spacing-01) + var(--mrl-spacing-02)
|
|
99
|
-
);
|
|
99
|
+
--mrl-button-inset-horizontal: calc(var(--mrl-spacing-01) + var(--mrl-spacing-02));
|
|
100
100
|
--mrl-button-icon-margin-right: var(--mrl-spacing-02);
|
|
101
101
|
|
|
102
102
|
// Toggle Button Styles
|
|
@@ -122,9 +122,7 @@
|
|
|
122
122
|
--mrl-button-text-color-disabled: var(--mrl-white-opacity-04);
|
|
123
123
|
|
|
124
124
|
// Used for basic buttons only
|
|
125
|
-
--mrl-button-inset-horizontal: calc(
|
|
126
|
-
var(--mrl-spacing-01) + var(--mrl-spacing-02)
|
|
127
|
-
);
|
|
125
|
+
--mrl-button-inset-horizontal: calc(var(--mrl-spacing-01) + var(--mrl-spacing-02));
|
|
128
126
|
--mrl-button-icon-margin-right: var(--mrl-spacing-02);
|
|
129
127
|
|
|
130
128
|
// Skeleton state for inverse buttons
|