@twreporter/react-typescript-components 0.1.0-beta.21 → 0.1.0-beta.23
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/action-links-B-kLE-JI.mjs +31 -0
- package/lib/action-links-B-kLE-JI.mjs.map +1 -0
- package/lib/action-links-CrB9xTLX.js +42 -0
- package/lib/action-links-CrB9xTLX.js.map +1 -0
- package/lib/animation-Bh6OgE1s.mjs +12 -0
- package/lib/animation-Bh6OgE1s.mjs.map +1 -0
- package/lib/animation-CjKIebSq.js +18 -0
- package/lib/animation-CjKIebSq.js.map +1 -0
- package/lib/auth-store-B8SMis_O.mjs +18 -0
- package/lib/auth-store-B8SMis_O.mjs.map +1 -0
- package/lib/auth-store-Dol00nWl.js +25 -0
- package/lib/auth-store-Dol00nWl.js.map +1 -0
- package/lib/button/components/icon-button/index.d.mts +5 -0
- package/lib/button/components/icon-button/index.d.ts +5 -0
- package/lib/button/components/icon-button/index.js +6 -0
- package/lib/button/components/icon-button/index.mjs +6 -0
- package/lib/button/components/icon-button/theme.d.mts +11 -0
- package/lib/button/components/icon-button/theme.d.ts +11 -0
- package/lib/button/components/icon-button/theme.js +5 -0
- package/lib/button/components/icon-button/theme.mjs +4 -0
- package/lib/button/components/icon-with-text-button/index.d.mts +4 -0
- package/lib/button/components/icon-with-text-button/index.d.ts +4 -0
- package/lib/button/components/icon-with-text-button/index.js +7 -0
- package/lib/button/components/icon-with-text-button/index.mjs +7 -0
- package/lib/button/components/icon-with-text-button/theme.d.mts +13 -0
- package/lib/button/components/icon-with-text-button/theme.d.ts +13 -0
- package/lib/button/components/icon-with-text-button/theme.js +4 -0
- package/lib/button/components/icon-with-text-button/theme.mjs +4 -0
- package/lib/button/components/menu-button/index.d.mts +4 -0
- package/lib/button/components/menu-button/index.d.ts +4 -0
- package/lib/button/components/menu-button/index.js +5 -0
- package/lib/button/components/menu-button/index.mjs +5 -0
- package/lib/button/components/pill-button/index.d.mts +5 -0
- package/lib/button/components/pill-button/index.d.ts +5 -0
- package/lib/button/components/pill-button/index.js +8 -0
- package/lib/button/components/pill-button/index.mjs +8 -0
- package/lib/button/components/pill-button/theme.d.mts +28 -0
- package/lib/button/components/pill-button/theme.d.ts +28 -0
- package/lib/button/components/pill-button/theme.js +6 -0
- package/lib/button/components/pill-button/theme.mjs +5 -0
- package/lib/button/components/text-button/index.d.mts +5 -0
- package/lib/button/components/text-button/index.d.ts +5 -0
- package/lib/button/components/text-button/index.js +8 -0
- package/lib/button/components/text-button/index.mjs +8 -0
- package/lib/button/components/text-button/theme.d.mts +13 -0
- package/lib/button/components/text-button/theme.d.ts +13 -0
- package/lib/button/components/text-button/theme.js +7 -0
- package/lib/button/components/text-button/theme.mjs +5 -0
- package/lib/button/constants.d.mts +2 -2
- package/lib/button/constants.d.ts +1 -1
- package/lib/button/index.d.mts +17 -94
- package/lib/button/index.d.ts +16 -93
- package/lib/button/index.js +16 -7
- package/lib/button/index.mjs +11 -2
- package/lib/button-BLRV4Hwe.js +23 -0
- package/lib/button-BLRV4Hwe.js.map +1 -0
- package/lib/button-ubJKEMLe.mjs +18 -0
- package/lib/button-ubJKEMLe.mjs.map +1 -0
- package/lib/card/list/constants.d.mts +3 -0
- package/lib/card/list/constants.d.ts +3 -0
- package/lib/card/list/constants.js +3 -0
- package/lib/card/list/constants.mjs +3 -0
- package/lib/card/list/img-placeholder.d.mts +7 -0
- package/lib/card/list/img-placeholder.d.ts +6 -0
- package/lib/card/list/img-placeholder.js +3 -0
- package/lib/card/list/img-placeholder.mjs +3 -0
- package/lib/card/list/index.d.mts +30 -0
- package/lib/card/list/index.d.ts +29 -0
- package/lib/card/list/index.js +99 -0
- package/lib/card/list/index.js.map +1 -0
- package/lib/card/list/index.mjs +96 -0
- package/lib/card/list/index.mjs.map +1 -0
- package/lib/card/list/loading.d.mts +14 -0
- package/lib/card/list/loading.d.ts +14 -0
- package/lib/card/list/loading.js +5 -0
- package/lib/card/list/loading.mjs +3 -0
- package/lib/channels-91z01E6M.mjs +210 -0
- package/lib/channels-91z01E6M.mjs.map +1 -0
- package/lib/channels-BdOcGdox.mjs +63 -0
- package/lib/channels-BdOcGdox.mjs.map +1 -0
- package/lib/channels-BpBCfeF7.js +73 -0
- package/lib/channels-BpBCfeF7.js.map +1 -0
- package/lib/channels-C0h1mON8.js +221 -0
- package/lib/channels-C0h1mON8.js.map +1 -0
- package/lib/constants/external-links.js +1 -1
- package/lib/constants/external-links.mjs +1 -1
- package/lib/constants/internal-links.js +1 -1
- package/lib/constants/internal-links.mjs +1 -1
- package/lib/constants/release-branch.d.mts +2 -2
- package/lib/constants/release-branch.d.ts +1 -1
- package/lib/constants/release-branch.js +1 -1
- package/lib/constants/release-branch.mjs +1 -1
- package/lib/constants/request-origins.js +2 -2
- package/lib/constants/request-origins.mjs +2 -2
- package/lib/constants/theme.d.mts +2 -2
- package/lib/constants/theme.d.ts +1 -1
- package/lib/{constants-B8QkNSRh.mjs → constants-BAmdJ_dS.mjs} +3 -3
- package/lib/{constants-B8QkNSRh.mjs.map → constants-BAmdJ_dS.mjs.map} +1 -1
- package/lib/{constants-CZ7dxJ-t.d.ts → constants-BC_JdEyk.d.ts} +1 -1
- package/lib/{constants-MpdMPjnk.d.mts → constants-BD_W9lzE.d.mts} +2 -2
- package/lib/{constants-R6EfY15A.js → constants-BE7hWIZ-.js} +1 -1
- package/lib/{constants-R6EfY15A.js.map → constants-BE7hWIZ-.js.map} +1 -1
- package/lib/{constants-DVYCKpJ0.d.mts → constants-BVpJd-Eq.d.mts} +2 -2
- package/lib/constants-BYQoStw1.js +64 -0
- package/lib/constants-BYQoStw1.js.map +1 -0
- package/lib/constants-BZZgQcEy.mjs +9 -0
- package/lib/constants-BZZgQcEy.mjs.map +1 -0
- package/lib/{constants-Npoq7yu0.mjs → constants-BinATQpN.mjs} +1 -1
- package/lib/{constants-Npoq7yu0.mjs.map → constants-BinATQpN.mjs.map} +1 -1
- package/lib/{constants-CBjyeHSl.d.ts → constants-BkxOSlW7.d.ts} +1 -1
- package/lib/constants-BotsR-TR.mjs +59 -0
- package/lib/constants-BotsR-TR.mjs.map +1 -0
- package/lib/{constants-CUzusjTU.js → constants-BsNgVA15.js} +3 -3
- package/lib/{constants-CUzusjTU.js.map → constants-BsNgVA15.js.map} +1 -1
- package/lib/constants-CCYwjB2d.js +15 -0
- package/lib/constants-CCYwjB2d.js.map +1 -0
- package/lib/{constants-ZGhPn0d6.d.mts → constants-CFstRAZ_.d.mts} +2 -2
- package/lib/{constants-pqSeExjX.js → constants-CkmgPgze.js} +1 -1
- package/lib/{constants-pqSeExjX.js.map → constants-CkmgPgze.js.map} +1 -1
- package/lib/{constants-CzHmv07x.d.ts → constants-CncdMRN6.d.ts} +1 -1
- package/lib/{constants-nmH6p6-y.js → constants-CwOzq2oV.js} +1 -1
- package/lib/{constants-nmH6p6-y.js.map → constants-CwOzq2oV.js.map} +1 -1
- package/lib/{constants-oNjXcfW2.d.mts → constants-D3kwLyJT.d.mts} +2 -2
- package/lib/{constants-CMMcn0f-.d.ts → constants-DNT9OrhT.d.ts} +1 -1
- package/lib/constants-DP5x2xfg.d.mts +11 -0
- package/lib/{constants-z9Q8ph_H.mjs → constants-DXHY4pUi.mjs} +1 -1
- package/lib/{constants-z9Q8ph_H.mjs.map → constants-DXHY4pUi.mjs.map} +1 -1
- package/lib/constants-Dk98cPGb.d.ts +11 -0
- package/lib/{constants-gCmka4Fp.d.ts → constants-YK2KhqPU.d.ts} +1 -1
- package/lib/{constants-DKqcALfv.mjs → constants-ZlCS0t-_.mjs} +1 -1
- package/lib/{constants-DKqcALfv.mjs.map → constants-ZlCS0t-_.mjs.map} +1 -1
- package/lib/{constants-C_OX3J7_.d.mts → constants-jR2WUCRY.d.mts} +2 -2
- package/lib/{context-C9AuSZIE.mjs → context-Bg1CbUYL.mjs} +2 -2
- package/lib/{context-C9AuSZIE.mjs.map → context-Bg1CbUYL.mjs.map} +1 -1
- package/lib/{context-vBt5fnU9.js → context-DW8qh_Q3.js} +2 -2
- package/lib/{context-vBt5fnU9.js.map → context-DW8qh_Q3.js.map} +1 -1
- package/lib/customized-link/external-link.d.mts +2 -2
- package/lib/customized-link/external-link.d.ts +2 -2
- package/lib/customized-link/external-link.js +1 -1
- package/lib/customized-link/external-link.mjs +1 -1
- package/lib/customized-link/index.d.mts +6 -6
- package/lib/customized-link/index.d.ts +6 -6
- package/lib/customized-link/index.js +3 -3
- package/lib/customized-link/index.mjs +3 -3
- package/lib/customized-link/internal-link.d.mts +2 -2
- package/lib/customized-link/internal-link.d.ts +2 -2
- package/lib/customized-link/internal-link.js +1 -1
- package/lib/customized-link/internal-link.mjs +1 -1
- package/lib/customized-link/type.d.mts +1 -1
- package/lib/customized-link/type.d.ts +1 -1
- package/lib/{customized-link-BDKQVdcH.js → customized-link-DoNAVCRa.js} +3 -3
- package/lib/{customized-link-BDKQVdcH.js.map → customized-link-DoNAVCRa.js.map} +1 -1
- package/lib/{customized-link-D3p9rjEe.mjs → customized-link-KNmVReo7.mjs} +3 -3
- package/lib/{customized-link-D3p9rjEe.mjs.map → customized-link-KNmVReo7.mjs.map} +1 -1
- package/lib/desktop-and-above-DA68C2UN.mjs +57 -0
- package/lib/desktop-and-above-DA68C2UN.mjs.map +1 -0
- package/lib/desktop-and-above-DQniIO6p.js +67 -0
- package/lib/desktop-and-above-DQniIO6p.js.map +1 -0
- package/lib/divider/constants.d.mts +2 -2
- package/lib/divider/constants.d.ts +1 -1
- package/lib/divider/constants.js +1 -1
- package/lib/divider/constants.mjs +1 -1
- package/lib/divider/index.d.mts +2 -2
- package/lib/divider/index.d.ts +1 -1
- package/lib/divider/index.js +2 -2
- package/lib/divider/index.mjs +2 -2
- package/lib/{divider-B1zvSjNJ.js → divider-BBJMRjAQ.js} +2 -2
- package/lib/{divider-B1zvSjNJ.js.map → divider-BBJMRjAQ.js.map} +1 -1
- package/lib/{divider-CE4u6SR5.mjs → divider-DX0u-V4m.mjs} +2 -2
- package/lib/{divider-CE4u6SR5.mjs.map → divider-DX0u-V4m.mjs.map} +1 -1
- package/lib/dropdown-menu/dropdown-menu-item/index.d.mts +9 -0
- package/lib/dropdown-menu/dropdown-menu-item/index.d.ts +8 -0
- package/lib/dropdown-menu/dropdown-menu-item/index.js +10 -0
- package/lib/dropdown-menu/dropdown-menu-item/index.mjs +10 -0
- package/lib/dropdown-menu/index.d.mts +1 -1
- package/lib/dropdown-menu/index.d.ts +1 -1
- package/lib/dropdown-menu/index.js +12 -10
- package/lib/dropdown-menu/index.mjs +12 -10
- package/lib/dropdown-menu-B4wI7TSC.js +49 -0
- package/lib/dropdown-menu-B4wI7TSC.js.map +1 -0
- package/lib/dropdown-menu-D7h5TpGV.mjs +40 -0
- package/lib/dropdown-menu-D7h5TpGV.mjs.map +1 -0
- package/lib/dropdown-menu-item-CoMgn82j.js +33 -0
- package/lib/dropdown-menu-item-CoMgn82j.js.map +1 -0
- package/lib/dropdown-menu-item-wJLVdE6F.mjs +24 -0
- package/lib/dropdown-menu-item-wJLVdE6F.mjs.map +1 -0
- package/lib/{external-link-BMxYePU7.d.ts → external-link-C63qcPni.d.ts} +2 -2
- package/lib/{external-link-CvvjuS1W.d.mts → external-link-DYhF6muk.d.mts} +2 -2
- package/lib/{external-link-Ce1_loKh.js → external-link-Dnw1WSM1.js} +1 -1
- package/lib/{external-link-Ce1_loKh.js.map → external-link-Dnw1WSM1.js.map} +1 -1
- package/lib/{external-link-BMIFL3DE.mjs → external-link-DrDvZqvE.mjs} +1 -1
- package/lib/{external-link-BMIFL3DE.mjs.map → external-link-DrDvZqvE.mjs.map} +1 -1
- package/lib/{external-links-DCn-uTD-.js → external-links-CeidCP88.js} +1 -1
- package/lib/{external-links-DCn-uTD-.js.map → external-links-CeidCP88.js.map} +1 -1
- package/lib/{external-links-B-A17Osq.mjs → external-links-FfndTp-X.mjs} +1 -1
- package/lib/{external-links-B-A17Osq.mjs.map → external-links-FfndTp-X.mjs.map} +1 -1
- package/lib/footer/index.d.mts +4 -4
- package/lib/footer/index.d.ts +3 -3
- package/lib/footer/index.js +32 -19
- package/lib/footer/index.js.map +1 -1
- package/lib/footer/index.mjs +29 -16
- package/lib/footer/index.mjs.map +1 -1
- package/lib/footer/links.d.mts +4 -4
- package/lib/footer/links.d.ts +7 -7
- package/lib/footer/links.js +19 -10
- package/lib/footer/links.mjs +19 -10
- package/lib/footer/logo.d.mts +2 -2
- package/lib/footer/logo.d.ts +1 -1
- package/lib/footer/logo.js +11 -7
- package/lib/footer/logo.mjs +11 -7
- package/lib/footer/types.d.mts +3 -3
- package/lib/footer/types.d.ts +2 -2
- package/lib/hamburger-menu/components/icon-link.d.mts +14 -0
- package/lib/hamburger-menu/components/icon-link.d.ts +13 -0
- package/lib/hamburger-menu/components/icon-link.js +15 -0
- package/lib/hamburger-menu/components/icon-link.mjs +15 -0
- package/lib/hamburger-menu/components/light-link.d.mts +13 -0
- package/lib/hamburger-menu/components/light-link.d.ts +12 -0
- package/lib/hamburger-menu/components/light-link.js +13 -0
- package/lib/hamburger-menu/components/light-link.mjs +13 -0
- package/lib/hamburger-menu/components/social-media.d.mts +12 -0
- package/lib/hamburger-menu/components/social-media.d.ts +11 -0
- package/lib/hamburger-menu/components/social-media.js +21 -0
- package/lib/hamburger-menu/components/social-media.mjs +21 -0
- package/lib/hamburger-menu/constants/channels.d.mts +210 -0
- package/lib/hamburger-menu/constants/channels.d.ts +210 -0
- package/lib/hamburger-menu/constants/channels.js +6 -0
- package/lib/hamburger-menu/constants/channels.mjs +5 -0
- package/lib/hamburger-menu/constants/social-media.d.mts +14 -0
- package/lib/hamburger-menu/constants/social-media.d.ts +14 -0
- package/lib/hamburger-menu/constants/social-media.js +5 -0
- package/lib/hamburger-menu/constants/social-media.mjs +5 -0
- package/lib/hamburger-menu/index.js +41 -19
- package/lib/hamburger-menu/index.mjs +41 -19
- package/lib/hamburger-menu/utils/theme.d.mts +28 -0
- package/lib/hamburger-menu/utils/theme.d.ts +28 -0
- package/lib/hamburger-menu/utils/theme.js +8 -0
- package/lib/hamburger-menu/utils/theme.mjs +5 -0
- package/lib/hamburger-menu-COVjQWOZ.mjs +181 -0
- package/lib/hamburger-menu-COVjQWOZ.mjs.map +1 -0
- package/lib/hamburger-menu-CuCIBIip.js +190 -0
- package/lib/hamburger-menu-CuCIBIip.js.map +1 -0
- package/lib/header/components/channels/constants/index.d.mts +12 -0
- package/lib/header/components/channels/constants/index.d.ts +12 -0
- package/lib/header/components/channels/constants/index.js +4 -0
- package/lib/header/components/channels/constants/index.mjs +4 -0
- package/lib/header/components/channels/index.d.mts +7 -0
- package/lib/header/components/channels/index.d.ts +6 -0
- package/lib/header/components/channels/index.js +28 -0
- package/lib/header/components/channels/index.mjs +28 -0
- package/lib/header/components/desktop-and-above.d.mts +13 -0
- package/lib/header/components/desktop-and-above.d.ts +12 -0
- package/lib/header/components/desktop-and-above.js +47 -0
- package/lib/header/components/desktop-and-above.mjs +47 -0
- package/lib/header/components/tablet-and-below.d.mts +13 -0
- package/lib/header/components/tablet-and-below.d.ts +12 -0
- package/lib/header/components/tablet-and-below.js +35 -0
- package/lib/header/components/tablet-and-below.mjs +35 -0
- package/lib/header/components/top-row/icons.d.mts +13 -0
- package/lib/header/components/top-row/icons.d.ts +13 -0
- package/lib/header/components/top-row/icons.js +30 -0
- package/lib/header/components/top-row/icons.mjs +30 -0
- package/lib/header/components/top-row/index.d.mts +13 -0
- package/lib/header/components/top-row/index.d.ts +12 -0
- package/lib/header/components/top-row/index.js +42 -0
- package/lib/header/components/top-row/index.mjs +42 -0
- package/lib/header/constants/action-links.d.mts +16 -0
- package/lib/header/constants/action-links.d.ts +16 -0
- package/lib/header/constants/action-links.js +7 -0
- package/lib/header/constants/action-links.mjs +6 -0
- package/lib/header/constants/animation.d.mts +11 -0
- package/lib/header/constants/animation.d.ts +11 -0
- package/lib/header/constants/animation.js +3 -0
- package/lib/header/constants/animation.mjs +3 -0
- package/lib/header/constants/z-index.d.mts +12 -0
- package/lib/header/constants/z-index.d.ts +12 -0
- package/lib/header/constants/z-index.js +3 -0
- package/lib/header/constants/z-index.mjs +3 -0
- package/lib/header/context/index.d.mts +5 -0
- package/lib/header/context/index.d.ts +5 -0
- package/lib/header/context/index.js +6 -0
- package/lib/header/context/index.mjs +5 -0
- package/lib/header/index.d.mts +4 -11
- package/lib/header/index.d.ts +3 -10
- package/lib/header/index.js +65 -464
- package/lib/header/index.js.map +1 -1
- package/lib/header/index.mjs +59 -452
- package/lib/header/index.mjs.map +1 -1
- package/lib/header/store/auth-actions.d.mts +10 -0
- package/lib/header/store/auth-actions.d.ts +10 -0
- package/lib/header/store/auth-actions.js +32 -0
- package/lib/header/store/auth-actions.js.map +1 -0
- package/lib/header/store/auth-actions.mjs +30 -0
- package/lib/header/store/auth-actions.mjs.map +1 -0
- package/lib/header/store/auth-store.d.mts +14 -0
- package/lib/header/store/auth-store.d.ts +14 -0
- package/lib/header/store/auth-store.js +3 -0
- package/lib/header/store/auth-store.mjs +3 -0
- package/lib/header/utils/jwt.d.mts +2 -0
- package/lib/header/utils/jwt.d.ts +2 -0
- package/lib/header/utils/jwt.js +5 -0
- package/lib/header/utils/jwt.mjs +3 -0
- package/lib/header/utils/links.d.mts +8 -0
- package/lib/header/utils/links.d.ts +8 -0
- package/lib/header/utils/links.js +5 -0
- package/lib/header/utils/links.mjs +5 -0
- package/lib/header/utils/theme.d.mts +13 -0
- package/lib/header/utils/theme.d.ts +13 -0
- package/lib/header/utils/theme.js +7 -0
- package/lib/header/utils/theme.mjs +5 -0
- package/lib/{heading-CCsID-nv.mjs → heading-BVKLYfXi.mjs} +1 -1
- package/lib/{heading-CCsID-nv.mjs.map → heading-BVKLYfXi.mjs.map} +1 -1
- package/lib/{heading-D7slLGoI.js → heading-D5Lv6X0M.js} +1 -1
- package/lib/{heading-D7slLGoI.js.map → heading-D5Lv6X0M.js.map} +1 -1
- package/lib/hook-DGSr4R5I.mjs +27 -0
- package/lib/hook-DGSr4R5I.mjs.map +1 -0
- package/lib/hook-DUH3wp9d.js +34 -0
- package/lib/hook-DUH3wp9d.js.map +1 -0
- package/lib/hooks/index.d.mts +1 -1
- package/lib/hooks/index.d.ts +3 -3
- package/lib/hooks/index.js +2 -2
- package/lib/hooks/index.mjs +2 -2
- package/lib/hooks/use-outside-click.d.mts +1 -1
- package/lib/hooks/use-outside-click.d.ts +1 -1
- package/lib/hooks/use-outside-click.js +1 -1
- package/lib/hooks/use-outside-click.mjs +1 -1
- package/lib/{hooks-CcqXFDPN.mjs → hooks-Bx775uvt.mjs} +2 -2
- package/lib/{hooks-CcqXFDPN.mjs.map → hooks-Bx775uvt.mjs.map} +1 -1
- package/lib/{hooks-CYgvBAmt.js → hooks-yvwMENLm.js} +2 -2
- package/lib/{hooks-CYgvBAmt.js.map → hooks-yvwMENLm.js.map} +1 -1
- package/lib/icon-button-B-71Zncn.mjs +28 -0
- package/lib/icon-button-B-71Zncn.mjs.map +1 -0
- package/lib/icon-button-Vqwyow05.js +36 -0
- package/lib/icon-button-Vqwyow05.js.map +1 -0
- package/lib/icon-link-Kzj6ZGDD.js +43 -0
- package/lib/icon-link-Kzj6ZGDD.js.map +1 -0
- package/lib/icon-link-wXlulu3j.mjs +34 -0
- package/lib/icon-link-wXlulu3j.mjs.map +1 -0
- package/lib/icon-with-text-button-CTWmp6He.mjs +31 -0
- package/lib/icon-with-text-button-CTWmp6He.mjs.map +1 -0
- package/lib/icon-with-text-button-DOj_-gz0.js +39 -0
- package/lib/icon-with-text-button-DOj_-gz0.js.map +1 -0
- package/lib/icons/constants.d.mts +2 -2
- package/lib/icons/constants.d.ts +1 -1
- package/lib/icons/constants.js +1 -1
- package/lib/icons/constants.mjs +1 -1
- package/lib/icons/index.d.mts +12 -12
- package/lib/icons/index.d.ts +11 -11
- package/lib/icons/index.js +3 -3
- package/lib/icons/index.mjs +3 -3
- package/lib/icons-BwOqeNBO.mjs +81 -0
- package/lib/icons-BwOqeNBO.mjs.map +1 -0
- package/lib/icons-DF2IcvTD.js +90 -0
- package/lib/icons-DF2IcvTD.js.map +1 -0
- package/lib/{icons-C5UqghX2.mjs → icons-D_G_3m8-.mjs} +3 -3
- package/lib/{icons-C5UqghX2.mjs.map → icons-D_G_3m8-.mjs.map} +1 -1
- package/lib/{icons-BZI6_5JJ.js → icons-OsNrxOWn.js} +3 -3
- package/lib/{icons-BZI6_5JJ.js.map → icons-OsNrxOWn.js.map} +1 -1
- package/lib/img-placeholder-D-fbn9IG.js +41 -0
- package/lib/img-placeholder-D-fbn9IG.js.map +1 -0
- package/lib/img-placeholder-DhOOFcVQ.mjs +33 -0
- package/lib/img-placeholder-DhOOFcVQ.mjs.map +1 -0
- package/lib/index-B1cqLG7H.d.ts +26 -0
- package/lib/index-B5cZ2bgU.d.mts +21 -0
- package/lib/index-B7-bdIVL.d.ts +25 -0
- package/lib/index-BLWHIu0E.d.ts +20 -0
- package/lib/index-BNr6dtKF.d.mts +20 -0
- package/lib/index-C_Y_QOX7.d.mts +25 -0
- package/lib/index-Cav_aW5H.d.mts +17 -0
- package/lib/index-CxmCLH2N.d.ts +13 -0
- package/lib/index-D6x__0gM.d.mts +13 -0
- package/lib/index-D9_HCa05.d.ts +21 -0
- package/lib/index-Dg9CXOZr.d.mts +26 -0
- package/lib/{index-CUE6zs36.d.mts → index-HhQuz4hd.d.mts} +1 -1
- package/lib/index-MTFsl7V2.d.ts +25 -0
- package/lib/index-XkB8HVPQ.d.ts +17 -0
- package/lib/index-r6FmjV5m.d.mts +25 -0
- package/lib/input/components/search-bar.d.mts +5 -0
- package/lib/input/components/search-bar.d.ts +5 -0
- package/lib/input/components/search-bar.js +21 -0
- package/lib/input/components/search-bar.mjs +21 -0
- package/lib/input/constants.d.mts +1 -1
- package/lib/input/index.d.mts +6 -22
- package/lib/input/index.d.ts +5 -21
- package/lib/input/index.js +18 -8
- package/lib/input/index.mjs +17 -7
- package/lib/input/theme.d.mts +2 -2
- package/lib/input/theme.d.ts +1 -1
- package/lib/input/theme.js +1 -1
- package/lib/input/theme.mjs +1 -1
- package/lib/input-BdeamSBg.js +13 -0
- package/lib/input-BdeamSBg.js.map +1 -0
- package/lib/input-DJFz-dZR.mjs +8 -0
- package/lib/input-DJFz-dZR.mjs.map +1 -0
- package/lib/{internal-link-Bq4yp13E.js → internal-link-CKuvpRC8.js} +665 -66
- package/lib/internal-link-CKuvpRC8.js.map +1 -0
- package/lib/{internal-link-BL950cs3.d.ts → internal-link-CnC6mb4i.d.ts} +2 -2
- package/lib/{internal-link-DgOMen4w.d.mts → internal-link-F7DL65ZS.d.mts} +2 -2
- package/lib/{internal-link-DCXJvzgx.mjs → internal-link-JeC0sVNF.mjs} +665 -66
- package/lib/internal-link-JeC0sVNF.mjs.map +1 -0
- package/lib/{internal-links-DxtMobuI.js → internal-links-B0I8FU-O.js} +1 -1
- package/lib/{internal-links-DxtMobuI.js.map → internal-links-B0I8FU-O.js.map} +1 -1
- package/lib/{internal-links-CP3dqmrz.mjs → internal-links-hIbZZEWd.mjs} +1 -1
- package/lib/{internal-links-CP3dqmrz.mjs.map → internal-links-hIbZZEWd.mjs.map} +1 -1
- package/lib/jwt-B3e1_IVb.d.ts +11 -0
- package/lib/jwt-BpdQDGBb.mjs +18 -0
- package/lib/jwt-BpdQDGBb.mjs.map +1 -0
- package/lib/jwt-D5ouC3Ti.d.mts +11 -0
- package/lib/jwt-DPaLchNC.js +31 -0
- package/lib/jwt-DPaLchNC.js.map +1 -0
- package/lib/light-link-B51e63N6.mjs +29 -0
- package/lib/light-link-B51e63N6.mjs.map +1 -0
- package/lib/light-link-CqP81kip.js +38 -0
- package/lib/light-link-CqP81kip.js.map +1 -0
- package/lib/links-B-W3iTG7.js +20 -0
- package/lib/links-B-W3iTG7.js.map +1 -0
- package/lib/links-CLk9Tme-.mjs +15 -0
- package/lib/links-CLk9Tme-.mjs.map +1 -0
- package/lib/{links-DMd-CuUJ.js → links-aGPsRmpL.js} +7 -7
- package/lib/{links-DMd-CuUJ.js.map → links-aGPsRmpL.js.map} +1 -1
- package/lib/{links-CFjOQl4o.mjs → links-mToBwfIx.mjs} +6 -6
- package/lib/{links-CFjOQl4o.mjs.map → links-mToBwfIx.mjs.map} +1 -1
- package/lib/loading-BeEKq8Mb.mjs +100 -0
- package/lib/loading-BeEKq8Mb.mjs.map +1 -0
- package/lib/loading-CFCk4kkD.js +120 -0
- package/lib/loading-CFCk4kkD.js.map +1 -0
- package/lib/logo/components/logo-footer.d.mts +5 -0
- package/lib/logo/components/logo-footer.d.ts +5 -0
- package/lib/logo/components/logo-footer.js +6 -0
- package/lib/logo/components/logo-footer.mjs +6 -0
- package/lib/logo/components/logo-header.d.mts +5 -0
- package/lib/logo/components/logo-header.d.ts +5 -0
- package/lib/logo/components/logo-header.js +6 -0
- package/lib/logo/components/logo-header.mjs +6 -0
- package/lib/logo/components/logo-symbol.d.mts +5 -0
- package/lib/logo/components/logo-symbol.d.ts +5 -0
- package/lib/logo/components/logo-symbol.js +6 -0
- package/lib/logo/components/logo-symbol.mjs +6 -0
- package/lib/logo/constants.d.mts +2 -2
- package/lib/logo/constants.d.ts +1 -1
- package/lib/logo/constants.js +1 -1
- package/lib/logo/constants.mjs +1 -1
- package/lib/logo/index.d.mts +13 -38
- package/lib/logo/index.d.ts +12 -37
- package/lib/logo/index.js +10 -6
- package/lib/logo/index.mjs +7 -3
- package/lib/logo/utils/path.d.mts +12 -0
- package/lib/logo/utils/path.d.ts +11 -0
- package/lib/logo/utils/path.js +3 -0
- package/lib/logo/utils/path.mjs +3 -0
- package/lib/logo-BSQ347BA.mjs +14 -0
- package/lib/logo-BSQ347BA.mjs.map +1 -0
- package/lib/logo-BadImFmH.js +19 -0
- package/lib/logo-BadImFmH.js.map +1 -0
- package/lib/{logo-CeaVUbIW.js → logo-C6MIZMjk.js} +6 -6
- package/lib/{logo-CeaVUbIW.js.map → logo-C6MIZMjk.js.map} +1 -1
- package/lib/{logo-lPQ3Apwn.mjs → logo-HHIgzFFO.mjs} +4 -4
- package/lib/{logo-lPQ3Apwn.mjs.map → logo-HHIgzFFO.mjs.map} +1 -1
- package/lib/logo-footer-BHaZowQS.js +30 -0
- package/lib/logo-footer-BHaZowQS.js.map +1 -0
- package/lib/logo-footer-C2mygzWM.mjs +22 -0
- package/lib/logo-footer-C2mygzWM.mjs.map +1 -0
- package/lib/logo-footer-CmA2BnzS.d.ts +15 -0
- package/lib/logo-footer-NUo251uv.d.mts +15 -0
- package/lib/logo-header-BDLCtLT6.d.mts +15 -0
- package/lib/logo-header-Cp7W8CR-.js +27 -0
- package/lib/logo-header-Cp7W8CR-.js.map +1 -0
- package/lib/logo-header-DvUP30Y7.d.ts +15 -0
- package/lib/logo-header-Gy5Y-1lY.mjs +20 -0
- package/lib/logo-header-Gy5Y-1lY.mjs.map +1 -0
- package/lib/logo-symbol-8s7nSU0Z.mjs +20 -0
- package/lib/logo-symbol-8s7nSU0Z.mjs.map +1 -0
- package/lib/logo-symbol-DRA5IhbT.js +27 -0
- package/lib/logo-symbol-DRA5IhbT.js.map +1 -0
- package/lib/logo-symbol-OQi-RG-l.d.ts +15 -0
- package/lib/logo-symbol-S6fmcutW.d.mts +15 -0
- package/lib/menu-button-BzXGdc8T.mjs +22 -0
- package/lib/menu-button-BzXGdc8T.mjs.map +1 -0
- package/lib/menu-button-DP302FyB.js +30 -0
- package/lib/menu-button-DP302FyB.js.map +1 -0
- package/lib/{paragraph-iuz3jP0Q.js → paragraph-Bve022HS.js} +2 -2
- package/lib/paragraph-Bve022HS.js.map +1 -0
- package/lib/{paragraph-Cf9jr8RF.mjs → paragraph-QihuIWot.mjs} +2 -2
- package/lib/paragraph-QihuIWot.mjs.map +1 -0
- package/lib/path-CsJVJyBr.mjs +27 -0
- package/lib/path-CsJVJyBr.mjs.map +1 -0
- package/lib/path-j90QzFqV.js +33 -0
- package/lib/path-j90QzFqV.js.map +1 -0
- package/lib/pill-button-CNbShnjT.js +68 -0
- package/lib/pill-button-CNbShnjT.js.map +1 -0
- package/lib/pill-button-y0eh5cgT.mjs +59 -0
- package/lib/pill-button-y0eh5cgT.mjs.map +1 -0
- package/lib/{release-branch-CsBbhuYE.d.ts → release-branch-CnwfO6yj.d.ts} +1 -1
- package/lib/{release-branch-CRZV4Ivz.js → release-branch-DmSIuJAw.js} +1 -1
- package/lib/{release-branch-CRZV4Ivz.js.map → release-branch-DmSIuJAw.js.map} +1 -1
- package/lib/{release-branch-uF0B5lcE.d.mts → release-branch-IPa6pTGS.d.mts} +2 -2
- package/lib/{release-branch-DNCD1uH_.mjs → release-branch-oA59oIop.mjs} +1 -1
- package/lib/{release-branch-DNCD1uH_.mjs.map → release-branch-oA59oIop.mjs.map} +1 -1
- package/lib/{request-origins-CGkNWg8R.mjs → request-origins-BeXRYpFr.mjs} +2 -2
- package/lib/{request-origins-CGkNWg8R.mjs.map → request-origins-BeXRYpFr.mjs.map} +1 -1
- package/lib/{request-origins-BDXulkK9.js → request-origins-CSHIpq-b.js} +2 -2
- package/lib/{request-origins-BDXulkK9.js.map → request-origins-CSHIpq-b.js.map} +1 -1
- package/lib/{input-e0a-Wul_.js → search-bar-B9iWikhM.js} +7 -17
- package/lib/search-bar-B9iWikhM.js.map +1 -0
- package/lib/search-bar-BkH6o5Oz.d.mts +22 -0
- package/lib/search-bar-C3NMJ9ks.d.ts +22 -0
- package/lib/{input-BJWcutA3.mjs → search-bar-CU2VQdeo.mjs} +6 -10
- package/lib/search-bar-CU2VQdeo.mjs.map +1 -0
- package/lib/social-media-B3ZZZuYp.mjs +30 -0
- package/lib/social-media-B3ZZZuYp.mjs.map +1 -0
- package/lib/social-media-BX0Ns4BR.js +35 -0
- package/lib/social-media-BX0Ns4BR.js.map +1 -0
- package/lib/social-media-DDNkN_DL.js +35 -0
- package/lib/social-media-DDNkN_DL.js.map +1 -0
- package/lib/social-media-HZ8Jr1iM.mjs +26 -0
- package/lib/social-media-HZ8Jr1iM.mjs.map +1 -0
- package/lib/storybook/utils/get-enum-arg.d.mts +21 -0
- package/lib/storybook/utils/get-enum-arg.d.ts +21 -0
- package/lib/storybook/utils/get-enum-arg.js +28 -0
- package/lib/storybook/utils/get-enum-arg.js.map +1 -0
- package/lib/storybook/utils/get-enum-arg.mjs +26 -0
- package/lib/storybook/utils/get-enum-arg.mjs.map +1 -0
- package/lib/styles.css +176 -3
- package/lib/tab-bar/constants.d.mts +3 -3
- package/lib/tab-bar/constants.d.ts +2 -2
- package/lib/tab-bar/constants.js +5 -5
- package/lib/tab-bar/constants.mjs +5 -5
- package/lib/tab-bar/index.js +23 -13
- package/lib/tab-bar/index.mjs +23 -13
- package/lib/tab-bar/theme.d.mts +2 -2
- package/lib/tab-bar/theme.d.ts +1 -1
- package/lib/tab-bar/theme.js +1 -1
- package/lib/tab-bar/theme.mjs +1 -1
- package/lib/{tab-bar-C_FxNWkG.mjs → tab-bar-DDsyTDpg.mjs} +10 -20
- package/lib/tab-bar-DDsyTDpg.mjs.map +1 -0
- package/lib/{tab-bar-USs-mSXE.js → tab-bar-DE2tPvyh.js} +12 -28
- package/lib/tab-bar-DE2tPvyh.js.map +1 -0
- package/lib/tab-item-BLf_p9Qi.js +37 -0
- package/lib/tab-item-BLf_p9Qi.js.map +1 -0
- package/lib/tab-item-NrRakHlM.mjs +29 -0
- package/lib/tab-item-NrRakHlM.mjs.map +1 -0
- package/lib/tablet-and-below-BMy_YUZ1.mjs +101 -0
- package/lib/tablet-and-below-BMy_YUZ1.mjs.map +1 -0
- package/lib/tablet-and-below-DxwJGBEL.js +113 -0
- package/lib/tablet-and-below-DxwJGBEL.js.map +1 -0
- package/lib/text/constants.d.mts +2 -2
- package/lib/text/constants.d.ts +1 -1
- package/lib/text/heading.d.mts +2 -2
- package/lib/text/heading.d.ts +1 -1
- package/lib/text/heading.js +1 -1
- package/lib/text/heading.mjs +1 -1
- package/lib/text/paragraph.d.mts +2 -2
- package/lib/text/paragraph.d.ts +1 -1
- package/lib/text/paragraph.js +1 -1
- package/lib/text/paragraph.mjs +1 -1
- package/lib/text-button-DkD8OA65.mjs +66 -0
- package/lib/text-button-DkD8OA65.mjs.map +1 -0
- package/lib/text-button-DlMVqsvV.js +75 -0
- package/lib/text-button-DlMVqsvV.js.map +1 -0
- package/lib/theme-B4rsurcB.js +58 -0
- package/lib/theme-B4rsurcB.js.map +1 -0
- package/lib/theme-B5GNXw4M.js +48 -0
- package/lib/theme-B5GNXw4M.js.map +1 -0
- package/lib/theme-CJDY-Vlz.mjs +37 -0
- package/lib/theme-CJDY-Vlz.mjs.map +1 -0
- package/lib/theme-CKrQVNS4.mjs +53 -0
- package/lib/theme-CKrQVNS4.mjs.map +1 -0
- package/lib/theme-Cbt9LjOk.mjs +42 -0
- package/lib/theme-Cbt9LjOk.mjs.map +1 -0
- package/lib/{theme-BDGfJ8n-.d.ts → theme-Ce9CLqLS.d.ts} +1 -1
- package/lib/theme-CjHrkZbk.mjs +67 -0
- package/lib/theme-CjHrkZbk.mjs.map +1 -0
- package/lib/{theme-Cf9NG_eL.mjs → theme-DGjb7DO8.mjs} +1 -1
- package/lib/{theme-Cf9NG_eL.mjs.map → theme-DGjb7DO8.mjs.map} +1 -1
- package/lib/{theme-B9k1Udon.js → theme-DZGKeUdz.js} +1 -1
- package/lib/{theme-B9k1Udon.js.map → theme-DZGKeUdz.js.map} +1 -1
- package/lib/{theme-BLdi7Moc.js → theme-DcgOPrC2.js} +1 -1
- package/lib/{theme-BLdi7Moc.js.map → theme-DcgOPrC2.js.map} +1 -1
- package/lib/theme-DjRdV3Iq.js +90 -0
- package/lib/theme-DjRdV3Iq.js.map +1 -0
- package/lib/{theme-DURvzYaJ.mjs → theme-DkV7kMq6.mjs} +1 -1
- package/lib/{theme-DURvzYaJ.mjs.map → theme-DkV7kMq6.mjs.map} +1 -1
- package/lib/{theme-DKi2E2si.d.mts → theme-ECp4BKXJ.d.mts} +2 -2
- package/lib/theme-VVqGnnPq.js +307 -0
- package/lib/theme-VVqGnnPq.js.map +1 -0
- package/lib/theme-YXaUsVJu.mjs +296 -0
- package/lib/theme-YXaUsVJu.mjs.map +1 -0
- package/lib/theme-gPGrAR2u.mjs +46 -0
- package/lib/theme-gPGrAR2u.mjs.map +1 -0
- package/lib/theme-ingLagfo.js +63 -0
- package/lib/theme-ingLagfo.js.map +1 -0
- package/lib/theme-tgdB3gqC.js +59 -0
- package/lib/theme-tgdB3gqC.js.map +1 -0
- package/lib/title-bar/components/title-tab/hook.d.mts +7 -0
- package/lib/title-bar/components/title-tab/hook.d.ts +7 -0
- package/lib/title-bar/components/title-tab/hook.js +3 -0
- package/lib/title-bar/components/title-tab/hook.mjs +3 -0
- package/lib/title-bar/components/title-tab/index.d.mts +3 -0
- package/lib/title-bar/components/title-tab/index.d.ts +3 -0
- package/lib/title-bar/components/title-tab/index.js +23 -0
- package/lib/title-bar/components/title-tab/index.mjs +23 -0
- package/lib/title-bar/components/title-tab/tab-item.d.mts +12 -0
- package/lib/title-bar/components/title-tab/tab-item.d.ts +11 -0
- package/lib/title-bar/components/title-tab/tab-item.js +20 -0
- package/lib/title-bar/components/title-tab/tab-item.mjs +20 -0
- package/lib/title-bar/components/title-tab/type.d.mts +2 -0
- package/lib/title-bar/components/title-tab/type.d.ts +2 -0
- package/lib/title-bar/components/title-tab/type.js +0 -0
- package/lib/title-bar/components/title-tab/type.mjs +1 -0
- package/lib/title-bar/components/title1.d.mts +2 -0
- package/lib/title-bar/components/title1.d.ts +2 -0
- package/lib/title-bar/components/title1.js +6 -0
- package/lib/title-bar/components/title1.mjs +6 -0
- package/lib/title-bar/components/title2.d.mts +2 -0
- package/lib/title-bar/components/title2.d.ts +2 -0
- package/lib/title-bar/components/title2.js +6 -0
- package/lib/title-bar/components/title2.mjs +6 -0
- package/lib/title-bar/index.d.mts +8 -38
- package/lib/title-bar/index.d.ts +8 -38
- package/lib/title-bar/index.js +26 -141
- package/lib/title-bar/index.js.map +1 -1
- package/lib/title-bar/index.mjs +20 -131
- package/lib/title-bar/index.mjs.map +1 -1
- package/lib/title-tab-BRQQyX8-.js +55 -0
- package/lib/title-tab-BRQQyX8-.js.map +1 -0
- package/lib/title-tab-ClfJ1n88.mjs +46 -0
- package/lib/title-tab-ClfJ1n88.mjs.map +1 -0
- package/lib/title1-CB1C3lVX.js +34 -0
- package/lib/title1-CB1C3lVX.js.map +1 -0
- package/lib/title1-CkuzBJgg.d.ts +12 -0
- package/lib/title1-DMIzZ_Ce.d.mts +12 -0
- package/lib/title1-FLSEnRkW.mjs +26 -0
- package/lib/title1-FLSEnRkW.mjs.map +1 -0
- package/lib/title2-C2R8IF0W.d.ts +13 -0
- package/lib/title2-Dmq-RO59.mjs +29 -0
- package/lib/title2-Dmq-RO59.mjs.map +1 -0
- package/lib/title2-DxioNGe1.d.mts +13 -0
- package/lib/title2-MnbXvYzY.js +37 -0
- package/lib/title2-MnbXvYzY.js.map +1 -0
- package/lib/top-row-Be6hy8bz.mjs +76 -0
- package/lib/top-row-Be6hy8bz.mjs.map +1 -0
- package/lib/top-row-DoDiUNas.js +85 -0
- package/lib/top-row-DoDiUNas.js.map +1 -0
- package/lib/{type-CcygKers.d.ts → type-BnDFCU6X.d.ts} +1 -1
- package/lib/type-CLXaT3at.d.ts +10 -0
- package/lib/{type-Bsf9A8YX.d.mts → type-CUK24s0m.d.mts} +1 -1
- package/lib/type-CeVcN-Qd.d.mts +10 -0
- package/lib/types/index.d.mts +1 -1
- package/lib/{types-p8V2pbqn.d.mts → types-Blyo2r50.d.mts} +2 -2
- package/lib/{types-dW_WJa4D.d.ts → types-Ds7aLWpi.d.ts} +2 -2
- package/lib/use-outside-click-BIZ5N7wQ.d.ts +7 -0
- package/lib/use-outside-click-BO4-52Iu.d.mts +7 -0
- package/lib/{use-outside-click-DnJ0DNZ9.js → use-outside-click-Ffe2bjxu.js} +1 -1
- package/lib/{use-outside-click-DnJ0DNZ9.js.map → use-outside-click-Ffe2bjxu.js.map} +1 -1
- package/lib/{use-outside-click-BfAURk-E.mjs → use-outside-click-OKNYPEZn.mjs} +1 -1
- package/lib/{use-outside-click-BfAURk-E.mjs.map → use-outside-click-OKNYPEZn.mjs.map} +1 -1
- package/lib/z-index-CkMhi8IW.js +19 -0
- package/lib/z-index-CkMhi8IW.js.map +1 -0
- package/lib/z-index-YHdIcjBJ.mjs +13 -0
- package/lib/z-index-YHdIcjBJ.mjs.map +1 -0
- package/package.json +5 -6
- package/lib/button-D_AWI7r9.mjs +0 -597
- package/lib/button-D_AWI7r9.mjs.map +0 -1
- package/lib/button-Dk0MxlKd.js +0 -636
- package/lib/button-Dk0MxlKd.js.map +0 -1
- package/lib/dropdown-menu-CTUg6MST.js +0 -150
- package/lib/dropdown-menu-CTUg6MST.js.map +0 -1
- package/lib/dropdown-menu-MOuxtoud.mjs +0 -117
- package/lib/dropdown-menu-MOuxtoud.mjs.map +0 -1
- package/lib/hamburger-menu-B-n_-t91.mjs +0 -482
- package/lib/hamburger-menu-B-n_-t91.mjs.map +0 -1
- package/lib/hamburger-menu-CYiCx5_x.js +0 -497
- package/lib/hamburger-menu-CYiCx5_x.js.map +0 -1
- package/lib/input-BJWcutA3.mjs.map +0 -1
- package/lib/input-e0a-Wul_.js.map +0 -1
- package/lib/internal-link-Bq4yp13E.js.map +0 -1
- package/lib/internal-link-DCXJvzgx.mjs.map +0 -1
- package/lib/logo-B35M1BaX.js +0 -106
- package/lib/logo-B35M1BaX.js.map +0 -1
- package/lib/logo-DkEpjnPV.mjs +0 -80
- package/lib/logo-DkEpjnPV.mjs.map +0 -1
- package/lib/paragraph-Cf9jr8RF.mjs.map +0 -1
- package/lib/paragraph-iuz3jP0Q.js.map +0 -1
- package/lib/tab-bar-C_FxNWkG.mjs.map +0 -1
- package/lib/tab-bar-USs-mSXE.js.map +0 -1
- package/lib/use-outside-click-BA-T3hJc.d.ts +0 -7
- package/lib/use-outside-click-E-9eTkfz.d.mts +0 -7
package/lib/button/index.d.mts
CHANGED
|
@@ -1,97 +1,20 @@
|
|
|
1
|
-
import "../index-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import "../index-HhQuz4hd.mjs";
|
|
2
|
+
import { THEME, Theme } from "../theme-ECp4BKXJ.mjs";
|
|
3
|
+
import { SIZE, STYLE, Size, Style, TYPE, Type } from "../constants-CFstRAZ_.mjs";
|
|
4
|
+
import { IconButton } from "../index-B5cZ2bgU.mjs";
|
|
5
|
+
import { IconWithTextButton } from "../index-BNr6dtKF.mjs";
|
|
6
|
+
import { WEIGHT, Weight } from "../constants-jR2WUCRY.mjs";
|
|
7
|
+
import { MenuButton } from "../index-Cav_aW5H.mjs";
|
|
8
|
+
import { PillButton } from "../index-Dg9CXOZr.mjs";
|
|
9
|
+
import { TextButton } from "../index-C_Y_QOX7.mjs";
|
|
10
|
+
import * as react2 from "react";
|
|
7
11
|
|
|
8
|
-
//#region src/button/components/text-button/index.d.ts
|
|
9
|
-
type TextButtonProps = {
|
|
10
|
-
text: string;
|
|
11
|
-
leftIconComponent?: ReactElement;
|
|
12
|
-
rightIconComponent?: ReactElement;
|
|
13
|
-
size?: Size;
|
|
14
|
-
style?: Style;
|
|
15
|
-
theme?: Theme;
|
|
16
|
-
active?: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
loading?: boolean;
|
|
19
|
-
className?: string;
|
|
20
|
-
};
|
|
21
|
-
declare const TextButton: FC<TextButtonProps> & {
|
|
22
|
-
Size: typeof SIZE;
|
|
23
|
-
Style: typeof STYLE;
|
|
24
|
-
Theme: typeof THEME;
|
|
25
|
-
};
|
|
26
|
-
//#endregion
|
|
27
|
-
//#region src/button/components/icon-button/index.d.ts
|
|
28
|
-
type IconButtonProps = {
|
|
29
|
-
iconComponent: React$1.ReactElement;
|
|
30
|
-
theme?: Theme;
|
|
31
|
-
type?: Type;
|
|
32
|
-
disabled?: boolean;
|
|
33
|
-
active?: boolean;
|
|
34
|
-
className?: string;
|
|
35
|
-
onClick?: (e: React$1.MouseEvent<HTMLButtonElement>) => void;
|
|
36
|
-
};
|
|
37
|
-
declare const IconButton: React$1.FC<IconButtonProps> & {
|
|
38
|
-
Theme: typeof THEME;
|
|
39
|
-
Type: typeof TYPE;
|
|
40
|
-
};
|
|
41
|
-
//#endregion
|
|
42
|
-
//#region src/button/components/menu-button/index.d.ts
|
|
43
|
-
type MenuButtonProps = {
|
|
44
|
-
text: string;
|
|
45
|
-
color: string;
|
|
46
|
-
fontWeight: Weight;
|
|
47
|
-
className?: string;
|
|
48
|
-
p1ClassName?: string;
|
|
49
|
-
};
|
|
50
|
-
declare const MenuButton: React$1.FC<MenuButtonProps> & {
|
|
51
|
-
FontWeight: typeof WEIGHT;
|
|
52
|
-
};
|
|
53
|
-
//#endregion
|
|
54
|
-
//#region src/button/components/pill-button/index.d.ts
|
|
55
|
-
type PillButtonProps = {
|
|
56
|
-
text?: string;
|
|
57
|
-
leftIconComponent?: React.ReactElement;
|
|
58
|
-
rightIconComponent?: React.ReactElement;
|
|
59
|
-
size?: Size;
|
|
60
|
-
theme?: Theme;
|
|
61
|
-
type?: Type;
|
|
62
|
-
style?: Style;
|
|
63
|
-
disabled?: boolean;
|
|
64
|
-
loading?: boolean;
|
|
65
|
-
className?: string;
|
|
66
|
-
};
|
|
67
|
-
declare const PillButton: FC<PillButtonProps> & {
|
|
68
|
-
Theme: typeof THEME;
|
|
69
|
-
Type: typeof TYPE;
|
|
70
|
-
Size: typeof SIZE;
|
|
71
|
-
Style: typeof STYLE;
|
|
72
|
-
};
|
|
73
|
-
//#endregion
|
|
74
|
-
//#region src/button/components/icon-with-text-button/index.d.ts
|
|
75
|
-
type IconWithTextButtonProps = {
|
|
76
|
-
text?: string;
|
|
77
|
-
iconComponent: React.ReactNode;
|
|
78
|
-
theme?: Theme;
|
|
79
|
-
disabled?: boolean;
|
|
80
|
-
active?: boolean;
|
|
81
|
-
hideText?: boolean;
|
|
82
|
-
className?: string;
|
|
83
|
-
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
84
|
-
};
|
|
85
|
-
declare const IconWithTextButton: FC<IconWithTextButtonProps> & {
|
|
86
|
-
Theme: typeof THEME;
|
|
87
|
-
};
|
|
88
|
-
//#endregion
|
|
89
12
|
//#region src/button/index.d.ts
|
|
90
13
|
declare const _default: {
|
|
91
|
-
TextButton:
|
|
14
|
+
TextButton: react2.FC<{
|
|
92
15
|
text: string;
|
|
93
|
-
leftIconComponent?:
|
|
94
|
-
rightIconComponent?:
|
|
16
|
+
leftIconComponent?: react2.ReactElement;
|
|
17
|
+
rightIconComponent?: react2.ReactElement;
|
|
95
18
|
size?: Size;
|
|
96
19
|
style?: Style;
|
|
97
20
|
theme?: Theme;
|
|
@@ -104,7 +27,7 @@ declare const _default: {
|
|
|
104
27
|
Style: typeof STYLE;
|
|
105
28
|
Theme: typeof THEME;
|
|
106
29
|
};
|
|
107
|
-
IconButton:
|
|
30
|
+
IconButton: react2.FC<{
|
|
108
31
|
iconComponent: React.ReactElement;
|
|
109
32
|
theme?: Theme;
|
|
110
33
|
type?: Type;
|
|
@@ -116,7 +39,7 @@ declare const _default: {
|
|
|
116
39
|
Theme: typeof THEME;
|
|
117
40
|
Type: typeof TYPE;
|
|
118
41
|
};
|
|
119
|
-
MenuButton:
|
|
42
|
+
MenuButton: react2.FC<{
|
|
120
43
|
text: string;
|
|
121
44
|
color: string;
|
|
122
45
|
fontWeight: Weight;
|
|
@@ -125,7 +48,7 @@ declare const _default: {
|
|
|
125
48
|
}> & {
|
|
126
49
|
FontWeight: typeof WEIGHT;
|
|
127
50
|
};
|
|
128
|
-
PillButton:
|
|
51
|
+
PillButton: react2.FC<{
|
|
129
52
|
text?: string;
|
|
130
53
|
leftIconComponent?: React.ReactElement;
|
|
131
54
|
rightIconComponent?: React.ReactElement;
|
|
@@ -142,7 +65,7 @@ declare const _default: {
|
|
|
142
65
|
Size: typeof SIZE;
|
|
143
66
|
Style: typeof STYLE;
|
|
144
67
|
};
|
|
145
|
-
IconWithTextButton:
|
|
68
|
+
IconWithTextButton: react2.FC<{
|
|
146
69
|
text?: string;
|
|
147
70
|
iconComponent: React.ReactNode;
|
|
148
71
|
theme?: Theme;
|
package/lib/button/index.d.ts
CHANGED
|
@@ -1,97 +1,20 @@
|
|
|
1
1
|
import "../index-H3peA2d_.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
2
|
+
import { THEME, Theme } from "../theme-Ce9CLqLS.js";
|
|
3
|
+
import { SIZE, STYLE, Size, Style, TYPE, Type } from "../constants-YK2KhqPU.js";
|
|
4
|
+
import { IconButton } from "../index-D9_HCa05.js";
|
|
5
|
+
import { IconWithTextButton } from "../index-BLWHIu0E.js";
|
|
6
|
+
import { WEIGHT, Weight } from "../constants-BC_JdEyk.js";
|
|
7
|
+
import { MenuButton } from "../index-XkB8HVPQ.js";
|
|
8
|
+
import { PillButton } from "../index-B1cqLG7H.js";
|
|
9
|
+
import { TextButton } from "../index-B7-bdIVL.js";
|
|
10
|
+
import * as react9 from "react";
|
|
7
11
|
|
|
8
|
-
//#region src/button/components/text-button/index.d.ts
|
|
9
|
-
type TextButtonProps = {
|
|
10
|
-
text: string;
|
|
11
|
-
leftIconComponent?: ReactElement;
|
|
12
|
-
rightIconComponent?: ReactElement;
|
|
13
|
-
size?: Size;
|
|
14
|
-
style?: Style;
|
|
15
|
-
theme?: Theme;
|
|
16
|
-
active?: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
loading?: boolean;
|
|
19
|
-
className?: string;
|
|
20
|
-
};
|
|
21
|
-
declare const TextButton: FC<TextButtonProps> & {
|
|
22
|
-
Size: typeof SIZE;
|
|
23
|
-
Style: typeof STYLE;
|
|
24
|
-
Theme: typeof THEME;
|
|
25
|
-
};
|
|
26
|
-
//#endregion
|
|
27
|
-
//#region src/button/components/icon-button/index.d.ts
|
|
28
|
-
type IconButtonProps = {
|
|
29
|
-
iconComponent: React$1.ReactElement;
|
|
30
|
-
theme?: Theme;
|
|
31
|
-
type?: Type;
|
|
32
|
-
disabled?: boolean;
|
|
33
|
-
active?: boolean;
|
|
34
|
-
className?: string;
|
|
35
|
-
onClick?: (e: React$1.MouseEvent<HTMLButtonElement>) => void;
|
|
36
|
-
};
|
|
37
|
-
declare const IconButton: React$1.FC<IconButtonProps> & {
|
|
38
|
-
Theme: typeof THEME;
|
|
39
|
-
Type: typeof TYPE;
|
|
40
|
-
};
|
|
41
|
-
//#endregion
|
|
42
|
-
//#region src/button/components/menu-button/index.d.ts
|
|
43
|
-
type MenuButtonProps = {
|
|
44
|
-
text: string;
|
|
45
|
-
color: string;
|
|
46
|
-
fontWeight: Weight;
|
|
47
|
-
className?: string;
|
|
48
|
-
p1ClassName?: string;
|
|
49
|
-
};
|
|
50
|
-
declare const MenuButton: React$1.FC<MenuButtonProps> & {
|
|
51
|
-
FontWeight: typeof WEIGHT;
|
|
52
|
-
};
|
|
53
|
-
//#endregion
|
|
54
|
-
//#region src/button/components/pill-button/index.d.ts
|
|
55
|
-
type PillButtonProps = {
|
|
56
|
-
text?: string;
|
|
57
|
-
leftIconComponent?: React.ReactElement;
|
|
58
|
-
rightIconComponent?: React.ReactElement;
|
|
59
|
-
size?: Size;
|
|
60
|
-
theme?: Theme;
|
|
61
|
-
type?: Type;
|
|
62
|
-
style?: Style;
|
|
63
|
-
disabled?: boolean;
|
|
64
|
-
loading?: boolean;
|
|
65
|
-
className?: string;
|
|
66
|
-
};
|
|
67
|
-
declare const PillButton: FC<PillButtonProps> & {
|
|
68
|
-
Theme: typeof THEME;
|
|
69
|
-
Type: typeof TYPE;
|
|
70
|
-
Size: typeof SIZE;
|
|
71
|
-
Style: typeof STYLE;
|
|
72
|
-
};
|
|
73
|
-
//#endregion
|
|
74
|
-
//#region src/button/components/icon-with-text-button/index.d.ts
|
|
75
|
-
type IconWithTextButtonProps = {
|
|
76
|
-
text?: string;
|
|
77
|
-
iconComponent: React.ReactNode;
|
|
78
|
-
theme?: Theme;
|
|
79
|
-
disabled?: boolean;
|
|
80
|
-
active?: boolean;
|
|
81
|
-
hideText?: boolean;
|
|
82
|
-
className?: string;
|
|
83
|
-
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
84
|
-
};
|
|
85
|
-
declare const IconWithTextButton: FC<IconWithTextButtonProps> & {
|
|
86
|
-
Theme: typeof THEME;
|
|
87
|
-
};
|
|
88
|
-
//#endregion
|
|
89
12
|
//#region src/button/index.d.ts
|
|
90
13
|
declare const _default: {
|
|
91
|
-
TextButton:
|
|
14
|
+
TextButton: react9.FC<{
|
|
92
15
|
text: string;
|
|
93
|
-
leftIconComponent?:
|
|
94
|
-
rightIconComponent?:
|
|
16
|
+
leftIconComponent?: react9.ReactElement;
|
|
17
|
+
rightIconComponent?: react9.ReactElement;
|
|
95
18
|
size?: Size;
|
|
96
19
|
style?: Style;
|
|
97
20
|
theme?: Theme;
|
|
@@ -104,7 +27,7 @@ declare const _default: {
|
|
|
104
27
|
Style: typeof STYLE;
|
|
105
28
|
Theme: typeof THEME;
|
|
106
29
|
};
|
|
107
|
-
IconButton:
|
|
30
|
+
IconButton: react9.FC<{
|
|
108
31
|
iconComponent: React.ReactElement;
|
|
109
32
|
theme?: Theme;
|
|
110
33
|
type?: Type;
|
|
@@ -116,7 +39,7 @@ declare const _default: {
|
|
|
116
39
|
Theme: typeof THEME;
|
|
117
40
|
Type: typeof TYPE;
|
|
118
41
|
};
|
|
119
|
-
MenuButton:
|
|
42
|
+
MenuButton: react9.FC<{
|
|
120
43
|
text: string;
|
|
121
44
|
color: string;
|
|
122
45
|
fontWeight: Weight;
|
|
@@ -125,7 +48,7 @@ declare const _default: {
|
|
|
125
48
|
}> & {
|
|
126
49
|
FontWeight: typeof WEIGHT;
|
|
127
50
|
};
|
|
128
|
-
PillButton:
|
|
51
|
+
PillButton: react9.FC<{
|
|
129
52
|
text?: string;
|
|
130
53
|
leftIconComponent?: React.ReactElement;
|
|
131
54
|
rightIconComponent?: React.ReactElement;
|
|
@@ -142,7 +65,7 @@ declare const _default: {
|
|
|
142
65
|
Size: typeof SIZE;
|
|
143
66
|
Style: typeof STYLE;
|
|
144
67
|
};
|
|
145
|
-
IconWithTextButton:
|
|
68
|
+
IconWithTextButton: react9.FC<{
|
|
146
69
|
text?: string;
|
|
147
70
|
iconComponent: React.ReactNode;
|
|
148
71
|
theme?: Theme;
|
package/lib/button/index.js
CHANGED
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
require('../constants-BmxSMOOn.js');
|
|
3
3
|
require('../constants-Cndhv6qr.js');
|
|
4
|
-
require('../paragraph-
|
|
4
|
+
require('../paragraph-Bve022HS.js');
|
|
5
5
|
require('../theme-DDBlIbeS.js');
|
|
6
|
-
|
|
6
|
+
require('../theme-ingLagfo.js');
|
|
7
|
+
const require_text_button = require('../text-button-DlMVqsvV.js');
|
|
8
|
+
require('../theme-B5GNXw4M.js');
|
|
9
|
+
const require_icon_button = require('../icon-button-Vqwyow05.js');
|
|
10
|
+
const require_menu_button = require('../menu-button-DP302FyB.js');
|
|
11
|
+
require('../theme-VVqGnnPq.js');
|
|
12
|
+
const require_pill_button = require('../pill-button-CNbShnjT.js');
|
|
13
|
+
require('../theme-B4rsurcB.js');
|
|
14
|
+
const require_icon_with_text_button = require('../icon-with-text-button-DOj_-gz0.js');
|
|
15
|
+
const require_button = require('../button-BLRV4Hwe.js');
|
|
7
16
|
|
|
8
|
-
exports.IconButton =
|
|
9
|
-
exports.IconWithTextButton =
|
|
10
|
-
exports.MenuButton =
|
|
11
|
-
exports.PillButton =
|
|
12
|
-
exports.TextButton =
|
|
17
|
+
exports.IconButton = require_icon_button.icon_button_default;
|
|
18
|
+
exports.IconWithTextButton = require_icon_with_text_button.icon_with_text_button_default;
|
|
19
|
+
exports.MenuButton = require_menu_button.menu_button_default;
|
|
20
|
+
exports.PillButton = require_pill_button.pill_button_default;
|
|
21
|
+
exports.TextButton = require_text_button.text_button_default;
|
|
13
22
|
exports.default = require_button.button_default;
|
package/lib/button/index.mjs
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import "../constants-oTHAnh6r.mjs";
|
|
2
2
|
import "../constants-CBSEPx91.mjs";
|
|
3
|
-
import "../paragraph-
|
|
3
|
+
import "../paragraph-QihuIWot.mjs";
|
|
4
4
|
import "../theme-BG6yZVj-.mjs";
|
|
5
|
-
import
|
|
5
|
+
import "../theme-gPGrAR2u.mjs";
|
|
6
|
+
import { text_button_default } from "../text-button-DkD8OA65.mjs";
|
|
7
|
+
import "../theme-CJDY-Vlz.mjs";
|
|
8
|
+
import { icon_button_default } from "../icon-button-B-71Zncn.mjs";
|
|
9
|
+
import { menu_button_default } from "../menu-button-BzXGdc8T.mjs";
|
|
10
|
+
import "../theme-YXaUsVJu.mjs";
|
|
11
|
+
import { pill_button_default } from "../pill-button-y0eh5cgT.mjs";
|
|
12
|
+
import "../theme-CKrQVNS4.mjs";
|
|
13
|
+
import { icon_with_text_button_default } from "../icon-with-text-button-CTWmp6He.mjs";
|
|
14
|
+
import { button_default } from "../button-ubJKEMLe.mjs";
|
|
6
15
|
|
|
7
16
|
export { icon_button_default as IconButton, icon_with_text_button_default as IconWithTextButton, menu_button_default as MenuButton, pill_button_default as PillButton, text_button_default as TextButton, button_default as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_text_button = require('./text-button-DlMVqsvV.js');
|
|
2
|
+
const require_icon_button = require('./icon-button-Vqwyow05.js');
|
|
3
|
+
const require_menu_button = require('./menu-button-DP302FyB.js');
|
|
4
|
+
const require_pill_button = require('./pill-button-CNbShnjT.js');
|
|
5
|
+
const require_icon_with_text_button = require('./icon-with-text-button-DOj_-gz0.js');
|
|
6
|
+
|
|
7
|
+
//#region src/button/index.ts
|
|
8
|
+
var button_default = {
|
|
9
|
+
TextButton: require_text_button.text_button_default,
|
|
10
|
+
IconButton: require_icon_button.icon_button_default,
|
|
11
|
+
MenuButton: require_menu_button.menu_button_default,
|
|
12
|
+
PillButton: require_pill_button.pill_button_default,
|
|
13
|
+
IconWithTextButton: require_icon_with_text_button.icon_with_text_button_default
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
Object.defineProperty(exports, 'button_default', {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () {
|
|
20
|
+
return button_default;
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=button-BLRV4Hwe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-BLRV4Hwe.js","names":[],"sources":["../src/button/index.ts"],"sourcesContent":["import TextButton from './components/text-button'\nimport IconButton from './components/icon-button'\nimport MenuButton from './components/menu-button'\nimport PillButton from './components/pill-button'\nimport IconWithTextButton from './components/icon-with-text-button'\n\nexport { TextButton, IconButton, MenuButton, PillButton, IconWithTextButton }\n\nexport default {\n TextButton,\n IconButton,\n MenuButton,\n PillButton,\n IconWithTextButton,\n}\n"],"mappings":";;;;;;;AAQA,qBAAe;CACb;CACA;CACA;CACA;CACA;CACD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { text_button_default } from "./text-button-DkD8OA65.mjs";
|
|
2
|
+
import { icon_button_default } from "./icon-button-B-71Zncn.mjs";
|
|
3
|
+
import { menu_button_default } from "./menu-button-BzXGdc8T.mjs";
|
|
4
|
+
import { pill_button_default } from "./pill-button-y0eh5cgT.mjs";
|
|
5
|
+
import { icon_with_text_button_default } from "./icon-with-text-button-CTWmp6He.mjs";
|
|
6
|
+
|
|
7
|
+
//#region src/button/index.ts
|
|
8
|
+
var button_default = {
|
|
9
|
+
TextButton: text_button_default,
|
|
10
|
+
IconButton: icon_button_default,
|
|
11
|
+
MenuButton: menu_button_default,
|
|
12
|
+
PillButton: pill_button_default,
|
|
13
|
+
IconWithTextButton: icon_with_text_button_default
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { button_default };
|
|
18
|
+
//# sourceMappingURL=button-ubJKEMLe.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-ubJKEMLe.mjs","names":[],"sources":["../src/button/index.ts"],"sourcesContent":["import TextButton from './components/text-button'\nimport IconButton from './components/icon-button'\nimport MenuButton from './components/menu-button'\nimport PillButton from './components/pill-button'\nimport IconWithTextButton from './components/icon-with-text-button'\n\nexport { TextButton, IconButton, MenuButton, PillButton, IconWithTextButton }\n\nexport default {\n TextButton,\n IconButton,\n MenuButton,\n PillButton,\n IconWithTextButton,\n}\n"],"mappings":";;;;;;;AAQA,qBAAe;CACb;CACA;CACA;CACA;CACA;CACD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/card/list/img-placeholder.d.ts
|
|
4
|
+
declare const ImgPlaceholder: () => react_jsx_runtime11.JSX.Element;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { ImgPlaceholder as default };
|
|
7
|
+
//# sourceMappingURL=img-placeholder.d.mts.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "../../index-HhQuz4hd.mjs";
|
|
2
|
+
import { SIZE, Size } from "../../constants-DP5x2xfg.mjs";
|
|
3
|
+
import { FC } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/card/list/index.d.ts
|
|
6
|
+
type CardListBaseProps = {
|
|
7
|
+
categoryLabel?: string;
|
|
8
|
+
publishedDate?: string;
|
|
9
|
+
title: string;
|
|
10
|
+
description: string;
|
|
11
|
+
image?: {
|
|
12
|
+
src: string;
|
|
13
|
+
alt?: string;
|
|
14
|
+
};
|
|
15
|
+
size: Size;
|
|
16
|
+
};
|
|
17
|
+
type CardListLoadingProps = {
|
|
18
|
+
isLoading: true;
|
|
19
|
+
size: Size;
|
|
20
|
+
};
|
|
21
|
+
type CardListDetailProps = CardListBaseProps & {
|
|
22
|
+
isLoading?: false;
|
|
23
|
+
};
|
|
24
|
+
type CardListProps = CardListLoadingProps | CardListDetailProps;
|
|
25
|
+
declare const CardList: FC<CardListProps> & {
|
|
26
|
+
Size: typeof SIZE;
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
export { CardList as default };
|
|
30
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import "../../index-H3peA2d_.js";
|
|
2
|
+
import { SIZE, Size } from "../../constants-Dk98cPGb.js";
|
|
3
|
+
import { FC } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/card/list/index.d.ts
|
|
6
|
+
type CardListBaseProps = {
|
|
7
|
+
categoryLabel?: string;
|
|
8
|
+
publishedDate?: string;
|
|
9
|
+
title: string;
|
|
10
|
+
description: string;
|
|
11
|
+
image?: {
|
|
12
|
+
src: string;
|
|
13
|
+
alt?: string;
|
|
14
|
+
};
|
|
15
|
+
size: Size;
|
|
16
|
+
};
|
|
17
|
+
type CardListLoadingProps = {
|
|
18
|
+
isLoading: true;
|
|
19
|
+
size: Size;
|
|
20
|
+
};
|
|
21
|
+
type CardListDetailProps = CardListBaseProps & {
|
|
22
|
+
isLoading?: false;
|
|
23
|
+
};
|
|
24
|
+
type CardListProps = CardListLoadingProps | CardListDetailProps;
|
|
25
|
+
declare const CardList: FC<CardListProps> & {
|
|
26
|
+
Size: typeof SIZE;
|
|
27
|
+
};
|
|
28
|
+
export = CardList;
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
const require_chunk = require('../../chunk-BxBTb9qk.js');
|
|
2
|
+
require('../../constants-Cndhv6qr.js');
|
|
3
|
+
const require_paragraph = require('../../paragraph-Bve022HS.js');
|
|
4
|
+
const require_heading = require('../../heading-D5Lv6X0M.js');
|
|
5
|
+
const require_constants$1 = require('../../constants-CCYwjB2d.js');
|
|
6
|
+
const require_img_placeholder = require('../../img-placeholder-D-fbn9IG.js');
|
|
7
|
+
const require_loading = require('../../loading-CFCk4kkD.js');
|
|
8
|
+
let clsx = require("clsx");
|
|
9
|
+
clsx = require_chunk.__toESM(clsx);
|
|
10
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
|
+
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
12
|
+
|
|
13
|
+
//#region src/card/list/index.tsx
|
|
14
|
+
const CardList = (props) => {
|
|
15
|
+
const { size, isLoading = false } = props;
|
|
16
|
+
if (size === require_constants$1.SIZE.s) {
|
|
17
|
+
if (isLoading) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_loading.SmallSkeleton, {});
|
|
18
|
+
const { categoryLabel: categoryLabel$1, publishedDate: publishedDate$1, title: title$1, description: description$1, image: image$1 } = props;
|
|
19
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
20
|
+
className: (0, clsx.default)("flex flex-col w-full gap-[8px]", "hover:opacity-70", "hover:cursor-pointer"),
|
|
21
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
22
|
+
className: "flex flex-row gap-[8px]",
|
|
23
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
24
|
+
className: "flex flex-col w-full gap-[4px]",
|
|
25
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
26
|
+
className: "flex flex-row gap-[8px]",
|
|
27
|
+
children: [categoryLabel$1 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_paragraph.P3, {
|
|
28
|
+
className: "text-gray-600",
|
|
29
|
+
text: categoryLabel$1
|
|
30
|
+
}) : null, publishedDate$1 ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_paragraph.P3, {
|
|
31
|
+
className: "text-gray-600",
|
|
32
|
+
text: publishedDate$1
|
|
33
|
+
}) : null]
|
|
34
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_heading.H4, {
|
|
35
|
+
className: "text-gray-800",
|
|
36
|
+
text: title$1
|
|
37
|
+
})]
|
|
38
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
39
|
+
className: "flex justify-center items-center",
|
|
40
|
+
children: image$1?.src ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
|
|
41
|
+
src: image$1.src,
|
|
42
|
+
alt: image$1.alt ?? "",
|
|
43
|
+
className: "w-[72px] h-[72px] object-cover shrink-0"
|
|
44
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
45
|
+
className: "w-[72px] h-[72px] shrink-0 flex items-center justify-center bg-gray-100",
|
|
46
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_img_placeholder.img_placeholder_default, {})
|
|
47
|
+
})
|
|
48
|
+
})]
|
|
49
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_paragraph.P2, {
|
|
50
|
+
className: "text-gray-800 line-clamp-3",
|
|
51
|
+
text: description$1
|
|
52
|
+
})]
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
if (isLoading) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_loading.LargeSkeleton, {});
|
|
56
|
+
const { categoryLabel, publishedDate, title, description, image } = props;
|
|
57
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
58
|
+
className: (0, clsx.default)("flex flex-row w-full gap-[32px]", "hover:opacity-70", "hover:cursor-pointer"),
|
|
59
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
60
|
+
className: "flex flex-col w-full gap-[8px]",
|
|
61
|
+
children: [
|
|
62
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
63
|
+
className: "flex flex-row gap-[8px]",
|
|
64
|
+
children: [categoryLabel ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_paragraph.P3, {
|
|
65
|
+
className: "text-gray-600",
|
|
66
|
+
text: categoryLabel
|
|
67
|
+
}) : null, publishedDate ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_paragraph.P3, {
|
|
68
|
+
className: "text-gray-600",
|
|
69
|
+
text: publishedDate
|
|
70
|
+
}) : null]
|
|
71
|
+
}),
|
|
72
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_heading.H4, {
|
|
73
|
+
className: "text-gray-800",
|
|
74
|
+
text: title
|
|
75
|
+
}),
|
|
76
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_paragraph.P1, {
|
|
77
|
+
className: "text-gray-800 line-clamp-3",
|
|
78
|
+
text: description
|
|
79
|
+
})
|
|
80
|
+
]
|
|
81
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
82
|
+
className: "flex justify-center items-center",
|
|
83
|
+
children: image?.src ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("img", {
|
|
84
|
+
src: image.src,
|
|
85
|
+
alt: image.alt ?? "",
|
|
86
|
+
className: "w-[216px] h-[144px] object-cover shrink-0"
|
|
87
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
88
|
+
className: "w-[216px] h-[144px] shrink-0 flex items-center justify-center bg-gray-100",
|
|
89
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_img_placeholder.img_placeholder_default, {})
|
|
90
|
+
})
|
|
91
|
+
})]
|
|
92
|
+
});
|
|
93
|
+
};
|
|
94
|
+
CardList.Size = require_constants$1.SIZE;
|
|
95
|
+
var list_default = CardList;
|
|
96
|
+
|
|
97
|
+
//#endregion
|
|
98
|
+
module.exports = list_default;
|
|
99
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["CardList: FC<CardListProps> & { Size: typeof SIZE }","SIZE","SmallSkeleton","categoryLabel","P3","publishedDate","H4","title","image","ImgPlaceholder","P2","description","LargeSkeleton","P1"],"sources":["../../../src/card/list/index.tsx"],"sourcesContent":["import type { FC } from 'react'\nimport clsx from 'clsx'\n// text\nimport { P1, P2, P3 } from '../../text/paragraph'\nimport { H4 } from '../../text/heading'\n// constants\nimport { SIZE, type Size } from './constants'\n// skeleton\nimport { LargeSkeleton, SmallSkeleton } from './loading'\n// placeholder\nimport ImgPlaceholder from './img-placeholder'\n\ntype CardListBaseProps = {\n categoryLabel?: string\n publishedDate?: string\n title: string\n description: string\n image?: {\n src: string\n alt?: string\n }\n size: Size\n // TODO: add isBookmark when bookmark feature is ready\n // isBookmark?: boolean\n // onBookmarkClick?: () => void\n}\n\ntype CardListLoadingProps = {\n isLoading: true\n size: Size\n}\n\ntype CardListDetailProps = CardListBaseProps & {\n isLoading?: false\n}\n\ntype CardListProps = CardListLoadingProps | CardListDetailProps\n\nconst CardList: FC<CardListProps> & { Size: typeof SIZE } = (props) => {\n const { size, isLoading = false } = props\n\n if (size === SIZE.s) {\n if (isLoading) {\n return <SmallSkeleton />\n }\n const { categoryLabel, publishedDate, title, description, image } =\n props as CardListDetailProps\n return (\n <div\n className={clsx(\n 'flex flex-col w-full gap-[8px]',\n 'hover:opacity-70',\n 'hover:cursor-pointer'\n )}\n >\n <div className=\"flex flex-row gap-[8px]\">\n <div className=\"flex flex-col w-full gap-[4px]\">\n <div className=\"flex flex-row gap-[8px]\">\n {categoryLabel ? (\n <P3 className=\"text-gray-600\" text={categoryLabel} />\n ) : null}\n {publishedDate ? (\n <P3 className=\"text-gray-600\" text={publishedDate} />\n ) : null}\n </div>\n <H4 className=\"text-gray-800\" text={title} />\n </div>\n <div className=\"flex justify-center items-center\">\n {image?.src ? (\n // biome-ignore lint/performance/noImgElement: use next image later\n <img\n src={image.src}\n alt={image.alt ?? ''}\n className=\"w-[72px] h-[72px] object-cover shrink-0\"\n />\n ) : (\n <div className=\"w-[72px] h-[72px] shrink-0 flex items-center justify-center bg-gray-100\">\n <ImgPlaceholder />\n </div>\n )}\n </div>\n </div>\n <P2 className=\"text-gray-800 line-clamp-3\" text={description} />\n </div>\n )\n }\n\n if (isLoading) {\n return <LargeSkeleton />\n }\n\n const { categoryLabel, publishedDate, title, description, image } =\n props as CardListDetailProps\n return (\n <div\n className={clsx(\n 'flex flex-row w-full gap-[32px]',\n 'hover:opacity-70',\n 'hover:cursor-pointer'\n )}\n >\n <div className=\"flex flex-col w-full gap-[8px]\">\n <div className=\"flex flex-row gap-[8px]\">\n {categoryLabel ? (\n <P3 className=\"text-gray-600\" text={categoryLabel} />\n ) : null}\n {publishedDate ? (\n <P3 className=\"text-gray-600\" text={publishedDate} />\n ) : null}\n </div>\n <H4 className=\"text-gray-800\" text={title} />\n <P1 className=\"text-gray-800 line-clamp-3\" text={description} />\n </div>\n <div className=\"flex justify-center items-center\">\n {image?.src ? (\n // biome-ignore lint/performance/noImgElement: use next image later\n <img\n src={image.src}\n alt={image.alt ?? ''}\n className=\"w-[216px] h-[144px] object-cover shrink-0\"\n />\n ) : (\n <div className=\"w-[216px] h-[144px] shrink-0 flex items-center justify-center bg-gray-100\">\n <ImgPlaceholder />\n </div>\n )}\n </div>\n </div>\n )\n}\n\nCardList.Size = SIZE\nexport default CardList\n"],"mappings":";;;;;;;;;;;;;AAsCA,MAAMA,YAAuD,UAAU;CACrE,MAAM,EAAE,MAAM,YAAY,UAAU;AAEpC,KAAI,SAASC,yBAAK,GAAG;AACnB,MAAI,UACF,QAAO,2CAACC,kCAAgB;EAE1B,MAAM,EAAE,gCAAe,gCAAe,gBAAO,4BAAa,mBACxD;AACF,SACE,4CAAC;GACC,6BACE,kCACA,oBACA,uBACD;cAED,4CAAC;IAAI,WAAU;eACb,4CAAC;KAAI,WAAU;gBACb,4CAAC;MAAI,WAAU;iBACZC,kBACC,2CAACC;OAAG,WAAU;OAAgB,MAAMD;QAAiB,GACnD,MACHE,kBACC,2CAACD;OAAG,WAAU;OAAgB,MAAMC;QAAiB,GACnD;OACA,EACN,2CAACC;MAAG,WAAU;MAAgB,MAAMC;OAAS;MACzC,EACN,2CAAC;KAAI,WAAU;eACZC,SAAO,MAEN,2CAAC;MACC,KAAKA,QAAM;MACX,KAAKA,QAAM,OAAO;MAClB,WAAU;OACV,GAEF,2CAAC;MAAI,WAAU;gBACb,2CAACC,oDAAiB;OACd;MAEJ;KACF,EACN,2CAACC;IAAG,WAAU;IAA6B,MAAMC;KAAe;IAC5D;;AAIV,KAAI,UACF,QAAO,2CAACC,kCAAgB;CAG1B,MAAM,EAAE,eAAe,eAAe,OAAO,aAAa,UACxD;AACF,QACE,4CAAC;EACC,6BACE,mCACA,oBACA,uBACD;aAED,4CAAC;GAAI,WAAU;;IACb,4CAAC;KAAI,WAAU;gBACZ,gBACC,2CAACR;MAAG,WAAU;MAAgB,MAAM;OAAiB,GACnD,MACH,gBACC,2CAACA;MAAG,WAAU;MAAgB,MAAM;OAAiB,GACnD;MACA;IACN,2CAACE;KAAG,WAAU;KAAgB,MAAM;MAAS;IAC7C,2CAACO;KAAG,WAAU;KAA6B,MAAM;MAAe;;IAC5D,EACN,2CAAC;GAAI,WAAU;aACZ,OAAO,MAEN,2CAAC;IACC,KAAK,MAAM;IACX,KAAK,MAAM,OAAO;IAClB,WAAU;KACV,GAEF,2CAAC;IAAI,WAAU;cACb,2CAACJ,oDAAiB;KACd;IAEJ;GACF;;AAIV,SAAS,OAAOR;AAChB,mBAAe"}
|