@oneplatformdev/ui 0.1.10-117 → 0.1.10-120
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/Button/Button.d.ts.map +1 -1
- package/Button/Button.js +71 -46
- package/Button/Button.js.map +1 -1
- package/Button/Button.stories.d.ts +3 -0
- package/Button/Button.stories.d.ts.map +1 -1
- package/Button/Button.stories.js +128 -13
- package/Button/Button.stories.js.map +1 -1
- package/Button/Button.types.d.ts +7 -6
- package/Button/Button.types.d.ts.map +1 -1
- package/Button/buttonVariants.d.ts +33 -1
- package/Button/buttonVariants.d.ts.map +1 -1
- package/Button/buttonVariants.js +157 -3
- package/Button/buttonVariants.js.map +1 -1
- package/Button/index.js +5 -4
- package/ButtonIcon/buttonIconVariants.d.ts +1 -1
- package/CHANGELOG.md +39 -0
- package/DataTable/useDataTable.d.ts +1 -1
- package/Form/Form_old.d.ts +1 -1
- package/Form/Form_old.d.ts.map +1 -1
- package/Toast/Toast.d.ts +1 -1
- package/Toast/toastVariants.d.ts +1 -1
- package/index.js +325 -324
- package/package.json +4 -4
package/Button/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { Button as
|
|
2
|
-
import { buttonVariants as u } from "./buttonVariants.js";
|
|
1
|
+
import { Button as a, Button as n } from "./Button.js";
|
|
2
|
+
import { buttonVariants as u, buttonVariants_old as e } from "./buttonVariants.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
4
|
+
a as Button,
|
|
5
5
|
u as buttonVariants,
|
|
6
|
-
|
|
6
|
+
e as buttonVariants_old,
|
|
7
|
+
n as default
|
|
7
8
|
};
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const buttonIconVariants: (props?: ({
|
|
2
2
|
variant?: "link" | "ghost" | "contained" | "outlined" | null | undefined;
|
|
3
3
|
color?: "disabled" | "secondary" | "primary" | "error" | "success" | null | undefined;
|
|
4
|
-
size?: "
|
|
4
|
+
size?: "icon" | "sm" | "lg" | "md" | null | undefined;
|
|
5
5
|
disabled?: boolean | null | undefined;
|
|
6
6
|
rounded?: boolean | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,42 @@
|
|
|
1
|
+
## 0.1.10-120 (2025-12-26)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- enhance FormSelect with onChangePrepare and updated onChange signature ([3b4402b](https://github.com/oneplatformdev/core-web/commit/3b4402b))
|
|
6
|
+
|
|
7
|
+
### 🩹 Fixes
|
|
8
|
+
|
|
9
|
+
- **FormSelect:** ensure default value is an empty string when undefined ([056631f](https://github.com/oneplatformdev/core-web/commit/056631f))
|
|
10
|
+
- update icon size for large button variant ([1e7c0a7](https://github.com/oneplatformdev/core-web/commit/1e7c0a7))
|
|
11
|
+
- add min-width to large button variant ([e34bc71](https://github.com/oneplatformdev/core-web/commit/e34bc71))
|
|
12
|
+
- handle undefined value in FormSelect component ([9c7ae4a](https://github.com/oneplatformdev/core-web/commit/9c7ae4a))
|
|
13
|
+
- minor alert dialog content ([#41](https://github.com/oneplatformdev/core-web/pull/41))
|
|
14
|
+
- update Dialog component title font size for better readability and add .env to .gitignore ([9646134](https://github.com/oneplatformdev/core-web/commit/9646134))
|
|
15
|
+
- adjust Dialog component styling for better alignment and update container size in CSS ([afaa5af](https://github.com/oneplatformdev/core-web/commit/afaa5af))
|
|
16
|
+
- update XIcon styling in Dialog component for improved visibility ([164338b](https://github.com/oneplatformdev/core-web/commit/164338b))
|
|
17
|
+
- update dialog primitive close ([5e7c577](https://github.com/oneplatformdev/core-web/commit/5e7c577))
|
|
18
|
+
- update dialog primitive close ([560b5ba](https://github.com/oneplatformdev/core-web/commit/560b5ba))
|
|
19
|
+
- update dialog primitive close ([f63b143](https://github.com/oneplatformdev/core-web/commit/f63b143))
|
|
20
|
+
|
|
21
|
+
### 🧱 Updated Dependencies
|
|
22
|
+
|
|
23
|
+
- Updated @oneplatformdev/utils to 0.1.1-169
|
|
24
|
+
- Updated @oneplatformdev/hooks to 0.1.0-155
|
|
25
|
+
- Updated @oneplatformdev/tokens to 0.0.1-142
|
|
26
|
+
|
|
27
|
+
### ❤️ Thank You
|
|
28
|
+
|
|
29
|
+
- Bohdan Radchenko @BohdanRadchenko
|
|
30
|
+
- BohdanRadchenko
|
|
31
|
+
|
|
32
|
+
## 0.1.10-118 (2025-12-23)
|
|
33
|
+
|
|
34
|
+
### 🧱 Updated Dependencies
|
|
35
|
+
|
|
36
|
+
- Updated @oneplatformdev/utils to 0.1.1-167
|
|
37
|
+
- Updated @oneplatformdev/hooks to 0.1.0-153
|
|
38
|
+
- Updated @oneplatformdev/tokens to 0.0.1-140
|
|
39
|
+
|
|
1
40
|
## 0.1.10-117 (2025-12-23)
|
|
2
41
|
|
|
3
42
|
### 🧱 Updated Dependencies
|
package/Form/Form_old.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ declare const useFormField: () => {
|
|
|
17
17
|
};
|
|
18
18
|
declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
19
19
|
declare const FormLabel: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
20
|
-
declare const FormControl: React.ForwardRefExoticComponent<
|
|
20
|
+
declare const FormControl: React.ForwardRefExoticComponent<any>;
|
|
21
21
|
declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
22
22
|
declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
23
23
|
export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, };
|
package/Form/Form_old.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form_old.d.ts","sourceRoot":"","sources":["../../src/Form/Form_old.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAEL,eAAe,EACf,SAAS,EACT,WAAW,EAGZ,MAAM,iBAAiB,CAAC;AAKzB,QAAA,MAAM,IAAI,4MAAe,CAAC;AAa1B,QAAA,MAAM,SAAS,GACb,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,cAEC,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,4CAMtC,CAAA;AAED,QAAA,MAAM,YAAY;;;;;;;;;;;CAqBjB,CAAA;AAUD,QAAA,MAAM,QAAQ,6GAWZ,CAAA;AAGF,QAAA,MAAM,SAAS,yJAeb,CAAA;AAGF,QAAA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"Form_old.d.ts","sourceRoot":"","sources":["../../src/Form/Form_old.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAEL,eAAe,EACf,SAAS,EACT,WAAW,EAGZ,MAAM,iBAAiB,CAAC;AAKzB,QAAA,MAAM,IAAI,4MAAe,CAAC;AAa1B,QAAA,MAAM,SAAS,GACb,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,cAEC,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,4CAMtC,CAAA;AAED,QAAA,MAAM,YAAY;;;;;;;;;;;CAqBjB,CAAA;AAUD,QAAA,MAAM,QAAQ,6GAWZ,CAAA;AAGF,QAAA,MAAM,SAAS,yJAeb,CAAA;AAGF,QAAA,MAAM,WAAW,sCAqBf,CAAA;AAGF,QAAA,MAAM,eAAe,yHAcnB,CAAA;AAGF,QAAA,MAAM,WAAW,yHAqBf,CAAA;AAGF,OAAO,EACL,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,WAAW,EACX,eAAe,EACf,WAAW,EACX,SAAS,GACV,CAAA"}
|
package/Toast/Toast.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
|
4
4
|
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
|
5
5
|
declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
6
6
|
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
7
|
-
variant?: "default" | "destructive" | "
|
|
7
|
+
variant?: "default" | "destructive" | "info" | "success" | "update" | null | undefined;
|
|
8
8
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
|
|
9
9
|
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
package/Toast/toastVariants.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const toastVariants: (props?: ({
|
|
2
|
-
variant?: "default" | "destructive" | "
|
|
2
|
+
variant?: "default" | "destructive" | "info" | "success" | "update" | null | undefined;
|
|
3
3
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
4
|
//# sourceMappingURL=toastVariants.d.ts.map
|