@twreporter/react-typescript-components 0.1.0-beta.12 → 0.1.0-beta.13

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.
Files changed (179) hide show
  1. package/lib/button/constants.d.mts +2 -2
  2. package/lib/button/index.d.mts +12 -12
  3. package/lib/button/index.d.ts +1 -1
  4. package/lib/button/index.js +3 -3
  5. package/lib/button/index.mjs +3 -3
  6. package/lib/{button-CS2fz7hm.js → button-D50NHdly.js} +3 -3
  7. package/lib/{button-CS2fz7hm.js.map → button-D50NHdly.js.map} +1 -1
  8. package/lib/{button-KtEMUa_S.mjs → button-hDNHA85d.mjs} +3 -3
  9. package/lib/{button-KtEMUa_S.mjs.map → button-hDNHA85d.mjs.map} +1 -1
  10. package/lib/constants/internal-links.d.mts +2 -1
  11. package/lib/constants/internal-links.d.ts +2 -1
  12. package/lib/constants/internal-links.js +1 -1
  13. package/lib/constants/internal-links.mjs +1 -1
  14. package/lib/constants/release-branch.d.mts +2 -2
  15. package/lib/constants/request-origins.js +4 -46
  16. package/lib/constants/request-origins.mjs +3 -45
  17. package/lib/constants/theme.d.mts +2 -2
  18. package/lib/{constants-VHBN0pYQ.mjs → constants--CDeoDub.mjs} +3 -3
  19. package/lib/{constants-VHBN0pYQ.mjs.map → constants--CDeoDub.mjs.map} +1 -1
  20. package/lib/{constants-CeM93YWF.mjs → constants-5phfWHvb.mjs} +1 -1
  21. package/lib/{constants-CeM93YWF.mjs.map → constants-5phfWHvb.mjs.map} +1 -1
  22. package/lib/{constants-jYAxSTFp.d.mts → constants-B6oiTL1L.d.mts} +2 -2
  23. package/lib/{constants-CBWeKJ-C.js → constants-BNxn_qJc.js} +3 -3
  24. package/lib/{constants-CBWeKJ-C.js.map → constants-BNxn_qJc.js.map} +1 -1
  25. package/lib/{constants-DNr36wyK.d.mts → constants-BqAhJjFv.d.mts} +2 -2
  26. package/lib/{constants-2TRY2zTK.js → constants-C2moxnps.js} +1 -1
  27. package/lib/{constants-2TRY2zTK.js.map → constants-C2moxnps.js.map} +1 -1
  28. package/lib/{constants-BWFuBApI.mjs → constants-CBSEPx91.mjs} +4 -4
  29. package/lib/constants-CBSEPx91.mjs.map +1 -0
  30. package/lib/{constants-C9Ev_zet.d.mts → constants-CVmr4VOP.d.mts} +2 -2
  31. package/lib/{constants-BS3rPbaX.d.ts → constants-CZ7dxJ-t.d.ts} +4 -4
  32. package/lib/{constants-CEyUZ-jZ.d.mts → constants-Cb4Udkwt.d.mts} +2 -2
  33. package/lib/{constants-K2ObjToq.js → constants-Cndhv6qr.js} +4 -4
  34. package/lib/constants-Cndhv6qr.js.map +1 -0
  35. package/lib/{constants-OhAETTiQ.d.mts → constants-D-mBwgNQ.d.mts} +5 -5
  36. package/lib/{constants-BxxTZn8I.js → constants-D8wNUvoZ.js} +1 -1
  37. package/lib/{constants-BxxTZn8I.js.map → constants-D8wNUvoZ.js.map} +1 -1
  38. package/lib/{constants-BqeEbkVD.mjs → constants-DRxdMM_X.mjs} +1 -1
  39. package/lib/{constants-BqeEbkVD.mjs.map → constants-DRxdMM_X.mjs.map} +1 -1
  40. package/lib/{constants-DRyQ6AuU.js → constants-nmH6p6-y.js} +1 -1
  41. package/lib/{constants-DRyQ6AuU.js.map → constants-nmH6p6-y.js.map} +1 -1
  42. package/lib/{constants-t0lkfgqP.mjs → constants-z9Q8ph_H.mjs} +1 -1
  43. package/lib/{constants-t0lkfgqP.mjs.map → constants-z9Q8ph_H.mjs.map} +1 -1
  44. package/lib/{context-BCesW3fW.mjs → context-BgdqM3zA.mjs} +1 -1
  45. package/lib/{context-BCesW3fW.mjs.map → context-BgdqM3zA.mjs.map} +1 -1
  46. package/lib/{context-Bvr0Qj2x.js → context-I1lTR5SO.js} +1 -1
  47. package/lib/{context-Bvr0Qj2x.js.map → context-I1lTR5SO.js.map} +1 -1
  48. package/lib/customized-link/external-link.d.mts +2 -2
  49. package/lib/customized-link/external-link.js +1 -1
  50. package/lib/customized-link/external-link.mjs +1 -1
  51. package/lib/customized-link/index.d.mts +6 -6
  52. package/lib/customized-link/index.js +3 -3
  53. package/lib/customized-link/index.mjs +2 -2
  54. package/lib/customized-link/internal-link.d.mts +2 -2
  55. package/lib/customized-link/internal-link.js +1 -1
  56. package/lib/customized-link/type.d.mts +1 -1
  57. package/lib/{customized-link-BkuKVCKQ.mjs → customized-link-DnaZxeKK.mjs} +2 -2
  58. package/lib/{customized-link-BkuKVCKQ.mjs.map → customized-link-DnaZxeKK.mjs.map} +1 -1
  59. package/lib/{customized-link-CK7Xlgdt.js → customized-link-DqW2a8oZ.js} +3 -3
  60. package/lib/{customized-link-CK7Xlgdt.js.map → customized-link-DqW2a8oZ.js.map} +1 -1
  61. package/lib/divider/constants.d.mts +2 -2
  62. package/lib/divider/constants.js +1 -1
  63. package/lib/divider/constants.mjs +1 -1
  64. package/lib/divider/index.d.mts +2 -2
  65. package/lib/divider/index.js +2 -2
  66. package/lib/divider/index.mjs +2 -2
  67. package/lib/{divider-b3Shh7FV.js → divider-B1zvSjNJ.js} +2 -2
  68. package/lib/{divider-b3Shh7FV.js.map → divider-B1zvSjNJ.js.map} +1 -1
  69. package/lib/{divider-Bb3tebJO.mjs → divider-CE4u6SR5.mjs} +2 -2
  70. package/lib/{divider-Bb3tebJO.mjs.map → divider-CE4u6SR5.mjs.map} +1 -1
  71. package/lib/dropdown-menu/index.d.mts +1 -1
  72. package/lib/dropdown-menu/index.js +10 -10
  73. package/lib/dropdown-menu/index.mjs +9 -9
  74. package/lib/{dropdown-menu-DPQvVa7J.js → dropdown-menu-BAqmP8qa.js} +7 -7
  75. package/lib/{dropdown-menu-DPQvVa7J.js.map → dropdown-menu-BAqmP8qa.js.map} +1 -1
  76. package/lib/{dropdown-menu-CrEAe1Td.mjs → dropdown-menu-D7VNOiIl.mjs} +6 -6
  77. package/lib/{dropdown-menu-CrEAe1Td.mjs.map → dropdown-menu-D7VNOiIl.mjs.map} +1 -1
  78. package/lib/{external-link-Cx9S31Ye.mjs → external-link-DXT5ep5-.mjs} +1 -1
  79. package/lib/{external-link-Cx9S31Ye.mjs.map → external-link-DXT5ep5-.mjs.map} +1 -1
  80. package/lib/{external-link-CEDvlQYo.js → external-link-DoBTwlV3.js} +1 -1
  81. package/lib/{external-link-CEDvlQYo.js.map → external-link-DoBTwlV3.js.map} +1 -1
  82. package/lib/{external-link-BUhvS4ry.d.mts → external-link-goP_Ay-S.d.mts} +2 -2
  83. package/lib/hamburger-menu/index.js +16 -16
  84. package/lib/hamburger-menu/index.mjs +15 -15
  85. package/lib/{hamburger-menu-BxO_YWHd.mjs → hamburger-menu-DMC9H93O.mjs} +18 -16
  86. package/lib/hamburger-menu-DMC9H93O.mjs.map +1 -0
  87. package/lib/{hamburger-menu-Bi0MDOgC.js → hamburger-menu-qaPZ5Dmx.js} +19 -17
  88. package/lib/hamburger-menu-qaPZ5Dmx.js.map +1 -0
  89. package/lib/header/index.d.mts +3 -3
  90. package/lib/header/index.js +108 -33
  91. package/lib/header/index.js.map +1 -1
  92. package/lib/header/index.mjs +103 -32
  93. package/lib/header/index.mjs.map +1 -1
  94. package/lib/{heading-CFSkTbdH.mjs → heading-BSEtBLuY.mjs} +2 -2
  95. package/lib/{heading-CFSkTbdH.mjs.map → heading-BSEtBLuY.mjs.map} +1 -1
  96. package/lib/{heading-DFzj2z0V.js → heading-CNS7rJIc.js} +2 -2
  97. package/lib/{heading-DFzj2z0V.js.map → heading-CNS7rJIc.js.map} +1 -1
  98. package/lib/icons/constants.d.mts +2 -2
  99. package/lib/icons/constants.js +1 -1
  100. package/lib/icons/constants.mjs +1 -1
  101. package/lib/icons/index.d.mts +3 -3
  102. package/lib/icons/index.js +2 -2
  103. package/lib/icons/index.mjs +2 -2
  104. package/lib/{icons-DJMi42DI.mjs → icons-I7T-auOQ.mjs} +2 -2
  105. package/lib/{icons-DJMi42DI.mjs.map → icons-I7T-auOQ.mjs.map} +1 -1
  106. package/lib/{icons-_Vt_HeKY.js → icons-qP5oNB0W.js} +2 -2
  107. package/lib/{icons-_Vt_HeKY.js.map → icons-qP5oNB0W.js.map} +1 -1
  108. package/lib/{index-BmIgLA0K.d.mts → index-CYb6xr3M.d.mts} +1 -1
  109. package/lib/{internal-link-CqTu3Yi5.js → internal-link-B9ExuJfg.js} +1 -1
  110. package/lib/{internal-link-CqTu3Yi5.js.map → internal-link-B9ExuJfg.js.map} +1 -1
  111. package/lib/{internal-link-D8jJal8P.d.mts → internal-link-Ciu7CWSY.d.mts} +2 -2
  112. package/lib/{internal-links-BF-974mA.mjs → internal-links-CP3dqmrz.mjs} +3 -2
  113. package/lib/internal-links-CP3dqmrz.mjs.map +1 -0
  114. package/lib/{internal-links-CBkMU8cY.js → internal-links-DxtMobuI.js} +3 -2
  115. package/lib/internal-links-DxtMobuI.js.map +1 -0
  116. package/lib/logo/constants.d.mts +2 -2
  117. package/lib/logo/constants.js +1 -1
  118. package/lib/logo/constants.mjs +1 -1
  119. package/lib/logo/index.d.mts +3 -3
  120. package/lib/logo/index.js +2 -2
  121. package/lib/logo/index.mjs +2 -2
  122. package/lib/{logo-Dz8Mm84n.js → logo-BTNfdxTv.js} +2 -2
  123. package/lib/{logo-Dz8Mm84n.js.map → logo-BTNfdxTv.js.map} +1 -1
  124. package/lib/{logo-Caqpr_8x.mjs → logo-D68VZ-fc.mjs} +2 -2
  125. package/lib/{logo-Caqpr_8x.mjs.map → logo-D68VZ-fc.mjs.map} +1 -1
  126. package/lib/{paragraph-BWXQNQtX.mjs → paragraph-Cf9jr8RF.mjs} +3 -3
  127. package/lib/paragraph-Cf9jr8RF.mjs.map +1 -0
  128. package/lib/{paragraph-CJvb0_cM.js → paragraph-iuz3jP0Q.js} +3 -3
  129. package/lib/paragraph-iuz3jP0Q.js.map +1 -0
  130. package/lib/{release-branch-DZwlCiWD.d.mts → release-branch-BqeBsvrl.d.mts} +2 -2
  131. package/lib/request-origins-BDXulkK9.js +57 -0
  132. package/lib/request-origins-BDXulkK9.js.map +1 -0
  133. package/lib/request-origins-CGkNWg8R.mjs +46 -0
  134. package/lib/request-origins-CGkNWg8R.mjs.map +1 -0
  135. package/lib/styles.css +48 -0
  136. package/lib/tab-bar/constants.d.mts +3 -3
  137. package/lib/tab-bar/constants.js +4 -4
  138. package/lib/tab-bar/constants.mjs +4 -4
  139. package/lib/tab-bar/index.js +13 -13
  140. package/lib/tab-bar/index.mjs +12 -12
  141. package/lib/tab-bar/theme.d.mts +2 -2
  142. package/lib/tab-bar/theme.js +1 -1
  143. package/lib/tab-bar/theme.mjs +1 -1
  144. package/lib/{tab-bar-BmqqhoCY.js → tab-bar-Dv2TkUW1.js} +8 -8
  145. package/lib/{tab-bar-BmqqhoCY.js.map → tab-bar-Dv2TkUW1.js.map} +1 -1
  146. package/lib/{tab-bar-BbOB2CDM.mjs → tab-bar-SYrjAH5q.mjs} +7 -7
  147. package/lib/{tab-bar-BbOB2CDM.mjs.map → tab-bar-SYrjAH5q.mjs.map} +1 -1
  148. package/lib/text/constants.d.mts +2 -2
  149. package/lib/text/constants.d.ts +1 -1
  150. package/lib/text/constants.js +1 -1
  151. package/lib/text/constants.mjs +1 -1
  152. package/lib/text/heading.d.mts +2 -2
  153. package/lib/text/heading.d.ts +1 -1
  154. package/lib/text/heading.js +2 -2
  155. package/lib/text/heading.mjs +2 -2
  156. package/lib/text/paragraph.d.mts +2 -2
  157. package/lib/text/paragraph.d.ts +1 -1
  158. package/lib/text/paragraph.js +2 -2
  159. package/lib/text/paragraph.mjs +2 -2
  160. package/lib/{theme-BErS2Qs6.mjs → theme-DQCIQh_8.mjs} +1 -1
  161. package/lib/{theme-BErS2Qs6.mjs.map → theme-DQCIQh_8.mjs.map} +1 -1
  162. package/lib/{theme-BPB1kPtQ.js → theme-W--MzZEH.js} +1 -1
  163. package/lib/{theme-BPB1kPtQ.js.map → theme-W--MzZEH.js.map} +1 -1
  164. package/lib/{theme-ClamfAy8.d.mts → theme-lCi6tmmS.d.mts} +2 -2
  165. package/lib/title-bar/index.js +7 -7
  166. package/lib/title-bar/index.mjs +6 -6
  167. package/lib/{type-FR-fOZvz.d.mts → type-2Go0njwa.d.mts} +1 -1
  168. package/lib/types/index.d.mts +1 -1
  169. package/package.json +5 -3
  170. package/lib/constants/request-origins.js.map +0 -1
  171. package/lib/constants/request-origins.mjs.map +0 -1
  172. package/lib/constants-BWFuBApI.mjs.map +0 -1
  173. package/lib/constants-K2ObjToq.js.map +0 -1
  174. package/lib/hamburger-menu-Bi0MDOgC.js.map +0 -1
  175. package/lib/hamburger-menu-BxO_YWHd.mjs.map +0 -1
  176. package/lib/internal-links-BF-974mA.mjs.map +0 -1
  177. package/lib/internal-links-CBkMU8cY.js.map +0 -1
  178. package/lib/paragraph-BWXQNQtX.mjs.map +0 -1
  179. package/lib/paragraph-CJvb0_cM.js.map +0 -1
@@ -1,3 +1,3 @@
1
- import "../index-BmIgLA0K.mjs";
2
- import { RELEASE_BRANCH, ReleaseBranch } from "../release-branch-DZwlCiWD.mjs";
1
+ import "../index-CYb6xr3M.mjs";
2
+ import { RELEASE_BRANCH, ReleaseBranch } from "../release-branch-BqeBsvrl.mjs";
3
3
  export { RELEASE_BRANCH, ReleaseBranch };
@@ -1,47 +1,5 @@
1
- const require_release_branch = require('../release-branch-CRZV4Ivz.js');
1
+ require('../release-branch-CRZV4Ivz.js');
2
+ const require_request_origins = require('../request-origins-BDXulkK9.js');
2
3
 
3
- //#region src/constants/request-origins.ts
4
- const forServerSideRendering = {
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 { RELEASE_BRANCH } from "../release-branch-DNCD1uH_.mjs";
1
+ import "../release-branch-DNCD1uH_.mjs";
2
+ import { forClientSideRendering, forServerSideRendering } from "../request-origins-CGkNWg8R.mjs";
2
3
 
3
- //#region src/constants/request-origins.ts
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-BmIgLA0K.mjs";
2
- import { THEME, Theme } from "../theme-ClamfAy8.mjs";
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-BF-974mA.mjs";
2
- import { Clock, Home, KidStar, Topic } from "./icons-DJMi42DI.mjs";
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-VHBN0pYQ.mjs.map
34
+ //# sourceMappingURL=constants--CDeoDub.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants-VHBN0pYQ.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
+ {"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"}
@@ -23,4 +23,4 @@ const MEDIA_TYPE = {
23
23
 
24
24
  //#endregion
25
25
  export { ARROW_DIRECTION, ICON_TYPE, MEDIA_TYPE };
26
- //# sourceMappingURL=constants-CeM93YWF.mjs.map
26
+ //# sourceMappingURL=constants-5phfWHvb.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants-CeM93YWF.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
+ {"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-BmIgLA0K.mjs";
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-jYAxSTFp.d.mts.map
22
+ //# sourceMappingURL=constants-B6oiTL1L.d.mts.map
@@ -1,5 +1,5 @@
1
- const require_internal_links = require('./internal-links-CBkMU8cY.js');
2
- const require_icons = require('./icons-_Vt_HeKY.js');
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-CBWeKJ-C.js.map
39
+ //# sourceMappingURL=constants-BNxn_qJc.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants-CBWeKJ-C.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
+ {"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-BmIgLA0K.mjs";
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-DNr36wyK.d.mts.map
24
+ //# sourceMappingURL=constants-BqAhJjFv.d.mts.map
@@ -35,4 +35,4 @@ Object.defineProperty(exports, 'LOGO_TYPE', {
35
35
  return LOGO_TYPE;
36
36
  }
37
37
  });
38
- //# sourceMappingURL=constants-2TRY2zTK.js.map
38
+ //# sourceMappingURL=constants-C2moxnps.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants-2TRY2zTK.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"}
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-BWFuBApI.mjs.map
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-BmIgLA0K.mjs";
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-C9Ev_zet.d.mts.map
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-BS3rPbaX.d.ts.map
17
+ //# sourceMappingURL=constants-CZ7dxJ-t.d.ts.map
@@ -1,4 +1,4 @@
1
- import { ValuesOf } from "./index-BmIgLA0K.mjs";
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-CEyUZ-jZ.d.mts.map
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-K2ObjToq.js.map
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,4 +1,4 @@
1
- import { ValuesOf } from "./index-BmIgLA0K.mjs";
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-OhAETTiQ.d.mts.map
17
+ //# sourceMappingURL=constants-D-mBwgNQ.d.mts.map
@@ -41,4 +41,4 @@ Object.defineProperty(exports, 'MEDIA_TYPE', {
41
41
  return MEDIA_TYPE;
42
42
  }
43
43
  });
44
- //# sourceMappingURL=constants-BxxTZn8I.js.map
44
+ //# sourceMappingURL=constants-D8wNUvoZ.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants-BxxTZn8I.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
+ {"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"}
@@ -17,4 +17,4 @@ const LOGO_SYMBOL_TYPE = {
17
17
 
18
18
  //#endregion
19
19
  export { LOGO, LOGO_SYMBOL_TYPE, LOGO_TYPE };
20
- //# sourceMappingURL=constants-BqeEbkVD.mjs.map
20
+ //# sourceMappingURL=constants-DRxdMM_X.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants-BqeEbkVD.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
+ {"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"}
@@ -12,4 +12,4 @@ Object.defineProperty(exports, 'DIRECTION', {
12
12
  return DIRECTION;
13
13
  }
14
14
  });
15
- //# sourceMappingURL=constants-DRyQ6AuU.js.map
15
+ //# sourceMappingURL=constants-nmH6p6-y.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants-DRyQ6AuU.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
+ {"version":3,"file":"constants-nmH6p6-y.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"}
@@ -6,4 +6,4 @@ const DIRECTION = {
6
6
 
7
7
  //#endregion
8
8
  export { DIRECTION };
9
- //# sourceMappingURL=constants-t0lkfgqP.mjs.map
9
+ //# sourceMappingURL=constants-z9Q8ph_H.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants-t0lkfgqP.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
+ {"version":3,"file":"constants-z9Q8ph_H.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"}
@@ -21,4 +21,4 @@ const HamburgerContext = createContext({
21
21
 
22
22
  //#endregion
23
23
  export { HamburgerContext, HeaderContext };
24
- //# sourceMappingURL=context-BCesW3fW.mjs.map
24
+ //# sourceMappingURL=context-BgdqM3zA.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"context-BCesW3fW.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
+ {"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"}
@@ -34,4 +34,4 @@ Object.defineProperty(exports, 'HeaderContext', {
34
34
  return HeaderContext;
35
35
  }
36
36
  });
37
- //# sourceMappingURL=context-Bvr0Qj2x.js.map
37
+ //# sourceMappingURL=context-I1lTR5SO.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context-Bvr0Qj2x.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
+ {"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-FR-fOZvz.mjs";
2
- import { ExternalLink } from "../external-link-BUhvS4ry.mjs";
1
+ import "../type-2Go0njwa.mjs";
2
+ import { ExternalLink } from "../external-link-goP_Ay-S.mjs";
3
3
  export { ExternalLink as default };
@@ -1,3 +1,3 @@
1
- const require_external_link = require('../external-link-CEDvlQYo.js');
1
+ const require_external_link = require('../external-link-DoBTwlV3.js');
2
2
 
3
3
  module.exports = require_external_link.external_link_default;
@@ -1,3 +1,3 @@
1
- import { external_link_default } from "../external-link-Cx9S31Ye.mjs";
1
+ import { external_link_default } from "../external-link-DXT5ep5-.mjs";
2
2
 
3
3
  export { external_link_default as default };
@@ -1,12 +1,12 @@
1
- import { CustomizedLinkProps } from "../type-FR-fOZvz.mjs";
2
- import { ExternalLink } from "../external-link-BUhvS4ry.mjs";
3
- import { InternalLink } from "../internal-link-D8jJal8P.mjs";
4
- import * as react6 from "react";
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
+ import * as react0 from "react";
5
5
 
6
6
  //#region src/customized-link/index.d.ts
7
7
  declare const _default: {
8
- ExternalLink: react6.FC<CustomizedLinkProps>;
9
- InternalLink: react6.FC<CustomizedLinkProps>;
8
+ ExternalLink: react0.FC<CustomizedLinkProps>;
9
+ InternalLink: react0.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-CEDvlQYo.js');
3
- const require_internal_link = require('../internal-link-CqTu3Yi5.js');
4
- const require_customized_link = require('../customized-link-CK7Xlgdt.js');
2
+ const require_external_link = require('../external-link-DoBTwlV3.js');
3
+ const require_internal_link = require('../internal-link-B9ExuJfg.js');
4
+ const require_customized_link = require('../customized-link-DqW2a8oZ.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-Cx9S31Ye.mjs";
3
- import { customized_link_default } from "../customized-link-BkuKVCKQ.mjs";
2
+ import { external_link_default } from "../external-link-DXT5ep5-.mjs";
3
+ import { customized_link_default } from "../customized-link-DnaZxeKK.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-FR-fOZvz.mjs";
2
- import { InternalLink } from "../internal-link-D8jJal8P.mjs";
1
+ import "../type-2Go0njwa.mjs";
2
+ import { InternalLink } from "../internal-link-Ciu7CWSY.mjs";
3
3
  export { InternalLink as default };
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
 
3
3
 
4
- const require_internal_link = require('../internal-link-CqTu3Yi5.js');
4
+ const require_internal_link = require('../internal-link-B9ExuJfg.js');
5
5
 
6
6
  module.exports = require_internal_link.internal_link_default;
@@ -1,2 +1,2 @@
1
- import { CustomizedLinkProps, LinkTarget } from "../type-FR-fOZvz.mjs";
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-Cx9S31Ye.mjs";
2
+ import { external_link_default } from "./external-link-DXT5ep5-.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-BkuKVCKQ.mjs.map
12
+ //# sourceMappingURL=customized-link-DnaZxeKK.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"customized-link-BkuKVCKQ.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
+ {"version":3,"file":"customized-link-DnaZxeKK.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-CEDvlQYo.js');
2
- const require_internal_link = require('./internal-link-CqTu3Yi5.js');
1
+ const require_external_link = require('./external-link-DoBTwlV3.js');
2
+ const require_internal_link = require('./internal-link-B9ExuJfg.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-CK7Xlgdt.js.map
17
+ //# sourceMappingURL=customized-link-DqW2a8oZ.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customized-link-CK7Xlgdt.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
+ {"version":3,"file":"customized-link-DqW2a8oZ.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-BmIgLA0K.mjs";
2
- import { DIRECTION, Direction } from "../constants-CEyUZ-jZ.mjs";
1
+ import "../index-CYb6xr3M.mjs";
2
+ import { DIRECTION, Direction } from "../constants-Cb4Udkwt.mjs";
3
3
  export { DIRECTION, Direction };
@@ -1,3 +1,3 @@
1
- const require_constants = require('../constants-DRyQ6AuU.js');
1
+ const require_constants = require('../constants-nmH6p6-y.js');
2
2
 
3
3
  exports.DIRECTION = require_constants.DIRECTION;
@@ -1,3 +1,3 @@
1
- import { DIRECTION } from "../constants-t0lkfgqP.mjs";
1
+ import { DIRECTION } from "../constants-z9Q8ph_H.mjs";
2
2
 
3
3
  export { DIRECTION };
@@ -1,5 +1,5 @@
1
- import "../index-BmIgLA0K.mjs";
2
- import { DIRECTION, Direction } from "../constants-CEyUZ-jZ.mjs";
1
+ import "../index-CYb6xr3M.mjs";
2
+ import { DIRECTION, Direction } from "../constants-Cb4Udkwt.mjs";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/divider/index.d.ts
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
- require('../constants-DRyQ6AuU.js');
3
- const require_divider = require('../divider-b3Shh7FV.js');
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;
@@ -1,4 +1,4 @@
1
- import "../constants-t0lkfgqP.mjs";
2
- import { Divider, divider_default } from "../divider-Bb3tebJO.mjs";
1
+ import "../constants-z9Q8ph_H.mjs";
2
+ import { Divider, divider_default } from "../divider-CE4u6SR5.mjs";
3
3
 
4
4
  export { Divider, divider_default as default };