@descope/web-components-ui 3.15.0 → 3.15.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.
@@ -5873,6 +5873,17 @@ const ListClass = compose(
5873
5873
  selector: () => 'slot[name="empty-state"]',
5874
5874
  property: 'font-family',
5875
5875
  },
5876
+ // allow overriding empty state height and padding from parent list components:
5877
+ emptyStateVerticalPadding: [
5878
+ {
5879
+ selector: () => 'slot[name="empty-state"]',
5880
+ property: 'padding-top',
5881
+ },
5882
+ {
5883
+ selector: () => 'slot[name="empty-state"]',
5884
+ property: 'padding-bottom',
5885
+ },
5886
+ ],
5876
5887
  },
5877
5888
  }),
5878
5889
  draggableMixin$1,
@@ -9890,6 +9901,14 @@ const OutboundAppsClass = compose(
9890
9901
  property: ListClass.cssVarList.horizontalPadding,
9891
9902
  },
9892
9903
  ],
9904
+ emptyStateMinHeight: {
9905
+ selector: () => ListClass.componentName,
9906
+ property: ListClass.cssVarList.minHeight,
9907
+ },
9908
+ emptyStateVerticalPadding: {
9909
+ selector: () => ListClass.componentName,
9910
+ property: ListClass.cssVarList.emptyStateVerticalPadding,
9911
+ },
9893
9912
  },
9894
9913
  }),
9895
9914
  draggableMixin$1,
@@ -9921,6 +9940,8 @@ const outboundApps = {
9921
9940
  [vars$R.listPadding]: '0',
9922
9941
  [vars$R.listBorderWidth]: '0',
9923
9942
  [vars$R.listBoxShadow]: 'none',
9943
+ [vars$R.emptyStateMinHeight]: '0',
9944
+ [vars$R.emptyStateVerticalPadding]: globals.spacing.lg,
9924
9945
 
9925
9946
  size: {
9926
9947
  xs: {
@@ -10417,6 +10438,14 @@ const TrustedDevicesClass = compose(
10417
10438
  property: ListClass.cssVarList.horizontalPadding,
10418
10439
  },
10419
10440
  ],
10441
+ emptyStateMinHeight: {
10442
+ selector: () => ListClass.componentName,
10443
+ property: ListClass.cssVarList.minHeight,
10444
+ },
10445
+ emptyStateVerticalPadding: {
10446
+ selector: () => ListClass.componentName,
10447
+ property: ListClass.cssVarList.emptyStateVerticalPadding,
10448
+ },
10420
10449
 
10421
10450
  itemVerticalPadding: {
10422
10451
  selector: ListItemClass.componentName,
@@ -10521,6 +10550,8 @@ const TrustedDevices = {
10521
10550
  [vars$P.listPadding]: '0',
10522
10551
  [vars$P.listBoxShadow]: 'none',
10523
10552
  [vars$P.listItemsGap]: globals.spacing.lg,
10553
+ [vars$P.emptyStateMinHeight]: '0',
10554
+ [vars$P.emptyStateVerticalPadding]: globals.spacing.lg,
10524
10555
 
10525
10556
  [vars$P.itemBorderColor]: globals.colors.surface.light,
10526
10557
  [vars$P.itemVerticalPadding]: globals.spacing.lg,