@nearform/quantum 1.4.3 → 1.4.4
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.mts +3 -4
- package/dist/index.d.ts +3 -4
- package/package.json +6 -3
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,6 @@ import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
6
|
import { DayPicker } from 'react-day-picker';
|
|
8
7
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
9
8
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
@@ -386,7 +385,7 @@ interface ButtonGroupProps extends React__default.ComponentPropsWithoutRef<'div'
|
|
|
386
385
|
declare const ButtonGroup: React__default.ForwardRefExoticComponent<ButtonGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
387
386
|
|
|
388
387
|
type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
|
|
389
|
-
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps):
|
|
388
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): React$1.JSX.Element;
|
|
390
389
|
declare namespace Calendar {
|
|
391
390
|
var displayName: string;
|
|
392
391
|
}
|
|
@@ -456,11 +455,11 @@ declare const headerVariants: (props?: ({
|
|
|
456
455
|
variant?: "form" | "default" | null | undefined;
|
|
457
456
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
458
457
|
declare const ModalHeader: {
|
|
459
|
-
({ className, variant, ...props }: React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof headerVariants>):
|
|
458
|
+
({ className, variant, ...props }: React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof headerVariants>): React$1.JSX.Element;
|
|
460
459
|
displayName: string;
|
|
461
460
|
};
|
|
462
461
|
declare const ModalFooter: {
|
|
463
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
462
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
464
463
|
displayName: string;
|
|
465
464
|
};
|
|
466
465
|
declare const ModalTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
6
|
import { DayPicker } from 'react-day-picker';
|
|
8
7
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
9
8
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
@@ -386,7 +385,7 @@ interface ButtonGroupProps extends React__default.ComponentPropsWithoutRef<'div'
|
|
|
386
385
|
declare const ButtonGroup: React__default.ForwardRefExoticComponent<ButtonGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
387
386
|
|
|
388
387
|
type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
|
|
389
|
-
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps):
|
|
388
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): React$1.JSX.Element;
|
|
390
389
|
declare namespace Calendar {
|
|
391
390
|
var displayName: string;
|
|
392
391
|
}
|
|
@@ -456,11 +455,11 @@ declare const headerVariants: (props?: ({
|
|
|
456
455
|
variant?: "form" | "default" | null | undefined;
|
|
457
456
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
458
457
|
declare const ModalHeader: {
|
|
459
|
-
({ className, variant, ...props }: React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof headerVariants>):
|
|
458
|
+
({ className, variant, ...props }: React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof headerVariants>): React$1.JSX.Element;
|
|
460
459
|
displayName: string;
|
|
461
460
|
};
|
|
462
461
|
declare const ModalFooter: {
|
|
463
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
462
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
464
463
|
displayName: string;
|
|
465
464
|
};
|
|
466
465
|
declare const ModalTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nearform/quantum",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"description": "Component library based on the Quantum Design System",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"prepack": "npm run build",
|
|
18
18
|
"lint": "eslint .",
|
|
19
19
|
"lint:fix": "eslint . --fix",
|
|
20
|
+
"typecheck": "tsc --noEmit",
|
|
20
21
|
"test": "jest",
|
|
21
22
|
"prepare": "husky",
|
|
22
23
|
"storybook": "storybook dev -p 6006",
|
|
@@ -50,10 +51,12 @@
|
|
|
50
51
|
"@jest/globals": "^30.2.0",
|
|
51
52
|
"@storybook/addon-docs": "^10.5.9",
|
|
52
53
|
"@storybook/addon-links": "^10.5.9",
|
|
53
|
-
"@storybook/addon-onboarding": "^10.5.9",
|
|
54
54
|
"@storybook/react-vite": "^10.5.9",
|
|
55
55
|
"@storybook/test-runner": "^0.24.4",
|
|
56
56
|
"@tailwindcss/postcss": "^4.3.2",
|
|
57
|
+
"@types/node": "^24",
|
|
58
|
+
"@types/react": "^18.3",
|
|
59
|
+
"@types/react-dom": "^18.3",
|
|
57
60
|
"@typescript-eslint/eslint-plugin": "^7.6.0",
|
|
58
61
|
"autoprefixer": "^10.4.17",
|
|
59
62
|
"eslint": "^8.57.0",
|
|
@@ -62,7 +65,7 @@
|
|
|
62
65
|
"eslint-plugin-storybook": "^10.5.9",
|
|
63
66
|
"husky": "^9.0.11",
|
|
64
67
|
"jest": "^29.7.0",
|
|
65
|
-
"lint-staged": "^
|
|
68
|
+
"lint-staged": "^17.5.0",
|
|
66
69
|
"playwright": "^1.51.1",
|
|
67
70
|
"prettier": "^3.2.5",
|
|
68
71
|
"react-markdown": "^10.1.0",
|