@ilo-org/react 0.18.5 → 0.19.0
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/lib/cjs/_store/Accordion-entry-C81QOLKD.js +1 -0
- package/lib/cjs/_store/Breadcrumb-chunk-BGt10GMr.js +1 -0
- package/lib/cjs/_store/{Breadcrumb-entry-NNucl1rR.js → Breadcrumb-entry-BcWOPogy.js} +1 -1
- package/lib/cjs/_store/{Checkbox-chunk-B7P6WeNp.js → Checkbox-chunk-CfN7137m.js} +1 -1
- package/lib/cjs/_store/{Checkbox-entry-Cpcx9EKD.js → Checkbox-entry-CLjOEGyj.js} +1 -1
- package/lib/cjs/_store/ContextMenu-chunk-Ch5u_T0d.js +1 -0
- package/lib/cjs/_store/{ContextMenu-entry-TCdyzIRt.js → ContextMenu-entry-UwZc4yU3.js} +1 -1
- package/lib/cjs/_store/{DatePicker-chunk-DMvnrakE.js → DatePicker-chunk-7_96tPkC.js} +1 -1
- package/lib/cjs/_store/{DatePicker-entry-CweKIj3U.js → DatePicker-entry-P07fWcN3.js} +1 -1
- package/lib/cjs/_store/{Dropdown-chunk--_pVhTcV.js → Dropdown-chunk-Bn-MFT6c.js} +1 -1
- package/lib/cjs/_store/{Dropdown-entry-BcBG6Zg7.js → Dropdown-entry-BBiYoQa0.js} +1 -1
- package/lib/cjs/_store/{Fieldset-chunk-BsOPbe_a.js → Fieldset-chunk-C3itoJam.js} +1 -1
- package/lib/cjs/_store/{Fieldset-entry-BUyKAdkn.js → Fieldset-entry-DyHl-Q8i.js} +1 -1
- package/lib/cjs/_store/{FileUpload-chunk-CmHP-E54.js → FileUpload-chunk-BhGfPLEt.js} +1 -1
- package/lib/cjs/_store/{FileUpload-entry-DKzm4WvO.js → FileUpload-entry-BdKRo1oJ.js} +1 -1
- package/lib/cjs/_store/{Footer-chunk-CH7s6ZhB.js → Footer-chunk-DK416bgz.js} +1 -1
- package/lib/cjs/_store/{Footer-entry-D2QyYI38.js → Footer-entry-CI7x98xM.js} +1 -1
- package/lib/cjs/_store/{FormControl-chunk-08fp5TeU.js → FormControl-chunk-CxP6djqq.js} +1 -1
- package/lib/cjs/_store/{FormControl-entry-DN7TYc37.js → FormControl-entry-BgMV944-.js} +1 -1
- package/lib/cjs/_store/Hero-chunk-DiUWCO_D.js +1 -0
- package/lib/cjs/_store/Hero-entry-AK8D7qYH.js +1 -0
- package/lib/cjs/_store/HeroCard-chunk-CCNjdbBJ.js +1 -0
- package/lib/cjs/_store/HeroCard-entry-BGUHZKKh.js +1 -0
- package/lib/cjs/_store/{Input-chunk-DIcDfISq.js → Input-chunk-DVXD2O4Z.js} +1 -1
- package/lib/cjs/_store/{Input-entry-Cq1G_bNN.js → Input-entry-CthONy5R.js} +1 -1
- package/lib/cjs/_store/LocalNav-entry-SfLDP8BS.js +1 -0
- package/lib/cjs/_store/Logo-entry-Dit3r-4I.js +1 -0
- package/lib/cjs/_store/Navigation-entry-C6dI5Dpf.js +1 -0
- package/lib/cjs/_store/{NumberPicker-chunk-CaQYVhyz.js → NumberPicker-chunk-CjEYQYj0.js} +1 -1
- package/lib/cjs/_store/{NumberPicker-entry-BEqwzCKS.js → NumberPicker-entry-DQGcCMGe.js} +1 -1
- package/lib/cjs/_store/{Radio-chunk-EK2nKEND.js → Radio-chunk-LFOxcvur.js} +1 -1
- package/lib/cjs/_store/{Radio-entry-M4dL4mjL.js → Radio-entry-BmJSr7Sk.js} +1 -1
- package/lib/cjs/_store/{SearchField-chunk-DRdhLGEo.js → SearchField-chunk-BkrZKT5S.js} +1 -1
- package/lib/cjs/_store/{SearchField-entry-D9zx3U13.js → SearchField-entry-DoVeY_de.js} +1 -1
- package/lib/cjs/_store/SocialMedia-chunk-jDoYRhrm.js +1 -0
- package/lib/cjs/_store/SocialMedia-entry-tsTF-Jtj.js +1 -0
- package/lib/cjs/_store/Tag-chunk-B-UjKiml.js +1 -0
- package/lib/cjs/_store/Tag-entry-Dv_p5zCg.js +1 -0
- package/lib/cjs/_store/{TextInput-entry-Bl0sZdpl.js → TextInput-entry-BOVt2TDi.js} +1 -1
- package/lib/cjs/_store/{Textarea-chunk-3fPk9MqI.js → Textarea-chunk-B13VaFl6.js} +1 -1
- package/lib/cjs/_store/{Textarea-entry-Ac7gdvET.js → Textarea-entry-Byp4EYD1.js} +1 -1
- package/lib/cjs/_store/{Toggle-entry-s05NRKOs.js → Toggle-entry-BZ_sk4pV.js} +1 -1
- package/lib/cjs/_store/Tooltip-chunk-Ca67o441.js +1 -0
- package/lib/cjs/_store/{Tooltip-entry--csXZiQZ.js → Tooltip-entry-BlOyvu7-.js} +1 -1
- package/lib/cjs/_store/components-entry-CDxRih4j.js +1 -0
- package/lib/cjs/index.js +1 -1
- package/lib/esm/_store/Accordion-entry-B-0bgUhR.js +85 -0
- package/lib/esm/_store/Breadcrumb-chunk-DcsXzPvT.js +121 -0
- package/lib/esm/_store/Breadcrumb-entry-B7kN28qm.js +4 -0
- package/lib/esm/_store/{Checkbox-chunk-DJDgykAw.js → Checkbox-chunk-CdjFGjiG.js} +2 -2
- package/lib/esm/_store/{Checkbox-entry-CfjxZKrK.js → Checkbox-entry-4xxjRXFu.js} +1 -1
- package/lib/esm/_store/ContextMenu-chunk-Zy9igFLz.js +30 -0
- package/lib/esm/_store/ContextMenu-entry-C_rAD9kF.js +4 -0
- package/lib/esm/_store/{DatePicker-chunk-10fIc74h.js → DatePicker-chunk-BoTriI-e.js} +1 -1
- package/lib/esm/_store/DatePicker-entry-B5aB0CYY.js +4 -0
- package/lib/esm/_store/{Dropdown-chunk-B6G7DnYr.js → Dropdown-chunk-DxXjnNBq.js} +1 -1
- package/lib/esm/_store/Dropdown-entry-CdssOqL2.js +4 -0
- package/lib/esm/_store/{Fieldset-chunk-PK4HqNv_.js → Fieldset-chunk-udvv8dML.js} +1 -1
- package/lib/esm/_store/Fieldset-entry--0tR2-K1.js +4 -0
- package/lib/esm/_store/{FileUpload-chunk-dFon8lP2.js → FileUpload-chunk-Cdl4F5zH.js} +1 -1
- package/lib/esm/_store/FileUpload-entry-B0SbE0sW.js +4 -0
- package/lib/esm/_store/{Footer-chunk-DFJ5AWCV.js → Footer-chunk-Cfulou_M.js} +1 -1
- package/lib/esm/_store/Footer-entry-xjy-auY5.js +4 -0
- package/lib/esm/_store/{FormControl-chunk-D_3t65GG.js → FormControl-chunk-C2LR6MBZ.js} +1 -1
- package/lib/esm/_store/FormControl-entry-Dy_NPcKM.js +4 -0
- package/lib/esm/_store/Hero-chunk-swloBIGl.js +67 -0
- package/lib/esm/_store/Hero-entry-DxQnc1Ze.js +4 -0
- package/lib/esm/_store/HeroCard-chunk-fz3EIUiE.js +47 -0
- package/lib/esm/_store/HeroCard-entry-Cp6p3FnU.js +4 -0
- package/lib/esm/_store/{Input-chunk-p-3N8OO4.js → Input-chunk-DT_YEVSQ.js} +1 -1
- package/lib/esm/_store/Input-entry-Dt6Qaxj6.js +4 -0
- package/lib/esm/_store/LocalNav-entry-DydB3k67.js +4 -0
- package/lib/esm/_store/{Logo-chunk-C2BIhfeP.js → Logo-entry-sjwkMeb-.js} +19 -19
- package/lib/esm/_store/Navigation-entry-BLC2KoMs.js +4 -0
- package/lib/esm/_store/{NumberPicker-chunk-CsDLNdop.js → NumberPicker-chunk-Z_TIIuxb.js} +1 -1
- package/lib/esm/_store/NumberPicker-entry-BaKtr4-S.js +4 -0
- package/lib/esm/_store/{Radio-chunk-CZnGQoYJ.js → Radio-chunk-DDMoE7Le.js} +2 -2
- package/lib/esm/_store/{Radio-entry-DhmJk5Et.js → Radio-entry-BzlGsY14.js} +1 -1
- package/lib/esm/_store/{SearchField-chunk-Bn5RXiiY.js → SearchField-chunk-DfXCHmW0.js} +1 -1
- package/lib/esm/_store/SearchField-entry-qYGaidSz.js +4 -0
- package/lib/esm/_store/SocialMedia-chunk-B0IPGaVf.js +62 -0
- package/lib/esm/_store/SocialMedia-entry-Dq52Wl-z.js +4 -0
- package/lib/esm/_store/Tag-chunk-6_6Oh_I3.js +68 -0
- package/lib/esm/_store/Tag-entry-B40IGpPj.js +48 -0
- package/lib/esm/_store/{TextInput-entry-BTZVvumC.js → TextInput-entry-DIPdoofw.js} +1 -1
- package/lib/esm/_store/{Textarea-chunk-BCW6ZV8n.js → Textarea-chunk-ClZt7jmS.js} +1 -1
- package/lib/esm/_store/{Textarea-entry-CFe0s_hM.js → Textarea-entry-BvVP8AXU.js} +1 -1
- package/lib/esm/_store/{Toggle-entry-CehJKItc.js → Toggle-entry-q2VLr4yf.js} +1 -1
- package/lib/esm/_store/{Tooltip-chunk-CPT-dPDc.js → Tooltip-chunk-EJOnwIYn.js} +362 -363
- package/lib/esm/_store/Tooltip-entry-Dz5aVKCZ.js +4 -0
- package/lib/esm/_store/components-entry-BW50D0h0.js +86 -0
- package/lib/esm/index.js +76 -77
- package/lib/styles/components/breadcrumb.css +1 -1
- package/lib/styles/components/factlistcard.css +1 -1
- package/lib/styles/components/list.css +1 -1
- package/lib/styles/components/richtext.css +1 -1
- package/lib/styles/global.css.map +1 -1
- package/lib/styles/index.css +2 -2
- package/lib/styles/index.css.map +1 -1
- package/lib/styles/monorepo.css +2 -2
- package/lib/styles/monorepo.css.map +1 -1
- package/lib/types/components/Accordion/Accordion.d.ts +35 -4
- package/lib/types/components/Accordion/AccordionItem.d.ts +15 -4
- package/lib/types/components/Accordion/index.d.ts +4 -4
- package/lib/types/components/Breadcrumb/Breadcrumb.d.ts +17 -4
- package/lib/types/components/Breadcrumb/BreadcrumbItem.d.ts +20 -0
- package/lib/types/components/Breadcrumb/index.d.ts +1 -1
- package/lib/types/components/ContextMenu/ContextMenu.d.ts +27 -5
- package/lib/types/components/ContextMenu/index.d.ts +1 -1
- package/lib/types/components/Hero/Hero.d.ts +53 -4
- package/lib/types/components/Hero/index.d.ts +1 -2
- package/lib/types/components/{Hero/HeroCard.props.d.ts → HeroCard/HeroCard.d.ts} +4 -2
- package/lib/types/components/HeroCard/HeroCardTitle.d.ts +8 -0
- package/lib/types/components/HeroCard/index.d.ts +1 -0
- package/lib/types/components/LocalNav/LocalNav.props.d.ts +0 -10
- package/lib/types/components/Navigation/Navigation.props.d.ts +0 -13
- package/lib/types/components/SocialMedia/SocialMedia.d.ts +44 -3
- package/lib/types/components/SocialMedia/index.d.ts +1 -3
- package/lib/types/components/Tooltip/Tooltip.d.ts +34 -4
- package/lib/types/components/Tooltip/index.d.ts +1 -1
- package/lib/types/components/index.d.ts +2 -1
- package/package.json +4 -4
- package/lib/cjs/_store/Accordion-chunk-Dj1LluWV.js +0 -1
- package/lib/cjs/_store/Accordion-entry-BNfPKFuj.js +0 -1
- package/lib/cjs/_store/Breadcrumb-chunk-DvUpVY4l.js +0 -1
- package/lib/cjs/_store/ContextMenu-chunk-BegVo-Ry.js +0 -1
- package/lib/cjs/_store/Hero-chunk-BmAL9GMT.js +0 -1
- package/lib/cjs/_store/Hero-entry-6U1647te.js +0 -1
- package/lib/cjs/_store/LocalNav-chunk-CL0urssZ.js +0 -1
- package/lib/cjs/_store/LocalNav-entry-uEJTn_P0.js +0 -1
- package/lib/cjs/_store/Logo-chunk-Cl60tiPV.js +0 -1
- package/lib/cjs/_store/Logo-entry-ffqRpdCt.js +0 -1
- package/lib/cjs/_store/Navigation-chunk-CKk-EzZF.js +0 -1
- package/lib/cjs/_store/Navigation-entry-DukzIF80.js +0 -1
- package/lib/cjs/_store/SocialMedia-chunk-DrxlykT6.js +0 -1
- package/lib/cjs/_store/SocialMedia-entry-BQyxJpTO.js +0 -1
- package/lib/cjs/_store/Tag-chunk-CdVExQzv.js +0 -1
- package/lib/cjs/_store/Tag-entry-B5GoRJjK.js +0 -1
- package/lib/cjs/_store/Tooltip-chunk-Bh77DbOg.js +0 -1
- package/lib/cjs/_store/checkArrayDuplicates-chunk-Bqxwhc1q.js +0 -1
- package/lib/cjs/_store/components-entry-BLIKXStL.js +0 -1
- package/lib/esm/_store/Accordion-chunk-BawBOKZz.js +0 -113
- package/lib/esm/_store/Accordion-entry-C8JFNFFn.js +0 -7
- package/lib/esm/_store/Breadcrumb-chunk-CclNRjxd.js +0 -132
- package/lib/esm/_store/Breadcrumb-entry-Biundzlp.js +0 -4
- package/lib/esm/_store/ContextMenu-chunk-CkdC2iPF.js +0 -22
- package/lib/esm/_store/ContextMenu-entry-BkbaSgVR.js +0 -4
- package/lib/esm/_store/DatePicker-entry-Bu0S1bvg.js +0 -4
- package/lib/esm/_store/Dropdown-entry-CRDxMRpe.js +0 -4
- package/lib/esm/_store/Fieldset-entry-BmiHpIGy.js +0 -4
- package/lib/esm/_store/FileUpload-entry-uIvvAStY.js +0 -4
- package/lib/esm/_store/Footer-entry-BtbhEt-Y.js +0 -4
- package/lib/esm/_store/FormControl-entry-DODa4uyx.js +0 -4
- package/lib/esm/_store/Hero-chunk-AgDdKsJ4.js +0 -76
- package/lib/esm/_store/Hero-entry-CcnVmzHx.js +0 -5
- package/lib/esm/_store/Input-entry-DG2Mv1K2.js +0 -4
- package/lib/esm/_store/LocalNav-chunk-CC5KIqRP.js +0 -207
- package/lib/esm/_store/LocalNav-entry-BUHQT-D7.js +0 -4
- package/lib/esm/_store/Logo-entry-C3BaxfNe.js +0 -4
- package/lib/esm/_store/Navigation-chunk-BSoAdxZ6.js +0 -221
- package/lib/esm/_store/Navigation-entry-C-tonRpq.js +0 -4
- package/lib/esm/_store/NumberPicker-entry-BuxrmdUS.js +0 -4
- package/lib/esm/_store/SearchField-entry-BlnqYKjA.js +0 -4
- package/lib/esm/_store/SocialMedia-chunk-DdOAr_Gj.js +0 -32
- package/lib/esm/_store/SocialMedia-entry-BllaQbO-.js +0 -54
- package/lib/esm/_store/Tag-chunk-DG8gqUnh.js +0 -65
- package/lib/esm/_store/Tag-entry-BxKwoM37.js +0 -46
- package/lib/esm/_store/Tooltip-entry-cgQr1mHa.js +0 -4
- package/lib/esm/_store/checkArrayDuplicates-chunk-C7cf0TQw.js +0 -11
- package/lib/esm/_store/components-entry-3VBtJ0uk.js +0 -87
- package/lib/types/components/Accordion/Accordion.props.d.ts +0 -34
- package/lib/types/components/Accordion/AccordionButton.d.ts +0 -5
- package/lib/types/components/Accordion/AccordionButton.props.d.ts +0 -12
- package/lib/types/components/Accordion/AccordionCtx.d.ts +0 -5
- package/lib/types/components/Accordion/AccordionItem.props.d.ts +0 -22
- package/lib/types/components/Accordion/AccordionPanel.d.ts +0 -5
- package/lib/types/components/Accordion/AccordionPanel.props.d.ts +0 -22
- package/lib/types/components/Breadcrumb/Breadcrumb.props.d.ts +0 -32
- package/lib/types/components/ContextMenu/ContextMenu.props.d.ts +0 -24
- package/lib/types/components/Hero/Hero.props.d.ts +0 -52
- package/lib/types/components/Hero/HeroCard.d.ts +0 -5
- package/lib/types/components/SocialMedia/SocialMedia.props.d.ts +0 -42
- package/lib/types/components/Tooltip/Tooltip.props.d.ts +0 -33
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { A as e, a, b as t, c as s } from "./Accordion-chunk-BawBOKZz.js";
|
|
2
|
-
import { F as p } from "./Form-chunk-1a4awKWi.js";
|
|
3
|
-
import { C as f } from "./Collapse-chunk-CyOyOA2s.js";
|
|
4
|
-
import { E as n } from "./Empty-chunk-UEm5zVbe.js";
|
|
5
|
-
import { I as L } from "./Image-chunk-DGh-6cxv.js";
|
|
6
|
-
import { L as l } from "./Loading-chunk-BIJLAqk6.js";
|
|
7
|
-
import { L as T } from "./Radio-chunk-CZnGQoYJ.js";
|
|
8
|
-
import { T as P } from "./Tag-chunk-DG8gqUnh.js";
|
|
9
|
-
import { B as u } from "./Button-chunk-CTOnaHZ_.js";
|
|
10
|
-
import { C as N } from "./ContextMenu-chunk-CkdC2iPF.js";
|
|
11
|
-
import { F as A } from "./Fieldset-chunk-PK4HqNv_.js";
|
|
12
|
-
import { G as I } from "./GlobalProvider-chunk-nVdEz2_E.js";
|
|
13
|
-
import { N as H } from "./Notification-chunk-VfaNI3r9.js";
|
|
14
|
-
import { R as v } from "./ReadMore-chunk-DoptEIE4.js";
|
|
15
|
-
import { L as D } from "./Textarea-chunk-BCW6ZV8n.js";
|
|
16
|
-
import { C as M } from "./Callout-chunk-CsEfqAuS.js";
|
|
17
|
-
import { C as V } from "./Credit-chunk-BjaAFul8.js";
|
|
18
|
-
import { L as y } from "./FileUpload-chunk-dFon8lP2.js";
|
|
19
|
-
import { H as U } from "./Heading-chunk-CFEDmQeQ.js";
|
|
20
|
-
import { L as q } from "./Link-chunk-zt732cUC.js";
|
|
21
|
-
import { L as J } from "./NumberPicker-chunk-CsDLNdop.js";
|
|
22
|
-
import { R as Q } from "./RichText-chunk-BOMiyuNR.js";
|
|
23
|
-
import { T as X } from "./Tooltip-chunk-CPT-dPDc.js";
|
|
24
|
-
import { L as Z } from "./Checkbox-chunk-DJDgykAw.js";
|
|
25
|
-
import { L as $ } from "./DatePicker-chunk-10fIc74h.js";
|
|
26
|
-
import { H as ro } from "./Hero-chunk-AgDdKsJ4.js";
|
|
27
|
-
import { L as ao } from "./LinkList-chunk-Doq6Z7IG.js";
|
|
28
|
-
import { P as so } from "./Pagination-chunk-Ci7qN6no.js";
|
|
29
|
-
import { S as po } from "./SearchField-chunk-Bn5RXiiY.js";
|
|
30
|
-
import { V as fo } from "./Video-chunk-DAqwWSGg.js";
|
|
31
|
-
import { L as no } from "./Dropdown-chunk-B6G7DnYr.js";
|
|
32
|
-
import { I as Lo } from "./Icon-chunk-nLD8VsP5.js";
|
|
33
|
-
import { L as Co } from "./ListItem-chunk-CKnxZe3Y.js";
|
|
34
|
-
import { P as Fo } from "./Profile-chunk-Bsn46OaP.js";
|
|
35
|
-
import { T as bo } from "./TableOfContents-chunk-BXnS8D2s.js";
|
|
36
|
-
import { F as go } from "./Footer-chunk-DFJ5AWCV.js";
|
|
37
|
-
import { L as ko } from "./LocalNav-chunk-CC5KIqRP.js";
|
|
38
|
-
import { N as Bo } from "./Navigation-chunk-BSoAdxZ6.js";
|
|
39
|
-
import { B as Ro } from "./Breadcrumb-chunk-CclNRjxd.js";
|
|
40
|
-
import { T as ho } from "./Tabs-chunk-CpUcNAK9.js";
|
|
41
|
-
import { C as Go } from "./CardGroup-chunk-0V0yYua2.js";
|
|
42
|
-
export {
|
|
43
|
-
e as Accordion,
|
|
44
|
-
a as AccordionButton,
|
|
45
|
-
t as AccordionItem,
|
|
46
|
-
s as AccordionPanel,
|
|
47
|
-
Ro as Breadcrumb,
|
|
48
|
-
u as Button,
|
|
49
|
-
M as Callout,
|
|
50
|
-
Go as CardGroup,
|
|
51
|
-
Z as Checkbox,
|
|
52
|
-
f as Collapse,
|
|
53
|
-
N as ContextMenu,
|
|
54
|
-
V as Credit,
|
|
55
|
-
$ as DatePicker,
|
|
56
|
-
no as Dropdown,
|
|
57
|
-
n as Empty,
|
|
58
|
-
A as Fieldset,
|
|
59
|
-
y as FileUpload,
|
|
60
|
-
go as Footer,
|
|
61
|
-
p as Form,
|
|
62
|
-
I as GlobalProvider,
|
|
63
|
-
U as Heading,
|
|
64
|
-
ro as Hero,
|
|
65
|
-
Lo as Icon,
|
|
66
|
-
L as Image,
|
|
67
|
-
q as Link,
|
|
68
|
-
ao as LinkList,
|
|
69
|
-
Co as List,
|
|
70
|
-
l as Loading,
|
|
71
|
-
ko as LocalNav,
|
|
72
|
-
Bo as Navigation,
|
|
73
|
-
H as Notification,
|
|
74
|
-
J as NumberPicker,
|
|
75
|
-
so as Pagination,
|
|
76
|
-
Fo as Profile,
|
|
77
|
-
T as Radio,
|
|
78
|
-
v as ReadMore,
|
|
79
|
-
Q as RichText,
|
|
80
|
-
po as SearchField,
|
|
81
|
-
bo as TableOfContents,
|
|
82
|
-
ho as Tabs,
|
|
83
|
-
P as Tag,
|
|
84
|
-
D as Textarea,
|
|
85
|
-
X as Tooltip,
|
|
86
|
-
fo as Video
|
|
87
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Dispatch, MouseEvent, ReactElement, SetStateAction } from 'react';
|
|
2
|
-
import { getUpdatedItems } from '@ilo-org/utils';
|
|
3
|
-
import { AccordionItemProps } from './AccordionItem.props';
|
|
4
|
-
|
|
5
|
-
export { default as AccordionItem } from './AccordionItem';
|
|
6
|
-
export interface AccordionProps {
|
|
7
|
-
/**
|
|
8
|
-
* Specify the content of your Accordion.
|
|
9
|
-
*/
|
|
10
|
-
children?: ReactElement<AccordionItemProps> | Array<ReactElement<AccordionItemProps>>;
|
|
11
|
-
/**
|
|
12
|
-
* Callback to onButtonClick event;
|
|
13
|
-
*/
|
|
14
|
-
onButtonClick?: (e: MouseEvent<HTMLButtonElement>, i: unknown) => void;
|
|
15
|
-
/**
|
|
16
|
-
* Allow multiple accordions to be expanded at once, default value is false
|
|
17
|
-
*/
|
|
18
|
-
allowMultipleExpanded?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Default accordions expanded on first load
|
|
21
|
-
*/
|
|
22
|
-
defaultAccordionsExpanded?: string[];
|
|
23
|
-
/**
|
|
24
|
-
* Specify an optional className to be added to your accordion.
|
|
25
|
-
*/
|
|
26
|
-
className?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface AccordionContextProps {
|
|
29
|
-
activeItems: string[];
|
|
30
|
-
getUpdatedItems: typeof getUpdatedItems;
|
|
31
|
-
setActiveItems: Dispatch<SetStateAction<string[]>>;
|
|
32
|
-
allowMultipleExpanded: boolean;
|
|
33
|
-
onButtonClick?: (e: MouseEvent<HTMLButtonElement>, i: unknown) => void;
|
|
34
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
export default interface AccordionButtonProps {
|
|
4
|
-
/**
|
|
5
|
-
* Specify the content of your Button.
|
|
6
|
-
*/
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
/**
|
|
9
|
-
* Specify an optional className to be added to your Button.
|
|
10
|
-
*/
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { AccordionContextProps } from './Accordion.props';
|
|
2
|
-
import { AccordionItemContextProps } from './AccordionItem.props';
|
|
3
|
-
|
|
4
|
-
export declare const AccordionContext: import('react').Context<AccordionContextProps>;
|
|
5
|
-
export declare const AccordionItemContext: import('react').Context<AccordionItemContextProps>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface AccordionItemContextProps {
|
|
4
|
-
/**
|
|
5
|
-
* The accordion item's unique id.
|
|
6
|
-
*/
|
|
7
|
-
id: string;
|
|
8
|
-
}
|
|
9
|
-
export interface AccordionItemProps {
|
|
10
|
-
/**
|
|
11
|
-
* Specify the id of the accordion item.
|
|
12
|
-
*/
|
|
13
|
-
id: string;
|
|
14
|
-
/**
|
|
15
|
-
* Specify the content of your Button.
|
|
16
|
-
*/
|
|
17
|
-
children: ReactNode;
|
|
18
|
-
/**
|
|
19
|
-
* Specify an optional className to be added to your Button.
|
|
20
|
-
*/
|
|
21
|
-
className?: string;
|
|
22
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
export default interface AccordionPanelProps {
|
|
4
|
-
/**
|
|
5
|
-
* Specify the content of your Button.
|
|
6
|
-
*/
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
/**
|
|
9
|
-
* Specify an optional className to be added to your Button.
|
|
10
|
-
*/
|
|
11
|
-
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Duration of the collapse animation in milliseconds, to ensure that
|
|
14
|
-
* finishing callbacks are fired even if the original browser transition end
|
|
15
|
-
* events are canceled
|
|
16
|
-
*/
|
|
17
|
-
timeout?: number;
|
|
18
|
-
/**
|
|
19
|
-
* Allows the AccordionPanel to be scrollable by default
|
|
20
|
-
*/
|
|
21
|
-
scroll?: boolean;
|
|
22
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export interface BreadcrumbItemProps {
|
|
2
|
-
/**
|
|
3
|
-
* Optional additional className of the BreadcrumbLink
|
|
4
|
-
*/
|
|
5
|
-
className?: string;
|
|
6
|
-
/**
|
|
7
|
-
* Specify the label for this link
|
|
8
|
-
*/
|
|
9
|
-
label: string;
|
|
10
|
-
/**
|
|
11
|
-
* Should the label appear as readable text on the screen or an aria-label
|
|
12
|
-
*/
|
|
13
|
-
labelShown?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Specify the url for this link
|
|
16
|
-
*/
|
|
17
|
-
url: string;
|
|
18
|
-
}
|
|
19
|
-
export interface BreadcrumbProps {
|
|
20
|
-
/**
|
|
21
|
-
* An additional classname to add to the outer most element of the component
|
|
22
|
-
*/
|
|
23
|
-
className?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The accessible label to apply to the ellipsis button that appears when the Breadcrumb is collapsed
|
|
26
|
-
*/
|
|
27
|
-
buttonLabel: string;
|
|
28
|
-
/**
|
|
29
|
-
* Specify the links to be displayed in the Breadcrumb
|
|
30
|
-
*/
|
|
31
|
-
links: BreadcrumbItemProps[];
|
|
32
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export interface LinkProps {
|
|
2
|
-
/**
|
|
3
|
-
* Specify whether this link marks the end of a section
|
|
4
|
-
*/
|
|
5
|
-
endsection?: boolean;
|
|
6
|
-
/**
|
|
7
|
-
* Specify the label for the the Context Menu's link
|
|
8
|
-
*/
|
|
9
|
-
label?: Required<string>;
|
|
10
|
-
/**
|
|
11
|
-
* Specify the url for the Context Menu's link
|
|
12
|
-
*/
|
|
13
|
-
url?: Required<string>;
|
|
14
|
-
}
|
|
15
|
-
export interface ContextMenuProps {
|
|
16
|
-
/**
|
|
17
|
-
* Specify an optional className to be added to your Context Menu component.
|
|
18
|
-
*/
|
|
19
|
-
className?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Specify the links to be displayed in the Context Menu
|
|
22
|
-
*/
|
|
23
|
-
links?: Required<Array<LinkProps>>;
|
|
24
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { ThemeTypes } from '../../types';
|
|
2
|
-
import { BreadcrumbProps } from '../Breadcrumb/Breadcrumb.props';
|
|
3
|
-
import { ImageProps } from '../Image/Image.props';
|
|
4
|
-
import { TooltipProps } from '../Tooltip/Tooltip.props';
|
|
5
|
-
import { HeroCardProps } from './HeroCard.props';
|
|
6
|
-
|
|
7
|
-
export interface HeroProps {
|
|
8
|
-
/**
|
|
9
|
-
* Vertical alignment of the hero card
|
|
10
|
-
*/
|
|
11
|
-
align?: "center" | "bottom" | "baseline";
|
|
12
|
-
/**
|
|
13
|
-
* Props to pass to the breadcrumb if there is one
|
|
14
|
-
*/
|
|
15
|
-
breadcrumb?: BreadcrumbProps;
|
|
16
|
-
/**
|
|
17
|
-
* Caption to render in the hero card
|
|
18
|
-
*/
|
|
19
|
-
caption?: TooltipProps;
|
|
20
|
-
/**
|
|
21
|
-
* Size the of hero card
|
|
22
|
-
*/
|
|
23
|
-
cardSize?: "small" | "medium" | "large" | "xlarge" | "xxlarge";
|
|
24
|
-
/**
|
|
25
|
-
* Specify an optional className to be added to your Hero component.
|
|
26
|
-
*/
|
|
27
|
-
className?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Props for the image for the hero
|
|
30
|
-
*/
|
|
31
|
-
image?: ImageProps;
|
|
32
|
-
/**
|
|
33
|
-
* How to justify the hero card
|
|
34
|
-
*/
|
|
35
|
-
justify?: "start" | "center" | "offset";
|
|
36
|
-
/**
|
|
37
|
-
* Props for the card for the hero
|
|
38
|
-
*/
|
|
39
|
-
heroCard: HeroCardProps;
|
|
40
|
-
/**
|
|
41
|
-
* Color of the gap space between bottom of the hero image and bottom of the card
|
|
42
|
-
*/
|
|
43
|
-
gap?: "white" | "transparent" | "dark" | "light";
|
|
44
|
-
/**
|
|
45
|
-
* The size of the poster image
|
|
46
|
-
*/
|
|
47
|
-
posterSize?: "small" | "medium" | "large" | "xlarge";
|
|
48
|
-
/**
|
|
49
|
-
* Theme for the card
|
|
50
|
-
*/
|
|
51
|
-
theme?: ThemeTypes;
|
|
52
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { SocialTypes } from '../../types';
|
|
2
|
-
|
|
3
|
-
export interface SocialMediaIcons {
|
|
4
|
-
/**
|
|
5
|
-
* The name of the icon to display
|
|
6
|
-
*/
|
|
7
|
-
icon: SocialTypes;
|
|
8
|
-
/**
|
|
9
|
-
* The url to link to
|
|
10
|
-
*/
|
|
11
|
-
url: string;
|
|
12
|
-
/**
|
|
13
|
-
* The alt text of the link
|
|
14
|
-
*/
|
|
15
|
-
label: string;
|
|
16
|
-
}
|
|
17
|
-
export interface SocialMediaProps {
|
|
18
|
-
/**
|
|
19
|
-
* An optional headline to display above the icons
|
|
20
|
-
*/
|
|
21
|
-
headline?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Specify an optional className to be added to your SocialMedia.
|
|
24
|
-
*/
|
|
25
|
-
className?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Specify the theme of the SocialMedia.
|
|
28
|
-
*/
|
|
29
|
-
theme?: "light" | "dark";
|
|
30
|
-
/**
|
|
31
|
-
* The justification of the icons
|
|
32
|
-
*/
|
|
33
|
-
justify?: "start" | "center";
|
|
34
|
-
/**
|
|
35
|
-
* Specify the icons to display.
|
|
36
|
-
*/
|
|
37
|
-
icons: SocialMediaIcons[];
|
|
38
|
-
/**
|
|
39
|
-
* The size of the social media icons
|
|
40
|
-
*/
|
|
41
|
-
iconSize: "normal" | "large";
|
|
42
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { TooltipThemes, TooltipIconThemes } from '../../types';
|
|
2
|
-
|
|
3
|
-
export interface TooltipProps {
|
|
4
|
-
/**
|
|
5
|
-
* Specify an optional className to be added to your Tooltip.
|
|
6
|
-
*/
|
|
7
|
-
className?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Should the tooltip appear on hover of an info icon?
|
|
10
|
-
*/
|
|
11
|
-
icon?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Set the id of the tooltip
|
|
14
|
-
*/
|
|
15
|
-
id?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Set the label for the tooltip
|
|
18
|
-
*/
|
|
19
|
-
label?: Required<string>;
|
|
20
|
-
/**
|
|
21
|
-
* Set whether the tooltip is visible or not
|
|
22
|
-
*/
|
|
23
|
-
isVisible?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Describe the theme of the tooltip
|
|
26
|
-
*/
|
|
27
|
-
theme?: Required<TooltipThemes>;
|
|
28
|
-
/**
|
|
29
|
-
* Describe the background theme of the tooltip
|
|
30
|
-
*/
|
|
31
|
-
iconTheme?: Required<TooltipIconThemes>;
|
|
32
|
-
children?: React.ReactNode;
|
|
33
|
-
}
|