@floegence/floe-webapp-core 0.15.3 → 0.15.4

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 (136) hide show
  1. package/dist/components/ui/Stepper.d.ts +85 -0
  2. package/dist/components/ui/index.d.ts +1 -0
  3. package/dist/index.js +440 -436
  4. package/dist/index10.js +2 -2
  5. package/dist/index100.js +29 -511
  6. package/dist/index101.js +519 -36
  7. package/dist/index102.js +31 -12
  8. package/dist/index103.js +15 -123
  9. package/dist/index104.js +127 -13
  10. package/dist/index105.js +13 -10
  11. package/dist/index106.js +10 -22
  12. package/dist/index107.js +22 -10
  13. package/dist/index108.js +10 -8
  14. package/dist/index109.js +8 -74
  15. package/dist/index11.js +4 -4
  16. package/dist/index110.js +61 -132
  17. package/dist/index111.js +145 -5
  18. package/dist/index112.js +5 -11
  19. package/dist/index113.js +10 -25
  20. package/dist/index114.js +24 -30
  21. package/dist/index115.js +31 -90
  22. package/dist/index116.js +90 -26
  23. package/dist/index117.js +24 -43
  24. package/dist/index118.js +45 -13
  25. package/dist/index119.js +14 -35
  26. package/dist/index12.js +5 -5
  27. package/dist/index120.js +33 -62
  28. package/dist/index121.js +61 -81
  29. package/dist/index122.js +84 -13
  30. package/dist/index123.js +14 -2763
  31. package/dist/index124.js +2763 -8
  32. package/dist/index125.js +7 -17
  33. package/dist/index126.js +17 -123
  34. package/dist/index127.js +122 -38
  35. package/dist/index128.js +37 -29
  36. package/dist/index129.js +31 -1111
  37. package/dist/index13.js +3 -3
  38. package/dist/index130.js +1111 -30
  39. package/dist/index131.js +29 -130
  40. package/dist/index132.js +134 -0
  41. package/dist/index14.js +4 -4
  42. package/dist/index15.js +5 -5
  43. package/dist/index16.js +5 -5
  44. package/dist/index17.js +4 -4
  45. package/dist/index18.js +7 -7
  46. package/dist/index19.js +2 -2
  47. package/dist/index2.js +6 -6
  48. package/dist/index20.js +2 -2
  49. package/dist/index21.js +2 -2
  50. package/dist/index22.js +4 -4
  51. package/dist/index23.js +4 -4
  52. package/dist/index24.js +3 -3
  53. package/dist/index25.js +1 -1
  54. package/dist/index26.js +5 -5
  55. package/dist/index27.js +1 -1
  56. package/dist/index28.js +3 -3
  57. package/dist/index29.js +2 -2
  58. package/dist/index3.js +2 -2
  59. package/dist/index30.js +3 -3
  60. package/dist/index31.js +4 -4
  61. package/dist/index32.js +1 -1
  62. package/dist/index33.js +2 -2
  63. package/dist/index34.js +1 -1
  64. package/dist/index35.js +1 -1
  65. package/dist/index36.js +3 -3
  66. package/dist/index37.js +297 -76
  67. package/dist/index38.js +86 -37
  68. package/dist/index39.js +37 -66
  69. package/dist/index4.js +1 -1
  70. package/dist/index40.js +69 -2104
  71. package/dist/index41.js +2104 -167
  72. package/dist/index42.js +162 -23
  73. package/dist/index43.js +25 -45
  74. package/dist/index44.js +45 -10
  75. package/dist/index45.js +10 -27
  76. package/dist/index46.js +27 -246
  77. package/dist/index47.js +240 -358
  78. package/dist/index48.js +359 -174
  79. package/dist/index49.js +151 -403
  80. package/dist/index5.js +4 -4
  81. package/dist/index50.js +373 -192
  82. package/dist/index51.js +242 -200
  83. package/dist/index52.js +204 -145
  84. package/dist/index53.js +142 -113
  85. package/dist/index54.js +119 -47
  86. package/dist/index55.js +50 -91
  87. package/dist/index56.js +84 -301
  88. package/dist/index57.js +308 -8
  89. package/dist/index58.js +9 -142
  90. package/dist/index59.js +108 -70
  91. package/dist/index6.js +2 -2
  92. package/dist/index60.js +95 -40
  93. package/dist/index61.js +43 -36
  94. package/dist/index62.js +36 -38
  95. package/dist/index63.js +34 -32
  96. package/dist/index64.js +35 -43
  97. package/dist/index65.js +50 -278
  98. package/dist/index66.js +277 -8
  99. package/dist/index67.js +9 -59
  100. package/dist/index68.js +51 -75
  101. package/dist/index69.js +58 -148
  102. package/dist/index7.js +2 -2
  103. package/dist/index70.js +158 -122
  104. package/dist/index71.js +137 -18
  105. package/dist/index72.js +18 -136
  106. package/dist/index73.js +135 -22
  107. package/dist/index74.js +23 -33
  108. package/dist/index75.js +33 -29
  109. package/dist/index76.js +23 -22
  110. package/dist/index77.js +18 -278
  111. package/dist/index78.js +271 -59
  112. package/dist/index79.js +71 -58
  113. package/dist/index8.js +2 -2
  114. package/dist/index80.js +63 -9
  115. package/dist/index81.js +7 -7
  116. package/dist/index82.js +8 -45
  117. package/dist/index83.js +45 -115
  118. package/dist/index84.js +109 -67
  119. package/dist/index85.js +54 -53
  120. package/dist/index86.js +69 -30
  121. package/dist/index87.js +28 -89
  122. package/dist/index88.js +90 -44
  123. package/dist/index89.js +40 -29
  124. package/dist/index9.js +1 -1
  125. package/dist/index90.js +31 -42
  126. package/dist/index91.js +48 -17
  127. package/dist/index92.js +16 -24
  128. package/dist/index93.js +21 -197
  129. package/dist/index94.js +197 -36
  130. package/dist/index95.js +38 -63
  131. package/dist/index96.js +62 -103
  132. package/dist/index97.js +98 -110
  133. package/dist/index98.js +111 -134
  134. package/dist/index99.js +134 -32
  135. package/dist/styles.css +1 -1
  136. package/package.json +1 -1
@@ -0,0 +1,85 @@
1
+ /**
2
+ * Stepper component for multi-step workflows.
3
+ * Displays a horizontal or vertical list of steps with visual indicators for progress.
4
+ */
5
+ import { type JSX, type Accessor } from 'solid-js';
6
+ export interface StepItem {
7
+ /** Unique identifier for the step */
8
+ id: string;
9
+ /** Display label for the step */
10
+ label: string;
11
+ /** Optional description shown below the label */
12
+ description?: string;
13
+ /** Optional icon to show instead of step number */
14
+ icon?: JSX.Element;
15
+ /** Whether this step is optional (shows "(Optional)" badge) */
16
+ optional?: boolean;
17
+ /** Whether this step is disabled and cannot be clicked */
18
+ disabled?: boolean;
19
+ }
20
+ export type StepperVariant = 'default' | 'minimal' | 'dots';
21
+ export type StepperOrientation = 'horizontal' | 'vertical';
22
+ export type StepperSize = 'sm' | 'md' | 'lg';
23
+ export interface StepperProps {
24
+ /** List of steps to display */
25
+ steps: StepItem[];
26
+ /** Current active step (0-indexed) */
27
+ currentStep: number | Accessor<number>;
28
+ /** Callback when user clicks a step */
29
+ onStepClick?: (stepIndex: number, step: StepItem) => void;
30
+ /** Visual variant */
31
+ variant?: StepperVariant;
32
+ /** Layout orientation */
33
+ orientation?: StepperOrientation;
34
+ /** Size of step indicators */
35
+ size?: StepperSize;
36
+ /** Whether to show connector lines between steps */
37
+ showConnector?: boolean;
38
+ /** Whether clicking on completed steps is allowed */
39
+ allowClickCompleted?: boolean;
40
+ /** Whether clicking on future steps is allowed */
41
+ allowClickFuture?: boolean;
42
+ /** Additional CSS class */
43
+ class?: string;
44
+ }
45
+ export declare function Stepper(props: StepperProps): JSX.Element;
46
+ export interface WizardStepContent {
47
+ /** Content to render for this step */
48
+ content: JSX.Element;
49
+ }
50
+ export interface WizardProps extends Omit<StepperProps, 'steps'> {
51
+ /** Steps with content */
52
+ steps: (StepItem & WizardStepContent)[];
53
+ /** Footer content (e.g., navigation buttons) */
54
+ footer?: JSX.Element;
55
+ /** Class for the content area */
56
+ contentClass?: string;
57
+ /** Class for the footer area */
58
+ footerClass?: string;
59
+ }
60
+ export declare function Wizard(props: WizardProps): JSX.Element;
61
+ export interface UseWizardOptions {
62
+ /** Total number of steps */
63
+ totalSteps: number;
64
+ /** Initial step (default: 0) */
65
+ initialStep?: number;
66
+ /** Callback when step changes */
67
+ onStepChange?: (step: number) => void;
68
+ }
69
+ export interface UseWizardReturn {
70
+ /** Current step (0-indexed) */
71
+ currentStep: Accessor<number>;
72
+ /** Go to next step */
73
+ nextStep: () => void;
74
+ /** Go to previous step */
75
+ prevStep: () => void;
76
+ /** Go to specific step */
77
+ goToStep: (step: number) => void;
78
+ /** Whether currently on first step */
79
+ isFirstStep: Accessor<boolean>;
80
+ /** Whether currently on last step */
81
+ isLastStep: Accessor<boolean>;
82
+ /** Reset to initial step */
83
+ reset: () => void;
84
+ }
85
+ export declare function useWizard(options: UseWizardOptions): UseWizardReturn;
@@ -15,3 +15,4 @@ export { HighlightBlock, InfoBlock, WarningBlock, SuccessBlock, ErrorBlock, Note
15
15
  export { ProcessingIndicator, type ProcessingIndicatorProps, type ProcessingIndicatorVariant, type ProcessingIndicatorStatus, } from './ProcessingIndicator';
16
16
  export { Form, FormField, FormLabel, FormControl, FormDescription, FormMessage, FormActions, FormSection, FormDivider, FormRow, useFormSubmitting, type FormProps, type FormFieldProps, type FormLabelProps, type FormControlProps, type FormDescriptionProps, type FormMessageProps, type FormActionsProps, type FormSectionProps, type FormDividerProps, type FormRowProps, } from './Form';
17
17
  export { LineChart, AreaChart, DataBarChart, DataPieChart, MonitoringChart, type ChartDataPoint, type ChartSeries, type ChartVariant, type LineChartProps, type AreaChartProps, type DataBarChartProps, type DataPieChartProps, type MonitoringChartProps, } from './Charts';
18
+ export { Stepper, Wizard, useWizard, type StepItem, type StepperProps, type StepperVariant, type StepperOrientation, type StepperSize, type WizardProps, type WizardStepContent, type UseWizardOptions, type UseWizardReturn, } from './Stepper';