@cagatayfdn/flora-components 0.0.144 → 0.0.145
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/Table.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight:initial;--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-tracking:initial}}}.
|
|
1
|
+
/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight:initial;--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-tracking:initial}}}._wrapper_8hjie_2{position:relative}._header_8hjie_2{padding:calc(var(--spacing,.25rem)*5)}._header_8hjie_2 ._title_8hjie_2{margin:calc(var(--spacing,.25rem)*0);font-size:var(--font-lg);--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--dark-4a)}._header_8hjie_2 ._subTitle_8hjie_2{margin:calc(var(--spacing,.25rem)*0);--tw-font-weight:var(--font-weight-normal,400);font-weight:var(--font-weight-normal,400);color:var(--gray-95)}._table_8hjie_2{border-collapse:collapse;--tw-border-spacing-x:calc(var(--spacing,.25rem)*0);--tw-border-spacing-y:calc(var(--spacing,.25rem)*0);width:100%;border-spacing:var(--tw-border-spacing-x)var(--tw-border-spacing-y);text-align:left}._table_8hjie_2._fixed_8hjie_2{position:relative}._table_8hjie_2._fixed_8hjie_2 th{top:calc(var(--spacing,.25rem)*0);z-index:999;background-color:var(--gray-f2);position:sticky}._wrapper_8hjie_2._dark_8hjie_2 ._table_8hjie_2._fixed_8hjie_2 th{background-color:var(--gray-57)}._wrapper_8hjie_2._light_8hjie_2 ._table_8hjie_2._fixed_8hjie_2 th{background-color:var(--gray-f9)}._table_8hjie_2 td,._table_8hjie_2 th{padding-inline:calc(var(--spacing,.25rem)*5);padding-block:calc(var(--spacing,.25rem)*2.5);color:var(--gray-5c)}._table_8hjie_2 th{font-size:var(--text-xs,.75rem);line-height:var(--tw-leading,var(--text-xs--line-height,calc(1/.75)));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}._table_8hjie_2 td{--tw-font-weight:var(--font-weight-normal,400);font-weight:var(--font-weight-normal,400)}._light_8hjie_2 ._table_8hjie_2 td,._light_8hjie_2 ._table_8hjie_2 th{border-style:var(--tw-border-style);--tw-border-style:solid;border-style:solid;border-width:1px;border-color:var(--gray-f2)}._wrapper_8hjie_2._light_8hjie_2{background-color:var(--white);color:var(--black);border-radius:10px}._wrapper_8hjie_2._light_8hjie_2 ._table_8hjie_2 thead{background-color:var(--gray-f9)}._wrapper_8hjie_2._light_8hjie_2 ._table_8hjie_2._fixedHeader_8hjie_2 th{top:calc(var(--spacing,.25rem)*0);background-color:var(--white)}._wrapper_8hjie_2._light_8hjie_2 ._table_8hjie_2 tbody td{padding:calc(var(--spacing,.25rem)*5)}._wrapper_8hjie_2._light_8hjie_2 ._table_8hjie_2 tbody tr:nth-child(2n) td{background-color:var(--gray-fd)}._wrapper_8hjie_2._dark_8hjie_2 ._header_8hjie_2{padding-inline:calc(var(--spacing,.25rem)*3);padding-block:calc(var(--spacing,.25rem)*5)}._wrapper_8hjie_2._dark_8hjie_2 ._header_8hjie_2 ._title_8hjie_2{color:var(--white)}._wrapper_8hjie_2._dark_8hjie_2>._tableWrap_8hjie_2{background-color:var(--gray-57);--tw-shadow:0 2px 4px 0 var(--tw-shadow-color,#0003);height:100%;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-radius:10px;padding:30px;position:relative}._wrapper_8hjie_2 ._dark_8hjie_2 ._table_8hjie_2 thead{background-image:none}._dark_8hjie_2 ._table_8hjie_2 thead tr th{--tw-border-style:none!important;border-style:none!important}._wrapper_8hjie_2._dark_8hjie_2 ._table_8hjie_2 th{color:var(--gray-5c);--tw-border-style:none!important;border-style:none!important}._wrapper_8hjie_2._dark_8hjie_2 ._table_8hjie_2 td:first-child,._wrapper_8hjie_2._dark_8hjie_2 ._table_8hjie_2 th:first-child{padding-left:calc(var(--spacing,.25rem)*0)}._wrapper_8hjie_2._dark_8hjie_2 ._table_8hjie_2 td:last-child,._wrapper_8hjie_2._dark_8hjie_2 ._table_8hjie_2 th:last-child{padding-right:calc(var(--spacing,.25rem)*0)}._wrapper_8hjie_2._dark_8hjie_2 ._table_8hjie_2 th{padding-top:calc(var(--spacing,.25rem)*0);--tw-font-weight:var(--font-weight-semibold,600);font-size:11px;font-weight:var(--font-weight-semibold,600);--tw-tracking:.39px;letter-spacing:.39px;color:var(--gray-9b);text-transform:uppercase}._wrapper_8hjie_2._dark_8hjie_2 ._table_8hjie_2 td{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--gray-5c);font-size:var(--font-md);--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--gray-f2)}._wrapper_8hjie_2._dark_8hjie_2 ._table_8hjie_2 tbody tr:last-child td{border-bottom-style:var(--tw-border-style);padding-bottom:calc(var(--spacing,.25rem)*0);border-bottom-width:0}._wrapper_8hjie_2._dark_8hjie_2 ._actionWrap_8hjie_2{margin-top:calc(var(--spacing,.25rem)*0)}._tableLoading_8hjie_2{border-radius:10px}._actionWrap_8hjie_2{margin-top:calc(var(--spacing,.25rem)*2.5);justify-content:space-between;display:flex}._selectedAction_8hjie_2{display:flex}._selectedAction_8hjie_2 button{margin-left:15px}._rightGroup_8hjie_2{display:flex}._pageSizeWrap_8hjie_2{align-items:center;display:inline-flex}._pageSizeWrap_8hjie_2 span{margin-left:calc(var(--spacing,.25rem)*2.5);--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);color:var(--gray-95)}._pager_8hjie_2{margin-left:35px}._size_8hjie_2{max-width:75px}._noResult_8hjie_2{text-align:left;min-height:60px;font-size:var(--font-def);--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);align-items:center;display:flex}._scrollWrap_8hjie_2{max-height:100%!important}._justifyContentEnd_8hjie_2{justify-content:flex-end}._width100_8hjie_2{width:100%}._sort_8hjie_2{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;display:flex}._icons_8hjie_2{justify-content:center;align-items:center;gap:calc(var(--spacing,.25rem)*.5);color:var(--dark-1e);display:flex}._sorted_8hjie_2{color:var(--gray-95)}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-border-spacing-x{syntax:"<length>";inherits:false;initial-value:0}@property --tw-border-spacing-y{syntax:"<length>";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-tracking{syntax:"*";inherits:false}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import './Table.css';const e = "_wrapper_8hjie_2", t = "_header_8hjie_2", _ = "_title_8hjie_2", i = "_subTitle_8hjie_2", o = "_table_8hjie_2", s = "_fixed_8hjie_2", n = "_dark_8hjie_2", a = "_light_8hjie_2", r = "_fixedHeader_8hjie_2", c = "_tableWrap_8hjie_2", h = "_actionWrap_8hjie_2", l = "_tableLoading_8hjie_2", d = "_selectedAction_8hjie_2", p = "_rightGroup_8hjie_2", j = "_pageSizeWrap_8hjie_2", g = "_pager_8hjie_2", b = "_size_8hjie_2", u = "_noResult_8hjie_2", W = "_scrollWrap_8hjie_2", f = "_justifyContentEnd_8hjie_2", x = "_width100_8hjie_2", w = "_sort_8hjie_2", z = "_icons_8hjie_2", y = "_sorted_8hjie_2", k = {
|
|
2
|
+
wrapper: e,
|
|
3
|
+
header: t,
|
|
4
|
+
title: _,
|
|
5
|
+
subTitle: i,
|
|
6
|
+
table: o,
|
|
7
|
+
fixed: s,
|
|
8
|
+
dark: n,
|
|
9
|
+
light: a,
|
|
10
|
+
fixedHeader: r,
|
|
11
|
+
tableWrap: c,
|
|
12
|
+
actionWrap: h,
|
|
13
|
+
tableLoading: l,
|
|
14
|
+
selectedAction: d,
|
|
15
|
+
rightGroup: p,
|
|
16
|
+
pageSizeWrap: j,
|
|
17
|
+
pager: g,
|
|
18
|
+
size: b,
|
|
19
|
+
noResult: u,
|
|
20
|
+
scrollWrap: W,
|
|
21
|
+
justifyContentEnd: f,
|
|
22
|
+
width100: x,
|
|
23
|
+
sort: w,
|
|
24
|
+
icons: z,
|
|
25
|
+
sorted: y
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
k as s
|
|
29
|
+
};
|
|
@@ -2,7 +2,7 @@ import { j as r } from "../../jsx-runtime-BcAkpsdy.js";
|
|
|
2
2
|
import se, { useState as F, useEffect as O } from "react";
|
|
3
3
|
import ne from "../NoResult/NoResult.js";
|
|
4
4
|
import { c as m } from "../../index-BHf7G3IG.js";
|
|
5
|
-
import { s as x } from "../../Table.module-
|
|
5
|
+
import { s as x } from "../../Table.module-rFa4-NE2.js";
|
|
6
6
|
import { ThemeAppearance as z, AppearanceSpinner as D } from "../../enums/appearance.js";
|
|
7
7
|
import G from "../Checkbox/Checkbox.js";
|
|
8
8
|
import oe from "../Loading/Loading.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import { useState as x, useEffect as R } from "react";
|
|
3
3
|
import { c as f } from "../../index-BHf7G3IG.js";
|
|
4
|
-
import { s } from "../../Table.module-
|
|
4
|
+
import { s } from "../../Table.module-rFa4-NE2.js";
|
|
5
5
|
import { FormFieldAppearance as j, AppearanceButton as B } from "../../enums/appearance.js";
|
|
6
6
|
import D from "../Button/Button.js";
|
|
7
7
|
import W from "../Heading/Heading.js";
|
|
@@ -2,7 +2,7 @@ import { j as r } from "../../jsx-runtime-BcAkpsdy.js";
|
|
|
2
2
|
import { useState as p } from "react";
|
|
3
3
|
import { FloraIcons as s } from "../../assets/icons/flora-icons.js";
|
|
4
4
|
import o from "../Icon/index.js";
|
|
5
|
-
import { s as a } from "../../Table.module-
|
|
5
|
+
import { s as a } from "../../Table.module-rFa4-NE2.js";
|
|
6
6
|
import { SortEnum as t } from "../../enums/status.js";
|
|
7
7
|
const g = (m) => {
|
|
8
8
|
const [c, i] = p(t.ASC), { title: d, onClick: l } = m, x = (j) => {
|
package/package.json
CHANGED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import './Table.css';const t = "_wrapper_xi76o_2", o = "_header_xi76o_2", _ = "_title_xi76o_2", e = "_subTitle_xi76o_2", i = "_table_xi76o_2", s = "_fixed_xi76o_2", n = "_light_xi76o_2", a = "_fixedHeader_xi76o_2", r = "_dark_xi76o_2", c = "_tableWrap_xi76o_2", l = "_actionWrap_xi76o_2", x = "_tableLoading_xi76o_2", d = "_selectedAction_xi76o_2", p = "_rightGroup_xi76o_2", g = "_pageSizeWrap_xi76o_2", b = "_pager_xi76o_2", h = "_size_xi76o_2", u = "_noResult_xi76o_2", W = "_scrollWrap_xi76o_2", f = "_justifyContentEnd_xi76o_2", w = "_width100_xi76o_2", z = "_sort_xi76o_2", y = "_icons_xi76o_2", j = "_sorted_xi76o_2", k = {
|
|
2
|
-
wrapper: t,
|
|
3
|
-
header: o,
|
|
4
|
-
title: _,
|
|
5
|
-
subTitle: e,
|
|
6
|
-
table: i,
|
|
7
|
-
fixed: s,
|
|
8
|
-
light: n,
|
|
9
|
-
fixedHeader: a,
|
|
10
|
-
dark: r,
|
|
11
|
-
tableWrap: c,
|
|
12
|
-
actionWrap: l,
|
|
13
|
-
tableLoading: x,
|
|
14
|
-
selectedAction: d,
|
|
15
|
-
rightGroup: p,
|
|
16
|
-
pageSizeWrap: g,
|
|
17
|
-
pager: b,
|
|
18
|
-
size: h,
|
|
19
|
-
noResult: u,
|
|
20
|
-
scrollWrap: W,
|
|
21
|
-
justifyContentEnd: f,
|
|
22
|
-
width100: w,
|
|
23
|
-
sort: z,
|
|
24
|
-
icons: y,
|
|
25
|
-
sorted: j
|
|
26
|
-
};
|
|
27
|
-
export {
|
|
28
|
-
k as s
|
|
29
|
-
};
|