@muraldevkit/ui-toolkit 1.15.1 → 1.15.3
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/MrlAnimatedIconButton/MrlAnimatedIconButton.d.ts +1 -1
- package/dist/components/button/MrlButton/MrlButton.d.ts +1 -5
- package/dist/components/button/MrlIconButton/MrlIconButton.d.ts +1 -1
- package/dist/components/divider/{MrlDivider.d.ts → MrlDivider/MrlDivider.d.ts} +2 -2
- package/dist/components/divider/index.d.ts +1 -0
- package/dist/components/focus-trap/index.d.ts +1 -0
- package/dist/components/index.d.ts +5 -3
- package/dist/components/link/MrlLink/MrlLink.d.ts +43 -0
- package/dist/components/link/index.d.ts +1 -43
- package/dist/components/modal/MrlModal/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/styles/{divider → MrlDivider}/module.scss +1 -1
- package/dist/styles/{link → MrlLink}/module.scss +1 -1
- package/dist/styles/MrlModal/global.scss +16 -0
- package/dist/styles/MrlModal/module.scss +2 -15
- package/dist/utils/commonProps/index.d.ts +0 -6
- package/package.json +1 -1
- /package/dist/components/focus-trap/{MrlFocusTrap.d.ts → MrlFocusTrap/MrlFocusTrap.d.ts} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use '~@muraldevkit/ds-foundation/src/styles/global-variables/breakpoints' as *;
|
|
2
|
+
|
|
3
|
+
@use './styles.variables.scss';
|
|
4
|
+
@use './styles.mixins.scss' as *;
|
|
5
|
+
|
|
6
|
+
// Modifiers: Sizes
|
|
7
|
+
@media screen and (min-width: $mrl-breakpoint-01) {
|
|
8
|
+
.mrl-modal {
|
|
9
|
+
border-radius: var(--mrl-modal-border-radius);
|
|
10
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 8%), var(--mrl-shadow-03);
|
|
11
|
+
height: auto;
|
|
12
|
+
margin: var(--mrl-spacing-08);
|
|
13
|
+
max-height: 95vh;
|
|
14
|
+
max-width: var(--mrl-modal-size);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
////
|
|
5
5
|
|
|
6
6
|
@use '~@muraldevkit/ds-foundation/src/styles/global-variables/breakpoints' as *;
|
|
7
|
-
|
|
8
7
|
@use '~@muraldevkit/ds-foundation/src/styles/_mixins' as *;
|
|
9
|
-
@use './styles.variables.scss';
|
|
10
|
-
@use './styles.mixins.scss' as *;
|
|
11
8
|
@use '~@muraldevkit/ds-foundation/src/styles/contextual-variables/z-index' as *;
|
|
9
|
+
|
|
10
|
+
@use './styles.variables.scss';
|
|
12
11
|
@use './styles.mixins.scss' as *;
|
|
13
12
|
|
|
14
13
|
.mrl-modal-backdrop {
|
|
@@ -67,15 +66,3 @@
|
|
|
67
66
|
@include mrl-modal-dialog-out;
|
|
68
67
|
}
|
|
69
68
|
}
|
|
70
|
-
|
|
71
|
-
// Modifiers: Sizes
|
|
72
|
-
@media screen and (min-width: $mrl-breakpoint-01) {
|
|
73
|
-
.mrl-modal {
|
|
74
|
-
border-radius: var(--mrl-modal-border-radius);
|
|
75
|
-
box-shadow: 0 0 0 1px rgba(0, 0, 0, 8%), var(--mrl-shadow-03);
|
|
76
|
-
height: auto;
|
|
77
|
-
margin: var(--mrl-spacing-08);
|
|
78
|
-
max-height: 95vh;
|
|
79
|
-
max-width: var(--mrl-modal-size);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
@@ -12,12 +12,6 @@ export interface MrlComponentProps {
|
|
|
12
12
|
* @deprecated - `attrs` will be removed in favor of using HTML Attributes directly on components. Please update your usage accordingly.
|
|
13
13
|
*/
|
|
14
14
|
attrs?: AttrsObject;
|
|
15
|
-
/**
|
|
16
|
-
* The slot to place a component in inside of a Web Component
|
|
17
|
-
*
|
|
18
|
-
* @deprecated - `slot` will be removed at the next major release. Please make sure you are not mixing React components with Web Components.
|
|
19
|
-
*/
|
|
20
|
-
slot?: string | undefined;
|
|
21
15
|
/**
|
|
22
16
|
* A object of CSS properties. Please use style sparingly, and only in cases where your
|
|
23
17
|
* needs can not be met by passing a class to the component.
|
package/package.json
CHANGED
|
File without changes
|