@descope/web-components-ui 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/dist/index.esm.js CHANGED
@@ -18305,6 +18305,17 @@ const ListClass = compose$1(
18305
18305
  selector: () => 'slot[name="empty-state"]',
18306
18306
  property: 'font-family',
18307
18307
  },
18308
+ // allow overriding empty state height and padding from parent list components:
18309
+ emptyStateVerticalPadding: [
18310
+ {
18311
+ selector: () => 'slot[name="empty-state"]',
18312
+ property: 'padding-top',
18313
+ },
18314
+ {
18315
+ selector: () => 'slot[name="empty-state"]',
18316
+ property: 'padding-bottom',
18317
+ },
18318
+ ],
18308
18319
  },
18309
18320
  }),
18310
18321
  draggableMixin$1,
@@ -25050,6 +25061,14 @@ const OutboundAppsClass = compose$1(
25050
25061
  property: ListClass.cssVarList.horizontalPadding,
25051
25062
  },
25052
25063
  ],
25064
+ emptyStateMinHeight: {
25065
+ selector: () => ListClass.componentName,
25066
+ property: ListClass.cssVarList.minHeight,
25067
+ },
25068
+ emptyStateVerticalPadding: {
25069
+ selector: () => ListClass.componentName,
25070
+ property: ListClass.cssVarList.emptyStateVerticalPadding,
25071
+ },
25053
25072
  },
25054
25073
  }),
25055
25074
  draggableMixin$1,
@@ -25081,6 +25100,8 @@ const outboundApps = {
25081
25100
  [vars$R.listPadding]: '0',
25082
25101
  [vars$R.listBorderWidth]: '0',
25083
25102
  [vars$R.listBoxShadow]: 'none',
25103
+ [vars$R.emptyStateMinHeight]: '0',
25104
+ [vars$R.emptyStateVerticalPadding]: globals.spacing.lg,
25084
25105
 
25085
25106
  size: {
25086
25107
  xs: {
@@ -25577,6 +25598,14 @@ const TrustedDevicesClass = compose$1(
25577
25598
  property: ListClass.cssVarList.horizontalPadding,
25578
25599
  },
25579
25600
  ],
25601
+ emptyStateMinHeight: {
25602
+ selector: () => ListClass.componentName,
25603
+ property: ListClass.cssVarList.minHeight,
25604
+ },
25605
+ emptyStateVerticalPadding: {
25606
+ selector: () => ListClass.componentName,
25607
+ property: ListClass.cssVarList.emptyStateVerticalPadding,
25608
+ },
25580
25609
 
25581
25610
  itemVerticalPadding: {
25582
25611
  selector: ListItemClass.componentName,
@@ -25681,6 +25710,8 @@ const TrustedDevices = {
25681
25710
  [vars$P.listPadding]: '0',
25682
25711
  [vars$P.listBoxShadow]: 'none',
25683
25712
  [vars$P.listItemsGap]: globals.spacing.lg,
25713
+ [vars$P.emptyStateMinHeight]: '0',
25714
+ [vars$P.emptyStateVerticalPadding]: globals.spacing.lg,
25684
25715
 
25685
25716
  [vars$P.itemBorderColor]: globals.colors.surface.light,
25686
25717
  [vars$P.itemVerticalPadding]: globals.spacing.lg,