@blocklet/labels 1.6.165 → 1.6.167

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
@@ -1124,6 +1124,7 @@ function Labels2({ labels, sx, renderLabel, prepend, displaySystemLabels = true
1124
1124
  function LabelsInput({
1125
1125
  value = [],
1126
1126
  onChange,
1127
+ LabelPickerProps,
1127
1128
  sx,
1128
1129
  ...rest
1129
1130
  }) {
@@ -1162,7 +1163,8 @@ function LabelsInput({
1162
1163
  },
1163
1164
  sx: mergedSx
1164
1165
  }
1165
- )
1166
+ ),
1167
+ ...LabelPickerProps
1166
1168
  }
1167
1169
  );
1168
1170
  }
package/dist/index.umd.js CHANGED
@@ -1112,6 +1112,7 @@ var __publicField = (obj, key, value) => {
1112
1112
  function LabelsInput({
1113
1113
  value = [],
1114
1114
  onChange,
1115
+ LabelPickerProps,
1115
1116
  sx,
1116
1117
  ...rest
1117
1118
  }) {
@@ -1150,7 +1151,8 @@ var __publicField = (obj, key, value) => {
1150
1151
  },
1151
1152
  sx: mergedSx
1152
1153
  }
1153
- )
1154
+ ),
1155
+ ...LabelPickerProps
1154
1156
  }
1155
1157
  );
1156
1158
  }
@@ -1,7 +1,8 @@
1
1
  import { TextFieldProps } from '@mui/material';
2
- interface LabelsInputProps {
2
+ import { type GithubLabelPickerProps } from './github-label-picker';
3
+ export interface LabelsInputProps {
3
4
  value: string[];
4
5
  onChange: (value: string[]) => void;
6
+ LabelPickerProps?: Partial<GithubLabelPickerProps>;
5
7
  }
6
- export declare function LabelsInput({ value, onChange, sx, ...rest }: LabelsInputProps & Omit<TextFieldProps, 'onChange'>): import("react/jsx-runtime").JSX.Element | null;
7
- export {};
8
+ export declare function LabelsInput({ value, onChange, LabelPickerProps, sx, ...rest }: LabelsInputProps & Omit<TextFieldProps, 'onChange'>): import("react/jsx-runtime").JSX.Element | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/labels",
3
- "version": "1.6.165",
3
+ "version": "1.6.167",
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.165",
31
+ "@blocklet/translation-input": "1.6.167",
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": "d3b939409a0fa5bbcf685c4aeb7fcef0277d5830"
83
+ "gitHead": "d693e00f42a067f737029d207f6e8e8a8eefa897"
84
84
  }