@lux-design-system/components-react 1.0.0 → 1.1.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/index.mjs +1134 -12745
- package/dist/index.umd.js +1136 -12747
- package/dist/jest.setup.d.ts +0 -0
- package/dist/src/alert/test/Alert.spec.d.ts +1 -0
- package/dist/src/button/test/Button.spec.d.ts +1 -0
- package/dist/src/checkbox/test/Checkbox.spec.d.ts +1 -0
- package/dist/src/document/test/document.spec.d.ts +1 -0
- package/dist/src/form-field/test/FormField.spec.d.ts +1 -0
- package/dist/src/form-field-checkbox/test/form-field-checkbox.spec.d.ts +1 -0
- package/dist/src/form-field-description/test/FormFieldDescription.spec.d.ts +1 -0
- package/dist/src/form-field-error-message/test/FormFieldErrorMessage.spec.d.ts +1 -0
- package/dist/src/form-field-label/test/FormFieldLabel.spec.d.ts +1 -0
- package/dist/src/form-field-radio-group/test/FormFieldRadioGroup.spec.d.ts +1 -0
- package/dist/src/form-field-radio-option/test/FormFieldRadioOption.spec.d.ts +1 -0
- package/dist/src/form-field-select/test/form-field-select.spec.d.ts +1 -0
- package/dist/src/form-field-textarea/FormFieldTextarea.d.ts +9 -0
- package/dist/src/form-field-textarea/test/form-field-textarea.spec.d.ts +1 -0
- package/dist/src/form-field-textbox/test/form-field-textbox.spec.d.ts +1 -0
- package/dist/src/heading/test/Heading.spec.d.ts +1 -0
- package/dist/src/heading-group/test/HeadingGroup.spec.d.ts +1 -0
- package/dist/src/icon/FallbackIcon.d.ts +1 -0
- package/dist/src/icon/Icon.d.ts +3 -5
- package/dist/src/icon/test/Icon.spec.d.ts +1 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.test.d.ts +1 -0
- package/dist/src/link/test/Link.spec.d.ts +1 -0
- package/dist/src/paragraph/test/paragraph.spec.d.ts +1 -0
- package/dist/src/pre-heading/test/PreHeading.spec.d.ts +1 -0
- package/dist/src/radio-button/test/RadioButton.spec.d.ts +1 -0
- package/dist/src/section/test/Section.spec.d.ts +1 -0
- package/dist/src/select/test/Select.spec.d.ts +1 -0
- package/dist/src/textarea/Textarea.d.ts +8 -0
- package/dist/src/textarea/test/Textarea.spec.d.ts +1 -0
- package/dist/src/textbox/test/Textbox.spec.d.ts +1 -0
- package/package.json +2 -3
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormFieldTextareaProps as UtrechtFormFieldTextareaProps } from '@utrecht/component-library-react/dist/css-module';
|
|
2
|
+
import { LuxFormFieldDescriptionAppearance } from '../form-field-description/FormFieldDescription';
|
|
3
|
+
import { Direction } from '../textarea/Textarea';
|
|
4
|
+
export type LuxFormFieldTextareaProps = UtrechtFormFieldTextareaProps & {
|
|
5
|
+
appearance?: LuxFormFieldDescriptionAppearance;
|
|
6
|
+
distanced?: boolean;
|
|
7
|
+
inputDir?: Direction;
|
|
8
|
+
};
|
|
9
|
+
export declare const LuxFormFieldTextarea: ({ label, description, errorMessage, disabled, invalid, appearance, distanced, className, inputRef, inputDir, ...restProps }: LuxFormFieldTextareaProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/src/icon/Icon.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IconProps as UtrechtIconProps } from '@utrecht/component-library-react';
|
|
1
|
+
import { IconProps as UtrechtIconProps } from '@utrecht/component-library-react/dist/css-module';
|
|
3
2
|
import { PropsWithChildren, ReactNode } from 'react';
|
|
4
3
|
export type LuxIconProps = UtrechtIconProps & {
|
|
5
|
-
|
|
6
|
-
library?: Record<string, ReactNode>;
|
|
4
|
+
icon?: ReactNode;
|
|
7
5
|
};
|
|
8
|
-
export declare const LuxIcon: ({
|
|
6
|
+
export declare const LuxIcon: ({ icon, children }: PropsWithChildren<LuxIconProps>) => ReactNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export { LuxFormFieldDescription, type LuxFormFieldDescriptionProps, } from './f
|
|
|
11
11
|
export { LuxFormFieldErrorMessage, type LuxFormFieldErrorMessageProps, } from './form-field-error-message/FormFieldErrorMessage';
|
|
12
12
|
export { LuxFormFieldLabel, type LuxFormFieldLabelProps } from './form-field-label/FormFieldLabel';
|
|
13
13
|
export { LuxFormFieldSelect, type LuxFormFieldSelectProps, type LuxFormFieldSelectOptionsProps, } from './form-field-select/FormFieldSelect';
|
|
14
|
+
export { LuxFormFieldTextarea, type LuxFormFieldTextareaProps } from './form-field-textarea/FormFieldTextarea';
|
|
14
15
|
export { LuxFormFieldTextbox, type LuxFormFieldTextboxProps } from './form-field-textbox/FormFieldTextbox';
|
|
15
16
|
export { LuxParagraph, type LuxParagraphProps } from './paragraph/Paragraph';
|
|
16
17
|
export { LuxFormFieldRadioOption, type LuxFormFieldRadioOptionProps, } from './form-field-radio-option/FormFieldRadioOption';
|
|
@@ -20,3 +21,4 @@ export { LuxPreHeading, type LuxPreHeadingProps } from './pre-heading/PreHeading
|
|
|
20
21
|
export { LuxSection, type LuxSectionProps } from './section/Section';
|
|
21
22
|
export { LuxSelect, LuxSelectOption, type LuxSelectProps, type LuxSelectOptionProps } from './select/Select';
|
|
22
23
|
export { LuxTextbox, INPUT_TYPES, type LuxTextboxProps } from './textbox/Textbox';
|
|
24
|
+
export { LuxTextArea, type LuxTextAreaProps } from './textarea/Textarea';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TextareaProps as UtrechtTextareaProps } from '@utrecht/component-library-react/dist/css-module';
|
|
2
|
+
export type Direction = 'ltr' | 'rtl' | 'auto';
|
|
3
|
+
export interface LuxTextAreaProps extends UtrechtTextareaProps {
|
|
4
|
+
dir?: Direction;
|
|
5
|
+
}
|
|
6
|
+
export declare const LuxTextArea: import('react').ForwardRefExoticComponent<LuxTextAreaProps & {
|
|
7
|
+
children?: import('react').ReactNode | undefined;
|
|
8
|
+
} & import('react').RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.1.0",
|
|
3
3
|
"author": "Community for NL Design System",
|
|
4
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",
|
|
@@ -35,8 +35,7 @@
|
|
|
35
35
|
"@utrecht/focus-ring-css": "2.3.0",
|
|
36
36
|
"clsx": "2.1.1",
|
|
37
37
|
"date-fns": "3.6.0",
|
|
38
|
-
"lodash.chunk": "4.2.0"
|
|
39
|
-
"@lux-design-system/icons": "1.0.0"
|
|
38
|
+
"lodash.chunk": "4.2.0"
|
|
40
39
|
},
|
|
41
40
|
"devDependencies": {
|
|
42
41
|
"@babel/core": "7.25.2",
|