@sap-ux/ui-components 1.17.4 → 1.17.6

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.
Files changed (55) hide show
  1. package/dist/components/UIButton/UIDefaultButton.d.ts.map +1 -1
  2. package/dist/components/UIButton/UIDefaultButton.js +6 -2
  3. package/dist/components/UIButton/UIDefaultButton.js.map +1 -1
  4. package/dist/components/UIContextualMenu/UIContextualMenu.js.map +1 -1
  5. package/dist/components/UIDialog/UIDialog.d.ts.map +1 -1
  6. package/dist/components/UIDialog/UIDialog.js +1 -0
  7. package/dist/components/UIDialog/UIDialog.js.map +1 -1
  8. package/package.json +2 -2
  9. package/storybook/{125.46be9266.iframe.bundle.js → 125.3024b9fd.iframe.bundle.js} +1 -1
  10. package/storybook/{217.a4fe3cf8.iframe.bundle.js → 217.3bc5280e.iframe.bundle.js} +1 -1
  11. package/storybook/{416.dd07bcba.iframe.bundle.js → 416.855eefd3.iframe.bundle.js} +1 -1
  12. package/storybook/{454.2a9a7de4.iframe.bundle.js → 454.55edec77.iframe.bundle.js} +1 -1
  13. package/storybook/491.1e9a71cc.iframe.bundle.js +1 -0
  14. package/storybook/{589.c64b5c08.iframe.bundle.js → 589.16ed4444.iframe.bundle.js} +1 -1
  15. package/storybook/594.35720fa3.iframe.bundle.js +27 -0
  16. package/storybook/{690.42cf7065.iframe.bundle.js → 690.a9a4c8e4.iframe.bundle.js} +1 -1
  17. package/storybook/{871.464dbe9f.iframe.bundle.js → 871.d9443863.iframe.bundle.js} +1 -1
  18. package/storybook/{921.a72c9992.iframe.bundle.js → 921.c3493bef.iframe.bundle.js} +1 -1
  19. package/storybook/{930.63eedb91.iframe.bundle.js → 930.4fff9aba.iframe.bundle.js} +3 -3
  20. package/storybook/{988.55289599.iframe.bundle.js → 988.852f0ec9.iframe.bundle.js} +1 -1
  21. package/storybook/{UIActionCallout-story.cd9a4beb.iframe.bundle.js → UIActionCallout-story.df76393e.iframe.bundle.js} +1 -1
  22. package/storybook/{UIButton-story.6d8e1074.iframe.bundle.js → UIButton-story.a53c1f9f.iframe.bundle.js} +1 -1
  23. package/storybook/{UICallout-story.7cd26cda.iframe.bundle.js → UICallout-story.b156f05e.iframe.bundle.js} +1 -1
  24. package/storybook/{UICalloutCollisionTransform-story.741a4d8c.iframe.bundle.js → UICalloutCollisionTransform-story.15d048db.iframe.bundle.js} +1 -1
  25. package/storybook/{UICheckbox-story.dcd576b7.iframe.bundle.js → UICheckbox-story.90038183.iframe.bundle.js} +1 -1
  26. package/storybook/{UIChoiceGroup-story.cb945b22.iframe.bundle.js → UIChoiceGroup-story.40a23fa8.iframe.bundle.js} +1 -1
  27. package/storybook/{UICombobox-story.5b7d9ef6.iframe.bundle.js → UICombobox-story.c59e0b8a.iframe.bundle.js} +1 -1
  28. package/storybook/{UIContextualMenu-story.9ed0b679.iframe.bundle.js → UIContextualMenu-story.6d856534.iframe.bundle.js} +1 -1
  29. package/storybook/{UICreateSelect-story.add34304.iframe.bundle.js → UICreateSelect-story.5a135e51.iframe.bundle.js} +1 -1
  30. package/storybook/{UIDatePicker-story.6dc50d40.iframe.bundle.js → UIDatePicker-story.bfccc5b9.iframe.bundle.js} +1 -1
  31. package/storybook/{UIDialog-story.f1ca99dd.iframe.bundle.js → UIDialog-story.8df9c941.iframe.bundle.js} +1 -1
  32. package/storybook/{UIDropdown-story.0082feff.iframe.bundle.js → UIDropdown-story.eef1b4c3.iframe.bundle.js} +1 -1
  33. package/storybook/{UIIcon-story.501aaad6.iframe.bundle.js → UIIcon-story.486ce230.iframe.bundle.js} +1 -1
  34. package/storybook/{UILabel-story.e4308889.iframe.bundle.js → UILabel-story.863ba248.iframe.bundle.js} +1 -1
  35. package/storybook/{UILink-story.c9176893.iframe.bundle.js → UILink-story.f142a732.iframe.bundle.js} +1 -1
  36. package/storybook/{UILoader-story.20aa84cf.iframe.bundle.js → UILoader-story.cdfa7187.iframe.bundle.js} +1 -1
  37. package/storybook/{UIMessageBar-story.979ecd75.iframe.bundle.js → UIMessageBar-story.963d9dbc.iframe.bundle.js} +1 -1
  38. package/storybook/{UIPersona-story.64e359c0.iframe.bundle.js → UIPersona-story.6419a8aa.iframe.bundle.js} +1 -1
  39. package/storybook/{UISearchBox-story.204c5642.iframe.bundle.js → UISearchBox-story.d11b95b1.iframe.bundle.js} +1 -1
  40. package/storybook/{UISeparator-story.f9a9d365.iframe.bundle.js → UISeparator-story.2aacdc48.iframe.bundle.js} +1 -1
  41. package/storybook/{UITable-story.6aac2419.iframe.bundle.js → UITable-story.34698d68.iframe.bundle.js} +1 -1
  42. package/storybook/{UITextInput-story.094d2f36.iframe.bundle.js → UITextInput-story.9c625be5.iframe.bundle.js} +1 -1
  43. package/storybook/{UIToggle-story.24e13647.iframe.bundle.js → UIToggle-story.dc500461.iframe.bundle.js} +1 -1
  44. package/storybook/{UIToggleGroup-story.b0c82239.iframe.bundle.js → UIToggleGroup-story.c0fec5ff.iframe.bundle.js} +1 -1
  45. package/storybook/{UITooltip-story.5ea93f7a.iframe.bundle.js → UITooltip-story.8c1914ad.iframe.bundle.js} +1 -1
  46. package/storybook/{UITranslationInput-story.d78a0bfb.iframe.bundle.js → UITranslationInput-story.591f361e.iframe.bundle.js} +1 -1
  47. package/storybook/{UITreedropdown-story.3d63b270.iframe.bundle.js → UITreedropdown-story.ab9a5e90.iframe.bundle.js} +1 -1
  48. package/storybook/{Utilities-story.b51f0de1.iframe.bundle.js → Utilities-story.b7d94ab7.iframe.bundle.js} +1 -1
  49. package/storybook/iframe.html +2 -2
  50. package/storybook/main.63a7de26.iframe.bundle.js +1 -0
  51. package/storybook/project.json +1 -1
  52. package/storybook/{runtime~main.15f68d5c.iframe.bundle.js → runtime~main.5f465ac4.iframe.bundle.js} +1 -1
  53. package/storybook/412.d3210aac.iframe.bundle.js +0 -24
  54. package/storybook/491.4bd20b35.iframe.bundle.js +0 -1
  55. package/storybook/main.437550e7.iframe.bundle.js +0 -1
@@ -1 +0,0 @@
1
- "use strict";(()=>{var E=Object.defineProperty,y=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var p=(v,o,e)=>o in v?E(v,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):v[o]=e,b=(v,o)=>{for(var e in o||(o={}))k.call(o,e)&&p(v,e,o[e]);if(C)for(var e of C(o))L.call(o,e)&&p(v,e,o[e]);return v},m=(v,o)=>y(v,I(o));(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[491],{"./src/components/UIButton/UIActionButton.tsx":function(v,o,e){var u=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(o,"__esModule",{value:!0}),o.UIActionButton=void 0;const c=u(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),f=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js"),l=e("./src/components/UIContextualMenu/index.tsx");class t extends c.default.Component{constructor(n){super(n),this.setStyle=()=>({root:{minWidth:"initial",height:22,fontSize:"13px",fontWeight:400,color:"var(--vscode-foreground)",borderRadius:0,whiteSpace:"nowrap",backgroundColor:"transparent",selectors:{"&:active":{textDecoration:"underline"},".ms-Fabric--isFocusVisible &:focus:after":{outline:"1px solid var(--vscode-focusBorder)"}}},label:{marginLeft:0,marginRight:0,fontSize:"13px",fontWeight:400,fontFamily:"var(--vscode-font-family)"},rootDisabled:{backgroundColor:"transparent",color:"var(--vscode-foreground)",opacity:"0.4",pointerEvents:"none"},rootHovered:{color:"var(--vscode-foreground)",textDecoration:"underline",backgroundColor:"transparent",selectors:{color:"var(--vscode-foreground)"}},icon:{height:16,lineHeight:16,marginLeft:-3,position:"relative",top:1},menuIcon:{position:"relative",top:1}})}render(){return c.default.createElement(f.ActionButton,m(b({},this.props),{styles:this.setStyle(),menuAs:l.UIContextualMenu}))}}o.UIActionButton=t},"./src/components/UIButton/UIDefaultButton.tsx":function(v,o,e){var u=this&&this.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(o,"__esModule",{value:!0}),o.UIDefaultButton=o.BASE_STYLES=void 0;const c=u(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),f=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js"),l=e("./src/components/UIContextualMenu/index.tsx"),t=e("./src/components/UIInput/index.tsx"),r=e("./src/components/Icons.tsx"),n="var(--vscode-button-border, transparent)";o.BASE_STYLES={color:"var(--vscode-button-foreground)",checkedBorderColor:"var(--vscode-contrastActiveBorder, var(--vscode-button-border, transparent))",primary:{backgroundColor:"var(--vscode-button-background)",disabledBorderColor:n,borderColor:n,hoverBackgroundColor:"var(--vscode-button-hoverBackground)",hoverBorderColor:n},secondary:{backgroundColor:"var(--vscode-button-secondaryBackground)",disabledBorderColor:n,borderColor:n,hoverBackgroundColor:"var(--vscode-button-secondaryHoverBackground)",hoverBorderColor:n,color:"var(--vscode-button-secondaryForeground)"},transparent:{backgroundColor:"transparent",disabledBorderColor:"transparent",borderColor:"transparent",hoverBackgroundColor:"var(--vscode-toolbar-hoverBackground, var(--vscode-menubar-selectionBackground))",hoverBorderColor:"var(--vscode-contrastActiveBorder, transparent)",hoverBorderStyle:"dashed",color:"var(--vscode-foreground)",checkedBackgroundColor:"var(--vscode-button-background)",checkedColor:"var(--vscode-button-foreground)",checkedBorderStyle:"solid"}};const i="svg > path, svg > rect";class B extends c.default.Component{constructor(a){super(a),this.setStyle=g=>{const{primary:s,transparent:S}=g,_={position:"absolute",width:1,right:21,top:0,bottom:0,backgroundColor:"var(--vscode-editor-background)"},h={root:this.getInteractionStyle(!1,s,S),checked:this.getInteractionStyle(!0,s,S)};return{root:m(b(b({minWidth:"initial",height:22,fontSize:"13px",fontWeight:400,fontFamily:"var(--vscode-font-family)",borderRadius:t.COMMON_INPUT_STYLES.borderRadius,paddingLeft:13,paddingRight:13,backgroundColor:o.BASE_STYLES.secondary.backgroundColor,borderColor:o.BASE_STYLES.secondary.borderColor,color:o.BASE_STYLES.secondary.color},s&&{backgroundColor:o.BASE_STYLES.primary.backgroundColor,borderColor:o.BASE_STYLES.primary.borderColor,color:o.BASE_STYLES.color}),S&&{backgroundColor:o.BASE_STYLES.transparent.backgroundColor,borderColor:o.BASE_STYLES.transparent.borderColor,color:o.BASE_STYLES.transparent.color}),{selectors:{".ms-Fabric--isFocusVisible &:focus:after":{outlineColor:"var(--vscode-focusBorder)",inset:-3}}}),flexContainer:{height:18},label:{marginLeft:0,marginRight:0,fontWeight:400,lineHeight:20,whiteSpace:"nowrap"},rootDisabled:b(b({opacity:"0.5 !important",backgroundColor:o.BASE_STYLES.secondary.backgroundColor,borderColor:o.BASE_STYLES.secondary.disabledBorderColor,color:o.BASE_STYLES.secondary.color},s&&{opacity:"0.5 !important",color:o.BASE_STYLES.color,backgroundColor:o.BASE_STYLES.primary.backgroundColor,borderColor:o.BASE_STYLES.primary.disabledBorderColor}),S&&{color:o.BASE_STYLES.transparent.color,backgroundColor:o.BASE_STYLES.transparent.backgroundColor,borderColor:o.BASE_STYLES.transparent.disabledBorderColor}),rootPressed:h.root,rootHovered:h.root,icon:b(b({height:16,lineHeight:16,marginLeft:-3,color:o.BASE_STYLES.secondary.color,selectors:{[i]:{fill:o.BASE_STYLES.secondary.color}}},s&&{color:o.BASE_STYLES.color,selectors:{[i]:{fill:o.BASE_STYLES.color}}}),S&&{color:o.BASE_STYLES.transparent.color,selectors:{[i]:{fill:o.BASE_STYLES.transparent.color}}}),menuIcon:{selectors:b({"svg > path":{fill:o.BASE_STYLES.secondary.color}},s&&{"svg > path":{fill:o.BASE_STYLES.color}})},rootChecked:b(b({backgroundColor:o.BASE_STYLES.secondary.backgroundColor,color:o.BASE_STYLES.secondary.color,borderColor:o.BASE_STYLES.checkedBorderColor},s&&{backgroundColor:o.BASE_STYLES.primary.backgroundColor,color:o.BASE_STYLES.color}),S&&{backgroundColor:o.BASE_STYLES.transparent.checkedBackgroundColor,color:o.BASE_STYLES.transparent.checkedColor,borderStyle:o.BASE_STYLES.transparent.checkedBorderStyle}),rootCheckedHovered:h.checked,rootCheckedPressed:h.checked,splitButtonMenuButton:{padding:6,height:22,boxSizing:"border-box",borderRadius:`0 ${t.COMMON_INPUT_STYLES.borderRadius}px ${t.COMMON_INPUT_STYLES.borderRadius}px 0 !important`,borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:22,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0,backgroundColor:o.BASE_STYLES.primary.backgroundColor,borderColor:o.BASE_STYLES.primary.borderColor,color:o.BASE_STYLES.color,selectors:{"&:hover":{color:o.BASE_STYLES.color,backgroundColor:"var(--vscode-button-hoverBackground)",borderColor:"var(--vscode-contrastActiveBorder, var(--vscode-button-hoverBackground))",selectors:{[i]:{fill:o.BASE_STYLES.color}}}}},splitButtonMenuButtonDisabled:b({opacity:"0.5 !important",backgroundColor:"var(--vscode-button-secondaryBackground,#5f6a79)",borderColor:o.BASE_STYLES.secondary.backgroundColor,color:o.BASE_STYLES.secondary.color},s&&{color:o.BASE_STYLES.color,backgroundColor:o.BASE_STYLES.primary.backgroundColor,borderColor:"var(--vscode-button-background)"}),splitButtonMenuFocused:{selectors:{"&:focus":{color:"red"}}},splitButtonMenuButtonExpanded:{color:o.BASE_STYLES.color,backgroundColor:"var(--vscode-button-hoverBackground)",borderColor:"var(--vscode-contrastActiveBorder, var(--vscode-button-hoverBackground))",selectors:{[i]:{fill:o.BASE_STYLES.color},"&:hover":{color:o.BASE_STYLES.color,backgroundColor:"var(--vscode-button-hoverBackground)",borderColor:"var(--vscode-contrastActiveBorder, var(--vscode-button-hoverBackground))",selectors:{[i]:{fill:o.BASE_STYLES.color}}}}},splitButtonDivider:_,splitButtonDividerDisabled:_,splitButtonContainerFocused:{".ms-Fabric--isFocusVisible &:focus:after":{border:"none",outlineColor:"var(--vscode-focusBorder)",inset:-2}}}}}getInteractionStyle(a,g,s){let S=b(b({color:o.BASE_STYLES.secondary.color,backgroundColor:o.BASE_STYLES.secondary.hoverBackgroundColor,borderColor:o.BASE_STYLES.secondary.hoverBorderColor,selectors:{[i]:{fill:o.BASE_STYLES.secondary.color}}},g&&{color:o.BASE_STYLES.color,backgroundColor:o.BASE_STYLES.primary.hoverBackgroundColor,borderColor:o.BASE_STYLES.primary.hoverBorderColor,selectors:{[i]:{fill:o.BASE_STYLES.color}}}),a&&{borderColor:o.BASE_STYLES.checkedBorderColor});return s&&(a?S=m(b({},S),{color:o.BASE_STYLES.color,backgroundColor:o.BASE_STYLES.primary.backgroundColor,borderColor:o.BASE_STYLES.primary.borderColor,selectors:{[i]:{fill:o.BASE_STYLES.color}}}):S=m(b({},S),{color:o.BASE_STYLES.transparent.color,backgroundColor:o.BASE_STYLES.transparent.hoverBackgroundColor,borderColor:o.BASE_STYLES.transparent.hoverBorderColor,borderStyle:o.BASE_STYLES.transparent.hoverBorderStyle,selectors:{[i]:{fill:o.BASE_STYLES.transparent.color}}})),a&&(S=m(b({},S),{borderColor:o.BASE_STYLES.checkedBorderColor})),S}render(){return c.default.createElement(f.DefaultButton,m(b({menuIconProps:{iconName:r.UiIcons.ArrowDown}},this.props),{styles:this.setStyle(this.props),menuAs:l.UIContextualMenu}))}}o.UIDefaultButton=B},"./src/components/UIButton/UIIconButton.tsx":function(v,o,e){var u=this&&this.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(o,"__esModule",{value:!0}),o.UIIconButton=o.UIIconButtonSizes=void 0;const c=u(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),f=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js"),l=e("./src/components/UIContextualMenu/index.tsx");var t;(function(n){n.Default="Default",n.Wide="Wide"})(t||(o.UIIconButtonSizes=t={}));class r extends c.default.Component{constructor(i){super(i),this.setStyle=B=>{var g;const a=((g=B.sizeType)!=null?g:t.Default)===t.Default?16:26;return{root:{minWidth:"initial",height:16,width:a,boxSizing:"content-box",padding:3,backgroundColor:"transparent",borderRadius:4,selectors:{".ms-Fabric--isFocusVisible &:focus:after":{outline:"1px solid var(--vscode-focusBorder)"}}},rootDisabled:{backgroundColor:"transparent",opacity:"0.4"},rootHasMenu:{width:a},rootHovered:{backgroundColor:this.getButtonInteractionBackgroundColor("--vscode-toolbar-hoverBackground"),outline:"1px dashed var(--vscode-contrastActiveBorder)"},rootPressed:{backgroundColor:this.getButtonInteractionBackgroundColor("--vscode-toolbar-activeBackground")},rootExpanded:{backgroundColor:this.getButtonInteractionBackgroundColor("--vscode-toolbar-hoverBackground"),width:a},rootExpandedHovered:{backgroundColor:"transparent"},flexContainer:{width:"100%",height:"100%"},icon:{height:16,width:a,lineHeight:16,display:"flex",alignItems:"center",justifyContent:"center"},iconHovered:{backgroundColor:"transparent"},menuIconExpanded:{display:"none"},menuIcon:{display:"none"},rootChecked:{backgroundColor:"var(--vscode-button-background)",color:"var(--vscode-button-foreground)",outline:"1px solid var(--vscode-contrastActiveBorder)",selectors:{".ms-Fabric--isFocusVisible &:focus:after":{inset:"-1px"}}},rootCheckedHovered:{backgroundColor:"var(--vscode-button-background)",outline:"1px dashed var(--vscode-contrastActiveBorder)"},iconChecked:{color:"var(--vscode-button-foreground)",selectors:{"> svg *":{fill:"currentColor"}}}}}}getButtonInteractionBackgroundColor(i){return`var(${i}, var(--vscode-menubar-selectionBackground))`}render(){return c.default.createElement(f.IconButton,m(b({},this.props),{styles:this.setStyle(this.props),menuAs:l.UIContextualMenu}))}}o.UIIconButton=r},"./src/components/UIButton/UISmallButton.tsx":function(v,o,e){var u=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(o,"__esModule",{value:!0}),o.UISmallButton=void 0;const c=u(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),f=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");class l extends c.default.Component{constructor(r){super(r),this.buttonSecondaryForeground="--vscode-button-secondaryForeground",this.setStyle=n=>({root:m(b({minWidth:"initial",height:16,fontSize:"11px",fontWeight:400,fontFamily:"var(--vscode-font-family)",borderRadius:20,paddingLeft:13,paddingRight:13,backgroundColor:"var(--vscode-button-secondaryBackground, #5f6a79)",borderColor:"var(--vscode-contrastBorder, var(--vscode-button-secondaryBackground, #5f6a79))",color:this.getColorwithFallback(this.buttonSecondaryForeground,"#ffffff")},n.primary&&{backgroundColor:this.getColor("--vscode-button-background"),borderColor:"var(--vscode-contrastBorder, var(--vscode-button-background))",color:this.getColor("--vscode-button-foreground")}),{selectors:{".ms-Fabric--isFocusVisible &:focus:after":{outlineColor:"var(--vscode-focusBorder)",inset:-3}}}),label:{marginLeft:0,marginRight:0,fontWeight:400,lineHeight:11,whiteSpace:"nowrap"},rootDisabled:b({opacity:"0.5 !important",backgroundColor:"var(--vscode-button-secondaryBackground,#5f6a79)",borderColor:"var(--vscode-button-secondaryBackground, #5f6a79)",color:this.getColorwithFallback(this.buttonSecondaryForeground,"#ffffff")},n.primary&&{opacity:"0.5 !important",color:this.getColor("--vscode-button-foreground"),backgroundColor:"var(--vscode-button-background)",borderColor:"var(--vscode-button-background)"}),rootHovered:b({color:this.getColorwithFallback(this.buttonSecondaryForeground,"#ffffff"),backgroundColor:"var(--vscode-button-secondaryHoverBackground, #4c5561)",borderColor:"var(--vscode-contrastActiveBorder, var(--vscode-button-secondaryHoverBackground, #4c5561))",selectors:{"svg > path, svg > rect":{fill:this.getColorwithFallback(this.buttonSecondaryForeground,"#ffffff")}}},n.primary&&{color:"var(--vscode-button-foreground)",backgroundColor:"var(--vscode-button-hoverBackground)",borderColor:"var(--vscode-contrastActiveBorder, var(--vscode-button-hoverBackground))",selectors:{"svg > path, svg > rect":{fill:"var(--vscode-button-foreground)"}}})})}getColor(r){return`var(${r})`}getColorwithFallback(r,n){return`var(${r}, ${n})`}render(){return c.default.createElement(f.DefaultButton,m(b({},this.props),{styles:this.setStyle(this.props)}))}}o.UISmallButton=l},"./src/components/UIButton/UISplitButton.tsx":function(v,o,e){var u=this&&this.__createBinding||(Object.create?function(d,a,g,s){s===void 0&&(s=g);var S=Object.getOwnPropertyDescriptor(a,g);(!S||("get"in S?!a.__esModule:S.writable||S.configurable))&&(S={enumerable:!0,get:function(){return a[g]}}),Object.defineProperty(d,s,S)}:function(d,a,g,s){s===void 0&&(s=g),d[s]=a[g]}),c=this&&this.__setModuleDefault||(Object.create?function(d,a){Object.defineProperty(d,"default",{enumerable:!0,value:a})}:function(d,a){d.default=a}),f=this&&this.__importStar||function(d){if(d&&d.__esModule)return d;var a={};if(d!=null)for(var g in d)g!=="default"&&Object.prototype.hasOwnProperty.call(d,g)&&u(a,d,g);return c(a,d),a};Object.defineProperty(o,"__esModule",{value:!0}),o.UISplitButton=void 0;const l=f(e("../../node_modules/.pnpm/react@16.14.0/node_modules/react/index.js")),t=e("./src/components/UIButton/UIDefaultButton.tsx"),r=e("./src/components/UIContextualMenu/index.tsx"),n=e("./src/components/Icons.tsx"),i=e("./src/utilities/index.ts");class B extends l.Component{constructor(a){super(a),this.id=this.props.id?this.props.id:(0,i.getUIId)("ui-split-button-"),this.onClick=()=>{this.props.callback(this.props.button.key)},this.onMenuItemClick=(g,s)=>{s!=null&&s.key&&this.props.callback(s.key)},this.state={menu:{items:a.menuItems,onItemClick:this.onMenuItemClick}},this.onClick=this.onClick.bind(this)}static getDerivedStateFromProps(a,g){return{menu:{items:a.menuItems,onItemClick:g.menu.onItemClick}}}render(){return l.createElement(t.UIDefaultButton,{ariaLabel:this.props.ariaLabel,ariaDescription:this.props.ariaDescription,id:this.id,className:"ui-split-button",primary:!0,split:!0,onClick:this.onClick.bind(this),menuProps:this.state.menu,menuIconProps:{iconName:n.UiIcons.ArrowDown},menuAs:r.UIContextualMenu,disabled:this.props.disabled},this.props.button.text)}}o.UISplitButton=B},"./src/components/UIButton/index.tsx":function(v,o,e){var u=this&&this.__createBinding||(Object.create?function(l,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(l,n,i)}:function(l,t,r,n){n===void 0&&(n=r),l[n]=t[r]}),c=this&&this.__exportStar||function(l,t){for(var r in l)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&u(t,l,r)};Object.defineProperty(o,"__esModule",{value:!0}),o.UIButtonInterface=void 0;const f=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(o,"UIButtonInterface",{enumerable:!0,get:function(){return f.IButton}}),c(e("./src/components/UIButton/UIActionButton.tsx"),o),c(e("./src/components/UIButton/UIDefaultButton.tsx"),o),c(e("./src/components/UIButton/UIIconButton.tsx"),o),c(e("./src/components/UIButton/UISplitButton.tsx"),o),c(e("./src/components/UIButton/UISmallButton.tsx"),o)},"./src/utilities/Dom.ts":(v,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.isHTMLInputElement=o.isHTMLElement=void 0;function e(c){return"title"in c}o.isHTMLElement=e;function u(c){return"value"in c&&"tagName"in c&&c.tagName==="INPUT"}o.isHTMLInputElement=u},"./src/utilities/Focus.ts":(v,o,e)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.focusToSibling=o.getPreviousElement=o.getNextElement=o.setUIFocusVisibility=o.getUILastFocusable=o.getUIFirstFocusable=void 0;const u=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(o,"getUIFirstFocusable",{enumerable:!0,get:function(){return u.getFirstFocusable}}),Object.defineProperty(o,"getUILastFocusable",{enumerable:!0,get:function(){return u.getLastFocusable}}),Object.defineProperty(o,"setUIFocusVisibility",{enumerable:!0,get:function(){return u.setFocusVisibility}}),Object.defineProperty(o,"getNextElement",{enumerable:!0,get:function(){return u.getNextElement}}),Object.defineProperty(o,"getPreviousElement",{enumerable:!0,get:function(){return u.getPreviousElement}});function c(f,l){const t=(0,u.getDocument)();if(t){let r=null;if(l?r=(0,u.getNextElement)(t.body,f,!1,!1,!0,!0):r=(0,u.getPreviousElement)(t.body,f,!1,!1,!0,!0),r)return r.focus(),r}return null}o.focusToSibling=c},"./src/utilities/Id.ts":(v,o,e)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.getUIId=void 0;const u=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(o,"getUIId",{enumerable:!0,get:function(){return u.getId}})},"./src/utilities/Keys.ts":(v,o,e)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.UIKeyCodes=void 0;const u=e("../../node_modules/.pnpm/@fluentui+react@8.100.0_@types+react-dom@16.9.24_@types+react@16.14.55_react-dom@16.14.0_react@16.14.0/node_modules/@fluentui/react/lib-commonjs/index.js");Object.defineProperty(o,"UIKeyCodes",{enumerable:!0,get:function(){return u.KeyCodes}})},"./src/utilities/index.ts":function(v,o,e){var u=this&&this.__createBinding||(Object.create?function(f,l,t,r){r===void 0&&(r=t);var n=Object.getOwnPropertyDescriptor(l,t);(!n||("get"in n?!l.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return l[t]}}),Object.defineProperty(f,r,n)}:function(f,l,t,r){r===void 0&&(r=t),f[r]=l[t]}),c=this&&this.__exportStar||function(f,l){for(var t in f)t!=="default"&&!Object.prototype.hasOwnProperty.call(l,t)&&u(l,f,t)};Object.defineProperty(o,"__esModule",{value:!0}),c(e("./src/utilities/Dom.ts"),o),c(e("./src/utilities/Focus.ts"),o),c(e("./src/utilities/Id.ts"),o),c(e("./src/utilities/Keys.ts"),o)}}]);})();
@@ -1 +0,0 @@
1
- (()=>{var O=(s,r)=>()=>(r||s((r={exports:{}}).exports,r),r.exports);var c=(s,r,t)=>new Promise((i,e)=>{var n=o=>{try{y(t.next(o))}catch(a){e(a)}},I=o=>{try{y(t.throw(o))}catch(a){e(a)}},y=o=>o.done?i(o.value):Promise.resolve(o.value).then(n,I);y((t=t.apply(s,r)).next())});var T=O(p=>{(self.webpackChunk_sap_ux_ui_components=self.webpackChunk_sap_ux_ui_components||[]).push([[179],{"./stories lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/stories\\/(?%21\\.)(?=.)[^/]*?\\.story\\.tsx)$":(s,r,t)=>{var i={"./UIActionCallout.story":["./stories/UIActionCallout.story.tsx",412,454,84],"./UIActionCallout.story.tsx":["./stories/UIActionCallout.story.tsx",412,454,84],"./UIButton.story":["./stories/UIButton.story.tsx",412,454,217,416,491,921,740],"./UIButton.story.tsx":["./stories/UIButton.story.tsx",412,454,217,416,491,921,740],"./UICallout.story":["./stories/UICallout.story.tsx",412,454,217,416,491,292],"./UICallout.story.tsx":["./stories/UICallout.story.tsx",412,454,217,416,491,292],"./UICalloutCollisionTransform.story":["./stories/UICalloutCollisionTransform.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,244],"./UICalloutCollisionTransform.story.tsx":["./stories/UICalloutCollisionTransform.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,244],"./UICheckbox.story":["./stories/UICheckbox.story.tsx",412,454,294],"./UICheckbox.story.tsx":["./stories/UICheckbox.story.tsx",412,454,294],"./UIChoiceGroup.story":["./stories/UIChoiceGroup.story.tsx",412,454,900],"./UIChoiceGroup.story.tsx":["./stories/UIChoiceGroup.story.tsx",412,454,900],"./UICombobox.story":["./stories/UICombobox.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,295],"./UICombobox.story.tsx":["./stories/UICombobox.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,295],"./UIContextualMenu.story":["./stories/UIContextualMenu.story.tsx",412,454,217,416,491,921,125,778],"./UIContextualMenu.story.tsx":["./stories/UIContextualMenu.story.tsx",412,454,217,416,491,921,125,778],"./UICreateSelect.story":["./stories/UICreateSelect.story.tsx",412,254,454,217,416,761],"./UICreateSelect.story.tsx":["./stories/UICreateSelect.story.tsx",412,254,454,217,416,761],"./UIDatePicker.story":["./stories/UIDatePicker.story.tsx",412,454,217,835],"./UIDatePicker.story.tsx":["./stories/UIDatePicker.story.tsx",412,454,217,835],"./UIDialog.story":["./stories/UIDialog.story.tsx",412,454,217,416,491,125,690,871,693],"./UIDialog.story.tsx":["./stories/UIDialog.story.tsx",412,454,217,416,491,125,690,871,693],"./UIDropdown.story":["./stories/UIDropdown.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,520],"./UIDropdown.story.tsx":["./stories/UIDropdown.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,520],"./UIFlexibleTable.story":["./stories/UIFlexibleTable.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,210],"./UIFlexibleTable.story.tsx":["./stories/UIFlexibleTable.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,210],"./UIIcon.story":["./stories/UIIcon.story.tsx",412,454,524],"./UIIcon.story.tsx":["./stories/UIIcon.story.tsx",412,454,524],"./UILabel.story":["./stories/UILabel.story.tsx",412,454,398],"./UILabel.story.tsx":["./stories/UILabel.story.tsx",412,454,398],"./UILink.story":["./stories/UILink.story.tsx",412,469],"./UILink.story.tsx":["./stories/UILink.story.tsx",412,469],"./UILoader.story":["./stories/UILoader.story.tsx",412,454,217,416,491,690,682],"./UILoader.story.tsx":["./stories/UILoader.story.tsx",412,454,217,416,491,690,682],"./UIMessageBar.story":["./stories/UIMessageBar.story.tsx",412,454,328],"./UIMessageBar.story.tsx":["./stories/UIMessageBar.story.tsx",412,454,328],"./UIPersona.story":["./stories/UIPersona.story.tsx",412,218],"./UIPersona.story.tsx":["./stories/UIPersona.story.tsx",412,218],"./UIQuickNavigation.story":["./stories/UIQuickNavigation.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,535],"./UIQuickNavigation.story.tsx":["./stories/UIQuickNavigation.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,535],"./UISearchBox.story":["./stories/UISearchBox.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,786],"./UISearchBox.story.tsx":["./stories/UISearchBox.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,786],"./UISections.story":["./stories/UISections.story.tsx",412,454,217,416,491,125,988,248],"./UISections.story.tsx":["./stories/UISections.story.tsx",412,454,217,416,491,125,988,248],"./UISeparator.story":["./stories/UISeparator.story.tsx",412,456],"./UISeparator.story.tsx":["./stories/UISeparator.story.tsx",412,456],"./UITable.story":["./stories/UITable.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,309],"./UITable.story.tsx":["./stories/UITable.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,309],"./UITextInput.story":["./stories/UITextInput.story.tsx",412,454,217,797],"./UITextInput.story.tsx":["./stories/UITextInput.story.tsx",412,454,217,797],"./UIToggle.story":["./stories/UIToggle.story.tsx",412,454,626],"./UIToggle.story.tsx":["./stories/UIToggle.story.tsx",412,454,626],"./UIToggleGroup.story":["./stories/UIToggleGroup.story.tsx",412,454,589,844],"./UIToggleGroup.story.tsx":["./stories/UIToggleGroup.story.tsx",412,454,589,844],"./UITooltip.story":["./stories/UITooltip.story.tsx",412,336,454,217,416,491,963],"./UITooltip.story.tsx":["./stories/UITooltip.story.tsx",412,336,454,217,416,491,963],"./UITranslationInput.story":["./stories/UITranslationInput.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,302],"./UITranslationInput.story.tsx":["./stories/UITranslationInput.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,302],"./UITreedropdown.story":["./stories/UITreedropdown.story.tsx",412,454,217,416,921,29],"./UITreedropdown.story.tsx":["./stories/UITreedropdown.story.tsx",412,454,217,416,921,29],"./Utilities.story":["./stories/Utilities.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,672],"./Utilities.story.tsx":["./stories/Utilities.story.tsx",412,336,254,16,454,217,416,491,921,125,690,988,871,589,930,672]};function e(n){if(!t.o(i,n))return Promise.resolve().then(()=>{var o=new Error("Cannot find module '"+n+"'");throw o.code="MODULE_NOT_FOUND",o});var I=i[n],y=I[0];return Promise.all(I.slice(1).map(t.e)).then(()=>t.t(y,23))}e.keys=()=>Object.keys(i),e.id="./stories lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/stories\\/(?%21\\.)(?=.)[^/]*?\\.story\\.tsx)$",s.exports=e},"./storybook-config-entry.js":(s,r,t)=>{"use strict";var i=t("@storybook/global");const e=__STORYBOOK_MODULE_PREVIEW_API__,n=__STORYBOOK_MODULE_CHANNELS__,I=x=>x(),y=[x=>c(p,null,function*(){if(!/^\.[\\/](?:stories\/(?!\.)(?=.)[^/]*?\.story\.tsx)$/.exec(x))return;const U=x.substring(10);return t("./stories lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/stories\\/(?%21\\.)(?=.)[^/]*?\\.story\\.tsx)$")("./"+U)})];function o(x){return c(this,null,function*(){for(let U=0;U<y.length;U++){const _=yield I(()=>y[U](x));if(_)return _}})}const a=()=>(0,e.composeConfigs)([t("../../node_modules/.pnpm/@storybook+react@8.1.11_prettier@3.3.3_react-dom@16.14.0_react@16.14.0_typescript@5.3.3/node_modules/@storybook/react/dist/entry-preview.mjs")]),l=(0,n.createBrowserChannel)({page:"preview"});e.addons.setChannel(l),i.global.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const u=new e.PreviewWeb(o,a);window.__STORYBOOK_PREVIEW__=u,window.__STORYBOOK_STORY_STORE__=u.storyStore,window.__STORYBOOK_ADDONS_CHANNEL__=l},"@storybook/global":s=>{"use strict";s.exports=__STORYBOOK_MODULE_GLOBAL__}},s=>{var r=i=>s(s.s=i);s.O(0,[917],()=>r("./storybook-config-entry.js"));var t=s.O()}])});T();})();