@konstructio/ui 0.1.2-alpha.94 → 0.1.2-alpha.96

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.
Files changed (52) hide show
  1. package/dist/Breadcrumb-xLKDl92B.js +82 -0
  2. package/dist/assets/icons/components/ApiKey.js +31 -0
  3. package/dist/assets/icons/components/ArrowBack.js +20 -0
  4. package/dist/assets/icons/components/CheckAlt.js +24 -0
  5. package/dist/assets/icons/components/Configure.js +41 -0
  6. package/dist/assets/icons/components/Deploy.js +41 -0
  7. package/dist/assets/icons/components/Github.js +34 -0
  8. package/dist/assets/icons/components/LockAlt.js +21 -0
  9. package/dist/assets/icons/components/index.js +208 -194
  10. package/dist/assets/icons/index.js +208 -194
  11. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  12. package/dist/components/Breadcrumb/components/BackButton/BackButton.js +41 -0
  13. package/dist/components/Breadcrumb/components/BackButton/BackButton.variants.js +19 -0
  14. package/dist/components/Breadcrumb/components/Item/Item.js +37 -21
  15. package/dist/components/Breadcrumb/components/index.js +4 -2
  16. package/dist/components/VirtualizedTable/VirtualizedTable.js +64 -61
  17. package/dist/components/VirtualizedTable/components/Body/Body.js +60 -42
  18. package/dist/components/VirtualizedTable/components/Filter/Filter.js +78 -68
  19. package/dist/components/VirtualizedTable/components/Header/Header.js +1 -1
  20. package/dist/components/VirtualizedTable/contexts/index.js +1 -1
  21. package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
  22. package/dist/components/VirtualizedTable/events/index.js +10 -7
  23. package/dist/components/index.js +26 -25
  24. package/dist/icons.js +208 -194
  25. package/dist/index.js +43 -42
  26. package/dist/lib/assets/icons/components/ApiKey.d.ts +3 -0
  27. package/dist/lib/assets/icons/components/ArrowBack.d.ts +3 -0
  28. package/dist/lib/assets/icons/components/CheckAlt.d.ts +3 -0
  29. package/dist/lib/assets/icons/components/Configure.d.ts +3 -0
  30. package/dist/lib/assets/icons/components/Deploy.d.ts +3 -0
  31. package/dist/lib/assets/icons/components/Github.d.ts +3 -0
  32. package/dist/lib/assets/icons/components/LockAlt.d.ts +3 -0
  33. package/dist/lib/assets/icons/components/index.d.ts +7 -0
  34. package/dist/lib/components/Breadcrumb/Breadcrumb.d.ts +9 -0
  35. package/dist/lib/components/Breadcrumb/Breadcrumb.types.d.ts +27 -1
  36. package/dist/lib/components/Breadcrumb/components/BackButton/BackButton.d.ts +3 -0
  37. package/dist/lib/components/Breadcrumb/components/BackButton/BackButton.types.d.ts +7 -0
  38. package/dist/lib/components/Breadcrumb/components/BackButton/BackButton.variants.d.ts +1 -0
  39. package/dist/lib/components/Breadcrumb/components/index.d.ts +1 -0
  40. package/dist/lib/components/VirtualizedTable/VirtualizedTable.d.ts +1 -0
  41. package/dist/lib/components/VirtualizedTable/VirtualizedTable.types.d.ts +2 -0
  42. package/dist/lib/components/VirtualizedTable/components/Body/Body.d.ts +1 -1
  43. package/dist/lib/components/VirtualizedTable/components/Body/Body.types.d.ts +2 -0
  44. package/dist/lib/components/VirtualizedTable/components/Filter/Filter.types.d.ts +1 -0
  45. package/dist/lib/components/VirtualizedTable/events/index.d.ts +4 -2
  46. package/dist/lib/components/index.d.ts +1 -1
  47. package/dist/lib/icons.d.ts +1 -1
  48. package/dist/package.json +1 -1
  49. package/dist/styles.css +1 -1
  50. package/dist/{table.provider-BBlJgEJf.js → table.provider-BPlFpIAe.js} +309 -309
  51. package/package.json +1 -1
  52. package/dist/Breadcrumb-BYO5PNVF.js +0 -77
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@konstructio/ui",
3
3
  "description": "A set of reusable and customizable React components built for konstruct.io",
4
4
  "private": false,
5
- "version": "0.1.2-alpha.94",
5
+ "version": "0.1.2-alpha.96",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "main": "dist/index.js",
@@ -1,77 +0,0 @@
1
- import { o as g } from "./chunk-cI0lbGMq.js";
2
- import { t as v } from "./prop-types-CE0Kfmwk.js";
3
- import { t as u } from "./utils-COaoD3PI.js";
4
- import { breadcrumbVariants as b, breadcrumbWrapperVariants as y } from "./components/Breadcrumb/Breadcrumb.variants.js";
5
- import { Item as O } from "./components/Breadcrumb/components/Item/Item.js";
6
- import d, { Fragment as j, forwardRef as w, useId as _ } from "react";
7
- import { jsx as i, jsxs as x } from "react/jsx-runtime";
8
- var l = /* @__PURE__ */ g(v());
9
- function m() {
10
- return m = Object.assign || function(r) {
11
- for (var n = 1; n < arguments.length; n++) {
12
- var t = arguments[n];
13
- for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && (r[e] = t[e]);
14
- }
15
- return r;
16
- }, m.apply(this, arguments);
17
- }
18
- function k(r, n) {
19
- if (r == null) return {};
20
- var t = z(r, n), e, o;
21
- if (Object.getOwnPropertySymbols) {
22
- var a = Object.getOwnPropertySymbols(r);
23
- for (o = 0; o < a.length; o++)
24
- e = a[o], !(n.indexOf(e) >= 0) && Object.prototype.propertyIsEnumerable.call(r, e) && (t[e] = r[e]);
25
- }
26
- return t;
27
- }
28
- function z(r, n) {
29
- if (r == null) return {};
30
- var t = {}, e = Object.keys(r), o, a;
31
- for (a = 0; a < e.length; a++)
32
- o = e[a], !(n.indexOf(o) >= 0) && (t[o] = r[o]);
33
- return t;
34
- }
35
- var p = w(function(r, n) {
36
- var t = r.color, e = t === void 0 ? "currentColor" : t, o = r.size, a = o === void 0 ? 24 : o, s = k(r, ["color", "size"]);
37
- return /* @__PURE__ */ d.createElement("svg", m({
38
- ref: n,
39
- xmlns: "http://www.w3.org/2000/svg",
40
- width: a,
41
- height: a,
42
- viewBox: "0 0 24 24",
43
- fill: "none",
44
- stroke: e,
45
- strokeWidth: "2",
46
- strokeLinecap: "round",
47
- strokeLinejoin: "round"
48
- }, s), /* @__PURE__ */ d.createElement("polyline", { points: "9 18 15 12 9 6" }));
49
- });
50
- p.propTypes = {
51
- color: l.default.string,
52
- size: l.default.oneOfType([l.default.string, l.default.number])
53
- };
54
- p.displayName = "ChevronRight";
55
- var C = ({ "aria-label": r = "breadcrumb", className: n, steps: t, theme: e, wrapperClassName: o, ...a }) => {
56
- const s = _();
57
- return /* @__PURE__ */ i("nav", {
58
- "aria-label": r,
59
- "data-theme": e,
60
- className: u(y({ className: o })),
61
- children: /* @__PURE__ */ i("ol", {
62
- className: u(b({ className: n })),
63
- ...a,
64
- children: t.map(({ label: c, ...h }, f) => /* @__PURE__ */ x(j, { children: [/* @__PURE__ */ i(O, {
65
- ...h,
66
- label: c,
67
- isLast: f === t.length - 1
68
- }), f !== t.length - 1 && /* @__PURE__ */ i("li", {
69
- "aria-hidden": "true",
70
- children: /* @__PURE__ */ i(p, { className: "text-gray-400 w-5 h-5 mt-0.5" })
71
- })] }, `${s}-${c}`))
72
- })
73
- });
74
- };
75
- export {
76
- C as t
77
- };