@konoma-development/react-components 0.0.14 → 0.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/@konoma-development/react-components.js +1648 -31850
- package/dist/@konoma-development/react-components.js.map +1 -1
- package/dist/components/form/checkbox.d.ts +1 -1
- package/dist/components/form/checkboxList.d.ts +1 -1
- package/dist/components/form/formField.d.ts +9 -9
- package/dist/components/form/input.d.ts +1 -1
- package/dist/components/form/phoneInput.d.ts +1 -1
- package/dist/components/form/radiobuttonGroup.d.ts +1 -1
- package/dist/components/form/select.d.ts +1 -1
- package/dist/components/form/tagList.d.ts +1 -1
- package/dist/components/form/textarea.d.ts +1 -1
- package/dist/components/table/columnChooser.d.ts +1 -1
- package/dist/components/table/table.d.ts +1 -1
- package/dist/components/ui/modal.d.ts +1 -1
- package/dist/eslint.config.d.ts +1 -1
- package/dist/main.d.ts +24 -24
- package/dist/postcss.config.d.ts +1 -2
- package/package.json +11 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormFieldProps } from './types';
|
|
1
|
+
import { FormFieldProps } from './types.ts';
|
|
2
2
|
export default function Checkbox<DataType>({ classesFilled, classesError, classesEmpty, labelClassesFilled, labelClassesError, labelClassesEmpty, iconClassesFilled, value, defaultValue,
|
|
3
3
|
/** UNUSED, only listed so that the typing for onInput does not clash with the onInput event of the input */
|
|
4
4
|
onInput, onChange, label, indeterminate, disabled, className, name, error, ...props }: FormFieldProps<DataType>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { FormFieldProps } from './types';
|
|
1
|
+
import { FormFieldProps } from './types.ts';
|
|
2
2
|
export default function CheckboxList<DataType>({ labelClasses, wrapperClasses, classes, classesError, errorClasses, childClasses, label, error, name, options, required, labelPosition, values, onChange, }: FormFieldProps<DataType>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { default as Checkbox } from './checkbox';
|
|
2
|
-
import { default as CheckboxList } from './checkboxList';
|
|
3
|
-
import { default as Input } from './input';
|
|
4
|
-
import { default as PhoneInput } from './phoneInput';
|
|
5
|
-
import { default as RadioButtonGroup } from './radiobuttonGroup';
|
|
6
|
-
import { default as Select } from './select';
|
|
7
|
-
import { default as TagList } from './tagList';
|
|
8
|
-
import { default as Textarea } from './textarea';
|
|
9
|
-
import { FormFieldProps } from './types';
|
|
1
|
+
import { default as Checkbox } from './checkbox.tsx';
|
|
2
|
+
import { default as CheckboxList } from './checkboxList.tsx';
|
|
3
|
+
import { default as Input } from './input.tsx';
|
|
4
|
+
import { default as PhoneInput } from './phoneInput.tsx';
|
|
5
|
+
import { default as RadioButtonGroup } from './radiobuttonGroup.tsx';
|
|
6
|
+
import { default as Select } from './select.tsx';
|
|
7
|
+
import { default as TagList } from './tagList.tsx';
|
|
8
|
+
import { default as Textarea } from './textarea.tsx';
|
|
9
|
+
import { FormFieldProps } from './types.ts';
|
|
10
10
|
declare const FormFieldComponents: {
|
|
11
11
|
checkbox: typeof Checkbox;
|
|
12
12
|
checkboxList: typeof CheckboxList;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { FormFieldProps } from './types';
|
|
1
|
+
import { FormFieldProps } from './types.ts';
|
|
2
2
|
export default function Input<DataType>({ classes, wrapperClasses, labelClasses, iconLeftClasses, iconRightClasses, errorClasses, classesError, classesNeutral, additionalClassesIconLeft, additionalClassesIconRight, wrapperRightClasses, label, iconLeftPath, iconLeftName, iconRightPath, iconRightName, textRight, centered, error, required, name, value, mask, defaultValue, placeholder, className, onIconRightClick, onIconLeftClick, onChange, onClick, onKeyDown, onBlur, ...props }: FormFieldProps<DataType>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { FormFieldProps } from './types';
|
|
1
|
+
import { FormFieldProps } from './types.ts';
|
|
2
2
|
export default function PhoneInput<DataType>({ classes, wrapperClasses, labelClasses, wrapperLeftClasses, errorClasses, classesError, classesNeutral, label, centered, error, required, name, value, defaultValue, className, onChange, onClick, onKeyDown, onBlur, ...props }: FormFieldProps<DataType>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormFieldProps, Option } from './types';
|
|
1
|
+
import { FormFieldProps, Option } from './types.ts';
|
|
2
2
|
export default function RadioButtonGroup<DataType>({ classes, controlClasses, optionClasses, labelClasses, classesFilled, classesEmpty, wrapperClasses, labelWrapperClasses, errorClasses, options, error, required, value, label, name, arrangement, onChange, }: FormFieldProps<DataType> & {
|
|
3
3
|
options: Option[];
|
|
4
4
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { FormFieldProps } from './types';
|
|
1
|
+
import { FormFieldProps } from './types.ts';
|
|
2
2
|
export default function Select<DataType>({ classes, errorClasses, labelClasses, labelWrapperClasses, classesNeutral, classesError, focusClasses, controlClasses, optionClasses, optionSelectedClasses, optionFocusedClasses, valueClasses, placeholderClasses, wrapperClasses, indicatorClasses, valueContainerClasses, options, placeholder, className, required, error, defaultValue, searchable, label, name, isClearable, disabled, noValue, allowCustomValues, customValueLabel, menuPortalTarget, isMulti, onInput, onKeyDown, onChange, ...props }: FormFieldProps<DataType>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { FormFieldProps } from './types';
|
|
1
|
+
import { FormFieldProps } from './types.ts';
|
|
2
2
|
export default function TagList<DataType>({ classes, wrapperClasses, labelClasses, errorClasses, classesError, classesNeutral, label, error, required, values, addTagTitle, onChange, className, }: FormFieldProps<DataType>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormFieldProps } from './types';
|
|
1
|
+
import { FormFieldProps } from './types.ts';
|
|
2
2
|
export default function Textarea<DataType>({ classes, classesNeutral, classesError, errorClasses, labelClasses, hintClasses, wrapperClasses, resizeClasses, resizeIconClasses, controlClasses, labelWrapperClasses, classesDisabled, resizeIconPath, resizeIconName, label, error, required, initialHeight, maxLength, replacements, name, value, disabled, defaultValue, maxLengthLabel,
|
|
3
3
|
/** UNUSED, only listed so that the typing for onInput does not clash with the onInput event of the textarea */
|
|
4
4
|
onInput, onChange, ...props }: FormFieldProps<DataType>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtendedRefs, FloatingContext } from '@floating-ui/react';
|
|
2
|
-
import { TableColumn } from './table';
|
|
2
|
+
import { TableColumn } from './table.tsx';
|
|
3
3
|
export default function ColumnChooser<DataType>({ columns, context, refs, floatingStyles, wrapperClasses, headerClasses, columnsWrapperClasses, entryClasses, visibleColumnClasses, hiddenColumnClasses, columnsLabel, updateColumns, getFloatingProps, }: {
|
|
4
4
|
columns: TableColumn<DataType>[];
|
|
5
5
|
context: FloatingContext;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as Button } from './button';
|
|
1
|
+
import { default as Button } from './button.tsx';
|
|
2
2
|
export default function Modal({ backdropClasses, contentClasses, headerWrapperClasses, footerWrapperClasses, footerLeftClasses, footerRightClasses, titleClasses, closeWrapperClasses, iconClasses, children, headerContent, footerContent, title, footerActions, hasCloseIcon, onClose, }: {
|
|
3
3
|
backdropClasses?: string;
|
|
4
4
|
contentClasses?: string;
|
package/dist/eslint.config.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: (import("eslint").Linter.Config<import("eslint").Linter.RulesRecord> | {
|
|
2
2
|
readonly rules: Readonly<import("eslint").Linter.RulesRecord>;
|
|
3
|
-
} | import("eslint").ESLint.ConfigData<import("eslint").Linter.RulesRecord> | import("@typescript-eslint/utils/
|
|
3
|
+
} | import("eslint").ESLint.ConfigData<import("eslint").Linter.RulesRecord> | import("@typescript-eslint/utils/ts-eslint").FlatConfig.Config | {
|
|
4
4
|
files: string[];
|
|
5
5
|
plugins: {
|
|
6
6
|
'simple-import-sort': import("eslint").ESLint.Plugin;
|
package/dist/main.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { default as Checkbox } from './components/form/checkbox';
|
|
2
|
-
import { default as CheckboxList } from './components/form/checkboxList';
|
|
3
|
-
import { default as Form, ErrorContext } from './components/form/form';
|
|
4
|
-
import { default as FormField } from './components/form/formField';
|
|
5
|
-
import { default as Input } from './components/form/input';
|
|
6
|
-
import { default as PhoneInput } from './components/form/phoneInput';
|
|
7
|
-
import { default as RadioButtonGroup } from './components/form/radiobuttonGroup';
|
|
8
|
-
import { default as Select } from './components/form/select';
|
|
9
|
-
import { default as TagList } from './components/form/tagList';
|
|
10
|
-
import { default as TextArea } from './components/form/textarea';
|
|
11
|
-
import { Classes, FormFieldProps, FormValue, Mask, Option } from './components/form/types';
|
|
12
|
-
import { default as ColumnChooser } from './components/table/columnChooser';
|
|
13
|
-
import { default as ColumnChooserEntry } from './components/table/columnChooserEntry';
|
|
14
|
-
import { FilterContext } from './components/table/FilterContext';
|
|
15
|
-
import { default as Pagination } from './components/table/pagination';
|
|
16
|
-
import { TableColumn, default as Table } from './components/table/table';
|
|
17
|
-
import { default as TableActions, TableActionEntry } from './components/table/tableActions';
|
|
18
|
-
import { default as Button } from './components/ui/button';
|
|
19
|
-
import { default as Icon } from './components/ui/icon';
|
|
20
|
-
import { default as LoadingIndicator } from './components/ui/loadingIndicator';
|
|
21
|
-
import { default as Modal } from './components/ui/modal';
|
|
22
|
-
import { default as Tabs } from './components/ui/tabs';
|
|
23
|
-
import { default as Tag } from './components/ui/tag';
|
|
24
|
-
import * as validators from './components/form/validators';
|
|
1
|
+
import { default as Checkbox } from './components/form/checkbox.tsx';
|
|
2
|
+
import { default as CheckboxList } from './components/form/checkboxList.tsx';
|
|
3
|
+
import { default as Form, ErrorContext } from './components/form/form.tsx';
|
|
4
|
+
import { default as FormField } from './components/form/formField.tsx';
|
|
5
|
+
import { default as Input } from './components/form/input.tsx';
|
|
6
|
+
import { default as PhoneInput } from './components/form/phoneInput.tsx';
|
|
7
|
+
import { default as RadioButtonGroup } from './components/form/radiobuttonGroup.tsx';
|
|
8
|
+
import { default as Select } from './components/form/select.tsx';
|
|
9
|
+
import { default as TagList } from './components/form/tagList.tsx';
|
|
10
|
+
import { default as TextArea } from './components/form/textarea.tsx';
|
|
11
|
+
import { Classes, FormFieldProps, FormValue, Mask, Option } from './components/form/types.ts';
|
|
12
|
+
import { default as ColumnChooser } from './components/table/columnChooser.tsx';
|
|
13
|
+
import { default as ColumnChooserEntry } from './components/table/columnChooserEntry.tsx';
|
|
14
|
+
import { FilterContext } from './components/table/FilterContext.ts';
|
|
15
|
+
import { default as Pagination } from './components/table/pagination.tsx';
|
|
16
|
+
import { TableColumn, default as Table } from './components/table/table.tsx';
|
|
17
|
+
import { default as TableActions, TableActionEntry } from './components/table/tableActions.tsx';
|
|
18
|
+
import { default as Button } from './components/ui/button.tsx';
|
|
19
|
+
import { default as Icon } from './components/ui/icon.tsx';
|
|
20
|
+
import { default as LoadingIndicator } from './components/ui/loadingIndicator.tsx';
|
|
21
|
+
import { default as Modal } from './components/ui/modal.tsx';
|
|
22
|
+
import { default as Tabs } from './components/ui/tabs.tsx';
|
|
23
|
+
import { default as Tag } from './components/ui/tag.tsx';
|
|
24
|
+
import * as validators from './components/form/validators.ts';
|
|
25
25
|
export { Button, Checkbox, CheckboxList, Classes, ColumnChooser, ColumnChooserEntry, ErrorContext, FilterContext, Form, FormField, FormFieldProps, FormValue, Icon, Input, LoadingIndicator, Mask, Modal, Option, Pagination, PhoneInput, RadioButtonGroup, Select, Table, TableActionEntry, TableActions, TableColumn, Tabs, Tag, TagList, TextArea, validators, };
|
package/dist/postcss.config.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konoma-development/react-components",
|
|
3
3
|
"packageManager": "yarn@4.6.0",
|
|
4
|
-
"version": "0.0
|
|
4
|
+
"version": "0.1.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -30,9 +30,10 @@
|
|
|
30
30
|
"@floating-ui/react": "^0.27.3",
|
|
31
31
|
"@heroicons/react": "^2.2.0",
|
|
32
32
|
"@iconify-icon/react": "^2.3.0",
|
|
33
|
+
"@tailwindcss/postcss": "^4.1.10",
|
|
33
34
|
"@types/node": "^22.10.8",
|
|
34
|
-
"@types/react": "^
|
|
35
|
-
"@types/react-dom": "^
|
|
35
|
+
"@types/react": "^19.1.8",
|
|
36
|
+
"@types/react-dom": "^19.1.6",
|
|
36
37
|
"@typescript-eslint/parser": "^8.21.0",
|
|
37
38
|
"@vitejs/plugin-react": "^4.3.4",
|
|
38
39
|
"dnd-core": "^16.0.1",
|
|
@@ -45,17 +46,17 @@
|
|
|
45
46
|
"globals": "^15.14.0",
|
|
46
47
|
"jiti": "^2.4.2",
|
|
47
48
|
"prettier": "^3.4.2",
|
|
48
|
-
"prettier-plugin-tailwindcss": "^0.6.
|
|
49
|
+
"prettier-plugin-tailwindcss": "^0.6.12",
|
|
49
50
|
"re-resizable": "^6.10.3",
|
|
50
|
-
"react": "^
|
|
51
|
+
"react": "^19.1.0",
|
|
51
52
|
"react-dnd": "^16.0.1",
|
|
52
53
|
"react-dnd-html5-backend": "^16.0.1",
|
|
53
54
|
"react-dnd-touch-backend": "^16.0.1",
|
|
54
|
-
"react-dom": "^
|
|
55
|
+
"react-dom": "^19.1.0",
|
|
55
56
|
"react-imask": "^7.6.1",
|
|
56
57
|
"react-select": "^5.9.0",
|
|
57
58
|
"rollup": "^4.31.0",
|
|
58
|
-
"tailwindcss": "^
|
|
59
|
+
"tailwindcss": "^4.1.10",
|
|
59
60
|
"typescript": "^5.7.3",
|
|
60
61
|
"typescript-eslint": "^8.21.0",
|
|
61
62
|
"vite": "^6.0.11",
|
|
@@ -65,13 +66,12 @@
|
|
|
65
66
|
"peerDependencies": {
|
|
66
67
|
"dnd-core": "^16.0.1",
|
|
67
68
|
"re-resizable": "^6.10.3",
|
|
68
|
-
"react": "^
|
|
69
|
+
"react": "^19.1.0",
|
|
69
70
|
"react-dnd": "^16.0.1",
|
|
70
71
|
"react-dnd-html5-backend": "^16.0.1",
|
|
71
72
|
"react-dnd-touch-backend": "^16.0.1",
|
|
72
|
-
"react-dom": "^
|
|
73
|
+
"react-dom": "^19.1.0",
|
|
73
74
|
"react-imask": "^7.6.1",
|
|
74
|
-
"react-select": "^5.9.0"
|
|
75
|
-
"tailwindcss": "^3.0.0"
|
|
75
|
+
"react-select": "^5.9.0"
|
|
76
76
|
}
|
|
77
77
|
}
|