@infonomic/uikit 2.1.0 → 2.2.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.
@@ -1,21 +1,5 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE__button_js_821b8d9d__ from "./button.js";
1
+ export * from "./button.js";
2
2
  export * from "./icon-button.js";
3
3
  export * from "./copy-button.js";
4
4
  export * from "./control-buttons.js";
5
5
  export * from "./button-group.js";
6
- var __webpack_modules__ = {
7
- "./button.js": function(module) {
8
- module.exports = __WEBPACK_EXTERNAL_MODULE__button_js_821b8d9d__;
9
- }
10
- };
11
- var __webpack_module_cache__ = {};
12
- function __webpack_require__(moduleId) {
13
- var cachedModule = __webpack_module_cache__[moduleId];
14
- if (void 0 !== cachedModule) return cachedModule.exports;
15
- var module = __webpack_module_cache__[moduleId] = {
16
- exports: {}
17
- };
18
- __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
19
- return module.exports;
20
- }
21
- __webpack_require__("./button.js");
@@ -9,6 +9,7 @@ export interface Props extends React.ButtonHTMLAttributes<HTMLButtonElement> {
9
9
  intent?: Intent;
10
10
  reverse?: boolean;
11
11
  checked?: boolean;
12
+ className?: string;
12
13
  checkBoxClasses?: string;
13
14
  containerClasses?: string;
14
15
  componentClasses?: string;
@@ -18,7 +19,7 @@ export interface Props extends React.ButtonHTMLAttributes<HTMLButtonElement> {
18
19
  errorText?: string;
19
20
  onCheckedChange?: (checked: boolean | 'indeterminate') => void;
20
21
  }
21
- export declare const Checkbox: ({ ref, id, name, label, variant, size, intent, reverse, checkBoxClasses, containerClasses, componentClasses, labelClasses, error, helpText, errorText, ...rest }: Props & {
22
+ export declare const Checkbox: ({ ref, id, name, label, variant, size, intent, reverse, className, checkBoxClasses, containerClasses, componentClasses, labelClasses, error, helpText, errorText, ...rest }: Props & {
22
23
  ref?: React.RefObject<HTMLButtonElement>;
23
24
  }) => React.JSX.Element;
24
25
  //# sourceMappingURL=checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/input/checkbox.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAKjE,MAAM,WAAW,KAAM,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAC1E,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,eAAe,KAAK,IAAI,CAAA;CAC/D;AAED,eAAO,MAAM,QAAQ,GAAqB,kKAiBvC,KAAK,GAAG;IACT,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAA;CACzC,KAAG,KAAK,CAAC,GAAG,CAAC,OA4Cb,CAAA"}
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/input/checkbox.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AAEnC,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAKjE,MAAM,WAAW,KAAM,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAC1E,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,eAAe,KAAK,IAAI,CAAA;CAC/D;AAED,eAAO,MAAM,QAAQ,GAAqB,6KAkBvC,KAAK,GAAG;IACT,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAA;CACzC,KAAG,KAAK,CAAC,GAAG,CAAC,OA4Cb,CAAA"}
@@ -6,7 +6,7 @@ import { Checkbox as external_radix_ui_Checkbox, Label } from "radix-ui";
6
6
  import checkbox_module from "./checkbox.module.js";
7
7
  import { ErrorText } from "./error-text.js";
8
8
  import { HelpText } from "./help-text.js";
9
- const checkbox_Checkbox = function({ ref, id, name, label, variant = 'outlined', size = 'md', intent = 'primary', reverse = false, checkBoxClasses, containerClasses, componentClasses, labelClasses, error = false, helpText = '', errorText = '', ...rest }) {
9
+ const checkbox_Checkbox = function({ ref, id, name, label, variant = 'outlined', size = 'md', intent = 'primary', reverse = false, className, checkBoxClasses, containerClasses, componentClasses, labelClasses, error = false, helpText = '', errorText = '', ...rest }) {
10
10
  return /*#__PURE__*/ jsxs("div", {
11
11
  className: classnames('checkbox-container', containerClasses),
12
12
  children: [
@@ -1 +1 @@
1
- {"version":"5.8.3"}
1
+ {"version":"5.9.2"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@infonomic/uikit",
3
3
  "private": false,
4
4
  "license": "MIT",
5
- "version": "2.1.0",
5
+ "version": "2.2.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": [
@@ -50,48 +50,48 @@
50
50
  }
51
51
  },
52
52
  "dependencies": {
53
- "@mantine/hooks": "^8.2.1",
53
+ "@mantine/hooks": "^8.2.5",
54
54
  "@radix-ui/react-icons": "^1.3.2",
55
55
  "@radix-ui/react-slot": "^1.2.3",
56
56
  "classnames": "^2.5.1",
57
57
  "date-fns": "^4.1.0",
58
58
  "material-ripple-effects": "^2.0.1",
59
- "motion": "^12.23.9",
59
+ "motion": "^12.23.12",
60
60
  "npm-run-all": "^4.1.5",
61
61
  "prism-react-renderer": "^2.4.1",
62
- "radix-ui": "^1.4.2",
63
- "react": "19.1.0",
64
- "react-day-picker": "^9.8.0",
65
- "react-dom": "19.1.0",
66
- "zod": "^4.0.8",
62
+ "radix-ui": "^1.4.3",
63
+ "react": "19.1.1",
64
+ "react-day-picker": "^9.9.0",
65
+ "react-dom": "19.1.1",
66
+ "zod": "^4.0.17",
67
67
  "zod-form-data": "^3.0.0"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@astrojs/check": "0.9.4",
71
- "@astrojs/node": "9.3.0",
72
- "@biomejs/biome": "2.1.2",
73
- "@rsbuild/plugin-react": "^1.3.4",
74
- "@rslib/core": "^0.11.0",
75
- "@storybook/addon-a11y": "^9.0.18",
76
- "@storybook/addon-docs": "^9.0.18",
77
- "@storybook/addon-links": "^9.0.18",
78
- "@storybook/addon-themes": "^9.0.18",
79
- "@storybook/react-vite": "^9.0.18",
71
+ "@astrojs/node": "9.4.2",
72
+ "@biomejs/biome": "2.2.0",
73
+ "@rsbuild/plugin-react": "^1.3.5",
74
+ "@rslib/core": "^0.12.2",
75
+ "@storybook/addon-a11y": "^9.1.3",
76
+ "@storybook/addon-docs": "^9.1.3",
77
+ "@storybook/addon-links": "^9.1.3",
78
+ "@storybook/addon-themes": "^9.1.3",
79
+ "@storybook/react-vite": "^9.1.3",
80
80
  "@types/lodash": "^4.17.20",
81
- "@types/node": "^24.1.0",
82
- "@types/react": "19.1.8",
83
- "@types/react-dom": "19.1.6",
84
- "@vitejs/plugin-react": "^4.7.0",
85
- "astro": "5.12.3",
81
+ "@types/node": "^24.3.0",
82
+ "@types/react": "19.1.10",
83
+ "@types/react-dom": "19.1.7",
84
+ "@vitejs/plugin-react": "^5.0.1",
85
+ "astro": "5.13.2",
86
86
  "chokidar": "^4.0.3",
87
- "eslint-plugin-storybook": "^9.0.18",
87
+ "eslint-plugin-storybook": "^9.1.3",
88
88
  "lightningcss": "^1.30.1",
89
89
  "lightningcss-cli": "^1.30.1",
90
- "rimraf": "^5.0.10",
91
- "storybook": "^9.0.18",
92
- "typescript": "5.8.3",
90
+ "rimraf": "^6.0.1",
91
+ "storybook": "^9.1.3",
92
+ "typescript": "5.9.2",
93
93
  "typescript-plugin-css-modules": "^5.2.0",
94
- "vite": "^7.0.6",
94
+ "vite": "^7.1.3",
95
95
  "vitest": "^3.2.4"
96
96
  },
97
97
  "publishConfig": {
@@ -19,6 +19,7 @@ export interface Props extends React.ButtonHTMLAttributes<HTMLButtonElement> {
19
19
  intent?: Intent
20
20
  reverse?: boolean
21
21
  checked?: boolean
22
+ className?: string,
22
23
  checkBoxClasses?: string
23
24
  containerClasses?: string
24
25
  componentClasses?: string
@@ -38,6 +39,7 @@ export const Checkbox = function Checkbox({
38
39
  size = 'md',
39
40
  intent = 'primary',
40
41
  reverse = false,
42
+ className,
41
43
  checkBoxClasses,
42
44
  containerClasses,
43
45
  componentClasses,