@pismo/marola 1.1.12 → 1.1.13
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.
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as _ from "react";
|
|
2
|
+
import './assets/Tabs.css';const a = /* @__PURE__ */ _.createContext(null);
|
|
3
|
+
process.env.NODE_ENV !== "production" && (a.displayName = "TabsContext");
|
|
4
|
+
function e() {
|
|
5
|
+
const t = _.useContext(a);
|
|
6
|
+
if (t == null)
|
|
7
|
+
throw new Error("No TabsContext provided");
|
|
8
|
+
return t;
|
|
9
|
+
}
|
|
10
|
+
const s = "_tabs_1ldid_1", b = "_tabs__tab_1ldid_5", d = {
|
|
11
|
+
tabs: s,
|
|
12
|
+
tabs__tab: b,
|
|
13
|
+
"tabs__tab--disabled": "_tabs__tab--disabled_1ldid_23",
|
|
14
|
+
"tabs__tab--selected": "_tabs__tab--selected_1ldid_32",
|
|
15
|
+
"tabs__tab--chip": "_tabs__tab--chip_1ldid_36",
|
|
16
|
+
"tabs__tab--chip--disabled": "_tabs__tab--chip--disabled_1ldid_64",
|
|
17
|
+
"tabs__tab-panel": "_tabs__tab-panel_1ldid_74",
|
|
18
|
+
"tabs__tab-icon": "_tabs__tab-icon_1ldid_78",
|
|
19
|
+
"tabs__tab-content": "_tabs__tab-content_1ldid_83"
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
a as T,
|
|
23
|
+
d as s,
|
|
24
|
+
e as u
|
|
25
|
+
};
|
package/dist/assets/Tabs.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._tabs_1ldid_1{gap:8px;width:100%}._tabs__tab_1ldid_5{min-width:94px;height:48px;padding:0 4px;color:var(--gray-75);cursor:pointer;background-color:transparent;border:none;border-bottom:2px solid transparent}._tabs__tab_1ldid_5:hover{color:var(--hover);border-bottom:2px solid var(--hover)}._tabs__tab_1ldid_5:active{color:var(--active);border-bottom:2px solid var(--active)}._tabs__tab--disabled_1ldid_23{color:#00000040;cursor:default;border-bottom:2px solid rgba(0,0,0,.25)}._tabs__tab--disabled_1ldid_23:focus,._tabs__tab--disabled_1ldid_23:active,._tabs__tab--disabled_1ldid_23:hover{color:#00000040;border-bottom:2px solid rgba(0,0,0,.25)}._tabs__tab--selected_1ldid_32{color:var(--accent);border-bottom:2px solid var(--accent)}._tabs__tab--selected_1ldid_32._tabs__tab--chip_1ldid_36{color:var(--accent);border-color:var(--accent)}._tabs__tab--chip_1ldid_36{display:flex;align-items:center;justify-content:center;min-width:auto;height:32px;padding:0 15px;font-size:.875rem;font-weight:var(--base-bold);line-height:22px;color:var(--gray-95);background-color:transparent;border:1px solid var(--border);border-radius:var(--border-radius)}._tabs__tab--chip_1ldid_36:hover{color:var(--hover);border-color:var(--hover);border-bottom:1px solid var(--hover)}._tabs__tab--chip_1ldid_36:active{color:var(--active);border-color:var(--active)}._tabs__tab--chip--disabled_1ldid_64{color:#00000040;cursor:default;border:1px solid rgba(0,0,0,.25)}._tabs__tab--chip--disabled_1ldid_64:focus,._tabs__tab--chip--disabled_1ldid_64:active,._tabs__tab--chip--disabled_1ldid_64:hover{color:#00000040;background-color:transparent;border:1px solid rgba(0,0,0,.25)}._tabs__tab-panel_1ldid_74{width:100%;margin-top:16px}._tabs__tab-icon_1ldid_78{width:16px;height:16px;margin-right:4px}._tabs__tab-content_1ldid_83{display:flex;align-items:center;justify-content:center;width:100%}
|
|
@@ -4,7 +4,7 @@ import { forwardRef as k, useContext as H, useMemo as U } from "react";
|
|
|
4
4
|
import { c as B } from "../../clsx-DB4S2d7J.js";
|
|
5
5
|
import { Icon as D } from "../Icon/Icon.js";
|
|
6
6
|
import { Skeleton as L } from "../Skeleton/Skeleton.js";
|
|
7
|
-
import { u as W, T as $, s as c } from "../../Tabs.module-
|
|
7
|
+
import { u as W, T as $, s as c } from "../../Tabs.module-ia-imLti.js";
|
|
8
8
|
import { g as q, a as z, u as I, f as A, b as h, _ as G, c as J, P as e, d as K, e as Q } from "../../useSlotProps-C_I1kEHr.js";
|
|
9
9
|
import { u as X, c as Y } from "../../combineHooksSlotProps-C-zYvfnF.js";
|
|
10
10
|
import { u as Z } from "../../useId-BW-oWmul.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as T } from "react/jsx-runtime";
|
|
|
2
2
|
import * as P from "react";
|
|
3
3
|
import { forwardRef as v } from "react";
|
|
4
4
|
import { c as y } from "../../clsx-DB4S2d7J.js";
|
|
5
|
-
import { u as x, s as C } from "../../Tabs.module-
|
|
5
|
+
import { u as x, s as C } from "../../Tabs.module-ia-imLti.js";
|
|
6
6
|
import { g as N, a as _, u as w, b, _ as O, c as E, P as o, d as I, e as S } from "../../useSlotProps-C_I1kEHr.js";
|
|
7
7
|
import { u as U } from "../../useId-BW-oWmul.js";
|
|
8
8
|
import { u as j } from "../../useCompoundItem-B7Eo_qZk.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as T } from "react/jsx-runtime";
|
|
|
2
2
|
import * as r from "react";
|
|
3
3
|
import { forwardRef as q } from "react";
|
|
4
4
|
import { c as B } from "../../clsx-DB4S2d7J.js";
|
|
5
|
-
import { T as G, u as J, s as Q } from "../../Tabs.module-
|
|
5
|
+
import { T as G, u as J, s as Q } from "../../Tabs.module-ia-imLti.js";
|
|
6
6
|
import { Tab as Ie } from "./Tab.js";
|
|
7
7
|
import { TabPanel as Fe } from "./TabPanel.js";
|
|
8
8
|
import { g as I, a as _, b as C, _ as F, c as $, P as t, d as N, e as w } from "../../useSlotProps-C_I1kEHr.js";
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as _ from "react";
|
|
2
|
-
import './assets/Tabs.css';const a = /* @__PURE__ */ _.createContext(null);
|
|
3
|
-
process.env.NODE_ENV !== "production" && (a.displayName = "TabsContext");
|
|
4
|
-
function e() {
|
|
5
|
-
const t = _.useContext(a);
|
|
6
|
-
if (t == null)
|
|
7
|
-
throw new Error("No TabsContext provided");
|
|
8
|
-
return t;
|
|
9
|
-
}
|
|
10
|
-
const s = "_tabs_me6nj_1", b = "_tabs__tab_me6nj_5", n = {
|
|
11
|
-
tabs: s,
|
|
12
|
-
tabs__tab: b,
|
|
13
|
-
"tabs__tab--disabled": "_tabs__tab--disabled_me6nj_23",
|
|
14
|
-
"tabs__tab--selected": "_tabs__tab--selected_me6nj_32",
|
|
15
|
-
"tabs__tab--chip": "_tabs__tab--chip_me6nj_36",
|
|
16
|
-
"tabs__tab--chip--disabled": "_tabs__tab--chip--disabled_me6nj_64",
|
|
17
|
-
"tabs__tab-panel": "_tabs__tab-panel_me6nj_74",
|
|
18
|
-
"tabs__tab-icon": "_tabs__tab-icon_me6nj_78",
|
|
19
|
-
"tabs__tab-content": "_tabs__tab-content_me6nj_83"
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
a as T,
|
|
23
|
-
n as s,
|
|
24
|
-
e as u
|
|
25
|
-
};
|