@elliemae/ds-toolbar 2.0.0-rc.2 → 2.0.0-rc.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.
@@ -31,15 +31,15 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
31
31
 
32
32
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
33
33
 
34
- const DSToolbarV2 = props => {
34
+ const DSToolbarV2 = props$1 => {
35
35
  const {
36
36
  alignment,
37
37
  withDepth,
38
38
  compact,
39
39
  innerRef,
40
40
  children
41
- } = props;
42
- dsPropsHelpers.useValidateTypescriptPropTypes(props, DSToolbarV2WithSchema.toTypescript());
41
+ } = props$1;
42
+ dsPropsHelpers.useValidateTypescriptPropTypes(props$1, props.DSToolbarV2Schema);
43
43
  const toolbarUid = React.useMemo(() => "ds-toolbar-".concat(uid.uid()), []);
44
44
  const [itemReferences, setItemReferences] = React.useState({});
45
45
  const registerReference = React.useCallback((itemId, ref) => {
@@ -29,7 +29,7 @@ const DSToolbarV2 = props => {
29
29
  innerRef,
30
30
  children
31
31
  } = props;
32
- useValidateTypescriptPropTypes(props, DSToolbarV2WithSchema.toTypescript());
32
+ useValidateTypescriptPropTypes(props, DSToolbarV2Schema);
33
33
  const toolbarUid = useMemo(() => "ds-toolbar-".concat(uid()), []);
34
34
  const [itemReferences, setItemReferences] = useState({});
35
35
  const registerReference = useCallback((itemId, ref) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-toolbar",
3
- "version": "2.0.0-rc.2",
3
+ "version": "2.0.0-rc.6",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Toolbar",
6
6
  "module": "./esm/index.js",
@@ -84,12 +84,12 @@
84
84
  "build": "node ../../scripts/build/build.js"
85
85
  },
86
86
  "dependencies": {
87
- "@elliemae/ds-button": "2.0.0-rc.2",
88
- "@elliemae/ds-classnames": "2.0.0-rc.2",
89
- "@elliemae/ds-icons": "2.0.0-rc.2",
90
- "@elliemae/ds-popper": "2.0.0-rc.2",
91
- "@elliemae/ds-shared": "2.0.0-rc.2",
92
- "@elliemae/ds-utilities": "2.0.0-rc.2",
87
+ "@elliemae/ds-button": "2.0.0-rc.6",
88
+ "@elliemae/ds-classnames": "2.0.0-rc.6",
89
+ "@elliemae/ds-icons": "2.0.0-rc.6",
90
+ "@elliemae/ds-popper": "2.0.0-rc.6",
91
+ "@elliemae/ds-shared": "2.0.0-rc.6",
92
+ "@elliemae/ds-utilities": "2.0.0-rc.6",
93
93
  "prop-types": "~15.7.2",
94
94
  "react-desc": "~4.1.3"
95
95
  },
package/types/styled.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledToolbarWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
3
- export declare const StyledToolbarItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
4
- export declare const StyledSeparator: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
2
+ export declare const StyledToolbarWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const StyledToolbarItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const StyledSeparator: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;