@laerdal/life-react-components 2.3.1-dev.13 → 2.3.1-dev.14

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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PanelProps } from "../Panel";
2
3
  type AuthPageProps = {
3
4
  panel?: PanelProps;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface Link {
2
3
  label: string;
3
4
  to: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { NavSection } from '../../types';
2
3
  interface FooterNavSectionProps {
3
4
  navSection: NavSection;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { NavOptions } from '../../types';
2
3
  interface FooterNavSectionProps {
3
4
  navOptions: NavOptions;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface FooterNewsletterAndSocialSection {
2
3
  actionOnNewsletterSignup?: (email: string) => void;
3
4
  newsletterLabel: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface FooterTopProps {
2
3
  sitename?: string;
3
4
  showBetaTag?: boolean;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Footer: ({ children }: any) => JSX.Element;
2
3
  export default Footer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { MenuNavigationItemTypeItem } from '../../index';
2
3
  export declare const flowDown: import("styled-components").Keyframes;
3
4
  export declare const Menu: import("styled-components").StyledComponent<"ul", any, {}, never>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProfileMenu } from '../types';
2
3
  interface UserMenuProps extends ProfileMenu {
3
4
  show?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { MobileNavigationMenuProps, ProfileMenu } from '../types';
2
3
  type Props = MobileNavigationMenuProps & {
3
4
  profile?: ProfileMenu;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface DatepickerFieldHeaderParams {
2
3
  date: Date;
3
4
  changeYear(year: number): void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Size } from '../types';
2
3
  type LoadingIndicatorProps = {
3
4
  id?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Product } from '../types';
2
3
  type CardProps = {
3
4
  product: Product;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  type PaginatorProps = {
2
3
  pageCount: number;
3
4
  currentPage: number;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { SideMenuProps } from './types';
2
3
  export declare const SideMenuBody: (props: SideMenuProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { SideMenuProps } from './types';
2
3
  export declare const SideMenuFooter: (props: SideMenuProps) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { SideMenuProps } from './types';
2
3
  export declare const SideMenuHeader: (props: SideMenuProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface SwitcherNavItem {
2
3
  label: string;
3
4
  url: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TileDropdownButton, TileHyperLink, TileIconButton, TileNote, TileStandardButton, TileToggleButton } from './TileTypes';
2
3
  import { Size } from '../types';
3
4
  export declare const TileNoteText: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TooltipProps } from './TooltipTypes';
2
3
  declare const TooltipWrapper: ({ label, children, withArrow, tabIndex, size, height, delay, align, position, trigger, hideAfter, ...props }: TooltipProps) => JSX.Element;
3
4
  export default TooltipWrapper;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laerdal/life-react-components",
3
- "version": "2.3.1-dev.13",
3
+ "version": "2.3.1-dev.14",
4
4
  "private": false,
5
5
  "author": "Erik Martirosyan <erik.martirosyan@laerdal.com>",
6
6
  "contributors": [],
@@ -81,7 +81,7 @@
81
81
  "@babel/preset-typescript": "^7.18.6",
82
82
  "@babel/runtime": "^7.19.0",
83
83
  "@testing-library/jest-dom": "^5.16.5",
84
- "@testing-library/react": "^12.1.5",
84
+ "@testing-library/react": "13.4.0",
85
85
  "@testing-library/user-event": "^14.4.3",
86
86
  "@types/jest": "^29.2.3",
87
87
  "@types/node": "^18.0.6",