@koobiq/react-components 0.2.0 → 0.2.2
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/FieldComponents/FieldContentGroup/FieldContentGroup.js +78 -73
- package/dist/components/FieldComponents/FieldContentGroup/FieldContentGroup.module.css.js +3 -0
- package/dist/components/TagGroup/TagGroup.js +2 -2
- package/dist/components/TagGroup/components/{TagInner/TagInner.d.ts → Tag/Tag.d.ts} +3 -2
- package/dist/components/TagGroup/components/{TagInner/TagInner.js → Tag/Tag.js} +3 -3
- package/dist/components/TagGroup/components/Tag/Tag.module.css.js +30 -0
- package/dist/components/TagGroup/components/Tag/index.d.ts +1 -0
- package/dist/components/TagGroup/components/index.d.ts +1 -1
- package/dist/components/TimePicker/TimePicker.js +1 -1
- package/dist/components/TimePicker/TimePicker.module.css.js +4 -1
- package/dist/style.css +23 -19
- package/package.json +5 -5
- package/dist/components/TagGroup/components/TagInner/TagInner.module.css.js +0 -30
- package/dist/components/TagGroup/components/TagInner/index.d.ts +0 -1
- /package/dist/components/TagGroup/components/{TagInner → Tag}/utils.d.ts +0 -0
- /package/dist/components/TagGroup/components/{TagInner → Tag}/utils.js +0 -0
|
@@ -1,81 +1,86 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
|
-
import { isNotNil, clsx } from "@koobiq/react-core";
|
|
2
|
+
import { forwardRef, Children, isValidElement, cloneElement } from "react";
|
|
3
|
+
import { isNotNil, useFocusRing, mergeProps, clsx } from "@koobiq/react-core";
|
|
4
4
|
import { useInputContext, Group } from "@koobiq/react-primitives";
|
|
5
5
|
import s from "./FieldContentGroup.module.css.js";
|
|
6
6
|
import { FieldContentGroupContext } from "./FieldContentGroupContext.js";
|
|
7
7
|
import { FieldAddon } from "../FieldAddon/FieldAddon.js";
|
|
8
|
-
const FieldContentGroup = forwardRef(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
8
|
+
const FieldContentGroup = forwardRef(function FieldContentGroup2({
|
|
9
|
+
variant = "filled",
|
|
10
|
+
isInvalid = false,
|
|
11
|
+
isDisabled = false,
|
|
12
|
+
children,
|
|
13
|
+
className,
|
|
14
|
+
startAddon,
|
|
15
|
+
endAddon,
|
|
16
|
+
slotProps,
|
|
17
|
+
...other
|
|
18
|
+
}, ref) {
|
|
19
|
+
const { value } = useInputContext();
|
|
20
|
+
const hasStartAddon = !!startAddon;
|
|
21
|
+
const hasEndAddon = !!endAddon;
|
|
22
|
+
const hasValue = isNotNil(value);
|
|
23
|
+
const { focusProps, isFocused } = useFocusRing({ within: true });
|
|
24
|
+
const focusManagedChildren = Children.map(children, (child) => {
|
|
25
|
+
if (!isValidElement(child)) return child;
|
|
26
|
+
const merged = mergeProps(focusProps, child.props);
|
|
27
|
+
return cloneElement(child, merged);
|
|
28
|
+
});
|
|
29
|
+
return /* @__PURE__ */ jsx(
|
|
30
|
+
Group,
|
|
31
|
+
{
|
|
32
|
+
className: clsx(
|
|
33
|
+
s.base,
|
|
34
|
+
s[variant],
|
|
35
|
+
isInvalid && s.invalid,
|
|
36
|
+
isDisabled && s.disabled,
|
|
37
|
+
isFocused && s.focused,
|
|
38
|
+
hasStartAddon && s.hasStartAddon,
|
|
39
|
+
hasEndAddon && s.hasEndAddon,
|
|
40
|
+
className
|
|
41
|
+
),
|
|
42
|
+
isInvalid,
|
|
43
|
+
isDisabled,
|
|
44
|
+
...other,
|
|
45
|
+
ref,
|
|
46
|
+
children: ({ isHovered, isFocusWithin }) => /* @__PURE__ */ jsxs(
|
|
47
|
+
FieldContentGroupContext.Provider,
|
|
48
|
+
{
|
|
49
|
+
value: {
|
|
50
|
+
hasValue,
|
|
51
|
+
isHovered,
|
|
52
|
+
isInvalid,
|
|
53
|
+
isDisabled,
|
|
54
|
+
isFocusWithin
|
|
55
|
+
},
|
|
56
|
+
children: [
|
|
57
|
+
/* @__PURE__ */ jsx(
|
|
58
|
+
FieldAddon,
|
|
59
|
+
{
|
|
60
|
+
placement: "start",
|
|
61
|
+
isInvalid,
|
|
62
|
+
isDisabled,
|
|
63
|
+
...slotProps?.startAddon,
|
|
64
|
+
children: startAddon
|
|
65
|
+
}
|
|
66
|
+
),
|
|
67
|
+
focusManagedChildren,
|
|
68
|
+
/* @__PURE__ */ jsx(
|
|
69
|
+
FieldAddon,
|
|
70
|
+
{
|
|
71
|
+
placement: "end",
|
|
72
|
+
isInvalid,
|
|
73
|
+
isDisabled,
|
|
74
|
+
...slotProps?.endAddon,
|
|
75
|
+
children: endAddon
|
|
76
|
+
}
|
|
77
|
+
)
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
)
|
|
81
|
+
}
|
|
82
|
+
);
|
|
83
|
+
});
|
|
79
84
|
FieldContentGroup.displayName = "FieldContentGroup";
|
|
80
85
|
export {
|
|
81
86
|
FieldContentGroup
|
|
@@ -3,6 +3,7 @@ const hasStartAddon = "kbq-fieldcontentgroup-hasStartAddon-62fb80";
|
|
|
3
3
|
const hasEndAddon = "kbq-fieldcontentgroup-hasEndAddon-e8c20a";
|
|
4
4
|
const transparent = "kbq-fieldcontentgroup-transparent-ac42b6";
|
|
5
5
|
const filled = "kbq-fieldcontentgroup-filled-37bb93";
|
|
6
|
+
const focused = "kbq-fieldcontentgroup-focused-8fb205";
|
|
6
7
|
const invalid = "kbq-fieldcontentgroup-invalid-e4973b";
|
|
7
8
|
const disabled = "kbq-fieldcontentgroup-disabled-54827b";
|
|
8
9
|
const s = {
|
|
@@ -11,6 +12,7 @@ const s = {
|
|
|
11
12
|
hasEndAddon,
|
|
12
13
|
transparent,
|
|
13
14
|
filled,
|
|
15
|
+
focused,
|
|
14
16
|
invalid,
|
|
15
17
|
disabled
|
|
16
18
|
};
|
|
@@ -19,6 +21,7 @@ export {
|
|
|
19
21
|
s as default,
|
|
20
22
|
disabled,
|
|
21
23
|
filled,
|
|
24
|
+
focused,
|
|
22
25
|
hasEndAddon,
|
|
23
26
|
hasStartAddon,
|
|
24
27
|
invalid,
|
|
@@ -4,7 +4,7 @@ import { forwardRef } from "react";
|
|
|
4
4
|
import { useDOMRef, mergeProps, clsx } from "@koobiq/react-core";
|
|
5
5
|
import { useListState, useTagGroup } from "@koobiq/react-primitives";
|
|
6
6
|
import s from "./TagGroup.module.css.js";
|
|
7
|
-
import {
|
|
7
|
+
import { Tag } from "./components/Tag/Tag.js";
|
|
8
8
|
function TagGroupRender(props, ref) {
|
|
9
9
|
const { variant = "theme-fade", style, className, slotProps } = props;
|
|
10
10
|
const domRef = useDOMRef(ref);
|
|
@@ -15,7 +15,7 @@ function TagGroupRender(props, ref) {
|
|
|
15
15
|
gridProps,
|
|
16
16
|
slotProps?.root
|
|
17
17
|
);
|
|
18
|
-
return /* @__PURE__ */ jsx("div", { ...rootProps, children: [...state.collection].map((item) => /* @__PURE__ */ jsx(
|
|
18
|
+
return /* @__PURE__ */ jsx("div", { ...rootProps, children: [...state.collection].map((item) => /* @__PURE__ */ jsx(Tag, { item, variant, state }, item.key)) });
|
|
19
19
|
}
|
|
20
20
|
const TagGroup = forwardRef(TagGroupRender);
|
|
21
21
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AriaTagProps, ListState } from '@koobiq/react-primitives';
|
|
2
2
|
import type { TagGroupPropVariant } from '../../index';
|
|
3
|
-
|
|
3
|
+
type TagProps<T> = AriaTagProps<T> & {
|
|
4
4
|
state: ListState<T>;
|
|
5
5
|
/**
|
|
6
6
|
* The variant to use.
|
|
@@ -8,4 +8,5 @@ export type TagInnerProps<T> = AriaTagProps<T> & {
|
|
|
8
8
|
*/
|
|
9
9
|
variant?: TagGroupPropVariant;
|
|
10
10
|
};
|
|
11
|
-
export declare function
|
|
11
|
+
export declare function Tag<T>(props: TagProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -5,11 +5,11 @@ import { IconXmarkS16 } from "@koobiq/react-icons";
|
|
|
5
5
|
import { useTag } from "@koobiq/react-primitives";
|
|
6
6
|
import { utilClasses } from "../../../../styles/utility.js";
|
|
7
7
|
import intlMessages from "../../intl.json.js";
|
|
8
|
-
import s from "./
|
|
8
|
+
import s from "./Tag.module.css.js";
|
|
9
9
|
import { matchVariantToCloseButton } from "./utils.js";
|
|
10
10
|
import { IconButton } from "../../../IconButton/IconButton.js";
|
|
11
11
|
const textNormalMedium = utilClasses.typography["text-normal-medium"];
|
|
12
|
-
function
|
|
12
|
+
function Tag(props) {
|
|
13
13
|
const { item, state, variant = "theme-fade" } = props;
|
|
14
14
|
const { slotProps, icon, className, style } = item.props;
|
|
15
15
|
const ref = useRef(null);
|
|
@@ -82,5 +82,5 @@ function TagInner(props) {
|
|
|
82
82
|
] }) });
|
|
83
83
|
}
|
|
84
84
|
export {
|
|
85
|
-
|
|
85
|
+
Tag
|
|
86
86
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const base = "kbq-tag-b509d0";
|
|
2
|
+
const content = "kbq-tag-content-fe481b";
|
|
3
|
+
const icon = "kbq-tag-icon-1e369b";
|
|
4
|
+
const cancelIcon = "kbq-tag-cancelIcon-1ec6aa";
|
|
5
|
+
const hovered = "kbq-tag-hovered-2fc42f";
|
|
6
|
+
const focused = "kbq-tag-focused-033891";
|
|
7
|
+
const disabled = "kbq-tag-disabled-bbd5a1";
|
|
8
|
+
const s = {
|
|
9
|
+
base,
|
|
10
|
+
content,
|
|
11
|
+
icon,
|
|
12
|
+
cancelIcon,
|
|
13
|
+
"theme-fade": "kbq-tag-theme-fade-71290f",
|
|
14
|
+
"contrast-fade": "kbq-tag-contrast-fade-319aac",
|
|
15
|
+
"error-fade": "kbq-tag-error-fade-b90fd8",
|
|
16
|
+
"warning-fade": "kbq-tag-warning-fade-6decab",
|
|
17
|
+
hovered,
|
|
18
|
+
focused,
|
|
19
|
+
disabled
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
base,
|
|
23
|
+
cancelIcon,
|
|
24
|
+
content,
|
|
25
|
+
s as default,
|
|
26
|
+
disabled,
|
|
27
|
+
focused,
|
|
28
|
+
hovered,
|
|
29
|
+
icon
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tag';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './Tag';
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
const base = "kbq-timepicker-a6e9f3";
|
|
2
2
|
const startAddon = "kbq-timepicker-startAddon-46c835";
|
|
3
|
+
const clock = "kbq-timepicker-clock-920ed0";
|
|
3
4
|
const s = {
|
|
4
5
|
base,
|
|
5
|
-
startAddon
|
|
6
|
+
startAddon,
|
|
7
|
+
clock
|
|
6
8
|
};
|
|
7
9
|
export {
|
|
8
10
|
base,
|
|
11
|
+
clock,
|
|
9
12
|
s as default,
|
|
10
13
|
startAddon
|
|
11
14
|
};
|
package/dist/style.css
CHANGED
|
@@ -2018,7 +2018,7 @@
|
|
|
2018
2018
|
--field-content-border-color: var(--kbq-line-contrast-fade);
|
|
2019
2019
|
}
|
|
2020
2020
|
|
|
2021
|
-
.kbq-fieldcontentgroup-filled-37bb93:
|
|
2021
|
+
.kbq-fieldcontentgroup-filled-37bb93:where(.kbq-fieldcontentgroup-focused-8fb205) {
|
|
2022
2022
|
--field-content-outline-color: var(--kbq-states-line-focus-theme);
|
|
2023
2023
|
}
|
|
2024
2024
|
|
|
@@ -2026,7 +2026,7 @@
|
|
|
2026
2026
|
--field-content-border-color: var(--kbq-line-error);
|
|
2027
2027
|
}
|
|
2028
2028
|
|
|
2029
|
-
.kbq-fieldcontentgroup-filled-37bb93:where(.kbq-fieldcontentgroup-invalid-e4973b)
|
|
2029
|
+
.kbq-fieldcontentgroup-filled-37bb93:where(.kbq-fieldcontentgroup-invalid-e4973b.kbq-fieldcontentgroup-focused-8fb205) {
|
|
2030
2030
|
--field-content-outline-color: var(--field-content-border-color);
|
|
2031
2031
|
}
|
|
2032
2032
|
|
|
@@ -2122,7 +2122,7 @@
|
|
|
2122
2122
|
|
|
2123
2123
|
.kbq-fieldinput-filled-abb632:where(.kbq-fieldinput-invalid-2af82b) {
|
|
2124
2124
|
--field-input-color: var(--kbq-foreground-error);
|
|
2125
|
-
--field-input-bg-color: var(--kbq-
|
|
2125
|
+
--field-input-bg-color: var(--kbq-background-error-less);
|
|
2126
2126
|
--field-input-placeholder-color: var(--kbq-foreground-error-tertiary);
|
|
2127
2127
|
}
|
|
2128
2128
|
|
|
@@ -3163,7 +3163,7 @@
|
|
|
3163
3163
|
|
|
3164
3164
|
.kbq-fieldselect-invalid-db8152 {
|
|
3165
3165
|
--field-input-color: var(--kbq-foreground-error);
|
|
3166
|
-
--field-input-bg-color: var(--kbq-
|
|
3166
|
+
--field-input-bg-color: var(--kbq-background-error-less);
|
|
3167
3167
|
--field-input-placeholder-color: var(--kbq-foreground-error-tertiary);
|
|
3168
3168
|
}
|
|
3169
3169
|
|
|
@@ -3393,7 +3393,7 @@
|
|
|
3393
3393
|
.kbq-taggroup-20136b [role="gridcell"] {
|
|
3394
3394
|
display: contents;
|
|
3395
3395
|
}
|
|
3396
|
-
.kbq-
|
|
3396
|
+
.kbq-tag-b509d0 {
|
|
3397
3397
|
--tag-color: ;
|
|
3398
3398
|
--tag-bg-color: ;
|
|
3399
3399
|
--tag-icon-color: ;
|
|
@@ -3419,14 +3419,14 @@
|
|
|
3419
3419
|
display: inline-flex;
|
|
3420
3420
|
}
|
|
3421
3421
|
|
|
3422
|
-
.kbq-
|
|
3422
|
+
.kbq-tag-content-fe481b {
|
|
3423
3423
|
white-space: nowrap;
|
|
3424
3424
|
text-overflow: ellipsis;
|
|
3425
3425
|
margin-inline: var(--kbq-size-3xs);
|
|
3426
3426
|
overflow: hidden;
|
|
3427
3427
|
}
|
|
3428
3428
|
|
|
3429
|
-
.kbq-
|
|
3429
|
+
.kbq-tag-icon-1e369b {
|
|
3430
3430
|
color: var(--tag-icon-color);
|
|
3431
3431
|
flex-shrink: 0;
|
|
3432
3432
|
justify-content: center;
|
|
@@ -3435,58 +3435,58 @@
|
|
|
3435
3435
|
display: flex;
|
|
3436
3436
|
}
|
|
3437
3437
|
|
|
3438
|
-
.kbq-
|
|
3438
|
+
.kbq-tag-cancelIcon-1ec6aa {
|
|
3439
3439
|
justify-content: center;
|
|
3440
3440
|
align-items: center;
|
|
3441
3441
|
margin-inline-end: var(--kbq-size-3xs);
|
|
3442
3442
|
display: flex;
|
|
3443
3443
|
}
|
|
3444
3444
|
|
|
3445
|
-
.kbq-
|
|
3445
|
+
.kbq-tag-theme-fade-71290f {
|
|
3446
3446
|
--tag-icon-color: var(--kbq-icon-theme);
|
|
3447
3447
|
--tag-bg-color: var(--kbq-background-theme-fade);
|
|
3448
3448
|
--tag-color: var(--kbq-foreground-theme);
|
|
3449
3449
|
}
|
|
3450
3450
|
|
|
3451
|
-
.kbq-
|
|
3451
|
+
.kbq-tag-contrast-fade-319aac {
|
|
3452
3452
|
--tag-icon-color: var(--kbq-icon-contrast-fade);
|
|
3453
3453
|
--tag-bg-color: var(--kbq-background-contrast-fade);
|
|
3454
3454
|
--tag-color: var(--kbq-foreground-contrast);
|
|
3455
3455
|
}
|
|
3456
3456
|
|
|
3457
|
-
.kbq-
|
|
3457
|
+
.kbq-tag-error-fade-b90fd8 {
|
|
3458
3458
|
--tag-icon-color: var(--kbq-icon-error);
|
|
3459
3459
|
--tag-bg-color: var(--kbq-background-error-fade);
|
|
3460
3460
|
--tag-color: var(--kbq-foreground-error);
|
|
3461
3461
|
}
|
|
3462
3462
|
|
|
3463
|
-
.kbq-
|
|
3463
|
+
.kbq-tag-warning-fade-6decab {
|
|
3464
3464
|
--tag-icon-color: var(--kbq-icon-warning);
|
|
3465
3465
|
--tag-bg-color: var(--kbq-background-warning-fade);
|
|
3466
3466
|
--tag-color: var(--kbq-foreground-warning);
|
|
3467
3467
|
}
|
|
3468
3468
|
|
|
3469
|
-
.kbq-
|
|
3469
|
+
.kbq-tag-theme-fade-71290f:where(.kbq-tag-hovered-2fc42f) {
|
|
3470
3470
|
--tag-bg-color: var(--kbq-states-background-theme-fade-hover);
|
|
3471
3471
|
}
|
|
3472
3472
|
|
|
3473
|
-
.kbq-
|
|
3473
|
+
.kbq-tag-contrast-fade-319aac:where(.kbq-tag-hovered-2fc42f) {
|
|
3474
3474
|
--tag-bg-color: var(--kbq-states-background-contrast-fade-hover);
|
|
3475
3475
|
}
|
|
3476
3476
|
|
|
3477
|
-
.kbq-
|
|
3477
|
+
.kbq-tag-error-fade-b90fd8:where(.kbq-tag-hovered-2fc42f) {
|
|
3478
3478
|
--tag-bg-color: var(--kbq-states-background-error-fade-hover);
|
|
3479
3479
|
}
|
|
3480
3480
|
|
|
3481
|
-
.kbq-
|
|
3481
|
+
.kbq-tag-warning-fade-6decab:where(.kbq-tag-hovered-2fc42f) {
|
|
3482
3482
|
--tag-bg-color: var(--kbq-states-background-warning-fade-hover);
|
|
3483
3483
|
}
|
|
3484
3484
|
|
|
3485
|
-
.kbq-
|
|
3485
|
+
.kbq-tag-focused-033891 {
|
|
3486
3486
|
--tag-outline-color: var(--kbq-states-line-focus-theme);
|
|
3487
3487
|
}
|
|
3488
3488
|
|
|
3489
|
-
.kbq-
|
|
3489
|
+
.kbq-tag-disabled-bbd5a1 {
|
|
3490
3490
|
--tag-icon-color: ;
|
|
3491
3491
|
--tag-bg-color: var(--kbq-states-background-disabled);
|
|
3492
3492
|
--tag-color: var(--kbq-states-foreground-disabled);
|
|
@@ -3852,7 +3852,7 @@
|
|
|
3852
3852
|
|
|
3853
3853
|
.kbq-fieldinputdate-filled-02db7d:where(.kbq-fieldinputdate-invalid-d764c6) {
|
|
3854
3854
|
--field-input-color: var(--kbq-foreground-error);
|
|
3855
|
-
--field-input-bg-color: var(--kbq-
|
|
3855
|
+
--field-input-bg-color: var(--kbq-background-error-less);
|
|
3856
3856
|
--field-input-placeholder-color: var(--kbq-foreground-error-tertiary);
|
|
3857
3857
|
}
|
|
3858
3858
|
|
|
@@ -3906,6 +3906,10 @@
|
|
|
3906
3906
|
.kbq-timepicker-startAddon-46c835 {
|
|
3907
3907
|
pointer-events: none;
|
|
3908
3908
|
}
|
|
3909
|
+
|
|
3910
|
+
.kbq-timepicker-startAddon-46c835 > :not(.kbq-timepicker-clock-920ed0) {
|
|
3911
|
+
pointer-events: all;
|
|
3912
|
+
}
|
|
3909
3913
|
.kbq-spacing-mbs_0-be7021 {
|
|
3910
3914
|
margin-block-start: 0;
|
|
3911
3915
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/react-components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"@koobiq/design-tokens": "^3.14.0",
|
|
29
29
|
"@types/react-transition-group": "^4.4.12",
|
|
30
30
|
"react-transition-group": "^4.4.5",
|
|
31
|
-
"@koobiq/
|
|
32
|
-
"@koobiq/react-
|
|
33
|
-
"@koobiq/react-primitives": "0.2.
|
|
34
|
-
"@koobiq/
|
|
31
|
+
"@koobiq/logger": "0.2.2",
|
|
32
|
+
"@koobiq/react-core": "0.2.2",
|
|
33
|
+
"@koobiq/react-primitives": "0.2.2",
|
|
34
|
+
"@koobiq/react-icons": "0.2.2"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@koobiq/design-tokens": "^3.14.0",
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const base = "kbq-taginner-f9f19a";
|
|
2
|
-
const content = "kbq-taginner-content-72ca39";
|
|
3
|
-
const icon = "kbq-taginner-icon-df45be";
|
|
4
|
-
const cancelIcon = "kbq-taginner-cancelIcon-8a3dbe";
|
|
5
|
-
const hovered = "kbq-taginner-hovered-abf199";
|
|
6
|
-
const focused = "kbq-taginner-focused-16f44f";
|
|
7
|
-
const disabled = "kbq-taginner-disabled-0c6073";
|
|
8
|
-
const s = {
|
|
9
|
-
base,
|
|
10
|
-
content,
|
|
11
|
-
icon,
|
|
12
|
-
cancelIcon,
|
|
13
|
-
"theme-fade": "kbq-taginner-theme-fade-68b99c",
|
|
14
|
-
"contrast-fade": "kbq-taginner-contrast-fade-39d7a7",
|
|
15
|
-
"error-fade": "kbq-taginner-error-fade-6d7d03",
|
|
16
|
-
"warning-fade": "kbq-taginner-warning-fade-9403c7",
|
|
17
|
-
hovered,
|
|
18
|
-
focused,
|
|
19
|
-
disabled
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
base,
|
|
23
|
-
cancelIcon,
|
|
24
|
-
content,
|
|
25
|
-
s as default,
|
|
26
|
-
disabled,
|
|
27
|
-
focused,
|
|
28
|
-
hovered,
|
|
29
|
-
icon
|
|
30
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TagInner';
|
|
File without changes
|
|
File without changes
|