@sorocraft/ui 1.0.83 → 1.0.84
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/DropDown/DropDownMenuItem.d.ts +8 -0
- package/dist/components/DropDown/index.d.ts +2 -1
- package/dist/components/Text/Text.d.ts +1 -1
- package/dist/components/Text/Text.types.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/scss/mixins.scss +3 -2
- package/dist/styles/scss/responsive.scss +4 -2
- package/dist/styles/ui.css +1 -1
- package/dist/styles/ui.css.map +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@use "./variables.scss" as *;
|
|
3
3
|
@use "./functions/toRem.scss" as functions;
|
|
4
4
|
@use "sass:list";
|
|
5
|
+
@use "sass:map";
|
|
5
6
|
|
|
6
7
|
@mixin flexCentered {
|
|
7
8
|
display: flex;
|
|
@@ -195,6 +196,6 @@ $xxl: 1440px;
|
|
|
195
196
|
}
|
|
196
197
|
|
|
197
198
|
@mixin avatar-size($size) {
|
|
198
|
-
width: functions.toRem(map
|
|
199
|
-
height: functions.toRem(map
|
|
199
|
+
width: functions.toRem(map.get($avatar-sizes, $size));
|
|
200
|
+
height: functions.toRem(map.get($avatar-sizes, $size));
|
|
200
201
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
|
|
1
3
|
$breakpoints: (
|
|
2
4
|
mobile-xs: 320px,
|
|
3
5
|
mobile-sm: 480px,
|
|
@@ -12,8 +14,8 @@ $breakpoints: (
|
|
|
12
14
|
|
|
13
15
|
// Enhanced media query mixin
|
|
14
16
|
@mixin media($type, $start, $end: null) {
|
|
15
|
-
$start-value: map
|
|
16
|
-
$end-value: if($end, map
|
|
17
|
+
$start-value: map.get($breakpoints, $start);
|
|
18
|
+
$end-value: if($end, map.get($breakpoints, $end), null);
|
|
17
19
|
|
|
18
20
|
@if $type == "range" and $start-value and $end-value {
|
|
19
21
|
@media (min-width: #{$start-value}) and (max-width: #{$end-value}) {
|