@k8o/arte-odyssey 8.0.3 → 9.0.0
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/dist/components/buttons/icon-button/icon-button.mjs +5 -16
- package/dist/components/data-display/accordion/context.d.mts +1 -1
- package/dist/components/data-display/accordion/context.mjs +3 -12
- package/dist/components/data-display/code/code.mjs +1 -1
- package/dist/{helpers/color → components/data-display/code}/find-all-colors.d.mts +1 -1
- package/dist/{helpers/color → components/data-display/code}/find-all-colors.mjs +1 -1
- package/dist/components/feedback/progress/progress.mjs +1 -1
- package/dist/components/feedback/toast/context.d.mts +2 -2
- package/dist/components/feedback/toast/context.mjs +6 -7
- package/dist/components/form/autocomplete/autocomplete.mjs +14 -13
- package/dist/components/form/checkbox/checkbox.mjs +7 -4
- package/dist/components/form/checkbox-card/checkbox-card.mjs +8 -7
- package/dist/components/form/checkbox-group/index.d.mts +3 -3
- package/dist/components/form/file-field/file-field.mjs +4 -10
- package/dist/{helpers/number → components/form/number-field}/cast.d.mts +1 -1
- package/dist/{helpers/number → components/form/number-field}/cast.mjs +2 -2
- package/dist/components/form/number-field/number-field.mjs +20 -19
- package/dist/components/form/radio/radio.mjs +6 -4
- package/dist/components/form/radio-card/radio-card.mjs +7 -5
- package/dist/components/form/switch/switch.mjs +7 -4
- package/dist/components/icons/index.d.mts +3 -2
- package/dist/components/icons/index.mjs +3 -2
- package/dist/components/icons/logo.mjs +3 -3
- package/dist/components/icons/lucide.d.mts +2 -1
- package/dist/components/icons/lucide.mjs +6 -2
- package/dist/components/icons/qiita.mjs +4 -4
- package/dist/components/icons/twitter.mjs +1 -1
- package/dist/components/icons/vertical-writing.d.mts +7 -0
- package/dist/components/icons/vertical-writing.mjs +25 -0
- package/dist/components/index.d.mts +3 -2
- package/dist/components/index.mjs +3 -2
- package/dist/components/navigation/anchor/anchor.mjs +1 -2
- package/dist/components/navigation/tabs/tabs.mjs +4 -13
- package/dist/components/overlays/dialog/dialog.mjs +3 -7
- package/dist/components/overlays/dropdown-menu/hooks.d.mts +2 -3
- package/dist/components/overlays/dropdown-menu/hooks.mjs +4 -9
- package/dist/components/overlays/list-box/hooks.d.mts +0 -1
- package/dist/components/overlays/list-box/hooks.mjs +3 -8
- package/dist/components/overlays/popover/hooks.d.mts +1 -3
- package/dist/components/overlays/popover/hooks.mjs +3 -8
- package/dist/components/overlays/tooltip/tooltip.mjs +19 -6
- package/dist/helpers/chain.d.mts +5 -0
- package/dist/helpers/chain.mjs +29 -0
- package/dist/helpers/create-safe-context.d.mts +7 -0
- package/dist/helpers/create-safe-context.mjs +13 -0
- package/dist/helpers/index.d.mts +5 -8
- package/dist/helpers/index.mjs +5 -8
- package/dist/helpers/merge-props.d.mts +6 -0
- package/dist/helpers/merge-props.mjs +56 -0
- package/dist/hooks/click-away/index.mjs +1 -1
- package/dist/index.d.mts +7 -9
- package/dist/index.mjs +7 -9
- package/dist/internal/clamp.d.mts +4 -0
- package/dist/internal/clamp.mjs +15 -0
- package/dist/{helpers/number → internal}/to-precision.d.mts +1 -1
- package/dist/{helpers/number → internal}/to-precision.mjs +1 -1
- package/package.json +1 -1
- package/dist/helpers/is-internal-route.d.mts +0 -4
- package/dist/helpers/is-internal-route.mjs +0 -12
- package/dist/helpers/number/between.d.mts +0 -4
- package/dist/helpers/number/between.mjs +0 -15
- package/dist/helpers/number/commalize.d.mts +0 -4
- package/dist/helpers/number/commalize.mjs +0 -20
- package/dist/helpers/number/index.d.mts +0 -5
- package/dist/helpers/number/index.mjs +0 -5
- package/dist/helpers/uuid-v4.d.mts +0 -4
- package/dist/helpers/uuid-v4.mjs +0 -28
|
@@ -8,15 +8,15 @@ const Logo = ({ className }) => /* @__PURE__ */ jsxs("svg", {
|
|
|
8
8
|
children: [
|
|
9
9
|
/* @__PURE__ */ jsx("path", {
|
|
10
10
|
className: "fill-primary-fg",
|
|
11
|
-
d: " M790.
|
|
11
|
+
d: " M790.13,638.72 C770.63,652.99 751.13,667.26 731.47,681.64 C735.44,690.03 742.88,694.97 749.52,700.59 C752.36,703.01 756.16,704.32 758.92,706.81 C767.25,714.32 775.49,721.96 783.39,729.92 C788.86,735.44 793.91,741.41 798.81,747.45 C809.38,760.45 809.98,775.59 807.59,791.23 C806.66,797.27 805.19,803.24 804.40,809.30 C802.88,820.97 798.52,831.58 793.46,842.07 C784.44,860.81 776.42,880.03 765.01,897.55 C752.08,917.40 736.40,934.91 719.77,951.63 C698.06,973.44 673.65,991.93 648.37,1009.32 C634.72,1018.72 619.64,1023.74 602.96,1022.66 C601.02,1022.54 597.83,1019.71 597.74,1017.98 C597.57,1015.08 599.01,1011.82 600.56,1009.17 C601.55,1007.47 603.93,1006.58 605.70,1005.34 C615.74,998.30 626.35,991.94 635.64,984.02 C643.52,977.29 649.63,968.53 656.94,961.09 C684.15,933.42 705.12,900.97 727.13,869.36 C735.18,857.80 741.76,845.15 748.24,832.60 C753.17,823.08 750.17,813.31 745.60,804.56 C742.70,798.99 738.61,793.58 733.85,789.52 C719.72,777.49 705.44,765.55 690.35,754.78 C681.15,748.22 670.40,743.81 660.25,738.61 C659.07,738.01 656.80,737.96 655.84,738.71 C641.76,749.70 626.51,759.22 615.22,773.62 C602.09,790.36 598.20,809.25 602.23,829.42 C605.04,843.50 614.60,854.32 623.63,865.37 C634.75,878.98 648.98,886.94 664.95,892.86 C669.89,894.69 674.50,897.40 679.27,899.69 C683.02,901.50 685.13,904.63 683.81,908.52 C682.92,911.13 680.58,913.53 678.32,915.29 C676.77,916.49 674.24,916.89 672.16,916.86 C655.09,916.54 638.08,918.03 621.02,914.20 C600.59,909.61 581.24,902.62 562.84,892.91 C551.31,886.82 543.36,877.00 537.05,865.84 C534.20,860.81 530.91,855.76 529.45,850.29 C527.72,843.86 527.70,836.95 527.06,830.24 C526.86,828.11 527.03,825.94 526.17,823.36 C524.92,825.50 523.42,827.53 522.45,829.79 C516.77,843.10 507.31,852.86 496.28,862.24 C484.64,872.14 471.63,879.08 458.45,886.03 C450.15,890.41 440.99,892.61 431.52,892.24 C417.09,891.67 402.40,892.16 388.32,889.53 C371.49,886.39 357.22,878.13 348.35,861.86 C339.22,845.13 334.01,827.18 329.61,808.97 C327.77,801.35 327.81,793.07 328.22,785.15 C329.09,768.70 324.00,754.19 314.34,741.47 C306.73,731.46 295.37,725.20 281.33,732.11 C272.58,736.41 263.86,740.30 256.13,746.31 C241.20,757.92 232.94,773.90 226.99,791.19 C222.56,804.04 218.81,817.15 215.43,830.31 C213.33,838.46 212.44,846.92 211.09,855.25 C210.27,860.30 210.15,865.53 208.75,870.39 C206.23,879.15 197.12,886.36 188.48,886.01 C177.18,885.55 165.79,886.24 154.56,885.11 C138.52,883.49 124.39,877.76 115.13,863.16 C109.27,853.91 108.94,843.85 110.00,833.79 C113.28,802.68 119.72,772.11 129.32,742.39 C135.07,724.59 143.40,707.64 150.18,690.16 C155.03,677.64 159.03,664.80 163.77,652.24 C168.99,638.42 174.79,624.82 180.02,611.00 C188.17,589.45 196.07,567.81 204.05,546.20 C211.64,525.66 219.05,505.05 226.80,484.57 C233.96,465.65 241.46,446.85 248.81,428.01 C251.93,420.01 253.84,411.23 258.44,404.20 C266.49,391.92 268.28,377.99 270.40,364.41 C272.91,348.35 269.58,332.66 260.54,318.62 C257.84,314.43 255.45,310.04 252.86,305.77 C248.09,297.91 250.51,285.45 257.98,280.21 C259.29,279.29 260.91,278.40 262.45,278.29 C270.83,277.63 279.22,276.97 287.62,276.79 C305.59,276.40 323.58,275.94 341.54,276.29 C347.65,276.41 354.14,277.93 359.70,280.46 C372.89,286.43 379.15,297.90 379.90,311.84 C380.65,325.64 381.19,339.62 379.74,353.30 C378.24,367.39 375.21,381.51 371.08,395.09 C364.77,415.88 356.79,436.15 346.97,455.61 C342.11,465.22 336.60,474.53 332.19,484.34 C323.41,503.87 315.36,523.72 306.64,543.28 C302.56,552.43 296.99,560.94 293.18,570.20 C285.66,588.45 279.09,607.10 271.71,625.41 C269.00,632.14 264.67,638.21 261.83,644.89 C257.38,655.38 253.53,666.13 249.54,676.81 C249.30,677.44 249.99,678.41 250.24,679.22 C251.08,678.62 252.17,678.19 252.72,677.39 C258.83,668.47 264.49,659.22 270.96,650.57 C283.59,633.70 295.68,616.28 309.79,600.71 C323.85,585.19 339.56,571.04 355.57,557.49 C367.25,547.62 381.18,540.44 393.00,530.70 C404.57,521.16 418.84,517.62 431.34,510.44 C444.67,502.79 458.79,499.64 473.71,500.19 C487.10,500.67 500.55,501.80 513.78,503.90 C524.50,505.60 531.55,512.64 536.57,522.62 C547.66,544.67 541.78,563.87 528.56,582.45 C519.71,594.89 507.56,602.66 493.63,608.06 C488.26,610.14 482.81,612.01 477.35,613.87 C465.48,617.92 454.93,615.69 445.71,607.13 C438.68,600.59 430.38,596.14 421.23,593.54 C410.44,590.48 400.20,593.68 391.30,599.28 C379.05,606.99 367.14,615.42 356.00,624.66 C342.38,635.96 329.70,648.40 316.67,660.40 C315.60,661.39 314.83,662.75 314.08,664.03 C312.00,667.56 312.97,669.86 317.02,670.23 C320.95,670.58 324.99,670.78 328.89,670.31 C347.24,668.07 362.05,674.92 375.42,686.94 C384.88,695.46 391.73,705.71 397.88,716.57 C399.54,719.51 400.01,723.11 401.23,726.33 C403.98,733.61 407.16,740.73 409.62,748.10 C413.04,758.32 415.24,769.00 419.31,778.93 C422.62,787.00 427.13,794.90 432.64,801.61 C435.89,805.58 441.85,808.14 447.07,809.54 C463.96,814.06 481.11,813.41 497.60,807.90 C507.60,804.57 516.93,799.25 526.52,794.73 C527.51,794.26 528.57,793.33 528.99,792.35 C534.21,780.16 543.33,770.80 552.13,761.39 C561.06,751.84 571.46,743.65 580.24,733.98 C590.41,722.80 603.07,715.39 615.59,707.58 C615.83,707.44 615.90,707.03 616.74,705.47 C602.91,692.24 588.23,679.25 574.86,665.04 C565.20,654.78 557.82,642.37 555.08,628.29 C553.61,620.74 554.68,612.69 554.63,604.87 C554.45,573.79 569.02,550.48 593.10,532.33 C602.86,524.97 612.40,517.01 623.07,511.22 C635.76,504.34 649.59,499.56 662.88,493.75 C666.80,492.03 670.54,489.91 674.70,488.38 C676.16,498.79 676.34,509.02 678.69,518.71 C680.66,526.88 685.08,534.47 688.64,542.22 C689.21,543.45 690.99,544.14 692.05,545.39 C686.79,552.16 681.34,558.37 676.70,565.15 C672.05,571.92 666.17,578.79 664.49,586.42 C661.63,599.41 661.49,613.03 660.57,626.40 C660.41,628.59 661.56,631.35 663.01,633.09 C670.69,642.38 679.53,649.94 691.63,653.39 C695.15,654.40 697.83,654.19 700.18,652.54 C711.81,644.36 724.12,636.82 734.46,627.20 C744.40,617.96 752.21,606.44 760.99,596.32 C762.07,599.79 762.90,602.96 764.20,605.92 C769.59,618.19 774.70,630.73 788.43,636.45 C789.18,636.76 789.57,637.95 790.13,638.72 z"
|
|
12
12
|
}),
|
|
13
13
|
/* @__PURE__ */ jsx("path", {
|
|
14
14
|
className: "fill-(--teal-700) dark:fill-(--teal-400)",
|
|
15
|
-
d: " M836.
|
|
15
|
+
d: " M836.63,192.96 C834.95,196.90 833.03,200.86 830.81,204.64 C826.01,212.81 820.12,220.48 816.47,229.12 C813.45,236.27 812.44,244.44 811.55,252.27 C810.13,264.93 808.60,277.67 812.01,290.35 C815.76,304.24 821.73,316.94 833.95,325.07 C843.12,331.17 853.35,335.68 863.10,340.91 C868.79,343.96 874.66,346.74 880.11,350.19 C885.60,353.67 888.20,358.83 888.08,365.67 C887.88,377.59 886.09,389.15 882.74,400.59 C881.62,404.45 881.68,408.87 882.23,412.90 C882.48,414.81 884.86,417.39 886.77,417.95 C896.24,420.73 903.41,425.99 907.33,435.16 C908.28,437.37 908.66,439.87 909.06,442.28 C909.49,444.87 909.64,447.51 909.98,450.54 C899.09,458.14 891.61,468.20 884.82,479.29 C877.18,491.77 869.12,504.28 859.41,515.14 C852.31,523.07 845.92,530.96 842.40,540.87 C840.63,545.82 839.93,551.18 839.07,556.40 C837.80,564.05 837.62,571.97 835.49,579.34 C833.41,586.55 830.11,593.61 826.21,600.04 C817.00,615.20 805.38,628.33 790.44,638.66 C789.57,637.95 789.18,636.76 788.43,636.45 C774.70,630.73 769.59,618.19 764.20,605.92 C762.90,602.96 762.07,599.79 761.00,595.96 C762.07,593.59 763.07,591.90 764.28,590.37 C768.31,585.33 772.89,580.65 776.39,575.26 C782.25,566.26 783.44,555.87 784.07,545.34 C784.47,538.60 784.70,531.54 786.89,525.27 C791.93,510.81 801.59,499.29 812.40,488.53 C824.27,476.71 837.86,465.83 839.80,447.30 C840.42,441.32 837.75,431.53 830.51,430.11 C822.04,428.45 809.48,433.66 805.47,441.37 C800.38,451.18 795.19,460.99 791.00,471.19 C785.28,485.09 775.51,494.82 762.59,501.80 C757.35,504.62 752.00,507.24 746.76,510.08 C742.11,512.61 737.72,515.64 732.93,517.86 C721.21,523.32 709.69,529.01 700.13,537.97 C697.54,540.40 694.85,542.71 692.21,545.08 C690.99,544.14 689.21,543.45 688.64,542.22 C685.08,534.47 680.66,526.88 678.69,518.71 C676.34,509.02 676.16,498.79 675.07,488.31 C683.20,483.13 691.13,478.07 699.47,473.82 C709.17,468.89 719.82,465.62 728.97,459.88 C737.28,454.66 744.23,447.21 751.59,440.53 C754.76,437.65 757.49,434.27 760.36,431.06 C761.35,429.95 762.32,428.77 763.03,427.47 C766.36,421.43 764.37,416.55 758.04,414.86 C745.37,411.48 732.62,411.80 719.61,412.53 C710.14,413.06 700.50,411.04 690.99,409.76 C684.82,408.92 682.22,404.09 681.10,398.65 C679.35,390.14 680.16,381.73 683.99,373.85 C689.82,361.87 695.12,349.54 702.03,338.20 C711.30,322.96 721.79,308.47 731.92,293.76 C742.40,278.53 752.26,262.77 763.90,248.48 C772.37,238.10 782.77,229.07 793.29,220.68 C802.76,213.12 813.55,207.24 823.79,200.66 C827.91,198.02 832.10,195.48 836.63,192.96 z"
|
|
16
16
|
}),
|
|
17
17
|
/* @__PURE__ */ jsx("path", {
|
|
18
18
|
className: "fill-(--teal-600) dark:fill-(--teal-500)",
|
|
19
|
-
d: " M880.
|
|
19
|
+
d: " M880.95,659.66 C880.03,663.93 878.45,667.85 878.28,671.82 C877.60,687.55 876.88,703.30 877.16,719.03 C877.34,729.21 879.24,739.35 880.64,749.76 C880.93,750.47 880.94,750.91 880.99,752.10 C881.88,757.73 882.76,762.61 883.61,767.49 C888.10,793.18 902.21,814.17 917.15,834.53 C927.87,849.16 943.42,858.32 959.06,866.79 C965.81,870.45 973.36,873.59 980.88,874.67 C995.06,876.69 1009.16,874.17 1022.45,868.86 C1028.04,866.62 1033.61,863.29 1037.97,859.16 C1047.37,850.25 1056.35,840.81 1064.79,830.98 C1070.79,823.99 1075.95,816.21 1080.93,808.43 C1089.25,795.41 1089.95,780.05 1092.72,765.47 C1094.42,756.51 1093.64,747.09 1094.21,737.88 C1094.44,734.30 1095.89,730.74 1095.81,727.19 C1095.30,704.97 1098.32,682.65 1094.18,660.51 C1092.82,653.26 1092.74,645.65 1090.47,638.73 C1087.09,628.43 1082.42,618.54 1078.05,608.59 C1070.76,591.99 1062.47,576.10 1048.42,563.86 C1039.48,556.08 1030.48,548.38 1019.28,544.26 C1011.91,541.54 1004.04,540.18 996.44,538.22 C994.01,531.23 998.61,527.20 1005.93,525.35 C1011.87,523.84 1017.87,522.32 1023.94,521.65 C1031.99,520.77 1040.39,519.25 1048.20,520.59 C1069.90,524.33 1089.15,534.67 1107.90,545.76 C1113.30,548.96 1117.99,553.34 1123.33,556.66 C1134.63,563.71 1143.81,572.44 1150.82,584.06 C1162.41,603.28 1170.84,623.85 1178.84,644.64 C1181.88,652.54 1183.58,660.97 1185.78,669.18 C1186.66,672.50 1187.92,675.92 1187.85,679.27 C1187.36,702.48 1186.57,725.68 1185.86,748.89 C1185.84,749.54 1185.63,750.20 1185.42,750.82 C1182.94,758.32 1180.56,765.84 1177.93,773.28 C1175.41,780.41 1173.60,788.03 1169.76,794.39 C1161.23,808.53 1152.71,822.91 1142.22,835.56 C1126.35,854.70 1108.02,871.53 1084.45,881.19 C1071.40,886.54 1058.32,891.96 1044.93,896.33 C1029.21,901.45 1013.48,906.97 996.32,905.24 C987.24,904.33 978.00,905.14 968.89,904.45 C956.07,903.48 945.22,897.00 934.44,890.68 C917.50,880.76 900.61,871.10 891.86,851.75 C885.45,837.57 876.91,824.36 869.84,810.46 C867.25,805.36 866.19,799.49 864.36,794.00 C860.61,782.72 856.68,771.50 853.10,760.17 C851.44,754.87 850.43,749.36 849.13,743.94 C849.11,743.20 849.09,742.46 849.05,740.90 C849.01,725.38 848.99,710.69 848.98,696.00 C849.03,695.56 849.08,695.12 849.09,694.34 C849.66,691.81 850.58,689.64 850.83,687.40 C852.63,670.95 853.95,654.43 856.16,638.03 C857.10,631.04 859.78,624.28 861.70,617.43 C864.77,606.44 867.31,595.25 871.16,584.54 C873.87,576.98 878.21,569.98 882.09,562.88 C890.03,548.36 897.91,533.81 906.25,519.54 C913.57,507.00 918.85,493.64 922.47,479.73 C924.88,470.43 924.19,460.76 918.05,452.67 C916.92,451.18 913.35,451.53 910.41,450.58 C909.64,447.51 909.49,444.87 909.06,442.28 C908.66,439.87 908.28,437.37 907.33,435.16 C903.41,425.99 896.24,420.73 886.77,417.95 C884.86,417.39 882.48,414.81 882.23,412.90 C881.68,408.87 881.62,404.45 882.74,400.59 C886.09,389.15 887.88,377.59 888.08,365.67 C888.20,358.83 885.60,353.67 880.11,350.19 C874.66,346.74 868.79,343.96 863.10,340.91 C853.35,335.68 843.12,331.17 833.95,325.07 C821.73,316.94 815.76,304.24 812.01,290.35 C808.60,277.67 810.13,264.93 811.55,252.27 C812.44,244.44 813.45,236.27 816.47,229.12 C820.12,220.48 826.01,212.81 830.81,204.64 C833.03,200.86 834.95,196.90 837.00,193.03 C849.73,185.21 862.70,178.40 878.40,178.89 C883.57,179.06 888.79,176.86 894.02,176.67 C903.28,176.34 912.58,176.47 921.85,176.88 C926.77,177.09 931.75,177.88 936.52,179.13 C944.25,181.15 952.08,183.16 959.42,186.25 C968.95,190.26 978.41,194.72 987.22,200.09 C998.51,206.96 1009.14,214.91 1020.01,222.46 C1022.73,224.35 1025.25,226.52 1027.91,228.51 C1037.40,235.62 1043.18,245.45 1049.59,255.24 C1058.52,268.87 1063.04,284.30 1070.45,298.48 C1076.21,309.50 1080.58,321.26 1085.28,332.81 C1086.68,336.26 1087.04,340.13 1088.00,343.77 C1089.04,347.69 1090.41,351.54 1091.32,355.49 C1092.38,360.10 1092.85,364.84 1094.02,369.42 C1098.02,385.17 1095.85,401.16 1095.65,417.02 C1095.55,424.45 1092.77,431.84 1091.44,439.28 C1090.94,442.04 1090.84,444.94 1091.05,447.74 C1091.77,457.53 1087.56,465.63 1081.54,472.52 C1079.05,475.37 1074.21,476.95 1070.21,477.55 C1052.65,480.18 1035.22,478.98 1019.74,469.78 C1012.51,465.47 1005.27,461.67 997.30,459.74 C986.66,457.17 977.55,459.07 970.61,469.28 C962.84,480.71 959.41,493.63 954.50,505.97 C948.18,521.83 939.28,535.97 930.27,550.24 C924.38,559.58 919.58,569.60 914.37,579.36 C908.12,591.08 901.38,602.59 895.91,614.66 C890.94,625.64 887.34,637.24 883.26,648.61 C882.26,651.38 881.76,654.33 881.11,657.60 C881.10,658.44 881.01,658.88 880.95,659.66 z"
|
|
20
20
|
})
|
|
21
21
|
]
|
|
22
22
|
});
|
|
@@ -55,5 +55,6 @@ declare const PaletteIcon: FC<IconProps>;
|
|
|
55
55
|
declare const ShieldCheckIcon: FC<IconProps>;
|
|
56
56
|
declare const AccessibilityIcon: FC<IconProps>;
|
|
57
57
|
declare const SparklesIcon: FC<IconProps>;
|
|
58
|
+
declare const HorizontalWritingIcon: FC<IconProps>;
|
|
58
59
|
//#endregion
|
|
59
|
-
export { AIIcon, AccessibilityIcon, AlertIcon, AtomIcon, BadIcon, BlogIcon, BoringIcon, CheckIcon, ChevronIcon, CloseIcon, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, DifficultIcon, EasyIcon, ExternalLinkIcon, FormIcon, GoodIcon, HistoryIcon, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListIcon, LocationIcon, MailIcon, MinusIcon, MixedColorIcon, NavigationMenuIcon, NewsIcon, PaletteIcon, PlusIcon, PrepareIcon, PublishDateIcon, RSSIcon, SendIcon, ShallowIcon, ShieldCheckIcon, SlideIcon, SparklesIcon, SubscribeIcon, TableIcon, TagIcon, UpdateDateIcon, ViewIcon, ViewOffIcon };
|
|
60
|
+
export { AIIcon, AccessibilityIcon, AlertIcon, AtomIcon, BadIcon, BlogIcon, BoringIcon, CheckIcon, ChevronIcon, CloseIcon, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, DifficultIcon, EasyIcon, ExternalLinkIcon, FormIcon, GoodIcon, HistoryIcon, HorizontalWritingIcon, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListIcon, LocationIcon, MailIcon, MinusIcon, MixedColorIcon, NavigationMenuIcon, NewsIcon, PaletteIcon, PlusIcon, PrepareIcon, PublishDateIcon, RSSIcon, SendIcon, ShallowIcon, ShieldCheckIcon, SlideIcon, SparklesIcon, SubscribeIcon, TableIcon, TagIcon, UpdateDateIcon, ViewIcon, ViewOffIcon };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseIcon } from "./base.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { Accessibility, AlignRight, Angry, Annoyed, Atom, Bell, Blend, BookText, Bookmark, Bot, Calendar, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, CircleAlert, CircleCheck, ClipboardPenLine, Clock, Contrast, Droplets, ExternalLink, Eye, EyeOff, History, Info, Laugh, Lightbulb, Link, List, ListMinus, Mail, MapPin, Minus, MoonStar, PaintBucket, Palette, Plus, Presentation, Rocket, Rss, Send, ShieldCheck, Smile, Sparkles, Sun, Table2, Tag, ThumbsDown, ThumbsUp, TriangleAlert, X } from "lucide-react";
|
|
3
|
+
import { Accessibility, AlignRight, Angry, Annoyed, Atom, Bell, Blend, BookOpenText, BookText, Bookmark, Bot, Calendar, Check, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, CircleAlert, CircleCheck, ClipboardPenLine, Clock, Contrast, Droplets, ExternalLink, Eye, EyeOff, History, Info, Laugh, Lightbulb, Link, List, ListMinus, Mail, MapPin, Minus, MoonStar, PaintBucket, Palette, Plus, Presentation, Rocket, Rss, Send, ShieldCheck, Smile, Sparkles, Sun, Table2, Tag, ThumbsDown, ThumbsUp, TriangleAlert, X } from "lucide-react";
|
|
4
4
|
//#region src/components/icons/lucide.tsx
|
|
5
5
|
const CHEVRON_BY_DIRECTION = {
|
|
6
6
|
up: ChevronUp,
|
|
@@ -208,5 +208,9 @@ const SparklesIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
|
208
208
|
renderItem: (props) => /* @__PURE__ */ jsx(Sparkles, { ...props }),
|
|
209
209
|
size
|
|
210
210
|
});
|
|
211
|
+
const HorizontalWritingIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
212
|
+
renderItem: (props) => /* @__PURE__ */ jsx(BookOpenText, { ...props }),
|
|
213
|
+
size
|
|
214
|
+
});
|
|
211
215
|
//#endregion
|
|
212
|
-
export { AIIcon, AccessibilityIcon, AlertIcon, AtomIcon, BadIcon, BlogIcon, BoringIcon, CheckIcon, ChevronIcon, CloseIcon, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, DifficultIcon, EasyIcon, ExternalLinkIcon, FormIcon, GoodIcon, HistoryIcon, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListIcon, LocationIcon, MailIcon, MinusIcon, MixedColorIcon, NavigationMenuIcon, NewsIcon, PaletteIcon, PlusIcon, PrepareIcon, PublishDateIcon, RSSIcon, SendIcon, ShallowIcon, ShieldCheckIcon, SlideIcon, SparklesIcon, SubscribeIcon, TableIcon, TagIcon, UpdateDateIcon, ViewIcon, ViewOffIcon };
|
|
216
|
+
export { AIIcon, AccessibilityIcon, AlertIcon, AtomIcon, BadIcon, BlogIcon, BoringIcon, CheckIcon, ChevronIcon, CloseIcon, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, DifficultIcon, EasyIcon, ExternalLinkIcon, FormIcon, GoodIcon, HistoryIcon, HorizontalWritingIcon, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListIcon, LocationIcon, MailIcon, MinusIcon, MixedColorIcon, NavigationMenuIcon, NewsIcon, PaletteIcon, PlusIcon, PrepareIcon, PublishDateIcon, RSSIcon, SendIcon, ShallowIcon, ShieldCheckIcon, SlideIcon, SparklesIcon, SubscribeIcon, TableIcon, TagIcon, UpdateDateIcon, ViewIcon, ViewOffIcon };
|
|
@@ -8,14 +8,14 @@ const Qiita = ({ className }) => /* @__PURE__ */ jsxs("svg", {
|
|
|
8
8
|
viewBox: "0 0 300 300",
|
|
9
9
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10
10
|
children: [/* @__PURE__ */ jsx("path", {
|
|
11
|
-
d: "\nM170.
|
|
11
|
+
d: "\nM170.00,301.00 \n C155.98,301.00 141.96,301.00 127.35,300.63 \n C126.24,299.87 125.76,299.21 125.20,299.13 \n C106.99,296.55 90.22,289.99 74.41,280.79 \n C57.08,270.70 42.21,257.64 30.40,241.57 \n C17.26,223.68 7.53,204.01 3.83,181.76 \n C3.44,179.42 1.97,177.25 1.00,175.00 \n C1.00,159.31 1.00,143.62 1.37,127.35 \n C2.16,125.91 2.75,125.10 2.96,124.21 \n C4.27,118.70 5.15,113.07 6.79,107.67 \n C14.92,80.92 29.17,58.11 50.06,39.28 \n C66.69,24.30 85.52,13.55 106.81,7.03 \n C114.44,4.70 122.26,2.99 130.00,1.00 \n C144.35,1.00 158.71,1.00 173.67,1.36 \n C175.17,2.13 176.02,2.66 176.95,2.92 \n C186.59,5.62 196.44,7.73 205.85,11.06 \n C232.83,20.58 254.47,37.78 271.49,60.35 \n C284.87,78.08 294.49,97.92 298.16,120.22 \n C298.55,122.58 300.03,124.75 301.00,127.00 \n C301.00,127.00 301.00,127.50 300.67,127.85 \n C300.56,129.13 300.78,130.07 301.00,131.00 \n C301.00,145.35 301.00,159.71 300.63,174.65 \n C299.17,179.59 298.12,183.95 296.99,188.29 \n C293.93,200.06 289.71,211.37 283.83,222.00 \n C274.89,218.56 269.44,218.19 260.01,219.87 \n C258.35,220.17 256.09,220.08 254.83,219.16 \n C245.13,212.12 238.85,205.04 243.48,192.58 \n C246.15,185.39 247.37,177.40 247.77,169.69 \n C248.16,162.24 246.97,154.64 245.95,147.17 \n C243.29,127.59 235.48,110.16 223.22,94.68 \n C221.02,91.91 217.97,89.20 217.25,86.02 \n C216.02,80.64 216.26,74.90 216.03,69.31 \n C215.88,65.65 216.19,61.96 215.96,58.31 \n C215.47,50.74 210.89,48.36 204.49,52.19 \n C199.48,55.18 194.13,57.74 189.57,61.31 \n C185.80,64.26 182.76,63.56 178.91,62.05 \n C163.35,55.96 147.25,55.54 131.04,58.51 \n C117.56,60.98 105.90,67.68 94.50,74.96 \n C92.48,76.25 89.34,76.72 86.93,76.31 \n C80.88,75.27 74.98,73.40 68.98,72.08 \n C63.87,70.96 60.62,74.59 61.90,79.73 \n C62.92,83.81 63.68,87.98 65.00,91.96 \n C68.00,100.99 67.47,108.98 62.43,117.71 \n C56.07,128.72 53.74,141.57 53.23,154.22 \n C52.79,165.18 53.42,176.38 55.23,187.20 \n C57.65,201.60 63.63,214.93 73.51,225.90 \n C90.29,244.49 112.10,252.72 136.56,253.81 \n C147.36,254.29 158.27,252.89 169.10,251.95 \n C181.31,250.87 193.16,247.93 203.90,241.91 \n C211.07,237.88 217.72,232.91 223.48,229.10 \n C228.86,234.44 233.77,240.46 239.81,244.96 \n C245.72,249.37 252.79,252.22 259.77,255.97 \n C254.96,260.09 249.64,264.89 244.07,269.38 \n C228.58,281.87 211.13,290.65 191.99,295.95 \n C184.75,297.95 177.34,299.33 170.00,301.00 \nz",
|
|
12
12
|
fill: "#55C500",
|
|
13
|
-
opacity: "1.
|
|
13
|
+
opacity: "1.00",
|
|
14
14
|
stroke: "none"
|
|
15
15
|
}), /* @__PURE__ */ jsx("path", {
|
|
16
|
-
d: "\nM201.
|
|
16
|
+
d: "\nM201.23,166.28 \n C189.03,176.10 175.09,180.47 160.14,181.96 \n C150.82,182.88 141.43,184.14 132.12,183.81 \n C118.49,183.33 105.09,180.78 94.96,170.37 \n C86.98,162.16 83.84,151.87 83.87,140.38 \n C79.76,142.15 75.81,143.84 71.86,145.53 \n C71.43,145.03 70.99,144.53 70.56,144.04 \n C71.61,142.71 72.39,140.92 73.75,140.17 \n C76.27,138.78 79.26,138.24 81.79,136.87 \n C83.04,136.19 83.71,134.45 85.18,132.44 \n C79.51,132.44 75.18,132.44 70.38,132.44 \n C70.30,131.77 70.16,130.61 70.02,129.51 \n C75.18,127.89 81.27,130.22 85.99,124.27 \n C81.13,123.77 77.32,123.37 73.50,123.00 \n C70.70,122.73 68.22,122.20 69.41,117.91 \n C73.09,118.51 76.74,119.06 80.36,119.73 \n C83.67,120.33 85.66,120.26 87.22,116.06 \n C96.19,91.86 113.31,77.04 139.13,73.01 \n C162.04,69.44 181.37,76.33 196.90,93.51 \n C199.93,96.87 202.45,100.74 204.79,104.63 \n C206.07,106.76 206.94,107.32 209.40,106.38 \n C212.69,105.12 216.24,104.44 219.73,103.80 \n C220.98,103.58 222.38,104.19 223.71,104.42 \n C223.71,104.86 223.71,105.29 223.72,105.72 \n C218.54,107.58 213.36,109.43 208.00,111.35 \n C212.07,119.52 219.17,110.88 224.17,115.11 \n C221.41,120.75 214.59,115.81 211.18,119.90 \n C211.36,123.79 214.46,123.98 217.68,124.37 \n C220.48,124.71 223.23,125.53 226.13,126.17 \n C224.53,129.57 224.53,129.57 212.76,127.41 \n C214.08,141.79 212.91,155.47 201.23,166.28 \nz",
|
|
17
17
|
fill: "#55C500",
|
|
18
|
-
opacity: "1.
|
|
18
|
+
opacity: "1.00",
|
|
19
19
|
stroke: "none"
|
|
20
20
|
})]
|
|
21
21
|
});
|
|
@@ -8,7 +8,7 @@ const Twitter = ({ className }) => /* @__PURE__ */ jsx("svg", {
|
|
|
8
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
9
|
children: /* @__PURE__ */ jsx("path", {
|
|
10
10
|
className: "fill-fg-base",
|
|
11
|
-
d: "M714.
|
|
11
|
+
d: "M714.16 519.28L1160.89 0H1055.03L667.14 450.89L357.33 0H0L468.49 681.82L0 1226.37H105.87L515.49 750.22L842.67 1226.37H1200L714.14 519.28H714.16ZM569.16 687.83L521.70 619.93L144.01 79.69H306.62L611.41 515.68L658.88 583.58L1055.08 1150.3H892.48L569.16 687.85V687.83Z"
|
|
12
12
|
})
|
|
13
13
|
});
|
|
14
14
|
const TwitterIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BaseIcon } from "./base.mjs";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/icons/vertical-writing.tsx
|
|
4
|
+
const VerticalWriting = ({ className }) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
className,
|
|
6
|
+
fill: "none",
|
|
7
|
+
stroke: "currentColor",
|
|
8
|
+
strokeLinecap: "round",
|
|
9
|
+
strokeLinejoin: "round",
|
|
10
|
+
strokeWidth: "2",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ jsx("path", { d: "M12 7v14" }),
|
|
15
|
+
/* @__PURE__ */ jsx("path", { d: "M17 8v4" }),
|
|
16
|
+
/* @__PURE__ */ jsx("path", { d: "M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z" }),
|
|
17
|
+
/* @__PURE__ */ jsx("path", { d: "M7 8v4" })
|
|
18
|
+
]
|
|
19
|
+
});
|
|
20
|
+
const VerticalWritingIcon = ({ size = "md" }) => /* @__PURE__ */ jsx(BaseIcon, {
|
|
21
|
+
renderItem: (props) => /* @__PURE__ */ jsx(VerticalWriting, { ...props }),
|
|
22
|
+
size
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { VerticalWritingIcon };
|
|
@@ -35,9 +35,10 @@ import { Textarea } from "./form/textarea/textarea.mjs";
|
|
|
35
35
|
import { ArteOdyssey } from "./icons/arte-odyssey.mjs";
|
|
36
36
|
import { GitHubIcon } from "./icons/github-mark.mjs";
|
|
37
37
|
import { Logo, LogoIcon } from "./icons/logo.mjs";
|
|
38
|
-
import { AIIcon, AccessibilityIcon, AlertIcon, AtomIcon, BadIcon, BlogIcon, BoringIcon, CheckIcon, ChevronIcon, CloseIcon, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, DifficultIcon, EasyIcon, ExternalLinkIcon, FormIcon, GoodIcon, HistoryIcon, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListIcon, LocationIcon, MailIcon, MinusIcon, MixedColorIcon, NavigationMenuIcon, NewsIcon, PaletteIcon, PlusIcon, PrepareIcon, PublishDateIcon, RSSIcon, SendIcon, ShallowIcon, ShieldCheckIcon, SlideIcon, SparklesIcon, SubscribeIcon, TableIcon, TagIcon, UpdateDateIcon, ViewIcon, ViewOffIcon } from "./icons/lucide.mjs";
|
|
38
|
+
import { AIIcon, AccessibilityIcon, AlertIcon, AtomIcon, BadIcon, BlogIcon, BoringIcon, CheckIcon, ChevronIcon, CloseIcon, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, DifficultIcon, EasyIcon, ExternalLinkIcon, FormIcon, GoodIcon, HistoryIcon, HorizontalWritingIcon, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListIcon, LocationIcon, MailIcon, MinusIcon, MixedColorIcon, NavigationMenuIcon, NewsIcon, PaletteIcon, PlusIcon, PrepareIcon, PublishDateIcon, RSSIcon, SendIcon, ShallowIcon, ShieldCheckIcon, SlideIcon, SparklesIcon, SubscribeIcon, TableIcon, TagIcon, UpdateDateIcon, ViewIcon, ViewOffIcon } from "./icons/lucide.mjs";
|
|
39
39
|
import { QiitaIcon } from "./icons/qiita.mjs";
|
|
40
40
|
import { TwitterIcon } from "./icons/twitter.mjs";
|
|
41
|
+
import { VerticalWritingIcon } from "./icons/vertical-writing.mjs";
|
|
41
42
|
import { ScrollLinked } from "./layout/scroll-linked/scroll-linked.mjs";
|
|
42
43
|
import { Separator } from "./layout/separator/separator.mjs";
|
|
43
44
|
import { Anchor } from "./navigation/anchor/anchor.mjs";
|
|
@@ -53,4 +54,4 @@ import { useOpenContext } from "./overlays/popover/hooks.mjs";
|
|
|
53
54
|
import { Popover } from "./overlays/popover/popover.mjs";
|
|
54
55
|
import { ArteOdysseyProvider } from "./providers/arte-odyssey-provider.mjs";
|
|
55
56
|
import { PortalRootProvider, usePortalRoot } from "./providers/portal-root.mjs";
|
|
56
|
-
export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, ArteOdyssey, ArteOdysseyProvider, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BaselineStatus, BlogIcon, BoringIcon, Breadcrumb, Button, Card, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, CloseIcon, Code, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, ExternalLinkIcon, FileField, Form, FormControl, FormIcon, GitHubIcon, GoodIcon, Heading, HistoryIcon, IconButton, InformativeIcon, InteractiveCard, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, ToastProvider, Tooltip, TwitterIcon, UpdateDateIcon, ViewIcon, ViewOffIcon, useOpenContext, usePortalRoot, useToast };
|
|
57
|
+
export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, ArteOdyssey, ArteOdysseyProvider, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BaselineStatus, BlogIcon, BoringIcon, Breadcrumb, Button, Card, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, CloseIcon, Code, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, ExternalLinkIcon, FileField, Form, FormControl, FormIcon, GitHubIcon, GoodIcon, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, InformativeIcon, InteractiveCard, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, ToastProvider, Tooltip, TwitterIcon, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, useOpenContext, usePortalRoot, useToast };
|
|
@@ -4,9 +4,10 @@ import { useToast } from "./feedback/toast/context.mjs";
|
|
|
4
4
|
import { ArteOdyssey } from "./icons/arte-odyssey.mjs";
|
|
5
5
|
import { GitHubIcon } from "./icons/github-mark.mjs";
|
|
6
6
|
import { Logo, LogoIcon } from "./icons/logo.mjs";
|
|
7
|
-
import { AIIcon, AccessibilityIcon, AlertIcon, AtomIcon, BadIcon, BlogIcon, BoringIcon, CheckIcon, ChevronIcon, CloseIcon, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, DifficultIcon, EasyIcon, ExternalLinkIcon, FormIcon, GoodIcon, HistoryIcon, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListIcon, LocationIcon, MailIcon, MinusIcon, MixedColorIcon, NavigationMenuIcon, NewsIcon, PaletteIcon, PlusIcon, PrepareIcon, PublishDateIcon, RSSIcon, SendIcon, ShallowIcon, ShieldCheckIcon, SlideIcon, SparklesIcon, SubscribeIcon, TableIcon, TagIcon, UpdateDateIcon, ViewIcon, ViewOffIcon } from "./icons/lucide.mjs";
|
|
7
|
+
import { AIIcon, AccessibilityIcon, AlertIcon, AtomIcon, BadIcon, BlogIcon, BoringIcon, CheckIcon, ChevronIcon, CloseIcon, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, DifficultIcon, EasyIcon, ExternalLinkIcon, FormIcon, GoodIcon, HistoryIcon, HorizontalWritingIcon, InformativeIcon, InterestingIcon, LightModeIcon, LinkIcon, ListIcon, LocationIcon, MailIcon, MinusIcon, MixedColorIcon, NavigationMenuIcon, NewsIcon, PaletteIcon, PlusIcon, PrepareIcon, PublishDateIcon, RSSIcon, SendIcon, ShallowIcon, ShieldCheckIcon, SlideIcon, SparklesIcon, SubscribeIcon, TableIcon, TagIcon, UpdateDateIcon, ViewIcon, ViewOffIcon } from "./icons/lucide.mjs";
|
|
8
8
|
import { QiitaIcon } from "./icons/qiita.mjs";
|
|
9
9
|
import { TwitterIcon } from "./icons/twitter.mjs";
|
|
10
|
+
import { VerticalWritingIcon } from "./icons/vertical-writing.mjs";
|
|
10
11
|
import { Alert } from "./feedback/alert/alert.mjs";
|
|
11
12
|
import { ToastProvider } from "./feedback/toast/provider.mjs";
|
|
12
13
|
import { ArteOdysseyProvider } from "./providers/arte-odyssey-provider.mjs";
|
|
@@ -53,4 +54,4 @@ import { Modal } from "./overlays/modal/modal.mjs";
|
|
|
53
54
|
import { Drawer } from "./overlays/drawer/drawer.mjs";
|
|
54
55
|
import { DropdownMenu } from "./overlays/dropdown-menu/dropdown-menu.mjs";
|
|
55
56
|
import { ListBox } from "./overlays/list-box/list-box.mjs";
|
|
56
|
-
export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, ArteOdyssey, ArteOdysseyProvider, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BaselineStatus, BlogIcon, BoringIcon, Breadcrumb, Button, Card, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, CloseIcon, Code, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, ExternalLinkIcon, FileField, Form, FormControl, FormIcon, GitHubIcon, GoodIcon, Heading, HistoryIcon, IconButton, InformativeIcon, InteractiveCard, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, ToastProvider, Tooltip, TwitterIcon, UpdateDateIcon, ViewIcon, ViewOffIcon, useOpenContext, usePortalRoot, useToast };
|
|
57
|
+
export { AIIcon, AccessibilityIcon, Accordion, Alert, AlertIcon, Anchor, ArteOdyssey, ArteOdysseyProvider, AtomIcon, Autocomplete, Avatar, BadIcon, Badge, BaselineStatus, BlogIcon, BoringIcon, Breadcrumb, Button, Card, CheckIcon, Checkbox, CheckboxCard, CheckboxGroup, ChevronIcon, CloseIcon, Code, ColorContrastIcon, ColorInfoIcon, CopyIcon, DarkModeIcon, Dialog, DifficultIcon, Drawer, DropdownMenu, EasyIcon, ExternalLinkIcon, FileField, Form, FormControl, FormIcon, GitHubIcon, GoodIcon, Heading, HistoryIcon, HorizontalWritingIcon, IconButton, InformativeIcon, InteractiveCard, InterestingIcon, LightModeIcon, LinkIcon, ListBox, ListIcon, LocationIcon, Logo, LogoIcon, MailIcon, MinusIcon, MixedColorIcon, Modal, NavigationMenuIcon, NewsIcon, NumberField, Pagination, PaletteIcon, PasswordInput, PlusIcon, Popover, PortalRootProvider, PrepareIcon, Progress, PublishDateIcon, QiitaIcon, RSSIcon, Radio, RadioCard, ScrollLinked, Select, SendIcon, Separator, ShallowIcon, ShieldCheckIcon, Skeleton, SlideIcon, Slider, SparklesIcon, Spinner, SubscribeIcon, Switch, Table, TableIcon, Tabs, TagIcon, TextField, Textarea, ToastProvider, Tooltip, TwitterIcon, UpdateDateIcon, VerticalWritingIcon, ViewIcon, ViewOffIcon, useOpenContext, usePortalRoot, useToast };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ExternalLinkIcon } from "../../icons/lucide.mjs";
|
|
2
|
-
import { isInternalRoute } from "../../../helpers/is-internal-route.mjs";
|
|
3
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
3
|
//#region src/components/navigation/anchor/anchor.tsx
|
|
5
4
|
const Anchor = ({ href, children, openInNewTab = false, renderAnchor = ({ children: anchorChildren, ...rest }) => /* @__PURE__ */ jsx("a", {
|
|
6
5
|
...rest,
|
|
7
6
|
children: anchorChildren
|
|
8
7
|
}), ...rest }) => {
|
|
9
|
-
const type =
|
|
8
|
+
const type = !href.startsWith("http") && !openInNewTab ? "internal" : "external";
|
|
10
9
|
const baseClassName = "text-fg-info underline transition-colors hover:text-fg-info/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-info focus-visible:rounded-sm";
|
|
11
10
|
const props = type === "internal" ? {
|
|
12
11
|
className: baseClassName,
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn } from "../../../helpers/cn.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { createSafeContext } from "../../../helpers/create-safe-context.mjs";
|
|
4
|
+
import { useEffect, useId, useMemo, useRef, useState } from "react";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
6
|
import * as motion from "motion/react-client";
|
|
6
7
|
//#region src/components/navigation/tabs/tabs.tsx
|
|
7
|
-
const TabsProvider =
|
|
8
|
-
const useTabsState = () => {
|
|
9
|
-
const context = use(TabsProvider);
|
|
10
|
-
if (!context) throw new Error("useTabsState must be used within a TabsProvider");
|
|
11
|
-
return context;
|
|
12
|
-
};
|
|
8
|
+
const [TabsProvider, useTabsState] = createSafeContext("useTabsState must be used within a TabsProvider");
|
|
13
9
|
const Root = ({ defaultSelectedId = null, ids, children }) => {
|
|
14
10
|
const defaultIndex = defaultSelectedId !== null && defaultSelectedId !== "" ? ids.indexOf(defaultSelectedId) : 0;
|
|
15
11
|
const [selectedId, setSelectedId] = useState(defaultSelectedId ?? ids[defaultIndex] ?? ids[0]);
|
|
@@ -31,12 +27,7 @@ const Root = ({ defaultSelectedId = null, ids, children }) => {
|
|
|
31
27
|
})
|
|
32
28
|
});
|
|
33
29
|
};
|
|
34
|
-
const TabsListProvider =
|
|
35
|
-
const useTabsListState = () => {
|
|
36
|
-
const context = use(TabsListProvider);
|
|
37
|
-
if (!context) throw new Error("useTabListState must be used within a TabListProvider");
|
|
38
|
-
return context;
|
|
39
|
-
};
|
|
30
|
+
const [TabsListProvider, useTabsListState] = createSafeContext("useTabListState must be used within a TabListProvider");
|
|
40
31
|
const List = ({ label, children }) => {
|
|
41
32
|
const { rootId } = useTabsState();
|
|
42
33
|
const setFocusRef = useRef(false);
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { createSafeContext } from "../../../helpers/create-safe-context.mjs";
|
|
2
3
|
import { CloseIcon } from "../../icons/lucide.mjs";
|
|
3
4
|
import { IconButton } from "../../buttons/icon-button/icon-button.mjs";
|
|
4
5
|
import { Heading } from "../../data-display/heading/heading.mjs";
|
|
5
|
-
import {
|
|
6
|
+
import { useId, useMemo } from "react";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
8
|
//#region src/components/overlays/dialog/dialog.tsx
|
|
8
|
-
const DialogContext =
|
|
9
|
-
const useDialogContext = () => {
|
|
10
|
-
const context = use(DialogContext);
|
|
11
|
-
if (context === null) throw new Error("useDialogContext must be used within a DialogProvider");
|
|
12
|
-
return context;
|
|
13
|
-
};
|
|
9
|
+
const [DialogContext, useDialogContext] = createSafeContext("useDialogContext must be used within a DialogProvider");
|
|
14
10
|
const Root = ({ ref, id, children, tabIndex, role = "dialog" }) => {
|
|
15
11
|
const fallbackId = useId();
|
|
16
12
|
const rootId = id ?? fallbackId;
|
|
@@ -9,8 +9,7 @@ type MenuContext = {
|
|
|
9
9
|
getContentProps: (userProps?: HTMLProps<HTMLElement>) => HTMLAttributes<HTMLElement>;
|
|
10
10
|
getItemProps: (userProps?: Omit<HTMLProps<HTMLButtonElement>, 'selected' | 'active'>) => HTMLAttributes<HTMLElement>;
|
|
11
11
|
};
|
|
12
|
-
declare const
|
|
13
|
-
declare const MenuContextProvider: _$react.Context<MenuContext | null>;
|
|
12
|
+
declare const MenuContextProvider: _$react.Context<MenuContext | null>, useMenuContext: () => MenuContext;
|
|
14
13
|
declare const useMenuContent: () => {
|
|
15
14
|
contentProps: HTMLAttributes<HTMLElement>;
|
|
16
15
|
itemElementsRef: RefObject<(HTMLElement | null)[]>;
|
|
@@ -304,4 +303,4 @@ declare const useMenuItem: ({
|
|
|
304
303
|
};
|
|
305
304
|
declare const useMenuTrigger: () => (userProps?: HTMLProps<HTMLElement>) => HTMLAttributes<HTMLElement>;
|
|
306
305
|
//#endregion
|
|
307
|
-
export { MenuContextProvider, useMenuContent, useMenuItem, useMenuTrigger };
|
|
306
|
+
export { MenuContextProvider, useMenuContent, useMenuContext, useMenuItem, useMenuTrigger };
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { createSafeContext } from "../../../helpers/create-safe-context.mjs";
|
|
2
3
|
import { useOpenContext } from "../popover/hooks.mjs";
|
|
3
|
-
import {
|
|
4
|
+
import { useMemo } from "react";
|
|
4
5
|
import { useListItem } from "@floating-ui/react";
|
|
5
6
|
//#region src/components/overlays/dropdown-menu/hooks.ts
|
|
6
|
-
const
|
|
7
|
-
const MenuContextProvider = MenuContext;
|
|
8
|
-
const useMenuContext = () => {
|
|
9
|
-
const menu = use(MenuContext);
|
|
10
|
-
if (!menu) throw new Error("useMenuContext must be used within a DropdownMenu.Root");
|
|
11
|
-
return menu;
|
|
12
|
-
};
|
|
7
|
+
const [MenuContextProvider, useMenuContext] = createSafeContext("useMenuContext must be used within a DropdownMenu.Root");
|
|
13
8
|
const useMenuContent = () => {
|
|
14
9
|
const menu = useMenuContext();
|
|
15
10
|
return useMemo(() => ({
|
|
@@ -42,4 +37,4 @@ const useMenuTrigger = () => {
|
|
|
42
37
|
return useMemo(() => menu.getTriggerProps, [menu]);
|
|
43
38
|
};
|
|
44
39
|
//#endregion
|
|
45
|
-
export { MenuContextProvider, useMenuContent, useMenuItem, useMenuTrigger };
|
|
40
|
+
export { MenuContextProvider, useMenuContent, useMenuContext, useMenuItem, useMenuTrigger };
|
|
@@ -16,7 +16,6 @@ type MenuContext = {
|
|
|
16
16
|
getContentProps: (userProps?: HTMLProps<HTMLElement>) => HTMLAttributes<HTMLElement>;
|
|
17
17
|
getItemProps: (userProps?: Omit<HTMLProps<HTMLElement>, 'selected' | 'active'>) => HTMLAttributes<HTMLElement>;
|
|
18
18
|
};
|
|
19
|
-
declare const MenuContext: _$react.Context<MenuContext | null>;
|
|
20
19
|
declare const MenuContextProvider: _$react.Context<MenuContext | null>;
|
|
21
20
|
declare const useMenuContent: () => {
|
|
22
21
|
options: Option[];
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { createSafeContext } from "../../../helpers/create-safe-context.mjs";
|
|
2
3
|
import { useOpenContext } from "../popover/hooks.mjs";
|
|
3
|
-
import {
|
|
4
|
+
import { useMemo } from "react";
|
|
4
5
|
import { useListItem } from "@floating-ui/react";
|
|
5
6
|
//#region src/components/overlays/list-box/hooks.ts
|
|
6
|
-
const
|
|
7
|
-
const MenuContextProvider = MenuContext;
|
|
8
|
-
const useMenuContext = () => {
|
|
9
|
-
const menu = use(MenuContext);
|
|
10
|
-
if (!menu) throw new Error("useMenuContext must be used within a DropdownMenu.Root");
|
|
11
|
-
return menu;
|
|
12
|
-
};
|
|
7
|
+
const [MenuContextProvider, useMenuContext] = createSafeContext("useMenuContext must be used within a ListBox.Root");
|
|
13
8
|
const useMenuContent = () => {
|
|
14
9
|
const menu = useMenuContext();
|
|
15
10
|
return useMemo(() => ({
|
|
@@ -19,9 +19,7 @@ type PopoverContext = {
|
|
|
19
19
|
setContentRef: (node: HTMLElement | null) => void;
|
|
20
20
|
contentStyles: CSSProperties;
|
|
21
21
|
};
|
|
22
|
-
declare const
|
|
23
|
-
declare const PopoverProvider: _$react.Context<PopoverContext | null>;
|
|
24
|
-
declare const usePopoverContext: () => PopoverContext;
|
|
22
|
+
declare const PopoverProvider: _$react.Context<PopoverContext | null>, usePopoverContext: () => PopoverContext;
|
|
25
23
|
declare const useFloatingUIContext: () => FloatingContext;
|
|
26
24
|
declare const usePlacement: () => Placement;
|
|
27
25
|
declare const useOpenContext: () => {
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { createSafeContext } from "../../../helpers/create-safe-context.mjs";
|
|
2
3
|
import { useClickAway } from "../../../hooks/click-away/index.mjs";
|
|
3
|
-
import {
|
|
4
|
+
import { useMemo, useRef } from "react";
|
|
4
5
|
//#region src/components/overlays/popover/hooks.ts
|
|
5
|
-
const
|
|
6
|
-
const PopoverProvider = PopoverContext;
|
|
7
|
-
const usePopoverContext = () => {
|
|
8
|
-
const popover = use(PopoverContext);
|
|
9
|
-
if (!popover) throw new Error("usePopoverContext must be used within a Popover.Root");
|
|
10
|
-
return popover;
|
|
11
|
-
};
|
|
6
|
+
const [PopoverProvider, usePopoverContext] = createSafeContext("usePopoverContext must be used within a Popover.Root");
|
|
12
7
|
const useFloatingUIContext = () => {
|
|
13
8
|
const popover = usePopoverContext();
|
|
14
9
|
return useMemo(() => popover.context, [popover]);
|