@netu-si/netu-react-dsf-components 1.0.6 → 1.0.8

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/index.d.ts CHANGED
@@ -366,7 +366,10 @@ interface DSFFieldSetProps {
366
366
  legend: React.ReactNode;
367
367
  children?: React.ReactNode;
368
368
  }
369
- declare const DSFFieldSet: FC<DSFFieldSetProps>;
369
+ declare const DSFFieldSet: {
370
+ ({ legend, children }: DSFFieldSetProps): React.JSX.Element;
371
+ displayName: string;
372
+ };
370
373
 
371
374
  interface DSFFormGroupProps {
372
375
  label?: string;
@@ -487,7 +490,7 @@ interface DSFFileUploadProps extends React.InputHTMLAttributes<HTMLInputElement>
487
490
  }
488
491
  declare const DSFFileUpload: ForwardRefExoticComponent<DSFFileUploadProps & RefAttributes<HTMLInputElement>>;
489
492
 
490
- interface DSFCookiesProps$1 {
493
+ interface DSFCookiesProps {
491
494
  linkComponent: React.ComponentType<any>;
492
495
  cookiesDescription: string;
493
496
  cookiesMoreUrl: string;
@@ -498,19 +501,20 @@ interface DSFCookiesProps$1 {
498
501
  newTab?: boolean;
499
502
  }
500
503
  declare const DSFCookies$1: {
501
- ({ linkComponent: Link, cookiesDescription, cookiesMoreUrl, cookiesMoreText, cookiesAcceptText, cookiesAcceptHandler, hasScroll, newTab, }: DSFCookiesProps$1): React.JSX.Element;
504
+ ({ linkComponent: Link, cookiesDescription, cookiesMoreUrl, cookiesMoreText, cookiesAcceptText, cookiesAcceptHandler, hasScroll, newTab, }: DSFCookiesProps): React.JSX.Element;
502
505
  displayName: string;
503
506
  };
504
507
 
505
- interface DSFCookiesProps {
508
+ interface DSFCookiesV3Props {
506
509
  cookiesDescription: React.ReactNode;
507
510
  cookiesTitle: string;
508
511
  cookiesAcceptText: string;
509
512
  cookiesRejectText: string;
510
513
  cookiesAcceptRejectHandler: (accepted: boolean) => void;
514
+ cookiesAdjustHandler?: () => void;
511
515
  }
512
516
  declare const DSFCookies: {
513
- ({ cookiesDescription, cookiesTitle, cookiesAcceptText, cookiesRejectText, cookiesAcceptRejectHandler, }: DSFCookiesProps): React.JSX.Element;
517
+ ({ cookiesDescription, cookiesTitle, cookiesAcceptText, cookiesRejectText, cookiesAcceptRejectHandler, cookiesAdjustHandler, }: DSFCookiesV3Props): React.JSX.Element;
514
518
  displayName: string;
515
519
  };
516
520
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netu-si/netu-react-dsf-components",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "React Component Library Using the GOV-CY DSF Design System",
5
5
  "repository": "https://github.com/netu-si/netu-react-dsf-components.git",
6
6
  "homepage": "https://github.com/netu-si/netu-react-dsf-components#readme",
@@ -50,27 +50,28 @@
50
50
  "@storybook/react": "7.0.27",
51
51
  "@storybook/react-webpack5": "7.0.27",
52
52
  "@storybook/testing-library": "0.2.0",
53
- "@types/react": "18.2.20",
53
+ "@types/react": "^18.3.1",
54
54
  "@typescript-eslint/eslint-plugin": "^6.21.0",
55
55
  "@typescript-eslint/parser": "^6.0.0",
56
56
  "can-npm-publish": "^1.3.6",
57
57
  "concat": "^1.0.3",
58
- "eslint": "^8.45.0",
58
+ "eslint": "8.54.0",
59
59
  "eslint-config-airbnb": "^19.0.4",
60
60
  "eslint-config-airbnb-typescript": "^17.1.0",
61
- "eslint-config-prettier": "^8.8.0",
62
61
  "eslint-plugin-cypress": "^2.13.3",
63
62
  "eslint-plugin-flowtype": "^8.0.3",
64
63
  "eslint-plugin-import": "^2.27.5",
65
64
  "eslint-plugin-jsx-a11y": "^6.7.1",
66
65
  "eslint-plugin-no-only-tests": "^3.1.0",
67
- "eslint-plugin-prettier": "^5.0.0",
66
+ "eslint-config-prettier": "10.0.1",
67
+ "eslint-plugin-prettier": "^5.2.3",
68
+ "prettier": "3.4.2",
68
69
  "eslint-plugin-react": "^7.32.2",
69
70
  "eslint-plugin-react-hooks": "^4.6.0",
70
71
  "eslint-plugin-storybook": "^0.6.12",
71
72
  "gh-pages": "^5.0.0",
72
73
  "hex-rgb": "^5.0.0",
73
- "next": "13.0.4",
74
+ "next": "^14.2.3",
74
75
  "postcss-import": "^16.1.0",
75
76
  "prop-types": "15.8.1",
76
77
  "react": "^18.3.1",