@lux-design-system/components-react 1.0.0-alpha.2 → 1.0.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.
Files changed (46) hide show
  1. package/README.md +17 -2
  2. package/dist/index.mjs +17831 -0
  3. package/dist/index.umd.js +17834 -0
  4. package/dist/src/alert/Alert.d.ts +7 -0
  5. package/dist/src/button/Button.d.ts +9 -0
  6. package/dist/src/checkbox/Checkbox.d.ts +9 -0
  7. package/dist/src/document/Document.d.ts +5 -0
  8. package/dist/src/form-field/FormField.d.ts +3 -0
  9. package/dist/src/form-field-checkbox/FormFieldCheckbox.d.ts +11 -0
  10. package/dist/src/form-field-description/FormFieldDescription.d.ts +9 -0
  11. package/dist/src/form-field-error-message/FormFieldErrorMessage.d.ts +9 -0
  12. package/dist/src/form-field-label/FormFieldLabel.d.ts +9 -0
  13. package/dist/src/form-field-radio-group/FormFieldRadioGroup.d.ts +22 -0
  14. package/dist/src/form-field-radio-option/FormFieldRadioOption.d.ts +20 -0
  15. package/dist/src/form-field-select/FormFieldSelect.d.ts +14 -0
  16. package/dist/src/form-field-textbox/FormFieldTextbox.d.ts +9 -0
  17. package/dist/src/heading/Heading.d.ts +14 -0
  18. package/dist/src/heading-group/HeadingGroup.d.ts +5 -0
  19. package/dist/src/icon/FallbackIcon.d.ts +9 -0
  20. package/dist/src/icon/Icon.d.ts +8 -0
  21. package/dist/src/index.d.ts +22 -0
  22. package/dist/src/link/Link.d.ts +10 -0
  23. package/dist/src/paragraph/Paragraph.d.ts +5 -0
  24. package/dist/src/pre-heading/PreHeading.d.ts +5 -0
  25. package/dist/src/radio-button/RadioButton.d.ts +15 -0
  26. package/dist/src/section/Section.d.ts +4 -0
  27. package/dist/src/select/Select.d.ts +7 -0
  28. package/dist/src/textbox/Textbox.d.ts +31 -0
  29. package/dist/src/utils/object.d.ts +11 -0
  30. package/dist/vite.config.d.ts +2 -0
  31. package/package.json +25 -21
  32. package/dist/components-react.mjs +0 -4983
  33. package/dist/components-react.umd.js +0 -534
  34. package/dist/style.css +0 -1
  35. package/src/Alert.css +0 -16
  36. package/src/Alert.tsx +0 -65
  37. package/src/button/Button.tsx +0 -31
  38. package/src/button/button.scss +0 -17
  39. package/src/icons/CrossIcon.tsx +0 -8
  40. package/src/icons/ErrorIcon.tsx +0 -11
  41. package/src/icons/InfoIcon.tsx +0 -16
  42. package/src/icons/SuccessIcon.tsx +0 -14
  43. package/src/icons/WarningIcon.tsx +0 -16
  44. package/src/icons/index.ts +0 -5
  45. package/src/index.test.ts +0 -5
  46. package/src/index.ts +0 -3
@@ -0,0 +1,7 @@
1
+ import { AlertProps as UtrechtAlertProps, AlertType as UtrechtAlertType } from '@utrecht/component-library-react/dist/css-module';
2
+ type AlertType = Exclude<UtrechtAlertType, 'ok'> | 'success';
3
+ export interface LuxAlertProps extends Omit<UtrechtAlertProps, 'type'> {
4
+ type: AlertType;
5
+ }
6
+ export declare const LuxAlert: (props: LuxAlertProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,9 @@
1
+ import { ButtonProps as UtrechtButtonProps } from '@utrecht/component-library-react/dist/css-module';
2
+ type IconPosition = 'start' | 'end';
3
+ type Size = 'small';
4
+ export type LuxButtonProps = UtrechtButtonProps & {
5
+ size?: Size;
6
+ iconPosition?: IconPosition;
7
+ };
8
+ export declare const LuxButton: (props: LuxButtonProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,9 @@
1
+ import { CheckboxProps as UtrechtCheckboxProps } from '@utrecht/component-library-react/dist/css-module';
2
+ export type LuxCheckboxProps = Omit<UtrechtCheckboxProps, 'appearance'> & {
3
+ withTarget?: boolean;
4
+ };
5
+ export declare const LuxCheckbox: import('react').ForwardRefExoticComponent<Omit<UtrechtCheckboxProps, "appearance"> & {
6
+ withTarget?: boolean;
7
+ } & {
8
+ children?: import('react').ReactNode | undefined;
9
+ } & import('react').RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,5 @@
1
+ import { DocumentProps } from '@utrecht/component-library-react/dist/css-module';
2
+ export declare const LuxDocument: import('react').ForwardRefExoticComponent<DocumentProps & {
3
+ children?: import('react').ReactNode | undefined;
4
+ } & import('react').RefAttributes<HTMLDivElement>>;
5
+ export type LuxDocumentProps = DocumentProps;
@@ -0,0 +1,3 @@
1
+ import { FormFieldProps as UtrechtFormFieldProps } from '@utrecht/component-library-react/dist/css-module';
2
+ export declare const LuxFormField: import('react').ForwardRefExoticComponent<UtrechtFormFieldProps & import('react').RefAttributes<HTMLDivElement>>;
3
+ export type LuxFormFieldProps = UtrechtFormFieldProps;
@@ -0,0 +1,11 @@
1
+ import { LuxCheckboxProps } from '../checkbox/Checkbox';
2
+ import { LuxFormFieldProps } from '../form-field/FormField';
3
+ import { LuxFormFieldDescriptionAppearance } from '../form-field-description/FormFieldDescription';
4
+ export type LuxFormFieldCheckboxProps = LuxFormFieldProps & LuxCheckboxProps & {
5
+ checked?: boolean;
6
+ disabled?: boolean;
7
+ appearance?: LuxFormFieldDescriptionAppearance;
8
+ withTarget?: boolean;
9
+ distanced?: boolean;
10
+ };
11
+ export declare const LuxFormFieldCheckbox: ({ label, description, errorMessage, checked, disabled, invalid, appearance, withTarget, distanced, children, ...restProps }: LuxFormFieldCheckboxProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { FormFieldDescriptionProps as UtrechtFormFieldDescriptionProps } from '@utrecht/component-library-react/dist/css-module';
2
+ export type LuxFormFieldDescriptionAppearance = 'valid' | 'invalid';
3
+ export interface LuxFormFieldDescriptionProps extends Omit<UtrechtFormFieldDescriptionProps, 'valid' | 'invalid'> {
4
+ appearance?: LuxFormFieldDescriptionAppearance;
5
+ }
6
+ export declare const LuxFormFieldDescription: {
7
+ (props: LuxFormFieldDescriptionProps): import("react/jsx-runtime").JSX.Element;
8
+ displayName: string;
9
+ };
@@ -0,0 +1,9 @@
1
+ import { FormFieldErrorMessageProps as UtrechtFormFieldErrorMessageProps } from '@utrecht/component-library-react/dist/css-module';
2
+ export type LuxFormFieldErrorMessageProps = UtrechtFormFieldErrorMessageProps & {
3
+ distanced?: boolean;
4
+ };
5
+ export declare const LuxFormFieldErrorMessage: import('react').ForwardRefExoticComponent<UtrechtFormFieldErrorMessageProps & {
6
+ distanced?: boolean;
7
+ } & {
8
+ children?: import('react').ReactNode | undefined;
9
+ } & import('react').RefAttributes<HTMLParagraphElement>>;
@@ -0,0 +1,9 @@
1
+ import { LabelHTMLAttributes } from 'react';
2
+ export interface LuxFormFieldLabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
3
+ type?: 'checkbox' | 'radio';
4
+ disabled?: boolean;
5
+ checked?: boolean;
6
+ }
7
+ export declare const LuxFormFieldLabel: import('react').ForwardRefExoticComponent<LuxFormFieldLabelProps & {
8
+ children?: import('react').ReactNode | undefined;
9
+ } & import('react').RefAttributes<HTMLLabelElement>>;
@@ -0,0 +1,22 @@
1
+ import { default as React } from 'react';
2
+ type RadioOptionValue = string | number;
3
+ interface RadioOption {
4
+ value: RadioOptionValue;
5
+ label: string;
6
+ disabled?: boolean;
7
+ description?: React.ReactNode;
8
+ }
9
+ export interface LuxFormFieldRadioGroupProps {
10
+ name: string;
11
+ label: string;
12
+ description?: string;
13
+ errorMessage?: string;
14
+ options: RadioOption[];
15
+ value?: RadioOptionValue;
16
+ invalid?: boolean;
17
+ required?: boolean;
18
+ className?: string;
19
+ onChange?: (value: string) => void;
20
+ }
21
+ export declare const LuxFormFieldRadioGroup: React.ForwardRefExoticComponent<LuxFormFieldRadioGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
22
+ export {};
@@ -0,0 +1,20 @@
1
+ import { default as React } from 'react';
2
+ import { LuxRadioButtonProps } from '../radio-button/RadioButton';
3
+ export type LuxFormFieldRadioOptionProps = LuxRadioButtonProps & {
4
+ label: string | React.ReactNode;
5
+ description?: React.ReactNode;
6
+ checked?: boolean;
7
+ };
8
+ export declare const LuxFormFieldRadioOption: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & {
9
+ invalid?: boolean;
10
+ } & {
11
+ invalid?: boolean;
12
+ name: string;
13
+ checked?: boolean;
14
+ } & {
15
+ label: string | React.ReactNode;
16
+ description?: React.ReactNode;
17
+ checked?: boolean;
18
+ } & {
19
+ children?: React.ReactNode | undefined;
20
+ } & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,14 @@
1
+ import { FormFieldProps as UtrechtFormFieldProps } from '@utrecht/component-library-react/dist/css-module';
2
+ import { Ref } from 'react';
3
+ import { LuxFormFieldDescriptionAppearance } from '../form-field-description/FormFieldDescription';
4
+ import { LuxSelectOptionProps, LuxSelectProps } from '../select/Select';
5
+ export type LuxFormFieldSelectOptionsProps = LuxSelectOptionProps & {
6
+ label?: string | number;
7
+ };
8
+ export interface LuxFormFieldSelectProps extends Omit<UtrechtFormFieldProps, 'type' | 'onBlur' | 'onChange' | 'onFocus'>, Pick<LuxSelectProps, 'defaultValue' | 'busy' | 'className' | 'disabled' | 'invalid' | 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'required' | 'size' | 'value'> {
9
+ options?: LuxFormFieldSelectOptionsProps[];
10
+ appearance?: LuxFormFieldDescriptionAppearance;
11
+ distanced?: boolean;
12
+ inputRef?: Ref<HTMLSelectElement>;
13
+ }
14
+ export declare const LuxFormFieldSelect: ({ label, options, description, errorMessage, disabled, invalid, appearance, distanced, className, inputRef, ...restProps }: LuxFormFieldSelectProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { FormFieldTextboxProps as UtrechtFormFieldTextboxProps } from '@utrecht/component-library-react/dist/css-module';
2
+ import { LuxFormFieldDescriptionAppearance } from '../form-field-description/FormFieldDescription';
3
+ import { Direction } from '../textbox/Textbox';
4
+ export type LuxFormFieldTextboxProps = UtrechtFormFieldTextboxProps & {
5
+ appearance?: LuxFormFieldDescriptionAppearance;
6
+ distanced?: boolean;
7
+ inputDir?: Direction;
8
+ };
9
+ export declare const LuxFormFieldTextbox: ({ label, type, description, errorMessage, disabled, invalid, appearance, distanced, className, inputRef, inputDir, ...restProps }: LuxFormFieldTextboxProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
2
+ type HeadingLevels = 1 | 2 | 3 | 4 | 5 | 6;
3
+ export interface LuxHeadingProps extends HTMLAttributes<HTMLHeadingElement> {
4
+ appearance?: HeadingLevels;
5
+ level: HeadingLevels;
6
+ }
7
+ export declare const LuxHeading: ({ children, level, appearance, ...restProps }: PropsWithChildren<LuxHeadingProps>) => ReactNode;
8
+ export declare const LuxHeading1: ({ ...props }: PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>) => ReactNode;
9
+ export declare const LuxHeading2: ({ ...props }: PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>) => ReactNode;
10
+ export declare const LuxHeading3: ({ ...props }: PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>) => ReactNode;
11
+ export declare const LuxHeading4: ({ ...props }: PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>) => ReactNode;
12
+ export declare const LuxHeading5: ({ ...props }: PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>) => ReactNode;
13
+ export declare const LuxHeading6: ({ ...props }: PropsWithChildren<HTMLAttributes<HTMLHeadingElement>>) => ReactNode;
14
+ export {};
@@ -0,0 +1,5 @@
1
+ import { HeadingGroupProps } from '@utrecht/component-library-react/dist/css-module';
2
+ export declare const LuxHeadingGroup: import('react').ForwardRefExoticComponent<HeadingGroupProps & {
3
+ children?: import('react').ReactNode | undefined;
4
+ } & import('react').RefAttributes<HTMLElement>>;
5
+ export type LuxHeadingGroupProps = HeadingGroupProps;
@@ -0,0 +1,9 @@
1
+ import { SVGProps } from 'react';
2
+ /**
3
+ * Lux lamp icoon
4
+ *
5
+ * @param {SVGProps<SVGSVGElement>} props SVG Attributes
6
+ * @returns {*} SVG Element
7
+ */
8
+ declare const FallbackIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
9
+ export default FallbackIcon;
@@ -0,0 +1,8 @@
1
+ import { IconId } from '@lux-design-system/icons';
2
+ import { IconProps as UtrechtIconProps } from '@utrecht/component-library-react';
3
+ import { PropsWithChildren, ReactNode } from 'react';
4
+ export type LuxIconProps = UtrechtIconProps & {
5
+ iconId: IconId | string;
6
+ library?: Record<string, ReactNode>;
7
+ };
8
+ export declare const LuxIcon: ({ iconId, library, children }: PropsWithChildren<LuxIconProps>) => ReactNode;
@@ -0,0 +1,22 @@
1
+ export { LuxAlert, type LuxAlertProps } from './alert/Alert';
2
+ export { LuxButton, type LuxButtonProps } from './button/Button';
3
+ export { LuxCheckbox, type LuxCheckboxProps } from './checkbox/Checkbox';
4
+ export { LuxDocument, type LuxDocumentProps } from './document/Document';
5
+ export { LuxHeading, LuxHeading1, LuxHeading2, LuxHeading3, LuxHeading4, LuxHeading5, LuxHeading6, type LuxHeadingProps, } from './heading/Heading';
6
+ export { LuxHeadingGroup, type LuxHeadingGroupProps } from './heading-group/HeadingGroup';
7
+ export { LuxIcon, type LuxIconProps } from './icon/Icon';
8
+ export { LuxFormField, type LuxFormFieldProps } from './form-field/FormField';
9
+ export { LuxFormFieldCheckbox, type LuxFormFieldCheckboxProps } from './form-field-checkbox/FormFieldCheckbox';
10
+ export { LuxFormFieldDescription, type LuxFormFieldDescriptionProps, } from './form-field-description/FormFieldDescription';
11
+ export { LuxFormFieldErrorMessage, type LuxFormFieldErrorMessageProps, } from './form-field-error-message/FormFieldErrorMessage';
12
+ export { LuxFormFieldLabel, type LuxFormFieldLabelProps } from './form-field-label/FormFieldLabel';
13
+ export { LuxFormFieldSelect, type LuxFormFieldSelectProps, type LuxFormFieldSelectOptionsProps, } from './form-field-select/FormFieldSelect';
14
+ export { LuxFormFieldTextbox, type LuxFormFieldTextboxProps } from './form-field-textbox/FormFieldTextbox';
15
+ export { LuxParagraph, type LuxParagraphProps } from './paragraph/Paragraph';
16
+ export { LuxFormFieldRadioOption, type LuxFormFieldRadioOptionProps, } from './form-field-radio-option/FormFieldRadioOption';
17
+ export { LuxFormFieldRadioGroup, type LuxFormFieldRadioGroupProps } from './form-field-radio-group/FormFieldRadioGroup';
18
+ export { LuxLink, type LuxLinkProps } from './link/Link';
19
+ export { LuxPreHeading, type LuxPreHeadingProps } from './pre-heading/PreHeading';
20
+ export { LuxSection, type LuxSectionProps } from './section/Section';
21
+ export { LuxSelect, LuxSelectOption, type LuxSelectProps, type LuxSelectOptionProps } from './select/Select';
22
+ export { LuxTextbox, INPUT_TYPES, type LuxTextboxProps } from './textbox/Textbox';
@@ -0,0 +1,10 @@
1
+ import { LinkProps as UtrechtLinkProps } from '@utrecht/component-library-react/dist/css-module';
2
+ import { ReactElement } from 'react';
3
+ type IconPosition = 'start' | 'end';
4
+ export type LuxLinkProps = UtrechtLinkProps & {
5
+ external?: boolean;
6
+ icon?: ReactElement | undefined;
7
+ iconPosition?: IconPosition;
8
+ };
9
+ export declare const LuxLink: (props: LuxLinkProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,5 @@
1
+ import { ParagraphProps } from '@utrecht/component-library-react/dist/css-module';
2
+ export type LuxParagraphProps = Omit<ParagraphProps, 'lead' | 'small'> & {
3
+ appearance?: 'lead' | 'small';
4
+ };
5
+ export declare const LuxParagraph: (props: LuxParagraphProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { PreHeadingProps } from '@utrecht/component-library-react/dist/css-module';
2
+ export declare const LuxPreHeading: import('react').ForwardRefExoticComponent<PreHeadingProps & {
3
+ children?: import('react').ReactNode | undefined;
4
+ } & import('react').RefAttributes<HTMLParagraphElement>>;
5
+ export type LuxPreHeadingProps = PreHeadingProps;
@@ -0,0 +1,15 @@
1
+ import { RadioButtonProps as UtrechtRadioButtonProps } from '@utrecht/component-library-react/dist/css-module';
2
+ export type LuxRadioButtonProps = UtrechtRadioButtonProps & {
3
+ invalid?: boolean;
4
+ name: string;
5
+ checked?: boolean;
6
+ };
7
+ export declare const LuxRadioButton: import('react').ForwardRefExoticComponent<import('react').InputHTMLAttributes<HTMLInputElement> & {
8
+ invalid?: boolean;
9
+ } & {
10
+ invalid?: boolean;
11
+ name: string;
12
+ checked?: boolean;
13
+ } & {
14
+ children?: import('react').ReactNode | undefined;
15
+ } & import('react').RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,4 @@
1
+ import { HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
2
+ export interface LuxSectionProps extends HTMLAttributes<HTMLDivElement> {
3
+ }
4
+ export declare const LuxSection: ({ children, className, ...otherProps }: PropsWithChildren<LuxSectionProps>) => ReactNode;
@@ -0,0 +1,7 @@
1
+ import { SelectOptionProps as UtrechtSelectOptionProps, SelectProps as UtrechtSelectProps } from '@utrecht/component-library-react/dist/css-module';
2
+ export type LuxSelectProps = UtrechtSelectProps;
3
+ export type LuxSelectOptionProps = UtrechtSelectOptionProps;
4
+ export declare const LuxSelect: import('react').ForwardRefExoticComponent<UtrechtSelectProps & import('react').RefAttributes<HTMLSelectElement>>;
5
+ export declare const LuxSelectOption: import('react').ForwardRefExoticComponent<UtrechtSelectOptionProps & {
6
+ children?: import('react').ReactNode | undefined;
7
+ } & import('react').RefAttributes<HTMLOptionElement>>;
@@ -0,0 +1,31 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ export declare const INPUT_TYPES: {
3
+ readonly TEXT: "text";
4
+ readonly EMAIL: "email";
5
+ readonly URL: "url";
6
+ readonly TEL: "tel";
7
+ readonly SEARCH: "search";
8
+ readonly PASSWORD: "password";
9
+ readonly NUMBER: "number";
10
+ readonly DATE: "date";
11
+ readonly DATETIME_LOCAL: "datetime-local";
12
+ readonly MONTH: "month";
13
+ readonly TIME: "time";
14
+ readonly WEEK: "week";
15
+ };
16
+ export type InputType = (typeof INPUT_TYPES)[keyof typeof INPUT_TYPES];
17
+ export type Direction = 'ltr' | 'rtl' | 'auto';
18
+ export interface LuxTextboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
19
+ type?: InputType;
20
+ invalid?: boolean;
21
+ dir?: Direction;
22
+ focus?: boolean;
23
+ focusVisible?: boolean;
24
+ autoComplete?: string;
25
+ minLength?: number;
26
+ placeholderDir?: Direction;
27
+ spellCheck?: boolean;
28
+ }
29
+ export declare const LuxTextbox: import('react').ForwardRefExoticComponent<LuxTextboxProps & {
30
+ children?: import('react').ReactNode | undefined;
31
+ } & import('react').RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Pick only certain keys form object.
3
+ *
4
+ * @export
5
+ * @template {object} T
6
+ * @template {keyof T} U
7
+ * @param {T} obj Object to pick from
8
+ * @param {Array<U>} keys Keys to pick
9
+ * @returns {Pick<T, U>} Object containing only picked keys
10
+ */
11
+ export declare function pick<T extends object, U extends keyof T>(obj: T, keys: Array<U>): Pick<T, U>;
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vite').UserConfig;
2
+ export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "version": "1.0.0-alpha.2",
2
+ "version": "1.0.0",
3
3
  "author": "Community for NL Design System",
4
- "description": "React component library for LUX, the Design System for Logius, based on the NL Design System architecture",
4
+ "description": "React component library for LUX, the Design System for Logius, based on the NL Design System architecture",
5
5
  "license": "EUPL-1.2",
6
6
  "name": "@lux-design-system/components-react",
7
7
  "keywords": [
@@ -17,18 +17,26 @@
17
17
  "url": "git@github.com:nl-design-system/lux-community.git",
18
18
  "directory": "packages/components-react"
19
19
  },
20
- "main": "./dist/index.cjs.js",
21
- "module": "./dist/index.esm.js",
22
- "types": "./dist/index.d.ts",
20
+ "main": "./dist/index.umd.js",
21
+ "module": "./dist/index.mjs",
22
+ "types": "./dist/src/index.d.ts",
23
+ "exports": {
24
+ ".": {
25
+ "import": "./dist/index.mjs",
26
+ "require": "./dist/index.umd.cjs"
27
+ }
28
+ },
23
29
  "files": [
24
- "dist/",
25
- "src/"
30
+ "dist/"
26
31
  ],
27
32
  "dependencies": {
28
- "@utrecht/component-library-react": "5",
33
+ "@utrecht/component-library-css": "6.1.0",
34
+ "@utrecht/component-library-react": "7.1.0",
35
+ "@utrecht/focus-ring-css": "2.3.0",
29
36
  "clsx": "2.1.1",
30
37
  "date-fns": "3.6.0",
31
- "lodash.chunk": "4.2.0"
38
+ "lodash.chunk": "4.2.0",
39
+ "@lux-design-system/icons": "1.0.0"
32
40
  },
33
41
  "devDependencies": {
34
42
  "@babel/core": "7.25.2",
@@ -38,35 +46,30 @@
38
46
  "@babel/preset-typescript": "7.24.7",
39
47
  "@babel/runtime": "7.25.0",
40
48
  "@jest/globals": "29.7.0",
41
- "@rollup/plugin-babel": "6.0.4",
42
- "@rollup/plugin-commonjs": "26.0.1",
43
- "@rollup/plugin-node-resolve": "15.2.3",
44
49
  "@testing-library/dom": "10.4.0",
45
- "@testing-library/jest-dom": "6.4.8",
50
+ "@testing-library/jest-dom": "6.5.0",
46
51
  "@testing-library/react": "16.0.0",
47
52
  "@testing-library/user-event": "14.5.2",
48
53
  "@types/jest": "29.5.12",
49
54
  "@types/lodash.chunk": "4.2.9",
50
55
  "@types/react": "18.3.3",
51
56
  "@vitejs/plugin-react": "4.3.1",
57
+ "cross-env": "7.0.3",
52
58
  "jest": "29.7.0",
53
59
  "jest-environment-jsdom": "29.7.0",
60
+ "mkdirp": "3.0.1",
54
61
  "next": "14.2.5",
55
62
  "npm-run-all": "4.1.5",
56
63
  "react": "18.3.1",
57
64
  "react-dom": "18.3.1",
58
65
  "rimraf": "6.0.1",
59
66
  "rollup": "4.20.0",
60
- "rollup-plugin-filesize": "10.0.0",
61
- "rollup-plugin-node-externals": "7.1.2",
62
- "rollup-plugin-node-polyfills": "0.2.1",
63
- "rollup-plugin-peer-deps-external": "2.2.4",
64
- "rollup-plugin-postcss": "4.0.2",
65
- "rollup-plugin-typescript2": "0.36.0",
66
67
  "sass": "1.77.8",
67
68
  "tslib": "2.6.3",
68
69
  "typescript": "5.5.4",
69
70
  "vite": "5.3.5",
71
+ "vite-plugin-css-injected-by-js": "3.5.2",
72
+ "vite-plugin-dts": "4.2.3",
70
73
  "vite-plugin-runtime-config": "1.0.2",
71
74
  "@lux-design-system/components-css": "1.0.0-alpha.0"
72
75
  },
@@ -80,7 +83,8 @@
80
83
  "build:components": "vite build",
81
84
  "clean": "rimraf dist/ pages/",
82
85
  "lint": "tsc --project ./tsconfig.json --noEmit && tsc --noEmit --project ./tsconfig.test.json",
83
- "test": "mkdir -p pages && NODE_OPTIONS=--experimental-vm-modules jest --verbose",
84
- "watch:test": "NODE_OPTIONS=--experimental-vm-modules jest --verbose --watch"
86
+ "test": "mkdirp pages && cross-env NODE_OPTIONS=--experimental-vm-modules jest --verbose",
87
+ "watch:components": "vite build --watch",
88
+ "watch:test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --verbose --watch"
85
89
  }
86
90
  }