@emporix/component-library 1.2.1 → 1.3.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.
@@ -1,25 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface SecondaryButtonProps {
3
- /**
4
- * The content of the button
5
- */
6
- children: React.ReactNode;
7
- /**
8
- * Whether the button is disabled
9
- */
10
- disabled?: boolean;
11
- /**
12
- * Click handler
13
- */
14
- onClick?: () => void;
15
- /**
16
- * Additional CSS class name
17
- */
18
- className?: string;
19
- /**
20
- * Test ID for testing
21
- */
22
- 'data-testid'?: string;
23
- }
24
- export declare const SecondaryButton: ({ children, disabled, onClick, className, "data-testid": testId, ...props }: SecondaryButtonProps) => import("react/jsx-runtime").JSX.Element;
25
- //# sourceMappingURL=SecondaryButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SecondaryButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/SecondaryButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,eAAO,MAAM,eAAe,GAAI,6EAO7B,oBAAoB,4CAqBtB,CAAA"}
@@ -1,39 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface TabItem {
3
- /**
4
- * Unique identifier for the tab
5
- */
6
- id: string;
7
- /**
8
- * Display label for the tab
9
- */
10
- label: string;
11
- /**
12
- * Content to display when tab is active
13
- */
14
- content: ReactNode;
15
- }
16
- export interface TabsProps {
17
- /**
18
- * Array of tab items to display
19
- */
20
- tabs: TabItem[];
21
- /**
22
- * ID of the currently active tab
23
- */
24
- activeTabId: string;
25
- /**
26
- * Callback function when tab is changed
27
- */
28
- onTabChange: (tabId: string) => void;
29
- /**
30
- * Additional CSS class name
31
- */
32
- className?: string;
33
- /**
34
- * Test ID for testing
35
- */
36
- 'data-testid'?: string;
37
- }
38
- export declare const Tabs: ({ tabs, activeTabId, onTabChange, className, "data-testid": testId, ...props }: TabsProps) => import("react/jsx-runtime").JSX.Element;
39
- //# sourceMappingURL=Tabs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGjC,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,OAAO,EAAE,SAAS,CAAA;CACnB;AAED,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,IAAI,EAAE,OAAO,EAAE,CAAA;IACf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,eAAO,MAAM,IAAI,GAAI,gFAOlB,SAAS,4CAsCX,CAAA"}
package/dist/index.d.ts DELETED
@@ -1,7 +0,0 @@
1
- export { PrimaryButton } from './components/buttons/PrimaryButton';
2
- export type { PrimaryButtonProps } from './components/buttons/PrimaryButton';
3
- export { SecondaryButton } from './components/buttons/SecondaryButton';
4
- export type { SecondaryButtonProps } from './components/buttons/SecondaryButton';
5
- export { Tabs } from './components/tabs/Tabs';
6
- export type { TabsProps, TabItem } from './components/tabs/Tabs';
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAClE,YAAY,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAA;AAE5E,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAA;AACtE,YAAY,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAA;AAEhF,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAGhE,OAAO,qBAAqB,CAAA"}