@clubmed/trident-ui 1.0.0-beta.7 → 1.0.0-beta.9
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/fonts/Actions/tui-actions.css +6 -6
- package/fonts/Actions/tui-actions.eot +0 -0
- package/fonts/Actions/tui-actions.less +6 -6
- package/fonts/Actions/tui-actions.module.less +6 -6
- package/fonts/Actions/tui-actions.scss +6 -6
- package/fonts/Actions/tui-actions.styl +6 -6
- package/fonts/Actions/tui-actions.ttf +0 -0
- package/fonts/Actions/tui-actions.woff +0 -0
- package/fonts/Actions/tui-actions.woff2 +0 -0
- package/fonts/Activities/tui-activities.css +6 -6
- package/fonts/Activities/tui-activities.eot +0 -0
- package/fonts/Activities/tui-activities.less +6 -6
- package/fonts/Activities/tui-activities.module.less +6 -6
- package/fonts/Activities/tui-activities.scss +6 -6
- package/fonts/Activities/tui-activities.styl +6 -6
- package/fonts/Activities/tui-activities.ttf +0 -0
- package/fonts/Activities/tui-activities.woff +0 -0
- package/fonts/Activities/tui-activities.woff2 +0 -0
- package/fonts/Brand/tui-brand.css +6 -6
- package/fonts/Brand/tui-brand.eot +0 -0
- package/fonts/Brand/tui-brand.less +6 -6
- package/fonts/Brand/tui-brand.module.less +6 -6
- package/fonts/Brand/tui-brand.scss +6 -6
- package/fonts/Brand/tui-brand.styl +6 -6
- package/fonts/Brand/tui-brand.ttf +0 -0
- package/fonts/Brand/tui-brand.woff +0 -0
- package/fonts/Brand/tui-brand.woff2 +0 -0
- package/fonts/Covid/tui-covid.css +6 -6
- package/fonts/Covid/tui-covid.eot +0 -0
- package/fonts/Covid/tui-covid.less +6 -6
- package/fonts/Covid/tui-covid.module.less +6 -6
- package/fonts/Covid/tui-covid.scss +6 -6
- package/fonts/Covid/tui-covid.styl +6 -6
- package/fonts/Covid/tui-covid.ttf +0 -0
- package/fonts/Covid/tui-covid.woff +0 -0
- package/fonts/Covid/tui-covid.woff2 +0 -0
- package/fonts/Food/tui-food.css +6 -6
- package/fonts/Food/tui-food.eot +0 -0
- package/fonts/Food/tui-food.less +6 -6
- package/fonts/Food/tui-food.module.less +6 -6
- package/fonts/Food/tui-food.scss +6 -6
- package/fonts/Food/tui-food.styl +6 -6
- package/fonts/Food/tui-food.ttf +0 -0
- package/fonts/Food/tui-food.woff +0 -0
- package/fonts/Food/tui-food.woff2 +0 -0
- package/fonts/HappyToCare/tui-happy-to-care.css +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.eot +0 -0
- package/fonts/HappyToCare/tui-happy-to-care.less +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.module.less +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.scss +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.styl +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.ttf +0 -0
- package/fonts/HappyToCare/tui-happy-to-care.woff +0 -0
- package/fonts/HappyToCare/tui-happy-to-care.woff2 +0 -0
- package/fonts/Places/tui-places.css +6 -6
- package/fonts/Places/tui-places.eot +0 -0
- package/fonts/Places/tui-places.less +6 -6
- package/fonts/Places/tui-places.module.less +6 -6
- package/fonts/Places/tui-places.scss +6 -6
- package/fonts/Places/tui-places.styl +6 -6
- package/fonts/Places/tui-places.ttf +0 -0
- package/fonts/Places/tui-places.woff +0 -0
- package/fonts/Places/tui-places.woff2 +0 -0
- package/fonts/Room/tui-room.css +6 -6
- package/fonts/Room/tui-room.eot +0 -0
- package/fonts/Room/tui-room.less +6 -6
- package/fonts/Room/tui-room.module.less +6 -6
- package/fonts/Room/tui-room.scss +6 -6
- package/fonts/Room/tui-room.styl +6 -6
- package/fonts/Room/tui-room.ttf +0 -0
- package/fonts/Room/tui-room.woff +0 -0
- package/fonts/Room/tui-room.woff2 +0 -0
- package/fonts/Services/tui-services.css +6 -6
- package/fonts/Services/tui-services.eot +0 -0
- package/fonts/Services/tui-services.less +6 -6
- package/fonts/Services/tui-services.module.less +6 -6
- package/fonts/Services/tui-services.scss +6 -6
- package/fonts/Services/tui-services.styl +6 -6
- package/fonts/Services/tui-services.ttf +0 -0
- package/fonts/Services/tui-services.woff +0 -0
- package/fonts/Services/tui-services.woff2 +0 -0
- package/fonts/Socials/tui-socials.css +6 -6
- package/fonts/Socials/tui-socials.eot +0 -0
- package/fonts/Socials/tui-socials.less +6 -6
- package/fonts/Socials/tui-socials.module.less +6 -6
- package/fonts/Socials/tui-socials.scss +6 -6
- package/fonts/Socials/tui-socials.styl +6 -6
- package/fonts/Socials/tui-socials.ttf +0 -0
- package/fonts/Socials/tui-socials.woff +0 -0
- package/fonts/Socials/tui-socials.woff2 +0 -0
- package/fonts/Transports/tui-transports.css +6 -6
- package/fonts/Transports/tui-transports.eot +0 -0
- package/fonts/Transports/tui-transports.less +6 -6
- package/fonts/Transports/tui-transports.module.less +6 -6
- package/fonts/Transports/tui-transports.scss +6 -6
- package/fonts/Transports/tui-transports.styl +6 -6
- package/fonts/Transports/tui-transports.ttf +0 -0
- package/fonts/Transports/tui-transports.woff +0 -0
- package/fonts/Transports/tui-transports.woff2 +0 -0
- package/fonts/Utilities/tui-utilities.css +6 -6
- package/fonts/Utilities/tui-utilities.eot +0 -0
- package/fonts/Utilities/tui-utilities.less +6 -6
- package/fonts/Utilities/tui-utilities.module.less +6 -6
- package/fonts/Utilities/tui-utilities.scss +6 -6
- package/fonts/Utilities/tui-utilities.styl +6 -6
- package/fonts/Utilities/tui-utilities.ttf +0 -0
- package/fonts/Utilities/tui-utilities.woff +0 -0
- package/fonts/Utilities/tui-utilities.woff2 +0 -0
- package/molecules/Forms/Checkboxes/Checkbox.js +12 -12
- package/molecules/Forms/FormControl.d.ts +1 -1
- package/molecules/Forms/NumberField.d.ts +2 -2
- package/molecules/Forms/TextField.d.ts +0 -3
- package/package.json +1 -1
@@ -1,11 +1,11 @@
|
|
1
1
|
@font-face {
|
2
2
|
font-family: "tui-utilities";
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
src: url('tui-utilities.eot?t=
|
5
|
-
url("tui-utilities.woff2?t=
|
6
|
-
url("tui-utilities.woff?t=
|
7
|
-
url('tui-utilities.ttf?t=
|
8
|
-
url('tui-utilities.svg?t=
|
3
|
+
src: url('tui-utilities.eot?t=1717667938570'); /* IE9*/
|
4
|
+
src: url('tui-utilities.eot?t=1717667938570#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
5
|
+
url("tui-utilities.woff2?t=1717667938570") format("woff2"),
|
6
|
+
url("tui-utilities.woff?t=1717667938570") format("woff"),
|
7
|
+
url('tui-utilities.ttf?t=1717667938570') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
8
|
+
url('tui-utilities.svg?t=1717667938570#tui-utilities') format('svg'); /* iOS 4.1- */
|
9
9
|
}
|
10
10
|
|
11
11
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
Binary file
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@font-face {font-family: "tui-utilities";
|
2
|
-
src: url('tui-utilities.eot?t=
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
url("tui-utilities.woff2?t=
|
5
|
-
url("tui-utilities.woff?t=
|
6
|
-
url('tui-utilities.ttf?t=
|
7
|
-
url('tui-utilities.svg?t=
|
2
|
+
src: url('tui-utilities.eot?t=1717667938570'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1717667938570#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1717667938570") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1717667938570") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1717667938570') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1717667938570#tui-utilities') format('svg'); /* iOS 4.1- */
|
8
8
|
}
|
9
9
|
|
10
10
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@font-face {font-family: "tui-utilities";
|
2
|
-
src: url('tui-utilities.eot?t=
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
url("tui-utilities.woff2?t=
|
5
|
-
url("tui-utilities.woff?t=
|
6
|
-
url('tui-utilities.ttf?t=
|
7
|
-
url('tui-utilities.svg?t=
|
2
|
+
src: url('tui-utilities.eot?t=1717667938570'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1717667938570#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1717667938570") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1717667938570") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1717667938570') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1717667938570#tui-utilities') format('svg'); /* iOS 4.1- */
|
8
8
|
}
|
9
9
|
|
10
10
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@font-face {font-family: "tui-utilities";
|
2
|
-
src: url('tui-utilities.eot?t=
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
url("tui-utilities.woff2?t=
|
5
|
-
url("tui-utilities.woff?t=
|
6
|
-
url('tui-utilities.ttf?t=
|
7
|
-
url('tui-utilities.svg?t=
|
2
|
+
src: url('tui-utilities.eot?t=1717667938570'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1717667938570#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1717667938570") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1717667938570") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1717667938570') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1717667938570#tui-utilities') format('svg'); /* iOS 4.1- */
|
8
8
|
}
|
9
9
|
|
10
10
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@font-face {font-family: "tui-utilities";
|
2
|
-
src: url('tui-utilities.eot?t=
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
url("tui-utilities.woff2?t=
|
5
|
-
url("tui-utilities.woff?t=
|
6
|
-
url('tui-utilities.ttf?t=
|
7
|
-
url('tui-utilities.svg?t=
|
2
|
+
src: url('tui-utilities.eot?t=1717667938570'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1717667938570#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1717667938570") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1717667938570") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1717667938570') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1717667938570#tui-utilities') format('svg'); /* iOS 4.1- */
|
8
8
|
}
|
9
9
|
|
10
10
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { jsxs as
|
1
|
+
import { jsxs as n, jsx as i } from "react/jsx-runtime";
|
2
2
|
import { c as g } from "../../../index-Cu0xwYjD.js";
|
3
3
|
import { useId as C } from "react";
|
4
4
|
import { Icon as I } from "../../../atoms/Icons/Icon.js";
|
@@ -6,9 +6,9 @@ import "../../../atoms/Icons/contexts/IconsContext.js";
|
|
6
6
|
import { useValue as y } from "../../../hooks/useValue.js";
|
7
7
|
import "../../../controls-l0sNRNKZ.js";
|
8
8
|
function $(c) {
|
9
|
-
const
|
10
|
-
id:
|
11
|
-
name: l =
|
9
|
+
const d = C(), {
|
10
|
+
id: m = d,
|
11
|
+
name: l = m,
|
12
12
|
className: p,
|
13
13
|
dataTestId: h,
|
14
14
|
disabled: e,
|
@@ -19,21 +19,21 @@ function $(c) {
|
|
19
19
|
children: f,
|
20
20
|
onChange: s,
|
21
21
|
...b
|
22
|
-
} = c, { value:
|
22
|
+
} = c, { value: o, setValue: k } = y({
|
23
23
|
name: l,
|
24
24
|
initialValue: u,
|
25
|
-
onChange(v,
|
26
|
-
s == null || s(v,
|
25
|
+
onChange(v, r) {
|
26
|
+
s == null || s(v, r ? a !== void 0 ? a : r : null);
|
27
27
|
}
|
28
28
|
});
|
29
|
-
return /* @__PURE__ */
|
29
|
+
return /* @__PURE__ */ n(
|
30
30
|
"label",
|
31
31
|
{
|
32
|
-
className: g(p, "cursor-pointer relative flex
|
32
|
+
className: g(p, "cursor-pointer relative flex gap-8", {
|
33
33
|
"text-grey": e
|
34
34
|
}),
|
35
35
|
children: [
|
36
|
-
/* @__PURE__ */
|
36
|
+
/* @__PURE__ */ n("span", { className: "relative", children: [
|
37
37
|
/* @__PURE__ */ i(
|
38
38
|
"input",
|
39
39
|
{
|
@@ -43,9 +43,9 @@ function $(c) {
|
|
43
43
|
type: "checkbox",
|
44
44
|
tabIndex: x,
|
45
45
|
onChange: () => {
|
46
|
-
!e && k(!
|
46
|
+
!e && k(!o);
|
47
47
|
},
|
48
|
-
checked:
|
48
|
+
checked: o,
|
49
49
|
"data-name": "Checkbox",
|
50
50
|
disabled: e,
|
51
51
|
value: a
|
@@ -9,5 +9,5 @@ export type FormControlProps<Value = unknown, Attributes extends HTMLAttributes<
|
|
9
9
|
dataTestId?: string;
|
10
10
|
dataName?: string;
|
11
11
|
errorMessage?: string;
|
12
|
-
} & Omit<Attributes
|
12
|
+
} & Omit<Attributes & Partial<FormLabelProps>, 'onChange' | 'value'>;
|
13
13
|
export declare const FormControl: <Value = string>({ id, label, description, disabled, required, className, validationStatus, children, errorMessage, dataTestId, dataName, layout, }: FormControlProps<Value, InputHTMLAttributes<HTMLInputElement>>) => import("react/jsx-runtime").JSX.Element;
|
@@ -310,9 +310,9 @@ export declare function useNumberField(props: NumberFieldProps): {
|
|
310
310
|
required?: boolean | undefined;
|
311
311
|
size?: number | undefined;
|
312
312
|
step?: string | number | undefined;
|
313
|
-
description?: string | undefined;
|
314
|
-
layout?: "horizontal" | "vertical" | undefined;
|
315
313
|
htmlFor?: string | undefined;
|
314
|
+
layout?: "horizontal" | "vertical" | undefined;
|
315
|
+
description?: string | undefined;
|
316
316
|
};
|
317
317
|
export declare const NumberField: (props: NumberFieldProps) => import("react/jsx-runtime").JSX.Element;
|
318
318
|
export {};
|
@@ -1,9 +1,6 @@
|
|
1
1
|
import { FormControlProps } from './FormControl.js';
|
2
2
|
import { IconicNames, IconicTypes } from '../../atoms/Icons';
|
3
3
|
export interface TextFieldProps<Value> extends FormControlProps<Value> {
|
4
|
-
/**
|
5
|
-
* Description text
|
6
|
-
*/
|
7
4
|
description?: string;
|
8
5
|
icon?: IconicNames;
|
9
6
|
iconType?: IconicTypes;
|