@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
package/lib/styles.css
CHANGED
|
@@ -252,6 +252,9 @@
|
|
|
252
252
|
.mx-auto {
|
|
253
253
|
margin-inline: auto;
|
|
254
254
|
}
|
|
255
|
+
.my-\[24px\] {
|
|
256
|
+
margin-block: 24px;
|
|
257
|
+
}
|
|
255
258
|
.mt-\[0px\] {
|
|
256
259
|
margin-top: 0px;
|
|
257
260
|
}
|
|
@@ -270,6 +273,12 @@
|
|
|
270
273
|
.mr-\[24px\] {
|
|
271
274
|
margin-right: 24px;
|
|
272
275
|
}
|
|
276
|
+
.mb-\[16px\] {
|
|
277
|
+
margin-bottom: 16px;
|
|
278
|
+
}
|
|
279
|
+
.mb-\[48px\] {
|
|
280
|
+
margin-bottom: 48px;
|
|
281
|
+
}
|
|
273
282
|
.ml-0 {
|
|
274
283
|
margin-left: calc(var(--spacing) * 0);
|
|
275
284
|
}
|
|
@@ -314,6 +323,9 @@
|
|
|
314
323
|
.h-\[24px\] {
|
|
315
324
|
height: 24px;
|
|
316
325
|
}
|
|
326
|
+
.h-\[25px\] {
|
|
327
|
+
height: 25px;
|
|
328
|
+
}
|
|
317
329
|
.h-\[32px\] {
|
|
318
330
|
height: 32px;
|
|
319
331
|
}
|
|
@@ -338,15 +350,30 @@
|
|
|
338
350
|
.w-0 {
|
|
339
351
|
width: calc(var(--spacing) * 0);
|
|
340
352
|
}
|
|
353
|
+
.w-\[-webkit-fill-available\] {
|
|
354
|
+
width: -webkit-fill-available;
|
|
355
|
+
}
|
|
341
356
|
.w-\[24px\] {
|
|
342
357
|
width: 24px;
|
|
343
358
|
}
|
|
359
|
+
.w-\[232px\] {
|
|
360
|
+
width: 232px;
|
|
361
|
+
}
|
|
362
|
+
.w-\[240px\] {
|
|
363
|
+
width: 240px;
|
|
364
|
+
}
|
|
365
|
+
.w-\[280px\]\! {
|
|
366
|
+
width: 280px !important;
|
|
367
|
+
}
|
|
344
368
|
.w-\[300px\] {
|
|
345
369
|
width: 300px;
|
|
346
370
|
}
|
|
347
371
|
.w-\[360px\] {
|
|
348
372
|
width: 360px;
|
|
349
373
|
}
|
|
374
|
+
.w-\[fill-available\] {
|
|
375
|
+
width: fill-available;
|
|
376
|
+
}
|
|
350
377
|
.w-fit {
|
|
351
378
|
width: fit-content;
|
|
352
379
|
}
|
|
@@ -356,12 +383,18 @@
|
|
|
356
383
|
.w-screen {
|
|
357
384
|
width: 100vw;
|
|
358
385
|
}
|
|
386
|
+
.max-w-\[400px\] {
|
|
387
|
+
max-width: 400px;
|
|
388
|
+
}
|
|
359
389
|
.flex-1 {
|
|
360
390
|
flex: 1;
|
|
361
391
|
}
|
|
362
392
|
.shrink-0 {
|
|
363
393
|
flex-shrink: 0;
|
|
364
394
|
}
|
|
395
|
+
.basis-1\/3 {
|
|
396
|
+
flex-basis: calc(1/3 * 100%);
|
|
397
|
+
}
|
|
365
398
|
.-translate-x-\[8px\] {
|
|
366
399
|
--tw-translate-x: calc(8px * -1);
|
|
367
400
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -404,6 +437,9 @@
|
|
|
404
437
|
.flex-col {
|
|
405
438
|
flex-direction: column;
|
|
406
439
|
}
|
|
440
|
+
.flex-col-reverse {
|
|
441
|
+
flex-direction: column-reverse;
|
|
442
|
+
}
|
|
407
443
|
.flex-row {
|
|
408
444
|
flex-direction: row;
|
|
409
445
|
}
|
|
@@ -419,6 +455,9 @@
|
|
|
419
455
|
.justify-center {
|
|
420
456
|
justify-content: center;
|
|
421
457
|
}
|
|
458
|
+
.justify-center\! {
|
|
459
|
+
justify-content: center !important;
|
|
460
|
+
}
|
|
422
461
|
.justify-end {
|
|
423
462
|
justify-content: flex-end;
|
|
424
463
|
}
|
|
@@ -428,6 +467,12 @@
|
|
|
428
467
|
.gap-\[16px\] {
|
|
429
468
|
gap: 16px;
|
|
430
469
|
}
|
|
470
|
+
.gap-\[24px\] {
|
|
471
|
+
gap: 24px;
|
|
472
|
+
}
|
|
473
|
+
.gap-\[32px\] {
|
|
474
|
+
gap: 32px;
|
|
475
|
+
}
|
|
431
476
|
.overflow-hidden {
|
|
432
477
|
overflow: hidden;
|
|
433
478
|
}
|
|
@@ -596,6 +641,9 @@
|
|
|
596
641
|
.pt-\[40px\] {
|
|
597
642
|
padding-top: 40px;
|
|
598
643
|
}
|
|
644
|
+
.pt-\[48px\] {
|
|
645
|
+
padding-top: 48px;
|
|
646
|
+
}
|
|
599
647
|
.pr-\[32px\] {
|
|
600
648
|
padding-right: 32px;
|
|
601
649
|
}
|
|
@@ -608,6 +656,9 @@
|
|
|
608
656
|
.pb-\[32px\] {
|
|
609
657
|
padding-bottom: 32px;
|
|
610
658
|
}
|
|
659
|
+
.pb-\[96px\] {
|
|
660
|
+
padding-bottom: 96px;
|
|
661
|
+
}
|
|
611
662
|
.pb-\[calc\(8px\+env\(safe-area-inset-bottom\,0\)\)\] {
|
|
612
663
|
padding-bottom: calc(8px + env(safe-area-inset-bottom,0));
|
|
613
664
|
}
|
|
@@ -620,6 +671,9 @@
|
|
|
620
671
|
.pl-\[48px\] {
|
|
621
672
|
padding-left: 48px;
|
|
622
673
|
}
|
|
674
|
+
.text-center {
|
|
675
|
+
text-align: center;
|
|
676
|
+
}
|
|
623
677
|
.font-default {
|
|
624
678
|
font-family: var(--font-default);
|
|
625
679
|
}
|
|
@@ -724,6 +778,12 @@
|
|
|
724
778
|
.text-supportive-pastel {
|
|
725
779
|
color: var(--color-supportive-pastel);
|
|
726
780
|
}
|
|
781
|
+
.underline {
|
|
782
|
+
text-decoration-line: underline;
|
|
783
|
+
}
|
|
784
|
+
.underline-offset-\[4px\] {
|
|
785
|
+
text-underline-offset: 4px;
|
|
786
|
+
}
|
|
727
787
|
.opacity-0 {
|
|
728
788
|
opacity: 0%;
|
|
729
789
|
}
|
|
@@ -1143,6 +1203,11 @@
|
|
|
1143
1203
|
margin-top: 16px;
|
|
1144
1204
|
}
|
|
1145
1205
|
}
|
|
1206
|
+
.desktop\:mb-0 {
|
|
1207
|
+
@media (width >= 1024px) {
|
|
1208
|
+
margin-bottom: calc(var(--spacing) * 0);
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1146
1211
|
.desktop\:flex {
|
|
1147
1212
|
@media (width >= 1024px) {
|
|
1148
1213
|
display: flex;
|
|
@@ -1158,11 +1223,41 @@
|
|
|
1158
1223
|
display: inline-flex;
|
|
1159
1224
|
}
|
|
1160
1225
|
}
|
|
1226
|
+
.desktop\:h-\[29px\] {
|
|
1227
|
+
@media (width >= 1024px) {
|
|
1228
|
+
height: 29px;
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
.desktop\:w-\[120px\] {
|
|
1232
|
+
@media (width >= 1024px) {
|
|
1233
|
+
width: 120px;
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
.desktop\:w-\[272px\] {
|
|
1237
|
+
@media (width >= 1024px) {
|
|
1238
|
+
width: 272px;
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1161
1241
|
.desktop\:w-\[280px\] {
|
|
1162
1242
|
@media (width >= 1024px) {
|
|
1163
1243
|
width: 280px;
|
|
1164
1244
|
}
|
|
1165
1245
|
}
|
|
1246
|
+
.desktop\:max-w-\[320px\] {
|
|
1247
|
+
@media (width >= 1024px) {
|
|
1248
|
+
max-width: 320px;
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
.desktop\:max-w-\[1200px\] {
|
|
1252
|
+
@media (width >= 1024px) {
|
|
1253
|
+
max-width: 1200px;
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
.desktop\:basis-auto {
|
|
1257
|
+
@media (width >= 1024px) {
|
|
1258
|
+
flex-basis: auto;
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1166
1261
|
.desktop\:-translate-x-\[280px\] {
|
|
1167
1262
|
@media (width >= 1024px) {
|
|
1168
1263
|
--tw-translate-x: calc(280px * -1);
|
|
@@ -1180,6 +1275,36 @@
|
|
|
1180
1275
|
flex-direction: column;
|
|
1181
1276
|
}
|
|
1182
1277
|
}
|
|
1278
|
+
.desktop\:flex-row {
|
|
1279
|
+
@media (width >= 1024px) {
|
|
1280
|
+
flex-direction: row;
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
.desktop\:items-start {
|
|
1284
|
+
@media (width >= 1024px) {
|
|
1285
|
+
align-items: flex-start;
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
.desktop\:justify-between {
|
|
1289
|
+
@media (width >= 1024px) {
|
|
1290
|
+
justify-content: space-between;
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
.desktop\:gap-0 {
|
|
1294
|
+
@media (width >= 1024px) {
|
|
1295
|
+
gap: calc(var(--spacing) * 0);
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
.desktop\:gap-\[16px\] {
|
|
1299
|
+
@media (width >= 1024px) {
|
|
1300
|
+
gap: 16px;
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
.desktop\:gap-\[24px\] {
|
|
1304
|
+
@media (width >= 1024px) {
|
|
1305
|
+
gap: 24px;
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1183
1308
|
.desktop\:bg-gray-100 {
|
|
1184
1309
|
@media (width >= 1024px) {
|
|
1185
1310
|
background-color: var(--color-gray-100);
|
|
@@ -1195,6 +1320,16 @@
|
|
|
1195
1320
|
padding-inline: 48px;
|
|
1196
1321
|
}
|
|
1197
1322
|
}
|
|
1323
|
+
.desktop\:py-\[48px\] {
|
|
1324
|
+
@media (width >= 1024px) {
|
|
1325
|
+
padding-block: 48px;
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
.desktop\:text-start {
|
|
1329
|
+
@media (width >= 1024px) {
|
|
1330
|
+
text-align: start;
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1198
1333
|
.desktop\:opacity-100 {
|
|
1199
1334
|
@media (width >= 1024px) {
|
|
1200
1335
|
opacity: 100%;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../index-
|
|
2
|
-
import { ReleaseBranch } from "../release-branch-
|
|
3
|
-
import { LinkTarget } from "../type-
|
|
1
|
+
import "../index-DegwO8ei.mjs";
|
|
2
|
+
import { ReleaseBranch } from "../release-branch-CaxOk9Rq.mjs";
|
|
3
|
+
import { LinkTarget } from "../type-DGvbr3Rm.mjs";
|
|
4
4
|
import { ReactElement } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/tab-bar/constants.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../index-H3peA2d_.js";
|
|
2
2
|
import { ReleaseBranch } from "../release-branch-CsBbhuYE.js";
|
|
3
|
-
import { LinkTarget } from "../type-
|
|
3
|
+
import { LinkTarget } from "../type-ubTUOk6A.js";
|
|
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-BV86fOLv.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-BZGBDC2T.mjs";
|
|
6
6
|
|
|
7
7
|
export { TabBarItems };
|
package/lib/tab-bar/index.js
CHANGED
|
@@ -5,14 +5,14 @@ require('../theme-DDBlIbeS.js');
|
|
|
5
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-afU9uFB6.js');
|
|
9
|
+
require('../internal-link-Bq4yp13E.js');
|
|
10
|
+
require('../customized-link-CHH91yod.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-Dq0ewfWA.js');
|
|
15
|
+
require('../theme-BQQzAfHb.js');
|
|
16
|
+
require('../constants-BV86fOLv.js');
|
|
17
17
|
|
|
18
18
|
module.exports = require_tab_bar.tab_bar_default;
|
package/lib/tab-bar/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../internal-link-
|
|
1
|
+
import "../internal-link-DCXJvzgx.mjs";
|
|
2
2
|
import "../constants-oTHAnh6r.mjs";
|
|
3
3
|
import "../constants-CBSEPx91.mjs";
|
|
4
4
|
import "../paragraph-Cf9jr8RF.mjs";
|
|
@@ -6,13 +6,13 @@ import "../theme-BG6yZVj-.mjs";
|
|
|
6
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-Diro-q37.mjs";
|
|
10
|
+
import "../customized-link-BacydHK_.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-CQjgjdkW.mjs";
|
|
15
|
+
import "../theme-CDCgzSJw.mjs";
|
|
16
|
+
import "../constants-BZGBDC2T.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,11 +1,11 @@
|
|
|
1
|
-
import { internal_link_default } from "./internal-link-
|
|
1
|
+
import { internal_link_default } from "./internal-link-DCXJvzgx.mjs";
|
|
2
2
|
import { THEME } from "./theme-BG6yZVj-.mjs";
|
|
3
3
|
import { icon_with_text_button_default } from "./button-D_AWI7r9.mjs";
|
|
4
|
-
import { external_link_default } from "./external-link-
|
|
4
|
+
import { external_link_default } from "./external-link-Diro-q37.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-CDCgzSJw.mjs";
|
|
8
|
+
import { TabBarItems } from "./constants-BZGBDC2T.mjs";
|
|
9
9
|
import { useContext } from "react";
|
|
10
10
|
import clsx from "clsx";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -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-CQjgjdkW.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-bar-
|
|
1
|
+
{"version":3,"file":"tab-bar-CQjgjdkW.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"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-BxBTb9qk.js');
|
|
2
2
|
const require_theme = require('./theme-DDBlIbeS.js');
|
|
3
3
|
const require_button = require('./button-Dk0MxlKd.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
|
-
const require_theme$1 = require('./theme-
|
|
9
|
-
const require_constants = require('./constants-
|
|
8
|
+
const require_theme$1 = require('./theme-BQQzAfHb.js');
|
|
9
|
+
const require_constants = require('./constants-BV86fOLv.js');
|
|
10
10
|
let react = require("react");
|
|
11
11
|
react = require_chunk.__toESM(react);
|
|
12
12
|
let clsx = require("clsx");
|
|
@@ -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-Dq0ewfWA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-bar-
|
|
1
|
+
{"version":3,"file":"tab-bar-Dq0ewfWA.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"}
|
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-DegwO8ei.mjs";
|
|
2
|
+
import { TYPE, Type, WEIGHT, Weight } from "../constants-DZWOFPZT.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-
|
|
1
|
+
{"version":3,"file":"theme-BQQzAfHb.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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-
|
|
1
|
+
{"version":3,"file":"theme-CDCgzSJw.mjs","names":[],"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,KAAK,MAAM,YACT,QAAO,EACL,SAAS,iBACV;EACH,QACE,QAAO,EACL,SAAS,eACV"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValuesOf } from "./index-
|
|
1
|
+
import { ValuesOf } from "./index-DegwO8ei.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-Cx5oFufE.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-
|
|
1
|
+
{"version":3,"file":"theme-D_LHh2_S.mjs","names":[],"sources":["../src/input/theme.ts"],"sourcesContent":["import { THEME, type Theme } from '../constants/theme'\n\nexport const selectThemeStyle = (theme: Theme) => {\n switch (theme) {\n case THEME.photography:\n return {\n bgColor: 'bg-opacity-white-08',\n focusBgColor: 'focus:bg-gray-100',\n desktopBgColor: 'desktop:bg-gray-100',\n borderColor: 'border-supportive-pastel',\n color: 'text-gray-800',\n focusColor: 'focus:text-gray-800',\n placeholderColor: '[&::placeholder]:text-gray-800',\n }\n case THEME.transparent:\n return {\n bgColor: 'bg-opacity-gray100-08',\n focusBgColor: 'focus:bg-opacity-gray100-08',\n desktopBgColor: 'desktop:bg-gray-white',\n borderColor: 'border-gray-600',\n color: 'text-gray-800',\n focusColor: 'focus:text-gray-800',\n placeholderColor: '[&::placeholder]:text-gray-500',\n }\n default:\n return {\n bgColor: 'bg-opacity-gray100-08',\n focusBgColor: 'focus:bg-opacity-gray100-08',\n desktopBgColor: 'desktop:bg-gray-white',\n borderColor: 'border-gray-600',\n color: 'text-gray-800',\n focusColor: 'focus:text-gray-800',\n placeholderColor: '[&::placeholder]:text-gray-500',\n }\n }\n}\n"],"mappings":";;;AAEA,MAAa,oBAAoB,UAAiB;AAChD,SAAQ,OAAR;EACE,KAAK,MAAM,YACT,QAAO;GACL,SAAS;GACT,cAAc;GACd,gBAAgB;GAChB,aAAa;GACb,OAAO;GACP,YAAY;GACZ,kBAAkB;GACnB;EACH,KAAK,MAAM,YACT,QAAO;GACL,SAAS;GACT,cAAc;GACd,gBAAgB;GAChB,aAAa;GACb,OAAO;GACP,YAAY;GACZ,kBAAkB;GACnB;EACH,QACE,QAAO;GACL,SAAS;GACT,cAAc;GACd,gBAAgB;GAChB,aAAa;GACb,OAAO;GACP,YAAY;GACZ,kBAAkB;GACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-
|
|
1
|
+
{"version":3,"file":"theme-LkZX5giH.js","names":["THEME"],"sources":["../src/input/theme.ts"],"sourcesContent":["import { THEME, type Theme } from '../constants/theme'\n\nexport const selectThemeStyle = (theme: Theme) => {\n switch (theme) {\n case THEME.photography:\n return {\n bgColor: 'bg-opacity-white-08',\n focusBgColor: 'focus:bg-gray-100',\n desktopBgColor: 'desktop:bg-gray-100',\n borderColor: 'border-supportive-pastel',\n color: 'text-gray-800',\n focusColor: 'focus:text-gray-800',\n placeholderColor: '[&::placeholder]:text-gray-800',\n }\n case THEME.transparent:\n return {\n bgColor: 'bg-opacity-gray100-08',\n focusBgColor: 'focus:bg-opacity-gray100-08',\n desktopBgColor: 'desktop:bg-gray-white',\n borderColor: 'border-gray-600',\n color: 'text-gray-800',\n focusColor: 'focus:text-gray-800',\n placeholderColor: '[&::placeholder]:text-gray-500',\n }\n default:\n return {\n bgColor: 'bg-opacity-gray100-08',\n focusBgColor: 'focus:bg-opacity-gray100-08',\n desktopBgColor: 'desktop:bg-gray-white',\n borderColor: 'border-gray-600',\n color: 'text-gray-800',\n focusColor: 'focus:text-gray-800',\n placeholderColor: '[&::placeholder]:text-gray-500',\n }\n }\n}\n"],"mappings":";;;AAEA,MAAa,oBAAoB,UAAiB;AAChD,SAAQ,OAAR;EACE,KAAKA,oBAAM,YACT,QAAO;GACL,SAAS;GACT,cAAc;GACd,gBAAgB;GAChB,aAAa;GACb,OAAO;GACP,YAAY;GACZ,kBAAkB;GACnB;EACH,KAAKA,oBAAM,YACT,QAAO;GACL,SAAS;GACT,cAAc;GACd,gBAAgB;GAChB,aAAa;GACb,OAAO;GACP,YAAY;GACZ,kBAAkB;GACnB;EACH,QACE,QAAO;GACL,SAAS;GACT,cAAc;GACd,gBAAgB;GAChB,aAAa;GACb,OAAO;GACP,YAAY;GACZ,kBAAkB;GACnB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react15 from "react";
|
|
2
2
|
import React$1, { FC } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/title-bar/components/title-tab/type.d.ts
|
|
@@ -36,18 +36,18 @@ declare const TitleTab: FC<TitleTabProps>;
|
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/title-bar/index.d.ts
|
|
38
38
|
declare const _default: {
|
|
39
|
-
Title2:
|
|
39
|
+
Title2: react15.FC<{
|
|
40
40
|
title: string;
|
|
41
41
|
subtitle?: string;
|
|
42
42
|
renderButton?: React.ReactNode;
|
|
43
43
|
className?: string;
|
|
44
44
|
}>;
|
|
45
|
-
Title1:
|
|
45
|
+
Title1: react15.FC<{
|
|
46
46
|
title: string;
|
|
47
47
|
subtitle?: string;
|
|
48
48
|
className?: string;
|
|
49
49
|
}>;
|
|
50
|
-
TitleTab:
|
|
50
|
+
TitleTab: react15.FC<{
|
|
51
51
|
title: string;
|
|
52
52
|
tabs: Tab[];
|
|
53
53
|
activeTabIndex?: number;
|
package/lib/title-bar/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react17 from "react";
|
|
2
2
|
import React$1, { FC } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/title-bar/components/title-tab/type.d.ts
|
|
@@ -36,18 +36,18 @@ declare const TitleTab: FC<TitleTabProps>;
|
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/title-bar/index.d.ts
|
|
38
38
|
declare const _default: {
|
|
39
|
-
Title2:
|
|
39
|
+
Title2: react17.FC<{
|
|
40
40
|
title: string;
|
|
41
41
|
subtitle?: string;
|
|
42
42
|
renderButton?: React.ReactNode;
|
|
43
43
|
className?: string;
|
|
44
44
|
}>;
|
|
45
|
-
Title1:
|
|
45
|
+
Title1: react17.FC<{
|
|
46
46
|
title: string;
|
|
47
47
|
subtitle?: string;
|
|
48
48
|
className?: string;
|
|
49
49
|
}>;
|
|
50
|
-
TitleTab:
|
|
50
|
+
TitleTab: react17.FC<{
|
|
51
51
|
title: string;
|
|
52
52
|
tabs: Tab[];
|
|
53
53
|
activeTabIndex?: number;
|
package/lib/title-bar/index.js
CHANGED
|
@@ -5,10 +5,10 @@ require('../constants-Cndhv6qr.js');
|
|
|
5
5
|
const require_paragraph = require('../paragraph-iuz3jP0Q.js');
|
|
6
6
|
require('../theme-DDBlIbeS.js');
|
|
7
7
|
const require_button = require('../button-Dk0MxlKd.js');
|
|
8
|
-
const require_external_link = require('../external-link-
|
|
9
|
-
const require_internal_link = require('../internal-link-
|
|
10
|
-
require('../customized-link-
|
|
11
|
-
const require_heading = require('../heading-
|
|
8
|
+
const require_external_link = require('../external-link-afU9uFB6.js');
|
|
9
|
+
const require_internal_link = require('../internal-link-Bq4yp13E.js');
|
|
10
|
+
require('../customized-link-CHH91yod.js');
|
|
11
|
+
const require_heading = require('../heading-Dnpw_s7U.js');
|
|
12
12
|
let react = require("react");
|
|
13
13
|
react = require_chunk.__toESM(react);
|
|
14
14
|
let clsx = require("clsx");
|