@randstad-uca/design-system 1.0.24 → 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/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 +670 -295
- package/dist/index.js.map +1 -1
- package/dist/package.json +2 -1
- package/dist/stories/Form.stories.d.ts +4 -0
- package/package.json +2 -1
- package/dist/assets/icons/arrow_back.svg +0 -10
package/dist/package.json
CHANGED
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0_3095_5899)">
|
|
3
|
-
<path d="M21.475 12.2H3.725L8.575 7.35C8.775 7.15 8.775 6.85 8.575 6.65C8.375 6.45 8.075 6.45 7.875 6.65L2.15 12.35C1.95 12.55 1.95 12.85 2.15 13.05L7.8 18.7C7.9 18.8 8.025 18.85 8.15 18.85C8.275 18.85 8.4 18.8 8.5 18.7C8.7 18.5 8.7 18.2 8.5 18L3.725 13.2H21.5C21.775 13.2 22 12.975 22 12.7C22 12.425 21.75 12.2 21.475 12.2Z" fill="#2175D9"/>
|
|
4
|
-
</g>
|
|
5
|
-
<defs>
|
|
6
|
-
<clipPath id="clip0_3095_5899">
|
|
7
|
-
<rect width="24" height="24" fill="white" transform="translate(0 0.5)"/>
|
|
8
|
-
</clipPath>
|
|
9
|
-
</defs>
|
|
10
|
-
</svg>
|