@galaxy-ds/core 2.0.5 → 2.0.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.
@@ -1,3 +1,4 @@
1
- import { DateRangePickerProps as ReactDateRangePickerProps } from 'react-date-range';
1
+ import type { DateRangePickerProps as ReactDateRangePickerProps, Range, RangeFocus, RangeKeyDict, Preview, StaticRange, InputRange } from 'react-date-range';
2
2
  export interface DateRangePickerProps extends ReactDateRangePickerProps {
3
3
  }
4
+ export { Range, RangeFocus, RangeKeyDict, Preview, StaticRange, InputRange };
@@ -1,7 +1,7 @@
1
1
  import { ButtonGroupProps as MuiButtonGroupProps } from '@mui/material';
2
2
  import { RibbonButtonProps } from '../RibbonButton/RibbonButton.types';
3
- type ButtonGroupProps = MuiButtonGroupProps;
4
- export type RibbonButtonGroupProps = ButtonGroupProps & RibbonButtonProps & {
3
+ type ButtonGroupProps = MuiButtonGroupProps & RibbonButtonProps;
4
+ export interface RibbonButtonGroupProps extends ButtonGroupProps {
5
5
  /**
6
6
  * Primary Action
7
7
  * */
@@ -10,6 +10,6 @@ export type RibbonButtonGroupProps = ButtonGroupProps & RibbonButtonProps & {
10
10
  * Secondary Action
11
11
  * */
12
12
  onToggle?: () => void;
13
- };
13
+ }
14
14
  export type RibbonButtonGroupRef = HTMLDivElement;
15
15
  export {};
package/dist/index.esm.js CHANGED
@@ -16581,18 +16581,14 @@ var RibbonContentStyled = styled('div', {
16581
16581
  shouldForwardProp: function (prop) { return prop !== 'isWrapped'; },
16582
16582
  })(function (_a) {
16583
16583
  var isWrapped = _a.isWrapped;
16584
- return (__assign({}, (isWrapped && {
16585
- height: '80px',
16584
+ return (__assign({ display: 'flex', flexDirection: 'column', alignItems: 'center', height: '100%' }, (isWrapped && {
16586
16585
  width: '54px',
16587
- p: {
16588
- position: 'relative',
16589
- bottom: '8px',
16590
- },
16591
16586
  })));
16592
16587
  });
16593
16588
 
16594
16589
  var RibbonButton = forwardRef(function RibbonMenuListButton(props, ref) {
16595
- return (jsx(RibbonButtonStyled$1, __assign({ ref: ref, variant: "outlined" }, props, { children: jsxs(RibbonContentStyled, __assign({ isWrapped: props.isWrapped }, { children: [props.icon, jsx(RibbonLabelStyled, __assign({ variant: "body2" }, { children: props.label }))] })) })));
16590
+ props.isWrapped; props.icon; props.label; var rest = __rest(props, ["isWrapped", "icon", "label"]);
16591
+ return (jsx(RibbonButtonStyled$1, __assign({ ref: ref, variant: "outlined" }, rest, { children: jsxs(RibbonContentStyled, __assign({ isWrapped: props.isWrapped }, { children: [props.icon, jsx(RibbonLabelStyled, __assign({ variant: "body2" }, { children: props.label }))] })) })));
16596
16592
  });
16597
16593
 
16598
16594
  var RibbonButtonGroupStyled = styled(ButtonGroup)({
@@ -16971,8 +16967,8 @@ function NewEntryRibbonIcons() {
16971
16967
  }
16972
16968
 
16973
16969
  var RibbonButtonGroup = forwardRef(function RibbonButtonGroup(props, ref) {
16974
- var icon = props.icon, label = props.label, isWrapped = props.isWrapped, onToggle = props.onToggle, onClick = props.onClick;
16975
- return (jsxs(RibbonButtonGroupStyled, __assign({ variant: "outlined", disableRipple: true, ref: ref }, props, { children: [jsx(RibbonButtonStyled, { variant: "outlined", icon: icon, label: label, isWrapped: isWrapped, onClick: function (event) {
16970
+ var icon = props.icon, label = props.label, isWrapped = props.isWrapped, onToggle = props.onToggle, onClick = props.onClick, rest = __rest(props, ["icon", "label", "isWrapped", "onToggle", "onClick"]);
16971
+ return (jsxs(RibbonButtonGroupStyled, __assign({ variant: "outlined", disableRipple: true, ref: ref }, rest, { children: [jsx(RibbonButtonStyled, { variant: "outlined", icon: icon, label: label, isWrapped: isWrapped, onClick: function (event) {
16976
16972
  event.stopPropagation();
16977
16973
  onClick && onClick();
16978
16974
  } }), jsx(RibbonCaratWrapperStyled, __assign({ className: "carat", onClick: function (event) {