@purpurds/modal 6.8.3 → 6.10.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/dist/LICENSE.txt CHANGED
@@ -387,35 +387,35 @@ Homepage: https://radix-ui.com/primitives
387
387
  ---
388
388
 
389
389
  Name: @purpurds/button
390
- Version: 6.8.2
390
+ Version: 6.9.0
391
391
  License: AGPL-3.0-only
392
392
  Private: false
393
393
 
394
394
  ---
395
395
 
396
396
  Name: @purpurds/heading
397
- Version: 6.8.2
397
+ Version: 6.9.0
398
398
  License: AGPL-3.0-only
399
399
  Private: false
400
400
 
401
401
  ---
402
402
 
403
403
  Name: @purpurds/icon
404
- Version: 6.8.2
404
+ Version: 6.9.0
405
405
  License: AGPL-3.0-only
406
406
  Private: false
407
407
 
408
408
  ---
409
409
 
410
410
  Name: @purpurds/paragraph
411
- Version: 6.8.2
411
+ Version: 6.9.0
412
412
  License: AGPL-3.0-only
413
413
  Private: false
414
414
 
415
415
  ---
416
416
 
417
417
  Name: @purpurds/visually-hidden
418
- Version: 6.8.2
418
+ Version: 6.9.0
419
419
  License: AGPL-3.0-only
420
420
  Private: false
421
421
 
@@ -0,0 +1,2 @@
1
+ import purpurCommon from "@purpurds/component-rig/eslint.config.mjs";
2
+ export default purpurCommon;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpurds/modal",
3
- "version": "6.8.3",
3
+ "version": "6.10.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/modal.cjs.js",
6
6
  "types": "./dist/modal.d.ts",
@@ -17,37 +17,33 @@
17
17
  "dependencies": {
18
18
  "@radix-ui/react-dialog": "~1.1.6",
19
19
  "classnames": "~2.5.0",
20
- "@purpurds/button": "6.8.3",
21
- "@purpurds/heading": "6.8.3",
22
- "@purpurds/text-spacing": "6.8.3",
23
- "@purpurds/icon": "6.8.3",
24
- "@purpurds/paragraph": "6.8.3",
25
- "@purpurds/tokens": "6.8.3",
26
- "@purpurds/notification": "6.8.3",
27
- "@purpurds/visually-hidden": "6.8.3"
20
+ "@purpurds/paragraph": "6.10.0",
21
+ "@purpurds/heading": "6.10.0",
22
+ "@purpurds/text-spacing": "6.10.0",
23
+ "@purpurds/icon": "6.10.0",
24
+ "@purpurds/button": "6.10.0",
25
+ "@purpurds/tokens": "6.10.0",
26
+ "@purpurds/visually-hidden": "6.10.0",
27
+ "@purpurds/notification": "6.10.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@rushstack/eslint-patch": "~1.10.0",
30
+ "eslint": "9.24.0",
31
31
  "@storybook/react": "^8.6.4",
32
32
  "storybook": "^8.6.4",
33
- "@telia/base-rig": "~8.2.0",
34
- "@telia/react-rig": "~3.2.0",
35
33
  "@testing-library/dom": "~10.4.0",
36
34
  "@testing-library/jest-dom": "~6.4.0",
37
35
  "@testing-library/react": "~16.2.0",
38
36
  "@types/node": "20.12.12",
39
37
  "@types/react-dom": "^19.0.4",
40
38
  "@types/react": "^19.0.10",
41
- "eslint-plugin-testing-library": "~6.2.0",
42
- "eslint": "^8.57.0",
43
39
  "jsdom": "~22.1.0",
44
- "lint-staged": "~10.5.3",
40
+ "lint-staged": "15.5.0",
45
41
  "prettier": "~2.8.8",
46
42
  "react-dom": "^19.0.0",
47
43
  "react": "^19.0.0",
48
44
  "typescript": "^5.6.3",
49
45
  "vite": "^6.2.1",
50
- "vitest": "^2.1.2",
46
+ "vitest": "^3.1.2",
51
47
  "@purpurds/component-rig": "1.0.0"
52
48
  },
53
49
  "peerDependencies": {
@@ -1,4 +1,4 @@
1
- /* eslint-disable @typescript-eslint/no-empty-function */
1
+
2
2
  /* eslint-disable @typescript-eslint/ban-ts-comment */
3
3
  import React from "react";
4
4
  import { Button } from "@purpurds/button";
@@ -178,7 +178,7 @@ export const ModalContentWithImage: Story = {
178
178
  showCloseButton
179
179
  zIndex={Z_INDEX_TO_MAKE_IT_LOOK_GOOD_IN_STORYBOOK}
180
180
  image={
181
- // eslint-disable-next-line react/jsx-wrap-multilines
181
+
182
182
  <img
183
183
  src="https://www.telia.se/images/i15skfqwpurk/5YYelnwdIJGush05RYsE6A/04d4eeb571bca6d5c72b557f6da92c92/Telia_Company_Reinvention_69.jpg?f=center&fit=fill&w=720&h=432&fm=webp&q=70"
184
184
  alt="Familjens unga ser på tv tillsammans mysig stämning men spännande"
@@ -256,7 +256,7 @@ export const ModalContentWithNotification: Story = {
256
256
  actions={[{ label: "I accept cookies", onClick: () => {} }]}
257
257
  zIndex={Z_INDEX_TO_MAKE_IT_LOOK_GOOD_IN_STORYBOOK}
258
258
  notification={
259
- // eslint-disable-next-line react/jsx-wrap-multilines
259
+
260
260
  <Notification status="error" heading="Notification heading">
261
261
  Notification text
262
262
  </Notification>