@yourdash/uikit 1.0.40 → 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.
- package/dist/UKButtonLink.css +4 -0
- package/dist/components/box/{box.d.ts → UKBox.d.ts} +2 -2
- package/dist/components/box/{box.js → UKBox.js} +2 -2
- package/dist/components/button/{button.d.ts → UKButton.d.ts} +2 -2
- package/dist/components/button/{button.js → UKButton.js} +1 -1
- package/dist/components/buttonCombo/{buttonCombo.d.ts → UKButtonCombo.d.ts} +2 -2
- package/dist/components/buttonCombo/{buttonCombo.js → UKButtonCombo.js} +1 -1
- package/dist/components/buttonLink/{buttonLink.d.ts → UKButtonLink.d.ts} +2 -2
- package/dist/components/buttonLink/UKButtonLink.js +21 -0
- package/dist/components/buttonWithIcon/{buttonWithIcon.d.ts → UKButtonWithIcon.d.ts} +3 -3
- package/dist/components/buttonWithIcon/{buttonWithIcon.js → UKButtonWithIcon.js} +2 -2
- package/dist/components/card/{card.d.ts → UKCard.d.ts} +3 -3
- package/dist/components/card/{card.js → UKCard.js} +3 -3
- package/dist/components/container/{container.d.ts → UKContainer.d.ts} +2 -2
- package/dist/components/container/{container.js → UKContainer.js} +2 -2
- package/dist/components/contextMenu/{contextMenu.d.ts → UKContextMenu.d.ts} +3 -3
- package/dist/components/contextMenu/{contextMenu.js → UKContextMenu.js} +4 -4
- package/dist/components/contextMenu/contextMenuRoot.js +8 -8
- package/dist/components/flex/{flex.d.ts → UKFlex.d.ts} +2 -2
- package/dist/components/flex/{flex.js → UKFlex.js} +1 -1
- package/dist/components/heading/{heading.d.ts → UKHeading.d.ts} +2 -2
- package/dist/components/heading/UKHeading.js +32 -0
- package/dist/components/icon/{icon.d.ts → UKIcon.d.ts} +3 -3
- package/dist/components/icon/{icon.js → UKIcon.js} +1 -1
- package/dist/components/iconButton/UKIconButton.d.ts +10 -0
- package/dist/components/iconButton/{iconButton.js → UKIconButton.js} +2 -2
- package/dist/components/image/{image.d.ts → UKImage.d.ts} +2 -2
- package/dist/components/image/{image.js → UKImage.js} +12 -12
- package/dist/components/link/{link.d.ts → UKLink.d.ts} +2 -2
- package/dist/components/link/{link.js → UKLink.js} +3 -3
- package/dist/components/progressBar/{progressBar.d.ts → UKProgressBar.d.ts} +2 -2
- package/dist/components/redirect/UKRedirect.d.ts +5 -0
- package/dist/components/redirect/UKRedirect.js +11 -0
- package/dist/components/separator/{separator.d.ts → UKSeparator.d.ts} +2 -2
- package/dist/components/separator/{separator.js → UKSeparator.js} +1 -1
- package/dist/components/spinner/UKSpinner.d.ts +5 -0
- package/dist/components/spinner/{spinner.js → UKSpinner.js} +1 -1
- package/dist/components/subtext/{subtext.d.ts → UKSubtext.d.ts} +2 -2
- package/dist/components/subtext/{subtext.js → UKSubtext.js} +1 -1
- package/dist/components/tag/{tag.d.ts → UKTag.d.ts} +2 -2
- package/dist/components/tag/{tag.js → UKTag.js} +1 -1
- package/dist/components/text/{text.d.ts → UKText.d.ts} +2 -2
- package/dist/components/text/{text.js → UKText.js} +1 -1
- package/dist/components/textButton/{textButton.d.ts → UKTextButton.d.ts} +2 -2
- package/dist/components/textButton/{textButton.js → UKTextButton.js} +1 -1
- package/dist/components/textInput/{textInput.d.ts → UKTextInput.d.ts} +3 -2
- package/dist/components/textInput/{textInput.js → UKTextInput.js} +7 -6
- package/dist/core/decrementLevel.js +1 -1
- package/dist/core/iconDictionary.d.ts +2 -2
- package/dist/core/iconDictionary.js +1 -1
- package/dist/core/incrementLevel.js +1 -1
- package/dist/core/level.js +1 -1
- package/dist/core/root.js +1 -1
- package/dist/core/toasts/toasts.js +17 -17
- package/dist/defaultTheme.module.scss +12 -12
- package/dist/{level-o2-EzyQS.js → level-zWuM8x6U.js} +7 -7
- package/dist/{assets/level.css → level.css} +1 -1
- package/dist/views/carousel/{carousel.d.ts → UKCarousel.d.ts} +2 -2
- package/dist/views/carousel/{carousel.js → UKCarousel.js} +8 -8
- package/dist/views/dialog/UKDialog.d.ts +10 -0
- package/dist/views/dialog/UKDialog.js +22 -0
- package/dist/views/header/{header.d.ts → UKPageHeader.d.ts} +2 -2
- package/dist/views/header/UKPageHeader.js +21 -0
- package/dist/views/infiniteScroll/{infiniteScroll.d.ts → UKInfiniteScroll.d.ts} +2 -2
- package/dist/views/infiniteScroll/{infiniteScroll.js → UKInfiniteScroll.js} +7 -7
- package/dist/views/navBar/{navBar.d.ts → UKNavBar.d.ts} +2 -2
- package/dist/views/navBar/{navBar.js → UKNavBar.js} +3 -3
- package/dist/views/navBar/components/navImage/UKNavbarNavImage.d.ts +5 -0
- package/dist/views/navBar/components/navImage/UKNavbarNavImage.js +15 -0
- package/dist/views/navBar/components/navTitle/UKNavbarNavTitle.d.ts +5 -0
- package/dist/views/navBar/components/navTitle/{navTitle.js → UKNavbarNavTitle.js} +1 -1
- package/dist/views/onBoarding/{onBoarding.d.ts → UKOnBoarding.d.ts} +3 -3
- package/dist/views/onBoarding/UKOnBoarding.js +130 -0
- package/dist/views/panAndZoom/{panAndZoom.d.ts → UKPanAndZoom.d.ts} +2 -2
- package/dist/views/sidebar/{sidebar.d.ts → UKSidebar.d.ts} +2 -2
- package/dist/views/sidebar/{sidebar.js → UKSidebar.js} +6 -6
- package/dist/views/sidebar/{sidebarContainer.d.ts → UKSidebarContainer.d.ts} +2 -2
- package/dist/views/sidebar/{sidebarContainer.js → UKSidebarContainer.js} +2 -2
- package/dist/views/sidebar/{sidebarContext.d.ts → UKSidebarContext.d.ts} +2 -2
- package/dist/views/sidebar/UKSidebarToggleButton.d.ts +3 -0
- package/dist/views/sidebar/{sidebarToggleButton.js → UKSidebarToggleButton.js} +4 -4
- package/package.json +43 -40
- package/dist/assets/buttonLink.css +0 -4
- package/dist/components/buttonLink/buttonLink.js +0 -21
- package/dist/components/heading/heading.js +0 -29
- package/dist/components/iconButton/iconButton.d.ts +0 -10
- package/dist/components/index.d.ts +0 -23
- package/dist/components/index.js +0 -48
- package/dist/components/redirect/redirect.d.ts +0 -5
- package/dist/components/redirect/redirect.js +0 -11
- package/dist/components/spinner/spinner.d.ts +0 -5
- package/dist/core/index.d.ts +0 -5
- package/dist/core/index.js +0 -12
- package/dist/index-BJy4nmTN.js +0 -52
- package/dist/index-BoiKlAEs.js +0 -30
- package/dist/index-C9QO6nHU.js +0 -10
- package/dist/index-D4kASGu5.js +0 -240
- package/dist/index-DgBqz1HD.js +0 -16
- package/dist/uikit.d.ts +0 -4
- package/dist/uikit.js +0 -10
- package/dist/utilityComponent/index.d.ts +0 -2
- package/dist/utilityComponent/index.js +0 -6
- package/dist/views/dialog/dialog.d.ts +0 -6
- package/dist/views/dialog/dialog.js +0 -18
- package/dist/views/header/header.js +0 -21
- package/dist/views/index.d.ts +0 -12
- package/dist/views/index.js +0 -26
- package/dist/views/navBar/components/navImage/navImage.d.ts +0 -5
- package/dist/views/navBar/components/navImage/navImage.js +0 -15
- package/dist/views/navBar/components/navTitle/navTitle.d.ts +0 -5
- package/dist/views/onBoarding/onBoarding.js +0 -125
- package/dist/views/sidebar/sidebarToggleButton.d.ts +0 -3
- /package/dist/{assets/box.css → UKBox.css} +0 -0
- /package/dist/{assets/button.css → UKButton.css} +0 -0
- /package/dist/{assets/buttonCombo.css → UKButtonCombo.css} +0 -0
- /package/dist/{assets/buttonWithIcon.css → UKButtonWithIcon.css} +0 -0
- /package/dist/{assets/card.css → UKCard.css} +0 -0
- /package/dist/{assets/carousel.css → UKCarousel.css} +0 -0
- /package/dist/{assets/container.css → UKContainer.css} +0 -0
- /package/dist/{assets/dialog.css → UKDialog.css} +0 -0
- /package/dist/{assets/flex.css → UKFlex.css} +0 -0
- /package/dist/{assets/heading.css → UKHeading.css} +0 -0
- /package/dist/{assets/icon.css → UKIcon.css} +0 -0
- /package/dist/{assets/iconButton.css → UKIconButton.css} +0 -0
- /package/dist/{assets/image.css → UKImage.css} +0 -0
- /package/dist/{assets/infiniteScroll.css → UKInfiniteScroll.css} +0 -0
- /package/dist/{assets/link.css → UKLink.css} +0 -0
- /package/dist/{assets/navBar.css → UKNavBar.css} +0 -0
- /package/dist/{assets/navImage.css → UKNavbarNavImage.css} +0 -0
- /package/dist/{assets/onBoarding.css → UKOnBoarding.css} +0 -0
- /package/dist/{assets/header.css → UKPageHeader.css} +0 -0
- /package/dist/{assets/separator.css → UKSeparator.css} +0 -0
- /package/dist/{assets/sidebar.css → UKSidebar.css} +0 -0
- /package/dist/{assets/sidebarContainer.css → UKSidebarContainer.css} +0 -0
- /package/dist/{assets/spinner.css → UKSpinner.css} +0 -0
- /package/dist/{assets/subtext.css → UKSubtext.css} +0 -0
- /package/dist/{assets/tag.css → UKTag.css} +0 -0
- /package/dist/{assets/textButton.css → UKTextButton.css} +0 -0
- /package/dist/{assets/textInput.css → UKTextInput.css} +0 -0
- /package/dist/components/progressBar/{progressBar.js → UKProgressBar.js} +0 -0
- /package/dist/{assets/contextMenuRoot.css → contextMenuRoot.css} +0 -0
- /package/dist/{assets/toasts.css → toasts.css} +0 -0
- /package/dist/views/panAndZoom/{panAndZoom.js → UKPanAndZoom.js} +0 -0
- /package/dist/views/sidebar/{sidebarContext.js → UKSidebarContext.js} +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
import { UKIconType } from '../../core/iconDictionary.ts';
|
2
2
|
import { default as React } from 'react';
|
3
|
-
declare const
|
3
|
+
declare const UKTextInput: React.FC<{
|
4
4
|
getValue?: React.Dispatch<React.SetStateAction<string>>;
|
5
5
|
getLiveValue?: React.Dispatch<React.SetStateAction<string>>;
|
6
6
|
onSubmit?: (value: string) => void;
|
@@ -11,5 +11,6 @@ declare const TextInput: React.FC<{
|
|
11
11
|
accessibleName: string;
|
12
12
|
className?: string;
|
13
13
|
type?: string;
|
14
|
+
autoComplete?: string;
|
14
15
|
}>;
|
15
|
-
export default
|
16
|
+
export default UKTextInput;
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { jsxs as a, jsx as c } from "react/jsx-runtime";
|
2
2
|
import { c as u } from "../../clippy-B98VypDQ.js";
|
3
|
-
import o from "../icon/
|
3
|
+
import o from "../icon/UKIcon.js";
|
4
4
|
import { useRef as r, useEffect as i } from "react";
|
5
|
-
import '../../
|
6
|
-
component:
|
7
|
-
icon:
|
5
|
+
import '../../UKTextInput.css';const m = "_component_1siil_10", f = "_icon_1siil_28", s = "_input_1siil_36", _ = "_noIcon_1siil_44", t = {
|
6
|
+
component: m,
|
7
|
+
icon: f,
|
8
8
|
input: s,
|
9
9
|
noIcon: _
|
10
|
-
},
|
10
|
+
}, V = (e) => {
|
11
11
|
const n = r(null);
|
12
12
|
return i(() => {
|
13
13
|
n.current && e.value && (n.current.value = e.value);
|
@@ -28,6 +28,7 @@ import '../../assets/textInput.css';const f = "_component_1siil_10", m = "_icon_
|
|
28
28
|
/* @__PURE__ */ c(
|
29
29
|
"input",
|
30
30
|
{
|
31
|
+
autoComplete: e.autoComplete,
|
31
32
|
ref: n,
|
32
33
|
type: e.type || "text",
|
33
34
|
"aria-label": e.accessibleName,
|
@@ -37,7 +38,7 @@ import '../../assets/textInput.css';const f = "_component_1siil_10", m = "_icon_
|
|
37
38
|
}
|
38
39
|
)
|
39
40
|
] });
|
40
|
-
}
|
41
|
+
};
|
41
42
|
export {
|
42
43
|
V as default
|
43
44
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
2
|
-
import { L as t, u as o } from "../level-
|
2
|
+
import { L as t, u as o } from "../level-zWuM8x6U.js";
|
3
3
|
const s = (e) => /* @__PURE__ */ r(t.Provider, { value: o() - 1, children: e.children });
|
4
4
|
export {
|
5
5
|
s as default
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export type UKIconType = (typeof
|
2
|
-
export declare const
|
1
|
+
export type UKIconType = (typeof UKIcons)[keyof typeof UKIcons] | string;
|
2
|
+
export declare const UKIcons: {
|
3
3
|
Accessibility: () => Promise<typeof import("*.svg")>;
|
4
4
|
AccessibilityInset: () => Promise<typeof import("*.svg")>;
|
5
5
|
Alert: () => Promise<typeof import("*.svg")>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
2
|
-
import { L as t, u as o } from "../level-
|
2
|
+
import { L as t, u as o } from "../level-zWuM8x6U.js";
|
3
3
|
const s = (e) => /* @__PURE__ */ r(t.Provider, { value: o() + 1, children: e.children });
|
4
4
|
export {
|
5
5
|
s as default
|
package/dist/core/level.js
CHANGED
package/dist/core/root.js
CHANGED
@@ -2,7 +2,7 @@ import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { c as t } from "../clippy-B98VypDQ.js";
|
3
3
|
import a from "../components/contextMenu/contextMenuRoot.js";
|
4
4
|
import n from "./toasts/toasts.js";
|
5
|
-
import { s as o, L as s } from "../level-
|
5
|
+
import { s as o, L as s } from "../level-zWuM8x6U.js";
|
6
6
|
function l() {
|
7
7
|
const e = window.navigator;
|
8
8
|
if (new URLSearchParams(window.location.search).has("ukmobile")) return !0;
|
@@ -1,30 +1,30 @@
|
|
1
1
|
import { jsxs as m, jsx as s } from "react/jsx-runtime";
|
2
|
-
import u from "../../components/heading/
|
3
|
-
import p from "../../components/separator/
|
2
|
+
import u from "../../components/heading/UKHeading.js";
|
3
|
+
import p from "../../components/separator/UKSeparator.js";
|
4
4
|
import { c as x } from "../../clippy-B98VypDQ.js";
|
5
5
|
import { useState as d } from "react";
|
6
|
-
import l from "../../components/card/
|
7
|
-
import {
|
8
|
-
import g from "../../components/iconButton/
|
9
|
-
import h from "../../components/text/
|
6
|
+
import l from "../../components/card/UKCard.js";
|
7
|
+
import { UKIcons as f } from "../iconDictionary.js";
|
8
|
+
import g from "../../components/iconButton/UKIconButton.js";
|
9
|
+
import h from "../../components/text/UKText.js";
|
10
10
|
import v from "./toastContext.js";
|
11
|
-
import '../../
|
11
|
+
import '../../toasts.css';function T() {
|
12
12
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(c) {
|
13
13
|
const a = Math.random() * 16 | 0;
|
14
14
|
return (c == "x" ? a : a & 3 | 8).toString(16);
|
15
15
|
});
|
16
16
|
}
|
17
|
-
const C = "_container_17n1r_6", y = "_component_17n1r_20",
|
17
|
+
const C = "_container_17n1r_6", y = "_component_17n1r_20", U = "_cardContent_17n1r_34", I = "_success_17n1r_42", K = "_error_17n1r_46", w = "_warning_17n1r_50", E = "_info_17n1r_54", N = "_heading_17n1r_58", O = "_pointerEvents_17n1r_64", e = {
|
18
18
|
container: C,
|
19
19
|
component: y,
|
20
|
-
cardContent:
|
21
|
-
success:
|
22
|
-
error:
|
23
|
-
warning:
|
24
|
-
info:
|
25
|
-
heading:
|
26
|
-
pointerEvents:
|
27
|
-
}, _ = 5e3,
|
20
|
+
cardContent: U,
|
21
|
+
success: I,
|
22
|
+
error: K,
|
23
|
+
warning: w,
|
24
|
+
info: E,
|
25
|
+
heading: N,
|
26
|
+
pointerEvents: O
|
27
|
+
}, _ = 5e3, H = ({ children: c }) => {
|
28
28
|
const [a, o] = d([]);
|
29
29
|
return /* @__PURE__ */ m(
|
30
30
|
v.Provider,
|
@@ -89,5 +89,5 @@ const C = "_container_17n1r_6", y = "_component_17n1r_20", I = "_cardContent_17n
|
|
89
89
|
);
|
90
90
|
};
|
91
91
|
export {
|
92
|
-
|
92
|
+
H as default
|
93
93
|
};
|
@@ -73,7 +73,7 @@
|
|
73
73
|
// button
|
74
74
|
#{$theme}#{$button}#{$color}: #ffffff;
|
75
75
|
#{$theme}#{$button}#{$background}: #444444;
|
76
|
-
#{$theme}#{$button}#{$border}:
|
76
|
+
#{$theme}#{$button}#{$border}: 0px solid #666666;
|
77
77
|
#{$theme}#{$button}#{$font}#{$size}: 0.9rem;
|
78
78
|
#{$theme}#{$button}#{$font}#{$weight}: 400;
|
79
79
|
#{$theme}#{$button}#{$radius}: 0.5rem;
|
@@ -82,13 +82,13 @@
|
|
82
82
|
// hover
|
83
83
|
#{$theme}#{$button}#{$hover}#{$color}: #ffffff;
|
84
84
|
#{$theme}#{$button}#{$hover}#{$background}: #555555;
|
85
|
-
#{$theme}#{$button}#{$hover}#{$border}:
|
85
|
+
#{$theme}#{$button}#{$hover}#{$border}: 0px solid #666666;
|
86
86
|
#{$theme}#{$button}#{$hover}#{$radius}: 0.5rem;
|
87
87
|
#{$theme}#{$button}#{$hover}#{$transition}: all 50ms ease-in-out;
|
88
88
|
// active
|
89
89
|
#{$theme}#{$button}#{$active}#{$color}: #000000;
|
90
90
|
#{$theme}#{$button}#{$active}#{$background}: #666666;
|
91
|
-
#{$theme}#{$button}#{$active}#{$border}:
|
91
|
+
#{$theme}#{$button}#{$active}#{$border}: 0px solid #777777;
|
92
92
|
#{$theme}#{$button}#{$active}#{$radius}: 0.5rem;
|
93
93
|
#{$theme}#{$button}#{$active}#{$transition}: all 50ms ease-in-out;
|
94
94
|
|
@@ -156,7 +156,7 @@
|
|
156
156
|
// button
|
157
157
|
#{$theme}#{$button}#{$color}: #ffffff;
|
158
158
|
#{$theme}#{$button}#{$background}: #444444;
|
159
|
-
#{$theme}#{$button}#{$border}:
|
159
|
+
#{$theme}#{$button}#{$border}: 0px solid #444444;
|
160
160
|
#{$theme}#{$button}#{$font}#{$size}: 0.9rem;
|
161
161
|
#{$theme}#{$button}#{$font}#{$weight}: 400;
|
162
162
|
#{$theme}#{$button}#{$radius}: 0.5rem;
|
@@ -165,13 +165,13 @@
|
|
165
165
|
// hover
|
166
166
|
#{$theme}#{$button}#{$hover}#{$color}: #ffffff;
|
167
167
|
#{$theme}#{$button}#{$hover}#{$background}: #555555;
|
168
|
-
#{$theme}#{$button}#{$hover}#{$border}:
|
168
|
+
#{$theme}#{$button}#{$hover}#{$border}: 0px solid #666666;
|
169
169
|
#{$theme}#{$button}#{$hover}#{$radius}: 0.5rem;
|
170
170
|
#{$theme}#{$button}#{$hover}#{$transition}: all 50ms ease-in-out;
|
171
171
|
// active
|
172
172
|
#{$theme}#{$button}#{$active}#{$color}: #000000;
|
173
173
|
#{$theme}#{$button}#{$active}#{$background}: #666666;
|
174
|
-
#{$theme}#{$button}#{$active}#{$border}:
|
174
|
+
#{$theme}#{$button}#{$active}#{$border}: 0px solid #666666;
|
175
175
|
#{$theme}#{$button}#{$active}#{$radius}: 0.5rem;
|
176
176
|
|
177
177
|
// header
|
@@ -235,7 +235,7 @@
|
|
235
235
|
// button
|
236
236
|
#{$theme}#{$button}#{$color}: #ffffff;
|
237
237
|
#{$theme}#{$button}#{$background}: #555555;
|
238
|
-
#{$theme}#{$button}#{$border}:
|
238
|
+
#{$theme}#{$button}#{$border}: 0px solid #666666;
|
239
239
|
#{$theme}#{$button}#{$font}#{$family}: Inter;
|
240
240
|
#{$theme}#{$button}#{$font}#{$size}: 0.9rem;
|
241
241
|
#{$theme}#{$button}#{$font}#{$weight}: 400;
|
@@ -245,13 +245,13 @@
|
|
245
245
|
// hover
|
246
246
|
#{$theme}#{$button}#{$hover}#{$color}: #ffffff;
|
247
247
|
#{$theme}#{$button}#{$hover}#{$background}: #666666;
|
248
|
-
#{$theme}#{$button}#{$hover}#{$border}:
|
248
|
+
#{$theme}#{$button}#{$hover}#{$border}: 0px solid #666666;
|
249
249
|
#{$theme}#{$button}#{$hover}#{$radius}: 0.25rem;
|
250
250
|
#{$theme}#{$button}#{$hover}#{$transition}: all 50ms ease-in-out;
|
251
251
|
// active
|
252
252
|
#{$theme}#{$button}#{$active}#{$color}: #000000;
|
253
253
|
#{$theme}#{$button}#{$active}#{$background}bg: #666666;
|
254
|
-
#{$theme}#{$button}#{$active}#{$border}:
|
254
|
+
#{$theme}#{$button}#{$active}#{$border}: 0px solid #666666;
|
255
255
|
#{$theme}#{$button}#{$active}#{$radius}: 0.25rem;
|
256
256
|
|
257
257
|
// header
|
@@ -315,7 +315,7 @@
|
|
315
315
|
// button
|
316
316
|
#{$theme}#{$button}#{$color}: #ffffff;
|
317
317
|
#{$theme}#{$button}#{$background}: #666666;
|
318
|
-
#{$theme}#{$button}#{$border}:
|
318
|
+
#{$theme}#{$button}#{$border}: 0px solid #666666;
|
319
319
|
#{$theme}#{$button}#{$font}#{$family}: Inter;
|
320
320
|
#{$theme}#{$button}#{$font}#{$size}: 0.9rem;
|
321
321
|
#{$theme}#{$button}#{$font}#{$weight}: 400;
|
@@ -324,13 +324,13 @@
|
|
324
324
|
// hover
|
325
325
|
#{$theme}#{$button}#{$hover}#{$color}: #ffffff;
|
326
326
|
#{$theme}#{$button}#{$hover}#{$background}: #777777;
|
327
|
-
#{$theme}#{$button}#{$hover}#{$border}:
|
327
|
+
#{$theme}#{$button}#{$hover}#{$border}: 0px solid #777777;
|
328
328
|
#{$theme}#{$button}#{$hover}#{$radius}: 0.25rem;
|
329
329
|
#{$theme}#{$button}#{$hover}#{$transition}: all 50ms ease-in-out;
|
330
330
|
// active
|
331
331
|
#{$theme}#{$button}#{$active}#{$color}: #000000;
|
332
332
|
#{$theme}#{$button}#{$active}#{$background}: #777777;
|
333
|
-
#{$theme}#{$button}#{$active}#{$border}:
|
333
|
+
#{$theme}#{$button}#{$active}#{$border}: 0px solid #777777;
|
334
334
|
#{$theme}#{$button}#{$active}#{$radius}: 0.25rem;
|
335
335
|
|
336
336
|
// header
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { createContext as t, useContext as s } from "react";
|
2
|
-
import './
|
2
|
+
import './level.css';const r = "_theme_16ra9_10", v = "_level0_16ra9_27", o = "_level1_16ra9_95", a = "_level2_16ra9_157", n = "_level3_16ra9_221", _ = "_mobile_16ra9_284", e = {
|
3
3
|
theme: r,
|
4
4
|
level0: v,
|
5
5
|
level1: o,
|
6
|
-
level2:
|
7
|
-
level3:
|
8
|
-
mobile:
|
9
|
-
},
|
6
|
+
level2: a,
|
7
|
+
level3: n,
|
8
|
+
mobile: _
|
9
|
+
}, c = t(0), m = () => s(c), i = (l) => {
|
10
10
|
switch (l) {
|
11
11
|
case 0:
|
12
12
|
return e.level0;
|
@@ -21,8 +21,8 @@ import './assets/level.css';const r = "_theme_1rrjw_10", v = "_level0_1rrjw_27",
|
|
21
21
|
}
|
22
22
|
};
|
23
23
|
export {
|
24
|
-
|
25
|
-
|
24
|
+
c as L,
|
25
|
+
i as a,
|
26
26
|
e as s,
|
27
27
|
m as u
|
28
28
|
};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
@charset "UTF-8";/*!
|
2
2
|
* Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
|
3
3
|
* YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
|
4
|
-
*/.
|
4
|
+
*/._theme_16ra9_10{overflow-x:hidden;overflow-y:auto;height:100%;background:var(--utbgn);--ut-author: "Ewsgit";--ut-name: "YourDash Classic Dark";--ut-version: "0.0.1"}._theme_16ra9_10 ::-webkit-scrollbar{width:var(--utscrlbrwid);border-radius:0}._theme_16ra9_10 ::-webkit-scrollbar-thumb{border-radius:var(--utscrlbrrad)}._level0_16ra9_27{color:var(--utcol);--utcol: #ffffff;--utscl: #bbbbbb;--utbgn: #222222;--utacn: #768ce7;--utbrd: 1px solid #555555;--utrad: 1rem;--utpdn: 1rem;--utgap: .5rem;--uttrans: all .2s ease-in-out;--uttranstrans: .2s ease-in-out;--utsepsize: 1px;--utsepcol: #444444;--utscrlbrwid: .4rem;--utscrlbrrad: .1rem;--uthedhe1wgt: 900;--uthedhe1size: 3rem;--uthedhe2wgt: 700;--uthedhe2size: 2rem;--uthedhe3wgt: 600;--uthedhe3size: 1.5rem;--uthedhe4wgt: 500;--uthedhe4size: 1.25rem;--uthedhe5wgt: 500;--uthedhe5size: 1rem;--uthedhe6wgt: 500;--uthedhe6size: .875rem;--utinpcol: #ffffff;--utinpbgn: #222222;--utinpbrd: 1px solid #444444;--utinprad: .5rem;--utinphei: 2rem;--utinppdnhoriz: .5rem;--utinptrans: all .2s ease-in-out;--utinpfoccol: #ffffff;--utinpfocbgn: #333333;--utinpfocbrd: 1px solid #666666;--utbtncol: #ffffff;--utbtnbgn: #444444;--utbtnbrd: 0px solid #666666;--utbtnfontsize: .9rem;--utbtnfontwgt: 400;--utbtnrad: .5rem;--utbtnpdnhoriz: .5rem;--utbtntrans: all .2s ease-in-out;--utbtnhvrcol: #ffffff;--utbtnhvrbgn: #555555;--utbtnhvrbrd: 0px solid #666666;--utbtnhvrrad: .5rem;--utbtnhvrtrans: all 50ms ease-in-out;--utbtnatvcol: #000000;--utbtnatvbgn: #666666;--utbtnatvbrd: 0px solid #777777;--utbtnatvrad: .5rem;--utbtnatvtrans: all 50ms ease-in-out;--uttxbfontwgt: 700;--utfontfam: Inter;--utfontsize: .9rem;--utfontwgt: 400;--uthedcol: #ffffff;--uthedfontfam: Inter;--uthedfontsize: 1.2rem;--uthedfontwgt: 700;--uthedpdnvert: 1rem;--uthedpdnhoriz: .5rem}._level1_16ra9_95{color:var(--utcol);--utcol: #ffffff;--utbgn: #333333;--utbrd: 1px solid #666666;--utacn: #768ce7;--utrad: .5rem;--utfontfam: Inter;--utfontrad: .9rem;--utfontwgt: 400;--utpdn: .75rem;--utgap: .5rem;--uttrans: all .2s ease-in-out;--utsepsize: 1px;--utsepcol: #555555;--uthedhe1wgt: 800;--uthedhe1size: 3rem;--uthedhe2wgt: 700;--uthedhe2size: 2.5rem;--uthedhe3wgt: 600;--uthedhe3size: 2rem;--uthedhe4wgt: 500;--uthedhe4size: 1.5rem;--uthedhe5wgt: 500;--uthedhe5size: 1rem;--uthedhe6wgt: 500;--uthedhe6size: .875rem;--utinpcol: #ffffff;--utinpbgn: #222222;--utinpbrd: 1px solid #444444;--utinprad: .5rem;--utinphei: 2rem;--utinppdnhoriz: .5rem;--utinptrans: all .2s ease-in-out;--utinpfoccol: #ffffff;--utinpfocbgn: #333333;--utinpfocbrd: 1px solid #666666;--utbtncol: #ffffff;--utbtnbgn: #444444;--utbtnbrd: 0px solid #444444;--utbtnfontsize: .9rem;--utbtnfontwgt: 400;--utbtnrad: .5rem;--utbtnpdnhoriz: .5rem;--utbtntrans: all .2s ease-in-out;--utbtnhvrcol: #ffffff;--utbtnhvrbgn: #555555;--utbtnhvrbrd: 0px solid #666666;--utbtnhvrrad: .5rem;--utbtnhvrtrans: all 50ms ease-in-out;--utbtnatvcol: #000000;--utbtnatvbgn: #666666;--utbtnatvbrd: 0px solid #666666;--utbtnatvrad: .5rem;--uthedcol: #ffffff;--uthedfontfam: Inter;--uthedfontsize: 1.2rem;--uthedfontwgt: 700;--uthedpdnvert: .5rem;--uthedpdnhoriz: .25rem}._level2_16ra9_157{color:var(--utcol);--utcol: #ffffff;--utbgn: #444444;--utbrd: 1px solid #666666;--utacn: #768ce7;--utrad: .25rem;--utpdn: .5rem;--utgap: .75rem;--uttrans: all .2s ease-in-out;--utsepsize: 1px;--utsepcol: #555555;--uthedhe1wgt: 900;--uthedhe1size: 3rem;--uthedhe2wgt: 700;--uthedhe2size: 2rem;--uthedhe3wgt: 600;--uthedhe3size: 1.5rem;--uthedhe4wgt: 500;--uthedhe4size: 1.25rem;--uthedhe5wgt: 500;--uthedhe5size: 1rem;--uthedhe6wgt: 500;--uthedhe6size: .875rem;--uttxbfontwgt: 700;--utfontfam: Inter;--utfontsize: .9rem;--utfontwgt: 400;--utinpcol: #ffffff;--utinpbgn: #222222;--utinpbrd: 1px solid #444444;--utinprad: .5rem;--utinphei: 2rem;--utinppdnhoriz: .5rem;--utinptrans: all .2s ease-in-out;--utinpfoccol: #ffffff;--utinpfocbgn: #333333;--utinpfocbrd: 1px solid #666666;--utbtncol: #ffffff;--utbtnbgn: #555555;--utbtnbrd: 0px solid #666666;--utbtnfontfam: Inter;--utbtnfontsize: .9rem;--utbtnfontwgt: 400;--utbtnrad: .25rem;--utbtnpdnhoriz: .5rem;--utbtntrans: all .2s ease-in-out;--utbtnhvrcol: #ffffff;--utbtnhvrbgn: #666666;--utbtnhvrbrd: 0px solid #666666;--utbtnhvrrad: .25rem;--utbtnhvrtrans: all 50ms ease-in-out;--utbtnatvcol: #000000;--utbtnatvbgnbg: #666666;--utbtnatvbrd: 0px solid #666666;--utbtnatvrad: .25rem;--uthedcol: #ffffff;--uthedfontfam: Inter;--uthedfontsize: 1.2rem;--uthedfontwgt: 700;--uthedpdnvert: .5rem;--uthedpdnhoriz: .25rem}._level3_16ra9_221{color:var(--utcol);--utcol: #ffffff;--utbgn: #555555;--utbrd: 1px solid #666666;--utacn: #768ce7;--utrad: 1px;--utpdn: .5rem;--utgap: 1rem;--uttrans: all .2s ease-in-out;--utsepsize: 1px;--utsepcol: #555555;--uthedhe1wgt: 900;--uthedhe1size: 3rem;--uthedhe2wgt: 700;--uthedhe2size: 2rem;--uthedhe3wgt: 600;--uthedhe3size: 1.5rem;--uthedhe4wgt: 500;--uthedhe4size: 1.25rem;--uthedhe5wgt: 500;--uthedhe5size: 1rem;--uthedhe6wgt: 500;--uthedhe6size: .875rem;--uttxbfontwgt: 700;--utfam: Inter;--utsize: .9rem;--utwgt: 400;--utinpcol: #ffffff;--utinpbgn: #222222;--utinpbrd: 1px solid #444444;--utinprad: .5rem;--utinphei: 2rem;--utinppdnhoriz: .5rem;--utinptrans: all .2s ease-in-out;--utinpfoccol: #ffffff;--utinpfocbgn: #333333;--utinpfocbrd: 1px solid #666666;--utbtncol: #ffffff;--utbtnbgn: #666666;--utbtnbrd: 0px solid #666666;--utbtnfontfam: Inter;--utbtnfontsize: .9rem;--utbtnfontwgt: 400;--utbtnrad: .25rem;--utbtnpdnhoriz: .5rem;--utbtnhvrcol: #ffffff;--utbtnhvrbgn: #777777;--utbtnhvrbrd: 0px solid #777777;--utbtnhvrrad: .25rem;--utbtnhvrtrans: all 50ms ease-in-out;--utbtnatvcol: #000000;--utbtnatvbgn: #777777;--utbtnatvbrd: 0px solid #777777;--utbtnatvrad: .25rem;--uthedcol: #ffffff;--uthedfontfam: Inter;--uthedfontsize: 1.2rem;--uthedfontwgt: 700;--uthedpdnvert: .5rem;--uthedpdnhoriz: .25rem}._mobile_16ra9_284 ._level0_16ra9_27,._mobile_16ra9_284 ._level1_16ra9_95,._mobile_16ra9_284 ._level2_16ra9_157,._mobile_16ra9_284 ._level3_16ra9_221{--utinphei: 2.5rem}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
|
-
declare const
|
2
|
+
declare const UKCarousel: React.FC<{
|
3
3
|
items: {
|
4
4
|
element: React.ReactElement;
|
5
5
|
id: string;
|
6
6
|
}[];
|
7
7
|
className?: string;
|
8
8
|
}>;
|
9
|
-
export default
|
9
|
+
export default UKCarousel;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
2
2
|
import { useRef as h, useState as _, useEffect as C } from "react";
|
3
|
-
import v from "../../components/card/
|
4
|
-
import b from "../../components/container/
|
5
|
-
import {
|
6
|
-
import u from "../../components/iconButton/
|
3
|
+
import v from "../../components/card/UKCard.js";
|
4
|
+
import b from "../../components/container/UKContainer.js";
|
5
|
+
import { UKIcons as m } from "../../core/iconDictionary.js";
|
6
|
+
import u from "../../components/iconButton/UKIconButton.js";
|
7
7
|
import { c as d } from "../../clippy-B98VypDQ.js";
|
8
|
-
import '../../
|
8
|
+
import '../../UKCarousel.css';const I = "_containerComponent_sue6z_6", E = "_component_sue6z_16", N = "_page_sue6z_34", R = "_controls_sue6z_48", w = "_indicator_sue6z_58", z = "_pageIndicator_sue6z_65", T = "_selected_sue6z_72", o = {
|
9
9
|
containerComponent: I,
|
10
10
|
component: E,
|
11
11
|
page: N,
|
@@ -13,7 +13,7 @@ import '../../assets/carousel.css';const I = "_containerComponent_sue6z_6", E =
|
|
13
13
|
indicator: w,
|
14
14
|
pageIndicator: z,
|
15
15
|
selected: T
|
16
|
-
},
|
16
|
+
}, k = ({ items: i, className: g }) => {
|
17
17
|
const c = h(null), [l, p] = _(0);
|
18
18
|
return C(() => {
|
19
19
|
const e = c.current;
|
@@ -29,7 +29,7 @@ import '../../assets/carousel.css';const I = "_containerComponent_sue6z_6", E =
|
|
29
29
|
return;
|
30
30
|
}
|
31
31
|
});
|
32
|
-
},
|
32
|
+
}, 16);
|
33
33
|
};
|
34
34
|
return e.addEventListener("scroll", n), () => {
|
35
35
|
e.removeEventListener("scroll", n), clearTimeout(t);
|
@@ -98,5 +98,5 @@ import '../../assets/carousel.css';const I = "_containerComponent_sue6z_6", E =
|
|
98
98
|
] });
|
99
99
|
};
|
100
100
|
export {
|
101
|
-
|
101
|
+
k as default
|
102
102
|
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { default as React } from 'react';
|
2
|
+
declare const UKDialog: React.FC<{
|
3
|
+
children: React.ReactNode | React.ReactNode[];
|
4
|
+
className?: string;
|
5
|
+
actionsClassName?: string;
|
6
|
+
headerClassName?: string;
|
7
|
+
actions?: React.ReactNode | React.ReactNode[];
|
8
|
+
header?: React.ReactNode | React.ReactNode[];
|
9
|
+
}>;
|
10
|
+
export default UKDialog;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
2
|
+
import c from "../../components/card/UKCard.js";
|
3
|
+
import '../../UKDialog.css';const _ = "_background_t6st2_26", i = "_backgroundFadeIn_t6st2_1", u = "_view_t6st2_39", g = "_fadeIn_t6st2_1", a = {
|
4
|
+
background: _,
|
5
|
+
backgroundFadeIn: i,
|
6
|
+
view: u,
|
7
|
+
fadeIn: g
|
8
|
+
}, f = ({ children: t, className: o, actionsClassName: e, headerClassName: s, actions: d, header: r }) => /* @__PURE__ */ n("div", { className: a.background, children: /* @__PURE__ */ n(
|
9
|
+
c,
|
10
|
+
{
|
11
|
+
containerClassName: a.view,
|
12
|
+
actionsClassName: e,
|
13
|
+
headerClassName: s,
|
14
|
+
actions: d,
|
15
|
+
header: r,
|
16
|
+
className: o,
|
17
|
+
children: t
|
18
|
+
}
|
19
|
+
) });
|
20
|
+
export {
|
21
|
+
f as default
|
22
|
+
};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { jsx as e, Fragment as t } from "react/jsx-runtime";
|
2
|
+
import i from "../../components/heading/UKHeading.js";
|
3
|
+
import '../../UKPageHeader.css';const n = "_view_1q1ur_10", s = {
|
4
|
+
view: n
|
5
|
+
}, o = ({ backgroundImage: a, heading: r }) => /* @__PURE__ */ e(t, { children: /* @__PURE__ */ e(
|
6
|
+
"div",
|
7
|
+
{
|
8
|
+
className: s.view,
|
9
|
+
style: a ? { backgroundImage: a } : { backgroundImage: "linear-gradient(-45deg, #ff8093aa, #ffd264aa)" },
|
10
|
+
children: /* @__PURE__ */ e(
|
11
|
+
i,
|
12
|
+
{
|
13
|
+
level: 1,
|
14
|
+
text: r
|
15
|
+
}
|
16
|
+
)
|
17
|
+
}
|
18
|
+
) });
|
19
|
+
export {
|
20
|
+
o as default
|
21
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
|
-
declare const
|
2
|
+
declare const UKInfiniteScroll: React.FC<{
|
3
3
|
children: React.ReactNode | React.ReactNode[];
|
4
4
|
fetchNextPage: (nextPageNumber: number) => Promise<{
|
5
5
|
hasAnotherPage?: boolean;
|
@@ -8,4 +8,4 @@ declare const InfiniteScroll: React.FC<{
|
|
8
8
|
className?: string;
|
9
9
|
resetState?: string;
|
10
10
|
}>;
|
11
|
-
export default
|
11
|
+
export default UKInfiniteScroll;
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
2
2
|
import { c as u } from "../../clippy-B98VypDQ.js";
|
3
3
|
import d, { useState as p, useEffect as g } from "react";
|
4
|
-
import h from "../../components/heading/
|
5
|
-
import I from "../../components/separator/
|
6
|
-
import i from "../../components/text/
|
7
|
-
import '../../
|
4
|
+
import h from "../../components/heading/UKHeading.js";
|
5
|
+
import I from "../../components/separator/UKSeparator.js";
|
6
|
+
import i from "../../components/text/UKText.js";
|
7
|
+
import '../../UKInfiniteScroll.css';const L = "_component_tlgec_10", P = "_items_tlgec_19", K = "_endOfItems_tlgec_23", s = {
|
8
8
|
component: L,
|
9
9
|
items: P,
|
10
|
-
endOfItems:
|
11
|
-
},
|
10
|
+
endOfItems: K
|
11
|
+
}, W = ({ children: t, fetchNextPage: _, containerClassName: v, className: x, resetState: b }) => {
|
12
12
|
const o = d.useRef(null), n = d.useRef(-1), [m, r] = p(!1), [N, l] = p(!1);
|
13
13
|
g(() => {
|
14
14
|
n.current = -1, r(!1), l(!1), f();
|
@@ -58,5 +58,5 @@ import '../../assets/infiniteScroll.css';const L = "_component_tlgec_10", P = "_
|
|
58
58
|
] });
|
59
59
|
};
|
60
60
|
export {
|
61
|
-
|
61
|
+
W as default
|
62
62
|
};
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
|
-
declare const
|
2
|
+
declare const UKNavBar: React.FC<{
|
3
3
|
leftSection?: React.ReactElement | React.ReactElement[];
|
4
4
|
centerSection?: React.ReactElement | React.ReactElement[];
|
5
5
|
rightSection?: React.ReactElement | React.ReactElement[];
|
6
6
|
className?: string;
|
7
7
|
}>;
|
8
|
-
export default
|
8
|
+
export default UKNavBar;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
2
|
-
import i from "../../components/box/
|
3
|
-
import n from "../../components/flex/
|
2
|
+
import i from "../../components/box/UKBox.js";
|
3
|
+
import n from "../../components/flex/UKFlex.js";
|
4
4
|
import { c as a } from "../../clippy-B98VypDQ.js";
|
5
|
-
import '../../
|
5
|
+
import '../../UKNavBar.css';const l = "_component_178hu_6", p = "_segment_178hu_20", e = {
|
6
6
|
component: l,
|
7
7
|
segment: p
|
8
8
|
}, f = ({ leftSection: s, centerSection: t, rightSection: m, className: r }) => /* @__PURE__ */ c(i, { className: a(e.component, r), children: [
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
2
|
+
import t from "../../../../components/image/UKImage.js";
|
3
|
+
import '../../../../UKNavbarNavImage.css';const n = "_component_q2khg_6", a = {
|
4
|
+
component: n
|
5
|
+
}, c = ({ src: o }) => /* @__PURE__ */ e(
|
6
|
+
t,
|
7
|
+
{
|
8
|
+
accessibleLabel: "",
|
9
|
+
src: o,
|
10
|
+
className: a.component
|
11
|
+
}
|
12
|
+
);
|
13
|
+
export {
|
14
|
+
c as default
|
15
|
+
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { UKIconType } from '../../core/iconDictionary.ts';
|
2
2
|
import * as React from "react";
|
3
|
-
declare const
|
3
|
+
declare const UKOnBoarding: React.FC<{
|
4
4
|
meta: {
|
5
5
|
id: string;
|
6
6
|
};
|
@@ -11,10 +11,10 @@ declare const OnBoarding: React.FC<{
|
|
11
11
|
actions: {
|
12
12
|
label: string;
|
13
13
|
icon?: UKIconType;
|
14
|
-
onClick
|
14
|
+
onClick?: () => void;
|
15
15
|
changeTo?: "next" | "previous" | "remain" | "completed";
|
16
16
|
}[];
|
17
17
|
allowGoBack?: boolean;
|
18
18
|
}[];
|
19
19
|
}>;
|
20
|
-
export default
|
20
|
+
export default UKOnBoarding;
|