@odx/ui 4.3.3 → 4.3.5
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/CHANGELOG.md +13 -0
- package/core-theme.css +17 -13
- package/package.json +1 -1
- package/scss/components/main-menu.component.scss +19 -15
- package/scss/components/select.component.scss +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @odx/ui
|
|
2
2
|
|
|
3
|
+
## 4.3.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cbe8a30: fixed default max-width for select, added documentation
|
|
8
|
+
|
|
9
|
+
## 4.3.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 20ab0c2: main menu overlapping is fixed, main menu is popover based element
|
|
14
|
+
- 88191e2: box shadow for main menu fixed
|
|
15
|
+
|
|
3
16
|
## 4.3.3
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/core-theme.css
CHANGED
|
@@ -5105,32 +5105,36 @@ html body .odx-fs-italic {
|
|
|
5105
5105
|
.odx-main-menu {
|
|
5106
5106
|
--odx-area-header-title-color: var(--odx-main-menu-text-color);
|
|
5107
5107
|
--odx-area-header-subtitle-color: var(--odx-main-menu-text-color);
|
|
5108
|
-
z-index: var(--odx-v-layer-6);
|
|
5109
5108
|
}
|
|
5110
5109
|
.odx-main-menu__inner {
|
|
5110
|
+
transition-delay: 0ms;
|
|
5111
|
+
transition-duration: var(--odx-v-transition-duration);
|
|
5112
|
+
transition-property: transform;
|
|
5113
|
+
transition-timing-function: var(--odx-v-transition-easing-fn);
|
|
5111
5114
|
background-color: var(--odx-main-menu-background-color);
|
|
5115
|
+
box-shadow: var(--odx-v-box-shadow-layer-1);
|
|
5112
5116
|
color: var(--odx-main-menu-text-color);
|
|
5113
5117
|
display: grid;
|
|
5114
5118
|
grid-template-rows: auto auto 1fr auto auto;
|
|
5115
5119
|
height: 100%;
|
|
5116
|
-
left: 0;
|
|
5117
5120
|
max-height: 100dvh;
|
|
5118
5121
|
max-width: var(--odx-main-menu-max-width);
|
|
5119
|
-
|
|
5120
|
-
|
|
5122
|
+
transform: translateX(-100%);
|
|
5123
|
+
transition-behavior: allow-discrete;
|
|
5121
5124
|
width: 100%;
|
|
5122
|
-
z-index: var(--odx-v-layer-6);
|
|
5123
5125
|
}
|
|
5124
|
-
.odx-main-
|
|
5126
|
+
.odx-main-menu__inner::backdrop {
|
|
5125
5127
|
-webkit-backdrop-filter: blur(var(--odx-v-backdrop-blur));
|
|
5126
5128
|
backdrop-filter: blur(var(--odx-v-backdrop-blur));
|
|
5127
5129
|
background-color: var(--odx-c-backdrop);
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5130
|
+
}
|
|
5131
|
+
.odx-main-menu__inner:popover-open {
|
|
5132
|
+
transform: translateX(0);
|
|
5133
|
+
}
|
|
5134
|
+
@starting-style {
|
|
5135
|
+
.odx-main-menu__inner:popover-open {
|
|
5136
|
+
transform: translateX(-100%);
|
|
5137
|
+
}
|
|
5134
5138
|
}
|
|
5135
5139
|
.odx-main-menu__actions {
|
|
5136
5140
|
margin-top: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
@@ -6095,7 +6099,7 @@ html body .odx-fs-italic {
|
|
|
6095
6099
|
|
|
6096
6100
|
:root {
|
|
6097
6101
|
--odx-select-max-height: 220px;
|
|
6098
|
-
--odx-select-max-width:
|
|
6102
|
+
--odx-select-max-width: 100%;
|
|
6099
6103
|
}
|
|
6100
6104
|
|
|
6101
6105
|
.odx-select__trigger {
|
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@use '../abstract/dimensions';
|
|
4
4
|
@use '../abstract/utils';
|
|
5
5
|
@use '../abstract/typography';
|
|
6
|
+
@use '../abstract/motion';
|
|
6
7
|
@use 'button.component';
|
|
7
8
|
@use 'main-menu-button.component';
|
|
8
9
|
@use 'main-menu-item.component';
|
|
@@ -28,32 +29,35 @@
|
|
|
28
29
|
--odx-area-header-title-color: var(--odx-main-menu-text-color);
|
|
29
30
|
--odx-area-header-subtitle-color: var(--odx-main-menu-text-color);
|
|
30
31
|
|
|
31
|
-
z-index: var(--odx-v-layer-6);
|
|
32
|
-
|
|
33
32
|
&__inner {
|
|
33
|
+
@include motion.transition(transform);
|
|
34
|
+
|
|
34
35
|
background-color: var(--odx-main-menu-background-color);
|
|
36
|
+
box-shadow: var(--odx-v-box-shadow-layer-1);
|
|
35
37
|
color: var(--odx-main-menu-text-color);
|
|
36
38
|
display: grid;
|
|
37
39
|
grid-template-rows: auto auto 1fr auto auto;
|
|
38
40
|
height: 100%;
|
|
39
|
-
left: 0;
|
|
40
41
|
max-height: 100dvh;
|
|
41
42
|
max-width: var(--odx-main-menu-max-width);
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
transform: translateX(-100%);
|
|
44
|
+
transition-behavior: allow-discrete;
|
|
44
45
|
width: 100%;
|
|
45
|
-
|
|
46
|
+
|
|
47
|
+
&::backdrop {
|
|
48
|
+
backdrop-filter: blur(var(--odx-v-backdrop-blur));
|
|
49
|
+
background-color: var(--odx-c-backdrop);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:popover-open {
|
|
53
|
+
transform: translateX(0);
|
|
54
|
+
}
|
|
46
55
|
}
|
|
47
56
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
left: 0;
|
|
53
|
-
position: fixed;
|
|
54
|
-
top: 0;
|
|
55
|
-
width: 100%;
|
|
56
|
-
z-index: calc(var(--odx-v-layer-6) - 1);
|
|
57
|
+
@starting-style {
|
|
58
|
+
&__inner:popover-open {
|
|
59
|
+
transform: translateX(-100%);
|
|
60
|
+
}
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
&__actions {
|