@iress-oss/ids-components 0.0.1-dev.8 → 5.13.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.
Files changed (203) hide show
  1. package/dist/{AutocompleteNoResults-ImNh0dmJ.js → AutocompleteNoResults-Bk7q5K89.js} +1 -1
  2. package/dist/{ComboboxHiddenInput-BVhoQtv3.js → ComboboxHiddenInput-BRgHrfvH.js} +6 -6
  3. package/dist/{FieldAppendToLabel-CnSsFR-r.js → FieldAppendToLabel-B7A85TG1.js} +4 -4
  4. package/dist/{InputBase-LsLk3nX1.js → InputBase-K0leqZnv.js} +2 -2
  5. package/dist/Loading-CZ64hUvP.js +5638 -0
  6. package/dist/LogoFromSrc-tAhdMB9Y.js +59 -0
  7. package/dist/MenuItem.module-Br0lJU3k.js +24 -0
  8. package/dist/Popover.module-COHnD5HM.js +11 -0
  9. package/dist/{SelectControl-BJo08wJN.js → SelectControl-415DMBPp.js} +2 -2
  10. package/dist/{SliderTicks-MkaJGb9A.js → SliderTicks-B6vu-MUH.js} +2 -2
  11. package/dist/StartUpLoading-DpO7RfDY.js +145 -0
  12. package/dist/TabSet.module-Bje9oAao.js +13 -0
  13. package/dist/Table.module-CSNtX5ab.js +32 -0
  14. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  15. package/dist/components/Alert/Alert.js +2 -2
  16. package/dist/components/Alert/index.js +1 -1
  17. package/dist/components/Autocomplete/Autocomplete.js +3 -3
  18. package/dist/components/Autocomplete/components/AutocompleteNoResults.js +1 -1
  19. package/dist/components/Autocomplete/index.js +1 -1
  20. package/dist/components/Badge/Badge.js +5 -5
  21. package/dist/components/Button/Button.js +3 -3
  22. package/dist/components/Button/CloseButton/CloseButton.js +2 -2
  23. package/dist/components/Button/index.js +1 -1
  24. package/dist/components/ButtonGroup/ButtonGroup.js +3 -3
  25. package/dist/components/ButtonGroup/hooks/useIDSButtonGroupItem.js +2 -2
  26. package/dist/components/ButtonGroup/index.js +1 -1
  27. package/dist/components/Card/helpers/composeIDSCard.js +1 -1
  28. package/dist/components/Checkbox/Checkbox.js +2 -2
  29. package/dist/components/Checkbox/helpers/mapCheckboxGroupOptions.js +1 -1
  30. package/dist/components/Checkbox/index.js +1 -1
  31. package/dist/components/CheckboxGroup/CheckboxGroup.js +7 -7
  32. package/dist/components/CheckboxMark/CheckboxMark.js +1 -1
  33. package/dist/components/CheckboxMark/CheckboxMark.types.js +2 -2
  34. package/dist/components/Col/Col.js +1 -1
  35. package/dist/components/Combobox/Combobox.js +3 -3
  36. package/dist/components/Combobox/MultiCombobox/MultiCombobox.js +3 -3
  37. package/dist/components/Combobox/components/ComboboxHiddenInput.js +2 -2
  38. package/dist/components/Combobox/components/ComboboxResults.js +6 -6
  39. package/dist/components/Combobox/components/ComboboxResultsDescriptor.js +3 -3
  40. package/dist/components/Combobox/index.js +1 -1
  41. package/dist/components/Container/Container.js +1 -1
  42. package/dist/components/Divider/Divider.js +1 -1
  43. package/dist/components/Expander/Expander.js +2 -2
  44. package/dist/components/Field/Field.js +2 -2
  45. package/dist/components/Field/FieldGroup/FieldGroup.js +3 -3
  46. package/dist/components/Field/components/FieldAppendToLabel.js +4 -4
  47. package/dist/components/Filter/Filter.js +3 -3
  48. package/dist/components/Filter/components/FilterResetButton.js +3 -3
  49. package/dist/components/Filter/components/FilterSearch.js +3 -3
  50. package/dist/components/Filter/index.js +1 -1
  51. package/dist/components/Form/Form.js +1 -1
  52. package/dist/components/Form/FormField/FormField.js +3 -3
  53. package/dist/components/Form/FormField/FormFieldset.js +3 -3
  54. package/dist/components/Form/HookForm/HookForm.js +2 -2
  55. package/dist/components/Form/components/FormValidationSummary.js +1 -1
  56. package/dist/components/Form/index.js +1 -1
  57. package/dist/components/Hide/Hide.js +2 -2
  58. package/dist/components/Hide/helpers/composeHideClasses.js +5 -5
  59. package/dist/components/Hide/index.js +1 -1
  60. package/dist/components/Icon/Icon.js +3 -3
  61. package/dist/components/Icon/index.js +1 -1
  62. package/dist/components/Inline/Inline.js +3 -3
  63. package/dist/components/Inline/index.js +1 -1
  64. package/dist/components/Input/ClearButton/ClearButton.js +1 -1
  65. package/dist/components/Input/Input.js +3 -3
  66. package/dist/components/Input/InputBase/InputBase.js +2 -2
  67. package/dist/components/Input/index.js +1 -1
  68. package/dist/components/InputCurrency/InputCurrency.js +1 -1
  69. package/dist/components/InputCurrency/index.js +1 -1
  70. package/dist/components/Label/LabelBase/LabelBase.js +2 -2
  71. package/dist/components/Menu/MenuDivider/MenuDivider.js +3 -3
  72. package/dist/components/Menu/MenuHeading/MenuHeading.js +3 -3
  73. package/dist/components/Menu/MenuItem/MenuItem.js +1 -1
  74. package/dist/components/Menu/MenuItem/hooks/useMenuItemButtonProps.js +2 -2
  75. package/dist/components/Menu/MenuItem/hooks/useMenuItemComposite.js +1 -1
  76. package/dist/components/Menu/MenuText/MenuText.js +4 -4
  77. package/dist/components/Menu/helpers/mapMenuItems.js +1 -1
  78. package/dist/components/Menu/hooks/useMenuStyles.js +4 -4
  79. package/dist/components/Menu/index.js +1 -1
  80. package/dist/components/Modal/Modal.js +2 -2
  81. package/dist/components/Modal/index.js +1 -1
  82. package/dist/components/Navbar/Navbar.js +3 -3
  83. package/dist/components/Navbar/components/HomeLinkContent.js +2 -2
  84. package/dist/components/Navbar/components/LogoFromSrc.js +1 -1
  85. package/dist/components/Navbar/components/NavbarLogo.js +3 -3
  86. package/dist/components/Navbar/index.js +1 -1
  87. package/dist/components/Panel/Panel.js +1 -1
  88. package/dist/components/Placeholder/Placeholder.js +2 -2
  89. package/dist/components/Popover/InputPopover/InputPopover.js +2 -2
  90. package/dist/components/Popover/InputPopover/InputPopoverActivator.js +1 -1
  91. package/dist/components/Popover/Popover.js +2 -2
  92. package/dist/components/Popover/components/PopoverActivator.js +2 -2
  93. package/dist/components/Popover/components/PopoverContent.js +2 -2
  94. package/dist/components/Popover/helpers/handlePopoverTabKey.js +1 -1
  95. package/dist/components/Progress/Progress.js +2 -2
  96. package/dist/components/Radio/Radio.js +2 -2
  97. package/dist/components/Radio/helpers/mapRadioGroupOptions.js +1 -1
  98. package/dist/components/Radio/index.js +1 -1
  99. package/dist/components/RadioGroup/RadioGroup.js +4 -4
  100. package/dist/components/Readonly/Readonly.js +4 -4
  101. package/dist/components/Readonly/index.js +1 -1
  102. package/dist/components/RichSelect/RichSelect.js +2 -2
  103. package/dist/components/RichSelect/SelectBody/SelectBody.js +5 -5
  104. package/dist/components/RichSelect/SelectCreate/SelectCreate.js +3 -3
  105. package/dist/components/RichSelect/SelectHeading/SelectHeading.js +3 -3
  106. package/dist/components/RichSelect/SelectLabel/SelectLabel.js +2 -2
  107. package/dist/components/RichSelect/SelectMenu/SelectMenu.js +3 -3
  108. package/dist/components/RichSelect/SelectMenu/SelectMenuItem.js +3 -3
  109. package/dist/components/RichSelect/SelectSearch/SelectSearch.js +3 -3
  110. package/dist/components/RichSelect/SelectSearchInput/SelectSearchInput.js +2 -2
  111. package/dist/components/RichSelect/SelectTags/SelectTags.js +3 -3
  112. package/dist/components/RichSelect/components/SelectActivator.js +1 -1
  113. package/dist/components/RichSelect/components/SelectOptions.js +3 -3
  114. package/dist/components/RichSelect/index.js +1 -1
  115. package/dist/components/Row/Row.js +3 -3
  116. package/dist/components/Row/index.js +1 -1
  117. package/dist/components/Select/Select.js +3 -3
  118. package/dist/components/Select/components/SelectControl.js +2 -2
  119. package/dist/components/Select/components/SelectReadonly.js +3 -3
  120. package/dist/components/Select/helpers/mapSelectOptions.js +1 -1
  121. package/dist/components/Select/helpers/nodesToSelectOptions.js +1 -1
  122. package/dist/components/Select/index.js +1 -1
  123. package/dist/components/Skeleton/Skeleton.js +3 -3
  124. package/dist/components/SkipLink/SkipLink.js +2 -2
  125. package/dist/components/Slideout/Slideout.js +2 -2
  126. package/dist/components/Slideout/components/SlideoutInner.js +2 -2
  127. package/dist/components/Slideout/index.js +1 -1
  128. package/dist/components/Slider/Slider.js +3 -3
  129. package/dist/components/Slider/components/SliderTicks.js +2 -2
  130. package/dist/components/Slider/index.js +1 -1
  131. package/dist/components/Spinner/Spinner.js +2 -2
  132. package/dist/components/Spinner/index.js +1 -1
  133. package/dist/components/Stack/Stack.js +1 -1
  134. package/dist/components/TabSet/Tab/Tab.js +2 -2
  135. package/dist/components/TabSet/TabSet.js +2 -2
  136. package/dist/components/TabSet/components/TabSetItem.js +1 -1
  137. package/dist/components/Table/Table.js +3 -3
  138. package/dist/components/Table/TableBody/TableBody.js +16 -16
  139. package/dist/components/Table/components/TableEmpty.js +1 -1
  140. package/dist/components/Table/components/TableHeader.js +1 -1
  141. package/dist/components/Table/components/TableHeaderCell.js +2 -2
  142. package/dist/components/Table/components/TableSortButton.js +4 -4
  143. package/dist/components/Table/hooks/useIDSTableColumnStyles.js +2 -2
  144. package/dist/components/Table/index.js +1 -1
  145. package/dist/components/Tag/Tag.js +2 -2
  146. package/dist/components/Tag/TagInput/TagInput.js +1 -1
  147. package/dist/components/Tag/components/TagListInput/TagListInput.js +2 -2
  148. package/dist/components/Tag/index.js +1 -1
  149. package/dist/components/Text/Text.js +1 -1
  150. package/dist/components/Toaster/Toast/Toast.js +2 -2
  151. package/dist/components/Toaster/Toast/ToastAnimated.js +2 -2
  152. package/dist/components/Toaster/Toast/ToastIcon.js +1 -1
  153. package/dist/components/Toaster/Toaster.js +3 -3
  154. package/dist/components/Toaster/ToasterProvider.js +1 -1
  155. package/dist/components/Toaster/hooks/useToaster.js +1 -1
  156. package/dist/components/Toaster/index.js +1 -1
  157. package/dist/components/Toggle/Toggle.js +4 -4
  158. package/dist/components/Tooltip/Tooltip.js +2 -2
  159. package/dist/components/ValidationMessage/ValidationBase/ValidationBase.js +2 -2
  160. package/dist/components/ValidationMessage/ValidationSummary/ValidationSummary.js +2 -2
  161. package/dist/constants.js +1 -1
  162. package/dist/fuzzysort-CuIReeYY.js +393 -0
  163. package/dist/helpers/label-value/getQueryRangeExclusive.js +1 -1
  164. package/dist/helpers/label-value/highlightQueryInLabel.js +1 -1
  165. package/dist/helpers/label-value/searchLabelValues.js +1 -1
  166. package/dist/index-Cu0xwYjD.js +42 -0
  167. package/dist/main.js +308 -309
  168. package/dist/patterns/Loading/Loading.js +3 -4
  169. package/dist/patterns/Loading/components/ComponentLoading.js +3 -3
  170. package/dist/patterns/Loading/components/DefaultLoading.js +4 -4
  171. package/dist/patterns/Loading/components/PageLoading.js +4 -4
  172. package/dist/patterns/Loading/components/StartUpLoading.js +9 -105
  173. package/dist/patterns/Loading/components/ValidateLoading.js +3 -3
  174. package/dist/patterns/Loading/hooks/useShouldRenderLoading.js +15 -19
  175. package/dist/patterns/Loading/index.js +2 -3
  176. package/dist/src/components/RichSelect/RichSelect.types.d.ts +0 -8
  177. package/dist/src/patterns/Loading/Loading.d.ts +2 -7
  178. package/dist/src/patterns/Loading/components/StartUpLoading.d.ts +1 -1
  179. package/dist/src/patterns/Loading/hooks/useShouldRenderLoading.d.ts +1 -2
  180. package/dist/src/patterns/Loading/index.d.ts +0 -1
  181. package/dist/style.css +1 -1
  182. package/dist/{useIDSButtonGroupItem-Y0ZSkNW8.js → useIDSButtonGroupItem-Dzgv35ni.js} +2 -2
  183. package/package.json +10 -11
  184. package/dist/Loading.module-C58kTwE4.js +0 -13
  185. package/dist/LoadingSuspense-CjQp8lLW.js +0 -5683
  186. package/dist/LogoFromSrc-KxC2Gztm.js +0 -59
  187. package/dist/MenuItem.module-3aqP1ZMw.js +0 -24
  188. package/dist/Popover.module-CLIdWyZD.js +0 -11
  189. package/dist/TabSet.module-DGDICWMf.js +0 -13
  190. package/dist/Table.module-Co33h7CZ.js +0 -32
  191. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  192. package/dist/fuzzysort-eoXOpoo6.js +0 -395
  193. package/dist/index-2QXL0WYc.js +0 -45
  194. package/dist/patterns/Loading/LoadingSuspense.js +0 -7
  195. package/dist/patterns/Loading/components/LongLoading.js +0 -132
  196. package/dist/patterns/Loading/hooks/useEstimatedProgressValue.js +0 -29
  197. package/dist/patterns/Loading/hooks/useShowIndicator.js +0 -20
  198. package/dist/patterns/Loading/hooks/useSuspenseResource.js +0 -27
  199. package/dist/src/patterns/Loading/LoadingSuspense.d.ts +0 -73
  200. package/dist/src/patterns/Loading/components/LongLoading.d.ts +0 -60
  201. package/dist/src/patterns/Loading/hooks/useEstimatedProgressValue.d.ts +0 -11
  202. package/dist/src/patterns/Loading/hooks/useShowIndicator.d.ts +0 -9
  203. package/dist/src/patterns/Loading/hooks/useSuspenseResource.d.ts +0 -17
@@ -1,8 +1,7 @@
1
1
  import "react/jsx-runtime";
2
- import "./components/StartUpLoading.js";
3
- import { Q as s } from "../../LoadingSuspense-CjQp8lLW.js";
2
+ import "../../StartUpLoading-DpO7RfDY.js";
3
+ import { Q as t } from "../../Loading-CZ64hUvP.js";
4
4
  import "./hooks/useShouldRenderLoading.js";
5
- import "./components/LongLoading.js";
6
5
  export {
7
- s as IressLoading
6
+ t as IressLoading
8
7
  };
@@ -1,9 +1,9 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../components/Skeleton/Skeleton.js";
4
- import { ah as e } from "../../../LoadingSuspense-CjQp8lLW.js";
5
- import "../../../Loading.module-C58kTwE4.js";
6
- import "../../../index-2QXL0WYc.js";
4
+ import { ag as e } from "../../../Loading-CZ64hUvP.js";
5
+ import "../../../StartUpLoading-DpO7RfDY.js";
6
+ import "../../../index-Cu0xwYjD.js";
7
7
  import "../../../components/Text/Text.js";
8
8
  export {
9
9
  e as ComponentLoading
@@ -1,9 +1,9 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { af as f } from "../../../LoadingSuspense-CjQp8lLW.js";
3
+ import { ae as e } from "../../../Loading-CZ64hUvP.js";
4
4
  import "../../../components/Text/Text.js";
5
- import "../../../index-2QXL0WYc.js";
6
- import "../../../Loading.module-C58kTwE4.js";
5
+ import "../../../index-Cu0xwYjD.js";
6
+ import "../../../StartUpLoading-DpO7RfDY.js";
7
7
  export {
8
- f as DefaultLoading
8
+ e as DefaultLoading
9
9
  };
@@ -3,12 +3,12 @@ import "react";
3
3
  import "../../../components/Stack/Stack.js";
4
4
  import "../../../components/Skeleton/Skeleton.js";
5
5
  import "../../../components/Container/Container.js";
6
- import { ai as s } from "../../../LoadingSuspense-CjQp8lLW.js";
6
+ import { ah as n } from "../../../Loading-CZ64hUvP.js";
7
7
  import "../../../components/Col/Col.js";
8
8
  import "../../../components/Divider/Divider.js";
9
9
  import "../../../components/Card/Card.js";
10
- import "../../../index-2QXL0WYc.js";
11
- import "../../../Loading.module-C58kTwE4.js";
10
+ import "../../../index-Cu0xwYjD.js";
11
+ import "../../../StartUpLoading-DpO7RfDY.js";
12
12
  export {
13
- s as PageLoading
13
+ n as PageLoading
14
14
  };
@@ -1,107 +1,11 @@
1
- import { jsx as a, jsxs as w } from "react/jsx-runtime";
2
- import { IressStack as j } from "../../../components/Stack/Stack.js";
3
- import { useState as y, useEffect as u, useRef as I, useMemo as T } from "react";
4
- import { IressProgress as k } from "../../../components/Progress/Progress.js";
5
- import { c as M } from "../../../index-2QXL0WYc.js";
6
- import { l as n } from "../../../Loading.module-C58kTwE4.js";
7
- import { IressText as v } from "../../../components/Text/Text.js";
8
- import { propagateTestid as O } from "../../../helpers/utility/propagateTestid.js";
9
- import { useShowIndicator as E } from "../hooks/useShowIndicator.js";
10
- import { useEstimatedProgressValue as R } from "../hooks/useEstimatedProgressValue.js";
11
- const H = "ids-start-up-loading--root-v5131", P = "ids-start-up-loading--progress-v5131", h = {
12
- root: H,
13
- progress: P
14
- }, U = ({
15
- children: g,
16
- messageList: e,
17
- progressValue: c,
18
- screenReaderText: s,
19
- show: t,
20
- ...l
21
- }) => {
22
- const o = I(null), d = T(() => {
23
- const r = Object.keys(e ?? {}).filter(
24
- (f) => Number(f) <= c
25
- );
26
- return r[r.length - 1];
27
- }, [e, c]);
28
- u(() => {
29
- o.current && (o.current.classList.remove(n["slide-next"]), o.current.offsetHeight, o.current.classList.add(n["slide-next"]));
30
- }, [d]);
31
- const p = t ? g : s;
32
- return /* @__PURE__ */ a(
33
- v,
34
- {
35
- align: "center",
36
- className: M(h.message, n["fade-in"], {
37
- [n["fade-in--active"]]: t
38
- }),
39
- ...l,
40
- children: /* @__PURE__ */ a("div", { ref: o, children: d ? e == null ? void 0 : e[Number(d)] : p })
41
- }
42
- );
43
- }, K = ({
44
- className: g,
45
- children: e = /* @__PURE__ */ a(v, { mode: "muted", children: "One moment please..." }),
46
- "data-testid": c,
47
- estimatedFinishTime: s = 3e3,
48
- loaded: t,
49
- messageList: l,
50
- progress: o,
51
- renderProgress: d = (m) => /* @__PURE__ */ a(k, { ...m }),
52
- screenReaderText: p = "Loading...",
53
- timeout: r,
54
- ...f
55
- }) => {
56
- const m = E(
57
- t,
58
- r == null ? void 0 : r.progress,
59
- r == null ? void 0 : r.loaded
60
- ), [x, N] = y(!1), S = Math.max(...Object.keys(l ?? {}).map(Number)) + 500, i = R(
61
- s,
62
- t,
63
- o,
64
- S
65
- );
66
- return u(() => {
67
- const b = setTimeout(
68
- () => N(!0),
69
- (r == null ? void 0 : r.message) ?? 2500
70
- );
71
- return () => {
72
- clearTimeout(b);
73
- };
74
- }, [r == null ? void 0 : r.message]), /* @__PURE__ */ a(
75
- "div",
76
- {
77
- "data-testid": c,
78
- className: M(h.root, g, n["fade-in"], {
79
- [n["fade-in--active"]]: m
80
- }),
81
- ...f,
82
- children: /* @__PURE__ */ w(j, { gutter: "md", ...f, children: [
83
- d({
84
- className: h.progress,
85
- min: 0,
86
- max: s,
87
- value: Math.min(i, s),
88
- sectionTitle: `${Math.min(i, s) / s * 100}% loaded`
89
- }),
90
- /* @__PURE__ */ a(
91
- U,
92
- {
93
- "data-testid": O(c, "message"),
94
- messageList: l,
95
- progressValue: i,
96
- screenReaderText: p,
97
- show: x,
98
- children: e
99
- }
100
- )
101
- ] })
102
- }
103
- );
104
- };
1
+ import "react/jsx-runtime";
2
+ import "../../../components/Stack/Stack.js";
3
+ import "react";
4
+ import "../../../components/Progress/Progress.js";
5
+ import "../../../index-Cu0xwYjD.js";
6
+ import { S as e } from "../../../StartUpLoading-DpO7RfDY.js";
7
+ import "../../../components/Text/Text.js";
8
+ import "../../../helpers/utility/propagateTestid.js";
105
9
  export {
106
- K as StartUpLoading
10
+ e as StartUpLoading
107
11
  };
@@ -1,9 +1,9 @@
1
1
  import "react/jsx-runtime";
2
- import { ag as d } from "../../../LoadingSuspense-CjQp8lLW.js";
3
- import "../../../index-2QXL0WYc.js";
2
+ import { af as d } from "../../../Loading-CZ64hUvP.js";
3
+ import "../../../index-Cu0xwYjD.js";
4
4
  import "react";
5
5
  import "../../../components/Text/Text.js";
6
- import "../../../Loading.module-C58kTwE4.js";
6
+ import "../../../StartUpLoading-DpO7RfDY.js";
7
7
  export {
8
8
  d as ValidateLoading
9
9
  };
@@ -1,24 +1,20 @@
1
- import { useState as i, useRef as m, useEffect as f } from "react";
2
- const p = (e, o = 500, r = 250, c = 250) => {
3
- const [s, t] = i(r === 0), n = m(0);
4
- return f(() => {
5
- const u = setTimeout(() => {
6
- e || (t(!0), n.current = performance.now());
7
- }, r);
8
- return () => clearTimeout(u);
9
- }, [r, e]), f(() => {
1
+ import { useState as c, useEffect as o } from "react";
2
+ const m = (e, r = 500, u = 500) => {
3
+ const [i, n] = c(!1);
4
+ return o(() => {
5
+ const t = setTimeout(() => {
6
+ e || n(!0);
7
+ }, u);
8
+ return () => clearTimeout(t);
9
+ }, [u, e]), o(() => {
10
10
  if (e !== !0)
11
11
  return;
12
- if (!n.current || performance.now() - n.current < c) {
13
- t(!1);
14
- return;
15
- }
16
- const u = setTimeout(() => {
17
- t(!1);
18
- }, o);
19
- return () => clearTimeout(u);
20
- }, [e, o, c]), e !== !0 || s;
12
+ const t = setTimeout(() => {
13
+ n(!1);
14
+ }, r);
15
+ return () => clearTimeout(t);
16
+ }, [e, r]), e !== !0 || i;
21
17
  };
22
18
  export {
23
- p as useShouldRenderLoading
19
+ m as useShouldRenderLoading
24
20
  };
@@ -1,5 +1,4 @@
1
- import { Q as a, R as o } from "../../LoadingSuspense-CjQp8lLW.js";
1
+ import { Q as s } from "../../Loading-CZ64hUvP.js";
2
2
  export {
3
- a as IressLoading,
4
- o as IressLoadingSuspense
3
+ s as IressLoading
5
4
  };
@@ -74,14 +74,6 @@ export interface IressRichSelectProps extends Omit<AutocompleteSearchHookProps,
74
74
  */
75
75
  width?: FormElementWidths;
76
76
  virtualFocus?: boolean;
77
- /**
78
- * Header showed in option panel when expanded.
79
- */
80
- header?: ReactNode;
81
- /**
82
- * Footer showed in option panel when expanded.
83
- */
84
- footer?: ReactNode;
85
77
  }
86
78
  export interface IressSelectActivatorProps {
87
79
  /**
@@ -3,8 +3,7 @@ import { DefaultLoadingProps } from './components/DefaultLoading';
3
3
  import { ValidateLoadingProps } from './components/ValidateLoading';
4
4
  import { ComponentLoadingProps } from './components/ComponentLoading';
5
5
  import { PageLoadingProps } from './components/PageLoading';
6
- import { LongLoadingProps } from './components/LongLoading';
7
- export type IressLoadingProps = StartUpLoadingProps | ValidateLoadingProps | PageLoadingProps | ComponentLoadingProps | LongLoadingProps | DefaultLoadingProps;
6
+ export type IressLoadingProps = StartUpLoadingProps | ValidateLoadingProps | PageLoadingProps | ComponentLoadingProps | DefaultLoadingProps;
8
7
  /**
9
8
  * A pattern component that has in-built loading states for different contexts, designed to provide a consistent user experience across Iress applications.
10
9
  *
@@ -13,10 +12,6 @@ export type IressLoadingProps = StartUpLoadingProps | ValidateLoadingProps | Pag
13
12
  * - `component`: Loading pattern for a component that is expected to take some time to load, but has content around it that can be loaded before it (hence not part of page pattern). It also supports updating the state of the component via a slightly different UI. Examples:
14
13
  * - Charts that can be updated in real-time
15
14
  * - Tables that load many records and may update in real-time
16
- * - `long`: Loading pattern for a component that is expected to take longer than 10 seconds to load. It displays a checklist of items that are being loaded. Examples:
17
- * - Calling multiple slow APIs to load data
18
- * - Loading results from AI
19
- * - Processing a large amount of data as a queue (eg. bulk uploading or large media file uploads)
20
15
  * - `page`: Loading pattern for a page, with out-of-the-box skeleton templates. Examples:
21
16
  * - Dashboard page with multiple filters/panels
22
17
  * - Search page with multiple filters and search results
@@ -43,5 +38,5 @@ export declare const IressLoading: {
43
38
  * @param delay - Once a component has loaded, how long should the loading indicator be displayed for.
44
39
  * @returns A boolean value that determines whether the `IressLoading` component is safe to be removed.
45
40
  */
46
- shouldRender: (isLoaded: boolean, delay?: number, startFrom?: number, avoidDelayTimeout?: number) => boolean;
41
+ shouldRender: (isLoaded: boolean, delay?: number, startFrom?: number) => boolean;
47
42
  };
@@ -8,7 +8,7 @@ export interface StartUpLoadingProps extends IressHTMLAttributes {
8
8
  */
9
9
  children?: ReactNode;
10
10
  /**
11
- * Estimated time in milliseconds for the loading to finish.
11
+ * Estimated time in milliseconds for the loading to finish. If set to `0` or something larger than `60000` (1 minute), will show a spinner.
12
12
  * @default 3000
13
13
  */
14
14
  estimatedFinishTime?: number;
@@ -4,7 +4,6 @@
4
4
  * @param isLoaded - A boolean value that determines if the component waiting to be loaded has finished loading.
5
5
  * @param delay - Once a component has loaded, how long should the loading indicator be displayed for. This is useful to allow the loading indicator to animate out.
6
6
  * @param startFrom - If a component is still loading after this time in milliseconds, you should show the loading message. Default is 500ms, meaning a user will not even see the loading indicator if the page loads before this time.
7
- * @param avoidDelayTimeout - If the component has a start up animation, this is the time in milliseconds that we will avoid the delay timeout for. This is useful to speed up the loading indicator removal if the component loaded before the first half of an animation finishes.
8
7
  * @returns A boolean value that determines whether the `IressLoading` component should be rendered.
9
8
  */
10
- export declare const useShouldRenderLoading: (isLoaded: boolean, delay?: number, startFrom?: number, avoidDelayTimeout?: number) => boolean;
9
+ export declare const useShouldRenderLoading: (isLoaded: boolean, delay?: number, startFrom?: number) => boolean;
@@ -1,2 +1 @@
1
1
  export * from './Loading';
2
- export * from './LoadingSuspense';