@entur-partner/common 4.0.5 → 4.1.0

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,6 +3,32 @@
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.1.0](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@4.0.7...@entur-partner/common@4.1.0) (2022-03-09)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **deps:** update all non-major dependencies ([4533e34](https://bitbucket.org/enturas/entur-partner-packages/commits/4533e34e81006c6fd056f5ebca40a58c75d9caf9))
11
+ - **deps:** update entur packages ([22224c2](https://bitbucket.org/enturas/entur-partner-packages/commits/22224c223cd111224f5654ced91879a7c06d2fa1))
12
+
13
+ ### Features
14
+
15
+ - **box:** implement alignItems prop for Box ([57907e2](https://bitbucket.org/enturas/entur-partner-packages/commits/57907e2253f5343d6ba70ff9669bcbffedd767d2))
16
+
17
+ ## [4.0.7](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@4.0.6...@entur-partner/common@4.0.7) (2022-02-10)
18
+
19
+ ### Bug Fixes
20
+
21
+ - update to Node 16. Also update various packages to make dts-cli and its dependencies work ([93468c8](https://bitbucket.org/enturas/entur-partner-packages/commits/93468c8190e8590143f274c468df23e786af4553))
22
+
23
+ ## [4.0.6](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@4.0.5...@entur-partner/common@4.0.6) (2022-02-07)
24
+
25
+ ### Bug Fixes
26
+
27
+ - **deps:** pin dependencies ([840fa3d](https://bitbucket.org/enturas/entur-partner-packages/commits/840fa3d44ce62deea2a69131d30da4d979bc8fe9))
28
+ - **deps:** pin dependencies ([0a33356](https://bitbucket.org/enturas/entur-partner-packages/commits/0a333563ff91fb711c39a45352fc31a49513ebaa))
29
+ - **deps:** update all non-major dependencies ([20fc6be](https://bitbucket.org/enturas/entur-partner-packages/commits/20fc6bed3831d05bd62ace84bc60ee48877a034c))
30
+ - **deps:** update entur packages ([a900a53](https://bitbucket.org/enturas/entur-partner-packages/commits/a900a5383801679efe186caffd56d3dfac5f1947))
31
+
6
32
  ## [4.0.5](https://bitbucket.org/enturas/entur-partner-packages/compare/@entur-partner/common@4.0.4...@entur-partner/common@4.0.5) (2021-11-05)
7
33
 
8
34
  ### Bug Fixes
package/dist/Box.d.ts CHANGED
@@ -52,5 +52,5 @@ export interface BoxProps {
52
52
  }
53
53
  declare type ResponsiveProp = string | [string?, string?, string?];
54
54
  export declare function responsiveProp(prefix: string, prop: ResponsiveProp): string[];
55
- export declare const Box: ({ as: Component, children, contrast, paddingTop, paddingRight, paddingBottom, paddingLeft, paddingX, paddingY, padding, marginTop, marginRight, marginBottom, marginLeft, marginX, marginY, margin, display, justifyContent, maxWidth, width, background, color, flexDirection, flexWrap, className, ...rest }: BoxProps) => JSX.Element;
55
+ export declare const Box: ({ as: Component, children, contrast, paddingTop, paddingRight, paddingBottom, paddingLeft, paddingX, paddingY, padding, marginTop, marginRight, marginBottom, marginLeft, marginX, marginY, margin, display, justifyContent, alignItems, maxWidth, width, background, color, flexDirection, flexWrap, className, ...rest }: BoxProps) => JSX.Element;
56
56
  export {};
@@ -1,9 +1,7 @@
1
1
  import React from 'react';
2
2
  import { VariantType } from '@entur/form';
3
3
  import { LanguageKey, LanguageOption } from './LanguageSelect';
4
- export declare type MultiLanguageValues = {
5
- [k in LanguageKey]: string;
6
- };
4
+ export declare type MultiLanguageValues = Record<LanguageKey, string>;
7
5
  declare type ExpandableMultiLanguageInputProps = {
8
6
  title: string;
9
7
  inputComponent: React.ElementType;