@sudobility/workflow-components 1.0.8

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 (44) hide show
  1. package/dist/blockquote.d.ts +35 -0
  2. package/dist/blockquote.d.ts.map +1 -0
  3. package/dist/checklist-progress.d.ts +33 -0
  4. package/dist/checklist-progress.d.ts.map +1 -0
  5. package/dist/form-builder.d.ts +33 -0
  6. package/dist/form-builder.d.ts.map +1 -0
  7. package/dist/form-template.d.ts +33 -0
  8. package/dist/form-template.d.ts.map +1 -0
  9. package/dist/form-validator.d.ts +33 -0
  10. package/dist/form-validator.d.ts.map +1 -0
  11. package/dist/index.d.ts +20 -0
  12. package/dist/index.d.ts.map +1 -0
  13. package/dist/index.esm.js +654 -0
  14. package/dist/index.esm.js.map +1 -0
  15. package/dist/index.umd.js +7 -0
  16. package/dist/index.umd.js.map +1 -0
  17. package/dist/network-status.d.ts +33 -0
  18. package/dist/network-status.d.ts.map +1 -0
  19. package/dist/process-diagram.d.ts +33 -0
  20. package/dist/process-diagram.d.ts.map +1 -0
  21. package/dist/quote-generator.d.ts +18 -0
  22. package/dist/quote-generator.d.ts.map +1 -0
  23. package/dist/safety-checklist.d.ts +18 -0
  24. package/dist/safety-checklist.d.ts.map +1 -0
  25. package/dist/status-badge.d.ts +17 -0
  26. package/dist/status-badge.d.ts.map +1 -0
  27. package/dist/sticky-note.d.ts +33 -0
  28. package/dist/sticky-note.d.ts.map +1 -0
  29. package/dist/system-status.d.ts +33 -0
  30. package/dist/system-status.d.ts.map +1 -0
  31. package/package.json +53 -0
  32. package/src/blockquote.tsx +89 -0
  33. package/src/checklist-progress.tsx +60 -0
  34. package/src/form-builder.tsx +60 -0
  35. package/src/form-template.tsx +60 -0
  36. package/src/form-validator.tsx +60 -0
  37. package/src/index.ts +20 -0
  38. package/src/network-status.tsx +60 -0
  39. package/src/process-diagram.tsx +60 -0
  40. package/src/quote-generator.tsx +41 -0
  41. package/src/safety-checklist.tsx +41 -0
  42. package/src/status-badge.tsx +140 -0
  43. package/src/sticky-note.tsx +60 -0
  44. package/src/system-status.tsx +60 -0
@@ -0,0 +1,35 @@
1
+ import { default as React } from 'react';
2
+ export interface BlockquoteProps {
3
+ /** Quote content */
4
+ children: React.ReactNode;
5
+ /** Citation/author */
6
+ cite?: string;
7
+ /** Variant style */
8
+ variant?: 'default' | 'bordered' | 'accent';
9
+ /** Size variant */
10
+ size?: 'sm' | 'md' | 'lg';
11
+ /** Additional className */
12
+ className?: string;
13
+ }
14
+ /**
15
+ * Blockquote Component
16
+ *
17
+ * Displays quoted text with optional citation and various styling options.
18
+ * Uses semantic HTML for proper document structure.
19
+ *
20
+ * @example
21
+ * ```tsx
22
+ * <Blockquote cite="John Doe">
23
+ * This is a great quote about something important.
24
+ * </Blockquote>
25
+ * ```
26
+ *
27
+ * @example
28
+ * ```tsx
29
+ * <Blockquote variant="accent" size="lg">
30
+ * Innovation distinguishes between a leader and a follower.
31
+ * </Blockquote>
32
+ * ```
33
+ */
34
+ export declare const Blockquote: React.FC<BlockquoteProps>;
35
+ //# sourceMappingURL=blockquote.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockquote.d.ts","sourceRoot":"","sources":["../src/blockquote.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,eAAe;IAC9B,oBAAoB;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,sBAAsB;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC5C,mBAAmB;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAoDhD,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * UchecklistUprogress Component
3
+ *
4
+ * A reusable UchecklistUprogress component with full dark mode support.
5
+ * Optimized for accessibility and AI-assisted development.
6
+ *
7
+ * @component
8
+ * @example
9
+ * ```tsx
10
+ * <UchecklistUprogress className="custom-class" />
11
+ * ```
12
+ *
13
+ * @remarks
14
+ * This component supports:
15
+ * - Light and dark themes automatically
16
+ * - Responsive design
17
+ * - Accessibility features
18
+ * - TypeScript type safety
19
+ *
20
+ * @see {@link https://docs.example.com/components/checklist-progress}
21
+ */
22
+ export interface UchecklistUprogressProps {
23
+ /** Additional CSS classes */
24
+ className?: string;
25
+ /** Component children */
26
+ children?: React.ReactNode;
27
+ /** Disabled state */
28
+ disabled?: boolean;
29
+ /** Callback when component is interacted with */
30
+ onClick?: () => void;
31
+ }
32
+ export declare const UchecklistUprogress: ({ className, children, disabled, onClick, }: UchecklistUprogressProps) => import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=checklist-progress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checklist-progress.d.ts","sourceRoot":"","sources":["../src/checklist-progress.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,MAAM,WAAW,wBAAwB;IACvC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,mBAAmB,GAAI,6CAKjC,wBAAwB,4CAmB1B,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * UformUbuilder Component
3
+ *
4
+ * A reusable UformUbuilder component with full dark mode support.
5
+ * Optimized for accessibility and AI-assisted development.
6
+ *
7
+ * @component
8
+ * @example
9
+ * ```tsx
10
+ * <UformUbuilder className="custom-class" />
11
+ * ```
12
+ *
13
+ * @remarks
14
+ * This component supports:
15
+ * - Light and dark themes automatically
16
+ * - Responsive design
17
+ * - Accessibility features
18
+ * - TypeScript type safety
19
+ *
20
+ * @see {@link https://docs.example.com/components/form-builder}
21
+ */
22
+ export interface UformUbuilderProps {
23
+ /** Additional CSS classes */
24
+ className?: string;
25
+ /** Component children */
26
+ children?: React.ReactNode;
27
+ /** Disabled state */
28
+ disabled?: boolean;
29
+ /** Callback when component is interacted with */
30
+ onClick?: () => void;
31
+ }
32
+ export declare const UformUbuilder: ({ className, children, disabled, onClick, }: UformUbuilderProps) => import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=form-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-builder.d.ts","sourceRoot":"","sources":["../src/form-builder.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,MAAM,WAAW,kBAAkB;IACjC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,GAAI,6CAK3B,kBAAkB,4CAmBpB,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * UformUtemplate Component
3
+ *
4
+ * A reusable UformUtemplate component with full dark mode support.
5
+ * Optimized for accessibility and AI-assisted development.
6
+ *
7
+ * @component
8
+ * @example
9
+ * ```tsx
10
+ * <UformUtemplate className="custom-class" />
11
+ * ```
12
+ *
13
+ * @remarks
14
+ * This component supports:
15
+ * - Light and dark themes automatically
16
+ * - Responsive design
17
+ * - Accessibility features
18
+ * - TypeScript type safety
19
+ *
20
+ * @see {@link https://docs.example.com/components/form-template}
21
+ */
22
+ export interface UformUtemplateProps {
23
+ /** Additional CSS classes */
24
+ className?: string;
25
+ /** Component children */
26
+ children?: React.ReactNode;
27
+ /** Disabled state */
28
+ disabled?: boolean;
29
+ /** Callback when component is interacted with */
30
+ onClick?: () => void;
31
+ }
32
+ export declare const UformUtemplate: ({ className, children, disabled, onClick, }: UformUtemplateProps) => import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=form-template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-template.d.ts","sourceRoot":"","sources":["../src/form-template.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,MAAM,WAAW,mBAAmB;IAClC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,cAAc,GAAI,6CAK5B,mBAAmB,4CAmBrB,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * UformUvalidator Component
3
+ *
4
+ * A reusable UformUvalidator component with full dark mode support.
5
+ * Optimized for accessibility and AI-assisted development.
6
+ *
7
+ * @component
8
+ * @example
9
+ * ```tsx
10
+ * <UformUvalidator className="custom-class" />
11
+ * ```
12
+ *
13
+ * @remarks
14
+ * This component supports:
15
+ * - Light and dark themes automatically
16
+ * - Responsive design
17
+ * - Accessibility features
18
+ * - TypeScript type safety
19
+ *
20
+ * @see {@link https://docs.example.com/components/form-validator}
21
+ */
22
+ export interface UformUvalidatorProps {
23
+ /** Additional CSS classes */
24
+ className?: string;
25
+ /** Component children */
26
+ children?: React.ReactNode;
27
+ /** Disabled state */
28
+ disabled?: boolean;
29
+ /** Callback when component is interacted with */
30
+ onClick?: () => void;
31
+ }
32
+ export declare const UformUvalidator: ({ className, children, disabled, onClick, }: UformUvalidatorProps) => import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=form-validator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-validator.d.ts","sourceRoot":"","sources":["../src/form-validator.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,MAAM,WAAW,oBAAoB;IACnC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,GAAI,6CAK7B,oBAAoB,4CAmBtB,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * workflow-components
3
+ *
4
+ * Specialized components for the workflow domain
5
+ *
6
+ * @package @sudobility/workflow-components
7
+ */
8
+ export * from './blockquote';
9
+ export * from './checklist-progress';
10
+ export * from './form-builder';
11
+ export * from './form-template';
12
+ export * from './form-validator';
13
+ export * from './network-status';
14
+ export * from './process-diagram';
15
+ export * from './quote-generator';
16
+ export * from './safety-checklist';
17
+ export * from './status-badge';
18
+ export * from './sticky-note';
19
+ export * from './system-status';
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}