@descope-ui/descope-list 3.15.0 → 3.15.2
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/package.json +6 -6
- package/src/component/ListClass.js +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope-ui/descope-list",
|
|
3
|
-
"version": "3.15.
|
|
3
|
+
"version": "3.15.2",
|
|
4
4
|
"files": [
|
|
5
5
|
"src",
|
|
6
6
|
"stories"
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@playwright/test": "1.58.2",
|
|
21
|
-
"e2e-utils": "3.15.
|
|
22
|
-
"@descope-ui/descope-avatar": "3.15.
|
|
21
|
+
"e2e-utils": "3.15.2",
|
|
22
|
+
"@descope-ui/descope-avatar": "3.15.2"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@descope-ui/
|
|
26
|
-
"@descope-ui/
|
|
27
|
-
"@descope-ui/
|
|
25
|
+
"@descope-ui/common": "3.15.2",
|
|
26
|
+
"@descope-ui/theme-globals": "3.15.2",
|
|
27
|
+
"@descope-ui/descope-list-item": "3.15.2"
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"link-workspace-packages": false
|
|
@@ -180,6 +180,17 @@ export const ListClass = compose(
|
|
|
180
180
|
selector: () => 'slot[name="empty-state"]',
|
|
181
181
|
property: 'font-family',
|
|
182
182
|
},
|
|
183
|
+
// allow overriding empty state height and padding from parent list components:
|
|
184
|
+
emptyStateVerticalPadding: [
|
|
185
|
+
{
|
|
186
|
+
selector: () => 'slot[name="empty-state"]',
|
|
187
|
+
property: 'padding-top',
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
selector: () => 'slot[name="empty-state"]',
|
|
191
|
+
property: 'padding-bottom',
|
|
192
|
+
},
|
|
193
|
+
],
|
|
183
194
|
},
|
|
184
195
|
}),
|
|
185
196
|
draggableMixin,
|