@antscorp/antsomi-ui 1.3.5-beta.958 → 1.3.5-beta.959

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.
@@ -8,8 +8,8 @@ import SelectTag from './SelectTag';
8
8
  import { defaultProps } from './constants';
9
9
  export const SelectAssociatedTag = (props) => {
10
10
  // Props
11
- const { tagConfigs, selected, options, onSelect } = props;
11
+ const { tagConfigs, style, selected, options, onSelect } = props;
12
12
  const { tag, value } = selected || {};
13
- return (_jsxs(StyledSpace, { className: "select-associated-tag", children: [_jsx(SelectTag, { ...tagConfigs, selectedTag: tag }), _jsx(Divider, { type: "vertical", style: { margin: '0px 1px 0px 6px' } }), _jsx(Select, { style: { width: '100%', height: '100%' }, value: value, options: options, onChange: onSelect })] }));
13
+ return (_jsxs(StyledSpace, { className: "select-associated-tag", style: style, children: [_jsx(SelectTag, { ...tagConfigs, selectedTag: tag }), _jsx(Divider, { type: "vertical", style: { margin: '0px 1px 0px 6px' } }), _jsx(Select, { style: { width: '100%', height: '100%' }, value: value, options: options, onChange: onSelect })] }));
14
14
  };
15
15
  SelectAssociatedTag.defaultProps = defaultProps;
@@ -46,6 +46,11 @@ export interface SelectAssociatedTagProps {
46
46
  * @type {SelectOption[]}
47
47
  */
48
48
  options: SelectOption[];
49
+ /**
50
+ * The style object for the SelectAssociatedTag component.
51
+ * @type {CSSProperties}
52
+ */
53
+ style?: CSSProperties;
49
54
  /**
50
55
  * Callback function called when an option is selected.
51
56
  * @type {(value: Dictionary<SelectOption>, option: SelectOption | SelectOption[]) => void}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.958",
3
+ "version": "1.3.5-beta.959",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",