@speakeasy-api/moonshine 1.22.0 → 1.23.0
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/components/AppLayout/index.d.ts +60 -46
- package/dist/components/SegmentedButton/index.d.ts +1 -3
- package/dist/{createCustomLucideIcon-lzFV0mIL.mjs → createCustomLucideIcon-DBGalafX.mjs} +2 -2
- package/dist/{createCustomLucideIcon-lzFV0mIL.mjs.map → createCustomLucideIcon-DBGalafX.mjs.map} +1 -1
- package/dist/{gems-CtzA5h_5.mjs → gems-BBiducsF.mjs} +2 -2
- package/dist/{gems-CtzA5h_5.mjs.map → gems-BBiducsF.mjs.map} +1 -1
- package/dist/{go-DMmetKbo.mjs → go-D8sy8aJh.mjs} +2 -2
- package/dist/{go-DMmetKbo.mjs.map → go-D8sy8aJh.mjs.map} +1 -1
- package/dist/{index-CY5zJdl6.mjs → index-TTE33fuw.mjs} +8287 -8263
- package/dist/{index-CY5zJdl6.mjs.map → index-TTE33fuw.mjs.map} +1 -1
- package/dist/{maven-hNHlZW75.mjs → maven-hV01En1N.mjs} +2 -2
- package/dist/{maven-hNHlZW75.mjs.map → maven-hV01En1N.mjs.map} +1 -1
- package/dist/moonshine.es.js +1 -1
- package/dist/{npm-nseFrDp_.mjs → npm-DNv3VwHV.mjs} +2 -2
- package/dist/{npm-nseFrDp_.mjs.map → npm-DNv3VwHV.mjs.map} +1 -1
- package/dist/{nuget-r3SiHnHJ.mjs → nuget-ErjVUoBO.mjs} +2 -2
- package/dist/{nuget-r3SiHnHJ.mjs.map → nuget-ErjVUoBO.mjs.map} +1 -1
- package/dist/{packagist-DZLYUuRm.mjs → packagist-BBPBdVUU.mjs} +2 -2
- package/dist/{packagist-DZLYUuRm.mjs.map → packagist-BBPBdVUU.mjs.map} +1 -1
- package/dist/{pypi-UyDsvcWv.mjs → pypi-CkHnH6Qf.mjs} +2 -2
- package/dist/{pypi-UyDsvcWv.mjs.map → pypi-CkHnH6Qf.mjs.map} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/base.css +1 -1
- package/types/utilities.d.ts +1 -1
|
@@ -3,19 +3,40 @@ import { IconName } from '../Icon/names';
|
|
|
3
3
|
interface AppLayoutProps extends PropsWithChildren {
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
+
declare const AppLayoutBase: {
|
|
7
|
+
({ children, className }: AppLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
6
10
|
interface AppLayoutSurfaceProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
11
|
className?: string;
|
|
8
12
|
}
|
|
13
|
+
declare const AppLayoutSurface: {
|
|
14
|
+
({ children, className, ...props }: AppLayoutSurfaceProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
9
17
|
interface AppLayoutSidebarProps {
|
|
10
18
|
className?: string;
|
|
11
19
|
children?: React.ReactNode;
|
|
20
|
+
Logo?: React.ReactNode;
|
|
12
21
|
}
|
|
22
|
+
declare const AppLayoutSidebar: {
|
|
23
|
+
({ children, className }: AppLayoutSidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
};
|
|
13
26
|
interface AppLayoutThemeSwitcherProps {
|
|
14
27
|
className?: string;
|
|
15
28
|
}
|
|
29
|
+
declare const AppLayoutThemeSwitcher: {
|
|
30
|
+
({ className }: AppLayoutThemeSwitcherProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
displayName: string;
|
|
32
|
+
};
|
|
16
33
|
interface AppLayoutBreadcrumbProps extends PropsWithChildren {
|
|
17
34
|
className?: string;
|
|
18
35
|
}
|
|
36
|
+
declare const AppLayoutBreadcrumb: {
|
|
37
|
+
({ children, className, }: AppLayoutBreadcrumbProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
displayName: string;
|
|
39
|
+
};
|
|
19
40
|
export interface AppLayoutBreadcrumbItemProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
20
41
|
className?: string;
|
|
21
42
|
active?: boolean;
|
|
@@ -23,18 +44,39 @@ export interface AppLayoutBreadcrumbItemProps extends React.AnchorHTMLAttributes
|
|
|
23
44
|
disabled?: boolean;
|
|
24
45
|
asChild?: boolean;
|
|
25
46
|
}
|
|
47
|
+
declare const AppLayoutBreadcrumbItem: React.ForwardRefExoticComponent<AppLayoutBreadcrumbItemProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
48
|
+
declare const AppLayoutHeaderDivider: {
|
|
49
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
displayName: string;
|
|
51
|
+
};
|
|
26
52
|
interface AppLayoutCollapseButtonProps extends PropsWithChildren {
|
|
27
53
|
className?: string;
|
|
28
54
|
}
|
|
55
|
+
declare const AppLayoutCollapseButton: {
|
|
56
|
+
({ className, }: AppLayoutCollapseButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
displayName: string;
|
|
58
|
+
};
|
|
29
59
|
interface AppLayoutSurfaceHeaderProps extends PropsWithChildren {
|
|
30
60
|
className?: string;
|
|
31
61
|
}
|
|
62
|
+
declare const AppLayoutSurfaceHeader: {
|
|
63
|
+
({ children, className, }: AppLayoutSurfaceHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
displayName: string;
|
|
65
|
+
};
|
|
32
66
|
interface AppLayoutHeaderProps extends PropsWithChildren {
|
|
33
67
|
className?: string;
|
|
34
68
|
}
|
|
69
|
+
declare const AppLayoutHeader: {
|
|
70
|
+
({ children, className }: AppLayoutHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
71
|
+
displayName: string;
|
|
72
|
+
};
|
|
35
73
|
interface AppLayoutNavProps extends HTMLAttributes<HTMLDivElement> {
|
|
36
74
|
className?: string;
|
|
37
75
|
}
|
|
76
|
+
declare const AppLayoutNav: {
|
|
77
|
+
({ children, className, ...props }: AppLayoutNavProps): import("react/jsx-runtime").JSX.Element;
|
|
78
|
+
displayName: string;
|
|
79
|
+
};
|
|
38
80
|
export interface AppLayoutNavItemProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
39
81
|
title: string;
|
|
40
82
|
icon: IconName;
|
|
@@ -49,6 +91,7 @@ export interface AppLayoutNavItemProps extends React.AnchorHTMLAttributes<HTMLAn
|
|
|
49
91
|
disabled?: boolean;
|
|
50
92
|
asChild?: boolean;
|
|
51
93
|
}
|
|
94
|
+
declare const AppLayoutNavItem: React.ForwardRefExoticComponent<AppLayoutNavItemProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
52
95
|
export interface AppLayoutNavItemGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
53
96
|
className?: string;
|
|
54
97
|
/**
|
|
@@ -60,51 +103,22 @@ export interface AppLayoutNavItemGroupProps extends HTMLAttributes<HTMLDivElemen
|
|
|
60
103
|
*/
|
|
61
104
|
children: React.ReactNode;
|
|
62
105
|
}
|
|
63
|
-
|
|
64
|
-
({ children, className }:
|
|
106
|
+
declare const AppLayoutNavItemGroup: {
|
|
107
|
+
({ children, className, name, ...props }: AppLayoutNavItemGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
65
108
|
displayName: string;
|
|
66
|
-
} & {
|
|
67
|
-
Surface: {
|
|
68
|
-
({ children, className, ...props }: AppLayoutSurfaceProps): import("react/jsx-runtime").JSX.Element;
|
|
69
|
-
displayName: string;
|
|
70
|
-
};
|
|
71
|
-
SurfaceHeader: {
|
|
72
|
-
({ children, className, }: AppLayoutSurfaceHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
73
|
-
displayName: string;
|
|
74
|
-
};
|
|
75
|
-
Sidebar: {
|
|
76
|
-
({ children, className }: AppLayoutSidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
77
|
-
displayName: string;
|
|
78
|
-
};
|
|
79
|
-
Breadcrumb: {
|
|
80
|
-
({ children, className, }: AppLayoutBreadcrumbProps): import("react/jsx-runtime").JSX.Element;
|
|
81
|
-
displayName: string;
|
|
82
|
-
};
|
|
83
|
-
BreadcrumbItem: React.ForwardRefExoticComponent<AppLayoutBreadcrumbItemProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
84
|
-
CollapseButton: {
|
|
85
|
-
({ className, }: AppLayoutCollapseButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
86
|
-
displayName: string;
|
|
87
|
-
};
|
|
88
|
-
HeaderDivider: {
|
|
89
|
-
(): import("react/jsx-runtime").JSX.Element;
|
|
90
|
-
displayName: string;
|
|
91
|
-
};
|
|
92
|
-
Header: {
|
|
93
|
-
({ children, className }: AppLayoutHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
94
|
-
displayName: string;
|
|
95
|
-
};
|
|
96
|
-
ThemeSwitcher: {
|
|
97
|
-
({ className }: AppLayoutThemeSwitcherProps): import("react/jsx-runtime").JSX.Element;
|
|
98
|
-
displayName: string;
|
|
99
|
-
};
|
|
100
|
-
Nav: {
|
|
101
|
-
({ children, className, ...props }: AppLayoutNavProps): import("react/jsx-runtime").JSX.Element;
|
|
102
|
-
displayName: string;
|
|
103
|
-
};
|
|
104
|
-
NavItem: React.ForwardRefExoticComponent<AppLayoutNavItemProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
105
|
-
NavItemGroup: {
|
|
106
|
-
({ children, className, name, ...props }: AppLayoutNavItemGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
107
|
-
displayName: string;
|
|
108
|
-
};
|
|
109
109
|
};
|
|
110
|
-
|
|
110
|
+
declare const AppLayout: typeof AppLayoutBase & {
|
|
111
|
+
Surface: typeof AppLayoutSurface;
|
|
112
|
+
SurfaceHeader: typeof AppLayoutSurfaceHeader;
|
|
113
|
+
Sidebar: typeof AppLayoutSidebar;
|
|
114
|
+
Breadcrumb: typeof AppLayoutBreadcrumb;
|
|
115
|
+
BreadcrumbItem: typeof AppLayoutBreadcrumbItem;
|
|
116
|
+
CollapseButton: typeof AppLayoutCollapseButton;
|
|
117
|
+
HeaderDivider: typeof AppLayoutHeaderDivider;
|
|
118
|
+
Header: typeof AppLayoutHeader;
|
|
119
|
+
ThemeSwitcher: typeof AppLayoutThemeSwitcher;
|
|
120
|
+
Nav: typeof AppLayoutNav;
|
|
121
|
+
NavItem: typeof AppLayoutNavItem;
|
|
122
|
+
NavItemGroup: typeof AppLayoutNavItemGroup;
|
|
123
|
+
};
|
|
124
|
+
export { AppLayout };
|
|
@@ -10,9 +10,7 @@ export interface SegmentedButtonItemProps extends MotionProps {
|
|
|
10
10
|
active?: boolean;
|
|
11
11
|
highlighted?: boolean;
|
|
12
12
|
id: string;
|
|
13
|
-
onClick?:
|
|
14
|
-
onMouseEnter?: React.MouseEventHandler<HTMLButtonElement>;
|
|
15
|
-
onMouseLeave?: React.MouseEventHandler<HTMLButtonElement>;
|
|
13
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
16
14
|
}
|
|
17
15
|
export declare const SegmentedButton: {
|
|
18
16
|
({ children, className }: SegmentedButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as s, t as n } from "./index-
|
|
1
|
+
import { c as s, t as n } from "./index-TTE33fuw.mjs";
|
|
2
2
|
import { Icon as p } from "lucide-react";
|
|
3
3
|
import { forwardRef as f, createElement as i } from "react";
|
|
4
4
|
const C = (e, t, r) => {
|
|
@@ -16,4 +16,4 @@ const C = (e, t, r) => {
|
|
|
16
16
|
export {
|
|
17
17
|
C as c
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=createCustomLucideIcon-
|
|
19
|
+
//# sourceMappingURL=createCustomLucideIcon-DBGalafX.mjs.map
|
package/dist/{createCustomLucideIcon-lzFV0mIL.mjs.map → createCustomLucideIcon-DBGalafX.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createCustomLucideIcon-
|
|
1
|
+
{"version":3,"file":"createCustomLucideIcon-DBGalafX.mjs","sources":["../src/components/Icon/customIcons/createCustomLucideIcon.ts"],"sourcesContent":["import { cn, toKebabCase } from '@/lib/utils'\nimport { Icon, IconNode, LucideProps } from 'lucide-react'\nimport { createElement, forwardRef } from 'react'\n\nconst createCustomLucideIcon = (\n iconName: string,\n iconNode: IconNode,\n lucideProps?: Partial<LucideProps>\n) => {\n const Component = forwardRef<SVGSVGElement, LucideProps>(\n ({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: cn(`lucide-${toKebabCase(iconName)}`, className),\n ...{ ...(lucideProps ?? {}), ...props },\n })\n )\n\n Component.displayName = `${iconName}`\n\n return Component\n}\n\nexport default createCustomLucideIcon\n"],"names":["createCustomLucideIcon","iconName","iconNode","lucideProps","Component","forwardRef","className","props","ref","createElement","Icon","cn","toKebabCase"],"mappings":";;;AAIA,MAAMA,IAAyB,CAC7BC,GACAC,GACAC,MACG;AACH,QAAMC,IAAYC;AAAA,IAChB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAS,GAAAC,MACxBC,EAAcC,GAAM;AAAA,MAClB,KAAAF;AAAA,MACA,UAAAN;AAAA,MACA,WAAWS,EAAG,UAAUC,EAAYX,CAAQ,CAAC,IAAIK,CAAS;AAAA,MACrD,GAAIH,KAAe,CAAC;AAAA,MAAI,GAAGI;AAAA,IACjC,CAAA;AAAA,EACL;AAEU,SAAAH,EAAA,cAAc,GAAGH,CAAQ,IAE5BG;AACT;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as L } from "./createCustomLucideIcon-
|
|
1
|
+
import { c as L } from "./createCustomLucideIcon-DBGalafX.mjs";
|
|
2
2
|
const o = [
|
|
3
3
|
[
|
|
4
4
|
"path",
|
|
@@ -21,4 +21,4 @@ const o = [
|
|
|
21
21
|
export {
|
|
22
22
|
e as default
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=gems-
|
|
24
|
+
//# sourceMappingURL=gems-BBiducsF.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gems-
|
|
1
|
+
{"version":3,"file":"gems-BBiducsF.mjs","sources":["../src/components/Icon/customIcons/gems.ts"],"sourcesContent":["import { IconNode } from 'lucide-react'\nimport createCustomLucideIcon from './createCustomLucideIcon'\n\nconst iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M156.139 157.469L196.307 117.301L168.177 89.1397V89.0126H88.2885L88.4113 89.2582L88.2885 89.1354L60.6496 117.296L128.5 184.929',\n key: 'path-1',\n },\n ],\n [\n 'path',\n {\n d: 'M128.5 14L29 71.0835V185.25L128.5 242.333L228 185.25V71.0829L128.5 14ZM208.96 174.341L128.5 220.767L48.0401 174.34V81.7386L128.5 35.3114L208.96 81.3762',\n key: 'path-2',\n },\n ],\n]\n\nconst icon = createCustomLucideIcon('gems', iconNode, {\n viewBox: '0 0 256 256',\n fill: 'currentColor',\n})\n\nexport { icon as default }\n"],"names":["iconNode","icon","createCustomLucideIcon"],"mappings":";AAGA,MAAMA,IAAqB;AAAA,EACzB;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IAAA;AAAA,EAET;AAAA,EACA;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IAAA;AAAA,EACP;AAEJ,GAEMC,IAAOC,EAAuB,QAAQF,GAAU;AAAA,EACpD,SAAS;AAAA,EACT,MAAM;AACR,CAAC;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c } from "./createCustomLucideIcon-
|
|
1
|
+
import { c } from "./createCustomLucideIcon-DBGalafX.mjs";
|
|
2
2
|
const o = [
|
|
3
3
|
[
|
|
4
4
|
"path",
|
|
@@ -21,4 +21,4 @@ const o = [
|
|
|
21
21
|
export {
|
|
22
22
|
e as default
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=go-
|
|
24
|
+
//# sourceMappingURL=go-D8sy8aJh.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"go-
|
|
1
|
+
{"version":3,"file":"go-D8sy8aJh.mjs","sources":["../src/components/Icon/customIcons/go.ts"],"sourcesContent":["import { IconNode } from 'lucide-react'\nimport createCustomLucideIcon from './createCustomLucideIcon'\n\nconst iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M11.156 54.829c-.243 0-.303-.122-.182-.303l1.273-1.637c.12-.182.424-.303.666-.303H34.55c.243 0 .303.182.182.364l-1.03 1.576c-.121.181-.424.363-.606.363zM2.004 60.404c-.242 0-.303-.12-.182-.303l1.273-1.636c.121-.182.424-.303.667-.303h27.636c.242 0 .364.182.303.364l-.485 1.454c-.06.243-.303.364-.545.364zM16.67 65.98c-.242 0-.302-.182-.181-.364l.848-1.515c.122-.182.364-.363.607-.363h12.12c.243 0 .364.181.364.424l-.12 1.454c0 .243-.243.425-.425.425zM79.58 53.738c-3.819.97-6.425 1.697-10.182 2.666-.91.243-.97.303-1.758-.606-.909-1.03-1.576-1.697-2.848-2.303-3.819-1.878-7.516-1.333-10.97.91-4.121 2.666-6.242 6.605-6.182 11.514.06 4.849 3.394 8.849 8.182 9.516 4.121.545 7.576-.91 10.303-4 .545-.667 1.03-1.394 1.636-2.243H56.064c-1.272 0-1.575-.788-1.151-1.818.788-1.879 2.242-5.03 3.09-6.606.183-.364.607-.97 1.516-.97h22.06c-.12 1.637-.12 3.273-.363 4.91-.667 4.363-2.303 8.363-4.97 11.878-4.364 5.758-10.06 9.333-17.273 10.303-5.939.788-11.454-.364-16.302-4-4.485-3.394-7.03-7.879-7.697-13.454-.788-6.606 1.151-12.546 5.151-17.758 4.303-5.636 10-9.212 16.97-10.485 5.697-1.03 11.151-.363 16.06 2.97 3.212 2.121 5.515 5.03 7.03 8.545.364.546.122.849-.606 1.03z',\n key: 'path-1',\n },\n ],\n [\n 'path',\n {\n d: 'M99.64 87.253c-5.515-.122-10.546-1.697-14.788-5.334-3.576-3.09-5.818-7.03-6.545-11.697-1.091-6.848.787-12.909 4.909-18.302 4.424-5.819 9.757-8.849 16.97-10.122 6.181-1.09 12-.484 17.272 3.091 4.788 3.273 7.757 7.697 8.545 13.515 1.03 8.182-1.333 14.849-6.97 20.546-4 4.06-8.909 6.606-14.545 7.757-1.636.303-3.273.364-4.848.546zm14.424-24.485c-.06-.788-.06-1.394-.182-2-1.09-6-6.606-9.394-12.363-8.06-5.637 1.272-9.273 4.848-10.606 10.545-1.091 4.727 1.212 9.515 5.575 11.454 3.334 1.455 6.667 1.273 9.879-.363 4.788-2.485 7.394-6.364 7.697-11.576z',\n key: 'path-2',\n },\n ],\n]\n\nconst icon = createCustomLucideIcon('go', iconNode, {\n viewBox: '0 0 128 128',\n fill: 'currentColor',\n})\n\nexport { icon as default }\n"],"names":["iconNode","icon","createCustomLucideIcon"],"mappings":";AAGA,MAAMA,IAAqB;AAAA,EACzB;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IAAA;AAAA,EAET;AAAA,EACA;AAAA,IACE;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,KAAK;AAAA,IAAA;AAAA,EACP;AAEJ,GAEMC,IAAOC,EAAuB,MAAMF,GAAU;AAAA,EAClD,SAAS;AAAA,EACT,MAAM;AACR,CAAC;"}
|