keystone-design-bootstrap 1.0.62 → 1.0.64
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/design_system/components/DynamicFormFields.d.ts +15 -0
- package/dist/design_system/components/DynamicFormFields.js +5049 -0
- package/dist/design_system/components/DynamicFormFields.js.map +1 -0
- package/dist/design_system/sections/index.d.ts +2 -1
- package/dist/design_system/sections/index.js +78 -31
- package/dist/design_system/sections/index.js.map +1 -1
- package/dist/form-C94A_PX_.d.ts +36 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +78 -31
- package/dist/index.js.map +1 -1
- package/dist/lib/server-api.d.ts +6 -3
- package/dist/lib/server-api.js +4 -0
- package/dist/lib/server-api.js.map +1 -1
- package/dist/{package-CB1tENyG.d.ts → package-DeHKpQp7.d.ts} +3 -30
- package/dist/tracking/index.d.ts +52 -0
- package/dist/tracking/index.js +175 -0
- package/dist/tracking/index.js.map +1 -0
- package/dist/types/index.d.ts +2 -1
- package/package.json +2 -1
- package/src/design_system/components/DynamicFormFields.tsx +100 -24
- package/src/lib/server-api.ts +7 -1
- package/src/next/legal/privacy-policy.tsx +4 -8
- package/src/next/legal/terms-of-service.tsx +4 -8
- package/src/types/api/company-information.ts +2 -0
- package/src/types/api/form.ts +7 -0
- package/src/next/legal/privacy-policy.default.ts +0 -95
- package/src/next/legal/terms-of-service.default.ts +0 -80
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { F as FormDefinition } from '../../form-C94A_PX_.js';
|
|
3
|
+
|
|
4
|
+
interface DynamicFormFieldsProps {
|
|
5
|
+
/** Form definition from API (fields array + optional settings). */
|
|
6
|
+
form: FormDefinition;
|
|
7
|
+
/** For job_application forms: add hidden jobSlug input. */
|
|
8
|
+
jobSlug?: string;
|
|
9
|
+
/** Optional URLs for ToS/Privacy links in consent checkbox label. */
|
|
10
|
+
privacyPolicyUrl?: string;
|
|
11
|
+
termsOfServiceUrl?: string;
|
|
12
|
+
}
|
|
13
|
+
declare function DynamicFormFields({ form, jobSlug, privacyPolicyUrl, termsOfServiceUrl }: DynamicFormFieldsProps): React__default.JSX.Element;
|
|
14
|
+
|
|
15
|
+
export { DynamicFormFields, type DynamicFormFieldsProps };
|