@okam/stack-ui 1.25.4 → 1.26.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/components/DirectusImg/interface.d.ts +3 -0
- package/index.js +1 -110
- package/index.mjs +165 -12753
- package/index10.js +2 -0
- package/index10.mjs +92 -0
- package/index100.js +1 -0
- package/index100.mjs +67 -0
- package/index101.js +1 -0
- package/index101.mjs +144 -0
- package/index102.js +1 -0
- package/index102.mjs +122 -0
- package/index103.js +1 -0
- package/index103.mjs +220 -0
- package/index104.js +1 -0
- package/index104.mjs +177 -0
- package/index105.js +1 -0
- package/index105.mjs +129 -0
- package/index106.js +1 -0
- package/index106.mjs +243 -0
- package/index107.js +1 -0
- package/index107.mjs +6 -0
- package/index108.js +1 -0
- package/index108.mjs +13 -0
- package/index109.js +1 -0
- package/index109.mjs +16 -0
- package/index11.js +2 -0
- package/index11.mjs +75 -0
- package/index110.js +1 -0
- package/index110.mjs +25 -0
- package/index111.js +1 -0
- package/index111.mjs +25 -0
- package/index112.js +1 -0
- package/index112.mjs +41 -0
- package/index113.js +2 -0
- package/index113.mjs +15 -0
- package/index114.js +1 -0
- package/index114.mjs +10 -0
- package/index115.js +1 -0
- package/index115.mjs +24 -0
- package/index116.js +1 -0
- package/index116.mjs +41 -0
- package/index117.js +1 -0
- package/index117.mjs +52 -0
- package/index118.js +1 -0
- package/index118.mjs +43 -0
- package/index119.js +1 -0
- package/index119.mjs +16 -0
- package/index12.js +1 -0
- package/index12.mjs +19 -0
- package/index120.js +1 -0
- package/index120.mjs +28 -0
- package/index121.js +1 -0
- package/index121.mjs +22 -0
- package/index122.js +1 -0
- package/index122.mjs +11 -0
- package/index123.js +1 -0
- package/index123.mjs +32 -0
- package/index124.js +1 -0
- package/index124.mjs +17 -0
- package/index125.js +1 -0
- package/index125.mjs +19 -0
- package/index126.js +1 -0
- package/index126.mjs +7 -0
- package/index127.js +1 -0
- package/index127.mjs +23 -0
- package/index128.js +1 -0
- package/index128.mjs +13 -0
- package/index129.js +1 -0
- package/index129.mjs +106 -0
- package/index13.js +2 -0
- package/index13.mjs +22 -0
- package/index130.js +1 -0
- package/index130.mjs +44 -0
- package/index131.js +2 -0
- package/index131.mjs +24 -0
- package/index132.js +1 -0
- package/index132.mjs +14 -0
- package/index133.js +1 -0
- package/index133.mjs +23 -0
- package/index134.js +1 -0
- package/index134.mjs +53 -0
- package/index135.js +1 -0
- package/index135.mjs +29 -0
- package/index136.js +1 -0
- package/index136.mjs +27 -0
- package/index137.js +1 -0
- package/index137.mjs +48 -0
- package/index138.js +2 -0
- package/index138.mjs +14 -0
- package/index14.js +2 -0
- package/index14.mjs +21 -0
- package/index141.js +1 -0
- package/index141.mjs +44 -0
- package/index142.js +1 -0
- package/index142.mjs +31 -0
- package/index143.js +1 -0
- package/index143.mjs +202 -0
- package/index144.js +1 -0
- package/index144.mjs +193 -0
- package/index145.js +1 -0
- package/index145.mjs +72 -0
- package/index146.js +1 -0
- package/index146.mjs +261 -0
- package/index147.js +1 -0
- package/index147.mjs +100 -0
- package/index148.js +1 -0
- package/index148.mjs +87 -0
- package/index149.js +1 -0
- package/index149.mjs +61 -0
- package/index15.js +2 -0
- package/index15.mjs +88 -0
- package/index150.js +1 -0
- package/index150.mjs +119 -0
- package/index151.js +1 -0
- package/index151.mjs +125 -0
- package/index152.js +1 -0
- package/index152.mjs +75 -0
- package/index153.js +1 -0
- package/index153.mjs +113 -0
- package/index154.js +1 -0
- package/index154.mjs +55 -0
- package/index155.js +1 -0
- package/index155.mjs +96 -0
- package/index156.js +1 -0
- package/index156.mjs +73 -0
- package/index157.js +1 -0
- package/index157.mjs +59 -0
- package/index158.js +1 -0
- package/index158.mjs +102 -0
- package/index159.js +5 -0
- package/index159.mjs +83 -0
- package/index16.js +2 -0
- package/index16.mjs +35 -0
- package/index160.js +1 -0
- package/index160.mjs +2014 -0
- package/index161.js +1 -0
- package/index161.mjs +62 -0
- package/index162.js +1 -0
- package/index162.mjs +191 -0
- package/index163.js +1 -0
- package/index163.mjs +8 -0
- package/index164.js +4 -0
- package/index164.mjs +249 -0
- package/index165.js +1 -0
- package/index165.mjs +33 -0
- package/index166.js +1 -0
- package/index166.mjs +64 -0
- package/index167.js +1 -0
- package/index167.mjs +97 -0
- package/index168.js +1 -0
- package/index168.mjs +34 -0
- package/index169.js +1 -0
- package/index169.mjs +133 -0
- package/index17.js +2 -0
- package/index17.mjs +37 -0
- package/index170.js +1 -0
- package/index170.mjs +182 -0
- package/index171.js +1 -0
- package/index171.mjs +12 -0
- package/index172.js +1 -0
- package/index172.mjs +6 -0
- package/index173.js +1 -0
- package/index173.mjs +39 -0
- package/index174.js +1 -0
- package/index174.mjs +8 -0
- package/index175.js +1 -0
- package/index175.mjs +32 -0
- package/index176.js +1 -0
- package/index176.mjs +9 -0
- package/index177.js +1 -0
- package/index177.mjs +124 -0
- package/index178.js +1 -0
- package/index178.mjs +30 -0
- package/index179.js +1 -0
- package/index179.mjs +127 -0
- package/index18.js +2 -0
- package/index18.mjs +35 -0
- package/index180.js +1 -0
- package/index180.mjs +137 -0
- package/index181.js +1 -0
- package/index181.mjs +17 -0
- package/index182.js +1 -0
- package/index182.mjs +98 -0
- package/index183.js +1 -0
- package/index183.mjs +109 -0
- package/index184.js +1 -0
- package/index184.mjs +8 -0
- package/index185.js +1 -0
- package/index185.mjs +6 -0
- package/index186.js +1 -0
- package/index186.mjs +128 -0
- package/index187.js +1 -0
- package/index187.mjs +32 -0
- package/index188.js +1 -0
- package/index188.mjs +54 -0
- package/index189.js +1 -0
- package/index189.mjs +47 -0
- package/index19.js +2 -0
- package/index19.mjs +38 -0
- package/index190.js +1 -0
- package/index190.mjs +40 -0
- package/index191.js +1 -0
- package/index191.mjs +116 -0
- package/index192.js +1 -0
- package/index192.mjs +80 -0
- package/index193.js +1 -0
- package/index193.mjs +104 -0
- package/index194.js +1 -0
- package/index194.mjs +100 -0
- package/index195.js +1 -0
- package/index195.mjs +4 -0
- package/index196.js +1 -0
- package/index196.mjs +8 -0
- package/index197.js +1 -0
- package/index197.mjs +67 -0
- package/index198.js +1 -0
- package/index198.mjs +29 -0
- package/index199.js +1 -0
- package/index199.mjs +57 -0
- package/index2.js +2 -0
- package/index2.mjs +149 -0
- package/index20.js +2 -0
- package/index20.mjs +73 -0
- package/index200.js +1 -0
- package/index200.mjs +158 -0
- package/index201.js +1 -0
- package/index201.mjs +25 -0
- package/index202.js +1 -0
- package/index202.mjs +22 -0
- package/index203.js +1 -0
- package/index203.mjs +42 -0
- package/index204.js +1 -0
- package/index204.mjs +85 -0
- package/index205.js +1 -0
- package/index205.mjs +33 -0
- package/index206.js +1 -0
- package/index206.mjs +24 -0
- package/index207.js +1 -0
- package/index207.mjs +63 -0
- package/index208.js +1 -0
- package/index208.mjs +4 -0
- package/index209.js +11 -0
- package/index209.mjs +118 -0
- package/index21.js +2 -0
- package/index21.mjs +70 -0
- package/index210.js +1 -0
- package/index210.mjs +4 -0
- package/index211.js +1 -0
- package/index211.mjs +8 -0
- package/index212.js +1 -0
- package/index212.mjs +4 -0
- package/index213.js +1 -0
- package/index213.mjs +55 -0
- package/index214.js +1 -0
- package/index214.mjs +23 -0
- package/index215.js +1 -0
- package/index215.mjs +26 -0
- package/index216.js +1 -0
- package/index216.mjs +29 -0
- package/index217.js +1 -0
- package/index217.mjs +49 -0
- package/index218.js +1 -0
- package/index218.mjs +4 -0
- package/index219.js +1 -0
- package/index219.mjs +23 -0
- package/index22.js +2 -0
- package/index22.mjs +56 -0
- package/index220.js +1 -0
- package/index220.mjs +4 -0
- package/index221.js +1 -0
- package/index221.mjs +31 -0
- package/index222.js +1 -0
- package/index222.mjs +4 -0
- package/index223.js +1 -0
- package/index223.mjs +4 -0
- package/index224.js +1 -0
- package/index224.mjs +25 -0
- package/index225.js +1 -0
- package/index225.mjs +4 -0
- package/index226.js +1 -0
- package/index226.mjs +4 -0
- package/index227.js +1 -0
- package/index227.mjs +4 -0
- package/index228.js +1 -0
- package/index228.mjs +40 -0
- package/index229.js +1 -0
- package/index229.mjs +4 -0
- package/index23.js +2 -0
- package/index23.mjs +60 -0
- package/index230.js +1 -0
- package/index230.mjs +23 -0
- package/index231.js +1 -0
- package/index231.mjs +25 -0
- package/index232.js +1 -0
- package/index232.mjs +4 -0
- package/index233.js +1 -0
- package/index233.mjs +25 -0
- package/index234.js +1 -0
- package/index234.mjs +4 -0
- package/index235.js +1 -0
- package/index235.mjs +316 -0
- package/index236.js +1 -0
- package/index236.mjs +195 -0
- package/index237.js +1 -0
- package/index237.mjs +11 -0
- package/index238.js +1 -0
- package/index238.mjs +29 -0
- package/index239.js +1 -0
- package/index239.mjs +58 -0
- package/index24.js +2 -0
- package/index24.mjs +23 -0
- package/index240.js +1 -0
- package/index240.mjs +49 -0
- package/index241.js +1 -0
- package/index241.mjs +127 -0
- package/index242.js +1 -0
- package/index242.mjs +8 -0
- package/index243.js +1 -0
- package/index243.mjs +4 -0
- package/index244.js +1 -0
- package/index244.mjs +4 -0
- package/index245.js +1 -0
- package/index245.mjs +4 -0
- package/index246.js +1 -0
- package/index246.mjs +20 -0
- package/index247.js +1 -0
- package/index247.mjs +29 -0
- package/index248.js +1 -0
- package/index248.mjs +4 -0
- package/index249.js +1 -0
- package/index249.mjs +91 -0
- package/index25.js +2 -0
- package/index25.mjs +53 -0
- package/index250.js +1 -0
- package/index250.mjs +22 -0
- package/index251.js +1 -0
- package/index251.mjs +4 -0
- package/index252.js +1 -0
- package/index252.mjs +40 -0
- package/index253.js +1 -0
- package/index253.mjs +139 -0
- package/index254.js +1 -0
- package/index254.mjs +4 -0
- package/index255.js +1 -0
- package/index255.mjs +25 -0
- package/index256.js +1 -0
- package/index256.mjs +4 -0
- package/index257.js +1 -0
- package/index257.mjs +4 -0
- package/index258.js +1 -0
- package/index258.mjs +4 -0
- package/index259.js +1 -0
- package/index259.mjs +4 -0
- package/index26.js +2 -0
- package/index26.mjs +20 -0
- package/index260.js +1 -0
- package/index260.mjs +25 -0
- package/index261.js +1 -0
- package/index261.mjs +4 -0
- package/index262.js +1 -0
- package/index262.mjs +28 -0
- package/index263.js +1 -0
- package/index263.mjs +4 -0
- package/index264.js +1 -0
- package/index264.mjs +4 -0
- package/index265.js +1 -0
- package/index265.mjs +4 -0
- package/index266.js +1 -0
- package/index266.mjs +4 -0
- package/index267.js +1 -0
- package/index267.mjs +4 -0
- package/index268.js +1 -0
- package/index268.mjs +74 -0
- package/index269.js +1 -0
- package/index269.mjs +4 -0
- package/index27.js +2 -0
- package/index27.mjs +36 -0
- package/index270.js +1 -0
- package/index270.mjs +4 -0
- package/index271.js +1 -0
- package/index271.mjs +21 -0
- package/index272.js +1 -0
- package/index272.mjs +4 -0
- package/index273.js +1 -0
- package/index273.mjs +4 -0
- package/index274.js +1 -0
- package/index274.mjs +4 -0
- package/index275.js +1 -0
- package/index275.mjs +31 -0
- package/index276.js +1 -0
- package/index276.mjs +9 -0
- package/index277.js +1 -0
- package/index277.mjs +10 -0
- package/index278.js +1 -0
- package/index278.mjs +10 -0
- package/index279.js +1 -0
- package/index279.mjs +4 -0
- package/index28.js +2 -0
- package/index28.mjs +27 -0
- package/index280.js +1 -0
- package/index280.mjs +39 -0
- package/index281.js +1 -0
- package/index281.mjs +4 -0
- package/index282.js +1 -0
- package/index282.mjs +7 -0
- package/index283.js +1 -0
- package/index283.mjs +8 -0
- package/index284.js +1 -0
- package/index284.mjs +12 -0
- package/index285.js +1 -0
- package/index285.mjs +4 -0
- package/index286.js +1 -0
- package/index286.mjs +20 -0
- package/index287.js +1 -0
- package/index287.mjs +33 -0
- package/index288.js +1 -0
- package/index288.mjs +4 -0
- package/index289.js +1 -0
- package/index289.mjs +4 -0
- package/index29.js +2 -0
- package/index29.mjs +11 -0
- package/index3.js +2 -0
- package/index3.mjs +22 -0
- package/index30.js +2 -0
- package/index30.mjs +35 -0
- package/index31.js +2 -0
- package/index31.mjs +36 -0
- package/index32.js +2 -0
- package/index32.mjs +106 -0
- package/index33.js +2 -0
- package/index33.mjs +12 -0
- package/index34.js +2 -0
- package/index34.mjs +49 -0
- package/index35.js +2 -0
- package/index35.mjs +21 -0
- package/index36.js +1 -0
- package/index36.mjs +9 -0
- package/index37.js +1 -0
- package/index37.mjs +49 -0
- package/index38.js +1 -0
- package/index38.mjs +27 -0
- package/index39.js +1 -0
- package/index39.mjs +7 -0
- package/index4.js +2 -0
- package/index4.mjs +25 -0
- package/index40.js +1 -0
- package/index40.mjs +10 -0
- package/index41.js +1 -0
- package/index41.mjs +10 -0
- package/index42.js +1 -0
- package/index42.mjs +7 -0
- package/index43.js +1 -0
- package/index43.mjs +7 -0
- package/index44.js +1 -0
- package/index44.mjs +7 -0
- package/index45.js +1 -0
- package/index45.mjs +7 -0
- package/index46.js +1 -0
- package/index46.mjs +13 -0
- package/index47.js +1 -0
- package/index47.mjs +15 -0
- package/index48.js +1 -0
- package/index48.mjs +15 -0
- package/index49.js +1 -0
- package/index49.mjs +48 -0
- package/index5.js +1 -0
- package/index5.mjs +34 -0
- package/index50.js +1 -0
- package/index50.mjs +10 -0
- package/index51.js +1 -0
- package/index51.mjs +73 -0
- package/index52.js +1 -0
- package/index52.mjs +10 -0
- package/index53.js +1 -0
- package/index53.mjs +15 -0
- package/index54.js +1 -0
- package/index54.mjs +12 -0
- package/index55.js +1 -0
- package/index55.mjs +19 -0
- package/index56.js +1 -0
- package/index56.mjs +15 -0
- package/index57.js +1 -0
- package/index57.mjs +15 -0
- package/index58.js +1 -0
- package/index58.mjs +15 -0
- package/index59.js +1 -0
- package/index59.mjs +13 -0
- package/index6.js +2 -0
- package/index6.mjs +60 -0
- package/index60.js +1 -0
- package/index60.mjs +13 -0
- package/index61.js +1 -0
- package/index61.mjs +15 -0
- package/index62.js +1 -0
- package/index62.mjs +16 -0
- package/index63.js +2 -0
- package/index63.mjs +25 -0
- package/index64.js +2 -0
- package/index64.mjs +19 -0
- package/index65.js +2 -0
- package/index65.mjs +17 -0
- package/index66.js +2 -0
- package/index66.mjs +44 -0
- package/index67.js +2 -0
- package/index67.mjs +41 -0
- package/index68.js +2 -0
- package/index68.mjs +15 -0
- package/index69.js +2 -0
- package/index69.mjs +14 -0
- package/index7.js +2 -0
- package/index7.mjs +86 -0
- package/index70.js +2 -0
- package/index70.mjs +17 -0
- package/index71.js +1 -0
- package/index71.mjs +4 -0
- package/index72.js +2 -0
- package/index72.mjs +11 -0
- package/index73.js +2 -0
- package/index73.mjs +10 -0
- package/index74.js +2 -0
- package/index74.mjs +10 -0
- package/index75.js +2 -0
- package/index75.mjs +10 -0
- package/index76.js +1 -0
- package/index76.mjs +27 -0
- package/index77.js +1 -0
- package/index77.mjs +4 -0
- package/index78.js +6 -0
- package/index78.mjs +96 -0
- package/index79.js +1 -0
- package/index79.mjs +71 -0
- package/index8.js +2 -0
- package/index8.mjs +27 -0
- package/index80.js +1 -0
- package/index80.mjs +43 -0
- package/index81.js +42 -0
- package/index81.mjs +72 -0
- package/index82.js +1 -0
- package/index82.mjs +161 -0
- package/index83.js +1 -0
- package/index83.mjs +24 -0
- package/index84.js +1 -0
- package/index84.mjs +47 -0
- package/index85.js +1 -0
- package/index85.mjs +15 -0
- package/index86.js +1 -0
- package/index86.mjs +37 -0
- package/index87.js +1 -0
- package/index87.mjs +8 -0
- package/index88.js +12 -0
- package/index88.mjs +42 -0
- package/index89.js +1 -0
- package/index89.mjs +31 -0
- package/index9.js +2 -0
- package/index9.mjs +64 -0
- package/index90.js +1 -0
- package/index90.mjs +15 -0
- package/index91.js +7 -0
- package/index91.mjs +21 -0
- package/index92.js +15 -0
- package/index92.mjs +73 -0
- package/index93.js +1 -0
- package/index93.mjs +9 -0
- package/index94.js +16 -0
- package/index94.mjs +27 -0
- package/index95.js +1 -0
- package/index95.mjs +44 -0
- package/index96.js +1 -0
- package/index96.mjs +47 -0
- package/index97.js +1 -0
- package/index97.mjs +50 -0
- package/index98.js +1 -0
- package/index98.mjs +19 -0
- package/index99.js +2 -0
- package/index99.mjs +24 -0
- package/package.json +1 -1
package/index7.mjs
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as i, jsxs as A } from "react/jsx-runtime";
|
|
3
|
+
import { useState as C } from "react";
|
|
4
|
+
import { FocusScope as T, useFocusManager as I } from "react-aria";
|
|
5
|
+
import b from "./index64.mjs";
|
|
6
|
+
import K, { ButtonWithForwardRef as L } from "./index6.mjs";
|
|
7
|
+
import N from "./index13.mjs";
|
|
8
|
+
const $ = (w) => {
|
|
9
|
+
const { sharingLinksList: f, id: k, isOpen: h, setIsOpen: D, onShare: m, themeName: l = "shareButton", tokens: a, customTheme: c } = w, y = b(`${l}.linksList`, { ...a, isOpen: h }, c), e = I();
|
|
10
|
+
return /* @__PURE__ */ i("div", { className: y, id: k, role: "listbox", tabIndex: -1, onKeyDown: (o) => {
|
|
11
|
+
o.key === "Escape" && D(!1);
|
|
12
|
+
const { listDirection: u } = a ?? {};
|
|
13
|
+
u === "row" && (o.key === "ArrowRight" && (e == null || e.focusNext({ wrap: !0 }), o.preventDefault()), o.key === "ArrowLeft" && (e == null || e.focusPrevious({ wrap: !0 }), o.preventDefault())), u === "column" && (o.key === "ArrowDown" && (e == null || e.focusNext({ wrap: !0 }), o.preventDefault()), o.key === "ArrowUp" && (e == null || e.focusPrevious({ wrap: !0 }), o.preventDefault()));
|
|
14
|
+
}, children: f == null ? void 0 : f.map((o) => {
|
|
15
|
+
const { ariaLabel: u, onClick: d, href: t, icon: r, key: n } = o;
|
|
16
|
+
return /* @__PURE__ */ i(
|
|
17
|
+
K,
|
|
18
|
+
{
|
|
19
|
+
themeName: `${l}.link`,
|
|
20
|
+
tokens: { ...a, isOpen: h },
|
|
21
|
+
handlePress: () => {
|
|
22
|
+
m == null || m(n), d == null || d(n);
|
|
23
|
+
},
|
|
24
|
+
"aria-label": u,
|
|
25
|
+
...t ? { href: t, rel: "noopener noreferrer", target: "_blank", as: "a" } : {},
|
|
26
|
+
role: "option",
|
|
27
|
+
children: /* @__PURE__ */ i(N, { themeName: `${l}.linkIcons`, icon: r })
|
|
28
|
+
},
|
|
29
|
+
n
|
|
30
|
+
);
|
|
31
|
+
}) });
|
|
32
|
+
}, j = (w) => {
|
|
33
|
+
const {
|
|
34
|
+
ariaLabel: f,
|
|
35
|
+
icon: k,
|
|
36
|
+
id: h,
|
|
37
|
+
sharingLinksList: D,
|
|
38
|
+
onShare: m,
|
|
39
|
+
customTheme: l,
|
|
40
|
+
themeName: a = "shareButton",
|
|
41
|
+
tokens: c,
|
|
42
|
+
...y
|
|
43
|
+
} = w, [e, p] = C(!1), o = b(`${a}.container`, c, l), u = (t) => {
|
|
44
|
+
p(!e), !e && setTimeout(() => {
|
|
45
|
+
var n, s;
|
|
46
|
+
const r = (s = (n = t.target.parentElement) == null ? void 0 : n.lastChild) == null ? void 0 : s.firstChild;
|
|
47
|
+
r == null || r.focus();
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
return /* @__PURE__ */ i(T, { autoFocus: !0, restoreFocus: !0, contain: e, children: /* @__PURE__ */ A("div", { className: o, onKeyDown: (t) => {
|
|
51
|
+
const r = t.currentTarget.firstChild, n = t.currentTarget.lastChild, s = n.firstChild, v = n.lastChild, { listDirection: x } = c ?? {};
|
|
52
|
+
x === "row" && (t.key === "ArrowRight" && t.target === r && (s == null || s.focus(), t.preventDefault()), t.key === "ArrowLeft" && t.target === r && (v.focus(), t.preventDefault())), x === "column" && (t.key === "ArrowDown" && t.target === r && (s == null || s.focus(), t.preventDefault()), t.key === "ArrowUp" && t.target === r && (v.focus(), t.preventDefault())), t.key === "Escape" && (p(!1), r == null || r.focus()), document.activeElement === n && (r == null || r.focus());
|
|
53
|
+
}, children: [
|
|
54
|
+
/* @__PURE__ */ i(
|
|
55
|
+
L,
|
|
56
|
+
{
|
|
57
|
+
themeName: `${a}.button`,
|
|
58
|
+
tokens: { ...c, isOpen: e },
|
|
59
|
+
"aria-label": f,
|
|
60
|
+
"aria-haspopup": "listbox",
|
|
61
|
+
"aria-expanded": e ? "true" : "false",
|
|
62
|
+
"aria-controls": "share-buttons",
|
|
63
|
+
handlePress: u,
|
|
64
|
+
...y,
|
|
65
|
+
children: /* @__PURE__ */ i(N, { themeName: `${a}.icon`, icon: k ?? "Share" })
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
e && /* @__PURE__ */ i(
|
|
69
|
+
$,
|
|
70
|
+
{
|
|
71
|
+
id: h,
|
|
72
|
+
sharingLinksList: D,
|
|
73
|
+
onShare: m,
|
|
74
|
+
isOpen: e,
|
|
75
|
+
setIsOpen: p,
|
|
76
|
+
themeName: a,
|
|
77
|
+
customTheme: l,
|
|
78
|
+
tokens: c
|
|
79
|
+
}
|
|
80
|
+
)
|
|
81
|
+
] }) });
|
|
82
|
+
};
|
|
83
|
+
export {
|
|
84
|
+
$ as IconsContainer,
|
|
85
|
+
j as default
|
|
86
|
+
};
|
package/index70.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),i=require("./index131.js"),t=require("react"),[l,s]=i.default();function S(u){const{userQuery:o,children:a}=u,[e,r]=t.useState(o),c=t.useMemo(()=>({userSearchQuery:e,setUserSearchQuery:r}),[e,r]);return n.jsx(s,{value:c,children:a})}exports.SearchBarProvider=S;exports.SearchProvider=s;exports.useUserQueryValHook=l;
|
package/index70.mjs
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
3
|
+
import c from "./index131.mjs";
|
|
4
|
+
import { useState as n, useMemo as i } from "react";
|
|
5
|
+
const [f, m] = c();
|
|
6
|
+
function p(o) {
|
|
7
|
+
const { userQuery: s, children: t } = o, [r, e] = n(s), u = i(
|
|
8
|
+
() => ({ userSearchQuery: r, setUserSearchQuery: e }),
|
|
9
|
+
[r, e]
|
|
10
|
+
);
|
|
11
|
+
return /* @__PURE__ */ a(m, { value: u, children: t });
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
p as SearchBarProvider,
|
|
15
|
+
m as SearchProvider,
|
|
16
|
+
f as useUserQueryValHook
|
|
17
|
+
};
|
package/index71.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=(t,e,m="sharing_tool")=>`?utm_source=${t}&utm_medium=${e}&utm_campaign=${m}`;module.exports=s;
|
package/index71.mjs
ADDED
package/index72.js
ADDED
package/index72.mjs
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useState as o, useEffect as w } from "react";
|
|
3
|
+
const s = () => {
|
|
4
|
+
const [t, e] = o(), [n, i] = o();
|
|
5
|
+
return w(() => {
|
|
6
|
+
e(window.location.href), i(window.document.title);
|
|
7
|
+
}, []), { windowLocation: t, windowTitle: n };
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
s as default
|
|
11
|
+
};
|
package/index73.js
ADDED
package/index73.mjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import a from "./index71.mjs";
|
|
3
|
+
import l from "./index72.mjs";
|
|
4
|
+
const m = (o, t, r) => {
|
|
5
|
+
const { windowLocation: e, windowTitle: n } = l(), s = r ?? e, c = a(o, t);
|
|
6
|
+
return `https://www.facebook.com/sharer.php?u=${`${s}${c}`}&t=${n}`;
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
m as default
|
|
10
|
+
};
|
package/index74.js
ADDED
package/index74.mjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import l from "./index71.mjs";
|
|
3
|
+
import c from "./index72.mjs";
|
|
4
|
+
const d = (o, t, r) => {
|
|
5
|
+
const { windowLocation: n, windowTitle: e } = c(), i = r ?? n, s = l(o, t), a = `${i}${s}`;
|
|
6
|
+
return `mailto:?to=&body=${e}%20${a}`;
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
d as default
|
|
10
|
+
};
|
package/index75.js
ADDED
package/index75.mjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import c from "./index71.mjs";
|
|
3
|
+
import i from "./index72.mjs";
|
|
4
|
+
const a = (t, e, r) => {
|
|
5
|
+
const { windowLocation: o } = i(), n = r ?? o, s = c(t, e);
|
|
6
|
+
return `https://twitter.com/intent/tweet?text=${`${n}${s}`}`;
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
a as default
|
|
10
|
+
};
|
package/index76.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const f=require("react-stately");function S(c){const{children:e,defaultSelectedKeys:a,selectionMode:d="single",selectedKeys:s,onSelectionChange:l,...o}=c,u=Array.isArray(e)?e:[e],r=a??u.reduce((t,i)=>{const{props:y,key:n}=i,{defaultOpen:p}=y??{};return!p||!n||t.push(n),t},[]);return f.useTreeState({children:e,selectionMode:d,defaultExpandedKeys:r,defaultSelectedKeys:r,expandedKeys:s,selectedKeys:s,onSelectionChange:l,...o})}module.exports=S;
|
package/index76.mjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { useTreeState as y } from "react-stately";
|
|
2
|
+
function h(d) {
|
|
3
|
+
const {
|
|
4
|
+
children: e,
|
|
5
|
+
defaultSelectedKeys: a,
|
|
6
|
+
selectionMode: c = "single",
|
|
7
|
+
selectedKeys: r,
|
|
8
|
+
onSelectionChange: o,
|
|
9
|
+
...l
|
|
10
|
+
} = d, u = Array.isArray(e) ? e : [e], s = a ?? u.reduce((t, i) => {
|
|
11
|
+
const { props: f, key: n } = i, { defaultOpen: p } = f ?? {};
|
|
12
|
+
return !p || !n || t.push(n), t;
|
|
13
|
+
}, []);
|
|
14
|
+
return y({
|
|
15
|
+
children: e,
|
|
16
|
+
selectionMode: c,
|
|
17
|
+
defaultExpandedKeys: s,
|
|
18
|
+
defaultSelectedKeys: s,
|
|
19
|
+
expandedKeys: r,
|
|
20
|
+
selectedKeys: r,
|
|
21
|
+
onSelectionChange: o,
|
|
22
|
+
...l
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
h as default
|
|
27
|
+
};
|
package/index77.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=e=>e;exports.makeTheme=t;
|
package/index77.mjs
ADDED
package/index78.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),n=e.tv({base:"[border-radius: 32px] p-1.5 focus:outline-none text-color-1-500",defaultVariants:{textAlign:"left",isOpen:!1},variants:{textAlign:{center:"text-center",left:"text-left"}}}),o=e.tv({base:"grid overflow-hidden w-full items-center border-b-2 border-color-1-500 focus-ring-black",variants:{titleBold:{true:"font-bold"},textAlign:{center:"grid-cols-[3rem_1fr_3rem] pl-0 sm:pl-0",left:"grid-cols-[1fr_3rem]"},bgColor:{gray:"bg-gray-300",white:"bg-white"}},defaultVariants:{titleBold:!1,textAlign:"left",bgColor:"white"}}),r=e.tv({base:"",defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"justify-self-center col-start-2",left:"justify-self-start"}}}),i=e.tv({base:"text-color-1-500 min-h-12 rotate-90 min-w-12 rounded-full flex items-center justify-center transition duration-500 transform ml-auto aspect-square",variants:{isOpen:{true:"-rotate-90",false:""}}}),a=e.tv({base:`
|
|
2
|
+
font-body
|
|
3
|
+
text-inherit
|
|
4
|
+
h-auto
|
|
5
|
+
grid
|
|
6
|
+
`,defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"grid-cols-[3rem_1fr_3rem] px-6 text-center",left:"grid-cols-[1fr_3rem] text-left"}}}),l=e.tv({base:"overflow-hidden flex flex-col gap-2 items-start",defaultVariants:{textAlign:"left"},variants:{textAlign:{center:"col-start-2",left:""}}}),c={container:t=>n(t),button:t=>o(t),title:t=>r(t),icon:t=>i(t),region:t=>a(t),content:t=>l(t)};exports.accordionButton=o;exports.accordionContainer=n;exports.accordionContent=l;exports.accordionIcon=i;exports.accordionRegion=a;exports.accordionTheme=c;exports.accordionTitle=r;
|
package/index78.mjs
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
const r = e({
|
|
3
|
+
base: "[border-radius: 32px] p-1.5 focus:outline-none text-color-1-500",
|
|
4
|
+
defaultVariants: {
|
|
5
|
+
textAlign: "left",
|
|
6
|
+
isOpen: !1
|
|
7
|
+
},
|
|
8
|
+
variants: {
|
|
9
|
+
textAlign: {
|
|
10
|
+
center: "text-center",
|
|
11
|
+
left: "text-left"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}), n = e({
|
|
15
|
+
base: "grid overflow-hidden w-full items-center border-b-2 border-color-1-500 focus-ring-black",
|
|
16
|
+
variants: {
|
|
17
|
+
titleBold: {
|
|
18
|
+
true: "font-bold"
|
|
19
|
+
},
|
|
20
|
+
textAlign: {
|
|
21
|
+
center: "grid-cols-[3rem_1fr_3rem] pl-0 sm:pl-0",
|
|
22
|
+
left: "grid-cols-[1fr_3rem]"
|
|
23
|
+
},
|
|
24
|
+
bgColor: {
|
|
25
|
+
gray: "bg-gray-300",
|
|
26
|
+
white: "bg-white"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
defaultVariants: {
|
|
30
|
+
titleBold: !1,
|
|
31
|
+
textAlign: "left",
|
|
32
|
+
bgColor: "white"
|
|
33
|
+
}
|
|
34
|
+
}), o = e({
|
|
35
|
+
base: "",
|
|
36
|
+
defaultVariants: {
|
|
37
|
+
textAlign: "left"
|
|
38
|
+
},
|
|
39
|
+
variants: {
|
|
40
|
+
textAlign: {
|
|
41
|
+
center: "justify-self-center col-start-2",
|
|
42
|
+
left: "justify-self-start"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}), i = e({
|
|
46
|
+
base: "text-color-1-500 min-h-12 rotate-90 min-w-12 rounded-full flex items-center justify-center transition duration-500 transform ml-auto aspect-square",
|
|
47
|
+
variants: {
|
|
48
|
+
isOpen: {
|
|
49
|
+
true: "-rotate-90",
|
|
50
|
+
false: ""
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}), l = e({
|
|
54
|
+
base: `
|
|
55
|
+
font-body
|
|
56
|
+
text-inherit
|
|
57
|
+
h-auto
|
|
58
|
+
grid
|
|
59
|
+
`,
|
|
60
|
+
defaultVariants: {
|
|
61
|
+
textAlign: "left"
|
|
62
|
+
},
|
|
63
|
+
variants: {
|
|
64
|
+
textAlign: {
|
|
65
|
+
center: "grid-cols-[3rem_1fr_3rem] px-6 text-center",
|
|
66
|
+
left: "grid-cols-[1fr_3rem] text-left"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}), a = e({
|
|
70
|
+
base: "overflow-hidden flex flex-col gap-2 items-start",
|
|
71
|
+
defaultVariants: {
|
|
72
|
+
textAlign: "left"
|
|
73
|
+
},
|
|
74
|
+
variants: {
|
|
75
|
+
textAlign: {
|
|
76
|
+
center: "col-start-2",
|
|
77
|
+
left: ""
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}), c = {
|
|
81
|
+
container: (t) => r(t),
|
|
82
|
+
button: (t) => n(t),
|
|
83
|
+
title: (t) => o(t),
|
|
84
|
+
icon: (t) => i(t),
|
|
85
|
+
region: (t) => l(t),
|
|
86
|
+
content: (t) => a(t)
|
|
87
|
+
};
|
|
88
|
+
export {
|
|
89
|
+
n as accordionButton,
|
|
90
|
+
r as accordionContainer,
|
|
91
|
+
a as accordionContent,
|
|
92
|
+
i as accordionIcon,
|
|
93
|
+
l as accordionRegion,
|
|
94
|
+
c as accordionTheme,
|
|
95
|
+
o as accordionTitle
|
|
96
|
+
};
|
package/index79.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("tailwind-variants"),t=require("./index81.js"),r=require("./index95.js"),n=e.tv({base:"bg-color-1-200 p-4 flex flex-col gap-4"}),a=e.tv({base:"flex justify-between items-center gap-4 relative"}),s=e.tv({extend:t,base:"self-end"}),o=e.tv({base:"bg-color-1-300 m-2 rounded-lg order-2"}),l=e.tv({base:"m-4"}),i=e.tv({base:""}),c=e.tv({base:""}),p=e.tv({extend:r,defaultVariants:{size:"h1"}}),b=e.tv({extend:r}),v=e.tv({base:"block w-min bg-color-1-400 p-2 rounded-lg"}),d=e.tv({extend:t,variants:{order:{prev:"order-1",next:"order-3"}}}),u=e.tv({base:"flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"}),g=e.tv({base:"w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black",variants:{active:{true:"bg-color-1-100",false:""}}}),w={wrapper:n,container:a,closeBtn:s,swiper:{swiper:o,wrapper:l},item:{wrapper:i,container:c,title:p,content:b,icon:v},navigation:{button:d},pagination:{wrapper:u,bullet:g}};module.exports=w;
|
package/index79.mjs
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
import t from "./index81.mjs";
|
|
3
|
+
import r from "./index95.mjs";
|
|
4
|
+
const a = e({
|
|
5
|
+
base: "bg-color-1-200 p-4 flex flex-col gap-4"
|
|
6
|
+
}), o = e({
|
|
7
|
+
base: "flex justify-between items-center gap-4 relative"
|
|
8
|
+
}), n = e({
|
|
9
|
+
extend: t,
|
|
10
|
+
base: "self-end"
|
|
11
|
+
}), s = e({
|
|
12
|
+
base: "bg-color-1-300 m-2 rounded-lg order-2"
|
|
13
|
+
}), l = e({
|
|
14
|
+
base: "m-4"
|
|
15
|
+
}), i = e({
|
|
16
|
+
base: ""
|
|
17
|
+
}), p = e({
|
|
18
|
+
base: ""
|
|
19
|
+
}), c = e({
|
|
20
|
+
extend: r,
|
|
21
|
+
defaultVariants: {
|
|
22
|
+
size: "h1"
|
|
23
|
+
}
|
|
24
|
+
}), b = e({
|
|
25
|
+
extend: r
|
|
26
|
+
}), g = e({
|
|
27
|
+
base: "block w-min bg-color-1-400 p-2 rounded-lg"
|
|
28
|
+
}), m = e({
|
|
29
|
+
extend: t,
|
|
30
|
+
variants: {
|
|
31
|
+
order: {
|
|
32
|
+
prev: "order-1",
|
|
33
|
+
next: "order-3"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}), d = e({
|
|
37
|
+
base: "flex gap-4 justify-center absolute z-10 bottom-4 left-0 right-0"
|
|
38
|
+
}), f = e({
|
|
39
|
+
base: "w-4 h-4 rounded-full block bg-color-1-600 focus-ring-black",
|
|
40
|
+
variants: {
|
|
41
|
+
active: {
|
|
42
|
+
true: "bg-color-1-100",
|
|
43
|
+
false: ""
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}), v = {
|
|
47
|
+
wrapper: a,
|
|
48
|
+
container: o,
|
|
49
|
+
closeBtn: n,
|
|
50
|
+
swiper: {
|
|
51
|
+
swiper: s,
|
|
52
|
+
wrapper: l
|
|
53
|
+
},
|
|
54
|
+
item: {
|
|
55
|
+
wrapper: i,
|
|
56
|
+
container: p,
|
|
57
|
+
title: c,
|
|
58
|
+
content: b,
|
|
59
|
+
icon: g
|
|
60
|
+
},
|
|
61
|
+
navigation: {
|
|
62
|
+
button: m
|
|
63
|
+
},
|
|
64
|
+
pagination: {
|
|
65
|
+
wrapper: d,
|
|
66
|
+
bullet: f
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
export {
|
|
70
|
+
v as default
|
|
71
|
+
};
|
package/index8.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";const e=require("react/jsx-runtime"),p=require("react"),x=require("react-div-100vh"),P=require("./index66.js"),r=require("./index64.js"),T=require("./index29.js"),$=require("./index98.js"),v=require("./index26.js"),S=a=>{const{children:c,closeBtnRender:t,themeName:n="sidePanel",tokens:i,TransitionAnimation:l=T,PanelTransition:d=$,customTheme:s}=a,m=r(`${n}.wrapper`,i,s),u=r(`${n}.container`,i,s),h=r(`${n}.innerContainer`,i,s),{overlayState:o,overlayProps:q}=P.useSidePanel();return e.jsx(v,{state:o,...q,transitionComponent:d,isDismissable:!0,children:e.jsxs(x,{className:m,children:[t&&t(),e.jsx(l,{isVisible:o.isOpen,children:e.jsx("div",{className:u,children:e.jsx("div",{className:h,children:c})})})]})})},j=p.memo(S);module.exports=j;
|
package/index8.mjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as e, jsxs as T } from "react/jsx-runtime";
|
|
3
|
+
import u from "react";
|
|
4
|
+
import P from "react-div-100vh";
|
|
5
|
+
import { useSidePanel as v } from "./index66.mjs";
|
|
6
|
+
import r from "./index64.mjs";
|
|
7
|
+
import S from "./index29.mjs";
|
|
8
|
+
import x from "./index98.mjs";
|
|
9
|
+
import C from "./index26.mjs";
|
|
10
|
+
const N = (a) => {
|
|
11
|
+
const {
|
|
12
|
+
children: m,
|
|
13
|
+
closeBtnRender: t,
|
|
14
|
+
themeName: n = "sidePanel",
|
|
15
|
+
tokens: i,
|
|
16
|
+
TransitionAnimation: l = S,
|
|
17
|
+
PanelTransition: c = x,
|
|
18
|
+
customTheme: o
|
|
19
|
+
} = a, d = r(`${n}.wrapper`, i, o), p = r(`${n}.container`, i, o), h = r(`${n}.innerContainer`, i, o), { overlayState: s, overlayProps: f } = v();
|
|
20
|
+
return /* @__PURE__ */ e(C, { state: s, ...f, transitionComponent: c, isDismissable: !0, children: /* @__PURE__ */ T(P, { className: d, children: [
|
|
21
|
+
t && t(),
|
|
22
|
+
/* @__PURE__ */ e(l, { isVisible: s.isOpen, children: /* @__PURE__ */ e("div", { className: p, children: /* @__PURE__ */ e("div", { className: h, children: m }) }) })
|
|
23
|
+
] }) });
|
|
24
|
+
}, k = u.memo(N);
|
|
25
|
+
export {
|
|
26
|
+
k as default
|
|
27
|
+
};
|
package/index80.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("tailwind-variants"),s=l.tv({base:"w-full bg-slate-100"}),a=l.tv({base:"max-w-screen-lg mx-auto w-full",variants:{fullWidth:{true:"max-w-full col-span-full p-0"},spacing:{small:"mb-3",medium:"mb-6",large:"mb-8",none:"mb-0"}}}),t=l.tv({extend:a,base:"grid grid-cols-12 gap-6 px-4 col-span-full",variants:{fullWidth:{true:"max-w-full col-span-full p-0"}}}),e=l.tv({base:"bg-slate-300 h-64 p-4 flex justify-start items-end",defaultVariants:{size:"small"},variants:{size:{small:"col-span-12 sm:col-span-6 md:col-span-4 lg:col-span-4",medium:"col-span-12 sm:col-span-12 md:col-span-8 lg:col-span-8",large:"lg:col-start-3 sm:col-start-1 sm:col-end-13 lg:col-end-11 md:col-start-3 md:col-end-11 col-start-1 col-end-13"}}});exports.container=a;exports.grid=t;exports.gridItem=e;exports.main=s;
|
package/index80.mjs
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { tv as l } from "tailwind-variants";
|
|
2
|
+
const t = l({
|
|
3
|
+
base: "w-full bg-slate-100"
|
|
4
|
+
}), a = l({
|
|
5
|
+
base: "max-w-screen-lg mx-auto w-full",
|
|
6
|
+
variants: {
|
|
7
|
+
fullWidth: {
|
|
8
|
+
true: "max-w-full col-span-full p-0"
|
|
9
|
+
},
|
|
10
|
+
spacing: {
|
|
11
|
+
small: "mb-3",
|
|
12
|
+
medium: "mb-6",
|
|
13
|
+
large: "mb-8",
|
|
14
|
+
none: "mb-0"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}), n = l({
|
|
18
|
+
extend: a,
|
|
19
|
+
base: "grid grid-cols-12 gap-6 px-4 col-span-full",
|
|
20
|
+
variants: {
|
|
21
|
+
fullWidth: {
|
|
22
|
+
true: "max-w-full col-span-full p-0"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}), e = l({
|
|
26
|
+
base: "bg-slate-300 h-64 p-4 flex justify-start items-end",
|
|
27
|
+
defaultVariants: {
|
|
28
|
+
size: "small"
|
|
29
|
+
},
|
|
30
|
+
variants: {
|
|
31
|
+
size: {
|
|
32
|
+
small: "col-span-12 sm:col-span-6 md:col-span-4 lg:col-span-4",
|
|
33
|
+
medium: "col-span-12 sm:col-span-12 md:col-span-8 lg:col-span-8",
|
|
34
|
+
large: "lg:col-start-3 sm:col-start-1 sm:col-end-13 lg:col-end-11 md:col-start-3 md:col-end-11 col-start-1 col-end-13"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
a as container,
|
|
40
|
+
n as grid,
|
|
41
|
+
e as gridItem,
|
|
42
|
+
t as main
|
|
43
|
+
};
|
package/index81.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";const e=require("tailwind-variants"),t=e.tv({base:`
|
|
2
|
+
flex
|
|
3
|
+
items-center
|
|
4
|
+
justify-center
|
|
5
|
+
gap-4
|
|
6
|
+
transition
|
|
7
|
+
duration-300
|
|
8
|
+
ease-in-out
|
|
9
|
+
disabled:pointer-events-none
|
|
10
|
+
disabled:opacity-30
|
|
11
|
+
focus-ring-black
|
|
12
|
+
`,defaultVariants:{buttonStyle:"default",type:"button",size:"default",shape:"rounded"},variants:{buttonStyle:{default:`
|
|
13
|
+
px-4
|
|
14
|
+
py-2
|
|
15
|
+
text-white
|
|
16
|
+
!bg-color-1-500
|
|
17
|
+
hover:!bg-color-1-400
|
|
18
|
+
active:!bg-color-1-400
|
|
19
|
+
`,outline:`
|
|
20
|
+
px-4
|
|
21
|
+
py-2
|
|
22
|
+
bg-transparent
|
|
23
|
+
!border-color-1-500
|
|
24
|
+
text-color-1-500
|
|
25
|
+
hover:bg-color-1-500
|
|
26
|
+
hover:text-white
|
|
27
|
+
active:bg-color-1-500
|
|
28
|
+
active:text-white
|
|
29
|
+
`,hollow:`
|
|
30
|
+
px-2
|
|
31
|
+
bg-transparent
|
|
32
|
+
text-color-1-500
|
|
33
|
+
hover:border-b-color-1-500
|
|
34
|
+
active:border-b-color-1-500
|
|
35
|
+
focus:border-b-color-1-500
|
|
36
|
+
|
|
37
|
+
`},intent:{error:`
|
|
38
|
+
!bg-error
|
|
39
|
+
text-white
|
|
40
|
+
pointer-events-none
|
|
41
|
+
!border-error
|
|
42
|
+
`},size:{default:"min-w-12 min-h-6",large:"min-w-36 min-h-18"},shape:{rounded:"rounded-md",circular:"rounded-full"}}});module.exports=t;
|
package/index81.mjs
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { tv as e } from "tailwind-variants";
|
|
2
|
+
const o = e({
|
|
3
|
+
base: `
|
|
4
|
+
flex
|
|
5
|
+
items-center
|
|
6
|
+
justify-center
|
|
7
|
+
gap-4
|
|
8
|
+
transition
|
|
9
|
+
duration-300
|
|
10
|
+
ease-in-out
|
|
11
|
+
disabled:pointer-events-none
|
|
12
|
+
disabled:opacity-30
|
|
13
|
+
focus-ring-black
|
|
14
|
+
`,
|
|
15
|
+
defaultVariants: {
|
|
16
|
+
buttonStyle: "default",
|
|
17
|
+
type: "button",
|
|
18
|
+
size: "default",
|
|
19
|
+
shape: "rounded"
|
|
20
|
+
},
|
|
21
|
+
variants: {
|
|
22
|
+
buttonStyle: {
|
|
23
|
+
default: `
|
|
24
|
+
px-4
|
|
25
|
+
py-2
|
|
26
|
+
text-white
|
|
27
|
+
!bg-color-1-500
|
|
28
|
+
hover:!bg-color-1-400
|
|
29
|
+
active:!bg-color-1-400
|
|
30
|
+
`,
|
|
31
|
+
outline: `
|
|
32
|
+
px-4
|
|
33
|
+
py-2
|
|
34
|
+
bg-transparent
|
|
35
|
+
!border-color-1-500
|
|
36
|
+
text-color-1-500
|
|
37
|
+
hover:bg-color-1-500
|
|
38
|
+
hover:text-white
|
|
39
|
+
active:bg-color-1-500
|
|
40
|
+
active:text-white
|
|
41
|
+
`,
|
|
42
|
+
hollow: `
|
|
43
|
+
px-2
|
|
44
|
+
bg-transparent
|
|
45
|
+
text-color-1-500
|
|
46
|
+
hover:border-b-color-1-500
|
|
47
|
+
active:border-b-color-1-500
|
|
48
|
+
focus:border-b-color-1-500
|
|
49
|
+
|
|
50
|
+
`
|
|
51
|
+
},
|
|
52
|
+
intent: {
|
|
53
|
+
error: `
|
|
54
|
+
!bg-error
|
|
55
|
+
text-white
|
|
56
|
+
pointer-events-none
|
|
57
|
+
!border-error
|
|
58
|
+
`
|
|
59
|
+
},
|
|
60
|
+
size: {
|
|
61
|
+
default: "min-w-12 min-h-6",
|
|
62
|
+
large: "min-w-36 min-h-18"
|
|
63
|
+
},
|
|
64
|
+
shape: {
|
|
65
|
+
rounded: "rounded-md",
|
|
66
|
+
circular: "rounded-full"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
export {
|
|
71
|
+
o as default
|
|
72
|
+
};
|
package/index82.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("tailwind-variants"),t=e.tv({base:"inline-block text-gray-800"}),a=e.tv({base:"flex items-center justify-between pb-4"}),l=e.tv({base:"flex items-center gap-1"}),s=e.tv({base:"active:bg-color-1-500 p-2 rounded-full active:text-color-1-100 hover:bg-color-1-200 focus-ring-black"}),i=e.tv({base:"flex-1"}),r=e.tv({base:"text-center"}),n=e.tv({base:"py-0.5 relative",variants:{isFocusVisible:{true:"z-10",false:""}}}),o=e.tv({base:"w-10 h-10 outline-none group",variants:{isSelected:{true:"",false:""},isInvalid:{true:"",fasle:""},isDisabled:{true:"disabled",false:""},isRoundedLeft:{true:"rounded-l-full",false:""},isRoundedRight:{true:"rounded-r-full",false:""}},compoundVariants:[{isSelected:!0,isInvalid:!0,class:"bg-red-300"},{isSelected:!0,isInvalid:!1,class:"bg-color-1-300"}]}),c=e.tv({base:"w-full h-full rounded-full flex items-center justify-center cursor-pointer",variants:{isSelected:{true:"",false:""},isInvalid:{true:"",fasle:""},isDisabled:{true:"",false:""},isFocusVisible:{true:"ring-2 group-focus:z-2 ring-violet-600 ring-offset-2",false:""},isSelectionStart:{true:"",false:""},isSelectionEnd:{true:"",false:""}},compoundVariants:[{isDisabled:!0,isInvalid:!1,class:"text-gray-400"},{isSelectionStart:!0,isSelectionEnd:!1,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!0,isSelectionEnd:!0,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!0,isSelectionEnd:!1,isInvalid:!1,class:"bg-color-1-400 text-white hover:bg-color-1-500"},{isSelectionStart:!0,isSelectionEnd:!0,isInvalid:!1,class:"bg-color-1-400 rounded-full text-white hover:bg-color-1-500"},{isSelectionStart:!1,isSelectionEnd:!0,isInvalid:!0,class:"bg-red-600 text-white hover:bg-red-700"},{isSelectionStart:!1,isSelectionEnd:!0,isInvalid:!1,class:"bg-color-1-400 text-white hover:bg-color-1-500"},{isSelected:!1,isDisabled:!1,class:"hover:bg-color-1-100"},{isSelected:!0,isDisabled:!1,isInvalid:!1,isSelectionStart:!1,isSelectionEnd:!1,class:"hover:bg-color-1-300"},{isSelected:!0,isDisabled:!1,isInvalid:!0,isSelectionStart:!1,isSelectionEnd:!1,class:"hover:bg-red-400"}]});exports.calendarCell=o;exports.calendarCellContainer=n;exports.calendarCellFormattedDate=c;exports.calendarContainer=t;exports.calendarDayLabel=r;exports.calendarHeaderContainer=a;exports.calendarNavigationButtons=s;exports.calendarNavigationButtonsContainer=l;exports.calendarTable=i;
|