@itilite/lumina-ui 1.0.0-alpha → 1.0.1-alpha
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/{AdvancedDateRangePicker-Eh6n4ne0.d.mts → AdvancedDateRangePicker-ozItnkhp.d.mts} +1 -1
- package/dist/{AdvancedDateRangePicker-Eh6n4ne0.d.ts → AdvancedDateRangePicker-ozItnkhp.d.ts} +1 -1
- package/dist/atom/AdvancedDateRangePicker/AdvancedDateRangePicker.d.mts +1 -1
- package/dist/atom/AdvancedDateRangePicker/AdvancedDateRangePicker.d.ts +1 -1
- package/dist/atom/AdvancedDateRangePicker/InternalCalendar.d.mts +1 -2
- package/dist/atom/AdvancedDateRangePicker/InternalCalendar.d.ts +1 -2
- package/dist/atom/LoadingSpinner/LoadingSpinner.d.mts +2 -2
- package/dist/atom/LoadingSpinner/LoadingSpinner.d.ts +2 -2
- package/dist/index.d.mts +14 -15
- package/dist/index.d.ts +14 -15
- package/dist/index.mjs +8 -8
- package/dist/styles.css +328 -312
- package/package.json +1 -1
- package/dist/AdvancedDateRangePicker-CN9WN0rH.d.mts +0 -56
- package/dist/AdvancedDateRangePicker-CN9WN0rH.d.ts +0 -56
- package/dist/AdvancedDateRangePicker-CzN1HGsC.d.mts +0 -57
- package/dist/AdvancedDateRangePicker-CzN1HGsC.d.ts +0 -57
- package/dist/AdvancedDateRangePicker-DAPxgRl3.d.mts +0 -54
- package/dist/AdvancedDateRangePicker-DAPxgRl3.d.ts +0 -54
- package/dist/AdvancedDateRangePicker-DW94285G.d.mts +0 -56
- package/dist/AdvancedDateRangePicker-DW94285G.d.ts +0 -56
- package/dist/Avatar-DX2JwvAs.d.mts +0 -17
- package/dist/Avatar-DX2JwvAs.d.ts +0 -17
- package/dist/Table-BA0D3p1m.d.mts +0 -78
- package/dist/Table-BA0D3p1m.d.ts +0 -78
- package/dist/Table-BLZ6c46U.d.mts +0 -77
- package/dist/Table-BLZ6c46U.d.ts +0 -77
- package/dist/Table-BMqYnFi4.d.mts +0 -25
- package/dist/Table-BMqYnFi4.d.ts +0 -25
- package/dist/Table-BRcthrYV.d.mts +0 -98
- package/dist/Table-BRcthrYV.d.ts +0 -98
- package/dist/Table-BWlFCfBG.d.mts +0 -106
- package/dist/Table-BWlFCfBG.d.ts +0 -106
- package/dist/Table-CHFmNrme.d.mts +0 -77
- package/dist/Table-CHFmNrme.d.ts +0 -77
- package/dist/Table-CX6UwQiD.d.mts +0 -116
- package/dist/Table-CX6UwQiD.d.ts +0 -116
- package/dist/Table-Chud2XSq.d.mts +0 -99
- package/dist/Table-Chud2XSq.d.ts +0 -99
- package/dist/Table-D5QRe_j3.d.mts +0 -121
- package/dist/Table-D5QRe_j3.d.ts +0 -121
- package/dist/Table-DAgFGahx.d.mts +0 -39
- package/dist/Table-DAgFGahx.d.ts +0 -39
- package/dist/Table-DWniK7At.d.mts +0 -87
- package/dist/Table-DWniK7At.d.ts +0 -87
- package/dist/Table-PyFlnUDu.d.mts +0 -47
- package/dist/Table-PyFlnUDu.d.ts +0 -47
- package/dist/Table-wqyg13Y9.d.mts +0 -77
- package/dist/Table-wqyg13Y9.d.ts +0 -77
- package/dist/Tag-l7I5oeyk.d.mts +0 -13
- package/dist/Tag-l7I5oeyk.d.ts +0 -13
- package/dist/atom/Table/LuminaPagination.d.mts +0 -7
- package/dist/atom/Table/LuminaPagination.d.ts +0 -7
- package/dist/atom/Table/LuminaPagination.js +0 -153
- package/dist/atom/Table/LuminaPagination.mjs +0 -9
- package/dist/atom/Table/TableAccordion.d.mts +0 -9
- package/dist/atom/Table/TableAccordion.d.ts +0 -9
- package/dist/atom/Table/TableAccordion.js +0 -91
- package/dist/atom/Table/TableAccordion.mjs +0 -10
- package/dist/atom/Table/TableColumnHeader.d.mts +0 -7
- package/dist/atom/Table/TableColumnHeader.d.ts +0 -7
- package/dist/atom/Table/TableColumnHeader.js +0 -151
- package/dist/atom/Table/TableColumnHeader.mjs +0 -10
- package/dist/atom/Table/TableToolbar.d.mts +0 -9
- package/dist/atom/Table/TableToolbar.d.ts +0 -9
- package/dist/atom/Table/TableToolbar.js +0 -114
- package/dist/atom/Table/TableToolbar.mjs +0 -10
- package/dist/atom/Table/__tests__/Table.test.d.mts +0 -2
- package/dist/atom/Table/__tests__/Table.test.d.ts +0 -2
- package/dist/atom/Table/__tests__/Table.test.js +0 -61133
- package/dist/atom/Table/__tests__/Table.test.mjs +0 -59522
- package/dist/atom/TableAccordion/index.d.mts +0 -17
- package/dist/atom/TableAccordion/index.d.ts +0 -17
- package/dist/atom/TableAccordion/index.js +0 -91
- package/dist/atom/TableAccordion/index.mjs +0 -9
- package/dist/atom/TableToolbar/index.d.mts +0 -23
- package/dist/atom/TableToolbar/index.d.ts +0 -23
- package/dist/atom/TableToolbar/index.js +0 -114
- package/dist/atom/TableToolbar/index.mjs +0 -9
- package/dist/chunk-2PIFDGVK.mjs +0 -420
- package/dist/chunk-35KDS27M.mjs +0 -618
- package/dist/chunk-3S4X3YO2.mjs +0 -64
- package/dist/chunk-3XUHGVYA.mjs +0 -77
- package/dist/chunk-5HF6Y37C.mjs +0 -642
- package/dist/chunk-5OGQ4YIR.mjs +0 -238
- package/dist/chunk-6FCSXN7R.mjs +0 -388
- package/dist/chunk-7W72LPSU.mjs +0 -66
- package/dist/chunk-A66QDQHK.mjs +0 -627
- package/dist/chunk-ABLIL47F.mjs +0 -618
- package/dist/chunk-AEPDEUGY.mjs +0 -627
- package/dist/chunk-AFLEGUF3.mjs +0 -232
- package/dist/chunk-APCEITHQ.mjs +0 -232
- package/dist/chunk-AVQBFGBT.mjs +0 -141
- package/dist/chunk-B5BOBELW.mjs +0 -213
- package/dist/chunk-BQ4PVLJ4.mjs +0 -262
- package/dist/chunk-DBNLBCQK.mjs +0 -64
- package/dist/chunk-DLLT6V65.mjs +0 -141
- package/dist/chunk-DOQQRYTS.mjs +0 -73
- package/dist/chunk-DSVR2DVF.mjs +0 -660
- package/dist/chunk-DXUPULDI.mjs +0 -424
- package/dist/chunk-E465D6OH.mjs +0 -644
- package/dist/chunk-E4FCLHYA.mjs +0 -678
- package/dist/chunk-ENQN5BAN.mjs +0 -225
- package/dist/chunk-F6VMSH4N.mjs +0 -79
- package/dist/chunk-FKGGN3FA.mjs +0 -412
- package/dist/chunk-GFTO2N3Q.mjs +0 -432
- package/dist/chunk-GM6H6RPJ.mjs +0 -232
- package/dist/chunk-HF3VJBMY.mjs +0 -244
- package/dist/chunk-HISCHZ5H.mjs +0 -77
- package/dist/chunk-HWQBE6PT.mjs +0 -99
- package/dist/chunk-HXM657YW.mjs +0 -115
- package/dist/chunk-I5VHKSQR.mjs +0 -64
- package/dist/chunk-ICSZZNTY.mjs +0 -384
- package/dist/chunk-IZGLD7U3.mjs +0 -667
- package/dist/chunk-J7X2PZG6.mjs +0 -232
- package/dist/chunk-JUXBLRMQ.mjs +0 -50
- package/dist/chunk-JXFSGADI.mjs +0 -678
- package/dist/chunk-KGKRSR6D.mjs +0 -388
- package/dist/chunk-KQKNFGWZ.mjs +0 -388
- package/dist/chunk-LCH4DXJY.mjs +0 -92
- package/dist/chunk-LCXU3K57.mjs +0 -232
- package/dist/chunk-LRN4XOIR.mjs +0 -71
- package/dist/chunk-LROMXY35.mjs +0 -116
- package/dist/chunk-LUNPHYAR.mjs +0 -681
- package/dist/chunk-LVOTEPLC.mjs +0 -64
- package/dist/chunk-M2ZM3X5Y.mjs +0 -56
- package/dist/chunk-M4MIYHAV.mjs +0 -43
- package/dist/chunk-M7F7DOC4.mjs +0 -41
- package/dist/chunk-MHWFVML4.mjs +0 -115
- package/dist/chunk-MPTVYTYS.mjs +0 -0
- package/dist/chunk-MQFW3LZR.mjs +0 -111
- package/dist/chunk-N355RJGH.mjs +0 -141
- package/dist/chunk-N3YFQDW7.mjs +0 -77
- package/dist/chunk-NGCBOOIE.mjs +0 -225
- package/dist/chunk-NWQQYJSP.mjs +0 -688
- package/dist/chunk-NYQV556V.mjs +0 -667
- package/dist/chunk-O5C3355V.mjs +0 -246
- package/dist/chunk-OCP43S7U.mjs +0 -241
- package/dist/chunk-OHLFRULE.mjs +0 -432
- package/dist/chunk-PLO46EKV.mjs +0 -65
- package/dist/chunk-PSBEYGD4.mjs +0 -618
- package/dist/chunk-PWIBJI6Z.mjs +0 -115
- package/dist/chunk-Q5KPXEH5.mjs +0 -223
- package/dist/chunk-QC34HHAY.mjs +0 -57
- package/dist/chunk-QVWV36BK.mjs +0 -73
- package/dist/chunk-QWK3MYDM.mjs +0 -64
- package/dist/chunk-RE44YAMD.mjs +0 -47
- package/dist/chunk-RH6DAYBU.mjs +0 -369
- package/dist/chunk-RSSEJENT.mjs +0 -269
- package/dist/chunk-SJBS5QCJ.mjs +0 -225
- package/dist/chunk-SWRFCTJW.mjs +0 -77
- package/dist/chunk-T4XNCAIB.mjs +0 -231
- package/dist/chunk-TCX5IFQ4.mjs +0 -627
- package/dist/chunk-TSAUBT2F.mjs +0 -74
- package/dist/chunk-U7Q7ILSE.mjs +0 -690
- package/dist/chunk-UHTUJJH7.mjs +0 -112
- package/dist/chunk-UOHYCMUS.mjs +0 -53
- package/dist/chunk-UQZBL3F7.mjs +0 -0
- package/dist/chunk-URGYNKJM.mjs +0 -229
- package/dist/chunk-UTMZY37A.mjs +0 -141
- package/dist/chunk-UUEPD2FH.mjs +0 -141
- package/dist/chunk-VQOUJQIF.mjs +0 -249
- package/dist/chunk-VY3QH43W.mjs +0 -6
- package/dist/chunk-W2N3AWY6.mjs +0 -80
- package/dist/chunk-WUVS6S7N.mjs +0 -119
- package/dist/chunk-WZS2K7X3.mjs +0 -688
- package/dist/chunk-X76GNSBB.mjs +0 -87
- package/dist/chunk-XG7CZXBW.mjs +0 -244
- package/dist/chunk-XXKIBYXD.mjs +0 -109
- package/dist/chunk-XXTUVMAY.mjs +0 -51
- package/dist/chunk-Y3BIY4DW.mjs +0 -618
- package/dist/chunk-Y7FP6ZMW.mjs +0 -225
- package/dist/chunk-YELLXCMY.mjs +0 -265
- package/dist/chunk-YQEEM26W.mjs +0 -232
- package/dist/chunk-ZGFE3OPJ.mjs +0 -678
- package/dist/chunk-ZMJ3KDDY.mjs +0 -618
- package/dist/chunk-ZYPWQ53U.mjs +0 -6
- package/dist/dist-U2IPN4FB.mjs +0 -567
- package/dist/magic-string.es-XOWQCRDO.mjs +0 -1311
- package/dist/types-CA0Wby2L.d.mts +0 -67
- package/dist/types-CA0Wby2L.d.ts +0 -67
- package/dist/types-CncMmuJM.d.mts +0 -44
- package/dist/types-CncMmuJM.d.ts +0 -44
- package/dist/types-D4fdeMWQ.d.mts +0 -62
- package/dist/types-D4fdeMWQ.d.ts +0 -62
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// src/atom/Table/TableToolbar.tsx
|
|
31
|
-
var TableToolbar_exports = {};
|
|
32
|
-
__export(TableToolbar_exports, {
|
|
33
|
-
TableToolbar: () => TableToolbar,
|
|
34
|
-
default: () => TableToolbar_default
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(TableToolbar_exports);
|
|
37
|
-
var React = __toESM(require("react"));
|
|
38
|
-
var import_clsx = __toESM(require("clsx"));
|
|
39
|
-
|
|
40
|
-
// src/atom/Table/Table.module.scss
|
|
41
|
-
var Table_module_default = { "tableWrapper": "Table-module__tableWrapper___3cqiD", "childVariant": "Table-module__childVariant___z8tqO", "table": "Table-module__table___5d7g0", "showHoverEffect": "Table-module__showHoverEffect___IyKyO", "accordionWrapper": "Table-module__accordionWrapper___z-G2o", "accordionHeader": "Table-module__accordionHeader___4U0V1", "accordionHeaderText": "Table-module__accordionHeaderText___EkVJ6", "accordionTitle": "Table-module__accordionTitle___slxlB", "accordionSubtitle": "Table-module__accordionSubtitle___3SHXt", "accordionChevron": "Table-module__accordionChevron___VuP4t", "accordionChevronOpen": "Table-module__accordionChevronOpen___-IBPL", "accordionContent": "Table-module__accordionContent___yRE5i", "accordionContentOpen": "Table-module__accordionContentOpen___IYOrw", "toolbarWrapper": "Table-module__toolbarWrapper___5Lydt", "toolbarTopRow": "Table-module__toolbarTopRow___-uHIo", "toolbarSearchInputWrapper": "Table-module__toolbarSearchInputWrapper___fhdis", "toolbarSearchIcon": "Table-module__toolbarSearchIcon___gQO6D", "toolbarSearchInput": "Table-module__toolbarSearchInput___9IqZ4", "toolbarEditColumnsBtn": "Table-module__toolbarEditColumnsBtn___MQlCZ", "toolbarFilterRow": "Table-module__toolbarFilterRow___Ewi4o", "toolbarAddFilterBtn": "Table-module__toolbarAddFilterBtn___QKMiQ", "toolbarTableSlot": "Table-module__toolbarTableSlot___DMBBH" };
|
|
42
|
-
|
|
43
|
-
// src/atom/Table/TableToolbar.tsx
|
|
44
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
45
|
-
var TableToolbar = ({
|
|
46
|
-
searchPlaceholder = "Search...",
|
|
47
|
-
onSearch,
|
|
48
|
-
editColumnsLabel = "Edit Columns",
|
|
49
|
-
onEditColumns,
|
|
50
|
-
addFilterLabel = "+ Add filter",
|
|
51
|
-
onAddFilter,
|
|
52
|
-
className,
|
|
53
|
-
children
|
|
54
|
-
}) => {
|
|
55
|
-
const [searchValue, setSearchValue] = React.useState("");
|
|
56
|
-
const handleSearchChange = (e) => {
|
|
57
|
-
setSearchValue(e.target.value);
|
|
58
|
-
onSearch == null ? void 0 : onSearch(e.target.value);
|
|
59
|
-
};
|
|
60
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: (0, import_clsx.default)(Table_module_default.toolbarWrapper, className), "data-testid": "lumina-table-toolbar", children: [
|
|
61
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: Table_module_default.toolbarTopRow, children: [
|
|
62
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: Table_module_default.toolbarSearchInputWrapper, children: [
|
|
63
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: Table_module_default.toolbarSearchIcon, "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
64
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "7", cy: "7", r: "4.5", stroke: "#9CA3AF", strokeWidth: "1.5" }),
|
|
65
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M10.5 10.5L13.5 13.5", stroke: "#9CA3AF", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
66
|
-
] }) }),
|
|
67
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
68
|
-
"input",
|
|
69
|
-
{
|
|
70
|
-
className: Table_module_default.toolbarSearchInput,
|
|
71
|
-
type: "text",
|
|
72
|
-
placeholder: searchPlaceholder,
|
|
73
|
-
value: searchValue,
|
|
74
|
-
onChange: handleSearchChange,
|
|
75
|
-
"aria-label": "Search"
|
|
76
|
-
}
|
|
77
|
-
)
|
|
78
|
-
] }),
|
|
79
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
80
|
-
"button",
|
|
81
|
-
{
|
|
82
|
-
className: Table_module_default.toolbarEditColumnsBtn,
|
|
83
|
-
onClick: onEditColumns,
|
|
84
|
-
type: "button",
|
|
85
|
-
"data-testid": "edit-columns-btn",
|
|
86
|
-
children: [
|
|
87
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
88
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "2", y: "3", width: "3", height: "10", rx: "1", stroke: "#374151", strokeWidth: "1.25" }),
|
|
89
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "6.5", y: "3", width: "3", height: "10", rx: "1", stroke: "#374151", strokeWidth: "1.25" }),
|
|
90
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "11", y: "3", width: "3", height: "10", rx: "1", stroke: "#374151", strokeWidth: "1.25" })
|
|
91
|
-
] }),
|
|
92
|
-
editColumnsLabel
|
|
93
|
-
]
|
|
94
|
-
}
|
|
95
|
-
)
|
|
96
|
-
] }),
|
|
97
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: Table_module_default.toolbarFilterRow, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
98
|
-
"button",
|
|
99
|
-
{
|
|
100
|
-
className: Table_module_default.toolbarAddFilterBtn,
|
|
101
|
-
onClick: onAddFilter,
|
|
102
|
-
type: "button",
|
|
103
|
-
"data-testid": "add-filter-btn",
|
|
104
|
-
children: addFilterLabel
|
|
105
|
-
}
|
|
106
|
-
) }),
|
|
107
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: Table_module_default.toolbarTableSlot, children })
|
|
108
|
-
] });
|
|
109
|
-
};
|
|
110
|
-
var TableToolbar_default = TableToolbar;
|
|
111
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
112
|
-
0 && (module.exports = {
|
|
113
|
-
TableToolbar
|
|
114
|
-
});
|