@blocklet/labels 1.6.211 → 1.6.213
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/label/context.d.ts +2 -2
- package/dist/components/label/label-picker.d.ts +2 -1
- package/dist/components/label/label-tree.d.ts +2 -2
- package/dist/components/label/labels.d.ts +2 -2
- package/dist/components/label/utils.d.ts +1 -0
- package/dist/label2/github-label-picker.d.ts +2 -2
- package/dist/label2/labels-context.d.ts +3 -2
- package/dist/label2/labels-input.d.ts +2 -1
- package/dist/label2/labels2.d.ts +3 -3
- package/dist/label2/tree.d.ts +2 -1
- package/dist/test/fixtures/index.d.ts +2 -1
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { CreateLabel, FetchLabels } from '../../types';
|
|
2
2
|
import { Label } from './types';
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
interface LabelsProviderProps {
|
|
5
5
|
fetchLabels: FetchLabels;
|
|
6
6
|
createLabel: CreateLabel;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { CreateLabel, LabelPayload, LabelsResponse } from '../types';
|
|
1
2
|
import { LabelTreeNode } from './tree';
|
|
2
|
-
|
|
3
|
+
|
|
3
4
|
interface InitialState {
|
|
4
5
|
loading: boolean;
|
|
5
6
|
data?: LabelsResponse;
|
|
6
7
|
createLabel: CreateLabel;
|
|
7
8
|
}
|
|
8
|
-
export declare const LabelsContainer: import(
|
|
9
|
+
export declare const LabelsContainer: import('unstated-next').Container<{
|
|
9
10
|
flattenedLabels: LabelTreeNode[];
|
|
10
11
|
popularLabels: LabelTreeNode[];
|
|
11
12
|
counts: Record<string, number>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { GithubLabelPickerProps } from './github-label-picker';
|
|
1
2
|
import { TextFieldProps } from '@mui/material';
|
|
2
|
-
|
|
3
|
+
|
|
3
4
|
export interface LabelsInputProps {
|
|
4
5
|
value: string[];
|
|
5
6
|
onChange: (value: string[]) => void;
|
package/dist/label2/labels2.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { LabelTreeNode } from './tree';
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
|
|
4
4
|
export interface LabelsProps {
|
|
5
5
|
labels: string[] | undefined | null;
|
|
6
6
|
sx?: SxProps;
|
package/dist/label2/tree.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/labels",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.213",
|
|
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.213",
|
|
32
32
|
"@emotion/css": "^11.10.5",
|
|
33
33
|
"@emotion/react": "^11.10.5",
|
|
34
34
|
"@emotion/styled": "^11.10.5",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@storybook/addon-essentials": "^6.5.13",
|
|
62
62
|
"@storybook/addon-interactions": "^6.5.13",
|
|
63
63
|
"@storybook/addon-links": "^6.5.13",
|
|
64
|
-
"@storybook/builder-vite": "^0.
|
|
64
|
+
"@storybook/builder-vite": "^8.0.6",
|
|
65
65
|
"@storybook/react": "^6.5.13",
|
|
66
66
|
"@storybook/testing-library": "^0.0.13",
|
|
67
67
|
"@svgr/core": "^6.5.1",
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
"rollup-plugin-node-externals": "^5.1.3",
|
|
77
77
|
"typescript": "^4.6.4",
|
|
78
78
|
"unplugin-icons": "^0.14.14",
|
|
79
|
-
"vite": "^5.
|
|
80
|
-
"vite-plugin-dts": "^3.
|
|
79
|
+
"vite": "^5.2.8",
|
|
80
|
+
"vite-plugin-dts": "^3.8.1",
|
|
81
81
|
"vite-plugin-libcss": "^1.1.1"
|
|
82
82
|
},
|
|
83
83
|
"resolutions": {
|
|
84
84
|
"react": "^18.2.0"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "03b4c48a34d63d8d539a94c3fc77313fb44b7fbe"
|
|
87
87
|
}
|