lecom-ui 5.2.71 → 5.2.72
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/components/Combobox/Combobox.js +5 -19
- package/dist/components/CustomDivider/CustomDivider.js +18 -36
- package/dist/components/DataTable/DataTable.utils.js +1 -5
- package/dist/components/DataTable/Table.js +40 -60
- package/dist/components/Sheet/Sheet.js +1 -31
- package/dist/components/Steps/{StepsTimeline.js → Steps.js} +1 -0
- package/dist/components/Switch/Switch.js +20 -5
- package/dist/components/TagInput/TagInput.js +55 -58
- package/dist/index.d.ts +47 -93
- package/dist/index.js +2 -4
- package/dist/style.min.css +1 -1
- package/package.json +4 -3
- package/dist/badge.js +0 -26
- package/dist/button-dropdown.js +0 -117
- package/dist/button.js +0 -104
- package/dist/calendar.js +0 -62
- package/dist/card.js +0 -56
- package/dist/checkbox.js +0 -55
- package/dist/collapse.js +0 -60
- package/dist/collapsible.js +0 -7
- package/dist/command.js +0 -107
- package/dist/components/Collapse/Collapse.js +0 -94
- package/dist/components/DataTable/useOptimizedTable.js +0 -75
- package/dist/data-table/data-table.js +0 -490
- package/dist/date-picker.js +0 -92
- package/dist/dialog.js +0 -95
- package/dist/dropdown-menu.js +0 -138
- package/dist/fonts/Montserrat-Bold.otf +0 -0
- package/dist/fonts/Montserrat-Medium.otf +0 -0
- package/dist/fonts/Montserrat-Regular.otf +0 -0
- package/dist/fonts/Roboto-Bold.otf +0 -0
- package/dist/fonts/Roboto-Light.otf +0 -0
- package/dist/fonts/Roboto-Medium.otf +0 -0
- package/dist/fonts/Roboto-Regular.otf +0 -0
- package/dist/form.js +0 -102
- package/dist/header.js +0 -90
- package/dist/hook/useDebounce.js +0 -16
- package/dist/icon-handler.js +0 -72
- package/dist/icons/brandModules.js +0 -27
- package/dist/icons/companyLogo.js +0 -61
- package/dist/icons/createUseAuxiliary.js +0 -107
- package/dist/icons/footerInfo.js +0 -25
- package/dist/icons/logo_lecom.svg.js +0 -3
- package/dist/icons/newUpdate.js +0 -23
- package/dist/icons/robertyRPA.js +0 -30
- package/dist/ilustrations/access_denied.js +0 -252
- package/dist/ilustrations/page_not_found.js +0 -188
- package/dist/input.js +0 -42
- package/dist/label.js +0 -20
- package/dist/modal.js +0 -27
- package/dist/pagination.js +0 -474
- package/dist/plugin/extend.ts +0 -78
- package/dist/plugin/fontFaces.ts +0 -172
- package/dist/plugin/general.ts +0 -12
- package/dist/plugin/pluginDev.js +0 -5
- package/dist/plugin/pluginNext.js +0 -5
- package/dist/plugin/pluginVite.js +0 -5
- package/dist/plugin/template.ts +0 -31
- package/dist/plugin/typographies.ts +0 -152
- package/dist/plugin/varsTheme.ts +0 -79
- package/dist/plugin.cjs +0 -298
- package/dist/popover.js +0 -24
- package/dist/radio-group.js +0 -74
- package/dist/range-picker.js +0 -99
- package/dist/scroll-area.js +0 -37
- package/dist/search-bar.js +0 -151
- package/dist/select.js +0 -156
- package/dist/separator.js +0 -24
- package/dist/sheet.js +0 -106
- package/dist/sidebar.js +0 -188
- package/dist/skeleton.js +0 -17
- package/dist/slider.js +0 -23
- package/dist/status-screen.js +0 -71
- package/dist/switch.js +0 -27
- package/dist/table.js +0 -83
- package/dist/tabs.js +0 -44
- package/dist/tag.js +0 -33
- package/dist/textarea.js +0 -22
- package/dist/toast.js +0 -105
- package/dist/toaster.js +0 -23
- package/dist/tooltip.js +0 -133
- package/dist/use-toast.js +0 -121
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
const PageNotFound = ({
|
|
4
|
-
fill = "black",
|
|
5
|
-
width = "601px",
|
|
6
|
-
height = "628px",
|
|
7
|
-
viewBox = "0 0 601 628",
|
|
8
|
-
className = ""
|
|
9
|
-
}) => /* @__PURE__ */ jsxs(
|
|
10
|
-
"svg",
|
|
11
|
-
{
|
|
12
|
-
width,
|
|
13
|
-
height,
|
|
14
|
-
viewBox,
|
|
15
|
-
fill,
|
|
16
|
-
xmlSpace: "preserve",
|
|
17
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
18
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
-
className,
|
|
20
|
-
children: [
|
|
21
|
-
/* @__PURE__ */ jsxs("g", { clipPath: "url(#clip0_54_2438)", children: [
|
|
22
|
-
/* @__PURE__ */ jsx(
|
|
23
|
-
"path",
|
|
24
|
-
{
|
|
25
|
-
d: "M232.947 627.186C361.132 627.186 465.047 608.851 465.047 586.233C465.047 563.615 361.132 545.28 232.947 545.28C104.762 545.28 0.84668 563.615 0.84668 586.233C0.84668 608.851 104.762 627.186 232.947 627.186Z",
|
|
26
|
-
fill: "#F5F5F5"
|
|
27
|
-
}
|
|
28
|
-
),
|
|
29
|
-
/* @__PURE__ */ jsx(
|
|
30
|
-
"path",
|
|
31
|
-
{
|
|
32
|
-
d: "M374.013 453.23C499.29 453.23 600.847 351.797 600.847 226.674C600.847 101.551 499.29 0.118073 374.013 0.118073C248.736 0.118073 147.179 101.551 147.179 226.674C147.179 351.797 248.736 453.23 374.013 453.23Z",
|
|
33
|
-
fill: "#263682"
|
|
34
|
-
}
|
|
35
|
-
),
|
|
36
|
-
/* @__PURE__ */ jsx(
|
|
37
|
-
"path",
|
|
38
|
-
{
|
|
39
|
-
opacity: "0.05",
|
|
40
|
-
d: "M374.013 413.703C477.433 413.703 561.271 329.967 561.271 226.674C561.271 123.381 477.433 39.6448 374.013 39.6448C270.593 39.6448 186.754 123.381 186.754 226.674C186.754 329.967 270.593 413.703 374.013 413.703Z",
|
|
41
|
-
fill: "#D5EBFF"
|
|
42
|
-
}
|
|
43
|
-
),
|
|
44
|
-
/* @__PURE__ */ jsx(
|
|
45
|
-
"path",
|
|
46
|
-
{
|
|
47
|
-
opacity: "0.05",
|
|
48
|
-
d: "M374.013 379.961C458.775 379.961 527.488 311.332 527.488 226.674C527.488 142.016 458.775 73.3872 374.013 73.3872C289.251 73.3872 220.538 142.016 220.538 226.674C220.538 311.332 289.251 379.961 374.013 379.961Z",
|
|
49
|
-
fill: "#D5EBFF"
|
|
50
|
-
}
|
|
51
|
-
),
|
|
52
|
-
/* @__PURE__ */ jsx(
|
|
53
|
-
"path",
|
|
54
|
-
{
|
|
55
|
-
opacity: "0.05",
|
|
56
|
-
d: "M374.013 336.578C434.785 336.578 484.051 287.372 484.051 226.674C484.051 165.976 434.785 116.77 374.013 116.77C313.24 116.77 263.974 165.976 263.974 226.674C263.974 287.372 313.24 336.578 374.013 336.578Z",
|
|
57
|
-
fill: "#D5EBFF"
|
|
58
|
-
}
|
|
59
|
-
),
|
|
60
|
-
/* @__PURE__ */ jsx(
|
|
61
|
-
"path",
|
|
62
|
-
{
|
|
63
|
-
d: "M149.188 246.949C149.188 246.949 131.354 297.086 139.28 314.898C147.206 332.71 159.756 349.862 159.756 349.862C159.756 349.862 155.133 250.248 149.188 246.949Z",
|
|
64
|
-
fill: "#D5EBFF"
|
|
65
|
-
}
|
|
66
|
-
),
|
|
67
|
-
/* @__PURE__ */ jsx(
|
|
68
|
-
"path",
|
|
69
|
-
{
|
|
70
|
-
opacity: "0.1",
|
|
71
|
-
d: "M149.188 246.949C149.188 246.949 131.354 297.086 139.28 314.898C147.206 332.71 159.756 349.862 159.756 349.862C159.756 349.862 155.133 250.248 149.188 246.949Z",
|
|
72
|
-
fill: "#479EBF"
|
|
73
|
-
}
|
|
74
|
-
),
|
|
75
|
-
/* @__PURE__ */ jsx(
|
|
76
|
-
"path",
|
|
77
|
-
{
|
|
78
|
-
d: "M161.738 363.056C161.738 363.056 160.417 375.59 159.756 376.25C159.096 376.91 160.417 378.229 159.756 380.208C159.096 382.187 158.435 384.826 159.756 385.486C161.077 386.145 152.49 444.199 152.49 444.199C152.49 444.199 131.354 471.906 139.941 515.446L142.583 559.646C142.583 559.646 163.059 560.965 163.059 553.709C163.059 553.709 161.738 545.133 161.738 541.174C161.738 537.216 165.04 537.216 163.059 535.237C161.077 533.258 161.077 531.939 161.077 531.939C161.077 531.939 164.38 529.3 163.719 528.64C163.059 527.98 169.664 481.142 169.664 481.142C169.664 481.142 176.929 473.885 176.929 469.927V465.969C176.929 465.969 180.232 457.393 180.232 456.733C180.232 456.073 198.065 415.832 198.065 415.832L205.331 444.859L213.257 486.419C213.257 486.419 217.22 524.022 225.146 538.536C225.146 538.536 239.017 586.034 239.017 584.714C239.017 583.395 262.135 580.097 261.474 574.159C260.814 568.222 247.603 485.1 247.603 485.1L250.906 361.737L161.738 363.056Z",
|
|
79
|
-
fill: "#4A4A4A"
|
|
80
|
-
}
|
|
81
|
-
),
|
|
82
|
-
/* @__PURE__ */ jsx(
|
|
83
|
-
"path",
|
|
84
|
-
{
|
|
85
|
-
d: "M143.904 556.347C143.904 556.347 126.07 591.311 137.959 592.631C149.848 593.95 154.472 593.95 159.756 588.673C162.645 585.787 168.495 581.916 173.205 579C175.996 577.299 178.25 574.848 179.71 571.926C181.169 569.005 181.775 565.731 181.457 562.482C181.109 559.254 179.902 556.595 176.929 556.347C169.003 555.688 159.756 548.431 159.756 548.431L143.904 556.347Z",
|
|
86
|
-
fill: "#4A4A4A"
|
|
87
|
-
}
|
|
88
|
-
),
|
|
89
|
-
/* @__PURE__ */ jsx(
|
|
90
|
-
"path",
|
|
91
|
-
{
|
|
92
|
-
d: "M242.319 582.076C242.319 582.076 224.486 617.04 236.375 618.359C248.264 619.678 252.888 619.678 258.172 614.401C261.06 611.516 266.91 607.644 271.62 604.728C274.411 603.027 276.666 600.576 278.125 597.654C279.585 594.733 280.191 591.46 279.873 588.21C279.525 584.982 278.317 582.323 275.345 582.076C267.419 581.416 258.172 574.159 258.172 574.159L242.319 582.076Z",
|
|
93
|
-
fill: "#4A4A4A"
|
|
94
|
-
}
|
|
95
|
-
),
|
|
96
|
-
/* @__PURE__ */ jsx(
|
|
97
|
-
"path",
|
|
98
|
-
{
|
|
99
|
-
d: "M223.471 189.732C238.805 189.732 251.236 177.316 251.236 162C251.236 146.685 238.805 134.269 223.471 134.269C208.137 134.269 195.706 146.685 195.706 162C195.706 177.316 208.137 189.732 223.471 189.732Z",
|
|
100
|
-
fill: "#FFB8B8"
|
|
101
|
-
}
|
|
102
|
-
),
|
|
103
|
-
/* @__PURE__ */ jsx(
|
|
104
|
-
"path",
|
|
105
|
-
{
|
|
106
|
-
d: "M205.622 171.112C205.622 171.112 185.79 207.559 184.203 207.559C182.616 207.559 219.901 219.444 219.901 219.444C219.901 219.444 230.214 184.582 231.801 181.412L205.622 171.112Z",
|
|
107
|
-
fill: "#FFB8B8"
|
|
108
|
-
}
|
|
109
|
-
),
|
|
110
|
-
/* @__PURE__ */ jsx(
|
|
111
|
-
"path",
|
|
112
|
-
{
|
|
113
|
-
d: "M236.045 210.996C236.045 210.996 196.414 189.226 192.451 189.885C188.488 190.545 146.216 227.488 146.876 242.661C147.537 257.834 152.821 282.903 152.821 282.903C152.821 282.903 154.802 352.831 158.765 353.49C162.728 354.15 158.105 366.025 159.426 366.025C160.747 366.025 251.897 366.025 252.557 364.046C253.218 362.066 236.045 210.996 236.045 210.996Z",
|
|
114
|
-
fill: "#D5EBFF"
|
|
115
|
-
}
|
|
116
|
-
),
|
|
117
|
-
/* @__PURE__ */ jsx(
|
|
118
|
-
"path",
|
|
119
|
-
{
|
|
120
|
-
d: "M258.172 367.674C258.172 367.674 270.721 405.936 260.153 404.617C249.585 403.298 244.961 371.632 244.961 371.632L258.172 367.674Z",
|
|
121
|
-
fill: "#FFB8B8"
|
|
122
|
-
}
|
|
123
|
-
),
|
|
124
|
-
/* @__PURE__ */ jsx(
|
|
125
|
-
"path",
|
|
126
|
-
{
|
|
127
|
-
d: "M224.486 208.687C224.486 208.687 200.047 213.964 204.01 246.949C207.973 279.934 215.239 312.919 215.239 312.919L239.677 366.354L242.319 376.25L260.153 371.632L246.943 295.107C246.943 295.107 242.319 213.305 236.375 210.666C232.626 209.07 228.55 208.391 224.486 208.687Z",
|
|
128
|
-
fill: "#D5EBFF"
|
|
129
|
-
}
|
|
130
|
-
),
|
|
131
|
-
/* @__PURE__ */ jsx(
|
|
132
|
-
"path",
|
|
133
|
-
{
|
|
134
|
-
opacity: "0.1",
|
|
135
|
-
d: "M209.624 311.93L240.008 366.024L214.409 309.023L209.624 311.93Z",
|
|
136
|
-
fill: "#7A7A7A"
|
|
137
|
-
}
|
|
138
|
-
),
|
|
139
|
-
/* @__PURE__ */ jsx(
|
|
140
|
-
"path",
|
|
141
|
-
{
|
|
142
|
-
d: "M251.113 153.835L251.205 151.716L255.426 152.765C255.381 152.085 255.188 151.422 254.862 150.824C254.535 150.225 254.082 149.704 253.535 149.297L258.03 149.046C254.258 143.691 249.438 139.156 243.861 135.714C238.285 132.272 232.068 129.995 225.586 129.019C215.861 127.612 205.033 129.649 198.364 136.857C195.13 140.353 193.097 144.8 191.651 149.336C188.989 157.691 188.446 167.65 193.998 174.441C199.642 181.343 209.498 182.695 218.379 183.549C221.504 183.849 224.778 184.129 227.674 182.918C227.996 179.601 227.571 176.254 226.43 173.122C225.954 172.152 225.727 171.08 225.769 170.002C226.163 167.363 229.687 166.698 232.335 167.055C234.982 167.411 238.165 167.957 239.905 165.932C241.103 164.537 241.033 162.506 241.191 160.675C241.623 155.69 251.068 154.88 251.113 153.835Z",
|
|
143
|
-
fill: "#4A4A4A"
|
|
144
|
-
}
|
|
145
|
-
),
|
|
146
|
-
/* @__PURE__ */ jsx(
|
|
147
|
-
"path",
|
|
148
|
-
{
|
|
149
|
-
d: "M421.411 591.869C439.278 591.869 453.762 577.402 453.762 559.557C453.762 541.712 439.278 527.246 421.411 527.246C403.544 527.246 389.06 541.712 389.06 559.557C389.06 577.402 403.544 591.869 421.411 591.869Z",
|
|
150
|
-
fill: "#263682"
|
|
151
|
-
}
|
|
152
|
-
),
|
|
153
|
-
/* @__PURE__ */ jsx(
|
|
154
|
-
"path",
|
|
155
|
-
{
|
|
156
|
-
d: "M41.4737 580.597C59.3407 580.597 73.8248 566.131 73.8248 548.286C73.8248 530.441 59.3407 515.974 41.4737 515.974C23.6066 515.974 9.12256 530.441 9.12256 548.286C9.12256 566.131 23.6066 580.597 41.4737 580.597Z",
|
|
157
|
-
fill: "#263682"
|
|
158
|
-
}
|
|
159
|
-
),
|
|
160
|
-
/* @__PURE__ */ jsx(
|
|
161
|
-
"path",
|
|
162
|
-
{
|
|
163
|
-
d: "M41.4736 528.749C54.3545 528.749 64.7965 518.319 64.7965 505.454C64.7965 492.589 54.3545 482.16 41.4736 482.16C28.5928 482.16 18.1508 492.589 18.1508 505.454C18.1508 518.319 28.5928 528.749 41.4736 528.749Z",
|
|
164
|
-
fill: "#263682"
|
|
165
|
-
}
|
|
166
|
-
),
|
|
167
|
-
/* @__PURE__ */ jsx(
|
|
168
|
-
"path",
|
|
169
|
-
{
|
|
170
|
-
d: "M41.4736 485.917C50.6149 485.917 58.0253 478.516 58.0253 469.386C58.0253 460.256 50.6149 452.854 41.4736 452.854C32.3323 452.854 24.9219 460.256 24.9219 469.386C24.9219 478.516 32.3323 485.917 41.4736 485.917Z",
|
|
171
|
-
fill: "#263682"
|
|
172
|
-
}
|
|
173
|
-
)
|
|
174
|
-
] }),
|
|
175
|
-
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_54_2438", children: /* @__PURE__ */ jsx(
|
|
176
|
-
"rect",
|
|
177
|
-
{
|
|
178
|
-
width: "600",
|
|
179
|
-
height: "627.068",
|
|
180
|
-
fill: "white",
|
|
181
|
-
transform: "translate(0.84668 0.118073)"
|
|
182
|
-
}
|
|
183
|
-
) }) })
|
|
184
|
-
]
|
|
185
|
-
}
|
|
186
|
-
);
|
|
187
|
-
|
|
188
|
-
export { PageNotFound };
|
package/dist/input.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { cva } from 'class-variance-authority';
|
|
4
|
-
import { cn } from './lib/utils.js';
|
|
5
|
-
|
|
6
|
-
const inputVariants = cva(
|
|
7
|
-
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
|
|
8
|
-
{
|
|
9
|
-
variants: {
|
|
10
|
-
variant: {
|
|
11
|
-
default: "",
|
|
12
|
-
filled: "bg-gray-200 shadow-none",
|
|
13
|
-
borderless: "shadow-none border-none focus-visible:ring-0"
|
|
14
|
-
},
|
|
15
|
-
size: {
|
|
16
|
-
default: "h-9 px-3 py-2 text-sm",
|
|
17
|
-
sm: "h-8 px-3 text-xs",
|
|
18
|
-
lg: "h-10 px-4 text-base"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
defaultVariants: {
|
|
22
|
-
variant: "default",
|
|
23
|
-
size: "default"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
);
|
|
27
|
-
const Input = React.forwardRef(
|
|
28
|
-
({ className, type, variant, size, ...props }, ref) => {
|
|
29
|
-
return /* @__PURE__ */ jsx(
|
|
30
|
-
"input",
|
|
31
|
-
{
|
|
32
|
-
type,
|
|
33
|
-
className: cn(inputVariants({ variant, size, className })),
|
|
34
|
-
ref,
|
|
35
|
-
...props
|
|
36
|
-
}
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
);
|
|
40
|
-
Input.displayName = "Input";
|
|
41
|
-
|
|
42
|
-
export { Input };
|
package/dist/label.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
4
|
-
import { cva } from 'class-variance-authority';
|
|
5
|
-
import { cn } from './lib/utils.js';
|
|
6
|
-
|
|
7
|
-
const labelVariants = cva(
|
|
8
|
-
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
9
|
-
);
|
|
10
|
-
const Label = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
11
|
-
LabelPrimitive.Root,
|
|
12
|
-
{
|
|
13
|
-
ref,
|
|
14
|
-
className: cn(labelVariants(), className),
|
|
15
|
-
...props
|
|
16
|
-
}
|
|
17
|
-
));
|
|
18
|
-
Label.displayName = LabelPrimitive.Root.displayName;
|
|
19
|
-
|
|
20
|
-
export { Label };
|
package/dist/modal.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
import { cn } from './lib/utils.js';
|
|
3
|
-
import { Button } from './button.js';
|
|
4
|
-
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from './dialog.js';
|
|
5
|
-
|
|
6
|
-
const Modal = ({
|
|
7
|
-
title,
|
|
8
|
-
open,
|
|
9
|
-
onOpenChange,
|
|
10
|
-
onOk,
|
|
11
|
-
onCancel,
|
|
12
|
-
footer,
|
|
13
|
-
className,
|
|
14
|
-
children
|
|
15
|
-
}) => {
|
|
16
|
-
return /* @__PURE__ */ jsx(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs(DialogContent, { className: cn(className), "aria-describedby": void 0, children: [
|
|
17
|
-
title && typeof title === "string" ? /* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: title }) }) : title,
|
|
18
|
-
children,
|
|
19
|
-
footer || /* @__PURE__ */ jsxs(DialogFooter, { children: [
|
|
20
|
-
/* @__PURE__ */ jsx(Button, { type: "button", variant: "outline", onClick: onCancel, children: "Close" }),
|
|
21
|
-
/* @__PURE__ */ jsx(Button, { onClick: onOk, children: "Ok" })
|
|
22
|
-
] })
|
|
23
|
-
] }) });
|
|
24
|
-
};
|
|
25
|
-
Modal.displayName = "Modal";
|
|
26
|
-
|
|
27
|
-
export { Modal };
|