@twreporter/react-typescript-components 0.1.0-beta.12 → 0.1.0-beta.14
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/button/constants.d.mts +2 -2
- package/lib/button/index.d.mts +4 -4
- package/lib/button/index.d.ts +1 -1
- package/lib/button/index.js +3 -3
- package/lib/button/index.mjs +3 -3
- package/lib/{button-CS2fz7hm.js → button-D50NHdly.js} +3 -3
- package/lib/{button-CS2fz7hm.js.map → button-D50NHdly.js.map} +1 -1
- package/lib/{button-KtEMUa_S.mjs → button-hDNHA85d.mjs} +3 -3
- package/lib/{button-KtEMUa_S.mjs.map → button-hDNHA85d.mjs.map} +1 -1
- package/lib/constants/internal-links.d.mts +2 -1
- package/lib/constants/internal-links.d.ts +2 -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/request-origins.js +4 -46
- package/lib/constants/request-origins.mjs +3 -45
- package/lib/constants/theme.d.mts +2 -2
- package/lib/{constants-VHBN0pYQ.mjs → constants--CDeoDub.mjs} +3 -3
- package/lib/{constants-VHBN0pYQ.mjs.map → constants--CDeoDub.mjs.map} +1 -1
- package/lib/{constants-CeM93YWF.mjs → constants-5phfWHvb.mjs} +1 -1
- package/lib/{constants-CeM93YWF.mjs.map → constants-5phfWHvb.mjs.map} +1 -1
- package/lib/{constants-jYAxSTFp.d.mts → constants-B6oiTL1L.d.mts} +2 -2
- package/lib/{constants-CBWeKJ-C.js → constants-BNxn_qJc.js} +3 -3
- package/lib/{constants-CBWeKJ-C.js.map → constants-BNxn_qJc.js.map} +1 -1
- package/lib/{constants-DNr36wyK.d.mts → constants-BqAhJjFv.d.mts} +2 -2
- package/lib/{constants-DRyQ6AuU.js → constants-BuIUKM2c.js} +1 -1
- package/lib/{constants-DRyQ6AuU.js.map → constants-BuIUKM2c.js.map} +1 -1
- package/lib/{constants-2TRY2zTK.js → constants-C2moxnps.js} +1 -1
- package/lib/{constants-2TRY2zTK.js.map → constants-C2moxnps.js.map} +1 -1
- package/lib/{constants-BWFuBApI.mjs → constants-CBSEPx91.mjs} +4 -4
- package/lib/constants-CBSEPx91.mjs.map +1 -0
- package/lib/{constants-C9Ev_zet.d.mts → constants-CVmr4VOP.d.mts} +2 -2
- package/lib/{constants-BS3rPbaX.d.ts → constants-CZ7dxJ-t.d.ts} +4 -4
- package/lib/{constants-CEyUZ-jZ.d.mts → constants-Cb4Udkwt.d.mts} +2 -2
- package/lib/{constants-K2ObjToq.js → constants-Cndhv6qr.js} +4 -4
- package/lib/constants-Cndhv6qr.js.map +1 -0
- package/lib/{constants-t0lkfgqP.mjs → constants-Cz7n-nLz.mjs} +1 -1
- package/lib/{constants-t0lkfgqP.mjs.map → constants-Cz7n-nLz.mjs.map} +1 -1
- package/lib/{constants-OhAETTiQ.d.mts → constants-D-mBwgNQ.d.mts} +5 -5
- package/lib/{constants-BxxTZn8I.js → constants-D8wNUvoZ.js} +1 -1
- package/lib/{constants-BxxTZn8I.js.map → constants-D8wNUvoZ.js.map} +1 -1
- package/lib/{constants-BqeEbkVD.mjs → constants-DRxdMM_X.mjs} +1 -1
- package/lib/{constants-BqeEbkVD.mjs.map → constants-DRxdMM_X.mjs.map} +1 -1
- package/lib/{context-BCesW3fW.mjs → context-BgdqM3zA.mjs} +1 -1
- package/lib/{context-BCesW3fW.mjs.map → context-BgdqM3zA.mjs.map} +1 -1
- package/lib/{context-Bvr0Qj2x.js → context-I1lTR5SO.js} +1 -1
- package/lib/{context-Bvr0Qj2x.js.map → context-I1lTR5SO.js.map} +1 -1
- package/lib/customized-link/external-link.d.mts +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 +3 -3
- package/lib/customized-link/index.d.ts +3 -3
- package/lib/customized-link/index.js +3 -3
- package/lib/customized-link/index.mjs +2 -2
- package/lib/customized-link/internal-link.d.mts +2 -2
- package/lib/customized-link/internal-link.js +1 -1
- package/lib/customized-link/type.d.mts +1 -1
- package/lib/{customized-link-BkuKVCKQ.mjs → customized-link-DNKmWI0u.mjs} +2 -2
- package/lib/{customized-link-BkuKVCKQ.mjs.map → customized-link-DNKmWI0u.mjs.map} +1 -1
- package/lib/{customized-link-CK7Xlgdt.js → customized-link-XNoMkeYw.js} +3 -3
- package/lib/{customized-link-CK7Xlgdt.js.map → customized-link-XNoMkeYw.js.map} +1 -1
- package/lib/divider/constants.d.mts +2 -2
- 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.js +2 -2
- package/lib/divider/index.mjs +2 -2
- package/lib/{divider-Bb3tebJO.mjs → divider-CEIxmAsH.mjs} +2 -2
- package/lib/{divider-Bb3tebJO.mjs.map → divider-CEIxmAsH.mjs.map} +1 -1
- package/lib/{divider-b3Shh7FV.js → divider-Db3AhImD.js} +2 -2
- package/lib/{divider-b3Shh7FV.js.map → divider-Db3AhImD.js.map} +1 -1
- package/lib/dropdown-menu/index.d.mts +1 -1
- package/lib/dropdown-menu/index.js +10 -10
- package/lib/dropdown-menu/index.mjs +9 -9
- package/lib/{dropdown-menu-CrEAe1Td.mjs → dropdown-menu-CuyS5r71.mjs} +6 -6
- package/lib/{dropdown-menu-CrEAe1Td.mjs.map → dropdown-menu-CuyS5r71.mjs.map} +1 -1
- package/lib/{dropdown-menu-DPQvVa7J.js → dropdown-menu-tbV9rhnw.js} +7 -7
- package/lib/{dropdown-menu-DPQvVa7J.js.map → dropdown-menu-tbV9rhnw.js.map} +1 -1
- package/lib/{external-link-CEDvlQYo.js → external-link-BMrkjNyi.js} +1 -1
- package/lib/{external-link-CEDvlQYo.js.map → external-link-BMrkjNyi.js.map} +1 -1
- package/lib/{external-link-Cx9S31Ye.mjs → external-link-BykRRwmY.mjs} +1 -1
- package/lib/{external-link-Cx9S31Ye.mjs.map → external-link-BykRRwmY.mjs.map} +1 -1
- package/lib/{external-link-BUhvS4ry.d.mts → external-link-goP_Ay-S.d.mts} +2 -2
- package/lib/hamburger-menu/index.js +16 -16
- package/lib/hamburger-menu/index.mjs +15 -15
- package/lib/{hamburger-menu-Bi0MDOgC.js → hamburger-menu-CRVI3tt_.js} +19 -17
- package/lib/hamburger-menu-CRVI3tt_.js.map +1 -0
- package/lib/{hamburger-menu-BxO_YWHd.mjs → hamburger-menu-CxSoTBp8.mjs} +18 -16
- package/lib/hamburger-menu-CxSoTBp8.mjs.map +1 -0
- package/lib/header/index.d.mts +3 -3
- package/lib/header/index.js +108 -33
- package/lib/header/index.js.map +1 -1
- package/lib/header/index.mjs +103 -32
- package/lib/header/index.mjs.map +1 -1
- package/lib/{heading-CFSkTbdH.mjs → heading-BSEtBLuY.mjs} +2 -2
- package/lib/{heading-CFSkTbdH.mjs.map → heading-BSEtBLuY.mjs.map} +1 -1
- package/lib/{heading-DFzj2z0V.js → heading-CNS7rJIc.js} +2 -2
- package/lib/{heading-DFzj2z0V.js.map → heading-CNS7rJIc.js.map} +1 -1
- package/lib/icons/constants.d.mts +2 -2
- package/lib/icons/constants.js +1 -1
- package/lib/icons/constants.mjs +1 -1
- package/lib/icons/index.d.mts +3 -3
- package/lib/icons/index.js +2 -2
- package/lib/icons/index.mjs +2 -2
- package/lib/{icons-DJMi42DI.mjs → icons-I7T-auOQ.mjs} +2 -2
- package/lib/{icons-DJMi42DI.mjs.map → icons-I7T-auOQ.mjs.map} +1 -1
- package/lib/{icons-_Vt_HeKY.js → icons-qP5oNB0W.js} +2 -2
- package/lib/{icons-_Vt_HeKY.js.map → icons-qP5oNB0W.js.map} +1 -1
- package/lib/{index-BmIgLA0K.d.mts → index-CYb6xr3M.d.mts} +1 -1
- package/lib/{internal-link-CqTu3Yi5.js → internal-link-BLXTBMRq.js} +1 -1
- package/lib/{internal-link-CqTu3Yi5.js.map → internal-link-BLXTBMRq.js.map} +1 -1
- package/lib/{internal-link-D8jJal8P.d.mts → internal-link-Ciu7CWSY.d.mts} +2 -2
- package/lib/{internal-links-BF-974mA.mjs → internal-links-CP3dqmrz.mjs} +3 -2
- package/lib/internal-links-CP3dqmrz.mjs.map +1 -0
- package/lib/{internal-links-CBkMU8cY.js → internal-links-DxtMobuI.js} +3 -2
- package/lib/internal-links-DxtMobuI.js.map +1 -0
- package/lib/logo/constants.d.mts +2 -2
- package/lib/logo/constants.js +1 -1
- package/lib/logo/constants.mjs +1 -1
- package/lib/logo/index.d.mts +3 -3
- package/lib/logo/index.d.ts +5 -5
- package/lib/logo/index.js +2 -2
- package/lib/logo/index.mjs +2 -2
- package/lib/{logo-Dz8Mm84n.js → logo-BTNfdxTv.js} +2 -2
- package/lib/{logo-Dz8Mm84n.js.map → logo-BTNfdxTv.js.map} +1 -1
- package/lib/{logo-Caqpr_8x.mjs → logo-D68VZ-fc.mjs} +2 -2
- package/lib/{logo-Caqpr_8x.mjs.map → logo-D68VZ-fc.mjs.map} +1 -1
- package/lib/{paragraph-BWXQNQtX.mjs → paragraph-Cf9jr8RF.mjs} +3 -3
- package/lib/paragraph-Cf9jr8RF.mjs.map +1 -0
- package/lib/{paragraph-CJvb0_cM.js → paragraph-iuz3jP0Q.js} +3 -3
- package/lib/paragraph-iuz3jP0Q.js.map +1 -0
- package/lib/{release-branch-DZwlCiWD.d.mts → release-branch-BqeBsvrl.d.mts} +2 -2
- package/lib/request-origins-BDXulkK9.js +57 -0
- package/lib/request-origins-BDXulkK9.js.map +1 -0
- package/lib/request-origins-CGkNWg8R.mjs +46 -0
- package/lib/request-origins-CGkNWg8R.mjs.map +1 -0
- package/lib/styles.css +51 -3
- package/lib/tab-bar/constants.d.mts +3 -3
- package/lib/tab-bar/constants.js +4 -4
- package/lib/tab-bar/constants.mjs +4 -4
- package/lib/tab-bar/index.js +13 -13
- package/lib/tab-bar/index.mjs +12 -12
- package/lib/tab-bar/theme.d.mts +2 -2
- package/lib/tab-bar/theme.js +1 -1
- package/lib/tab-bar/theme.mjs +1 -1
- package/lib/{tab-bar-BbOB2CDM.mjs → tab-bar-BNo9UHeK.mjs} +7 -7
- package/lib/{tab-bar-BbOB2CDM.mjs.map → tab-bar-BNo9UHeK.mjs.map} +1 -1
- package/lib/{tab-bar-BmqqhoCY.js → tab-bar-BT1ooNn0.js} +8 -8
- package/lib/{tab-bar-BmqqhoCY.js.map → tab-bar-BT1ooNn0.js.map} +1 -1
- package/lib/text/constants.d.mts +2 -2
- package/lib/text/constants.d.ts +1 -1
- package/lib/text/constants.js +1 -1
- package/lib/text/constants.mjs +1 -1
- package/lib/text/heading.d.mts +2 -2
- package/lib/text/heading.d.ts +1 -1
- package/lib/text/heading.js +2 -2
- package/lib/text/heading.mjs +2 -2
- package/lib/text/paragraph.d.mts +2 -2
- package/lib/text/paragraph.d.ts +1 -1
- package/lib/text/paragraph.js +2 -2
- package/lib/text/paragraph.mjs +2 -2
- package/lib/{theme-BErS2Qs6.mjs → theme-DQCIQh_8.mjs} +1 -1
- package/lib/{theme-BErS2Qs6.mjs.map → theme-DQCIQh_8.mjs.map} +1 -1
- package/lib/{theme-BPB1kPtQ.js → theme-W--MzZEH.js} +1 -1
- package/lib/{theme-BPB1kPtQ.js.map → theme-W--MzZEH.js.map} +1 -1
- package/lib/{theme-ClamfAy8.d.mts → theme-lCi6tmmS.d.mts} +2 -2
- package/lib/title-bar/index.d.ts +4 -4
- package/lib/title-bar/index.js +7 -7
- package/lib/title-bar/index.mjs +6 -6
- package/lib/{type-FR-fOZvz.d.mts → type-2Go0njwa.d.mts} +1 -1
- package/lib/types/index.d.mts +1 -1
- package/package.json +5 -3
- package/lib/constants/request-origins.js.map +0 -1
- package/lib/constants/request-origins.mjs.map +0 -1
- package/lib/constants-BWFuBApI.mjs.map +0 -1
- package/lib/constants-K2ObjToq.js.map +0 -1
- package/lib/hamburger-menu-Bi0MDOgC.js.map +0 -1
- package/lib/hamburger-menu-BxO_YWHd.mjs.map +0 -1
- package/lib/internal-links-BF-974mA.mjs.map +0 -1
- package/lib/internal-links-CBkMU8cY.js.map +0 -1
- package/lib/paragraph-BWXQNQtX.mjs.map +0 -1
- package/lib/paragraph-CJvb0_cM.js.map +0 -1
|
@@ -1,47 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
require('../release-branch-CRZV4Ivz.js');
|
|
2
|
+
const require_request_origins = require('../request-origins-BDXulkK9.js');
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[require_release_branch.RELEASE_BRANCH.master]: {
|
|
6
|
-
accounts: "http://localhost:3001",
|
|
7
|
-
api: "http://localhost:8080",
|
|
8
|
-
main: "http://localhost:3000",
|
|
9
|
-
support: "http://localhost:3001"
|
|
10
|
-
},
|
|
11
|
-
[require_release_branch.RELEASE_BRANCH.staging]: {
|
|
12
|
-
accounts: "https://staging-accounts.twreporter.org",
|
|
13
|
-
api: "https://staging-go-api.twreporter.org",
|
|
14
|
-
main: "https://staging.twreporter.org",
|
|
15
|
-
support: "https://staging-support.twreporter.org"
|
|
16
|
-
},
|
|
17
|
-
[require_release_branch.RELEASE_BRANCH.preview]: {
|
|
18
|
-
accounts: "https://accounts.twreporter.org",
|
|
19
|
-
api: "https://go-api.twreporter.org",
|
|
20
|
-
main: "https://www.twreporter.org",
|
|
21
|
-
support: "https://support.twreporter.org"
|
|
22
|
-
},
|
|
23
|
-
[require_release_branch.RELEASE_BRANCH.release]: {
|
|
24
|
-
accounts: "https://accounts.twreporter.org",
|
|
25
|
-
api: "https://go-api.twreporter.org",
|
|
26
|
-
main: "https://www.twreporter.org",
|
|
27
|
-
support: "https://support.twreporter.org"
|
|
28
|
-
},
|
|
29
|
-
[require_release_branch.RELEASE_BRANCH.dev]: {
|
|
30
|
-
accounts: "https://dev-accounts.twreporter.org",
|
|
31
|
-
api: "https://staging-go-api.twreporter.org",
|
|
32
|
-
main: "https://dev.twreporter.org",
|
|
33
|
-
support: "https://dev-support.twreporter.org"
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
const forClientSideRendering = {
|
|
37
|
-
[require_release_branch.RELEASE_BRANCH.master]: forServerSideRendering[require_release_branch.RELEASE_BRANCH.master],
|
|
38
|
-
[require_release_branch.RELEASE_BRANCH.staging]: forServerSideRendering[require_release_branch.RELEASE_BRANCH.staging],
|
|
39
|
-
[require_release_branch.RELEASE_BRANCH.preview]: forServerSideRendering[require_release_branch.RELEASE_BRANCH.preview],
|
|
40
|
-
[require_release_branch.RELEASE_BRANCH.release]: forServerSideRendering[require_release_branch.RELEASE_BRANCH.release],
|
|
41
|
-
[require_release_branch.RELEASE_BRANCH.dev]: forServerSideRendering[require_release_branch.RELEASE_BRANCH.dev]
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
//#endregion
|
|
45
|
-
exports.forClientSideRendering = forClientSideRendering;
|
|
46
|
-
exports.forServerSideRendering = forServerSideRendering;
|
|
47
|
-
//# sourceMappingURL=request-origins.js.map
|
|
4
|
+
exports.forClientSideRendering = require_request_origins.forClientSideRendering;
|
|
5
|
+
exports.forServerSideRendering = require_request_origins.forServerSideRendering;
|
|
@@ -1,46 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "../release-branch-DNCD1uH_.mjs";
|
|
2
|
+
import { forClientSideRendering, forServerSideRendering } from "../request-origins-CGkNWg8R.mjs";
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
const forServerSideRendering = {
|
|
5
|
-
[RELEASE_BRANCH.master]: {
|
|
6
|
-
accounts: "http://localhost:3001",
|
|
7
|
-
api: "http://localhost:8080",
|
|
8
|
-
main: "http://localhost:3000",
|
|
9
|
-
support: "http://localhost:3001"
|
|
10
|
-
},
|
|
11
|
-
[RELEASE_BRANCH.staging]: {
|
|
12
|
-
accounts: "https://staging-accounts.twreporter.org",
|
|
13
|
-
api: "https://staging-go-api.twreporter.org",
|
|
14
|
-
main: "https://staging.twreporter.org",
|
|
15
|
-
support: "https://staging-support.twreporter.org"
|
|
16
|
-
},
|
|
17
|
-
[RELEASE_BRANCH.preview]: {
|
|
18
|
-
accounts: "https://accounts.twreporter.org",
|
|
19
|
-
api: "https://go-api.twreporter.org",
|
|
20
|
-
main: "https://www.twreporter.org",
|
|
21
|
-
support: "https://support.twreporter.org"
|
|
22
|
-
},
|
|
23
|
-
[RELEASE_BRANCH.release]: {
|
|
24
|
-
accounts: "https://accounts.twreporter.org",
|
|
25
|
-
api: "https://go-api.twreporter.org",
|
|
26
|
-
main: "https://www.twreporter.org",
|
|
27
|
-
support: "https://support.twreporter.org"
|
|
28
|
-
},
|
|
29
|
-
[RELEASE_BRANCH.dev]: {
|
|
30
|
-
accounts: "https://dev-accounts.twreporter.org",
|
|
31
|
-
api: "https://staging-go-api.twreporter.org",
|
|
32
|
-
main: "https://dev.twreporter.org",
|
|
33
|
-
support: "https://dev-support.twreporter.org"
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
const forClientSideRendering = {
|
|
37
|
-
[RELEASE_BRANCH.master]: forServerSideRendering[RELEASE_BRANCH.master],
|
|
38
|
-
[RELEASE_BRANCH.staging]: forServerSideRendering[RELEASE_BRANCH.staging],
|
|
39
|
-
[RELEASE_BRANCH.preview]: forServerSideRendering[RELEASE_BRANCH.preview],
|
|
40
|
-
[RELEASE_BRANCH.release]: forServerSideRendering[RELEASE_BRANCH.release],
|
|
41
|
-
[RELEASE_BRANCH.dev]: forServerSideRendering[RELEASE_BRANCH.dev]
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
//#endregion
|
|
45
|
-
export { forClientSideRendering, forServerSideRendering };
|
|
46
|
-
//# sourceMappingURL=request-origins.mjs.map
|
|
4
|
+
export { forClientSideRendering, forServerSideRendering };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../index-
|
|
2
|
-
import { THEME, Theme } from "../theme-
|
|
1
|
+
import "../index-CYb6xr3M.mjs";
|
|
2
|
+
import { THEME, Theme } from "../theme-lCi6tmmS.mjs";
|
|
3
3
|
export { THEME, Theme };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { INTERNAL_LINKS } from "./internal-links-
|
|
2
|
-
import { Clock, Home, KidStar, Topic } from "./icons-
|
|
1
|
+
import { INTERNAL_LINKS } from "./internal-links-CP3dqmrz.mjs";
|
|
2
|
+
import { Clock, Home, KidStar, Topic } from "./icons-I7T-auOQ.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/tab-bar/constants.ts
|
|
5
5
|
const TabBarItems = (releaseBranch) => [
|
|
@@ -31,4 +31,4 @@ const TabBarItems = (releaseBranch) => [
|
|
|
31
31
|
|
|
32
32
|
//#endregion
|
|
33
33
|
export { TabBarItems };
|
|
34
|
-
//# sourceMappingURL=constants
|
|
34
|
+
//# sourceMappingURL=constants--CDeoDub.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants
|
|
1
|
+
{"version":3,"file":"constants--CDeoDub.mjs","names":["TabBarItems: (releaseBranch: ReleaseBranch) => TabBarItem[]"],"sources":["../src/tab-bar/constants.ts"],"sourcesContent":["import type { ReactElement } from 'react'\nimport { INTERNAL_LINKS } from '../constants/internal-links'\nimport type { LinkTarget } from '../customized-link/type'\n// icons\nimport { Home, Clock, Topic, KidStar } from '../icons'\n// release branch\nimport type { ReleaseBranch } from '../constants/release-branch'\n\ntype TabBarItem = {\n text: string\n link: string\n target: LinkTarget\n icon: ReactElement\n}\nexport const TabBarItems: (releaseBranch: ReleaseBranch) => TabBarItem[] = (\n releaseBranch\n) => [\n {\n text: '首頁',\n link: INTERNAL_LINKS.home,\n target: '_self',\n icon: Home(releaseBranch),\n },\n {\n text: '最新',\n link: INTERNAL_LINKS.latest,\n target: '_self',\n icon: Clock(releaseBranch),\n },\n {\n text: '深度專題',\n link: INTERNAL_LINKS.topics,\n target: '_self',\n icon: Topic(releaseBranch),\n },\n {\n text: '我的閱讀',\n link: INTERNAL_LINKS.myReading.index,\n target: '_self',\n icon: KidStar(releaseBranch),\n },\n]\n"],"mappings":";;;;AAcA,MAAaA,eACX,kBACG;CACH;EACE,MAAM;EACN,MAAM,eAAe;EACrB,QAAQ;EACR,MAAM,KAAK,cAAc;EAC1B;CACD;EACE,MAAM;EACN,MAAM,eAAe;EACrB,QAAQ;EACR,MAAM,MAAM,cAAc;EAC3B;CACD;EACE,MAAM;EACN,MAAM,eAAe;EACrB,QAAQ;EACR,MAAM,MAAM,cAAc;EAC3B;CACD;EACE,MAAM;EACN,MAAM,eAAe,UAAU;EAC/B,QAAQ;EACR,MAAM,QAAQ,cAAc;EAC7B;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants-
|
|
1
|
+
{"version":3,"file":"constants-5phfWHvb.mjs","names":[],"sources":["../src/icons/constants.ts"],"sourcesContent":["import type { ValuesOf } from '../types'\n\nexport const ICON_TYPE = {\n mask: 'mask',\n raw: 'raw',\n} as const\n\nexport type IconType = ValuesOf<typeof ICON_TYPE>\n\nexport const ARROW_DIRECTION = {\n right: 'right',\n left: 'left',\n up: 'up',\n down: 'down',\n} as const\n\nexport type ArrowDirection = ValuesOf<typeof ARROW_DIRECTION>\n\nexport const MEDIA_TYPE = {\n facebook: 'facebook',\n instagram: 'instagram',\n medium: 'medium',\n twitter: 'twitter',\n youtube: 'youtube',\n line: 'line',\n google: 'google',\n plurk: 'plurk',\n threads: 'threads',\n} as const\n\nexport type MediaType = ValuesOf<typeof MEDIA_TYPE>\n"],"mappings":";AAEA,MAAa,YAAY;CACvB,MAAM;CACN,KAAK;CACN;AAID,MAAa,kBAAkB;CAC7B,OAAO;CACP,MAAM;CACN,IAAI;CACJ,MAAM;CACP;AAID,MAAa,aAAa;CACxB,UAAU;CACV,WAAW;CACX,QAAQ;CACR,SAAS;CACT,SAAS;CACT,MAAM;CACN,QAAQ;CACR,OAAO;CACP,SAAS;CACV"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValuesOf } from "./index-
|
|
1
|
+
import { ValuesOf } from "./index-CYb6xr3M.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/button/constants.d.ts
|
|
4
4
|
declare const SIZE: {
|
|
@@ -19,4 +19,4 @@ declare const TYPE: {
|
|
|
19
19
|
type Type = ValuesOf<typeof TYPE>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { SIZE, STYLE, Size, Style, TYPE, Type };
|
|
22
|
-
//# sourceMappingURL=constants-
|
|
22
|
+
//# sourceMappingURL=constants-B6oiTL1L.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_internal_links = require('./internal-links-
|
|
2
|
-
const require_icons = require('./icons-
|
|
1
|
+
const require_internal_links = require('./internal-links-DxtMobuI.js');
|
|
2
|
+
const require_icons = require('./icons-qP5oNB0W.js');
|
|
3
3
|
|
|
4
4
|
//#region src/tab-bar/constants.ts
|
|
5
5
|
const TabBarItems = (releaseBranch) => [
|
|
@@ -36,4 +36,4 @@ Object.defineProperty(exports, 'TabBarItems', {
|
|
|
36
36
|
return TabBarItems;
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
|
-
//# sourceMappingURL=constants-
|
|
39
|
+
//# sourceMappingURL=constants-BNxn_qJc.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants-
|
|
1
|
+
{"version":3,"file":"constants-BNxn_qJc.js","names":["TabBarItems: (releaseBranch: ReleaseBranch) => TabBarItem[]","INTERNAL_LINKS","Home","Clock","Topic","KidStar"],"sources":["../src/tab-bar/constants.ts"],"sourcesContent":["import type { ReactElement } from 'react'\nimport { INTERNAL_LINKS } from '../constants/internal-links'\nimport type { LinkTarget } from '../customized-link/type'\n// icons\nimport { Home, Clock, Topic, KidStar } from '../icons'\n// release branch\nimport type { ReleaseBranch } from '../constants/release-branch'\n\ntype TabBarItem = {\n text: string\n link: string\n target: LinkTarget\n icon: ReactElement\n}\nexport const TabBarItems: (releaseBranch: ReleaseBranch) => TabBarItem[] = (\n releaseBranch\n) => [\n {\n text: '首頁',\n link: INTERNAL_LINKS.home,\n target: '_self',\n icon: Home(releaseBranch),\n },\n {\n text: '最新',\n link: INTERNAL_LINKS.latest,\n target: '_self',\n icon: Clock(releaseBranch),\n },\n {\n text: '深度專題',\n link: INTERNAL_LINKS.topics,\n target: '_self',\n icon: Topic(releaseBranch),\n },\n {\n text: '我的閱讀',\n link: INTERNAL_LINKS.myReading.index,\n target: '_self',\n icon: KidStar(releaseBranch),\n },\n]\n"],"mappings":";;;;AAcA,MAAaA,eACX,kBACG;CACH;EACE,MAAM;EACN,MAAMC,sCAAe;EACrB,QAAQ;EACR,MAAMC,mBAAK,cAAc;EAC1B;CACD;EACE,MAAM;EACN,MAAMD,sCAAe;EACrB,QAAQ;EACR,MAAME,oBAAM,cAAc;EAC3B;CACD;EACE,MAAM;EACN,MAAMF,sCAAe;EACrB,QAAQ;EACR,MAAMG,oBAAM,cAAc;EAC3B;CACD;EACE,MAAM;EACN,MAAMH,sCAAe,UAAU;EAC/B,QAAQ;EACR,MAAMI,sBAAQ,cAAc;EAC7B;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValuesOf } from "./index-
|
|
1
|
+
import { ValuesOf } from "./index-CYb6xr3M.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/logo/constants.d.ts
|
|
4
4
|
declare const LOGO: {
|
|
@@ -21,4 +21,4 @@ declare const LOGO_SYMBOL_TYPE: {
|
|
|
21
21
|
type LogoSymbolType = ValuesOf<typeof LOGO_SYMBOL_TYPE>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { LOGO, LOGO_SYMBOL_TYPE, LOGO_TYPE, Logo, LogoSymbolType, LogoType };
|
|
24
|
-
//# sourceMappingURL=constants-
|
|
24
|
+
//# sourceMappingURL=constants-BqAhJjFv.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants-
|
|
1
|
+
{"version":3,"file":"constants-BuIUKM2c.js","names":[],"sources":["../src/divider/constants.ts"],"sourcesContent":["import type { ValuesOf } from '../types'\n\nexport const DIRECTION = {\n horizontal: 'horizontal',\n vertical: 'vertical',\n} as const\n\nexport type Direction = ValuesOf<typeof DIRECTION>\n"],"mappings":";;AAEA,MAAa,YAAY;CACvB,YAAY;CACZ,UAAU;CACX"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants-
|
|
1
|
+
{"version":3,"file":"constants-C2moxnps.js","names":[],"sources":["../src/logo/constants.ts"],"sourcesContent":["import type { ValuesOf } from '../types'\n\nexport const LOGO = {\n header: 'header',\n footer: 'footer',\n symbol: 'symbol',\n 'loading-fallback': 'loading-fallback',\n} as const\n\nexport type Logo = ValuesOf<typeof LOGO>\n\nexport const LOGO_TYPE = {\n default: 'default',\n white: 'white',\n} as const\n\nexport type LogoType = ValuesOf<typeof LOGO_TYPE>\n\nexport const LOGO_SYMBOL_TYPE = {\n default: 'default',\n white: 'white',\n black: 'black',\n} as const\n\nexport type LogoSymbolType = ValuesOf<typeof LOGO_SYMBOL_TYPE>\n"],"mappings":";;AAEA,MAAa,OAAO;CAClB,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,oBAAoB;CACrB;AAID,MAAa,YAAY;CACvB,SAAS;CACT,OAAO;CACR;AAID,MAAa,mBAAmB;CAC9B,SAAS;CACT,OAAO;CACP,OAAO;CACR"}
|
|
@@ -4,11 +4,11 @@ const TYPE = {
|
|
|
4
4
|
article: "article"
|
|
5
5
|
};
|
|
6
6
|
const WEIGHT = {
|
|
7
|
-
extraLight: "extra-light",
|
|
8
|
-
normal: "normal",
|
|
9
|
-
bold: "bold"
|
|
7
|
+
extraLight: "font-extra-light",
|
|
8
|
+
normal: "font-normal",
|
|
9
|
+
bold: "font-bold"
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
13
13
|
export { TYPE, WEIGHT };
|
|
14
|
-
//# sourceMappingURL=constants-
|
|
14
|
+
//# sourceMappingURL=constants-CBSEPx91.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants-CBSEPx91.mjs","names":[],"sources":["../src/text/constants.ts"],"sourcesContent":["import type { ValuesOf } from '../types'\n\nexport const TYPE = {\n default: 'default',\n article: 'article',\n} as const\n\nexport type Type = ValuesOf<typeof TYPE>\n\nexport const WEIGHT = {\n extraLight: 'font-extra-light',\n normal: 'font-normal',\n bold: 'font-bold',\n} as const\n\nexport type Weight = ValuesOf<typeof WEIGHT>\n"],"mappings":";AAEA,MAAa,OAAO;CAClB,SAAS;CACT,SAAS;CACV;AAID,MAAa,SAAS;CACpB,YAAY;CACZ,QAAQ;CACR,MAAM;CACP"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValuesOf } from "./index-
|
|
1
|
+
import { ValuesOf } from "./index-CYb6xr3M.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/icons/constants.d.ts
|
|
4
4
|
declare const ICON_TYPE: {
|
|
@@ -27,4 +27,4 @@ declare const MEDIA_TYPE: {
|
|
|
27
27
|
type MediaType = ValuesOf<typeof MEDIA_TYPE>;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { ARROW_DIRECTION, ArrowDirection, ICON_TYPE, IconType, MEDIA_TYPE, MediaType };
|
|
30
|
-
//# sourceMappingURL=constants-
|
|
30
|
+
//# sourceMappingURL=constants-CVmr4VOP.d.mts.map
|
|
@@ -7,11 +7,11 @@ declare const TYPE: {
|
|
|
7
7
|
};
|
|
8
8
|
type Type = ValuesOf<typeof TYPE>;
|
|
9
9
|
declare const WEIGHT: {
|
|
10
|
-
readonly extraLight: "extra-light";
|
|
11
|
-
readonly normal: "normal";
|
|
12
|
-
readonly bold: "bold";
|
|
10
|
+
readonly extraLight: "font-extra-light";
|
|
11
|
+
readonly normal: "font-normal";
|
|
12
|
+
readonly bold: "font-bold";
|
|
13
13
|
};
|
|
14
14
|
type Weight = ValuesOf<typeof WEIGHT>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { TYPE, Type, WEIGHT, Weight };
|
|
17
|
-
//# sourceMappingURL=constants-
|
|
17
|
+
//# sourceMappingURL=constants-CZ7dxJ-t.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValuesOf } from "./index-
|
|
1
|
+
import { ValuesOf } from "./index-CYb6xr3M.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/divider/constants.d.ts
|
|
4
4
|
declare const DIRECTION: {
|
|
@@ -8,4 +8,4 @@ declare const DIRECTION: {
|
|
|
8
8
|
type Direction = ValuesOf<typeof DIRECTION>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { DIRECTION, Direction };
|
|
11
|
-
//# sourceMappingURL=constants-
|
|
11
|
+
//# sourceMappingURL=constants-Cb4Udkwt.d.mts.map
|
|
@@ -5,9 +5,9 @@ const TYPE = {
|
|
|
5
5
|
article: "article"
|
|
6
6
|
};
|
|
7
7
|
const WEIGHT = {
|
|
8
|
-
extraLight: "extra-light",
|
|
9
|
-
normal: "normal",
|
|
10
|
-
bold: "bold"
|
|
8
|
+
extraLight: "font-extra-light",
|
|
9
|
+
normal: "font-normal",
|
|
10
|
+
bold: "font-bold"
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
@@ -23,4 +23,4 @@ Object.defineProperty(exports, 'WEIGHT', {
|
|
|
23
23
|
return WEIGHT;
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
|
-
//# sourceMappingURL=constants-
|
|
26
|
+
//# sourceMappingURL=constants-Cndhv6qr.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants-Cndhv6qr.js","names":[],"sources":["../src/text/constants.ts"],"sourcesContent":["import type { ValuesOf } from '../types'\n\nexport const TYPE = {\n default: 'default',\n article: 'article',\n} as const\n\nexport type Type = ValuesOf<typeof TYPE>\n\nexport const WEIGHT = {\n extraLight: 'font-extra-light',\n normal: 'font-normal',\n bold: 'font-bold',\n} as const\n\nexport type Weight = ValuesOf<typeof WEIGHT>\n"],"mappings":";;AAEA,MAAa,OAAO;CAClB,SAAS;CACT,SAAS;CACV;AAID,MAAa,SAAS;CACpB,YAAY;CACZ,QAAQ;CACR,MAAM;CACP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants-
|
|
1
|
+
{"version":3,"file":"constants-Cz7n-nLz.mjs","names":[],"sources":["../src/divider/constants.ts"],"sourcesContent":["import type { ValuesOf } from '../types'\n\nexport const DIRECTION = {\n horizontal: 'horizontal',\n vertical: 'vertical',\n} as const\n\nexport type Direction = ValuesOf<typeof DIRECTION>\n"],"mappings":";AAEA,MAAa,YAAY;CACvB,YAAY;CACZ,UAAU;CACX"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValuesOf } from "./index-
|
|
1
|
+
import { ValuesOf } from "./index-CYb6xr3M.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/text/constants.d.ts
|
|
4
4
|
declare const TYPE: {
|
|
@@ -7,11 +7,11 @@ declare const TYPE: {
|
|
|
7
7
|
};
|
|
8
8
|
type Type = ValuesOf<typeof TYPE>;
|
|
9
9
|
declare const WEIGHT: {
|
|
10
|
-
readonly extraLight: "extra-light";
|
|
11
|
-
readonly normal: "normal";
|
|
12
|
-
readonly bold: "bold";
|
|
10
|
+
readonly extraLight: "font-extra-light";
|
|
11
|
+
readonly normal: "font-normal";
|
|
12
|
+
readonly bold: "font-bold";
|
|
13
13
|
};
|
|
14
14
|
type Weight = ValuesOf<typeof WEIGHT>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { TYPE, Type, WEIGHT, Weight };
|
|
17
|
-
//# sourceMappingURL=constants-
|
|
17
|
+
//# sourceMappingURL=constants-D-mBwgNQ.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants-
|
|
1
|
+
{"version":3,"file":"constants-D8wNUvoZ.js","names":[],"sources":["../src/icons/constants.ts"],"sourcesContent":["import type { ValuesOf } from '../types'\n\nexport const ICON_TYPE = {\n mask: 'mask',\n raw: 'raw',\n} as const\n\nexport type IconType = ValuesOf<typeof ICON_TYPE>\n\nexport const ARROW_DIRECTION = {\n right: 'right',\n left: 'left',\n up: 'up',\n down: 'down',\n} as const\n\nexport type ArrowDirection = ValuesOf<typeof ARROW_DIRECTION>\n\nexport const MEDIA_TYPE = {\n facebook: 'facebook',\n instagram: 'instagram',\n medium: 'medium',\n twitter: 'twitter',\n youtube: 'youtube',\n line: 'line',\n google: 'google',\n plurk: 'plurk',\n threads: 'threads',\n} as const\n\nexport type MediaType = ValuesOf<typeof MEDIA_TYPE>\n"],"mappings":";;AAEA,MAAa,YAAY;CACvB,MAAM;CACN,KAAK;CACN;AAID,MAAa,kBAAkB;CAC7B,OAAO;CACP,MAAM;CACN,IAAI;CACJ,MAAM;CACP;AAID,MAAa,aAAa;CACxB,UAAU;CACV,WAAW;CACX,QAAQ;CACR,SAAS;CACT,SAAS;CACT,MAAM;CACN,QAAQ;CACR,OAAO;CACP,SAAS;CACV"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants-
|
|
1
|
+
{"version":3,"file":"constants-DRxdMM_X.mjs","names":[],"sources":["../src/logo/constants.ts"],"sourcesContent":["import type { ValuesOf } from '../types'\n\nexport const LOGO = {\n header: 'header',\n footer: 'footer',\n symbol: 'symbol',\n 'loading-fallback': 'loading-fallback',\n} as const\n\nexport type Logo = ValuesOf<typeof LOGO>\n\nexport const LOGO_TYPE = {\n default: 'default',\n white: 'white',\n} as const\n\nexport type LogoType = ValuesOf<typeof LOGO_TYPE>\n\nexport const LOGO_SYMBOL_TYPE = {\n default: 'default',\n white: 'white',\n black: 'black',\n} as const\n\nexport type LogoSymbolType = ValuesOf<typeof LOGO_SYMBOL_TYPE>\n"],"mappings":";AAEA,MAAa,OAAO;CAClB,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,oBAAoB;CACrB;AAID,MAAa,YAAY;CACvB,SAAS;CACT,OAAO;CACR;AAID,MAAa,mBAAmB;CAC9B,SAAS;CACT,OAAO;CACP,OAAO;CACR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-
|
|
1
|
+
{"version":3,"file":"context-BgdqM3zA.mjs","names":[],"sources":["../src/header/context/index.ts"],"sourcesContent":["import { createContext } from 'react'\n\nimport { THEME, type Theme } from '../../constants/theme'\nimport {\n RELEASE_BRANCH,\n type ReleaseBranch,\n} from '../../constants/release-branch'\n\nexport type HeaderContextType = {\n theme: Theme\n releaseBranch: ReleaseBranch\n isLinkExternal: boolean\n isAuthed: boolean\n pathname: string\n referrerPath: string\n toUseNarrow: boolean\n hideHeader: boolean\n}\nexport const HeaderContext = createContext<HeaderContextType>({\n theme: THEME.normal,\n releaseBranch: RELEASE_BRANCH.master,\n isLinkExternal: false,\n isAuthed: false,\n pathname: '',\n referrerPath: '',\n toUseNarrow: false,\n hideHeader: false,\n})\n\nexport type HamburgerContextType = {\n toggleHamburger: () => void\n closeHamburgerMenu: () => void\n isHamburgerMenuOpen: boolean\n}\nexport const HamburgerContext = createContext<HamburgerContextType>({\n toggleHamburger: () => {},\n closeHamburgerMenu: () => {},\n isHamburgerMenuOpen: false,\n})\n"],"mappings":";;;;;AAkBA,MAAa,gBAAgB,cAAiC;CAC5D,OAAO,MAAM;CACb,eAAe,eAAe;CAC9B,gBAAgB;CAChB,UAAU;CACV,UAAU;CACV,cAAc;CACd,aAAa;CACb,YAAY;CACb,CAAC;AAOF,MAAa,mBAAmB,cAAoC;CAClE,uBAAuB;CACvB,0BAA0B;CAC1B,qBAAqB;CACtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-
|
|
1
|
+
{"version":3,"file":"context-I1lTR5SO.js","names":["THEME","RELEASE_BRANCH"],"sources":["../src/header/context/index.ts"],"sourcesContent":["import { createContext } from 'react'\n\nimport { THEME, type Theme } from '../../constants/theme'\nimport {\n RELEASE_BRANCH,\n type ReleaseBranch,\n} from '../../constants/release-branch'\n\nexport type HeaderContextType = {\n theme: Theme\n releaseBranch: ReleaseBranch\n isLinkExternal: boolean\n isAuthed: boolean\n pathname: string\n referrerPath: string\n toUseNarrow: boolean\n hideHeader: boolean\n}\nexport const HeaderContext = createContext<HeaderContextType>({\n theme: THEME.normal,\n releaseBranch: RELEASE_BRANCH.master,\n isLinkExternal: false,\n isAuthed: false,\n pathname: '',\n referrerPath: '',\n toUseNarrow: false,\n hideHeader: false,\n})\n\nexport type HamburgerContextType = {\n toggleHamburger: () => void\n closeHamburgerMenu: () => void\n isHamburgerMenuOpen: boolean\n}\nexport const HamburgerContext = createContext<HamburgerContextType>({\n toggleHamburger: () => {},\n closeHamburgerMenu: () => {},\n isHamburgerMenuOpen: false,\n})\n"],"mappings":";;;;;;;AAkBA,MAAa,yCAAiD;CAC5D,OAAOA,oBAAM;CACb,eAAeC,sCAAe;CAC9B,gBAAgB;CAChB,UAAU;CACV,UAAU;CACV,cAAc;CACd,aAAa;CACb,YAAY;CACb,CAAC;AAOF,MAAa,4CAAuD;CAClE,uBAAuB;CACvB,0BAA0B;CAC1B,qBAAqB;CACtB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../type-
|
|
2
|
-
import { ExternalLink } from "../external-link-
|
|
1
|
+
import "../type-2Go0njwa.mjs";
|
|
2
|
+
import { ExternalLink } from "../external-link-goP_Ay-S.mjs";
|
|
3
3
|
export { ExternalLink as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CustomizedLinkProps } from "../type-
|
|
2
|
-
import { ExternalLink } from "../external-link-
|
|
3
|
-
import { InternalLink } from "../internal-link-
|
|
1
|
+
import { CustomizedLinkProps } from "../type-2Go0njwa.mjs";
|
|
2
|
+
import { ExternalLink } from "../external-link-goP_Ay-S.mjs";
|
|
3
|
+
import { InternalLink } from "../internal-link-Ciu7CWSY.mjs";
|
|
4
4
|
import * as react6 from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/customized-link/index.d.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CustomizedLinkProps } from "../type-C4hJK9H9.js";
|
|
2
2
|
import { ExternalLink } from "../external-link-2XoC1_oL.js";
|
|
3
3
|
import { InternalLink } from "../internal-link-DCSEl1jM.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react10 from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/customized-link/index.d.ts
|
|
7
7
|
declare const _default: {
|
|
8
|
-
ExternalLink:
|
|
9
|
-
InternalLink:
|
|
8
|
+
ExternalLink: react10.FC<CustomizedLinkProps>;
|
|
9
|
+
InternalLink: react10.FC<CustomizedLinkProps>;
|
|
10
10
|
};
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ExternalLink, InternalLink, _default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const require_external_link = require('../external-link-
|
|
3
|
-
const require_internal_link = require('../internal-link-
|
|
4
|
-
const require_customized_link = require('../customized-link-
|
|
2
|
+
const require_external_link = require('../external-link-BMrkjNyi.js');
|
|
3
|
+
const require_internal_link = require('../internal-link-BLXTBMRq.js');
|
|
4
|
+
const require_customized_link = require('../customized-link-XNoMkeYw.js');
|
|
5
5
|
|
|
6
6
|
exports.ExternalLink = require_external_link.external_link_default;
|
|
7
7
|
exports.InternalLink = require_internal_link.internal_link_default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { internal_link_default } from "../internal-link-NQb751uB.mjs";
|
|
2
|
-
import { external_link_default } from "../external-link-
|
|
3
|
-
import { customized_link_default } from "../customized-link-
|
|
2
|
+
import { external_link_default } from "../external-link-BykRRwmY.mjs";
|
|
3
|
+
import { customized_link_default } from "../customized-link-DNKmWI0u.mjs";
|
|
4
4
|
|
|
5
5
|
export { external_link_default as ExternalLink, internal_link_default as InternalLink, customized_link_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../type-
|
|
2
|
-
import { InternalLink } from "../internal-link-
|
|
1
|
+
import "../type-2Go0njwa.mjs";
|
|
2
|
+
import { InternalLink } from "../internal-link-Ciu7CWSY.mjs";
|
|
3
3
|
export { InternalLink as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CustomizedLinkProps, LinkTarget } from "../type-
|
|
1
|
+
import { CustomizedLinkProps, LinkTarget } from "../type-2Go0njwa.mjs";
|
|
2
2
|
export { CustomizedLinkProps, LinkTarget };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { internal_link_default } from "./internal-link-NQb751uB.mjs";
|
|
2
|
-
import { external_link_default } from "./external-link-
|
|
2
|
+
import { external_link_default } from "./external-link-BykRRwmY.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/customized-link/index.ts
|
|
5
5
|
var customized_link_default = {
|
|
@@ -9,4 +9,4 @@ var customized_link_default = {
|
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
11
11
|
export { customized_link_default };
|
|
12
|
-
//# sourceMappingURL=customized-link-
|
|
12
|
+
//# sourceMappingURL=customized-link-DNKmWI0u.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customized-link-
|
|
1
|
+
{"version":3,"file":"customized-link-DNKmWI0u.mjs","names":[],"sources":["../src/customized-link/index.ts"],"sourcesContent":["import ExternalLink from './external-link'\nimport InternalLink from './internal-link'\n\nexport { ExternalLink, InternalLink }\n\nexport default {\n ExternalLink,\n InternalLink,\n}\n"],"mappings":";;;;AAKA,8BAAe;CACb;CACA;CACD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_external_link = require('./external-link-
|
|
2
|
-
const require_internal_link = require('./internal-link-
|
|
1
|
+
const require_external_link = require('./external-link-BMrkjNyi.js');
|
|
2
|
+
const require_internal_link = require('./internal-link-BLXTBMRq.js');
|
|
3
3
|
|
|
4
4
|
//#region src/customized-link/index.ts
|
|
5
5
|
var customized_link_default = {
|
|
@@ -14,4 +14,4 @@ Object.defineProperty(exports, 'customized_link_default', {
|
|
|
14
14
|
return customized_link_default;
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
|
-
//# sourceMappingURL=customized-link-
|
|
17
|
+
//# sourceMappingURL=customized-link-XNoMkeYw.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customized-link-
|
|
1
|
+
{"version":3,"file":"customized-link-XNoMkeYw.js","names":[],"sources":["../src/customized-link/index.ts"],"sourcesContent":["import ExternalLink from './external-link'\nimport InternalLink from './internal-link'\n\nexport { ExternalLink, InternalLink }\n\nexport default {\n ExternalLink,\n InternalLink,\n}\n"],"mappings":";;;;AAKA,8BAAe;CACb;CACA;CACD"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../index-
|
|
2
|
-
import { DIRECTION, Direction } from "../constants-
|
|
1
|
+
import "../index-CYb6xr3M.mjs";
|
|
2
|
+
import { DIRECTION, Direction } from "../constants-Cb4Udkwt.mjs";
|
|
3
3
|
export { DIRECTION, Direction };
|
package/lib/divider/constants.js
CHANGED
package/lib/divider/index.d.mts
CHANGED
package/lib/divider/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('../constants-
|
|
3
|
-
const require_divider = require('../divider-
|
|
2
|
+
require('../constants-BuIUKM2c.js');
|
|
3
|
+
const require_divider = require('../divider-Db3AhImD.js');
|
|
4
4
|
|
|
5
5
|
exports.Divider = require_divider.Divider;
|
|
6
6
|
exports.default = require_divider.divider_default;
|
package/lib/divider/index.mjs
CHANGED