chiperos-ai-components-library 0.1.0 → 0.1.2

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.
@@ -20,6 +20,11 @@ declare const meta: {
20
20
  control: "text";
21
21
  description: string;
22
22
  };
23
+ variant: {
24
+ control: "select";
25
+ options: string[];
26
+ description: string;
27
+ };
23
28
  disabled: {
24
29
  control: "boolean";
25
30
  description: string;
@@ -48,3 +53,10 @@ export declare const CustomWidth: Story;
48
53
  export declare const AllStates: Story;
49
54
  export declare const FormExample: Story;
50
55
  export declare const Interactive: Story;
56
+ export declare const PrimaryVariant: Story;
57
+ export declare const PrimaryWithValue: Story;
58
+ export declare const PrimaryWithLabel: Story;
59
+ export declare const PrimaryDisabled: Story;
60
+ export declare const PrimaryLongOptions: Story;
61
+ export declare const VariantsComparison: Story;
62
+ export declare const PrimaryInHeader: Story;
@@ -27,6 +27,12 @@ export interface SelectProps {
27
27
  * Label text shown above the selected value
28
28
  */
29
29
  label?: string;
30
+ /**
31
+ * Visual variant of the select
32
+ * - default: white background with border
33
+ * - primary: green background like primary button
34
+ */
35
+ variant?: 'default' | 'primary';
30
36
  /**
31
37
  * Additional CSS classes
32
38
  */
@@ -46,3 +46,4 @@ export declare const OnlySearch: Story;
46
46
  export declare const SearchAndButtons: Story;
47
47
  export declare const ManyFilters: Story;
48
48
  export declare const CustomCards: Story;
49
+ export declare const WithPrimaryDropdown: Story;
@@ -48,6 +48,10 @@ export interface TableHeaderButton {
48
48
  * Selected dropdown value
49
49
  */
50
50
  dropdownValue?: string;
51
+ /**
52
+ * Label for dropdown (shown above value when variant is primary)
53
+ */
54
+ dropdownLabel?: string;
51
55
  /**
52
56
  * Click handler for regular button
53
57
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "chiperos-ai-components-library",
3
3
  "private": false,
4
- "version": "0.1.0",
4
+ "version": "0.1.2",
5
5
  "description": "Chiperos AI Components Library - A modern React component library built with Vite, TypeScript and Tailwind CSS.",
6
6
  "type": "module",
7
7
  "main": "./dist/chiperos-ai-components-library.cjs",