@oslokommune/punkt-react 12.6.6 → 12.6.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-react",
3
- "version": "12.6.6",
3
+ "version": "12.6.9",
4
4
  "description": "React komponentbibliotek til Punkt, et designsystem laget av Oslo Origo",
5
5
  "homepage": "https://punkt.oslo.kommune.no",
6
6
  "author": "Team Designsystem, Oslo Origo",
@@ -47,8 +47,8 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@oslokommune/punkt-assets": "^12.4.0",
50
- "@oslokommune/punkt-css": "^12.6.6",
51
- "@oslokommune/punkt-elements": "^12.6.6",
50
+ "@oslokommune/punkt-css": "^12.6.7",
51
+ "@oslokommune/punkt-elements": "^12.6.9",
52
52
  "@testing-library/jest-dom": "^6.5.0",
53
53
  "@testing-library/react": "^16.0.1",
54
54
  "@testing-library/user-event": "^14.5.2",
@@ -111,5 +111,5 @@
111
111
  "url": "https://github.com/oslokommune/punkt/issues"
112
112
  },
113
113
  "license": "MIT",
114
- "gitHead": "936cdb5ca60100a3356cfbf03994c85eebba732e"
114
+ "gitHead": "6b45028f02d1e87ea215db44855e210e93bb7cf2"
115
115
  }
@@ -27,6 +27,7 @@ interface IPktDatepicker extends PktElType {
27
27
  requiredText?: string
28
28
  optionalTag?: boolean
29
29
  optionalText?: string
30
+ useWrapper?: boolean
30
31
  helptext?: string
31
32
  helptextDropdown?: string
32
33
  helptextDropdownButton?: string
@@ -57,7 +57,7 @@ describe('PktTag', () => {
57
57
  const buttonElement = container.querySelector('.pkt-tag.pkt-btn')
58
58
  expect(buttonElement).not.toHaveClass('pkt-hide')
59
59
 
60
- await fireEvent.click(getByLabelText('close'))
60
+ await fireEvent.click(getByLabelText('Lukk'))
61
61
 
62
62
  expect(buttonElement).toBeInTheDocument()
63
63
  expect(buttonElement).toHaveClass('pkt-hide')