@entur/form 5.4.15 → 5.4.16
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/BaseFormControl.d.ts +1 -1
- package/dist/Checkbox.d.ts +1 -1
- package/dist/FeedbackText.d.ts +1 -1
- package/dist/Fieldset.d.ts +1 -1
- package/dist/InputGroupContext.d.ts +1 -1
- package/dist/InputGroupLabel.d.ts +1 -1
- package/dist/Radio.d.ts +1 -1
- package/dist/RadioGroup.d.ts +1 -1
- package/dist/RadioGroupContext.d.ts +1 -1
- package/dist/RadioPanel.d.ts +1 -1
- package/dist/Switch.d.ts +1 -1
- package/dist/TextArea.d.ts +1 -1
- package/dist/TextField.d.ts +1 -1
- package/dist/TravelSwitch.d.ts +1 -1
- package/dist/VariantProvider.d.ts +2 -2
- package/dist/form.cjs.development.js +198 -278
- package/dist/form.cjs.development.js.map +1 -1
- package/dist/form.cjs.production.min.js +1 -1
- package/dist/form.cjs.production.min.js.map +1 -1
- package/dist/form.esm.js +198 -278
- package/dist/form.esm.js.map +1 -1
- package/dist/segmented-control/MultipleSegmentedControl.d.ts +1 -1
- package/dist/segmented-control/SegmentedChoice.d.ts +1 -1
- package/dist/segmented-control/SegmentedContext.d.ts +4 -4
- package/dist/segmented-control/SegmentedControl.d.ts +1 -1
- package/dist/styles.css +356 -387
- package/dist/variants.d.ts +1 -1
- package/package.json +7 -7
- package/CHANGELOG.md +0 -836
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './BaseFormControl.scss';
|
|
3
3
|
import { VariantType } from './VariantProvider';
|
|
4
|
-
export
|
|
4
|
+
export type BaseFormControlProps = {
|
|
5
5
|
/** Et skjemaelement med `eds-form-control`-klassen */
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
/** Ekstra klassenavn */
|
package/dist/Checkbox.d.ts
CHANGED
package/dist/FeedbackText.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { VariantType } from './VariantProvider';
|
|
3
3
|
import './FeedbackText.scss';
|
|
4
|
-
export
|
|
4
|
+
export type FeedbackTextProps = {
|
|
5
5
|
/** Teksten som vises */
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
/** Skjuler ikonet */
|
package/dist/Fieldset.d.ts
CHANGED
package/dist/Radio.d.ts
CHANGED
package/dist/RadioGroup.d.ts
CHANGED
package/dist/RadioPanel.d.ts
CHANGED
package/dist/Switch.d.ts
CHANGED
package/dist/TextArea.d.ts
CHANGED
package/dist/TextField.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { VariantType } from './VariantProvider';
|
|
3
3
|
import './TextField.scss';
|
|
4
|
-
export
|
|
4
|
+
export type TextFieldProps = {
|
|
5
5
|
/** Tekst eller ikon som kommer før inputfeltet */
|
|
6
6
|
prepend?: React.ReactNode;
|
|
7
7
|
/** Tekst eller ikon som kommer etter inputfeltet */
|
package/dist/TravelSwitch.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type VariantType = 'success' | 'error' | 'warning' | 'info';
|
|
3
|
+
export type VariantProviderProps = {
|
|
4
4
|
variant?: VariantType;
|
|
5
5
|
};
|
|
6
6
|
export declare const VariantProvider: React.FC<VariantProviderProps>;
|