@sap-ux/ui-components 2.1.14 → 2.2.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/UIComboBox/UIComboBox.d.ts.map +1 -1
- package/dist/components/UIComboBox/UIComboBox.js +3 -0
- package/dist/components/UIComboBox/UIComboBox.js.map +1 -1
- package/dist/components/UIDropdown/UIDropdown.d.ts.map +1 -1
- package/dist/components/UIDropdown/UIDropdown.js +4 -1
- package/dist/components/UIDropdown/UIDropdown.js.map +1 -1
- package/dist/components/UISection/UISections.d.ts +5 -0
- package/dist/components/UISection/UISections.d.ts.map +1 -1
- package/dist/components/UISection/UISections.js +1 -1
- package/dist/components/UISection/UISections.js.map +1 -1
- package/dist/components/UISection/UISections.scss +2 -5
- package/dist/components/UISection/UISplitter.d.ts +8 -5
- package/dist/components/UISection/UISplitter.d.ts.map +1 -1
- package/dist/components/UISection/UISplitter.js +39 -22
- package/dist/components/UISection/UISplitter.js.map +1 -1
- package/dist/components/UISection/UISplitter.scss +106 -105
- package/dist/components/UISection/_variables.scss +4 -1
- package/package.json +2 -2
- package/storybook/237.789b9d8f.iframe.bundle.js +13 -0
- package/storybook/{269.29ddae67.iframe.bundle.js → 269.0cc8afbf.iframe.bundle.js} +1 -1
- package/storybook/272.3ac8af6d.iframe.bundle.js +8 -0
- package/storybook/{278.15cca4c4.iframe.bundle.js → 278.4ad60d68.iframe.bundle.js} +1 -1
- package/storybook/300.84bb46cd.iframe.bundle.js +7 -0
- package/storybook/303.07b7acd1.iframe.bundle.js +43 -0
- package/storybook/360.20c88333.iframe.bundle.js +10 -0
- package/storybook/{435.d820054a.iframe.bundle.js → 435.fe0c5cb0.iframe.bundle.js} +1 -1
- package/storybook/{438.7d681b59.iframe.bundle.js → 438.8ad5ceaa.iframe.bundle.js} +1 -1
- package/storybook/{510.8928f7bc.iframe.bundle.js → 510.3f469132.iframe.bundle.js} +1 -1
- package/storybook/{541.5b112304.iframe.bundle.js → 541.dbf90ed7.iframe.bundle.js} +1 -1
- package/storybook/691.acd5121e.iframe.bundle.js +1 -0
- package/storybook/714.f5db87a6.iframe.bundle.js +55 -0
- package/storybook/{715.e556c023.iframe.bundle.js → 715.68e5d55b.iframe.bundle.js} +1 -1
- package/storybook/{738.4c7096f3.iframe.bundle.js → 738.d810205a.iframe.bundle.js} +1 -1
- package/storybook/{UIActionCallout-story.ddcadadd.iframe.bundle.js → UIActionCallout-story.e1969803.iframe.bundle.js} +1 -1
- package/storybook/UIButton-story.2725095a.iframe.bundle.js +1 -0
- package/storybook/{UICallout-story.eec4e4c0.iframe.bundle.js → UICallout-story.2943d967.iframe.bundle.js} +1 -1
- package/storybook/UICalloutCollisionTransform-story.43356506.iframe.bundle.js +1 -0
- package/storybook/{UICheckbox-story.681479f2.iframe.bundle.js → UICheckbox-story.817b5aea.iframe.bundle.js} +1 -1
- package/storybook/UIChoiceGroup-story.26738859.iframe.bundle.js +1 -0
- package/storybook/UICombobox-story.d0c5a21c.iframe.bundle.js +1 -0
- package/storybook/{UIContextualMenu-story.5d35030b.iframe.bundle.js → UIContextualMenu-story.b9a93aaf.iframe.bundle.js} +1 -1
- package/storybook/{UICreateSelect-story.1712faae.iframe.bundle.js → UICreateSelect-story.1c668c39.iframe.bundle.js} +1 -1
- package/storybook/{UIDatePicker-story.95f324bd.iframe.bundle.js → UIDatePicker-story.9b2e3621.iframe.bundle.js} +1 -1
- package/storybook/UIDialog-story.6d518b55.iframe.bundle.js +2 -0
- package/storybook/{UIFlexibleTable-story.218b515c.iframe.bundle.js → UIFlexibleTable-story.982bab99.iframe.bundle.js} +1 -1
- package/storybook/UIIcon-story.889b5dd7.iframe.bundle.js +1 -0
- package/storybook/UILabel-story.c0020ef5.iframe.bundle.js +1 -0
- package/storybook/{UILink-story.5f2ffd4f.iframe.bundle.js → UILink-story.36911bf6.iframe.bundle.js} +1 -1
- package/storybook/{UILoader-story.578be4a2.iframe.bundle.js → UILoader-story.f1276c9d.iframe.bundle.js} +1 -1
- package/storybook/{UIMessageBar-story.efde9aa5.iframe.bundle.js → UIMessageBar-story.b80ad5ed.iframe.bundle.js} +1 -1
- package/storybook/UIPersona-story.534e3d93.iframe.bundle.js +1 -0
- package/storybook/UISearchBox-story.7366a9a2.iframe.bundle.js +1 -0
- package/storybook/UISections-story.e6852131.iframe.bundle.js +19 -0
- package/storybook/UISeparator-story.6050de69.iframe.bundle.js +1 -0
- package/storybook/UITable-story.3ec982c9.iframe.bundle.js +4 -0
- package/storybook/{UITextInput-story.04f63e1e.iframe.bundle.js → UITextInput-story.637bf0a2.iframe.bundle.js} +1 -1
- package/storybook/UIToggle-story.a1e28ca9.iframe.bundle.js +2 -0
- package/storybook/{UIToggleGroup-story.d375bd88.iframe.bundle.js → UIToggleGroup-story.a0cda798.iframe.bundle.js} +1 -1
- package/storybook/{UITooltip-story.1b5925c0.iframe.bundle.js → UITooltip-story.35dc2a90.iframe.bundle.js} +1 -1
- package/storybook/iframe.html +3 -3
- package/storybook/{main.817cdb36.iframe.bundle.js → main.9efacc41.iframe.bundle.js} +1 -1
- package/storybook/project.json +1 -1
- package/storybook/{runtime~main.cc402522.iframe.bundle.js → runtime~main.29f3ae2e.iframe.bundle.js} +1 -1
- package/storybook/sb-addons/common-manager-bundle.js +1 -1
- package/storybook/237.334c60ea.iframe.bundle.js +0 -13
- package/storybook/272.9b5d83c3.iframe.bundle.js +0 -8
- package/storybook/300.d2cd1218.iframe.bundle.js +0 -7
- package/storybook/303.99f69b0a.iframe.bundle.js +0 -43
- package/storybook/360.01a2fadf.iframe.bundle.js +0 -10
- package/storybook/691.088aaa8f.iframe.bundle.js +0 -1
- package/storybook/714.151a8a88.iframe.bundle.js +0 -55
- package/storybook/UIButton-story.9f7c2053.iframe.bundle.js +0 -1
- package/storybook/UICalloutCollisionTransform-story.ed1160b0.iframe.bundle.js +0 -1
- package/storybook/UIChoiceGroup-story.f5c61c53.iframe.bundle.js +0 -1
- package/storybook/UICombobox-story.c6fdb1e6.iframe.bundle.js +0 -1
- package/storybook/UIDialog-story.170e3efe.iframe.bundle.js +0 -2
- package/storybook/UIIcon-story.da2b5f02.iframe.bundle.js +0 -1
- package/storybook/UILabel-story.4f878fd0.iframe.bundle.js +0 -1
- package/storybook/UIPersona-story.cf14bf11.iframe.bundle.js +0 -1
- package/storybook/UISearchBox-story.9f58fac1.iframe.bundle.js +0 -1
- package/storybook/UISections-story.4e7d6b0c.iframe.bundle.js +0 -19
- package/storybook/UISeparator-story.b93568c6.iframe.bundle.js +0 -1
- package/storybook/UITable-story.08b1e3ca.iframe.bundle.js +0 -4
- package/storybook/UIToggle-story.6874a731.iframe.bundle.js +0 -2
|
@@ -11,128 +11,142 @@
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
$splitter-contrast-border: 1px solid var(--vscode-contrastBorder);
|
|
15
|
-
$splitter-hover-contrast-border: 1px dashed var(--vscode-contrastActiveBorder);
|
|
16
14
|
$splitter-focus-border: 1px solid var(--vscode-focusBorder);
|
|
15
|
+
$splitter-grip-color: var(--vscode-widget-border);
|
|
16
|
+
$splitter-highlight-color: var(--vscode-focusBorder);
|
|
17
17
|
|
|
18
18
|
.splitter {
|
|
19
|
-
background-color: var(--vscode-panelSection-border);
|
|
20
19
|
position: absolute;
|
|
21
20
|
outline: none;
|
|
22
21
|
|
|
22
|
+
// Grip
|
|
23
|
+
&__grip {
|
|
24
|
+
position: absolute;
|
|
25
|
+
margin: auto;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Highlight hover and focus
|
|
29
|
+
&:after {
|
|
30
|
+
content: '';
|
|
31
|
+
top: 0;
|
|
32
|
+
left: 0;
|
|
33
|
+
right: 0;
|
|
34
|
+
bottom: 0;
|
|
35
|
+
position: absolute;
|
|
36
|
+
z-index: 1;
|
|
37
|
+
margin: auto;
|
|
38
|
+
}
|
|
39
|
+
|
|
23
40
|
&--horizontal {
|
|
24
41
|
top: 0;
|
|
25
42
|
bottom: 0;
|
|
26
|
-
cursor:
|
|
43
|
+
cursor: col-resize;
|
|
27
44
|
|
|
28
|
-
|
|
29
|
-
|
|
45
|
+
.splitter__grip {
|
|
46
|
+
height: 100%;
|
|
47
|
+
width: $splitter-resize-size;
|
|
48
|
+
left: 0;
|
|
49
|
+
right: 0;
|
|
50
|
+
}
|
|
51
|
+
&.splitter--compact {
|
|
52
|
+
.splitter__grip {
|
|
53
|
+
width: $splitter-resize-compact-size;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
&.splitter--toggle {
|
|
57
|
+
.splitter__grip {
|
|
58
|
+
width: 100%;
|
|
59
|
+
svg {
|
|
60
|
+
transform: rotate(180deg);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.splitter--resize:after {
|
|
66
|
+
width: 4px;
|
|
30
67
|
}
|
|
31
68
|
}
|
|
32
69
|
|
|
33
70
|
&--vertical {
|
|
34
|
-
cursor:
|
|
71
|
+
cursor: row-resize;
|
|
35
72
|
left: 0;
|
|
36
73
|
right: 0;
|
|
37
74
|
|
|
38
|
-
|
|
39
|
-
|
|
75
|
+
.splitter__grip {
|
|
76
|
+
width: 100%;
|
|
77
|
+
height: $splitter-resize-size;
|
|
78
|
+
top: 0;
|
|
79
|
+
bottom: 0;
|
|
40
80
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
&--compact {
|
|
44
|
-
background: var(--vscode-editorWidget-border);
|
|
45
|
-
&.splitter--vertical {
|
|
81
|
+
&.splitter--compact {
|
|
46
82
|
.splitter__grip {
|
|
47
|
-
height:
|
|
83
|
+
height: $splitter-resize-compact-size;
|
|
48
84
|
}
|
|
49
85
|
}
|
|
50
|
-
&.splitter--
|
|
86
|
+
&.splitter--toggle {
|
|
51
87
|
.splitter__grip {
|
|
52
|
-
|
|
88
|
+
height: 100%;
|
|
53
89
|
svg {
|
|
54
|
-
transform
|
|
90
|
+
transform: rotate(270deg);
|
|
55
91
|
}
|
|
56
92
|
}
|
|
57
93
|
}
|
|
94
|
+
|
|
95
|
+
&.splitter--resize:after {
|
|
96
|
+
height: 4px;
|
|
97
|
+
}
|
|
58
98
|
}
|
|
59
99
|
|
|
60
100
|
&--toggle {
|
|
61
101
|
cursor: pointer;
|
|
102
|
+
background-color: $splitter-grip-color;
|
|
62
103
|
|
|
63
104
|
.splitter__grip {
|
|
64
|
-
|
|
105
|
+
width: 100%;
|
|
106
|
+
position: absolute;
|
|
107
|
+
height: 16px;
|
|
108
|
+
top: 50%;
|
|
109
|
+
transform: translateY(-50%);
|
|
110
|
+
left: 0;
|
|
111
|
+
right: 0;
|
|
112
|
+
z-index: 0;
|
|
65
113
|
}
|
|
66
114
|
}
|
|
67
115
|
|
|
68
116
|
&--resize {
|
|
117
|
+
.splitter__grip {
|
|
118
|
+
background-color: $splitter-grip-color;
|
|
119
|
+
}
|
|
69
120
|
&.splitter--horizontal {
|
|
70
|
-
cursor:
|
|
121
|
+
cursor: col-resize;
|
|
71
122
|
}
|
|
72
123
|
|
|
73
124
|
&.splitter--vertical {
|
|
74
|
-
cursor:
|
|
125
|
+
cursor: row-resize;
|
|
75
126
|
}
|
|
76
127
|
}
|
|
77
128
|
|
|
78
|
-
&:after {
|
|
79
|
-
content: '';
|
|
80
|
-
top: 0;
|
|
81
|
-
left: 0;
|
|
82
|
-
right: 0;
|
|
83
|
-
bottom: 0;
|
|
84
|
-
position: absolute;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// Grip
|
|
88
|
-
&__grip {
|
|
89
|
-
position: absolute;
|
|
90
|
-
height: 16px;
|
|
91
|
-
top: 50%;
|
|
92
|
-
transform: translateY(-50%);
|
|
93
|
-
left: 0;
|
|
94
|
-
right: 0;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
129
|
& + .section {
|
|
98
130
|
.section__header__title,
|
|
99
131
|
.section__body {
|
|
100
|
-
padding-left: calc($splitter-size / 2);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&--toggle + .section {
|
|
105
|
-
.section__header__title,
|
|
106
|
-
.section__body {
|
|
107
|
-
padding: 0;
|
|
108
|
-
margin: 0;
|
|
132
|
+
padding-left: calc($splitter-toggle-size / 2);
|
|
109
133
|
}
|
|
110
134
|
}
|
|
111
135
|
|
|
112
136
|
// Splitter focus style
|
|
113
137
|
&:hover {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
&:hover:after {
|
|
121
|
-
@include splitter-border($splitter-hover-contrast-border, true);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&:focus:after {
|
|
125
|
-
@include splitter-border($splitter-focus-border, true);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&--vertical {
|
|
130
|
-
&:hover:after {
|
|
131
|
-
@include splitter-border($splitter-hover-contrast-border, false);
|
|
138
|
+
&.splitter--resize {
|
|
139
|
+
&:after {
|
|
140
|
+
// animation: fadeInAnimation 0.07s ease-in 0.3s forwards;
|
|
141
|
+
background-color: $splitter-highlight-color;
|
|
142
|
+
transition: background-color 0.07s ease-in 0.3s;
|
|
143
|
+
}
|
|
132
144
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
145
|
+
&.splitter--toggle {
|
|
146
|
+
background-color: $splitter-highlight-color;
|
|
147
|
+
svg path {
|
|
148
|
+
fill: var(--vscode-button-foreground);
|
|
149
|
+
}
|
|
136
150
|
}
|
|
137
151
|
}
|
|
138
152
|
|
|
@@ -151,31 +165,9 @@ $splitter-focus-border: 1px solid var(--vscode-focusBorder);
|
|
|
151
165
|
}
|
|
152
166
|
}
|
|
153
167
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
.splitter__grip {
|
|
158
|
-
svg {
|
|
159
|
-
transform: rotate(180deg);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
&.splitter--vertical {
|
|
164
|
-
.splitter__grip {
|
|
165
|
-
svg {
|
|
166
|
-
transform: rotate(270deg);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
&--resize {
|
|
172
|
-
&.splitter--standard.splitter--vertical,
|
|
173
|
-
&.splitter--compact.splitter--horizontal {
|
|
174
|
-
.splitter__grip {
|
|
175
|
-
svg {
|
|
176
|
-
transform: rotate(90deg);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
168
|
+
&--active {
|
|
169
|
+
&:after {
|
|
170
|
+
background-color: $splitter-highlight-color;
|
|
179
171
|
}
|
|
180
172
|
}
|
|
181
173
|
}
|
|
@@ -190,23 +182,32 @@ $splitter-focus-border: 1px solid var(--vscode-focusBorder);
|
|
|
190
182
|
background: transparent;
|
|
191
183
|
|
|
192
184
|
&--horizontal {
|
|
193
|
-
cursor:
|
|
185
|
+
cursor: col-resize;
|
|
194
186
|
}
|
|
195
187
|
|
|
196
188
|
&--vertical {
|
|
197
|
-
cursor:
|
|
189
|
+
cursor: row-resize;
|
|
198
190
|
}
|
|
199
191
|
}
|
|
200
192
|
|
|
201
|
-
.
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
193
|
+
.ms-Fabric--isFocusVisible .splitter {
|
|
194
|
+
&:focus {
|
|
195
|
+
&.splitter--resize {
|
|
196
|
+
&:after {
|
|
197
|
+
background-color: $splitter-highlight-color;
|
|
198
|
+
}
|
|
205
199
|
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
200
|
+
&.splitter--toggle {
|
|
201
|
+
&.splitter--horizontal {
|
|
202
|
+
&:after {
|
|
203
|
+
@include splitter-border($splitter-focus-border, true);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
&.splitter--vertical {
|
|
207
|
+
&:after {
|
|
208
|
+
@include splitter-border($splitter-focus-border, false);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
210
211
|
}
|
|
211
212
|
}
|
|
212
213
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/ui-components",
|
|
3
|
-
"version": "2.1
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "SAP UI Components Library",
|
|
6
6
|
"repository": {
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"ts-loader": "9.5.4"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
|
-
"node": ">=
|
|
73
|
+
"node": ">=22.x"
|
|
74
74
|
},
|
|
75
75
|
"scripts": {
|
|
76
76
|
"clean": "rimraf --glob dist coverage *.tsbuildinfo storybook",
|