@entur/form 5.4.6-RC.1 → 5.4.6-RC.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.
- package/CHANGELOG.md +4 -0
- 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 +197 -275
- 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 +197 -275
- 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 +440 -464
- package/dist/variants.d.ts +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.4.6-RC.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.4.6-RC.1...@entur/form@5.4.6-RC.2) (2022-11-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/form
|
|
9
|
+
|
|
6
10
|
## [5.4.6-RC.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.4.6-RC.0...@entur/form@5.4.6-RC.1) (2022-11-21)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @entur/form
|
|
@@ -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>;
|