nntc-ui 0.0.57 → 0.0.59

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.
@@ -92,13 +92,31 @@ var FileUploadIcon = (props) => /* @__PURE__ */ jsx17(Icon, { ...props, children
92
92
 
93
93
  // src/icons/FilterIcon.tsx
94
94
  import { jsx as jsx18 } from "react/jsx-runtime";
95
- var FilterIcon = (props) => /* @__PURE__ */ jsx18(Icon, { ...props, children: /* @__PURE__ */ jsx18("path", { d: "M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z" }) });
95
+ var FilterIcon = (props) => /* @__PURE__ */ jsx18(Icon, { ...props, children: /* @__PURE__ */ jsx18(
96
+ "path",
97
+ {
98
+ d: `M4.24993 5.61C6.26993 8.2 9.99993 13 9.99993 13V19C9.99993 19.55 10.4499
99
+ 20 10.9999 20H12.9999C13.5499 20 13.9999 19.55 13.9999 19V13C13.9999 13 17.7199 8.2
100
+ 19.7399 5.61C20.2499 4.95 19.7799 4 18.9499 4H5.03993C4.20993 4 3.73993 4.95 4.24993 5.61Z`
101
+ }
102
+ ) });
96
103
 
97
104
  // src/icons/FilterClearIcon.tsx
98
105
  import { jsx as jsx19, jsxs } from "react/jsx-runtime";
99
106
  var FilterClearIcon = (props) => /* @__PURE__ */ jsxs(Icon, { ...props, children: [
100
- /* @__PURE__ */ jsx19("path", { d: "M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z" }),
101
- /* @__PURE__ */ jsx19("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })
107
+ /* @__PURE__ */ jsx19("g", { "clip-path": "url(#clip0_851_25267)", children: /* @__PURE__ */ jsx19(
108
+ "path",
109
+ {
110
+ "fill-rule": "evenodd",
111
+ "clip-rule": "evenodd",
112
+ d: `M7.00015 4L3.46792 0.467773L2.05371 1.88199L4.4002 4.22847C4.01467 4.55071 3.89485 5.1506 4.24984
113
+ 5.61C6.26984 8.2 9.99984 13 9.99984 13V19C9.99984 19.55 10.4498 20 10.9998 20H12.9998C13.5498 20
114
+ 13.9998 19.55 13.9998 19V13.8281L18.9708 18.7991L20.385 17.3849L20.3849 17.3847L14.8734 11.8733L7.00015
115
+ 4ZM16.1091 10.2805C17.2922 8.75591 18.7289 6.90619 19.7398 5.61C20.2498 4.95 19.7798 4 18.9498
116
+ 4H9.82861L16.1091 10.2805Z`
117
+ }
118
+ ) }),
119
+ /* @__PURE__ */ jsx19("defs", { children: /* @__PURE__ */ jsx19("clipPath", { id: "clip0_851_25267", children: /* @__PURE__ */ jsx19("rect", { width: "24", height: "24", fill: "white" }) }) })
102
120
  ] });
103
121
 
104
122
  // src/icons/InfoIcon.tsx
@@ -111,53 +129,64 @@ var InfoIcon = (props) => /* @__PURE__ */ jsx20(Icon, { ...props, children: /* @
111
129
  }
112
130
  ) });
113
131
 
114
- // src/icons/KeyboardArrowDownIcon.tsx
132
+ // src/icons/AlertIcon.tsx
115
133
  import { jsx as jsx21 } from "react/jsx-runtime";
116
- var KeyboardArrowDownIcon = (props) => /* @__PURE__ */ jsx21(Icon, { ...props, children: /* @__PURE__ */ jsx21("path", { d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z" }) });
134
+ var AlertIcon = (props) => /* @__PURE__ */ jsx21(Icon, { ...props, children: /* @__PURE__ */ jsx21(
135
+ "path",
136
+ {
137
+ fillRule: "evenodd",
138
+ clipRule: "evenodd",
139
+ d: "M23 21.5L12 2.5L1 21.5H23ZM11 18.5V16.5H13V18.5H11ZM11 14.5H13V10.5H11V14.5Z"
140
+ }
141
+ ) });
117
142
 
118
- // src/icons/ListIcon.tsx
143
+ // src/icons/KeyboardArrowDownIcon.tsx
119
144
  import { jsx as jsx22 } from "react/jsx-runtime";
120
- var ListIcon = (props) => /* @__PURE__ */ jsx22(Icon, { ...props, children: /* @__PURE__ */ jsx22("path", { d: "M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z" }) });
145
+ var KeyboardArrowDownIcon = (props) => /* @__PURE__ */ jsx22(Icon, { ...props, children: /* @__PURE__ */ jsx22("path", { d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z" }) });
121
146
 
122
- // src/icons/MoreVerticalIcon.tsx
147
+ // src/icons/ListIcon.tsx
123
148
  import { jsx as jsx23 } from "react/jsx-runtime";
124
- var MoreVerticalIcon = (props) => /* @__PURE__ */ jsx23(Icon, { ...props, children: /* @__PURE__ */ jsx23("path", { d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }) });
149
+ var ListIcon = (props) => /* @__PURE__ */ jsx23(Icon, { ...props, children: /* @__PURE__ */ jsx23("path", { d: "M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z" }) });
125
150
 
126
- // src/icons/SearchIcon.tsx
151
+ // src/icons/MoreVerticalIcon.tsx
127
152
  import { jsx as jsx24 } from "react/jsx-runtime";
128
- var SearchIcon = (props) => /* @__PURE__ */ jsx24(Icon, { ...props, children: /* @__PURE__ */ jsx24("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" }) });
153
+ var MoreVerticalIcon = (props) => /* @__PURE__ */ jsx24(Icon, { ...props, children: /* @__PURE__ */ jsx24("path", { d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }) });
129
154
 
130
- // src/icons/SettingsIcon.tsx
155
+ // src/icons/SearchIcon.tsx
131
156
  import { jsx as jsx25 } from "react/jsx-runtime";
132
- var SettingsIcon = (props) => /* @__PURE__ */ jsx25(Icon, { ...props, children: /* @__PURE__ */ jsx25("path", { d: "M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.07.62-.07.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z" }) });
157
+ var SearchIcon = (props) => /* @__PURE__ */ jsx25(Icon, { ...props, children: /* @__PURE__ */ jsx25("path", { d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" }) });
133
158
 
134
- // src/icons/SortDownIcon.tsx
159
+ // src/icons/SettingsIcon.tsx
135
160
  import { jsx as jsx26 } from "react/jsx-runtime";
136
- var SortDownIcon = (props) => /* @__PURE__ */ jsx26(Icon, { ...props, children: /* @__PURE__ */ jsx26("path", { d: "M7 10l5 5 5-5z" }) });
161
+ var SettingsIcon = (props) => /* @__PURE__ */ jsx26(Icon, { ...props, children: /* @__PURE__ */ jsx26("path", { d: "M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.07.62-.07.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z" }) });
137
162
 
138
- // src/icons/SortUpIcon.tsx
163
+ // src/icons/SortDownIcon.tsx
139
164
  import { jsx as jsx27 } from "react/jsx-runtime";
140
- var SortUpIcon = (props) => /* @__PURE__ */ jsx27(Icon, { ...props, children: /* @__PURE__ */ jsx27("path", { d: "M7 14l5-5 5 5z" }) });
165
+ var SortDownIcon = (props) => /* @__PURE__ */ jsx27(Icon, { ...props, children: /* @__PURE__ */ jsx27("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3 18V16H21V18H3ZM3 6H9V8H3V6ZM15 11H3V13H15V11Z" }) });
141
166
 
142
- // src/icons/TableChartIcon.tsx
167
+ // src/icons/SortUpIcon.tsx
143
168
  import { jsx as jsx28 } from "react/jsx-runtime";
144
- var TableChartIcon = (props) => /* @__PURE__ */ jsx28(Icon, { ...props, children: /* @__PURE__ */ jsx28("path", { d: "M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z" }) });
169
+ var SortUpIcon = (props) => /* @__PURE__ */ jsx28(Icon, { ...props, children: /* @__PURE__ */ jsx28("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M3 6V8H21V6H3ZM3 18H9V16H3V18ZM15 13H3V11H15V13Z" }) });
145
170
 
146
- // src/icons/UploadIcon.tsx
171
+ // src/icons/TableChartIcon.tsx
147
172
  import { jsx as jsx29 } from "react/jsx-runtime";
148
- var UploadIcon = (props) => /* @__PURE__ */ jsx29(Icon, { ...props, children: /* @__PURE__ */ jsx29("path", { d: "M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z" }) });
173
+ var TableChartIcon = (props) => /* @__PURE__ */ jsx29(Icon, { ...props, children: /* @__PURE__ */ jsx29("path", { d: "M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z" }) });
149
174
 
150
- // src/icons/WellIcon.tsx
175
+ // src/icons/UploadIcon.tsx
151
176
  import { jsx as jsx30 } from "react/jsx-runtime";
152
- var WellIcon = (props) => /* @__PURE__ */ jsx30(Icon, { ...props, children: /* @__PURE__ */ jsx30("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z" }) });
177
+ var UploadIcon = (props) => /* @__PURE__ */ jsx30(Icon, { ...props, children: /* @__PURE__ */ jsx30("path", { d: "M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z" }) });
153
178
 
154
- // src/icons/EditIcon.tsx
179
+ // src/icons/WellIcon.tsx
155
180
  import { jsx as jsx31 } from "react/jsx-runtime";
156
- var EditIcon = (props) => /* @__PURE__ */ jsx31(Icon, { ...props, children: /* @__PURE__ */ jsx31("path", { d: "M18.3688 3.29L20.7088 5.63C21.0988 6.02 21.0988 6.65 20.7088 7.04L18.8788 8.87L15.1288 5.12L16.9588 3.29C17.1488 3.1 17.3988 3 17.6588 3C17.9188 3 18.1688 3.09 18.3688 3.29ZM2.99878 17.25V21H6.74878L17.8088 9.94L14.0588 6.19L2.99878 17.25ZM5.91878 19H4.99878V18.08L14.0588 9.02L14.9788 9.94L5.91878 19Z" }) });
181
+ var WellIcon = (props) => /* @__PURE__ */ jsx31(Icon, { ...props, children: /* @__PURE__ */ jsx31("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z" }) });
157
182
 
158
- // src/icons/FullScreenOnIcon.tsx
183
+ // src/icons/EditIcon.tsx
159
184
  import { jsx as jsx32 } from "react/jsx-runtime";
160
- var FullScreenOnIcon = (props) => /* @__PURE__ */ jsx32(Icon, { ...props, children: /* @__PURE__ */ jsx32(
185
+ var EditIcon = (props) => /* @__PURE__ */ jsx32(Icon, { ...props, children: /* @__PURE__ */ jsx32("path", { d: "M18.3688 3.29L20.7088 5.63C21.0988 6.02 21.0988 6.65 20.7088 7.04L18.8788 8.87L15.1288 5.12L16.9588 3.29C17.1488 3.1 17.3988 3 17.6588 3C17.9188 3 18.1688 3.09 18.3688 3.29ZM2.99878 17.25V21H6.74878L17.8088 9.94L14.0588 6.19L2.99878 17.25ZM5.91878 19H4.99878V18.08L14.0588 9.02L14.9788 9.94L5.91878 19Z" }) });
186
+
187
+ // src/icons/FullScreenOnIcon.tsx
188
+ import { jsx as jsx33 } from "react/jsx-runtime";
189
+ var FullScreenOnIcon = (props) => /* @__PURE__ */ jsx33(Icon, { ...props, children: /* @__PURE__ */ jsx33(
161
190
  "path",
162
191
  {
163
192
  d: `M3 5v4h2V5h4V3H5c-1.1 0-2 .9-2 2zm2 10H3v4c0 1.1.9 2 2
@@ -166,16 +195,16 @@ var FullScreenOnIcon = (props) => /* @__PURE__ */ jsx32(Icon, { ...props, childr
166
195
  ) });
167
196
 
168
197
  // src/icons/FullScreenOffIcon.tsx
169
- import { jsx as jsx33 } from "react/jsx-runtime";
170
- var FullScreenOffIcon = (props) => /* @__PURE__ */ jsx33(Icon, { ...props, children: /* @__PURE__ */ jsx33("path", { d: "M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z" }) });
198
+ import { jsx as jsx34 } from "react/jsx-runtime";
199
+ var FullScreenOffIcon = (props) => /* @__PURE__ */ jsx34(Icon, { ...props, children: /* @__PURE__ */ jsx34("path", { d: "M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z" }) });
171
200
 
172
201
  // src/icons/BookmarkIcon.tsx
173
- import { jsx as jsx34 } from "react/jsx-runtime";
174
- var BookmarkIcon = (props) => /* @__PURE__ */ jsx34(Icon, { ...props, children: /* @__PURE__ */ jsx34("path", { d: "M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15-5-2.18L7 18V5h10v13z" }) });
202
+ import { jsx as jsx35 } from "react/jsx-runtime";
203
+ var BookmarkIcon = (props) => /* @__PURE__ */ jsx35(Icon, { ...props, children: /* @__PURE__ */ jsx35("path", { d: "M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2zm0 15-5-2.18L7 18V5h10v13z" }) });
175
204
 
176
205
  // src/icons/BookmarkAddIcon.tsx
177
- import { jsx as jsx35 } from "react/jsx-runtime";
178
- var BookmarkAddIcon = (props) => /* @__PURE__ */ jsx35(Icon, { ...props, children: /* @__PURE__ */ jsx35(
206
+ import { jsx as jsx36 } from "react/jsx-runtime";
207
+ var BookmarkAddIcon = (props) => /* @__PURE__ */ jsx36(Icon, { ...props, children: /* @__PURE__ */ jsx36(
179
208
  "path",
180
209
  {
181
210
  d: `M17 11v6.97l-5-2.14-5 2.14V5h6V3H7c-1.1 0-2
@@ -184,8 +213,8 @@ var BookmarkAddIcon = (props) => /* @__PURE__ */ jsx35(Icon, { ...props, childre
184
213
  ) });
185
214
 
186
215
  // src/icons/ExportTableIcon.tsx
187
- import { jsx as jsx36 } from "react/jsx-runtime";
188
- var ExportTableIcon = (props) => /* @__PURE__ */ jsx36(Icon, { ...props, children: /* @__PURE__ */ jsx36(
216
+ import { jsx as jsx37 } from "react/jsx-runtime";
217
+ var ExportTableIcon = (props) => /* @__PURE__ */ jsx37(Icon, { ...props, children: /* @__PURE__ */ jsx37(
189
218
  "path",
190
219
  {
191
220
  fill: "currentColor",
@@ -201,12 +230,12 @@ var ExportTableIcon = (props) => /* @__PURE__ */ jsx36(Icon, { ...props, childre
201
230
  ) });
202
231
 
203
232
  // src/icons/DownloadIcon.tsx
204
- import { jsx as jsx37 } from "react/jsx-runtime";
205
- var DownloadIcon = (props) => /* @__PURE__ */ jsx37(Icon, { ...props, children: /* @__PURE__ */ jsx37("path", { d: "M19 9h-4V3H9v6H5l7 7 7-7zm-8 2V5h2v6h1.17L12 13.17 9.83 11H11zm-6 7h14v2H5z" }) });
233
+ import { jsx as jsx38 } from "react/jsx-runtime";
234
+ var DownloadIcon = (props) => /* @__PURE__ */ jsx38(Icon, { ...props, children: /* @__PURE__ */ jsx38("path", { d: "M19 9h-4V3H9v6H5l7 7 7-7zm-8 2V5h2v6h1.17L12 13.17 9.83 11H11zm-6 7h14v2H5z" }) });
206
235
 
207
236
  // src/icons/VisibilityIcon.tsx
208
- import { jsx as jsx38 } from "react/jsx-runtime";
209
- var VisibilityIcon = (props) => /* @__PURE__ */ jsx38(Icon, { ...props, children: /* @__PURE__ */ jsx38(
237
+ import { jsx as jsx39 } from "react/jsx-runtime";
238
+ var VisibilityIcon = (props) => /* @__PURE__ */ jsx39(Icon, { ...props, children: /* @__PURE__ */ jsx39(
210
239
  "path",
211
240
  {
212
241
  d: `M12 6.375C15.75 6.375 18.9525 8.7075 20.25 12C18.9525 15.2925 15.75 17.625 12 17.625C8.25
@@ -241,6 +270,7 @@ export {
241
270
  FilterIcon,
242
271
  FilterClearIcon,
243
272
  InfoIcon,
273
+ AlertIcon,
244
274
  KeyboardArrowDownIcon,
245
275
  ListIcon,
246
276
  MoreVerticalIcon,
package/icons/index.d.ts CHANGED
@@ -44,6 +44,8 @@ declare const FilterClearIcon: React__default.FC<IconProps>;
44
44
 
45
45
  declare const InfoIcon: React__default.FC<IconProps>;
46
46
 
47
+ declare const AlertIcon: React__default.FC<IconProps>;
48
+
47
49
  declare const KeyboardArrowDownIcon: React__default.FC<IconProps>;
48
50
 
49
51
  declare const ListIcon: React__default.FC<IconProps>;
@@ -80,4 +82,4 @@ declare const DownloadIcon: React__default.FC<IconProps>;
80
82
 
81
83
  declare const VisibilityIcon: React__default.FC<IconProps>;
82
84
 
83
- export { AddIcon, ArrowDropDownIcon, ArrowDropUpIcon, AttachIcon, BarChartIcon, BookmarkAddIcon, BookmarkIcon, CheckboxDeselectedIcon, CheckboxIcon, CheckboxSeveralIcon, ChevronLeftIcon, ChevronRightIcon, CircleFilledIcon, CloseIcon, DateRangeIcon, DeleteIcon, DoneIcon, DownloadIcon, EditIcon, ExportTableIcon, FileUploadIcon, FilterClearIcon, FilterIcon, FullScreenOffIcon, FullScreenOnIcon, InfoIcon, KeyboardArrowDownIcon, ListIcon, MoreVerticalIcon, SearchIcon, SettingsIcon, SortDownIcon, SortUpIcon, TableChartIcon, UploadIcon, VisibilityIcon, WellIcon };
85
+ export { AddIcon, AlertIcon, ArrowDropDownIcon, ArrowDropUpIcon, AttachIcon, BarChartIcon, BookmarkAddIcon, BookmarkIcon, CheckboxDeselectedIcon, CheckboxIcon, CheckboxSeveralIcon, ChevronLeftIcon, ChevronRightIcon, CircleFilledIcon, CloseIcon, DateRangeIcon, DeleteIcon, DoneIcon, DownloadIcon, EditIcon, ExportTableIcon, FileUploadIcon, FilterClearIcon, FilterIcon, FullScreenOffIcon, FullScreenOnIcon, InfoIcon, KeyboardArrowDownIcon, ListIcon, MoreVerticalIcon, SearchIcon, SettingsIcon, SortDownIcon, SortUpIcon, TableChartIcon, UploadIcon, VisibilityIcon, WellIcon };
package/icons/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  AddIcon,
3
+ AlertIcon,
3
4
  ArrowDropDownIcon,
4
5
  ArrowDropUpIcon,
5
6
  AttachIcon,
@@ -36,9 +37,10 @@ import {
36
37
  UploadIcon,
37
38
  VisibilityIcon,
38
39
  WellIcon
39
- } from "../chunk-CVFNR56A.js";
40
+ } from "../chunk-64SOJQ5A.js";
40
41
  export {
41
42
  AddIcon,
43
+ AlertIcon,
42
44
  ArrowDropDownIcon,
43
45
  ArrowDropUpIcon,
44
46
  AttachIcon,
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { ButtonHTMLAttributes, ReactNode, DetailedHTMLProps, InputHTMLAttributes, PropsWithChildren, ChangeEvent, JSX, MutableRefObject, CSSProperties, HTMLProps, ElementType } from 'react';
2
+ import { ButtonHTMLAttributes, ReactNode, DetailedHTMLProps, InputHTMLAttributes, PropsWithChildren, ChangeEvent, JSX, MutableRefObject, ReactElement, CSSProperties, HTMLProps, ElementType } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import { Placement } from '@floating-ui/react';
5
5
 
@@ -135,7 +135,7 @@ interface Props$f {
135
135
  label?: string;
136
136
  placeholder?: string;
137
137
  items: Item$4[];
138
- onValueChange?: (newItem: string[] | null) => void;
138
+ onValueChange?: (newItem: Item$4[] | null) => void;
139
139
  selected: string[] | null;
140
140
  titleType?: TitleVariant;
141
141
  enableSearch?: boolean;
@@ -359,7 +359,7 @@ interface Props$6 {
359
359
  alertType?: 'success' | 'warning' | 'error' | 'info' | 'default';
360
360
  root?: HTMLElement | MutableRefObject<HTMLElement | null> | null;
361
361
  }
362
- declare function Tooltip(props: PropsWithChildren<UiProps<Props$6>>): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
362
+ declare function Tooltip(props: PropsWithChildren<UiProps<Props$6>>): ReactElement | null;
363
363
 
364
364
  interface Props$5 {
365
365
  description?: ReactNode | string;
package/index.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  SortDownIcon,
17
17
  SortUpIcon,
18
18
  __export
19
- } from "./chunk-CVFNR56A.js";
19
+ } from "./chunk-64SOJQ5A.js";
20
20
 
21
21
  // src/components/common/Button/Button.tsx
22
22
  import classnames from "classnames";
@@ -1809,13 +1809,16 @@ function SelectPopover2(props) {
1809
1809
  (newSelected) => {
1810
1810
  const values = Object.entries(newSelected).reduce((acc, [value, isSelected]) => {
1811
1811
  if (isSelected) {
1812
- acc.push(value);
1812
+ const item3 = items2.find((i) => i.value === value);
1813
+ if (item3) {
1814
+ acc.push(item3);
1815
+ }
1813
1816
  }
1814
1817
  return acc;
1815
1818
  }, []);
1816
1819
  onSelectedChange(values);
1817
1820
  },
1818
- [onSelectedChange]
1821
+ [onSelectedChange, items2]
1819
1822
  );
1820
1823
  const { checklistWrapper: checklistWrapper2, ...checklistClasses } = classes ?? {};
1821
1824
  return /* @__PURE__ */ jsx20("div", { className: classNames4(checklistWrapper2), children: /* @__PURE__ */ jsx20(
@@ -1903,8 +1906,8 @@ function MultiSelect(props) {
1903
1906
  [disabled2]
1904
1907
  );
1905
1908
  const handleSelectedChange = useCallback8(
1906
- (newValues) => {
1907
- onValueChange?.(newValues);
1909
+ (newItems) => {
1910
+ onValueChange?.(newItems);
1908
1911
  },
1909
1912
  [onValueChange]
1910
1913
  );
@@ -2292,7 +2295,7 @@ var TooltipTrigger = forwardRef6(
2292
2295
  );
2293
2296
 
2294
2297
  // src/components/view/Tooltip/Tooltip.tsx
2295
- import { jsx as jsx27, jsxs as jsxs14 } from "react/jsx-runtime";
2298
+ import { Fragment as Fragment4, jsx as jsx27, jsxs as jsxs14 } from "react/jsx-runtime";
2296
2299
  function Tooltip(props) {
2297
2300
  const {
2298
2301
  label: label8,
@@ -2309,7 +2312,7 @@ function Tooltip(props) {
2309
2312
  const [showTooltip, setShowTooltip] = useState10(false);
2310
2313
  const arrowRef = useRef8(null);
2311
2314
  if (!label8) {
2312
- return children2;
2315
+ return children2 ? /* @__PURE__ */ jsx27(Fragment4, { children: children2 }) : null;
2313
2316
  }
2314
2317
  if (!children2) {
2315
2318
  return null;
@@ -2532,7 +2535,7 @@ import { flexRender, getCoreRowModel, useReactTable } from "@tanstack/react-tabl
2532
2535
  import { defaultRangeExtractor, useVirtualizer } from "@tanstack/react-virtual";
2533
2536
  import classnames22 from "classnames";
2534
2537
  import dayjs4 from "dayjs";
2535
- import { Fragment as Fragment7, useCallback as useCallback9, useEffect as useEffect8, useMemo as useMemo8, useRef as useRef11, useState as useState15 } from "react";
2538
+ import { Fragment as Fragment8, useCallback as useCallback9, useEffect as useEffect8, useMemo as useMemo8, useRef as useRef11, useState as useState15 } from "react";
2536
2539
 
2537
2540
  // src/utils/toFirstLetterUpperCase.ts
2538
2541
  var toFirstLetterUpperCase = (name) => {
@@ -2708,7 +2711,7 @@ var virtualTable_default = {
2708
2711
  };
2709
2712
 
2710
2713
  // src/components/view/VirtualTable/ui/DefaultColumn/DefaultColumn.tsx
2711
- import { Fragment as Fragment4, jsx as jsx30, jsxs as jsxs16 } from "react/jsx-runtime";
2714
+ import { Fragment as Fragment5, jsx as jsx30, jsxs as jsxs16 } from "react/jsx-runtime";
2712
2715
  var DefaultColumn = {
2713
2716
  cell: ({ getValue, row: { index, original }, column: { id, columnDef }, table: table2 }) => {
2714
2717
  const initialValue = getValue();
@@ -2733,7 +2736,7 @@ var DefaultColumn = {
2733
2736
  const onChange = (e) => {
2734
2737
  setValue(e.target.value);
2735
2738
  };
2736
- return /* @__PURE__ */ jsx30(Tooltip, { label: original[id]?.error ?? "", alertType: "error", children: additionalViewResult?.edit !== null && additionalViewResult?.edit !== void 0 ? additionalViewResult.edit(onChange, onBlur) : /* @__PURE__ */ jsx30(Fragment4, { children: /* @__PURE__ */ jsx30("input", { onChange, onBlur, value: value ?? "", autoFocus: true }) }) });
2739
+ return /* @__PURE__ */ jsx30(Tooltip, { label: original[id]?.error ?? "", alertType: "error", children: additionalViewResult?.edit !== null && additionalViewResult?.edit !== void 0 ? additionalViewResult.edit(onChange, onBlur) : /* @__PURE__ */ jsx30(Fragment5, { children: /* @__PURE__ */ jsx30("input", { onChange, onBlur, value: value ?? "", autoFocus: true }) }) });
2737
2740
  }
2738
2741
  const shownValue = additionalViewResult?.view !== null && additionalViewResult?.view !== void 0 ? additionalViewResult.view : meta?.valueFormat ? meta.valueFormat(initialValue?.toString() ?? "") : meta?.toFixed !== void 0 && !Number.isNaN(parseFloat(initialValue)) ? parseFloat(Number(initialValue).toFixed(meta.toFixed)) : initialValue;
2739
2742
  return /* @__PURE__ */ jsx30(Tooltip, { label: original[id]?.error, alertType: "error", children: /* @__PURE__ */ jsxs16(
@@ -2837,7 +2840,7 @@ var inputsContainer = "numberFiltration_inputsContainer";
2837
2840
  var input8 = "numberFiltration_input";
2838
2841
 
2839
2842
  // src/components/view/VirtualTable/ui/NumberFiltration/NumberFiltration.tsx
2840
- import { Fragment as Fragment5, jsx as jsx32, jsxs as jsxs17 } from "react/jsx-runtime";
2843
+ import { Fragment as Fragment6, jsx as jsx32, jsxs as jsxs17 } from "react/jsx-runtime";
2841
2844
  var items = [
2842
2845
  { type: "item", name: "\u041E\u0442 \u2014 \u0434\u043E", value: "range" },
2843
2846
  { type: "item", name: "\u0411\u043E\u043B\u044C\u0448\u0435", value: "more" },
@@ -2891,7 +2894,7 @@ function NumberFiltration(props) {
2891
2894
  tabIndex: -1
2892
2895
  }
2893
2896
  ),
2894
- /* @__PURE__ */ jsx32("div", { className: classnames20(inputsContainer), children: selectedItem.value === "range" ? /* @__PURE__ */ jsxs17(Fragment5, { children: [
2897
+ /* @__PURE__ */ jsx32("div", { className: classnames20(inputsContainer), children: selectedItem.value === "range" ? /* @__PURE__ */ jsxs17(Fragment6, { children: [
2895
2898
  /* @__PURE__ */ jsx32(
2896
2899
  Input,
2897
2900
  {
@@ -2956,7 +2959,7 @@ function NumberFiltration(props) {
2956
2959
  }
2957
2960
 
2958
2961
  // src/components/view/VirtualTable/ui/HeaderDropdown/HeaderDropdown.tsx
2959
- import { Fragment as Fragment6, jsx as jsx33, jsxs as jsxs18 } from "react/jsx-runtime";
2962
+ import { Fragment as Fragment7, jsx as jsx33, jsxs as jsxs18 } from "react/jsx-runtime";
2960
2963
  function HeaderDropdown(props) {
2961
2964
  const {
2962
2965
  headerMeta: {
@@ -3097,7 +3100,9 @@ function HeaderDropdown(props) {
3097
3100
  return newResult;
3098
3101
  });
3099
3102
  };
3100
- const hasAnyFilter = Object.keys(filterSelectedItems).length || sortBy.some((sb) => sb.columnName === headerResultName);
3103
+ const hasAnyFilter = Object.keys(filterSelectedItems).length;
3104
+ const sortUp = sortBy.some((sb) => sb.columnName === headerResultName && sb.direction === "desc");
3105
+ const sortDown = sortBy.some((sb) => sb.columnName === headerResultName && sb.direction === "asc");
3101
3106
  const { t } = useTranslation();
3102
3107
  return /* @__PURE__ */ jsxs18("div", { className: classnames21(root18), children: [
3103
3108
  additionalContent?.(headerResultName),
@@ -3108,7 +3113,7 @@ function HeaderDropdown(props) {
3108
3113
  placement: "bottom-end",
3109
3114
  wrapTrigger: true,
3110
3115
  root: containerRef,
3111
- description: /* @__PURE__ */ jsxs18(Fragment6, { children: [
3116
+ description: /* @__PURE__ */ jsxs18(Fragment7, { children: [
3112
3117
  filtrationByNumber && /* @__PURE__ */ jsx33(NumberFiltration, { defaultValues: filterNumbers, actionWithSelected: actionWithSelectedNumbers }),
3113
3118
  filtrationByDate && /* @__PURE__ */ jsx33(DateFiltration, { defaultValues: filterDates, actionWithSelected: actionWithSelectedDates }),
3114
3119
  filtrationByValue && /* @__PURE__ */ jsx33("div", { className: classnames21(checklistWrap), children: /* @__PURE__ */ jsx33(
@@ -3130,14 +3135,14 @@ function HeaderDropdown(props) {
3130
3135
  {
3131
3136
  type: "item",
3132
3137
  name: t("\u041F\u043E \u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u044E"),
3133
- icon: /* @__PURE__ */ jsx33(SortUpIcon, {}),
3138
+ icon: /* @__PURE__ */ jsx33(SortDownIcon, {}),
3134
3139
  selected: sortBy.some((sb) => sb.columnName === headerResultName && sb.direction === "asc"),
3135
3140
  onClick: handleSortClick("asc")
3136
3141
  },
3137
3142
  {
3138
3143
  type: "item",
3139
3144
  name: t("\u041F\u043E \u0443\u0431\u044B\u0432\u0430\u043D\u0438\u044E"),
3140
- icon: /* @__PURE__ */ jsx33(SortDownIcon, {}),
3145
+ icon: /* @__PURE__ */ jsx33(SortUpIcon, {}),
3141
3146
  selected: sortBy.some((sb) => sb.columnName === headerResultName && sb.direction === "desc"),
3142
3147
  onClick: handleSortClick("desc")
3143
3148
  }
@@ -3150,8 +3155,8 @@ function HeaderDropdown(props) {
3150
3155
  {
3151
3156
  size: "small",
3152
3157
  variant: "text",
3153
- textSecondary: true,
3154
- icon: hasAnyFilter ? /* @__PURE__ */ jsx33(FilterIcon, {}) : /* @__PURE__ */ jsx33(ArrowDropDownIcon, {})
3158
+ textSecondary: !hasAnyFilter && !sortUp && !sortDown,
3159
+ icon: hasAnyFilter ? /* @__PURE__ */ jsx33(FilterIcon, {}) : sortUp ? /* @__PURE__ */ jsx33(SortUpIcon, {}) : sortDown ? /* @__PURE__ */ jsx33(SortDownIcon, {}) : /* @__PURE__ */ jsx33(ArrowDropDownIcon, {})
3155
3160
  }
3156
3161
  ) })
3157
3162
  }
@@ -3265,7 +3270,7 @@ var recursiveSort = (items2, sortBy) => {
3265
3270
  };
3266
3271
 
3267
3272
  // src/components/view/VirtualTable/VirtualTable.tsx
3268
- import { Fragment as Fragment8, jsx as jsx34, jsxs as jsxs19 } from "react/jsx-runtime";
3273
+ import { Fragment as Fragment9, jsx as jsx34, jsxs as jsxs19 } from "react/jsx-runtime";
3269
3274
  function VirtualTable(props) {
3270
3275
  const {
3271
3276
  rows,
@@ -3511,7 +3516,7 @@ function VirtualTable(props) {
3511
3516
  }
3512
3517
  ) });
3513
3518
  };
3514
- return /* @__PURE__ */ jsxs19(Fragment7, { children: [
3519
+ return /* @__PURE__ */ jsxs19(Fragment8, { children: [
3515
3520
  [...Array(fixedColumnsCount)].map((_, index) => {
3516
3521
  const header2 = headerGroup.headers[index];
3517
3522
  const nextHorizontalHeaders = getNextHorizontalHeaders(
@@ -3662,7 +3667,7 @@ function VirtualTable(props) {
3662
3667
  overflow: "hidden"
3663
3668
  }
3664
3669
  },
3665
- children: rowButtons?.(row.original)?.map((ab) => /* @__PURE__ */ jsx34(Fragment7, { children: ab.template ? ab.template(ab) : /* @__PURE__ */ jsx34(
3670
+ children: rowButtons?.(row.original)?.map((ab) => /* @__PURE__ */ jsx34(Fragment8, { children: ab.template ? ab.template(ab) : /* @__PURE__ */ jsx34(
3666
3671
  Tooltip,
3667
3672
  {
3668
3673
  label: ab.title,
@@ -3691,7 +3696,7 @@ function VirtualTable(props) {
3691
3696
  ]
3692
3697
  }
3693
3698
  ),
3694
- borders !== "none" && /* @__PURE__ */ jsxs19(Fragment8, { children: [
3699
+ borders !== "none" && /* @__PURE__ */ jsxs19(Fragment9, { children: [
3695
3700
  /* @__PURE__ */ jsx34("div", { className: rightBorder, style: { height: `${rowsTotalSize + summaryHeaderHeight}px` } }),
3696
3701
  /* @__PURE__ */ jsx34("div", { className: bottomBorder, style: { width: `${columnsTotalSize}px` } })
3697
3702
  ] })
@@ -3791,7 +3796,7 @@ var getFilteredTree = (tree, search2) => {
3791
3796
  };
3792
3797
 
3793
3798
  // src/components/view/TreeView/TreeView.tsx
3794
- import { Fragment as Fragment9, jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
3799
+ import { Fragment as Fragment10, jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
3795
3800
  var TreeView_default = memo2(function TreeView({ data, selected: selected5, startIcons, onSelect, withSearch = false }) {
3796
3801
  const [searchValue, setSearchValue] = useState17("");
3797
3802
  const onChangeSearchValue = useCallback10((e) => setSearchValue(e.target.value), []);
@@ -3808,7 +3813,7 @@ var TreeView_default = memo2(function TreeView({ data, selected: selected5, star
3808
3813
  const filteredData = useMemo9(() => {
3809
3814
  return getFilteredTree(data, searchValue);
3810
3815
  }, [data, searchValue]);
3811
- return /* @__PURE__ */ jsxs21(Fragment9, { children: [
3816
+ return /* @__PURE__ */ jsxs21(Fragment10, { children: [
3812
3817
  withSearch && /* @__PURE__ */ jsx36(
3813
3818
  SearchInput,
3814
3819
  {
@@ -3871,7 +3876,7 @@ function TypographyWithTooltip(props) {
3871
3876
  }
3872
3877
 
3873
3878
  // src/components/view/Pairs/Pairs.tsx
3874
- import { Fragment as Fragment10, jsx as jsx38, jsxs as jsxs22 } from "react/jsx-runtime";
3879
+ import { Fragment as Fragment11, jsx as jsx38, jsxs as jsxs22 } from "react/jsx-runtime";
3875
3880
  function Pairs(props) {
3876
3881
  const { pairs, column1Width = "50%", column2Width = "50%", showBorder, minRowHeight, classes } = props;
3877
3882
  return /* @__PURE__ */ jsx38("div", { className: classNames6(classes?.root), children: pairs.map((pair, i) => /* @__PURE__ */ jsx38(
@@ -3881,7 +3886,7 @@ function Pairs(props) {
3881
3886
  className: classNames6(classes?.rowContainer, {
3882
3887
  [rowContainerBorders]: showBorder
3883
3888
  }),
3884
- children: pair && /* @__PURE__ */ jsxs22(Fragment10, { children: [
3889
+ children: pair && /* @__PURE__ */ jsxs22(Fragment11, { children: [
3885
3890
  /* @__PURE__ */ jsx38(
3886
3891
  "div",
3887
3892
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nntc-ui",
3
- "version": "0.0.57",
3
+ "version": "0.0.59",
4
4
  "author": "NNTC",
5
5
  "description": "React UI-kit for NNTC",
6
6
  "type": "module",