@oslokommune/punkt-react 11.13.3 → 11.13.6

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
@@ -5,6 +5,46 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [11.13.6](https://github.com/oslokommune/punkt/compare/11.13.5...11.13.6) (2024-05-30)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ Ingen
15
+
16
+ ### Bug Fixes
17
+ * Legger til react-router-dom i peerDependencies så den blir `external` (#1723). * fix(react): Legger til react-router-dom i peerDependencies så den blir external
18
+
19
+ * Legg til testside med React Router for Breadcrumbs
20
+
21
+
22
+ ### Chores
23
+ Ingen
24
+
25
+ ---
26
+
27
+
28
+ ## [11.13.5](https://github.com/oslokommune/punkt/compare/11.13.4...11.13.5) (2024-05-30)
29
+
30
+ ### ⚠ BREAKING CHANGES
31
+ Ingen
32
+
33
+ ### Features
34
+ Ingen
35
+
36
+ ### Bug Fixes
37
+ * Fjern remapping av @types/react i build (#1720). fix (react): Ikke inkluder lokal 'types/react' i build
38
+
39
+ Co-authored-by: My T. Nguyen <my.nguyen@origo.oslo.kommune.no>
40
+
41
+
42
+ ### Chores
43
+ Ingen
44
+
45
+ ---
46
+
47
+
8
48
  ## [11.13.3](https://github.com/oslokommune/punkt/compare/11.13.2...11.13.3) (2024-05-29)
9
49
 
10
50
  ### ⚠ BREAKING CHANGES
@@ -1,4 +1,4 @@
1
- import { default as React, ReactNode } from '../../../node_modules/@types/react';
1
+ import { default as React, ReactNode } from 'react';
2
2
 
3
3
  export interface IPktAccordion {
4
4
  ariaLabelledById?: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  /**
4
4
  * @param toggleProps
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  export interface IPktAlert extends React.HTMLAttributes<HTMLDivElement> {
4
4
  skin?: 'error' | 'success' | 'warning' | 'info';
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  export interface IPktBackLink extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
4
4
  href?: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  export interface IBreadcrumbs {
4
4
  text: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  export interface IPktButton extends React.ButtonHTMLAttributes<HTMLButtonElement> {
4
4
  iconName?: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  export interface IPktCheckbox extends React.InputHTMLAttributes<HTMLInputElement> {
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  interface Link {
4
4
  href: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  export interface IPktFooterSimple extends React.HTMLAttributes<HTMLDivElement> {
4
4
  links?: Array<{
@@ -1,4 +1,4 @@
1
- import { default as React, HTMLAttributes } from '../../../node_modules/@types/react';
1
+ import { default as React, HTMLAttributes } from 'react';
2
2
 
3
3
  export interface User {
4
4
  name?: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  interface PktIconProps extends React.HTMLAttributes<HTMLSpanElement> {
4
4
  name?: string;
@@ -2,4 +2,4 @@
2
2
  export type IconFetcher = {
3
3
  fetchIcon: (name: string, path: string | undefined) => Promise<string | null>;
4
4
  };
5
- export declare const PktIconContext: import('../../../node_modules/@types/react').Context<IconFetcher>;
5
+ export declare const PktIconContext: import('react').Context<IconFetcher>;
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
4
4
  /** The input's label */
@@ -1,4 +1,4 @@
1
- import { default as React, ReactNode, RefAttributes } from '../../../node_modules/@types/react';
1
+ import { default as React, ReactNode, RefAttributes } from 'react';
2
2
 
3
3
  export interface IPktInputWrapper extends RefAttributes<HTMLElement> {
4
4
  forId: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  export interface IPktLinkCard extends React.HTMLAttributes<HTMLAnchorElement> {
4
4
  skin?: 'normal' | 'blue' | 'beige' | 'beige-outline' | 'green' | 'grey-outline';
@@ -1,4 +1,4 @@
1
- import { default as React, HTMLAttributes } from '../../../node_modules/@types/react';
1
+ import { default as React, HTMLAttributes } from 'react';
2
2
 
3
3
  export interface IPktLoader extends HTMLAttributes<HTMLDivElement> {
4
4
  message?: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  export interface IPktMessagebox extends React.HTMLAttributes<HTMLDivElement> {
4
4
  skin?: 'beige' | 'red' | 'green' | 'blue';
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  export interface IRadio extends React.InputHTMLAttributes<HTMLInputElement> {
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import { default as React, HTMLProps } from '../../../node_modules/@types/react';
1
+ import { default as React, HTMLProps } from 'react';
2
2
 
3
3
  interface SearchSuggestion {
4
4
  title?: string;
@@ -1,4 +1,4 @@
1
- import { default as React, ReactNode, SelectHTMLAttributes } from '../../../node_modules/@types/react';
1
+ import { default as React, ReactNode, SelectHTMLAttributes } from 'react';
2
2
 
3
3
  export interface IPktSelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
4
4
  ariaDescribedby?: string;
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  export type TSkin = 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'blue-light';
4
4
  export interface Tab {
@@ -1,4 +1,4 @@
1
- import { default as React } from '../../../node_modules/@types/react';
1
+ import { default as React } from 'react';
2
2
 
3
3
  export interface IPktTag extends React.ButtonHTMLAttributes<HTMLButtonElement> {
4
4
  skin?: 'blue' | 'green' | 'red' | 'beige' | 'yellow' | 'grey' | 'blue-light';
@@ -1,4 +1,4 @@
1
- import { TextareaHTMLAttributes } from '../../../node_modules/@types/react';
1
+ import { TextareaHTMLAttributes } from 'react';
2
2
 
3
3
  export interface IPktTextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
4
4
  id: string;
@@ -24,4 +24,4 @@ export interface IPktTextareaProps extends TextareaHTMLAttributes<HTMLTextAreaEl
24
24
  rows?: number;
25
25
  useWrapper?: boolean;
26
26
  }
27
- export declare const PktTextarea: import('../../../node_modules/@types/react').ForwardRefExoticComponent<IPktTextareaProps & import('../../../node_modules/@types/react').RefAttributes<HTMLTextAreaElement>>;
27
+ export declare const PktTextarea: import('react').ForwardRefExoticComponent<IPktTextareaProps & import('react').RefAttributes<HTMLTextAreaElement>>;
@@ -1,4 +1,4 @@
1
- import { default as React, InputHTMLAttributes } from '../../../node_modules/@types/react';
1
+ import { default as React, InputHTMLAttributes } from 'react';
2
2
 
3
3
  export interface IPktTextinput extends InputHTMLAttributes<HTMLInputElement> {
4
4
  id: string;