@yourdash/uikit 1.0.41 → 1.0.42

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 (145) hide show
  1. package/dist/UKButtonLink.css +4 -0
  2. package/dist/components/box/{box.d.ts → UKBox.d.ts} +2 -2
  3. package/dist/components/box/{box.js → UKBox.js} +2 -2
  4. package/dist/components/button/{button.d.ts → UKButton.d.ts} +2 -2
  5. package/dist/components/button/{button.js → UKButton.js} +1 -1
  6. package/dist/components/buttonCombo/{buttonCombo.d.ts → UKButtonCombo.d.ts} +2 -2
  7. package/dist/components/buttonCombo/{buttonCombo.js → UKButtonCombo.js} +1 -1
  8. package/dist/components/buttonLink/{buttonLink.d.ts → UKButtonLink.d.ts} +2 -2
  9. package/dist/components/buttonLink/UKButtonLink.js +21 -0
  10. package/dist/components/buttonWithIcon/{buttonWithIcon.d.ts → UKButtonWithIcon.d.ts} +3 -3
  11. package/dist/components/buttonWithIcon/{buttonWithIcon.js → UKButtonWithIcon.js} +2 -2
  12. package/dist/components/card/{card.d.ts → UKCard.d.ts} +3 -3
  13. package/dist/components/card/{card.js → UKCard.js} +3 -3
  14. package/dist/components/container/{container.d.ts → UKContainer.d.ts} +2 -2
  15. package/dist/components/container/{container.js → UKContainer.js} +2 -2
  16. package/dist/components/contextMenu/{contextMenu.d.ts → UKContextMenu.d.ts} +3 -3
  17. package/dist/components/contextMenu/{contextMenu.js → UKContextMenu.js} +4 -4
  18. package/dist/components/contextMenu/contextMenuRoot.js +8 -8
  19. package/dist/components/flex/{flex.d.ts → UKFlex.d.ts} +2 -2
  20. package/dist/components/flex/{flex.js → UKFlex.js} +1 -1
  21. package/dist/components/heading/{heading.d.ts → UKHeading.d.ts} +2 -2
  22. package/dist/components/heading/UKHeading.js +32 -0
  23. package/dist/components/icon/{icon.d.ts → UKIcon.d.ts} +3 -3
  24. package/dist/components/icon/{icon.js → UKIcon.js} +1 -1
  25. package/dist/components/iconButton/UKIconButton.d.ts +10 -0
  26. package/dist/components/iconButton/{iconButton.js → UKIconButton.js} +2 -2
  27. package/dist/components/image/{image.d.ts → UKImage.d.ts} +2 -2
  28. package/dist/components/image/{image.js → UKImage.js} +12 -12
  29. package/dist/components/link/{link.d.ts → UKLink.d.ts} +2 -2
  30. package/dist/components/link/{link.js → UKLink.js} +3 -3
  31. package/dist/components/progressBar/{progressBar.d.ts → UKProgressBar.d.ts} +2 -2
  32. package/dist/components/redirect/UKRedirect.d.ts +5 -0
  33. package/dist/components/redirect/UKRedirect.js +11 -0
  34. package/dist/components/separator/{separator.d.ts → UKSeparator.d.ts} +2 -2
  35. package/dist/components/separator/{separator.js → UKSeparator.js} +1 -1
  36. package/dist/components/spinner/UKSpinner.d.ts +5 -0
  37. package/dist/components/spinner/{spinner.js → UKSpinner.js} +1 -1
  38. package/dist/components/subtext/{subtext.d.ts → UKSubtext.d.ts} +2 -2
  39. package/dist/components/subtext/{subtext.js → UKSubtext.js} +1 -1
  40. package/dist/components/tag/{tag.d.ts → UKTag.d.ts} +2 -2
  41. package/dist/components/tag/{tag.js → UKTag.js} +1 -1
  42. package/dist/components/text/{text.d.ts → UKText.d.ts} +2 -2
  43. package/dist/components/text/{text.js → UKText.js} +1 -1
  44. package/dist/components/textButton/{textButton.d.ts → UKTextButton.d.ts} +2 -2
  45. package/dist/components/textButton/{textButton.js → UKTextButton.js} +1 -1
  46. package/dist/components/textInput/{textInput.d.ts → UKTextInput.d.ts} +3 -2
  47. package/dist/components/textInput/{textInput.js → UKTextInput.js} +7 -6
  48. package/dist/core/decrementLevel.js +1 -1
  49. package/dist/core/iconDictionary.d.ts +2 -2
  50. package/dist/core/iconDictionary.js +1 -1
  51. package/dist/core/incrementLevel.js +1 -1
  52. package/dist/core/level.js +1 -1
  53. package/dist/core/root.js +1 -1
  54. package/dist/core/toasts/toasts.js +17 -17
  55. package/{src/theme → dist}/defaultTheme.module.scss +12 -12
  56. package/dist/{level-o2-EzyQS.js → level-zWuM8x6U.js} +7 -7
  57. package/dist/{assets/level.css → level.css} +1 -1
  58. package/dist/views/carousel/{carousel.d.ts → UKCarousel.d.ts} +2 -2
  59. package/dist/views/carousel/{carousel.js → UKCarousel.js} +8 -8
  60. package/dist/views/dialog/UKDialog.d.ts +10 -0
  61. package/dist/views/dialog/UKDialog.js +22 -0
  62. package/dist/views/header/{header.d.ts → UKPageHeader.d.ts} +2 -2
  63. package/dist/views/header/UKPageHeader.js +21 -0
  64. package/dist/views/infiniteScroll/{infiniteScroll.d.ts → UKInfiniteScroll.d.ts} +2 -2
  65. package/dist/views/infiniteScroll/{infiniteScroll.js → UKInfiniteScroll.js} +7 -7
  66. package/dist/views/navBar/{navBar.d.ts → UKNavBar.d.ts} +2 -2
  67. package/dist/views/navBar/{navBar.js → UKNavBar.js} +3 -3
  68. package/dist/views/navBar/components/navImage/UKNavbarNavImage.d.ts +5 -0
  69. package/dist/views/navBar/components/navImage/UKNavbarNavImage.js +15 -0
  70. package/dist/views/navBar/components/navTitle/UKNavbarNavTitle.d.ts +5 -0
  71. package/dist/views/navBar/components/navTitle/{navTitle.js → UKNavbarNavTitle.js} +1 -1
  72. package/dist/views/onBoarding/{onBoarding.d.ts → UKOnBoarding.d.ts} +3 -3
  73. package/dist/views/onBoarding/UKOnBoarding.js +130 -0
  74. package/dist/views/panAndZoom/{panAndZoom.d.ts → UKPanAndZoom.d.ts} +2 -2
  75. package/dist/views/sidebar/{sidebar.d.ts → UKSidebar.d.ts} +2 -2
  76. package/dist/views/sidebar/{sidebar.js → UKSidebar.js} +6 -6
  77. package/dist/views/sidebar/{sidebarContainer.d.ts → UKSidebarContainer.d.ts} +2 -2
  78. package/dist/views/sidebar/{sidebarContainer.js → UKSidebarContainer.js} +2 -2
  79. package/dist/views/sidebar/{sidebarContext.d.ts → UKSidebarContext.d.ts} +2 -2
  80. package/dist/views/sidebar/UKSidebarToggleButton.d.ts +3 -0
  81. package/dist/views/sidebar/{sidebarToggleButton.js → UKSidebarToggleButton.js} +4 -4
  82. package/package.json +43 -44
  83. package/dist/assets/buttonLink.css +0 -4
  84. package/dist/components/buttonLink/buttonLink.js +0 -21
  85. package/dist/components/heading/heading.js +0 -29
  86. package/dist/components/iconButton/iconButton.d.ts +0 -10
  87. package/dist/components/index.d.ts +0 -23
  88. package/dist/components/index.js +0 -48
  89. package/dist/components/redirect/redirect.d.ts +0 -5
  90. package/dist/components/redirect/redirect.js +0 -11
  91. package/dist/components/spinner/spinner.d.ts +0 -5
  92. package/dist/core/index.d.ts +0 -5
  93. package/dist/core/index.js +0 -12
  94. package/dist/index-BgUabcaX.js +0 -10
  95. package/dist/index-C3VgT5vL.js +0 -16
  96. package/dist/index-D4kASGu5.js +0 -240
  97. package/dist/index-DiqAMPiW.js +0 -30
  98. package/dist/index-avjaKJHH.js +0 -52
  99. package/dist/uikit.d.ts +0 -17
  100. package/dist/uikit.js +0 -19
  101. package/dist/utilityComponent/index.d.ts +0 -2
  102. package/dist/utilityComponent/index.js +0 -6
  103. package/dist/views/dialog/dialog.d.ts +0 -6
  104. package/dist/views/dialog/dialog.js +0 -18
  105. package/dist/views/header/header.js +0 -21
  106. package/dist/views/index.d.ts +0 -12
  107. package/dist/views/index.js +0 -26
  108. package/dist/views/navBar/components/navImage/navImage.d.ts +0 -5
  109. package/dist/views/navBar/components/navImage/navImage.js +0 -15
  110. package/dist/views/navBar/components/navTitle/navTitle.d.ts +0 -5
  111. package/dist/views/onBoarding/onBoarding.js +0 -125
  112. package/dist/views/sidebar/sidebarToggleButton.d.ts +0 -3
  113. /package/dist/{assets/box.css → UKBox.css} +0 -0
  114. /package/dist/{assets/button.css → UKButton.css} +0 -0
  115. /package/dist/{assets/buttonCombo.css → UKButtonCombo.css} +0 -0
  116. /package/dist/{assets/buttonWithIcon.css → UKButtonWithIcon.css} +0 -0
  117. /package/dist/{assets/card.css → UKCard.css} +0 -0
  118. /package/dist/{assets/carousel.css → UKCarousel.css} +0 -0
  119. /package/dist/{assets/container.css → UKContainer.css} +0 -0
  120. /package/dist/{assets/dialog.css → UKDialog.css} +0 -0
  121. /package/dist/{assets/flex.css → UKFlex.css} +0 -0
  122. /package/dist/{assets/heading.css → UKHeading.css} +0 -0
  123. /package/dist/{assets/icon.css → UKIcon.css} +0 -0
  124. /package/dist/{assets/iconButton.css → UKIconButton.css} +0 -0
  125. /package/dist/{assets/image.css → UKImage.css} +0 -0
  126. /package/dist/{assets/infiniteScroll.css → UKInfiniteScroll.css} +0 -0
  127. /package/dist/{assets/link.css → UKLink.css} +0 -0
  128. /package/dist/{assets/navBar.css → UKNavBar.css} +0 -0
  129. /package/dist/{assets/navImage.css → UKNavbarNavImage.css} +0 -0
  130. /package/dist/{assets/onBoarding.css → UKOnBoarding.css} +0 -0
  131. /package/dist/{assets/header.css → UKPageHeader.css} +0 -0
  132. /package/dist/{assets/separator.css → UKSeparator.css} +0 -0
  133. /package/dist/{assets/sidebar.css → UKSidebar.css} +0 -0
  134. /package/dist/{assets/sidebarContainer.css → UKSidebarContainer.css} +0 -0
  135. /package/dist/{assets/spinner.css → UKSpinner.css} +0 -0
  136. /package/dist/{assets/subtext.css → UKSubtext.css} +0 -0
  137. /package/dist/{assets/tag.css → UKTag.css} +0 -0
  138. /package/dist/{assets/textButton.css → UKTextButton.css} +0 -0
  139. /package/dist/{assets/textInput.css → UKTextInput.css} +0 -0
  140. /package/dist/components/progressBar/{progressBar.js → UKProgressBar.js} +0 -0
  141. /package/dist/{assets/contextMenuRoot.css → contextMenuRoot.css} +0 -0
  142. /package/{src/theme → dist}/themeValues.scss +0 -0
  143. /package/dist/{assets/toasts.css → toasts.css} +0 -0
  144. /package/dist/views/panAndZoom/{panAndZoom.js → UKPanAndZoom.js} +0 -0
  145. /package/dist/views/sidebar/{sidebarContext.js → UKSidebarContext.js} +0 -0
@@ -1,240 +0,0 @@
1
- import * as o from "react";
2
- /**
3
- * @remix-run/router v1.21.0
4
- *
5
- * Copyright (c) Remix Software Inc.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE.md file in the root directory of this source tree.
9
- *
10
- * @license MIT
11
- */
12
- function g() {
13
- return g = Object.assign ? Object.assign.bind() : function(e) {
14
- for (var t = 1; t < arguments.length; t++) {
15
- var n = arguments[t];
16
- for (var a in n)
17
- Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
18
- }
19
- return e;
20
- }, g.apply(this, arguments);
21
- }
22
- var O;
23
- (function(e) {
24
- e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
25
- })(O || (O = {}));
26
- function s(e, t) {
27
- if (e === !1 || e === null || typeof e > "u")
28
- throw new Error(t);
29
- }
30
- function b(e, t) {
31
- if (!e) {
32
- typeof console < "u" && console.warn(t);
33
- try {
34
- throw new Error(t);
35
- } catch {
36
- }
37
- }
38
- }
39
- function R(e) {
40
- let t = {};
41
- if (e) {
42
- let n = e.indexOf("#");
43
- n >= 0 && (t.hash = e.substr(n), e = e.substr(0, n));
44
- let a = e.indexOf("?");
45
- a >= 0 && (t.search = e.substr(a), e = e.substr(0, a)), e && (t.pathname = e);
46
- }
47
- return t;
48
- }
49
- var y;
50
- (function(e) {
51
- e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
52
- })(y || (y = {}));
53
- function L(e, t) {
54
- t === void 0 && (t = "/");
55
- let {
56
- pathname: n,
57
- search: a = "",
58
- hash: r = ""
59
- } = typeof e == "string" ? R(e) : e;
60
- return {
61
- pathname: n ? n.startsWith("/") ? n : j(n, t) : t,
62
- search: A(a),
63
- hash: J(r)
64
- };
65
- }
66
- function j(e, t) {
67
- let n = t.replace(/\/+$/, "").split("/");
68
- return e.split("/").forEach((r) => {
69
- r === ".." ? n.length > 1 && n.pop() : r !== "." && n.push(r);
70
- }), n.length > 1 ? n.join("/") : "/";
71
- }
72
- function m(e, t, n, a) {
73
- return "Cannot include a '" + e + "' character in a manually specified " + ("`to." + t + "` field [" + JSON.stringify(a) + "]. Please separate it out to the ") + ("`to." + n + "` field. Alternatively you may provide the full path as ") + 'a string in <Link to="..."> and the router will parse it for you.';
74
- }
75
- function I(e) {
76
- return e.filter((t, n) => n === 0 || t.route.path && t.route.path.length > 0);
77
- }
78
- function M(e, t) {
79
- let n = I(e);
80
- return t ? n.map((a, r) => r === n.length - 1 ? a.pathname : a.pathnameBase) : n.map((a) => a.pathnameBase);
81
- }
82
- function W(e, t, n, a) {
83
- a === void 0 && (a = !1);
84
- let r;
85
- typeof e == "string" ? r = R(e) : (r = g({}, e), s(!r.pathname || !r.pathname.includes("?"), m("?", "pathname", "search", r)), s(!r.pathname || !r.pathname.includes("#"), m("#", "pathname", "hash", r)), s(!r.search || !r.search.includes("#"), m("#", "search", "hash", r)));
86
- let i = e === "" || r.pathname === "", u = i ? "/" : r.pathname, f;
87
- if (u == null)
88
- f = n;
89
- else {
90
- let c = t.length - 1;
91
- if (!a && u.startsWith("..")) {
92
- let v = u.split("/");
93
- for (; v[0] === ".."; )
94
- v.shift(), c -= 1;
95
- r.pathname = v.join("/");
96
- }
97
- f = c >= 0 ? t[c] : "/";
98
- }
99
- let h = L(r, f), d = u && u !== "/" && u.endsWith("/"), l = (i || u === ".") && n.endsWith("/");
100
- return !h.pathname.endsWith("/") && (d || l) && (h.pathname += "/"), h;
101
- }
102
- const B = (e) => e.join("/").replace(/\/\/+/g, "/"), A = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, J = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, P = ["post", "put", "patch", "delete"];
103
- new Set(P);
104
- const q = ["get", ...P];
105
- new Set(q);
106
- /**
107
- * React Router v6.28.0
108
- *
109
- * Copyright (c) Remix Software Inc.
110
- *
111
- * This source code is licensed under the MIT license found in the
112
- * LICENSE.md file in the root directory of this source tree.
113
- *
114
- * @license MIT
115
- */
116
- function N() {
117
- return N = Object.assign ? Object.assign.bind() : function(e) {
118
- for (var t = 1; t < arguments.length; t++) {
119
- var n = arguments[t];
120
- for (var a in n)
121
- Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
122
- }
123
- return e;
124
- }, N.apply(this, arguments);
125
- }
126
- const E = /* @__PURE__ */ o.createContext(null);
127
- process.env.NODE_ENV !== "production" && (E.displayName = "DataRouter");
128
- const z = /* @__PURE__ */ o.createContext(null);
129
- process.env.NODE_ENV !== "production" && (z.displayName = "DataRouterState");
130
- const T = /* @__PURE__ */ o.createContext(null);
131
- process.env.NODE_ENV !== "production" && (T.displayName = "Await");
132
- const x = /* @__PURE__ */ o.createContext(null);
133
- process.env.NODE_ENV !== "production" && (x.displayName = "Navigation");
134
- const C = /* @__PURE__ */ o.createContext(null);
135
- process.env.NODE_ENV !== "production" && (C.displayName = "Location");
136
- const p = /* @__PURE__ */ o.createContext({
137
- outlet: null,
138
- matches: [],
139
- isDataRoute: !1
140
- });
141
- process.env.NODE_ENV !== "production" && (p.displayName = "Route");
142
- const $ = /* @__PURE__ */ o.createContext(null);
143
- process.env.NODE_ENV !== "production" && ($.displayName = "RouteError");
144
- function w() {
145
- return o.useContext(C) != null;
146
- }
147
- function Y() {
148
- return w() || (process.env.NODE_ENV !== "production" ? s(
149
- !1,
150
- // TODO: This error is probably because they somehow have 2 versions of the
151
- // router loaded. We can help them understand how to avoid that.
152
- "useLocation() may be used only in the context of a <Router> component."
153
- ) : s(!1)), o.useContext(C).location;
154
- }
155
- const D = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
156
- function U(e) {
157
- o.useContext(x).static || o.useLayoutEffect(e);
158
- }
159
- function H() {
160
- let {
161
- isDataRoute: e
162
- } = o.useContext(p);
163
- return e ? k() : F();
164
- }
165
- function F() {
166
- w() || (process.env.NODE_ENV !== "production" ? s(
167
- !1,
168
- // TODO: This error is probably because they somehow have 2 versions of the
169
- // router loaded. We can help them understand how to avoid that.
170
- "useNavigate() may be used only in the context of a <Router> component."
171
- ) : s(!1));
172
- let e = o.useContext(E), {
173
- basename: t,
174
- future: n,
175
- navigator: a
176
- } = o.useContext(x), {
177
- matches: r
178
- } = o.useContext(p), {
179
- pathname: i
180
- } = Y(), u = JSON.stringify(M(r, n.v7_relativeSplatPath)), f = o.useRef(!1);
181
- return U(() => {
182
- f.current = !0;
183
- }), o.useCallback(function(d, l) {
184
- if (l === void 0 && (l = {}), process.env.NODE_ENV !== "production" && b(f.current, D), !f.current) return;
185
- if (typeof d == "number") {
186
- a.go(d);
187
- return;
188
- }
189
- let c = W(d, JSON.parse(u), i, l.relative === "path");
190
- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : B([t, c.pathname])), (l.replace ? a.replace : a.push)(c, l.state, l);
191
- }, [t, a, u, i, e]);
192
- }
193
- const G = /* @__PURE__ */ o.createContext(null);
194
- function K(e) {
195
- let t = o.useContext(p).outlet;
196
- return t && /* @__PURE__ */ o.createElement(G.Provider, {
197
- value: e
198
- }, t);
199
- }
200
- var _ = /* @__PURE__ */ function(e) {
201
- return e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e;
202
- }(_ || {}), S = /* @__PURE__ */ function(e) {
203
- return e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e.UseRouteId = "useRouteId", e;
204
- }(S || {});
205
- function V(e) {
206
- return e + " must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router.";
207
- }
208
- function Q(e) {
209
- let t = o.useContext(E);
210
- return t || (process.env.NODE_ENV !== "production" ? s(!1, V(e)) : s(!1)), t;
211
- }
212
- function X(e) {
213
- let t = o.useContext(p);
214
- return t || (process.env.NODE_ENV !== "production" ? s(!1, V(e)) : s(!1)), t;
215
- }
216
- function Z(e) {
217
- let t = X(e), n = t.matches[t.matches.length - 1];
218
- return n.route.id || (process.env.NODE_ENV !== "production" ? s(!1, e + ' can only be used on routes that contain a unique "id"') : s(!1)), n.route.id;
219
- }
220
- function k() {
221
- let {
222
- router: e
223
- } = Q(_.UseNavigateStable), t = Z(S.UseNavigateStable), n = o.useRef(!1);
224
- return U(() => {
225
- n.current = !0;
226
- }), o.useCallback(function(r, i) {
227
- i === void 0 && (i = {}), process.env.NODE_ENV !== "production" && b(n.current, D), n.current && (typeof r == "number" ? e.navigate(r) : e.navigate(r, N({
228
- fromRouteId: t
229
- }, i)));
230
- }, [e, t]);
231
- }
232
- function ee(e) {
233
- return K(e.context);
234
- }
235
- new Promise(() => {
236
- });
237
- export {
238
- ee as O,
239
- H as u
240
- };
@@ -1,30 +0,0 @@
1
- import o from "./views/carousel/carousel.js";
2
- import r from "./views/dialog/dialog.js";
3
- import m from "./views/header/header.js";
4
- import t from "./views/infiniteScroll/infiniteScroll.js";
5
- import i from "./views/navBar/navBar.js";
6
- import e from "./views/navBar/components/navImage/navImage.js";
7
- import a from "./views/navBar/components/navTitle/navTitle.js";
8
- import f from "./views/onBoarding/onBoarding.js";
9
- import p from "./views/panAndZoom/panAndZoom.js";
10
- import n from "./views/sidebar/sidebar.js";
11
- import l from "./views/sidebar/sidebarContainer.js";
12
- import d from "./views/sidebar/sidebarToggleButton.js";
13
- const j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14
- __proto__: null,
15
- Carousel: o,
16
- Dialog: r,
17
- Header: m,
18
- InfiniteScroll: t,
19
- NavBar: i,
20
- NavImage: e,
21
- NavTitle: a,
22
- OnBoarding: f,
23
- PanAndZoom: p,
24
- Sidebar: n,
25
- SidebarContainer: l,
26
- SidebarToggleButton: d
27
- }, Symbol.toStringTag, { value: "Module" }));
28
- export {
29
- j as V
30
- };
@@ -1,52 +0,0 @@
1
- import o from "./components/box/box.js";
2
- import r from "./components/button/button.js";
3
- import t from "./components/buttonCombo/buttonCombo.js";
4
- import m from "./components/buttonLink/buttonLink.js";
5
- import i from "./components/buttonWithIcon/buttonWithIcon.js";
6
- import p from "./components/card/card.js";
7
- import e from "./components/container/container.js";
8
- import f from "./components/contextMenu/contextMenu.js";
9
- import n from "./components/flex/flex.js";
10
- import u from "./components/heading/heading.js";
11
- import a from "./components/icon/icon.js";
12
- import x from "./components/iconButton/iconButton.js";
13
- import B from "./components/image/image.js";
14
- import c from "./components/link/link.js";
15
- import g from "./components/progressBar/progressBar.js";
16
- import l from "./components/redirect/redirect.js";
17
- import C from "./components/separator/separator.js";
18
- import b from "./components/spinner/spinner.js";
19
- import d from "./components/subtext/subtext.js";
20
- import s from "./components/tag/tag.js";
21
- import I from "./components/text/text.js";
22
- import S from "./components/textButton/textButton.js";
23
- import T from "./components/textInput/textInput.js";
24
- const N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
- __proto__: null,
26
- Box: o,
27
- Button: r,
28
- ButtonCombo: t,
29
- ButtonLink: m,
30
- ButtonWithIcon: i,
31
- Card: p,
32
- Container: e,
33
- ContextMenu: f,
34
- Flex: n,
35
- Heading: u,
36
- Icon: a,
37
- IconButton: x,
38
- Image: B,
39
- Link: c,
40
- ProgressBar: g,
41
- Redirect: l,
42
- Separator: C,
43
- Spinner: b,
44
- Subtext: d,
45
- Tag: s,
46
- Text: I,
47
- TextButton: S,
48
- TextInput: T
49
- }, Symbol.toStringTag, { value: "Module" }));
50
- export {
51
- N as C
52
- };
package/dist/uikit.d.ts DELETED
@@ -1,17 +0,0 @@
1
- export * as Components from './components/index.ts';
2
- export * as UKC from './components/index.ts';
3
- export * as Views from './views/index.ts';
4
- export * as UKV from './views/index.ts';
5
- export * as Core from './core/index.ts';
6
- export * as UtilityComponent from './utilityComponent/index.ts';
7
- import * as Components from "./components/index.ts";
8
- import * as Views from "./views/index.ts";
9
- import * as Core from "./core/index.ts";
10
- import * as Utilities from "./utilityComponent/index.ts";
11
- declare const UK: {
12
- Components: typeof Components;
13
- Views: typeof Views;
14
- Core: typeof Core;
15
- Utilities: typeof Utilities;
16
- };
17
- export default UK;
package/dist/uikit.js DELETED
@@ -1,19 +0,0 @@
1
- import { C as o } from "./index-avjaKJHH.js";
2
- import { V as s } from "./index-DiqAMPiW.js";
3
- import { C as t } from "./index-C3VgT5vL.js";
4
- import { U as e } from "./index-BgUabcaX.js";
5
- const C = {
6
- Components: o,
7
- Views: s,
8
- Core: t,
9
- Utilities: e
10
- };
11
- export {
12
- o as Components,
13
- t as Core,
14
- o as UKC,
15
- s as UKV,
16
- e as UtilityComponent,
17
- s as Views,
18
- C as default
19
- };
@@ -1,2 +0,0 @@
1
- export { default as HasBeenShown } from './hasBeenShown/hasBeenShown.tsx';
2
- export { default as OnInView } from './onInView/onInView.tsx';
@@ -1,6 +0,0 @@
1
- import { default as o } from "./hasBeenShown/hasBeenShown.js";
2
- import { default as n } from "./onInView/onInView.js";
3
- export {
4
- o as HasBeenShown,
5
- n as OnInView
6
- };
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const Dialog: React.FC<{
3
- children: React.ReactNode | React.ReactNode[];
4
- className?: string;
5
- }>;
6
- export default Dialog;
@@ -1,18 +0,0 @@
1
- import { jsx as n } from "react/jsx-runtime";
2
- import e from "../../components/card/card.js";
3
- import '../../assets/dialog.css';const s = "_background_t6st2_26", d = "_backgroundFadeIn_t6st2_1", r = "_view_t6st2_39", c = "_fadeIn_t6st2_1", a = {
4
- background: s,
5
- backgroundFadeIn: d,
6
- view: r,
7
- fadeIn: c
8
- }, u = ({ children: t, className: o }) => /* @__PURE__ */ n("div", { className: a.background, children: /* @__PURE__ */ n(
9
- e,
10
- {
11
- containerClassName: a.view,
12
- className: o,
13
- children: t
14
- }
15
- ) });
16
- export {
17
- u as default
18
- };
@@ -1,21 +0,0 @@
1
- import { jsx as e, Fragment as a } from "react/jsx-runtime";
2
- import i from "../../components/heading/heading.js";
3
- import '../../assets/header.css';const n = "_view_1q1ur_10", s = {
4
- view: n
5
- }, o = ({ backgroundImage: r, heading: t }) => /* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(
6
- "div",
7
- {
8
- className: s.view,
9
- style: r ? { backgroundImage: r } : { backgroundImage: "linear-gradient(-45deg, #ff8093aa, #ffd264aa)" },
10
- children: /* @__PURE__ */ e(
11
- i,
12
- {
13
- level: 1,
14
- text: t
15
- }
16
- )
17
- }
18
- ) });
19
- export {
20
- o as default
21
- };
@@ -1,12 +0,0 @@
1
- export { default as Carousel } from './carousel/carousel.tsx';
2
- export { default as Dialog } from './dialog/dialog.tsx';
3
- export { default as Header } from './header/header.tsx';
4
- export { default as InfiniteScroll } from './infiniteScroll/infiniteScroll.tsx';
5
- export { default as NavBar } from './navBar/navBar.tsx';
6
- export { default as NavImage } from './navBar/components/navImage/navImage.tsx';
7
- export { default as NavTitle } from './navBar/components/navTitle/navTitle.tsx';
8
- export { default as OnBoarding } from './onBoarding/onBoarding.tsx';
9
- export { default as PanAndZoom } from './panAndZoom/panAndZoom.tsx';
10
- export { default as Sidebar } from './sidebar/sidebar.tsx';
11
- export { default as SidebarContainer } from './sidebar/sidebarContainer.tsx';
12
- export { default as SidebarToggleButton } from './sidebar/sidebarToggleButton.tsx';
@@ -1,26 +0,0 @@
1
- import { default as o } from "./carousel/carousel.js";
2
- import { default as t } from "./dialog/dialog.js";
3
- import { default as d } from "./header/header.js";
4
- import { default as m } from "./infiniteScroll/infiniteScroll.js";
5
- import { default as s } from "./navBar/navBar.js";
6
- import { default as x } from "./navBar/components/navImage/navImage.js";
7
- import { default as n } from "./navBar/components/navTitle/navTitle.js";
8
- import { default as S } from "./onBoarding/onBoarding.js";
9
- import { default as v } from "./panAndZoom/panAndZoom.js";
10
- import { default as N } from "./sidebar/sidebar.js";
11
- import { default as I } from "./sidebar/sidebarContainer.js";
12
- import { default as c } from "./sidebar/sidebarToggleButton.js";
13
- export {
14
- o as Carousel,
15
- t as Dialog,
16
- d as Header,
17
- m as InfiniteScroll,
18
- s as NavBar,
19
- x as NavImage,
20
- n as NavTitle,
21
- S as OnBoarding,
22
- v as PanAndZoom,
23
- N as Sidebar,
24
- I as SidebarContainer,
25
- c as SidebarToggleButton
26
- };
@@ -1,5 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const NavImage: React.FC<{
3
- src: string;
4
- }>;
5
- export default NavImage;
@@ -1,15 +0,0 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import t from "../../../../components/image/image.js";
3
- import '../../../../assets/navImage.css';const n = "_component_q2khg_6", m = {
4
- component: n
5
- }, a = ({ src: o }) => /* @__PURE__ */ e(
6
- t,
7
- {
8
- accessibleLabel: "",
9
- src: o,
10
- className: m.component
11
- }
12
- );
13
- export {
14
- a as default
15
- };
@@ -1,5 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const NavTitle: React.FC<{
3
- title: string;
4
- }>;
5
- export default NavTitle;
@@ -1,125 +0,0 @@
1
- import { jsx as t, jsxs as d, Fragment as m } from "react/jsx-runtime";
2
- import * as l from "react";
3
- import g from "../../components/card/card.js";
4
- import { UKIcon as _ } from "../../core/iconDictionary.js";
5
- import f from "../../components/iconButton/iconButton.js";
6
- import h from "../../components/image/image.js";
7
- import p from "../../components/heading/heading.js";
8
- import u from "../../components/text/text.js";
9
- import b from "../../components/buttonWithIcon/buttonWithIcon.js";
10
- import k from "../../components/button/button.js";
11
- import { O as I } from "../../index-D4kASGu5.js";
12
- import B from "../../components/flex/flex.js";
13
- import { c as i } from "../../clippy-B98VypDQ.js";
14
- import '../../assets/onBoarding.css';const C = "_page_107gf_6", x = "_fadeIn_107gf_1", N = "_card_107gf_40", y = "_cardContainer_107gf_51", v = "_goBackButton_107gf_55", w = "_headerImage_107gf_61", T = "_header_107gf_61", L = "_body_107gf_70", a = {
15
- page: C,
16
- fadeIn: x,
17
- card: N,
18
- cardContainer: y,
19
- goBackButton: v,
20
- headerImage: w,
21
- header: T,
22
- body: L
23
- }, R = ({ pages: c, meta: s }) => {
24
- const [o, r] = l.useState(0), n = c[o];
25
- return localStorage.getItem(`yourdash-application-visited-${s.id}`) || o > c.length - 1 ? (localStorage.setItem(`yourdash-application-visited-${s.id}`, "true"), /* @__PURE__ */ t(I, {})) : /* @__PURE__ */ t("div", { className: a.page, children: /* @__PURE__ */ d(
26
- g,
27
- {
28
- className: a.card,
29
- containerClassName: a.cardContainer,
30
- children: [
31
- n.allowGoBack && /* @__PURE__ */ t(
32
- f,
33
- {
34
- className: i(a.goBackButton, "animate__animated animate__fadeInDown"),
35
- accessibleLabel: "Go back to the last page",
36
- icon: _.ChevronLeft,
37
- onClick: () => {
38
- r(o - 1);
39
- }
40
- }
41
- ),
42
- /* @__PURE__ */ t(
43
- h,
44
- {
45
- className: a.headerImage,
46
- src: n.headerImage,
47
- accessibleLabel: ""
48
- }
49
- ),
50
- /* @__PURE__ */ t(
51
- p,
52
- {
53
- className: a.header,
54
- text: n.header
55
- }
56
- ),
57
- /* @__PURE__ */ t(
58
- u,
59
- {
60
- className: a.body,
61
- text: n.body
62
- }
63
- ),
64
- /* @__PURE__ */ t(
65
- B,
66
- {
67
- className: a.actions,
68
- direction: "row",
69
- children: n.actions.map((e) => e.icon ? /* @__PURE__ */ t(m, { children: /* @__PURE__ */ t(
70
- b,
71
- {
72
- className: i(a.action, a.actionWithIcon, "animate__animated animate__fadeInUp"),
73
- text: e.label,
74
- icon: e.icon,
75
- onClick: () => {
76
- if (e.onClick(), e.changeTo)
77
- switch (e.changeTo) {
78
- case "next":
79
- r(o + 1);
80
- break;
81
- case "previous":
82
- o > 0 && r(o - 1);
83
- break;
84
- case "remain":
85
- break;
86
- case "completed":
87
- r(c.length + 1);
88
- break;
89
- }
90
- }
91
- },
92
- e.label
93
- ) }) : /* @__PURE__ */ t(m, { children: /* @__PURE__ */ t(
94
- k,
95
- {
96
- className: i(a.action, a.actionWithoutIcon, "animate__animated animate__fadeInUp"),
97
- text: e.label,
98
- onClick: () => {
99
- if (e.onClick(), e.changeTo)
100
- switch (e.changeTo) {
101
- case "next":
102
- r(o + 1);
103
- break;
104
- case "previous":
105
- o > 0 && r(o - 1);
106
- break;
107
- case "remain":
108
- break;
109
- case "completed":
110
- r(c.length + 1);
111
- break;
112
- }
113
- }
114
- },
115
- e.icon
116
- ) }))
117
- }
118
- )
119
- ]
120
- }
121
- ) });
122
- };
123
- export {
124
- R as default
125
- };
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- declare const SidebarToggleButton: FC;
3
- export default SidebarToggleButton;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes