@atlaskit/select 21.7.3 → 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 +13 -0
- package/codemods/18.3.0-select-props.tsx +1 -1
- package/codemods/utils/helpers.tsx +3 -3
- package/dist/cjs/components/input-options.compiled.css +2 -2
- package/dist/cjs/components/input-options.js +1 -1
- package/dist/cjs/select.js +1 -1
- package/dist/es2019/components/input-options.compiled.css +2 -2
- package/dist/es2019/components/input-options.js +1 -1
- package/dist/es2019/select.js +1 -1
- package/dist/esm/components/input-options.compiled.css +2 -2
- package/dist/esm/components/input-options.js +1 -1
- package/dist/esm/select.js +1 -1
- package/dist/types/data/countries.d.ts +10 -7
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/select
|
|
2
2
|
|
|
3
|
+
## 21.7.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 21.7.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`e976346cb86df`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e976346cb86df) -
|
|
14
|
+
Update checkbox border color for accessibility.
|
|
15
|
+
|
|
3
16
|
## 21.7.3
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -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)
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
._1bsb1tcg{width:24px}
|
|
9
9
|
._1bto1l2s{text-overflow:ellipsis}
|
|
10
10
|
._1e0c1txw{display:flex}
|
|
11
|
+
._1gqp1ihb svg rect{stroke:var(--ds-border-bold,#7d818a)}
|
|
11
12
|
._1gqp1r31 svg rect{stroke:currentColor}
|
|
12
|
-
._1gqprsbi svg rect{stroke:var(--ds-border-input,#8c8f97)}
|
|
13
13
|
._1o9zidpf{flex-shrink:0}
|
|
14
14
|
._1q511b66{padding-block-start:var(--ds-space-050,4px)}
|
|
15
15
|
._1reo15vq{overflow-x:hidden}
|
|
16
|
+
._1u9j1ihb svg circle:first-of-type{stroke:var(--ds-border-bold,#7d818a)}
|
|
16
17
|
._1u9j1r31 svg circle:first-of-type{stroke:currentColor}
|
|
17
|
-
._1u9jrsbi svg circle:first-of-type{stroke:var(--ds-border-input,#8c8f97)}
|
|
18
18
|
._1xci892t svg rect{stroke-linejoin:round}
|
|
19
19
|
._4cvr1h6o{align-items:center}
|
|
20
20
|
._4t3i1tcg{height:24px}
|
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)({
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
._1bsb1tcg{width:24px}
|
|
9
9
|
._1bto1l2s{text-overflow:ellipsis}
|
|
10
10
|
._1e0c1txw{display:flex}
|
|
11
|
+
._1gqp1ihb svg rect{stroke:var(--ds-border-bold,#7d818a)}
|
|
11
12
|
._1gqp1r31 svg rect{stroke:currentColor}
|
|
12
|
-
._1gqprsbi svg rect{stroke:var(--ds-border-input,#8c8f97)}
|
|
13
13
|
._1o9zidpf{flex-shrink:0}
|
|
14
14
|
._1q511b66{padding-block-start:var(--ds-space-050,4px)}
|
|
15
15
|
._1reo15vq{overflow-x:hidden}
|
|
16
|
+
._1u9j1ihb svg circle:first-of-type{stroke:var(--ds-border-bold,#7d818a)}
|
|
16
17
|
._1u9j1r31 svg circle:first-of-type{stroke:currentColor}
|
|
17
|
-
._1u9jrsbi svg circle:first-of-type{stroke:var(--ds-border-input,#8c8f97)}
|
|
18
18
|
._1xci892t svg rect{stroke-linejoin:round}
|
|
19
19
|
._4cvr1h6o{align-items:center}
|
|
20
20
|
._4t3i1tcg{height:24px}
|
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({
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
._1bsb1tcg{width:24px}
|
|
9
9
|
._1bto1l2s{text-overflow:ellipsis}
|
|
10
10
|
._1e0c1txw{display:flex}
|
|
11
|
+
._1gqp1ihb svg rect{stroke:var(--ds-border-bold,#7d818a)}
|
|
11
12
|
._1gqp1r31 svg rect{stroke:currentColor}
|
|
12
|
-
._1gqprsbi svg rect{stroke:var(--ds-border-input,#8c8f97)}
|
|
13
13
|
._1o9zidpf{flex-shrink:0}
|
|
14
14
|
._1q511b66{padding-block-start:var(--ds-space-050,4px)}
|
|
15
15
|
._1reo15vq{overflow-x:hidden}
|
|
16
|
+
._1u9j1ihb svg circle:first-of-type{stroke:var(--ds-border-bold,#7d818a)}
|
|
16
17
|
._1u9j1r31 svg circle:first-of-type{stroke:currentColor}
|
|
17
|
-
._1u9jrsbi svg circle:first-of-type{stroke:var(--ds-border-input,#8c8f97)}
|
|
18
18
|
._1xci892t svg rect{stroke-linejoin:round}
|
|
19
19
|
._4cvr1h6o{align-items:center}
|
|
20
20
|
._4t3i1tcg{height:24px}
|
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",
|