@entur/dropdown 3.0.16 → 3.0.17

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 CHANGED
@@ -3,18 +3,21 @@
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
- # [4.0.0-beta.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@4.0.0-beta.1...@entur/dropdown@4.0.0-beta.2) (2022-09-30)
6
+ ## [3.0.17](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.16...@entur/dropdown@3.0.17) (2022-10-05)
7
7
 
8
- ### Features
8
+ ### Bug Fixes
9
9
 
10
- - **searchable dropdown:** fixes from beta testing ([c460e94](https://bitbucket.org/enturas/design-system/commits/c460e947b2f39fd486b79d433d43a4ac3cdc9bdc))
10
+ - **dropdown:** make label required ([68cdd12](https://bitbucket.org/enturas/design-system/commits/68cdd12ebb41998868acb18abb2a1faa47157449))
11
11
 
12
- # [4.0.0-beta.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.15...@entur/dropdown@4.0.0-beta.1) (2022-09-27)
12
+ # [3.0.16](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.15...@entur/dropdown@4.0.0-beta.1) (2022-09-27)
13
13
 
14
14
  ### Features
15
15
 
16
- - **searchable dropdown:** fixes from beta testing ([f88405f](https://bitbucket.org/enturas/design-system/commits/f88405fd45353163bcd0b202b538a470d86e5d8c))
17
- - **searchable dropdown:** mvp new controlled searchable dropdown component (alpha) ([b8b2d05](https://bitbucket.org/enturas/design-system/commits/b8b2d051461406de0544b92b5169b066c91386ce))
16
+ - **searchable dropdown beta:** add new beta component for controlled searchable dropdown ([f6357e3](https://bitbucket.org/enturas/design-system/commits/f6357e37826af7d25dbb4bdbe49a7fae1f632a50))
17
+
18
+ ## [3.0.15](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.14...@entur/dropdown@3.0.15) (2022-09-20)
19
+
20
+ **Note:** Version bump only for package @entur/dropdown
18
21
 
19
22
  ## [3.0.14](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@3.0.13...@entur/dropdown@3.0.14) (2022-08-31)
20
23
 
@@ -3,14 +3,14 @@ import { VariantType } from '@entur/form';
3
3
  import { NormalizedDropdownItemType } from './useNormalizedItems';
4
4
  import { PotentiallyAsyncDropdownItemType } from './useResolvedItems';
5
5
  export declare type DropdownProps = {
6
+ /** Beskrivende tekst som forklarer feltet */
7
+ label: string;
6
8
  /** Tilgjengelige valg i dropdownen */
7
9
  items: PotentiallyAsyncDropdownItemType;
8
10
  /** Valgt verdi. Bruk null for ingen verdi. */
9
11
  value?: string | null;
10
12
  /** Om man skal kunne søke i dropdownen eller ikke */
11
13
  searchable?: boolean;
12
- /** Beskrivende tekst som forklarer feltet */
13
- label?: string;
14
14
  /** Tooltip for labelen */
15
15
  labelTooltip?: string;
16
16
  /** Hvilken valideringsvariant som gjelder */