@descope/web-components-ui 3.23.3 → 3.24.0

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.
@@ -25000,6 +25000,7 @@ const ButtonSelectionGroupItemClass = compose$1(
25000
25000
  selector: () => ButtonClass.componentName,
25001
25001
  property: ButtonClass.cssVarList.hostDirection,
25002
25002
  },
25003
+ hostWidth: { selector: () => ButtonClass.componentName, property: 'width' },
25003
25004
  backgroundColor: {
25004
25005
  selector: () => ButtonClass.componentName,
25005
25006
  property: ButtonClass.cssVarList.backgroundColor,
@@ -25040,6 +25041,7 @@ const vars$n = ButtonSelectionGroupItemClass.cssVarList;
25040
25041
 
25041
25042
  const buttonSelectionGroupItem = {
25042
25043
  [vars$n.hostDirection]: 'inherit',
25044
+ [vars$n.hostWidth]: 'auto',
25043
25045
  [vars$n.backgroundColor]: globalRefs$f.colors.surface.main,
25044
25046
  [vars$n.labelTextColor]: globalRefs$f.colors.surface.contrast,
25045
25047
  [vars$n.borderColor]: globalRefs$f.colors.surface.light,
@@ -25337,6 +25339,12 @@ const buttonSelectionGroupMappings = {
25337
25339
  errorMessageIconPosition: { ...errorMessage$2, property: 'background-position' },
25338
25340
  errorMessageFontSize: { ...errorMessage$2, property: 'font-size' },
25339
25341
  itemsSpacing: { ...internalWrapper, property: 'gap' },
25342
+ itemsDirection: { ...internalWrapper, property: 'flex-direction' },
25343
+ itemsAlignment: { ...internalWrapper, property: 'align-items' },
25344
+ itemsWidth: {
25345
+ selector: () => `::slotted(${ButtonSelectionGroupItemClass.componentName})`,
25346
+ property: ButtonSelectionGroupItemClass.cssVarList.hostWidth,
25347
+ },
25340
25348
  };
25341
25349
 
25342
25350
  const buttonSelectionGroupStyles = `
@@ -25478,6 +25486,17 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
25478
25486
  [vars.errorMessageIconRepeat]: refs.errorMessageIconRepeat,
25479
25487
  [vars.errorMessageIconPosition]: refs.errorMessageIconPosition,
25480
25488
  [vars.errorMessageFontSize]: refs.errorMessageFontSize,
25489
+
25490
+ layout: {
25491
+ vertical: {
25492
+ [vars.itemsDirection]: 'column',
25493
+ [vars.itemsAlignment]: 'flex-start',
25494
+ _fullWidth: {
25495
+ [vars.itemsAlignment]: 'stretch',
25496
+ [vars.itemsWidth]: '100%',
25497
+ },
25498
+ },
25499
+ },
25481
25500
  });
25482
25501
 
25483
25502
  const vars$m = ButtonSelectionGroupClass.cssVarList;