@emeraldemperaur/vector-sigma 1.4.20 → 1.4.22

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.
@@ -31,6 +31,9 @@ export * from './components/xtitle/xtitle';
31
31
  export * from './layouts/container/container';
32
32
  export * from './layouts/column/column';
33
33
  export * from './layouts/row/row';
34
+ export * from './layouts/accordion/accordion';
35
+ export * from './layouts/codex/codex';
36
+ export * from './layouts/codex/codexcontrols';
34
37
  export * from './utils/architect';
35
38
  export * from './utils/uuidparser';
36
39
  export * from './utils/currencyconfig';
@@ -0,0 +1,62 @@
1
+ import React from 'react';
2
+ import '../../styles/main.scss';
3
+ export interface CodexControlsProps {
4
+ /**
5
+ * * The ID of the step to navigate to when 'Next' is clicked.
6
+ * If omitted, the primary button becomes a 'Finish' button.
7
+ * * @example
8
+ * nextStepId="step-3"
9
+ */
10
+ nextStepId?: string;
11
+ /**
12
+ * * The ID of the step to navigate to when 'Back' is clicked.
13
+ * If omitted, the 'Back' button is hidden.
14
+ * * @example
15
+ * prevStepId="step-1"
16
+ */
17
+ prevStepId?: string;
18
+ /**
19
+ * * Custom text for the Next button.
20
+ * Default: "Continue"
21
+ */
22
+ nextLabel?: string;
23
+ /**
24
+ * * Custom icon for the Next button.
25
+ * Default: "Continue"
26
+ */
27
+ nextIcon?: string;
28
+ /**
29
+ * * Custom text for the Previous button.
30
+ * Default: "Back"
31
+ */
32
+ prevLabel?: string;
33
+ /**
34
+ * * Custom icon name for the Previous button.
35
+ * Default: "Back"
36
+ */
37
+ prevIcon?: string;
38
+ /**
39
+ * * Custom text for the Finish button (rendered when nextStepId undefined).
40
+ * Default: "Complete Setup"
41
+ */
42
+ finishLabel?: string;
43
+ /**
44
+ * * Custom icon name for the Finish button (rendered when no nextStepId undefined).
45
+ * Default: "flag"
46
+ */
47
+ finishIcon?: string;
48
+ /**
49
+ * * Optional callback triggered before navigating to the next step.
50
+ * Useful for triggering form validation.
51
+ */
52
+ onNext?: () => void;
53
+ /**
54
+ * * Optional callback triggered before navigating to the previous step.
55
+ */
56
+ onPrev?: () => void;
57
+ /**
58
+ * * Optional callback triggered when the Finish button is clicked.
59
+ */
60
+ onFinish?: () => void;
61
+ }
62
+ export declare const CodexControls: ({ nextStepId, prevStepId, nextLabel, prevLabel, finishLabel, prevIcon, nextIcon, finishIcon, onNext, onPrev, onFinish }: CodexControlsProps) => React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emeraldemperaur/vector-sigma",
3
- "version": "1.4.20",
3
+ "version": "1.4.22",
4
4
  "description": "Dynamic Form Orchestrator: NPM Package",
5
5
  "repository": {
6
6
  "type": "git",