@synerise/ds-dropdown 1.0.29 → 1.0.30
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.30](https://github.com/synerise/synerise-design/compare/@synerise/ds-dropdown@1.0.29...@synerise/ds-dropdown@1.0.30) (2025-10-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **tags:** fixed dropdown bottom padding ([1bf9236](https://github.com/synerise/synerise-design/commit/1bf92361cb032a7b142866727cdac43cfe6db8ad))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [1.0.29](https://github.com/synerise/synerise-design/compare/@synerise/ds-dropdown@1.0.28...@synerise/ds-dropdown@1.0.29) (2025-10-03)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @synerise/ds-dropdown
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
3
|
-
declare const BottomAction: ({ onClickAction, children,
|
|
2
|
+
import { type BottomActionProps } from './BottomAction.types';
|
|
3
|
+
declare const BottomAction: ({ onClickAction, children, icon, ...rest }: BottomActionProps) => React.JSX.Element;
|
|
4
4
|
export default BottomAction;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _excluded = ["onClickAction", "children", "
|
|
1
|
+
var _excluded = ["onClickAction", "children", "icon"];
|
|
2
2
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import React from 'react';
|
|
@@ -7,11 +7,9 @@ import * as S from './BottomAction.styles';
|
|
|
7
7
|
var BottomAction = function BottomAction(_ref) {
|
|
8
8
|
var onClickAction = _ref.onClickAction,
|
|
9
9
|
children = _ref.children,
|
|
10
|
-
style = _ref.style,
|
|
11
10
|
icon = _ref.icon,
|
|
12
11
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
13
12
|
return /*#__PURE__*/React.createElement(S.BottomAction, _extends({
|
|
14
|
-
style: style,
|
|
15
13
|
onClick: onClickAction
|
|
16
14
|
}, rest), icon && /*#__PURE__*/React.createElement(S.IconWrapper, null, /*#__PURE__*/React.createElement(Icon, {
|
|
17
15
|
component: icon
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
1
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { type WithHTMLAttributes } from '@synerise/ds-utils';
|
|
3
|
+
export type BottomActionProps = WithHTMLAttributes<HTMLDivElement, {
|
|
3
4
|
onClickAction: () => void;
|
|
4
5
|
icon?: ReactElement;
|
|
5
6
|
children?: ReactNode;
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
}>;
|
|
8
|
+
export type Props = BottomActionProps;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-dropdown",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"description": "Dropdown UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"react": ">=16.9.0 <= 18.3.1",
|
|
48
48
|
"styled-components": "^5.3.3"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "b93cc50e96540d3174fcf1c673d424d0ff57c5ef"
|
|
51
51
|
}
|