@twreporter/react-typescript-components 0.1.0-beta.18 → 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-CwFazfN4.d.mts → constants-B5th6nHM.d.mts} +2 -2
- package/lib/{constants-CIMBoUWq.d.mts → constants-B95_A0GY.d.mts} +2 -2
- package/lib/{constants-B_1Vpdib.js → constants-BV86fOLv.js} +1 -1
- package/lib/{constants-B_1Vpdib.js.map → constants-BV86fOLv.js.map} +1 -1
- package/lib/{constants-Br6I254P.mjs → constants-BZGBDC2T.mjs} +1 -1
- package/lib/{constants-Br6I254P.mjs.map → constants-BZGBDC2T.mjs.map} +1 -1
- package/lib/{constants-B-jtTtz5.d.mts → constants-D2OTwBsV.d.mts} +2 -2
- package/lib/{constants-DJDyKM0N.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-BL-KiLbo.d.mts → constants-IzZ4bWWt.d.mts} +2 -2
- 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 +3 -3
- package/lib/customized-link/index.d.ts +3 -3
- package/lib/customized-link/index.js +3 -3
- package/lib/customized-link/index.mjs +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-DnaZxeKK.mjs → customized-link-BacydHK_.mjs} +3 -3
- package/lib/{customized-link-DnaZxeKK.mjs.map → customized-link-BacydHK_.mjs.map} +1 -1
- package/lib/{customized-link-DqW2a8oZ.js → customized-link-CHH91yod.js} +3 -3
- package/lib/{customized-link-DqW2a8oZ.js.map → customized-link-CHH91yod.js.map} +1 -1
- package/lib/divider/constants.d.mts +2 -2
- package/lib/divider/index.d.mts +2 -2
- 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-BAqmP8qa.js → dropdown-menu-D4XjLl7G.js} +3 -3
- package/lib/{dropdown-menu-BAqmP8qa.js.map → dropdown-menu-D4XjLl7G.js.map} +1 -1
- package/lib/{dropdown-menu-D7VNOiIl.mjs → dropdown-menu-jbg-kt3s.mjs} +3 -3
- package/lib/{dropdown-menu-D7VNOiIl.mjs.map → dropdown-menu-jbg-kt3s.mjs.map} +1 -1
- package/lib/{external-link-C3_4RBmQ.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-DXT5ep5-.mjs → external-link-Diro-q37.mjs} +4 -2
- package/lib/external-link-Diro-q37.mjs.map +1 -0
- package/lib/{external-link-DoBTwlV3.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 +8 -8
- package/lib/hamburger-menu/index.mjs +8 -8
- package/lib/{hamburger-menu-iIWjGEVX.mjs → hamburger-menu-MQgF0vLX.mjs} +6 -6
- package/lib/{hamburger-menu-iIWjGEVX.mjs.map → hamburger-menu-MQgF0vLX.mjs.map} +1 -1
- package/lib/{hamburger-menu-DGS62txC.js → hamburger-menu-baCi46g2.js} +6 -6
- package/lib/{hamburger-menu-DGS62txC.js.map → hamburger-menu-baCi46g2.js.map} +1 -1
- package/lib/header/index.d.mts +3 -3
- package/lib/header/index.js +15 -15
- package/lib/header/index.mjs +14 -14
- package/lib/{heading-Qm-0gpRy.mjs → heading-Cljxy-62.mjs} +1 -1
- package/lib/{heading-Qm-0gpRy.mjs.map → heading-Cljxy-62.mjs.map} +1 -1
- package/lib/{heading-Fvd7unhP.js → heading-Dnpw_s7U.js} +1 -1
- package/lib/{heading-Fvd7unhP.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-B0DKeSXi.js → hooks-BxlKOoQu.js} +2 -2
- package/lib/{hooks-B0DKeSXi.js.map → hooks-BxlKOoQu.js.map} +1 -1
- package/lib/{hooks-CDCpkU85.mjs → hooks-DmImq-Z7.mjs} +2 -2
- package/lib/{hooks-CDCpkU85.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-B0aBR23L.d.mts → index-DegwO8ei.d.mts} +1 -1
- package/lib/input/constants.d.mts +1 -1
- package/lib/input/index.d.mts +5 -5
- package/lib/input/index.js +2 -2
- package/lib/input/index.mjs +2 -2
- 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-VmgNb9pm.js → input-DaMbsNrg.js} +2 -2
- package/lib/{input-VmgNb9pm.js.map → input-DaMbsNrg.js.map} +1 -1
- package/lib/{input-BU_QJnbj.mjs → input-DvriSZ9o.mjs} +2 -2
- package/lib/{input-BU_QJnbj.mjs.map → input-DvriSZ9o.mjs.map} +1 -1
- package/lib/{internal-link-B9ExuJfg.js → internal-link-Bq4yp13E.js} +4 -2
- package/lib/{internal-link-B9ExuJfg.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-HG_KM8L7.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/index.d.mts +26 -11
- package/lib/logo/index.d.ts +18 -3
- 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-CFUcv043.d.mts → release-branch-CaxOk9Rq.d.mts} +2 -2
- package/lib/styles.css +126 -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-CXhDni4V.mjs → tab-bar-CQjgjdkW.mjs} +5 -5
- package/lib/{tab-bar-CXhDni4V.mjs.map → tab-bar-CQjgjdkW.mjs.map} +1 -1
- package/lib/{tab-bar-CZt-vw5x.js → tab-bar-Dq0ewfWA.js} +5 -5
- package/lib/{tab-bar-CZt-vw5x.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-CmvdSSbX.js → theme-BQQzAfHb.js} +1 -1
- package/lib/{theme-CmvdSSbX.js.map → theme-BQQzAfHb.js.map} +1 -1
- package/lib/{theme-CE2RkJwt.mjs → theme-CDCgzSJw.mjs} +1 -1
- package/lib/{theme-CE2RkJwt.mjs.map → theme-CDCgzSJw.mjs.map} +1 -1
- package/lib/{theme-BQP-h-2z.d.mts → theme-Cx5oFufE.d.mts} +2 -2
- package/lib/{theme-Bgd_TUHZ.mjs → theme-D_LHh2_S.mjs} +1 -1
- package/lib/{theme-Bgd_TUHZ.mjs.map → theme-D_LHh2_S.mjs.map} +1 -1
- package/lib/{theme-Cv8rt4oO.js → theme-LkZX5giH.js} +1 -1
- package/lib/{theme-Cv8rt4oO.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-Dons5TOa.d.mts → type-ubTUOk6A.d.ts} +3 -1
- package/lib/types/index.d.mts +1 -1
- package/lib/{use-outside-click-DAfe2vPE.mjs → use-outside-click-Br_ste4n.mjs} +1 -1
- package/lib/{use-outside-click-DAfe2vPE.mjs.map → use-outside-click-Br_ste4n.mjs.map} +1 -1
- package/lib/{use-outside-click-BB1MpRid.js → use-outside-click-Cl1QlhTH.js} +1 -1
- package/lib/{use-outside-click-BB1MpRid.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/external-link-DXT5ep5-.mjs.map +0 -1
- package/lib/external-link-DoBTwlV3.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-CSVLlhkD.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
|
}
|
|
@@ -344,9 +356,15 @@
|
|
|
344
356
|
.w-\[24px\] {
|
|
345
357
|
width: 24px;
|
|
346
358
|
}
|
|
359
|
+
.w-\[232px\] {
|
|
360
|
+
width: 232px;
|
|
361
|
+
}
|
|
347
362
|
.w-\[240px\] {
|
|
348
363
|
width: 240px;
|
|
349
364
|
}
|
|
365
|
+
.w-\[280px\]\! {
|
|
366
|
+
width: 280px !important;
|
|
367
|
+
}
|
|
350
368
|
.w-\[300px\] {
|
|
351
369
|
width: 300px;
|
|
352
370
|
}
|
|
@@ -365,12 +383,18 @@
|
|
|
365
383
|
.w-screen {
|
|
366
384
|
width: 100vw;
|
|
367
385
|
}
|
|
386
|
+
.max-w-\[400px\] {
|
|
387
|
+
max-width: 400px;
|
|
388
|
+
}
|
|
368
389
|
.flex-1 {
|
|
369
390
|
flex: 1;
|
|
370
391
|
}
|
|
371
392
|
.shrink-0 {
|
|
372
393
|
flex-shrink: 0;
|
|
373
394
|
}
|
|
395
|
+
.basis-1\/3 {
|
|
396
|
+
flex-basis: calc(1/3 * 100%);
|
|
397
|
+
}
|
|
374
398
|
.-translate-x-\[8px\] {
|
|
375
399
|
--tw-translate-x: calc(8px * -1);
|
|
376
400
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -413,6 +437,9 @@
|
|
|
413
437
|
.flex-col {
|
|
414
438
|
flex-direction: column;
|
|
415
439
|
}
|
|
440
|
+
.flex-col-reverse {
|
|
441
|
+
flex-direction: column-reverse;
|
|
442
|
+
}
|
|
416
443
|
.flex-row {
|
|
417
444
|
flex-direction: row;
|
|
418
445
|
}
|
|
@@ -428,6 +455,9 @@
|
|
|
428
455
|
.justify-center {
|
|
429
456
|
justify-content: center;
|
|
430
457
|
}
|
|
458
|
+
.justify-center\! {
|
|
459
|
+
justify-content: center !important;
|
|
460
|
+
}
|
|
431
461
|
.justify-end {
|
|
432
462
|
justify-content: flex-end;
|
|
433
463
|
}
|
|
@@ -437,6 +467,12 @@
|
|
|
437
467
|
.gap-\[16px\] {
|
|
438
468
|
gap: 16px;
|
|
439
469
|
}
|
|
470
|
+
.gap-\[24px\] {
|
|
471
|
+
gap: 24px;
|
|
472
|
+
}
|
|
473
|
+
.gap-\[32px\] {
|
|
474
|
+
gap: 32px;
|
|
475
|
+
}
|
|
440
476
|
.overflow-hidden {
|
|
441
477
|
overflow: hidden;
|
|
442
478
|
}
|
|
@@ -605,6 +641,9 @@
|
|
|
605
641
|
.pt-\[40px\] {
|
|
606
642
|
padding-top: 40px;
|
|
607
643
|
}
|
|
644
|
+
.pt-\[48px\] {
|
|
645
|
+
padding-top: 48px;
|
|
646
|
+
}
|
|
608
647
|
.pr-\[32px\] {
|
|
609
648
|
padding-right: 32px;
|
|
610
649
|
}
|
|
@@ -617,6 +656,9 @@
|
|
|
617
656
|
.pb-\[32px\] {
|
|
618
657
|
padding-bottom: 32px;
|
|
619
658
|
}
|
|
659
|
+
.pb-\[96px\] {
|
|
660
|
+
padding-bottom: 96px;
|
|
661
|
+
}
|
|
620
662
|
.pb-\[calc\(8px\+env\(safe-area-inset-bottom\,0\)\)\] {
|
|
621
663
|
padding-bottom: calc(8px + env(safe-area-inset-bottom,0));
|
|
622
664
|
}
|
|
@@ -629,6 +671,9 @@
|
|
|
629
671
|
.pl-\[48px\] {
|
|
630
672
|
padding-left: 48px;
|
|
631
673
|
}
|
|
674
|
+
.text-center {
|
|
675
|
+
text-align: center;
|
|
676
|
+
}
|
|
632
677
|
.font-default {
|
|
633
678
|
font-family: var(--font-default);
|
|
634
679
|
}
|
|
@@ -733,6 +778,12 @@
|
|
|
733
778
|
.text-supportive-pastel {
|
|
734
779
|
color: var(--color-supportive-pastel);
|
|
735
780
|
}
|
|
781
|
+
.underline {
|
|
782
|
+
text-decoration-line: underline;
|
|
783
|
+
}
|
|
784
|
+
.underline-offset-\[4px\] {
|
|
785
|
+
text-underline-offset: 4px;
|
|
786
|
+
}
|
|
736
787
|
.opacity-0 {
|
|
737
788
|
opacity: 0%;
|
|
738
789
|
}
|
|
@@ -1152,6 +1203,11 @@
|
|
|
1152
1203
|
margin-top: 16px;
|
|
1153
1204
|
}
|
|
1154
1205
|
}
|
|
1206
|
+
.desktop\:mb-0 {
|
|
1207
|
+
@media (width >= 1024px) {
|
|
1208
|
+
margin-bottom: calc(var(--spacing) * 0);
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1155
1211
|
.desktop\:flex {
|
|
1156
1212
|
@media (width >= 1024px) {
|
|
1157
1213
|
display: flex;
|
|
@@ -1167,11 +1223,41 @@
|
|
|
1167
1223
|
display: inline-flex;
|
|
1168
1224
|
}
|
|
1169
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
|
+
}
|
|
1170
1241
|
.desktop\:w-\[280px\] {
|
|
1171
1242
|
@media (width >= 1024px) {
|
|
1172
1243
|
width: 280px;
|
|
1173
1244
|
}
|
|
1174
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
|
+
}
|
|
1175
1261
|
.desktop\:-translate-x-\[280px\] {
|
|
1176
1262
|
@media (width >= 1024px) {
|
|
1177
1263
|
--tw-translate-x: calc(280px * -1);
|
|
@@ -1189,6 +1275,36 @@
|
|
|
1189
1275
|
flex-direction: column;
|
|
1190
1276
|
}
|
|
1191
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
|
+
}
|
|
1192
1308
|
.desktop\:bg-gray-100 {
|
|
1193
1309
|
@media (width >= 1024px) {
|
|
1194
1310
|
background-color: var(--color-gray-100);
|
|
@@ -1204,6 +1320,16 @@
|
|
|
1204
1320
|
padding-inline: 48px;
|
|
1205
1321
|
}
|
|
1206
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
|
+
}
|
|
1207
1333
|
.desktop\:opacity-100 {
|
|
1208
1334
|
@media (width >= 1024px) {
|
|
1209
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");
|