@speakeasy-api/moonshine 1.34.0 → 1.35.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/Combobox/index.d.ts +5 -1
- package/dist/components/ResizablePanel/index.d.ts +1 -1
- package/dist/{createCustomLucideIcon-D3tazgXs.mjs → createCustomLucideIcon-EiauSMb1.mjs} +2 -2
- package/dist/{createCustomLucideIcon-D3tazgXs.mjs.map → createCustomLucideIcon-EiauSMb1.mjs.map} +1 -1
- package/dist/{gems-DPS8c5v8.mjs → gems-BvqWmbac.mjs} +2 -2
- package/dist/{gems-DPS8c5v8.mjs.map → gems-BvqWmbac.mjs.map} +1 -1
- package/dist/github-kgjMtfE7.mjs.map +1 -1
- package/dist/{go-CNv1yjwB.mjs → go-DcxZ_tUN.mjs} +2 -2
- package/dist/{go-CNv1yjwB.mjs.map → go-DcxZ_tUN.mjs.map} +1 -1
- package/dist/{index-C_pStYyO.mjs → index-D2j5TB55.mjs} +5960 -5506
- package/dist/index-D2j5TB55.mjs.map +1 -0
- package/dist/lib/events.d.ts +3 -0
- package/dist/{maven-CEuOtUqy.mjs → maven-CRmekwFL.mjs} +2 -2
- package/dist/{maven-CEuOtUqy.mjs.map → maven-CRmekwFL.mjs.map} +1 -1
- package/dist/maven-W_nkSDNW.mjs.map +1 -1
- package/dist/moonshine.es.js +1 -1
- package/dist/{npm-a8RUgXvg.mjs → npm-B8YY3m3w.mjs} +2 -2
- package/dist/{npm-a8RUgXvg.mjs.map → npm-B8YY3m3w.mjs.map} +1 -1
- package/dist/npm-BWTcVvFH.mjs.map +1 -1
- package/dist/{nuget-ZxZqd0b1.mjs → nuget-BdLRmPRn.mjs} +2 -2
- package/dist/{nuget-ZxZqd0b1.mjs.map → nuget-BdLRmPRn.mjs.map} +1 -1
- package/dist/nuget-CV5HU1JR.mjs.map +1 -1
- package/dist/packagist-D01fn9N_.mjs.map +1 -1
- package/dist/{packagist-ZWWw9zz4.mjs → packagist-I2pZqVDo.mjs} +2 -2
- package/dist/{packagist-ZWWw9zz4.mjs.map → packagist-I2pZqVDo.mjs.map} +1 -1
- package/dist/{pypi-DK6ombl7.mjs → pypi-DFD4I_La.mjs} +2 -2
- package/dist/{pypi-DK6ombl7.mjs.map → pypi-DFD4I_La.mjs.map} +1 -1
- package/dist/pypi-DLh6kIJe.mjs.map +1 -1
- package/dist/rubygems-DeiNjcDV.mjs.map +1 -1
- package/dist/speakeasy-logo-ByBTXLWb.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/terraform-C4aktQ0o.mjs.map +1 -1
- package/package.json +3 -3
- package/types/utilities.d.ts +1 -1
- package/dist/index-C_pStYyO.mjs.map +0 -1
|
@@ -29,7 +29,11 @@ interface ComboboxBaseProps<T extends string = string> {
|
|
|
29
29
|
emptyText?: string;
|
|
30
30
|
searchPlaceholder?: string;
|
|
31
31
|
iconOnly?: boolean;
|
|
32
|
+
createOptions?: {
|
|
33
|
+
handleCreate: (search: string) => void;
|
|
34
|
+
renderCreatePrompt?: (search: string) => JSX.Element;
|
|
35
|
+
};
|
|
32
36
|
}
|
|
33
37
|
export type ComboboxProps<T extends string = string> = ComboboxBaseProps<T> & ComboboxDataProps<T>;
|
|
34
|
-
export declare function Combobox<T extends string = string>({ options, groups, value, onValueChange, variant, size, disabled, loading, error, errorText, searchable, placeholder, emptyText, searchPlaceholder, iconOnly, }: ComboboxProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
export declare function Combobox<T extends string = string>({ options, groups, value, onValueChange, variant, size, disabled, loading, error, errorText, searchable, placeholder, emptyText, searchPlaceholder, iconOnly, createOptions, }: ComboboxProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
35
39
|
export {};
|
|
@@ -13,7 +13,7 @@ export interface PaneProps extends ComponentProps<typeof Panel> {
|
|
|
13
13
|
className?: string;
|
|
14
14
|
panelRef?: React.LegacyRef<ImperativePanelHandle>;
|
|
15
15
|
}
|
|
16
|
-
declare const ResizablePanelWithSubcomponents: (({ children, className, useDefaultHandle,
|
|
16
|
+
declare const ResizablePanelWithSubcomponents: (({ children, className, useDefaultHandle, onLayout, ...props }: ResizablePanelProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
17
17
|
Pane: {
|
|
18
18
|
({ children, className, panelRef, ...props }: PaneProps): import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
displayName: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as s, t as n } from "./index-
|
|
1
|
+
import { c as s, t as n } from "./index-D2j5TB55.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-EiauSMb1.mjs.map
|
package/dist/{createCustomLucideIcon-D3tazgXs.mjs.map → createCustomLucideIcon-EiauSMb1.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createCustomLucideIcon-
|
|
1
|
+
{"version":3,"file":"createCustomLucideIcon-EiauSMb1.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,KAASC,MACxBC,EAAcC,GAAM;AAAA,MAClB,KAAAF;AAAA,MACA,UAAAN;AAAA,MACA,WAAWS,EAAG,UAAUC,EAAYX,CAAQ,CAAC,IAAIK,CAAS;AAAA,MACrD,GAAIH,KAAe,CAAA;AAAA,MAAK,GAAGI;AAAA,IAAM,CACvC;AAAA,EAAA;AAGL,SAAAH,EAAU,cAAc,GAAGH,CAAQ,IAE5BG;AACT;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as L } from "./createCustomLucideIcon-
|
|
1
|
+
import { c as L } from "./createCustomLucideIcon-EiauSMb1.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-BvqWmbac.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gems-
|
|
1
|
+
{"version":3,"file":"gems-BvqWmbac.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,EACP;AAAA,EAEF;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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"github-kgjMtfE7.mjs","sources":["../src/assets/icons/external/github.svg?react"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nconst SvgGithub = ({\n title,\n titleId,\n ...props\n}, ref) => /* @__PURE__ */ React.createElement(\"svg\", { viewBox: \"0 0 128 128\", width: 16, height: 16, ref, \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { fill: \"currentColor\" }, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M64 5.103c-33.347 0-60.388 27.035-60.388 60.388 0 26.682 17.303 49.317 41.297 57.303 3.017.56 4.125-1.31 4.125-2.905 0-1.44-.056-6.197-.082-11.243-16.8 3.653-20.345-7.125-20.345-7.125-2.747-6.98-6.705-8.836-6.705-8.836-5.48-3.748.413-3.67.413-3.67 6.063.425 9.257 6.223 9.257 6.223 5.386 9.23 14.127 6.562 17.573 5.02.542-3.903 2.107-6.568 3.834-8.076-13.413-1.525-27.514-6.704-27.514-29.843 0-6.593 2.36-11.98 6.223-16.21-.628-1.52-2.695-7.662.584-15.98 0 0 5.07-1.623 16.61 6.19C53.7 35 58.867 34.327 64 34.304c5.13.023 10.3.694 15.127 2.033 11.526-7.813 16.59-6.19 16.59-6.19 3.287 8.317 1.22 14.46.593 15.98 3.872 4.23 6.215 9.617 6.215 16.21 0 23.194-14.127 28.3-27.574 29.796 2.167 1.874 4.097 5.55 4.097 11.183 0 8.08-.07 14.583-.07 16.572 0 1.607 1.088 3.49 4.148 2.897 23.98-7.994 41.263-30.622 41.263-57.294C124.388 32.14 97.35 5.104 64 5.104z\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M26.484 91.806c-.133.3-.605.39-1.035.185-.44-.196-.685-.605-.543-.906.13-.31.603-.395 1.04-.188.44.197.69.61.537.91zm2.446 2.729c-.287.267-.85.143-1.232-.28-.396-.42-.47-.983-.177-1.254.298-.266.844-.14 1.24.28.394.426.472.984.17 1.255zM31.312 98.012c-.37.258-.976.017-1.35-.52-.37-.538-.37-1.183.01-1.44.373-.258.97-.025 1.35.507.368.545.368 1.19-.01 1.452zm3.261 3.361c-.33.365-1.036.267-1.552-.23-.527-.487-.674-1.18-.343-1.544.336-.366 1.045-.264 1.564.23.527.486.686 1.18.333 1.543zm4.5 1.951c-.147.473-.825.688-1.51.486-.683-.207-1.13-.76-.99-1.238.14-.477.823-.7 1.512-.485.683.206 1.13.756.988 1.237zm4.943.361c.017.498-.563.91-1.28.92-.723.017-1.308-.387-1.315-.877 0-.503.568-.91 1.29-.924.717-.013 1.306.387 1.306.88zm4.598-.782c.086.485-.413.984-1.126 1.117-.7.13-1.35-.172-1.44-.653-.086-.498.422-.997 1.122-1.126.714-.123 1.354.17 1.444.663zm0 0\" })));\nconst ForwardRef = forwardRef(SvgGithub);\nexport default ForwardRef;\n"],"names":["SvgGithub","title","titleId","props","ref","React","ForwardRef","forwardRef"],"mappings":";;AAEA,MAAMA,IAAY,CAAC;AAAA,EACjB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,GAAGC,MAAwB,gBAAAC,EAAM,cAAc,OAAO,EAAE,SAAS,eAAe,OAAO,IAAI,QAAQ,IAAI,KAAAD,GAAK,mBAAmBF,GAAS,GAAGC,
|
|
1
|
+
{"version":3,"file":"github-kgjMtfE7.mjs","sources":["../src/assets/icons/external/github.svg?react"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nconst SvgGithub = ({\n title,\n titleId,\n ...props\n}, ref) => /* @__PURE__ */ React.createElement(\"svg\", { viewBox: \"0 0 128 128\", width: 16, height: 16, ref, \"aria-labelledby\": titleId, ...props }, title ? /* @__PURE__ */ React.createElement(\"title\", { id: titleId }, title) : null, /* @__PURE__ */ React.createElement(\"g\", { fill: \"currentColor\" }, /* @__PURE__ */ React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M64 5.103c-33.347 0-60.388 27.035-60.388 60.388 0 26.682 17.303 49.317 41.297 57.303 3.017.56 4.125-1.31 4.125-2.905 0-1.44-.056-6.197-.082-11.243-16.8 3.653-20.345-7.125-20.345-7.125-2.747-6.98-6.705-8.836-6.705-8.836-5.48-3.748.413-3.67.413-3.67 6.063.425 9.257 6.223 9.257 6.223 5.386 9.23 14.127 6.562 17.573 5.02.542-3.903 2.107-6.568 3.834-8.076-13.413-1.525-27.514-6.704-27.514-29.843 0-6.593 2.36-11.98 6.223-16.21-.628-1.52-2.695-7.662.584-15.98 0 0 5.07-1.623 16.61 6.19C53.7 35 58.867 34.327 64 34.304c5.13.023 10.3.694 15.127 2.033 11.526-7.813 16.59-6.19 16.59-6.19 3.287 8.317 1.22 14.46.593 15.98 3.872 4.23 6.215 9.617 6.215 16.21 0 23.194-14.127 28.3-27.574 29.796 2.167 1.874 4.097 5.55 4.097 11.183 0 8.08-.07 14.583-.07 16.572 0 1.607 1.088 3.49 4.148 2.897 23.98-7.994 41.263-30.622 41.263-57.294C124.388 32.14 97.35 5.104 64 5.104z\" }), /* @__PURE__ */ React.createElement(\"path\", { d: \"M26.484 91.806c-.133.3-.605.39-1.035.185-.44-.196-.685-.605-.543-.906.13-.31.603-.395 1.04-.188.44.197.69.61.537.91zm2.446 2.729c-.287.267-.85.143-1.232-.28-.396-.42-.47-.983-.177-1.254.298-.266.844-.14 1.24.28.394.426.472.984.17 1.255zM31.312 98.012c-.37.258-.976.017-1.35-.52-.37-.538-.37-1.183.01-1.44.373-.258.97-.025 1.35.507.368.545.368 1.19-.01 1.452zm3.261 3.361c-.33.365-1.036.267-1.552-.23-.527-.487-.674-1.18-.343-1.544.336-.366 1.045-.264 1.564.23.527.486.686 1.18.333 1.543zm4.5 1.951c-.147.473-.825.688-1.51.486-.683-.207-1.13-.76-.99-1.238.14-.477.823-.7 1.512-.485.683.206 1.13.756.988 1.237zm4.943.361c.017.498-.563.91-1.28.92-.723.017-1.308-.387-1.315-.877 0-.503.568-.91 1.29-.924.717-.013 1.306.387 1.306.88zm4.598-.782c.086.485-.413.984-1.126 1.117-.7.13-1.35-.172-1.44-.653-.086-.498.422-.997 1.122-1.126.714-.123 1.354.17 1.444.663zm0 0\" })));\nconst ForwardRef = forwardRef(SvgGithub);\nexport default ForwardRef;\n"],"names":["SvgGithub","title","titleId","props","ref","React","ForwardRef","forwardRef"],"mappings":";;AAEA,MAAMA,IAAY,CAAC;AAAA,EACjB,OAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,GAAGC,MAAwB,gBAAAC,EAAM,cAAc,OAAO,EAAE,SAAS,eAAe,OAAO,IAAI,QAAQ,IAAI,KAAAD,GAAK,mBAAmBF,GAAS,GAAGC,EAAK,GAAIF,IAAwB,gBAAAI,EAAM,cAAc,SAAS,EAAE,IAAIH,EAAO,GAAID,CAAK,IAAI,MAAsB,gBAAAI,EAAM,cAAc,KAAK,EAAE,MAAM,eAAc,GAAoB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,UAAU,WAAW,UAAU,WAAW,GAAG,w1BAAu1B,CAAE,GAAmB,gBAAAA,EAAM,cAAc,QAAQ,EAAE,GAAG,81BAA61B,CAAE,CAAC,CAAC,GAC/mEC,IAAaC,EAAWP,CAAS;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c } from "./createCustomLucideIcon-
|
|
1
|
+
import { c } from "./createCustomLucideIcon-EiauSMb1.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-DcxZ_tUN.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"go-
|
|
1
|
+
{"version":3,"file":"go-DcxZ_tUN.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,EACP;AAAA,EAEF;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;"}
|