@rafal.lemieszewski/tide-ui 0.84.2 → 0.84.3
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/cjs/components/fundamental/breadcrumb.cjs +1 -1
- package/dist/cjs/components/fundamental/country-dropdown.cjs +1 -1
- package/dist/cjs/components/fundamental/icon.cjs +1 -1
- package/dist/cjs/components/fundamental/tree.cjs +1 -1
- package/dist/cjs/components/product/data-table.cjs +1 -1
- package/dist/cjs/lib/index.cjs +1 -1
- package/dist/es/components/fundamental/accordion.js +3 -3
- package/dist/es/components/fundamental/alert-dialog.js +5 -5
- package/dist/es/components/fundamental/alert.js +3 -3
- package/dist/es/components/fundamental/avatar-group.js +1 -1
- package/dist/es/components/fundamental/avatar.js +3 -3
- package/dist/es/components/fundamental/badge.js +1 -1
- package/dist/es/components/fundamental/breadcrumb.js +6 -6
- package/dist/es/components/fundamental/button-group.js +3 -3
- package/dist/es/components/fundamental/button.js +1 -1
- package/dist/es/components/fundamental/card.js +6 -6
- package/dist/es/components/fundamental/checkbox.js +1 -1
- package/dist/es/components/fundamental/collapsible.js +2 -2
- package/dist/es/components/fundamental/command.js +7 -7
- package/dist/es/components/fundamental/date-picker.js +2 -2
- package/dist/es/components/fundamental/dialog.js +3 -3
- package/dist/es/components/fundamental/drawer.js +4 -4
- package/dist/es/components/fundamental/dropdown-menu.js +25 -25
- package/dist/es/components/fundamental/empty.js +6 -6
- package/dist/es/components/fundamental/file-upload.js +9 -9
- package/dist/es/components/fundamental/form-field.js +15 -15
- package/dist/es/components/fundamental/hover-card.js +1 -1
- package/dist/es/components/fundamental/icon.js +115 -120
- package/dist/es/components/fundamental/input-group.js +6 -6
- package/dist/es/components/fundamental/input.js +1 -1
- package/dist/es/components/fundamental/kbd.js +2 -2
- package/dist/es/components/fundamental/label.js +1 -1
- package/dist/es/components/fundamental/month-picker.js +1 -1
- package/dist/es/components/fundamental/pagination.js +1 -1
- package/dist/es/components/fundamental/popover.js +1 -1
- package/dist/es/components/fundamental/progress.js +1 -1
- package/dist/es/components/fundamental/radio-group.js +2 -2
- package/dist/es/components/fundamental/scroll-area.js +2 -2
- package/dist/es/components/fundamental/select.js +5 -5
- package/dist/es/components/fundamental/separator.js +1 -1
- package/dist/es/components/fundamental/sheet.js +4 -4
- package/dist/es/components/fundamental/sidebar.js +25 -25
- package/dist/es/components/fundamental/skeleton.js +5 -5
- package/dist/es/components/fundamental/slider.js +1 -1
- package/dist/es/components/fundamental/spinner.js +5 -5
- package/dist/es/components/fundamental/switch.js +1 -1
- package/dist/es/components/fundamental/table.js +10 -10
- package/dist/es/components/fundamental/tabs.js +5 -5
- package/dist/es/components/fundamental/tag.js +2 -2
- package/dist/es/components/fundamental/text-link.js +1 -1
- package/dist/es/components/fundamental/textarea.js +1 -1
- package/dist/es/components/fundamental/toggle-group.js +2 -2
- package/dist/es/components/fundamental/toggle.js +1 -1
- package/dist/es/components/fundamental/tooltip.js +1 -1
- package/dist/es/components/fundamental/tree.js +2 -2
- package/dist/es/components/product/activity-log.js +12 -12
- package/dist/es/components/product/attributes-list.js +13 -13
- package/dist/es/components/product/bookmarks.js +2 -2
- package/dist/es/components/product/data-table.js +365 -351
- package/dist/es/components/product/filters.js +3 -3
- package/dist/es/components/product/fixture-status.js +1 -1
- package/dist/es/lib/index.js +328 -368
- package/dist/types/bookmarks.d.ts +2 -0
- package/dist/types/calendar.d.ts +2 -0
- package/dist/types/chart.d.ts +2 -0
- package/dist/types/components/core-index.d.cts +135 -0
- package/dist/types/components/core-index.d.ts +135 -0
- package/dist/types/components/fundamental/avatar.d.ts +3 -3
- package/dist/types/components/fundamental/badge.d.ts +2 -2
- package/dist/types/components/fundamental/button-group.d.ts +1 -1
- package/dist/types/components/fundamental/calendar.d.cts +7 -0
- package/dist/types/components/fundamental/chart.d.cts +95 -0
- package/dist/types/components/fundamental/command.d.ts +1 -1
- package/dist/types/components/fundamental/country-dropdown.d.cts +34 -0
- package/dist/types/components/fundamental/date-picker.d.cts +30 -0
- package/dist/types/components/fundamental/form-field.d.ts +1 -1
- package/dist/types/components/fundamental/resizable.d.cts +23 -0
- package/dist/types/components/fundamental/resizable.d.ts +1 -1
- package/dist/types/components/fundamental/spinner.d.ts +1 -1
- package/dist/types/components/fundamental/table.d.ts +3 -3
- package/dist/types/components/product/bookmarks.d.cts +90 -0
- package/dist/types/components/product/data-table.d.cts +802 -0
- package/dist/types/components/product/filters.d.cts +124 -0
- package/dist/types/components/product/linked-chart.d.cts +22 -0
- package/dist/types/country-dropdown.d.ts +2 -0
- package/dist/types/data-table.d.ts +2 -0
- package/dist/types/date-picker.d.ts +2 -0
- package/dist/types/filters.d.ts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/lib/index.d.cts +104 -3
- package/dist/types/lib/index.d.ts +104 -3
- package/dist/types/linked-chart.d.ts +2 -0
- package/dist/types/resizable.d.ts +2 -0
- package/package.json +94 -12
- /package/dist/cjs/components/{index.cjs → core-index.cjs} +0 -0
- /package/dist/es/components/{index.js → core-index.js} +0 -0
|
@@ -3,7 +3,7 @@ import * as r from "react";
|
|
|
3
3
|
import { cn as n } from "../../lib/utils.js";
|
|
4
4
|
import { Collapsible as L, CollapsibleTrigger as C, CollapsibleContent as R } from "../fundamental/collapsible.js";
|
|
5
5
|
import { Icon as D } from "../fundamental/icon.js";
|
|
6
|
-
const I = r.forwardRef(
|
|
6
|
+
const I = /* @__PURE__ */ r.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
className: i,
|
|
9
9
|
children: e,
|
|
@@ -44,7 +44,7 @@ const I = r.forwardRef(
|
|
|
44
44
|
}
|
|
45
45
|
);
|
|
46
46
|
I.displayName = "ActivityLog";
|
|
47
|
-
const w = r.forwardRef(
|
|
47
|
+
const w = /* @__PURE__ */ r.forwardRef(
|
|
48
48
|
({
|
|
49
49
|
className: i,
|
|
50
50
|
children: e,
|
|
@@ -68,8 +68,8 @@ const w = r.forwardRef(
|
|
|
68
68
|
) : /* @__PURE__ */ a("div", { ref: c, className: n("w-full", i), ...s, children: e })
|
|
69
69
|
);
|
|
70
70
|
w.displayName = "ActivityLogItem";
|
|
71
|
-
const N = r.memo(
|
|
72
|
-
r.forwardRef(
|
|
71
|
+
const N = /* @__PURE__ */ r.memo(
|
|
72
|
+
/* @__PURE__ */ r.forwardRef(
|
|
73
73
|
({ className: i, ...e }, t) => /* @__PURE__ */ a(
|
|
74
74
|
"div",
|
|
75
75
|
{
|
|
@@ -87,7 +87,7 @@ const N = r.memo(
|
|
|
87
87
|
)
|
|
88
88
|
);
|
|
89
89
|
N.displayName = "ActivityLogSeparator";
|
|
90
|
-
const V = r.forwardRef(
|
|
90
|
+
const V = /* @__PURE__ */ r.forwardRef(
|
|
91
91
|
({ className: i, children: e, asCollapsibleTrigger: t, ...o }, d) => {
|
|
92
92
|
const { avatarOrIcon: y, description: v, chevron: s, otherChildren: c } = r.useMemo(() => {
|
|
93
93
|
const f = r.Children.toArray(e);
|
|
@@ -135,7 +135,7 @@ const V = r.forwardRef(
|
|
|
135
135
|
}
|
|
136
136
|
);
|
|
137
137
|
V.displayName = "ActivityLogHeader";
|
|
138
|
-
const k = r.forwardRef(({ className: i, children: e, ...t }, o) => /* @__PURE__ */ a(
|
|
138
|
+
const k = /* @__PURE__ */ r.forwardRef(({ className: i, children: e, ...t }, o) => /* @__PURE__ */ a(
|
|
139
139
|
R,
|
|
140
140
|
{
|
|
141
141
|
ref: o,
|
|
@@ -149,7 +149,7 @@ const k = r.forwardRef(({ className: i, children: e, ...t }, o) => /* @__PURE__
|
|
|
149
149
|
}
|
|
150
150
|
));
|
|
151
151
|
k.displayName = "ActivityLogContent";
|
|
152
|
-
const E = r.forwardRef(({ className: i, children: e, ...t }, o) => /* @__PURE__ */ a(
|
|
152
|
+
const E = /* @__PURE__ */ r.forwardRef(({ className: i, children: e, ...t }, o) => /* @__PURE__ */ a(
|
|
153
153
|
"div",
|
|
154
154
|
{
|
|
155
155
|
ref: o,
|
|
@@ -162,7 +162,7 @@ const E = r.forwardRef(({ className: i, children: e, ...t }, o) => /* @__PURE__
|
|
|
162
162
|
}
|
|
163
163
|
));
|
|
164
164
|
E.displayName = "ActivityLogDescription";
|
|
165
|
-
const M = r.forwardRef(
|
|
165
|
+
const M = /* @__PURE__ */ r.forwardRef(
|
|
166
166
|
({ className: i, children: e, dateTime: t, ...o }, d) => /* @__PURE__ */ a(
|
|
167
167
|
"time",
|
|
168
168
|
{
|
|
@@ -178,8 +178,8 @@ const M = r.forwardRef(
|
|
|
178
178
|
)
|
|
179
179
|
);
|
|
180
180
|
M.displayName = "ActivityLogTime";
|
|
181
|
-
const T = r.memo(
|
|
182
|
-
r.forwardRef(
|
|
181
|
+
const T = /* @__PURE__ */ r.memo(
|
|
182
|
+
/* @__PURE__ */ r.forwardRef(
|
|
183
183
|
({ className: i, ...e }, t) => /* @__PURE__ */ a(
|
|
184
184
|
"div",
|
|
185
185
|
{
|
|
@@ -201,8 +201,8 @@ const T = r.memo(
|
|
|
201
201
|
)
|
|
202
202
|
);
|
|
203
203
|
T.displayName = "ActivityLogChevron";
|
|
204
|
-
const j = r.memo(
|
|
205
|
-
r.forwardRef(
|
|
204
|
+
const j = /* @__PURE__ */ r.memo(
|
|
205
|
+
/* @__PURE__ */ r.forwardRef(
|
|
206
206
|
({ className: i, children: e, ...t }, o) => /* @__PURE__ */ a(
|
|
207
207
|
"div",
|
|
208
208
|
{
|
|
@@ -3,7 +3,7 @@ import * as e from "react";
|
|
|
3
3
|
import { cn as i } from "../../lib/utils.js";
|
|
4
4
|
import { Collapsible as A, CollapsibleTrigger as w, CollapsibleContent as R } from "../fundamental/collapsible.js";
|
|
5
5
|
import { Icon as N } from "../fundamental/icon.js";
|
|
6
|
-
const h = e.createContext("s"), I = e.forwardRef(
|
|
6
|
+
const h = e.createContext("s"), I = /* @__PURE__ */ e.forwardRef(
|
|
7
7
|
({
|
|
8
8
|
className: a,
|
|
9
9
|
children: t,
|
|
@@ -66,8 +66,8 @@ const h = e.createContext("s"), I = e.forwardRef(
|
|
|
66
66
|
}
|
|
67
67
|
);
|
|
68
68
|
I.displayName = "AttributesList";
|
|
69
|
-
const P = e.memo(
|
|
70
|
-
e.forwardRef(
|
|
69
|
+
const P = /* @__PURE__ */ e.memo(
|
|
70
|
+
/* @__PURE__ */ e.forwardRef(
|
|
71
71
|
({ className: a, ...t }, r) => /* @__PURE__ */ n(
|
|
72
72
|
"div",
|
|
73
73
|
{
|
|
@@ -85,7 +85,7 @@ const P = e.memo(
|
|
|
85
85
|
)
|
|
86
86
|
);
|
|
87
87
|
P.displayName = "AttributesSeparator";
|
|
88
|
-
const H = e.forwardRef(
|
|
88
|
+
const H = /* @__PURE__ */ e.forwardRef(
|
|
89
89
|
({
|
|
90
90
|
className: a,
|
|
91
91
|
label: t,
|
|
@@ -159,7 +159,7 @@ const H = e.forwardRef(
|
|
|
159
159
|
}
|
|
160
160
|
);
|
|
161
161
|
H.displayName = "AttributesGroup";
|
|
162
|
-
const M = e.forwardRef(
|
|
162
|
+
const M = /* @__PURE__ */ e.forwardRef(
|
|
163
163
|
({
|
|
164
164
|
className: a,
|
|
165
165
|
children: t,
|
|
@@ -201,7 +201,7 @@ const M = e.forwardRef(
|
|
|
201
201
|
)
|
|
202
202
|
);
|
|
203
203
|
M.displayName = "AttributesItem";
|
|
204
|
-
const S = e.forwardRef(
|
|
204
|
+
const S = /* @__PURE__ */ e.forwardRef(
|
|
205
205
|
({ className: a, children: t, asCollapsibleTrigger: r, externalLink: o, style: d, ...f }, p) => {
|
|
206
206
|
const u = e.useContext(h), l = e.useMemo(() => {
|
|
207
207
|
if (!o) return t;
|
|
@@ -258,8 +258,8 @@ const S = e.forwardRef(
|
|
|
258
258
|
}
|
|
259
259
|
);
|
|
260
260
|
S.displayName = "AttributesRow";
|
|
261
|
-
const V = e.memo(
|
|
262
|
-
e.forwardRef(
|
|
261
|
+
const V = /* @__PURE__ */ e.memo(
|
|
262
|
+
/* @__PURE__ */ e.forwardRef(
|
|
263
263
|
({ className: a, children: t, ...r }, o) => {
|
|
264
264
|
const d = e.useContext(h);
|
|
265
265
|
return /* @__PURE__ */ n(
|
|
@@ -279,8 +279,8 @@ const V = e.memo(
|
|
|
279
279
|
)
|
|
280
280
|
);
|
|
281
281
|
V.displayName = "AttributesLabel";
|
|
282
|
-
const k = e.memo(
|
|
283
|
-
e.forwardRef(
|
|
282
|
+
const k = /* @__PURE__ */ e.memo(
|
|
283
|
+
/* @__PURE__ */ e.forwardRef(
|
|
284
284
|
({ className: a, children: t, ...r }, o) => {
|
|
285
285
|
const d = e.useContext(h);
|
|
286
286
|
return /* @__PURE__ */ n(
|
|
@@ -301,7 +301,7 @@ const k = e.memo(
|
|
|
301
301
|
)
|
|
302
302
|
);
|
|
303
303
|
k.displayName = "AttributesValue";
|
|
304
|
-
const z = e.forwardRef(({ className: a, children: t, style: r, ...o }, d) => /* @__PURE__ */ n(
|
|
304
|
+
const z = /* @__PURE__ */ e.forwardRef(({ className: a, children: t, style: r, ...o }, d) => /* @__PURE__ */ n(
|
|
305
305
|
R,
|
|
306
306
|
{
|
|
307
307
|
ref: d,
|
|
@@ -315,8 +315,8 @@ const z = e.forwardRef(({ className: a, children: t, style: r, ...o }, d) => /*
|
|
|
315
315
|
}
|
|
316
316
|
));
|
|
317
317
|
z.displayName = "AttributesContent";
|
|
318
|
-
const G = e.memo(
|
|
319
|
-
e.forwardRef(
|
|
318
|
+
const G = /* @__PURE__ */ e.memo(
|
|
319
|
+
/* @__PURE__ */ e.forwardRef(
|
|
320
320
|
({ className: a, ...t }, r) => /* @__PURE__ */ n(
|
|
321
321
|
"div",
|
|
322
322
|
{
|