@twreporter/react-typescript-components 0.1.0-beta.15 → 0.1.0-beta.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/button/constants.d.mts +2 -2
- package/lib/button/index.d.mts +4 -4
- package/lib/button/index.js +1 -1
- package/lib/button/index.mjs +1 -1
- package/lib/{button-hDNHA85d.mjs → button-D_AWI7r9.mjs} +8 -2
- package/lib/button-D_AWI7r9.mjs.map +1 -0
- package/lib/{button-D50NHdly.js → button-Dk0MxlKd.js} +8 -2
- package/lib/button-Dk0MxlKd.js.map +1 -0
- package/lib/constants/release-branch.d.mts +2 -2
- package/lib/constants/theme.d.mts +2 -2
- package/lib/{constants-BNxn_qJc.js → constants-91DoZaeP.js} +1 -1
- package/lib/{constants-BNxn_qJc.js.map → constants-91DoZaeP.js.map} +1 -1
- package/lib/constants-BGUGvo1A.d.ts +22 -0
- package/lib/constants-BP47D2l7.js +36 -0
- package/lib/constants-BP47D2l7.js.map +1 -0
- package/lib/{constants--CDeoDub.mjs → constants-BYqJQzQQ.mjs} +1 -1
- package/lib/{constants--CDeoDub.mjs.map → constants-BYqJQzQQ.mjs.map} +1 -1
- package/lib/{constants-Cb4Udkwt.d.mts → constants-BnVX84Yl.d.mts} +2 -2
- package/lib/{constants-nmH6p6-y.js → constants-BuIUKM2c.js} +1 -1
- package/lib/{constants-nmH6p6-y.js.map → constants-BuIUKM2c.js.map} +1 -1
- package/lib/{constants-B6oiTL1L.d.mts → constants-C2kTkuiJ.d.mts} +2 -2
- package/lib/{constants-CBjyeHSl.d.ts → constants-COhDITk3.d.ts} +1 -1
- package/lib/{constants-CVmr4VOP.d.mts → constants-Cg4dfRV_.d.mts} +2 -2
- package/lib/constants-CxHP9dkH.d.mts +22 -0
- package/lib/{constants-z9Q8ph_H.mjs → constants-Cz7n-nLz.mjs} +1 -1
- package/lib/{constants-z9Q8ph_H.mjs.map → constants-Cz7n-nLz.mjs.map} +1 -1
- package/lib/{constants-B_NgWFML.d.ts → constants-CzHmv07x.d.ts} +1 -1
- package/lib/constants-Dfgyc0ND.mjs +18 -0
- package/lib/constants-Dfgyc0ND.mjs.map +1 -0
- package/lib/{constants-D-mBwgNQ.d.mts → constants-P65Nafg1.d.mts} +2 -2
- package/lib/{constants-BqAhJjFv.d.mts → constants-oX1rftqQ.d.mts} +2 -2
- package/lib/customized-link/external-link.d.mts +2 -2
- package/lib/customized-link/external-link.js +1 -1
- package/lib/customized-link/external-link.mjs +1 -1
- package/lib/customized-link/index.d.mts +3 -3
- package/lib/customized-link/index.js +3 -3
- package/lib/customized-link/index.mjs +2 -2
- package/lib/customized-link/internal-link.d.mts +2 -2
- package/lib/customized-link/internal-link.js +1 -1
- package/lib/customized-link/type.d.mts +1 -1
- package/lib/{customized-link-DnaZxeKK.mjs → customized-link-DNKmWI0u.mjs} +2 -2
- package/lib/{customized-link-DnaZxeKK.mjs.map → customized-link-DNKmWI0u.mjs.map} +1 -1
- package/lib/{customized-link-DqW2a8oZ.js → customized-link-XNoMkeYw.js} +3 -3
- package/lib/{customized-link-DqW2a8oZ.js.map → customized-link-XNoMkeYw.js.map} +1 -1
- package/lib/divider/constants.d.mts +2 -2
- package/lib/divider/constants.js +1 -1
- package/lib/divider/constants.mjs +1 -1
- package/lib/divider/index.d.mts +2 -2
- package/lib/divider/index.js +2 -2
- package/lib/divider/index.mjs +2 -2
- package/lib/{divider-CE4u6SR5.mjs → divider-CEIxmAsH.mjs} +2 -2
- package/lib/{divider-CE4u6SR5.mjs.map → divider-CEIxmAsH.mjs.map} +1 -1
- package/lib/{divider-B1zvSjNJ.js → divider-Db3AhImD.js} +2 -2
- package/lib/{divider-B1zvSjNJ.js.map → divider-Db3AhImD.js.map} +1 -1
- package/lib/dropdown-menu/index.d.mts +1 -1
- package/lib/dropdown-menu/index.js +4 -4
- package/lib/dropdown-menu/index.mjs +3 -3
- package/lib/{dropdown-menu-D7VNOiIl.mjs → dropdown-menu-CuyS5r71.mjs} +2 -2
- package/lib/{dropdown-menu-D7VNOiIl.mjs.map → dropdown-menu-CuyS5r71.mjs.map} +1 -1
- package/lib/{dropdown-menu-BAqmP8qa.js → dropdown-menu-tbV9rhnw.js} +3 -3
- package/lib/{dropdown-menu-BAqmP8qa.js.map → dropdown-menu-tbV9rhnw.js.map} +1 -1
- package/lib/{external-link-DoBTwlV3.js → external-link-BMrkjNyi.js} +1 -1
- package/lib/{external-link-DoBTwlV3.js.map → external-link-BMrkjNyi.js.map} +1 -1
- package/lib/{external-link-DXT5ep5-.mjs → external-link-BykRRwmY.mjs} +1 -1
- package/lib/{external-link-DXT5ep5-.mjs.map → external-link-BykRRwmY.mjs.map} +1 -1
- package/lib/{external-link-goP_Ay-S.d.mts → external-link-khVeTReZ.d.mts} +2 -2
- package/lib/hamburger-menu/index.js +11 -8
- package/lib/hamburger-menu/index.mjs +10 -7
- package/lib/{hamburger-menu-b8Ck07ms.mjs → hamburger-menu-Ca6QMgF9.mjs} +17 -9
- package/lib/hamburger-menu-Ca6QMgF9.mjs.map +1 -0
- package/lib/{hamburger-menu-Dy0hnv0l.js → hamburger-menu-qrLPGpHF.js} +18 -10
- package/lib/hamburger-menu-qrLPGpHF.js.map +1 -0
- package/lib/header/index.d.mts +3 -3
- package/lib/header/index.js +57 -16
- package/lib/header/index.js.map +1 -1
- package/lib/header/index.mjs +56 -15
- package/lib/header/index.mjs.map +1 -1
- package/lib/{heading-BSEtBLuY.mjs → heading-BWuXn7wB.mjs} +1 -1
- package/lib/{heading-BSEtBLuY.mjs.map → heading-BWuXn7wB.mjs.map} +1 -1
- package/lib/{heading-CNS7rJIc.js → heading-DJepEhoE.js} +1 -1
- package/lib/{heading-CNS7rJIc.js.map → heading-DJepEhoE.js.map} +1 -1
- package/lib/hooks/index.d.mts +10 -0
- package/lib/hooks/index.d.ts +10 -0
- package/lib/hooks/index.js +6 -0
- package/lib/hooks/index.mjs +4 -0
- package/lib/hooks/use-outside-click.d.mts +2 -0
- package/lib/hooks/use-outside-click.d.ts +2 -0
- package/lib/hooks/use-outside-click.js +3 -0
- package/lib/hooks/use-outside-click.mjs +3 -0
- package/lib/hooks-DFV2v01e.mjs +8 -0
- package/lib/hooks-DFV2v01e.mjs.map +1 -0
- package/lib/hooks-Mt5N4Z2W.js +13 -0
- package/lib/hooks-Mt5N4Z2W.js.map +1 -0
- package/lib/icons/constants.d.mts +2 -2
- package/lib/icons/constants.d.ts +1 -1
- package/lib/icons/index.d.mts +3 -3
- package/lib/icons/index.d.ts +1 -1
- package/lib/{index-CYb6xr3M.d.mts → index-DaRD2S-9.d.mts} +1 -1
- package/lib/input/constants.d.mts +3 -0
- package/lib/input/constants.d.ts +3 -0
- package/lib/input/constants.js +5 -0
- package/lib/input/constants.mjs +3 -0
- package/lib/input/index.d.mts +44 -0
- package/lib/input/index.d.ts +44 -0
- package/lib/input/index.js +15 -0
- package/lib/input/index.mjs +13 -0
- package/lib/input/theme.d.mts +16 -0
- package/lib/input/theme.d.ts +16 -0
- package/lib/input/theme.js +4 -0
- package/lib/input/theme.mjs +4 -0
- package/lib/input-_Hl5B4_K.mjs +73 -0
- package/lib/input-_Hl5B4_K.mjs.map +1 -0
- package/lib/input-czWOItrW.js +88 -0
- package/lib/input-czWOItrW.js.map +1 -0
- package/lib/{internal-link-B9ExuJfg.js → internal-link-BLXTBMRq.js} +1 -1
- package/lib/{internal-link-B9ExuJfg.js.map → internal-link-BLXTBMRq.js.map} +1 -1
- package/lib/{internal-link-Ciu7CWSY.d.mts → internal-link-BSb3__eR.d.mts} +2 -2
- package/lib/logo/constants.d.mts +2 -2
- package/lib/logo/constants.d.ts +1 -1
- package/lib/logo/index.d.mts +8 -8
- package/lib/logo/index.d.ts +6 -6
- package/lib/{release-branch-BqeBsvrl.d.mts → release-branch-8qGtkKtd.d.mts} +2 -2
- package/lib/styles.css +104 -9
- package/lib/tab-bar/constants.d.mts +3 -3
- package/lib/tab-bar/constants.js +1 -1
- package/lib/tab-bar/constants.mjs +1 -1
- package/lib/tab-bar/index.js +7 -7
- 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-Dv2TkUW1.js → tab-bar-Binq1EhQ.js} +7 -7
- package/lib/{tab-bar-Dv2TkUW1.js.map → tab-bar-Binq1EhQ.js.map} +1 -1
- package/lib/{tab-bar-SYrjAH5q.mjs → tab-bar-BqiC7-Lw.mjs} +6 -6
- package/lib/{tab-bar-SYrjAH5q.mjs.map → tab-bar-BqiC7-Lw.mjs.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-lCi6tmmS.d.mts → theme-B9CWW8U9.d.mts} +2 -2
- package/lib/{theme-W--MzZEH.js → theme-BOMyqC4d.js} +1 -1
- package/lib/{theme-W--MzZEH.js.map → theme-BOMyqC4d.js.map} +1 -1
- package/lib/theme-CIEkzycI.js +43 -0
- package/lib/theme-CIEkzycI.js.map +1 -0
- package/lib/theme-CkSx7UX3.mjs +38 -0
- package/lib/theme-CkSx7UX3.mjs.map +1 -0
- package/lib/{theme-DQCIQh_8.mjs → theme-PhMjSVv9.mjs} +1 -1
- package/lib/{theme-DQCIQh_8.mjs.map → theme-PhMjSVv9.mjs.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 +5 -5
- package/lib/title-bar/index.mjs +4 -4
- package/lib/{type-2Go0njwa.d.mts → type-4zpM3Fk5.d.mts} +1 -1
- package/lib/types/index.d.mts +1 -1
- package/lib/use-outside-click-436PXIeY.js +27 -0
- package/lib/use-outside-click-436PXIeY.js.map +1 -0
- package/lib/use-outside-click-Bz_v9VCq.mjs +20 -0
- package/lib/use-outside-click-Bz_v9VCq.mjs.map +1 -0
- package/lib/use-outside-click-CHxRFaTZ.d.ts +7 -0
- package/lib/use-outside-click-DToGSYRk.d.mts +7 -0
- package/package.json +3 -3
- package/lib/button-D50NHdly.js.map +0 -1
- package/lib/button-hDNHA85d.mjs.map +0 -1
- package/lib/hamburger-menu-Dy0hnv0l.js.map +0 -1
- package/lib/hamburger-menu-b8Ck07ms.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomizedLinkProps } from "./type-
|
|
1
|
+
import { CustomizedLinkProps } from "./type-4zpM3Fk5.mjs";
|
|
2
2
|
import { FC } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/customized-link/internal-link.d.ts
|
|
@@ -6,4 +6,4 @@ type InternalLinkProps = CustomizedLinkProps;
|
|
|
6
6
|
declare const InternalLink: FC<InternalLinkProps>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { InternalLink };
|
|
9
|
-
//# sourceMappingURL=internal-link-
|
|
9
|
+
//# sourceMappingURL=internal-link-BSb3__eR.d.mts.map
|
package/lib/logo/constants.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../index-
|
|
2
|
-
import { LOGO, LOGO_SYMBOL_TYPE, LOGO_TYPE, Logo, LogoSymbolType, LogoType } from "../constants-
|
|
1
|
+
import "../index-DaRD2S-9.mjs";
|
|
2
|
+
import { LOGO, LOGO_SYMBOL_TYPE, LOGO_TYPE, Logo, LogoSymbolType, LogoType } from "../constants-oX1rftqQ.mjs";
|
|
3
3
|
export { LOGO, LOGO_SYMBOL_TYPE, LOGO_TYPE, Logo, LogoSymbolType, LogoType };
|
package/lib/logo/constants.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../index-H3peA2d_.js";
|
|
2
|
-
import { LOGO, LOGO_SYMBOL_TYPE, LOGO_TYPE, Logo, LogoSymbolType, LogoType } from "../constants-
|
|
2
|
+
import { LOGO, LOGO_SYMBOL_TYPE, LOGO_TYPE, Logo, LogoSymbolType, LogoType } from "../constants-CzHmv07x.js";
|
|
3
3
|
export { LOGO, LOGO_SYMBOL_TYPE, LOGO_TYPE, Logo, LogoSymbolType, LogoType };
|
package/lib/logo/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../index-
|
|
2
|
-
import { ReleaseBranch } from "../release-branch-
|
|
3
|
-
import { LOGO_SYMBOL_TYPE, LOGO_TYPE, LogoSymbolType, LogoType } from "../constants-
|
|
4
|
-
import * as
|
|
1
|
+
import "../index-DaRD2S-9.mjs";
|
|
2
|
+
import { ReleaseBranch } from "../release-branch-8qGtkKtd.mjs";
|
|
3
|
+
import { LOGO_SYMBOL_TYPE, LOGO_TYPE, LogoSymbolType, LogoType } from "../constants-oX1rftqQ.mjs";
|
|
4
|
+
import * as react14 from "react";
|
|
5
5
|
import React from "react";
|
|
6
6
|
|
|
7
7
|
//#region src/logo/components/logo-header.d.ts
|
|
@@ -24,16 +24,16 @@ declare const LogoSymbol: React.FC<LogoSymbolProps> & {
|
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/logo/index.d.ts
|
|
26
26
|
declare const _default: {
|
|
27
|
-
LogoHeader:
|
|
27
|
+
LogoHeader: react14.FC<{
|
|
28
28
|
type: LogoType;
|
|
29
29
|
releaseBranch?: ReleaseBranch;
|
|
30
|
-
} &
|
|
30
|
+
} & react14.ImgHTMLAttributes<HTMLImageElement>> & {
|
|
31
31
|
Type: typeof LOGO_TYPE;
|
|
32
32
|
};
|
|
33
|
-
LogoSymbol:
|
|
33
|
+
LogoSymbol: react14.FC<{
|
|
34
34
|
type: LogoSymbolType;
|
|
35
35
|
releaseBranch?: ReleaseBranch;
|
|
36
|
-
} &
|
|
36
|
+
} & react14.ImgHTMLAttributes<HTMLImageElement>> & {
|
|
37
37
|
Type: typeof LOGO_SYMBOL_TYPE;
|
|
38
38
|
};
|
|
39
39
|
};
|
package/lib/logo/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../index-H3peA2d_.js";
|
|
2
2
|
import { ReleaseBranch } from "../release-branch-CsBbhuYE.js";
|
|
3
|
-
import { LOGO_SYMBOL_TYPE, LOGO_TYPE, LogoSymbolType, LogoType } from "../constants-
|
|
4
|
-
import * as
|
|
3
|
+
import { LOGO_SYMBOL_TYPE, LOGO_TYPE, LogoSymbolType, LogoType } from "../constants-CzHmv07x.js";
|
|
4
|
+
import * as react11 from "react";
|
|
5
5
|
import React from "react";
|
|
6
6
|
|
|
7
7
|
//#region src/logo/components/logo-header.d.ts
|
|
@@ -24,16 +24,16 @@ declare const LogoSymbol: React.FC<LogoSymbolProps> & {
|
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/logo/index.d.ts
|
|
26
26
|
declare const _default: {
|
|
27
|
-
LogoHeader:
|
|
27
|
+
LogoHeader: react11.FC<{
|
|
28
28
|
type: LogoType;
|
|
29
29
|
releaseBranch?: ReleaseBranch;
|
|
30
|
-
} &
|
|
30
|
+
} & react11.ImgHTMLAttributes<HTMLImageElement>> & {
|
|
31
31
|
Type: typeof LOGO_TYPE;
|
|
32
32
|
};
|
|
33
|
-
LogoSymbol:
|
|
33
|
+
LogoSymbol: react11.FC<{
|
|
34
34
|
type: LogoSymbolType;
|
|
35
35
|
releaseBranch?: ReleaseBranch;
|
|
36
|
-
} &
|
|
36
|
+
} & react11.ImgHTMLAttributes<HTMLImageElement>> & {
|
|
37
37
|
Type: typeof LOGO_SYMBOL_TYPE;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValuesOf } from "./index-
|
|
1
|
+
import { ValuesOf } from "./index-DaRD2S-9.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/constants/release-branch.d.ts
|
|
4
4
|
declare const RELEASE_BRANCH: {
|
|
@@ -11,4 +11,4 @@ declare const RELEASE_BRANCH: {
|
|
|
11
11
|
type ReleaseBranch = ValuesOf<typeof RELEASE_BRANCH>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { RELEASE_BRANCH, ReleaseBranch };
|
|
14
|
-
//# sourceMappingURL=release-branch-
|
|
14
|
+
//# sourceMappingURL=release-branch-8qGtkKtd.d.mts.map
|
package/lib/styles.css
CHANGED
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
--color-opacity-white-02: rgba(255, 255, 255, 0.2);
|
|
40
40
|
--color-opacity-white-05: rgba(255, 255, 255, 0.5);
|
|
41
41
|
--color-opacity-white-08: rgba(255, 255, 255, 0.8);
|
|
42
|
+
--color-opacity-gray100-08: rgba(241, 241, 241, 0.8);
|
|
42
43
|
--color-opacity-black-02: rgba(0, 0, 0, 0.2);
|
|
43
44
|
--font-title: "merriweather", "source-han-serif-tc", serif;
|
|
44
45
|
--font-default: "Roboto Slab", "Noto Sans TC", sans-serif, "Tauhu Oo";
|
|
@@ -209,15 +210,24 @@
|
|
|
209
210
|
.sticky {
|
|
210
211
|
position: sticky;
|
|
211
212
|
}
|
|
213
|
+
.-top-\[8px\] {
|
|
214
|
+
top: calc(8px * -1);
|
|
215
|
+
}
|
|
212
216
|
.top-0 {
|
|
213
217
|
top: calc(var(--spacing) * 0);
|
|
214
218
|
}
|
|
219
|
+
.right-0 {
|
|
220
|
+
right: calc(var(--spacing) * 0);
|
|
221
|
+
}
|
|
215
222
|
.bottom-0 {
|
|
216
223
|
bottom: calc(var(--spacing) * 0);
|
|
217
224
|
}
|
|
218
225
|
.left-0 {
|
|
219
226
|
left: calc(var(--spacing) * 0);
|
|
220
227
|
}
|
|
228
|
+
.-z-1 {
|
|
229
|
+
z-index: calc(1 * -1);
|
|
230
|
+
}
|
|
221
231
|
.z-1 {
|
|
222
232
|
z-index: 1;
|
|
223
233
|
}
|
|
@@ -233,6 +243,9 @@
|
|
|
233
243
|
.z-10 {
|
|
234
244
|
z-index: 10;
|
|
235
245
|
}
|
|
246
|
+
.z-999 {
|
|
247
|
+
z-index: 999;
|
|
248
|
+
}
|
|
236
249
|
.m-0 {
|
|
237
250
|
margin: calc(var(--spacing) * 0);
|
|
238
251
|
}
|
|
@@ -263,6 +276,9 @@
|
|
|
263
276
|
.ml-\[4px\] {
|
|
264
277
|
margin-left: 4px;
|
|
265
278
|
}
|
|
279
|
+
.ml-\[8px\] {
|
|
280
|
+
margin-left: 8px;
|
|
281
|
+
}
|
|
266
282
|
.ml-\[24px\] {
|
|
267
283
|
margin-left: 24px;
|
|
268
284
|
}
|
|
@@ -301,9 +317,6 @@
|
|
|
301
317
|
.h-\[32px\] {
|
|
302
318
|
height: 32px;
|
|
303
319
|
}
|
|
304
|
-
.h-\[40px\] {
|
|
305
|
-
height: 40px;
|
|
306
|
-
}
|
|
307
320
|
.h-\[3000px\] {
|
|
308
321
|
height: 3000px;
|
|
309
322
|
}
|
|
@@ -427,9 +440,6 @@
|
|
|
427
440
|
.overscroll-contain {
|
|
428
441
|
overscroll-behavior: contain;
|
|
429
442
|
}
|
|
430
|
-
.rounded-\[20px\] {
|
|
431
|
-
border-radius: 20px;
|
|
432
|
-
}
|
|
433
443
|
.rounded-\[40px\] {
|
|
434
444
|
border-radius: 40px;
|
|
435
445
|
}
|
|
@@ -444,6 +454,10 @@
|
|
|
444
454
|
border-style: var(--tw-border-style);
|
|
445
455
|
border-width: 1.5px;
|
|
446
456
|
}
|
|
457
|
+
.border-\[1px\] {
|
|
458
|
+
border-style: var(--tw-border-style);
|
|
459
|
+
border-width: 1px;
|
|
460
|
+
}
|
|
447
461
|
.border-t-\[1px\] {
|
|
448
462
|
border-top-style: var(--tw-border-style);
|
|
449
463
|
border-top-width: 1px;
|
|
@@ -468,6 +482,9 @@
|
|
|
468
482
|
.border-gray-500 {
|
|
469
483
|
border-color: var(--color-gray-500);
|
|
470
484
|
}
|
|
485
|
+
.border-gray-600 {
|
|
486
|
+
border-color: var(--color-gray-600);
|
|
487
|
+
}
|
|
471
488
|
.border-gray-800 {
|
|
472
489
|
border-color: var(--color-gray-800);
|
|
473
490
|
}
|
|
@@ -477,6 +494,12 @@
|
|
|
477
494
|
.border-supportive-faded {
|
|
478
495
|
border-color: var(--color-supportive-faded);
|
|
479
496
|
}
|
|
497
|
+
.border-supportive-pastel {
|
|
498
|
+
border-color: var(--color-supportive-pastel);
|
|
499
|
+
}
|
|
500
|
+
.border-transparent {
|
|
501
|
+
border-color: transparent;
|
|
502
|
+
}
|
|
480
503
|
.border-t-gray-600 {
|
|
481
504
|
border-top-color: var(--color-gray-600);
|
|
482
505
|
}
|
|
@@ -507,6 +530,12 @@
|
|
|
507
530
|
.bg-opacity-black-02 {
|
|
508
531
|
background-color: var(--color-opacity-black-02);
|
|
509
532
|
}
|
|
533
|
+
.bg-opacity-gray100-08 {
|
|
534
|
+
background-color: var(--color-opacity-gray100-08);
|
|
535
|
+
}
|
|
536
|
+
.bg-opacity-white-08 {
|
|
537
|
+
background-color: var(--color-opacity-white-08);
|
|
538
|
+
}
|
|
510
539
|
.bg-photo-dark {
|
|
511
540
|
background-color: var(--color-photo-dark);
|
|
512
541
|
}
|
|
@@ -745,6 +774,10 @@
|
|
|
745
774
|
--tw-duration: 200ms;
|
|
746
775
|
transition-duration: 200ms;
|
|
747
776
|
}
|
|
777
|
+
.duration-\[300ms\] {
|
|
778
|
+
--tw-duration: 300ms;
|
|
779
|
+
transition-duration: 300ms;
|
|
780
|
+
}
|
|
748
781
|
.ease-in {
|
|
749
782
|
--tw-ease: var(--ease-in);
|
|
750
783
|
transition-timing-function: var(--ease-in);
|
|
@@ -951,10 +984,36 @@
|
|
|
951
984
|
}
|
|
952
985
|
}
|
|
953
986
|
}
|
|
954
|
-
.focus\:
|
|
987
|
+
.focus\:bg-gray-100 {
|
|
988
|
+
&:focus {
|
|
989
|
+
background-color: var(--color-gray-100);
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
.focus\:bg-opacity-gray100-08 {
|
|
955
993
|
&:focus {
|
|
956
|
-
--
|
|
957
|
-
|
|
994
|
+
background-color: var(--color-opacity-gray100-08);
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
.focus\:text-gray-800 {
|
|
998
|
+
&:focus {
|
|
999
|
+
color: var(--color-gray-800);
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
.focus-visible\:border-0 {
|
|
1003
|
+
&:focus-visible {
|
|
1004
|
+
border-style: var(--tw-border-style);
|
|
1005
|
+
border-width: 0px;
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
.focus-visible\:border-transparent {
|
|
1009
|
+
&:focus-visible {
|
|
1010
|
+
border-color: transparent;
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
.focus-visible\:outline-0 {
|
|
1014
|
+
&:focus-visible {
|
|
1015
|
+
outline-style: var(--tw-outline-style);
|
|
1016
|
+
outline-width: 0px;
|
|
958
1017
|
}
|
|
959
1018
|
}
|
|
960
1019
|
.active\:bg-gray-200 {
|
|
@@ -1094,6 +1153,11 @@
|
|
|
1094
1153
|
display: none;
|
|
1095
1154
|
}
|
|
1096
1155
|
}
|
|
1156
|
+
.desktop\:inline-flex {
|
|
1157
|
+
@media (width >= 1024px) {
|
|
1158
|
+
display: inline-flex;
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1097
1161
|
.desktop\:w-\[280px\] {
|
|
1098
1162
|
@media (width >= 1024px) {
|
|
1099
1163
|
width: 280px;
|
|
@@ -1116,6 +1180,16 @@
|
|
|
1116
1180
|
flex-direction: column;
|
|
1117
1181
|
}
|
|
1118
1182
|
}
|
|
1183
|
+
.desktop\:bg-gray-100 {
|
|
1184
|
+
@media (width >= 1024px) {
|
|
1185
|
+
background-color: var(--color-gray-100);
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
.desktop\:bg-gray-white {
|
|
1189
|
+
@media (width >= 1024px) {
|
|
1190
|
+
background-color: var(--color-gray-white);
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1119
1193
|
.desktop\:px-\[48px\] {
|
|
1120
1194
|
@media (width >= 1024px) {
|
|
1121
1195
|
padding-inline: 48px;
|
|
@@ -1161,6 +1235,21 @@
|
|
|
1161
1235
|
background-color: var(--color-opacity-white-08);
|
|
1162
1236
|
}
|
|
1163
1237
|
}
|
|
1238
|
+
.\[\&\:\:-webkit-search-cancel-button\]\:hidden {
|
|
1239
|
+
&::-webkit-search-cancel-button {
|
|
1240
|
+
display: none;
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
.\[\&\:\:placeholder\]\:text-gray-500 {
|
|
1244
|
+
&::placeholder {
|
|
1245
|
+
color: var(--color-gray-500);
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
.\[\&\:\:placeholder\]\:text-gray-800 {
|
|
1249
|
+
&::placeholder {
|
|
1250
|
+
color: var(--color-gray-800);
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1164
1253
|
.\[\&\>a\]\:no-underline {
|
|
1165
1254
|
&>a {
|
|
1166
1255
|
text-decoration-line: none;
|
|
@@ -1595,6 +1684,11 @@
|
|
|
1595
1684
|
syntax: "*";
|
|
1596
1685
|
inherits: false;
|
|
1597
1686
|
}
|
|
1687
|
+
@property --tw-outline-style {
|
|
1688
|
+
syntax: "*";
|
|
1689
|
+
inherits: false;
|
|
1690
|
+
initial-value: solid;
|
|
1691
|
+
}
|
|
1598
1692
|
@keyframes spin {
|
|
1599
1693
|
to {
|
|
1600
1694
|
transform: rotate(360deg);
|
|
@@ -1625,6 +1719,7 @@
|
|
|
1625
1719
|
--tw-ring-offset-shadow: 0 0 #0000;
|
|
1626
1720
|
--tw-duration: initial;
|
|
1627
1721
|
--tw-ease: initial;
|
|
1722
|
+
--tw-outline-style: solid;
|
|
1628
1723
|
}
|
|
1629
1724
|
}
|
|
1630
1725
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../index-
|
|
2
|
-
import { ReleaseBranch } from "../release-branch-
|
|
3
|
-
import { LinkTarget } from "../type-
|
|
1
|
+
import "../index-DaRD2S-9.mjs";
|
|
2
|
+
import { ReleaseBranch } from "../release-branch-8qGtkKtd.mjs";
|
|
3
|
+
import { LinkTarget } from "../type-4zpM3Fk5.mjs";
|
|
4
4
|
import { ReactElement } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/tab-bar/constants.d.ts
|
package/lib/tab-bar/constants.js
CHANGED
|
@@ -2,6 +2,6 @@ require('../internal-links-DxtMobuI.js');
|
|
|
2
2
|
require('../release-branch-CRZV4Ivz.js');
|
|
3
3
|
require('../constants-D8wNUvoZ.js');
|
|
4
4
|
require('../icons-qP5oNB0W.js');
|
|
5
|
-
const require_constants$1 = require('../constants-
|
|
5
|
+
const require_constants$1 = require('../constants-91DoZaeP.js');
|
|
6
6
|
|
|
7
7
|
exports.TabBarItems = require_constants$1.TabBarItems;
|
|
@@ -2,6 +2,6 @@ import "../internal-links-CP3dqmrz.mjs";
|
|
|
2
2
|
import "../release-branch-DNCD1uH_.mjs";
|
|
3
3
|
import "../constants-5phfWHvb.mjs";
|
|
4
4
|
import "../icons-I7T-auOQ.mjs";
|
|
5
|
-
import { TabBarItems } from "../constants
|
|
5
|
+
import { TabBarItems } from "../constants-BYqJQzQQ.mjs";
|
|
6
6
|
|
|
7
7
|
export { TabBarItems };
|
package/lib/tab-bar/index.js
CHANGED
|
@@ -2,17 +2,17 @@ require('../constants-BmxSMOOn.js');
|
|
|
2
2
|
require('../constants-Cndhv6qr.js');
|
|
3
3
|
require('../paragraph-iuz3jP0Q.js');
|
|
4
4
|
require('../theme-DDBlIbeS.js');
|
|
5
|
-
require('../button-
|
|
5
|
+
require('../button-Dk0MxlKd.js');
|
|
6
6
|
require('../internal-links-DxtMobuI.js');
|
|
7
7
|
require('../release-branch-CRZV4Ivz.js');
|
|
8
|
-
require('../external-link-
|
|
9
|
-
require('../internal-link-
|
|
10
|
-
require('../customized-link-
|
|
8
|
+
require('../external-link-BMrkjNyi.js');
|
|
9
|
+
require('../internal-link-BLXTBMRq.js');
|
|
10
|
+
require('../customized-link-XNoMkeYw.js');
|
|
11
11
|
require('../context-I1lTR5SO.js');
|
|
12
12
|
require('../constants-D8wNUvoZ.js');
|
|
13
13
|
require('../icons-qP5oNB0W.js');
|
|
14
|
-
const require_tab_bar = require('../tab-bar-
|
|
15
|
-
require('../theme-
|
|
16
|
-
require('../constants-
|
|
14
|
+
const require_tab_bar = require('../tab-bar-Binq1EhQ.js');
|
|
15
|
+
require('../theme-BOMyqC4d.js');
|
|
16
|
+
require('../constants-91DoZaeP.js');
|
|
17
17
|
|
|
18
18
|
module.exports = require_tab_bar.tab_bar_default;
|
package/lib/tab-bar/index.mjs
CHANGED
|
@@ -3,16 +3,16 @@ import "../constants-oTHAnh6r.mjs";
|
|
|
3
3
|
import "../constants-CBSEPx91.mjs";
|
|
4
4
|
import "../paragraph-Cf9jr8RF.mjs";
|
|
5
5
|
import "../theme-BG6yZVj-.mjs";
|
|
6
|
-
import "../button-
|
|
6
|
+
import "../button-D_AWI7r9.mjs";
|
|
7
7
|
import "../internal-links-CP3dqmrz.mjs";
|
|
8
8
|
import "../release-branch-DNCD1uH_.mjs";
|
|
9
|
-
import "../external-link-
|
|
10
|
-
import "../customized-link-
|
|
9
|
+
import "../external-link-BykRRwmY.mjs";
|
|
10
|
+
import "../customized-link-DNKmWI0u.mjs";
|
|
11
11
|
import "../context-BgdqM3zA.mjs";
|
|
12
12
|
import "../constants-5phfWHvb.mjs";
|
|
13
13
|
import "../icons-I7T-auOQ.mjs";
|
|
14
|
-
import { tab_bar_default } from "../tab-bar-
|
|
15
|
-
import "../theme-
|
|
16
|
-
import "../constants
|
|
14
|
+
import { tab_bar_default } from "../tab-bar-BqiC7-Lw.mjs";
|
|
15
|
+
import "../theme-PhMjSVv9.mjs";
|
|
16
|
+
import "../constants-BYqJQzQQ.mjs";
|
|
17
17
|
|
|
18
18
|
export { tab_bar_default as default };
|
package/lib/tab-bar/theme.d.mts
CHANGED
package/lib/tab-bar/theme.js
CHANGED
package/lib/tab-bar/theme.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-BxBTb9qk.js');
|
|
2
2
|
const require_theme = require('./theme-DDBlIbeS.js');
|
|
3
|
-
const require_button = require('./button-
|
|
4
|
-
const require_external_link = require('./external-link-
|
|
5
|
-
const require_internal_link = require('./internal-link-
|
|
3
|
+
const require_button = require('./button-Dk0MxlKd.js');
|
|
4
|
+
const require_external_link = require('./external-link-BMrkjNyi.js');
|
|
5
|
+
const require_internal_link = require('./internal-link-BLXTBMRq.js');
|
|
6
6
|
const require_context = require('./context-I1lTR5SO.js');
|
|
7
7
|
const require_icons = require('./icons-qP5oNB0W.js');
|
|
8
|
-
const require_theme$1 = require('./theme-
|
|
9
|
-
const require_constants = require('./constants-
|
|
8
|
+
const require_theme$1 = require('./theme-BOMyqC4d.js');
|
|
9
|
+
const require_constants = require('./constants-91DoZaeP.js');
|
|
10
10
|
let react = require("react");
|
|
11
11
|
react = require_chunk.__toESM(react);
|
|
12
12
|
let clsx = require("clsx");
|
|
@@ -38,7 +38,7 @@ const TabBar = ({ className = "" }) => {
|
|
|
38
38
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
39
39
|
className: (0, clsx.default)("w-screen fixed left-0 bottom-0 flex justify-between px-[16px] pt-[8px] pb-[calc(8px+env(safe-area-inset-bottom,0))] shadow-[0_0_2px_rgba(0,0,0,0.15)]", "desktop:hidden", bgColor, ZIndex.tabBarMobile, ZIndex.tabBarTablet, className),
|
|
40
40
|
children: [_.map(require_constants.TabBarItems(releaseBranch), (item) => {
|
|
41
|
-
const isActive = pathname === item.link;
|
|
41
|
+
const isActive = !isHamburgerMenuOpen && pathname === item.link;
|
|
42
42
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LinkComponent, {
|
|
43
43
|
to: item.link,
|
|
44
44
|
target: item.target,
|
|
@@ -75,4 +75,4 @@ Object.defineProperty(exports, 'tab_bar_default', {
|
|
|
75
75
|
return tab_bar_default;
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
//# sourceMappingURL=tab-bar-
|
|
78
|
+
//# sourceMappingURL=tab-bar-Binq1EhQ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-bar-
|
|
1
|
+
{"version":3,"file":"tab-bar-Binq1EhQ.js","names":["TabBar: FC<TabBarProps>","HeaderContext","HamburgerContext","selectTabBarTheme","THEME","ExternalLink","InternalLink","TabBarItems","IconWithTextButton","Hamburger"],"sources":["../src/header/constants/z-index.ts","../src/tab-bar/index.tsx"],"sourcesContent":["export const ZIndex = {\n tabBarMobile: 'z-10',\n tabBarTablet: 'tablet:z-3',\n hamburger: 'z-4',\n header: 'z-3',\n topRow: 'z-2',\n channel: 'z-1',\n} as const\n","import { useContext, type FC } from 'react'\nimport clsx from 'clsx'\n// context\nimport { HamburgerContext, HeaderContext } from '../header/context'\n// z-index\nimport { ZIndex } from '../header/constants/z-index'\n// button\nimport { IconWithTextButton } from '../button'\n// icons\nimport { Hamburger } from '../icons'\n// theme\nimport { THEME } from '../constants/theme'\nimport { selectTabBarTheme } from './theme'\n// constants\nimport { TabBarItems } from './constants'\n// links\nimport { InternalLink, ExternalLink } from '../customized-link'\n// lodash\nimport map from 'lodash/map'\nconst _ = {\n map,\n}\n\ntype TabBarProps = {\n className?: string\n}\nconst TabBar: FC<TabBarProps> = ({ className = '' }) => {\n const { theme, releaseBranch, isLinkExternal, pathname } =\n useContext(HeaderContext)\n const { toggleHamburger, isHamburgerMenuOpen } = useContext(HamburgerContext)\n const { bgColor } = selectTabBarTheme(theme)\n const iconTheme = theme === THEME.photography ? theme : THEME.normal\n const LinkComponent = isLinkExternal ? ExternalLink : InternalLink\n return (\n <div\n className={clsx(\n 'w-screen fixed left-0 bottom-0 flex justify-between px-[16px] pt-[8px] pb-[calc(8px+env(safe-area-inset-bottom,0))] shadow-[0_0_2px_rgba(0,0,0,0.15)]',\n 'desktop:hidden',\n bgColor,\n ZIndex.tabBarMobile,\n ZIndex.tabBarTablet,\n className\n )}\n >\n {_.map(TabBarItems(releaseBranch), (item) => {\n const isActive = !isHamburgerMenuOpen && pathname === item.link\n return (\n <LinkComponent\n key={item.text}\n to={item.link}\n target={item.target}\n className=\"flex justify-center flex-1\"\n >\n <IconWithTextButton\n text={item.text}\n iconComponent={item.icon}\n theme={iconTheme}\n active={isActive}\n />\n </LinkComponent>\n )\n })}\n <IconWithTextButton\n text=\"選單\"\n iconComponent={Hamburger(releaseBranch)}\n className=\"flex justify-center flex-1\"\n onClick={toggleHamburger}\n active={isHamburgerMenuOpen}\n theme={iconTheme}\n />\n </div>\n )\n}\nexport default TabBar\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,MAAa,SAAS;CACpB,cAAc;CACd,cAAc;CACd,WAAW;CACX,QAAQ;CACR,QAAQ;CACR,SAAS;CACV;;;;ACYD,MAAM,IAAI,EACR,yBACD;AAKD,MAAMA,UAA2B,EAAE,YAAY,SAAS;CACtD,MAAM,EAAE,OAAO,eAAe,gBAAgB,mCACjCC,8BAAc;CAC3B,MAAM,EAAE,iBAAiB,8CAAmCC,iCAAiB;CAC7E,MAAM,EAAE,YAAYC,kCAAkB,MAAM;CAC5C,MAAM,YAAY,UAAUC,oBAAM,cAAc,QAAQA,oBAAM;CAC9D,MAAM,gBAAgB,iBAAiBC,8CAAeC;AACtD,QACE,4CAAC;EACC,6BACE,yJACA,kBACA,SACA,OAAO,cACP,OAAO,cACP,UACD;aAEA,EAAE,IAAIC,8BAAY,cAAc,GAAG,SAAS;GAC3C,MAAM,WAAW,CAAC,uBAAuB,aAAa,KAAK;AAC3D,UACE,2CAAC;IAEC,IAAI,KAAK;IACT,QAAQ,KAAK;IACb,WAAU;cAEV,2CAACC;KACC,MAAM,KAAK;KACX,eAAe,KAAK;KACpB,OAAO;KACP,QAAQ;MACR;MAVG,KAAK,KAWI;IAElB,EACF,2CAACA;GACC,MAAK;GACL,eAAeC,wBAAU,cAAc;GACvC,WAAU;GACV,SAAS;GACT,QAAQ;GACR,OAAO;IACP;GACE;;AAGV,sBAAe"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { internal_link_default } from "./internal-link-NQb751uB.mjs";
|
|
2
2
|
import { THEME } from "./theme-BG6yZVj-.mjs";
|
|
3
|
-
import { icon_with_text_button_default } from "./button-
|
|
4
|
-
import { external_link_default } from "./external-link-
|
|
3
|
+
import { icon_with_text_button_default } from "./button-D_AWI7r9.mjs";
|
|
4
|
+
import { external_link_default } from "./external-link-BykRRwmY.mjs";
|
|
5
5
|
import { HamburgerContext, HeaderContext } from "./context-BgdqM3zA.mjs";
|
|
6
6
|
import { Hamburger } from "./icons-I7T-auOQ.mjs";
|
|
7
|
-
import { selectTabBarTheme } from "./theme-
|
|
8
|
-
import { TabBarItems } from "./constants
|
|
7
|
+
import { selectTabBarTheme } from "./theme-PhMjSVv9.mjs";
|
|
8
|
+
import { TabBarItems } from "./constants-BYqJQzQQ.mjs";
|
|
9
9
|
import { useContext } from "react";
|
|
10
10
|
import clsx from "clsx";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -33,7 +33,7 @@ const TabBar = ({ className = "" }) => {
|
|
|
33
33
|
return /* @__PURE__ */ jsxs("div", {
|
|
34
34
|
className: clsx("w-screen fixed left-0 bottom-0 flex justify-between px-[16px] pt-[8px] pb-[calc(8px+env(safe-area-inset-bottom,0))] shadow-[0_0_2px_rgba(0,0,0,0.15)]", "desktop:hidden", bgColor, ZIndex.tabBarMobile, ZIndex.tabBarTablet, className),
|
|
35
35
|
children: [_.map(TabBarItems(releaseBranch), (item) => {
|
|
36
|
-
const isActive = pathname === item.link;
|
|
36
|
+
const isActive = !isHamburgerMenuOpen && pathname === item.link;
|
|
37
37
|
return /* @__PURE__ */ jsx(LinkComponent, {
|
|
38
38
|
to: item.link,
|
|
39
39
|
target: item.target,
|
|
@@ -59,4 +59,4 @@ var tab_bar_default = TabBar;
|
|
|
59
59
|
|
|
60
60
|
//#endregion
|
|
61
61
|
export { ZIndex, tab_bar_default };
|
|
62
|
-
//# sourceMappingURL=tab-bar-
|
|
62
|
+
//# sourceMappingURL=tab-bar-BqiC7-Lw.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-bar-
|
|
1
|
+
{"version":3,"file":"tab-bar-BqiC7-Lw.mjs","names":["TabBar: FC<TabBarProps>","ExternalLink","InternalLink","IconWithTextButton"],"sources":["../src/header/constants/z-index.ts","../src/tab-bar/index.tsx"],"sourcesContent":["export const ZIndex = {\n tabBarMobile: 'z-10',\n tabBarTablet: 'tablet:z-3',\n hamburger: 'z-4',\n header: 'z-3',\n topRow: 'z-2',\n channel: 'z-1',\n} as const\n","import { useContext, type FC } from 'react'\nimport clsx from 'clsx'\n// context\nimport { HamburgerContext, HeaderContext } from '../header/context'\n// z-index\nimport { ZIndex } from '../header/constants/z-index'\n// button\nimport { IconWithTextButton } from '../button'\n// icons\nimport { Hamburger } from '../icons'\n// theme\nimport { THEME } from '../constants/theme'\nimport { selectTabBarTheme } from './theme'\n// constants\nimport { TabBarItems } from './constants'\n// links\nimport { InternalLink, ExternalLink } from '../customized-link'\n// lodash\nimport map from 'lodash/map'\nconst _ = {\n map,\n}\n\ntype TabBarProps = {\n className?: string\n}\nconst TabBar: FC<TabBarProps> = ({ className = '' }) => {\n const { theme, releaseBranch, isLinkExternal, pathname } =\n useContext(HeaderContext)\n const { toggleHamburger, isHamburgerMenuOpen } = useContext(HamburgerContext)\n const { bgColor } = selectTabBarTheme(theme)\n const iconTheme = theme === THEME.photography ? theme : THEME.normal\n const LinkComponent = isLinkExternal ? ExternalLink : InternalLink\n return (\n <div\n className={clsx(\n 'w-screen fixed left-0 bottom-0 flex justify-between px-[16px] pt-[8px] pb-[calc(8px+env(safe-area-inset-bottom,0))] shadow-[0_0_2px_rgba(0,0,0,0.15)]',\n 'desktop:hidden',\n bgColor,\n ZIndex.tabBarMobile,\n ZIndex.tabBarTablet,\n className\n )}\n >\n {_.map(TabBarItems(releaseBranch), (item) => {\n const isActive = !isHamburgerMenuOpen && pathname === item.link\n return (\n <LinkComponent\n key={item.text}\n to={item.link}\n target={item.target}\n className=\"flex justify-center flex-1\"\n >\n <IconWithTextButton\n text={item.text}\n iconComponent={item.icon}\n theme={iconTheme}\n active={isActive}\n />\n </LinkComponent>\n )\n })}\n <IconWithTextButton\n text=\"選單\"\n iconComponent={Hamburger(releaseBranch)}\n className=\"flex justify-center flex-1\"\n onClick={toggleHamburger}\n active={isHamburgerMenuOpen}\n theme={iconTheme}\n />\n </div>\n )\n}\nexport default TabBar\n"],"mappings":";;;;;;;;;;;;;;AAAA,MAAa,SAAS;CACpB,cAAc;CACd,cAAc;CACd,WAAW;CACX,QAAQ;CACR,QAAQ;CACR,SAAS;CACV;;;;ACYD,MAAM,IAAI,EACR,KACD;AAKD,MAAMA,UAA2B,EAAE,YAAY,SAAS;CACtD,MAAM,EAAE,OAAO,eAAe,gBAAgB,aAC5C,WAAW,cAAc;CAC3B,MAAM,EAAE,iBAAiB,wBAAwB,WAAW,iBAAiB;CAC7E,MAAM,EAAE,YAAY,kBAAkB,MAAM;CAC5C,MAAM,YAAY,UAAU,MAAM,cAAc,QAAQ,MAAM;CAC9D,MAAM,gBAAgB,iBAAiBC,wBAAeC;AACtD,QACE,qBAAC;EACC,WAAW,KACT,yJACA,kBACA,SACA,OAAO,cACP,OAAO,cACP,UACD;aAEA,EAAE,IAAI,YAAY,cAAc,GAAG,SAAS;GAC3C,MAAM,WAAW,CAAC,uBAAuB,aAAa,KAAK;AAC3D,UACE,oBAAC;IAEC,IAAI,KAAK;IACT,QAAQ,KAAK;IACb,WAAU;cAEV,oBAACC;KACC,MAAM,KAAK;KACX,eAAe,KAAK;KACpB,OAAO;KACP,QAAQ;MACR;MAVG,KAAK,KAWI;IAElB,EACF,oBAACA;GACC,MAAK;GACL,eAAe,UAAU,cAAc;GACvC,WAAU;GACV,SAAS;GACT,QAAQ;GACR,OAAO;IACP;GACE;;AAGV,sBAAe"}
|
package/lib/text/constants.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../index-
|
|
2
|
-
import { TYPE, Type, WEIGHT, Weight } from "../constants-
|
|
1
|
+
import "../index-DaRD2S-9.mjs";
|
|
2
|
+
import { TYPE, Type, WEIGHT, Weight } from "../constants-P65Nafg1.mjs";
|
|
3
3
|
export { TYPE, Type, WEIGHT, Weight };
|
package/lib/text/heading.d.mts
CHANGED
package/lib/text/heading.js
CHANGED
package/lib/text/heading.mjs
CHANGED
package/lib/text/paragraph.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValuesOf } from "./index-
|
|
1
|
+
import { ValuesOf } from "./index-DaRD2S-9.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/constants/theme.d.ts
|
|
4
4
|
declare const THEME: {
|
|
@@ -10,4 +10,4 @@ declare const THEME: {
|
|
|
10
10
|
type Theme = ValuesOf<typeof THEME>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { THEME, Theme };
|
|
13
|
-
//# sourceMappingURL=theme-
|
|
13
|
+
//# sourceMappingURL=theme-B9CWW8U9.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-
|
|
1
|
+
{"version":3,"file":"theme-BOMyqC4d.js","names":["THEME"],"sources":["../src/tab-bar/theme.ts"],"sourcesContent":["import { THEME, type Theme } from '../constants/theme'\n\nexport const selectTabBarTheme = (theme: Theme) => {\n switch (theme) {\n case THEME.photography:\n return {\n bgColor: 'bg-photo-dark',\n }\n default:\n return {\n bgColor: 'bg-gray-100',\n }\n }\n}\n"],"mappings":";;;AAEA,MAAa,qBAAqB,UAAiB;AACjD,SAAQ,OAAR;EACE,KAAKA,oBAAM,YACT,QAAO,EACL,SAAS,iBACV;EACH,QACE,QAAO,EACL,SAAS,eACV"}
|