@blocklet/labels 1.6.20 → 1.6.21
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/index.es.js
CHANGED
|
@@ -1090,7 +1090,7 @@ function Labels2({ labels, sx, renderLabel, prepend }) {
|
|
|
1090
1090
|
if (renderLabel) {
|
|
1091
1091
|
return renderLabel(item);
|
|
1092
1092
|
}
|
|
1093
|
-
return /* @__PURE__ */ jsx(LabelChip, { label: item });
|
|
1093
|
+
return /* @__PURE__ */ jsx(LabelChip, { label: item }, item.data.id);
|
|
1094
1094
|
})
|
|
1095
1095
|
] });
|
|
1096
1096
|
}
|
|
@@ -1109,6 +1109,7 @@ function LabelsInput({ value = [], onChange, ...rest }) {
|
|
|
1109
1109
|
TextField,
|
|
1110
1110
|
{
|
|
1111
1111
|
...rest,
|
|
1112
|
+
fullWidth: true,
|
|
1112
1113
|
InputProps: {
|
|
1113
1114
|
autoComplete: "off",
|
|
1114
1115
|
...rest.InputProps,
|
package/dist/index.umd.js
CHANGED
|
@@ -1078,7 +1078,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1078
1078
|
if (renderLabel) {
|
|
1079
1079
|
return renderLabel(item);
|
|
1080
1080
|
}
|
|
1081
|
-
return /* @__PURE__ */ jsxRuntime.jsx(LabelChip, { label: item });
|
|
1081
|
+
return /* @__PURE__ */ jsxRuntime.jsx(LabelChip, { label: item }, item.data.id);
|
|
1082
1082
|
})
|
|
1083
1083
|
] });
|
|
1084
1084
|
}
|
|
@@ -1097,6 +1097,7 @@ var __publicField = (obj, key, value) => {
|
|
|
1097
1097
|
material.TextField,
|
|
1098
1098
|
{
|
|
1099
1099
|
...rest,
|
|
1100
|
+
fullWidth: true,
|
|
1100
1101
|
InputProps: {
|
|
1101
1102
|
autoComplete: "off",
|
|
1102
1103
|
...rest.InputProps,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type BoxProps } from '@mui/material';
|
|
3
|
-
interface GithubLabelPickerProps {
|
|
3
|
+
export interface GithubLabelPickerProps {
|
|
4
4
|
value: string[];
|
|
5
5
|
onChange: (value: string[]) => void;
|
|
6
6
|
title?: string;
|
|
@@ -11,4 +11,3 @@ interface GithubLabelPickerProps {
|
|
|
11
11
|
multiple?: boolean;
|
|
12
12
|
}
|
|
13
13
|
export declare function GithubLabelPicker({ value, onChange, title, noLabelsText, buttonSx, actions, trigger, multiple, }: GithubLabelPickerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
-
export {};
|
|
@@ -3,5 +3,5 @@ interface LabelsInputProps {
|
|
|
3
3
|
value: string[];
|
|
4
4
|
onChange: (value: string[]) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare function LabelsInput({ value, onChange, ...rest }: LabelsInputProps & TextFieldProps): import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
+
export declare function LabelsInput({ value, onChange, ...rest }: LabelsInputProps & Omit<TextFieldProps, 'onChange'>): import("react/jsx-runtime").JSX.Element | null;
|
|
7
7
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/labels",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.21",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@blocklet/translation-input": "1.6.
|
|
31
|
+
"@blocklet/translation-input": "1.6.21",
|
|
32
32
|
"@emotion/css": "^11.10.5",
|
|
33
33
|
"@emotion/react": "^11.10.5",
|
|
34
34
|
"@emotion/styled": "^11.10.5",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"resolutions": {
|
|
81
81
|
"react": "^18.2.0"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "4dc055bec91af516d2f3c07a93351bb15f7cc667"
|
|
84
84
|
}
|