@twreporter/react-typescript-components 0.1.0-beta.17 → 0.1.0-beta.19
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 +12 -12
- package/lib/constants/release-branch.d.mts +2 -2
- package/lib/constants/theme.d.mts +2 -2
- package/lib/constants-0fgvpoyZ.js +171 -0
- package/lib/constants-0fgvpoyZ.js.map +1 -0
- package/lib/{constants-BnVX84Yl.d.mts → constants-B5th6nHM.d.mts} +2 -2
- package/lib/{constants-Cg4dfRV_.d.mts → constants-B95_A0GY.d.mts} +2 -2
- package/lib/{constants-91DoZaeP.js → constants-BV86fOLv.js} +1 -1
- package/lib/{constants-91DoZaeP.js.map → constants-BV86fOLv.js.map} +1 -1
- package/lib/{constants-BYqJQzQQ.mjs → constants-BZGBDC2T.mjs} +1 -1
- package/lib/{constants-BYqJQzQQ.mjs.map → constants-BZGBDC2T.mjs.map} +1 -1
- package/lib/{constants-CzHmv07x.d.ts → constants-C86Q6QlO.d.ts} +1 -1
- package/lib/{constants-C2kTkuiJ.d.mts → constants-D2OTwBsV.d.mts} +2 -2
- package/lib/{constants-P65Nafg1.d.mts → constants-DZWOFPZT.d.mts} +2 -2
- package/lib/constants-DyO2QpJk.mjs +154 -0
- package/lib/constants-DyO2QpJk.mjs.map +1 -0
- package/lib/{constants-oX1rftqQ.d.mts → constants-IzZ4bWWt.d.mts} +2 -2
- package/lib/{constants-BuIUKM2c.js → constants-nmH6p6-y.js} +1 -1
- package/lib/{constants-BuIUKM2c.js.map → constants-nmH6p6-y.js.map} +1 -1
- package/lib/{constants-Cz7n-nLz.mjs → constants-z9Q8ph_H.mjs} +1 -1
- package/lib/{constants-Cz7n-nLz.mjs.map → constants-z9Q8ph_H.mjs.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 +3 -3
- 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-DNKmWI0u.mjs → customized-link-BacydHK_.mjs} +3 -3
- package/lib/{customized-link-DNKmWI0u.mjs.map → customized-link-BacydHK_.mjs.map} +1 -1
- package/lib/{customized-link-XNoMkeYw.js → customized-link-CHH91yod.js} +3 -3
- package/lib/{customized-link-XNoMkeYw.js.map → customized-link-CHH91yod.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-Db3AhImD.js → divider-B1zvSjNJ.js} +2 -2
- package/lib/{divider-Db3AhImD.js.map → divider-B1zvSjNJ.js.map} +1 -1
- package/lib/{divider-CEIxmAsH.mjs → divider-CE4u6SR5.mjs} +2 -2
- package/lib/{divider-CEIxmAsH.mjs.map → divider-CE4u6SR5.mjs.map} +1 -1
- package/lib/dropdown-menu/index.d.mts +1 -1
- package/lib/dropdown-menu/index.d.ts +1 -1
- package/lib/dropdown-menu/index.js +4 -4
- package/lib/dropdown-menu/index.mjs +4 -4
- package/lib/{dropdown-menu-tbV9rhnw.js → dropdown-menu-D4XjLl7G.js} +3 -3
- package/lib/{dropdown-menu-tbV9rhnw.js.map → dropdown-menu-D4XjLl7G.js.map} +1 -1
- package/lib/{dropdown-menu-CuyS5r71.mjs → dropdown-menu-jbg-kt3s.mjs} +3 -3
- package/lib/{dropdown-menu-CuyS5r71.mjs.map → dropdown-menu-jbg-kt3s.mjs.map} +1 -1
- package/lib/{external-link-khVeTReZ.d.mts → external-link-0t606cM_.d.mts} +2 -2
- package/lib/{external-link-2XoC1_oL.d.ts → external-link-B3tELAVU.d.ts} +2 -2
- package/lib/{external-link-BykRRwmY.mjs → external-link-Diro-q37.mjs} +4 -2
- package/lib/external-link-Diro-q37.mjs.map +1 -0
- package/lib/{external-link-BMrkjNyi.js → external-link-afU9uFB6.js} +4 -2
- package/lib/external-link-afU9uFB6.js.map +1 -0
- package/lib/footer/constants.d.mts +51 -0
- package/lib/footer/constants.d.ts +51 -0
- package/lib/footer/constants.js +7 -0
- package/lib/footer/constants.mjs +5 -0
- package/lib/footer/index.d.mts +12 -0
- package/lib/footer/index.d.ts +11 -0
- package/lib/footer/index.js +103 -0
- package/lib/footer/index.js.map +1 -0
- package/lib/footer/index.mjs +100 -0
- package/lib/footer/index.mjs.map +1 -0
- package/lib/footer/links.d.mts +23 -0
- package/lib/footer/links.d.ts +23 -0
- package/lib/footer/links.js +19 -0
- package/lib/footer/links.mjs +17 -0
- package/lib/footer/logo.d.mts +12 -0
- package/lib/footer/logo.d.ts +11 -0
- package/lib/footer/logo.js +9 -0
- package/lib/footer/logo.mjs +9 -0
- package/lib/hamburger-menu/index.js +10 -11
- package/lib/hamburger-menu/index.mjs +10 -11
- package/lib/{hamburger-menu-Ca6QMgF9.mjs → hamburger-menu-MQgF0vLX.mjs} +9 -9
- package/lib/{hamburger-menu-Ca6QMgF9.mjs.map → hamburger-menu-MQgF0vLX.mjs.map} +1 -1
- package/lib/{hamburger-menu-qrLPGpHF.js → hamburger-menu-baCi46g2.js} +9 -9
- package/lib/{hamburger-menu-qrLPGpHF.js.map → hamburger-menu-baCi46g2.js.map} +1 -1
- package/lib/header/index.d.mts +3 -3
- package/lib/header/index.js +19 -19
- package/lib/header/index.js.map +1 -1
- package/lib/header/index.mjs +18 -18
- package/lib/header/index.mjs.map +1 -1
- package/lib/{heading-BWuXn7wB.mjs → heading-Cljxy-62.mjs} +1 -1
- package/lib/{heading-BWuXn7wB.mjs.map → heading-Cljxy-62.mjs.map} +1 -1
- package/lib/{heading-DJepEhoE.js → heading-Dnpw_s7U.js} +1 -1
- package/lib/{heading-DJepEhoE.js.map → heading-Dnpw_s7U.js.map} +1 -1
- package/lib/hooks/index.d.mts +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.js +1 -1
- package/lib/hooks/use-outside-click.mjs +1 -1
- package/lib/{hooks-Mt5N4Z2W.js → hooks-BxlKOoQu.js} +2 -2
- package/lib/{hooks-Mt5N4Z2W.js.map → hooks-BxlKOoQu.js.map} +1 -1
- package/lib/{hooks-DFV2v01e.mjs → hooks-DmImq-Z7.mjs} +2 -2
- package/lib/{hooks-DFV2v01e.mjs.map → hooks-DmImq-Z7.mjs.map} +1 -1
- package/lib/icons/constants.d.mts +2 -2
- package/lib/icons/index.d.mts +12 -12
- package/lib/{index-DaRD2S-9.d.mts → index-DegwO8ei.d.mts} +1 -1
- package/lib/input/constants.d.mts +17 -3
- package/lib/input/constants.d.ts +17 -3
- package/lib/input/constants.js +15 -4
- package/lib/input/constants.js.map +1 -0
- package/lib/input/constants.mjs +13 -2
- package/lib/input/constants.mjs.map +1 -0
- package/lib/input/index.d.mts +7 -10
- package/lib/input/index.d.ts +2 -5
- package/lib/input/index.js +2 -3
- package/lib/input/index.mjs +2 -3
- package/lib/input/theme.d.mts +2 -2
- package/lib/input/theme.js +1 -1
- package/lib/input/theme.mjs +1 -1
- package/lib/{input-czWOItrW.js → input-DaMbsNrg.js} +6 -8
- package/lib/input-DaMbsNrg.js.map +1 -0
- package/lib/{input-_Hl5B4_K.mjs → input-DvriSZ9o.mjs} +6 -8
- package/lib/input-DvriSZ9o.mjs.map +1 -0
- package/lib/{internal-link-BLXTBMRq.js → internal-link-Bq4yp13E.js} +4 -2
- package/lib/{internal-link-BLXTBMRq.js.map → internal-link-Bq4yp13E.js.map} +1 -1
- package/lib/{internal-link-NQb751uB.mjs → internal-link-DCXJvzgx.mjs} +4 -2
- package/lib/{internal-link-NQb751uB.mjs.map → internal-link-DCXJvzgx.mjs.map} +1 -1
- package/lib/{internal-link-BSb3__eR.d.mts → internal-link-Daag4Lrv.d.mts} +2 -2
- package/lib/{internal-link-DCSEl1jM.d.ts → internal-link-DtMsmfE9.d.ts} +2 -2
- package/lib/links-DO97xw7S.mjs +89 -0
- package/lib/links-DO97xw7S.mjs.map +1 -0
- package/lib/links-Xuo8pb4a.js +110 -0
- package/lib/links-Xuo8pb4a.js.map +1 -0
- package/lib/logo/constants.d.mts +2 -2
- package/lib/logo/constants.d.ts +1 -1
- package/lib/logo/index.d.mts +26 -11
- package/lib/logo/index.d.ts +19 -4
- package/lib/logo/index.js +2 -1
- package/lib/logo/index.mjs +2 -2
- package/lib/{logo-BTNfdxTv.js → logo-B3GSkN1O.js} +28 -5
- package/lib/logo-B3GSkN1O.js.map +1 -0
- package/lib/logo-C5NgKyYa.js +32 -0
- package/lib/logo-C5NgKyYa.js.map +1 -0
- package/lib/logo-CumKSrK5.mjs +24 -0
- package/lib/logo-CumKSrK5.mjs.map +1 -0
- package/lib/{logo-D68VZ-fc.mjs → logo-NfYCtrtN.mjs} +22 -6
- package/lib/logo-NfYCtrtN.mjs.map +1 -0
- package/lib/{release-branch-8qGtkKtd.d.mts → release-branch-CaxOk9Rq.d.mts} +2 -2
- package/lib/styles.css +135 -0
- package/lib/tab-bar/constants.d.mts +3 -3
- package/lib/tab-bar/constants.d.ts +1 -1
- package/lib/tab-bar/constants.js +1 -1
- package/lib/tab-bar/constants.mjs +1 -1
- package/lib/tab-bar/index.js +6 -6
- package/lib/tab-bar/index.mjs +6 -6
- 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-BqiC7-Lw.mjs → tab-bar-CQjgjdkW.mjs} +5 -5
- package/lib/{tab-bar-BqiC7-Lw.mjs.map → tab-bar-CQjgjdkW.mjs.map} +1 -1
- package/lib/{tab-bar-Binq1EhQ.js → tab-bar-Dq0ewfWA.js} +5 -5
- package/lib/{tab-bar-Binq1EhQ.js.map → tab-bar-Dq0ewfWA.js.map} +1 -1
- package/lib/text/constants.d.mts +2 -2
- package/lib/text/heading.d.mts +2 -2
- package/lib/text/heading.js +1 -1
- package/lib/text/heading.mjs +1 -1
- package/lib/text/paragraph.d.mts +2 -2
- package/lib/{theme-BOMyqC4d.js → theme-BQQzAfHb.js} +1 -1
- package/lib/{theme-BOMyqC4d.js.map → theme-BQQzAfHb.js.map} +1 -1
- package/lib/{theme-PhMjSVv9.mjs → theme-CDCgzSJw.mjs} +1 -1
- package/lib/{theme-PhMjSVv9.mjs.map → theme-CDCgzSJw.mjs.map} +1 -1
- package/lib/{theme-B9CWW8U9.d.mts → theme-Cx5oFufE.d.mts} +2 -2
- package/lib/{theme-CkSx7UX3.mjs → theme-D_LHh2_S.mjs} +1 -1
- package/lib/{theme-CkSx7UX3.mjs.map → theme-D_LHh2_S.mjs.map} +1 -1
- package/lib/{theme-CIEkzycI.js → theme-LkZX5giH.js} +1 -1
- package/lib/{theme-CIEkzycI.js.map → theme-LkZX5giH.js.map} +1 -1
- package/lib/title-bar/index.d.mts +4 -4
- package/lib/title-bar/index.d.ts +4 -4
- package/lib/title-bar/index.js +4 -4
- package/lib/title-bar/index.mjs +4 -4
- package/lib/{type-C4hJK9H9.d.ts → type-DGvbr3Rm.d.mts} +3 -1
- package/lib/{type-4zpM3Fk5.d.mts → type-ubTUOk6A.d.ts} +3 -1
- package/lib/types/index.d.mts +1 -1
- package/lib/{use-outside-click-Bz_v9VCq.mjs → use-outside-click-Br_ste4n.mjs} +1 -1
- package/lib/{use-outside-click-Bz_v9VCq.mjs.map → use-outside-click-Br_ste4n.mjs.map} +1 -1
- package/lib/{use-outside-click-436PXIeY.js → use-outside-click-Cl1QlhTH.js} +1 -1
- package/lib/{use-outside-click-436PXIeY.js.map → use-outside-click-Cl1QlhTH.js.map} +1 -1
- package/lib/use-outside-click-Diz2B7wx.d.mts +7 -0
- package/package.json +2 -2
- package/lib/constants-BGUGvo1A.d.ts +0 -22
- package/lib/constants-BP47D2l7.js +0 -36
- package/lib/constants-BP47D2l7.js.map +0 -1
- package/lib/constants-CxHP9dkH.d.mts +0 -22
- package/lib/constants-Dfgyc0ND.mjs +0 -18
- package/lib/constants-Dfgyc0ND.mjs.map +0 -1
- package/lib/external-link-BMrkjNyi.js.map +0 -1
- package/lib/external-link-BykRRwmY.mjs.map +0 -1
- package/lib/input-_Hl5B4_K.mjs.map +0 -1
- package/lib/input-czWOItrW.js.map +0 -1
- package/lib/logo-BTNfdxTv.js.map +0 -1
- package/lib/logo-D68VZ-fc.mjs.map +0 -1
- package/lib/use-outside-click-DToGSYRk.d.mts +0 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { internal_link_default } from "../internal-link-
|
|
2
|
-
import { external_link_default } from "../external-link-
|
|
3
|
-
import { customized_link_default } from "../customized-link-
|
|
1
|
+
import { internal_link_default } from "../internal-link-DCXJvzgx.mjs";
|
|
2
|
+
import { external_link_default } from "../external-link-Diro-q37.mjs";
|
|
3
|
+
import { customized_link_default } from "../customized-link-BacydHK_.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-DGvbr3Rm.mjs";
|
|
2
|
+
import { InternalLink } from "../internal-link-Daag4Lrv.mjs";
|
|
3
3
|
export { InternalLink as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../type-
|
|
2
|
-
import { InternalLink } from "../internal-link-
|
|
1
|
+
import "../type-ubTUOk6A.js";
|
|
2
|
+
import { InternalLink } from "../internal-link-DtMsmfE9.js";
|
|
3
3
|
export = InternalLink;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CustomizedLinkProps, LinkTarget } from "../type-
|
|
1
|
+
import { CustomizedLinkProps, LinkTarget } from "../type-DGvbr3Rm.mjs";
|
|
2
2
|
export { CustomizedLinkProps, LinkTarget };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CustomizedLinkProps, LinkTarget } from "../type-
|
|
1
|
+
import { CustomizedLinkProps, LinkTarget } from "../type-ubTUOk6A.js";
|
|
2
2
|
export { CustomizedLinkProps, LinkTarget };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { internal_link_default } from "./internal-link-
|
|
2
|
-
import { external_link_default } from "./external-link-
|
|
1
|
+
import { internal_link_default } from "./internal-link-DCXJvzgx.mjs";
|
|
2
|
+
import { external_link_default } from "./external-link-Diro-q37.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-BacydHK_.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customized-link-
|
|
1
|
+
{"version":3,"file":"customized-link-BacydHK_.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-afU9uFB6.js');
|
|
2
|
+
const require_internal_link = require('./internal-link-Bq4yp13E.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-CHH91yod.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customized-link-
|
|
1
|
+
{"version":3,"file":"customized-link-CHH91yod.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-DegwO8ei.mjs";
|
|
2
|
+
import { DIRECTION, Direction } from "../constants-B5th6nHM.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-nmH6p6-y.js');
|
|
3
|
+
const require_divider = require('../divider-B1zvSjNJ.js');
|
|
4
4
|
|
|
5
5
|
exports.Divider = require_divider.Divider;
|
|
6
6
|
exports.default = require_divider.divider_default;
|
package/lib/divider/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-BxBTb9qk.js');
|
|
2
|
-
const require_constants = require('./constants-
|
|
2
|
+
const require_constants = require('./constants-nmH6p6-y.js');
|
|
3
3
|
let clsx = require("clsx");
|
|
4
4
|
clsx = require_chunk.__toESM(clsx);
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -26,4 +26,4 @@ Object.defineProperty(exports, 'divider_default', {
|
|
|
26
26
|
return divider_default;
|
|
27
27
|
}
|
|
28
28
|
});
|
|
29
|
-
//# sourceMappingURL=divider-
|
|
29
|
+
//# sourceMappingURL=divider-B1zvSjNJ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divider-
|
|
1
|
+
{"version":3,"file":"divider-B1zvSjNJ.js","names":["Divider: React.FC<DividerProps> & { Direction: typeof DIRECTION }","DIRECTION"],"sources":["../src/divider/index.tsx"],"sourcesContent":["import type React from 'react'\nimport clsx from 'clsx'\n// constants\nimport { DIRECTION, type Direction } from './constants'\n\ntype DividerProps = {\n direction?: Direction\n className?: string\n}\n\nexport const Divider: React.FC<DividerProps> & { Direction: typeof DIRECTION } =\n ({ direction = DIRECTION.horizontal, className = '' }) => {\n if (direction === DIRECTION.vertical) {\n return (\n <div\n className={clsx(\n 'h-full w-0 border-l-[1px] border-solid border-gray-300',\n className\n )}\n />\n )\n }\n\n return (\n <div\n className={clsx(\n 'h-0 w-full border-t-[1px] border-solid border-gray-300',\n className\n )}\n />\n )\n }\n\nDivider.Direction = DIRECTION\n\nexport default Divider\n"],"mappings":";;;;;;;;AAUA,MAAaA,WACV,EAAE,YAAYC,4BAAU,YAAY,YAAY,SAAS;AACxD,KAAI,cAAcA,4BAAU,SAC1B,QACE,2CAAC,SACC,6BACE,0DACA,UACD,GACD;AAIN,QACE,2CAAC,SACC,6BACE,0DACA,UACD,GACD;;AAIR,QAAQ,YAAYA;AAEpB,sBAAe"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DIRECTION } from "./constants-
|
|
1
|
+
import { DIRECTION } from "./constants-z9Q8ph_H.mjs";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
|
|
@@ -12,4 +12,4 @@ var divider_default = Divider;
|
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Divider, divider_default };
|
|
15
|
-
//# sourceMappingURL=divider-
|
|
15
|
+
//# sourceMappingURL=divider-CE4u6SR5.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divider-
|
|
1
|
+
{"version":3,"file":"divider-CE4u6SR5.mjs","names":["Divider: React.FC<DividerProps> & { Direction: typeof DIRECTION }"],"sources":["../src/divider/index.tsx"],"sourcesContent":["import type React from 'react'\nimport clsx from 'clsx'\n// constants\nimport { DIRECTION, type Direction } from './constants'\n\ntype DividerProps = {\n direction?: Direction\n className?: string\n}\n\nexport const Divider: React.FC<DividerProps> & { Direction: typeof DIRECTION } =\n ({ direction = DIRECTION.horizontal, className = '' }) => {\n if (direction === DIRECTION.vertical) {\n return (\n <div\n className={clsx(\n 'h-full w-0 border-l-[1px] border-solid border-gray-300',\n className\n )}\n />\n )\n }\n\n return (\n <div\n className={clsx(\n 'h-0 w-full border-t-[1px] border-solid border-gray-300',\n className\n )}\n />\n )\n }\n\nDivider.Direction = DIRECTION\n\nexport default Divider\n"],"mappings":";;;;;AAUA,MAAaA,WACV,EAAE,YAAY,UAAU,YAAY,YAAY,SAAS;AACxD,KAAI,cAAc,UAAU,SAC1B,QACE,oBAAC,SACC,WAAW,KACT,0DACA,UACD,GACD;AAIN,QACE,oBAAC,SACC,WAAW,KACT,0DACA,UACD,GACD;;AAIR,QAAQ,YAAY;AAEpB,sBAAe"}
|
|
@@ -2,13 +2,13 @@ require('../constants-Cndhv6qr.js');
|
|
|
2
2
|
require('../paragraph-iuz3jP0Q.js');
|
|
3
3
|
require('../theme-DDBlIbeS.js');
|
|
4
4
|
require('../release-branch-CRZV4Ivz.js');
|
|
5
|
-
require('../external-link-
|
|
6
|
-
require('../internal-link-
|
|
7
|
-
require('../customized-link-
|
|
5
|
+
require('../external-link-afU9uFB6.js');
|
|
6
|
+
require('../internal-link-Bq4yp13E.js');
|
|
7
|
+
require('../customized-link-CHH91yod.js');
|
|
8
8
|
require('../context-I1lTR5SO.js');
|
|
9
9
|
require('../constants-D8wNUvoZ.js');
|
|
10
10
|
require('../icons-qP5oNB0W.js');
|
|
11
11
|
require('../constants-C2moxnps.js');
|
|
12
|
-
const require_dropdown_menu = require('../dropdown-menu-
|
|
12
|
+
const require_dropdown_menu = require('../dropdown-menu-D4XjLl7G.js');
|
|
13
13
|
|
|
14
14
|
exports.DropdownMenu = require_dropdown_menu.DropdownMenu;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "../internal-link-
|
|
1
|
+
import "../internal-link-DCXJvzgx.mjs";
|
|
2
2
|
import "../constants-CBSEPx91.mjs";
|
|
3
3
|
import "../paragraph-Cf9jr8RF.mjs";
|
|
4
4
|
import "../theme-BG6yZVj-.mjs";
|
|
5
5
|
import "../release-branch-DNCD1uH_.mjs";
|
|
6
|
-
import "../external-link-
|
|
7
|
-
import "../customized-link-
|
|
6
|
+
import "../external-link-Diro-q37.mjs";
|
|
7
|
+
import "../customized-link-BacydHK_.mjs";
|
|
8
8
|
import "../context-BgdqM3zA.mjs";
|
|
9
9
|
import "../constants-5phfWHvb.mjs";
|
|
10
10
|
import "../icons-I7T-auOQ.mjs";
|
|
11
11
|
import "../constants-DRxdMM_X.mjs";
|
|
12
|
-
import { DropdownMenu } from "../dropdown-menu-
|
|
12
|
+
import { DropdownMenu } from "../dropdown-menu-jbg-kt3s.mjs";
|
|
13
13
|
|
|
14
14
|
export { DropdownMenu };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-BxBTb9qk.js');
|
|
2
2
|
const require_paragraph = require('./paragraph-iuz3jP0Q.js');
|
|
3
3
|
const require_theme = require('./theme-DDBlIbeS.js');
|
|
4
|
-
const require_external_link = require('./external-link-
|
|
5
|
-
const require_internal_link = require('./internal-link-
|
|
4
|
+
const require_external_link = require('./external-link-afU9uFB6.js');
|
|
5
|
+
const require_internal_link = require('./internal-link-Bq4yp13E.js');
|
|
6
6
|
const require_context = require('./context-I1lTR5SO.js');
|
|
7
7
|
const require_icons = require('./icons-qP5oNB0W.js');
|
|
8
8
|
const require_constants = require('./constants-C2moxnps.js');
|
|
@@ -147,4 +147,4 @@ Object.defineProperty(exports, 'selectLogoType', {
|
|
|
147
147
|
return selectLogoType;
|
|
148
148
|
}
|
|
149
149
|
});
|
|
150
|
-
//# sourceMappingURL=dropdown-menu-
|
|
150
|
+
//# sourceMappingURL=dropdown-menu-D4XjLl7G.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu-
|
|
1
|
+
{"version":3,"file":"dropdown-menu-D4XjLl7G.js","names":["THEME","LOGO_SYMBOL_TYPE","DropdownMenuItem: FC<{\n label: string\n}>","HeaderContext","P2","DropdownMenu: FC<DropdownMenuProps>","HeaderContext","ExternalLink","InternalLink","P1","Arrow","DropdownMenuItem"],"sources":["../src/hamburger-menu/utils/theme.ts","../src/dropdown-menu/dropdown-menu-item/index.tsx","../src/dropdown-menu/index.tsx"],"sourcesContent":["import { THEME, type Theme } from '../../constants/theme'\n// logo\nimport { LOGO_SYMBOL_TYPE } from '../../logo/constants'\n\nexport const selectHamburgerMenuTheme = (theme: Theme) => {\n switch (theme) {\n case THEME.photography:\n return {\n bgColor: 'bg-photo-dark',\n scrollBarColor: '[&::-webkit-scrollbar-thumb]:bg-opacity-white-08',\n }\n default:\n return {\n bgColor: 'bg-gray-white',\n scrollBarColor: '[&::-webkit-scrollbar-thumb]:bg-opacity-black-02',\n }\n }\n}\n\nexport const selectLogoType = (theme: Theme) => {\n switch (theme) {\n case THEME.photography:\n case THEME.transparent:\n return LOGO_SYMBOL_TYPE.white\n default:\n return LOGO_SYMBOL_TYPE.default\n }\n}\n\nexport const selectHamburgerItemTheme = (theme: Theme, active = false) => {\n switch (theme) {\n case THEME.photography:\n return {\n color: active ? 'text-supportive-pastel' : 'text-gray-white',\n svgBgColor: active\n ? '[&>svg]:bg-supportive-pastel'\n : '[&>svg]:bg-gray-white',\n hoverBgColor: 'hover:bg-opacity-white-02',\n activeBgColor: 'active:bg-opacity-white-05',\n }\n default:\n return {\n color: active ? 'text-brand-heavy' : 'text-gray-800',\n svgBgColor: active ? '[&>svg]:bg-brand-heavy' : '[&>svg]:bg-gray-800',\n hoverBgColor: 'hover:bg-gray-100',\n activeBgColor: 'active:bg-gray-200',\n }\n }\n}\n\nexport const selectHamburgerFooterTheme = (theme: Theme) => {\n switch (theme) {\n case THEME.photography:\n return {\n color: 'text-gray-400',\n hoverColor: 'hover:text-gray-400',\n hoverBgColor: 'hover:bg-opacity-white-02',\n svgHoverBgColor: 'hover:[&>svg]:bg-gray-400',\n svgBgColor: '[&>svg]:bg-gray-400',\n activeColor: 'active:text-gray-400',\n activeBgColor: 'active:bg-opacity-white-05',\n svgActiveBgColor: 'active:[&>svg]:bg-gray-400',\n }\n default:\n return {\n color: 'text-gray-600',\n hoverColor: 'hover:text-gray-800',\n hoverBgColor: 'hover:bg-gray-100',\n svgHoverBgColor: 'hover:[&>svg]:bg-gray-800',\n svgBgColor: '[&>svg]:bg-gray-600',\n activeColor: 'active:text-gray-800',\n activeBgColor: 'active:bg-gray-200',\n svgActiveBgColor: 'active:[&>svg]:bg-gray-800',\n }\n }\n}\n","import { useContext, type FC } from 'react'\nimport clsx from 'clsx'\n// context\nimport { HeaderContext } from '../../header/context'\n// theme\nimport { selectHamburgerItemTheme } from '../../hamburger-menu/utils/theme'\n// text\nimport { P2 } from '../../text/paragraph'\nconst DropdownMenuItem: FC<{\n label: string\n}> = ({ label }) => {\n const { theme } = useContext(HeaderContext)\n const { color, hoverBgColor, activeBgColor } = selectHamburgerItemTheme(theme)\n return (\n <div\n className={clsx(\n 'py-[8px] pl-[48px] pr-[32px] cursor-pointer',\n color,\n hoverBgColor,\n activeBgColor\n )}\n >\n <P2 text={label} weight={P2.Weight.bold} />\n </div>\n )\n}\n\nexport default DropdownMenuItem\n","import { useContext, type FC } from 'react'\nimport clsx from 'clsx'\n// context\nimport { HeaderContext } from '../header/context'\n// text\nimport { P1 } from '../text/paragraph'\n// icons\nimport { Arrow } from '../icons'\n// theme\nimport { selectHamburgerItemTheme } from '../hamburger-menu/utils/theme'\n// components\nimport DropdownMenuItem from './dropdown-menu-item'\n// link\nimport { ExternalLink, InternalLink } from '../customized-link'\nimport type { LinkTarget } from '../customized-link/type'\n\ntype DropdownMenuProps = {\n text?: string\n isActive?: boolean\n dropdownItems: { label: string; to: string; target: LinkTarget }[]\n}\nconst DropdownMenu: FC<DropdownMenuProps> = ({\n text = '',\n isActive = false,\n dropdownItems = [],\n}) => {\n const { theme, releaseBranch, isLinkExternal } = useContext(HeaderContext)\n const { color, svgBgColor, hoverBgColor, activeBgColor } =\n selectHamburgerItemTheme(theme, isActive)\n const LinkComponent = isLinkExternal ? ExternalLink : InternalLink\n return (\n <>\n <div\n className={clsx(\n 'flex items-center justify-between cursor-pointer py-[8px] px-[32px]',\n '[&>svg]:transition-all [&>svg]:duration-300',\n svgBgColor,\n color,\n hoverBgColor,\n isActive ? `[&>svg]:-rotate-[180deg]` : '[&>svg]:rotate-[0deg]',\n isActive ? activeBgColor : ''\n )}\n >\n <P1 text={text} weight={P1.Weight.bold} />\n <Arrow direction=\"down\" releaseBranch={releaseBranch} />\n </div>\n <div\n className={clsx(\n 'overflow-hidden transition-all duration-300 ease-in-out',\n isActive ? 'max-h-[300px]' : 'max-h-0'\n )}\n >\n {dropdownItems.map((itme) => {\n return (\n <LinkComponent to={itme.to} target={itme.target} key={itme.label}>\n <DropdownMenuItem label={itme.label} />\n </LinkComponent>\n )\n })}\n </div>\n </>\n )\n}\n\nexport { DropdownMenu }\n"],"mappings":";;;;;;;;;;;;;;;;AAIA,MAAa,4BAA4B,UAAiB;AACxD,SAAQ,OAAR;EACE,KAAKA,oBAAM,YACT,QAAO;GACL,SAAS;GACT,gBAAgB;GACjB;EACH,QACE,QAAO;GACL,SAAS;GACT,gBAAgB;GACjB;;;AAIP,MAAa,kBAAkB,UAAiB;AAC9C,SAAQ,OAAR;EACE,KAAKA,oBAAM;EACX,KAAKA,oBAAM,YACT,QAAOC,mCAAiB;EAC1B,QACE,QAAOA,mCAAiB;;;AAI9B,MAAa,4BAA4B,OAAc,SAAS,UAAU;AACxE,SAAQ,OAAR;EACE,KAAKD,oBAAM,YACT,QAAO;GACL,OAAO,SAAS,2BAA2B;GAC3C,YAAY,SACR,iCACA;GACJ,cAAc;GACd,eAAe;GAChB;EACH,QACE,QAAO;GACL,OAAO,SAAS,qBAAqB;GACrC,YAAY,SAAS,2BAA2B;GAChD,cAAc;GACd,eAAe;GAChB;;;AAIP,MAAa,8BAA8B,UAAiB;AAC1D,SAAQ,OAAR;EACE,KAAKA,oBAAM,YACT,QAAO;GACL,OAAO;GACP,YAAY;GACZ,cAAc;GACd,iBAAiB;GACjB,YAAY;GACZ,aAAa;GACb,eAAe;GACf,kBAAkB;GACnB;EACH,QACE,QAAO;GACL,OAAO;GACP,YAAY;GACZ,cAAc;GACd,iBAAiB;GACjB,YAAY;GACZ,aAAa;GACb,eAAe;GACf,kBAAkB;GACnB;;;;;;ACjEP,MAAME,oBAEA,EAAE,YAAY;CAClB,MAAM,EAAE,gCAAqBC,8BAAc;CAC3C,MAAM,EAAE,OAAO,cAAc,kBAAkB,yBAAyB,MAAM;AAC9E,QACE,2CAAC;EACC,6BACE,+CACA,OACA,cACA,cACD;YAED,2CAACC;GAAG,MAAM;GAAO,QAAQA,qBAAG,OAAO;IAAQ;GACvC;;AAIV,iCAAe;;;;ACNf,MAAMC,gBAAuC,EAC3C,OAAO,IACP,WAAW,OACX,gBAAgB,EAAE,OACd;CACJ,MAAM,EAAE,OAAO,eAAe,yCAA8BC,8BAAc;CAC1E,MAAM,EAAE,OAAO,YAAY,cAAc,kBACvC,yBAAyB,OAAO,SAAS;CAC3C,MAAM,gBAAgB,iBAAiBC,8CAAeC;AACtD,QACE,qFACE,4CAAC;EACC,6BACE,uEACA,+CACA,YACA,OACA,cACA,WAAW,6BAA6B,yBACxC,WAAW,gBAAgB,GAC5B;aAED,2CAACC;GAAS;GAAM,QAAQA,qBAAG,OAAO;IAAQ,EAC1C,2CAACC;GAAM,WAAU;GAAsB;IAAiB;GACpD,EACN,2CAAC;EACC,6BACE,2DACA,WAAW,kBAAkB,UAC9B;YAEA,cAAc,KAAK,SAAS;AAC3B,UACE,2CAAC;IAAc,IAAI,KAAK;IAAI,QAAQ,KAAK;cACvC,2CAACC,8BAAiB,OAAO,KAAK,QAAS;MADa,KAAK,MAE3C;IAElB;GACE,IACL"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { internal_link_default } from "./internal-link-
|
|
1
|
+
import { internal_link_default } from "./internal-link-DCXJvzgx.mjs";
|
|
2
2
|
import { P1, P2 } from "./paragraph-Cf9jr8RF.mjs";
|
|
3
3
|
import { THEME } from "./theme-BG6yZVj-.mjs";
|
|
4
|
-
import { external_link_default } from "./external-link-
|
|
4
|
+
import { external_link_default } from "./external-link-Diro-q37.mjs";
|
|
5
5
|
import { HeaderContext } from "./context-BgdqM3zA.mjs";
|
|
6
6
|
import { Arrow } from "./icons-I7T-auOQ.mjs";
|
|
7
7
|
import { LOGO_SYMBOL_TYPE } from "./constants-DRxdMM_X.mjs";
|
|
@@ -114,4 +114,4 @@ const DropdownMenu = ({ text = "", isActive = false, dropdownItems = [] }) => {
|
|
|
114
114
|
|
|
115
115
|
//#endregion
|
|
116
116
|
export { DropdownMenu, selectHamburgerFooterTheme, selectHamburgerItemTheme, selectHamburgerMenuTheme, selectLogoType };
|
|
117
|
-
//# sourceMappingURL=dropdown-menu-
|
|
117
|
+
//# sourceMappingURL=dropdown-menu-jbg-kt3s.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu-
|
|
1
|
+
{"version":3,"file":"dropdown-menu-jbg-kt3s.mjs","names":["DropdownMenuItem: FC<{\n label: string\n}>","DropdownMenu: FC<DropdownMenuProps>","ExternalLink","InternalLink","DropdownMenuItem"],"sources":["../src/hamburger-menu/utils/theme.ts","../src/dropdown-menu/dropdown-menu-item/index.tsx","../src/dropdown-menu/index.tsx"],"sourcesContent":["import { THEME, type Theme } from '../../constants/theme'\n// logo\nimport { LOGO_SYMBOL_TYPE } from '../../logo/constants'\n\nexport const selectHamburgerMenuTheme = (theme: Theme) => {\n switch (theme) {\n case THEME.photography:\n return {\n bgColor: 'bg-photo-dark',\n scrollBarColor: '[&::-webkit-scrollbar-thumb]:bg-opacity-white-08',\n }\n default:\n return {\n bgColor: 'bg-gray-white',\n scrollBarColor: '[&::-webkit-scrollbar-thumb]:bg-opacity-black-02',\n }\n }\n}\n\nexport const selectLogoType = (theme: Theme) => {\n switch (theme) {\n case THEME.photography:\n case THEME.transparent:\n return LOGO_SYMBOL_TYPE.white\n default:\n return LOGO_SYMBOL_TYPE.default\n }\n}\n\nexport const selectHamburgerItemTheme = (theme: Theme, active = false) => {\n switch (theme) {\n case THEME.photography:\n return {\n color: active ? 'text-supportive-pastel' : 'text-gray-white',\n svgBgColor: active\n ? '[&>svg]:bg-supportive-pastel'\n : '[&>svg]:bg-gray-white',\n hoverBgColor: 'hover:bg-opacity-white-02',\n activeBgColor: 'active:bg-opacity-white-05',\n }\n default:\n return {\n color: active ? 'text-brand-heavy' : 'text-gray-800',\n svgBgColor: active ? '[&>svg]:bg-brand-heavy' : '[&>svg]:bg-gray-800',\n hoverBgColor: 'hover:bg-gray-100',\n activeBgColor: 'active:bg-gray-200',\n }\n }\n}\n\nexport const selectHamburgerFooterTheme = (theme: Theme) => {\n switch (theme) {\n case THEME.photography:\n return {\n color: 'text-gray-400',\n hoverColor: 'hover:text-gray-400',\n hoverBgColor: 'hover:bg-opacity-white-02',\n svgHoverBgColor: 'hover:[&>svg]:bg-gray-400',\n svgBgColor: '[&>svg]:bg-gray-400',\n activeColor: 'active:text-gray-400',\n activeBgColor: 'active:bg-opacity-white-05',\n svgActiveBgColor: 'active:[&>svg]:bg-gray-400',\n }\n default:\n return {\n color: 'text-gray-600',\n hoverColor: 'hover:text-gray-800',\n hoverBgColor: 'hover:bg-gray-100',\n svgHoverBgColor: 'hover:[&>svg]:bg-gray-800',\n svgBgColor: '[&>svg]:bg-gray-600',\n activeColor: 'active:text-gray-800',\n activeBgColor: 'active:bg-gray-200',\n svgActiveBgColor: 'active:[&>svg]:bg-gray-800',\n }\n }\n}\n","import { useContext, type FC } from 'react'\nimport clsx from 'clsx'\n// context\nimport { HeaderContext } from '../../header/context'\n// theme\nimport { selectHamburgerItemTheme } from '../../hamburger-menu/utils/theme'\n// text\nimport { P2 } from '../../text/paragraph'\nconst DropdownMenuItem: FC<{\n label: string\n}> = ({ label }) => {\n const { theme } = useContext(HeaderContext)\n const { color, hoverBgColor, activeBgColor } = selectHamburgerItemTheme(theme)\n return (\n <div\n className={clsx(\n 'py-[8px] pl-[48px] pr-[32px] cursor-pointer',\n color,\n hoverBgColor,\n activeBgColor\n )}\n >\n <P2 text={label} weight={P2.Weight.bold} />\n </div>\n )\n}\n\nexport default DropdownMenuItem\n","import { useContext, type FC } from 'react'\nimport clsx from 'clsx'\n// context\nimport { HeaderContext } from '../header/context'\n// text\nimport { P1 } from '../text/paragraph'\n// icons\nimport { Arrow } from '../icons'\n// theme\nimport { selectHamburgerItemTheme } from '../hamburger-menu/utils/theme'\n// components\nimport DropdownMenuItem from './dropdown-menu-item'\n// link\nimport { ExternalLink, InternalLink } from '../customized-link'\nimport type { LinkTarget } from '../customized-link/type'\n\ntype DropdownMenuProps = {\n text?: string\n isActive?: boolean\n dropdownItems: { label: string; to: string; target: LinkTarget }[]\n}\nconst DropdownMenu: FC<DropdownMenuProps> = ({\n text = '',\n isActive = false,\n dropdownItems = [],\n}) => {\n const { theme, releaseBranch, isLinkExternal } = useContext(HeaderContext)\n const { color, svgBgColor, hoverBgColor, activeBgColor } =\n selectHamburgerItemTheme(theme, isActive)\n const LinkComponent = isLinkExternal ? ExternalLink : InternalLink\n return (\n <>\n <div\n className={clsx(\n 'flex items-center justify-between cursor-pointer py-[8px] px-[32px]',\n '[&>svg]:transition-all [&>svg]:duration-300',\n svgBgColor,\n color,\n hoverBgColor,\n isActive ? `[&>svg]:-rotate-[180deg]` : '[&>svg]:rotate-[0deg]',\n isActive ? activeBgColor : ''\n )}\n >\n <P1 text={text} weight={P1.Weight.bold} />\n <Arrow direction=\"down\" releaseBranch={releaseBranch} />\n </div>\n <div\n className={clsx(\n 'overflow-hidden transition-all duration-300 ease-in-out',\n isActive ? 'max-h-[300px]' : 'max-h-0'\n )}\n >\n {dropdownItems.map((itme) => {\n return (\n <LinkComponent to={itme.to} target={itme.target} key={itme.label}>\n <DropdownMenuItem label={itme.label} />\n </LinkComponent>\n )\n })}\n </div>\n </>\n )\n}\n\nexport { DropdownMenu }\n"],"mappings":";;;;;;;;;;;;AAIA,MAAa,4BAA4B,UAAiB;AACxD,SAAQ,OAAR;EACE,KAAK,MAAM,YACT,QAAO;GACL,SAAS;GACT,gBAAgB;GACjB;EACH,QACE,QAAO;GACL,SAAS;GACT,gBAAgB;GACjB;;;AAIP,MAAa,kBAAkB,UAAiB;AAC9C,SAAQ,OAAR;EACE,KAAK,MAAM;EACX,KAAK,MAAM,YACT,QAAO,iBAAiB;EAC1B,QACE,QAAO,iBAAiB;;;AAI9B,MAAa,4BAA4B,OAAc,SAAS,UAAU;AACxE,SAAQ,OAAR;EACE,KAAK,MAAM,YACT,QAAO;GACL,OAAO,SAAS,2BAA2B;GAC3C,YAAY,SACR,iCACA;GACJ,cAAc;GACd,eAAe;GAChB;EACH,QACE,QAAO;GACL,OAAO,SAAS,qBAAqB;GACrC,YAAY,SAAS,2BAA2B;GAChD,cAAc;GACd,eAAe;GAChB;;;AAIP,MAAa,8BAA8B,UAAiB;AAC1D,SAAQ,OAAR;EACE,KAAK,MAAM,YACT,QAAO;GACL,OAAO;GACP,YAAY;GACZ,cAAc;GACd,iBAAiB;GACjB,YAAY;GACZ,aAAa;GACb,eAAe;GACf,kBAAkB;GACnB;EACH,QACE,QAAO;GACL,OAAO;GACP,YAAY;GACZ,cAAc;GACd,iBAAiB;GACjB,YAAY;GACZ,aAAa;GACb,eAAe;GACf,kBAAkB;GACnB;;;;;;ACjEP,MAAMA,oBAEA,EAAE,YAAY;CAClB,MAAM,EAAE,UAAU,WAAW,cAAc;CAC3C,MAAM,EAAE,OAAO,cAAc,kBAAkB,yBAAyB,MAAM;AAC9E,QACE,oBAAC;EACC,WAAW,KACT,+CACA,OACA,cACA,cACD;YAED,oBAAC;GAAG,MAAM;GAAO,QAAQ,GAAG,OAAO;IAAQ;GACvC;;AAIV,iCAAe;;;;ACNf,MAAMC,gBAAuC,EAC3C,OAAO,IACP,WAAW,OACX,gBAAgB,EAAE,OACd;CACJ,MAAM,EAAE,OAAO,eAAe,mBAAmB,WAAW,cAAc;CAC1E,MAAM,EAAE,OAAO,YAAY,cAAc,kBACvC,yBAAyB,OAAO,SAAS;CAC3C,MAAM,gBAAgB,iBAAiBC,wBAAeC;AACtD,QACE,4CACE,qBAAC;EACC,WAAW,KACT,uEACA,+CACA,YACA,OACA,cACA,WAAW,6BAA6B,yBACxC,WAAW,gBAAgB,GAC5B;aAED,oBAAC;GAAS;GAAM,QAAQ,GAAG,OAAO;IAAQ,EAC1C,oBAAC;GAAM,WAAU;GAAsB;IAAiB;GACpD,EACN,oBAAC;EACC,WAAW,KACT,2DACA,WAAW,kBAAkB,UAC9B;YAEA,cAAc,KAAK,SAAS;AAC3B,UACE,oBAAC;IAAc,IAAI,KAAK;IAAI,QAAQ,KAAK;cACvC,oBAACC,8BAAiB,OAAO,KAAK,QAAS;MADa,KAAK,MAE3C;IAElB;GACE,IACL"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomizedLinkProps } from "./type-
|
|
1
|
+
import { CustomizedLinkProps } from "./type-DGvbr3Rm.mjs";
|
|
2
2
|
import { FC } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/customized-link/external-link.d.ts
|
|
@@ -6,4 +6,4 @@ type ExternalLinkProps = CustomizedLinkProps;
|
|
|
6
6
|
declare const ExternalLink: FC<ExternalLinkProps>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { ExternalLink };
|
|
9
|
-
//# sourceMappingURL=external-link-
|
|
9
|
+
//# sourceMappingURL=external-link-0t606cM_.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomizedLinkProps } from "./type-
|
|
1
|
+
import { CustomizedLinkProps } from "./type-ubTUOk6A.js";
|
|
2
2
|
import { FC } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/customized-link/external-link.d.ts
|
|
@@ -6,4 +6,4 @@ type ExternalLinkProps = CustomizedLinkProps;
|
|
|
6
6
|
declare const ExternalLink: FC<ExternalLinkProps>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { ExternalLink };
|
|
9
|
-
//# sourceMappingURL=external-link-
|
|
9
|
+
//# sourceMappingURL=external-link-B3tELAVU.d.ts.map
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/customized-link/external-link.tsx
|
|
4
|
-
const ExternalLink = ({ to, target = "_self", className = "", children }) => {
|
|
4
|
+
const ExternalLink = ({ to, target = "_self", className = "", children, onMouseEnter, onMouseLeave }) => {
|
|
5
5
|
return /* @__PURE__ */ jsx("a", {
|
|
6
6
|
href: to,
|
|
7
7
|
target,
|
|
8
8
|
className,
|
|
9
|
+
onMouseEnter,
|
|
10
|
+
onMouseLeave,
|
|
9
11
|
children
|
|
10
12
|
});
|
|
11
13
|
};
|
|
@@ -13,4 +15,4 @@ var external_link_default = ExternalLink;
|
|
|
13
15
|
|
|
14
16
|
//#endregion
|
|
15
17
|
export { external_link_default };
|
|
16
|
-
//# sourceMappingURL=external-link-
|
|
18
|
+
//# sourceMappingURL=external-link-Diro-q37.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-link-Diro-q37.mjs","names":["ExternalLink: FC<ExternalLinkProps>"],"sources":["../src/customized-link/external-link.tsx"],"sourcesContent":["import type { FC } from 'react'\nimport type { CustomizedLinkProps } from './type'\n\ntype ExternalLinkProps = CustomizedLinkProps\nconst ExternalLink: FC<ExternalLinkProps> = ({\n to,\n target = '_self',\n className = '',\n children,\n onMouseEnter,\n onMouseLeave,\n}) => {\n return (\n <a\n href={to}\n target={target}\n className={className}\n onMouseEnter={onMouseEnter}\n onMouseLeave={onMouseLeave}\n >\n {children}\n </a>\n )\n}\n\nexport default ExternalLink\n"],"mappings":";;;AAIA,MAAMA,gBAAuC,EAC3C,IACA,SAAS,SACT,YAAY,IACZ,UACA,cACA,mBACI;AACJ,QACE,oBAAC;EACC,MAAM;EACE;EACG;EACG;EACA;EAEb;GACC;;AAIR,4BAAe"}
|
|
@@ -3,11 +3,13 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
3
3
|
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
4
4
|
|
|
5
5
|
//#region src/customized-link/external-link.tsx
|
|
6
|
-
const ExternalLink = ({ to, target = "_self", className = "", children }) => {
|
|
6
|
+
const ExternalLink = ({ to, target = "_self", className = "", children, onMouseEnter, onMouseLeave }) => {
|
|
7
7
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
8
8
|
href: to,
|
|
9
9
|
target,
|
|
10
10
|
className,
|
|
11
|
+
onMouseEnter,
|
|
12
|
+
onMouseLeave,
|
|
11
13
|
children
|
|
12
14
|
});
|
|
13
15
|
};
|
|
@@ -20,4 +22,4 @@ Object.defineProperty(exports, 'external_link_default', {
|
|
|
20
22
|
return external_link_default;
|
|
21
23
|
}
|
|
22
24
|
});
|
|
23
|
-
//# sourceMappingURL=external-link-
|
|
25
|
+
//# sourceMappingURL=external-link-afU9uFB6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-link-afU9uFB6.js","names":["ExternalLink: FC<ExternalLinkProps>"],"sources":["../src/customized-link/external-link.tsx"],"sourcesContent":["import type { FC } from 'react'\nimport type { CustomizedLinkProps } from './type'\n\ntype ExternalLinkProps = CustomizedLinkProps\nconst ExternalLink: FC<ExternalLinkProps> = ({\n to,\n target = '_self',\n className = '',\n children,\n onMouseEnter,\n onMouseLeave,\n}) => {\n return (\n <a\n href={to}\n target={target}\n className={className}\n onMouseEnter={onMouseEnter}\n onMouseLeave={onMouseLeave}\n >\n {children}\n </a>\n )\n}\n\nexport default ExternalLink\n"],"mappings":";;;;;AAIA,MAAMA,gBAAuC,EAC3C,IACA,SAAS,SACT,YAAY,IACZ,UACA,cACA,mBACI;AACJ,QACE,2CAAC;EACC,MAAM;EACE;EACG;EACG;EACA;EAEb;GACC;;AAIR,4BAAe"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { LinkTarget } from "../type-DGvbr3Rm.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/footer/constants.d.ts
|
|
4
|
+
declare const FUNDRAISING_ID = "\u885B\u90E8\u6551\u5B57\u7B2C 1131363879 \u865F\uFF5C\u52F8\u52DF\u671F\u9593 2025/1/1~12/31";
|
|
5
|
+
declare const getLinksGroups: (mainOrigin: string) => ({
|
|
6
|
+
slug: string;
|
|
7
|
+
text: string;
|
|
8
|
+
to: string;
|
|
9
|
+
target: LinkTarget;
|
|
10
|
+
id: string;
|
|
11
|
+
} | {
|
|
12
|
+
slug: string;
|
|
13
|
+
text: string;
|
|
14
|
+
to: string;
|
|
15
|
+
target: LinkTarget;
|
|
16
|
+
id?: undefined;
|
|
17
|
+
})[][];
|
|
18
|
+
declare const getSocialMediaLinks: () => ({
|
|
19
|
+
slug: string;
|
|
20
|
+
icon: "facebook";
|
|
21
|
+
to: string;
|
|
22
|
+
target: LinkTarget;
|
|
23
|
+
} | {
|
|
24
|
+
slug: string;
|
|
25
|
+
icon: "instagram";
|
|
26
|
+
to: string;
|
|
27
|
+
target: LinkTarget;
|
|
28
|
+
} | {
|
|
29
|
+
slug: string;
|
|
30
|
+
icon: "twitter";
|
|
31
|
+
to: string;
|
|
32
|
+
target: LinkTarget;
|
|
33
|
+
} | {
|
|
34
|
+
slug: string;
|
|
35
|
+
icon: "medium";
|
|
36
|
+
to: string;
|
|
37
|
+
target: LinkTarget;
|
|
38
|
+
} | {
|
|
39
|
+
slug: string;
|
|
40
|
+
icon: "youtube";
|
|
41
|
+
to: string;
|
|
42
|
+
target: LinkTarget;
|
|
43
|
+
} | {
|
|
44
|
+
slug: string;
|
|
45
|
+
icon: "threads";
|
|
46
|
+
to: string;
|
|
47
|
+
target: LinkTarget;
|
|
48
|
+
})[];
|
|
49
|
+
//#endregion
|
|
50
|
+
export { FUNDRAISING_ID, getLinksGroups, getSocialMediaLinks };
|
|
51
|
+
//# sourceMappingURL=constants.d.mts.map
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { LinkTarget } from "../type-ubTUOk6A.js";
|
|
2
|
+
|
|
3
|
+
//#region src/footer/constants.d.ts
|
|
4
|
+
declare const FUNDRAISING_ID = "\u885B\u90E8\u6551\u5B57\u7B2C 1131363879 \u865F\uFF5C\u52F8\u52DF\u671F\u9593 2025/1/1~12/31";
|
|
5
|
+
declare const getLinksGroups: (mainOrigin: string) => ({
|
|
6
|
+
slug: string;
|
|
7
|
+
text: string;
|
|
8
|
+
to: string;
|
|
9
|
+
target: LinkTarget;
|
|
10
|
+
id: string;
|
|
11
|
+
} | {
|
|
12
|
+
slug: string;
|
|
13
|
+
text: string;
|
|
14
|
+
to: string;
|
|
15
|
+
target: LinkTarget;
|
|
16
|
+
id?: undefined;
|
|
17
|
+
})[][];
|
|
18
|
+
declare const getSocialMediaLinks: () => ({
|
|
19
|
+
slug: string;
|
|
20
|
+
icon: "facebook";
|
|
21
|
+
to: string;
|
|
22
|
+
target: LinkTarget;
|
|
23
|
+
} | {
|
|
24
|
+
slug: string;
|
|
25
|
+
icon: "instagram";
|
|
26
|
+
to: string;
|
|
27
|
+
target: LinkTarget;
|
|
28
|
+
} | {
|
|
29
|
+
slug: string;
|
|
30
|
+
icon: "twitter";
|
|
31
|
+
to: string;
|
|
32
|
+
target: LinkTarget;
|
|
33
|
+
} | {
|
|
34
|
+
slug: string;
|
|
35
|
+
icon: "medium";
|
|
36
|
+
to: string;
|
|
37
|
+
target: LinkTarget;
|
|
38
|
+
} | {
|
|
39
|
+
slug: string;
|
|
40
|
+
icon: "youtube";
|
|
41
|
+
to: string;
|
|
42
|
+
target: LinkTarget;
|
|
43
|
+
} | {
|
|
44
|
+
slug: string;
|
|
45
|
+
icon: "threads";
|
|
46
|
+
to: string;
|
|
47
|
+
target: LinkTarget;
|
|
48
|
+
})[];
|
|
49
|
+
//#endregion
|
|
50
|
+
export { FUNDRAISING_ID, getLinksGroups, getSocialMediaLinks };
|
|
51
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
require('../internal-links-DxtMobuI.js');
|
|
2
|
+
require('../constants-D8wNUvoZ.js');
|
|
3
|
+
const require_constants$1 = require('../constants-0fgvpoyZ.js');
|
|
4
|
+
|
|
5
|
+
exports.FUNDRAISING_ID = require_constants$1.FUNDRAISING_ID;
|
|
6
|
+
exports.getLinksGroups = require_constants$1.getLinksGroups;
|
|
7
|
+
exports.getSocialMediaLinks = require_constants$1.getSocialMediaLinks;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "../index-DegwO8ei.mjs";
|
|
2
|
+
import { ReleaseBranch } from "../release-branch-CaxOk9Rq.mjs";
|
|
3
|
+
import { FC } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/footer/index.d.ts
|
|
6
|
+
type FooterProps = {
|
|
7
|
+
releaseBranch: ReleaseBranch;
|
|
8
|
+
};
|
|
9
|
+
declare const Footer: FC<FooterProps>;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Footer as default };
|
|
12
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../index-H3peA2d_.js";
|
|
2
|
+
import { ReleaseBranch } from "../release-branch-CsBbhuYE.js";
|
|
3
|
+
import { FC } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/footer/index.d.ts
|
|
6
|
+
type FooterProps = {
|
|
7
|
+
releaseBranch: ReleaseBranch;
|
|
8
|
+
};
|
|
9
|
+
declare const Footer: FC<FooterProps>;
|
|
10
|
+
export = Footer;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|