@imposium-hub/components 1.62.3 → 1.62.4

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.
Files changed (44) hide show
  1. package/dist/cjs/components/Tooltip.d.ts +2 -1
  2. package/dist/cjs/components/Tooltip.js.map +1 -1
  3. package/dist/cjs/components/button/Button.stories.d.ts +1 -0
  4. package/dist/cjs/components/button-group-field/ButtonGroupField.stories.d.ts +1 -0
  5. package/dist/cjs/components/button-menu/ButtonMenu.stories.d.ts +1 -0
  6. package/dist/cjs/components/card/Card.stories.d.ts +1 -0
  7. package/dist/cjs/components/checkbox-field/CheckboxField.stories.d.ts +1 -0
  8. package/dist/cjs/components/color-field/ColorFiled.stories.d.ts +1 -0
  9. package/dist/cjs/components/controlled-list/ControlledList.stories.d.ts +1 -0
  10. package/dist/cjs/components/field-wrapper/FieldWrapper.stories.d.ts +1 -0
  11. package/dist/cjs/components/h-rule/HRule.d.ts +1 -0
  12. package/dist/cjs/components/h-rule/HRule.stories.d.ts +1 -0
  13. package/dist/cjs/components/list-field/ListField.stories.d.ts +1 -0
  14. package/dist/cjs/components/modal/Modal.stories.d.ts +1 -0
  15. package/dist/cjs/components/number-field/NumberField.stories.d.ts +1 -0
  16. package/dist/cjs/components/section/Section.d.ts +1 -0
  17. package/dist/cjs/components/section/Section.stories.d.ts +1 -0
  18. package/dist/cjs/components/select-field/SelectField.stories.d.ts +1 -0
  19. package/dist/cjs/components/slider-field/SliderField.stories.d.ts +1 -0
  20. package/dist/cjs/components/text-area-field/TextAreaField.stories.d.ts +1 -0
  21. package/dist/cjs/components/text-field/TextField.stories.d.ts +1 -0
  22. package/dist/esm/components/Tooltip.d.ts +2 -1
  23. package/dist/esm/components/Tooltip.js.map +1 -1
  24. package/dist/esm/components/button/Button.stories.d.ts +1 -0
  25. package/dist/esm/components/button-group-field/ButtonGroupField.stories.d.ts +1 -0
  26. package/dist/esm/components/button-menu/ButtonMenu.stories.d.ts +1 -0
  27. package/dist/esm/components/card/Card.stories.d.ts +1 -0
  28. package/dist/esm/components/checkbox-field/CheckboxField.stories.d.ts +1 -0
  29. package/dist/esm/components/color-field/ColorFiled.stories.d.ts +1 -0
  30. package/dist/esm/components/controlled-list/ControlledList.stories.d.ts +1 -0
  31. package/dist/esm/components/field-wrapper/FieldWrapper.stories.d.ts +1 -0
  32. package/dist/esm/components/h-rule/HRule.d.ts +1 -0
  33. package/dist/esm/components/h-rule/HRule.stories.d.ts +1 -0
  34. package/dist/esm/components/list-field/ListField.stories.d.ts +1 -0
  35. package/dist/esm/components/modal/Modal.stories.d.ts +1 -0
  36. package/dist/esm/components/number-field/NumberField.stories.d.ts +1 -0
  37. package/dist/esm/components/section/Section.d.ts +1 -0
  38. package/dist/esm/components/section/Section.stories.d.ts +1 -0
  39. package/dist/esm/components/select-field/SelectField.stories.d.ts +1 -0
  40. package/dist/esm/components/slider-field/SliderField.stories.d.ts +1 -0
  41. package/dist/esm/components/text-area-field/TextAreaField.stories.d.ts +1 -0
  42. package/dist/esm/components/text-field/TextField.stories.d.ts +1 -0
  43. package/package.json +3 -3
  44. package/src/components/Tooltip.tsx +3 -3
@@ -1,6 +1,7 @@
1
+ import { Place } from 'react-tooltip';
1
2
  export interface IToolTipConfig {
2
3
  content: string;
3
- position?: string;
4
+ position?: Place;
4
5
  theme?: string;
5
6
  }
6
7
  export declare const renderTooltipProps: (id: string, config: IToolTipConfig | string) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.js","sourceRoot":"","sources":["../../../src/components/Tooltip.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA+B;AAC/B,kDAAsC;AACtC,gEAAyC;AAQlC,IAAM,kBAAkB,GAAG,UAAC,EAAU,EAAE,MAA+B;IAC1E,IAAI,MAAM,EAAE;QACR,IAAM,OAAO,GAAG,OAAO,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAA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Y,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC;KAChE;SAAM;QACH,OAAO,IAAI,CAAC;KACf;AACL,CAAC,CAAC;AA3BW,QAAA,aAAa,iBA2BxB"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  title: string;
3
4
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import ButtonGroupField from './ButtonGroupField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import ButtonMenu from './ButtonMenu';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import Card from './Card';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import CheckBoxField from './CheckboxField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import ColorField from './ColorField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import ControlledList from './ControlledList';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import FieldWrapper from './FieldWrapper';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const HRule: (props: any) => JSX.Element;
2
3
  export default HRule;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  title: string;
3
4
  component: (props: any) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import ListField from './ListField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import Modal from './Modal';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import NumberField from './NumberField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Section: (props: any) => JSX.Element;
2
3
  export default Section;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  title: string;
3
4
  component: (props: any) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import SelectField from './SelectField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import SliderField from './SliderField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import TextAreaField from './TextAreaField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import TextField from './TextField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,6 +1,7 @@
1
+ import { Place } from 'react-tooltip';
1
2
  export interface IToolTipConfig {
2
3
  content: string;
3
- position?: string;
4
+ position?: Place;
4
5
  theme?: string;
5
6
  }
6
7
  export declare const renderTooltipProps: (id: string, config: IToolTipConfig | string) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.js","sourceRoot":"","sources":["../../../src/components/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AACtC,OAAO,YAAY,MAAM,eAAe,CAAC;AAQzC,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAAU,EAAE,MAA+B,EAAO,EAAE;IACnF,IAAI,MAAM,EAAE;QACR,MAAM,OAAO,GAAG,OAAO,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;QACrE,OAAO;YACH,UAAU,EAAE,OAAO;YACnB,UAAU,EAAE,EAAE;SACjB,CAAC;KACL;SAA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AAI,CAAC;KACf;AACL,CAAC,CAAC"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  title: string;
3
4
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import ButtonGroupField from './ButtonGroupField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import ButtonMenu from './ButtonMenu';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import Card from './Card';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import CheckBoxField from './CheckboxField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import ColorField from './ColorField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import ControlledList from './ControlledList';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import FieldWrapper from './FieldWrapper';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const HRule: (props: any) => JSX.Element;
2
3
  export default HRule;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  title: string;
3
4
  component: (props: any) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import ListField from './ListField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import Modal from './Modal';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import NumberField from './NumberField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Section: (props: any) => JSX.Element;
2
3
  export default Section;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  title: string;
3
4
  component: (props: any) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import SelectField from './SelectField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import SliderField from './SliderField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import TextAreaField from './TextAreaField';
2
3
  declare const _default: {
3
4
  title: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import TextField from './TextField';
2
3
  declare const _default: {
3
4
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imposium-hub/components",
3
- "version": "1.62.3",
3
+ "version": "1.62.4",
4
4
  "description": "React & Typescript component / asset library for Imposium front-ends",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -67,7 +67,7 @@
67
67
  "react-resize-detector": "^6.7.1",
68
68
  "react-spinners": "^0.6.1",
69
69
  "react-table": "^7.7.0",
70
- "react-tooltip": "3.11.1",
70
+ "react-tooltip": "^4.2.21",
71
71
  "smpte-timecode": "^1.2.3"
72
72
  },
73
73
  "devDependencies": {
@@ -119,7 +119,7 @@
119
119
  "react-resize-detector": "^6.7.1",
120
120
  "react-spinners": "^0.6.1",
121
121
  "react-table": "^7.7.0",
122
- "react-tooltip": "3.11.1",
122
+ "react-tooltip": "^4.2.21",
123
123
  "run-sequence": "^2.2.1",
124
124
  "sb": "^6.4.22",
125
125
  "smpte-timecode": "^1.2.3",
@@ -1,10 +1,10 @@
1
1
  import * as React from 'react';
2
2
  import * as ReactDOM from 'react-dom';
3
- import ReactTooltip from 'react-tooltip';
3
+ import ReactTooltip, { Place } from 'react-tooltip';
4
4
 
5
5
  export interface IToolTipConfig {
6
6
  content: string;
7
- position?: string;
7
+ position?: Place;
8
8
  theme?: string;
9
9
  }
10
10
 
@@ -25,7 +25,7 @@ export const renderTooltip = (id: string, config: IToolTipConfig | string): any
25
25
 
26
26
  if (config && tooltipLayer) {
27
27
  let theme = 'light';
28
- let place = 'top';
28
+ let place: Place = 'top';
29
29
 
30
30
  if (typeof config === 'object') {
31
31
  theme = config.theme ? config.theme : 'light';