@gooddata/sdk-ui-ext 11.47.0-alpha.2 → 11.47.0-alpha.4
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/NOTICE +3 -3
- package/esm/index.d.ts +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/CfSelect.d.ts +14 -0
- package/esm/internal/components/configurationControls/conditionalFormatting/CfSelect.d.ts.map +1 -0
- package/esm/internal/components/configurationControls/conditionalFormatting/CfSelect.js +25 -0
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionEditor.d.ts +18 -0
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionEditor.d.ts.map +1 -0
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionEditor.js +132 -0
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.d.ts +4 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingDialog.js +15 -116
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.d.ts +5 -3
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/ConditionalFormattingSection.js +10 -10
- package/esm/internal/components/configurationControls/conditionalFormatting/ReorderList.d.ts +25 -0
- package/esm/internal/components/configurationControls/conditionalFormatting/ReorderList.d.ts.map +1 -0
- package/esm/internal/components/configurationControls/conditionalFormatting/ReorderList.js +94 -0
- package/esm/internal/components/configurationControls/conditionalFormatting/conditionalFormattingModel.d.ts +66 -7
- package/esm/internal/components/configurationControls/conditionalFormatting/conditionalFormattingModel.d.ts.map +1 -1
- package/esm/internal/components/configurationControls/conditionalFormatting/conditionalFormattingModel.js +165 -21
- package/esm/internal/components/configurationControls/conditionalFormatting/reorderListModel.d.ts +4 -0
- package/esm/internal/components/configurationControls/conditionalFormatting/reorderListModel.d.ts.map +1 -0
- package/esm/internal/components/configurationControls/conditionalFormatting/reorderListModel.js +16 -0
- package/esm/internal/components/configurationPanels/ConfigurationPanelContent.d.ts +0 -1
- package/esm/internal/components/configurationPanels/ConfigurationPanelContent.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/PivotTableConfigurationPanel.d.ts +9 -2
- package/esm/internal/components/configurationPanels/PivotTableConfigurationPanel.d.ts.map +1 -1
- package/esm/internal/components/configurationPanels/PivotTableConfigurationPanel.js +4 -4
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.d.ts +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.d.ts.map +1 -1
- package/esm/internal/components/pluggableVisualizations/pivotTableNext/PluggablePivotTableNext.js +8 -7
- package/esm/internal/translations/de-DE.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/de-DE.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/de-DE.localization-bundle.js +12 -0
- package/esm/internal/translations/en-AU.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/en-AU.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/en-AU.localization-bundle.js +12 -0
- package/esm/internal/translations/en-GB.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/en-GB.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/en-GB.localization-bundle.js +12 -0
- package/esm/internal/translations/en-US.localization-bundle.d.ts +8 -0
- package/esm/internal/translations/en-US.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/en-US.localization-bundle.js +8 -0
- package/esm/internal/translations/es-419.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/es-419.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/es-419.localization-bundle.js +12 -0
- package/esm/internal/translations/es-ES.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/es-ES.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/es-ES.localization-bundle.js +12 -0
- package/esm/internal/translations/fi-FI.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/fi-FI.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/fi-FI.localization-bundle.js +12 -0
- package/esm/internal/translations/fr-CA.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/fr-CA.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/fr-CA.localization-bundle.js +12 -0
- package/esm/internal/translations/fr-FR.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/fr-FR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/fr-FR.localization-bundle.js +12 -0
- package/esm/internal/translations/id-ID.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/id-ID.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/id-ID.localization-bundle.js +12 -0
- package/esm/internal/translations/it-IT.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/it-IT.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/it-IT.localization-bundle.js +12 -0
- package/esm/internal/translations/ja-JP.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/ja-JP.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/ja-JP.localization-bundle.js +12 -0
- package/esm/internal/translations/ko-KR.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/ko-KR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/ko-KR.localization-bundle.js +12 -0
- package/esm/internal/translations/nl-NL.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/nl-NL.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/nl-NL.localization-bundle.js +12 -0
- package/esm/internal/translations/pl-PL.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/pl-PL.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/pl-PL.localization-bundle.js +12 -0
- package/esm/internal/translations/pt-BR.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/pt-BR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/pt-BR.localization-bundle.js +12 -0
- package/esm/internal/translations/pt-PT.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/pt-PT.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/pt-PT.localization-bundle.js +12 -0
- package/esm/internal/translations/ru-RU.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/ru-RU.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/ru-RU.localization-bundle.js +12 -0
- package/esm/internal/translations/sl-SI.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/sl-SI.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/sl-SI.localization-bundle.js +12 -0
- package/esm/internal/translations/th-TH.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/th-TH.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/th-TH.localization-bundle.js +12 -0
- package/esm/internal/translations/tr-TR.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/tr-TR.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/tr-TR.localization-bundle.js +12 -0
- package/esm/internal/translations/uk-UA.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/uk-UA.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/uk-UA.localization-bundle.js +12 -0
- package/esm/internal/translations/vi-VN.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/vi-VN.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/vi-VN.localization-bundle.js +12 -0
- package/esm/internal/translations/zh-HK.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/zh-HK.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/zh-HK.localization-bundle.js +12 -0
- package/esm/internal/translations/zh-Hans.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/zh-Hans.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/zh-Hans.localization-bundle.js +12 -0
- package/esm/internal/translations/zh-Hant.localization-bundle.d.ts +12 -0
- package/esm/internal/translations/zh-Hant.localization-bundle.d.ts.map +1 -1
- package/esm/internal/translations/zh-Hant.localization-bundle.js +12 -0
- package/esm/locales.d.ts +6 -0
- package/esm/locales.d.ts.map +1 -1
- package/esm/locales.js +2 -0
- package/esm/sdk-ui-ext.d.ts +19 -5
- package/esm/share/ObjectShareDialog.d.ts.map +1 -1
- package/esm/share/ObjectShareDialog.js +2 -2
- package/esm/share/objectShareController.helpers.d.ts +20 -6
- package/esm/share/objectShareController.helpers.d.ts.map +1 -1
- package/esm/share/objectShareController.helpers.js +40 -9
- package/esm/share/objectShareController.types.d.ts +15 -4
- package/esm/share/objectShareController.types.d.ts.map +1 -1
- package/esm/share/useAccessList.d.ts +0 -1
- package/esm/share/useAccessList.d.ts.map +1 -1
- package/esm/share/useAccessList.js +74 -83
- package/esm/share/useObjectShareController.d.ts +3 -1
- package/esm/share/useObjectShareController.d.ts.map +1 -1
- package/esm/share/useObjectShareController.js +12 -19
- package/package.json +21 -21
- package/styles/css/main.css +102 -13
- package/styles/css/main.css.map +1 -1
- package/styles/internal/css/conditional_formatting.css +102 -13
- package/styles/internal/css/conditional_formatting.css.map +1 -1
- package/styles/internal/scss/conditional_formatting.scss +138 -13
|
@@ -34,10 +34,13 @@
|
|
|
34
34
|
.gd-cf-section__rules {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex-direction: column;
|
|
37
|
-
gap: 5px;
|
|
38
37
|
margin-bottom: 5px;
|
|
39
38
|
}
|
|
40
39
|
|
|
40
|
+
.gd-cf-select__option {
|
|
41
|
+
height: 28px;
|
|
42
|
+
}
|
|
43
|
+
|
|
41
44
|
.gd-cf-type-icon {
|
|
42
45
|
display: inline-block;
|
|
43
46
|
flex: 0 0 auto;
|
|
@@ -51,13 +54,100 @@
|
|
|
51
54
|
}
|
|
52
55
|
}
|
|
53
56
|
|
|
57
|
+
// Drag grip: AD's icon-drag-field.svg dot grid inlined as a mask (themable color). Absolutely
|
|
58
|
+
// positioned so it never pushes row content; revealed on row hover; placement set per context.
|
|
59
|
+
.gd-cf-reorder__handle {
|
|
60
|
+
position: absolute;
|
|
61
|
+
width: 7px;
|
|
62
|
+
height: 18px;
|
|
63
|
+
background-color: var(--gd-palette-complementary-5);
|
|
64
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4'%3E%3Cpath d='M0 0h2v2H0zM5 0h2v2H5z'/%3E%3C/svg%3E");
|
|
65
|
+
-webkit-mask-repeat: repeat-y;
|
|
66
|
+
-webkit-mask-size: 7px 4px;
|
|
67
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4'%3E%3Cpath d='M0 0h2v2H0zM5 0h2v2H5z'/%3E%3C/svg%3E");
|
|
68
|
+
mask-repeat: repeat-y;
|
|
69
|
+
mask-size: 7px 4px;
|
|
70
|
+
cursor: grab;
|
|
71
|
+
opacity: 0;
|
|
72
|
+
// Invisible must not swallow clicks meant for the row (opacity keeps it hit-testable); hover re-enables.
|
|
73
|
+
pointer-events: none;
|
|
74
|
+
transition: opacity 0.15s ease;
|
|
75
|
+
|
|
76
|
+
&:active {
|
|
77
|
+
cursor: grabbing;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// The dragged row dims; the drop position shows as a primary-coloured line in the gap above/below.
|
|
82
|
+
.gd-cf-reorder-item--dragging {
|
|
83
|
+
opacity: 0.4;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.gd-cf-reorder-item--drop-above,
|
|
87
|
+
.gd-cf-reorder-item--drop-below {
|
|
88
|
+
position: relative;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.gd-cf-reorder-item--drop-above::before,
|
|
92
|
+
.gd-cf-reorder-item--drop-below::after {
|
|
93
|
+
content: "";
|
|
94
|
+
position: absolute;
|
|
95
|
+
right: 0;
|
|
96
|
+
left: 0;
|
|
97
|
+
height: 2px;
|
|
98
|
+
border-radius: 1px;
|
|
99
|
+
background: var(--gd-palette-primary-base);
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.gd-cf-reorder-item--drop-above::before {
|
|
104
|
+
top: -3px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.gd-cf-reorder-item--drop-below::after {
|
|
108
|
+
bottom: -3px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// Hovered rows/cards pop out as an elevated white card; the box-shadow ring avoids a
|
|
112
|
+
// size-changing border. Each context adds its own margin/padding offsets.
|
|
113
|
+
@mixin gd-cf-hover-card {
|
|
114
|
+
z-index: 1;
|
|
115
|
+
background: var(--gd-palette-complementary-0);
|
|
116
|
+
box-shadow:
|
|
117
|
+
0 0 0 1px var(--gd-palette-complementary-3),
|
|
118
|
+
0 2px 4px 0 rgba(20, 56, 93, 0.15);
|
|
119
|
+
}
|
|
120
|
+
|
|
54
121
|
.gd-cf-rule {
|
|
122
|
+
position: relative;
|
|
55
123
|
display: flex;
|
|
56
124
|
align-items: center;
|
|
125
|
+
min-height: 30px;
|
|
57
126
|
border-radius: 3px;
|
|
127
|
+
transition:
|
|
128
|
+
margin-left 0.15s ease,
|
|
129
|
+
padding-left 0.15s ease,
|
|
130
|
+
background-color 0.15s ease,
|
|
131
|
+
box-shadow 0.15s ease;
|
|
132
|
+
|
|
133
|
+
.gd-cf-reorder__handle {
|
|
134
|
+
top: 50%;
|
|
135
|
+
left: 6px;
|
|
136
|
+
transform: translateY(-50%);
|
|
137
|
+
}
|
|
58
138
|
|
|
139
|
+
// Hover pops the row out bleeding 20px past the left gutter; the equal padding keeps the
|
|
140
|
+
// content in place.
|
|
59
141
|
&:hover {
|
|
60
|
-
|
|
142
|
+
@include gd-cf-hover-card;
|
|
143
|
+
|
|
144
|
+
margin-left: -20px;
|
|
145
|
+
padding-left: 20px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&:hover .gd-cf-reorder__handle {
|
|
149
|
+
opacity: 1;
|
|
150
|
+
pointer-events: auto;
|
|
61
151
|
}
|
|
62
152
|
|
|
63
153
|
&:has(.gd-cf-rule__delete:hover) {
|
|
@@ -90,25 +180,21 @@
|
|
|
90
180
|
font-size: 10px;
|
|
91
181
|
}
|
|
92
182
|
|
|
183
|
+
// Opacity, not visibility: visibility inherits into the kit button, whose `transition: all`
|
|
184
|
+
// then holds the icon visible for its full duration after mouse-leave.
|
|
93
185
|
&__delete {
|
|
186
|
+
display: inline-flex;
|
|
94
187
|
flex: 0 0 auto;
|
|
95
|
-
|
|
188
|
+
opacity: 0;
|
|
189
|
+
transition: opacity 0.15s ease;
|
|
96
190
|
}
|
|
97
191
|
|
|
98
192
|
&:hover &__delete,
|
|
99
193
|
&:focus-within &__delete {
|
|
100
|
-
|
|
194
|
+
opacity: 1;
|
|
101
195
|
}
|
|
102
196
|
}
|
|
103
197
|
|
|
104
|
-
.gd-cf-rule .gd-cf-rule__delete::before {
|
|
105
|
-
color: var(--gd-palette-complementary-6);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.gd-cf-rule .gd-cf-rule__delete:hover::before {
|
|
109
|
-
color: var(--gd-palette-error-base);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
198
|
.gd-cf-section__anchor {
|
|
113
199
|
display: block;
|
|
114
200
|
width: 0;
|
|
@@ -172,19 +258,53 @@
|
|
|
172
258
|
border-top: 1px solid var(--gd-palette-complementary-3);
|
|
173
259
|
}
|
|
174
260
|
|
|
175
|
-
.dropdown-button,
|
|
176
261
|
.gd-input-field {
|
|
177
262
|
width: 100%;
|
|
178
263
|
}
|
|
179
264
|
}
|
|
180
265
|
|
|
181
266
|
.gd-cf-condition {
|
|
267
|
+
position: relative;
|
|
182
268
|
display: flex;
|
|
183
269
|
flex-direction: column;
|
|
184
270
|
gap: 5px;
|
|
185
271
|
padding: 5px 10px 10px;
|
|
186
272
|
border-radius: 3px;
|
|
187
273
|
background: var(--gd-palette-complementary-2);
|
|
274
|
+
transition:
|
|
275
|
+
margin 0.15s ease,
|
|
276
|
+
padding 0.15s ease,
|
|
277
|
+
background-color 0.15s ease,
|
|
278
|
+
box-shadow 0.15s ease;
|
|
279
|
+
|
|
280
|
+
// Reorderable cards widen their left padding into a grip column (no gutter in the narrow popover).
|
|
281
|
+
&.gd-cf-reorder-item {
|
|
282
|
+
padding-left: 18px;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.gd-cf-reorder__handle {
|
|
286
|
+
top: 10px;
|
|
287
|
+
left: 5px;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// Hover expands the card 5px into the dialog padding; the compensating padding keeps the
|
|
291
|
+
// content in place.
|
|
292
|
+
&:hover {
|
|
293
|
+
@include gd-cf-hover-card;
|
|
294
|
+
|
|
295
|
+
margin: 0 -5px;
|
|
296
|
+
padding-right: 15px;
|
|
297
|
+
padding-left: 15px;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
&.gd-cf-reorder-item:hover {
|
|
301
|
+
padding-left: 23px;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
&:hover .gd-cf-reorder__handle {
|
|
305
|
+
opacity: 1;
|
|
306
|
+
pointer-events: auto;
|
|
307
|
+
}
|
|
188
308
|
|
|
189
309
|
&__header {
|
|
190
310
|
display: flex;
|
|
@@ -202,6 +322,11 @@
|
|
|
202
322
|
gap: 5px;
|
|
203
323
|
}
|
|
204
324
|
|
|
325
|
+
&__error {
|
|
326
|
+
color: var(--gd-palette-error-base);
|
|
327
|
+
font-size: 11px;
|
|
328
|
+
}
|
|
329
|
+
|
|
205
330
|
&__format-row {
|
|
206
331
|
display: flex;
|
|
207
332
|
align-items: center;
|