@entur/form 8.3.2-beta.9 → 8.3.3

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.
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
- import { VariantType } from '@entur/utils';
3
- import { Placement } from '@entur/tooltip';
4
- import './BaseFormControl.scss';
1
+ import { default as React } from 'react';
2
+ import { VariantType } from '../../utils';
3
+ import { Placement } from '../../tooltip';
5
4
  /** @deprecated use variant="information" instead */
6
5
  declare const info = "info";
7
6
  /** @deprecated use variant="negative" instead */
@@ -1,5 +1,4 @@
1
- import React, { CSSProperties } from 'react';
2
- import './Checkbox.scss';
1
+ import { default as React, CSSProperties } from 'react';
3
2
  export type CheckboxProps = {
4
3
  /** Ekstra klassenavn */
5
4
  className?: string;
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
- import { VariantType } from '@entur/utils';
3
- import './FeedbackText.scss';
1
+ import { default as React } from 'react';
2
+ import { VariantType } from '../../utils';
4
3
  /** @deprecated use variant="information" instead */
5
4
  declare const info = "info";
6
5
  /** @deprecated use variant="negative" instead */
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- import './Fieldset.scss';
1
+ import { default as React } from 'react';
3
2
  export type FieldsetProps = {
4
3
  /** Innholdet i felt-gruppen. */
5
4
  children: React.ReactNode;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- import './InputGroupLabel.scss';
1
+ import { default as React } from 'react';
3
2
  export type InputGroupLabelProps = {
4
3
  label?: React.ReactNode;
5
4
  required?: boolean;
package/dist/Radio.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- import './Radio.scss';
1
+ import { default as React } from 'react';
3
2
  export type RadioProps = {
4
3
  /** Ekstra klassenavn */
5
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export type RadioGroupProps = {
3
3
  /** Navnet til radiogruppen. */
4
4
  name: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type RadioGroupContextProps = {
3
3
  name: string;
4
4
  onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
package/dist/Switch.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- import './Switch.scss';
1
+ import { default as React } from 'react';
3
2
  export type SwitchProps = {
4
3
  /** Ekstra klassenavn */
5
4
  className?: string;
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
- import { VariantType } from '@entur/utils';
3
- import './TextArea.scss';
4
- import { Placement } from '@entur/tooltip';
1
+ import { default as React } from 'react';
2
+ import { VariantType } from '../../utils';
3
+ import { Placement } from '../../tooltip';
5
4
  /** @deprecated use variant="information" instead */
6
5
  declare const info = "info";
7
6
  /** @deprecated use variant="negative" instead */
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
- import { VariantType } from '@entur/utils';
3
- import './TextField.scss';
4
- import { Placement } from '@entur/tooltip';
1
+ import { default as React } from 'react';
2
+ import { VariantType } from '../../utils';
3
+ import { Placement } from '../../tooltip';
5
4
  /** @deprecated use variant="information" instead */
6
5
  declare const info = "info";
7
6
  /** @deprecated use variant="negative" instead */
@@ -87,5 +86,5 @@ export declare const TextField: React.ForwardRefExoticComponent<{
87
86
  /** Callback for clearable */
88
87
  onClear?: () => void;
89
88
  ariaAlertOnFeedback?: boolean;
90
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "label"> & React.RefAttributes<HTMLInputElement>>;
89
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "label" | "size"> & React.RefAttributes<HTMLInputElement>>;
91
90
  export {};
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
- import { VariantType } from '@entur/utils';
1
+ import { default as React } from 'react';
2
+ import { VariantType } from '../../utils';
3
3
  /** @deprecated use variant="information" instead */
4
4
  declare const info = "info";
5
5
  /** @deprecated use variant="negative" instead */