@sudobility/hr-components 1.0.7

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/README.md ADDED
@@ -0,0 +1,23 @@
1
+ # @sudobility/hr-components
2
+
3
+ HR and employment UI components for React
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @sudobility/hr-components
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```tsx
14
+ import { ComponentName } from '@sudobility/hr-components';
15
+
16
+ function App() {
17
+ return <ComponentName />;
18
+ }
19
+ ```
20
+
21
+ ## License
22
+
23
+ MIT
@@ -0,0 +1,34 @@
1
+ /**
2
+ * UattendanceUcalendar Component
3
+ *
4
+ * A reusable UattendanceUcalendar component with full dark mode support.
5
+ * Optimized for accessibility and AI-assisted development.
6
+ *
7
+ * @component
8
+ * @example
9
+ * ```tsx
10
+ * <UattendanceUcalendar 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/attendance-calendar}
21
+ */
22
+ export interface UattendanceUcalendarProps {
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 UattendanceUcalendar: ({ className, children, disabled, onClick, }: UattendanceUcalendarProps) => import("react/jsx-runtime").JSX.Element;
33
+ export default UattendanceUcalendar;
34
+ //# sourceMappingURL=attendance-calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attendance-calendar.d.ts","sourceRoot":"","sources":["../src/attendance-calendar.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,MAAM,WAAW,yBAAyB;IACxC,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,oBAAoB,GAAI,6CAKlC,yBAAyB,4CAmB3B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * CandidateCard Component
3
+ *
4
+ * HR & recruiting component with full dark mode support.
5
+ *
6
+ * @component
7
+ * @example
8
+ * ```tsx
9
+ * <CandidateCard className="custom-class" />
10
+ * ```
11
+ */
12
+ export interface CandidateCardProps {
13
+ className?: string;
14
+ children?: React.ReactNode;
15
+ disabled?: boolean;
16
+ }
17
+ export declare const CandidateCard: ({ className, children, disabled, }: CandidateCardProps) => import("react/jsx-runtime").JSX.Element;
18
+ export default CandidateCard;
19
+ //# sourceMappingURL=candidate-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"candidate-card.d.ts","sourceRoot":"","sources":["../src/candidate-card.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,GAAI,oCAI3B,kBAAkB,4CAiBpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,47 @@
1
+ import { default as React } from 'react';
2
+ export interface Comment {
3
+ id: string;
4
+ author: string;
5
+ avatar?: string;
6
+ content: string;
7
+ timestamp: string;
8
+ replies?: Comment[];
9
+ }
10
+ export interface CommentThreadProps {
11
+ /** Comments data */
12
+ comments: Comment[];
13
+ /** Reply handler */
14
+ onReply?: (commentId: string, content: string) => void;
15
+ /** Delete handler */
16
+ onDelete?: (commentId: string) => void;
17
+ /** Max nesting level */
18
+ maxDepth?: number;
19
+ /** Additional className */
20
+ className?: string;
21
+ }
22
+ /**
23
+ * CommentThread Component
24
+ *
25
+ * Nested comment thread with replies.
26
+ * Supports avatars, timestamps, and actions.
27
+ *
28
+ * @example
29
+ * ```tsx
30
+ * <CommentThread
31
+ * comments={[
32
+ * {
33
+ * id: '1',
34
+ * author: 'John Doe',
35
+ * content: 'Great article!',
36
+ * timestamp: '2 hours ago',
37
+ * replies: [...]
38
+ * }
39
+ * ]}
40
+ * onReply={(id, content) => handleReply(id, content)}
41
+ * maxDepth={3}
42
+ * />
43
+ * ```
44
+ */
45
+ export declare const CommentThread: React.FC<CommentThreadProps>;
46
+ export default CommentThread;
47
+ //# sourceMappingURL=comment-thread.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment-thread.d.ts","sourceRoot":"","sources":["../src/comment-thread.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,kBAAkB;IACjC,oBAAoB;IACpB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,oBAAoB;IACpB,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD,qBAAqB;IACrB,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,wBAAwB;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgItD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * hr-components
3
+ *
4
+ * Specialized components for the hr domain
5
+ *
6
+ * @package @sudobility/hr-components
7
+ */
8
+ export * from './attendance-calendar';
9
+ export * from './candidate-card';
10
+ export * from './comment-thread';
11
+ export * from './interview-scheduler';
12
+ export * from './job-posting';
13
+ export * from './onboarding-checklist';
14
+ export * from './shift-planner';
15
+ export * from './skill-progress';
16
+ export * from './team-management';
17
+ export * from './team-roster';
18
+ export * from './timesheet-entry';
19
+ export * from './user-table';
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,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC"}