@ssa-ui-kit/core 2.1.0 → 2.1.1

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/dist/index.js CHANGED
@@ -91,18 +91,11 @@ __webpack_require__.d(__webpack_exports__, {
91
91
  DropdownOption: () => (/* reexport */ DropdownOption_DropdownOption),
92
92
  DropdownOptions: () => (/* reexport */ DropdownOptions_DropdownOptions),
93
93
  DropdownToggle: () => (/* reexport */ DropdownToggle_DropdownToggle),
94
- FieldControlProps: () => (/* reexport */ FieldControl_namespaceObject.FieldControlProps),
95
- FieldLabelProps: () => (/* reexport */ FieldLabel_namespaceObject.FieldLabelProps),
96
- FieldProps: () => (/* reexport */ FieldRoot_namespaceObject.FieldRootProps),
97
- Filter: () => (/* reexport */ useFiltersMultiSelect_namespaceObject.Filter),
98
94
  Filters: () => (/* reexport */ Filters),
99
95
  FiltersMultiSelect: () => (/* reexport */ FiltersMultiSelect),
100
96
  FiltersMultiSelectEmpty: () => (/* reexport */ FiltersMultiSelectEmpty),
101
- FiltersMultiSelectEmptyProps: () => (/* reexport */ FiltersMultiSelectEmpty_namespaceObject.FiltersMultiSelectEmptyProps),
102
97
  FiltersMultiSelectOption: () => (/* reexport */ FiltersMultiSelectOption),
103
- FiltersMultiSelectOptionProps: () => (/* reexport */ FiltersMultiSelectOption_namespaceObject.FiltersMultiSelectOptionProps),
104
98
  FiltersMultiSelectOptions: () => (/* reexport */ FiltersMultiSelectOptions),
105
- FiltersMultiSelectProps: () => (/* reexport */ FiltersMultiSelect_namespaceObject.FiltersMultiSelectProps),
106
99
  Form: () => (/* reexport */ Form_Form),
107
100
  FormAction: () => (/* reexport */ FormAction_FormAction),
108
101
  FormCheckbox: () => (/* reexport */ FormCheckbox_FormCheckbox),
@@ -167,7 +160,6 @@ __webpack_require__.d(__webpack_exports__, {
167
160
  SearchBoxWrapper: () => (/* reexport */ SearchBoxWrapper),
168
161
  SegmentedPieChart: () => (/* reexport */ SegmentedPieChart),
169
162
  SegmentedPieChartComponent: () => (/* reexport */ SegmentedPieChartComponent),
170
- SelectedFilter: () => (/* reexport */ useFiltersMultiSelect_namespaceObject.SelectedFilter),
171
163
  SimpleChartTooltip: () => (/* reexport */ SimpleChartTooltip),
172
164
  Step: () => (/* reexport */ Step_Step),
173
165
  StepConnector: () => (/* reexport */ StepConnector_StepConnector),
@@ -888,55 +880,6 @@ __webpack_require__.d(Tooltip_styles_namespaceObject, {
888
880
  small: () => (Tooltip_styles_small)
889
881
  });
890
882
 
891
- // NAMESPACE OBJECT: ./src/components/Field/FieldRoot.tsx
892
- var FieldRoot_namespaceObject = {};
893
- __webpack_require__.r(FieldRoot_namespaceObject);
894
- __webpack_require__.d(FieldRoot_namespaceObject, {
895
- X: () => (FieldRoot)
896
- });
897
-
898
- // NAMESPACE OBJECT: ./src/components/Field/FieldLabel.tsx
899
- var FieldLabel_namespaceObject = {};
900
- __webpack_require__.r(FieldLabel_namespaceObject);
901
- __webpack_require__.d(FieldLabel_namespaceObject, {
902
- d: () => (FieldLabel)
903
- });
904
-
905
- // NAMESPACE OBJECT: ./src/components/Field/FieldControl.tsx
906
- var FieldControl_namespaceObject = {};
907
- __webpack_require__.r(FieldControl_namespaceObject);
908
- __webpack_require__.d(FieldControl_namespaceObject, {
909
- s: () => (FieldControl)
910
- });
911
-
912
- // NAMESPACE OBJECT: ./src/components/FiltersMultiSelect/useFiltersMultiSelect.tsx
913
- var useFiltersMultiSelect_namespaceObject = {};
914
- __webpack_require__.r(useFiltersMultiSelect_namespaceObject);
915
- __webpack_require__.d(useFiltersMultiSelect_namespaceObject, {
916
- j: () => (useFilterMultiSelect)
917
- });
918
-
919
- // NAMESPACE OBJECT: ./src/components/FiltersMultiSelect/components/FiltersMultiSelectEmpty.tsx
920
- var FiltersMultiSelectEmpty_namespaceObject = {};
921
- __webpack_require__.r(FiltersMultiSelectEmpty_namespaceObject);
922
- __webpack_require__.d(FiltersMultiSelectEmpty_namespaceObject, {
923
- S: () => (FiltersMultiSelectEmpty)
924
- });
925
-
926
- // NAMESPACE OBJECT: ./src/components/FiltersMultiSelect/FiltersMultiSelect.tsx
927
- var FiltersMultiSelect_namespaceObject = {};
928
- __webpack_require__.r(FiltersMultiSelect_namespaceObject);
929
- __webpack_require__.d(FiltersMultiSelect_namespaceObject, {
930
- p: () => (FiltersMultiSelect)
931
- });
932
-
933
- // NAMESPACE OBJECT: ./src/components/FiltersMultiSelect/components/FiltersMultiSelectOption.tsx
934
- var FiltersMultiSelectOption_namespaceObject = {};
935
- __webpack_require__.r(FiltersMultiSelectOption_namespaceObject);
936
- __webpack_require__.d(FiltersMultiSelectOption_namespaceObject, {
937
- u: () => (FiltersMultiSelectOption)
938
- });
939
-
940
883
  // NAMESPACE OBJECT: ./src/components/Charts/PieChart/colorPalettes.ts
941
884
  var colorPalettes_namespaceObject = {};
942
885
  __webpack_require__.r(colorPalettes_namespaceObject);
@@ -4129,16 +4072,16 @@ function Dropdown_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to s
4129
4072
 
4130
4073
 
4131
4074
 
4132
- /**
4133
- * The structure of the component:
4134
- *
4135
- * Dropdown
4136
- * DropdownToggle
4137
- * DropdownOptions
4138
- * DropdownOption
4139
- *
4140
- * Aria attributes are set according to
4141
- * https://www.w3.org/WAI/ARIA/apg/example-index/combobox/combobox-select-only.html
4075
+ /**
4076
+ * The structure of the component:
4077
+ *
4078
+ * Dropdown
4079
+ * DropdownToggle
4080
+ * DropdownOptions
4081
+ * DropdownOption
4082
+ *
4083
+ * Aria attributes are set according to
4084
+ * https://www.w3.org/WAI/ARIA/apg/example-index/combobox/combobox-select-only.html
4142
4085
  **/
4143
4086
 
4144
4087
  const DropdownBase = /*#__PURE__*/base_default()("div", true ? {
@@ -5242,16 +5185,16 @@ const DropdownPlaceholderLabel = /*#__PURE__*/base_default()("div", true ? {
5242
5185
  styles: "white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
5243
5186
  } : 0);
5244
5187
 
5245
- /**
5246
- * The structure of the component:
5247
- *
5248
- * MultipleDropdown
5249
- * DropdownToggle
5250
- * MultipleDropdownOptions
5251
- * DropdownOption
5252
- *
5253
- * Aria attributes are set according to
5254
- * https://www.w3.org/WAI/ARIA/apg/example-index/combobox/combobox-select-only.html
5188
+ /**
5189
+ * The structure of the component:
5190
+ *
5191
+ * MultipleDropdown
5192
+ * DropdownToggle
5193
+ * MultipleDropdownOptions
5194
+ * DropdownOption
5195
+ *
5196
+ * Aria attributes are set according to
5197
+ * https://www.w3.org/WAI/ARIA/apg/example-index/combobox/combobox-select-only.html
5255
5198
  **/
5256
5199
  function MultipleDropdownInner({
5257
5200
  selectedItems = [],
@@ -5496,8 +5439,8 @@ const NavToggle = ({
5496
5439
 
5497
5440
 
5498
5441
 
5499
- /**
5500
- * UI Component that shows the navigation bar
5442
+ /**
5443
+ * UI Component that shows the navigation bar
5501
5444
  */
5502
5445
  const NavBar = ({
5503
5446
  items
@@ -6747,12 +6690,12 @@ const ProgressVertical = ({
6747
6690
  /* harmony default export */ const ProgressVertical_ProgressVertical = (ProgressVertical);
6748
6691
  ;// ./src/components/ResponsiveImage/ResponsiveImage.tsx
6749
6692
 
6750
- /**
6751
- * A simple wrapper over the `<img />` tag.
6752
- *
6753
- * Don't forget to adjust Device Pixel Ratio in DevTools
6754
- * when testing srcSet, and use Hard Reload to force the
6755
- * browser to load an image of another resolution.
6693
+ /**
6694
+ * A simple wrapper over the `<img />` tag.
6695
+ *
6696
+ * Don't forget to adjust Device Pixel Ratio in DevTools
6697
+ * when testing srcSet, and use Hard Reload to force the
6698
+ * browser to load an image of another resolution.
6756
6699
  * */
6757
6700
  const ResponsiveImage = ({
6758
6701
  src,
@@ -7163,12 +7106,12 @@ const TabBarBase = /*#__PURE__*/base_default()("div", true ? {
7163
7106
  target: "e1hg26v10"
7164
7107
  } : 0)( true ? "" : 0);
7165
7108
 
7166
- /**
7167
- * This component doesn't show contents of the selected tab,
7168
- * however it accepts a required `renderContent()` render
7169
- * prop and stores it into the Context. This lets the parent
7170
- * component to decide where to render the contents of the
7171
- * selected tab.
7109
+ /**
7110
+ * This component doesn't show contents of the selected tab,
7111
+ * however it accepts a required `renderContent()` render
7112
+ * prop and stores it into the Context. This lets the parent
7113
+ * component to decide where to render the contents of the
7114
+ * selected tab.
7172
7115
  * */
7173
7116
  const TabBar = ({
7174
7117
  children
@@ -7485,13 +7428,13 @@ const useTooltipContext = () => {
7485
7428
 
7486
7429
 
7487
7430
 
7488
- /*
7489
- * <Tooltip>
7490
- * <TooltipTrigger>
7491
- * <Button />
7492
- * </TooltipTrigger>
7493
- * <TooltipContent>Tooltip</TooltipContent>
7494
- * </Tooltip>
7431
+ /*
7432
+ * <Tooltip>
7433
+ * <TooltipTrigger>
7434
+ * <Button />
7435
+ * </TooltipTrigger>
7436
+ * <TooltipContent>Tooltip</TooltipContent>
7437
+ * </Tooltip>
7495
7438
  * */
7496
7439
  const Tooltip = ({
7497
7440
  children,
@@ -7965,9 +7908,9 @@ var CardList_ref = true ? {
7965
7908
  name: "1fgo50s",
7966
7909
  styles: "list-style:none;padding:0;li{margin-bottom:15px;}"
7967
7910
  } : 0;
7968
- /**
7969
- *
7970
- * UI Component that renders a list of items with a custom render function
7911
+ /**
7912
+ *
7913
+ * UI Component that renders a list of items with a custom render function
7971
7914
  */
7972
7915
  const CardList = ({
7973
7916
  title,
@@ -8837,8 +8780,8 @@ const SCREEN_SIZES = {
8837
8780
 
8838
8781
 
8839
8782
 
8840
- /**
8841
- * UI Component that shows the collapsible navigation bar
8783
+ /**
8784
+ * UI Component that shows the collapsible navigation bar
8842
8785
  */
8843
8786
 
8844
8787
  const CollapsibleNavBar = ({
@@ -9913,132 +9856,10 @@ const DatePicker = /*#__PURE__*/(0,external_react_namespaceObject.forwardRef)(Da
9913
9856
  ;// ./src/components/Field/FieldProvider.ts
9914
9857
 
9915
9858
  const [FieldProvider, useFieldContext] = (0,hooks_namespaceObject.createSafeContext)('useFieldContext must be used within a FieldProvider');
9916
- ;// ./src/components/Field/FieldRoot.tsx
9917
-
9918
-
9919
- const FieldRoot = ({
9920
- children,
9921
- ...props
9922
- }) => {
9923
- const {
9924
- disabled = false,
9925
- status = 'basic',
9926
- forwardFocus = true,
9927
- ...divProps
9928
- } = props;
9929
- return (0,jsx_runtime_namespaceObject.jsx)("div", {
9930
- ...divProps,
9931
- children: (0,jsx_runtime_namespaceObject.jsx)(FieldProvider, {
9932
- value: {
9933
- disabled,
9934
- status,
9935
- forwardFocus
9936
- },
9937
- children: children
9938
- })
9939
- });
9940
- };
9941
- ;// ./src/components/Field/FieldLabel.tsx
9942
-
9943
-
9944
-
9945
- const FieldLabel = ({
9946
- children,
9947
- ...props
9948
- }) => {
9949
- const ctx = useFieldContext();
9950
- return (0,jsx_runtime_namespaceObject.jsx)(Label_Label, {
9951
- isDisabled: ctx.disabled,
9952
- ...props,
9953
- children: children
9954
- });
9955
- };
9956
- ;// ./src/components/Field/FieldControl.tsx
9957
-
9958
-
9959
-
9960
-
9961
- const FieldControlBase = /*#__PURE__*/base_default()("div", true ? {
9962
- target: "e1lr2tz0"
9963
- } : 0)("display:flex;align-items:center;min-height:44px;height:auto;border-radius:8px;overflow:hidden;border:1px solid ", ({
9964
- status,
9965
- theme
9966
- }) => {
9967
- if (status === 'error') return theme.colors.red;
9968
- if (status === 'success') return theme.colors.greenLighter;
9969
- return theme.colors.grey;
9970
- }, ";background:", ({
9971
- disabled,
9972
- theme
9973
- }) => disabled ? theme.colors.greyLighter : theme.colors.white, ";&>*{background:transparent;}&:active,&:hover{background:", ({
9974
- disabled,
9975
- theme
9976
- }) => disabled ? theme.colors.greyLighter : theme.colors.white, ";box-shadow:none;}&:hover{cursor:", ({
9977
- disabled
9978
- }) => disabled ? 'default' : 'pointer', ";}&:focus-within,&:active{border-color:", ({
9979
- status,
9980
- disabled,
9981
- theme
9982
- }) => {
9983
- if (disabled) return theme.colors.grey;
9984
- if (status === 'error') return theme.colors.red;
9985
- if (status === 'success') return theme.colors.greenLighter;
9986
- return theme.colors.blueRoyal;
9987
- }, ";}" + ( true ? "" : 0));
9988
- const isForwardRefComponent = component => {
9989
- if (typeof component.type === 'object' && component.type.$$typeof?.toString() === 'Symbol(react.forward_ref)') {
9990
- return true;
9991
- }
9992
- return false;
9993
- };
9994
- const FieldControl = /*#__PURE__*/external_react_default().forwardRef(function FieldControl({
9995
- children,
9996
- controlRef,
9997
- ...props
9998
- }, ref) {
9999
- const ctx = useFieldContext();
10000
- const baseProps = {
10001
- ...props,
10002
- ...ctx
10003
- };
10004
- const internalRef = (0,external_react_namespaceObject.useRef)(null);
10005
- let _children = typeof children === 'function' ? children(ctx) : children;
10006
- if (ctx.forwardFocus && /*#__PURE__*/(0,external_react_namespaceObject.isValidElement)(_children) && isForwardRefComponent(_children)) {
10007
- const setRef = defaultRef => element => {
10008
- internalRef.current = element;
10009
- if (defaultRef) {
10010
- if (typeof defaultRef === 'function') {
10011
- defaultRef(element);
10012
- } else {
10013
- defaultRef.current = element;
10014
- }
10015
- }
10016
- };
10017
- _children = /*#__PURE__*/(0,external_react_namespaceObject.cloneElement)(_children, {
10018
- ref: setRef(children.ref)
10019
- });
10020
- }
10021
- return (0,jsx_runtime_namespaceObject.jsx)(FieldControlBase, {
10022
- ...baseProps,
10023
- ref: ref,
10024
- onClick: event => {
10025
- baseProps.onClick?.(event);
10026
- if (controlRef) {
10027
- controlRef.current?.focus?.();
10028
- } else if (internalRef.current) {
10029
- internalRef.current?.focus?.();
10030
- }
10031
- },
10032
- children: _children
10033
- });
10034
- });
10035
9859
  ;// ./src/components/Field/index.ts
10036
9860
 
10037
9861
 
10038
9862
 
10039
-
10040
-
10041
-
10042
9863
  ;// ./src/components/TableFilters/styles.ts
10043
9864
  function TableFilters_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
10044
9865
 
@@ -10941,6 +10762,125 @@ const Filters = ({
10941
10762
  };
10942
10763
  ;// ./src/components/Filters/index.ts
10943
10764
 
10765
+ ;// ./src/components/Field/FieldRoot.tsx
10766
+
10767
+
10768
+ const FieldRoot = ({
10769
+ children,
10770
+ ...props
10771
+ }) => {
10772
+ const {
10773
+ disabled = false,
10774
+ status = 'basic',
10775
+ forwardFocus = true,
10776
+ ...divProps
10777
+ } = props;
10778
+ return (0,jsx_runtime_namespaceObject.jsx)("div", {
10779
+ ...divProps,
10780
+ children: (0,jsx_runtime_namespaceObject.jsx)(FieldProvider, {
10781
+ value: {
10782
+ disabled,
10783
+ status,
10784
+ forwardFocus
10785
+ },
10786
+ children: children
10787
+ })
10788
+ });
10789
+ };
10790
+ ;// ./src/components/Field/FieldLabel.tsx
10791
+
10792
+
10793
+
10794
+ const FieldLabel = ({
10795
+ children,
10796
+ ...props
10797
+ }) => {
10798
+ const ctx = useFieldContext();
10799
+ return (0,jsx_runtime_namespaceObject.jsx)(Label_Label, {
10800
+ isDisabled: ctx.disabled,
10801
+ ...props,
10802
+ children: children
10803
+ });
10804
+ };
10805
+ ;// ./src/components/Field/FieldControl.tsx
10806
+
10807
+
10808
+
10809
+
10810
+ const FieldControlBase = /*#__PURE__*/base_default()("div", true ? {
10811
+ target: "e1lr2tz0"
10812
+ } : 0)("display:flex;align-items:center;min-height:44px;height:auto;border-radius:8px;overflow:hidden;border:1px solid ", ({
10813
+ status,
10814
+ theme
10815
+ }) => {
10816
+ if (status === 'error') return theme.colors.red;
10817
+ if (status === 'success') return theme.colors.greenLighter;
10818
+ return theme.colors.grey;
10819
+ }, ";background:", ({
10820
+ disabled,
10821
+ theme
10822
+ }) => disabled ? theme.colors.greyLighter : theme.colors.white, ";&>*{background:transparent;}&:active,&:hover{background:", ({
10823
+ disabled,
10824
+ theme
10825
+ }) => disabled ? theme.colors.greyLighter : theme.colors.white, ";box-shadow:none;}&:hover{cursor:", ({
10826
+ disabled
10827
+ }) => disabled ? 'default' : 'pointer', ";}&:focus-within,&:active{border-color:", ({
10828
+ status,
10829
+ disabled,
10830
+ theme
10831
+ }) => {
10832
+ if (disabled) return theme.colors.grey;
10833
+ if (status === 'error') return theme.colors.red;
10834
+ if (status === 'success') return theme.colors.greenLighter;
10835
+ return theme.colors.blueRoyal;
10836
+ }, ";}" + ( true ? "" : 0));
10837
+ const isForwardRefComponent = component => {
10838
+ if (typeof component.type === 'object' && component.type.$$typeof?.toString() === 'Symbol(react.forward_ref)') {
10839
+ return true;
10840
+ }
10841
+ return false;
10842
+ };
10843
+ const FieldControl = /*#__PURE__*/external_react_default().forwardRef(function FieldControl({
10844
+ children,
10845
+ controlRef,
10846
+ ...props
10847
+ }, ref) {
10848
+ const ctx = useFieldContext();
10849
+ const baseProps = {
10850
+ ...props,
10851
+ ...ctx
10852
+ };
10853
+ const internalRef = (0,external_react_namespaceObject.useRef)(null);
10854
+ let _children = typeof children === 'function' ? children(ctx) : children;
10855
+ if (ctx.forwardFocus && /*#__PURE__*/(0,external_react_namespaceObject.isValidElement)(_children) && isForwardRefComponent(_children)) {
10856
+ const setRef = defaultRef => element => {
10857
+ internalRef.current = element;
10858
+ if (defaultRef) {
10859
+ if (typeof defaultRef === 'function') {
10860
+ defaultRef(element);
10861
+ } else {
10862
+ defaultRef.current = element;
10863
+ }
10864
+ }
10865
+ };
10866
+ _children = /*#__PURE__*/(0,external_react_namespaceObject.cloneElement)(_children, {
10867
+ ref: setRef(children.ref)
10868
+ });
10869
+ }
10870
+ return (0,jsx_runtime_namespaceObject.jsx)(FieldControlBase, {
10871
+ ...baseProps,
10872
+ ref: ref,
10873
+ onClick: event => {
10874
+ baseProps.onClick?.(event);
10875
+ if (controlRef) {
10876
+ controlRef.current?.focus?.();
10877
+ } else if (internalRef.current) {
10878
+ internalRef.current?.focus?.();
10879
+ }
10880
+ },
10881
+ children: _children
10882
+ });
10883
+ });
10944
10884
  ;// ./src/components/Field/FieldDescription.tsx
10945
10885
 
10946
10886
 
@@ -11711,8 +11651,6 @@ const NestedTableRow = ({
11711
11651
 
11712
11652
 
11713
11653
 
11714
-
11715
-
11716
11654
  const WithNestedTableRow = ({
11717
11655
  children
11718
11656
  }) => {
@@ -11723,33 +11661,24 @@ const WithNestedTableRow = ({
11723
11661
  return external_react_namespaceObject.Children.map(children, (child, index) => {
11724
11662
  if (/*#__PURE__*/(0,external_react_namespaceObject.isValidElement)(child)) {
11725
11663
  const isSubHeader = index === 0;
11726
- if (child.type === TableRow_TableRow || child.type === NestedTableRow) {
11727
- const classNames = [];
11728
- if (isSubHeader) {
11729
- classNames.push('first-row');
11730
- }
11731
- if (isCollapsed) {
11732
- classNames.push('collapsed');
11733
- }
11734
- return (0,jsx_runtime_namespaceObject.jsx)(NestedTableRowProvider, {
11735
- isCollapsed: isCollapsed,
11736
- isSubHeader: isSubHeader,
11737
- childRowsCount: childRowsCount,
11738
- children: /*#__PURE__*/(0,external_react_namespaceObject.cloneElement)(child, {
11739
- className: classNames.length > 0 ? classNames.join(' ') : undefined,
11740
- onClick: childRowsCount > 1 ? () => {
11741
- setIsCollapsed(currentState => !currentState);
11742
- } : undefined
11743
- })
11744
- });
11664
+ const classNames = [];
11665
+ if (isSubHeader) {
11666
+ classNames.push('first-row');
11667
+ }
11668
+ if (isCollapsed) {
11669
+ classNames.push('collapsed');
11745
11670
  }
11746
11671
  return (0,jsx_runtime_namespaceObject.jsx)(NestedTableRowProvider, {
11747
11672
  isCollapsed: isCollapsed,
11748
11673
  isSubHeader: isSubHeader,
11749
11674
  childRowsCount: childRowsCount,
11750
11675
  children: /*#__PURE__*/(0,external_react_namespaceObject.cloneElement)(child, {
11676
+ className: classNames.length > 0 ? classNames.join(' ') : undefined,
11751
11677
  isCollapsed,
11752
- childRowsCount
11678
+ childRowsCount,
11679
+ onClick: childRowsCount > 1 ? () => {
11680
+ setIsCollapsed(currentState => !currentState);
11681
+ } : undefined
11753
11682
  })
11754
11683
  });
11755
11684
  }
@@ -13213,29 +13142,29 @@ const BarLineComplexChartView = ({
13213
13142
  debouncedFn();
13214
13143
  };
13215
13144
  const handleHover = () => {
13216
- /**
13217
- * Show tooltip on hover
13218
- * event: Readonly<Plotly.PlotHoverEvent>
13219
- * - event = {}
13220
- * - points:
13221
- * Array<{
13222
- * bbox: { x0: number; x1: number; y0: number; y1: number; };
13223
- * curveNumber: number;
13224
- * data: Plotly.Data;
13225
- * fullData: Plotly.Data;
13226
- * label: number;
13227
- * pointIndex: number;
13228
- * pointNumber: number;
13229
- * value: number;
13230
- * x: number;
13231
- * y: number;
13232
- * xaxis: string;
13233
- * yaxis: string;
13234
- * }>
13235
- * - xaxes: Array<{}>
13236
- * - xvals: Array<number>
13237
- * - yaxes: Array<{}>
13238
- * - yvals: Array<number>
13145
+ /**
13146
+ * Show tooltip on hover
13147
+ * event: Readonly<Plotly.PlotHoverEvent>
13148
+ * - event = {}
13149
+ * - points:
13150
+ * Array<{
13151
+ * bbox: { x0: number; x1: number; y0: number; y1: number; };
13152
+ * curveNumber: number;
13153
+ * data: Plotly.Data;
13154
+ * fullData: Plotly.Data;
13155
+ * label: number;
13156
+ * pointIndex: number;
13157
+ * pointNumber: number;
13158
+ * value: number;
13159
+ * x: number;
13160
+ * y: number;
13161
+ * xaxis: string;
13162
+ * yaxis: string;
13163
+ * }>
13164
+ * - xaxes: Array<{}>
13165
+ * - xvals: Array<number>
13166
+ * - yaxes: Array<{}>
13167
+ * - yvals: Array<number>
13239
13168
  */
13240
13169
  setIsOpen(false);
13241
13170
  };
@@ -14411,14 +14340,14 @@ var Typeahead_ref = true ? {
14411
14340
  name: "1d3w5wq",
14412
14341
  styles: "width:100%"
14413
14342
  } : 0;
14414
- /**
14415
- * The structure of the component:
14416
- * - TypeaheadTrigger
14417
- * - TypeaheadOptions
14418
- * - FormHelperText
14419
- *
14420
- * Aria attributes are set according to
14421
- * https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
14343
+ /**
14344
+ * The structure of the component:
14345
+ * - TypeaheadTrigger
14346
+ * - TypeaheadOptions
14347
+ * - FormHelperText
14348
+ *
14349
+ * Aria attributes are set according to
14350
+ * https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
14422
14351
  **/
14423
14352
  const Typeahead = ({
14424
14353
  name = 'typeahead-search',