@sikka/hawa 0.23.2-next → 0.23.7-next
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/accordion/index.js +30 -2399
- package/dist/accordion/index.mjs +19 -461
- package/dist/alert/index.mjs +0 -1
- package/dist/appStores/index.js +75 -0
- package/dist/appStores/index.mjs +38 -0
- package/dist/avatar/index.mjs +118 -3
- package/dist/backToTop/index.mjs +102 -4
- package/dist/badge/index.js +127 -0
- package/dist/badge/index.mjs +84 -0
- package/dist/blocks/auth/index.js +1173 -3092
- package/dist/blocks/auth/index.mjs +16 -10
- package/dist/blocks/feedback/index.js +864 -2913
- package/dist/blocks/feedback/index.mjs +14 -8
- package/dist/blocks/index.js +5714 -5316
- package/dist/blocks/index.mjs +390 -45
- package/dist/blocks/misc/index.js +634 -2409
- package/dist/blocks/misc/index.mjs +14 -8
- package/dist/blocks/pricing/index.js +522 -524
- package/dist/blocks/pricing/index.mjs +1861 -45
- package/dist/breadcrumb/index.js +63 -0
- package/dist/breadcrumb/index.mjs +26 -0
- package/dist/card/index.mjs +83 -8
- package/dist/checkbox/index.mjs +138 -3
- package/dist/chip/index.js +129 -0
- package/dist/chip/index.mjs +8 -0
- package/dist/{chunk-X6PCWJYD.mjs → chunk-2R2QPJT7.mjs} +761 -1104
- package/dist/chunk-677VOLD4.mjs +464 -0
- package/dist/chunk-72HYR6WB.mjs +88 -0
- package/dist/chunk-A25EXELT.mjs +131 -0
- package/dist/{chunk-OE27DSIY.mjs → chunk-F6TKEDDP.mjs} +2 -4
- package/dist/{chunk-YFC2GSJ6.mjs → chunk-P2O6R3S6.mjs} +66 -5
- package/dist/{chunk-GXXX5UB4.mjs → chunk-QGKW5R5F.mjs} +59 -20
- package/dist/chunk-TR56G3NM.mjs +2350 -0
- package/dist/chunk-UAVBFK53.mjs +346 -0
- package/dist/combobox/index.mjs +153 -7
- package/dist/dataTable/index.mjs +355 -8
- package/dist/elements/index.js +800 -1148
- package/dist/elements/index.mjs +1 -11
- package/dist/fileDropzone/index.mjs +226 -4
- package/dist/index.js +1721 -1721
- package/dist/index.mjs +1663 -1663
- package/dist/layout/index.js +493 -510
- package/dist/layout/index.mjs +1 -1
- package/dist/loading/index.mjs +0 -1
- package/dist/logos/index.mjs +204 -3
- package/dist/navigationMenu/index.mjs +155 -13
- package/dist/phoneInput/index.js +2074 -0
- package/dist/phoneInput/index.mjs +1776 -0
- package/dist/pinInput/index.js +130 -0
- package/dist/pinInput/index.mjs +88 -0
- package/dist/progress/index.js +71 -0
- package/dist/progress/index.mjs +29 -0
- package/dist/radio/index.mjs +202 -4
- package/dist/scrollArea/index.js +90 -0
- package/dist/scrollArea/index.mjs +47 -0
- package/dist/select/index.mjs +1 -1
- package/dist/sheet/index.mjs +137 -12
- package/dist/sortButton/index.mjs +40 -4
- package/dist/stopPropagationWrapper/index.js +48 -0
- package/dist/stopPropagationWrapper/index.mjs +11 -0
- package/dist/switch/index.mjs +79 -3
- package/dist/tabs/index.js +1 -1
- package/dist/tabs/index.mjs +68 -6
- package/dist/textarea/index.mjs +54 -4
- package/package.json +2 -2
- package/dist/Chip-DJ6ThZc_.d.ts +0 -21
- package/dist/Chip-eal8vwDz.d.mts +0 -21
- package/dist/accordion/index.d.mts +0 -42
- package/dist/accordion/index.d.ts +0 -42
- package/dist/alert/index.d.mts +0 -28
- package/dist/alert/index.d.ts +0 -28
- package/dist/avatar/index.d.mts +0 -15
- package/dist/avatar/index.d.ts +0 -15
- package/dist/backToTop/index.d.mts +0 -15
- package/dist/backToTop/index.d.ts +0 -15
- package/dist/button/index.d.mts +0 -16
- package/dist/button/index.d.ts +0 -16
- package/dist/card/index.d.mts +0 -17
- package/dist/card/index.d.ts +0 -17
- package/dist/checkbox/index.d.mts +0 -20
- package/dist/checkbox/index.d.ts +0 -20
- package/dist/chunk-BK5WF7UO.mjs +0 -231
- package/dist/chunk-CXWYC6FS.mjs +0 -360
- package/dist/chunk-D2USGMDT.mjs +0 -208
- package/dist/chunk-DX4SLF2L.mjs +0 -45
- package/dist/chunk-ENNSA4VR.mjs +0 -5566
- package/dist/chunk-GXSYCLZZ.mjs +0 -158
- package/dist/chunk-IQPGAHUR.mjs +0 -107
- package/dist/chunk-POT2IP62.mjs +0 -123
- package/dist/chunk-TWDZB2VH.mjs +0 -151
- package/dist/chunk-VBTYVVA7.mjs +0 -93
- package/dist/chunk-VCGW5DIP.mjs +0 -170
- package/dist/chunk-X3SMPIA3.mjs +0 -0
- package/dist/chunk-XA646BZ2.mjs +0 -143
- package/dist/chunk-ZCUUQ5VV.mjs +0 -84
- package/dist/combobox/index.d.mts +0 -32
- package/dist/combobox/index.d.ts +0 -32
- package/dist/command/index.d.mts +0 -48
- package/dist/command/index.d.ts +0 -48
- package/dist/commonTypes-gbO4hPli.d.mts +0 -7
- package/dist/commonTypes-gbO4hPli.d.ts +0 -7
- package/dist/dataTable/index.d.mts +0 -39
- package/dist/dataTable/index.d.ts +0 -39
- package/dist/dialog/index.d.mts +0 -57
- package/dist/dialog/index.d.ts +0 -57
- package/dist/dropdownMenu/index.d.mts +0 -95
- package/dist/dropdownMenu/index.d.ts +0 -95
- package/dist/fileDropzone/index.d.mts +0 -37
- package/dist/fileDropzone/index.d.ts +0 -37
- package/dist/input/index.d.mts +0 -36
- package/dist/input/index.d.ts +0 -36
- package/dist/label/index.d.mts +0 -12
- package/dist/label/index.d.ts +0 -12
- package/dist/loading/index.d.mts +0 -15
- package/dist/loading/index.d.ts +0 -15
- package/dist/logos/index.d.mts +0 -27
- package/dist/logos/index.d.ts +0 -27
- package/dist/navigationMenu/index.d.mts +0 -39
- package/dist/navigationMenu/index.d.ts +0 -39
- package/dist/popover/index.d.mts +0 -23
- package/dist/popover/index.d.ts +0 -23
- package/dist/radio/index.d.mts +0 -28
- package/dist/radio/index.d.ts +0 -28
- package/dist/select/index.d.mts +0 -43
- package/dist/select/index.d.ts +0 -43
- package/dist/sheet/index.d.mts +0 -30
- package/dist/sheet/index.d.ts +0 -30
- package/dist/skeleton/index.d.mts +0 -10
- package/dist/skeleton/index.d.ts +0 -10
- package/dist/sortButton/index.d.mts +0 -10
- package/dist/sortButton/index.d.ts +0 -10
- package/dist/splitButton/index.d.mts +0 -15
- package/dist/splitButton/index.d.ts +0 -15
- package/dist/switch/index.d.mts +0 -12
- package/dist/switch/index.d.ts +0 -12
- package/dist/table/index.d.mts +0 -21
- package/dist/table/index.d.ts +0 -21
- package/dist/tabs/index.d.mts +0 -16
- package/dist/tabs/index.d.ts +0 -16
- package/dist/textarea/index.d.mts +0 -17
- package/dist/textarea/index.d.ts +0 -17
- package/dist/tooltip/index.d.mts +0 -26
- package/dist/tooltip/index.d.ts +0 -26
- /package/dist/{chunk-A7OPD7H7.mjs → chunk-B6UCD4GP.mjs} +0 -0
- /package/dist/{chunk-O2ALK7UE.mjs → chunk-Z4M72OD3.mjs} +0 -0
package/dist/chunk-CXWYC6FS.mjs
DELETED
|
@@ -1,360 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Input
|
|
3
|
-
} from "./chunk-3KRJLV55.mjs";
|
|
4
|
-
import {
|
|
5
|
-
Table,
|
|
6
|
-
TableBody,
|
|
7
|
-
TableCell,
|
|
8
|
-
TableHead,
|
|
9
|
-
TableHeader,
|
|
10
|
-
TableRow
|
|
11
|
-
} from "./chunk-XPTZGXC7.mjs";
|
|
12
|
-
import {
|
|
13
|
-
Skeleton
|
|
14
|
-
} from "./chunk-J5NJEHQU.mjs";
|
|
15
|
-
import {
|
|
16
|
-
DropdownMenu,
|
|
17
|
-
DropdownMenuCheckboxItem,
|
|
18
|
-
DropdownMenuContent,
|
|
19
|
-
DropdownMenuRoot,
|
|
20
|
-
DropdownMenuTrigger
|
|
21
|
-
} from "./chunk-C4CBXIG5.mjs";
|
|
22
|
-
import {
|
|
23
|
-
Button
|
|
24
|
-
} from "./chunk-SYB66JGL.mjs";
|
|
25
|
-
import {
|
|
26
|
-
cn
|
|
27
|
-
} from "./chunk-TE3BKEXL.mjs";
|
|
28
|
-
|
|
29
|
-
// components/elements/dataTable/DataTable.tsx
|
|
30
|
-
import * as React from "react";
|
|
31
|
-
import {
|
|
32
|
-
flexRender,
|
|
33
|
-
getCoreRowModel,
|
|
34
|
-
getFilteredRowModel,
|
|
35
|
-
getPaginationRowModel,
|
|
36
|
-
getExpandedRowModel,
|
|
37
|
-
getSortedRowModel,
|
|
38
|
-
useReactTable
|
|
39
|
-
} from "@tanstack/react-table";
|
|
40
|
-
var DataTable = ({
|
|
41
|
-
columns,
|
|
42
|
-
data,
|
|
43
|
-
paginationPosition = "bottom",
|
|
44
|
-
translateFn,
|
|
45
|
-
enableHideColumns,
|
|
46
|
-
enableSearch,
|
|
47
|
-
enableGoTo,
|
|
48
|
-
...props
|
|
49
|
-
}) => {
|
|
50
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
|
51
|
-
const [sorting, setSorting] = React.useState(
|
|
52
|
-
props.defaultSort ? [{ id: props.defaultSort, desc: false }] : []
|
|
53
|
-
);
|
|
54
|
-
const [columnFilters, setColumnFilters] = React.useState(
|
|
55
|
-
[]
|
|
56
|
-
);
|
|
57
|
-
const [globalFilter, setGlobalFilter] = React.useState("");
|
|
58
|
-
const [expanded, setExpanded] = React.useState({});
|
|
59
|
-
const [columnVisibility, setColumnVisibility] = React.useState({});
|
|
60
|
-
const [rowSelection, setRowSelection] = React.useState({});
|
|
61
|
-
const table = useReactTable({
|
|
62
|
-
data,
|
|
63
|
-
columns,
|
|
64
|
-
onExpandedChange: setExpanded,
|
|
65
|
-
getExpandedRowModel: getExpandedRowModel(),
|
|
66
|
-
onGlobalFilterChange: setGlobalFilter,
|
|
67
|
-
onSortingChange: setSorting,
|
|
68
|
-
onColumnFiltersChange: setColumnFilters,
|
|
69
|
-
getCoreRowModel: getCoreRowModel(),
|
|
70
|
-
getPaginationRowModel: getPaginationRowModel(),
|
|
71
|
-
getSortedRowModel: getSortedRowModel(),
|
|
72
|
-
getFilteredRowModel: getFilteredRowModel(),
|
|
73
|
-
onColumnVisibilityChange: setColumnVisibility,
|
|
74
|
-
onRowSelectionChange: setRowSelection,
|
|
75
|
-
state: {
|
|
76
|
-
sorting,
|
|
77
|
-
columnFilters,
|
|
78
|
-
columnVisibility,
|
|
79
|
-
globalFilter,
|
|
80
|
-
rowSelection,
|
|
81
|
-
expanded
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
const pageText = ((_a = props.texts) == null ? void 0 : _a.page) || "page";
|
|
85
|
-
const itemsPerPageOptions = (_b = props.itemsPerPage) == null ? void 0 : _b.map((item) => ({
|
|
86
|
-
label: `${item} / ${pageText}`,
|
|
87
|
-
value: item
|
|
88
|
-
}));
|
|
89
|
-
return /* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-4" }, (enableSearch || enableHideColumns) && /* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-4" }, enableSearch && /* @__PURE__ */ React.createElement(
|
|
90
|
-
Input,
|
|
91
|
-
{
|
|
92
|
-
forceHideHelperText: true,
|
|
93
|
-
placeholder: (_c = props.texts) == null ? void 0 : _c.searchPlaceholder,
|
|
94
|
-
value: globalFilter != null ? globalFilter : "",
|
|
95
|
-
onChange: (event) => setGlobalFilter(event.target.value),
|
|
96
|
-
margin: "none",
|
|
97
|
-
className: "hawa-w-full md:hawa-max-w-sm"
|
|
98
|
-
}
|
|
99
|
-
), enableHideColumns && /* @__PURE__ */ React.createElement(DropdownMenuRoot, null, /* @__PURE__ */ React.createElement(DropdownMenuTrigger, { asChild: true }, /* @__PURE__ */ React.createElement(
|
|
100
|
-
Button,
|
|
101
|
-
{
|
|
102
|
-
variant: "outline",
|
|
103
|
-
className: "hawa-flex hawa-flex-row hawa-gap-2"
|
|
104
|
-
},
|
|
105
|
-
((_d = props.texts) == null ? void 0 : _d.columns) || "Columns",
|
|
106
|
-
/* @__PURE__ */ React.createElement(
|
|
107
|
-
"svg",
|
|
108
|
-
{
|
|
109
|
-
"aria-label": "Chevron Down Icon",
|
|
110
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
111
|
-
width: "24",
|
|
112
|
-
height: "24",
|
|
113
|
-
viewBox: "0 0 24 24",
|
|
114
|
-
fill: "none",
|
|
115
|
-
stroke: "currentColor",
|
|
116
|
-
strokeWidth: "2",
|
|
117
|
-
strokeLinecap: "round",
|
|
118
|
-
strokeLinejoin: "round",
|
|
119
|
-
className: "hawa-icon hawa-rotate-90"
|
|
120
|
-
},
|
|
121
|
-
/* @__PURE__ */ React.createElement("path", { d: "m9 18 6-6-6-6" })
|
|
122
|
-
)
|
|
123
|
-
)), /* @__PURE__ */ React.createElement(
|
|
124
|
-
DropdownMenuContent,
|
|
125
|
-
{
|
|
126
|
-
align: props.direction === "rtl" ? "start" : "end"
|
|
127
|
-
},
|
|
128
|
-
table.getAllColumns().filter((column) => column.getCanHide()).map((column) => {
|
|
129
|
-
return /* @__PURE__ */ React.createElement(
|
|
130
|
-
DropdownMenuCheckboxItem,
|
|
131
|
-
{
|
|
132
|
-
key: column.id,
|
|
133
|
-
checked: column.getIsVisible(),
|
|
134
|
-
onCheckedChange: (value) => column.toggleVisibility(!!value)
|
|
135
|
-
},
|
|
136
|
-
translateFn ? translateFn(column.id) : column.id
|
|
137
|
-
);
|
|
138
|
-
})
|
|
139
|
-
))), props.isLoading ? /* @__PURE__ */ React.createElement(Skeleton, { className: "hawa-h-[130px] hawa-w-full" }) : /* @__PURE__ */ React.createElement(
|
|
140
|
-
"div",
|
|
141
|
-
{
|
|
142
|
-
className: cn(
|
|
143
|
-
"hawa-flex hawa-w-full hawa-gap-4",
|
|
144
|
-
paginationPosition === "top" ? "hawa-flex-col-reverse" : "hawa-flex-col"
|
|
145
|
-
)
|
|
146
|
-
},
|
|
147
|
-
/* @__PURE__ */ React.createElement("div", { className: "hawa-rounded-md" }, /* @__PURE__ */ React.createElement(Table, null, table.getAllColumns().length > 0 && /* @__PURE__ */ React.createElement(TableHeader, null, table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ React.createElement(TableRow, { key: headerGroup.id }, headerGroup.headers.map((header) => {
|
|
148
|
-
var _a2;
|
|
149
|
-
let isSortable = (_a2 = header.column.columnDef.meta) == null ? void 0 : _a2.sortable;
|
|
150
|
-
return /* @__PURE__ */ React.createElement(
|
|
151
|
-
TableHead,
|
|
152
|
-
{
|
|
153
|
-
dir: props.direction,
|
|
154
|
-
condensed: props.condensed,
|
|
155
|
-
clickable: Boolean(isSortable),
|
|
156
|
-
key: header.id
|
|
157
|
-
},
|
|
158
|
-
header.isPlaceholder ? null : flexRender(
|
|
159
|
-
header.column.columnDef.header,
|
|
160
|
-
header.getContext()
|
|
161
|
-
)
|
|
162
|
-
);
|
|
163
|
-
})))), /* @__PURE__ */ React.createElement(TableBody, null, ((_e = table.getRowModel().rows) == null ? void 0 : _e.length) ? table.getRowModel().rows.map((row) => /* @__PURE__ */ React.createElement(
|
|
164
|
-
TableRow,
|
|
165
|
-
{
|
|
166
|
-
key: row.id,
|
|
167
|
-
"data-state": row.getIsSelected() && "selected"
|
|
168
|
-
},
|
|
169
|
-
row.getVisibleCells().map((cell) => {
|
|
170
|
-
var _a2;
|
|
171
|
-
return /* @__PURE__ */ React.createElement(
|
|
172
|
-
TableCell,
|
|
173
|
-
{
|
|
174
|
-
dir: props.direction,
|
|
175
|
-
padding: props.condensed ? "condensed" : (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.padding,
|
|
176
|
-
key: cell.id
|
|
177
|
-
},
|
|
178
|
-
flexRender(
|
|
179
|
-
cell.column.columnDef.cell,
|
|
180
|
-
cell.getContext()
|
|
181
|
-
)
|
|
182
|
-
);
|
|
183
|
-
})
|
|
184
|
-
)) : /* @__PURE__ */ React.createElement(TableRow, null, /* @__PURE__ */ React.createElement(
|
|
185
|
-
TableCell,
|
|
186
|
-
{
|
|
187
|
-
colSpan: columns.length,
|
|
188
|
-
className: "hawa-h-24 hawa-text-center"
|
|
189
|
-
},
|
|
190
|
-
(_f = props.texts) == null ? void 0 : _f.noData
|
|
191
|
-
))))),
|
|
192
|
-
/* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-items-center hawa-justify-between" }, !props.showCount && /* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm hawa-text-muted-foreground" }), props.showCount && /* @__PURE__ */ React.createElement(
|
|
193
|
-
"div",
|
|
194
|
-
{
|
|
195
|
-
className: "text-sm text-muted-foreground",
|
|
196
|
-
dir: props.direction
|
|
197
|
-
},
|
|
198
|
-
/* @__PURE__ */ React.createElement("span", null, (_g = props.texts) == null ? void 0 : _g.total),
|
|
199
|
-
" ",
|
|
200
|
-
/* @__PURE__ */ React.createElement("span", null, table.getFilteredRowModel().rows.length.toLocaleString())
|
|
201
|
-
), /* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 " }, enableGoTo && /* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2" }, /* @__PURE__ */ React.createElement("span", { className: "hawa-text-sm" }, (_h = props.texts) == null ? void 0 : _h.goTo), /* @__PURE__ */ React.createElement(
|
|
202
|
-
"input",
|
|
203
|
-
{
|
|
204
|
-
max: table.getPageCount(),
|
|
205
|
-
min: 0,
|
|
206
|
-
type: "number",
|
|
207
|
-
defaultValue: table.getState().pagination.pageIndex + 1,
|
|
208
|
-
onChange: (e) => {
|
|
209
|
-
let page = Number(e.target.value) - 1;
|
|
210
|
-
const max = table.getPageCount();
|
|
211
|
-
if (!isNaN(page) && Number(page) > max) {
|
|
212
|
-
page = max - 1;
|
|
213
|
-
}
|
|
214
|
-
table.setPageIndex(page);
|
|
215
|
-
},
|
|
216
|
-
className: "hawa-w-16 hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-text-sm"
|
|
217
|
-
}
|
|
218
|
-
)), /* @__PURE__ */ React.createElement(
|
|
219
|
-
DropdownMenu,
|
|
220
|
-
{
|
|
221
|
-
size: "sm",
|
|
222
|
-
width: "sm",
|
|
223
|
-
direction: props.direction,
|
|
224
|
-
items: itemsPerPageOptions || [
|
|
225
|
-
{ label: `10 / ${pageText}`, value: 10 },
|
|
226
|
-
{ label: `20 / ${pageText}`, value: 20 },
|
|
227
|
-
{ label: `30 / ${pageText}`, value: 30 },
|
|
228
|
-
{ label: `40 / ${pageText}`, value: 40 },
|
|
229
|
-
{ label: `50 / ${pageText}`, value: 50 }
|
|
230
|
-
],
|
|
231
|
-
trigger: /* @__PURE__ */ React.createElement(
|
|
232
|
-
Button,
|
|
233
|
-
{
|
|
234
|
-
variant: "outline",
|
|
235
|
-
size: "icon",
|
|
236
|
-
className: "hawa-h-fit hawa-w-fit hawa-p-0 hawa-px-2 hawa-py-1 "
|
|
237
|
-
},
|
|
238
|
-
`${table.getState().pagination.pageSize} / ${(_i = props.texts) == null ? void 0 : _i.page}`
|
|
239
|
-
),
|
|
240
|
-
onItemSelect: (e) => table.setPageSize(Number(e))
|
|
241
|
-
}
|
|
242
|
-
), table.getPageCount() > 1 && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-w-fit hawa-flex-row hawa-items-center hawa-gap-2 hawa-text-sm " }, /* @__PURE__ */ React.createElement("span", { className: "hawa-flex hawa-items-center hawa-gap-1" }, /* @__PURE__ */ React.createElement("div", null, (_j = props.texts) == null ? void 0 : _j.page), /* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-1" }, /* @__PURE__ */ React.createElement("span", { className: "hawa-font-bold" }, table.getState().pagination.pageIndex + 1), /* @__PURE__ */ React.createElement("span", null, (_k = props.texts) == null ? void 0 : _k.of), /* @__PURE__ */ React.createElement("span", { className: "hawa-font-bold" }, table.getPageCount())))), /* @__PURE__ */ React.createElement(
|
|
243
|
-
Button,
|
|
244
|
-
{
|
|
245
|
-
"aria-label": "Next Table Page",
|
|
246
|
-
variant: "outline",
|
|
247
|
-
size: "smallIcon",
|
|
248
|
-
onClick: () => table.setPageIndex(0),
|
|
249
|
-
disabled: !table.getCanPreviousPage(),
|
|
250
|
-
className: cn(
|
|
251
|
-
props.direction === "rtl" && "hawa-rotate-180"
|
|
252
|
-
)
|
|
253
|
-
},
|
|
254
|
-
/* @__PURE__ */ React.createElement(
|
|
255
|
-
"svg",
|
|
256
|
-
{
|
|
257
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
258
|
-
width: "20",
|
|
259
|
-
height: "20",
|
|
260
|
-
viewBox: "0 0 24 24",
|
|
261
|
-
fill: "none",
|
|
262
|
-
stroke: "currentColor",
|
|
263
|
-
strokeWidth: "2",
|
|
264
|
-
strokeLinecap: "round",
|
|
265
|
-
strokeLinejoin: "round"
|
|
266
|
-
},
|
|
267
|
-
/* @__PURE__ */ React.createElement("path", { d: "m11 17-5-5 5-5" }),
|
|
268
|
-
/* @__PURE__ */ React.createElement("path", { d: "m18 17-5-5 5-5" })
|
|
269
|
-
)
|
|
270
|
-
), /* @__PURE__ */ React.createElement(
|
|
271
|
-
Button,
|
|
272
|
-
{
|
|
273
|
-
"aria-label": "Previous Table Page",
|
|
274
|
-
variant: "outline",
|
|
275
|
-
size: "smallIcon",
|
|
276
|
-
onClick: () => table.previousPage(),
|
|
277
|
-
disabled: !table.getCanPreviousPage(),
|
|
278
|
-
className: cn(
|
|
279
|
-
props.direction === "rtl" && "hawa-rotate-180"
|
|
280
|
-
)
|
|
281
|
-
},
|
|
282
|
-
/* @__PURE__ */ React.createElement(
|
|
283
|
-
"svg",
|
|
284
|
-
{
|
|
285
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
286
|
-
width: "20",
|
|
287
|
-
height: "20",
|
|
288
|
-
"aria-label": "Single Chevron Icon",
|
|
289
|
-
viewBox: "0 0 24 24",
|
|
290
|
-
fill: "none",
|
|
291
|
-
stroke: "currentColor",
|
|
292
|
-
strokeWidth: "2",
|
|
293
|
-
strokeLinecap: "round",
|
|
294
|
-
strokeLinejoin: "round"
|
|
295
|
-
},
|
|
296
|
-
/* @__PURE__ */ React.createElement("path", { d: "m15 18-6-6 6-6" })
|
|
297
|
-
)
|
|
298
|
-
), /* @__PURE__ */ React.createElement(
|
|
299
|
-
Button,
|
|
300
|
-
{
|
|
301
|
-
"aria-label": "Next Table Page",
|
|
302
|
-
variant: "outline",
|
|
303
|
-
size: "smallIcon",
|
|
304
|
-
onClick: () => table.nextPage(),
|
|
305
|
-
disabled: !table.getCanNextPage(),
|
|
306
|
-
className: cn(
|
|
307
|
-
props.direction === "ltr" && "hawa-rotate-180"
|
|
308
|
-
)
|
|
309
|
-
},
|
|
310
|
-
/* @__PURE__ */ React.createElement(
|
|
311
|
-
"svg",
|
|
312
|
-
{
|
|
313
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
314
|
-
width: "20",
|
|
315
|
-
height: "20",
|
|
316
|
-
"aria-label": "Single Chevron Icon",
|
|
317
|
-
viewBox: "0 0 24 24",
|
|
318
|
-
fill: "none",
|
|
319
|
-
stroke: "currentColor",
|
|
320
|
-
strokeWidth: "2",
|
|
321
|
-
strokeLinecap: "round",
|
|
322
|
-
strokeLinejoin: "round"
|
|
323
|
-
},
|
|
324
|
-
/* @__PURE__ */ React.createElement("path", { d: "m15 18-6-6 6-6" })
|
|
325
|
-
)
|
|
326
|
-
), /* @__PURE__ */ React.createElement(
|
|
327
|
-
Button,
|
|
328
|
-
{
|
|
329
|
-
"aria-label": "Next Table Page",
|
|
330
|
-
variant: "outline",
|
|
331
|
-
size: "smallIcon",
|
|
332
|
-
onClick: () => table.setPageIndex(table.getPageCount() - 1),
|
|
333
|
-
disabled: !table.getCanNextPage(),
|
|
334
|
-
className: cn(
|
|
335
|
-
props.direction === "ltr" && "hawa-rotate-180"
|
|
336
|
-
)
|
|
337
|
-
},
|
|
338
|
-
/* @__PURE__ */ React.createElement(
|
|
339
|
-
"svg",
|
|
340
|
-
{
|
|
341
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
342
|
-
width: "20",
|
|
343
|
-
height: "20",
|
|
344
|
-
viewBox: "0 0 24 24",
|
|
345
|
-
fill: "none",
|
|
346
|
-
stroke: "currentColor",
|
|
347
|
-
strokeWidth: "2",
|
|
348
|
-
strokeLinecap: "round",
|
|
349
|
-
strokeLinejoin: "round"
|
|
350
|
-
},
|
|
351
|
-
/* @__PURE__ */ React.createElement("path", { d: "m11 17-5-5 5-5" }),
|
|
352
|
-
/* @__PURE__ */ React.createElement("path", { d: "m18 17-5-5 5-5" })
|
|
353
|
-
)
|
|
354
|
-
))))
|
|
355
|
-
));
|
|
356
|
-
};
|
|
357
|
-
|
|
358
|
-
export {
|
|
359
|
-
DataTable
|
|
360
|
-
};
|
package/dist/chunk-D2USGMDT.mjs
DELETED
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
// components/elements/logos/Logos.tsx
|
|
2
|
-
import React from "react";
|
|
3
|
-
var Logos = {
|
|
4
|
-
hawa: (props) => /* @__PURE__ */ React.createElement(
|
|
5
|
-
"svg",
|
|
6
|
-
{
|
|
7
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
-
xmlSpace: "preserve",
|
|
9
|
-
viewBox: "0 0 765 765",
|
|
10
|
-
...props
|
|
11
|
-
},
|
|
12
|
-
/* @__PURE__ */ React.createElement(
|
|
13
|
-
"path",
|
|
14
|
-
{
|
|
15
|
-
d: "M382.5 0C171.6 0 0 171.6 0 382.5V765h382.5C593.4 765 765 593.4 765 382.5S593.4 0 382.5 0zM281.6 305.7c98 0 177.7 79.7 177.7 177.7 0 98-79.7 177.7-177.7 177.7s-177.7-79.7-177.7-177.7c0-98 79.7-177.7 177.7-177.7zm246 314.5c23.2-41.6 35.6-88.7 35.6-136.7 0-155.3-126.3-281.6-281.6-281.6-48 0-95.1 12.4-136.8 35.6C194.9 156 285 104 382.5 104c153.6 0 278.6 125 278.6 278.6 0 97.3-52 187.5-133.5 237.6z",
|
|
16
|
-
fill: "currentColor"
|
|
17
|
-
}
|
|
18
|
-
)
|
|
19
|
-
),
|
|
20
|
-
sikka: (props) => /* @__PURE__ */ React.createElement(
|
|
21
|
-
"svg",
|
|
22
|
-
{
|
|
23
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
24
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
25
|
-
xmlSpace: "preserve",
|
|
26
|
-
viewBox: "0 0 916.5 765",
|
|
27
|
-
fill: "currentColor",
|
|
28
|
-
...props
|
|
29
|
-
},
|
|
30
|
-
/* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("path", { id: "a", d: "M0 0h916.5v765H0z" })),
|
|
31
|
-
/* @__PURE__ */ React.createElement("clipPath", { id: "b" }, /* @__PURE__ */ React.createElement("use", { xlinkHref: "#a", overflow: "visible" })),
|
|
32
|
-
/* @__PURE__ */ React.createElement("g", { clipPath: "url(#b)" }, /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("path", { id: "c", d: "M0 0h916.5v765H0z" })), /* @__PURE__ */ React.createElement("clipPath", { id: "d" }, /* @__PURE__ */ React.createElement("use", { xlinkHref: "#c", overflow: "visible" })), /* @__PURE__ */ React.createElement("g", { clipPath: "url(#d)" }, /* @__PURE__ */ React.createElement("path", { d: "M458.3 0h-31.9c-14.6 0-26.5 11.9-26.5 26.3v313.3L136.6 17.1C126 3.9 120.7 0 106.1 0H9.7C.5 0 0 7.9 0 17.1 0 21 1.3 26.3 4 29l288.7 353.6L4 736.1c-2.7 2.7-4 7.9-4 11.8 0 9.2.4 17.1 9.7 17.1h96.4c14.6 0 19.9-3.9 30.5-17.1l263.3-322.5v313.3c0 14.4 11.9 26.3 26.5 26.3h31.9M458.3 765h31.9c14.6 0 26.5-11.8 26.5-26.3V425.5L780 748c10.7 13.2 15.9 17.1 30.5 17.1h96.4c9.2 0 9.7-7.9 9.7-17.1 0-3.9-1.3-9.2-4-11.8L623.8 382.5 912.5 28.9c2.7-2.7 4-7.9 4-11.9 0-9.2-.5-17.1-9.7-17.1h-96.4c-14.6 0-19.9 3.9-30.5 17.1L516.7 339.5V26.3c0-14.4-11.9-26.3-26.5-26.3h-31.9" })))
|
|
33
|
-
),
|
|
34
|
-
mail: (props) => /* @__PURE__ */ React.createElement(
|
|
35
|
-
"svg",
|
|
36
|
-
{
|
|
37
|
-
stroke: "currentColor",
|
|
38
|
-
fill: "none",
|
|
39
|
-
strokeWidth: "2",
|
|
40
|
-
viewBox: "0 0 24 24",
|
|
41
|
-
strokeLinecap: "round",
|
|
42
|
-
strokeLinejoin: "round",
|
|
43
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
44
|
-
...props
|
|
45
|
-
},
|
|
46
|
-
/* @__PURE__ */ React.createElement("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
|
|
47
|
-
/* @__PURE__ */ React.createElement("polyline", { points: "22,6 12,13 2,6" })
|
|
48
|
-
),
|
|
49
|
-
phone: (props) => /* @__PURE__ */ React.createElement(
|
|
50
|
-
"svg",
|
|
51
|
-
{
|
|
52
|
-
stroke: "currentColor",
|
|
53
|
-
fill: "none",
|
|
54
|
-
strokeWidth: "2",
|
|
55
|
-
viewBox: "0 0 24 24",
|
|
56
|
-
"aria-hidden": "true",
|
|
57
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
-
...props
|
|
59
|
-
},
|
|
60
|
-
/* @__PURE__ */ React.createElement(
|
|
61
|
-
"path",
|
|
62
|
-
{
|
|
63
|
-
strokeLinecap: "round",
|
|
64
|
-
strokeLinejoin: "round",
|
|
65
|
-
d: "M10.5 1.5H8.25A2.25 2.25 0 006 3.75v16.5a2.25 2.25 0 002.25 2.25h7.5A2.25 2.25 0 0018 20.25V3.75a2.25 2.25 0 00-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"
|
|
66
|
-
}
|
|
67
|
-
)
|
|
68
|
-
),
|
|
69
|
-
twitter: (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
|
70
|
-
"path",
|
|
71
|
-
{
|
|
72
|
-
fill: "currentColor",
|
|
73
|
-
d: "M21.543 7.104c.015.211.015.423.015.636 0 6.507-4.954 14.01-14.01 14.01v-.003A13.94 13.94 0 0 1 0 19.539a9.88 9.88 0 0 0 7.287-2.041 4.93 4.93 0 0 1-4.6-3.42 4.916 4.916 0 0 0 2.223-.084A4.926 4.926 0 0 1 .96 9.167v-.062a4.887 4.887 0 0 0 2.235.616A4.928 4.928 0 0 1 1.67 3.148a13.98 13.98 0 0 0 10.15 5.144 4.929 4.929 0 0 1 8.39-4.49 9.868 9.868 0 0 0 3.128-1.196 4.941 4.941 0 0 1-2.165 2.724A9.828 9.828 0 0 0 24 4.555a10.019 10.019 0 0 1-2.457 2.549z"
|
|
74
|
-
}
|
|
75
|
-
)),
|
|
76
|
-
instagram: (props) => /* @__PURE__ */ React.createElement(
|
|
77
|
-
"svg",
|
|
78
|
-
{
|
|
79
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
80
|
-
fill: "currentColor",
|
|
81
|
-
viewBox: "0 0 16 16",
|
|
82
|
-
...props
|
|
83
|
-
},
|
|
84
|
-
/* @__PURE__ */ React.createElement("path", { d: "M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z" })
|
|
85
|
-
),
|
|
86
|
-
microsoft: (props) => /* @__PURE__ */ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ React.createElement(
|
|
87
|
-
"path",
|
|
88
|
-
{
|
|
89
|
-
fill: "currentColor",
|
|
90
|
-
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
|
91
|
-
}
|
|
92
|
-
)),
|
|
93
|
-
github: (props) => /* @__PURE__ */ React.createElement(
|
|
94
|
-
"svg",
|
|
95
|
-
{
|
|
96
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
97
|
-
viewBox: "0 0 438.549 438.549",
|
|
98
|
-
...props
|
|
99
|
-
},
|
|
100
|
-
/* @__PURE__ */ React.createElement(
|
|
101
|
-
"path",
|
|
102
|
-
{
|
|
103
|
-
fill: "currentColor",
|
|
104
|
-
d: "M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"
|
|
105
|
-
}
|
|
106
|
-
)
|
|
107
|
-
),
|
|
108
|
-
radix: (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ React.createElement(
|
|
109
|
-
"path",
|
|
110
|
-
{
|
|
111
|
-
d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
|
|
112
|
-
fill: "currentcolor"
|
|
113
|
-
}
|
|
114
|
-
), /* @__PURE__ */ React.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ React.createElement(
|
|
115
|
-
"path",
|
|
116
|
-
{
|
|
117
|
-
d: "M17 8C19.2091 8 21 6.20914 21 4C21 1.79086 19.2091 0 17 0C14.7909 0 13 1.79086 13 4C13 6.20914 14.7909 8 17 8Z",
|
|
118
|
-
fill: "currentcolor"
|
|
119
|
-
}
|
|
120
|
-
)),
|
|
121
|
-
aria: (props) => /* @__PURE__ */ React.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M13.966 22.624l-1.69-4.281H8.122l3.892-9.144 5.662 13.425zM8.884 1.376H0v21.248zm15.116 0h-8.884L24 22.624Z" })),
|
|
122
|
-
npm: (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
|
123
|
-
"path",
|
|
124
|
-
{
|
|
125
|
-
d: "M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z",
|
|
126
|
-
fill: "currentColor"
|
|
127
|
-
}
|
|
128
|
-
)),
|
|
129
|
-
yarn: (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
|
130
|
-
"path",
|
|
131
|
-
{
|
|
132
|
-
d: "M12 0C5.375 0 0 5.375 0 12s5.375 12 12 12 12-5.375 12-12S18.625 0 12 0zm.768 4.105c.183 0 .363.053.525.157.125.083.287.185.755 1.154.31-.088.468-.042.551-.019.204.056.366.19.463.375.477.917.542 2.553.334 3.605-.241 1.232-.755 2.029-1.131 2.576.324.329.778.899 1.117 1.825.278.774.31 1.478.273 2.015a5.51 5.51 0 0 0 .602-.329c.593-.366 1.487-.917 2.553-.931.714-.009 1.269.445 1.353 1.103a1.23 1.23 0 0 1-.945 1.362c-.649.158-.95.278-1.821.843-1.232.797-2.539 1.242-3.012 1.39a1.686 1.686 0 0 1-.704.343c-.737.181-3.266.315-3.466.315h-.046c-.783 0-1.214-.241-1.45-.491-.658.329-1.51.19-2.122-.134a1.078 1.078 0 0 1-.58-1.153 1.243 1.243 0 0 1-.153-.195c-.162-.25-.528-.936-.454-1.946.056-.723.556-1.367.88-1.71a5.522 5.522 0 0 1 .408-2.256c.306-.727.885-1.348 1.32-1.737-.32-.537-.644-1.367-.329-2.21.227-.602.412-.936.82-1.08h-.005c.199-.074.389-.153.486-.259a3.418 3.418 0 0 1 2.298-1.103c.037-.093.079-.185.125-.283.31-.658.639-1.029 1.024-1.168a.94.94 0 0 1 .328-.06zm.006.7c-.507.016-1.001 1.519-1.001 1.519s-1.27-.204-2.266.871c-.199.218-.468.334-.746.44-.079.028-.176.023-.417.672-.371.991.625 2.094.625 2.094s-1.186.839-1.626 1.881c-.486 1.144-.338 2.261-.338 2.261s-.843.732-.899 1.487c-.051.663.139 1.2.343 1.515.227.343.51.176.51.176s-.561.653-.037.931c.477.25 1.283.394 1.71-.037.31-.31.371-1.001.486-1.283.028-.065.12.111.209.199.097.093.264.195.264.195s-.755.324-.445 1.066c.102.246.468.403 1.066.398.222-.005 2.664-.139 3.313-.296.375-.088.505-.283.505-.283s1.566-.431 2.998-1.357c.917-.598 1.293-.76 2.034-.936.612-.148.57-1.098-.241-1.084-.839.009-1.575.44-2.196.825-1.163.718-1.742.672-1.742.672l-.018-.032c-.079-.13.371-1.293-.134-2.678-.547-1.515-1.413-1.881-1.344-1.997.297-.5 1.038-1.297 1.334-2.78.176-.899.13-2.377-.269-3.151-.074-.144-.732.241-.732.241s-.616-1.371-.788-1.483a.271.271 0 0 0-.157-.046z",
|
|
133
|
-
fill: "currentColor"
|
|
134
|
-
}
|
|
135
|
-
)),
|
|
136
|
-
pnpm: (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
|
137
|
-
"path",
|
|
138
|
-
{
|
|
139
|
-
d: "M0 0v7.5h7.5V0zm8.25 0v7.5h7.498V0zm8.25 0v7.5H24V0zM8.25 8.25v7.5h7.498v-7.5zm8.25 0v7.5H24v-7.5zM0 16.5V24h7.5v-7.5zm8.25 0V24h7.498v-7.5zm8.25 0V24H24v-7.5z",
|
|
140
|
-
fill: "currentColor"
|
|
141
|
-
}
|
|
142
|
-
)),
|
|
143
|
-
react: (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
|
144
|
-
"path",
|
|
145
|
-
{
|
|
146
|
-
d: "M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z",
|
|
147
|
-
fill: "currentColor"
|
|
148
|
-
}
|
|
149
|
-
)),
|
|
150
|
-
tailwind: (props) => /* @__PURE__ */ React.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
|
151
|
-
"path",
|
|
152
|
-
{
|
|
153
|
-
d: "M12.001,4.8c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 C13.666,10.618,15.027,12,18.001,12c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C16.337,6.182,14.976,4.8,12.001,4.8z M6.001,12c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 c1.177,1.194,2.538,2.576,5.512,2.576c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C10.337,13.382,8.976,12,6.001,12z",
|
|
154
|
-
fill: "currentColor"
|
|
155
|
-
}
|
|
156
|
-
)),
|
|
157
|
-
google: (props) => /* @__PURE__ */ React.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
|
158
|
-
"path",
|
|
159
|
-
{
|
|
160
|
-
fill: "currentColor",
|
|
161
|
-
d: "M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"
|
|
162
|
-
}
|
|
163
|
-
)),
|
|
164
|
-
apple: (props) => /* @__PURE__ */ React.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
|
165
|
-
"path",
|
|
166
|
-
{
|
|
167
|
-
d: "M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",
|
|
168
|
-
fill: "currentColor"
|
|
169
|
-
}
|
|
170
|
-
)),
|
|
171
|
-
paypal: (props) => /* @__PURE__ */ React.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React.createElement(
|
|
172
|
-
"path",
|
|
173
|
-
{
|
|
174
|
-
d: "M7.076 21.337H2.47a.641.641 0 0 1-.633-.74L4.944.901C5.026.382 5.474 0 5.998 0h7.46c2.57 0 4.578.543 5.69 1.81 1.01 1.15 1.304 2.42 1.012 4.287-.023.143-.047.288-.077.437-.983 5.05-4.349 6.797-8.647 6.797h-2.19c-.524 0-.968.382-1.05.9l-1.12 7.106zm14.146-14.42a3.35 3.35 0 0 0-.607-.541c-.013.076-.026.175-.041.254-.93 4.778-4.005 7.201-9.138 7.201h-2.19a.563.563 0 0 0-.556.479l-1.187 7.527h-.506l-.24 1.516a.56.56 0 0 0 .554.647h3.882c.46 0 .85-.334.922-.788.06-.26.76-4.852.816-5.09a.932.932 0 0 1 .923-.788h.58c3.76 0 6.705-1.528 7.565-5.946.36-1.847.174-3.388-.777-4.471z",
|
|
175
|
-
fill: "currentColor"
|
|
176
|
-
}
|
|
177
|
-
)),
|
|
178
|
-
spinner: (props) => /* @__PURE__ */ React.createElement(
|
|
179
|
-
"svg",
|
|
180
|
-
{
|
|
181
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
182
|
-
width: "24",
|
|
183
|
-
height: "24",
|
|
184
|
-
viewBox: "0 0 24 24",
|
|
185
|
-
fill: "none",
|
|
186
|
-
stroke: "currentColor",
|
|
187
|
-
strokeWidth: "2",
|
|
188
|
-
strokeLinecap: "round",
|
|
189
|
-
strokeLinejoin: "round",
|
|
190
|
-
...props
|
|
191
|
-
},
|
|
192
|
-
/* @__PURE__ */ React.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
|
193
|
-
),
|
|
194
|
-
whatsapp: (props) => /* @__PURE__ */ React.createElement(
|
|
195
|
-
"svg",
|
|
196
|
-
{
|
|
197
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
198
|
-
viewBox: "0 0 24 24",
|
|
199
|
-
fill: "currentColor",
|
|
200
|
-
...props
|
|
201
|
-
},
|
|
202
|
-
/* @__PURE__ */ React.createElement("path", { d: "M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z" })
|
|
203
|
-
)
|
|
204
|
-
};
|
|
205
|
-
|
|
206
|
-
export {
|
|
207
|
-
Logos
|
|
208
|
-
};
|
package/dist/chunk-DX4SLF2L.mjs
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Button
|
|
3
|
-
} from "./chunk-SYB66JGL.mjs";
|
|
4
|
-
import {
|
|
5
|
-
cn
|
|
6
|
-
} from "./chunk-TE3BKEXL.mjs";
|
|
7
|
-
|
|
8
|
-
// components/elements/sortButton/SortButton.tsx
|
|
9
|
-
import React from "react";
|
|
10
|
-
var SortButton = (props) => {
|
|
11
|
-
return /* @__PURE__ */ React.createElement(
|
|
12
|
-
Button,
|
|
13
|
-
{
|
|
14
|
-
variant: "ghost",
|
|
15
|
-
centered: false,
|
|
16
|
-
className: cn(
|
|
17
|
-
"hawa-flex hawa-w-full hawa-flex-row hawa-items-start hawa-justify-start hawa-gap-2 hawa-text-start",
|
|
18
|
-
props.condensed && "hawa-h-6"
|
|
19
|
-
),
|
|
20
|
-
onClick: props.onSort
|
|
21
|
-
},
|
|
22
|
-
props.label,
|
|
23
|
-
/* @__PURE__ */ React.createElement(
|
|
24
|
-
"svg",
|
|
25
|
-
{
|
|
26
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
27
|
-
viewBox: "0 0 24 24",
|
|
28
|
-
fill: "none",
|
|
29
|
-
stroke: "currentColor",
|
|
30
|
-
strokeWidth: "2",
|
|
31
|
-
strokeLinecap: "round",
|
|
32
|
-
strokeLinejoin: "round",
|
|
33
|
-
className: props.condensed ? "hawa-h-3 hawa-w-3" : "hawa-icon"
|
|
34
|
-
},
|
|
35
|
-
/* @__PURE__ */ React.createElement("path", { d: "m21 16-4 4-4-4" }),
|
|
36
|
-
/* @__PURE__ */ React.createElement("path", { d: "M17 20V4" }),
|
|
37
|
-
/* @__PURE__ */ React.createElement("path", { d: "m3 8 4-4 4 4" }),
|
|
38
|
-
/* @__PURE__ */ React.createElement("path", { d: "M7 4v16" })
|
|
39
|
-
)
|
|
40
|
-
);
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export {
|
|
44
|
-
SortButton
|
|
45
|
-
};
|