@pismo/marola 1.0.0-beta.32 → 1.0.0-beta.34

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.
@@ -1 +1 @@
1
- ._ellipsis-tooltip_krf68_1{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp, 1);-webkit-box-orient:vertical}
1
+ ._ellipsis-tooltip_1ov97_1{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp, 1);line-clamp:var(--line-clamp, 1);-webkit-box-orient:vertical;line-break:anywhere}
@@ -1 +1 @@
1
- ._u-typography-h1_1tnti_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_1tnti_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_1tnti_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_1tnti_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_1tnti_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_1tnti_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_1tnti_43,._table_1tnti_43 tbody{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_1tnti_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_1tnti_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_1tnti_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_1tnti_61,._table_1tnti_43 thead{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_1tnti_65,._table_1tnti_43 thead{font-weight:var(--base-bold)}._u-typography-base--strikethrough_1tnti_68{text-decoration:line-through}._u-typography-base--underlined_1tnti_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_1tnti_74{text-decoration:underline line-through}._table_1tnti_43{color:var(--secondary-orange);border-spacing:0}._table--fixed_1tnti_82{table-layout:fixed}._table--full-width_1tnti_85{width:100%}._table--white-theme_1tnti_88{background:var(--white-100)}._table--transparent-theme_1tnti_91{background:transparent}._table_1tnti_43 th._cell--left-alignment_1tnti_94,._table_1tnti_43 td._cell--left-alignment_1tnti_94{text-align:left}._table_1tnti_43 th._cell--center-alignment_1tnti_98,._table_1tnti_43 td._cell--center-alignment_1tnti_98{text-align:center}._table_1tnti_43 th._cell--right-alignment_1tnti_102,._table_1tnti_43 td._cell--right-alignment_1tnti_102{text-align:right}._table_1tnti_43 thead{color:var(--gray-90);text-transform:uppercase}._table_1tnti_43 thead tr th{align-items:center;height:4rem;padding:0 1rem;line-height:1rem;border-bottom:.0625rem solid var(--gray-25)}._table_1tnti_43 thead tr th ._th__wrapper_1tnti_117>span,._table_1tnti_43 thead tr th ._th__wrapper_1tnti_117 span+span{display:inline-flex;align-items:center}._table_1tnti_43 thead tr th ._th__wrapper--pressed_1tnti_122{padding:.25rem .5rem;margin:0 -.5rem;background-color:var(--gray-10);border-radius:.375rem}._table_1tnti_43 thead tr th ._th__wrapper--clickable_1tnti_128{cursor:pointer}._table_1tnti_43 thead tr th ._th__wrapper_1tnti_117 ._th__sort-icon-container_1tnti_131{padding-left:.25rem}._table_1tnti_43 tbody{color:var(--gray-90)}._table_1tnti_43 tbody tr:hover:not(._tr__row-or-cell--disabled_1tnti_137){background-color:rgb(var(--gray-5-rgb),.5)}._table_1tnti_43 tbody ._tr_1tnti_137,._table_1tnti_43 tbody ._td_1tnti_141{height:3.5rem;padding:0 1rem;line-height:var(--body-line-height);border-bottom:.0625rem solid var(--gray-10)}._table_1tnti_43 tbody ._tr__row-or-cell--clickable_1tnti_147,._table_1tnti_43 tbody ._td__row-or-cell--clickable_1tnti_148{cursor:pointer}._table_1tnti_43 tbody ._tr__row-or-cell--disabled_1tnti_137,._table_1tnti_43 tbody ._td__row-or-cell--disabled_1tnti_152{background:var(--cream);filter:grayscale(1)}._table_1tnti_43 tbody ._tr__row-or-cell--disabled_1tnti_137 ._td-wrapper_1tnti_156,._table_1tnti_43 tbody ._td__row-or-cell--disabled_1tnti_152 ._td-wrapper_1tnti_156{opacity:.25}
1
+ ._table_yerpo_1{color:var(--secondary-orange);border-spacing:0}._table--fixed_yerpo_5{table-layout:fixed}._table--full-width_yerpo_8{width:100%}._table--white-theme_yerpo_11{background:var(--white-100)}._table--transparent-theme_yerpo_14{background:transparent}._table_yerpo_1 th._cell--left-alignment_yerpo_17,._table_yerpo_1 td._cell--left-alignment_yerpo_17{text-align:left}._table_yerpo_1 th._cell--center-alignment_yerpo_21,._table_yerpo_1 td._cell--center-alignment_yerpo_21{text-align:center}._table_yerpo_1 th._cell--right-alignment_yerpo_25,._table_yerpo_1 td._cell--right-alignment_yerpo_25{text-align:right}._table_yerpo_1 thead{font-size:.75rem;font-weight:900;line-height:1rem;color:var(--gray-90);text-transform:uppercase}._table_yerpo_1 thead tr th{align-items:center;height:4rem;padding:0 1rem;line-height:1rem;border-bottom:.0625rem solid var(--gray-25)}._table_yerpo_1 thead tr th ._th__wrapper_yerpo_43>span,._table_yerpo_1 thead tr th ._th__wrapper_yerpo_43 span+span{display:inline-flex;align-items:center}._table_yerpo_1 thead tr th ._th__wrapper--pressed_yerpo_48{padding:.25rem .5rem;margin:0 -.5rem;background-color:var(--gray-10);border-radius:.375rem}._table_yerpo_1 thead tr th ._th__wrapper--clickable_yerpo_54{cursor:pointer}._table_yerpo_1 thead tr th ._th__wrapper_yerpo_43 ._th__sort-icon-container_yerpo_57{padding-left:.25rem}._table_yerpo_1 tbody{font-size:1rem;font-weight:400;line-height:1.3125rem;color:var(--gray-90)}._table_yerpo_1 tbody tr:hover:not(._tr__row-or-cell--disabled_yerpo_66){background-color:rgb(var(--gray-5-rgb),.5)}._table_yerpo_1 tbody ._tr_yerpo_66,._table_yerpo_1 tbody ._td_yerpo_70{height:3.5rem;padding:0 1rem;line-height:var(--body-line-height);border-bottom:.0625rem solid var(--gray-10)}._table_yerpo_1 tbody ._tr__row-or-cell--clickable_yerpo_76,._table_yerpo_1 tbody ._td__row-or-cell--clickable_yerpo_77{cursor:pointer}._table_yerpo_1 tbody ._tr__row-or-cell--disabled_yerpo_66,._table_yerpo_1 tbody ._td__row-or-cell--disabled_yerpo_81{background:var(--cream);filter:grayscale(1)}._table_yerpo_1 tbody ._tr__row-or-cell--disabled_yerpo_66 ._td-wrapper_yerpo_85,._table_yerpo_1 tbody ._td__row-or-cell--disabled_yerpo_81 ._td-wrapper_yerpo_85{opacity:.25}
@@ -1,10 +1,10 @@
1
1
  import '../../assets/EllipsisTooltip.css';
2
- import { jsx as o, jsxs as d, Fragment as f } from "react/jsx-runtime";
2
+ import { jsx as s, jsxs as d, Fragment as f } from "react/jsx-runtime";
3
3
  import { useState as g } from "react";
4
- import { c as x } from "../../clsx-DB4S2d7J.js";
5
- import { Tooltip as H } from "../Tooltip/Tooltip.js";
6
- const T = {
7
- "ellipsis-tooltip": "_ellipsis-tooltip_krf68_1"
4
+ import { c as v } from "../../clsx-DB4S2d7J.js";
5
+ import { Tooltip as x } from "../Tooltip/Tooltip.js";
6
+ const H = {
7
+ "ellipsis-tooltip": "_ellipsis-tooltip_1ov97_1"
8
8
  }, W = ({
9
9
  lineClamp: e = 1,
10
10
  children: i,
@@ -12,21 +12,21 @@ const T = {
12
12
  disableHoverListener: t,
13
13
  ...a
14
14
  }) => {
15
- const [s, c] = g(!1), n = (l) => {
15
+ const [o, c] = g(!1), n = (l) => {
16
16
  const m = l.scrollWidth > l.clientWidth, h = l.scrollHeight > l.clientHeight;
17
17
  c(m || h);
18
- }, p = typeof t == "boolean" ? t : !s;
19
- return /* @__PURE__ */ o(
20
- H,
18
+ }, p = typeof t == "boolean" ? t : !o;
19
+ return /* @__PURE__ */ s(
20
+ x,
21
21
  {
22
- className: x(r),
22
+ className: v(r),
23
23
  ...a,
24
24
  onTargetCreated: n,
25
25
  disableHoverListener: p,
26
26
  disablePortal: !1,
27
- children: /* @__PURE__ */ d("span", { style: { "--line-clamp": e }, className: T["ellipsis-tooltip"], children: [
27
+ children: /* @__PURE__ */ d("span", { style: { "--line-clamp": e }, className: H["ellipsis-tooltip"], children: [
28
28
  i,
29
- s && /* @__PURE__ */ o(f, { children: " ‌" })
29
+ o && /* @__PURE__ */ s(f, { children: " ‌" })
30
30
  ] })
31
31
  }
32
32
  );
@@ -1,54 +1,39 @@
1
1
  import '../../assets/Table.css';
2
- import { jsxs as g, jsx as r } from "react/jsx-runtime";
3
- import * as i from "react";
4
- import { useState as w } from "react";
5
- import { c as y } from "../../clsx-DB4S2d7J.js";
6
- import { paginationDefaultTranslations as u, Pagination as T } from "../Pagination/Pagination.js";
7
- import { sortTooltipDefaultTranslations as m, SortTooltip as f } from "../SortTooltip/SortTooltip.js";
8
- import { TableProvider as x, useTable as N } from "./TableContext.js";
9
- const C = (a) => /* @__PURE__ */ i.createElement("svg", { width: 7, height: 10, viewBox: "0 0 7 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ i.createElement("g", { clipPath: "url(#clip0_2291_2457)" }, /* @__PURE__ */ i.createElement("path", { d: "M6.41658 3.93794C6.26731 3.93794 6.11798 3.88301 6.00423 3.77314L3.49991 1.35923L0.995768 3.77271C0.767904 3.99243 0.398763 3.99243 0.170898 3.77271C-0.0569661 3.55298 -0.0569661 3.19702 0.170898 2.97729L3.08756 0.164795C3.31543 -0.0549316 3.68457 -0.0549316 3.91243 0.164795L6.8291 2.97729C7.05697 3.19702 7.05697 3.55298 6.8291 3.77271C6.71553 3.88345 6.56605 3.93794 6.41658 3.93794Z", fill: "#1897F3" }), /* @__PURE__ */ i.createElement("path", { opacity: 0.4, d: "M6.41663 5.38022C6.26737 5.38022 6.11804 5.43516 6.00429 5.54502L3.49997 7.95894L0.99528 5.5437C0.767415 5.32397 0.398275 5.32397 0.17041 5.5437C-0.0574544 5.76343 -0.0574544 6.11938 0.17041 6.33911L3.08708 9.15161C3.31494 9.37134 3.68408 9.37134 3.91195 9.15161L6.82861 6.33911C7.05648 6.11938 7.05648 5.76343 6.82861 5.5437C6.71559 5.43472 6.56611 5.38022 6.41663 5.38022Z", fill: "#1897F3" })), /* @__PURE__ */ i.createElement("defs", null, /* @__PURE__ */ i.createElement("clipPath", { id: "clip0_2291_2457" }, /* @__PURE__ */ i.createElement("rect", { width: 7, height: 10, fill: "white" })))), L = "_table_1tnti_43", E = "_th__wrapper_1tnti_117", k = "_tr_1tnti_137", v = "_td_1tnti_141", e = {
10
- "u-typography-h1": "_u-typography-h1_1tnti_1",
11
- "u-typography-h2": "_u-typography-h2_1tnti_8",
12
- "u-typography-h3": "_u-typography-h3_1tnti_15",
13
- "u-typography-h4": "_u-typography-h4_1tnti_22",
14
- "u-typography-h5": "_u-typography-h5_1tnti_29",
15
- "u-typography-h6": "_u-typography-h6_1tnti_36",
16
- "u-typography-base": "_u-typography-base_1tnti_43",
2
+ import { jsxs as y, jsx as l } from "react/jsx-runtime";
3
+ import * as c from "react";
4
+ import { useState as f } from "react";
5
+ import { c as m } from "../../clsx-DB4S2d7J.js";
6
+ import { paginationDefaultTranslations as b, Pagination as u } from "../Pagination/Pagination.js";
7
+ import { sortTooltipDefaultTranslations as T, SortTooltip as g } from "../SortTooltip/SortTooltip.js";
8
+ import { TableProvider as N, useTable as x } from "./TableContext.js";
9
+ const C = (r) => /* @__PURE__ */ c.createElement("svg", { width: 7, height: 10, viewBox: "0 0 7 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r }, /* @__PURE__ */ c.createElement("g", { clipPath: "url(#clip0_2291_2457)" }, /* @__PURE__ */ c.createElement("path", { d: "M6.41658 3.93794C6.26731 3.93794 6.11798 3.88301 6.00423 3.77314L3.49991 1.35923L0.995768 3.77271C0.767904 3.99243 0.398763 3.99243 0.170898 3.77271C-0.0569661 3.55298 -0.0569661 3.19702 0.170898 2.97729L3.08756 0.164795C3.31543 -0.0549316 3.68457 -0.0549316 3.91243 0.164795L6.8291 2.97729C7.05697 3.19702 7.05697 3.55298 6.8291 3.77271C6.71553 3.88345 6.56605 3.93794 6.41658 3.93794Z", fill: "#1897F3" }), /* @__PURE__ */ c.createElement("path", { opacity: 0.4, d: "M6.41663 5.38022C6.26737 5.38022 6.11804 5.43516 6.00429 5.54502L3.49997 7.95894L0.99528 5.5437C0.767415 5.32397 0.398275 5.32397 0.17041 5.5437C-0.0574544 5.76343 -0.0574544 6.11938 0.17041 6.33911L3.08708 9.15161C3.31494 9.37134 3.68408 9.37134 3.91195 9.15161L6.82861 6.33911C7.05648 6.11938 7.05648 5.76343 6.82861 5.5437C6.71559 5.43472 6.56611 5.38022 6.41663 5.38022Z", fill: "#1897F3" })), /* @__PURE__ */ c.createElement("defs", null, /* @__PURE__ */ c.createElement("clipPath", { id: "clip0_2291_2457" }, /* @__PURE__ */ c.createElement("rect", { width: 7, height: 10, fill: "white" })))), L = "_table_yerpo_1", E = "_th__wrapper_yerpo_43", v = "_tr_yerpo_66", B = "_td_yerpo_70", t = {
17
10
  table: L,
18
- "u-typography-base--xxl": "_u-typography-base--xxl_1tnti_49",
19
- "u-typography-base--xl": "_u-typography-base--xl_1tnti_53",
20
- "u-typography-base--lg": "_u-typography-base--lg_1tnti_57",
21
- "u-typography-base--sm": "_u-typography-base--sm_1tnti_61",
22
- "u-typography-base--bold": "_u-typography-base--bold_1tnti_65",
23
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_1tnti_68",
24
- "u-typography-base--underlined": "_u-typography-base--underlined_1tnti_71",
25
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1tnti_74",
26
- "table--fixed": "_table--fixed_1tnti_82",
27
- "table--full-width": "_table--full-width_1tnti_85",
28
- "table--white-theme": "_table--white-theme_1tnti_88",
29
- "table--transparent-theme": "_table--transparent-theme_1tnti_91",
30
- "cell--left-alignment": "_cell--left-alignment_1tnti_94",
31
- "cell--center-alignment": "_cell--center-alignment_1tnti_98",
32
- "cell--right-alignment": "_cell--right-alignment_1tnti_102",
11
+ "table--fixed": "_table--fixed_yerpo_5",
12
+ "table--full-width": "_table--full-width_yerpo_8",
13
+ "table--white-theme": "_table--white-theme_yerpo_11",
14
+ "table--transparent-theme": "_table--transparent-theme_yerpo_14",
15
+ "cell--left-alignment": "_cell--left-alignment_yerpo_17",
16
+ "cell--center-alignment": "_cell--center-alignment_yerpo_21",
17
+ "cell--right-alignment": "_cell--right-alignment_yerpo_25",
33
18
  th__wrapper: E,
34
- "th__wrapper--pressed": "_th__wrapper--pressed_1tnti_122",
35
- "th__wrapper--clickable": "_th__wrapper--clickable_1tnti_128",
36
- "th__sort-icon-container": "_th__sort-icon-container_1tnti_131",
37
- "tr__row-or-cell--disabled": "_tr__row-or-cell--disabled_1tnti_137",
38
- tr: k,
39
- td: v,
40
- "tr__row-or-cell--clickable": "_tr__row-or-cell--clickable_1tnti_147",
41
- "td__row-or-cell--clickable": "_td__row-or-cell--clickable_1tnti_148",
42
- "td__row-or-cell--disabled": "_td__row-or-cell--disabled_1tnti_152",
43
- "td-wrapper": "_td-wrapper_1tnti_156"
44
- }, B = {
19
+ "th__wrapper--pressed": "_th__wrapper--pressed_yerpo_48",
20
+ "th__wrapper--clickable": "_th__wrapper--clickable_yerpo_54",
21
+ "th__sort-icon-container": "_th__sort-icon-container_yerpo_57",
22
+ "tr__row-or-cell--disabled": "_tr__row-or-cell--disabled_yerpo_66",
23
+ tr: v,
24
+ td: B,
25
+ "tr__row-or-cell--clickable": "_tr__row-or-cell--clickable_yerpo_76",
26
+ "td__row-or-cell--clickable": "_td__row-or-cell--clickable_yerpo_77",
27
+ "td__row-or-cell--disabled": "_td__row-or-cell--disabled_yerpo_81",
28
+ "td-wrapper": "_td-wrapper_yerpo_85"
29
+ }, H = {
45
30
  pt: {
46
- ...u.pt,
47
- ...m.pt
31
+ ...b.pt,
32
+ ...T.pt
48
33
  },
49
34
  en: {
50
- ...u.en,
51
- ...m.en
35
+ ...b.en,
36
+ ...T.en
52
37
  },
53
38
  // example to add a new language translation
54
39
  es: {
@@ -60,81 +45,81 @@ const C = (a) => /* @__PURE__ */ i.createElement("svg", { width: 7, height: 10,
60
45
  of: "de",
61
46
  results: "resultados"
62
47
  }
63
- }, _ = ({
64
- children: a,
65
- theme: t = "white",
66
- fullWidth: l = !0,
48
+ }, o = ({
49
+ children: r,
50
+ theme: e = "white",
51
+ fullWidth: a = !0,
67
52
  className: s,
68
- paginationProps: n,
69
- isFixed: o,
53
+ paginationProps: _,
54
+ isFixed: n,
70
55
  language: p,
71
- translations: b,
72
- ...h
56
+ translations: w,
57
+ ...i
73
58
  }) => {
74
- const c = y(
75
- e.table,
76
- l && e["table--full-width"],
77
- o && e["table--fixed"],
78
- e[`table--${t}-theme`],
59
+ const d = m(
60
+ t.table,
61
+ a && t["table--full-width"],
62
+ n && t["table--fixed"],
63
+ t[`table--${e}-theme`],
79
64
  s
80
- ), d = p && B[p] || b;
81
- return /* @__PURE__ */ g(x, { initialTranslations: d, children: [
82
- /* @__PURE__ */ r("table", { ...h, className: c, children: a }),
83
- n && /* @__PURE__ */ r(T, { ...n, t: d })
65
+ ), h = p && H[p] || w;
66
+ return /* @__PURE__ */ y(N, { initialTranslations: h, children: [
67
+ /* @__PURE__ */ l("table", { ...i, className: d, children: r }),
68
+ _ && /* @__PURE__ */ l(u, { ..._, t: h })
84
69
  ] });
85
- }, H = ({ children: a, ...t }) => /* @__PURE__ */ r("thead", { ...t, children: a }), P = ({ children: a, ...t }) => /* @__PURE__ */ r("tbody", { ...t, children: a }), D = ({ children: a, onClick: t, disabled: l, className: s, ...n }) => {
86
- const o = y(
87
- e.tr,
88
- t && !l ? e["tr__row-or-cell--clickable"] : l ? e["tr__row-or-cell--disabled"] : "",
70
+ }, P = ({ children: r, ...e }) => /* @__PURE__ */ l("thead", { ...e, children: r }), D = ({ children: r, ...e }) => /* @__PURE__ */ l("tbody", { ...e, children: r }), M = ({ children: r, onClick: e, disabled: a, className: s, ..._ }) => {
71
+ const n = m(
72
+ t.tr,
73
+ e && !a ? t["tr__row-or-cell--clickable"] : a ? t["tr__row-or-cell--disabled"] : "",
89
74
  s
90
75
  );
91
- return /* @__PURE__ */ r("tr", { ...n, className: o, onClick: () => !l && (t == null ? void 0 : t()), children: a });
92
- }, M = ({ children: a, onClick: t, disabled: l, className: s, align: n = "left", ...o }) => {
93
- const p = y(
94
- e.td,
95
- t && !l ? e["td__row-or-cell--clickable"] : l ? e["td__row-or-cell--disabled"] : "",
96
- e[`cell--${n}-alignment`],
76
+ return /* @__PURE__ */ l("tr", { ..._, className: n, onClick: () => !a && (e == null ? void 0 : e()), children: r });
77
+ }, O = ({ children: r, onClick: e, disabled: a, className: s, align: _ = "left", ...n }) => {
78
+ const p = m(
79
+ t.td,
80
+ e && !a ? t["td__row-or-cell--clickable"] : a ? t["td__row-or-cell--disabled"] : "",
81
+ t[`cell--${_}-alignment`],
97
82
  s
98
83
  );
99
- return /* @__PURE__ */ r("td", { ...o, className: p, onClick: () => !l && (t == null ? void 0 : t()), children: /* @__PURE__ */ r("span", { className: e["td-wrapper"], children: a }) });
100
- }, O = ({ children: a, onSort: t, sortType: l, className: s, classNameTooltip: n, align: o = "left", ...p }) => {
101
- const { translations: b } = N(), [h, c] = w(!1), d = y(
102
- e.th__wrapper,
103
- h ? e["th__wrapper--pressed"] : "",
104
- t ? e["th__wrapper--clickable"] : "",
84
+ return /* @__PURE__ */ l("td", { ...n, className: p, onClick: () => !a && (e == null ? void 0 : e()), children: /* @__PURE__ */ l("span", { className: t["td-wrapper"], children: r }) });
85
+ }, $ = ({ children: r, onSort: e, sortType: a, className: s, classNameTooltip: _, align: n = "left", ...p }) => {
86
+ const { translations: w } = x(), [i, d] = f(!1), h = m(
87
+ t.th__wrapper,
88
+ i ? t["th__wrapper--pressed"] : "",
89
+ e ? t["th__wrapper--clickable"] : "",
105
90
  s
106
91
  );
107
- return /* @__PURE__ */ r("th", { ...p, className: e[`cell--${o}-alignment`], children: /* @__PURE__ */ r("span", { className: d, onClick: t && (() => c(!h)), children: t ? /* @__PURE__ */ g(
108
- f,
92
+ return /* @__PURE__ */ l("th", { ...p, className: t[`cell--${n}-alignment`], children: /* @__PURE__ */ l("span", { className: h, onClick: e && (() => d(!i)), children: e ? /* @__PURE__ */ y(
93
+ g,
109
94
  {
110
- onClose: () => c(!1),
111
- onSort: t,
112
- show: h,
113
- sortType: l,
114
- className: n,
115
- t: b,
95
+ onClose: () => d(!1),
96
+ onSort: e,
97
+ show: i,
98
+ sortType: a,
99
+ className: _,
100
+ t: w,
116
101
  children: [
117
- /* @__PURE__ */ r("span", { children: a }),
118
- /* @__PURE__ */ r("span", { className: e["th__sort-icon-container"], children: /* @__PURE__ */ r(C, { width: 12, height: 12 }) })
102
+ /* @__PURE__ */ l("span", { children: r }),
103
+ /* @__PURE__ */ l("span", { className: t["th__sort-icon-container"], children: /* @__PURE__ */ l(C, { width: 12, height: 12 }) })
119
104
  ]
120
105
  }
121
- ) : /* @__PURE__ */ r("span", { children: a }) }) });
106
+ ) : /* @__PURE__ */ l("span", { children: r }) }) });
122
107
  };
123
- _.THead = H;
124
- _.THead.displayName = "Table.THead";
125
- _.TBody = P;
126
- _.TBody.displayName = "Table.TBody";
127
- _.Tr = D;
128
- _.Tr.displayName = "Table.Tr";
129
- _.Td = M;
130
- _.Td.displayName = "Table.Td";
131
- _.Th = O;
132
- _.Th.displayName = "Table.Th";
108
+ o.THead = P;
109
+ o.THead.displayName = "Table.THead";
110
+ o.TBody = D;
111
+ o.TBody.displayName = "Table.TBody";
112
+ o.Tr = M;
113
+ o.Tr.displayName = "Table.Tr";
114
+ o.Td = O;
115
+ o.Td.displayName = "Table.Td";
116
+ o.Th = $;
117
+ o.Th.displayName = "Table.Th";
133
118
  export {
134
- P as TBody,
135
- H as THead,
136
- _ as Table,
137
- M as Td,
138
- O as Th,
139
- D as Tr
119
+ D as TBody,
120
+ P as THead,
121
+ o as Table,
122
+ O as Td,
123
+ $ as Th,
124
+ M as Tr
140
125
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pismo/marola",
3
3
  "description": "CDX tribe component library",
4
- "version": "1.0.0-beta.32",
4
+ "version": "1.0.0-beta.34",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",