@gpa-gemstone/react-forms 1.1.97 → 1.1.98

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.
@@ -29,11 +29,10 @@ interface IProps {
29
29
  */
30
30
  Help?: string | JSX.Element;
31
31
  /**
32
- * Tooltip style for the items
33
- * @type {'no-tip' | 'dark' | 'light'}
32
+ * Flag to show or hide the selected options tooltip
34
33
  * @optional
35
34
  */
36
- ItemTooltip?: 'no-tip' | 'dark' | 'light';
35
+ ShowToolTip?: boolean;
37
36
  }
38
37
  declare const MultiSelect: (props: IProps) => JSX.Element;
39
38
  export default MultiSelect;
@@ -105,7 +105,7 @@ var MultiSelect = function (props) {
105
105
  showHelpIcon ?
106
106
  React.createElement(ToolTip_1.default, { Show: showHelp, Target: helperGuid, Class: "info", Position: "bottom" }, props.Help)
107
107
  : null,
108
- ((_a = props.ItemTooltip) !== null && _a !== void 0 ? _a : 'no-tip') !== 'no-tip' ?
108
+ ((_a = props.ShowToolTip) !== null && _a !== void 0 ? _a : false) ?
109
109
  React.createElement(ToolTip_1.default, { Show: showItems, Target: guid, Position: "bottom" },
110
110
  React.createElement("p", null, "Selected Options:"),
111
111
  selectedOptions.slice(0, 10).map(function (opt, i) { return React.createElement("p", { key: i }, opt.Label); }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpa-gemstone/react-forms",
3
- "version": "1.1.97",
3
+ "version": "1.1.98",
4
4
  "description": "React Form modules for gpa webapps",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@gpa-gemstone/application-typings": "0.0.87",
49
- "@gpa-gemstone/gpa-symbols": "0.0.53",
49
+ "@gpa-gemstone/gpa-symbols": "0.0.54",
50
50
  "@gpa-gemstone/helper-functions": "0.0.45",
51
51
  "@types/react": "^17.0.14",
52
52
  "@types/styled-components": "^5.1.11",