@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
@@ -0,0 +1,130 @@
|
|
1
|
+
import { jsx as a, jsxs as l, Fragment as d } from "react/jsx-runtime";
|
2
|
+
import * as f from "react";
|
3
|
+
import g from "../../components/card/UKCard.js";
|
4
|
+
import { UKIcons as _ } from "../../core/iconDictionary.js";
|
5
|
+
import p from "../../components/iconButton/UKIconButton.js";
|
6
|
+
import h from "../../components/image/UKImage.js";
|
7
|
+
import u from "../../components/heading/UKHeading.js";
|
8
|
+
import b from "../../components/text/UKText.js";
|
9
|
+
import k from "../../components/buttonWithIcon/UKButtonWithIcon.js";
|
10
|
+
import I from "../../components/button/UKButton.js";
|
11
|
+
import { Outlet as B } from "react-router";
|
12
|
+
import C from "../../components/flex/UKFlex.js";
|
13
|
+
import { c as i } from "../../clippy-B98VypDQ.js";
|
14
|
+
import U from "../../components/separator/UKSeparator.js";
|
15
|
+
import '../../UKOnBoarding.css';const x = "_page_107gf_6", K = "_fadeIn_107gf_1", N = "_card_107gf_40", y = "_cardContainer_107gf_51", v = "_goBackButton_107gf_55", w = "_headerImage_107gf_61", T = "_header_107gf_61", S = "_body_107gf_70", t = {
|
16
|
+
page: x,
|
17
|
+
fadeIn: K,
|
18
|
+
card: N,
|
19
|
+
cardContainer: y,
|
20
|
+
goBackButton: v,
|
21
|
+
headerImage: w,
|
22
|
+
header: T,
|
23
|
+
body: S
|
24
|
+
}, A = ({ pages: s, meta: m }) => {
|
25
|
+
const [r, o] = f.useState(0), n = s[r];
|
26
|
+
return localStorage.getItem(`yourdash-application-visited-${m.id}`) || r > s.length - 1 ? (localStorage.setItem(`yourdash-application-visited-${m.id}`, "true"), /* @__PURE__ */ a(B, {})) : /* @__PURE__ */ a("div", { className: t.page, children: /* @__PURE__ */ l(
|
27
|
+
g,
|
28
|
+
{
|
29
|
+
className: t.card,
|
30
|
+
containerClassName: t.cardContainer,
|
31
|
+
children: [
|
32
|
+
n.allowGoBack && /* @__PURE__ */ a(
|
33
|
+
p,
|
34
|
+
{
|
35
|
+
className: i(t.goBackButton, "animate__animated animate__fadeInDown"),
|
36
|
+
accessibleLabel: "Go back to the last page",
|
37
|
+
icon: _.ChevronLeft,
|
38
|
+
onClick: () => {
|
39
|
+
o(r - 1);
|
40
|
+
}
|
41
|
+
},
|
42
|
+
"GoBackButton"
|
43
|
+
),
|
44
|
+
/* @__PURE__ */ a(
|
45
|
+
h,
|
46
|
+
{
|
47
|
+
className: t.headerImage,
|
48
|
+
src: n.headerImage,
|
49
|
+
accessibleLabel: ""
|
50
|
+
}
|
51
|
+
),
|
52
|
+
/* @__PURE__ */ a(
|
53
|
+
u,
|
54
|
+
{
|
55
|
+
className: t.header,
|
56
|
+
text: n.header
|
57
|
+
}
|
58
|
+
),
|
59
|
+
/* @__PURE__ */ a(U, { direction: "column" }),
|
60
|
+
/* @__PURE__ */ a(
|
61
|
+
b,
|
62
|
+
{
|
63
|
+
className: t.body,
|
64
|
+
text: n.body
|
65
|
+
}
|
66
|
+
),
|
67
|
+
/* @__PURE__ */ a(
|
68
|
+
C,
|
69
|
+
{
|
70
|
+
className: t.actions,
|
71
|
+
direction: "row",
|
72
|
+
children: n.actions.map((e) => e.icon ? /* @__PURE__ */ a(d, { children: /* @__PURE__ */ a(
|
73
|
+
k,
|
74
|
+
{
|
75
|
+
className: i(t.action, t.actionWithIcon, "animate__animated animate__fadeInUp"),
|
76
|
+
text: e.label,
|
77
|
+
icon: e.icon,
|
78
|
+
onClick: () => {
|
79
|
+
var c;
|
80
|
+
if ((c = e.onClick) == null || c.call(e), e.changeTo)
|
81
|
+
switch (e.changeTo) {
|
82
|
+
case "next":
|
83
|
+
o(r + 1);
|
84
|
+
break;
|
85
|
+
case "previous":
|
86
|
+
r > 0 && o(r - 1);
|
87
|
+
break;
|
88
|
+
case "remain":
|
89
|
+
break;
|
90
|
+
case "completed":
|
91
|
+
o(s.length + 1);
|
92
|
+
break;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
},
|
96
|
+
e.label
|
97
|
+
) }) : /* @__PURE__ */ a(d, { children: /* @__PURE__ */ a(
|
98
|
+
I,
|
99
|
+
{
|
100
|
+
className: i(t.action, t.actionWithoutIcon, "animate__animated animate__fadeInUp"),
|
101
|
+
text: e.label,
|
102
|
+
onClick: () => {
|
103
|
+
var c;
|
104
|
+
if ((c = e.onClick) == null || c.call(e), e.changeTo)
|
105
|
+
switch (e.changeTo) {
|
106
|
+
case "next":
|
107
|
+
o(r + 1);
|
108
|
+
break;
|
109
|
+
case "previous":
|
110
|
+
r > 0 && o(r - 1);
|
111
|
+
break;
|
112
|
+
case "remain":
|
113
|
+
break;
|
114
|
+
case "completed":
|
115
|
+
o(s.length + 1);
|
116
|
+
break;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
},
|
120
|
+
e.label
|
121
|
+
) }))
|
122
|
+
}
|
123
|
+
)
|
124
|
+
]
|
125
|
+
}
|
126
|
+
) });
|
127
|
+
};
|
128
|
+
export {
|
129
|
+
A as default
|
130
|
+
};
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { default as React, FC } from 'react';
|
2
|
-
declare const
|
2
|
+
declare const UKPanAndZoom: FC<{
|
3
3
|
children: React.ReactNode;
|
4
4
|
minZoom?: number;
|
5
5
|
maxZoom?: number;
|
6
6
|
onScaleChange?: (scale: number) => void;
|
7
7
|
}>;
|
8
|
-
export default
|
8
|
+
export default UKPanAndZoom;
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
2
2
|
import { c as s } from "../../clippy-B98VypDQ.js";
|
3
|
-
import m from "../../components/flex/
|
3
|
+
import m from "../../components/flex/UKFlex.js";
|
4
4
|
import p from "../../core/incrementLevel.js";
|
5
|
-
import { u as c, a as i } from "../../level-
|
6
|
-
import l from "./
|
5
|
+
import { u as c, a as i } from "../../level-zWuM8x6U.js";
|
6
|
+
import l from "./UKSidebarContext.js";
|
7
7
|
import { useContext as a } from "react";
|
8
|
-
import '../../
|
8
|
+
import '../../UKSidebar.css';const d = "_component_kdw27_10", f = "_open_kdw27_40", e = {
|
9
9
|
component: d,
|
10
10
|
open: f
|
11
|
-
},
|
11
|
+
}, L = ({ children: t }) => {
|
12
12
|
const n = a(l), r = c();
|
13
13
|
return /* @__PURE__ */ o(p, { children: /* @__PURE__ */ o(
|
14
14
|
m,
|
@@ -20,5 +20,5 @@ import '../../assets/sidebar.css';const d = "_component_kdw27_10", f = "_open_kd
|
|
20
20
|
) });
|
21
21
|
};
|
22
22
|
export {
|
23
|
-
|
23
|
+
L as default
|
24
24
|
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { default as React, FC } from 'react';
|
2
|
-
declare const
|
2
|
+
declare const UKSidebarContainer: FC<{
|
3
3
|
children: React.ReactNode | React.ReactNode[];
|
4
4
|
showSidebarByDefault?: boolean;
|
5
5
|
className?: string;
|
6
6
|
}>;
|
7
|
-
export default
|
7
|
+
export default UKSidebarContainer;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
2
2
|
import { useState as s } from "react";
|
3
|
-
import a from "./
|
3
|
+
import a from "./UKSidebarContext.js";
|
4
4
|
import { c } from "../../clippy-B98VypDQ.js";
|
5
|
-
import '../../
|
5
|
+
import '../../UKSidebarContainer.css';const m = "_component_3jgyq_10", p = {
|
6
6
|
component: m
|
7
7
|
}, f = ({
|
8
8
|
children: r,
|
@@ -1,7 +1,7 @@
|
|
1
|
-
declare const
|
1
|
+
declare const UKSidebarContext: import('react').Context<{
|
2
2
|
openSidebar: () => void;
|
3
3
|
closeSidebar: () => void;
|
4
4
|
toggleSidebar: () => void;
|
5
5
|
isOpen: boolean;
|
6
6
|
}>;
|
7
|
-
export default
|
7
|
+
export default UKSidebarContext;
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
2
2
|
import { useContext as t } from "react";
|
3
|
-
import {
|
4
|
-
import i from "./
|
5
|
-
import a from "../../components/iconButton/
|
3
|
+
import { UKIcons as e } from "../../core/iconDictionary.js";
|
4
|
+
import i from "./UKSidebarContext.js";
|
5
|
+
import a from "../../components/iconButton/UKIconButton.js";
|
6
6
|
const l = () => {
|
7
7
|
const o = t(i);
|
8
8
|
return /* @__PURE__ */ r(
|
9
9
|
a,
|
10
10
|
{
|
11
|
-
accessibleLabel: o.isOpen ? "Collapse
|
11
|
+
accessibleLabel: o.isOpen ? "Collapse UKSidebar" : "Expand UKSidebar",
|
12
12
|
icon: o.isOpen ? e.SidebarCollapse : e.SidebarExpand,
|
13
13
|
onClick: () => {
|
14
14
|
o.toggleSidebar();
|
package/package.json
CHANGED
@@ -1,40 +1,43 @@
|
|
1
|
-
{
|
2
|
-
"name": "@yourdash/uikit",
|
3
|
-
"version": "1.0.
|
4
|
-
"license": "MIT",
|
5
|
-
"type": "module",
|
6
|
-
"private": false,
|
7
|
-
"packageManager": "yarn@1.22.22",
|
8
|
-
"engines": {
|
9
|
-
"node": ">=21.0.0"
|
10
|
-
},
|
11
|
-
"files": [
|
12
|
-
"dist/"
|
13
|
-
],
|
14
|
-
"
|
15
|
-
|
16
|
-
|
17
|
-
"scripts": {
|
18
|
-
"build": "vite build"
|
19
|
-
|
20
|
-
|
21
|
-
"
|
22
|
-
|
23
|
-
"@types/react
|
24
|
-
"react": "^18.3.
|
25
|
-
"react
|
26
|
-
|
27
|
-
|
28
|
-
"
|
29
|
-
|
30
|
-
|
31
|
-
"
|
32
|
-
"
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"vite
|
39
|
-
|
40
|
-
|
1
|
+
{
|
2
|
+
"name": "@yourdash/uikit",
|
3
|
+
"version": "1.0.42",
|
4
|
+
"license": "MIT",
|
5
|
+
"type": "module",
|
6
|
+
"private": false,
|
7
|
+
"packageManager": "yarn@1.22.22",
|
8
|
+
"engines": {
|
9
|
+
"node": ">=21.0.0"
|
10
|
+
},
|
11
|
+
"files": [
|
12
|
+
"dist/"
|
13
|
+
],
|
14
|
+
"exports": {
|
15
|
+
"./*": "./dist/*"
|
16
|
+
},
|
17
|
+
"scripts": {
|
18
|
+
"build": "bunx --bun vite build",
|
19
|
+
"postinstall": "bun --bun run build"
|
20
|
+
},
|
21
|
+
"author": "Ewsgit <ewsgit@duck.com>",
|
22
|
+
"peerDependencies": {
|
23
|
+
"@types/react": "^18.3.5",
|
24
|
+
"@types/react-dom": "^18.3.0",
|
25
|
+
"react": "^18.3.1",
|
26
|
+
"react-dom": "^18.3.1",
|
27
|
+
"react-router": "^6.26.2",
|
28
|
+
"react-router-dom": "^6.26.2"
|
29
|
+
},
|
30
|
+
"dependencies": {
|
31
|
+
"@vitejs/plugin-react": "^4.3.4",
|
32
|
+
"@yourdash/shared": "*",
|
33
|
+
"ajv": "8.17.1",
|
34
|
+
"glob": "^11.0.0",
|
35
|
+
"path": "^0.12.7",
|
36
|
+
"sass": "^1.78.0",
|
37
|
+
"typescript": "^5.6.2",
|
38
|
+
"vite": "^6.0.2",
|
39
|
+
"vite-plugin-dts": "^4.3.0",
|
40
|
+
"vite-plugin-dynamic-import": "^1.6.0",
|
41
|
+
"vite-plugin-lib-inject-css": "^2.1.1"
|
42
|
+
}
|
43
|
+
}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
@charset "UTF-8";/*!
|
2
|
-
* Copyright ©2024 Ewsgit<https://github.com/ewsgit> and YourDash<https://github.com/yourdash> contributors.
|
3
|
-
* YourDash is licensed under the MIT License. (https://ewsgit.mit-license.org)
|
4
|
-
*/._component_1d200_10{font-family:var(--utfontfam);text-align:center;padding:0 var(--utbtnpdnhoriz);color:var(--utbtncol);border:var(--utbtnbrd);border-radius:var(--utbtnrad);background:var(--utbtnbgn);transition:var(--utbtntrans);height:var(--utinphei);width:max-content;cursor:pointer}._component_1d200_10:hover{color:var(--utbtnhvrcol);border:var(--utbtnhvrbrd);border-radius:var(--utbtnhvrrad);background:var(--utbtnhvrbgn);transition:var(--utbtnhvrtrans)}._component_1d200_10:active{color:var(--utbtnatvcol);border:var(--utbtnatvbrd);border-radius:var(--utbtnatvrad);background:var(--utbtnatvbgn);transition:var(--utbtnatvtrans)}._component_1d200_10:disabled{opacity:.8;color:var(--utbtncol);border:var(--utbtnbrd);border-radius:var(--utbtnrad);background:var(--utbtnbgn);cursor:not-allowed}._link_1d200_46{display:inline}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { jsx as n } from "react/jsx-runtime";
|
2
|
-
import { c as e } from "../../clippy-B98VypDQ.js";
|
3
|
-
import c from "../button/button.js";
|
4
|
-
import { u as m } from "../../index-D4kASGu5.js";
|
5
|
-
import '../../assets/buttonLink.css';const s = "_component_1d200_10", a = "_link_1d200_46", i = {
|
6
|
-
component: s,
|
7
|
-
link: a
|
8
|
-
}, _ = (t) => {
|
9
|
-
const o = m();
|
10
|
-
return /* @__PURE__ */ n(
|
11
|
-
c,
|
12
|
-
{
|
13
|
-
onClick: () => (o(t.to), 0),
|
14
|
-
text: t.text,
|
15
|
-
className: e(i.component, t.className)
|
16
|
-
}
|
17
|
-
);
|
18
|
-
};
|
19
|
-
export {
|
20
|
-
_ as default
|
21
|
-
};
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
2
|
-
import { c } from "../../clippy-B98VypDQ.js";
|
3
|
-
import '../../assets/heading.css';const t = "_component_13od9_10", m = "_h1component_13od9_17", h = "_h2component_13od9_22", a = "_h3component_13od9_27", s = "_h4component_13od9_32", l = "_h5component_13od9_37", _ = "_h6component_13od9_42", e = {
|
4
|
-
component: t,
|
5
|
-
h1component: m,
|
6
|
-
h2component: h,
|
7
|
-
h3component: a,
|
8
|
-
h4component: s,
|
9
|
-
h5component: l,
|
10
|
-
h6component: _
|
11
|
-
}, N = (n) => {
|
12
|
-
switch (n.level || 1) {
|
13
|
-
case 1:
|
14
|
-
return /* @__PURE__ */ o("h1", { className: c(e.component, e.h1component, n.className), children: n.text });
|
15
|
-
case 2:
|
16
|
-
return /* @__PURE__ */ o("h2", { className: c(e.component, e.h2component, n.className), children: n.text });
|
17
|
-
case 3:
|
18
|
-
return /* @__PURE__ */ o("h3", { className: c(e.component, e.h3component, n.className), children: n.text });
|
19
|
-
case 4:
|
20
|
-
return /* @__PURE__ */ o("h4", { className: c(e.component, e.h4component, n.className), children: n.text });
|
21
|
-
case 5:
|
22
|
-
return /* @__PURE__ */ o("h5", { className: c(e.component, e.h5component, n.className), children: n.text });
|
23
|
-
case 6:
|
24
|
-
return /* @__PURE__ */ o("h6", { className: c(e.component, e.h6component, n.className), children: n.text });
|
25
|
-
}
|
26
|
-
};
|
27
|
-
export {
|
28
|
-
N as default
|
29
|
-
};
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { UKIcon } from '../../core/iconDictionary.ts';
|
2
|
-
import { FC } from 'react';
|
3
|
-
declare const IconButton: FC<{
|
4
|
-
icon: (typeof UKIcon)[keyof typeof UKIcon];
|
5
|
-
accessibleLabel: string;
|
6
|
-
onClick: () => void;
|
7
|
-
className?: string;
|
8
|
-
preserveColor?: boolean;
|
9
|
-
}>;
|
10
|
-
export default IconButton;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
export { default as Box } from './box/box.tsx';
|
2
|
-
export { default as Button } from './button/button.tsx';
|
3
|
-
export { default as ButtonCombo } from './buttonCombo/buttonCombo.tsx';
|
4
|
-
export { default as ButtonLink } from './buttonLink/buttonLink.tsx';
|
5
|
-
export { default as ButtonWithIcon } from './buttonWithIcon/buttonWithIcon.tsx';
|
6
|
-
export { default as Card } from './card/card.tsx';
|
7
|
-
export { default as Container } from './container/container.tsx';
|
8
|
-
export { default as ContextMenu } from './contextMenu/contextMenu.tsx';
|
9
|
-
export { default as Flex } from './flex/flex.tsx';
|
10
|
-
export { default as Heading } from './heading/heading.tsx';
|
11
|
-
export { default as Icon } from './icon/icon.tsx';
|
12
|
-
export { default as IconButton } from './iconButton/iconButton.tsx';
|
13
|
-
export { default as Image } from './image/image.tsx';
|
14
|
-
export { default as Link } from './link/link.tsx';
|
15
|
-
export { default as ProgressBar } from './progressBar/progressBar.tsx';
|
16
|
-
export { default as Redirect } from './redirect/redirect.tsx';
|
17
|
-
export { default as Separator } from './separator/separator.tsx';
|
18
|
-
export { default as Spinner } from './spinner/spinner.tsx';
|
19
|
-
export { default as Subtext } from './subtext/subtext.tsx';
|
20
|
-
export { default as Tag } from './tag/tag.tsx';
|
21
|
-
export { default as Text } from './text/text.tsx';
|
22
|
-
export { default as TextButton } from './textButton/textButton.tsx';
|
23
|
-
export { default as TextInput } from './textInput/textInput.tsx';
|
package/dist/components/index.js
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
import { default as e } from "./box/box.js";
|
2
|
-
import { default as a } from "./button/button.js";
|
3
|
-
import { default as u } from "./buttonCombo/buttonCombo.js";
|
4
|
-
import { default as d } from "./buttonLink/buttonLink.js";
|
5
|
-
import { default as m } from "./buttonWithIcon/buttonWithIcon.js";
|
6
|
-
import { default as l } from "./card/card.js";
|
7
|
-
import { default as B } from "./container/container.js";
|
8
|
-
import { default as I } from "./contextMenu/contextMenu.js";
|
9
|
-
import { default as g } from "./flex/flex.js";
|
10
|
-
import { default as T } from "./heading/heading.js";
|
11
|
-
import { default as b } from "./icon/icon.js";
|
12
|
-
import { default as L } from "./iconButton/iconButton.js";
|
13
|
-
import { default as F } from "./image/image.js";
|
14
|
-
import { default as M } from "./link/link.js";
|
15
|
-
import { default as R } from "./progressBar/progressBar.js";
|
16
|
-
import { default as j } from "./redirect/redirect.js";
|
17
|
-
import { default as v } from "./separator/separator.js";
|
18
|
-
import { default as y } from "./spinner/spinner.js";
|
19
|
-
import { default as A } from "./subtext/subtext.js";
|
20
|
-
import { default as E } from "./tag/tag.js";
|
21
|
-
import { default as J } from "./text/text.js";
|
22
|
-
import { default as N } from "./textButton/textButton.js";
|
23
|
-
import { default as Q } from "./textInput/textInput.js";
|
24
|
-
export {
|
25
|
-
e as Box,
|
26
|
-
a as Button,
|
27
|
-
u as ButtonCombo,
|
28
|
-
d as ButtonLink,
|
29
|
-
m as ButtonWithIcon,
|
30
|
-
l as Card,
|
31
|
-
B as Container,
|
32
|
-
I as ContextMenu,
|
33
|
-
g as Flex,
|
34
|
-
T as Heading,
|
35
|
-
b as Icon,
|
36
|
-
L as IconButton,
|
37
|
-
F as Image,
|
38
|
-
M as Link,
|
39
|
-
R as ProgressBar,
|
40
|
-
j as Redirect,
|
41
|
-
v as Separator,
|
42
|
-
y as Spinner,
|
43
|
-
A as Subtext,
|
44
|
-
E as Tag,
|
45
|
-
J as Text,
|
46
|
-
N as TextButton,
|
47
|
-
Q as TextInput
|
48
|
-
};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
2
|
-
import { u as r } from "../../index-D4kASGu5.js";
|
3
|
-
import i from "../card/card.js";
|
4
|
-
import a from "../text/text.js";
|
5
|
-
const d = (t) => {
|
6
|
-
const o = r();
|
7
|
-
return t.to !== null && o(t.to), /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(a, { text: `Redirecting to ${t.to}` }) });
|
8
|
-
};
|
9
|
-
export {
|
10
|
-
d as default
|
11
|
-
};
|
package/dist/core/index.d.ts
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
export { default as UIKitRoot } from './root.tsx';
|
2
|
-
export { default as IncrementLevel } from './incrementLevel.tsx';
|
3
|
-
export { default as DecrementLevel } from './decrementLevel.tsx';
|
4
|
-
export { default as useToast } from './toasts/useToast.ts';
|
5
|
-
export { UKIcon as Icons, type UKIconType } from './iconDictionary.ts';
|
package/dist/core/index.js
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
import { default as t } from "./root.js";
|
2
|
-
import { default as a } from "./incrementLevel.js";
|
3
|
-
import { default as s } from "./decrementLevel.js";
|
4
|
-
import { default as l } from "./toasts/useToast.js";
|
5
|
-
import { UKIcon as p } from "./iconDictionary.js";
|
6
|
-
export {
|
7
|
-
s as DecrementLevel,
|
8
|
-
p as Icons,
|
9
|
-
a as IncrementLevel,
|
10
|
-
t as UIKitRoot,
|
11
|
-
l as useToast
|
12
|
-
};
|
package/dist/index-BJy4nmTN.js
DELETED
@@ -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 d from "./components/progressBar/progressBar.js";
|
16
|
-
import g from "./components/redirect/redirect.js";
|
17
|
-
import l from "./components/separator/separator.js";
|
18
|
-
import b from "./components/spinner/spinner.js";
|
19
|
-
import I from "./components/subtext/subtext.js";
|
20
|
-
import S from "./components/tag/tag.js";
|
21
|
-
import T from "./components/text/text.js";
|
22
|
-
import s from "./components/textButton/textButton.js";
|
23
|
-
import C 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: d,
|
41
|
-
Redirect: g,
|
42
|
-
Separator: l,
|
43
|
-
Spinner: b,
|
44
|
-
Subtext: I,
|
45
|
-
Tag: S,
|
46
|
-
Text: T,
|
47
|
-
TextButton: s,
|
48
|
-
TextInput: C
|
49
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
50
|
-
export {
|
51
|
-
N as i
|
52
|
-
};
|
package/dist/index-BoiKlAEs.js
DELETED
@@ -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 i from "./views/infiniteScroll/infiniteScroll.js";
|
5
|
-
import t 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: i,
|
19
|
-
NavBar: t,
|
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 i
|
30
|
-
};
|
package/dist/index-C9QO6nHU.js
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import e from "./utilityComponent/hasBeenShown/hasBeenShown.js";
|
2
|
-
import o from "./utilityComponent/onInView/onInView.js";
|
3
|
-
const n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4
|
-
__proto__: null,
|
5
|
-
HasBeenShown: e,
|
6
|
-
OnInView: o
|
7
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
8
|
-
export {
|
9
|
-
n as i
|
10
|
-
};
|