@atlaskit/select 21.7.4 → 21.7.5
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/CHANGELOG.md
CHANGED
|
@@ -134,7 +134,7 @@ function hasImportDeclaration(
|
|
|
134
134
|
.length;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export default function transformer(fileInfo: FileInfo, { jscodeshift: j }: API, options: Options) {
|
|
137
|
+
export default function transformer(fileInfo: FileInfo, { jscodeshift: j }: API, options: Options): string {
|
|
138
138
|
const source = j(fileInfo.source);
|
|
139
139
|
|
|
140
140
|
if (hasImportDeclaration(j, source, '@atlaskit/select')) {
|
|
@@ -275,7 +275,7 @@ export function addCommentToStartOfFile({
|
|
|
275
275
|
j: core.JSCodeshift;
|
|
276
276
|
base: Collection<Node>;
|
|
277
277
|
message: string;
|
|
278
|
-
}) {
|
|
278
|
+
}): void {
|
|
279
279
|
addCommentBefore({
|
|
280
280
|
j,
|
|
281
281
|
// @ts-ignore
|
|
@@ -292,7 +292,7 @@ export function addCommentBefore({
|
|
|
292
292
|
j: core.JSCodeshift;
|
|
293
293
|
target: Collection<Node>;
|
|
294
294
|
message: string;
|
|
295
|
-
}) {
|
|
295
|
+
}): void {
|
|
296
296
|
const content: string = ` TODO: (from codemod) ${clean(message)} `;
|
|
297
297
|
target.forEach((path) => {
|
|
298
298
|
path.value.comments = path.value.comments || [];
|
|
@@ -314,7 +314,7 @@ export function updateRenderProps(
|
|
|
314
314
|
specifier: string,
|
|
315
315
|
oldProperty: string,
|
|
316
316
|
newProperty: string,
|
|
317
|
-
) {
|
|
317
|
+
): void {
|
|
318
318
|
source.findJSXElements(specifier).forEach((element: ASTPath<JSXElement>) => {
|
|
319
319
|
j(element)
|
|
320
320
|
.find(j.ArrowFunctionExpression)
|
package/dist/cjs/select.js
CHANGED
|
@@ -11,7 +11,7 @@ var _createSelect = _interopRequireDefault(require("./create-select"));
|
|
|
11
11
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
12
12
|
|
|
13
13
|
var packageName = "@atlaskit/select";
|
|
14
|
-
var packageVersion = "
|
|
14
|
+
var packageVersion = "0.0.0-development";
|
|
15
15
|
var SelectWithoutAnalytics = exports.SelectWithoutAnalytics = (0, _createSelect.default)(_async.default);
|
|
16
16
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
|
17
17
|
var Select = (0, _analyticsNext.withAnalyticsContext)({
|
package/dist/es2019/select.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
3
3
|
import AsyncSelect from '@atlaskit/react-select/async';
|
|
4
4
|
import createSelect from './create-select';
|
|
5
5
|
const packageName = "@atlaskit/select";
|
|
6
|
-
const packageVersion = "
|
|
6
|
+
const packageVersion = "0.0.0-development";
|
|
7
7
|
export const SelectWithoutAnalytics = createSelect(AsyncSelect);
|
|
8
8
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
9
9
|
const Select = withAnalyticsContext({
|
package/dist/esm/select.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
3
3
|
import AsyncSelect from '@atlaskit/react-select/async';
|
|
4
4
|
import createSelect from './create-select';
|
|
5
5
|
var packageName = "@atlaskit/select";
|
|
6
|
-
var packageVersion = "
|
|
6
|
+
var packageVersion = "0.0.0-development";
|
|
7
7
|
export var SelectWithoutAnalytics = createSelect(AsyncSelect);
|
|
8
8
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
9
9
|
var Select = withAnalyticsContext({
|
|
@@ -5,11 +5,14 @@ interface Country {
|
|
|
5
5
|
name: string;
|
|
6
6
|
suggested?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare const groupedCountries: readonly [
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
export declare const groupedCountries: readonly [
|
|
9
|
+
{
|
|
10
|
+
readonly label: "Suggested";
|
|
11
|
+
readonly options: Country[];
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
readonly label: "All Countries";
|
|
15
|
+
readonly options: Country[];
|
|
16
|
+
}
|
|
17
|
+
];
|
|
15
18
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "21.7.
|
|
3
|
+
"version": "21.7.5",
|
|
4
4
|
"description": "Select allows users to make a single selection or multiple selections from a list of options.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
36
36
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
37
|
-
"@atlaskit/icon": "^
|
|
37
|
+
"@atlaskit/icon": "^31.0.0",
|
|
38
38
|
"@atlaskit/layering": "^3.6.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
40
|
"@atlaskit/primitives": "^18.0.0",
|