@randstad-uca/design-system 1.0.23 → 1.0.25
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/dist/components/Button.d.ts +1 -1
- package/dist/components/Form.d.ts +2 -1
- package/dist/components/FormGroup.d.ts +11 -0
- package/dist/components/Modal.d.ts +4 -1
- package/dist/components/Select.d.ts +2 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +752 -335
- package/dist/index.js.map +1 -1
- package/dist/package.json +2 -1
- package/dist/stories/Button.stories.d.ts +3 -1
- package/dist/stories/Form.stories.d.ts +4 -0
- package/package.json +2 -1
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/web-components';
|
|
2
2
|
import '../components/Button';
|
|
3
3
|
interface ButtonArgs {
|
|
4
|
-
variant: 'button-primary' | 'button-secondary' | 'button-tertiary' | 'button-round';
|
|
4
|
+
variant: 'button-primary' | 'button-secondary' | 'button-tertiary' | 'button-round' | 'button-card';
|
|
5
5
|
size: 'md' | 'lg';
|
|
6
6
|
label: string;
|
|
7
7
|
loader: boolean;
|
|
@@ -25,3 +25,5 @@ export declare const Secondary: Story;
|
|
|
25
25
|
export declare const Tertiary: Story;
|
|
26
26
|
export declare const GoogleRoundButton: Story;
|
|
27
27
|
export declare const FacebookRoundButton: Story;
|
|
28
|
+
export declare const CardButton: Story;
|
|
29
|
+
export declare const CardButtonDisabled: Story;
|
|
@@ -19,6 +19,8 @@ export interface FormProps {
|
|
|
19
19
|
labelColor?: string;
|
|
20
20
|
cleanButton?: boolean;
|
|
21
21
|
maxLength?: number;
|
|
22
|
+
required?: boolean;
|
|
23
|
+
optional?: boolean;
|
|
22
24
|
}
|
|
23
25
|
declare const meta: Meta<FormProps>;
|
|
24
26
|
export default meta;
|
|
@@ -42,3 +44,5 @@ export declare const Link: Story;
|
|
|
42
44
|
export declare const LabelColor: Story;
|
|
43
45
|
export declare const WithMaxLength: Story;
|
|
44
46
|
export declare const WithCleanButton: Story;
|
|
47
|
+
export declare const Required: Story;
|
|
48
|
+
export declare const Optional: Story;
|