@infonomic/uikit 5.7.0 → 5.9.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/components/accordion/accordion.js +1 -1
- package/dist/components/animation/fade-in-lift.js +1 -1
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/button/button-group.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button/control-buttons.js +1 -1
- package/dist/components/button/copy-button.js +1 -1
- package/dist/components/button/icon-button.js +1 -1
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/forms/calendar.js +1 -1
- package/dist/components/forms/checkbox-group.js +1 -1
- package/dist/components/forms/checkbox.js +1 -1
- package/dist/components/forms/input.js +1 -1
- package/dist/components/forms/radio-group.js +1 -1
- package/dist/components/forms/select.js +1 -1
- package/dist/components/forms/text-area.d.ts +1 -1
- package/dist/components/forms/text-area.d.ts.map +1 -1
- package/dist/components/forms/text-area.js +1 -1
- package/dist/components/hamburger/hamburger.js +1 -1
- package/dist/components/notifications/alert.js +1 -1
- package/dist/components/notifications/toast.js +1 -1
- package/dist/components/overlay/overlay.js +1 -1
- package/dist/components/pager/ellipses.js +1 -1
- package/dist/components/pager/event-pager.js +1 -1
- package/dist/components/pager/first-button.js +1 -1
- package/dist/components/pager/last-button.js +1 -1
- package/dist/components/pager/next-button.js +1 -1
- package/dist/components/pager/number-button.js +1 -1
- package/dist/components/pager/pagination.js +1 -1
- package/dist/components/pager/previous-button.js +1 -1
- package/dist/components/scroll-to-top/scroll-to-top.js +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/widgets/datepicker/datepicker.js +1 -1
- package/dist/widgets/drawer/drawer-container.js +1 -1
- package/dist/widgets/drawer/drawer-content.js +1 -1
- package/dist/widgets/drawer/drawer-context.js +1 -1
- package/dist/widgets/drawer/drawer-header.js +1 -1
- package/dist/widgets/drawer/drawer-top-actions.js +1 -1
- package/dist/widgets/drawer/drawer-wrapper.js +1 -1
- package/dist/widgets/drawer/drawer.js +1 -1
- package/dist/widgets/drawer/motionDomAnimation.js +1 -1
- package/dist/widgets/drawer/motionDomMax.js +1 -1
- package/dist/widgets/modal/modal-actions.js +1 -1
- package/dist/widgets/modal/modal-container.js +1 -1
- package/dist/widgets/modal/modal-content.js +1 -1
- package/dist/widgets/modal/modal-header.js +1 -1
- package/dist/widgets/modal/modal-wrapper.js +1 -1
- package/dist/widgets/modal/modal.js +1 -1
- package/dist/widgets/modal/motionDomAnimation.js +1 -1
- package/dist/widgets/modal/motionDomMax.js +1 -1
- package/dist/widgets/search/search.js +1 -1
- package/dist/widgets/timeline/timeline.js +1 -1
- package/package.json +23 -23
- package/src/components/forms/text-area.tsx +2 -2
|
@@ -3,7 +3,7 @@ import type { Intent, Variant } from './@types/input.js';
|
|
|
3
3
|
export interface TextAreaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
6
|
-
label
|
|
6
|
+
label?: string;
|
|
7
7
|
required?: boolean;
|
|
8
8
|
variant?: Variant;
|
|
9
9
|
intent?: Intent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../src/components/forms/text-area.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAOxD,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC;IACtF,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"text-area.d.ts","sourceRoot":"","sources":["../../../src/components/forms/text-area.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAOxD,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC;IACtF,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,GAAG,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,mBAAmB,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAA;CAClG;AAED,eAAO,MAAM,QAAQ,GAAqB,sIAgBvC,aAAa,KAAG,KAAK,CAAC,GAAG,CAAC,OAsC5B,CAAA"}
|
|
@@ -9,7 +9,7 @@ const text_area_TextArea = function({ ref, id, name, label, rows = 4, required =
|
|
|
9
9
|
return /*#__PURE__*/ jsxs("fieldset", {
|
|
10
10
|
className: classnames('text-area-wrapper', input_module["input-wrapper"]),
|
|
11
11
|
children: [
|
|
12
|
-
/*#__PURE__*/ jsx(Label, {
|
|
12
|
+
null != label && /*#__PURE__*/ jsx(Label, {
|
|
13
13
|
id: id,
|
|
14
14
|
htmlFor: id,
|
|
15
15
|
required: required,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@infonomic/uikit",
|
|
3
3
|
"private": false,
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "5.
|
|
5
|
+
"version": "5.9.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"description": "Infonomic UI kit is a collection of reusable UI components and utilities for React and Astro.",
|
|
8
8
|
"keywords": [
|
|
@@ -54,49 +54,49 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@mantine/hooks": "^8.3.
|
|
57
|
+
"@mantine/hooks": "^8.3.9",
|
|
58
58
|
"@radix-ui/react-icons": "^1.3.2",
|
|
59
59
|
"@radix-ui/react-slot": "^1.2.4",
|
|
60
60
|
"classnames": "^2.5.1",
|
|
61
61
|
"date-fns": "^4.1.0",
|
|
62
62
|
"material-ripple-effects": "^2.0.1",
|
|
63
|
-
"motion": "^12.23.
|
|
63
|
+
"motion": "^12.23.25",
|
|
64
64
|
"npm-run-all": "^4.1.5",
|
|
65
65
|
"prism-react-renderer": "^2.4.1",
|
|
66
66
|
"radix-ui": "^1.4.3",
|
|
67
|
-
"react": "19.2.
|
|
68
|
-
"react-day-picker": "^9.11.
|
|
69
|
-
"react-dom": "19.2.
|
|
70
|
-
"zod": "^4.1.
|
|
67
|
+
"react": "19.2.1",
|
|
68
|
+
"react-day-picker": "^9.11.3",
|
|
69
|
+
"react-dom": "19.2.1",
|
|
70
|
+
"zod": "^4.1.13",
|
|
71
71
|
"zod-form-data": "^3.0.1"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@astrojs/check": "0.9.
|
|
74
|
+
"@astrojs/check": "0.9.6",
|
|
75
75
|
"@astrojs/node": "9.5.1",
|
|
76
|
-
"@biomejs/biome": "2.3.
|
|
76
|
+
"@biomejs/biome": "2.3.8",
|
|
77
77
|
"@rsbuild/plugin-react": "^1.4.2",
|
|
78
|
-
"@rslib/core": "^0.18.
|
|
79
|
-
"@storybook/addon-a11y": "^10.
|
|
80
|
-
"@storybook/addon-docs": "^10.
|
|
81
|
-
"@storybook/addon-links": "^10.
|
|
82
|
-
"@storybook/addon-themes": "^10.
|
|
83
|
-
"@storybook/react-vite": "^10.
|
|
84
|
-
"@types/lodash": "^4.17.
|
|
78
|
+
"@rslib/core": "^0.18.3",
|
|
79
|
+
"@storybook/addon-a11y": "^10.1.4",
|
|
80
|
+
"@storybook/addon-docs": "^10.1.4",
|
|
81
|
+
"@storybook/addon-links": "^10.1.4",
|
|
82
|
+
"@storybook/addon-themes": "^10.1.4",
|
|
83
|
+
"@storybook/react-vite": "^10.1.4",
|
|
84
|
+
"@types/lodash": "^4.17.21",
|
|
85
85
|
"@types/node": "^24.10.1",
|
|
86
|
-
"@types/react": "19.2.
|
|
86
|
+
"@types/react": "19.2.7",
|
|
87
87
|
"@types/react-dom": "19.2.3",
|
|
88
88
|
"@vitejs/plugin-react": "^5.1.1",
|
|
89
|
-
"astro": "5.16.
|
|
90
|
-
"chokidar": "^
|
|
91
|
-
"eslint-plugin-storybook": "^10.
|
|
89
|
+
"astro": "5.16.4",
|
|
90
|
+
"chokidar": "^5.0.0",
|
|
91
|
+
"eslint-plugin-storybook": "^10.1.4",
|
|
92
92
|
"lightningcss": "^1.30.2",
|
|
93
93
|
"lightningcss-cli": "^1.30.2",
|
|
94
94
|
"rimraf": "^6.1.2",
|
|
95
|
-
"storybook": "^10.
|
|
95
|
+
"storybook": "^10.1.4",
|
|
96
96
|
"typescript": "5.9.3",
|
|
97
97
|
"typescript-plugin-css-modules": "^5.2.0",
|
|
98
|
-
"vite": "^7.2.
|
|
99
|
-
"vitest": "^4.0.
|
|
98
|
+
"vite": "^7.2.6",
|
|
99
|
+
"vitest": "^4.0.15"
|
|
100
100
|
},
|
|
101
101
|
"publishConfig": {
|
|
102
102
|
"access": "public",
|
|
@@ -11,7 +11,7 @@ import styles from './text-area.module.css'
|
|
|
11
11
|
export interface TextAreaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
12
12
|
id: string
|
|
13
13
|
name: string
|
|
14
|
-
label
|
|
14
|
+
label?: string
|
|
15
15
|
required?: boolean
|
|
16
16
|
variant?: Variant
|
|
17
17
|
intent?: Intent
|
|
@@ -44,7 +44,7 @@ export const TextArea = function TextArea({
|
|
|
44
44
|
}: TextAreaProps): React.JSX.Element {
|
|
45
45
|
return (
|
|
46
46
|
<fieldset className={cx('text-area-wrapper', inputStyles['input-wrapper'])}>
|
|
47
|
-
<Label id={id} htmlFor={id} required={required} label={label} />
|
|
47
|
+
{label != null && <Label id={id} htmlFor={id} required={required} label={label} />}
|
|
48
48
|
<textarea
|
|
49
49
|
ref={ref}
|
|
50
50
|
id={id}
|