@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
@@ -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 PanAndZoom: FC<{
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 PanAndZoom;
8
+ export default UKPanAndZoom;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- declare const Sidebar: FC<{
2
+ declare const UKSidebar: FC<{
3
3
  children: React.ReactNode | React.ReactNode[];
4
4
  }>;
5
- export default Sidebar;
5
+ export default UKSidebar;
@@ -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/flex.js";
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-o2-EzyQS.js";
6
- import l from "./sidebarContext.js";
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 '../../assets/sidebar.css';const d = "_component_kdw27_10", f = "_open_kdw27_40", e = {
8
+ import '../../UKSidebar.css';const d = "_component_kdw27_10", f = "_open_kdw27_40", e = {
9
9
  component: d,
10
10
  open: f
11
- }, k = ({ children: t }) => {
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
- k as default
23
+ L as default
24
24
  };
@@ -1,7 +1,7 @@
1
1
  import { default as React, FC } from 'react';
2
- declare const SidebarContainer: FC<{
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 SidebarContainer;
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 "./sidebarContext.js";
3
+ import a from "./UKSidebarContext.js";
4
4
  import { c } from "../../clippy-B98VypDQ.js";
5
- import '../../assets/sidebarContainer.css';const m = "_component_3jgyq_10", p = {
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 SidebarContext: import('react').Context<{
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 SidebarContext;
7
+ export default UKSidebarContext;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ declare const UKSidebarToggleButton: FC;
3
+ export default UKSidebarToggleButton;
@@ -1,14 +1,14 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { useContext as t } from "react";
3
- import { UKIcon as e } from "../../core/iconDictionary.js";
4
- import i from "./sidebarContext.js";
5
- import a from "../../components/iconButton/iconButton.js";
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 Sidebar" : "Expand Sidebar",
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,44 +1,43 @@
1
- {
2
- "name": "@yourdash/uikit",
3
- "version": "1.0.41",
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
- "src/theme"
14
- ],
15
- "main": "./dist/uikit.js",
16
- "types": "./dist/uikit.d.ts",
17
- "exports": {
18
- ".": "./dist/uikit.js",
19
- "./src/theme/*": "./src/theme/"
20
- },
21
- "scripts": {
22
- "build": "vite build"
23
- },
24
- "author": "Ewsgit <ewsgit@duck.com>",
25
- "peerDependencies": {
26
- "@types/react": "^18.3.5",
27
- "@types/react-dom": "^18.3.0",
28
- "react": "^18.3.1",
29
- "react-dom": "^18.3.1"
30
- },
31
- "dependencies": {
32
- "@vitejs/plugin-react": "^4.3.4",
33
- "@yourdash/shared": "*",
34
- "ajv": "8.17.1",
35
- "glob": "^11.0.0",
36
- "path": "^0.12.7",
37
- "sass": "^1.78.0",
38
- "typescript": "^5.6.2",
39
- "vite": "^6.0.2",
40
- "vite-plugin-dts": "^4.3.0",
41
- "vite-plugin-dynamic-import": "^1.6.0",
42
- "vite-plugin-lib-inject-css": "^2.1.1"
43
- }
44
- }
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';
@@ -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,5 +0,0 @@
1
- import { FC } from 'react';
2
- declare const Redirect: FC<{
3
- to: string | null;
4
- }>;
5
- export default Redirect;
@@ -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
- };
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- declare const Spinner: FC<{
3
- style?: any;
4
- }>;
5
- export default Spinner;
@@ -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';
@@ -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
- };
@@ -1,10 +0,0 @@
1
- import e from "./utilityComponent/hasBeenShown/hasBeenShown.js";
2
- import o from "./utilityComponent/onInView/onInView.js";
3
- const i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
- __proto__: null,
5
- HasBeenShown: e,
6
- OnInView: o
7
- }, Symbol.toStringTag, { value: "Module" }));
8
- export {
9
- i as U
10
- };
@@ -1,16 +0,0 @@
1
- import o from "./core/root.js";
2
- import e from "./core/incrementLevel.js";
3
- import r from "./core/decrementLevel.js";
4
- import t from "./core/toasts/useToast.js";
5
- import { UKIcon as m } from "./core/iconDictionary.js";
6
- const l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
- __proto__: null,
8
- DecrementLevel: r,
9
- Icons: m,
10
- IncrementLevel: e,
11
- UIKitRoot: o,
12
- useToast: t
13
- }, Symbol.toStringTag, { value: "Module" }));
14
- export {
15
- l as C
16
- };