@trilogy-ds/react 0.0.4-esm-cjs → 0.0.5-esm-cjs
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/chunk-2OE7G5OJ.mjs +53 -0
- package/lib/chunk-335L7EYV.mjs +10 -0
- package/lib/chunk-37YIEOM4.mjs +29 -0
- package/lib/chunk-46S5IHY3.mjs +35 -0
- package/lib/chunk-4AFVHEEG.mjs +40 -0
- package/lib/chunk-4GNYZYN7.mjs +38 -0
- package/lib/chunk-4KHZNPVQ.mjs +52 -0
- package/lib/chunk-54SFK3TI.mjs +193 -0
- package/lib/chunk-57VCQATF.mjs +102 -0
- package/lib/chunk-5OTVJFHA.mjs +70 -0
- package/lib/chunk-5VIOTCFL.mjs +83 -0
- package/lib/chunk-62VEIR6I.mjs +29 -0
- package/lib/chunk-6AMFW4DS.mjs +45 -0
- package/lib/chunk-6M5XYGBG.mjs +24 -0
- package/lib/chunk-6RM6FMD6.mjs +21 -0
- package/lib/chunk-76SS7W2D.mjs +10 -0
- package/lib/chunk-7I7J2O6V.mjs +10 -0
- package/lib/chunk-7TZ7XBAY.mjs +161 -0
- package/lib/chunk-AKUHXWCA.mjs +83 -0
- package/lib/chunk-ARTM6CXK.mjs +71 -0
- package/lib/chunk-BOTIPJSJ.mjs +85 -0
- package/lib/chunk-BYXISJ7R.mjs +130 -0
- package/lib/chunk-C7O3M64Q.mjs +21 -0
- package/lib/chunk-CA7IS3KQ.mjs +41 -0
- package/lib/chunk-CB3VUMQQ.mjs +19 -0
- package/lib/chunk-CDJXPVNU.mjs +113 -0
- package/lib/chunk-DNNL5IQP.mjs +58 -0
- package/lib/chunk-DSGVDK4W.mjs +37 -0
- package/lib/chunk-DT2ZRQCQ.mjs +10 -0
- package/lib/chunk-EC2STRYK.mjs +47 -0
- package/lib/chunk-ENM6JUDU.mjs +10 -0
- package/lib/chunk-ENRRADYB.mjs +22 -0
- package/lib/chunk-FDTDGN3Z.mjs +180 -0
- package/lib/chunk-FI7J3PI4.mjs +10 -0
- package/lib/chunk-FJ6FV33O.mjs +142 -0
- package/lib/chunk-FQP3ZRCY.mjs +43 -0
- package/lib/chunk-FYXJOPZE.mjs +10 -0
- package/lib/chunk-GCCNG7UD.mjs +93 -0
- package/lib/chunk-H33LFANI.mjs +44 -0
- package/lib/chunk-H5R6E2LL.mjs +10 -0
- package/lib/chunk-HIHM7CKA.mjs +45 -0
- package/lib/chunk-HSZCMSKX.mjs +54 -0
- package/lib/chunk-HZFI5DOC.mjs +10 -0
- package/lib/chunk-I5CMWKXM.mjs +10 -0
- package/lib/chunk-I64YDCDJ.mjs +26 -0
- package/lib/chunk-I6D4M6YJ.mjs +26 -0
- package/lib/chunk-IPO67UCE.mjs +91 -0
- package/lib/chunk-IVWW2ONM.mjs +34 -0
- package/lib/chunk-J6FOMIYL.mjs +38 -0
- package/lib/chunk-JHATQ222.mjs +10 -0
- package/lib/chunk-JNZCOWOT.mjs +45 -0
- package/lib/chunk-JSYFG53P.mjs +53 -0
- package/lib/chunk-KB646OBS.mjs +43 -0
- package/lib/chunk-KCR5OXW7.mjs +37 -0
- package/lib/chunk-KE6TZ564.mjs +66 -0
- package/lib/chunk-KLD67WVI.mjs +6 -0
- package/lib/chunk-KWQHZ3AX.mjs +51 -0
- package/lib/chunk-KZBJENQE.mjs +10 -0
- package/lib/chunk-L57OFPTQ.mjs +0 -0
- package/lib/chunk-LHGRXMTD.mjs +71 -0
- package/lib/chunk-LKRCOARV.mjs +10 -0
- package/lib/chunk-LTEPTCKO.mjs +0 -0
- package/lib/chunk-LXERI22G.mjs +10 -0
- package/lib/chunk-M3G5NNL6.mjs +38 -0
- package/lib/chunk-M3ZW34AK.mjs +146 -0
- package/lib/chunk-MIIK56FU.mjs +10 -0
- package/lib/chunk-MRE6UV7B.mjs +52 -0
- package/lib/chunk-MSO5PCRF.mjs +0 -0
- package/lib/chunk-MUFBFVMR.mjs +41 -0
- package/lib/chunk-NAPM7RV5.mjs +84 -0
- package/lib/chunk-NJUQR6X4.mjs +30 -0
- package/lib/chunk-NK4DG2O7.mjs +0 -0
- package/lib/chunk-NYJUOLVG.mjs +70 -0
- package/lib/chunk-OAHEDO2N.mjs +0 -0
- package/lib/chunk-OJAMAX3C.mjs +51 -0
- package/lib/chunk-OQRDRRQA.mjs +40 -0
- package/lib/chunk-ORJCR36R.mjs +10 -0
- package/lib/chunk-OXJUG2AX.mjs +98 -0
- package/lib/chunk-P4EBSHOF.mjs +48 -0
- package/lib/chunk-PD7N2H7V.mjs +40 -0
- package/lib/chunk-PJ65KK7Q.mjs +148 -0
- package/lib/chunk-PMRIB2PF.mjs +34 -0
- package/lib/chunk-PVU242AQ.mjs +108 -0
- package/lib/chunk-PX4Q2LHV.mjs +57 -0
- package/lib/chunk-PX5CBRUB.mjs +44 -0
- package/lib/chunk-Q557K76X.mjs +27 -0
- package/lib/chunk-Q64SPJX7.mjs +42 -0
- package/lib/chunk-QOGGK45Y.mjs +30 -0
- package/lib/chunk-QQWGTWIX.mjs +35 -0
- package/lib/chunk-RABXMHNC.mjs +69 -0
- package/lib/chunk-RBI4L2HQ.mjs +0 -0
- package/lib/chunk-ROZMCO2Z.mjs +45 -0
- package/lib/chunk-RSO556TM.mjs +54 -0
- package/lib/chunk-RU4SBT2X.mjs +10 -0
- package/lib/chunk-RVL6YKLG.mjs +29 -0
- package/lib/chunk-S6XQJW3H.mjs +0 -0
- package/lib/chunk-SNNPZM3U.mjs +74 -0
- package/lib/chunk-SWJCAKAS.mjs +95 -0
- package/lib/chunk-TQW2WOQT.mjs +10 -0
- package/lib/chunk-TWYKX3VS.mjs +10 -0
- package/lib/chunk-TWYOQRTC.mjs +0 -0
- package/lib/chunk-TYWDLDZY.mjs +10 -0
- package/lib/chunk-U2EAQ6LG.mjs +51 -0
- package/lib/chunk-UN4YRMS6.mjs +86 -0
- package/lib/chunk-UPTZJ3CI.mjs +86 -0
- package/lib/chunk-UY62HIXG.mjs +0 -0
- package/lib/chunk-UYSIBOWG.mjs +0 -0
- package/lib/chunk-UZ2RV7UP.mjs +32 -0
- package/lib/chunk-UZGSZBCM.mjs +40 -0
- package/lib/chunk-V62SY5DS.mjs +10 -0
- package/lib/chunk-VDYCNTT4.mjs +45 -0
- package/lib/chunk-VG3NFIX3.mjs +0 -0
- package/lib/chunk-VKFXVSGY.mjs +0 -0
- package/lib/chunk-VZ3ZGWSU.mjs +1175 -0
- package/lib/chunk-W2QHSUSX.mjs +62 -0
- package/lib/chunk-WCM6IYWC.mjs +21 -0
- package/lib/chunk-WGGJ72CD.mjs +51 -0
- package/lib/chunk-WTDZ5TPD.mjs +32 -0
- package/lib/chunk-WTNLKNGA.mjs +24 -0
- package/lib/chunk-WTTAI2XM.mjs +96 -0
- package/lib/chunk-X4TKMQSB.mjs +133 -0
- package/lib/chunk-XBBQRJAM.mjs +10 -0
- package/lib/chunk-XFNNKJDV.mjs +0 -0
- package/lib/chunk-XIAYAUBE.mjs +0 -0
- package/lib/chunk-XTMU2OFV.mjs +55 -0
- package/lib/chunk-XWROA47B.mjs +10 -0
- package/lib/chunk-XWUKMXWZ.mjs +40 -0
- package/lib/chunk-YHEULX2P.mjs +10 -0
- package/lib/chunk-Z5BQ7KVY.mjs +0 -0
- package/lib/chunk-ZEPZOL74.mjs +250 -0
- package/lib/chunk-ZIO62QCN.mjs +0 -0
- package/lib/chunk-ZOEPNCFU.mjs +86 -0
- package/lib/chunk-ZT32FL2N.mjs +22 -0
- package/lib/chunk-ZVWNKG5A.mjs +29 -0
- package/lib/chunk-ZYSIB57V.mjs +10 -0
- package/lib/components/accordion/Accordion.js +19 -96
- package/lib/components/accordion/Accordion.mjs +2 -2
- package/lib/components/accordion/Accordion.native.js +19 -75
- package/lib/components/accordion/AccordionProps.js +2 -18
- package/lib/components/accordion/index.js +6 -204
- package/lib/components/accordion/index.mjs +5 -5
- package/lib/components/accordion/index.native.js +6 -0
- package/lib/components/accordion/item/AccordionItem.helper.mjs +1 -1
- package/lib/components/accordion/item/AccordionItem.js +36 -130
- package/lib/components/accordion/item/AccordionItem.mjs +2 -2
- package/lib/components/accordion/item/AccordionItem.native.js +130 -387
- package/lib/components/accordion/item/AccordionItemProps.js +2 -18
- package/lib/components/accordion/item/body/AccordionBody.js +20 -108
- package/lib/components/accordion/item/body/AccordionBody.mjs +2 -2
- package/lib/components/accordion/item/body/AccordionBody.native.js +15 -73
- package/lib/components/accordion/item/body/AccordionBodyProps.js +2 -18
- package/lib/components/accordion/item/body/AccordionBodyProps.mjs +1 -0
- package/lib/components/accordion/item/body/index.d.mts +1 -0
- package/lib/components/accordion/item/body/index.d.ts +1 -0
- package/lib/components/accordion/item/body/index.js +5 -31
- package/lib/components/accordion/item/body/index.mjs +3 -2
- package/lib/components/accordion/item/body/index.native.js +4 -0
- package/lib/components/accordion/item/header/AccordionHeader.js +18 -106
- package/lib/components/accordion/item/header/AccordionHeader.mjs +2 -2
- package/lib/components/accordion/item/header/AccordionHeader.native.js +19 -50
- package/lib/components/accordion/item/header/AccordionHeaderProps.js +2 -18
- package/lib/components/accordion/item/header/AccordionHeaderProps.mjs +1 -0
- package/lib/components/accordion/item/header/index.d.mts +1 -0
- package/lib/components/accordion/item/header/index.d.ts +1 -0
- package/lib/components/accordion/item/header/index.js +5 -31
- package/lib/components/accordion/item/header/index.mjs +3 -2
- package/lib/components/accordion/item/header/index.native.js +4 -0
- package/lib/components/accordion/item/index.js +7 -37
- package/lib/components/accordion/item/index.mjs +2 -2
- package/lib/components/accordion/item/index.native.js +3 -0
- package/lib/components/alert/Alert.js +134 -586
- package/lib/components/alert/Alert.mjs +10 -8
- package/lib/components/alert/Alert.native.js +140 -913
- package/lib/components/alert/AlertEnum.js +10 -38
- package/lib/components/alert/AlertEnum.mjs +1 -1
- package/lib/components/alert/AlertProps.js +11 -41
- package/lib/components/alert/AlertProps.mjs +1 -1
- package/lib/components/alert/context/ToasterContext.js +5 -39
- package/lib/components/alert/context/ToasterContext.mjs +1 -1
- package/lib/components/alert/context/ToasterContextProps.js +2 -18
- package/lib/components/alert/context/index.js +3 -44
- package/lib/components/alert/context/index.mjs +1 -1
- package/lib/components/alert/index.js +6 -625
- package/lib/components/alert/index.mjs +10 -8
- package/lib/components/alert/index.native.js +6 -0
- package/lib/components/autocomplete/AutoComplete.js +147 -1052
- package/lib/components/autocomplete/AutoComplete.mjs +20 -17
- package/lib/components/autocomplete/AutoComplete.native.js +90 -1201
- package/lib/components/autocomplete/AutoCompleteProps.js +2 -18
- package/lib/components/autocomplete/Autocomplete.helpers.js +13 -43
- package/lib/components/autocomplete/Autocomplete.helpers.mjs +1 -1
- package/lib/components/autocomplete/index.js +6 -1070
- package/lib/components/autocomplete/index.mjs +21 -18
- package/lib/components/autocomplete/index.native.js +6 -0
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +15 -195
- package/lib/components/autocomplete/item/AutoCompleteItem.js +18 -119
- package/lib/components/autocomplete/item/AutoCompleteItem.mjs +2 -2
- package/lib/components/autocomplete/item/AutoCompleteItemProps.js +2 -18
- package/lib/components/autocomplete/item/AutoCompleteItemProps.mjs +1 -0
- package/lib/components/autocomplete/item/index.d.mts +1 -0
- package/lib/components/autocomplete/item/index.d.ts +1 -0
- package/lib/components/autocomplete/item/index.js +4 -123
- package/lib/components/autocomplete/item/index.mjs +4 -3
- package/lib/components/autocomplete/item/index.native.js +4 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.js +18 -118
- package/lib/components/autocomplete/menu/AutoCompleteMenu.mjs +2 -2
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +27 -377
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.js +2 -18
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.mjs +1 -0
- package/lib/components/autocomplete/menu/index.d.mts +1 -0
- package/lib/components/autocomplete/menu/index.d.ts +1 -0
- package/lib/components/autocomplete/menu/index.js +4 -122
- package/lib/components/autocomplete/menu/index.mjs +4 -3
- package/lib/components/autocomplete/menu/index.native.js +4 -0
- package/lib/components/autocomplete/utils/debounce.js +15 -61
- package/lib/components/autocomplete/utils/debounce.mjs +2 -2
- package/lib/components/autocomplete/utils/index.js +2 -65
- package/lib/components/autocomplete/utils/index.mjs +2 -2
- package/lib/components/autolayout/AutoLayout.helpers.js +121 -360
- package/lib/components/autolayout/AutoLayout.helpers.mjs +108 -10
- package/lib/components/autolayout/AutoLayout.js +9 -39
- package/lib/components/autolayout/AutoLayout.mjs +1 -1
- package/lib/components/autolayout/AutoLayout.native.js +29 -424
- package/lib/components/autolayout/AutoLayoutProps.js +2 -18
- package/lib/components/autolayout/AutoLayoutWrapper.js +20 -54
- package/lib/components/autolayout/AutoLayoutWrapper.mjs +1 -1
- package/lib/components/autolayout/DefaultSpacingMatrix.js +40 -141
- package/lib/components/autolayout/DefaultSpacingMatrix.mjs +3 -9
- package/lib/components/autolayout/SpacingMatrix.js +12 -34
- package/lib/components/autolayout/SpacingMatrix.mjs +1 -1
- package/lib/components/autolayout/index.js +6 -168
- package/lib/components/autolayout/index.mjs +6 -12
- package/lib/components/autolayout/index.native.js +6 -0
- package/lib/components/autolayout/interface.js +2 -18
- package/lib/components/badge/Badge.js +54 -317
- package/lib/components/badge/Badge.mjs +4 -4
- package/lib/components/badge/Badge.native.js +109 -325
- package/lib/components/badge/BadgeEnum.js +11 -36
- package/lib/components/badge/BadgeEnum.mjs +10 -4
- package/lib/components/badge/BadgeProps.js +10 -38
- package/lib/components/badge/BadgeProps.mjs +1 -1
- package/lib/components/badge/index.js +4 -342
- package/lib/components/badge/index.mjs +6 -6
- package/lib/components/badge/index.native.js +4 -0
- package/lib/components/box/Box.js +45 -226
- package/lib/components/box/Box.mjs +2 -2
- package/lib/components/box/Box.native.js +108 -262
- package/lib/components/box/BoxProps.js +2 -18
- package/lib/components/box/content/BoxContent.js +27 -196
- package/lib/components/box/content/BoxContent.mjs +3 -3
- package/lib/components/box/content/BoxContent.native.js +29 -140
- package/lib/components/box/content/BoxContentProps.js +2 -18
- package/lib/components/box/content/index.js +3 -200
- package/lib/components/box/content/index.mjs +4 -4
- package/lib/components/box/content/index.native.js +3 -0
- package/lib/components/box/context/boxContext.js +3 -41
- package/lib/components/box/context/boxContext.mjs +5 -4
- package/lib/components/box/footer/BoxFooter.js +21 -186
- package/lib/components/box/footer/BoxFooter.mjs +3 -3
- package/lib/components/box/footer/BoxFooter.native.js +23 -255
- package/lib/components/box/footer/BoxFooterProps.js +2 -18
- package/lib/components/box/footer/index.js +3 -190
- package/lib/components/box/footer/index.mjs +4 -4
- package/lib/components/box/footer/index.native.js +3 -0
- package/lib/components/box/header/BoxHeader.js +30 -202
- package/lib/components/box/header/BoxHeader.mjs +3 -3
- package/lib/components/box/header/BoxHeader.native.js +51 -165
- package/lib/components/box/header/BoxHeaderProps.js +2 -18
- package/lib/components/box/header/index.js +3 -209
- package/lib/components/box/header/index.mjs +4 -4
- package/lib/components/box/header/index.native.js +3 -0
- package/lib/components/box/index.js +10 -430
- package/lib/components/box/index.mjs +17 -17
- package/lib/components/box/index.native.js +10 -0
- package/lib/components/box/item/BoxItem.js +18 -97
- package/lib/components/box/item/BoxItem.mjs +2 -2
- package/lib/components/box/item/BoxItem.native.js +23 -78
- package/lib/components/box/item/BoxItemEnum.js +13 -38
- package/lib/components/box/item/BoxItemEnum.mjs +1 -1
- package/lib/components/box/item/BoxItemProps.js +2 -18
- package/lib/components/box/item/index.js +4 -117
- package/lib/components/box/item/index.mjs +3 -3
- package/lib/components/box/item/index.native.js +4 -0
- package/lib/components/box/table-container/BoxTableContainer.js +18 -104
- package/lib/components/box/table-container/BoxTableContainer.mjs +2 -2
- package/lib/components/box/table-container/BoxTableContainer.native.js +15 -73
- package/lib/components/box/table-container/BoxTableContainerProps.js +2 -18
- package/lib/components/box/table-container/index.js +3 -108
- package/lib/components/box/table-container/index.mjs +3 -3
- package/lib/components/box/table-container/index.native.js +3 -0
- package/lib/components/breadcrumb/Breadcrumb.js +21 -108
- package/lib/components/breadcrumb/Breadcrumb.mjs +2 -2
- package/lib/components/breadcrumb/Breadcrumb.native.js +24 -229
- package/lib/components/breadcrumb/BreadcrumbProps.js +2 -18
- package/lib/components/breadcrumb/index.js +4 -336
- package/lib/components/breadcrumb/index.mjs +7 -7
- package/lib/components/breadcrumb/index.native.js +4 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +29 -300
- package/lib/components/breadcrumb/item/BreadcrumbItem.mjs +5 -5
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +32 -263
- package/lib/components/breadcrumb/item/BreadcrumbItemProps.js +2 -18
- package/lib/components/breadcrumb/item/index.js +3 -306
- package/lib/components/breadcrumb/item/index.mjs +6 -6
- package/lib/components/breadcrumb/item/index.native.js +3 -0
- package/lib/components/button/Button.js +67 -354
- package/lib/components/button/Button.mjs +4 -4
- package/lib/components/button/Button.native.js +136 -561
- package/lib/components/button/ButtonEnum.js +30 -52
- package/lib/components/button/ButtonEnum.mjs +1 -1
- package/lib/components/button/ButtonProps.js +2 -18
- package/lib/components/button/index.js +5 -429
- package/lib/components/button/index.mjs +5 -5
- package/lib/components/button/index.native.js +5 -0
- package/lib/components/button/list/ButtonList.js +22 -158
- package/lib/components/button/list/ButtonList.mjs +3 -3
- package/lib/components/button/list/ButtonList.native.js +12 -55
- package/lib/components/button/list/ButtonListEnum.js +6 -34
- package/lib/components/button/list/ButtonListEnum.mjs +1 -1
- package/lib/components/button/list/ButtonListProps.js +2 -18
- package/lib/components/button/list/index.js +4 -174
- package/lib/components/button/list/index.mjs +3 -3
- package/lib/components/button/list/index.native.js +4 -0
- package/lib/components/button/spin-white.mjs +1 -1
- package/lib/components/button/spin.mjs +1 -1
- package/lib/components/card/Card.js +32 -150
- package/lib/components/card/Card.mjs +2 -2
- package/lib/components/card/Card.native.js +98 -240
- package/lib/components/card/CardProps.js +2 -18
- package/lib/components/card/content/CardContent.js +18 -97
- package/lib/components/card/content/CardContent.mjs +2 -2
- package/lib/components/card/content/CardContent.native.js +21 -262
- package/lib/components/card/content/CardContentProps.js +2 -18
- package/lib/components/card/content/index.js +3 -101
- package/lib/components/card/content/index.mjs +3 -3
- package/lib/components/card/content/index.native.js +3 -0
- package/lib/components/card/image/CardImage.js +30 -120
- package/lib/components/card/image/CardImage.mjs +2 -2
- package/lib/components/card/image/CardImage.native.js +40 -285
- package/lib/components/card/image/CardImageEnum.js +11 -36
- package/lib/components/card/image/CardImageEnum.mjs +1 -1
- package/lib/components/card/image/CardImageProps.js +2 -18
- package/lib/components/card/image/index.js +3 -124
- package/lib/components/card/image/index.mjs +3 -3
- package/lib/components/card/image/index.native.js +3 -0
- package/lib/components/card/index.js +6 -215
- package/lib/components/card/index.mjs +6 -6
- package/lib/components/card/index.native.js +6 -0
- package/lib/components/checkbox/Checkbox.js +42 -122
- package/lib/components/checkbox/Checkbox.mjs +2 -2
- package/lib/components/checkbox/Checkbox.native.js +60 -358
- package/lib/components/checkbox/CheckboxProps.js +2 -18
- package/lib/components/checkbox/index.js +7 -490
- package/lib/components/checkbox/index.mjs +13 -13
- package/lib/components/checkbox/index.native.js +7 -0
- package/lib/components/checkbox/list/CheckboxList.js +24 -270
- package/lib/components/checkbox/list/CheckboxList.mjs +7 -7
- package/lib/components/checkbox/list/CheckboxList.native.js +21 -150
- package/lib/components/checkbox/list/CheckboxListProps.js +2 -18
- package/lib/components/checkbox/list/index.js +7 -37
- package/lib/components/checkbox/list/index.mjs +7 -7
- package/lib/components/checkbox/list/index.native.js +3 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.js +32 -148
- package/lib/components/checkbox/tiles/CheckboxTiles.mjs +2 -2
- package/lib/components/checkbox/tiles/CheckboxTiles.native.js +19 -152
- package/lib/components/checkbox/tiles/CheckboxTilesProps.js +2 -18
- package/lib/components/checkbox/tiles/index.js +5 -31
- package/lib/components/checkbox/tiles/index.mjs +2 -2
- package/lib/components/checkbox/tiles/index.native.js +3 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.js +48 -329
- package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +8 -8
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +102 -694
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps.js +2 -18
- package/lib/components/checkbox/tiles/tile/index.js +26 -72
- package/lib/components/checkbox/tiles/tile/index.mjs +8 -8
- package/lib/components/checkbox/tiles/tile/index.native.js +3 -0
- package/lib/components/chips/Chips.js +27 -122
- package/lib/components/chips/Chips.mjs +2 -2
- package/lib/components/chips/Chips.native.js +57 -423
- package/lib/components/chips/ChipsProps.js +2 -18
- package/lib/components/chips/index.js +4 -146
- package/lib/components/chips/index.mjs +3 -3
- package/lib/components/chips/index.native.js +5 -0
- package/lib/components/chips/list/ChipsList.js +22 -108
- package/lib/components/chips/list/ChipsList.mjs +2 -2
- package/lib/components/chips/list/ChipsList.native.js +20 -90
- package/lib/components/chips/list/ChipsListProps.js +2 -18
- package/lib/components/chips/list/index.js +2 -29
- package/lib/components/chips/list/index.mjs +2 -2
- package/lib/components/chips/list/index.native.js +3 -0
- package/lib/components/columns/Columns.js +28 -181
- package/lib/components/columns/Columns.mjs +2 -2
- package/lib/components/columns/Columns.native.js +70 -179
- package/lib/components/columns/ColumnsProps.js +2 -18
- package/lib/components/columns/ColumnsTypes.js +16 -46
- package/lib/components/columns/ColumnsTypes.mjs +1 -1
- package/lib/components/columns/column/Column.js +38 -187
- package/lib/components/columns/column/Column.mjs +2 -2
- package/lib/components/columns/column/Column.native.js +30 -279
- package/lib/components/columns/column/ColumnProps.js +2 -18
- package/lib/components/columns/column/index.js +3 -191
- package/lib/components/columns/column/index.mjs +3 -3
- package/lib/components/columns/column/index.native.js +3 -0
- package/lib/components/columns/context/index.js +7 -45
- package/lib/components/columns/context/index.mjs +10 -4
- package/lib/components/columns/index.js +5 -286
- package/lib/components/columns/index.mjs +6 -6
- package/lib/components/columns/index.native.js +5 -0
- package/lib/components/container/Container.js +21 -105
- package/lib/components/container/Container.mjs +2 -2
- package/lib/components/container/Container.native.js +21 -95
- package/lib/components/container/ContainerProps.js +2 -18
- package/lib/components/container/ContainerProps.mjs +1 -0
- package/lib/components/container/index.d.mts +1 -0
- package/lib/components/container/index.d.ts +1 -0
- package/lib/components/container/index.js +3 -112
- package/lib/components/container/index.mjs +4 -3
- package/lib/components/container/index.native.js +4 -0
- package/lib/components/countdown/Countdown.js +120 -185
- package/lib/components/countdown/Countdown.mjs +2 -2
- package/lib/components/countdown/Countdown.native.js +151 -374
- package/lib/components/countdown/CountdownEnum.js +32 -64
- package/lib/components/countdown/CountdownEnum.mjs +1 -1
- package/lib/components/countdown/CountdownProps.js +2 -18
- package/lib/components/countdown/CountdownProps.mjs +1 -0
- package/lib/components/countdown/index.d.mts +3 -2
- package/lib/components/countdown/index.d.ts +3 -2
- package/lib/components/countdown/index.js +5 -222
- package/lib/components/countdown/index.mjs +4 -3
- package/lib/components/countdown/index.native.js +5 -0
- package/lib/components/divider/Divider.js +29 -233
- package/lib/components/divider/Divider.mjs +4 -4
- package/lib/components/divider/Divider.native.js +71 -383
- package/lib/components/divider/DividerProps.js +2 -18
- package/lib/components/divider/index.js +4 -238
- package/lib/components/divider/index.mjs +4 -4
- package/lib/components/divider/index.native.js +4 -0
- package/lib/components/enums.mjs +1 -1
- package/lib/components/enumsComponentsName.js +165 -193
- package/lib/components/enumsComponentsName.mjs +1 -1
- package/lib/components/fab/Fab.js +50 -279
- package/lib/components/fab/Fab.mjs +4 -4
- package/lib/components/fab/Fab.native.js +62 -396
- package/lib/components/fab/FabProps.js +2 -18
- package/lib/components/fab/FabProps.mjs +1 -0
- package/lib/components/fab/index.d.mts +2 -1
- package/lib/components/fab/index.d.ts +2 -1
- package/lib/components/fab/index.js +4 -285
- package/lib/components/fab/index.mjs +6 -5
- package/lib/components/fab/index.native.js +4 -0
- package/lib/components/flex-box/FlexBox.js +30 -173
- package/lib/components/flex-box/FlexBox.mjs +2 -2
- package/lib/components/flex-box/FlexBox.native.js +49 -364
- package/lib/components/flex-box/FlexBoxProps.js +2 -18
- package/lib/components/flex-box/context/index.js +7 -45
- package/lib/components/flex-box/context/index.mjs +10 -4
- package/lib/components/flex-box/flex-item/FlexItem.js +39 -143
- package/lib/components/flex-box/flex-item/FlexItem.mjs +2 -2
- package/lib/components/flex-box/flex-item/FlexItem.native.js +51 -124
- package/lib/components/flex-box/flex-item/FlexItemProps.js +2 -18
- package/lib/components/flex-box/index.js +4 -210
- package/lib/components/flex-box/index.mjs +3 -3
- package/lib/components/flex-box/index.native.js +4 -0
- package/lib/components/hero/Hero.js +31 -172
- package/lib/components/hero/Hero.mjs +2 -2
- package/lib/components/hero/Hero.native.js +83 -503
- package/lib/components/hero/HeroProps.js +2 -18
- package/lib/components/hero/heroEnum.js +8 -36
- package/lib/components/hero/heroEnum.mjs +1 -1
- package/lib/components/hero/index.js +4 -190
- package/lib/components/hero/index.mjs +2 -2
- package/lib/components/hero/index.native.js +5 -0
- package/lib/components/icon/Icon.js +37 -208
- package/lib/components/icon/Icon.mjs +3 -3
- package/lib/components/icon/Icon.native.js +115 -268
- package/lib/components/icon/IconEnum.js +61 -87
- package/lib/components/icon/IconEnum.mjs +1 -1
- package/lib/components/icon/IconNameEnum.js +28 -56
- package/lib/components/icon/IconNameEnum.mjs +1 -1
- package/lib/components/icon/IconProps.js +2 -18
- package/lib/components/icon/index.js +5 -306
- package/lib/components/icon/index.mjs +3 -3
- package/lib/components/icon/index.native.js +6 -0
- package/lib/components/image/Image.js +36 -269
- package/lib/components/image/Image.mjs +7 -7
- package/lib/components/image/Image.native.js +29 -91
- package/lib/components/image/ImageProps.js +7 -35
- package/lib/components/image/ImageProps.mjs +1 -1
- package/lib/components/image/index.d.mts +1 -0
- package/lib/components/image/index.d.ts +1 -0
- package/lib/components/image/index.js +5 -286
- package/lib/components/image/index.mjs +8 -8
- package/lib/components/image/index.native.js +5 -0
- package/lib/components/index.js +51 -6348
- package/lib/components/index.mjs +289 -272
- package/lib/components/index.native.js +51 -0
- package/lib/components/input/Input.js +191 -747
- package/lib/components/input/Input.mjs +11 -10
- package/lib/components/input/Input.native.js +328 -969
- package/lib/components/input/InputEnum.js +187 -175
- package/lib/components/input/InputEnum.mjs +1 -1
- package/lib/components/input/InputProps.js +2 -18
- package/lib/components/input/gauge/InputGauge.js +28 -404
- package/lib/components/input/gauge/InputGauge.mjs +7 -7
- package/lib/components/input/gauge/InputGauge.native.js +52 -481
- package/lib/components/input/gauge/hook/useGauge.js +74 -310
- package/lib/components/input/gauge/hook/useGauge.mjs +6 -6
- package/lib/components/input/index.js +5 -912
- package/lib/components/input/index.mjs +12 -11
- package/lib/components/input/index.native.js +5 -0
- package/lib/components/interface.js +2 -18
- package/lib/components/link/Link.js +45 -281
- package/lib/components/link/Link.mjs +4 -4
- package/lib/components/link/Link.native.js +55 -289
- package/lib/components/link/LinkProps.js +2 -18
- package/lib/components/link/index.js +3 -290
- package/lib/components/link/index.mjs +4 -4
- package/lib/components/link/index.native.js +3 -0
- package/lib/components/list/List.js +21 -106
- package/lib/components/list/List.mjs +2 -2
- package/lib/components/list/List.native.js +17 -80
- package/lib/components/list/ListProps.js +2 -18
- package/lib/components/list/context/ListContext.js +7 -45
- package/lib/components/list/context/ListContext.mjs +1 -1
- package/lib/components/list/context/ListContextProps.js +2 -18
- package/lib/components/list/context/index.js +3 -48
- package/lib/components/list/context/index.mjs +1 -2
- package/lib/components/list/index.js +5 -309
- package/lib/components/list/index.mjs +10 -10
- package/lib/components/list/index.native.js +5 -0
- package/lib/components/list/item/ListItem.js +24 -262
- package/lib/components/list/item/ListItem.mjs +7 -7
- package/lib/components/list/item/ListItem.native.js +56 -370
- package/lib/components/list/item/ListItemProps.js +8 -36
- package/lib/components/list/item/ListItemProps.mjs +1 -1
- package/lib/components/list/item/description/ListItemDescription.js +17 -95
- package/lib/components/list/item/description/ListItemDescription.mjs +2 -2
- package/lib/components/list/item/description/ListItemDescription.native.js +15 -474
- package/lib/components/list/item/description/ListItemDescriptionProps.js +2 -18
- package/lib/components/list/item/description/index.js +4 -100
- package/lib/components/list/item/description/index.mjs +2 -2
- package/lib/components/list/item/description/index.native.js +4 -0
- package/lib/components/list/item/index.js +5 -292
- package/lib/components/list/item/index.mjs +9 -9
- package/lib/components/list/item/index.native.js +5 -0
- package/lib/components/modal/Modal.js +87 -623
- package/lib/components/modal/Modal.mjs +9 -8
- package/lib/components/modal/Modal.native.js +67 -614
- package/lib/components/modal/ModalEnum.js +30 -59
- package/lib/components/modal/ModalEnum.mjs +1 -1
- package/lib/components/modal/ModalProps.js +2 -18
- package/lib/components/modal/body/ModalBody.js +18 -93
- package/lib/components/modal/body/ModalBody.mjs +2 -2
- package/lib/components/modal/body/ModalBody.native.js +24 -306
- package/lib/components/modal/body/ModalBodyProps.js +2 -18
- package/lib/components/modal/body/index.native.js +3 -0
- package/lib/components/modal/context/ModalContext.js +7 -45
- package/lib/components/modal/context/ModalContext.mjs +1 -1
- package/lib/components/modal/context/ModalContextProps.js +2 -18
- package/lib/components/modal/context/index.js +3 -48
- package/lib/components/modal/context/index.mjs +2 -3
- package/lib/components/modal/footer/ModalFooter.js +18 -95
- package/lib/components/modal/footer/ModalFooter.mjs +2 -2
- package/lib/components/modal/footer/ModalFooter.native.js +31 -398
- package/lib/components/modal/footer/ModalFooterProps.js +2 -18
- package/lib/components/modal/footer/index.native.js +3 -0
- package/lib/components/modal/index.js +6 -695
- package/lib/components/modal/index.mjs +12 -11
- package/lib/components/modal/index.native.js +6 -0
- package/lib/components/otp/Otp.js +118 -361
- package/lib/components/otp/Otp.mjs +7 -6
- package/lib/components/otp/Otp.native.js +130 -543
- package/lib/components/otp/OtpProps.js +2 -18
- package/lib/components/otp/OtpProps.mjs +1 -0
- package/lib/components/otp/index.d.mts +1 -0
- package/lib/components/otp/index.d.ts +1 -0
- package/lib/components/otp/index.js +4 -378
- package/lib/components/otp/index.mjs +9 -7
- package/lib/components/otp/index.native.js +4 -0
- package/lib/components/pagination/Pagination.js +86 -294
- package/lib/components/pagination/Pagination.mjs +4 -4
- package/lib/components/pagination/Pagination.native.js +130 -431
- package/lib/components/pagination/PaginationEnum.js +2 -18
- package/lib/components/pagination/PaginationProps.js +2 -18
- package/lib/components/pagination/PaginationProps.mjs +1 -0
- package/lib/components/pagination/index.d.mts +2 -1
- package/lib/components/pagination/index.d.ts +2 -1
- package/lib/components/pagination/index.js +5 -303
- package/lib/components/pagination/index.mjs +6 -5
- package/lib/components/pagination/index.native.js +5 -0
- package/lib/components/popover/Popover.js +26 -114
- package/lib/components/popover/Popover.mjs +2 -2
- package/lib/components/popover/Popover.native.js +89 -314
- package/lib/components/popover/PopoverEnum.js +18 -42
- package/lib/components/popover/PopoverEnum.mjs +1 -1
- package/lib/components/popover/PopoverProps.js +2 -18
- package/lib/components/popover/index.js +5 -136
- package/lib/components/popover/index.mjs +3 -3
- package/lib/components/popover/index.native.js +5 -0
- package/lib/components/price/Price.js +82 -400
- package/lib/components/price/Price.mjs +10 -9
- package/lib/components/price/Price.native.js +224 -473
- package/lib/components/price/PriceEnum.js +11 -39
- package/lib/components/price/PriceEnum.mjs +1 -1
- package/lib/components/price/PriceHelpers.js +7 -35
- package/lib/components/price/PriceHelpers.mjs +1 -1
- package/lib/components/price/PriceProps.js +2 -18
- package/lib/components/price/PriceProps.mjs +1 -0
- package/lib/components/price/index.d.mts +1 -0
- package/lib/components/price/index.d.ts +1 -0
- package/lib/components/price/index.js +5 -424
- package/lib/components/price/index.mjs +14 -12
- package/lib/components/price/index.native.js +5 -0
- package/lib/components/product-tour/ProductTour.js +35 -230
- package/lib/components/product-tour/ProductTour.mjs +4 -4
- package/lib/components/product-tour/ProductTour.native.js +12 -41
- package/lib/components/product-tour/ProductTourProps.js +33 -56
- package/lib/components/product-tour/ProductTourProps.mjs +1 -1
- package/lib/components/product-tour/index.js +4 -267
- package/lib/components/product-tour/index.mjs +6 -6
- package/lib/components/product-tour/index.native.js +4 -0
- package/lib/components/progress/Progress.js +33 -369
- package/lib/components/progress/Progress.mjs +10 -9
- package/lib/components/progress/Progress.native.js +87 -554
- package/lib/components/progress/ProgressProps.js +2 -18
- package/lib/components/progress/index.js +6 -615
- package/lib/components/progress/index.mjs +19 -17
- package/lib/components/progress/index.native.js +5 -0
- package/lib/components/progress/item/ProgressItem.js +25 -262
- package/lib/components/progress/item/ProgressItem.mjs +7 -7
- package/lib/components/progress/item/ProgressItem.native.js +28 -84
- package/lib/components/progress/item/ProgressItemProps.js +2 -18
- package/lib/components/progress/item/index.js +3 -268
- package/lib/components/progress/item/index.mjs +8 -8
- package/lib/components/progress/radial/ProgressRadial.js +71 -427
- package/lib/components/progress/radial/ProgressRadial.mjs +9 -7
- package/lib/components/progress/radial/ProgressRadial.native.js +85 -1703
- package/lib/components/progress/radial/ProgressRadialProps.js +2 -18
- package/lib/components/progress/radial/index.js +3 -435
- package/lib/components/progress/radial/index.mjs +10 -8
- package/lib/components/progress/radial/item/ProgressRadialItemProps.js +2 -18
- package/lib/components/progress/radial/item/ProgressRadialtem.js +11 -94
- package/lib/components/progress/radial/item/ProgressRadialtem.mjs +2 -2
- package/lib/components/progress/radial/item/index.mjs +2 -2
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.js +67 -1298
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.mjs +3 -3
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.js +111 -1206
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.mjs +2 -2
- package/lib/components/progress/radial/react-native-circular-progress/index.js +4 -1310
- package/lib/components/progress/radial/react-native-circular-progress/index.mjs +3 -4
- package/lib/components/radio/Radio.js +36 -119
- package/lib/components/radio/Radio.mjs +2 -2
- package/lib/components/radio/Radio.native.js +61 -370
- package/lib/components/radio/RadioProps.js +2 -18
- package/lib/components/radio/RadioProps.mjs +1 -0
- package/lib/components/radio/index.d.mts +3 -2
- package/lib/components/radio/index.d.ts +3 -2
- package/lib/components/radio/index.js +7 -486
- package/lib/components/radio/index.mjs +14 -13
- package/lib/components/radio/index.native.js +7 -0
- package/lib/components/radio/list/RadioList.js +24 -270
- package/lib/components/radio/list/RadioList.mjs +7 -7
- package/lib/components/radio/list/RadioList.native.js +22 -151
- package/lib/components/radio/list/RadioListProps.js +2 -18
- package/lib/components/radio/list/index.js +3 -275
- package/lib/components/radio/list/index.mjs +7 -7
- package/lib/components/radio/list/index.native.js +3 -0
- package/lib/components/radio/tiles/RadioTiles.js +35 -276
- package/lib/components/radio/tiles/RadioTiles.mjs +7 -7
- package/lib/components/radio/tiles/RadioTiles.native.js +32 -136
- package/lib/components/radio/tiles/RadioTilesProps.js +2 -18
- package/lib/components/radio/tiles/index.js +7 -37
- package/lib/components/radio/tiles/index.mjs +7 -7
- package/lib/components/radio/tiles/index.native.js +3 -0
- package/lib/components/radio/tiles/tile/RadioTile.js +52 -332
- package/lib/components/radio/tiles/tile/RadioTile.mjs +8 -8
- package/lib/components/radio/tiles/tile/RadioTile.native.js +116 -510
- package/lib/components/radio/tiles/tile/RadioTileProps.js +2 -18
- package/lib/components/radio/tiles/tile/index.js +26 -72
- package/lib/components/radio/tiles/tile/index.mjs +8 -8
- package/lib/components/radio/tiles/tile/index.native.js +3 -0
- package/lib/components/range/Range.js +95 -338
- package/lib/components/range/Range.mjs +6 -6
- package/lib/components/range/Range.native.js +67 -394
- package/lib/components/range/RangeProps.js +2 -18
- package/lib/components/range/index.js +3 -349
- package/lib/components/range/index.mjs +6 -6
- package/lib/components/range/index.native.js +3 -0
- package/lib/components/rows/Rows.js +18 -137
- package/lib/components/rows/Rows.mjs +3 -3
- package/lib/components/rows/Rows.native.js +23 -82
- package/lib/components/rows/RowsProps.js +2 -18
- package/lib/components/rows/index.js +4 -159
- package/lib/components/rows/index.mjs +5 -5
- package/lib/components/rows/index.native.js +4 -0
- package/lib/components/rows/row/Row.js +20 -128
- package/lib/components/rows/row/Row.mjs +3 -3
- package/lib/components/rows/row/Row.native.js +19 -74
- package/lib/components/rows/row/RowProps.js +2 -18
- package/lib/components/rows/row/index.js +3 -132
- package/lib/components/rows/row/index.mjs +4 -4
- package/lib/components/rows/row/index.native.js +3 -0
- package/lib/components/scroll-view/ScrollView.js +38 -248
- package/lib/components/scroll-view/ScrollView.mjs +6 -6
- package/lib/components/scroll-view/ScrollView.native.js +42 -370
- package/lib/components/scroll-view/ScrollViewProps.js +2 -18
- package/lib/components/scroll-view/ScrollViewProps.mjs +1 -0
- package/lib/components/scroll-view/index.d.mts +1 -0
- package/lib/components/scroll-view/index.d.ts +1 -0
- package/lib/components/scroll-view/index.js +4 -255
- package/lib/components/scroll-view/index.mjs +8 -7
- package/lib/components/scroll-view/index.native.js +4 -0
- package/lib/components/section/Section.js +27 -253
- package/lib/components/section/Section.mjs +7 -7
- package/lib/components/section/Section.native.js +26 -262
- package/lib/components/section/SectionProps.js +2 -18
- package/lib/components/section/index.js +3 -258
- package/lib/components/section/index.mjs +7 -7
- package/lib/components/section/index.native.js +3 -0
- package/lib/components/segment-control/SegmentControl.js +54 -321
- package/lib/components/segment-control/SegmentControl.mjs +9 -9
- package/lib/components/segment-control/SegmentControl.native.js +68 -580
- package/lib/components/segment-control/SegmentControlProps.js +2 -18
- package/lib/components/segment-control/SegmentControlProps.mjs +1 -0
- package/lib/components/segment-control/index.d.mts +1 -0
- package/lib/components/segment-control/index.d.ts +1 -0
- package/lib/components/segment-control/index.js +5 -333
- package/lib/components/segment-control/index.mjs +11 -10
- package/lib/components/segment-control/index.native.js +5 -0
- package/lib/components/segment-control/item/SegmentControlItem.js +31 -143
- package/lib/components/segment-control/item/SegmentControlItem.mjs +3 -3
- package/lib/components/segment-control/item/SegmentControlItem.native.js +51 -171
- package/lib/components/segment-control/item/SegmentControlItemProps.js +2 -18
- package/lib/components/segment-control/item/index.js +3 -148
- package/lib/components/segment-control/item/index.mjs +4 -4
- package/lib/components/segment-control/item/index.native.js +3 -0
- package/lib/components/select/Select.js +51 -1119
- package/lib/components/select/Select.mjs +16 -15
- package/lib/components/select/Select.native.js +123 -1643
- package/lib/components/select/SelectEnum.js +6 -34
- package/lib/components/select/SelectEnum.mjs +1 -1
- package/lib/components/select/SelectProps.js +2 -18
- package/lib/components/select/context/index.js +9 -47
- package/lib/components/select/context/index.mjs +1 -1
- package/lib/components/select/index.js +6 -1136
- package/lib/components/select/index.mjs +16 -15
- package/lib/components/select/index.native.js +6 -0
- package/lib/components/select/option/SelectOption.js +56 -280
- package/lib/components/select/option/SelectOption.mjs +4 -4
- package/lib/components/select/option/SelectOption.native.js +50 -528
- package/lib/components/select/option/SelectOptionProps.js +2 -18
- package/lib/components/select/option/index.js +3 -289
- package/lib/components/select/option/index.mjs +5 -5
- package/lib/components/select/option/index.native.js +3 -0
- package/lib/components/select/web/SelectDynamic.js +75 -906
- package/lib/components/select/web/SelectDynamic.mjs +13 -12
- package/lib/components/select/web/SelectNative.js +62 -1116
- package/lib/components/select/web/SelectNative.mjs +16 -15
- package/lib/components/select/web/index.js +3 -1126
- package/lib/components/select/web/index.mjs +16 -15
- package/lib/components/spacer/Spacer.js +23 -75
- package/lib/components/spacer/Spacer.mjs +1 -1
- package/lib/components/spacer/Spacer.native.js +19 -47
- package/lib/components/spacer/SpacerEnum.js +19 -46
- package/lib/components/spacer/SpacerEnum.mjs +1 -1
- package/lib/components/spacer/SpacerProps.js +2 -18
- package/lib/components/spacer/index.js +5 -101
- package/lib/components/spacer/index.mjs +1 -1
- package/lib/components/spacer/index.native.js +5 -0
- package/lib/components/stepper/Stepper.js +52 -238
- package/lib/components/stepper/Stepper.mjs +6 -5
- package/lib/components/stepper/Stepper.native.js +91 -389
- package/lib/components/stepper/StepperProps.js +2 -18
- package/lib/components/stepper/StepperProps.mjs +1 -0
- package/lib/components/stepper/index.d.mts +2 -1
- package/lib/components/stepper/index.d.ts +2 -1
- package/lib/components/stepper/index.js +6 -376
- package/lib/components/stepper/index.mjs +13 -11
- package/lib/components/stepper/index.native.js +6 -0
- package/lib/components/stepper/step/Step.js +34 -233
- package/lib/components/stepper/step/Step.mjs +4 -4
- package/lib/components/stepper/step/Step.native.js +50 -277
- package/lib/components/stepper/step/StepEnum.js +11 -36
- package/lib/components/stepper/step/StepEnum.mjs +1 -1
- package/lib/components/stepper/step/StepProps.js +2 -18
- package/lib/components/stepper/step/index.js +3 -237
- package/lib/components/stepper/step/index.mjs +5 -5
- package/lib/components/stepper/step/index.native.js +3 -0
- package/lib/components/sticker/Sticker.js +29 -265
- package/lib/components/sticker/Sticker.mjs +7 -7
- package/lib/components/sticker/Sticker.native.js +59 -415
- package/lib/components/sticker/StickerProps.js +2 -18
- package/lib/components/sticker/index.js +3 -270
- package/lib/components/sticker/index.mjs +7 -7
- package/lib/components/sticker/index.native.js +3 -0
- package/lib/components/styleComponent/default/index.mjs +1 -1
- package/lib/components/styleComponent/default/styleComponent.mjs +1 -1
- package/lib/components/styleComponent/default/styleComponent.native.js +5 -39
- package/lib/components/styleComponent/index.mjs +5 -5
- package/lib/components/styleComponent/mangled/index.mjs +1 -1
- package/lib/components/styleComponent/mangled/styleComponentMangled.mjs +1 -1
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.js +5 -39
- package/lib/components/switch/Switch.js +60 -326
- package/lib/components/switch/Switch.mjs +7 -7
- package/lib/components/switch/Switch.native.js +41 -314
- package/lib/components/switch/SwitchProps.js +2 -18
- package/lib/components/switch/index.js +3 -333
- package/lib/components/switch/index.mjs +7 -7
- package/lib/components/switch/index.native.js +3 -0
- package/lib/components/table/Table.js +25 -127
- package/lib/components/table/Table.mjs +2 -2
- package/lib/components/table/Table.native.js +30 -266
- package/lib/components/table/TableProps.js +7 -35
- package/lib/components/table/TableProps.mjs +1 -1
- package/lib/components/table/body/TableBody.js +23 -156
- package/lib/components/table/body/TableBody.mjs +2 -2
- package/lib/components/table/body/TableBody.native.js +19 -75
- package/lib/components/table/body/TableBodyProps.js +2 -18
- package/lib/components/table/body/index.js +3 -162
- package/lib/components/table/body/index.mjs +3 -3
- package/lib/components/table/body/index.native.js +3 -0
- package/lib/components/table/head/TableHead.js +23 -156
- package/lib/components/table/head/TableHead.mjs +2 -2
- package/lib/components/table/head/TableHead.native.js +18 -74
- package/lib/components/table/head/TableHeadProps.js +2 -18
- package/lib/components/table/head/index.js +3 -162
- package/lib/components/table/head/index.mjs +3 -3
- package/lib/components/table/head/index.native.js +3 -0
- package/lib/components/table/index.js +9 -314
- package/lib/components/table/index.mjs +12 -12
- package/lib/components/table/index.native.js +9 -0
- package/lib/components/table/td/TableTd.js +20 -96
- package/lib/components/table/td/TableTd.mjs +2 -2
- package/lib/components/table/td/TableTd.native.js +27 -258
- package/lib/components/table/td/TableTdProps.js +2 -18
- package/lib/components/table/td/index.js +3 -102
- package/lib/components/table/td/index.mjs +3 -3
- package/lib/components/table/td/index.native.js +3 -0
- package/lib/components/table/th/TableTh.js +21 -96
- package/lib/components/table/th/TableTh.mjs +2 -2
- package/lib/components/table/th/TableTh.native.js +30 -501
- package/lib/components/table/th/TableThProps.js +2 -18
- package/lib/components/table/th/index.js +3 -102
- package/lib/components/table/th/index.mjs +3 -3
- package/lib/components/table/th/index.native.js +3 -0
- package/lib/components/table/tr/TableTr.js +26 -167
- package/lib/components/table/tr/TableTr.mjs +2 -2
- package/lib/components/table/tr/TableTr.native.js +37 -518
- package/lib/components/table/tr/TableTrProps.js +2 -18
- package/lib/components/table/tr/index.js +3 -173
- package/lib/components/table/tr/index.mjs +3 -3
- package/lib/components/table/tr/index.native.js +3 -0
- package/lib/components/tabs/Tabs.js +36 -107
- package/lib/components/tabs/Tabs.mjs +1 -1
- package/lib/components/tabs/Tabs.native.js +29 -72
- package/lib/components/tabs/TabsProps.js +2 -18
- package/lib/components/tabs/context/index.js +8 -46
- package/lib/components/tabs/context/index.mjs +1 -1
- package/lib/components/tabs/index.js +7 -570
- package/lib/components/tabs/index.mjs +15 -14
- package/lib/components/tabs/index.native.js +7 -0
- package/lib/components/tabs/tab-list/TabList.js +71 -475
- package/lib/components/tabs/tab-list/TabList.mjs +8 -7
- package/lib/components/tabs/tab-list/TabList.native.js +78 -485
- package/lib/components/tabs/tab-list/TabListProps.js +2 -18
- package/lib/components/tabs/tab-list/index.js +37 -77
- package/lib/components/tabs/tab-list/index.mjs +8 -7
- package/lib/components/tabs/tab-list/index.native.js +3 -0
- package/lib/components/tabs/tab-list/tab/Tab.js +45 -349
- package/lib/components/tabs/tab-list/tab/Tab.mjs +7 -6
- package/lib/components/tabs/tab-list/tab/Tab.native.js +58 -366
- package/lib/components/tabs/tab-list/tab/TabProps.js +2 -18
- package/lib/components/tabs/tab-list/tab/index.js +26 -67
- package/lib/components/tabs/tab-list/tab/index.mjs +7 -6
- package/lib/components/tabs/tab-list/tab/index.native.js +3 -0
- package/lib/components/tabs/tab-panels/TabPanels.js +25 -138
- package/lib/components/tabs/tab-panels/TabPanels.mjs +4 -4
- package/lib/components/tabs/tab-panels/TabPanels.native.js +30 -281
- package/lib/components/tabs/tab-panels/TabPanelsProps.js +2 -18
- package/lib/components/tabs/tab-panels/index.js +6 -37
- package/lib/components/tabs/tab-panels/index.mjs +4 -4
- package/lib/components/tabs/tab-panels/index.native.js +3 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.js +23 -115
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.mjs +2 -2
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.js +41 -107
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.js +2 -18
- package/lib/components/tabs/tab-panels/tab-panel/index.js +3 -119
- package/lib/components/tabs/tab-panels/tab-panel/index.mjs +3 -3
- package/lib/components/tabs/tab-panels/tab-panel/index.native.js +3 -0
- package/lib/components/tag/Tag.js +29 -237
- package/lib/components/tag/Tag.mjs +4 -4
- package/lib/components/tag/Tag.native.js +53 -284
- package/lib/components/tag/TagEnum.js +14 -36
- package/lib/components/tag/TagEnum.mjs +1 -1
- package/lib/components/tag/TagProps.js +2 -18
- package/lib/components/tag/index.js +6 -303
- package/lib/components/tag/index.mjs +11 -11
- package/lib/components/tag/index.native.js +6 -0
- package/lib/components/tag/list/TagList.js +19 -251
- package/lib/components/tag/list/TagList.mjs +7 -7
- package/lib/components/tag/list/TagList.native.js +27 -82
- package/lib/components/tag/list/TagListProps.js +2 -18
- package/lib/components/tag/list/index.js +3 -256
- package/lib/components/tag/list/index.mjs +8 -8
- package/lib/components/tag/list/index.native.js +3 -0
- package/lib/components/text/Text.js +53 -176
- package/lib/components/text/Text.mjs +2 -2
- package/lib/components/text/Text.native.js +74 -247
- package/lib/components/text/TextEnum.js +19 -43
- package/lib/components/text/TextEnum.mjs +1 -1
- package/lib/components/text/TextProps.js +2 -18
- package/lib/components/text/TextProps.mjs +1 -0
- package/lib/components/text/index.d.mts +1 -0
- package/lib/components/text/index.d.ts +1 -0
- package/lib/components/text/index.js +5 -194
- package/lib/components/text/index.mjs +4 -3
- package/lib/components/text/index.native.js +5 -0
- package/lib/components/textarea/Textarea.js +67 -389
- package/lib/components/textarea/Textarea.mjs +10 -9
- package/lib/components/textarea/Textarea.native.js +150 -535
- package/lib/components/textarea/TextareaProps.js +2 -18
- package/lib/components/textarea/index.js +3 -395
- package/lib/components/textarea/index.mjs +10 -9
- package/lib/components/textarea/index.native.js +3 -0
- package/lib/components/timeline/Timeline.js +20 -128
- package/lib/components/timeline/Timeline.mjs +3 -3
- package/lib/components/timeline/Timeline.native.js +26 -64
- package/lib/components/timeline/TimelineProps.js +2 -18
- package/lib/components/timeline/content/TimelineContent.js +29 -387
- package/lib/components/timeline/content/TimelineContent.mjs +8 -7
- package/lib/components/timeline/content/TimelineContent.native.js +46 -528
- package/lib/components/timeline/content/TimelineContentProps.js +2 -18
- package/lib/components/timeline/content/TimelineContentProps.mjs +1 -0
- package/lib/components/timeline/content/index.d.mts +1 -0
- package/lib/components/timeline/content/index.d.ts +1 -0
- package/lib/components/timeline/content/index.js +4 -393
- package/lib/components/timeline/content/index.mjs +10 -8
- package/lib/components/timeline/content/index.native.js +4 -0
- package/lib/components/timeline/index.js +6 -453
- package/lib/components/timeline/index.mjs +19 -15
- package/lib/components/timeline/index.native.js +6 -0
- package/lib/components/timeline/item/TimelineItem.js +21 -126
- package/lib/components/timeline/item/TimelineItem.mjs +3 -3
- package/lib/components/timeline/item/TimelineItem.native.js +36 -100
- package/lib/components/timeline/item/TimelineItemProps.js +2 -18
- package/lib/components/timeline/item/TimelineItemProps.mjs +1 -0
- package/lib/components/timeline/item/index.d.mts +1 -0
- package/lib/components/timeline/item/index.d.ts +1 -0
- package/lib/components/timeline/item/index.js +4 -130
- package/lib/components/timeline/item/index.mjs +5 -4
- package/lib/components/timeline/item/index.native.js +4 -0
- package/lib/components/timeline/marker/TimelineMarker.js +26 -223
- package/lib/components/timeline/marker/TimelineMarker.mjs +4 -4
- package/lib/components/timeline/marker/TimelineMarker.native.js +52 -369
- package/lib/components/timeline/marker/TimelineMarkerProps.js +2 -18
- package/lib/components/timeline/marker/TimelineMarkerProps.mjs +1 -0
- package/lib/components/timeline/marker/index.d.mts +1 -0
- package/lib/components/timeline/marker/index.d.ts +1 -0
- package/lib/components/timeline/marker/index.js +4 -227
- package/lib/components/timeline/marker/index.mjs +6 -5
- package/lib/components/timeline/marker/index.native.js +4 -0
- package/lib/components/title/Title.js +68 -186
- package/lib/components/title/Title.mjs +2 -2
- package/lib/components/title/Title.native.js +89 -370
- package/lib/components/title/TitleEnum.js +25 -52
- package/lib/components/title/TitleEnum.mjs +1 -1
- package/lib/components/title/TitleProps.js +2 -18
- package/lib/components/title/TitleProps.mjs +1 -0
- package/lib/components/title/index.d.mts +1 -0
- package/lib/components/title/index.d.ts +1 -0
- package/lib/components/title/index.js +5 -209
- package/lib/components/title/index.mjs +4 -3
- package/lib/components/title/index.native.js +5 -0
- package/lib/components/view/View.js +42 -373
- package/lib/components/view/View.mjs +7 -7
- package/lib/components/view/View.native.js +48 -343
- package/lib/components/view/ViewEnum.js +21 -48
- package/lib/components/view/ViewEnum.mjs +1 -1
- package/lib/components/view/ViewProps.js +21 -49
- package/lib/components/view/ViewProps.mjs +1 -1
- package/lib/components/view/index.js +5 -405
- package/lib/components/view/index.mjs +7 -7
- package/lib/components/view/index.native.js +5 -0
- package/lib/context/index.js +12 -51
- package/lib/context/index.mjs +1 -1
- package/lib/context/index.native.js +5 -30
- package/lib/context/interfaces.js +2 -18
- package/lib/context/provider/index.js +34 -81
- package/lib/context/provider/index.mjs +3 -3
- package/lib/context/provider/index.native.js +3 -31
- package/lib/context/providerStates/index.js +6 -34
- package/lib/context/providerStates/index.mjs +9 -4
- package/lib/context/providerStyled/index.mjs +1 -1
- package/lib/context/providerStyled/index.native.js +3 -31
- package/lib/context/providerTheme/index.js +12 -54
- package/lib/context/providerTheme/index.mjs +1 -1
- package/lib/context/providerTheme/index.native.js +18 -113
- package/lib/context/test/provider.test.js +110 -114
- package/lib/context/test/provider.test.mjs +112 -71
- package/lib/events/OnClickEvent/index.js +2 -18
- package/lib/helpers/device/index.js +27 -63
- package/lib/helpers/device/index.mjs +1 -1
- package/lib/helpers/device/index.native.js +29 -0
- package/lib/helpers/enumHelpers/index.js +6 -37
- package/lib/helpers/enumHelpers/index.mjs +1 -1
- package/lib/helpers/hashClassesHelpers/index.js +18 -62
- package/lib/helpers/hashClassesHelpers/index.mjs +1 -1
- package/lib/helpers/index.js +5 -129
- package/lib/helpers/index.mjs +4 -4
- package/lib/helpers/index.native.js +5 -0
- package/lib/helpers/require/index.js +3 -43
- package/lib/helpers/require/index.mjs +1 -1
- package/lib/helpers/testHelpers/index.js +11 -39
- package/lib/helpers/testHelpers/index.mjs +1 -1
- package/lib/index.d.mts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1146 -1587
- package/lib/index.mjs +301 -284
- package/lib/index.native.js +7 -0
- package/lib/objects/Typography/TypographyAlign/index.js +25 -40
- package/lib/objects/Typography/TypographyAlign/index.mjs +1 -1
- package/lib/objects/Typography/TypographyBold/index.js +46 -91
- package/lib/objects/Typography/TypographyBold/index.mjs +2 -2
- package/lib/objects/Typography/TypographyBold/index.native.js +48 -0
- package/lib/objects/Typography/TypographyColor/index.js +54 -109
- package/lib/objects/Typography/TypographyColor/index.mjs +1 -1
- package/lib/objects/Typography/TypographyColor/index.native.js +55 -0
- package/lib/objects/Typography/TypographyTransform/index.js +11 -36
- package/lib/objects/Typography/TypographyTransform/index.mjs +1 -1
- package/lib/objects/Typography/index.js +5 -182
- package/lib/objects/Typography/index.mjs +7 -7
- package/lib/objects/Typography/index.native.js +5 -0
- package/lib/objects/atoms/Background/index.js +10 -85
- package/lib/objects/atoms/Background/index.mjs +1 -1
- package/lib/objects/atoms/Text/index.js +36 -50
- package/lib/objects/atoms/Text/index.mjs +1 -1
- package/lib/objects/atoms/index.js +3 -111
- package/lib/objects/atoms/index.mjs +1 -1
- package/lib/objects/facets/Accessibility/index.js +2 -18
- package/lib/objects/facets/Alignable/index.js +59 -79
- package/lib/objects/facets/Alignable/index.mjs +1 -1
- package/lib/objects/facets/Alternate/index.js +2 -18
- package/lib/objects/facets/Centerable/index.js +2 -18
- package/lib/objects/facets/ChildrenWithNoText/index.js +2 -18
- package/lib/objects/facets/Clickable/index.js +2 -18
- package/lib/objects/facets/Clipped/index.js +2 -18
- package/lib/objects/facets/Color/index.js +144 -180
- package/lib/objects/facets/Color/index.mjs +1 -1
- package/lib/objects/facets/Color/index.native.js +155 -0
- package/lib/objects/facets/CommonProps/index.js +2 -18
- package/lib/objects/facets/Dev/index.js +2 -18
- package/lib/objects/facets/Direction/index.js +6 -34
- package/lib/objects/facets/Direction/index.mjs +1 -1
- package/lib/objects/facets/Fullheight/index.js +2 -18
- package/lib/objects/facets/Fullwidth/index.js +2 -18
- package/lib/objects/facets/Hat/index.js +2 -18
- package/lib/objects/facets/Hidden/index.js +2 -18
- package/lib/objects/facets/Invertable/index.js +2 -18
- package/lib/objects/facets/Justifiable/index.js +84 -113
- package/lib/objects/facets/Justifiable/index.mjs +1 -1
- package/lib/objects/facets/Layout/index.js +2 -18
- package/lib/objects/facets/Loadable/index.js +23 -45
- package/lib/objects/facets/Loadable/index.mjs +1 -1
- package/lib/objects/facets/Marginless/index.js +2 -18
- package/lib/objects/facets/Narrow/index.js +2 -18
- package/lib/objects/facets/Paddingless/index.js +2 -18
- package/lib/objects/facets/Position/index.js +2 -18
- package/lib/objects/facets/Referenceable/index.js +2 -18
- package/lib/objects/facets/ScrollDirection/index.js +6 -34
- package/lib/objects/facets/ScrollDirection/index.mjs +1 -1
- package/lib/objects/facets/Small/index.js +2 -18
- package/lib/objects/facets/Stacked/index.js +2 -18
- package/lib/objects/facets/Status/index.js +66 -280
- package/lib/objects/facets/Status/index.mjs +3 -3
- package/lib/objects/facets/Status/index.native.js +70 -0
- package/lib/objects/facets/Sticky/index.js +6 -34
- package/lib/objects/facets/Sticky/index.mjs +1 -1
- package/lib/objects/facets/Variant/index.js +54 -135
- package/lib/objects/facets/Variant/index.mjs +1 -1
- package/lib/objects/facets/Variant/index.native.js +57 -0
- package/lib/objects/facets/VerticalPaddingless/index.js +2 -18
- package/lib/objects/facets/index.js +31 -613
- package/lib/objects/facets/index.mjs +8 -8
- package/lib/objects/facets/index.native.js +31 -0
- package/lib/objects/index.js +4 -732
- package/lib/objects/index.mjs +14 -14
- package/lib/objects/index.native.js +4 -0
- package/lib/services/classify/index.js +13 -47
- package/lib/services/classify/index.mjs +1 -1
- package/lib/services/index.js +2 -51
- package/lib/services/index.mjs +1 -1
- package/lib/tsup.config.d.mts +2 -0
- package/lib/tsup.config.d.ts +2 -0
- package/lib/version.d.mts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +2 -30
- package/lib/version.json +1 -1
- package/lib/version.mjs +2 -2
- package/package.json +3 -2
- package/lib/chunk-23QAKWRT.mjs +0 -23
- package/lib/chunk-25BSGNJQ.mjs +0 -88
- package/lib/chunk-27AXWBOH.mjs +0 -293
- package/lib/chunk-2BZ2VI6P.mjs +0 -10
- package/lib/chunk-2KZUGYFC.mjs +0 -10
- package/lib/chunk-2NFFUWOC.mjs +0 -49
- package/lib/chunk-464E6G2G.mjs +0 -49
- package/lib/chunk-4FTHP3HH.mjs +0 -34
- package/lib/chunk-4K6MLV5J.mjs +0 -11
- package/lib/chunk-4LBZ3XBH.mjs +0 -10
- package/lib/chunk-4VQ23W74.mjs +0 -92
- package/lib/chunk-4WFWYG5G.mjs +0 -45
- package/lib/chunk-52B77LHM.mjs +0 -61
- package/lib/chunk-5RSA2JUY.mjs +0 -10
- package/lib/chunk-5ULJSSPK.mjs +0 -94
- package/lib/chunk-5VXNRGQP.mjs +0 -10
- package/lib/chunk-5WUZLA5U.mjs +0 -23
- package/lib/chunk-6CKUXYFW.mjs +0 -32
- package/lib/chunk-6DURE6PX.mjs +0 -50
- package/lib/chunk-6E24XGPG.mjs +0 -224
- package/lib/chunk-6F4GWAQR.mjs +0 -57
- package/lib/chunk-6HDUOAQJ.mjs +0 -58
- package/lib/chunk-6MRXQEXG.mjs +0 -56
- package/lib/chunk-6O27I7YS.mjs +0 -10
- package/lib/chunk-6RRKQLD2.mjs +0 -35
- package/lib/chunk-6UHOTVOM.mjs +0 -10
- package/lib/chunk-72TZ3YCA.mjs +0 -26
- package/lib/chunk-7D7LKWSD.mjs +0 -48
- package/lib/chunk-7DMYYWFF.mjs +0 -196
- package/lib/chunk-7MMP2TTO.mjs +0 -27
- package/lib/chunk-7ZC2EADB.mjs +0 -41
- package/lib/chunk-A6HIEHFY.mjs +0 -50
- package/lib/chunk-AKO67F5N.mjs +0 -10
- package/lib/chunk-ARDRXO37.mjs +0 -10
- package/lib/chunk-ASMV3Z5S.mjs +0 -78
- package/lib/chunk-AY2JUWGX.mjs +0 -40
- package/lib/chunk-BTJ3MRA4.mjs +0 -31
- package/lib/chunk-C4SZWFXY.mjs +0 -45
- package/lib/chunk-C7BQGWWB.mjs +0 -98
- package/lib/chunk-CEUO2YH7.mjs +0 -10
- package/lib/chunk-CYKIRS7S.mjs +0 -10
- package/lib/chunk-D54BWZBZ.mjs +0 -6
- package/lib/chunk-DCHIMQHR.mjs +0 -90
- package/lib/chunk-DCZEMRVR.mjs +0 -54
- package/lib/chunk-DEIVRKFT.mjs +0 -87
- package/lib/chunk-E6ZKOM6O.mjs +0 -112
- package/lib/chunk-EGMZKSCZ.mjs +0 -167
- package/lib/chunk-EHBRE7UT.mjs +0 -44
- package/lib/chunk-EVSLOZK4.mjs +0 -10
- package/lib/chunk-EX2XLAAA.mjs +0 -111
- package/lib/chunk-FZQ6JRGK.mjs +0 -43
- package/lib/chunk-G5TZKCZB.mjs +0 -37
- package/lib/chunk-GASX25GY.mjs +0 -31
- package/lib/chunk-GIGB6DRD.mjs +0 -10
- package/lib/chunk-GQJD5TBY.mjs +0 -10
- package/lib/chunk-HKPWGLB2.mjs +0 -98
- package/lib/chunk-HUAOZ4KN.mjs +0 -46
- package/lib/chunk-JDRCAXLZ.mjs +0 -47
- package/lib/chunk-JHALTDMM.mjs +0 -149
- package/lib/chunk-JICWBGO7.mjs +0 -26
- package/lib/chunk-JN3Y5YKN.mjs +0 -42
- package/lib/chunk-JSU474PM.mjs +0 -112
- package/lib/chunk-JZJ5OVI3.mjs +0 -70
- package/lib/chunk-KBELXV3G.mjs +0 -75
- package/lib/chunk-KFJX6EUX.mjs +0 -35
- package/lib/chunk-KJPJBTU3.mjs +0 -39
- package/lib/chunk-L3EWKVGK.mjs +0 -50
- package/lib/chunk-L4E6EFSE.mjs +0 -99
- package/lib/chunk-LB77O5E4.mjs +0 -34
- package/lib/chunk-LRDFFA4N.mjs +0 -115
- package/lib/chunk-M3QCBOMR.mjs +0 -170
- package/lib/chunk-M6N7BEOQ.mjs +0 -452
- package/lib/chunk-N74Y4RTS.mjs +0 -56
- package/lib/chunk-NC4ADG7Y.mjs +0 -10
- package/lib/chunk-NGQ7NKVZ.mjs +0 -58
- package/lib/chunk-NQNAS6P6.mjs +0 -108
- package/lib/chunk-NUAAULBS.mjs +0 -10
- package/lib/chunk-NUL2NM3T.mjs +0 -34
- package/lib/chunk-NVXOPUHQ.mjs +0 -38
- package/lib/chunk-NX5S7M4U.mjs +0 -113
- package/lib/chunk-NYTDVUJA.mjs +0 -27
- package/lib/chunk-NZC6XZ5P.mjs +0 -104
- package/lib/chunk-OLOR7JJS.mjs +0 -107
- package/lib/chunk-OMXKQXW3.mjs +0 -38
- package/lib/chunk-OT23T7T7.mjs +0 -12
- package/lib/chunk-P6CYEOEU.mjs +0 -34
- package/lib/chunk-PDX2MBDM.mjs +0 -56
- package/lib/chunk-PMVCX6G5.mjs +0 -10
- package/lib/chunk-PNHDHZ6W.mjs +0 -42
- package/lib/chunk-PUI2WFL6.mjs +0 -37
- package/lib/chunk-PWGS2QOF.mjs +0 -75
- package/lib/chunk-Q7T5TQSP.mjs +0 -55
- package/lib/chunk-QQO2ZZKK.mjs +0 -32
- package/lib/chunk-R4YRDHPM.mjs +0 -43
- package/lib/chunk-REJOU4FA.mjs +0 -29
- package/lib/chunk-REZTEZGD.mjs +0 -40
- package/lib/chunk-RL2RIYOW.mjs +0 -179
- package/lib/chunk-ROQNINF3.mjs +0 -74
- package/lib/chunk-RUUTYXKP.mjs +0 -10
- package/lib/chunk-S3NVF5RX.mjs +0 -98
- package/lib/chunk-S5SNGJ6D.mjs +0 -29
- package/lib/chunk-SI3UQ4KE.mjs +0 -147
- package/lib/chunk-SZNGJMRR.mjs +0 -54
- package/lib/chunk-TA74RDPN.mjs +0 -10
- package/lib/chunk-TCXXIVXR.mjs +0 -10
- package/lib/chunk-TOZQZGNE.mjs +0 -10
- package/lib/chunk-TYN3DL2P.mjs +0 -12
- package/lib/chunk-U2DPDTMX.mjs +0 -55
- package/lib/chunk-UFFFAKGD.mjs +0 -10
- package/lib/chunk-UPJXU7XF.mjs +0 -1173
- package/lib/chunk-UT74RMOI.mjs +0 -61
- package/lib/chunk-V62WQTG3.mjs +0 -36
- package/lib/chunk-VZXEOOIF.mjs +0 -10
- package/lib/chunk-WNOUV4YC.mjs +0 -48
- package/lib/chunk-WPFFWM52.mjs +0 -102
- package/lib/chunk-X6IC6AUM.mjs +0 -47
- package/lib/chunk-XL2CSAQF.mjs +0 -7
- package/lib/chunk-XTOV4DLD.mjs +0 -12
- package/lib/chunk-Y224LKBE.mjs +0 -113
- package/lib/chunk-YAUPGZJ6.mjs +0 -145
- package/lib/chunk-YIEH3QZ4.mjs +0 -44
- package/lib/chunk-YLGY2MMV.mjs +0 -93
- package/lib/chunk-YOQ5TPNT.mjs +0 -46
- package/lib/chunk-YRT7F7D6.mjs +0 -10
- package/lib/chunk-YTUCHYNR.mjs +0 -88
- package/lib/chunk-Z2332RKX.mjs +0 -118
- package/lib/chunk-Z4JQMRUL.mjs +0 -26
- package/lib/chunk-ZDE4I55C.mjs +0 -56
- package/lib/chunk-ZG5GSZ7B.mjs +0 -52
- package/lib/chunk-ZIPFFPLM.mjs +0 -37
- package/lib/chunk-ZO46D3GS.mjs +0 -10
- package/lib/chunk-ZOW27NA6.mjs +0 -107
- package/lib/chunk-ZPRBHA2I.mjs +0 -58
- package/lib/chunk-ZV47FGL7.mjs +0 -43
- package/lib/components/accordion/Accordion.native.d.mts +0 -9
- package/lib/components/accordion/Accordion.native.d.ts +0 -9
- package/lib/components/accordion/Accordion.native.mjs +0 -25
- package/lib/components/accordion/item/AccordionItem.native.d.mts +0 -13
- package/lib/components/accordion/item/AccordionItem.native.d.ts +0 -13
- package/lib/components/accordion/item/AccordionItem.native.mjs +0 -173
- package/lib/components/accordion/item/body/AccordionBody.native.d.mts +0 -9
- package/lib/components/accordion/item/body/AccordionBody.native.d.ts +0 -9
- package/lib/components/accordion/item/body/AccordionBody.native.mjs +0 -23
- package/lib/components/accordion/item/body/test/AccordionBody.native.test.d.mts +0 -1
- package/lib/components/accordion/item/body/test/AccordionBody.native.test.d.ts +0 -1
- package/lib/components/accordion/item/body/test/AccordionBody.test.d.mts +0 -1
- package/lib/components/accordion/item/body/test/AccordionBody.test.d.ts +0 -1
- package/lib/components/accordion/item/header/AccordionHeader.native.d.mts +0 -9
- package/lib/components/accordion/item/header/AccordionHeader.native.d.ts +0 -9
- package/lib/components/accordion/item/header/AccordionHeader.native.mjs +0 -23
- package/lib/components/accordion/item/header/test/AccordionHeader.native.test.d.mts +0 -1
- package/lib/components/accordion/item/header/test/AccordionHeader.native.test.d.ts +0 -1
- package/lib/components/accordion/item/header/test/AccordionHeader.test.d.mts +0 -1
- package/lib/components/accordion/item/header/test/AccordionHeader.test.d.ts +0 -1
- package/lib/components/accordion/item/test/AccordionItem.native.test.d.mts +0 -1
- package/lib/components/accordion/item/test/AccordionItem.native.test.d.ts +0 -1
- package/lib/components/accordion/item/test/AccordionItem.test.d.mts +0 -1
- package/lib/components/accordion/item/test/AccordionItem.test.d.ts +0 -1
- package/lib/components/accordion/test/Accordion.native.test.d.mts +0 -1
- package/lib/components/accordion/test/Accordion.native.test.d.ts +0 -1
- package/lib/components/accordion/test/Accordion.test.d.mts +0 -1
- package/lib/components/accordion/test/Accordion.test.d.ts +0 -1
- package/lib/components/alert/Alert.native.d.mts +0 -34
- package/lib/components/alert/Alert.native.d.ts +0 -34
- package/lib/components/alert/Alert.native.mjs +0 -199
- package/lib/components/alert/test/Alert.native.test.d.mts +0 -1
- package/lib/components/alert/test/Alert.native.test.d.ts +0 -1
- package/lib/components/alert/test/Alert.test.d.mts +0 -1
- package/lib/components/alert/test/Alert.test.d.ts +0 -1
- package/lib/components/autocomplete/AutoComplete.native.d.mts +0 -27
- package/lib/components/autocomplete/AutoComplete.native.d.ts +0 -27
- package/lib/components/autocomplete/AutoComplete.native.mjs +0 -213
- package/lib/components/autocomplete/item/AutoCompleteIem.native.d.mts +0 -3
- package/lib/components/autocomplete/item/AutoCompleteIem.native.d.ts +0 -3
- package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +0 -15
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.mts +0 -3
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.ts +0 -3
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.mjs +0 -65
- package/lib/components/autocomplete/test/Autocomplete.native.test.d.mts +0 -1
- package/lib/components/autocomplete/test/Autocomplete.native.test.d.ts +0 -1
- package/lib/components/autocomplete/test/Autocomplete.test.d.mts +0 -1
- package/lib/components/autocomplete/test/Autocomplete.test.d.ts +0 -1
- package/lib/components/autolayout/AutoLayout.native.d.mts +0 -12
- package/lib/components/autolayout/AutoLayout.native.d.ts +0 -12
- package/lib/components/autolayout/AutoLayout.native.mjs +0 -40
- package/lib/components/autolayout/test/AutoLayout.native.test.d.mts +0 -1
- package/lib/components/autolayout/test/AutoLayout.native.test.d.ts +0 -1
- package/lib/components/autolayout/test/AutoLayout.test.d.mts +0 -1
- package/lib/components/autolayout/test/AutoLayout.test.d.ts +0 -1
- package/lib/components/badge/Badge.native.d.mts +0 -18
- package/lib/components/badge/Badge.native.d.ts +0 -18
- package/lib/components/badge/Badge.native.mjs +0 -162
- package/lib/components/badge/test/Badge.test.d.mts +0 -1
- package/lib/components/badge/test/Badge.test.d.ts +0 -1
- package/lib/components/box/Box.native.d.mts +0 -22
- package/lib/components/box/Box.native.d.ts +0 -22
- package/lib/components/box/Box.native.mjs +0 -160
- package/lib/components/box/content/BoxContent.native.d.mts +0 -11
- package/lib/components/box/content/BoxContent.native.d.ts +0 -11
- package/lib/components/box/content/BoxContent.native.mjs +0 -41
- package/lib/components/box/footer/BoxFooter.native.d.mts +0 -10
- package/lib/components/box/footer/BoxFooter.native.d.ts +0 -10
- package/lib/components/box/footer/BoxFooter.native.mjs +0 -84
- package/lib/components/box/header/BoxHeader.native.d.mts +0 -10
- package/lib/components/box/header/BoxHeader.native.d.ts +0 -10
- package/lib/components/box/header/BoxHeader.native.mjs +0 -63
- package/lib/components/box/item/BoxItem.native.d.mts +0 -10
- package/lib/components/box/item/BoxItem.native.d.ts +0 -10
- package/lib/components/box/item/BoxItem.native.mjs +0 -28
- package/lib/components/box/table-container/BoxTableContainer.native.d.mts +0 -9
- package/lib/components/box/table-container/BoxTableContainer.native.d.ts +0 -9
- package/lib/components/box/table-container/BoxTableContainer.native.mjs +0 -23
- package/lib/components/box/test/Box.native.test.d.mts +0 -1
- package/lib/components/box/test/Box.native.test.d.ts +0 -1
- package/lib/components/box/test/Box.test.d.mts +0 -1
- package/lib/components/box/test/Box.test.d.ts +0 -1
- package/lib/components/breadcrumb/Breadcrumb.native.d.mts +0 -10
- package/lib/components/breadcrumb/Breadcrumb.native.d.ts +0 -10
- package/lib/components/breadcrumb/Breadcrumb.native.mjs +0 -46
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.mts +0 -13
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.ts +0 -13
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +0 -51
- package/lib/components/breadcrumb/test/Breadcrumb.native.test.d.mts +0 -1
- package/lib/components/breadcrumb/test/Breadcrumb.native.test.d.ts +0 -1
- package/lib/components/breadcrumb/test/Breadcrumb.test.d.mts +0 -1
- package/lib/components/breadcrumb/test/Breadcrumb.test.d.ts +0 -1
- package/lib/components/breadcrumb/test/BreadcrumbItem.test.d.mts +0 -1
- package/lib/components/breadcrumb/test/BreadcrumbItem.test.d.ts +0 -1
- package/lib/components/button/Button.native.d.mts +0 -17
- package/lib/components/button/Button.native.d.ts +0 -17
- package/lib/components/button/Button.native.mjs +0 -200
- package/lib/components/button/list/ButtonList.native.d.mts +0 -9
- package/lib/components/button/list/ButtonList.native.d.ts +0 -9
- package/lib/components/button/list/ButtonList.native.mjs +0 -16
- package/lib/components/button/test/Button.native.test.d.mts +0 -1
- package/lib/components/button/test/Button.native.test.d.ts +0 -1
- package/lib/components/button/test/Button.test.d.mts +0 -1
- package/lib/components/button/test/Button.test.d.ts +0 -1
- package/lib/components/button/test/ButtonList.test.d.mts +0 -1
- package/lib/components/button/test/ButtonList.test.d.ts +0 -1
- package/lib/components/card/Card.native.d.mts +0 -25
- package/lib/components/card/Card.native.d.ts +0 -25
- package/lib/components/card/Card.native.mjs +0 -14
- package/lib/components/card/content/CardContent.native.d.mts +0 -9
- package/lib/components/card/content/CardContent.native.d.ts +0 -9
- package/lib/components/card/content/CardContent.native.mjs +0 -35
- package/lib/components/card/content/test/CardContent.native.test.d.mts +0 -1
- package/lib/components/card/content/test/CardContent.native.test.d.ts +0 -1
- package/lib/components/card/content/test/CardContent.test.d.mts +0 -1
- package/lib/components/card/content/test/CardContent.test.d.ts +0 -1
- package/lib/components/card/image/CardImage.native.d.mts +0 -14
- package/lib/components/card/image/CardImage.native.d.ts +0 -14
- package/lib/components/card/image/CardImage.native.mjs +0 -60
- package/lib/components/card/image/test/CardImage.native.test.d.mts +0 -1
- package/lib/components/card/image/test/CardImage.native.test.d.ts +0 -1
- package/lib/components/card/image/test/CardImage.test.d.mts +0 -1
- package/lib/components/card/image/test/CardImage.test.d.ts +0 -1
- package/lib/components/card/test/Card.native.test.d.mts +0 -1
- package/lib/components/card/test/Card.native.test.d.ts +0 -1
- package/lib/components/card/test/Card.test.d.mts +0 -1
- package/lib/components/card/test/Card.test.d.ts +0 -1
- package/lib/components/checkbox/Checkbox.native.d.mts +0 -16
- package/lib/components/checkbox/Checkbox.native.d.ts +0 -16
- package/lib/components/checkbox/Checkbox.native.mjs +0 -81
- package/lib/components/checkbox/list/CheckboxList.native.d.mts +0 -9
- package/lib/components/checkbox/list/CheckboxList.native.d.ts +0 -9
- package/lib/components/checkbox/list/CheckboxList.native.mjs +0 -39
- package/lib/components/checkbox/test/Checkbox.native.test.d.mts +0 -1
- package/lib/components/checkbox/test/Checkbox.native.test.d.ts +0 -1
- package/lib/components/checkbox/test/Checkbox.test.d.mts +0 -1
- package/lib/components/checkbox/test/Checkbox.test.d.ts +0 -1
- package/lib/components/checkbox/tiles/CheckboxTiles.native.d.mts +0 -5
- package/lib/components/checkbox/tiles/CheckboxTiles.native.d.ts +0 -5
- package/lib/components/checkbox/tiles/CheckboxTiles.native.mjs +0 -38
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.mts +0 -5
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.ts +0 -5
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +0 -227
- package/lib/components/chips/Chips.native.d.mts +0 -13
- package/lib/components/chips/Chips.native.d.ts +0 -13
- package/lib/components/chips/Chips.native.mjs +0 -92
- package/lib/components/chips/list/ChipsList.native.d.mts +0 -13
- package/lib/components/chips/list/ChipsList.native.d.ts +0 -13
- package/lib/components/chips/list/ChipsList.native.mjs +0 -10
- package/lib/components/chips/list/test/ChipsList.native.test.d.mts +0 -1
- package/lib/components/chips/list/test/ChipsList.native.test.d.ts +0 -1
- package/lib/components/chips/list/test/ChipsList.test.d.mts +0 -1
- package/lib/components/chips/list/test/ChipsList.test.d.ts +0 -1
- package/lib/components/chips/test/Chips.native.test.d.mts +0 -1
- package/lib/components/chips/test/Chips.native.test.d.ts +0 -1
- package/lib/components/chips/test/Chips.test.d.mts +0 -1
- package/lib/components/chips/test/Chips.test.d.ts +0 -1
- package/lib/components/columns/Columns.native.d.mts +0 -13
- package/lib/components/columns/Columns.native.d.ts +0 -13
- package/lib/components/columns/Columns.native.mjs +0 -112
- package/lib/components/columns/column/Column.native.d.mts +0 -9
- package/lib/components/columns/column/Column.native.d.ts +0 -9
- package/lib/components/columns/column/Column.native.mjs +0 -104
- package/lib/components/container/Container.native.d.mts +0 -9
- package/lib/components/container/Container.native.d.ts +0 -9
- package/lib/components/container/Container.native.mjs +0 -28
- package/lib/components/container/test/Container.native.test.d.mts +0 -1
- package/lib/components/container/test/Container.native.test.d.ts +0 -1
- package/lib/components/container/test/Container.test.d.mts +0 -1
- package/lib/components/container/test/Container.test.d.ts +0 -1
- package/lib/components/countdown/Countdown.native.d.mts +0 -15
- package/lib/components/countdown/Countdown.native.d.ts +0 -15
- package/lib/components/countdown/Countdown.native.mjs +0 -164
- package/lib/components/countdown/test/Countdown.native.test.d.mts +0 -1
- package/lib/components/countdown/test/Countdown.native.test.d.ts +0 -1
- package/lib/components/countdown/test/Countdown.test.d.mts +0 -1
- package/lib/components/countdown/test/Countdown.test.d.ts +0 -1
- package/lib/components/divider/Divider.native.d.mts +0 -14
- package/lib/components/divider/Divider.native.d.ts +0 -14
- package/lib/components/divider/Divider.native.mjs +0 -106
- package/lib/components/divider/test/Divider.native.test.d.mts +0 -1
- package/lib/components/divider/test/Divider.native.test.d.ts +0 -1
- package/lib/components/divider/test/Divider.test.d.mts +0 -1
- package/lib/components/divider/test/Divider.test.d.ts +0 -1
- package/lib/components/fab/Fab.native.d.mts +0 -18
- package/lib/components/fab/Fab.native.d.ts +0 -18
- package/lib/components/fab/Fab.native.mjs +0 -140
- package/lib/components/fab/test/Fab.test.d.mts +0 -1
- package/lib/components/fab/test/Fab.test.d.ts +0 -1
- package/lib/components/flex-box/FlexBox.native.d.mts +0 -5
- package/lib/components/flex-box/FlexBox.native.d.ts +0 -5
- package/lib/components/flex-box/FlexBox.native.mjs +0 -100
- package/lib/components/flex-box/flex-item/FlexItem.native.d.mts +0 -29
- package/lib/components/flex-box/flex-item/FlexItem.native.d.ts +0 -29
- package/lib/components/flex-box/flex-item/FlexItem.native.mjs +0 -55
- package/lib/components/hero/Hero.native.d.mts +0 -16
- package/lib/components/hero/Hero.native.d.ts +0 -16
- package/lib/components/hero/Hero.native.mjs +0 -136
- package/lib/components/hero/test/Hero.native.test.d.mts +0 -1
- package/lib/components/hero/test/Hero.native.test.d.ts +0 -1
- package/lib/components/hero/test/Hero.test.d.mts +0 -1
- package/lib/components/hero/test/Hero.test.d.ts +0 -1
- package/lib/components/icon/Icon.native.d.mts +0 -22
- package/lib/components/icon/Icon.native.d.ts +0 -22
- package/lib/components/icon/Icon.native.mjs +0 -136
- package/lib/components/icon/test/Icon.test.d.mts +0 -1
- package/lib/components/icon/test/Icon.test.d.ts +0 -1
- package/lib/components/image/Image.native.d.mts +0 -15
- package/lib/components/image/Image.native.d.ts +0 -15
- package/lib/components/image/Image.native.mjs +0 -39
- package/lib/components/image/test/Image.native.test.d.mts +0 -1
- package/lib/components/image/test/Image.native.test.d.ts +0 -1
- package/lib/components/image/test/Image.test.d.mts +0 -1
- package/lib/components/image/test/Image.test.d.ts +0 -1
- package/lib/components/input/Input.native.d.mts +0 -39
- package/lib/components/input/Input.native.d.ts +0 -39
- package/lib/components/input/Input.native.mjs +0 -71
- package/lib/components/input/gauge/InputGauge.native.d.mts +0 -7
- package/lib/components/input/gauge/InputGauge.native.d.ts +0 -7
- package/lib/components/input/gauge/InputGauge.native.mjs +0 -64
- package/lib/components/input/test/Input.native.test.d.mts +0 -1
- package/lib/components/input/test/Input.native.test.d.ts +0 -1
- package/lib/components/input/test/Input.test.d.mts +0 -1
- package/lib/components/input/test/Input.test.d.ts +0 -1
- package/lib/components/link/Link.native.d.mts +0 -16
- package/lib/components/link/Link.native.d.ts +0 -16
- package/lib/components/link/Link.native.mjs +0 -93
- package/lib/components/link/test/link.native.test.d.mts +0 -1
- package/lib/components/link/test/link.native.test.d.ts +0 -1
- package/lib/components/link/test/link.test.d.mts +0 -1
- package/lib/components/link/test/link.test.d.ts +0 -1
- package/lib/components/list/List.native.d.mts +0 -11
- package/lib/components/list/List.native.d.ts +0 -11
- package/lib/components/list/List.native.mjs +0 -24
- package/lib/components/list/item/ListItem.native.d.mts +0 -11
- package/lib/components/list/item/ListItem.native.d.ts +0 -11
- package/lib/components/list/item/ListItem.native.mjs +0 -113
- package/lib/components/list/item/description/ListItemDescription.native.d.mts +0 -8
- package/lib/components/list/item/description/ListItemDescription.native.d.ts +0 -8
- package/lib/components/list/item/description/ListItemDescription.native.mjs +0 -82
- package/lib/components/list/item/test/ListItem.native.test.d.mts +0 -1
- package/lib/components/list/item/test/ListItem.native.test.d.ts +0 -1
- package/lib/components/list/item/test/ListItem.test.d.mts +0 -1
- package/lib/components/list/item/test/ListItem.test.d.ts +0 -1
- package/lib/components/list/test/List.native.test.d.mts +0 -1
- package/lib/components/list/test/List.native.test.d.ts +0 -1
- package/lib/components/list/test/List.test.d.mts +0 -1
- package/lib/components/list/test/List.test.d.ts +0 -1
- package/lib/components/modal/Modal.native.d.mts +0 -15
- package/lib/components/modal/Modal.native.d.ts +0 -15
- package/lib/components/modal/Modal.native.mjs +0 -173
- package/lib/components/modal/body/ModalBody.native.d.mts +0 -10
- package/lib/components/modal/body/ModalBody.native.d.ts +0 -10
- package/lib/components/modal/body/ModalBody.native.mjs +0 -101
- package/lib/components/modal/footer/ModalFooter.native.d.mts +0 -9
- package/lib/components/modal/footer/ModalFooter.native.d.ts +0 -9
- package/lib/components/modal/footer/ModalFooter.native.mjs +0 -102
- package/lib/components/modal/test/Modal.test.d.mts +0 -1
- package/lib/components/modal/test/Modal.test.d.ts +0 -1
- package/lib/components/modal/test/ModalFooter.test.d.mts +0 -1
- package/lib/components/modal/test/ModalFooter.test.d.ts +0 -1
- package/lib/components/otp/Otp.native.d.mts +0 -17
- package/lib/components/otp/Otp.native.d.ts +0 -17
- package/lib/components/otp/Otp.native.mjs +0 -202
- package/lib/components/otp/test/Otp.native.test.d.mts +0 -1
- package/lib/components/otp/test/Otp.native.test.d.ts +0 -1
- package/lib/components/otp/test/Otp.test.d.mts +0 -1
- package/lib/components/otp/test/Otp.test.d.ts +0 -1
- package/lib/components/pagination/Pagination.native.d.mts +0 -12
- package/lib/components/pagination/Pagination.native.d.ts +0 -12
- package/lib/components/pagination/Pagination.native.mjs +0 -156
- package/lib/components/pagination/test/Pagination.native.test.d.mts +0 -1
- package/lib/components/pagination/test/Pagination.native.test.d.ts +0 -1
- package/lib/components/pagination/test/Pagination.test.d.mts +0 -1
- package/lib/components/pagination/test/Pagination.test.d.ts +0 -1
- package/lib/components/popover/Popover.native.d.mts +0 -12
- package/lib/components/popover/Popover.native.d.ts +0 -12
- package/lib/components/popover/Popover.native.mjs +0 -142
- package/lib/components/popover/test/Popover.test.d.mts +0 -1
- package/lib/components/popover/test/Popover.test.d.ts +0 -1
- package/lib/components/price/Price.native.d.mts +0 -21
- package/lib/components/price/Price.native.d.ts +0 -21
- package/lib/components/price/Price.native.mjs +0 -263
- package/lib/components/price/test/Price.native.test.d.mts +0 -1
- package/lib/components/price/test/Price.native.test.d.ts +0 -1
- package/lib/components/price/test/Price.test.d.mts +0 -1
- package/lib/components/price/test/Price.test.d.ts +0 -1
- package/lib/components/product-tour/ProductTour.native.d.mts +0 -9
- package/lib/components/product-tour/ProductTour.native.d.ts +0 -9
- package/lib/components/product-tour/ProductTour.native.mjs +0 -14
- package/lib/components/product-tour/test/ProductTour.native.test.d.mts +0 -1
- package/lib/components/product-tour/test/ProductTour.native.test.d.ts +0 -1
- package/lib/components/product-tour/test/ProductTour.test.d.mts +0 -1
- package/lib/components/product-tour/test/ProductTour.test.d.ts +0 -1
- package/lib/components/progress/Progress.native.d.mts +0 -13
- package/lib/components/progress/Progress.native.d.ts +0 -13
- package/lib/components/progress/Progress.native.mjs +0 -153
- package/lib/components/progress/item/ProgressItem.native.d.mts +0 -12
- package/lib/components/progress/item/ProgressItem.native.d.ts +0 -12
- package/lib/components/progress/item/ProgressItem.native.mjs +0 -35
- package/lib/components/progress/radial/ProgressRadial.native.d.mts +0 -17
- package/lib/components/progress/radial/ProgressRadial.native.d.ts +0 -17
- package/lib/components/progress/radial/ProgressRadial.native.mjs +0 -182
- package/lib/components/progress/radial/test/ProgressRadial.test.d.mts +0 -1
- package/lib/components/progress/radial/test/ProgressRadial.test.d.ts +0 -1
- package/lib/components/progress/test/Progress.test.d.mts +0 -1
- package/lib/components/progress/test/Progress.test.d.ts +0 -1
- package/lib/components/radio/Radio.native.d.mts +0 -16
- package/lib/components/radio/Radio.native.d.ts +0 -16
- package/lib/components/radio/Radio.native.mjs +0 -115
- package/lib/components/radio/list/RadioList.native.d.mts +0 -9
- package/lib/components/radio/list/RadioList.native.d.ts +0 -9
- package/lib/components/radio/list/RadioList.native.mjs +0 -40
- package/lib/components/radio/test/radio.test.d.mts +0 -1
- package/lib/components/radio/test/radio.test.d.ts +0 -1
- package/lib/components/radio/tiles/RadioTiles.native.d.mts +0 -12
- package/lib/components/radio/tiles/RadioTiles.native.d.ts +0 -12
- package/lib/components/radio/tiles/RadioTiles.native.mjs +0 -34
- package/lib/components/radio/tiles/tile/RadioTile.native.d.mts +0 -20
- package/lib/components/radio/tiles/tile/RadioTile.native.d.ts +0 -20
- package/lib/components/radio/tiles/tile/RadioTile.native.mjs +0 -191
- package/lib/components/range/Range.native.d.mts +0 -16
- package/lib/components/range/Range.native.d.ts +0 -16
- package/lib/components/range/Range.native.mjs +0 -136
- package/lib/components/range/test/Range.test.d.mts +0 -1
- package/lib/components/range/test/Range.test.d.ts +0 -1
- package/lib/components/rows/Rows.native.d.mts +0 -10
- package/lib/components/rows/Rows.native.d.ts +0 -10
- package/lib/components/rows/Rows.native.mjs +0 -30
- package/lib/components/rows/row/Row.native.d.mts +0 -10
- package/lib/components/rows/row/Row.native.d.ts +0 -10
- package/lib/components/rows/row/Row.native.mjs +0 -24
- package/lib/components/rows/test/Row.native.test.d.mts +0 -1
- package/lib/components/rows/test/Row.native.test.d.ts +0 -1
- package/lib/components/rows/test/Row.test.d.mts +0 -1
- package/lib/components/rows/test/Row.test.d.ts +0 -1
- package/lib/components/scroll-view/ScrollView.native.d.mts +0 -5
- package/lib/components/scroll-view/ScrollView.native.d.ts +0 -5
- package/lib/components/scroll-view/ScrollView.native.mjs +0 -179
- package/lib/components/section/Section.native.d.mts +0 -12
- package/lib/components/section/Section.native.d.ts +0 -12
- package/lib/components/section/Section.native.mjs +0 -92
- package/lib/components/section/test/Section.native.test.d.mts +0 -1
- package/lib/components/section/test/Section.native.test.d.ts +0 -1
- package/lib/components/section/test/Section.test.d.mts +0 -1
- package/lib/components/section/test/Section.test.d.ts +0 -1
- package/lib/components/segment-control/SegmentControl.native.d.mts +0 -11
- package/lib/components/segment-control/SegmentControl.native.d.ts +0 -11
- package/lib/components/segment-control/SegmentControl.native.mjs +0 -146
- package/lib/components/segment-control/item/SegmentControlItem.native.d.mts +0 -13
- package/lib/components/segment-control/item/SegmentControlItem.native.d.ts +0 -13
- package/lib/components/segment-control/item/SegmentControlItem.native.mjs +0 -71
- package/lib/components/segment-control/test/SegmentControl.native.test.d.mts +0 -1
- package/lib/components/segment-control/test/SegmentControl.native.test.d.ts +0 -1
- package/lib/components/segment-control/test/SegmentControl.test.d.mts +0 -1
- package/lib/components/segment-control/test/SegmentControl.test.d.ts +0 -1
- package/lib/components/select/Select.native.d.mts +0 -17
- package/lib/components/select/Select.native.d.ts +0 -17
- package/lib/components/select/Select.native.mjs +0 -239
- package/lib/components/select/option/SelectOption.native.d.mts +0 -11
- package/lib/components/select/option/SelectOption.native.d.ts +0 -11
- package/lib/components/select/option/SelectOption.native.mjs +0 -124
- package/lib/components/select/test/Select.test.d.mts +0 -1
- package/lib/components/select/test/Select.test.d.ts +0 -1
- package/lib/components/spacer/Spacer.native.d.mts +0 -10
- package/lib/components/spacer/Spacer.native.d.ts +0 -10
- package/lib/components/spacer/Spacer.native.mjs +0 -20
- package/lib/components/spacer/test/Spacer.test.d.mts +0 -1
- package/lib/components/spacer/test/Spacer.test.d.ts +0 -1
- package/lib/components/stepper/Stepper.native.d.mts +0 -10
- package/lib/components/stepper/Stepper.native.d.ts +0 -10
- package/lib/components/stepper/Stepper.native.mjs +0 -150
- package/lib/components/stepper/step/Step.native.d.mts +0 -12
- package/lib/components/stepper/step/Step.native.d.ts +0 -12
- package/lib/components/stepper/step/Step.native.mjs +0 -108
- package/lib/components/stepper/test/Stepper.native.test.d.mts +0 -1
- package/lib/components/stepper/test/Stepper.native.test.d.ts +0 -1
- package/lib/components/stepper/test/stepper.test.d.mts +0 -1
- package/lib/components/stepper/test/stepper.test.d.ts +0 -1
- package/lib/components/sticker/Sticker.native.d.mts +0 -15
- package/lib/components/sticker/Sticker.native.d.ts +0 -15
- package/lib/components/sticker/Sticker.native.mjs +0 -121
- package/lib/components/sticker/test/Sticker.native.test.d.mts +0 -1
- package/lib/components/sticker/test/Sticker.native.test.d.ts +0 -1
- package/lib/components/sticker/test/Sticker.test.d.mts +0 -1
- package/lib/components/sticker/test/Sticker.test.d.ts +0 -1
- package/lib/components/styleComponent/default/styleComponent.native.d.mts +0 -5
- package/lib/components/styleComponent/default/styleComponent.native.d.ts +0 -5
- package/lib/components/styleComponent/default/styleComponent.native.mjs +0 -11
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.d.mts +0 -5
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.d.ts +0 -5
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.mjs +0 -11
- package/lib/components/switch/Switch.native.d.mts +0 -15
- package/lib/components/switch/Switch.native.d.ts +0 -15
- package/lib/components/switch/Switch.native.mjs +0 -110
- package/lib/components/switch/test/Switch.native.test.d.mts +0 -1
- package/lib/components/switch/test/Switch.native.test.d.ts +0 -1
- package/lib/components/switch/test/Switch.test.d.mts +0 -1
- package/lib/components/switch/test/Switch.test.d.ts +0 -1
- package/lib/components/table/Table.native.d.mts +0 -10
- package/lib/components/table/Table.native.d.ts +0 -10
- package/lib/components/table/Table.native.mjs +0 -95
- package/lib/components/table/body/TableBody.native.d.mts +0 -9
- package/lib/components/table/body/TableBody.native.d.ts +0 -9
- package/lib/components/table/body/TableBody.native.mjs +0 -25
- package/lib/components/table/head/TableHead.native.d.mts +0 -9
- package/lib/components/table/head/TableHead.native.d.ts +0 -9
- package/lib/components/table/head/TableHead.native.mjs +0 -24
- package/lib/components/table/td/TableTd.native.d.mts +0 -9
- package/lib/components/table/td/TableTd.native.d.ts +0 -9
- package/lib/components/table/td/TableTd.native.mjs +0 -86
- package/lib/components/table/test/Table.test.d.mts +0 -1
- package/lib/components/table/test/Table.test.d.ts +0 -1
- package/lib/components/table/test/TableBody.test.d.mts +0 -1
- package/lib/components/table/test/TableBody.test.d.ts +0 -1
- package/lib/components/table/test/TableHead.test.d.mts +0 -1
- package/lib/components/table/test/TableHead.test.d.ts +0 -1
- package/lib/components/table/test/TableTr.test.d.mts +0 -1
- package/lib/components/table/test/TableTr.test.d.ts +0 -1
- package/lib/components/table/th/TableTh.native.d.mts +0 -8
- package/lib/components/table/th/TableTh.native.d.ts +0 -8
- package/lib/components/table/th/TableTh.native.mjs +0 -98
- package/lib/components/table/tr/TableTr.native.d.mts +0 -10
- package/lib/components/table/tr/TableTr.native.d.ts +0 -10
- package/lib/components/table/tr/TableTr.native.mjs +0 -117
- package/lib/components/tabs/Tabs.native.d.mts +0 -11
- package/lib/components/tabs/Tabs.native.d.ts +0 -11
- package/lib/components/tabs/Tabs.native.mjs +0 -36
- package/lib/components/tabs/tab-list/TabList.native.d.mts +0 -14
- package/lib/components/tabs/tab-list/TabList.native.d.ts +0 -14
- package/lib/components/tabs/tab-list/TabList.native.mjs +0 -184
- package/lib/components/tabs/tab-list/tab/Tab.native.d.mts +0 -16
- package/lib/components/tabs/tab-list/tab/Tab.native.d.ts +0 -16
- package/lib/components/tabs/tab-list/tab/Tab.native.mjs +0 -84
- package/lib/components/tabs/tab-panels/TabPanels.native.d.mts +0 -13
- package/lib/components/tabs/tab-panels/TabPanels.native.d.ts +0 -13
- package/lib/components/tabs/tab-panels/TabPanels.native.mjs +0 -90
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.d.mts +0 -11
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.d.ts +0 -11
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.mjs +0 -46
- package/lib/components/tag/Tag.native.d.mts +0 -14
- package/lib/components/tag/Tag.native.d.ts +0 -14
- package/lib/components/tag/Tag.native.mjs +0 -75
- package/lib/components/tag/list/TagList.native.d.mts +0 -10
- package/lib/components/tag/list/TagList.native.d.ts +0 -10
- package/lib/components/tag/list/TagList.native.mjs +0 -32
- package/lib/components/tag/list/test/TagList.test.d.mts +0 -1
- package/lib/components/tag/list/test/TagList.test.d.ts +0 -1
- package/lib/components/tag/test/Tag.test.d.mts +0 -1
- package/lib/components/tag/test/Tag.test.d.ts +0 -1
- package/lib/components/text/Text.native.d.mts +0 -17
- package/lib/components/text/Text.native.d.ts +0 -17
- package/lib/components/text/Text.native.mjs +0 -100
- package/lib/components/text/test/Text.native.test.d.mts +0 -1
- package/lib/components/text/test/Text.native.test.d.ts +0 -1
- package/lib/components/text/test/Text.test.d.mts +0 -1
- package/lib/components/text/test/Text.test.d.ts +0 -1
- package/lib/components/textarea/Textarea.native.d.mts +0 -33
- package/lib/components/textarea/Textarea.native.d.ts +0 -33
- package/lib/components/textarea/Textarea.native.mjs +0 -232
- package/lib/components/textarea/test/textarea.native.test.d.mts +0 -1
- package/lib/components/textarea/test/textarea.native.test.d.ts +0 -1
- package/lib/components/textarea/test/textarea.test.d.mts +0 -1
- package/lib/components/textarea/test/textarea.test.d.ts +0 -1
- package/lib/components/timeline/Timeline.native.d.mts +0 -15
- package/lib/components/timeline/Timeline.native.d.ts +0 -15
- package/lib/components/timeline/Timeline.native.mjs +0 -10
- package/lib/components/timeline/content/TimelineContent.native.d.mts +0 -13
- package/lib/components/timeline/content/TimelineContent.native.d.ts +0 -13
- package/lib/components/timeline/content/TimelineContent.native.mjs +0 -111
- package/lib/components/timeline/content/test/TimelineContent.native.test.d.mts +0 -1
- package/lib/components/timeline/content/test/TimelineContent.native.test.d.ts +0 -1
- package/lib/components/timeline/content/test/TimelineContent.test.d.mts +0 -1
- package/lib/components/timeline/content/test/TimelineContent.test.d.ts +0 -1
- package/lib/components/timeline/item/TimelineItem.native.d.mts +0 -18
- package/lib/components/timeline/item/TimelineItem.native.d.ts +0 -18
- package/lib/components/timeline/item/TimelineItem.native.mjs +0 -11
- package/lib/components/timeline/item/test/TimelineItem.native.test.d.mts +0 -1
- package/lib/components/timeline/item/test/TimelineItem.native.test.d.ts +0 -1
- package/lib/components/timeline/item/test/TimelineItem.test.d.mts +0 -1
- package/lib/components/timeline/item/test/TimelineItem.test.d.ts +0 -1
- package/lib/components/timeline/marker/TimelineMarker.native.d.mts +0 -11
- package/lib/components/timeline/marker/TimelineMarker.native.d.ts +0 -11
- package/lib/components/timeline/marker/TimelineMarker.native.mjs +0 -112
- package/lib/components/timeline/marker/test/TimelineMarker.test.d.mts +0 -1
- package/lib/components/timeline/marker/test/TimelineMarker.test.d.ts +0 -1
- package/lib/components/timeline/test/Timeline.native.test.d.mts +0 -1
- package/lib/components/timeline/test/Timeline.native.test.d.ts +0 -1
- package/lib/components/timeline/test/Timeline.test.d.mts +0 -1
- package/lib/components/timeline/test/Timeline.test.d.ts +0 -1
- package/lib/components/title/Title.native.d.mts +0 -19
- package/lib/components/title/Title.native.d.ts +0 -19
- package/lib/components/title/Title.native.mjs +0 -157
- package/lib/components/title/test/Title.native.test.d.mts +0 -1
- package/lib/components/title/test/Title.native.test.d.ts +0 -1
- package/lib/components/title/test/Title.test.d.mts +0 -1
- package/lib/components/title/test/Title.test.d.ts +0 -1
- package/lib/components/view/View.native.d.mts +0 -18
- package/lib/components/view/View.native.d.ts +0 -18
- package/lib/components/view/View.native.mjs +0 -151
- package/lib/components/view/test/View.native.test.d.mts +0 -1
- package/lib/components/view/test/View.native.test.d.ts +0 -1
- package/lib/components/view/test/View.test.d.mts +0 -1
- package/lib/components/view/test/View.test.d.ts +0 -1
- package/lib/context/index.native.d.mts +0 -1
- package/lib/context/index.native.d.ts +0 -1
- package/lib/context/index.native.mjs +0 -9
- package/lib/context/provider/index.native.d.mts +0 -4
- package/lib/context/provider/index.native.d.ts +0 -4
- package/lib/context/provider/index.native.mjs +0 -9
- package/lib/context/providerStyled/index.native.d.mts +0 -4
- package/lib/context/providerStyled/index.native.d.ts +0 -4
- package/lib/context/providerStyled/index.native.mjs +0 -9
- package/lib/context/providerTheme/index.native.d.mts +0 -18
- package/lib/context/providerTheme/index.native.d.ts +0 -18
- package/lib/context/providerTheme/index.native.mjs +0 -41
- package/lib/context/test/provider.test.d.mts +0 -1
- package/lib/context/test/provider.test.d.ts +0 -1
- package/lib/helpers/device.native/index.d.mts +0 -19
- package/lib/helpers/device.native/index.d.ts +0 -19
- package/lib/helpers/device.native/index.js +0 -65
- package/lib/helpers/device.native/index.mjs +0 -15
- /package/lib/{chunk-2W5NCIYG.mjs → chunk-2DG5QKYT.mjs} +0 -0
- /package/lib/{chunk-6TJ4SNIT.mjs → chunk-2Z6TOSNT.mjs} +0 -0
- /package/lib/{chunk-773FLS3Z.mjs → chunk-6FQXIUGL.mjs} +0 -0
- /package/lib/{chunk-7V4Z4X42.mjs → chunk-AIJJV3E5.mjs} +0 -0
- /package/lib/{chunk-GXTMZJHF.mjs → chunk-AOMX3EPM.mjs} +0 -0
- /package/lib/{chunk-HPB5VEFZ.mjs → chunk-BA5Q6A2V.mjs} +0 -0
- /package/lib/{chunk-JOETSQOL.mjs → chunk-BF2M5NHK.mjs} +0 -0
- /package/lib/{chunk-KTI5GUQ2.mjs → chunk-CLBJ7NKF.mjs} +0 -0
- /package/lib/{chunk-MHY5NRID.mjs → chunk-DPKLVUQ4.mjs} +0 -0
- /package/lib/{chunk-PNOXYHZQ.mjs → chunk-GIWOUPHY.mjs} +0 -0
- /package/lib/{chunk-PTU4K5FZ.mjs → chunk-HW4EU2RU.mjs} +0 -0
- /package/lib/{chunk-QQH2C3SB.mjs → chunk-IDC4ORCI.mjs} +0 -0
- /package/lib/{chunk-R6T2LHN2.mjs → chunk-IF7MTI2Q.mjs} +0 -0
- /package/lib/{chunk-S2M32OWW.mjs → chunk-IT45EWST.mjs} +0 -0
- /package/lib/{chunk-TXDE2KMY.mjs → chunk-JC6NNDMG.mjs} +0 -0
- /package/lib/{chunk-ZJZDDJQJ.mjs → chunk-KEBSWHO3.mjs} +0 -0
- /package/lib/{chunk-ZZKO3PGP.mjs → chunk-LCOSP37I.mjs} +0 -0
- /package/lib/{chunk-SP3F32VS.mjs → chunk-UH4H3GKD.mjs} +0 -0
- /package/lib/{chunk-HGQH5E2A.mjs → chunk-VIDNOXFQ.mjs} +0 -0
package/lib/index.js
CHANGED
|
@@ -1,39 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
|
-
var __defProps = Object.defineProperties;
|
|
5
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
7
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
9
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
10
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
11
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
12
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13
|
-
var __spreadValues = (a, b) => {
|
|
14
|
-
for (var prop in b || (b = {}))
|
|
15
|
-
if (__hasOwnProp.call(b, prop))
|
|
16
|
-
__defNormalProp(a, prop, b[prop]);
|
|
17
|
-
if (__getOwnPropSymbols)
|
|
18
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
19
|
-
if (__propIsEnum.call(b, prop))
|
|
20
|
-
__defNormalProp(a, prop, b[prop]);
|
|
21
|
-
}
|
|
22
|
-
return a;
|
|
23
|
-
};
|
|
24
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
|
-
var __objRest = (source, exclude) => {
|
|
26
|
-
var target = {};
|
|
27
|
-
for (var prop in source)
|
|
28
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
29
|
-
target[prop] = source[prop];
|
|
30
|
-
if (source != null && __getOwnPropSymbols)
|
|
31
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
32
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
33
|
-
target[prop] = source[prop];
|
|
34
|
-
}
|
|
35
|
-
return target;
|
|
36
|
-
};
|
|
37
8
|
var __export = (target, all) => {
|
|
38
9
|
for (var name in all)
|
|
39
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -55,26 +26,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
55
26
|
mod
|
|
56
27
|
));
|
|
57
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
|
-
var __async = (__this, __arguments, generator) => {
|
|
59
|
-
return new Promise((resolve, reject) => {
|
|
60
|
-
var fulfilled = (value) => {
|
|
61
|
-
try {
|
|
62
|
-
step(generator.next(value));
|
|
63
|
-
} catch (e) {
|
|
64
|
-
reject(e);
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
var rejected = (value) => {
|
|
68
|
-
try {
|
|
69
|
-
step(generator.throw(value));
|
|
70
|
-
} catch (e) {
|
|
71
|
-
reject(e);
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
75
|
-
step((generator = generator.apply(__this, __arguments)).next());
|
|
76
|
-
});
|
|
77
|
-
};
|
|
78
29
|
|
|
79
30
|
// index.ts
|
|
80
31
|
var index_exports = {};
|
|
@@ -321,11 +272,10 @@ var hashClass = (addHash = false, classes) => {
|
|
|
321
272
|
|
|
322
273
|
// components/accordion/Accordion.tsx
|
|
323
274
|
var import_clsx = __toESM(require("clsx"));
|
|
324
|
-
var Accordion = React2.forwardRef((
|
|
325
|
-
var _b = _a, { id, className, children } = _b, others = __objRest(_b, ["id", "className", "children"]);
|
|
275
|
+
var Accordion = React2.forwardRef(({ id, className, children, ...others }, ref) => {
|
|
326
276
|
const { styled } = useTrilogyContext();
|
|
327
277
|
const classes = hashClass(styled, (0, import_clsx.default)("accordion", className));
|
|
328
|
-
return /* @__PURE__ */ React2.createElement("div",
|
|
278
|
+
return /* @__PURE__ */ React2.createElement("div", { ref, id, className: classes, ...others }, children);
|
|
329
279
|
});
|
|
330
280
|
Accordion.displayName = "Accordion" /* Accordion */;
|
|
331
281
|
var Accordion_default = Accordion;
|
|
@@ -334,8 +284,7 @@ var Accordion_default = Accordion;
|
|
|
334
284
|
var import_clsx2 = __toESM(require("clsx"));
|
|
335
285
|
var import_react = __toESM(require("react"));
|
|
336
286
|
var AccordionItem = import_react.default.forwardRef(
|
|
337
|
-
(
|
|
338
|
-
var _b = _a, { open, className, children, id = import_react.default.useId(), onClick, disabled } = _b, others = __objRest(_b, ["open", "className", "children", "id", "onClick", "disabled"]);
|
|
287
|
+
({ open, className, children, id = import_react.default.useId(), onClick, disabled, ...others }, ref) => {
|
|
339
288
|
const { styled } = useTrilogyContext();
|
|
340
289
|
const classes = hashClass(styled, (0, import_clsx2.default)("accordion-item", className));
|
|
341
290
|
const ariaProps = {};
|
|
@@ -345,14 +294,14 @@ var AccordionItem = import_react.default.forwardRef(
|
|
|
345
294
|
}
|
|
346
295
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
347
296
|
"details",
|
|
348
|
-
|
|
349
|
-
open
|
|
350
|
-
|
|
297
|
+
{
|
|
298
|
+
open,
|
|
299
|
+
...ariaProps,
|
|
351
300
|
"data-testid": id,
|
|
352
301
|
className: classes,
|
|
353
302
|
ref,
|
|
354
|
-
id
|
|
355
|
-
|
|
303
|
+
id,
|
|
304
|
+
...others,
|
|
356
305
|
onClick: (e) => {
|
|
357
306
|
if (disabled) {
|
|
358
307
|
e.preventDefault();
|
|
@@ -368,7 +317,7 @@ var AccordionItem = import_react.default.forwardRef(
|
|
|
368
317
|
e.stopPropagation();
|
|
369
318
|
}
|
|
370
319
|
}
|
|
371
|
-
}
|
|
320
|
+
},
|
|
372
321
|
children
|
|
373
322
|
);
|
|
374
323
|
}
|
|
@@ -380,17 +329,17 @@ var AccordionItem_default = AccordionItem;
|
|
|
380
329
|
var import_clsx3 = __toESM(require("clsx"));
|
|
381
330
|
var React4 = __toESM(require("react"));
|
|
382
331
|
var AccordionHeader = React4.forwardRef(
|
|
383
|
-
(
|
|
384
|
-
var _b = _a, { children, className, id } = _b, others = __objRest(_b, ["children", "className", "id"]);
|
|
332
|
+
({ children, className, id, ...others }, ref) => {
|
|
385
333
|
const { styled } = useTrilogyContext();
|
|
386
334
|
return /* @__PURE__ */ React4.createElement(
|
|
387
335
|
"summary",
|
|
388
|
-
|
|
336
|
+
{
|
|
389
337
|
ref,
|
|
390
338
|
id,
|
|
391
339
|
className: hashClass(styled, (0, import_clsx3.default)("accordion-header", className)),
|
|
392
|
-
role: "button"
|
|
393
|
-
|
|
340
|
+
role: "button",
|
|
341
|
+
...others
|
|
342
|
+
},
|
|
394
343
|
children
|
|
395
344
|
);
|
|
396
345
|
}
|
|
@@ -402,19 +351,19 @@ var AccordionHeader_default = AccordionHeader;
|
|
|
402
351
|
var import_clsx4 = __toESM(require("clsx"));
|
|
403
352
|
var React5 = __toESM(require("react"));
|
|
404
353
|
var AccordionBody = React5.forwardRef(
|
|
405
|
-
(
|
|
406
|
-
var _b = _a, { children, className, id } = _b, others = __objRest(_b, ["children", "className", "id"]);
|
|
354
|
+
({ children, className, id, ...others }, ref) => {
|
|
407
355
|
const { styled } = useTrilogyContext();
|
|
408
356
|
return /* @__PURE__ */ React5.createElement(
|
|
409
357
|
"div",
|
|
410
|
-
|
|
358
|
+
{
|
|
411
359
|
ref,
|
|
412
360
|
id,
|
|
413
361
|
className: hashClass(styled, (0, import_clsx4.default)("accordion-body", className)),
|
|
414
362
|
onClick: (e) => {
|
|
415
363
|
e.stopPropagation();
|
|
416
|
-
}
|
|
417
|
-
|
|
364
|
+
},
|
|
365
|
+
...others
|
|
366
|
+
},
|
|
418
367
|
children
|
|
419
368
|
);
|
|
420
369
|
}
|
|
@@ -715,8 +664,7 @@ var has = classify("has");
|
|
|
715
664
|
var import_clsx5 = __toESM(require("clsx"));
|
|
716
665
|
var React7 = __toESM(require("react"));
|
|
717
666
|
var Icon = React7.forwardRef(
|
|
718
|
-
(
|
|
719
|
-
var _b = _a, { className, id, size: size2, name, circled, stretched, color, backgroundColor, onClick, skeleton, align } = _b, others = __objRest(_b, ["className", "id", "size", "name", "circled", "stretched", "color", "backgroundColor", "onClick", "skeleton", "align"]);
|
|
667
|
+
({ className, id, size: size2, name, circled, stretched, color, backgroundColor, onClick, skeleton, align, ...others }, ref) => {
|
|
720
668
|
const { styled } = useTrilogyContext();
|
|
721
669
|
const background = backgroundColor && has(getBackgroundClassName(backgroundColor)) || circled && has(getBackgroundClassName("MAIN" /* MAIN */)) || "";
|
|
722
670
|
const classes = hashClass(
|
|
@@ -734,7 +682,7 @@ var Icon = React7.forwardRef(
|
|
|
734
682
|
className
|
|
735
683
|
)
|
|
736
684
|
);
|
|
737
|
-
return /* @__PURE__ */ React7.createElement("span",
|
|
685
|
+
return /* @__PURE__ */ React7.createElement("span", { id, onClick: onClick && onClick, className: classes, ...others, ref }, /* @__PURE__ */ React7.createElement("i", { className: hashClass(styled, (0, import_clsx5.default)(name)), "aria-hidden": "true" }));
|
|
738
686
|
}
|
|
739
687
|
);
|
|
740
688
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -838,32 +786,20 @@ var TextMarkup = /* @__PURE__ */ ((TextMarkup2) => {
|
|
|
838
786
|
})(TextMarkup || {});
|
|
839
787
|
|
|
840
788
|
// components/text/Text.tsx
|
|
841
|
-
var Text = React8.forwardRef((
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
"level",
|
|
856
|
-
"markup",
|
|
857
|
-
"children",
|
|
858
|
-
"className",
|
|
859
|
-
"id",
|
|
860
|
-
"typo",
|
|
861
|
-
"inverted",
|
|
862
|
-
"skeleton",
|
|
863
|
-
"accessibilityLabel",
|
|
864
|
-
"marginless",
|
|
865
|
-
"numberOfLines"
|
|
866
|
-
]);
|
|
789
|
+
var Text = React8.forwardRef(({
|
|
790
|
+
level,
|
|
791
|
+
markup,
|
|
792
|
+
children,
|
|
793
|
+
className,
|
|
794
|
+
id,
|
|
795
|
+
typo,
|
|
796
|
+
inverted,
|
|
797
|
+
skeleton,
|
|
798
|
+
accessibilityLabel,
|
|
799
|
+
marginless,
|
|
800
|
+
numberOfLines,
|
|
801
|
+
...others
|
|
802
|
+
}, ref) => {
|
|
867
803
|
const { styled } = useTrilogyContext();
|
|
868
804
|
const levelText = () => {
|
|
869
805
|
if (level) {
|
|
@@ -900,13 +836,14 @@ var Text = React8.forwardRef((_a, ref) => {
|
|
|
900
836
|
const Tag2 = markup && isCorrectMarkup2(markup) ? markup : "p";
|
|
901
837
|
return /* @__PURE__ */ React8.createElement(
|
|
902
838
|
Tag2,
|
|
903
|
-
|
|
839
|
+
{
|
|
904
840
|
ref,
|
|
905
841
|
id,
|
|
906
842
|
style: numberOfLines ? { WebkitLineClamp: numberOfLines } : {},
|
|
907
843
|
"aria-label": accessibilityLabel,
|
|
908
|
-
className: classes
|
|
909
|
-
|
|
844
|
+
className: classes,
|
|
845
|
+
...others
|
|
846
|
+
},
|
|
910
847
|
children
|
|
911
848
|
);
|
|
912
849
|
});
|
|
@@ -965,36 +902,22 @@ var isCorrectMarkup = (stringMarkup) => {
|
|
|
965
902
|
return stringMarkup in TitleMarkup || Object.values(TitleMarkup).includes(stringMarkup);
|
|
966
903
|
};
|
|
967
904
|
var Title = import_react4.default.forwardRef(
|
|
968
|
-
(
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
"level",
|
|
985
|
-
"markup",
|
|
986
|
-
"children",
|
|
987
|
-
"className",
|
|
988
|
-
"id",
|
|
989
|
-
"typo",
|
|
990
|
-
"skeleton",
|
|
991
|
-
"inverted",
|
|
992
|
-
"onClick",
|
|
993
|
-
"accessibilityLabel",
|
|
994
|
-
"subtitle",
|
|
995
|
-
"overline",
|
|
996
|
-
"marginless"
|
|
997
|
-
]);
|
|
905
|
+
({
|
|
906
|
+
level = 1 /* ONE */,
|
|
907
|
+
markup,
|
|
908
|
+
children,
|
|
909
|
+
className,
|
|
910
|
+
id,
|
|
911
|
+
typo,
|
|
912
|
+
skeleton,
|
|
913
|
+
inverted,
|
|
914
|
+
onClick,
|
|
915
|
+
accessibilityLabel,
|
|
916
|
+
subtitle,
|
|
917
|
+
overline,
|
|
918
|
+
marginless,
|
|
919
|
+
...others
|
|
920
|
+
}, ref) => {
|
|
998
921
|
const { styled } = useTrilogyContext();
|
|
999
922
|
const classes = hashClass(
|
|
1000
923
|
styled,
|
|
@@ -1016,7 +939,7 @@ var Title = import_react4.default.forwardRef(
|
|
|
1016
939
|
if (overline) return overlineClasses;
|
|
1017
940
|
return classes;
|
|
1018
941
|
};
|
|
1019
|
-
return /* @__PURE__ */ import_react4.default.createElement(Tag2,
|
|
942
|
+
return /* @__PURE__ */ import_react4.default.createElement(Tag2, { ref, id, "aria-label": accessibilityLabel, onClick, className: getClassname(), ...others }, children);
|
|
1020
943
|
}
|
|
1021
944
|
);
|
|
1022
945
|
Title.displayName = "Title" /* Title */;
|
|
@@ -1100,53 +1023,38 @@ var ToasterContext_default = ToasterContext;
|
|
|
1100
1023
|
var context_default = ToasterContext_default;
|
|
1101
1024
|
|
|
1102
1025
|
// components/alert/Alert.tsx
|
|
1103
|
-
var ToasterAlert = (
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
"title",
|
|
1123
|
-
"position",
|
|
1124
|
-
"float",
|
|
1125
|
-
"description",
|
|
1126
|
-
"iconName",
|
|
1127
|
-
"status",
|
|
1128
|
-
"closable",
|
|
1129
|
-
"onClick",
|
|
1130
|
-
"className",
|
|
1131
|
-
"id",
|
|
1132
|
-
"testId",
|
|
1133
|
-
"offset",
|
|
1134
|
-
"display",
|
|
1135
|
-
"children",
|
|
1136
|
-
"toasterChildren",
|
|
1137
|
-
"markup"
|
|
1138
|
-
]);
|
|
1026
|
+
var ToasterAlert = ({
|
|
1027
|
+
title,
|
|
1028
|
+
position,
|
|
1029
|
+
float,
|
|
1030
|
+
description,
|
|
1031
|
+
iconName,
|
|
1032
|
+
status,
|
|
1033
|
+
closable,
|
|
1034
|
+
onClick,
|
|
1035
|
+
className,
|
|
1036
|
+
id,
|
|
1037
|
+
testId,
|
|
1038
|
+
offset,
|
|
1039
|
+
display,
|
|
1040
|
+
children,
|
|
1041
|
+
toasterChildren,
|
|
1042
|
+
markup,
|
|
1043
|
+
...others
|
|
1044
|
+
}) => {
|
|
1139
1045
|
const { styled } = useTrilogyContext();
|
|
1140
|
-
const positionStyles =
|
|
1141
|
-
position: "fixed"
|
|
1142
|
-
|
|
1046
|
+
const positionStyles = {
|
|
1047
|
+
position: "fixed",
|
|
1048
|
+
...position === "bottom" /* BOTTOM */ ? { bottom: offset || 0 } : { top: offset || 0 },
|
|
1049
|
+
...float === "right" /* RIGHT */ ? { right: offset || 0 } : { left: offset || 0 }
|
|
1050
|
+
};
|
|
1143
1051
|
const classes = hashClass(
|
|
1144
1052
|
styled,
|
|
1145
1053
|
(0, import_clsx8.default)("toaster", status && is(getStatusClassName(status)), !status && is("info"), className)
|
|
1146
1054
|
);
|
|
1147
1055
|
return title && display !== false ? /* @__PURE__ */ React11.createElement(
|
|
1148
1056
|
"div",
|
|
1149
|
-
|
|
1057
|
+
{
|
|
1150
1058
|
id,
|
|
1151
1059
|
style: positionStyles,
|
|
1152
1060
|
onClick: (e) => {
|
|
@@ -1154,37 +1062,38 @@ var ToasterAlert = (_a) => {
|
|
|
1154
1062
|
e.stopPropagation();
|
|
1155
1063
|
},
|
|
1156
1064
|
className: classes,
|
|
1157
|
-
"data-testid": testId
|
|
1158
|
-
|
|
1065
|
+
"data-testid": testId,
|
|
1066
|
+
...others
|
|
1067
|
+
},
|
|
1159
1068
|
children ? children : /* @__PURE__ */ React11.createElement(React11.Fragment, null, iconName && /* @__PURE__ */ React11.createElement(Icon_default, { name: iconName, size: "small" /* SMALL */ }), /* @__PURE__ */ React11.createElement("div", { className: hashClass(styled, (0, import_clsx8.default)("body")) }, title && /* @__PURE__ */ React11.createElement(Title_default, { markup, level: 6 /* SIX */ }, title), description && /* @__PURE__ */ React11.createElement(Text_default, null, description), toasterChildren && toasterChildren), closable && /* @__PURE__ */ React11.createElement(Icon_default, { onClick: closable, className: "toaster-close", name: "tri-times" /* TIMES */, size: "small" /* SMALL */ }))
|
|
1160
1069
|
) : null;
|
|
1161
1070
|
};
|
|
1162
1071
|
var Alert = React11.forwardRef(
|
|
1163
|
-
(
|
|
1164
|
-
var _b = _a, { banner, status, className, id, iconName, title, description, onClick, display = true, markup } = _b, others = __objRest(_b, ["banner", "status", "className", "id", "iconName", "title", "description", "onClick", "display", "markup"]);
|
|
1072
|
+
({ banner, status, className, id, iconName, title, description, onClick, display = true, markup, ...others }, ref) => {
|
|
1165
1073
|
const { styled } = useTrilogyContext();
|
|
1166
1074
|
const classes = hashClass(
|
|
1167
1075
|
styled,
|
|
1168
1076
|
(0, import_clsx8.default)("alert", has("body"), status && is(getStatusClassName(status)), banner && is("banner"), className)
|
|
1169
1077
|
);
|
|
1170
1078
|
const iconAlert = React11.useMemo(() => {
|
|
1171
|
-
var
|
|
1079
|
+
var _a;
|
|
1172
1080
|
if (iconName != null) return iconName;
|
|
1173
|
-
else if (status) return (
|
|
1081
|
+
else if (status) return (_a = getStatusIconName(status)) != null ? _a : "tri-infos-circle" /* INFOS_CIRCLE */;
|
|
1174
1082
|
else return "tri-infos-circle" /* INFOS_CIRCLE */;
|
|
1175
1083
|
}, [iconName, status]);
|
|
1176
1084
|
if (display) {
|
|
1177
1085
|
return /* @__PURE__ */ React11.createElement(
|
|
1178
1086
|
"div",
|
|
1179
|
-
|
|
1087
|
+
{
|
|
1180
1088
|
ref,
|
|
1181
1089
|
id,
|
|
1182
1090
|
onClick: (e) => {
|
|
1183
1091
|
onClick == null ? void 0 : onClick(e);
|
|
1184
1092
|
e.stopPropagation();
|
|
1185
1093
|
},
|
|
1186
|
-
className: classes
|
|
1187
|
-
|
|
1094
|
+
className: classes,
|
|
1095
|
+
...others
|
|
1096
|
+
},
|
|
1188
1097
|
/* @__PURE__ */ React11.createElement(Icon_default, { name: iconAlert }),
|
|
1189
1098
|
/* @__PURE__ */ React11.createElement("div", { className: hashClass(styled, (0, import_clsx8.default)("body")) }, title && typeof title.valueOf() === "string" ? /* @__PURE__ */ React11.createElement(Title_default, { markup, level: 6 /* SIX */ }, title) : title, description && typeof description.valueOf() === "string" ? /* @__PURE__ */ React11.createElement(Text_default, { level: 2 /* TWO */ }, description) : description)
|
|
1190
1099
|
);
|
|
@@ -1788,92 +1697,53 @@ var DataVerify = ({
|
|
|
1788
1697
|
styled
|
|
1789
1698
|
}) => {
|
|
1790
1699
|
if (!display) return null;
|
|
1791
|
-
return /* @__PURE__ */ import_react9.default.createElement("div",
|
|
1700
|
+
return /* @__PURE__ */ import_react9.default.createElement("div", { ...dataAttribute, className: hashClass(styled, (0, import_clsx9.default)("security", classes)) }, /* @__PURE__ */ import_react9.default.createElement(Icon_default, { color, name: iconName, size: "smaller" /* SMALLER */ }), /* @__PURE__ */ import_react9.default.createElement("span", null, type));
|
|
1792
1701
|
};
|
|
1793
1702
|
var InputGauge_default = InputGauge;
|
|
1794
1703
|
|
|
1795
1704
|
// components/input/Input.tsx
|
|
1796
1705
|
var Input = import_react10.default.forwardRef(
|
|
1797
|
-
(
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
"forceControl",
|
|
1839
|
-
"label",
|
|
1840
|
-
"sample",
|
|
1841
|
-
"className",
|
|
1842
|
-
"id",
|
|
1843
|
-
"disabled",
|
|
1844
|
-
"onChange",
|
|
1845
|
-
"onKeyPress",
|
|
1846
|
-
"onKeyUp",
|
|
1847
|
-
"onIconClick",
|
|
1848
|
-
"onClick",
|
|
1849
|
-
"onFocus",
|
|
1850
|
-
"onBlur",
|
|
1851
|
-
"patternValidator",
|
|
1852
|
-
"onMouseEnter",
|
|
1853
|
-
"onMouseLeave",
|
|
1854
|
-
"name",
|
|
1855
|
-
"placeholder",
|
|
1856
|
-
"type",
|
|
1857
|
-
"defaultValue",
|
|
1858
|
-
"value",
|
|
1859
|
-
"loading",
|
|
1860
|
-
"focused",
|
|
1861
|
-
"status",
|
|
1862
|
-
"help",
|
|
1863
|
-
"onStatusChange",
|
|
1864
|
-
"customValidator",
|
|
1865
|
-
"onSubmit",
|
|
1866
|
-
"minLength",
|
|
1867
|
-
"maxLength",
|
|
1868
|
-
"accessibilityLabel",
|
|
1869
|
-
"autoCompleteType",
|
|
1870
|
-
"iconNameLeft",
|
|
1871
|
-
"iconNameRight",
|
|
1872
|
-
"securityGauge",
|
|
1873
|
-
"validationRules",
|
|
1874
|
-
"required",
|
|
1875
|
-
"readOnly"
|
|
1876
|
-
]);
|
|
1706
|
+
({
|
|
1707
|
+
forceControl,
|
|
1708
|
+
label,
|
|
1709
|
+
sample,
|
|
1710
|
+
className,
|
|
1711
|
+
id = import_react10.default.useId(),
|
|
1712
|
+
disabled,
|
|
1713
|
+
onChange,
|
|
1714
|
+
onKeyPress,
|
|
1715
|
+
onKeyUp,
|
|
1716
|
+
onIconClick,
|
|
1717
|
+
onClick,
|
|
1718
|
+
onFocus,
|
|
1719
|
+
onBlur,
|
|
1720
|
+
patternValidator,
|
|
1721
|
+
onMouseEnter,
|
|
1722
|
+
onMouseLeave,
|
|
1723
|
+
name,
|
|
1724
|
+
placeholder,
|
|
1725
|
+
type = "text" /* TEXT */,
|
|
1726
|
+
defaultValue,
|
|
1727
|
+
value,
|
|
1728
|
+
loading,
|
|
1729
|
+
focused,
|
|
1730
|
+
status,
|
|
1731
|
+
help,
|
|
1732
|
+
onStatusChange,
|
|
1733
|
+
customValidator,
|
|
1734
|
+
onSubmit,
|
|
1735
|
+
minLength,
|
|
1736
|
+
maxLength,
|
|
1737
|
+
accessibilityLabel,
|
|
1738
|
+
autoCompleteType,
|
|
1739
|
+
iconNameLeft,
|
|
1740
|
+
iconNameRight,
|
|
1741
|
+
securityGauge,
|
|
1742
|
+
validationRules,
|
|
1743
|
+
required,
|
|
1744
|
+
readOnly,
|
|
1745
|
+
...others
|
|
1746
|
+
}, ref) => {
|
|
1877
1747
|
const { styled } = useTrilogyContext();
|
|
1878
1748
|
const idHelp = (0, import_react10.useId)();
|
|
1879
1749
|
const idSample = (0, import_react10.useId)();
|
|
@@ -1922,14 +1792,15 @@ var Input = import_react10.default.forwardRef(
|
|
|
1922
1792
|
const Markup = showPassword ? "button" : "div";
|
|
1923
1793
|
return /* @__PURE__ */ import_react10.default.createElement(
|
|
1924
1794
|
Markup,
|
|
1925
|
-
|
|
1795
|
+
{
|
|
1796
|
+
...showPassword && { "data-show-pwd": true, type: "button" },
|
|
1926
1797
|
onClick: (e) => {
|
|
1927
1798
|
onPress && onPress();
|
|
1928
1799
|
if (onIconClick) {
|
|
1929
1800
|
onIconClick({ inputName: name2 != null ? name2 : "", inputValue: _value, target: e.target });
|
|
1930
1801
|
}
|
|
1931
1802
|
}
|
|
1932
|
-
}
|
|
1803
|
+
},
|
|
1933
1804
|
/* @__PURE__ */ import_react10.default.createElement(Icon_default, { className: className2, name: name2, size: "small" /* SMALL */, color }),
|
|
1934
1805
|
_value && _value.length > 0 && closeIconSearch && /* @__PURE__ */ import_react10.default.createElement(
|
|
1935
1806
|
Icon_default,
|
|
@@ -1947,8 +1818,8 @@ var Input = import_react10.default.forwardRef(
|
|
|
1947
1818
|
);
|
|
1948
1819
|
const validator = !customValidator && patternValidator ? (value2) => patternValidator.test(value2) ? "success" /* SUCCESS */ : "error" /* ERROR */ : customValidator;
|
|
1949
1820
|
(0, import_react10.useEffect)(() => {
|
|
1950
|
-
var
|
|
1951
|
-
setValue((
|
|
1821
|
+
var _a;
|
|
1822
|
+
setValue((_a = value != null ? value : defaultValue) != null ? _a : "");
|
|
1952
1823
|
}, [value, defaultValue]);
|
|
1953
1824
|
(0, import_react10.useEffect)(() => {
|
|
1954
1825
|
setIsFocused(focused != null ? focused : false);
|
|
@@ -1969,12 +1840,12 @@ var Input = import_react10.default.forwardRef(
|
|
|
1969
1840
|
}, [localStatus]);
|
|
1970
1841
|
return /* @__PURE__ */ import_react10.default.createElement("div", { className: wrapperClasses, "data-has-gauge": securityGauge ? true : void 0 }, label && /* @__PURE__ */ import_react10.default.createElement("label", { className: inputLabelClasses, htmlFor: id }, label, " ", required && /* @__PURE__ */ import_react10.default.createElement(Text_default, { markup: "span" /* SPAN */, typo: "has-text-error" /* TEXT_ERROR */ }, "*")), sample && /* @__PURE__ */ import_react10.default.createElement(Text_default, { className: "input-sample", level: 2 /* TWO */, id: idSample }, sample), /* @__PURE__ */ import_react10.default.createElement("div", { className: controlClasses }, /* @__PURE__ */ import_react10.default.createElement(
|
|
1971
1842
|
"input",
|
|
1972
|
-
|
|
1843
|
+
{
|
|
1973
1844
|
"aria-describedby": `${idHelp} ${idSample}`,
|
|
1974
1845
|
id,
|
|
1975
1846
|
required,
|
|
1976
|
-
readOnly
|
|
1977
|
-
|
|
1847
|
+
readOnly,
|
|
1848
|
+
...others,
|
|
1978
1849
|
"aria-label": !label ? accessibilityLabel : void 0,
|
|
1979
1850
|
type: inputType,
|
|
1980
1851
|
className: classes,
|
|
@@ -2030,7 +1901,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
2030
1901
|
onBlur == null ? void 0 : onBlur(e);
|
|
2031
1902
|
setIsFocused(false);
|
|
2032
1903
|
}
|
|
2033
|
-
}
|
|
1904
|
+
}
|
|
2034
1905
|
), hasIcon && !localStatus && !loading && iconNameLeft && /* @__PURE__ */ import_react10.default.createElement(IconWrapper, { name: iconNameLeft }), (iconNameLeft || type === "search" /* SEARCH */) && /* @__PURE__ */ import_react10.default.createElement(IconWrapper, { className: "icon-left", name: iconNameLeft || "tri-search" /* SEARCH */ }), iconNameRight && !loading && type !== "password" /* PASSWORD */ && /* @__PURE__ */ import_react10.default.createElement(IconWrapper, { className: "icon-right", name: iconNameRight }), !loading && type === "password" /* PASSWORD */ && /* @__PURE__ */ import_react10.default.createElement(
|
|
2035
1906
|
IconWrapper,
|
|
2036
1907
|
{
|
|
@@ -2134,7 +2005,7 @@ var menu_default = AutoCompleteMenu_default;
|
|
|
2134
2005
|
// components/autocomplete/utils/debounce.ts
|
|
2135
2006
|
var debounce = (func, wait) => {
|
|
2136
2007
|
let timeout;
|
|
2137
|
-
return (...rest) =>
|
|
2008
|
+
return async (...rest) => {
|
|
2138
2009
|
const context = void 0;
|
|
2139
2010
|
const later = function() {
|
|
2140
2011
|
timeout = null;
|
|
@@ -2144,64 +2015,38 @@ var debounce = (func, wait) => {
|
|
|
2144
2015
|
clearTimeout(timeout);
|
|
2145
2016
|
}
|
|
2146
2017
|
timeout = setTimeout(later, wait);
|
|
2147
|
-
}
|
|
2018
|
+
};
|
|
2148
2019
|
};
|
|
2149
2020
|
|
|
2150
2021
|
// components/autocomplete/AutoComplete.tsx
|
|
2151
|
-
var AutoCompleteRef = (
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
"defaultValue",
|
|
2180
|
-
"value",
|
|
2181
|
-
"classNameMenu",
|
|
2182
|
-
"absoluteMenu",
|
|
2183
|
-
"fullwidthMenu",
|
|
2184
|
-
"placeholder",
|
|
2185
|
-
"data",
|
|
2186
|
-
"status",
|
|
2187
|
-
"onBlur",
|
|
2188
|
-
"onChange",
|
|
2189
|
-
"name",
|
|
2190
|
-
"matching",
|
|
2191
|
-
"displayMenu",
|
|
2192
|
-
"onItemSelected",
|
|
2193
|
-
"iconNameLeft",
|
|
2194
|
-
"iconNameRight",
|
|
2195
|
-
"disabled",
|
|
2196
|
-
"children",
|
|
2197
|
-
"accessibilityLabel",
|
|
2198
|
-
"onIconClick",
|
|
2199
|
-
"getSuggestions",
|
|
2200
|
-
"debounceSuggestionsTimeout",
|
|
2201
|
-
"onFocus",
|
|
2202
|
-
"id",
|
|
2203
|
-
"loading"
|
|
2204
|
-
]);
|
|
2022
|
+
var AutoCompleteRef = ({
|
|
2023
|
+
defaultValue,
|
|
2024
|
+
value,
|
|
2025
|
+
classNameMenu,
|
|
2026
|
+
absoluteMenu,
|
|
2027
|
+
fullwidthMenu,
|
|
2028
|
+
placeholder,
|
|
2029
|
+
data,
|
|
2030
|
+
status,
|
|
2031
|
+
onBlur,
|
|
2032
|
+
onChange,
|
|
2033
|
+
name,
|
|
2034
|
+
matching = defaultMatching,
|
|
2035
|
+
displayMenu,
|
|
2036
|
+
onItemSelected,
|
|
2037
|
+
iconNameLeft,
|
|
2038
|
+
iconNameRight,
|
|
2039
|
+
disabled,
|
|
2040
|
+
children,
|
|
2041
|
+
accessibilityLabel,
|
|
2042
|
+
onIconClick,
|
|
2043
|
+
getSuggestions,
|
|
2044
|
+
debounceSuggestionsTimeout,
|
|
2045
|
+
onFocus,
|
|
2046
|
+
id,
|
|
2047
|
+
loading,
|
|
2048
|
+
...others
|
|
2049
|
+
}, ref) => {
|
|
2205
2050
|
const { styled } = useTrilogyContext();
|
|
2206
2051
|
const [itemSelected, setItemSelected] = (0, import_react11.useState)(null);
|
|
2207
2052
|
const [_inputValue, setInputValue] = (0, import_react11.useState)(value != null ? value : "");
|
|
@@ -2227,7 +2072,7 @@ var AutoCompleteRef = (_a, ref) => {
|
|
|
2227
2072
|
(0, import_react11.useEffect)(() => {
|
|
2228
2073
|
setSearch(matching(data, _inputValue));
|
|
2229
2074
|
}, [data]);
|
|
2230
|
-
const onTextChanged = (e) =>
|
|
2075
|
+
const onTextChanged = async (e) => {
|
|
2231
2076
|
setIsAutocompleteMenuVisible(true);
|
|
2232
2077
|
if (onChange) {
|
|
2233
2078
|
onChange({
|
|
@@ -2249,12 +2094,12 @@ var AutoCompleteRef = (_a, ref) => {
|
|
|
2249
2094
|
setInputValue(e.inputValue);
|
|
2250
2095
|
}
|
|
2251
2096
|
if (getSuggestions) {
|
|
2252
|
-
const data2 =
|
|
2097
|
+
const data2 = await getSuggestions(e.inputValue);
|
|
2253
2098
|
setSearch(data2);
|
|
2254
2099
|
} else if (matching && data) {
|
|
2255
2100
|
setSearch(matching(data, e.inputValue));
|
|
2256
2101
|
}
|
|
2257
|
-
}
|
|
2102
|
+
};
|
|
2258
2103
|
const onInputChange = debounceSuggestionsTimeout ? debounce(onTextChanged, debounceSuggestionsTimeout) : onTextChanged;
|
|
2259
2104
|
const suggestionSelected = (value2, data2, search2) => {
|
|
2260
2105
|
setIsAutocompleteMenuVisible(false);
|
|
@@ -2293,15 +2138,15 @@ var AutoCompleteRef = (_a, ref) => {
|
|
|
2293
2138
|
};
|
|
2294
2139
|
return /* @__PURE__ */ import_react11.default.createElement("div", { className: autocompleteContainerClasses }, /* @__PURE__ */ import_react11.default.createElement(
|
|
2295
2140
|
Input_default,
|
|
2296
|
-
|
|
2141
|
+
{
|
|
2297
2142
|
id,
|
|
2298
2143
|
ref,
|
|
2299
2144
|
defaultValue,
|
|
2300
2145
|
accessibilityLabel,
|
|
2301
2146
|
iconNameLeft,
|
|
2302
2147
|
iconNameRight,
|
|
2303
|
-
placeholder
|
|
2304
|
-
|
|
2148
|
+
placeholder,
|
|
2149
|
+
...name ? { name } : {},
|
|
2305
2150
|
type: "text",
|
|
2306
2151
|
status,
|
|
2307
2152
|
autoCompleteType: "off" /* OFF */,
|
|
@@ -2317,8 +2162,9 @@ var AutoCompleteRef = (_a, ref) => {
|
|
|
2317
2162
|
onInputChange(event);
|
|
2318
2163
|
},
|
|
2319
2164
|
onIconClick,
|
|
2320
|
-
loading
|
|
2321
|
-
|
|
2165
|
+
loading,
|
|
2166
|
+
...{ onKeyDown: (e) => e.key === "Enter" && e.preventDefault(), ...others }
|
|
2167
|
+
}
|
|
2322
2168
|
), isAutocompleteMenuVisible && /* @__PURE__ */ import_react11.default.createElement("div", { className: autocompleteClasses }, search.length > 0 && /* @__PURE__ */ import_react11.default.createElement(menu_default, { absolute: absoluteMenu, fullwidth: fullwidthMenu, className: classNameMenu }, search.map((item, i) => /* @__PURE__ */ import_react11.default.createElement(
|
|
2323
2169
|
item_default,
|
|
2324
2170
|
{
|
|
@@ -2361,23 +2207,6 @@ var SpacingMatrixMode = /* @__PURE__ */ ((SpacingMatrixMode2) => {
|
|
|
2361
2207
|
return SpacingMatrixMode2;
|
|
2362
2208
|
})(SpacingMatrixMode || {});
|
|
2363
2209
|
|
|
2364
|
-
// components/spacer/Spacer.tsx
|
|
2365
|
-
var import_clsx14 = __toESM(require("clsx"));
|
|
2366
|
-
var React20 = __toESM(require("react"));
|
|
2367
|
-
var Spacer = React20.forwardRef(({ size: size2, horizontal, className, id }, ref) => {
|
|
2368
|
-
const { styled } = useTrilogyContext();
|
|
2369
|
-
const styles = {
|
|
2370
|
-
spacer: {
|
|
2371
|
-
marginLeft: horizontal ? `${size2}px` : "0px",
|
|
2372
|
-
marginTop: !horizontal ? `${size2}px` : "0px"
|
|
2373
|
-
}
|
|
2374
|
-
};
|
|
2375
|
-
const classes = hashClass(styled, (0, import_clsx14.default)(className));
|
|
2376
|
-
return /* @__PURE__ */ React20.createElement("div", { ref, id, style: styles.spacer, className: classes });
|
|
2377
|
-
});
|
|
2378
|
-
Spacer.displayName = "Spacer" /* Spacer */;
|
|
2379
|
-
var Spacer_default = Spacer;
|
|
2380
|
-
|
|
2381
2210
|
// components/spacer/SpacerEnum.ts
|
|
2382
2211
|
var SpacerSize = /* @__PURE__ */ ((SpacerSize2) => {
|
|
2383
2212
|
SpacerSize2[SpacerSize2["ZERO"] = 0] = "ZERO";
|
|
@@ -2433,15 +2262,14 @@ var DEFAULT_SPACING_MATRIX = [
|
|
|
2433
2262
|
];
|
|
2434
2263
|
|
|
2435
2264
|
// components/badge/Badge.tsx
|
|
2436
|
-
var
|
|
2437
|
-
var
|
|
2438
|
-
var Badge =
|
|
2439
|
-
(
|
|
2440
|
-
var _b = _a, { className, children, id, label, inverted, onClick, variant, position, status } = _b, others = __objRest(_b, ["className", "children", "id", "label", "inverted", "onClick", "variant", "position", "status"]);
|
|
2265
|
+
var import_clsx14 = __toESM(require("clsx"));
|
|
2266
|
+
var React20 = __toESM(require("react"));
|
|
2267
|
+
var Badge = React20.forwardRef(
|
|
2268
|
+
({ className, children, id, label, inverted, onClick, variant, position, status, ...others }, ref) => {
|
|
2441
2269
|
const { styled } = useTrilogyContext();
|
|
2442
2270
|
const classes = hashClass(
|
|
2443
2271
|
styled,
|
|
2444
|
-
(0,
|
|
2272
|
+
(0, import_clsx14.default)(
|
|
2445
2273
|
"badge",
|
|
2446
2274
|
inverted && is("inverted"),
|
|
2447
2275
|
variant && has(`background-${getVariantClassName(variant) || getStatusClassName(variant)}`),
|
|
@@ -2471,32 +2299,34 @@ var Badge = React21.forwardRef(
|
|
|
2471
2299
|
default:
|
|
2472
2300
|
break;
|
|
2473
2301
|
}
|
|
2474
|
-
const simpleBadge = status && iconName && iconColor ? /* @__PURE__ */
|
|
2302
|
+
const simpleBadge = status && iconName && iconColor ? /* @__PURE__ */ React20.createElement(
|
|
2475
2303
|
Icon_default,
|
|
2476
|
-
|
|
2304
|
+
{
|
|
2477
2305
|
ref,
|
|
2478
2306
|
name: iconName,
|
|
2479
|
-
className: (0,
|
|
2307
|
+
className: (0, import_clsx14.default)(position && is(position), "badge-icon"),
|
|
2480
2308
|
circled: true,
|
|
2481
2309
|
backgroundColor: "WHITE" /* BACKGROUND */,
|
|
2482
2310
|
color: iconColor,
|
|
2483
|
-
id
|
|
2484
|
-
|
|
2485
|
-
|
|
2311
|
+
id,
|
|
2312
|
+
...others
|
|
2313
|
+
}
|
|
2314
|
+
) : /* @__PURE__ */ React20.createElement(
|
|
2486
2315
|
"span",
|
|
2487
|
-
|
|
2316
|
+
{
|
|
2488
2317
|
ref,
|
|
2489
2318
|
id,
|
|
2490
2319
|
className: classes,
|
|
2491
2320
|
onClick: (e) => {
|
|
2492
2321
|
onClick == null ? void 0 : onClick(e);
|
|
2493
2322
|
e.stopPropagation();
|
|
2494
|
-
}
|
|
2495
|
-
|
|
2323
|
+
},
|
|
2324
|
+
...others
|
|
2325
|
+
},
|
|
2496
2326
|
label
|
|
2497
2327
|
);
|
|
2498
2328
|
if (children) {
|
|
2499
|
-
return /* @__PURE__ */
|
|
2329
|
+
return /* @__PURE__ */ React20.createElement("span", { className: "badge-container" }, children, simpleBadge);
|
|
2500
2330
|
}
|
|
2501
2331
|
return simpleBadge;
|
|
2502
2332
|
}
|
|
@@ -2516,49 +2346,32 @@ var BadgeVariant = /* @__PURE__ */ ((BadgeVariant2) => {
|
|
|
2516
2346
|
})(BadgeVariant || {});
|
|
2517
2347
|
|
|
2518
2348
|
// components/box/Box.tsx
|
|
2519
|
-
var
|
|
2349
|
+
var import_clsx15 = __toESM(require("clsx"));
|
|
2520
2350
|
var import_react12 = __toESM(require("react"));
|
|
2521
2351
|
var Box = import_react12.default.forwardRef(
|
|
2522
|
-
(
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
"inverted",
|
|
2542
|
-
"children",
|
|
2543
|
-
"className",
|
|
2544
|
-
"id",
|
|
2545
|
-
"onClick",
|
|
2546
|
-
"skeleton",
|
|
2547
|
-
"href",
|
|
2548
|
-
"blank",
|
|
2549
|
-
"backgroundColor",
|
|
2550
|
-
"highlighted",
|
|
2551
|
-
"shadowless",
|
|
2552
|
-
"backgroundSrc",
|
|
2553
|
-
"flat",
|
|
2554
|
-
"headerOffset",
|
|
2555
|
-
"fullheight",
|
|
2556
|
-
"active"
|
|
2557
|
-
]);
|
|
2352
|
+
({
|
|
2353
|
+
inverted,
|
|
2354
|
+
children,
|
|
2355
|
+
className,
|
|
2356
|
+
id,
|
|
2357
|
+
onClick,
|
|
2358
|
+
skeleton,
|
|
2359
|
+
href,
|
|
2360
|
+
blank,
|
|
2361
|
+
backgroundColor,
|
|
2362
|
+
highlighted,
|
|
2363
|
+
shadowless,
|
|
2364
|
+
backgroundSrc,
|
|
2365
|
+
flat,
|
|
2366
|
+
headerOffset,
|
|
2367
|
+
fullheight,
|
|
2368
|
+
active,
|
|
2369
|
+
...others
|
|
2370
|
+
}, ref) => {
|
|
2558
2371
|
const { styled } = useTrilogyContext();
|
|
2559
2372
|
const classes = hashClass(
|
|
2560
2373
|
styled,
|
|
2561
|
-
(0,
|
|
2374
|
+
(0, import_clsx15.default)(
|
|
2562
2375
|
"box",
|
|
2563
2376
|
shadowless && is("shadowless"),
|
|
2564
2377
|
className,
|
|
@@ -2579,23 +2392,25 @@ var Box = import_react12.default.forwardRef(
|
|
|
2579
2392
|
};
|
|
2580
2393
|
return /* @__PURE__ */ import_react12.default.createElement(
|
|
2581
2394
|
Tag2,
|
|
2582
|
-
|
|
2395
|
+
{
|
|
2583
2396
|
ref,
|
|
2584
2397
|
id,
|
|
2585
|
-
style: onClick &&
|
|
2586
|
-
href
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2398
|
+
style: onClick && { ...hoverStyle },
|
|
2399
|
+
href,
|
|
2400
|
+
...href && blank && {
|
|
2401
|
+
target: "_blank"
|
|
2402
|
+
},
|
|
2590
2403
|
onClick: (e) => {
|
|
2591
2404
|
onClick == null ? void 0 : onClick(e);
|
|
2592
2405
|
},
|
|
2593
|
-
className: classes
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2406
|
+
className: classes,
|
|
2407
|
+
...others,
|
|
2408
|
+
...backgroundSrc && {
|
|
2409
|
+
style: {
|
|
2410
|
+
backgroundImage: `url(${backgroundSrc})`
|
|
2411
|
+
}
|
|
2597
2412
|
}
|
|
2598
|
-
}
|
|
2413
|
+
},
|
|
2599
2414
|
children
|
|
2600
2415
|
);
|
|
2601
2416
|
}
|
|
@@ -2604,32 +2419,33 @@ Box.displayName = "Box" /* Box */;
|
|
|
2604
2419
|
var Box_default = Box;
|
|
2605
2420
|
|
|
2606
2421
|
// components/box/content/BoxContent.tsx
|
|
2607
|
-
var
|
|
2608
|
-
var
|
|
2609
|
-
var BoxContent =
|
|
2610
|
-
(
|
|
2611
|
-
var _b = _a, { children, className, id, backgroundColor, backgroundSrc } = _b, others = __objRest(_b, ["children", "className", "id", "backgroundColor", "backgroundSrc"]);
|
|
2422
|
+
var import_clsx16 = __toESM(require("clsx"));
|
|
2423
|
+
var React22 = __toESM(require("react"));
|
|
2424
|
+
var BoxContent = React22.forwardRef(
|
|
2425
|
+
({ children, className, id, backgroundColor, backgroundSrc, ...others }, ref) => {
|
|
2612
2426
|
const { styled } = useTrilogyContext();
|
|
2613
2427
|
const classes = hashClass(
|
|
2614
2428
|
styled,
|
|
2615
|
-
(0,
|
|
2429
|
+
(0, import_clsx16.default)(
|
|
2616
2430
|
"box-content",
|
|
2617
2431
|
backgroundColor && has(getBackgroundClassName(backgroundColor)),
|
|
2618
2432
|
backgroundSrc && has("background"),
|
|
2619
2433
|
className
|
|
2620
2434
|
)
|
|
2621
2435
|
);
|
|
2622
|
-
return /* @__PURE__ */
|
|
2436
|
+
return /* @__PURE__ */ React22.createElement(
|
|
2623
2437
|
"div",
|
|
2624
|
-
|
|
2438
|
+
{
|
|
2625
2439
|
ref,
|
|
2626
2440
|
id,
|
|
2627
|
-
className: classes
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2441
|
+
className: classes,
|
|
2442
|
+
...backgroundSrc && {
|
|
2443
|
+
style: {
|
|
2444
|
+
backgroundImage: `url(${backgroundSrc})`
|
|
2445
|
+
}
|
|
2446
|
+
},
|
|
2447
|
+
...others
|
|
2448
|
+
},
|
|
2633
2449
|
children
|
|
2634
2450
|
);
|
|
2635
2451
|
}
|
|
@@ -2641,22 +2457,22 @@ var BoxContent_default = BoxContent;
|
|
|
2641
2457
|
var content_default = BoxContent_default;
|
|
2642
2458
|
|
|
2643
2459
|
// components/box/footer/BoxFooter.tsx
|
|
2644
|
-
var
|
|
2645
|
-
var
|
|
2646
|
-
var BoxFooter =
|
|
2647
|
-
(
|
|
2648
|
-
var _b = _a, { className, children, backgroundColor, id } = _b, others = __objRest(_b, ["className", "children", "backgroundColor", "id"]);
|
|
2460
|
+
var import_clsx17 = __toESM(require("clsx"));
|
|
2461
|
+
var React23 = __toESM(require("react"));
|
|
2462
|
+
var BoxFooter = React23.forwardRef(
|
|
2463
|
+
({ className, children, backgroundColor, id, ...others }, ref) => {
|
|
2649
2464
|
const { styled } = useTrilogyContext();
|
|
2650
|
-
return /* @__PURE__ */
|
|
2465
|
+
return /* @__PURE__ */ React23.createElement(
|
|
2651
2466
|
"div",
|
|
2652
|
-
|
|
2467
|
+
{
|
|
2653
2468
|
ref,
|
|
2654
2469
|
id,
|
|
2655
2470
|
className: hashClass(
|
|
2656
2471
|
styled,
|
|
2657
|
-
(0,
|
|
2658
|
-
)
|
|
2659
|
-
|
|
2472
|
+
(0, import_clsx17.default)("box-footer", backgroundColor && has(getBackgroundClassName(backgroundColor)), className)
|
|
2473
|
+
),
|
|
2474
|
+
...others
|
|
2475
|
+
},
|
|
2660
2476
|
children
|
|
2661
2477
|
);
|
|
2662
2478
|
}
|
|
@@ -2668,11 +2484,10 @@ var BoxFooter_default = BoxFooter;
|
|
|
2668
2484
|
var footer_default = BoxFooter_default;
|
|
2669
2485
|
|
|
2670
2486
|
// components/box/header/BoxHeader.tsx
|
|
2671
|
-
var
|
|
2672
|
-
var
|
|
2673
|
-
var BoxHeader =
|
|
2674
|
-
(
|
|
2675
|
-
var _b = _a, { children, className, id, align, variant } = _b, others = __objRest(_b, ["children", "className", "id", "align", "variant"]);
|
|
2487
|
+
var import_clsx18 = __toESM(require("clsx"));
|
|
2488
|
+
var React24 = __toESM(require("react"));
|
|
2489
|
+
var BoxHeader = React24.forwardRef(
|
|
2490
|
+
({ children, className, id, align, variant, ...others }, ref) => {
|
|
2676
2491
|
const { styled } = useTrilogyContext();
|
|
2677
2492
|
let alignClass = null;
|
|
2678
2493
|
if (align) {
|
|
@@ -2680,9 +2495,9 @@ var BoxHeader = React25.forwardRef(
|
|
|
2680
2495
|
}
|
|
2681
2496
|
const classes = hashClass(
|
|
2682
2497
|
styled,
|
|
2683
|
-
(0,
|
|
2498
|
+
(0, import_clsx18.default)("box-header", className, variant && has(getBackgroundClassName(variant)), align && alignClass)
|
|
2684
2499
|
);
|
|
2685
|
-
return /* @__PURE__ */
|
|
2500
|
+
return /* @__PURE__ */ React24.createElement("div", { ref, id, className: classes, ...others }, children && typeof children.valueOf() === "string" ? /* @__PURE__ */ React24.createElement("p", null, children) : children);
|
|
2686
2501
|
}
|
|
2687
2502
|
);
|
|
2688
2503
|
BoxHeader.displayName = "BoxHeader" /* BoxHeader */;
|
|
@@ -2692,19 +2507,19 @@ var BoxHeader_default = BoxHeader;
|
|
|
2692
2507
|
var header_default = BoxHeader_default;
|
|
2693
2508
|
|
|
2694
2509
|
// components/box/table-container/BoxTableContainer.tsx
|
|
2695
|
-
var
|
|
2696
|
-
var
|
|
2697
|
-
var BoxTableContainer =
|
|
2698
|
-
(
|
|
2699
|
-
var _b = _a, { className, testId } = _b, others = __objRest(_b, ["className", "testId"]);
|
|
2510
|
+
var import_clsx19 = __toESM(require("clsx"));
|
|
2511
|
+
var React25 = __toESM(require("react"));
|
|
2512
|
+
var BoxTableContainer = React25.forwardRef(
|
|
2513
|
+
({ className, testId, ...others }, ref) => {
|
|
2700
2514
|
const { styled } = useTrilogyContext();
|
|
2701
|
-
return /* @__PURE__ */
|
|
2515
|
+
return /* @__PURE__ */ React25.createElement(
|
|
2702
2516
|
"div",
|
|
2703
|
-
|
|
2517
|
+
{
|
|
2704
2518
|
ref,
|
|
2705
2519
|
"data-testid": testId,
|
|
2706
|
-
className: hashClass(styled, (0,
|
|
2707
|
-
|
|
2520
|
+
className: hashClass(styled, (0, import_clsx19.default)("box table-container", className)),
|
|
2521
|
+
...others
|
|
2522
|
+
}
|
|
2708
2523
|
);
|
|
2709
2524
|
}
|
|
2710
2525
|
);
|
|
@@ -2715,13 +2530,12 @@ var BoxTableContainer_default = BoxTableContainer;
|
|
|
2715
2530
|
var table_container_default = BoxTableContainer_default;
|
|
2716
2531
|
|
|
2717
2532
|
// components/box/item/BoxItem.tsx
|
|
2718
|
-
var
|
|
2719
|
-
var
|
|
2720
|
-
var BoxItem =
|
|
2721
|
-
(
|
|
2722
|
-
var _b = _a, { className, id, children } = _b, others = __objRest(_b, ["className", "id", "children"]);
|
|
2533
|
+
var import_clsx20 = __toESM(require("clsx"));
|
|
2534
|
+
var React26 = __toESM(require("react"));
|
|
2535
|
+
var BoxItem = React26.forwardRef(
|
|
2536
|
+
({ className, id, children, ...others }, ref) => {
|
|
2723
2537
|
const { styled } = useTrilogyContext();
|
|
2724
|
-
return /* @__PURE__ */
|
|
2538
|
+
return /* @__PURE__ */ React26.createElement("div", { ref, id, className: hashClass(styled, (0, import_clsx20.default)("box-item", className)), ...others }, children);
|
|
2725
2539
|
}
|
|
2726
2540
|
);
|
|
2727
2541
|
BoxItem.displayName = "BoxItem" /* BoxItem */;
|
|
@@ -2743,22 +2557,22 @@ var item_default2 = BoxItem_default;
|
|
|
2743
2557
|
|
|
2744
2558
|
// components/breadcrumb/Breadcrumb.tsx
|
|
2745
2559
|
var import_breadcrumb = __toESM(require("@trilogy-ds/locales/lib/breadcrumb"));
|
|
2746
|
-
var
|
|
2747
|
-
var
|
|
2748
|
-
var Breadcrumb =
|
|
2749
|
-
(
|
|
2750
|
-
var _b = _a, { children, className, id } = _b, others = __objRest(_b, ["children", "className", "id"]);
|
|
2560
|
+
var import_clsx21 = __toESM(require("clsx"));
|
|
2561
|
+
var React27 = __toESM(require("react"));
|
|
2562
|
+
var Breadcrumb = React27.forwardRef(
|
|
2563
|
+
({ children, className, id, ...others }, ref) => {
|
|
2751
2564
|
const { styled } = useTrilogyContext();
|
|
2752
|
-
return /* @__PURE__ */
|
|
2565
|
+
return /* @__PURE__ */ React27.createElement(
|
|
2753
2566
|
"nav",
|
|
2754
|
-
|
|
2567
|
+
{
|
|
2755
2568
|
ref,
|
|
2756
2569
|
id,
|
|
2757
2570
|
role: "navigation",
|
|
2758
|
-
className: hashClass(styled, (0,
|
|
2759
|
-
"aria-label": import_breadcrumb.default.accessibilityLabel
|
|
2760
|
-
|
|
2761
|
-
|
|
2571
|
+
className: hashClass(styled, (0, import_clsx21.default)("breadcrumb", className)),
|
|
2572
|
+
"aria-label": import_breadcrumb.default.accessibilityLabel,
|
|
2573
|
+
...others
|
|
2574
|
+
},
|
|
2575
|
+
/* @__PURE__ */ React27.createElement("ul", null, children)
|
|
2762
2576
|
);
|
|
2763
2577
|
}
|
|
2764
2578
|
);
|
|
@@ -2766,94 +2580,84 @@ Breadcrumb.displayName = "Breadcrumb" /* Breadcrumb */;
|
|
|
2766
2580
|
var Breadcrumb_default = Breadcrumb;
|
|
2767
2581
|
|
|
2768
2582
|
// components/link/Link.tsx
|
|
2769
|
-
var
|
|
2770
|
-
var
|
|
2771
|
-
var Link =
|
|
2772
|
-
(
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
"children",
|
|
2788
|
-
"className",
|
|
2789
|
-
"id",
|
|
2790
|
-
"to",
|
|
2791
|
-
"href",
|
|
2792
|
-
"onClick",
|
|
2793
|
-
"accessibilityLabel",
|
|
2794
|
-
"routerLink",
|
|
2795
|
-
"iconName",
|
|
2796
|
-
"inverted",
|
|
2797
|
-
"blank",
|
|
2798
|
-
"title"
|
|
2799
|
-
]);
|
|
2583
|
+
var import_clsx22 = __toESM(require("clsx"));
|
|
2584
|
+
var React28 = __toESM(require("react"));
|
|
2585
|
+
var Link = React28.forwardRef(
|
|
2586
|
+
({
|
|
2587
|
+
children,
|
|
2588
|
+
className,
|
|
2589
|
+
id,
|
|
2590
|
+
to,
|
|
2591
|
+
href,
|
|
2592
|
+
onClick,
|
|
2593
|
+
accessibilityLabel,
|
|
2594
|
+
routerLink,
|
|
2595
|
+
iconName,
|
|
2596
|
+
inverted,
|
|
2597
|
+
blank,
|
|
2598
|
+
title,
|
|
2599
|
+
...others
|
|
2600
|
+
}, ref) => {
|
|
2800
2601
|
const { styled } = useTrilogyContext();
|
|
2801
|
-
const classes = hashClass(styled, (0,
|
|
2602
|
+
const classes = hashClass(styled, (0, import_clsx22.default)("link", iconName && has("icon"), inverted && is("inverted"), className));
|
|
2802
2603
|
if (routerLink && to) {
|
|
2803
2604
|
const RouterLink = routerLink ? routerLink : "a";
|
|
2804
2605
|
const RouterLinkTrilogy = () => {
|
|
2805
|
-
return /* @__PURE__ */
|
|
2606
|
+
return /* @__PURE__ */ React28.createElement(
|
|
2806
2607
|
RouterLink,
|
|
2807
|
-
|
|
2608
|
+
{
|
|
2808
2609
|
ref,
|
|
2809
2610
|
id,
|
|
2810
2611
|
"aria-label": accessibilityLabel,
|
|
2811
2612
|
onClick: onClick && onClick,
|
|
2812
|
-
className: hashClass(styled, (0,
|
|
2813
|
-
to: to || ""
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2613
|
+
className: hashClass(styled, (0, import_clsx22.default)(classes)),
|
|
2614
|
+
to: to || "",
|
|
2615
|
+
...blank && {
|
|
2616
|
+
target: "_blank"
|
|
2617
|
+
},
|
|
2618
|
+
...others
|
|
2619
|
+
},
|
|
2817
2620
|
children
|
|
2818
2621
|
);
|
|
2819
2622
|
};
|
|
2820
|
-
return /* @__PURE__ */
|
|
2623
|
+
return /* @__PURE__ */ React28.createElement(RouterLinkTrilogy, null);
|
|
2821
2624
|
}
|
|
2822
2625
|
const LinkTrilogy = () => {
|
|
2823
|
-
return /* @__PURE__ */
|
|
2626
|
+
return /* @__PURE__ */ React28.createElement(
|
|
2824
2627
|
"a",
|
|
2825
|
-
|
|
2628
|
+
{
|
|
2826
2629
|
ref,
|
|
2827
2630
|
id,
|
|
2828
2631
|
"aria-label": accessibilityLabel,
|
|
2829
2632
|
onClick: onClick && onClick,
|
|
2830
2633
|
className: classes,
|
|
2831
2634
|
title,
|
|
2832
|
-
href
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2635
|
+
href,
|
|
2636
|
+
...blank && {
|
|
2637
|
+
target: "_blank"
|
|
2638
|
+
},
|
|
2639
|
+
...others
|
|
2640
|
+
},
|
|
2641
|
+
iconName ? /* @__PURE__ */ React28.createElement(React28.Fragment, null, /* @__PURE__ */ React28.createElement("span", null, children), /* @__PURE__ */ React28.createElement(Icon_default, { name: iconName, size: "small" /* SMALL */ })) : children
|
|
2837
2642
|
);
|
|
2838
2643
|
};
|
|
2839
|
-
return /* @__PURE__ */
|
|
2644
|
+
return /* @__PURE__ */ React28.createElement(LinkTrilogy, null);
|
|
2840
2645
|
}
|
|
2841
2646
|
);
|
|
2842
2647
|
Link.displayName = "Link" /* Link */;
|
|
2843
2648
|
var Link_default = Link;
|
|
2844
2649
|
|
|
2845
2650
|
// components/breadcrumb/item/BreadcrumbItem.tsx
|
|
2846
|
-
var
|
|
2847
|
-
var
|
|
2848
|
-
var BreadcrumbItem =
|
|
2849
|
-
(
|
|
2850
|
-
var _b = _a, { children, active, id, href, to, routerLink, testId, onClick } = _b, others = __objRest(_b, ["children", "active", "id", "href", "to", "routerLink", "testId", "onClick"]);
|
|
2651
|
+
var import_clsx23 = __toESM(require("clsx"));
|
|
2652
|
+
var React29 = __toESM(require("react"));
|
|
2653
|
+
var BreadcrumbItem = React29.forwardRef(
|
|
2654
|
+
({ children, active, id, href, to, routerLink, testId, onClick, ...others }, ref) => {
|
|
2851
2655
|
const { styled } = useTrilogyContext();
|
|
2852
2656
|
if (routerLink && to) {
|
|
2853
2657
|
const RouterLink = routerLink ? routerLink : "a";
|
|
2854
|
-
return /* @__PURE__ */
|
|
2658
|
+
return /* @__PURE__ */ React29.createElement("li", { ref, id, "data-testid": testId, onClick, "aria-current": active ? "page" : void 0 }, /* @__PURE__ */ React29.createElement(RouterLink, { className: hashClass(styled, (0, import_clsx23.default)("link")), to, ...others }, children));
|
|
2855
2659
|
}
|
|
2856
|
-
return /* @__PURE__ */
|
|
2660
|
+
return /* @__PURE__ */ React29.createElement("li", { ref, id, onClick, "aria-current": active ? "page" : void 0 }, active ? children : /* @__PURE__ */ React29.createElement(Link_default, { href, ...others }, children));
|
|
2857
2661
|
}
|
|
2858
2662
|
);
|
|
2859
2663
|
BreadcrumbItem.displayName = "BreadcrumbItem" /* BreadcrumbItem */;
|
|
@@ -2863,7 +2667,7 @@ var BreadcrumbItem_default = BreadcrumbItem;
|
|
|
2863
2667
|
var item_default3 = BreadcrumbItem_default;
|
|
2864
2668
|
|
|
2865
2669
|
// components/button/Button.tsx
|
|
2866
|
-
var
|
|
2670
|
+
var import_clsx24 = __toESM(require("clsx"));
|
|
2867
2671
|
var import_react13 = __toESM(require("react"));
|
|
2868
2672
|
|
|
2869
2673
|
// components/button/ButtonEnum.ts
|
|
@@ -2889,42 +2693,25 @@ var ButtonVariant = /* @__PURE__ */ ((ButtonVariant3) => {
|
|
|
2889
2693
|
|
|
2890
2694
|
// components/button/Button.tsx
|
|
2891
2695
|
var Button = import_react13.default.forwardRef(
|
|
2892
|
-
(
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
"markup",
|
|
2912
|
-
"loading",
|
|
2913
|
-
"variant",
|
|
2914
|
-
"href",
|
|
2915
|
-
"id",
|
|
2916
|
-
"fullwidth",
|
|
2917
|
-
"children",
|
|
2918
|
-
"className",
|
|
2919
|
-
"to",
|
|
2920
|
-
"accessibilityLabel",
|
|
2921
|
-
"onClick",
|
|
2922
|
-
"name",
|
|
2923
|
-
"routerLink",
|
|
2924
|
-
"type",
|
|
2925
|
-
"iconName",
|
|
2926
|
-
"disabled"
|
|
2927
|
-
]);
|
|
2696
|
+
({
|
|
2697
|
+
markup,
|
|
2698
|
+
loading,
|
|
2699
|
+
variant,
|
|
2700
|
+
href,
|
|
2701
|
+
id,
|
|
2702
|
+
fullwidth,
|
|
2703
|
+
children,
|
|
2704
|
+
className,
|
|
2705
|
+
to,
|
|
2706
|
+
accessibilityLabel,
|
|
2707
|
+
onClick,
|
|
2708
|
+
name,
|
|
2709
|
+
routerLink,
|
|
2710
|
+
type,
|
|
2711
|
+
iconName,
|
|
2712
|
+
disabled,
|
|
2713
|
+
...others
|
|
2714
|
+
}, ref) => {
|
|
2928
2715
|
const isDisabled = disabled || false;
|
|
2929
2716
|
const { styled } = useTrilogyContext();
|
|
2930
2717
|
const isCorrectMarkup2 = (stringMarkup) => {
|
|
@@ -2932,7 +2719,7 @@ var Button = import_react13.default.forwardRef(
|
|
|
2932
2719
|
return true;
|
|
2933
2720
|
};
|
|
2934
2721
|
const getClassNames = (loading2, variant2, fullwidth2, className2) => {
|
|
2935
|
-
return (0,
|
|
2722
|
+
return (0, import_clsx24.default)(
|
|
2936
2723
|
"button",
|
|
2937
2724
|
loading2 && is("loading"),
|
|
2938
2725
|
variant2 && is(getButtonVariantClassName(variant2)),
|
|
@@ -2945,7 +2732,7 @@ var Button = import_react13.default.forwardRef(
|
|
|
2945
2732
|
if (Tag2 === "button" && !href && !to) {
|
|
2946
2733
|
return /* @__PURE__ */ import_react13.default.createElement(
|
|
2947
2734
|
"button",
|
|
2948
|
-
|
|
2735
|
+
{
|
|
2949
2736
|
ref,
|
|
2950
2737
|
id,
|
|
2951
2738
|
"aria-label": accessibilityLabel,
|
|
@@ -2956,8 +2743,9 @@ var Button = import_react13.default.forwardRef(
|
|
|
2956
2743
|
!isDisabled && (onClick == null ? void 0 : onClick(e));
|
|
2957
2744
|
e.stopPropagation();
|
|
2958
2745
|
},
|
|
2959
|
-
type: type != null ? type : "button"
|
|
2960
|
-
|
|
2746
|
+
type: type != null ? type : "button",
|
|
2747
|
+
...others
|
|
2748
|
+
},
|
|
2961
2749
|
iconName && /* @__PURE__ */ import_react13.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }),
|
|
2962
2750
|
children
|
|
2963
2751
|
);
|
|
@@ -2965,7 +2753,7 @@ var Button = import_react13.default.forwardRef(
|
|
|
2965
2753
|
if (Tag2 === "input") {
|
|
2966
2754
|
return /* @__PURE__ */ import_react13.default.createElement(
|
|
2967
2755
|
"input",
|
|
2968
|
-
|
|
2756
|
+
{
|
|
2969
2757
|
ref,
|
|
2970
2758
|
id,
|
|
2971
2759
|
className: classes,
|
|
@@ -2977,17 +2765,18 @@ var Button = import_react13.default.forwardRef(
|
|
|
2977
2765
|
},
|
|
2978
2766
|
disabled: isDisabled,
|
|
2979
2767
|
type: type != null ? type : "submit",
|
|
2980
|
-
value: `${children}
|
|
2981
|
-
|
|
2768
|
+
value: `${children}`,
|
|
2769
|
+
...others
|
|
2770
|
+
}
|
|
2982
2771
|
);
|
|
2983
2772
|
}
|
|
2984
2773
|
if (routerLink && to && !isDisabled) {
|
|
2985
2774
|
const RouterLink = routerLink ? routerLink : "a";
|
|
2986
|
-
return /* @__PURE__ */ import_react13.default.createElement(RouterLink,
|
|
2775
|
+
return /* @__PURE__ */ import_react13.default.createElement(RouterLink, { ref, "aria-label": accessibilityLabel, to, className: classes, ...others }, iconName && /* @__PURE__ */ import_react13.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }), children);
|
|
2987
2776
|
}
|
|
2988
2777
|
return /* @__PURE__ */ import_react13.default.createElement(
|
|
2989
2778
|
"a",
|
|
2990
|
-
|
|
2779
|
+
{
|
|
2991
2780
|
ref,
|
|
2992
2781
|
id,
|
|
2993
2782
|
"aria-label": accessibilityLabel,
|
|
@@ -2996,8 +2785,10 @@ var Button = import_react13.default.forwardRef(
|
|
|
2996
2785
|
onClick: (e) => {
|
|
2997
2786
|
!isDisabled && (onClick == null ? void 0 : onClick(e));
|
|
2998
2787
|
e.stopPropagation();
|
|
2999
|
-
}
|
|
3000
|
-
|
|
2788
|
+
},
|
|
2789
|
+
...others,
|
|
2790
|
+
...disabled && { "aria-disabled": true }
|
|
2791
|
+
},
|
|
3001
2792
|
iconName && /* @__PURE__ */ import_react13.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }),
|
|
3002
2793
|
children
|
|
3003
2794
|
);
|
|
@@ -3007,27 +2798,27 @@ Button.displayName = "Button" /* Button */;
|
|
|
3007
2798
|
var Button_default = Button;
|
|
3008
2799
|
|
|
3009
2800
|
// components/button/list/ButtonList.tsx
|
|
3010
|
-
var
|
|
3011
|
-
var
|
|
3012
|
-
var ButtonList =
|
|
3013
|
-
(
|
|
3014
|
-
var _b = _a, { className, id, align, direction } = _b, others = __objRest(_b, ["className", "id", "align", "direction"]);
|
|
2801
|
+
var import_clsx25 = __toESM(require("clsx"));
|
|
2802
|
+
var React31 = __toESM(require("react"));
|
|
2803
|
+
var ButtonList = React31.forwardRef(
|
|
2804
|
+
({ className, id, align, direction, ...others }, ref) => {
|
|
3015
2805
|
const { styled } = useTrilogyContext();
|
|
3016
|
-
return /* @__PURE__ */
|
|
2806
|
+
return /* @__PURE__ */ React31.createElement(
|
|
3017
2807
|
"div",
|
|
3018
|
-
|
|
2808
|
+
{
|
|
3019
2809
|
ref,
|
|
3020
2810
|
id,
|
|
3021
2811
|
className: hashClass(
|
|
3022
2812
|
styled,
|
|
3023
|
-
(0,
|
|
2813
|
+
(0, import_clsx25.default)(
|
|
3024
2814
|
"buttons",
|
|
3025
2815
|
className,
|
|
3026
2816
|
align && is(getJustifiedClassName(align)),
|
|
3027
2817
|
direction === "column" /* COLUMN */ && is("vertical")
|
|
3028
2818
|
)
|
|
3029
|
-
)
|
|
3030
|
-
|
|
2819
|
+
),
|
|
2820
|
+
...others
|
|
2821
|
+
}
|
|
3031
2822
|
);
|
|
3032
2823
|
}
|
|
3033
2824
|
);
|
|
@@ -3035,19 +2826,18 @@ ButtonList.displayName = "ButtonList" /* ButtonList */;
|
|
|
3035
2826
|
var ButtonList_default = ButtonList;
|
|
3036
2827
|
|
|
3037
2828
|
// components/card/Card.tsx
|
|
3038
|
-
var
|
|
2829
|
+
var import_clsx26 = __toESM(require("clsx"));
|
|
3039
2830
|
var import_react14 = __toESM(require("react"));
|
|
3040
2831
|
var CardContext = (0, import_react14.createContext)({ horizontal: false });
|
|
3041
2832
|
var Card = import_react14.default.forwardRef(
|
|
3042
|
-
(
|
|
3043
|
-
var _b = _a, { className, id, flat, horizontal, floating, skeleton, onClick, reversed, href, fullheight, active } = _b, others = __objRest(_b, ["className", "id", "flat", "horizontal", "floating", "skeleton", "onClick", "reversed", "href", "fullheight", "active"]);
|
|
2833
|
+
({ className, id, flat, horizontal, floating, skeleton, onClick, reversed, href, fullheight, active, ...others }, ref) => {
|
|
3044
2834
|
const { styled } = useTrilogyContext();
|
|
3045
2835
|
const hoverStyle = {
|
|
3046
2836
|
cursor: "pointer"
|
|
3047
2837
|
};
|
|
3048
2838
|
const classes = hashClass(
|
|
3049
2839
|
styled,
|
|
3050
|
-
(0,
|
|
2840
|
+
(0, import_clsx26.default)(
|
|
3051
2841
|
"card",
|
|
3052
2842
|
flat && !floating && is("flat"),
|
|
3053
2843
|
horizontal && [is("horizontal"), is("vcentered")],
|
|
@@ -3062,28 +2852,29 @@ var Card = import_react14.default.forwardRef(
|
|
|
3062
2852
|
if (href) {
|
|
3063
2853
|
return /* @__PURE__ */ import_react14.default.createElement(
|
|
3064
2854
|
"a",
|
|
3065
|
-
|
|
2855
|
+
{
|
|
3066
2856
|
ref,
|
|
3067
2857
|
id,
|
|
3068
2858
|
href,
|
|
3069
2859
|
onClick: (e) => {
|
|
3070
2860
|
onClick == null ? void 0 : onClick(e);
|
|
3071
2861
|
e.stopPropagation();
|
|
3072
|
-
}
|
|
3073
|
-
|
|
2862
|
+
},
|
|
2863
|
+
...others,
|
|
3074
2864
|
className: classes
|
|
3075
|
-
}
|
|
2865
|
+
}
|
|
3076
2866
|
);
|
|
3077
2867
|
}
|
|
3078
2868
|
return /* @__PURE__ */ import_react14.default.createElement(
|
|
3079
2869
|
"div",
|
|
3080
|
-
|
|
2870
|
+
{
|
|
3081
2871
|
ref,
|
|
3082
2872
|
id,
|
|
3083
2873
|
onClick: onClick && onClick,
|
|
3084
2874
|
className: classes,
|
|
3085
|
-
style: onClick &&
|
|
3086
|
-
|
|
2875
|
+
style: onClick && { ...hoverStyle },
|
|
2876
|
+
...others
|
|
2877
|
+
}
|
|
3087
2878
|
);
|
|
3088
2879
|
}
|
|
3089
2880
|
);
|
|
@@ -3091,14 +2882,13 @@ Card.displayName = "Card" /* Card */;
|
|
|
3091
2882
|
var Card_default = Card;
|
|
3092
2883
|
|
|
3093
2884
|
// components/card/image/CardImage.tsx
|
|
3094
|
-
var
|
|
3095
|
-
var
|
|
3096
|
-
var CardImage =
|
|
3097
|
-
(
|
|
3098
|
-
var _b = _a, { src, alt = "", className, id, size: size2, onClick } = _b, others = __objRest(_b, ["src", "alt", "className", "id", "size", "onClick"]);
|
|
2885
|
+
var import_clsx27 = __toESM(require("clsx"));
|
|
2886
|
+
var React33 = __toESM(require("react"));
|
|
2887
|
+
var CardImage = React33.forwardRef(
|
|
2888
|
+
({ src, alt = "", className, id, size: size2, onClick, ...others }, ref) => {
|
|
3099
2889
|
const { styled } = useTrilogyContext();
|
|
3100
|
-
const classes = hashClass(styled, (0,
|
|
3101
|
-
return /* @__PURE__ */
|
|
2890
|
+
const classes = hashClass(styled, (0, import_clsx27.default)("card-image", size2 && is(`${size2}`), className));
|
|
2891
|
+
return /* @__PURE__ */ React33.createElement(
|
|
3102
2892
|
"div",
|
|
3103
2893
|
{
|
|
3104
2894
|
ref,
|
|
@@ -3109,7 +2899,7 @@ var CardImage = React34.forwardRef(
|
|
|
3109
2899
|
},
|
|
3110
2900
|
className: classes
|
|
3111
2901
|
},
|
|
3112
|
-
/* @__PURE__ */
|
|
2902
|
+
/* @__PURE__ */ React33.createElement("figure", { className: hashClass(styled, (0, import_clsx27.default)("image")), ...others }, /* @__PURE__ */ React33.createElement("img", { ...{ src: typeof src === "string" ? src : "" }, alt }))
|
|
3113
2903
|
);
|
|
3114
2904
|
}
|
|
3115
2905
|
);
|
|
@@ -3120,13 +2910,12 @@ var CardImage_default = CardImage;
|
|
|
3120
2910
|
var image_default = CardImage_default;
|
|
3121
2911
|
|
|
3122
2912
|
// components/card/content/CardContent.tsx
|
|
3123
|
-
var
|
|
3124
|
-
var
|
|
3125
|
-
var CardContent =
|
|
3126
|
-
(
|
|
3127
|
-
var _b = _a, { children, className, id } = _b, others = __objRest(_b, ["children", "className", "id"]);
|
|
2913
|
+
var import_clsx28 = __toESM(require("clsx"));
|
|
2914
|
+
var React34 = __toESM(require("react"));
|
|
2915
|
+
var CardContent = React34.forwardRef(
|
|
2916
|
+
({ children, className, id, ...others }, ref) => {
|
|
3128
2917
|
const { styled } = useTrilogyContext();
|
|
3129
|
-
return /* @__PURE__ */
|
|
2918
|
+
return /* @__PURE__ */ React34.createElement("div", { ref, id, className: hashClass(styled, (0, import_clsx28.default)("card-content", className)), ...others }, children);
|
|
3130
2919
|
}
|
|
3131
2920
|
);
|
|
3132
2921
|
CardContent.displayName = "CardContent" /* CardContent */;
|
|
@@ -3145,11 +2934,10 @@ var CardImageSize = /* @__PURE__ */ ((CardImageSize2) => {
|
|
|
3145
2934
|
})(CardImageSize || {});
|
|
3146
2935
|
|
|
3147
2936
|
// components/checkbox/Checkbox.tsx
|
|
3148
|
-
var
|
|
2937
|
+
var import_clsx29 = __toESM(require("clsx"));
|
|
3149
2938
|
var import_react15 = __toESM(require("react"));
|
|
3150
2939
|
var Checkbox = import_react15.default.forwardRef(
|
|
3151
|
-
(
|
|
3152
|
-
var _b = _a, { checked, className, disabled, readonly, id = import_react15.default.useId(), label, onChange, name, value, children, required } = _b, others = __objRest(_b, ["checked", "className", "disabled", "readonly", "id", "label", "onChange", "name", "value", "children", "required"]);
|
|
2940
|
+
({ checked, className, disabled, readonly, id = import_react15.default.useId(), label, onChange, name, value, children, required, ...others }, ref) => {
|
|
3153
2941
|
const { styled } = useTrilogyContext();
|
|
3154
2942
|
const [_checked, setChecked] = (0, import_react15.useState)(checked || false);
|
|
3155
2943
|
(0, import_react15.useEffect)(() => {
|
|
@@ -3166,9 +2954,9 @@ var Checkbox = import_react15.default.forwardRef(
|
|
|
3166
2954
|
checkboxChecked: target.checked
|
|
3167
2955
|
}) : setChecked(target.checked);
|
|
3168
2956
|
};
|
|
3169
|
-
return /* @__PURE__ */ import_react15.default.createElement("div", { ref, className: hashClass(styled, (0,
|
|
2957
|
+
return /* @__PURE__ */ import_react15.default.createElement("div", { ref, className: hashClass(styled, (0, import_clsx29.default)("checkbox", className)) }, /* @__PURE__ */ import_react15.default.createElement(
|
|
3170
2958
|
"input",
|
|
3171
|
-
|
|
2959
|
+
{
|
|
3172
2960
|
type: "checkbox",
|
|
3173
2961
|
readOnly: readonly,
|
|
3174
2962
|
id,
|
|
@@ -3177,9 +2965,10 @@ var Checkbox = import_react15.default.forwardRef(
|
|
|
3177
2965
|
name,
|
|
3178
2966
|
value,
|
|
3179
2967
|
checked: readonly ? checked : _checked,
|
|
3180
|
-
onChange: handleOnChange
|
|
3181
|
-
|
|
3182
|
-
|
|
2968
|
+
onChange: handleOnChange,
|
|
2969
|
+
...others
|
|
2970
|
+
}
|
|
2971
|
+
), /* @__PURE__ */ import_react15.default.createElement("label", { htmlFor: id, className: hashClass(styled, (0, import_clsx29.default)("checkbox-label")) }, label != null ? label : children));
|
|
3183
2972
|
}
|
|
3184
2973
|
);
|
|
3185
2974
|
Checkbox.displayName = "Checkbox" /* Checkbox */;
|
|
@@ -3192,15 +2981,14 @@ var isRequiredChild = (children) => import_react16.default.Children.toArray(chil
|
|
|
3192
2981
|
);
|
|
3193
2982
|
|
|
3194
2983
|
// components/checkbox/list/CheckboxList.tsx
|
|
3195
|
-
var
|
|
3196
|
-
var
|
|
3197
|
-
var CheckboxList =
|
|
3198
|
-
(
|
|
3199
|
-
var _b = _a, { className, id, align, horizontalMobile, verticalDesktop, accessibilityLabelledBy, children } = _b, others = __objRest(_b, ["className", "id", "align", "horizontalMobile", "verticalDesktop", "accessibilityLabelledBy", "children"]);
|
|
2984
|
+
var import_clsx30 = __toESM(require("clsx"));
|
|
2985
|
+
var React37 = __toESM(require("react"));
|
|
2986
|
+
var CheckboxList = React37.forwardRef(
|
|
2987
|
+
({ className, id, align, horizontalMobile, verticalDesktop, accessibilityLabelledBy, children, ...others }, ref) => {
|
|
3200
2988
|
const { styled } = useTrilogyContext();
|
|
3201
|
-
return /* @__PURE__ */
|
|
2989
|
+
return /* @__PURE__ */ React37.createElement(
|
|
3202
2990
|
"div",
|
|
3203
|
-
|
|
2991
|
+
{
|
|
3204
2992
|
ref,
|
|
3205
2993
|
id,
|
|
3206
2994
|
role: "group",
|
|
@@ -3208,15 +2996,16 @@ var CheckboxList = React38.forwardRef(
|
|
|
3208
2996
|
"aria-required": isRequiredChild(children) ? "true" : void 0,
|
|
3209
2997
|
className: hashClass(
|
|
3210
2998
|
styled,
|
|
3211
|
-
(0,
|
|
2999
|
+
(0, import_clsx30.default)(
|
|
3212
3000
|
"checkboxes",
|
|
3213
3001
|
className,
|
|
3214
3002
|
align && is(getJustifiedClassName(align)),
|
|
3215
3003
|
horizontalMobile && is("horizontal-mobile"),
|
|
3216
3004
|
verticalDesktop && is("vertical-desktop")
|
|
3217
3005
|
)
|
|
3218
|
-
)
|
|
3219
|
-
|
|
3006
|
+
),
|
|
3007
|
+
...others
|
|
3008
|
+
},
|
|
3220
3009
|
children
|
|
3221
3010
|
);
|
|
3222
3011
|
}
|
|
@@ -3225,11 +3014,10 @@ CheckboxList.displayName = "CheckboxList" /* CheckboxList */;
|
|
|
3225
3014
|
var CheckboxList_default = CheckboxList;
|
|
3226
3015
|
|
|
3227
3016
|
// components/checkbox/tiles/CheckboxTiles.tsx
|
|
3228
|
-
var
|
|
3229
|
-
var
|
|
3230
|
-
var CheckboxTiles =
|
|
3231
|
-
(
|
|
3232
|
-
var _b = _a, { id, className, children, align, verticalAlign, accessibilityLabelledBy } = _b, others = __objRest(_b, ["id", "className", "children", "align", "verticalAlign", "accessibilityLabelledBy"]);
|
|
3017
|
+
var import_clsx31 = __toESM(require("clsx"));
|
|
3018
|
+
var React38 = __toESM(require("react"));
|
|
3019
|
+
var CheckboxTiles = React38.forwardRef(
|
|
3020
|
+
({ id, className, children, align, verticalAlign, accessibilityLabelledBy, ...others }, ref) => {
|
|
3233
3021
|
const { styled } = useTrilogyContext();
|
|
3234
3022
|
let alignClass = null;
|
|
3235
3023
|
if (align) {
|
|
@@ -3239,9 +3027,9 @@ var CheckboxTiles = React39.forwardRef(
|
|
|
3239
3027
|
if (verticalAlign) {
|
|
3240
3028
|
verticalAlignClass = getAlignClassName(verticalAlign) === "aligned-start" && is("aligned-start") || getAlignClassName(verticalAlign) === "aligned-center" && is("aligned-center") || getAlignClassName(verticalAlign) === "aligned-end" && is("aligned-end") || null;
|
|
3241
3029
|
}
|
|
3242
|
-
return /* @__PURE__ */
|
|
3030
|
+
return /* @__PURE__ */ React38.createElement(
|
|
3243
3031
|
"div",
|
|
3244
|
-
|
|
3032
|
+
{
|
|
3245
3033
|
ref,
|
|
3246
3034
|
id,
|
|
3247
3035
|
role: "group",
|
|
@@ -3249,9 +3037,10 @@ var CheckboxTiles = React39.forwardRef(
|
|
|
3249
3037
|
"aria-required": isRequiredChild(children) ? "true" : void 0,
|
|
3250
3038
|
className: hashClass(
|
|
3251
3039
|
styled,
|
|
3252
|
-
(0,
|
|
3253
|
-
)
|
|
3254
|
-
|
|
3040
|
+
(0, import_clsx31.default)("checkbox-tiles", className, align && alignClass, verticalAlign && verticalAlignClass)
|
|
3041
|
+
),
|
|
3042
|
+
...others
|
|
3043
|
+
},
|
|
3255
3044
|
children
|
|
3256
3045
|
);
|
|
3257
3046
|
}
|
|
@@ -3260,15 +3049,14 @@ CheckboxTiles.displayName = "CheckboxTiles" /* CheckboxTiles */;
|
|
|
3260
3049
|
var CheckboxTiles_default = CheckboxTiles;
|
|
3261
3050
|
|
|
3262
3051
|
// components/sticker/Sticker.tsx
|
|
3263
|
-
var
|
|
3052
|
+
var import_clsx32 = __toESM(require("clsx"));
|
|
3264
3053
|
var import_react17 = __toESM(require("react"));
|
|
3265
3054
|
var Sticker = import_react17.default.forwardRef(
|
|
3266
|
-
(
|
|
3267
|
-
var _b = _a, { className, id, variant, small, label, outlined, iconName, accessibilityLabel } = _b, others = __objRest(_b, ["className", "id", "variant", "small", "label", "outlined", "iconName", "accessibilityLabel"]);
|
|
3055
|
+
({ className, id, variant, small, label, outlined, iconName, accessibilityLabel, ...others }, ref) => {
|
|
3268
3056
|
const { styled } = useTrilogyContext();
|
|
3269
3057
|
const classes = hashClass(
|
|
3270
3058
|
styled,
|
|
3271
|
-
(0,
|
|
3059
|
+
(0, import_clsx32.default)(
|
|
3272
3060
|
"sticker",
|
|
3273
3061
|
variant && is(getVariantClassName(variant)),
|
|
3274
3062
|
small && is("small"),
|
|
@@ -3277,51 +3065,35 @@ var Sticker = import_react17.default.forwardRef(
|
|
|
3277
3065
|
is("vcentered")
|
|
3278
3066
|
)
|
|
3279
3067
|
);
|
|
3280
|
-
return /* @__PURE__ */ import_react17.default.createElement("p",
|
|
3068
|
+
return /* @__PURE__ */ import_react17.default.createElement("p", { ref, id, className: classes, "aria-label": accessibilityLabel, ...others }, iconName && /* @__PURE__ */ import_react17.default.createElement(Icon_default, { size: small ? "smaller" /* SMALLER */ : "small" /* SMALL */, name: iconName }), label);
|
|
3281
3069
|
}
|
|
3282
3070
|
);
|
|
3283
3071
|
Sticker.displayName = "Sticker" /* Sticker */;
|
|
3284
3072
|
var Sticker_default = Sticker;
|
|
3285
3073
|
|
|
3286
3074
|
// components/checkbox/tiles/tile/CheckboxTile.tsx
|
|
3287
|
-
var
|
|
3288
|
-
var
|
|
3075
|
+
var import_clsx33 = __toESM(require("clsx"));
|
|
3076
|
+
var React40 = __toESM(require("react"));
|
|
3289
3077
|
var import_react18 = require("react");
|
|
3290
|
-
var CheckboxTile =
|
|
3291
|
-
(
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
"checked",
|
|
3310
|
-
"className",
|
|
3311
|
-
"disabled",
|
|
3312
|
-
"readonly",
|
|
3313
|
-
"id",
|
|
3314
|
-
"label",
|
|
3315
|
-
"onChange",
|
|
3316
|
-
"name",
|
|
3317
|
-
"value",
|
|
3318
|
-
"description",
|
|
3319
|
-
"icon",
|
|
3320
|
-
"horizontal",
|
|
3321
|
-
"required",
|
|
3322
|
-
"sticker",
|
|
3323
|
-
"stickerVariant"
|
|
3324
|
-
]);
|
|
3078
|
+
var CheckboxTile = React40.forwardRef(
|
|
3079
|
+
({
|
|
3080
|
+
checked,
|
|
3081
|
+
className,
|
|
3082
|
+
disabled,
|
|
3083
|
+
readonly,
|
|
3084
|
+
id = React40.useId(),
|
|
3085
|
+
label,
|
|
3086
|
+
onChange,
|
|
3087
|
+
name,
|
|
3088
|
+
value,
|
|
3089
|
+
description,
|
|
3090
|
+
icon,
|
|
3091
|
+
horizontal,
|
|
3092
|
+
required,
|
|
3093
|
+
sticker,
|
|
3094
|
+
stickerVariant = "ACCENT" /* ACCENT */,
|
|
3095
|
+
...others
|
|
3096
|
+
}, ref) => {
|
|
3325
3097
|
const { styled } = useTrilogyContext();
|
|
3326
3098
|
const [_checked, setChecked] = (0, import_react18.useState)(checked || false);
|
|
3327
3099
|
(0, import_react18.useEffect)(() => {
|
|
@@ -3329,9 +3101,9 @@ var CheckboxTile = React41.forwardRef(
|
|
|
3329
3101
|
setChecked(checked || false);
|
|
3330
3102
|
}
|
|
3331
3103
|
}, [checked, readonly]);
|
|
3332
|
-
return /* @__PURE__ */
|
|
3104
|
+
return /* @__PURE__ */ React40.createElement("div", { ref, className: hashClass(styled, (0, import_clsx33.default)("checkbox-tile", horizontal && is("horizontal"), className)) }, /* @__PURE__ */ React40.createElement(
|
|
3333
3105
|
"input",
|
|
3334
|
-
|
|
3106
|
+
{
|
|
3335
3107
|
type: "checkbox",
|
|
3336
3108
|
readOnly: readonly,
|
|
3337
3109
|
required,
|
|
@@ -3340,35 +3112,36 @@ var CheckboxTile = React41.forwardRef(
|
|
|
3340
3112
|
name,
|
|
3341
3113
|
value,
|
|
3342
3114
|
checked: readonly ? checked : _checked,
|
|
3343
|
-
onChange: (e) => onChange ? onChange : setChecked(e.target.checked)
|
|
3344
|
-
|
|
3345
|
-
|
|
3115
|
+
onChange: (e) => onChange ? onChange : setChecked(e.target.checked),
|
|
3116
|
+
...others
|
|
3117
|
+
}
|
|
3118
|
+
), /* @__PURE__ */ React40.createElement("label", { htmlFor: id, className: hashClass(styled, (0, import_clsx33.default)("checkbox-label")) }, icon && /* @__PURE__ */ React40.createElement(Icon_default, { name: icon, size: "medium" /* MEDIUM */ }), horizontal ? /* @__PURE__ */ React40.createElement("span", null, /* @__PURE__ */ React40.createElement("span", { className: hashClass(styled, (0, import_clsx33.default)("checkbox-title")) }, label), description && /* @__PURE__ */ React40.createElement("span", { className: hashClass(styled, (0, import_clsx33.default)("checkbox-description")) }, description)) : /* @__PURE__ */ React40.createElement(React40.Fragment, null, /* @__PURE__ */ React40.createElement("span", { className: hashClass(styled, (0, import_clsx33.default)("checkbox-title")) }, label), description && /* @__PURE__ */ React40.createElement("span", { className: hashClass(styled, (0, import_clsx33.default)("checkbox-description")) }, description))), sticker && /* @__PURE__ */ React40.createElement(Sticker_default, { label: sticker, variant: stickerVariant, className: "checkbox-sticker", small: true }));
|
|
3346
3119
|
}
|
|
3347
3120
|
);
|
|
3348
3121
|
CheckboxTile.displayName = "CheckboxTiles" /* CheckboxTiles */;
|
|
3349
3122
|
var CheckboxTile_default = CheckboxTile;
|
|
3350
3123
|
|
|
3351
3124
|
// components/chips/Chips.tsx
|
|
3352
|
-
var
|
|
3125
|
+
var import_clsx34 = __toESM(require("clsx"));
|
|
3353
3126
|
var import_react19 = __toESM(require("react"));
|
|
3354
3127
|
var Chips = import_react19.default.forwardRef(
|
|
3355
|
-
(
|
|
3356
|
-
var _b = _a, { className, onClick, children, active, disabled, id } = _b, others = __objRest(_b, ["className", "onClick", "children", "active", "disabled", "id"]);
|
|
3128
|
+
({ className, onClick, children, active, disabled, id, ...others }, ref) => {
|
|
3357
3129
|
const { styled } = useTrilogyContext();
|
|
3358
|
-
const classes = hashClass(styled, (0,
|
|
3130
|
+
const classes = hashClass(styled, (0, import_clsx34.default)("chips", active && is("active"), className));
|
|
3359
3131
|
return /* @__PURE__ */ import_react19.default.createElement(
|
|
3360
3132
|
"button",
|
|
3361
|
-
|
|
3362
|
-
ref
|
|
3363
|
-
|
|
3133
|
+
{
|
|
3134
|
+
ref,
|
|
3135
|
+
...{ disabled },
|
|
3364
3136
|
"aria-disabled": disabled,
|
|
3365
3137
|
id,
|
|
3366
3138
|
"aria-pressed": !!active,
|
|
3367
3139
|
className: classes,
|
|
3368
3140
|
onClick: (e) => {
|
|
3369
3141
|
onClick == null ? void 0 : onClick(e);
|
|
3370
|
-
}
|
|
3371
|
-
|
|
3142
|
+
},
|
|
3143
|
+
...others
|
|
3144
|
+
},
|
|
3372
3145
|
children
|
|
3373
3146
|
);
|
|
3374
3147
|
}
|
|
@@ -3377,56 +3150,43 @@ Chips.displayName = "Chips" /* Chips */;
|
|
|
3377
3150
|
var Chips_default = Chips;
|
|
3378
3151
|
|
|
3379
3152
|
// components/chips/list/ChipsList.tsx
|
|
3380
|
-
var
|
|
3381
|
-
var
|
|
3382
|
-
var ChipsList =
|
|
3383
|
-
(
|
|
3384
|
-
var _b = _a, { className, id, children, multiple, scrollable, accessibilityLabelledBy } = _b, others = __objRest(_b, ["className", "id", "children", "multiple", "scrollable", "accessibilityLabelledBy"]);
|
|
3153
|
+
var import_clsx35 = __toESM(require("clsx"));
|
|
3154
|
+
var React42 = __toESM(require("react"));
|
|
3155
|
+
var ChipsList = React42.forwardRef(
|
|
3156
|
+
({ className, id, children, multiple, scrollable, accessibilityLabelledBy, ...others }, ref) => {
|
|
3385
3157
|
const { styled } = useTrilogyContext();
|
|
3386
3158
|
const classes = hashClass(
|
|
3387
3159
|
styled,
|
|
3388
|
-
(0,
|
|
3160
|
+
(0, import_clsx35.default)("chips-list", multiple && is("multiple"), scrollable && is("scrollable"), className)
|
|
3389
3161
|
);
|
|
3390
|
-
return /* @__PURE__ */
|
|
3162
|
+
return /* @__PURE__ */ React42.createElement("div", { ref, id, role: "group", "aria-labelledby": accessibilityLabelledBy, className: classes, ...others }, children);
|
|
3391
3163
|
}
|
|
3392
3164
|
);
|
|
3393
3165
|
ChipsList.displayName = "ChipsList" /* ChipsList */;
|
|
3394
3166
|
var ChipsList_default = ChipsList;
|
|
3395
3167
|
|
|
3396
3168
|
// components/columns/Columns.tsx
|
|
3397
|
-
var
|
|
3169
|
+
var import_clsx36 = __toESM(require("clsx"));
|
|
3398
3170
|
var import_react20 = __toESM(require("react"));
|
|
3399
3171
|
var Columns = import_react20.default.forwardRef(
|
|
3400
|
-
(
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
"className",
|
|
3415
|
-
"id",
|
|
3416
|
-
"multiline",
|
|
3417
|
-
"scrollable",
|
|
3418
|
-
"mobile",
|
|
3419
|
-
"gap",
|
|
3420
|
-
"fullBleed",
|
|
3421
|
-
"marginless",
|
|
3422
|
-
"align",
|
|
3423
|
-
"verticalAlign",
|
|
3424
|
-
"fullheight"
|
|
3425
|
-
]);
|
|
3172
|
+
({
|
|
3173
|
+
className,
|
|
3174
|
+
id,
|
|
3175
|
+
multiline,
|
|
3176
|
+
scrollable,
|
|
3177
|
+
mobile,
|
|
3178
|
+
gap,
|
|
3179
|
+
fullBleed,
|
|
3180
|
+
marginless,
|
|
3181
|
+
align,
|
|
3182
|
+
verticalAlign,
|
|
3183
|
+
fullheight,
|
|
3184
|
+
...others
|
|
3185
|
+
}, ref) => {
|
|
3426
3186
|
const { styled } = useTrilogyContext();
|
|
3427
3187
|
const classes = hashClass(
|
|
3428
3188
|
styled,
|
|
3429
|
-
(0,
|
|
3189
|
+
(0, import_clsx36.default)(
|
|
3430
3190
|
"columns",
|
|
3431
3191
|
multiline && is("multiline"),
|
|
3432
3192
|
fullBleed && is("fullbleed"),
|
|
@@ -3441,60 +3201,41 @@ var Columns = import_react20.default.forwardRef(
|
|
|
3441
3201
|
className
|
|
3442
3202
|
)
|
|
3443
3203
|
);
|
|
3444
|
-
return /* @__PURE__ */ import_react20.default.createElement("div",
|
|
3204
|
+
return /* @__PURE__ */ import_react20.default.createElement("div", { ref, id, className: classes, ...others });
|
|
3445
3205
|
}
|
|
3446
3206
|
);
|
|
3447
3207
|
Columns.displayName = "Columns" /* Columns */;
|
|
3448
3208
|
var Columns_default = Columns;
|
|
3449
3209
|
|
|
3450
3210
|
// components/columns/column/Column.tsx
|
|
3451
|
-
var
|
|
3211
|
+
var import_clsx37 = __toESM(require("clsx"));
|
|
3452
3212
|
var import_react21 = __toESM(require("react"));
|
|
3453
3213
|
var Column = import_react21.default.forwardRef(
|
|
3454
|
-
(
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
"className",
|
|
3476
|
-
"id",
|
|
3477
|
-
"size",
|
|
3478
|
-
"mobileSize",
|
|
3479
|
-
"tabletSize",
|
|
3480
|
-
"touchSize",
|
|
3481
|
-
"desktopSize",
|
|
3482
|
-
"widescreenSize",
|
|
3483
|
-
"fullhdSize",
|
|
3484
|
-
"offset",
|
|
3485
|
-
"mobileOffset",
|
|
3486
|
-
"tabletOffset",
|
|
3487
|
-
"touchOffset",
|
|
3488
|
-
"desktopOffset",
|
|
3489
|
-
"widescreenOffset",
|
|
3490
|
-
"fullhdOffset",
|
|
3491
|
-
"narrow",
|
|
3492
|
-
"verticalAlign"
|
|
3493
|
-
]);
|
|
3214
|
+
({
|
|
3215
|
+
className,
|
|
3216
|
+
id,
|
|
3217
|
+
size: size2,
|
|
3218
|
+
mobileSize,
|
|
3219
|
+
tabletSize,
|
|
3220
|
+
touchSize,
|
|
3221
|
+
desktopSize,
|
|
3222
|
+
widescreenSize,
|
|
3223
|
+
fullhdSize,
|
|
3224
|
+
offset,
|
|
3225
|
+
mobileOffset,
|
|
3226
|
+
tabletOffset,
|
|
3227
|
+
touchOffset,
|
|
3228
|
+
desktopOffset,
|
|
3229
|
+
widescreenOffset,
|
|
3230
|
+
fullhdOffset,
|
|
3231
|
+
narrow,
|
|
3232
|
+
verticalAlign,
|
|
3233
|
+
...others
|
|
3234
|
+
}, ref) => {
|
|
3494
3235
|
const { styled } = useTrilogyContext();
|
|
3495
3236
|
const classes = hashClass(
|
|
3496
3237
|
styled,
|
|
3497
|
-
(0,
|
|
3238
|
+
(0, import_clsx37.default)(
|
|
3498
3239
|
"column",
|
|
3499
3240
|
size2 && is(`${size2}`),
|
|
3500
3241
|
mobileSize && is(`${mobileSize}-mobile`),
|
|
@@ -3515,7 +3256,7 @@ var Column = import_react21.default.forwardRef(
|
|
|
3515
3256
|
className
|
|
3516
3257
|
)
|
|
3517
3258
|
);
|
|
3518
|
-
return /* @__PURE__ */ import_react21.default.createElement("div",
|
|
3259
|
+
return /* @__PURE__ */ import_react21.default.createElement("div", { ref, id, className: classes, ...others });
|
|
3519
3260
|
}
|
|
3520
3261
|
);
|
|
3521
3262
|
Column.displayName = "Column" /* Column */;
|
|
@@ -3542,21 +3283,20 @@ var GapSize = /* @__PURE__ */ ((GapSize2) => {
|
|
|
3542
3283
|
var ColumnsGapValue = [0, 4, 8, 12, 16, 24, 32, 40, 48, 54, 62];
|
|
3543
3284
|
|
|
3544
3285
|
// components/container/Container.tsx
|
|
3545
|
-
var
|
|
3286
|
+
var import_clsx38 = __toESM(require("clsx"));
|
|
3546
3287
|
var import_react22 = __toESM(require("react"));
|
|
3547
3288
|
var Container = import_react22.default.forwardRef(
|
|
3548
|
-
(
|
|
3549
|
-
var _b = _a, { className, id, medium } = _b, others = __objRest(_b, ["className", "id", "medium"]);
|
|
3289
|
+
({ className, id, medium, ...others }, ref) => {
|
|
3550
3290
|
const { styled } = useTrilogyContext();
|
|
3551
|
-
const classes = hashClass(styled, (0,
|
|
3552
|
-
return /* @__PURE__ */ import_react22.default.createElement("div",
|
|
3291
|
+
const classes = hashClass(styled, (0, import_clsx38.default)("container", medium && is("medium"), className));
|
|
3292
|
+
return /* @__PURE__ */ import_react22.default.createElement("div", { ref, id, className: classes, ...others });
|
|
3553
3293
|
}
|
|
3554
3294
|
);
|
|
3555
3295
|
Container.displayName = "Container" /* Container */;
|
|
3556
3296
|
var Container_default = Container;
|
|
3557
3297
|
|
|
3558
3298
|
// components/countdown/Countdown.tsx
|
|
3559
|
-
var
|
|
3299
|
+
var import_clsx39 = __toESM(require("clsx"));
|
|
3560
3300
|
var import_react23 = __toESM(require("react"));
|
|
3561
3301
|
|
|
3562
3302
|
// components/countdown/CountdownEnum.ts
|
|
@@ -3587,8 +3327,7 @@ var calculateTimer = (timeDifference) => {
|
|
|
3587
3327
|
return { days, hours, minutes, seconds };
|
|
3588
3328
|
};
|
|
3589
3329
|
var Countdown = import_react23.default.forwardRef(
|
|
3590
|
-
(
|
|
3591
|
-
var _b = _a, { deadline, className, id, format, event, small, inverted } = _b, others = __objRest(_b, ["deadline", "className", "id", "format", "event", "small", "inverted"]);
|
|
3330
|
+
({ deadline, className, id, format, event, small, inverted, ...others }, ref) => {
|
|
3592
3331
|
const { styled } = useTrilogyContext();
|
|
3593
3332
|
const [timeLeft] = (0, import_react23.useState)(deadline);
|
|
3594
3333
|
const initialTimeDifference = deadline.getTime() - (/* @__PURE__ */ new Date()).getTime();
|
|
@@ -3597,7 +3336,7 @@ var Countdown = import_react23.default.forwardRef(
|
|
|
3597
3336
|
const [init, setInit] = (0, import_react23.useState)(false);
|
|
3598
3337
|
const show = [timer.days != 0, timer.hours != 0, timer.minutes != 0, timer.seconds != 0];
|
|
3599
3338
|
const parsedFormat = format == null ? void 0 : format.split("-");
|
|
3600
|
-
const classes = hashClass(styled, (0,
|
|
3339
|
+
const classes = hashClass(styled, (0, import_clsx39.default)("countdown", inverted && is("inverted"), small && is("small"), className));
|
|
3601
3340
|
if (parsedFormat) {
|
|
3602
3341
|
parsedFormat.forEach((item) => {
|
|
3603
3342
|
switch (item) {
|
|
@@ -3671,22 +3410,21 @@ var Countdown = import_react23.default.forwardRef(
|
|
|
3671
3410
|
setInit(false);
|
|
3672
3411
|
}
|
|
3673
3412
|
}, [timer, event, init]);
|
|
3674
|
-
return /* @__PURE__ */ import_react23.default.createElement("ul",
|
|
3413
|
+
return /* @__PURE__ */ import_react23.default.createElement("ul", { ref, id, className: classes, ...others }, (show[0 /* DAY */] || timer.days != 0) && /* @__PURE__ */ import_react23.default.createElement("li", { className: hashClass(styled, (0, import_clsx39.default)("count")) }, /* @__PURE__ */ import_react23.default.createElement("span", { className: hashClass(styled, (0, import_clsx39.default)("value")) }, timer.days ? timer.days : 0), "j"), (show[1 /* HOUR */] || timer.hours != 0) && /* @__PURE__ */ import_react23.default.createElement("li", { className: hashClass(styled, (0, import_clsx39.default)("count")) }, /* @__PURE__ */ import_react23.default.createElement("span", { className: hashClass(styled, (0, import_clsx39.default)("value")) }, timer.hours ? timer.hours : 0), "h"), (show[2 /* MIN */] || timer.minutes != 0) && /* @__PURE__ */ import_react23.default.createElement("li", { className: hashClass(styled, (0, import_clsx39.default)("count")) }, /* @__PURE__ */ import_react23.default.createElement("span", { className: hashClass(styled, (0, import_clsx39.default)("value")) }, timer.minutes ? timer.minutes : 0), "m"), (show[3 /* SEC */] || timer.seconds != 0) && /* @__PURE__ */ import_react23.default.createElement("li", { className: hashClass(styled, (0, import_clsx39.default)("count")) }, /* @__PURE__ */ import_react23.default.createElement("span", { className: hashClass(styled, (0, import_clsx39.default)("value")) }, timer.seconds ? timer.seconds : 0), "s"));
|
|
3675
3414
|
}
|
|
3676
3415
|
);
|
|
3677
3416
|
Countdown.displayName = "Countdown" /* Countdown */;
|
|
3678
3417
|
var Countdown_default = Countdown;
|
|
3679
3418
|
|
|
3680
3419
|
// components/divider/Divider.tsx
|
|
3681
|
-
var
|
|
3420
|
+
var import_clsx40 = __toESM(require("clsx"));
|
|
3682
3421
|
var import_react24 = __toESM(require("react"));
|
|
3683
3422
|
var Divider = import_react24.default.forwardRef(
|
|
3684
|
-
(
|
|
3685
|
-
var _b = _a, { className, id, unboxed, content, marginless, iconName, inverted } = _b, others = __objRest(_b, ["className", "id", "unboxed", "content", "marginless", "iconName", "inverted"]);
|
|
3423
|
+
({ className, id, unboxed, content, marginless, iconName, inverted, ...others }, ref) => {
|
|
3686
3424
|
const { styled } = useTrilogyContext();
|
|
3687
3425
|
const classes = hashClass(
|
|
3688
3426
|
styled,
|
|
3689
|
-
(0,
|
|
3427
|
+
(0, import_clsx40.default)(
|
|
3690
3428
|
"divider",
|
|
3691
3429
|
unboxed && is("unboxed"),
|
|
3692
3430
|
marginless && is("marginless"),
|
|
@@ -3695,47 +3433,33 @@ var Divider = import_react24.default.forwardRef(
|
|
|
3695
3433
|
iconName && has("icon")
|
|
3696
3434
|
)
|
|
3697
3435
|
);
|
|
3698
|
-
const contentClasses = hashClass(styled, (0,
|
|
3699
|
-
return /* @__PURE__ */ import_react24.default.createElement("div",
|
|
3436
|
+
const contentClasses = hashClass(styled, (0, import_clsx40.default)("divider-content"));
|
|
3437
|
+
return /* @__PURE__ */ import_react24.default.createElement("div", { ref, id, "data-testid": "separator", className: classes, ...others }, /* @__PURE__ */ import_react24.default.createElement("p", { className: contentClasses }, iconName && !content && /* @__PURE__ */ import_react24.default.createElement(Icon_default, { name: iconName, size: "medium" /* MEDIUM */ }), content && content));
|
|
3700
3438
|
}
|
|
3701
3439
|
);
|
|
3702
3440
|
Divider.displayName = "Divider" /* Divider */;
|
|
3703
3441
|
var Divider_default = Divider;
|
|
3704
3442
|
|
|
3705
3443
|
// components/fab/Fab.tsx
|
|
3706
|
-
var
|
|
3444
|
+
var import_clsx41 = __toESM(require("clsx"));
|
|
3707
3445
|
var import_react25 = __toESM(require("react"));
|
|
3708
3446
|
var Fab = import_react25.default.forwardRef(
|
|
3709
|
-
(
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
"children",
|
|
3726
|
-
"extended",
|
|
3727
|
-
"iconName",
|
|
3728
|
-
"accessibilityLabel",
|
|
3729
|
-
"onClick",
|
|
3730
|
-
"className",
|
|
3731
|
-
"id",
|
|
3732
|
-
"fixed",
|
|
3733
|
-
"top",
|
|
3734
|
-
"bottom",
|
|
3735
|
-
"left",
|
|
3736
|
-
"right",
|
|
3737
|
-
"disabled"
|
|
3738
|
-
]);
|
|
3447
|
+
({
|
|
3448
|
+
children,
|
|
3449
|
+
extended,
|
|
3450
|
+
iconName,
|
|
3451
|
+
accessibilityLabel,
|
|
3452
|
+
onClick,
|
|
3453
|
+
className,
|
|
3454
|
+
id,
|
|
3455
|
+
fixed = true,
|
|
3456
|
+
top,
|
|
3457
|
+
bottom,
|
|
3458
|
+
left,
|
|
3459
|
+
right,
|
|
3460
|
+
disabled,
|
|
3461
|
+
...others
|
|
3462
|
+
}, ref) => {
|
|
3739
3463
|
const { styled } = useTrilogyContext();
|
|
3740
3464
|
const [isExtended, setIsExtended] = (0, import_react25.useState)(extended || false);
|
|
3741
3465
|
(0, import_react25.useEffect)(() => {
|
|
@@ -3750,10 +3474,10 @@ var Fab = import_react25.default.forwardRef(
|
|
|
3750
3474
|
} : {
|
|
3751
3475
|
position: "relative"
|
|
3752
3476
|
};
|
|
3753
|
-
const _className = hashClass(styled, (0,
|
|
3477
|
+
const _className = hashClass(styled, (0, import_clsx41.default)("fab", extended && is("extended"), className));
|
|
3754
3478
|
return /* @__PURE__ */ import_react25.default.createElement(
|
|
3755
3479
|
"button",
|
|
3756
|
-
|
|
3480
|
+
{
|
|
3757
3481
|
ref,
|
|
3758
3482
|
id,
|
|
3759
3483
|
disabled,
|
|
@@ -3762,10 +3486,10 @@ var Fab = import_react25.default.forwardRef(
|
|
|
3762
3486
|
onClick == null ? void 0 : onClick(e);
|
|
3763
3487
|
e.stopPropagation();
|
|
3764
3488
|
},
|
|
3765
|
-
style:
|
|
3766
|
-
|
|
3489
|
+
style: { ...positionStyle },
|
|
3490
|
+
...others,
|
|
3767
3491
|
className: _className
|
|
3768
|
-
}
|
|
3492
|
+
},
|
|
3769
3493
|
/* @__PURE__ */ import_react25.default.createElement(Icon_default, { name: iconName }),
|
|
3770
3494
|
children
|
|
3771
3495
|
);
|
|
@@ -3775,17 +3499,16 @@ Fab.displayName = "Fab" /* Fab */;
|
|
|
3775
3499
|
var Fab_default = Fab;
|
|
3776
3500
|
|
|
3777
3501
|
// components/flex-box/FlexBox.tsx
|
|
3778
|
-
var
|
|
3502
|
+
var import_clsx42 = __toESM(require("clsx"));
|
|
3779
3503
|
var import_react26 = __toESM(require("react"));
|
|
3780
3504
|
var FlexBox = import_react26.default.forwardRef(
|
|
3781
|
-
(
|
|
3782
|
-
var _b = _a, { className, id, gap, direction, align, justify, scrollable, fullheight } = _b, others = __objRest(_b, ["className", "id", "gap", "direction", "align", "justify", "scrollable", "fullheight"]);
|
|
3505
|
+
({ className, id, gap, direction, align, justify, scrollable, fullheight, ...others }, ref) => {
|
|
3783
3506
|
const { styled } = useTrilogyContext();
|
|
3784
3507
|
const isNumber = typeof gap === "number";
|
|
3785
3508
|
const isValueDirection = typeof direction === "string";
|
|
3786
3509
|
const classes = hashClass(
|
|
3787
3510
|
styled,
|
|
3788
|
-
(0,
|
|
3511
|
+
(0, import_clsx42.default)(
|
|
3789
3512
|
"flex-box",
|
|
3790
3513
|
isValueDirection && direction && is(`direction-${direction}`),
|
|
3791
3514
|
!isValueDirection && (direction == null ? void 0 : direction.desktop) && is(`direction-${direction.desktop}-desktop`),
|
|
@@ -3802,23 +3525,22 @@ var FlexBox = import_react26.default.forwardRef(
|
|
|
3802
3525
|
className
|
|
3803
3526
|
)
|
|
3804
3527
|
);
|
|
3805
|
-
return /* @__PURE__ */ import_react26.default.createElement("div",
|
|
3528
|
+
return /* @__PURE__ */ import_react26.default.createElement("div", { ref, id, className: classes, ...others });
|
|
3806
3529
|
}
|
|
3807
3530
|
);
|
|
3808
3531
|
FlexBox.displayName = "FlexBox" /* FlexBox */;
|
|
3809
3532
|
var FlexBox_default = FlexBox;
|
|
3810
3533
|
|
|
3811
3534
|
// components/flex-box/flex-item/FlexItem.tsx
|
|
3812
|
-
var
|
|
3535
|
+
var import_clsx43 = __toESM(require("clsx"));
|
|
3813
3536
|
var import_react27 = __toESM(require("react"));
|
|
3814
3537
|
var FlexItem = import_react27.default.forwardRef(
|
|
3815
|
-
(
|
|
3816
|
-
var _b = _a, { className, id, size: size2, narrow, verticalAlign } = _b, others = __objRest(_b, ["className", "id", "size", "narrow", "verticalAlign"]);
|
|
3538
|
+
({ className, id, size: size2, narrow, verticalAlign, ...others }, ref) => {
|
|
3817
3539
|
const { styled } = useTrilogyContext();
|
|
3818
3540
|
const isNumber = typeof size2 === "number";
|
|
3819
3541
|
const classes = hashClass(
|
|
3820
3542
|
styled,
|
|
3821
|
-
(0,
|
|
3543
|
+
(0, import_clsx43.default)(
|
|
3822
3544
|
"flex-item",
|
|
3823
3545
|
size2 && isNumber && is(`${size2}`),
|
|
3824
3546
|
size2 && !isNumber && (size2 == null ? void 0 : size2.desktop) && is(`${size2.desktop}-desktop`),
|
|
@@ -3832,22 +3554,21 @@ var FlexItem = import_react27.default.forwardRef(
|
|
|
3832
3554
|
className
|
|
3833
3555
|
)
|
|
3834
3556
|
);
|
|
3835
|
-
return /* @__PURE__ */ import_react27.default.createElement("div",
|
|
3557
|
+
return /* @__PURE__ */ import_react27.default.createElement("div", { ref, id, className: classes, ...others });
|
|
3836
3558
|
}
|
|
3837
3559
|
);
|
|
3838
3560
|
FlexItem.displayName = "FlexItem" /* FlexItem */;
|
|
3839
3561
|
var FlexItem_default = FlexItem;
|
|
3840
3562
|
|
|
3841
3563
|
// components/hero/Hero.tsx
|
|
3842
|
-
var
|
|
3564
|
+
var import_clsx44 = __toESM(require("clsx"));
|
|
3843
3565
|
var import_react28 = __toESM(require("react"));
|
|
3844
3566
|
var Hero = import_react28.default.forwardRef(
|
|
3845
|
-
(
|
|
3846
|
-
var _b = _a, { children, backgroundColor, backgroundSrc, inverted, className, id, onClick, overlap } = _b, others = __objRest(_b, ["children", "backgroundColor", "backgroundSrc", "inverted", "className", "id", "onClick", "overlap"]);
|
|
3567
|
+
({ children, backgroundColor, backgroundSrc, inverted, className, id, onClick, overlap, ...others }, ref) => {
|
|
3847
3568
|
const { styled } = useTrilogyContext();
|
|
3848
3569
|
const classes = hashClass(
|
|
3849
3570
|
styled,
|
|
3850
|
-
(0,
|
|
3571
|
+
(0, import_clsx44.default)(
|
|
3851
3572
|
"hero",
|
|
3852
3573
|
backgroundColor && has(getBackgroundClassName(backgroundColor)),
|
|
3853
3574
|
backgroundSrc && has("background"),
|
|
@@ -3858,15 +3579,17 @@ var Hero = import_react28.default.forwardRef(
|
|
|
3858
3579
|
);
|
|
3859
3580
|
return /* @__PURE__ */ import_react28.default.createElement(
|
|
3860
3581
|
"section",
|
|
3861
|
-
|
|
3582
|
+
{
|
|
3862
3583
|
ref,
|
|
3863
3584
|
id,
|
|
3864
3585
|
onClick: onClick && onClick,
|
|
3865
|
-
className: classes
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3586
|
+
className: classes,
|
|
3587
|
+
...backgroundSrc && {
|
|
3588
|
+
style: { backgroundImage: `url(${backgroundSrc})` }
|
|
3589
|
+
},
|
|
3590
|
+
...others
|
|
3591
|
+
},
|
|
3592
|
+
/* @__PURE__ */ import_react28.default.createElement("div", { className: hashClass(styled, (0, import_clsx44.default)("hero-body")) }, children)
|
|
3870
3593
|
);
|
|
3871
3594
|
}
|
|
3872
3595
|
);
|
|
@@ -3891,35 +3614,35 @@ var RadiusValues = /* @__PURE__ */ ((RadiusValues2) => {
|
|
|
3891
3614
|
})(RadiusValues || {});
|
|
3892
3615
|
|
|
3893
3616
|
// components/image/Image.tsx
|
|
3894
|
-
var
|
|
3895
|
-
var
|
|
3896
|
-
var Image =
|
|
3897
|
-
(
|
|
3898
|
-
var _b = _a, { src, alt = "", className, id, circled, width, height, onClick, radius, align } = _b, others = __objRest(_b, ["src", "alt", "className", "id", "circled", "width", "height", "onClick", "radius", "align"]);
|
|
3617
|
+
var import_clsx45 = __toESM(require("clsx"));
|
|
3618
|
+
var React52 = __toESM(require("react"));
|
|
3619
|
+
var Image = React52.forwardRef(
|
|
3620
|
+
({ src, alt = "", className, id, circled, width, height, onClick, radius, align, ...others }, ref) => {
|
|
3899
3621
|
const { styled } = useTrilogyContext();
|
|
3900
|
-
const classes = hashClass(styled, (0,
|
|
3622
|
+
const classes = hashClass(styled, (0, import_clsx45.default)("image", className, align && is(getJustifiedClassName(align))));
|
|
3901
3623
|
const styles = {
|
|
3902
3624
|
image: {
|
|
3903
3625
|
width,
|
|
3904
3626
|
height
|
|
3905
3627
|
}
|
|
3906
3628
|
};
|
|
3907
|
-
return /* @__PURE__ */
|
|
3629
|
+
return /* @__PURE__ */ React52.createElement(
|
|
3908
3630
|
"figure",
|
|
3909
|
-
|
|
3631
|
+
{
|
|
3910
3632
|
ref,
|
|
3911
3633
|
id,
|
|
3912
3634
|
onClick: (e) => {
|
|
3913
3635
|
onClick == null ? void 0 : onClick(e);
|
|
3914
3636
|
e.stopPropagation();
|
|
3915
3637
|
},
|
|
3916
|
-
className: classes
|
|
3917
|
-
|
|
3918
|
-
|
|
3638
|
+
className: classes,
|
|
3639
|
+
...others
|
|
3640
|
+
},
|
|
3641
|
+
/* @__PURE__ */ React52.createElement(
|
|
3919
3642
|
"img",
|
|
3920
3643
|
{
|
|
3921
3644
|
style: styles.image,
|
|
3922
|
-
className: hashClass(styled, (0,
|
|
3645
|
+
className: hashClass(styled, (0, import_clsx45.default)(radius && has(`border-radius-${radius}`), circled ? is("circled") : "")),
|
|
3923
3646
|
src: typeof src === "string" ? src : "",
|
|
3924
3647
|
alt
|
|
3925
3648
|
}
|
|
@@ -3931,47 +3654,46 @@ Image.displayName = "Image" /* Image */;
|
|
|
3931
3654
|
var Image_default = Image;
|
|
3932
3655
|
|
|
3933
3656
|
// components/list/List.tsx
|
|
3934
|
-
var
|
|
3935
|
-
var
|
|
3936
|
-
var List =
|
|
3937
|
-
(
|
|
3938
|
-
var _b = _a, { className, id, children, testId, divider, ordered } = _b, others = __objRest(_b, ["className", "id", "children", "testId", "divider", "ordered"]);
|
|
3657
|
+
var import_clsx46 = __toESM(require("clsx"));
|
|
3658
|
+
var React53 = __toESM(require("react"));
|
|
3659
|
+
var List = React53.forwardRef(
|
|
3660
|
+
({ className, id, children, testId, divider, ordered, ...others }, ref) => {
|
|
3939
3661
|
const { styled } = useTrilogyContext();
|
|
3940
|
-
const classes = hashClass(styled, (0,
|
|
3662
|
+
const classes = hashClass(styled, (0, import_clsx46.default)("list", divider && has("divider"), className));
|
|
3941
3663
|
const Tag2 = ordered ? "ol" : "ul";
|
|
3942
|
-
return /* @__PURE__ */
|
|
3664
|
+
return /* @__PURE__ */ React53.createElement(Tag2, { ref, id, "data-testid": testId, className: classes, ...others }, children);
|
|
3943
3665
|
}
|
|
3944
3666
|
);
|
|
3945
3667
|
List.displayName = "List" /* List */;
|
|
3946
3668
|
var List_default = List;
|
|
3947
3669
|
|
|
3948
3670
|
// components/list/item/ListItem.tsx
|
|
3949
|
-
var
|
|
3950
|
-
var
|
|
3951
|
-
var ListItem =
|
|
3671
|
+
var import_clsx47 = __toESM(require("clsx"));
|
|
3672
|
+
var React54 = __toESM(require("react"));
|
|
3673
|
+
var ListItem = React54.forwardRef(
|
|
3952
3674
|
({ className, id, children, iconName, status, testId }, ref) => {
|
|
3953
3675
|
const { styled } = useTrilogyContext();
|
|
3954
|
-
const classes = (0,
|
|
3955
|
-
return /* @__PURE__ */
|
|
3676
|
+
const classes = (0, import_clsx47.default)("list-item", className, status && is(getColorClassName(TrilogyColor[status])));
|
|
3677
|
+
return /* @__PURE__ */ React54.createElement("li", { ref, id, className: hashClass(styled, (0, import_clsx47.default)(classes)), "data-testid": testId }, iconName && /* @__PURE__ */ React54.createElement(
|
|
3956
3678
|
Icon_default,
|
|
3957
3679
|
{
|
|
3958
|
-
className: status && (0,
|
|
3680
|
+
className: status && (0, import_clsx47.default)(is(getColorClassName(TrilogyColor[status]))),
|
|
3959
3681
|
name: iconName,
|
|
3960
3682
|
size: "small" /* SMALL */
|
|
3961
3683
|
}
|
|
3962
|
-
), /* @__PURE__ */
|
|
3684
|
+
), /* @__PURE__ */ React54.createElement("div", { className: hashClass(styled, (0, import_clsx47.default)("list-item-content")) }, children));
|
|
3963
3685
|
}
|
|
3964
3686
|
);
|
|
3965
3687
|
ListItem.displayName = "ListItem" /* ListItem */;
|
|
3966
3688
|
var ListItem_default = ListItem;
|
|
3967
3689
|
|
|
3968
3690
|
// components/list/item/description/ListItemDescription.tsx
|
|
3969
|
-
var
|
|
3970
|
-
var
|
|
3971
|
-
var ListItemDescription =
|
|
3691
|
+
var import_clsx48 = __toESM(require("clsx"));
|
|
3692
|
+
var React55 = __toESM(require("react"));
|
|
3693
|
+
var ListItemDescription = React55.forwardRef(
|
|
3972
3694
|
({ children, className }, ref) => {
|
|
3973
3695
|
const { styled } = useTrilogyContext();
|
|
3974
|
-
return /* @__PURE__ */
|
|
3696
|
+
return /* @__PURE__ */ React55.createElement("dd", { ref, className: hashClass(styled, (0, import_clsx48.default)(className)) }, children);
|
|
3975
3697
|
}
|
|
3976
3698
|
);
|
|
3977
3699
|
ListItemDescription.displayName = "ListItemDescription" /* ListItemDescription */;
|
|
@@ -3988,37 +3710,24 @@ var ListIconStatus = /* @__PURE__ */ ((ListIconStatus2) => {
|
|
|
3988
3710
|
|
|
3989
3711
|
// components/modal/Modal.tsx
|
|
3990
3712
|
var import_modal = __toESM(require("@trilogy-ds/locales/lib/modal"));
|
|
3991
|
-
var
|
|
3713
|
+
var import_clsx49 = __toESM(require("clsx"));
|
|
3992
3714
|
var import_react29 = __toESM(require("react"));
|
|
3993
3715
|
var Modal = import_react29.default.forwardRef(
|
|
3994
|
-
(
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
"children",
|
|
4010
|
-
"className",
|
|
4011
|
-
"id",
|
|
4012
|
-
"accessibilityLabel",
|
|
4013
|
-
"active",
|
|
4014
|
-
"onClose",
|
|
4015
|
-
"unClosable",
|
|
4016
|
-
"panel",
|
|
4017
|
-
"size",
|
|
4018
|
-
"hideCloseButton",
|
|
4019
|
-
"trigger",
|
|
4020
|
-
"title"
|
|
4021
|
-
]);
|
|
3716
|
+
({
|
|
3717
|
+
children,
|
|
3718
|
+
className,
|
|
3719
|
+
id,
|
|
3720
|
+
accessibilityLabel = "Close",
|
|
3721
|
+
active,
|
|
3722
|
+
onClose,
|
|
3723
|
+
unClosable,
|
|
3724
|
+
panel,
|
|
3725
|
+
size: size2,
|
|
3726
|
+
hideCloseButton = false,
|
|
3727
|
+
trigger,
|
|
3728
|
+
title,
|
|
3729
|
+
...others
|
|
3730
|
+
}, ref) => {
|
|
4022
3731
|
const modalContentRef = (0, import_react29.useRef)(null);
|
|
4023
3732
|
const [display, setDisplay] = (0, import_react29.useState)(active || false);
|
|
4024
3733
|
const { styled } = useTrilogyContext();
|
|
@@ -4039,7 +3748,7 @@ var Modal = import_react29.default.forwardRef(
|
|
|
4039
3748
|
);
|
|
4040
3749
|
const classes = hashClass(
|
|
4041
3750
|
styled,
|
|
4042
|
-
(0,
|
|
3751
|
+
(0, import_clsx49.default)("modal", display && is("active"), size2 && is(size2), panel && is("panel"), className)
|
|
4043
3752
|
);
|
|
4044
3753
|
const onKeyDown = (0, import_react29.useCallback)(
|
|
4045
3754
|
(e) => {
|
|
@@ -4084,7 +3793,7 @@ var Modal = import_react29.default.forwardRef(
|
|
|
4084
3793
|
}, [modalContentRef, focusableElementsRef]);
|
|
4085
3794
|
return /* @__PURE__ */ import_react29.default.createElement("div", { onKeyDown, ref: refModal }, trigger && import_react29.default.cloneElement(trigger, { ref: refBtnModal, "aria-haspopup": "dialog" }), /* @__PURE__ */ import_react29.default.createElement(
|
|
4086
3795
|
"div",
|
|
4087
|
-
|
|
3796
|
+
{
|
|
4088
3797
|
ref,
|
|
4089
3798
|
id,
|
|
4090
3799
|
className: classes,
|
|
@@ -4092,22 +3801,23 @@ var Modal = import_react29.default.forwardRef(
|
|
|
4092
3801
|
"aria-labelledby": modalGeneratedId,
|
|
4093
3802
|
"aria-modal": true,
|
|
4094
3803
|
onClick: (e) => {
|
|
4095
|
-
var
|
|
4096
|
-
if (!((
|
|
3804
|
+
var _a;
|
|
3805
|
+
if (!((_a = modalContentRef == null ? void 0 : modalContentRef.current) == null ? void 0 : _a.contains(e.target))) {
|
|
4097
3806
|
handleClose(onClose, e);
|
|
4098
3807
|
}
|
|
4099
|
-
}
|
|
4100
|
-
|
|
4101
|
-
|
|
3808
|
+
},
|
|
3809
|
+
...others
|
|
3810
|
+
},
|
|
3811
|
+
/* @__PURE__ */ import_react29.default.createElement("div", { ref: modalContentRef, className: hashClass(styled, (0, import_clsx49.default)("modal-content")) }, /* @__PURE__ */ import_react29.default.createElement("div", { className: hashClass(styled, (0, import_clsx49.default)("modal-header")) }, !hideCloseButton && /* @__PURE__ */ import_react29.default.createElement(
|
|
4102
3812
|
"button",
|
|
4103
3813
|
{
|
|
4104
3814
|
onClick: (e) => {
|
|
4105
3815
|
handleClose(onClose, e);
|
|
4106
3816
|
},
|
|
4107
|
-
className: hashClass(styled, (0,
|
|
3817
|
+
className: hashClass(styled, (0, import_clsx49.default)("modal-close", is("large"))),
|
|
4108
3818
|
type: "button" /* BUTTON */
|
|
4109
3819
|
},
|
|
4110
|
-
/* @__PURE__ */ import_react29.default.createElement("span", { className: hashClass(styled, (0,
|
|
3820
|
+
/* @__PURE__ */ import_react29.default.createElement("span", { className: hashClass(styled, (0, import_clsx49.default)("sr-only")) }, import_modal.default.accessibilityLabelButtonClose)
|
|
4111
3821
|
), /* @__PURE__ */ import_react29.default.createElement(Title_default, { id: modalGeneratedId, level: 3 /* THREE */, markup: "h1" /* H1 */ }, title)), children && children)
|
|
4112
3822
|
));
|
|
4113
3823
|
}
|
|
@@ -4116,23 +3826,23 @@ Modal.displayName = "Modal" /* Modal */;
|
|
|
4116
3826
|
var Modal_default = Modal;
|
|
4117
3827
|
|
|
4118
3828
|
// components/modal/footer/ModalFooter.tsx
|
|
4119
|
-
var
|
|
4120
|
-
var
|
|
4121
|
-
var ModalFooter =
|
|
3829
|
+
var import_clsx50 = __toESM(require("clsx"));
|
|
3830
|
+
var React57 = __toESM(require("react"));
|
|
3831
|
+
var ModalFooter = React57.forwardRef(
|
|
4122
3832
|
({ children, className, id }, ref) => {
|
|
4123
3833
|
const { styled } = useTrilogyContext();
|
|
4124
|
-
return /* @__PURE__ */
|
|
3834
|
+
return /* @__PURE__ */ React57.createElement("div", { ref, "data-modal-footer": "", id, className: hashClass(styled, (0, import_clsx50.default)("modal-footer", className)) }, children);
|
|
4125
3835
|
}
|
|
4126
3836
|
);
|
|
4127
3837
|
ModalFooter.displayName = "ModalFooter" /* ModalFooter */;
|
|
4128
3838
|
var ModalFooter_default = ModalFooter;
|
|
4129
3839
|
|
|
4130
3840
|
// components/modal/body/ModalBody.tsx
|
|
4131
|
-
var
|
|
4132
|
-
var
|
|
4133
|
-
var ModalBody =
|
|
3841
|
+
var import_clsx51 = __toESM(require("clsx"));
|
|
3842
|
+
var React58 = __toESM(require("react"));
|
|
3843
|
+
var ModalBody = React58.forwardRef(({ children, className, id }, ref) => {
|
|
4134
3844
|
const { styled } = useTrilogyContext();
|
|
4135
|
-
return /* @__PURE__ */
|
|
3845
|
+
return /* @__PURE__ */ React58.createElement("div", { ref, id, className: hashClass(styled, (0, import_clsx51.default)("modal-body", className)) }, children);
|
|
4136
3846
|
});
|
|
4137
3847
|
ModalBody.displayName = "ModalBody" /* ModalBody */;
|
|
4138
3848
|
var ModalBody_default = ModalBody;
|
|
@@ -4167,7 +3877,7 @@ var ModalSize = /* @__PURE__ */ ((ModalSize2) => {
|
|
|
4167
3877
|
|
|
4168
3878
|
// components/otp/Otp.tsx
|
|
4169
3879
|
var import_otp = __toESM(require("@trilogy-ds/locales/lib/otp"));
|
|
4170
|
-
var
|
|
3880
|
+
var import_clsx52 = __toESM(require("clsx"));
|
|
4171
3881
|
var import_react30 = __toESM(require("react"));
|
|
4172
3882
|
var stringToCode = (str, codeSize) => {
|
|
4173
3883
|
if (!str) return new Array(codeSize).fill(null);
|
|
@@ -4226,40 +3936,27 @@ var formatTranslation = (translation5, x, y) => {
|
|
|
4226
3936
|
return translation5.replace(/:x/g, x).replace(/:y/g, y);
|
|
4227
3937
|
};
|
|
4228
3938
|
var Otp = import_react30.default.forwardRef(
|
|
4229
|
-
(
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
"className",
|
|
4245
|
-
"id",
|
|
4246
|
-
"value",
|
|
4247
|
-
"length",
|
|
4248
|
-
"disabled",
|
|
4249
|
-
"error",
|
|
4250
|
-
"onCompleted",
|
|
4251
|
-
"onChange",
|
|
4252
|
-
"onFocus",
|
|
4253
|
-
"label",
|
|
4254
|
-
"help",
|
|
4255
|
-
"autoFocus"
|
|
4256
|
-
]);
|
|
3939
|
+
({
|
|
3940
|
+
className,
|
|
3941
|
+
id,
|
|
3942
|
+
value,
|
|
3943
|
+
length = 6,
|
|
3944
|
+
disabled,
|
|
3945
|
+
error,
|
|
3946
|
+
onCompleted,
|
|
3947
|
+
onChange,
|
|
3948
|
+
onFocus,
|
|
3949
|
+
label,
|
|
3950
|
+
help,
|
|
3951
|
+
autoFocus,
|
|
3952
|
+
...others
|
|
3953
|
+
}, ref) => {
|
|
4257
3954
|
const [codeInput, setCodeInput] = (0, import_react30.useState)(
|
|
4258
3955
|
stringToCode(value, length) || new Array(length).fill(null)
|
|
4259
3956
|
);
|
|
4260
3957
|
const hasChanged = (0, import_react30.useRef)(false);
|
|
4261
3958
|
const { styled } = useTrilogyContext();
|
|
4262
|
-
const classes = hashClass(styled, (0,
|
|
3959
|
+
const classes = hashClass(styled, (0, import_clsx52.default)("otp-list", error && is("error"), className));
|
|
4263
3960
|
(0, import_react30.useEffect)(() => {
|
|
4264
3961
|
if (!disabled) {
|
|
4265
3962
|
isCompleted(codeInput) && (onCompleted == null ? void 0 : onCompleted(codeToString(codeInput)));
|
|
@@ -4309,7 +4006,7 @@ var Otp = import_react30.default.forwardRef(
|
|
|
4309
4006
|
},
|
|
4310
4007
|
codeInput.map((digit, idx) => /* @__PURE__ */ import_react30.default.createElement(
|
|
4311
4008
|
"input",
|
|
4312
|
-
|
|
4009
|
+
{
|
|
4313
4010
|
"aria-disabled": disabled,
|
|
4314
4011
|
key: idx,
|
|
4315
4012
|
type: "tel",
|
|
@@ -4318,19 +4015,20 @@ var Otp = import_react30.default.forwardRef(
|
|
|
4318
4015
|
autoFocus: idx === 0 && autoFocus,
|
|
4319
4016
|
pattern: "\\d{1}",
|
|
4320
4017
|
maxLength: length,
|
|
4321
|
-
className: hashClass(styled, (0,
|
|
4018
|
+
className: hashClass(styled, (0, import_clsx52.default)("otp")),
|
|
4322
4019
|
value: `${digit != null ? digit : ""}`,
|
|
4323
4020
|
onKeyUp: inputOnKeyUp,
|
|
4324
4021
|
onFocus: inputOnFocus,
|
|
4325
4022
|
onChange: (e) => inputOnChange(e, idx),
|
|
4326
4023
|
disabled,
|
|
4327
|
-
title: formatTranslation(import_otp.default.inputTitle, String(idx + 1), String(length))
|
|
4328
|
-
|
|
4024
|
+
title: formatTranslation(import_otp.default.inputTitle, String(idx + 1), String(length)),
|
|
4025
|
+
...others
|
|
4026
|
+
}
|
|
4329
4027
|
))
|
|
4330
4028
|
), help && /* @__PURE__ */ import_react30.default.createElement(
|
|
4331
4029
|
Text_default,
|
|
4332
4030
|
{
|
|
4333
|
-
className: hashClass(styled, (0,
|
|
4031
|
+
className: hashClass(styled, (0, import_clsx52.default)("help")),
|
|
4334
4032
|
markup: "p" /* P */,
|
|
4335
4033
|
typo: error && "has-text-error" /* TEXT_ERROR */ || "has-text-main" /* TEXT_MAIN */
|
|
4336
4034
|
},
|
|
@@ -4342,14 +4040,13 @@ Otp.displayName = "Otp" /* Otp */;
|
|
|
4342
4040
|
var Otp_default = Otp;
|
|
4343
4041
|
|
|
4344
4042
|
// components/pagination/Pagination.tsx
|
|
4345
|
-
var
|
|
4043
|
+
var import_clsx53 = __toESM(require("clsx"));
|
|
4346
4044
|
var import_react31 = __toESM(require("react"));
|
|
4347
4045
|
var Pagination = import_react31.default.forwardRef(
|
|
4348
|
-
(
|
|
4349
|
-
var _b = _a, { className, id, length, defaultPage = 1, onClick, href } = _b, others = __objRest(_b, ["className", "id", "length", "defaultPage", "onClick", "href"]);
|
|
4046
|
+
({ className, id, length, defaultPage = 1, onClick, href, ...others }, ref) => {
|
|
4350
4047
|
const [currentPage, setCurrentPage] = (0, import_react31.useState)(defaultPage);
|
|
4351
4048
|
const { styled } = useTrilogyContext();
|
|
4352
|
-
const classes = hashClass(styled, (0,
|
|
4049
|
+
const classes = hashClass(styled, (0, import_clsx53.default)("pagination", className));
|
|
4353
4050
|
const prevCurrentPage = (0, import_react31.useRef)(currentPage);
|
|
4354
4051
|
const pager = import_react31.default.useMemo(() => {
|
|
4355
4052
|
let startPage = 1;
|
|
@@ -4387,43 +4084,43 @@ var Pagination = import_react31.default.forwardRef(
|
|
|
4387
4084
|
(0, import_react31.useEffect)(() => {
|
|
4388
4085
|
setCurrentPage(defaultPage);
|
|
4389
4086
|
}, [defaultPage]);
|
|
4390
|
-
return /* @__PURE__ */ import_react31.default.createElement("nav",
|
|
4087
|
+
return /* @__PURE__ */ import_react31.default.createElement("nav", { ref, id, className: classes, ...others }, /* @__PURE__ */ import_react31.default.createElement(
|
|
4391
4088
|
"a",
|
|
4392
|
-
|
|
4393
|
-
className: hashClass(styled, (0,
|
|
4394
|
-
|
|
4089
|
+
{
|
|
4090
|
+
className: hashClass(styled, (0, import_clsx53.default)("pagination-previous")),
|
|
4091
|
+
...currentPage === 1 ? { "aria-disabled": true } : {},
|
|
4395
4092
|
onClick: () => {
|
|
4396
4093
|
if (currentPage !== 1) {
|
|
4397
4094
|
setCurrentPage(currentPage - 1);
|
|
4398
4095
|
}
|
|
4399
4096
|
},
|
|
4400
4097
|
href: href == null ? void 0 : href(currentPage - 1)
|
|
4401
|
-
}
|
|
4098
|
+
},
|
|
4402
4099
|
/* @__PURE__ */ import_react31.default.createElement(Icon_default, { name: "tri-arrow-left" /* ARROW_LEFT */ })
|
|
4403
|
-
), /* @__PURE__ */ import_react31.default.createElement("ul", { className: hashClass(styled, (0,
|
|
4100
|
+
), /* @__PURE__ */ import_react31.default.createElement("ul", { className: hashClass(styled, (0, import_clsx53.default)("pagination-list")) }, !pager.pages.includes(1) && /* @__PURE__ */ import_react31.default.createElement("li", null, /* @__PURE__ */ import_react31.default.createElement("span", { className: hashClass(styled, (0, import_clsx53.default)("pagination-ellipsis")) }, "\u2026")), pager.pages.map((pageNumber) => /* @__PURE__ */ import_react31.default.createElement("li", { key: pageNumber }, /* @__PURE__ */ import_react31.default.createElement(
|
|
4404
4101
|
"a",
|
|
4405
|
-
|
|
4406
|
-
className: hashClass(styled, (0,
|
|
4407
|
-
|
|
4102
|
+
{
|
|
4103
|
+
className: hashClass(styled, (0, import_clsx53.default)("pagination-link")),
|
|
4104
|
+
...currentPage === pageNumber ? { "aria-current": true } : {},
|
|
4408
4105
|
"aria-label": `Aller \xE0 la page ${pageNumber}`,
|
|
4409
4106
|
onClick: () => {
|
|
4410
4107
|
setCurrentPage(pageNumber);
|
|
4411
4108
|
},
|
|
4412
4109
|
href: href == null ? void 0 : href(pageNumber)
|
|
4413
|
-
}
|
|
4110
|
+
},
|
|
4414
4111
|
pageNumber
|
|
4415
|
-
))), !pager.pages.includes(length) && /* @__PURE__ */ import_react31.default.createElement("li", null, /* @__PURE__ */ import_react31.default.createElement("span", { className: hashClass(styled, (0,
|
|
4112
|
+
))), !pager.pages.includes(length) && /* @__PURE__ */ import_react31.default.createElement("li", null, /* @__PURE__ */ import_react31.default.createElement("span", { className: hashClass(styled, (0, import_clsx53.default)("pagination-ellipsis")) }, "\u2026"))), /* @__PURE__ */ import_react31.default.createElement(
|
|
4416
4113
|
"a",
|
|
4417
|
-
|
|
4418
|
-
className: hashClass(styled, (0,
|
|
4419
|
-
|
|
4114
|
+
{
|
|
4115
|
+
className: hashClass(styled, (0, import_clsx53.default)("pagination-next")),
|
|
4116
|
+
...currentPage === Math.max(length) ? { "aria-disabled": true } : {},
|
|
4420
4117
|
onClick: () => {
|
|
4421
4118
|
if (currentPage !== Math.max(length)) {
|
|
4422
4119
|
setCurrentPage(currentPage + 1);
|
|
4423
4120
|
}
|
|
4424
4121
|
},
|
|
4425
4122
|
href: href == null ? void 0 : href(currentPage + 1)
|
|
4426
|
-
}
|
|
4123
|
+
},
|
|
4427
4124
|
/* @__PURE__ */ import_react31.default.createElement(Icon_default, { name: "tri-arrow-right" /* ARROW_RIGHT */ })
|
|
4428
4125
|
));
|
|
4429
4126
|
}
|
|
@@ -4432,15 +4129,14 @@ Pagination.displayName = "Pagination" /* Pagination */;
|
|
|
4432
4129
|
var Pagination_default = Pagination;
|
|
4433
4130
|
|
|
4434
4131
|
// components/popover/Popover.tsx
|
|
4435
|
-
var
|
|
4436
|
-
var
|
|
4437
|
-
var Popover =
|
|
4438
|
-
(
|
|
4439
|
-
var _b = _a, { className, id, direction, children, active, arrowPosition, trigger } = _b, others = __objRest(_b, ["className", "id", "direction", "children", "active", "arrowPosition", "trigger"]);
|
|
4132
|
+
var import_clsx54 = __toESM(require("clsx"));
|
|
4133
|
+
var React61 = __toESM(require("react"));
|
|
4134
|
+
var Popover = React61.forwardRef(
|
|
4135
|
+
({ className, id, direction, children, active, arrowPosition, trigger, ...others }, ref) => {
|
|
4440
4136
|
const { styled } = useTrilogyContext();
|
|
4441
4137
|
const classes = hashClass(
|
|
4442
4138
|
styled,
|
|
4443
|
-
(0,
|
|
4139
|
+
(0, import_clsx54.default)(
|
|
4444
4140
|
"popover",
|
|
4445
4141
|
direction && is(`popover-${direction}`),
|
|
4446
4142
|
active && is("popover-active"),
|
|
@@ -4448,7 +4144,7 @@ var Popover = React62.forwardRef(
|
|
|
4448
4144
|
className
|
|
4449
4145
|
)
|
|
4450
4146
|
);
|
|
4451
|
-
return /* @__PURE__ */
|
|
4147
|
+
return /* @__PURE__ */ React61.createElement("span", { ref, id, className: classes, ...others }, trigger && trigger, /* @__PURE__ */ React61.createElement("span", { className: hashClass(styled, "popover-content") }, children));
|
|
4452
4148
|
}
|
|
4453
4149
|
);
|
|
4454
4150
|
Popover.displayName = "Popover" /* Popover */;
|
|
@@ -4468,8 +4164,8 @@ var PopoverArrowPosition = /* @__PURE__ */ ((PopoverArrowPosition2) => {
|
|
|
4468
4164
|
})(PopoverArrowPosition || {});
|
|
4469
4165
|
|
|
4470
4166
|
// components/price/Price.tsx
|
|
4471
|
-
var
|
|
4472
|
-
var
|
|
4167
|
+
var import_clsx55 = __toESM(require("clsx"));
|
|
4168
|
+
var React62 = __toESM(require("react"));
|
|
4473
4169
|
|
|
4474
4170
|
// components/price/PriceHelpers.ts
|
|
4475
4171
|
var checkCents = (text) => {
|
|
@@ -4481,41 +4177,28 @@ var checkCents = (text) => {
|
|
|
4481
4177
|
};
|
|
4482
4178
|
|
|
4483
4179
|
// components/price/Price.tsx
|
|
4484
|
-
var Price =
|
|
4485
|
-
(
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
"id",
|
|
4502
|
-
"amount",
|
|
4503
|
-
"mention",
|
|
4504
|
-
"period",
|
|
4505
|
-
"hideCents",
|
|
4506
|
-
"level",
|
|
4507
|
-
"inverted",
|
|
4508
|
-
"align",
|
|
4509
|
-
"accessibilityLabel",
|
|
4510
|
-
"oldAmount",
|
|
4511
|
-
"overline"
|
|
4512
|
-
]);
|
|
4513
|
-
var _a2, _b2;
|
|
4180
|
+
var Price = React62.forwardRef(
|
|
4181
|
+
({
|
|
4182
|
+
className,
|
|
4183
|
+
id,
|
|
4184
|
+
amount,
|
|
4185
|
+
mention,
|
|
4186
|
+
period,
|
|
4187
|
+
hideCents = false,
|
|
4188
|
+
level,
|
|
4189
|
+
inverted,
|
|
4190
|
+
align,
|
|
4191
|
+
accessibilityLabel,
|
|
4192
|
+
oldAmount,
|
|
4193
|
+
overline,
|
|
4194
|
+
...others
|
|
4195
|
+
}, ref) => {
|
|
4196
|
+
var _a, _b;
|
|
4514
4197
|
const { styled } = useTrilogyContext();
|
|
4515
|
-
const classes = hashClass(styled, (0,
|
|
4198
|
+
const classes = hashClass(styled, (0, import_clsx55.default)("price", inverted && is("inverted"), overline && has("suptitle"), className));
|
|
4516
4199
|
const classesStrike = hashClass(
|
|
4517
4200
|
styled,
|
|
4518
|
-
(0,
|
|
4201
|
+
(0, import_clsx55.default)("price", inverted && is("inverted"), oldAmount && "strike", overline && has("suptitle"), className)
|
|
4519
4202
|
);
|
|
4520
4203
|
let amountComponent = null;
|
|
4521
4204
|
let oldAmountComponent = null;
|
|
@@ -4525,41 +4208,41 @@ var Price = React63.forwardRef(
|
|
|
4525
4208
|
const absoluteAmountStrike = oldAmount && Math.abs(oldAmount);
|
|
4526
4209
|
const absoluteWholeStrike = absoluteAmountStrike && Math.floor(absoluteAmountStrike);
|
|
4527
4210
|
const wholeStrike = isNegativeStrike && absoluteWholeStrike ? -absoluteWholeStrike : absoluteWholeStrike;
|
|
4528
|
-
let cents = checkCents(((
|
|
4211
|
+
let cents = checkCents(((_a = absoluteAmountStrike.toString().split(/[.,]/)[1]) == null ? void 0 : _a.substring(0, 2)) || "");
|
|
4529
4212
|
cents = cents && cents.length === 1 && `${cents}0` || cents;
|
|
4530
4213
|
const centsDisplayed = !hideCents && `\u20AC${cents}` || "\u20AC";
|
|
4531
|
-
oldAmountComponent = /* @__PURE__ */
|
|
4214
|
+
oldAmountComponent = /* @__PURE__ */ React62.createElement("span", { "aria-hidden": "true", className: classesStrike, ...others }, /* @__PURE__ */ React62.createElement(Text_default, { markup: "span" /* SPAN */ }, `${wholeStrike}`), /* @__PURE__ */ React62.createElement("span", { className: hashClass(styled, (0, import_clsx55.default)("price-details")) }, /* @__PURE__ */ React62.createElement("span", { className: hashClass(styled, (0, import_clsx55.default)("cents")) }, centsDisplayed === "\u20AC" ? /* @__PURE__ */ React62.createElement(React62.Fragment, null, "\xA0", centsDisplayed) : centsDisplayed, mention && /* @__PURE__ */ React62.createElement("sup", null, mention)), period && /* @__PURE__ */ React62.createElement("span", { className: hashClass(styled, (0, import_clsx55.default)("period")) }, "/", period)));
|
|
4532
4215
|
}
|
|
4533
4216
|
if (amount !== void 0) {
|
|
4534
4217
|
const isNegative = amount < 0;
|
|
4535
4218
|
const absoluteAmount = Math.abs(amount);
|
|
4536
4219
|
const absoluteWhole = Math.floor(absoluteAmount);
|
|
4537
4220
|
const whole = isNegative ? -absoluteWhole : absoluteWhole;
|
|
4538
|
-
let cents = checkCents(((
|
|
4221
|
+
let cents = checkCents(((_b = absoluteAmount.toString().split(/[.,]/)[1]) == null ? void 0 : _b.substring(0, 2)) || "");
|
|
4539
4222
|
cents = cents && cents.length === 1 && `${cents}0` || cents;
|
|
4540
4223
|
const centsDisplayed = !hideCents && `\u20AC${cents}` || "\u20AC";
|
|
4541
4224
|
const dataPrice = `${whole}${!hideCents && cents ? `.${cents}` : ""}`;
|
|
4542
|
-
amountComponent = /* @__PURE__ */
|
|
4225
|
+
amountComponent = /* @__PURE__ */ React62.createElement("span", { "aria-hidden": "true", "aria-label": accessibilityLabel, className: classes, "data-price": dataPrice, ...others }, /* @__PURE__ */ React62.createElement(Text_default, { markup: "span" /* SPAN */ }, `${whole}`), /* @__PURE__ */ React62.createElement("span", { className: hashClass(styled, (0, import_clsx55.default)("price-details")) }, /* @__PURE__ */ React62.createElement("span", { className: hashClass(styled, (0, import_clsx55.default)("cents")) }, centsDisplayed === "\u20AC" ? /* @__PURE__ */ React62.createElement(React62.Fragment, null, "\xA0", centsDisplayed) : centsDisplayed, mention && /* @__PURE__ */ React62.createElement("sup", null, mention)), period && /* @__PURE__ */ React62.createElement("span", { className: hashClass(styled, (0, import_clsx55.default)("period")) }, "/", period)));
|
|
4543
4226
|
}
|
|
4544
|
-
return /* @__PURE__ */
|
|
4227
|
+
return /* @__PURE__ */ React62.createElement(
|
|
4545
4228
|
"div",
|
|
4546
4229
|
{
|
|
4547
4230
|
ref,
|
|
4548
4231
|
id,
|
|
4549
4232
|
className: hashClass(
|
|
4550
4233
|
styled,
|
|
4551
|
-
(0,
|
|
4234
|
+
(0, import_clsx55.default)(
|
|
4552
4235
|
"price-container",
|
|
4553
4236
|
is(`level-${level || "1"}`),
|
|
4554
4237
|
align == "ALIGNED_START" /* ALIGNED_START */ && is("justified-start") || align == "ALIGNED_CENTER" /* ALIGNED_CENTER */ && is("justified-center") || align == "ALIGNED_END" /* ALIGNED_END */ && is("justified-end") || ""
|
|
4555
4238
|
)
|
|
4556
4239
|
)
|
|
4557
4240
|
},
|
|
4558
|
-
overline && /* @__PURE__ */
|
|
4241
|
+
overline && /* @__PURE__ */ React62.createElement("p", { className: hashClass(styled, (0, import_clsx55.default)("overline")) }, overline),
|
|
4559
4242
|
oldAmountComponent,
|
|
4560
4243
|
amountComponent,
|
|
4561
4244
|
tagAmountComponent,
|
|
4562
|
-
accessibilityLabel && /* @__PURE__ */
|
|
4245
|
+
accessibilityLabel && /* @__PURE__ */ React62.createElement("p", { className: hashClass(styled, (0, import_clsx55.default)("sr-only")) }, accessibilityLabel)
|
|
4563
4246
|
);
|
|
4564
4247
|
}
|
|
4565
4248
|
);
|
|
@@ -4579,11 +4262,10 @@ var PriceLevel = /* @__PURE__ */ ((PriceLevel2) => {
|
|
|
4579
4262
|
})(PriceLevel || {});
|
|
4580
4263
|
|
|
4581
4264
|
// components/product-tour/ProductTour.tsx
|
|
4582
|
-
var
|
|
4265
|
+
var import_clsx56 = __toESM(require("clsx"));
|
|
4583
4266
|
var import_react32 = __toESM(require("react"));
|
|
4584
4267
|
var ProductTour = import_react32.default.forwardRef(
|
|
4585
|
-
(
|
|
4586
|
-
var _b = _a, { children, className, id, active, arrowDirection, arrowAlign, closeable, avatarSrc, avatarDirection } = _b, others = __objRest(_b, ["children", "className", "id", "active", "arrowDirection", "arrowAlign", "closeable", "avatarSrc", "avatarDirection"]);
|
|
4268
|
+
({ children, className, id, active, arrowDirection, arrowAlign, closeable, avatarSrc, avatarDirection, ...others }, ref) => {
|
|
4587
4269
|
const [display, setDisplay] = (0, import_react32.useState)(active || false);
|
|
4588
4270
|
const { styled } = useTrilogyContext();
|
|
4589
4271
|
(0, import_react32.useEffect)(() => {
|
|
@@ -4591,9 +4273,9 @@ var ProductTour = import_react32.default.forwardRef(
|
|
|
4591
4273
|
}, [active]);
|
|
4592
4274
|
const classes = hashClass(
|
|
4593
4275
|
styled,
|
|
4594
|
-
(0,
|
|
4276
|
+
(0, import_clsx56.default)("product-tour", display && is("active"), avatarDirection && has(`icon-${avatarDirection}`), className)
|
|
4595
4277
|
);
|
|
4596
|
-
return /* @__PURE__ */ import_react32.default.createElement("div",
|
|
4278
|
+
return /* @__PURE__ */ import_react32.default.createElement("div", { ref, id, className: classes, ...others }, arrowDirection && /* @__PURE__ */ import_react32.default.createElement("div", { className: hashClass(styled, (0, import_clsx56.default)("arrow", is(arrowDirection), arrowAlign && is(arrowAlign))) }), avatarSrc && /* @__PURE__ */ import_react32.default.createElement("span", { className: hashClass(styled, (0, import_clsx56.default)("icon", is("medium"))) }, /* @__PURE__ */ import_react32.default.createElement("img", { className: hashClass(styled, (0, import_clsx56.default)(is("rounded"))), src: avatarSrc })), closeable && /* @__PURE__ */ import_react32.default.createElement("div", { style: { cursor: "pointer" }, onClick: () => setDisplay(!display) }, /* @__PURE__ */ import_react32.default.createElement(Icon_default, { size: "small" /* SMALL */, name: "tri-times" /* TIMES */, className: "close" })), /* @__PURE__ */ import_react32.default.createElement("div", { className: hashClass(styled, (0, import_clsx56.default)("product-tour-content")) }, children));
|
|
4597
4279
|
}
|
|
4598
4280
|
);
|
|
4599
4281
|
ProductTour.displayName = "ProductTour" /* ProductTour */;
|
|
@@ -4625,39 +4307,27 @@ var AvatarDirection = /* @__PURE__ */ ((AvatarDirection2) => {
|
|
|
4625
4307
|
})(AvatarDirection || {});
|
|
4626
4308
|
|
|
4627
4309
|
// components/progress/Progress.tsx
|
|
4628
|
-
var
|
|
4629
|
-
var
|
|
4630
|
-
var Progress =
|
|
4631
|
-
(
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
"children",
|
|
4646
|
-
"className",
|
|
4647
|
-
"id",
|
|
4648
|
-
"value",
|
|
4649
|
-
"max",
|
|
4650
|
-
"status",
|
|
4651
|
-
"small",
|
|
4652
|
-
"legendStart",
|
|
4653
|
-
"legendCenter",
|
|
4654
|
-
"legendEnd",
|
|
4655
|
-
"stacked"
|
|
4656
|
-
]);
|
|
4310
|
+
var import_clsx57 = __toESM(require("clsx"));
|
|
4311
|
+
var React64 = __toESM(require("react"));
|
|
4312
|
+
var Progress = React64.forwardRef(
|
|
4313
|
+
({
|
|
4314
|
+
children,
|
|
4315
|
+
className,
|
|
4316
|
+
id,
|
|
4317
|
+
value,
|
|
4318
|
+
max = 100,
|
|
4319
|
+
status,
|
|
4320
|
+
small,
|
|
4321
|
+
legendStart,
|
|
4322
|
+
legendCenter,
|
|
4323
|
+
legendEnd,
|
|
4324
|
+
stacked,
|
|
4325
|
+
...others
|
|
4326
|
+
}, ref) => {
|
|
4657
4327
|
const { styled } = useTrilogyContext();
|
|
4658
4328
|
const classes = hashClass(
|
|
4659
4329
|
styled,
|
|
4660
|
-
(0,
|
|
4330
|
+
(0, import_clsx57.default)(
|
|
4661
4331
|
"progress",
|
|
4662
4332
|
status && is(getStatusClassName(status)),
|
|
4663
4333
|
!status && is("primary"),
|
|
@@ -4665,39 +4335,39 @@ var Progress = React65.forwardRef(
|
|
|
4665
4335
|
className
|
|
4666
4336
|
)
|
|
4667
4337
|
);
|
|
4668
|
-
const stackedClasses = hashClass(styled, (0,
|
|
4338
|
+
const stackedClasses = hashClass(styled, (0, import_clsx57.default)("progress", stacked && is("stacked"), className));
|
|
4669
4339
|
if (children && stacked) {
|
|
4670
|
-
return /* @__PURE__ */
|
|
4340
|
+
return /* @__PURE__ */ React64.createElement("div", { className: stackedClasses, ...others }, children);
|
|
4671
4341
|
}
|
|
4672
|
-
return /* @__PURE__ */
|
|
4342
|
+
return /* @__PURE__ */ React64.createElement("div", { ref, className: "progress-container" }, /* @__PURE__ */ React64.createElement("progress", { id, className: classes, value, max, ...others }, value), (legendStart || legendCenter || legendEnd) && /* @__PURE__ */ React64.createElement("div", { className: "progress-legends" }, legendStart && /* @__PURE__ */ React64.createElement("div", { className: "progress-legend-start" }, /* @__PURE__ */ React64.createElement(Text_default, null, legendStart)), legendCenter && /* @__PURE__ */ React64.createElement("div", { className: "progress-legend-center" }, /* @__PURE__ */ React64.createElement(Text_default, null, legendCenter)), legendEnd && /* @__PURE__ */ React64.createElement("div", { className: "progress-legend-end" }, /* @__PURE__ */ React64.createElement(Text_default, null, legendEnd))));
|
|
4673
4343
|
}
|
|
4674
4344
|
);
|
|
4675
4345
|
Progress.displayName = "Progress" /* Progress */;
|
|
4676
4346
|
var Progress_default = Progress;
|
|
4677
4347
|
|
|
4678
4348
|
// components/progress/item/ProgressItem.tsx
|
|
4679
|
-
var
|
|
4349
|
+
var import_clsx58 = __toESM(require("clsx"));
|
|
4680
4350
|
var import_react33 = __toESM(require("react"));
|
|
4681
4351
|
var ProgressItem = import_react33.default.forwardRef(
|
|
4682
|
-
(
|
|
4683
|
-
var _b = _a, { className, percent, maxPercent = 100, minPercent = 0, status, accessibilityLabel } = _b, others = __objRest(_b, ["className", "percent", "maxPercent", "minPercent", "status", "accessibilityLabel"]);
|
|
4352
|
+
({ className, percent, maxPercent = 100, minPercent = 0, status, accessibilityLabel, ...others }, ref) => {
|
|
4684
4353
|
const { styled } = useTrilogyContext();
|
|
4685
4354
|
const classes = hashClass(
|
|
4686
4355
|
styled,
|
|
4687
|
-
(0,
|
|
4356
|
+
(0, import_clsx58.default)("progress-bar", status && is(getStatusClassName(status)), !status && is("primary"), className)
|
|
4688
4357
|
);
|
|
4689
4358
|
return /* @__PURE__ */ import_react33.default.createElement(
|
|
4690
4359
|
"div",
|
|
4691
|
-
|
|
4692
|
-
ref
|
|
4693
|
-
|
|
4360
|
+
{
|
|
4361
|
+
ref,
|
|
4362
|
+
...percent && { style: { width: `${percent}%` } },
|
|
4694
4363
|
className: classes,
|
|
4695
4364
|
role: "progressbar",
|
|
4696
4365
|
"aria-valuenow": percent,
|
|
4697
4366
|
"aria-valuemin": minPercent,
|
|
4698
4367
|
"aria-valuemax": maxPercent,
|
|
4699
|
-
"aria-label": accessibilityLabel
|
|
4700
|
-
|
|
4368
|
+
"aria-label": accessibilityLabel,
|
|
4369
|
+
...others
|
|
4370
|
+
}
|
|
4701
4371
|
);
|
|
4702
4372
|
}
|
|
4703
4373
|
);
|
|
@@ -4709,34 +4379,24 @@ var item_default4 = ProgressItem_default;
|
|
|
4709
4379
|
|
|
4710
4380
|
// components/progress/radial/ProgressRadial.tsx
|
|
4711
4381
|
var import_react34 = __toESM(require("react"));
|
|
4712
|
-
var
|
|
4713
|
-
var ProgressRadial = import_react34.default.forwardRef((
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
"children",
|
|
4726
|
-
"value",
|
|
4727
|
-
"secondValue",
|
|
4728
|
-
"label",
|
|
4729
|
-
"description",
|
|
4730
|
-
"skeleton",
|
|
4731
|
-
"className",
|
|
4732
|
-
"id",
|
|
4733
|
-
"small"
|
|
4734
|
-
]);
|
|
4382
|
+
var import_clsx59 = __toESM(require("clsx"));
|
|
4383
|
+
var ProgressRadial = import_react34.default.forwardRef(({
|
|
4384
|
+
children,
|
|
4385
|
+
value = 0,
|
|
4386
|
+
secondValue = 0,
|
|
4387
|
+
label,
|
|
4388
|
+
description,
|
|
4389
|
+
skeleton,
|
|
4390
|
+
className,
|
|
4391
|
+
id,
|
|
4392
|
+
small,
|
|
4393
|
+
...others
|
|
4394
|
+
}, ref) => {
|
|
4735
4395
|
const { styled } = useTrilogyContext();
|
|
4736
4396
|
const [firstProgressCurrentValue, setFirstProgressCurrentValue] = (0, import_react34.useState)(0);
|
|
4737
4397
|
const [secondProgressCurrentValue, setSecondProgressCurrentValue] = (0, import_react34.useState)(0);
|
|
4738
|
-
const classes = hashClass(styled, (0,
|
|
4739
|
-
const classesContent = hashClass(styled, (0,
|
|
4398
|
+
const classes = hashClass(styled, (0, import_clsx59.default)("progress-radial", skeleton && is("loading"), small && is("small"), className));
|
|
4399
|
+
const classesContent = hashClass(styled, (0, import_clsx59.default)("progress-radial-content"));
|
|
4740
4400
|
const progressRadialRef = (0, import_react34.useRef)(null);
|
|
4741
4401
|
const updateBackgroundStyle = (firstValue, secondValue2) => {
|
|
4742
4402
|
const progressRadial = progressRadialRef.current;
|
|
@@ -4773,7 +4433,7 @@ var ProgressRadial = import_react34.default.forwardRef((_a, ref) => {
|
|
|
4773
4433
|
(0, import_react34.useEffect)(() => {
|
|
4774
4434
|
updateBackgroundStyle(firstProgressCurrentValue, secondProgressCurrentValue);
|
|
4775
4435
|
}, [firstProgressCurrentValue, secondProgressCurrentValue]);
|
|
4776
|
-
return /* @__PURE__ */ import_react34.default.createElement("div",
|
|
4436
|
+
return /* @__PURE__ */ import_react34.default.createElement("div", { id, ...others, className: classes, ref: progressRadialRef }, /* @__PURE__ */ import_react34.default.createElement("div", { ref, className: classesContent }, label && /* @__PURE__ */ import_react34.default.createElement(Title_default, { level: 2 /* TWO */, marginless: true }, label), description && /* @__PURE__ */ import_react34.default.createElement(Text_default, { level: 1 /* ONE */, marginless: true }, description), !label && !description && children));
|
|
4777
4437
|
});
|
|
4778
4438
|
ProgressRadial.displayName = "ProgressRadial" /* ProgressRadial */;
|
|
4779
4439
|
var ProgressRadial_default = ProgressRadial;
|
|
@@ -4782,25 +4442,24 @@ var ProgressRadial_default = ProgressRadial;
|
|
|
4782
4442
|
var radial_default = ProgressRadial_default;
|
|
4783
4443
|
|
|
4784
4444
|
// components/progress/radial/item/ProgressRadialtem.tsx
|
|
4785
|
-
var
|
|
4786
|
-
var
|
|
4445
|
+
var import_clsx60 = __toESM(require("clsx"));
|
|
4446
|
+
var React67 = __toESM(require("react"));
|
|
4787
4447
|
var ProgressRadialItem = ({ color, className, id }) => {
|
|
4788
4448
|
const { styled } = useTrilogyContext();
|
|
4789
|
-
const classes = hashClass(styled, (0,
|
|
4790
|
-
return /* @__PURE__ */
|
|
4449
|
+
const classes = hashClass(styled, (0, import_clsx60.default)(`progress-circle-slice progress-circle-background-${color}`, className));
|
|
4450
|
+
return /* @__PURE__ */ React67.createElement("div", { id, className: classes });
|
|
4791
4451
|
};
|
|
4792
4452
|
var ProgressRadialtem_default = ProgressRadialItem;
|
|
4793
4453
|
|
|
4794
4454
|
// components/radio/list/RadioList.tsx
|
|
4795
|
-
var
|
|
4796
|
-
var
|
|
4797
|
-
var RadioList =
|
|
4798
|
-
(
|
|
4799
|
-
var _b = _a, { className, id, align, horizontalMobile, verticalDesktop, accessibilityLabelledBy, children } = _b, others = __objRest(_b, ["className", "id", "align", "horizontalMobile", "verticalDesktop", "accessibilityLabelledBy", "children"]);
|
|
4455
|
+
var import_clsx61 = __toESM(require("clsx"));
|
|
4456
|
+
var React68 = __toESM(require("react"));
|
|
4457
|
+
var RadioList = React68.forwardRef(
|
|
4458
|
+
({ className, id, align, horizontalMobile, verticalDesktop, accessibilityLabelledBy, children, ...others }, ref) => {
|
|
4800
4459
|
const { styled } = useTrilogyContext();
|
|
4801
|
-
return /* @__PURE__ */
|
|
4460
|
+
return /* @__PURE__ */ React68.createElement(
|
|
4802
4461
|
"div",
|
|
4803
|
-
|
|
4462
|
+
{
|
|
4804
4463
|
ref,
|
|
4805
4464
|
id,
|
|
4806
4465
|
role: "radiogroup",
|
|
@@ -4808,15 +4467,16 @@ var RadioList = React69.forwardRef(
|
|
|
4808
4467
|
"aria-required": isRequiredChild(children) ? "true" : void 0,
|
|
4809
4468
|
className: hashClass(
|
|
4810
4469
|
styled,
|
|
4811
|
-
(0,
|
|
4470
|
+
(0, import_clsx61.default)(
|
|
4812
4471
|
"radios",
|
|
4813
4472
|
className,
|
|
4814
4473
|
align && is(getJustifiedClassName(align)),
|
|
4815
4474
|
horizontalMobile && is("horizontal-mobile"),
|
|
4816
4475
|
verticalDesktop && is("vertical-desktop")
|
|
4817
4476
|
)
|
|
4818
|
-
)
|
|
4819
|
-
|
|
4477
|
+
),
|
|
4478
|
+
...others
|
|
4479
|
+
},
|
|
4820
4480
|
children
|
|
4821
4481
|
);
|
|
4822
4482
|
}
|
|
@@ -4825,15 +4485,14 @@ RadioList.displayName = "RadioList" /* RadioList */;
|
|
|
4825
4485
|
var RadioList_default = RadioList;
|
|
4826
4486
|
|
|
4827
4487
|
// components/radio/Radio.tsx
|
|
4828
|
-
var
|
|
4488
|
+
var import_clsx62 = __toESM(require("clsx"));
|
|
4829
4489
|
var import_react35 = __toESM(require("react"));
|
|
4830
4490
|
var Radio = import_react35.default.forwardRef(
|
|
4831
|
-
(
|
|
4832
|
-
var _b = _a, { checked, className, disabled, readonly, id = import_react35.default.useId(), label, onChange, name, value, required } = _b, others = __objRest(_b, ["checked", "className", "disabled", "readonly", "id", "label", "onChange", "name", "value", "required"]);
|
|
4491
|
+
({ checked, className, disabled, readonly, id = import_react35.default.useId(), label, onChange, name, value, required, ...others }, ref) => {
|
|
4833
4492
|
const { styled } = useTrilogyContext();
|
|
4834
|
-
return /* @__PURE__ */ import_react35.default.createElement("div", { ref, className: hashClass(styled, (0,
|
|
4493
|
+
return /* @__PURE__ */ import_react35.default.createElement("div", { ref, className: hashClass(styled, (0, import_clsx62.default)("radio", className)) }, /* @__PURE__ */ import_react35.default.createElement(
|
|
4835
4494
|
"input",
|
|
4836
|
-
|
|
4495
|
+
{
|
|
4837
4496
|
type: "radio",
|
|
4838
4497
|
readOnly: readonly,
|
|
4839
4498
|
id,
|
|
@@ -4851,20 +4510,20 @@ var Radio = import_react35.default.forwardRef(
|
|
|
4851
4510
|
radioChecked: e.target.checked
|
|
4852
4511
|
});
|
|
4853
4512
|
}
|
|
4854
|
-
}
|
|
4855
|
-
|
|
4856
|
-
|
|
4513
|
+
},
|
|
4514
|
+
...others
|
|
4515
|
+
}
|
|
4516
|
+
), /* @__PURE__ */ import_react35.default.createElement("label", { htmlFor: id, className: hashClass(styled, (0, import_clsx62.default)("radio-label")) }, label));
|
|
4857
4517
|
}
|
|
4858
4518
|
);
|
|
4859
4519
|
Radio.displayName = "Radio" /* Radio */;
|
|
4860
4520
|
var Radio_default = Radio;
|
|
4861
4521
|
|
|
4862
4522
|
// components/radio/tiles/RadioTiles.tsx
|
|
4863
|
-
var
|
|
4864
|
-
var
|
|
4865
|
-
var RadioTiles =
|
|
4866
|
-
(
|
|
4867
|
-
var _b = _a, { id, className, children, align, verticalAlign, accessibilityLabelledBy } = _b, others = __objRest(_b, ["id", "className", "children", "align", "verticalAlign", "accessibilityLabelledBy"]);
|
|
4523
|
+
var import_clsx63 = __toESM(require("clsx"));
|
|
4524
|
+
var React70 = __toESM(require("react"));
|
|
4525
|
+
var RadioTiles = React70.forwardRef(
|
|
4526
|
+
({ id, className, children, align, verticalAlign, accessibilityLabelledBy, ...others }, ref) => {
|
|
4868
4527
|
const { styled } = useTrilogyContext();
|
|
4869
4528
|
let alignClass = null;
|
|
4870
4529
|
if (align) {
|
|
@@ -4874,9 +4533,9 @@ var RadioTiles = React71.forwardRef(
|
|
|
4874
4533
|
if (verticalAlign) {
|
|
4875
4534
|
verticalAlignClass = getAlignClassName(verticalAlign) === "aligned-start" && is("aligned-start") || getAlignClassName(verticalAlign) === "aligned-center" && is("aligned-center") || getAlignClassName(verticalAlign) === "aligned-end" && is("aligned-end") || getAlignClassName(verticalAlign) === "aligned-stretch" && is("aligned-stretch") || null;
|
|
4876
4535
|
}
|
|
4877
|
-
return /* @__PURE__ */
|
|
4536
|
+
return /* @__PURE__ */ React70.createElement(
|
|
4878
4537
|
"div",
|
|
4879
|
-
|
|
4538
|
+
{
|
|
4880
4539
|
ref,
|
|
4881
4540
|
id,
|
|
4882
4541
|
role: "radiogroup",
|
|
@@ -4884,9 +4543,10 @@ var RadioTiles = React71.forwardRef(
|
|
|
4884
4543
|
"aria-required": isRequiredChild(children) ? "true" : void 0,
|
|
4885
4544
|
className: hashClass(
|
|
4886
4545
|
styled,
|
|
4887
|
-
(0,
|
|
4888
|
-
)
|
|
4889
|
-
|
|
4546
|
+
(0, import_clsx63.default)("radio-tiles", className, align && alignClass, verticalAlign && verticalAlignClass)
|
|
4547
|
+
),
|
|
4548
|
+
...others
|
|
4549
|
+
},
|
|
4890
4550
|
children
|
|
4891
4551
|
);
|
|
4892
4552
|
}
|
|
@@ -4895,47 +4555,31 @@ RadioTiles.displayName = "RadioTiles" /* RadioTiles */;
|
|
|
4895
4555
|
var RadioTiles_default = RadioTiles;
|
|
4896
4556
|
|
|
4897
4557
|
// components/radio/tiles/tile/RadioTile.tsx
|
|
4898
|
-
var
|
|
4558
|
+
var import_clsx64 = __toESM(require("clsx"));
|
|
4899
4559
|
var import_react36 = __toESM(require("react"));
|
|
4900
4560
|
var RadioTile = import_react36.default.forwardRef(
|
|
4901
|
-
(
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
"checked",
|
|
4920
|
-
"className",
|
|
4921
|
-
"disabled",
|
|
4922
|
-
"readonly",
|
|
4923
|
-
"id",
|
|
4924
|
-
"label",
|
|
4925
|
-
"onChange",
|
|
4926
|
-
"name",
|
|
4927
|
-
"value",
|
|
4928
|
-
"description",
|
|
4929
|
-
"icon",
|
|
4930
|
-
"horizontal",
|
|
4931
|
-
"required",
|
|
4932
|
-
"sticker",
|
|
4933
|
-
"stickerVariant"
|
|
4934
|
-
]);
|
|
4561
|
+
({
|
|
4562
|
+
checked,
|
|
4563
|
+
className,
|
|
4564
|
+
disabled,
|
|
4565
|
+
readonly,
|
|
4566
|
+
id = import_react36.default.useId(),
|
|
4567
|
+
label,
|
|
4568
|
+
onChange,
|
|
4569
|
+
name,
|
|
4570
|
+
value,
|
|
4571
|
+
description,
|
|
4572
|
+
icon,
|
|
4573
|
+
horizontal,
|
|
4574
|
+
required,
|
|
4575
|
+
sticker,
|
|
4576
|
+
stickerVariant = "ACCENT" /* ACCENT */,
|
|
4577
|
+
...others
|
|
4578
|
+
}, ref) => {
|
|
4935
4579
|
const { styled } = useTrilogyContext();
|
|
4936
|
-
return /* @__PURE__ */ import_react36.default.createElement("div", { ref, className: hashClass(styled, (0,
|
|
4580
|
+
return /* @__PURE__ */ import_react36.default.createElement("div", { ref, className: hashClass(styled, (0, import_clsx64.default)("radio-tile", horizontal && is("horizontal"), className)) }, /* @__PURE__ */ import_react36.default.createElement(
|
|
4937
4581
|
"input",
|
|
4938
|
-
|
|
4582
|
+
{
|
|
4939
4583
|
type: "radio",
|
|
4940
4584
|
readOnly: readonly,
|
|
4941
4585
|
id,
|
|
@@ -4953,21 +4597,22 @@ var RadioTile = import_react36.default.forwardRef(
|
|
|
4953
4597
|
radioChecked: e.target.checked
|
|
4954
4598
|
});
|
|
4955
4599
|
}
|
|
4956
|
-
}
|
|
4957
|
-
|
|
4958
|
-
|
|
4600
|
+
},
|
|
4601
|
+
...others
|
|
4602
|
+
}
|
|
4603
|
+
), /* @__PURE__ */ import_react36.default.createElement("label", { htmlFor: id, className: hashClass(styled, (0, import_clsx64.default)("radio-label")) }, icon && /* @__PURE__ */ import_react36.default.createElement(Icon_default, { name: icon, size: "medium" /* MEDIUM */ }), horizontal ? /* @__PURE__ */ import_react36.default.createElement("span", null, /* @__PURE__ */ import_react36.default.createElement("span", { className: hashClass(styled, (0, import_clsx64.default)("radio-title")) }, label), description && /* @__PURE__ */ import_react36.default.createElement("span", { className: hashClass(styled, (0, import_clsx64.default)("radio-description")) }, description)) : /* @__PURE__ */ import_react36.default.createElement(import_react36.default.Fragment, null, /* @__PURE__ */ import_react36.default.createElement("span", { className: hashClass(styled, (0, import_clsx64.default)("radio-title")) }, label), description && /* @__PURE__ */ import_react36.default.createElement("span", { className: hashClass(styled, (0, import_clsx64.default)("radio-description")) }, description))), sticker && /* @__PURE__ */ import_react36.default.createElement(Sticker_default, { label: sticker, variant: stickerVariant, className: "radio-sticker", small: true }));
|
|
4959
4604
|
}
|
|
4960
4605
|
);
|
|
4961
4606
|
RadioTile.displayName = "RadioTile" /* RadioTile */;
|
|
4962
4607
|
var RadioTile_default = RadioTile;
|
|
4963
4608
|
|
|
4964
4609
|
// components/range/Range.tsx
|
|
4965
|
-
var
|
|
4966
|
-
var
|
|
4967
|
-
var Range =
|
|
4610
|
+
var import_clsx65 = __toESM(require("clsx"));
|
|
4611
|
+
var React72 = __toESM(require("react"));
|
|
4612
|
+
var Range = React72.forwardRef(
|
|
4968
4613
|
({
|
|
4969
4614
|
className,
|
|
4970
|
-
id =
|
|
4615
|
+
id = React72.useId(),
|
|
4971
4616
|
min,
|
|
4972
4617
|
max,
|
|
4973
4618
|
label,
|
|
@@ -4983,37 +4628,37 @@ var Range = React73.forwardRef(
|
|
|
4983
4628
|
value
|
|
4984
4629
|
}, ref) => {
|
|
4985
4630
|
const { styled } = useTrilogyContext();
|
|
4986
|
-
const refTrack =
|
|
4987
|
-
const [cursorMin, setCursorMin] =
|
|
4988
|
-
const [cursorMax, setCursorMax] =
|
|
4989
|
-
|
|
4631
|
+
const refTrack = React72.useRef(null);
|
|
4632
|
+
const [cursorMin, setCursorMin] = React72.useState(valueMin != null ? valueMin : 0);
|
|
4633
|
+
const [cursorMax, setCursorMax] = React72.useState(simple ? value || 0 : valueMax != null ? valueMax : max);
|
|
4634
|
+
React72.useEffect(() => {
|
|
4990
4635
|
if (refTrack.current) {
|
|
4991
4636
|
const track = refTrack.current;
|
|
4992
4637
|
track.style.background = `linear-gradient(to right, ${getColorStyle("MAIN_FADE" /* MAIN_FADE */)} ${cursorMin / max * 100}% , ${getColorStyle("MAIN" /* MAIN */)} ${cursorMin / max * 100}% , ${getColorStyle("MAIN" /* MAIN */)} ${cursorMax / max * 100}%, ${getColorStyle("MAIN_FADE" /* MAIN_FADE */)} ${cursorMax / max * 100}%) `;
|
|
4993
4638
|
}
|
|
4994
4639
|
}, [cursorMin, cursorMax]);
|
|
4995
|
-
|
|
4640
|
+
React72.useEffect(() => {
|
|
4996
4641
|
setCursorMin(valueMin || 0);
|
|
4997
4642
|
}, [valueMin]);
|
|
4998
|
-
|
|
4643
|
+
React72.useEffect(() => {
|
|
4999
4644
|
if (!simple) setCursorMax(valueMax || max);
|
|
5000
4645
|
}, [valueMax, simple]);
|
|
5001
|
-
|
|
4646
|
+
React72.useEffect(() => {
|
|
5002
4647
|
if (simple && value !== void 0) setCursorMax(value);
|
|
5003
4648
|
}, [value, simple]);
|
|
5004
|
-
const handleChangeCursorMin =
|
|
4649
|
+
const handleChangeCursorMin = React72.useCallback(
|
|
5005
4650
|
(e) => {
|
|
5006
4651
|
if (Number(e.target.value) < cursorMax - gap) setCursorMin(Number(e.target.value));
|
|
5007
4652
|
},
|
|
5008
4653
|
[cursorMax, cursorMin]
|
|
5009
4654
|
);
|
|
5010
|
-
const handleChangeCursorMax =
|
|
4655
|
+
const handleChangeCursorMax = React72.useCallback(
|
|
5011
4656
|
(e) => {
|
|
5012
4657
|
if (Number(e.target.value) >= cursorMin + gap) setCursorMax(Number(e.target.value));
|
|
5013
4658
|
},
|
|
5014
4659
|
[cursorMax, cursorMin]
|
|
5015
4660
|
);
|
|
5016
|
-
const handleMouseUpMin =
|
|
4661
|
+
const handleMouseUpMin = React72.useCallback(() => {
|
|
5017
4662
|
if (onChangeMin) {
|
|
5018
4663
|
onChangeMin({
|
|
5019
4664
|
inputName: name,
|
|
@@ -5021,7 +4666,7 @@ var Range = React73.forwardRef(
|
|
|
5021
4666
|
});
|
|
5022
4667
|
}
|
|
5023
4668
|
}, [onChangeMin, name, cursorMin]);
|
|
5024
|
-
const handleMouseUpMax =
|
|
4669
|
+
const handleMouseUpMax = React72.useCallback(() => {
|
|
5025
4670
|
if (onChangeMax && !simple) {
|
|
5026
4671
|
onChangeMax({
|
|
5027
4672
|
inputName: name,
|
|
@@ -5035,10 +4680,10 @@ var Range = React73.forwardRef(
|
|
|
5035
4680
|
});
|
|
5036
4681
|
}
|
|
5037
4682
|
}, [onChangeMax, name, cursorMax, onChange, simple]);
|
|
5038
|
-
return /* @__PURE__ */
|
|
4683
|
+
return /* @__PURE__ */ React72.createElement("div", { ref, id, className: hashClass(styled, (0, import_clsx65.default)("range-container", className)) }, /* @__PURE__ */ React72.createElement("label", { className: hashClass(styled, (0, import_clsx65.default)("range-label")) }, label), /* @__PURE__ */ React72.createElement("div", { className: hashClass(styled, (0, import_clsx65.default)("range")) }, /* @__PURE__ */ React72.createElement("div", { ref: refTrack, className: hashClass(styled, (0, import_clsx65.default)("range-track")) }), !simple && /* @__PURE__ */ React72.createElement(
|
|
5039
4684
|
"input",
|
|
5040
4685
|
{
|
|
5041
|
-
className: hashClass(styled, (0,
|
|
4686
|
+
className: hashClass(styled, (0, import_clsx65.default)("range-cursor range-cursor-min")),
|
|
5042
4687
|
onTouchEnd: handleMouseUpMin,
|
|
5043
4688
|
onMouseUp: handleMouseUpMin,
|
|
5044
4689
|
onChange: handleChangeCursorMin,
|
|
@@ -5050,10 +4695,10 @@ var Range = React73.forwardRef(
|
|
|
5050
4695
|
id: `${id}-min`,
|
|
5051
4696
|
"aria-label": label
|
|
5052
4697
|
}
|
|
5053
|
-
), /* @__PURE__ */
|
|
4698
|
+
), /* @__PURE__ */ React72.createElement(
|
|
5054
4699
|
"input",
|
|
5055
4700
|
{
|
|
5056
|
-
className: hashClass(styled, (0,
|
|
4701
|
+
className: hashClass(styled, (0, import_clsx65.default)("range-cursor", !simple && "range-cursor-max")),
|
|
5057
4702
|
onTouchEnd: handleMouseUpMax,
|
|
5058
4703
|
onMouseUp: handleMouseUpMax,
|
|
5059
4704
|
onChange: handleChangeCursorMax,
|
|
@@ -5065,41 +4710,40 @@ var Range = React73.forwardRef(
|
|
|
5065
4710
|
id: `${id}-max`,
|
|
5066
4711
|
"aria-label": label
|
|
5067
4712
|
}
|
|
5068
|
-
)), /* @__PURE__ */
|
|
4713
|
+
)), /* @__PURE__ */ React72.createElement("div", { className: hashClass(styled, (0, import_clsx65.default)("range-values")) }, !simple && /* @__PURE__ */ React72.createElement("div", null, /* @__PURE__ */ React72.createElement("span", { className: hashClass(styled, (0, import_clsx65.default)("range-value-min")) }, cursorMin), unit && /* @__PURE__ */ React72.createElement("span", null, " ", unit)), /* @__PURE__ */ React72.createElement("div", null, /* @__PURE__ */ React72.createElement("span", { className: hashClass(styled, (0, import_clsx65.default)(simple ? "range-value" : "range-value-max")) }, cursorMax), unit && /* @__PURE__ */ React72.createElement("span", null, " ", unit))));
|
|
5069
4714
|
}
|
|
5070
4715
|
);
|
|
5071
4716
|
Range.displayName = "Range" /* Range */;
|
|
5072
4717
|
var Range_default = Range;
|
|
5073
4718
|
|
|
5074
4719
|
// components/rows/Rows.tsx
|
|
5075
|
-
var
|
|
5076
|
-
var
|
|
5077
|
-
var Rows =
|
|
5078
|
-
var _b = _a, { className, id, gap } = _b, others = __objRest(_b, ["className", "id", "gap"]);
|
|
4720
|
+
var import_clsx66 = __toESM(require("clsx"));
|
|
4721
|
+
var React73 = __toESM(require("react"));
|
|
4722
|
+
var Rows = React73.forwardRef(({ className, id, gap, ...others }, ref) => {
|
|
5079
4723
|
const { styled } = useTrilogyContext();
|
|
5080
|
-
return /* @__PURE__ */
|
|
4724
|
+
return /* @__PURE__ */ React73.createElement(
|
|
5081
4725
|
"div",
|
|
5082
|
-
|
|
4726
|
+
{
|
|
5083
4727
|
ref,
|
|
5084
4728
|
id,
|
|
5085
4729
|
className: hashClass(
|
|
5086
4730
|
styled,
|
|
5087
|
-
(0,
|
|
5088
|
-
)
|
|
5089
|
-
|
|
4731
|
+
(0, import_clsx66.default)("rows", gap && has(`gap-${gap}`), typeof gap !== "undefined" && gap === 0 && is("gapless"), className)
|
|
4732
|
+
),
|
|
4733
|
+
...others
|
|
4734
|
+
}
|
|
5090
4735
|
);
|
|
5091
4736
|
});
|
|
5092
4737
|
Rows.displayName = "Rows" /* Rows */;
|
|
5093
4738
|
var Rows_default = Rows;
|
|
5094
4739
|
|
|
5095
4740
|
// components/rows/row/Row.tsx
|
|
5096
|
-
var
|
|
5097
|
-
var
|
|
5098
|
-
var Row =
|
|
5099
|
-
var _b = _a, { className, id, narrow } = _b, others = __objRest(_b, ["className", "id", "narrow"]);
|
|
4741
|
+
var import_clsx67 = __toESM(require("clsx"));
|
|
4742
|
+
var React74 = __toESM(require("react"));
|
|
4743
|
+
var Row = React74.forwardRef(({ className, id, narrow, ...others }, ref) => {
|
|
5100
4744
|
const { styled } = useTrilogyContext();
|
|
5101
|
-
const classes = hashClass(styled, (0,
|
|
5102
|
-
return /* @__PURE__ */
|
|
4745
|
+
const classes = hashClass(styled, (0, import_clsx67.default)("row", narrow && is("narrow"), className));
|
|
4746
|
+
return /* @__PURE__ */ React74.createElement("div", { ref, id, className: classes, ...others });
|
|
5103
4747
|
});
|
|
5104
4748
|
Row.displayName = "Row" /* Row */;
|
|
5105
4749
|
var Row_default = Row;
|
|
@@ -5108,9 +4752,9 @@ var Row_default = Row;
|
|
|
5108
4752
|
var row_default = Row_default;
|
|
5109
4753
|
|
|
5110
4754
|
// components/scroll-view/ScrollView.tsx
|
|
5111
|
-
var
|
|
5112
|
-
var
|
|
5113
|
-
var ScrollView =
|
|
4755
|
+
var import_clsx68 = __toESM(require("clsx"));
|
|
4756
|
+
var React75 = __toESM(require("react"));
|
|
4757
|
+
var ScrollView = React75.forwardRef(
|
|
5114
4758
|
({ id, scrollDirection, children }, ref) => {
|
|
5115
4759
|
const { styled } = useTrilogyContext();
|
|
5116
4760
|
const scrollDirectionClassName = () => {
|
|
@@ -5124,23 +4768,22 @@ var ScrollView = React76.forwardRef(
|
|
|
5124
4768
|
return "";
|
|
5125
4769
|
}
|
|
5126
4770
|
};
|
|
5127
|
-
const classes = hashClass(styled, (0,
|
|
5128
|
-
return /* @__PURE__ */
|
|
4771
|
+
const classes = hashClass(styled, (0, import_clsx68.default)("scroll-view", scrollDirection && scrollDirectionClassName()));
|
|
4772
|
+
return /* @__PURE__ */ React75.createElement("div", { ref, className: classes, id }, children);
|
|
5129
4773
|
}
|
|
5130
4774
|
);
|
|
5131
4775
|
ScrollView.displayName = "ScrollView" /* ScrollView */;
|
|
5132
4776
|
var ScrollView_default = ScrollView;
|
|
5133
4777
|
|
|
5134
4778
|
// components/section/Section.tsx
|
|
5135
|
-
var
|
|
4779
|
+
var import_clsx69 = __toESM(require("clsx"));
|
|
5136
4780
|
var import_react37 = __toESM(require("react"));
|
|
5137
4781
|
var Section = import_react37.default.forwardRef(
|
|
5138
|
-
(
|
|
5139
|
-
var _b = _a, { className, id, skeleton, backgroundColor, backgroundSrc, inverted } = _b, others = __objRest(_b, ["className", "id", "skeleton", "backgroundColor", "backgroundSrc", "inverted"]);
|
|
4782
|
+
({ className, id, skeleton, backgroundColor, backgroundSrc, inverted, ...others }, ref) => {
|
|
5140
4783
|
const { styled } = useTrilogyContext();
|
|
5141
4784
|
const _className = hashClass(
|
|
5142
4785
|
styled,
|
|
5143
|
-
(0,
|
|
4786
|
+
(0, import_clsx69.default)(
|
|
5144
4787
|
"section",
|
|
5145
4788
|
className,
|
|
5146
4789
|
backgroundColor && has(getBackgroundClassName(backgroundColor)),
|
|
@@ -5151,14 +4794,15 @@ var Section = import_react37.default.forwardRef(
|
|
|
5151
4794
|
);
|
|
5152
4795
|
return /* @__PURE__ */ import_react37.default.createElement(
|
|
5153
4796
|
"section",
|
|
5154
|
-
|
|
4797
|
+
{
|
|
5155
4798
|
ref,
|
|
5156
|
-
id
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
className: _className
|
|
5161
|
-
|
|
4799
|
+
id,
|
|
4800
|
+
...backgroundSrc && {
|
|
4801
|
+
style: { backgroundImage: `url(${backgroundSrc})` }
|
|
4802
|
+
},
|
|
4803
|
+
className: _className,
|
|
4804
|
+
...others
|
|
4805
|
+
}
|
|
5162
4806
|
);
|
|
5163
4807
|
}
|
|
5164
4808
|
);
|
|
@@ -5166,15 +4810,14 @@ Section.displayName = "Section" /* Section */;
|
|
|
5166
4810
|
var Section_default = Section;
|
|
5167
4811
|
|
|
5168
4812
|
// components/segment-control/SegmentControl.tsx
|
|
5169
|
-
var
|
|
4813
|
+
var import_clsx71 = __toESM(require("clsx"));
|
|
5170
4814
|
var import_react39 = __toESM(require("react"));
|
|
5171
4815
|
|
|
5172
4816
|
// components/segment-control/item/SegmentControlItem.tsx
|
|
5173
|
-
var
|
|
4817
|
+
var import_clsx70 = __toESM(require("clsx"));
|
|
5174
4818
|
var import_react38 = __toESM(require("react"));
|
|
5175
4819
|
var SegmentControlItem = import_react38.default.forwardRef(
|
|
5176
|
-
(
|
|
5177
|
-
var _b = _a, { active, onClick, disabled, className, id, children } = _b, others = __objRest(_b, ["active", "onClick", "disabled", "className", "id", "children"]);
|
|
4820
|
+
({ active, onClick, disabled, className, id, children, ...others }, ref) => {
|
|
5178
4821
|
const [activeItem, setActiveItem] = (0, import_react38.useState)(active || false);
|
|
5179
4822
|
const { styled } = useTrilogyContext();
|
|
5180
4823
|
(0, import_react38.useEffect)(() => {
|
|
@@ -5182,12 +4825,12 @@ var SegmentControlItem = import_react38.default.forwardRef(
|
|
|
5182
4825
|
}, [active]);
|
|
5183
4826
|
return /* @__PURE__ */ import_react38.default.createElement(
|
|
5184
4827
|
"button",
|
|
5185
|
-
|
|
4828
|
+
{
|
|
5186
4829
|
type: "button",
|
|
5187
4830
|
ref,
|
|
5188
4831
|
id,
|
|
5189
4832
|
disabled,
|
|
5190
|
-
className: hashClass(styled, (0,
|
|
4833
|
+
className: hashClass(styled, (0, import_clsx70.default)("segmented-control-item", className, { "is-active": activeItem })),
|
|
5191
4834
|
onClick: (e) => {
|
|
5192
4835
|
const target = e.target;
|
|
5193
4836
|
setActiveItem(active || false);
|
|
@@ -5195,8 +4838,9 @@ var SegmentControlItem = import_react38.default.forwardRef(
|
|
|
5195
4838
|
if (onClick) {
|
|
5196
4839
|
onClick(e);
|
|
5197
4840
|
}
|
|
5198
|
-
}
|
|
5199
|
-
|
|
4841
|
+
},
|
|
4842
|
+
...others
|
|
4843
|
+
},
|
|
5200
4844
|
children
|
|
5201
4845
|
);
|
|
5202
4846
|
}
|
|
@@ -5209,10 +4853,9 @@ var item_default5 = SegmentControlItem_default;
|
|
|
5209
4853
|
|
|
5210
4854
|
// components/segment-control/SegmentControl.tsx
|
|
5211
4855
|
var SegmentControl = import_react39.default.forwardRef(
|
|
5212
|
-
(
|
|
5213
|
-
var _b = _a, { className, id, onClick, children, activeIndex, align } = _b, others = __objRest(_b, ["className", "id", "onClick", "children", "activeIndex", "align"]);
|
|
4856
|
+
({ className, id, onClick, children, activeIndex, align, ...others }, ref) => {
|
|
5214
4857
|
const { styled } = useTrilogyContext();
|
|
5215
|
-
const classes = hashClass(styled, (0,
|
|
4858
|
+
const classes = hashClass(styled, (0, import_clsx71.default)("segmented-control", align && getJustifiedClassName(align), className));
|
|
5216
4859
|
const [activateIndex, setActivateIndex] = (0, import_react39.useState)(activeIndex || 0);
|
|
5217
4860
|
const isActive = (index, childPropsActive) => {
|
|
5218
4861
|
if (typeof childPropsActive !== "undefined" && !activateIndex) {
|
|
@@ -5229,7 +4872,7 @@ var SegmentControl = import_react39.default.forwardRef(
|
|
|
5229
4872
|
import_react39.default.useEffect(() => {
|
|
5230
4873
|
setActivateIndex(activateIndex);
|
|
5231
4874
|
}, [activateIndex]);
|
|
5232
|
-
return /* @__PURE__ */ import_react39.default.createElement("div",
|
|
4875
|
+
return /* @__PURE__ */ import_react39.default.createElement("div", { ref, id, className: classes, ...others }, children && Array.isArray(children) && // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5233
4876
|
children.map((child, index) => {
|
|
5234
4877
|
const props = {
|
|
5235
4878
|
active: Boolean(isActive(index, child.props.active)) || false,
|
|
@@ -5261,7 +4904,7 @@ SegmentControl.displayName = "SegmentControl" /* SegmentControl */;
|
|
|
5261
4904
|
var SegmentControl_default = SegmentControl;
|
|
5262
4905
|
|
|
5263
4906
|
// components/select/Select.tsx
|
|
5264
|
-
var
|
|
4907
|
+
var React82 = __toESM(require("react"));
|
|
5265
4908
|
|
|
5266
4909
|
// components/select/context/index.tsx
|
|
5267
4910
|
var import_react40 = __toESM(require("react"));
|
|
@@ -5275,59 +4918,40 @@ var SelectContext = import_react40.default.createContext({
|
|
|
5275
4918
|
});
|
|
5276
4919
|
|
|
5277
4920
|
// components/select/web/SelectDynamic.tsx
|
|
5278
|
-
var
|
|
4921
|
+
var import_clsx72 = __toESM(require("clsx"));
|
|
5279
4922
|
var import_react41 = __toESM(require("react"));
|
|
5280
4923
|
var import_react_dom = __toESM(require("react-dom"));
|
|
5281
4924
|
var OPTION_SIZE = 48;
|
|
5282
4925
|
var SelectDynamic = import_react41.default.forwardRef(
|
|
5283
|
-
(
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
"onChange",
|
|
5305
|
-
"disabled",
|
|
5306
|
-
"onFocus",
|
|
5307
|
-
"onBlur",
|
|
5308
|
-
"children",
|
|
5309
|
-
"selected",
|
|
5310
|
-
"name",
|
|
5311
|
-
"id",
|
|
5312
|
-
"label",
|
|
5313
|
-
"iconName",
|
|
5314
|
-
"multiple",
|
|
5315
|
-
"className",
|
|
5316
|
-
"status",
|
|
5317
|
-
"placeholder",
|
|
5318
|
-
"required",
|
|
5319
|
-
"custom",
|
|
5320
|
-
"help",
|
|
5321
|
-
"sample"
|
|
5322
|
-
]);
|
|
4926
|
+
({
|
|
4927
|
+
onChange,
|
|
4928
|
+
disabled,
|
|
4929
|
+
onFocus,
|
|
4930
|
+
onBlur,
|
|
4931
|
+
children,
|
|
4932
|
+
selected,
|
|
4933
|
+
name,
|
|
4934
|
+
id,
|
|
4935
|
+
label,
|
|
4936
|
+
iconName,
|
|
4937
|
+
multiple,
|
|
4938
|
+
className,
|
|
4939
|
+
status,
|
|
4940
|
+
placeholder,
|
|
4941
|
+
required,
|
|
4942
|
+
custom,
|
|
4943
|
+
help,
|
|
4944
|
+
sample,
|
|
4945
|
+
...others
|
|
4946
|
+
}, ref) => {
|
|
5323
4947
|
const { styled } = useTrilogyContext();
|
|
5324
4948
|
const { setIsVisibleOptions, isVisibleOptions, selectedOptionValues } = (0, import_react41.useContext)(SelectContext);
|
|
5325
4949
|
const containerRef = (0, import_react41.useRef)(null);
|
|
5326
4950
|
const [openUpward, setOpenUpward] = (0, import_react41.useState)(false);
|
|
5327
4951
|
const optionsListSize = (0, import_react41.useRef)(0);
|
|
5328
4952
|
const [dropdownStyles, setDropdownStyles] = (0, import_react41.useState)({});
|
|
5329
|
-
const selectClasses = hashClass(styled, (0,
|
|
5330
|
-
const optionsClasses = hashClass(styled, (0,
|
|
4953
|
+
const selectClasses = hashClass(styled, (0, import_clsx72.default)("select", className));
|
|
4954
|
+
const optionsClasses = hashClass(styled, (0, import_clsx72.default)("select-options", openUpward && "select-options-top"));
|
|
5331
4955
|
const portalClasses = hashClass(styled, "select-trilogy_modal_open");
|
|
5332
4956
|
const onClickInput = () => {
|
|
5333
4957
|
if (containerRef.current && optionsListSize.current) {
|
|
@@ -5355,14 +4979,14 @@ var SelectDynamic = import_react41.default.forwardRef(
|
|
|
5355
4979
|
});
|
|
5356
4980
|
};
|
|
5357
4981
|
const options = (0, import_react41.useMemo)(() => {
|
|
5358
|
-
var
|
|
5359
|
-
return (
|
|
4982
|
+
var _a;
|
|
4983
|
+
return (_a = import_react41.default.Children.map(children, (child) => {
|
|
5360
4984
|
if (!import_react41.default.isValidElement(child)) return false;
|
|
5361
4985
|
return {
|
|
5362
4986
|
label: child.props.children || child.props.label,
|
|
5363
4987
|
value: child.props.value
|
|
5364
4988
|
};
|
|
5365
|
-
})) == null ? void 0 :
|
|
4989
|
+
})) == null ? void 0 : _a.filter((option) => option);
|
|
5366
4990
|
}, []);
|
|
5367
4991
|
const labelsSelected = (0, import_react41.useMemo)(() => {
|
|
5368
4992
|
return selectedOptionValues.map((selectedOption) => {
|
|
@@ -5376,9 +5000,9 @@ var SelectDynamic = import_react41.default.forwardRef(
|
|
|
5376
5000
|
optionsListSize.current = childrenCount * OPTION_SIZE;
|
|
5377
5001
|
}
|
|
5378
5002
|
}, [children]);
|
|
5379
|
-
return /* @__PURE__ */ import_react41.default.createElement("div",
|
|
5003
|
+
return /* @__PURE__ */ import_react41.default.createElement("div", { className: selectClasses, ref: containerRef, ...others }, /* @__PURE__ */ import_react41.default.createElement(
|
|
5380
5004
|
Input_default,
|
|
5381
|
-
|
|
5005
|
+
{
|
|
5382
5006
|
sample,
|
|
5383
5007
|
help,
|
|
5384
5008
|
required,
|
|
@@ -5400,16 +5024,18 @@ var SelectDynamic = import_react41.default.forwardRef(
|
|
|
5400
5024
|
onKeyUp: (e) => {
|
|
5401
5025
|
e.preventDefault();
|
|
5402
5026
|
onKeyPressInput(e.inputKeyCode);
|
|
5403
|
-
}
|
|
5404
|
-
|
|
5027
|
+
},
|
|
5028
|
+
...{ readOnly: true, id, role: "combobox" }
|
|
5029
|
+
}
|
|
5405
5030
|
), /* @__PURE__ */ import_react41.default.createElement(
|
|
5406
5031
|
"ul",
|
|
5407
5032
|
{
|
|
5408
5033
|
role: "listbox",
|
|
5409
5034
|
className: optionsClasses,
|
|
5410
|
-
style:
|
|
5411
|
-
display: isVisibleOptions ? "block" : "none"
|
|
5412
|
-
|
|
5035
|
+
style: {
|
|
5036
|
+
display: isVisibleOptions ? "block" : "none",
|
|
5037
|
+
...dropdownStyles
|
|
5038
|
+
}
|
|
5413
5039
|
},
|
|
5414
5040
|
children
|
|
5415
5041
|
), isVisibleOptions && import_react_dom.default.createPortal(
|
|
@@ -5422,71 +5048,53 @@ SelectDynamic.displayName = "Select" /* Select */;
|
|
|
5422
5048
|
var SelectDynamic_default = SelectDynamic;
|
|
5423
5049
|
|
|
5424
5050
|
// components/select/web/SelectNative.tsx
|
|
5425
|
-
var
|
|
5426
|
-
var
|
|
5427
|
-
var SelectNative =
|
|
5428
|
-
(
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
"onChange",
|
|
5449
|
-
"disabled",
|
|
5450
|
-
"onFocus",
|
|
5451
|
-
"onBlur",
|
|
5452
|
-
"children",
|
|
5453
|
-
"selected",
|
|
5454
|
-
"name",
|
|
5455
|
-
"id",
|
|
5456
|
-
"testId",
|
|
5457
|
-
"label",
|
|
5458
|
-
"iconName",
|
|
5459
|
-
"className",
|
|
5460
|
-
"accessibilityLabel",
|
|
5461
|
-
"status",
|
|
5462
|
-
"required",
|
|
5463
|
-
"sample",
|
|
5464
|
-
"help"
|
|
5465
|
-
]);
|
|
5051
|
+
var import_clsx73 = __toESM(require("clsx"));
|
|
5052
|
+
var React81 = __toESM(require("react"));
|
|
5053
|
+
var SelectNative = React81.forwardRef(
|
|
5054
|
+
({
|
|
5055
|
+
onChange,
|
|
5056
|
+
disabled,
|
|
5057
|
+
onFocus,
|
|
5058
|
+
onBlur,
|
|
5059
|
+
children,
|
|
5060
|
+
selected,
|
|
5061
|
+
name,
|
|
5062
|
+
id,
|
|
5063
|
+
testId,
|
|
5064
|
+
label,
|
|
5065
|
+
iconName,
|
|
5066
|
+
className,
|
|
5067
|
+
accessibilityLabel,
|
|
5068
|
+
status,
|
|
5069
|
+
required,
|
|
5070
|
+
sample,
|
|
5071
|
+
help,
|
|
5072
|
+
...others
|
|
5073
|
+
}, ref) => {
|
|
5466
5074
|
const { styled } = useTrilogyContext();
|
|
5467
|
-
const idHelp =
|
|
5468
|
-
const idSample =
|
|
5469
|
-
const [focused, setIsFocused] =
|
|
5470
|
-
const [selectedValues, setSelectedValues] =
|
|
5471
|
-
const selectClasses = hashClass(styled, (0,
|
|
5472
|
-
const controlClass = hashClass(styled, (0,
|
|
5473
|
-
const helpClasses = (0,
|
|
5474
|
-
const handleFocus =
|
|
5075
|
+
const idHelp = React81.useId();
|
|
5076
|
+
const idSample = React81.useId();
|
|
5077
|
+
const [focused, setIsFocused] = React81.useState(false);
|
|
5078
|
+
const [selectedValues, setSelectedValues] = React81.useState(selected);
|
|
5079
|
+
const selectClasses = hashClass(styled, (0, import_clsx73.default)("select", className));
|
|
5080
|
+
const controlClass = hashClass(styled, (0, import_clsx73.default)("control", iconName && "has-icons-left"));
|
|
5081
|
+
const helpClasses = (0, import_clsx73.default)("help", status && is(status));
|
|
5082
|
+
const handleFocus = React81.useCallback((e) => {
|
|
5475
5083
|
setIsFocused(true);
|
|
5476
5084
|
onFocus && onFocus(e);
|
|
5477
5085
|
}, []);
|
|
5478
|
-
const handleBlur =
|
|
5086
|
+
const handleBlur = React81.useCallback((e) => {
|
|
5479
5087
|
setIsFocused(false);
|
|
5480
5088
|
onBlur && onBlur(e);
|
|
5481
5089
|
}, []);
|
|
5482
|
-
|
|
5090
|
+
React81.useEffect(() => {
|
|
5483
5091
|
setSelectedValues(selected);
|
|
5484
5092
|
}, [selected]);
|
|
5485
|
-
return /* @__PURE__ */
|
|
5093
|
+
return /* @__PURE__ */ React81.createElement("div", { className: selectClasses }, /* @__PURE__ */ React81.createElement("div", { className: hashClass(styled, (0, import_clsx73.default)("field", focused && "focus")) }, label && /* @__PURE__ */ React81.createElement("label", { className: hashClass(styled, "input-label"), htmlFor: id }, label, " ", required && /* @__PURE__ */ React81.createElement(Text_default, { markup: "span" /* SPAN */, typo: "has-text-error" /* TEXT_ERROR */ }, "*")), sample && /* @__PURE__ */ React81.createElement(Text_default, { className: "input-sample", level: 2 /* TWO */, id: idSample }, sample), /* @__PURE__ */ React81.createElement("div", { className: controlClass }, /* @__PURE__ */ React81.createElement(
|
|
5486
5094
|
"select",
|
|
5487
|
-
|
|
5095
|
+
{
|
|
5488
5096
|
ref,
|
|
5489
|
-
className: hashClass(styled, (0,
|
|
5097
|
+
className: hashClass(styled, (0, import_clsx73.default)(!label && "no-label", status && is(status))),
|
|
5490
5098
|
value: selectedValues,
|
|
5491
5099
|
"aria-label": accessibilityLabel,
|
|
5492
5100
|
"data-testid": testId,
|
|
@@ -5509,32 +5117,33 @@ var SelectNative = React82.forwardRef(
|
|
|
5509
5117
|
id: id ? String(id) : void 0,
|
|
5510
5118
|
name,
|
|
5511
5119
|
disabled,
|
|
5512
|
-
role: "listbox"
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5120
|
+
role: "listbox",
|
|
5121
|
+
...others
|
|
5122
|
+
},
|
|
5123
|
+
React81.Children.map(children, (child) => {
|
|
5124
|
+
if (!React81.isValidElement(child)) return null;
|
|
5125
|
+
const props = {
|
|
5126
|
+
...child.props,
|
|
5517
5127
|
native: "true"
|
|
5518
|
-
}
|
|
5519
|
-
return /* @__PURE__ */
|
|
5128
|
+
};
|
|
5129
|
+
return /* @__PURE__ */ React81.createElement(option_default, { ...props });
|
|
5520
5130
|
})
|
|
5521
|
-
), iconName && /* @__PURE__ */
|
|
5131
|
+
), iconName && /* @__PURE__ */ React81.createElement(Icon_default, { name: iconName, size: "small" })), help && /* @__PURE__ */ React81.createElement(Text_default, { className: helpClasses, id: idHelp }, help)));
|
|
5522
5132
|
}
|
|
5523
5133
|
);
|
|
5524
5134
|
SelectNative.displayName = "Select" /* Select */;
|
|
5525
5135
|
var SelectNative_default = SelectNative;
|
|
5526
5136
|
|
|
5527
5137
|
// components/select/Select.tsx
|
|
5528
|
-
var Select =
|
|
5529
|
-
|
|
5530
|
-
const [
|
|
5531
|
-
|
|
5532
|
-
React83.useEffect(() => {
|
|
5138
|
+
var Select = React82.forwardRef(({ selected, ...props }, ref) => {
|
|
5139
|
+
const [isVisibleOptions, setIsVisibleOptions] = React82.useState(false);
|
|
5140
|
+
const [selectedOptionValues, setSelectedOptionValues] = React82.useState([]);
|
|
5141
|
+
React82.useEffect(() => {
|
|
5533
5142
|
const value = typeof selected === "string" || typeof selected === "number" ? [selected] : !selected || selected === null ? [] : selected;
|
|
5534
5143
|
setSelectedOptionValues(value);
|
|
5535
5144
|
}, [selected]);
|
|
5536
5145
|
if (props.custom || props.multiple)
|
|
5537
|
-
return /* @__PURE__ */
|
|
5146
|
+
return /* @__PURE__ */ React82.createElement(
|
|
5538
5147
|
SelectContext.Provider,
|
|
5539
5148
|
{
|
|
5540
5149
|
value: {
|
|
@@ -5547,23 +5156,22 @@ var Select = React83.forwardRef((_a, ref) => {
|
|
|
5547
5156
|
onChange: props.onChange
|
|
5548
5157
|
}
|
|
5549
5158
|
},
|
|
5550
|
-
/* @__PURE__ */
|
|
5159
|
+
/* @__PURE__ */ React82.createElement(SelectDynamic_default, { ref, selected, ...props })
|
|
5551
5160
|
);
|
|
5552
|
-
return /* @__PURE__ */
|
|
5161
|
+
return /* @__PURE__ */ React82.createElement(SelectNative_default, { ref, selected, ...props });
|
|
5553
5162
|
});
|
|
5554
5163
|
Select.displayName = "Select" /* Select */;
|
|
5555
5164
|
var Select_default = Select;
|
|
5556
5165
|
|
|
5557
5166
|
// components/select/option/SelectOption.tsx
|
|
5558
|
-
var
|
|
5559
|
-
var
|
|
5560
|
-
var SelectOption =
|
|
5561
|
-
(
|
|
5562
|
-
var _b = _a, { id, className, value = "", disabled, children, onClick, label, iconName, testId } = _b, others = __objRest(_b, ["id", "className", "value", "disabled", "children", "onClick", "label", "iconName", "testId"]);
|
|
5167
|
+
var import_clsx74 = __toESM(require("clsx"));
|
|
5168
|
+
var React83 = __toESM(require("react"));
|
|
5169
|
+
var SelectOption = React83.forwardRef(
|
|
5170
|
+
({ id, className, value = "", disabled, children, onClick, label, iconName, testId, ...others }, ref) => {
|
|
5563
5171
|
const { styled } = useTrilogyContext();
|
|
5564
|
-
const { custom, selectedOptionValues, setSelectedOptionValues, multiple, setIsVisibleOptions, onChange } =
|
|
5172
|
+
const { custom, selectedOptionValues, setSelectedOptionValues, multiple, setIsVisibleOptions, onChange } = React83.useContext(SelectContext);
|
|
5565
5173
|
const isChecked = selectedOptionValues.includes(value);
|
|
5566
|
-
const selectClasses = hashClass(styled, (0,
|
|
5174
|
+
const selectClasses = hashClass(styled, (0, import_clsx74.default)("option", isChecked && "focus", disabled && is("disabled"), className));
|
|
5567
5175
|
const handleClickOption = () => {
|
|
5568
5176
|
setSelectedOptionValues((prev) => {
|
|
5569
5177
|
const isInclude = prev.includes(value);
|
|
@@ -5583,9 +5191,9 @@ var SelectOption = React84.forwardRef(
|
|
|
5583
5191
|
if (!multiple) setIsVisibleOptions(false);
|
|
5584
5192
|
};
|
|
5585
5193
|
if (custom || multiple) {
|
|
5586
|
-
return /* @__PURE__ */
|
|
5194
|
+
return /* @__PURE__ */ React83.createElement(
|
|
5587
5195
|
"li",
|
|
5588
|
-
|
|
5196
|
+
{
|
|
5589
5197
|
ref,
|
|
5590
5198
|
id,
|
|
5591
5199
|
className: selectClasses,
|
|
@@ -5593,15 +5201,16 @@ var SelectOption = React84.forwardRef(
|
|
|
5593
5201
|
role: "option",
|
|
5594
5202
|
"aria-selected": isChecked,
|
|
5595
5203
|
"data-value": value,
|
|
5596
|
-
onClick: !disabled ? handleClickOption : void 0
|
|
5597
|
-
|
|
5598
|
-
|
|
5204
|
+
onClick: !disabled ? handleClickOption : void 0,
|
|
5205
|
+
...others
|
|
5206
|
+
},
|
|
5207
|
+
iconName && /* @__PURE__ */ React83.createElement(Icon_default, { name: iconName }),
|
|
5599
5208
|
label || children
|
|
5600
5209
|
);
|
|
5601
5210
|
}
|
|
5602
|
-
return /* @__PURE__ */
|
|
5211
|
+
return /* @__PURE__ */ React83.createElement(
|
|
5603
5212
|
"option",
|
|
5604
|
-
|
|
5213
|
+
{
|
|
5605
5214
|
ref,
|
|
5606
5215
|
role: "option",
|
|
5607
5216
|
id,
|
|
@@ -5609,8 +5218,9 @@ var SelectOption = React84.forwardRef(
|
|
|
5609
5218
|
disabled,
|
|
5610
5219
|
"aria-label": label,
|
|
5611
5220
|
"data-testid": testId,
|
|
5612
|
-
onClick
|
|
5613
|
-
|
|
5221
|
+
onClick,
|
|
5222
|
+
...others
|
|
5223
|
+
},
|
|
5614
5224
|
children || label
|
|
5615
5225
|
);
|
|
5616
5226
|
}
|
|
@@ -5628,11 +5238,27 @@ var SelectStatus = /* @__PURE__ */ ((SelectStatus2) => {
|
|
|
5628
5238
|
return SelectStatus2;
|
|
5629
5239
|
})(SelectStatus || {});
|
|
5630
5240
|
|
|
5241
|
+
// components/spacer/Spacer.tsx
|
|
5242
|
+
var import_clsx75 = __toESM(require("clsx"));
|
|
5243
|
+
var React84 = __toESM(require("react"));
|
|
5244
|
+
var Spacer = React84.forwardRef(({ size: size2, horizontal, className, id }, ref) => {
|
|
5245
|
+
const { styled } = useTrilogyContext();
|
|
5246
|
+
const styles = {
|
|
5247
|
+
spacer: {
|
|
5248
|
+
marginLeft: horizontal ? `${size2}px` : "0px",
|
|
5249
|
+
marginTop: !horizontal ? `${size2}px` : "0px"
|
|
5250
|
+
}
|
|
5251
|
+
};
|
|
5252
|
+
const classes = hashClass(styled, (0, import_clsx75.default)(className));
|
|
5253
|
+
return /* @__PURE__ */ React84.createElement("div", { ref, id, style: styles.spacer, className: classes });
|
|
5254
|
+
});
|
|
5255
|
+
Spacer.displayName = "Spacer" /* Spacer */;
|
|
5256
|
+
var Spacer_default = Spacer;
|
|
5257
|
+
|
|
5631
5258
|
// components/stepper/Stepper.tsx
|
|
5632
5259
|
var import_clsx76 = __toESM(require("clsx"));
|
|
5633
5260
|
var React85 = __toESM(require("react"));
|
|
5634
|
-
var Stepper = React85.forwardRef((
|
|
5635
|
-
var _b = _a, { className, id, children } = _b, others = __objRest(_b, ["className", "id", "children"]);
|
|
5261
|
+
var Stepper = React85.forwardRef(({ className, id, children, ...others }, ref) => {
|
|
5636
5262
|
const { styled } = useTrilogyContext();
|
|
5637
5263
|
const classes = hashClass(styled, (0, import_clsx76.default)("stepper-wrapper", className));
|
|
5638
5264
|
const [currentStep, setCurrentStep] = React85.useState(1);
|
|
@@ -5646,8 +5272,8 @@ var Stepper = React85.forwardRef((_a, ref) => {
|
|
|
5646
5272
|
if (Array.isArray(children)) {
|
|
5647
5273
|
let haveCurrentStep = false;
|
|
5648
5274
|
children.map((child, index) => {
|
|
5649
|
-
var
|
|
5650
|
-
if ((
|
|
5275
|
+
var _a;
|
|
5276
|
+
if ((_a = child == null ? void 0 : child.props) == null ? void 0 : _a.current) {
|
|
5651
5277
|
haveCurrentStep = true;
|
|
5652
5278
|
setCurrentStep(index + 1);
|
|
5653
5279
|
}
|
|
@@ -5658,7 +5284,7 @@ var Stepper = React85.forwardRef((_a, ref) => {
|
|
|
5658
5284
|
}
|
|
5659
5285
|
}
|
|
5660
5286
|
}, [children]);
|
|
5661
|
-
return /* @__PURE__ */ React85.createElement("div",
|
|
5287
|
+
return /* @__PURE__ */ React85.createElement("div", { ref, id, className: classes, ...others }, children, /* @__PURE__ */ React85.createElement("div", { className: "step-count" }, /* @__PURE__ */ React85.createElement(Text_default, null, currentStep, "/", nbChild)));
|
|
5662
5288
|
});
|
|
5663
5289
|
Stepper.displayName = "Stepper" /* Stepper */;
|
|
5664
5290
|
var Stepper_default = Stepper;
|
|
@@ -5667,8 +5293,7 @@ var Stepper_default = Stepper;
|
|
|
5667
5293
|
var import_clsx77 = __toESM(require("clsx"));
|
|
5668
5294
|
var import_react42 = __toESM(require("react"));
|
|
5669
5295
|
var Step = import_react42.default.forwardRef(
|
|
5670
|
-
(
|
|
5671
|
-
var _b = _a, { className, id, active, current, done, label, iconName, error } = _b, others = __objRest(_b, ["className", "id", "active", "current", "done", "label", "iconName", "error"]);
|
|
5296
|
+
({ className, id, active, current, done, label, iconName, error, ...others }, ref) => {
|
|
5672
5297
|
const { styled } = useTrilogyContext();
|
|
5673
5298
|
const classesStepLabel = hashClass(styled, (0, import_clsx77.default)("step-label"));
|
|
5674
5299
|
const classes = hashClass(
|
|
@@ -5682,7 +5307,7 @@ var Step = import_react42.default.forwardRef(
|
|
|
5682
5307
|
className
|
|
5683
5308
|
)
|
|
5684
5309
|
);
|
|
5685
|
-
return /* @__PURE__ */ import_react42.default.createElement("div",
|
|
5310
|
+
return /* @__PURE__ */ import_react42.default.createElement("div", { ref, id, className: classes, "data-label": label, ...others }, /* @__PURE__ */ import_react42.default.createElement("div", { className: classesStepLabel }, label, !done && iconName && /* @__PURE__ */ import_react42.default.createElement(Icon_default, { name: iconName && iconName, className: "step-icon", size: "medium" /* MEDIUM */ })));
|
|
5686
5311
|
}
|
|
5687
5312
|
);
|
|
5688
5313
|
Step.displayName = "Step" /* Step */;
|
|
@@ -5704,36 +5329,22 @@ var StepMarkup = /* @__PURE__ */ ((StepMarkup2) => {
|
|
|
5704
5329
|
var import_clsx78 = __toESM(require("clsx"));
|
|
5705
5330
|
var import_react43 = __toESM(require("react"));
|
|
5706
5331
|
var Switch = import_react43.default.forwardRef(
|
|
5707
|
-
(
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
"className",
|
|
5724
|
-
"id",
|
|
5725
|
-
"label",
|
|
5726
|
-
"value",
|
|
5727
|
-
"checked",
|
|
5728
|
-
"onChange",
|
|
5729
|
-
"onClick",
|
|
5730
|
-
"status",
|
|
5731
|
-
"disabled",
|
|
5732
|
-
"readonly",
|
|
5733
|
-
"name",
|
|
5734
|
-
"reversed",
|
|
5735
|
-
"fullWidth"
|
|
5736
|
-
]);
|
|
5332
|
+
({
|
|
5333
|
+
className,
|
|
5334
|
+
id = import_react43.default.useId(),
|
|
5335
|
+
label,
|
|
5336
|
+
value,
|
|
5337
|
+
checked,
|
|
5338
|
+
onChange,
|
|
5339
|
+
onClick,
|
|
5340
|
+
status,
|
|
5341
|
+
disabled,
|
|
5342
|
+
readonly,
|
|
5343
|
+
name,
|
|
5344
|
+
reversed,
|
|
5345
|
+
fullWidth,
|
|
5346
|
+
...others
|
|
5347
|
+
}, ref) => {
|
|
5737
5348
|
const [_checked, setChecked] = (0, import_react43.useState)(checked || false);
|
|
5738
5349
|
const { styled } = useTrilogyContext();
|
|
5739
5350
|
import_react43.default.useEffect(() => {
|
|
@@ -5755,7 +5366,7 @@ var Switch = import_react43.default.forwardRef(
|
|
|
5755
5366
|
},
|
|
5756
5367
|
/* @__PURE__ */ import_react43.default.createElement(
|
|
5757
5368
|
"input",
|
|
5758
|
-
|
|
5369
|
+
{
|
|
5759
5370
|
onChange: (e) => {
|
|
5760
5371
|
if (!readonly) {
|
|
5761
5372
|
setChecked(!_checked);
|
|
@@ -5785,8 +5396,9 @@ var Switch = import_react43.default.forwardRef(
|
|
|
5785
5396
|
id: `switch-${id}`,
|
|
5786
5397
|
type: "checkbox",
|
|
5787
5398
|
disabled,
|
|
5788
|
-
className: hashClass(styled, (0, import_clsx78.default)(status && is(getStatusClassName(status))))
|
|
5789
|
-
|
|
5399
|
+
className: hashClass(styled, (0, import_clsx78.default)(status && is(getStatusClassName(status)))),
|
|
5400
|
+
...others
|
|
5401
|
+
}
|
|
5790
5402
|
),
|
|
5791
5403
|
/* @__PURE__ */ import_react43.default.createElement("label", { htmlFor: `switch-${id}` }, label)
|
|
5792
5404
|
);
|
|
@@ -5808,22 +5420,15 @@ var TableBorderEnum = /* @__PURE__ */ ((TableBorderEnum2) => {
|
|
|
5808
5420
|
})(TableBorderEnum || {});
|
|
5809
5421
|
|
|
5810
5422
|
// components/table/Table.tsx
|
|
5811
|
-
var Table = React88.forwardRef((
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
"className",
|
|
5821
|
-
"id",
|
|
5822
|
-
"fullwidth",
|
|
5823
|
-
"border",
|
|
5824
|
-
"striped",
|
|
5825
|
-
"compact"
|
|
5826
|
-
]);
|
|
5423
|
+
var Table = React88.forwardRef(({
|
|
5424
|
+
className,
|
|
5425
|
+
id,
|
|
5426
|
+
fullwidth,
|
|
5427
|
+
border = "lines" /* LINES */,
|
|
5428
|
+
striped,
|
|
5429
|
+
compact,
|
|
5430
|
+
...others
|
|
5431
|
+
}, ref) => {
|
|
5827
5432
|
const { styled } = useTrilogyContext();
|
|
5828
5433
|
const classes = hashClass(
|
|
5829
5434
|
styled,
|
|
@@ -5836,7 +5441,7 @@ var Table = React88.forwardRef((_a, ref) => {
|
|
|
5836
5441
|
className
|
|
5837
5442
|
)
|
|
5838
5443
|
);
|
|
5839
|
-
return /* @__PURE__ */ React88.createElement("table",
|
|
5444
|
+
return /* @__PURE__ */ React88.createElement("table", { ref, id, className: classes, ...others });
|
|
5840
5445
|
});
|
|
5841
5446
|
Table.displayName = "Table" /* Table */;
|
|
5842
5447
|
var Table_default = Table;
|
|
@@ -5844,8 +5449,7 @@ var Table_default = Table;
|
|
|
5844
5449
|
// components/table/head/TableHead.tsx
|
|
5845
5450
|
var React89 = __toESM(require("react"));
|
|
5846
5451
|
var import_clsx80 = __toESM(require("clsx"));
|
|
5847
|
-
var TableHead = React89.forwardRef((
|
|
5848
|
-
var _b = _a, { className, id, color, backgroundColor } = _b, others = __objRest(_b, ["className", "id", "color", "backgroundColor"]);
|
|
5452
|
+
var TableHead = React89.forwardRef(({ className, id, color, backgroundColor, ...others }, ref) => {
|
|
5849
5453
|
const { styled } = useTrilogyContext();
|
|
5850
5454
|
const classes = hashClass(
|
|
5851
5455
|
styled,
|
|
@@ -5855,7 +5459,7 @@ var TableHead = React89.forwardRef((_a, ref) => {
|
|
|
5855
5459
|
color && is(getColorClassName(color))
|
|
5856
5460
|
)
|
|
5857
5461
|
);
|
|
5858
|
-
return /* @__PURE__ */ React89.createElement("thead",
|
|
5462
|
+
return /* @__PURE__ */ React89.createElement("thead", { ref, id, className: classes, ...others });
|
|
5859
5463
|
});
|
|
5860
5464
|
TableHead.displayName = "TableHead" /* TableHead */;
|
|
5861
5465
|
var TableHead_default = TableHead;
|
|
@@ -5866,8 +5470,7 @@ var head_default = TableHead_default;
|
|
|
5866
5470
|
// components/table/body/TableBody.tsx
|
|
5867
5471
|
var React90 = __toESM(require("react"));
|
|
5868
5472
|
var import_clsx81 = __toESM(require("clsx"));
|
|
5869
|
-
var TableBody = React90.forwardRef((
|
|
5870
|
-
var _b = _a, { className, id, color, backgroundColor } = _b, others = __objRest(_b, ["className", "id", "color", "backgroundColor"]);
|
|
5473
|
+
var TableBody = React90.forwardRef(({ className, id, color, backgroundColor, ...others }, ref) => {
|
|
5871
5474
|
const { styled } = useTrilogyContext();
|
|
5872
5475
|
const classes = hashClass(
|
|
5873
5476
|
styled,
|
|
@@ -5877,7 +5480,7 @@ var TableBody = React90.forwardRef((_a, ref) => {
|
|
|
5877
5480
|
color && is(getColorClassName(color))
|
|
5878
5481
|
)
|
|
5879
5482
|
);
|
|
5880
|
-
return /* @__PURE__ */ React90.createElement("tbody",
|
|
5483
|
+
return /* @__PURE__ */ React90.createElement("tbody", { ref, id, className: classes, ...others });
|
|
5881
5484
|
});
|
|
5882
5485
|
TableBody.displayName = "TableBody" /* TableBody */;
|
|
5883
5486
|
var TableBody_default = TableBody;
|
|
@@ -5888,11 +5491,10 @@ var body_default = TableBody_default;
|
|
|
5888
5491
|
// components/table/th/TableTh.tsx
|
|
5889
5492
|
var React91 = __toESM(require("react"));
|
|
5890
5493
|
var import_clsx82 = __toESM(require("clsx"));
|
|
5891
|
-
var TableTh = React91.forwardRef((
|
|
5892
|
-
var _b = _a, { className, id, colSpan, rowSpan } = _b, others = __objRest(_b, ["className", "id", "colSpan", "rowSpan"]);
|
|
5494
|
+
var TableTh = React91.forwardRef(({ className, id, colSpan, rowSpan, ...others }, ref) => {
|
|
5893
5495
|
const { styled } = useTrilogyContext();
|
|
5894
5496
|
const classes = hashClass(styled, (0, import_clsx82.default)(className));
|
|
5895
|
-
return /* @__PURE__ */ React91.createElement("th",
|
|
5497
|
+
return /* @__PURE__ */ React91.createElement("th", { ref, id, className: classes, colSpan, rowSpan, ...others });
|
|
5896
5498
|
});
|
|
5897
5499
|
TableTh.displayName = "TableTh" /* TableTh */;
|
|
5898
5500
|
var TableTh_default = TableTh;
|
|
@@ -5903,22 +5505,15 @@ var th_default = TableTh_default;
|
|
|
5903
5505
|
// components/table/tr/TableTr.tsx
|
|
5904
5506
|
var React92 = __toESM(require("react"));
|
|
5905
5507
|
var import_clsx83 = __toESM(require("clsx"));
|
|
5906
|
-
var TableTr = React92.forwardRef((
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
"className",
|
|
5916
|
-
"id",
|
|
5917
|
-
"expandable",
|
|
5918
|
-
"expanded",
|
|
5919
|
-
"expansion",
|
|
5920
|
-
"color"
|
|
5921
|
-
]);
|
|
5508
|
+
var TableTr = React92.forwardRef(({
|
|
5509
|
+
className,
|
|
5510
|
+
id,
|
|
5511
|
+
expandable,
|
|
5512
|
+
expanded,
|
|
5513
|
+
expansion,
|
|
5514
|
+
color,
|
|
5515
|
+
...others
|
|
5516
|
+
}, ref) => {
|
|
5922
5517
|
const { styled } = useTrilogyContext();
|
|
5923
5518
|
const classes = hashClass(
|
|
5924
5519
|
styled,
|
|
@@ -5930,7 +5525,7 @@ var TableTr = React92.forwardRef((_a, ref) => {
|
|
|
5930
5525
|
color && getColorClassName(color)
|
|
5931
5526
|
)
|
|
5932
5527
|
);
|
|
5933
|
-
return /* @__PURE__ */ React92.createElement("tr",
|
|
5528
|
+
return /* @__PURE__ */ React92.createElement("tr", { ref, id, className: classes, ...others });
|
|
5934
5529
|
});
|
|
5935
5530
|
TableTr.displayName = "TableTr" /* TableTr */;
|
|
5936
5531
|
var TableTr_default = TableTr;
|
|
@@ -5941,11 +5536,10 @@ var tr_default = TableTr_default;
|
|
|
5941
5536
|
// components/table/td/TableTd.tsx
|
|
5942
5537
|
var React93 = __toESM(require("react"));
|
|
5943
5538
|
var import_clsx84 = __toESM(require("clsx"));
|
|
5944
|
-
var TableTd = React93.forwardRef((
|
|
5945
|
-
var _b = _a, { className, id, rowSpan, colSpan } = _b, others = __objRest(_b, ["className", "id", "rowSpan", "colSpan"]);
|
|
5539
|
+
var TableTd = React93.forwardRef(({ className, id, rowSpan, colSpan, ...others }, ref) => {
|
|
5946
5540
|
const { styled } = useTrilogyContext();
|
|
5947
5541
|
const classes = hashClass(styled, (0, import_clsx84.default)(className));
|
|
5948
|
-
return /* @__PURE__ */ React93.createElement("td",
|
|
5542
|
+
return /* @__PURE__ */ React93.createElement("td", { ref, id, className: classes, rowSpan, colSpan, ...others });
|
|
5949
5543
|
});
|
|
5950
5544
|
TableTd.displayName = "TableTd" /* TableTd */;
|
|
5951
5545
|
var TableTd_default = TableTd;
|
|
@@ -5999,13 +5593,12 @@ var Tabs_default = Tabs;
|
|
|
5999
5593
|
// components/tabs/tab-panels/tab-panel/TabPanel.tsx
|
|
6000
5594
|
var import_clsx86 = __toESM(require("clsx"));
|
|
6001
5595
|
var import_react46 = __toESM(require("react"));
|
|
6002
|
-
var TabPanel = import_react46.default.forwardRef((
|
|
6003
|
-
var _b = _a, { children, className, testId } = _b, others = __objRest(_b, ["children", "className", "testId"]);
|
|
5596
|
+
var TabPanel = import_react46.default.forwardRef(({ children, className, testId, ...others }, ref) => {
|
|
6004
5597
|
const { styled } = useTrilogyContext();
|
|
6005
|
-
const
|
|
5598
|
+
const { index, ...props } = others;
|
|
6006
5599
|
const { activeIndex } = import_react46.default.useContext(TabsContext);
|
|
6007
5600
|
const classes = hashClass(styled, (0, import_clsx86.default)("tab-panel", index === activeIndex && is("active"), className));
|
|
6008
|
-
return /* @__PURE__ */ import_react46.default.createElement("div",
|
|
5601
|
+
return /* @__PURE__ */ import_react46.default.createElement("div", { ref, "data-testid": testId, className: classes, ...props }, children);
|
|
6009
5602
|
});
|
|
6010
5603
|
TabPanel.displayName = "TabPanel" /* TabPanel */;
|
|
6011
5604
|
var TabPanel_default = TabPanel;
|
|
@@ -6017,13 +5610,12 @@ var tab_panel_default = TabPanel_default;
|
|
|
6017
5610
|
var import_clsx87 = __toESM(require("clsx"));
|
|
6018
5611
|
var import_react47 = __toESM(require("react"));
|
|
6019
5612
|
var TabPanels = import_react47.default.forwardRef(
|
|
6020
|
-
(
|
|
6021
|
-
var _b = _a, { children, className, id, testId } = _b, others = __objRest(_b, ["children", "className", "id", "testId"]);
|
|
5613
|
+
({ children, className, id, testId, ...others }, ref) => {
|
|
6022
5614
|
const { styled } = useTrilogyContext();
|
|
6023
5615
|
const classes = hashClass(styled, (0, import_clsx87.default)("tab-panels", className));
|
|
6024
|
-
return /* @__PURE__ */ import_react47.default.createElement("div",
|
|
5616
|
+
return /* @__PURE__ */ import_react47.default.createElement("div", { ref, id, "data-testid": testId, className: classes, ...others }, import_react47.default.Children.map(children, (child, index) => {
|
|
6025
5617
|
if (!import_react47.default.isValidElement(child)) return false;
|
|
6026
|
-
return /* @__PURE__ */ import_react47.default.createElement(tab_panel_default,
|
|
5618
|
+
return /* @__PURE__ */ import_react47.default.createElement(tab_panel_default, { ...child.props, index });
|
|
6027
5619
|
}));
|
|
6028
5620
|
}
|
|
6029
5621
|
);
|
|
@@ -6034,10 +5626,9 @@ var TabPanels_default = TabPanels;
|
|
|
6034
5626
|
var import_clsx88 = __toESM(require("clsx"));
|
|
6035
5627
|
var import_react48 = __toESM(require("react"));
|
|
6036
5628
|
var Tab = import_react48.default.forwardRef(
|
|
6037
|
-
(
|
|
6038
|
-
var _b = _a, { active, className, onClick, routerLink = "a", iconName, label, disabled, testId, ariaControls } = _b, others = __objRest(_b, ["active", "className", "onClick", "routerLink", "iconName", "label", "disabled", "testId", "ariaControls"]);
|
|
5629
|
+
({ active, className, onClick, routerLink = "a", iconName, label, disabled, testId, ariaControls, ...others }, ref) => {
|
|
6039
5630
|
const { styled } = useTrilogyContext();
|
|
6040
|
-
const
|
|
5631
|
+
const { index, ...props } = others;
|
|
6041
5632
|
const { activeIndex, setActiveIndex, small } = import_react48.default.useContext(TabsContext);
|
|
6042
5633
|
const Tag2 = others.href || others.to ? routerLink : "button";
|
|
6043
5634
|
const isActive = import_react48.default.useMemo(() => activeIndex === index, [activeIndex, index]);
|
|
@@ -6056,7 +5647,7 @@ var Tab = import_react48.default.forwardRef(
|
|
|
6056
5647
|
}, [active, setActiveIndex, index]);
|
|
6057
5648
|
return /* @__PURE__ */ import_react48.default.createElement(
|
|
6058
5649
|
Tag2,
|
|
6059
|
-
|
|
5650
|
+
{
|
|
6060
5651
|
ref,
|
|
6061
5652
|
"aria-controls": ariaControls,
|
|
6062
5653
|
"aria-disabled": disabled,
|
|
@@ -6067,8 +5658,9 @@ var Tab = import_react48.default.forwardRef(
|
|
|
6067
5658
|
role: "tab",
|
|
6068
5659
|
"data-testid": testId,
|
|
6069
5660
|
"data-index": index,
|
|
6070
|
-
onClick: handleClick
|
|
6071
|
-
|
|
5661
|
+
onClick: handleClick,
|
|
5662
|
+
...props
|
|
5663
|
+
},
|
|
6072
5664
|
/* @__PURE__ */ import_react48.default.createElement("div", { className: hashClass(styled, "tab-icon") }, iconName && /* @__PURE__ */ import_react48.default.createElement(Icon_default, { size: small ? "small" : "medium", name: iconName })),
|
|
6073
5665
|
label && /* @__PURE__ */ import_react48.default.createElement(Text_default, null, label)
|
|
6074
5666
|
);
|
|
@@ -6081,8 +5673,7 @@ var Tab_default = Tab;
|
|
|
6081
5673
|
var import_clsx89 = __toESM(require("clsx"));
|
|
6082
5674
|
var import_react49 = __toESM(require("react"));
|
|
6083
5675
|
var TabList = import_react49.default.forwardRef(
|
|
6084
|
-
(
|
|
6085
|
-
var _b = _a, { children, className, id, testId, align } = _b, others = __objRest(_b, ["children", "className", "id", "testId", "align"]);
|
|
5676
|
+
({ children, className, id, testId, align, ...others }, ref) => {
|
|
6086
5677
|
const { styled } = useTrilogyContext();
|
|
6087
5678
|
const TabListRef = import_react49.default.useRef(null);
|
|
6088
5679
|
const tabRefs = import_react49.default.useRef([]);
|
|
@@ -6106,21 +5697,22 @@ var TabList = import_react49.default.forwardRef(
|
|
|
6106
5697
|
if (!import_react49.default.isValidElement(child)) return false;
|
|
6107
5698
|
return /* @__PURE__ */ import_react49.default.createElement(
|
|
6108
5699
|
Tab_default,
|
|
6109
|
-
|
|
5700
|
+
{
|
|
6110
5701
|
ref: (el) => tabRefs.current[index] = el == null ? void 0 : el.getBoundingClientRect(),
|
|
6111
|
-
index
|
|
6112
|
-
|
|
5702
|
+
index,
|
|
5703
|
+
...child.props
|
|
5704
|
+
}
|
|
6113
5705
|
);
|
|
6114
5706
|
});
|
|
6115
5707
|
}, [children, tabRefs]);
|
|
6116
5708
|
const scrollWithArrow = import_react49.default.useCallback(
|
|
6117
5709
|
(direction) => {
|
|
6118
|
-
var
|
|
5710
|
+
var _a;
|
|
6119
5711
|
if (tabRefs.current) {
|
|
6120
5712
|
const firstGap = tabRefs.current[0].x;
|
|
6121
5713
|
const nextTab = tabFocused + direction;
|
|
6122
5714
|
const nextPosition = tabRefs.current[nextTab === -1 ? 0 : nextTab];
|
|
6123
|
-
nextPosition && ((
|
|
5715
|
+
nextPosition && ((_a = TabListRef.current) == null ? void 0 : _a.scrollTo({ left: nextPosition.x - firstGap, behavior: "smooth" }));
|
|
6124
5716
|
}
|
|
6125
5717
|
},
|
|
6126
5718
|
[tabRefs.current, tabFocused, TabListRef]
|
|
@@ -6158,14 +5750,15 @@ var TabList = import_react49.default.forwardRef(
|
|
|
6158
5750
|
}, [TabListRef, setWidths]);
|
|
6159
5751
|
return /* @__PURE__ */ import_react49.default.createElement(
|
|
6160
5752
|
"div",
|
|
6161
|
-
|
|
5753
|
+
{
|
|
6162
5754
|
ref: TabListRef,
|
|
6163
5755
|
id,
|
|
6164
5756
|
"data-testid": testId,
|
|
6165
5757
|
"data-tablist": "",
|
|
6166
5758
|
className: classes,
|
|
6167
|
-
onScroll: handleScrollList
|
|
6168
|
-
|
|
5759
|
+
onScroll: handleScrollList,
|
|
5760
|
+
...others
|
|
5761
|
+
},
|
|
6169
5762
|
isVisibleArrowLeft && /* @__PURE__ */ import_react49.default.createElement(
|
|
6170
5763
|
Icon_default,
|
|
6171
5764
|
{
|
|
@@ -6197,8 +5790,7 @@ var TabList_default = TabList;
|
|
|
6197
5790
|
var import_clsx90 = __toESM(require("clsx"));
|
|
6198
5791
|
var import_react50 = __toESM(require("react"));
|
|
6199
5792
|
var Tag = import_react50.default.forwardRef(
|
|
6200
|
-
(
|
|
6201
|
-
var _b = _a, { label, className, id, variant, inverted, small, iconName } = _b, others = __objRest(_b, ["label", "className", "id", "variant", "inverted", "small", "iconName"]);
|
|
5793
|
+
({ label, className, id, variant, inverted, small, iconName, ...others }, ref) => {
|
|
6202
5794
|
const { styled } = useTrilogyContext();
|
|
6203
5795
|
const tagClassNames = hashClass(
|
|
6204
5796
|
styled,
|
|
@@ -6214,7 +5806,7 @@ var Tag = import_react50.default.forwardRef(
|
|
|
6214
5806
|
styled,
|
|
6215
5807
|
(0, import_clsx90.default)(variant && is(getColorClassName(variant)))
|
|
6216
5808
|
);
|
|
6217
|
-
return /* @__PURE__ */ import_react50.default.createElement("span",
|
|
5809
|
+
return /* @__PURE__ */ import_react50.default.createElement("span", { ref, id, className: tagClassNames, ...others }, iconName && /* @__PURE__ */ import_react50.default.createElement(Icon_default, { className: tagIconClassNames, name: iconName }), label);
|
|
6218
5810
|
}
|
|
6219
5811
|
);
|
|
6220
5812
|
Tag.displayName = "Tag" /* Tag */;
|
|
@@ -6223,19 +5815,19 @@ var Tag_default = Tag;
|
|
|
6223
5815
|
// components/tag/list/TagList.tsx
|
|
6224
5816
|
var import_clsx91 = __toESM(require("clsx"));
|
|
6225
5817
|
var React101 = __toESM(require("react"));
|
|
6226
|
-
var TagList = React101.forwardRef((
|
|
6227
|
-
var _b = _a, { className, id, align, marginless } = _b, others = __objRest(_b, ["className", "id", "align", "marginless"]);
|
|
5818
|
+
var TagList = React101.forwardRef(({ className, id, align, marginless, ...others }, ref) => {
|
|
6228
5819
|
const { styled } = useTrilogyContext();
|
|
6229
5820
|
return /* @__PURE__ */ React101.createElement(
|
|
6230
5821
|
"div",
|
|
6231
|
-
|
|
5822
|
+
{
|
|
6232
5823
|
ref,
|
|
6233
5824
|
id,
|
|
6234
5825
|
className: hashClass(
|
|
6235
5826
|
styled,
|
|
6236
5827
|
(0, import_clsx91.default)("tags", align && is(getJustifiedClassName(align)), marginless && is("marginless"), className)
|
|
6237
|
-
)
|
|
6238
|
-
|
|
5828
|
+
),
|
|
5829
|
+
...others
|
|
5830
|
+
}
|
|
6239
5831
|
);
|
|
6240
5832
|
});
|
|
6241
5833
|
TagList.displayName = "TagList" /* TagList */;
|
|
@@ -6257,44 +5849,26 @@ var TagVariant = /* @__PURE__ */ ((TagVariant2) => {
|
|
|
6257
5849
|
var import_clsx92 = __toESM(require("clsx"));
|
|
6258
5850
|
var import_react51 = __toESM(require("react"));
|
|
6259
5851
|
var Textarea = import_react51.default.forwardRef(
|
|
6260
|
-
(
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
"className",
|
|
6281
|
-
"id",
|
|
6282
|
-
"sample",
|
|
6283
|
-
"required",
|
|
6284
|
-
"disabled",
|
|
6285
|
-
"onChange",
|
|
6286
|
-
"placeholder",
|
|
6287
|
-
"defaultValue",
|
|
6288
|
-
"help",
|
|
6289
|
-
"status",
|
|
6290
|
-
"dynamicPlaceholder",
|
|
6291
|
-
"rows",
|
|
6292
|
-
"label",
|
|
6293
|
-
"maxLength",
|
|
6294
|
-
"minLength",
|
|
6295
|
-
"iconNameLeft",
|
|
6296
|
-
"iconNameRight"
|
|
6297
|
-
]);
|
|
5852
|
+
({
|
|
5853
|
+
className,
|
|
5854
|
+
id,
|
|
5855
|
+
sample,
|
|
5856
|
+
required,
|
|
5857
|
+
disabled,
|
|
5858
|
+
onChange,
|
|
5859
|
+
placeholder,
|
|
5860
|
+
defaultValue,
|
|
5861
|
+
help,
|
|
5862
|
+
status,
|
|
5863
|
+
dynamicPlaceholder = true,
|
|
5864
|
+
rows,
|
|
5865
|
+
label,
|
|
5866
|
+
maxLength,
|
|
5867
|
+
minLength,
|
|
5868
|
+
iconNameLeft,
|
|
5869
|
+
iconNameRight,
|
|
5870
|
+
...others
|
|
5871
|
+
}, ref) => {
|
|
6298
5872
|
const [value, setValue] = (0, import_react51.useState)(defaultValue || "");
|
|
6299
5873
|
const { styled } = useTrilogyContext();
|
|
6300
5874
|
(0, import_react51.useEffect)(() => {
|
|
@@ -6310,7 +5884,7 @@ var Textarea = import_react51.default.forwardRef(
|
|
|
6310
5884
|
);
|
|
6311
5885
|
return /* @__PURE__ */ import_react51.default.createElement("div", { id, className: wrapperClasses }, label && /* @__PURE__ */ import_react51.default.createElement("label", { className: hashClass(styled, "textarea-label"), htmlFor: id }, label, " ", required && /* @__PURE__ */ import_react51.default.createElement(Text_default, { markup: "span" /* SPAN */, typo: "has-text-error" /* TEXT_ERROR */ }, "*")), sample && /* @__PURE__ */ import_react51.default.createElement(Text_default, { className: "input-sample", level: 2 /* TWO */, id }, sample), /* @__PURE__ */ import_react51.default.createElement("div", { className: controlClasses }, /* @__PURE__ */ import_react51.default.createElement(
|
|
6312
5886
|
"textarea",
|
|
6313
|
-
|
|
5887
|
+
{
|
|
6314
5888
|
ref,
|
|
6315
5889
|
minLength,
|
|
6316
5890
|
disabled,
|
|
@@ -6328,8 +5902,9 @@ var Textarea = import_react51.default.forwardRef(
|
|
|
6328
5902
|
placeholder,
|
|
6329
5903
|
rows,
|
|
6330
5904
|
maxLength,
|
|
6331
|
-
required
|
|
6332
|
-
|
|
5905
|
+
required,
|
|
5906
|
+
...others
|
|
5907
|
+
}
|
|
6333
5908
|
), iconNameLeft && /* @__PURE__ */ import_react51.default.createElement(Icon_default, { name: iconNameLeft, size: "small", className: "icon-left" }), iconNameRight && /* @__PURE__ */ import_react51.default.createElement(Icon_default, { name: iconNameRight, size: "small", className: "icon-right" }), maxLength && /* @__PURE__ */ import_react51.default.createElement("div", { className: counterClasses }, `${value.length}/${maxLength == null ? void 0 : maxLength.toString()}`)), help && /* @__PURE__ */ import_react51.default.createElement(Text_default, { className: helpClasses }, help));
|
|
6334
5909
|
}
|
|
6335
5910
|
);
|
|
@@ -6340,14 +5915,13 @@ var Textarea_default = Textarea;
|
|
|
6340
5915
|
var import_clsx93 = __toESM(require("clsx"));
|
|
6341
5916
|
var React103 = __toESM(require("react"));
|
|
6342
5917
|
var TimelineContent = React103.forwardRef(
|
|
6343
|
-
(
|
|
6344
|
-
var _b = _a, { children, className, id, heading, content, linkLabel, linkTo } = _b, others = __objRest(_b, ["children", "className", "id", "heading", "content", "linkLabel", "linkTo"]);
|
|
5918
|
+
({ children, className, id, heading, content, linkLabel, linkTo, ...others }, ref) => {
|
|
6345
5919
|
const { styled } = useTrilogyContext();
|
|
6346
5920
|
const classes = hashClass(styled, (0, import_clsx93.default)("timeline-content", className));
|
|
6347
5921
|
if (children) {
|
|
6348
|
-
return /* @__PURE__ */ React103.createElement("div",
|
|
5922
|
+
return /* @__PURE__ */ React103.createElement("div", { ref, id, className: classes, ...others }, children);
|
|
6349
5923
|
}
|
|
6350
|
-
return /* @__PURE__ */ React103.createElement("div",
|
|
5924
|
+
return /* @__PURE__ */ React103.createElement("div", { ref, id, className: classes, ...others }, heading && /* @__PURE__ */ React103.createElement(Text_default, { markup: "p" /* P */ }, heading), content && /* @__PURE__ */ React103.createElement(Text_default, { className: "main-content", markup: "p" /* P */ }, content), linkTo && linkLabel && /* @__PURE__ */ React103.createElement(Link_default, { href: linkTo }, linkLabel));
|
|
6351
5925
|
}
|
|
6352
5926
|
);
|
|
6353
5927
|
TimelineContent.displayName = "TimelineContent" /* TimelineContent */;
|
|
@@ -6360,14 +5934,13 @@ var content_default3 = TimelineContent_default;
|
|
|
6360
5934
|
var import_clsx94 = __toESM(require("clsx"));
|
|
6361
5935
|
var React104 = __toESM(require("react"));
|
|
6362
5936
|
var TimelineItem = React104.forwardRef(
|
|
6363
|
-
(
|
|
6364
|
-
var _b = _a, { className, id, done, active, cancel } = _b, others = __objRest(_b, ["className", "id", "done", "active", "cancel"]);
|
|
5937
|
+
({ className, id, done, active, cancel, ...others }, ref) => {
|
|
6365
5938
|
const { styled } = useTrilogyContext();
|
|
6366
5939
|
const classes = hashClass(
|
|
6367
5940
|
styled,
|
|
6368
5941
|
(0, import_clsx94.default)("timeline-item", done && "done", active && "active", cancel && "cancel", className)
|
|
6369
5942
|
);
|
|
6370
|
-
return /* @__PURE__ */ React104.createElement("div",
|
|
5943
|
+
return /* @__PURE__ */ React104.createElement("div", { ref, id, className: classes, ...others });
|
|
6371
5944
|
}
|
|
6372
5945
|
);
|
|
6373
5946
|
TimelineItem.displayName = "TimelineItem" /* TimelineItem */;
|
|
@@ -6380,12 +5953,11 @@ var item_default6 = TimelineItem_default;
|
|
|
6380
5953
|
var import_clsx95 = __toESM(require("clsx"));
|
|
6381
5954
|
var React105 = __toESM(require("react"));
|
|
6382
5955
|
var TimelineMarker = React105.forwardRef(
|
|
6383
|
-
(
|
|
6384
|
-
var _b = _a, { className, id, iconClassname, iconName } = _b, others = __objRest(_b, ["className", "id", "iconClassname", "iconName"]);
|
|
5956
|
+
({ className, id, iconClassname, iconName, ...others }, ref) => {
|
|
6385
5957
|
const { styled } = useTrilogyContext();
|
|
6386
5958
|
const classes = hashClass(styled, (0, import_clsx95.default)("timeline-marker", is("icon"), className));
|
|
6387
5959
|
const iconClasses = (0, import_clsx95.default)(iconClassname);
|
|
6388
|
-
return /* @__PURE__ */ React105.createElement("div",
|
|
5960
|
+
return /* @__PURE__ */ React105.createElement("div", { ref, id, className: classes, ...others }, /* @__PURE__ */ React105.createElement("div", { className: "card-header-icon" }, /* @__PURE__ */ React105.createElement(Icon_default, { className: iconClasses, name: iconName, size: "small" /* SMALL */ })));
|
|
6389
5961
|
}
|
|
6390
5962
|
);
|
|
6391
5963
|
TimelineMarker.displayName = "TimelineMarker" /* TimelineMarker */;
|
|
@@ -6397,11 +5969,10 @@ var marker_default = TimelineMarker_default;
|
|
|
6397
5969
|
// components/timeline/Timeline.tsx
|
|
6398
5970
|
var import_clsx96 = __toESM(require("clsx"));
|
|
6399
5971
|
var React106 = __toESM(require("react"));
|
|
6400
|
-
var Timeline = React106.forwardRef((
|
|
6401
|
-
var _b = _a, { className, id, horizontal } = _b, others = __objRest(_b, ["className", "id", "horizontal"]);
|
|
5972
|
+
var Timeline = React106.forwardRef(({ className, id, horizontal, ...others }, ref) => {
|
|
6402
5973
|
const { styled } = useTrilogyContext();
|
|
6403
5974
|
const classes = hashClass(styled, (0, import_clsx96.default)("timeline", horizontal && is("horizontal"), className));
|
|
6404
|
-
return /* @__PURE__ */ React106.createElement("div",
|
|
5975
|
+
return /* @__PURE__ */ React106.createElement("div", { ref, id, className: classes, ...others });
|
|
6405
5976
|
});
|
|
6406
5977
|
Timeline.displayName = "Timeline" /* Timeline */;
|
|
6407
5978
|
var Timeline_default = Timeline;
|
|
@@ -6434,36 +6005,22 @@ var ViewMarkup = /* @__PURE__ */ ((ViewMarkup2) => {
|
|
|
6434
6005
|
|
|
6435
6006
|
// components/view/View.tsx
|
|
6436
6007
|
var View = React107.forwardRef(
|
|
6437
|
-
(
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
"children",
|
|
6454
|
-
"style",
|
|
6455
|
-
"className",
|
|
6456
|
-
"loading",
|
|
6457
|
-
"onClick",
|
|
6458
|
-
"backgroundColor",
|
|
6459
|
-
"backgroundSrc",
|
|
6460
|
-
"inverted",
|
|
6461
|
-
"fullwidth",
|
|
6462
|
-
"markup",
|
|
6463
|
-
"flexable",
|
|
6464
|
-
"justify",
|
|
6465
|
-
"align"
|
|
6466
|
-
]);
|
|
6008
|
+
({
|
|
6009
|
+
children,
|
|
6010
|
+
style,
|
|
6011
|
+
className,
|
|
6012
|
+
loading,
|
|
6013
|
+
onClick,
|
|
6014
|
+
backgroundColor,
|
|
6015
|
+
backgroundSrc,
|
|
6016
|
+
inverted,
|
|
6017
|
+
fullwidth = true,
|
|
6018
|
+
markup,
|
|
6019
|
+
flexable,
|
|
6020
|
+
justify,
|
|
6021
|
+
align,
|
|
6022
|
+
...others
|
|
6023
|
+
}, ref) => {
|
|
6467
6024
|
const { styled } = useTrilogyContext();
|
|
6468
6025
|
const isCorrectMarkup2 = (stringMarkup) => {
|
|
6469
6026
|
if (stringMarkup in ViewMarkup || Object.values(ViewMarkup).includes(stringMarkup)) return true;
|
|
@@ -6486,18 +6043,20 @@ var View = React107.forwardRef(
|
|
|
6486
6043
|
);
|
|
6487
6044
|
return /* @__PURE__ */ React107.createElement(
|
|
6488
6045
|
Tag2,
|
|
6489
|
-
|
|
6046
|
+
{
|
|
6490
6047
|
ref,
|
|
6491
6048
|
onClick,
|
|
6492
6049
|
style,
|
|
6493
|
-
className: classes
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6050
|
+
className: classes,
|
|
6051
|
+
...backgroundSrc && {
|
|
6052
|
+
style: {
|
|
6053
|
+
backgroundImage: `url(${backgroundSrc})`,
|
|
6054
|
+
backgroundSize: "cover",
|
|
6055
|
+
backgroundPosition: "50%"
|
|
6056
|
+
}
|
|
6057
|
+
},
|
|
6058
|
+
...others
|
|
6059
|
+
},
|
|
6501
6060
|
children
|
|
6502
6061
|
);
|
|
6503
6062
|
}
|
|
@@ -6527,7 +6086,7 @@ var JustifyContent = /* @__PURE__ */ ((JustifyContent2) => {
|
|
|
6527
6086
|
var import_react52 = __toESM(require("react"));
|
|
6528
6087
|
|
|
6529
6088
|
// version.ts
|
|
6530
|
-
var version = "0.0.
|
|
6089
|
+
var version = "0.0.5-esm-cjs";
|
|
6531
6090
|
|
|
6532
6091
|
// version.json
|
|
6533
6092
|
var version_default = {
|