@walkeros/explorer 1.0.1 → 2.0.1
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/LICENSE +2 -2
- package/dist/{chunk-VWWAIDNX.mjs → chunk-YKT4D7MG.mjs} +201 -53
- package/dist/chunk-YKT4D7MG.mjs.map +1 -0
- package/dist/components/atoms/alert.d.ts +29 -0
- package/dist/components/atoms/alert.d.ts.map +1 -0
- package/dist/components/atoms/alert.js +19 -0
- package/dist/components/atoms/alert.js.map +1 -0
- package/dist/components/atoms/alert.stories.d.ts +7 -0
- package/dist/components/atoms/alert.stories.d.ts.map +1 -0
- package/dist/components/atoms/alert.stories.js +14 -0
- package/dist/components/atoms/alert.stories.js.map +1 -0
- package/dist/components/atoms/button.stories.d.ts +14 -0
- package/dist/components/atoms/button.stories.d.ts.map +1 -0
- package/dist/components/atoms/button.stories.js +25 -0
- package/dist/components/atoms/button.stories.js.map +1 -0
- package/dist/components/atoms/code.d.ts.map +1 -1
- package/dist/components/atoms/code.js +14 -2
- package/dist/components/atoms/code.js.map +1 -1
- package/dist/components/atoms/footer.stories.d.ts +14 -0
- package/dist/components/atoms/footer.stories.d.ts.map +1 -0
- package/dist/components/atoms/footer.stories.js +29 -0
- package/dist/components/atoms/footer.stories.js.map +1 -0
- package/dist/components/atoms/form-field.d.ts +28 -0
- package/dist/components/atoms/form-field.d.ts.map +1 -0
- package/dist/components/atoms/form-field.js +16 -0
- package/dist/components/atoms/form-field.js.map +1 -0
- package/dist/components/atoms/form-field.stories.d.ts +7 -0
- package/dist/components/atoms/form-field.stories.d.ts.map +1 -0
- package/dist/components/atoms/form-field.stories.js +16 -0
- package/dist/components/atoms/form-field.stories.js.map +1 -0
- package/dist/components/atoms/form-input.d.ts +43 -0
- package/dist/components/atoms/form-input.d.ts.map +1 -0
- package/dist/components/atoms/form-input.js +26 -0
- package/dist/components/atoms/form-input.js.map +1 -0
- package/dist/components/atoms/form-input.stories.d.ts +7 -0
- package/dist/components/atoms/form-input.stories.d.ts.map +1 -0
- package/dist/components/atoms/form-input.stories.js +17 -0
- package/dist/components/atoms/form-input.stories.js.map +1 -0
- package/dist/components/atoms/form-textarea.d.ts +41 -0
- package/dist/components/atoms/form-textarea.d.ts.map +1 -0
- package/dist/components/atoms/form-textarea.js +26 -0
- package/dist/components/atoms/form-textarea.js.map +1 -0
- package/dist/components/atoms/form-textarea.stories.d.ts +7 -0
- package/dist/components/atoms/form-textarea.stories.d.ts.map +1 -0
- package/dist/components/atoms/form-textarea.stories.js +17 -0
- package/dist/components/atoms/form-textarea.stories.js.map +1 -0
- package/dist/components/atoms/grid.stories.d.ts +18 -0
- package/dist/components/atoms/grid.stories.d.ts.map +1 -0
- package/dist/components/atoms/grid.stories.js +60 -0
- package/dist/components/atoms/grid.stories.js.map +1 -0
- package/dist/components/atoms/header.stories.d.ts +15 -0
- package/dist/components/atoms/header.stories.d.ts.map +1 -0
- package/dist/components/atoms/header.stories.js +37 -0
- package/dist/components/atoms/header.stories.js.map +1 -0
- package/dist/components/atoms/icons/icon.stories.d.ts +18 -0
- package/dist/components/atoms/icons/icon.stories.d.ts.map +1 -0
- package/dist/components/atoms/icons/icon.stories.js +37 -0
- package/dist/components/atoms/icons/icon.stories.js.map +1 -0
- package/dist/components/atoms/panel-hints.stories.d.ts +14 -0
- package/dist/components/atoms/panel-hints.stories.d.ts.map +1 -0
- package/dist/components/atoms/panel-hints.stories.js +35 -0
- package/dist/components/atoms/panel-hints.stories.js.map +1 -0
- package/dist/components/atoms/spinner.d.ts +17 -0
- package/dist/components/atoms/spinner.d.ts.map +1 -0
- package/dist/components/atoms/spinner.js +14 -0
- package/dist/components/atoms/spinner.js.map +1 -0
- package/dist/components/atoms/spinner.stories.d.ts +7 -0
- package/dist/components/atoms/spinner.stories.d.ts.map +1 -0
- package/dist/components/atoms/spinner.stories.js +9 -0
- package/dist/components/atoms/spinner.stories.js.map +1 -0
- package/dist/components/atoms/submit-button.d.ts +34 -0
- package/dist/components/atoms/submit-button.d.ts.map +1 -0
- package/dist/components/atoms/submit-button.js +18 -0
- package/dist/components/atoms/submit-button.js.map +1 -0
- package/dist/components/atoms/submit-button.stories.d.ts +7 -0
- package/dist/components/atoms/submit-button.stories.d.ts.map +1 -0
- package/dist/components/atoms/submit-button.stories.js +13 -0
- package/dist/components/atoms/submit-button.stories.js.map +1 -0
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js +1 -1
- package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js.map +1 -1
- package/dist/components/molecules/code-box.stories.d.ts +8 -0
- package/dist/components/molecules/code-box.stories.d.ts.map +1 -1
- package/dist/components/molecules/code-box.stories.js +36 -0
- package/dist/components/molecules/code-box.stories.js.map +1 -1
- package/dist/components/molecules/config-form-card.d.ts +50 -0
- package/dist/components/molecules/config-form-card.d.ts.map +1 -0
- package/dist/components/molecules/config-form-card.js +30 -0
- package/dist/components/molecules/config-form-card.js.map +1 -0
- package/dist/components/molecules/config-form-card.stories.d.ts +7 -0
- package/dist/components/molecules/config-form-card.stories.d.ts.map +1 -0
- package/dist/components/molecules/config-form-card.stories.js +21 -0
- package/dist/components/molecules/config-form-card.stories.js.map +1 -0
- package/dist/components/molecules/dropdown.d.ts +68 -0
- package/dist/components/molecules/dropdown.d.ts.map +1 -0
- package/dist/components/molecules/dropdown.js +47 -0
- package/dist/components/molecules/dropdown.js.map +1 -0
- package/dist/components/molecules/dropdown.stories.d.ts +7 -0
- package/dist/components/molecules/dropdown.stories.d.ts.map +1 -0
- package/dist/components/molecules/dropdown.stories.js +18 -0
- package/dist/components/molecules/dropdown.stories.js.map +1 -0
- package/dist/components/molecules/flow-deploy-panel.d.ts +31 -0
- package/dist/components/molecules/flow-deploy-panel.d.ts.map +1 -0
- package/dist/components/molecules/flow-deploy-panel.js +72 -0
- package/dist/components/molecules/flow-deploy-panel.js.map +1 -0
- package/dist/components/molecules/flow-deploy-panel.stories.d.ts +40 -0
- package/dist/components/molecules/flow-deploy-panel.stories.d.ts.map +1 -0
- package/dist/components/molecules/flow-deploy-panel.stories.js +145 -0
- package/dist/components/molecules/flow-deploy-panel.stories.js.map +1 -0
- package/dist/components/molecules/flow-map/FlowMap.stories.d.ts.map +1 -1
- package/dist/components/molecules/flow-map/FlowMap.stories.js +7 -1
- package/dist/components/molecules/flow-map/FlowMap.stories.js.map +1 -1
- package/dist/components/molecules/flow-selector.d.ts +19 -0
- package/dist/components/molecules/flow-selector.d.ts.map +1 -0
- package/dist/components/molecules/flow-selector.js +26 -0
- package/dist/components/molecules/flow-selector.js.map +1 -0
- package/dist/components/molecules/flow-selector.stories.d.ts +28 -0
- package/dist/components/molecules/flow-selector.stories.d.ts.map +1 -0
- package/dist/components/molecules/flow-selector.stories.js +66 -0
- package/dist/components/molecules/flow-selector.stories.js.map +1 -0
- package/dist/components/molecules/form-card.d.ts +28 -0
- package/dist/components/molecules/form-card.d.ts.map +1 -0
- package/dist/components/molecules/form-card.js +16 -0
- package/dist/components/molecules/form-card.js.map +1 -0
- package/dist/components/molecules/form-card.stories.d.ts +7 -0
- package/dist/components/molecules/form-card.stories.d.ts.map +1 -0
- package/dist/components/molecules/form-card.stories.js +16 -0
- package/dist/components/molecules/form-card.stories.js.map +1 -0
- package/dist/components/molecules/preview.d.ts.map +1 -1
- package/dist/components/molecules/preview.js +0 -1
- package/dist/components/molecules/preview.js.map +1 -1
- package/dist/components/molecules/split-button.d.ts +25 -0
- package/dist/components/molecules/split-button.d.ts.map +1 -0
- package/dist/components/molecules/split-button.js +37 -0
- package/dist/components/molecules/split-button.js.map +1 -0
- package/dist/components/molecules/split-button.stories.d.ts +32 -0
- package/dist/components/molecules/split-button.stories.d.ts.map +1 -0
- package/dist/components/molecules/split-button.stories.js +88 -0
- package/dist/components/molecules/split-button.stories.js.map +1 -0
- package/dist/hooks/useDropdown.d.ts +34 -0
- package/dist/hooks/useDropdown.d.ts.map +1 -0
- package/dist/hooks/useDropdown.js +66 -0
- package/dist/hooks/useDropdown.js.map +1 -0
- package/dist/index.d.cts +441 -2
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +663 -28
- package/dist/index.mjs.map +1 -1
- package/dist/{monaco-types-4FIH5OVX.mjs → monaco-types-OLSF6MIE.mjs} +2 -2
- package/dist/styles.css +579 -0
- package/package.json +5 -14
- package/dist/chunk-VWWAIDNX.mjs.map +0 -1
- /package/dist/{monaco-types-4FIH5OVX.mjs.map → monaco-types-OLSF6MIE.mjs.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { Destination, WalkerOS, Mapping, Elb } from '@walkeros/core';
|
|
3
3
|
import { RJSFSchema, UiSchema, WidgetProps, FieldProps } from '@rjsf/utils';
|
|
4
|
-
import React, { ReactNode, FC, PropsWithChildren } from 'react';
|
|
4
|
+
import React, { ReactNode, FormEvent, FC, PropsWithChildren, RefObject } from 'react';
|
|
5
5
|
import * as monaco_editor from 'monaco-editor';
|
|
6
6
|
import { editor } from 'monaco-editor';
|
|
7
7
|
export { Icon } from '@iconify/react';
|
|
@@ -715,6 +715,223 @@ interface PropertyTableProps {
|
|
|
715
715
|
}
|
|
716
716
|
declare function PropertyTable({ schema, className }: PropertyTableProps): react_jsx_runtime.JSX.Element;
|
|
717
717
|
|
|
718
|
+
interface FormCardProps {
|
|
719
|
+
/** Card content */
|
|
720
|
+
children: React.ReactNode;
|
|
721
|
+
/** Card title */
|
|
722
|
+
title?: string;
|
|
723
|
+
/** Card subtitle */
|
|
724
|
+
subtitle?: string;
|
|
725
|
+
/** Footer content */
|
|
726
|
+
footer?: React.ReactNode;
|
|
727
|
+
/** Maximum width */
|
|
728
|
+
maxWidth?: 'sm' | 'md' | 'lg' | 'full';
|
|
729
|
+
/** Additional CSS class */
|
|
730
|
+
className?: string;
|
|
731
|
+
}
|
|
732
|
+
/**
|
|
733
|
+
* FormCard - Container for form-based content
|
|
734
|
+
*
|
|
735
|
+
* Pure UI component for centered form layouts.
|
|
736
|
+
* Typically used for auth pages, settings, etc.
|
|
737
|
+
*
|
|
738
|
+
* @example
|
|
739
|
+
* <FormCard title="Sign in" maxWidth="sm">
|
|
740
|
+
* <form>...</form>
|
|
741
|
+
* </FormCard>
|
|
742
|
+
*/
|
|
743
|
+
declare function FormCard({ children, title, subtitle, footer, maxWidth, className, }: FormCardProps): react_jsx_runtime.JSX.Element;
|
|
744
|
+
|
|
745
|
+
interface DropdownProps {
|
|
746
|
+
/** Trigger element (button, link, etc.) */
|
|
747
|
+
trigger: React.ReactNode;
|
|
748
|
+
/** Whether dropdown is open (controlled) */
|
|
749
|
+
isOpen: boolean;
|
|
750
|
+
/** Toggle handler */
|
|
751
|
+
onToggle: () => void;
|
|
752
|
+
/** Dropdown content */
|
|
753
|
+
children: React.ReactNode;
|
|
754
|
+
/** Alignment of dropdown panel */
|
|
755
|
+
align?: 'left' | 'right';
|
|
756
|
+
/** ARIA label for accessibility */
|
|
757
|
+
ariaLabel?: string;
|
|
758
|
+
/** Additional CSS class */
|
|
759
|
+
className?: string;
|
|
760
|
+
}
|
|
761
|
+
interface DropdownItemProps {
|
|
762
|
+
/** Item content */
|
|
763
|
+
children: React.ReactNode;
|
|
764
|
+
/** Click handler */
|
|
765
|
+
onClick?: () => void;
|
|
766
|
+
/** Disabled state */
|
|
767
|
+
disabled?: boolean;
|
|
768
|
+
/** Visual variant */
|
|
769
|
+
variant?: 'default' | 'danger';
|
|
770
|
+
/** Additional CSS class */
|
|
771
|
+
className?: string;
|
|
772
|
+
}
|
|
773
|
+
interface DropdownDividerProps {
|
|
774
|
+
/** Additional CSS class */
|
|
775
|
+
className?: string;
|
|
776
|
+
}
|
|
777
|
+
/**
|
|
778
|
+
* Dropdown - Generic dropdown container (UI only)
|
|
779
|
+
*
|
|
780
|
+
* Pure UI component for dropdown menus.
|
|
781
|
+
* Click-outside and keyboard handling should be implemented in the parent
|
|
782
|
+
* via hooks like useDropdown.
|
|
783
|
+
*
|
|
784
|
+
* @example
|
|
785
|
+
* <Dropdown
|
|
786
|
+
* trigger={<button>Menu</button>}
|
|
787
|
+
* isOpen={isOpen}
|
|
788
|
+
* onToggle={toggle}
|
|
789
|
+
* align="right"
|
|
790
|
+
* >
|
|
791
|
+
* <DropdownItem onClick={handleAction}>Action</DropdownItem>
|
|
792
|
+
* <DropdownDivider />
|
|
793
|
+
* <DropdownItem onClick={handleLogout} variant="danger">Logout</DropdownItem>
|
|
794
|
+
* </Dropdown>
|
|
795
|
+
*/
|
|
796
|
+
declare function Dropdown({ trigger, isOpen, onToggle, children, align, ariaLabel, className, }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
797
|
+
/**
|
|
798
|
+
* DropdownItem - Menu item within a dropdown
|
|
799
|
+
*
|
|
800
|
+
* @example
|
|
801
|
+
* <DropdownItem onClick={handleClick}>Action</DropdownItem>
|
|
802
|
+
*/
|
|
803
|
+
declare function DropdownItem({ children, onClick, disabled, variant, className, }: DropdownItemProps): react_jsx_runtime.JSX.Element;
|
|
804
|
+
/**
|
|
805
|
+
* DropdownDivider - Visual separator between menu items
|
|
806
|
+
*
|
|
807
|
+
* @example
|
|
808
|
+
* <DropdownDivider />
|
|
809
|
+
*/
|
|
810
|
+
declare function DropdownDivider({ className }: DropdownDividerProps): react_jsx_runtime.JSX.Element;
|
|
811
|
+
|
|
812
|
+
interface ConfigFormCardProps {
|
|
813
|
+
/** Current config value (JSON/code string) */
|
|
814
|
+
config: string;
|
|
815
|
+
/** Config change handler */
|
|
816
|
+
onConfigChange: (value: string) => void;
|
|
817
|
+
/** Form submit handler */
|
|
818
|
+
onSubmit: (e: FormEvent) => void;
|
|
819
|
+
/** Loading state */
|
|
820
|
+
loading?: boolean;
|
|
821
|
+
/** Error message (null if no error) */
|
|
822
|
+
error?: string | null;
|
|
823
|
+
/** Card title (default: "Configuration") */
|
|
824
|
+
title?: string;
|
|
825
|
+
/** Textarea label (default: "Configuration (JSON)") */
|
|
826
|
+
label?: string;
|
|
827
|
+
/** Submit button text (default: "Submit") */
|
|
828
|
+
submitText?: string;
|
|
829
|
+
/** Loading button text (default: "Processing...") */
|
|
830
|
+
loadingText?: string;
|
|
831
|
+
/** Number of textarea rows (default: 20) */
|
|
832
|
+
rows?: number;
|
|
833
|
+
/** Card max width */
|
|
834
|
+
maxWidth?: 'sm' | 'md' | 'lg' | 'full';
|
|
835
|
+
/** Additional CSS class */
|
|
836
|
+
className?: string;
|
|
837
|
+
}
|
|
838
|
+
/**
|
|
839
|
+
* ConfigFormCard - Form for JSON/code configuration input (pure UI)
|
|
840
|
+
*
|
|
841
|
+
* Displays a textarea for entering configuration with submit button.
|
|
842
|
+
* Business logic (validation, API calls) is handled via callbacks.
|
|
843
|
+
*
|
|
844
|
+
* @example
|
|
845
|
+
* const { config, setConfig, loading, error, handleSubmit } = useBundleForm(); // App hook
|
|
846
|
+
*
|
|
847
|
+
* <ConfigFormCard
|
|
848
|
+
* config={config}
|
|
849
|
+
* onConfigChange={setConfig}
|
|
850
|
+
* onSubmit={handleSubmit}
|
|
851
|
+
* loading={loading}
|
|
852
|
+
* error={error}
|
|
853
|
+
* title="Bundle Configuration"
|
|
854
|
+
* label="Flow Configuration (JSON)"
|
|
855
|
+
* submitText="Bundle"
|
|
856
|
+
* loadingText="Bundling..."
|
|
857
|
+
* />
|
|
858
|
+
*/
|
|
859
|
+
declare function ConfigFormCard({ config, onConfigChange, onSubmit, loading, error, title, label, submitText, loadingText, rows, maxWidth, className, }: ConfigFormCardProps): react_jsx_runtime.JSX.Element;
|
|
860
|
+
|
|
861
|
+
interface SplitButtonAction {
|
|
862
|
+
key: string;
|
|
863
|
+
label: string;
|
|
864
|
+
onClick: () => void;
|
|
865
|
+
disabled?: boolean;
|
|
866
|
+
}
|
|
867
|
+
interface SplitButtonProps {
|
|
868
|
+
children: React.ReactNode;
|
|
869
|
+
onClick: () => void;
|
|
870
|
+
actions?: SplitButtonAction[];
|
|
871
|
+
variant?: 'primary' | 'default' | 'danger';
|
|
872
|
+
loading?: boolean;
|
|
873
|
+
loadingText?: string;
|
|
874
|
+
disabled?: boolean;
|
|
875
|
+
className?: string;
|
|
876
|
+
}
|
|
877
|
+
/**
|
|
878
|
+
* SplitButton - Primary button with dropdown actions
|
|
879
|
+
*
|
|
880
|
+
* Generic molecule: primary button + dropdown arrow.
|
|
881
|
+
* Click-outside and Escape to close.
|
|
882
|
+
*/
|
|
883
|
+
declare function SplitButton({ children, onClick, actions, variant, loading, loadingText, disabled, className, }: SplitButtonProps): react_jsx_runtime.JSX.Element;
|
|
884
|
+
|
|
885
|
+
interface FlowSelectorFlow {
|
|
886
|
+
name: string;
|
|
887
|
+
platform?: 'web' | 'server';
|
|
888
|
+
deploymentStatus?: string | null;
|
|
889
|
+
}
|
|
890
|
+
interface FlowSelectorProps {
|
|
891
|
+
flows: FlowSelectorFlow[];
|
|
892
|
+
selectedFlow: string;
|
|
893
|
+
onSelectFlow: (name: string) => void;
|
|
894
|
+
className?: string;
|
|
895
|
+
}
|
|
896
|
+
/**
|
|
897
|
+
* FlowSelector - Tab bar for selecting named flows
|
|
898
|
+
*
|
|
899
|
+
* Shows tabs with status dots for each named flow.
|
|
900
|
+
* Returns null when there is only one flow or none.
|
|
901
|
+
*/
|
|
902
|
+
declare function FlowSelector({ flows, selectedFlow, onSelectFlow, className, }: FlowSelectorProps): react_jsx_runtime.JSX.Element | null;
|
|
903
|
+
|
|
904
|
+
interface DeploymentInfo {
|
|
905
|
+
id: string;
|
|
906
|
+
status: 'bundling' | 'deploying' | 'active' | 'published' | 'failed';
|
|
907
|
+
type: 'web' | 'server';
|
|
908
|
+
containerUrl?: string | null;
|
|
909
|
+
publicUrl?: string | null;
|
|
910
|
+
errorMessage?: string | null;
|
|
911
|
+
createdAt: string;
|
|
912
|
+
}
|
|
913
|
+
interface FlowDeployPanelProps {
|
|
914
|
+
flowName: string;
|
|
915
|
+
platform?: 'web' | 'server';
|
|
916
|
+
deployment: DeploymentInfo | null;
|
|
917
|
+
deploying?: boolean;
|
|
918
|
+
error?: string | null;
|
|
919
|
+
hasUnsavedChanges?: boolean;
|
|
920
|
+
multipleFlows?: boolean;
|
|
921
|
+
onDeploy: () => void;
|
|
922
|
+
onDeleteDeployment: () => void;
|
|
923
|
+
onDownloadFlow: () => void;
|
|
924
|
+
onBundle: () => void;
|
|
925
|
+
className?: string;
|
|
926
|
+
}
|
|
927
|
+
/**
|
|
928
|
+
* FlowDeployPanel - Deployment controls for a named flow
|
|
929
|
+
*
|
|
930
|
+
* Replaces DeploySection. Shows deployment status, endpoint info,
|
|
931
|
+
* and a SplitButton with deploy/download/bundle actions.
|
|
932
|
+
*/
|
|
933
|
+
declare function FlowDeployPanel({ flowName, platform, deployment, deploying, error, hasUnsavedChanges, multipleFlows, onDeploy, onDeleteDeployment, onDownloadFlow, onBundle, className, }: FlowDeployPanelProps): react_jsx_runtime.JSX.Element;
|
|
934
|
+
|
|
718
935
|
/**
|
|
719
936
|
* Destination schema bundle for runtime provision
|
|
720
937
|
*
|
|
@@ -1045,6 +1262,195 @@ interface PanelHintsProps {
|
|
|
1045
1262
|
}
|
|
1046
1263
|
declare function PanelHints({ title, hints, className, }: PanelHintsProps): react_jsx_runtime.JSX.Element;
|
|
1047
1264
|
|
|
1265
|
+
interface SpinnerProps {
|
|
1266
|
+
/** Size of the spinner */
|
|
1267
|
+
size?: 'sm' | 'md' | 'lg';
|
|
1268
|
+
/** Additional CSS class */
|
|
1269
|
+
className?: string;
|
|
1270
|
+
}
|
|
1271
|
+
/**
|
|
1272
|
+
* Spinner - Loading indicator
|
|
1273
|
+
*
|
|
1274
|
+
* Pure UI component for showing loading state.
|
|
1275
|
+
* No internal state - controlled via parent.
|
|
1276
|
+
*
|
|
1277
|
+
* @example
|
|
1278
|
+
* <Spinner size="md" />
|
|
1279
|
+
*/
|
|
1280
|
+
declare function Spinner({ size, className }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
1281
|
+
|
|
1282
|
+
interface AlertProps {
|
|
1283
|
+
/** Alert content */
|
|
1284
|
+
children: React.ReactNode;
|
|
1285
|
+
/** Optional title */
|
|
1286
|
+
title?: string;
|
|
1287
|
+
/** Visual variant */
|
|
1288
|
+
variant: 'error' | 'success' | 'warning' | 'info';
|
|
1289
|
+
/** ARIA role */
|
|
1290
|
+
role?: 'alert' | 'status';
|
|
1291
|
+
/** Additional CSS class */
|
|
1292
|
+
className?: string;
|
|
1293
|
+
}
|
|
1294
|
+
/**
|
|
1295
|
+
* Alert - Feedback message component
|
|
1296
|
+
*
|
|
1297
|
+
* Pure UI component for displaying error, success, warning, or info messages.
|
|
1298
|
+
* No internal state - controlled via parent.
|
|
1299
|
+
*
|
|
1300
|
+
* @example
|
|
1301
|
+
* <Alert variant="error">Something went wrong</Alert>
|
|
1302
|
+
*
|
|
1303
|
+
* @example
|
|
1304
|
+
* <Alert variant="success" title="Check your email">
|
|
1305
|
+
* We sent a magic link to your inbox.
|
|
1306
|
+
* </Alert>
|
|
1307
|
+
*/
|
|
1308
|
+
declare function Alert({ children, title, variant, role, className, }: AlertProps): react_jsx_runtime.JSX.Element;
|
|
1309
|
+
|
|
1310
|
+
interface FormFieldProps {
|
|
1311
|
+
/** Form field content (input, textarea, etc.) */
|
|
1312
|
+
children: React.ReactNode;
|
|
1313
|
+
/** Field label */
|
|
1314
|
+
label?: string;
|
|
1315
|
+
/** HTML id for the input (links label to input) */
|
|
1316
|
+
htmlFor?: string;
|
|
1317
|
+
/** Error message to display */
|
|
1318
|
+
error?: string;
|
|
1319
|
+
/** Whether the field is required */
|
|
1320
|
+
required?: boolean;
|
|
1321
|
+
/** Additional CSS class */
|
|
1322
|
+
className?: string;
|
|
1323
|
+
}
|
|
1324
|
+
/**
|
|
1325
|
+
* FormField - Label + input + error wrapper
|
|
1326
|
+
*
|
|
1327
|
+
* Pure UI component for consistent form field layout.
|
|
1328
|
+
* Wraps input elements with label and error message.
|
|
1329
|
+
*
|
|
1330
|
+
* @example
|
|
1331
|
+
* <FormField label="Email" htmlFor="email" error={errors.email}>
|
|
1332
|
+
* <input id="email" type="email" />
|
|
1333
|
+
* </FormField>
|
|
1334
|
+
*/
|
|
1335
|
+
declare function FormField({ children, label, htmlFor, error, required, className, }: FormFieldProps): react_jsx_runtime.JSX.Element;
|
|
1336
|
+
|
|
1337
|
+
interface FormInputProps {
|
|
1338
|
+
/** Current value (controlled) */
|
|
1339
|
+
value: string;
|
|
1340
|
+
/** Change handler */
|
|
1341
|
+
onChange: (value: string) => void;
|
|
1342
|
+
/** Field label */
|
|
1343
|
+
label?: string;
|
|
1344
|
+
/** Input type */
|
|
1345
|
+
type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url';
|
|
1346
|
+
/** Placeholder text */
|
|
1347
|
+
placeholder?: string;
|
|
1348
|
+
/** Disabled state */
|
|
1349
|
+
disabled?: boolean;
|
|
1350
|
+
/** Autofocus on mount */
|
|
1351
|
+
autoFocus?: boolean;
|
|
1352
|
+
/** Autocomplete attribute */
|
|
1353
|
+
autoComplete?: string;
|
|
1354
|
+
/** Required field */
|
|
1355
|
+
required?: boolean;
|
|
1356
|
+
/** Error state (boolean shows error style, string shows error message) */
|
|
1357
|
+
error?: boolean | string;
|
|
1358
|
+
/** HTML id (auto-generated if not provided) */
|
|
1359
|
+
id?: string;
|
|
1360
|
+
/** Additional CSS class */
|
|
1361
|
+
className?: string;
|
|
1362
|
+
}
|
|
1363
|
+
/**
|
|
1364
|
+
* FormInput - Text input with label and error support
|
|
1365
|
+
*
|
|
1366
|
+
* Pure UI component for single-line text inputs.
|
|
1367
|
+
* Fully controlled - all state managed by parent.
|
|
1368
|
+
*
|
|
1369
|
+
* @example
|
|
1370
|
+
* <FormInput
|
|
1371
|
+
* label="Email"
|
|
1372
|
+
* type="email"
|
|
1373
|
+
* value={email}
|
|
1374
|
+
* onChange={setEmail}
|
|
1375
|
+
* error={emailError}
|
|
1376
|
+
* />
|
|
1377
|
+
*/
|
|
1378
|
+
declare function FormInput({ value, onChange, label, type, placeholder, disabled, autoFocus, autoComplete, required, error, id, className, }: FormInputProps): react_jsx_runtime.JSX.Element;
|
|
1379
|
+
|
|
1380
|
+
interface FormTextareaProps {
|
|
1381
|
+
/** Current value (controlled) */
|
|
1382
|
+
value: string;
|
|
1383
|
+
/** Change handler */
|
|
1384
|
+
onChange: (value: string) => void;
|
|
1385
|
+
/** Field label */
|
|
1386
|
+
label?: string;
|
|
1387
|
+
/** Number of visible rows */
|
|
1388
|
+
rows?: number;
|
|
1389
|
+
/** Placeholder text */
|
|
1390
|
+
placeholder?: string;
|
|
1391
|
+
/** Disabled state */
|
|
1392
|
+
disabled?: boolean;
|
|
1393
|
+
/** Spellcheck enabled */
|
|
1394
|
+
spellCheck?: boolean;
|
|
1395
|
+
/** Required field */
|
|
1396
|
+
required?: boolean;
|
|
1397
|
+
/** Error state (boolean shows error style, string shows error message) */
|
|
1398
|
+
error?: boolean | string;
|
|
1399
|
+
/** HTML id (auto-generated if not provided) */
|
|
1400
|
+
id?: string;
|
|
1401
|
+
/** Additional CSS class */
|
|
1402
|
+
className?: string;
|
|
1403
|
+
}
|
|
1404
|
+
/**
|
|
1405
|
+
* FormTextarea - Multi-line text input with label and error support
|
|
1406
|
+
*
|
|
1407
|
+
* Pure UI component for multi-line text inputs.
|
|
1408
|
+
* Fully controlled - all state managed by parent.
|
|
1409
|
+
*
|
|
1410
|
+
* @example
|
|
1411
|
+
* <FormTextarea
|
|
1412
|
+
* label="Configuration"
|
|
1413
|
+
* value={config}
|
|
1414
|
+
* onChange={setConfig}
|
|
1415
|
+
* rows={15}
|
|
1416
|
+
* spellCheck={false}
|
|
1417
|
+
* />
|
|
1418
|
+
*/
|
|
1419
|
+
declare function FormTextarea({ value, onChange, label, rows, placeholder, disabled, spellCheck, required, error, id, className, }: FormTextareaProps): react_jsx_runtime.JSX.Element;
|
|
1420
|
+
|
|
1421
|
+
interface SubmitButtonProps {
|
|
1422
|
+
/** Button content */
|
|
1423
|
+
children: React.ReactNode;
|
|
1424
|
+
/** Text to show when loading */
|
|
1425
|
+
loadingText?: string;
|
|
1426
|
+
/** Loading state */
|
|
1427
|
+
loading?: boolean;
|
|
1428
|
+
/** Disabled state */
|
|
1429
|
+
disabled?: boolean;
|
|
1430
|
+
/** Visual variant */
|
|
1431
|
+
variant?: 'primary' | 'default' | 'danger';
|
|
1432
|
+
/** Full width button */
|
|
1433
|
+
fullWidth?: boolean;
|
|
1434
|
+
/** Button type */
|
|
1435
|
+
type?: 'submit' | 'button';
|
|
1436
|
+
/** Click handler (for type="button") */
|
|
1437
|
+
onClick?: () => void;
|
|
1438
|
+
/** Additional CSS class */
|
|
1439
|
+
className?: string;
|
|
1440
|
+
}
|
|
1441
|
+
/**
|
|
1442
|
+
* SubmitButton - Form submit button with loading state
|
|
1443
|
+
*
|
|
1444
|
+
* Pure UI component for form submissions.
|
|
1445
|
+
* Shows spinner and loading text when loading=true.
|
|
1446
|
+
*
|
|
1447
|
+
* @example
|
|
1448
|
+
* <SubmitButton loading={isSubmitting} loadingText="Saving...">
|
|
1449
|
+
* Save
|
|
1450
|
+
* </SubmitButton>
|
|
1451
|
+
*/
|
|
1452
|
+
declare function SubmitButton({ children, loadingText, loading, disabled, variant, fullWidth, type, onClick, className, }: SubmitButtonProps): react_jsx_runtime.JSX.Element;
|
|
1453
|
+
|
|
1048
1454
|
/**
|
|
1049
1455
|
* MDXProvider - Makes components available in MDX files without explicit imports
|
|
1050
1456
|
*
|
|
@@ -1121,6 +1527,39 @@ declare const MDXCode: FC<PropsWithChildren<MDXCodeProps>>;
|
|
|
1121
1527
|
*/
|
|
1122
1528
|
declare function cn(...inputs: ClassValue[]): string;
|
|
1123
1529
|
|
|
1530
|
+
interface UseDropdownReturn {
|
|
1531
|
+
/** Whether dropdown is currently open */
|
|
1532
|
+
isOpen: boolean;
|
|
1533
|
+
/** Toggle dropdown open/closed */
|
|
1534
|
+
toggle: () => void;
|
|
1535
|
+
/** Open the dropdown */
|
|
1536
|
+
open: () => void;
|
|
1537
|
+
/** Close the dropdown */
|
|
1538
|
+
close: () => void;
|
|
1539
|
+
/** Ref to attach to the container element for click-outside detection */
|
|
1540
|
+
containerRef: RefObject<HTMLDivElement | null>;
|
|
1541
|
+
}
|
|
1542
|
+
/**
|
|
1543
|
+
* useDropdown - Manages dropdown open/close state with click-outside and keyboard handling
|
|
1544
|
+
*
|
|
1545
|
+
* Provides:
|
|
1546
|
+
* - Open/close state management
|
|
1547
|
+
* - Click-outside detection to close
|
|
1548
|
+
* - Escape key handling to close
|
|
1549
|
+
*
|
|
1550
|
+
* @example
|
|
1551
|
+
* const { isOpen, toggle, close, containerRef } = useDropdown();
|
|
1552
|
+
*
|
|
1553
|
+
* return (
|
|
1554
|
+
* <div ref={containerRef}>
|
|
1555
|
+
* <Dropdown isOpen={isOpen} onToggle={toggle}>
|
|
1556
|
+
* ...
|
|
1557
|
+
* </Dropdown>
|
|
1558
|
+
* </div>
|
|
1559
|
+
* );
|
|
1560
|
+
*/
|
|
1561
|
+
declare function useDropdown(): UseDropdownReturn;
|
|
1562
|
+
|
|
1124
1563
|
declare const palenightTheme: editor.IStandaloneThemeData;
|
|
1125
1564
|
/**
|
|
1126
1565
|
* Register the palenight theme with Monaco Editor
|
|
@@ -1387,4 +1826,4 @@ declare function createRawCapture(destinationEnv: unknown): {
|
|
|
1387
1826
|
}[];
|
|
1388
1827
|
};
|
|
1389
1828
|
|
|
1390
|
-
export { ArchitectureFlow, type ArchitectureFlowProps, Box, type BoxProps, type BoxTab, BrowserBox, type BrowserBoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Code, CodeBox, type CodeBoxProps, type CodeBoxTab, type CodeProps, CodeSnippet, type CodeSnippetProps, CollectorBox, type CollectorBoxProps, ConfigEditor, type ConfigEditorBoxProps, DESTINATION_CONFIG_STRUCTURE, DestinationDemo, type DestinationDemoProps, DestinationInitDemo as DestinationInit, DestinationInitDemo, type DestinationInitDemoProps, DestinationDemo as DestinationPush, type DestinationSchemas, type ExplorerTheme, type FlowColumn, type FlowItem, FlowMap, type FlowMapProps, type FlowSection, type FlowStageConfig, Footer, type FooterProps, Grid, type GridProps, Header, type HeaderProps, type HintItem, LiveCode, type LiveCodeProps, type LoadPackageTypesOptions, MAPPING_RULE_STRUCTURE, MDXCode, MDXProvider, MappingCode, type MappingCodeProps, MappingDemo, type MappingDemoProps, MappingKeyField, MappingKeyWidget, PanelHints, type PanelHintsProps, Preview, type PreviewProps, PromotionPlayground, type PromotionPlaygroundProps, PropertyTable, type PropertyTableProps, captureDestinationPush, cn, createCaptureFn, createFbqDestination, createGtagDestination, createPlausibleDestination, createRawCapture, formatCapturedCalls, initializeMonacoTypes, lighthouseTheme, loadPackageTypes, loadTypeLibraryFromURL, palenightTheme, registerAllThemes, registerLighthouseTheme, registerPalenightTheme, registerWalkerOSTypes };
|
|
1829
|
+
export { Alert, type AlertProps, ArchitectureFlow, type ArchitectureFlowProps, Box, type BoxProps, type BoxTab, BrowserBox, type BrowserBoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Code, CodeBox, type CodeBoxProps, type CodeBoxTab, type CodeProps, CodeSnippet, type CodeSnippetProps, CollectorBox, type CollectorBoxProps, ConfigEditor, type ConfigEditorBoxProps, ConfigFormCard, type ConfigFormCardProps, DESTINATION_CONFIG_STRUCTURE, type DeploymentInfo, DestinationDemo, type DestinationDemoProps, DestinationInitDemo as DestinationInit, DestinationInitDemo, type DestinationInitDemoProps, DestinationDemo as DestinationPush, type DestinationSchemas, Dropdown, DropdownDivider, type DropdownDividerProps, DropdownItem, type DropdownItemProps, type DropdownProps, type ExplorerTheme, type FlowColumn, FlowDeployPanel, type FlowDeployPanelProps, type FlowItem, FlowMap, type FlowMapProps, type FlowSection, FlowSelector, type FlowSelectorFlow, type FlowSelectorProps, type FlowStageConfig, Footer, type FooterProps, FormCard, type FormCardProps, FormField, type FormFieldProps, FormInput, type FormInputProps, FormTextarea, type FormTextareaProps, Grid, type GridProps, Header, type HeaderProps, type HintItem, LiveCode, type LiveCodeProps, type LoadPackageTypesOptions, MAPPING_RULE_STRUCTURE, MDXCode, MDXProvider, MappingCode, type MappingCodeProps, MappingDemo, type MappingDemoProps, MappingKeyField, MappingKeyWidget, PanelHints, type PanelHintsProps, Preview, type PreviewProps, PromotionPlayground, type PromotionPlaygroundProps, PropertyTable, type PropertyTableProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonAction, type SplitButtonProps, SubmitButton, type SubmitButtonProps, type UseDropdownReturn, captureDestinationPush, cn, createCaptureFn, createFbqDestination, createGtagDestination, createPlausibleDestination, createRawCapture, formatCapturedCalls, initializeMonacoTypes, lighthouseTheme, loadPackageTypes, loadTypeLibraryFromURL, palenightTheme, registerAllThemes, registerLighthouseTheme, registerPalenightTheme, registerWalkerOSTypes, useDropdown };
|
package/dist/index.d.ts
CHANGED
|
@@ -23,11 +23,23 @@ export { CodeBox } from './components/molecules/code-box';
|
|
|
23
23
|
export { CodeSnippet } from './components/molecules/code-snippet';
|
|
24
24
|
export { FlowMap } from './components/molecules/flow-map';
|
|
25
25
|
export { PropertyTable } from './components/molecules/property-table';
|
|
26
|
+
export { FormCard } from './components/molecules/form-card';
|
|
27
|
+
export { Dropdown, DropdownItem, DropdownDivider, } from './components/molecules/dropdown';
|
|
28
|
+
export { ConfigFormCard } from './components/molecules/config-form-card';
|
|
26
29
|
export type { ArchitectureFlowProps, FlowColumn, FlowSection, FlowItem, } from './components/molecules/architecture-flow';
|
|
27
30
|
export type { CodeBoxProps, CodeBoxTab } from './components/molecules/code-box';
|
|
28
31
|
export type { CodeSnippetProps } from './components/molecules/code-snippet';
|
|
29
32
|
export type { FlowMapProps, FlowStageConfig, } from './components/molecules/flow-map';
|
|
30
33
|
export type { PropertyTableProps } from './components/molecules/property-table';
|
|
34
|
+
export { SplitButton } from './components/molecules/split-button';
|
|
35
|
+
export type { SplitButtonProps, SplitButtonAction, } from './components/molecules/split-button';
|
|
36
|
+
export { FlowSelector } from './components/molecules/flow-selector';
|
|
37
|
+
export type { FlowSelectorProps, FlowSelectorFlow, } from './components/molecules/flow-selector';
|
|
38
|
+
export { FlowDeployPanel } from './components/molecules/flow-deploy-panel';
|
|
39
|
+
export type { FlowDeployPanelProps, DeploymentInfo, } from './components/molecules/flow-deploy-panel';
|
|
40
|
+
export type { FormCardProps } from './components/molecules/form-card';
|
|
41
|
+
export type { DropdownProps, DropdownItemProps, DropdownDividerProps, } from './components/molecules/dropdown';
|
|
42
|
+
export type { ConfigFormCardProps } from './components/molecules/config-form-card';
|
|
31
43
|
export type { DestinationSchemas } from './types/schemas';
|
|
32
44
|
export { DESTINATION_CONFIG_STRUCTURE, MAPPING_RULE_STRUCTURE, } from './schemas/config-structures';
|
|
33
45
|
export { Preview } from './components/molecules/preview';
|
|
@@ -43,6 +55,12 @@ export { ButtonLink } from './components/atoms/button-link';
|
|
|
43
55
|
export { MappingKeyWidget } from './components/atoms/mapping-key';
|
|
44
56
|
export { MappingKeyField } from './components/atoms/mapping-key-field';
|
|
45
57
|
export { PanelHints } from './components/atoms/panel-hints';
|
|
58
|
+
export { Spinner } from './components/atoms/spinner';
|
|
59
|
+
export { Alert } from './components/atoms/alert';
|
|
60
|
+
export { FormField } from './components/atoms/form-field';
|
|
61
|
+
export { FormInput } from './components/atoms/form-input';
|
|
62
|
+
export { FormTextarea } from './components/atoms/form-textarea';
|
|
63
|
+
export { SubmitButton } from './components/atoms/submit-button';
|
|
46
64
|
export { Icon } from './components/atoms/icons';
|
|
47
65
|
export type { CodeProps } from './components/atoms/code';
|
|
48
66
|
export type { BoxProps, BoxTab } from './components/atoms/box';
|
|
@@ -53,9 +71,17 @@ export type { ButtonProps } from './components/atoms/button';
|
|
|
53
71
|
export type { ButtonGroupProps } from './components/atoms/button-group';
|
|
54
72
|
export type { ButtonLinkProps } from './components/atoms/button-link';
|
|
55
73
|
export type { PanelHintsProps, HintItem } from './components/atoms/panel-hints';
|
|
74
|
+
export type { SpinnerProps } from './components/atoms/spinner';
|
|
75
|
+
export type { AlertProps } from './components/atoms/alert';
|
|
76
|
+
export type { FormFieldProps } from './components/atoms/form-field';
|
|
77
|
+
export type { FormInputProps } from './components/atoms/form-input';
|
|
78
|
+
export type { FormTextareaProps } from './components/atoms/form-textarea';
|
|
79
|
+
export type { SubmitButtonProps } from './components/atoms/submit-button';
|
|
56
80
|
export { MDXProvider } from './providers/MDXProvider';
|
|
57
81
|
export { MDXCode } from './components/atoms/mdx-code';
|
|
58
82
|
export { cn } from './lib/utils';
|
|
83
|
+
export { useDropdown } from './hooks/useDropdown';
|
|
84
|
+
export type { UseDropdownReturn } from './hooks/useDropdown';
|
|
59
85
|
export { palenightTheme, lighthouseTheme, registerPalenightTheme, registerLighthouseTheme, registerAllThemes, } from './themes';
|
|
60
86
|
export type { ExplorerTheme } from './themes';
|
|
61
87
|
export { registerWalkerOSTypes, initializeMonacoTypes, loadPackageTypes, loadTypeLibraryFromURL, } from './utils/monaco-types';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EACL,eAAe,EACf,eAAe,GAChB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,YAAY,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACvE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACvE,YAAY,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,YAAY,EAAE,wBAAwB,EAAE,MAAM,wCAA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AAoB,EACpB,0BAA0B,GAC3B,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -18,6 +18,12 @@ export { CodeBox } from './components/molecules/code-box';
|
|
|
18
18
|
export { CodeSnippet } from './components/molecules/code-snippet';
|
|
19
19
|
export { FlowMap } from './components/molecules/flow-map';
|
|
20
20
|
export { PropertyTable } from './components/molecules/property-table';
|
|
21
|
+
export { FormCard } from './components/molecules/form-card';
|
|
22
|
+
export { Dropdown, DropdownItem, DropdownDivider, } from './components/molecules/dropdown';
|
|
23
|
+
export { ConfigFormCard } from './components/molecules/config-form-card';
|
|
24
|
+
export { SplitButton } from './components/molecules/split-button';
|
|
25
|
+
export { FlowSelector } from './components/molecules/flow-selector';
|
|
26
|
+
export { FlowDeployPanel } from './components/molecules/flow-deploy-panel';
|
|
21
27
|
// Config structures
|
|
22
28
|
export { DESTINATION_CONFIG_STRUCTURE, MAPPING_RULE_STRUCTURE, } from './schemas/config-structures';
|
|
23
29
|
export { Preview } from './components/molecules/preview';
|
|
@@ -33,12 +39,20 @@ export { ButtonLink } from './components/atoms/button-link';
|
|
|
33
39
|
export { MappingKeyWidget } from './components/atoms/mapping-key';
|
|
34
40
|
export { MappingKeyField } from './components/atoms/mapping-key-field';
|
|
35
41
|
export { PanelHints } from './components/atoms/panel-hints';
|
|
42
|
+
export { Spinner } from './components/atoms/spinner';
|
|
43
|
+
export { Alert } from './components/atoms/alert';
|
|
44
|
+
export { FormField } from './components/atoms/form-field';
|
|
45
|
+
export { FormInput } from './components/atoms/form-input';
|
|
46
|
+
export { FormTextarea } from './components/atoms/form-textarea';
|
|
47
|
+
export { SubmitButton } from './components/atoms/submit-button';
|
|
36
48
|
export { Icon } from './components/atoms/icons';
|
|
37
49
|
// MDX Integration
|
|
38
50
|
export { MDXProvider } from './providers/MDXProvider';
|
|
39
51
|
export { MDXCode } from './components/atoms/mdx-code';
|
|
40
52
|
// Utility
|
|
41
53
|
export { cn } from './lib/utils';
|
|
54
|
+
// Hooks
|
|
55
|
+
export { useDropdown } from './hooks/useDropdown';
|
|
42
56
|
// Monaco Editor themes
|
|
43
57
|
export { palenightTheme, lighthouseTheme, registerPalenightTheme, registerLighthouseTheme, registerAllThemes, } from './themes';
|
|
44
58
|
// Monaco Editor type registration
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qBAAqB;AACrB,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EACL,eAAe,EACf,eAAe,GAChB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAO7E,gDAAgD;AAChD,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAAE,mBAAmB,IAAI,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAEhG,YAAY;AACZ,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAMlF,YAAY;AACZ,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;A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