@westpac/ui 1.12.0 → 1.13.0
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 +7 -0
- package/dist/component-type.json +1 -1
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/button-group/button-group.types.d.ts +0 -1
- package/package.json +4 -1
- package/src/components/button/button.styles.ts +1 -1
- package/src/components/button-group/button-group.types.ts +0 -1
- package/utils/build-svg-zip/index.ts +1 -1
|
@@ -27,7 +27,6 @@ type ButtonGroupPropsPerSelectionMode = {
|
|
|
27
27
|
defaultSelectedKeys?: Key;
|
|
28
28
|
/** Handler that is called when the selection changes. */
|
|
29
29
|
onSelectionChange?: (key: Key) => void;
|
|
30
|
-
batata?: string;
|
|
31
30
|
};
|
|
32
31
|
multiple: BaseButtonGroupProps & {
|
|
33
32
|
selectionMode: 'multiple';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@westpac/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -73,6 +73,9 @@
|
|
|
73
73
|
"./date-picker": {
|
|
74
74
|
"default": "./dist/components/date-picker/index.js"
|
|
75
75
|
},
|
|
76
|
+
"./dropdown": {
|
|
77
|
+
"default": "./dist/components/dropdown/index.js"
|
|
78
|
+
},
|
|
76
79
|
"./error-message": {
|
|
77
80
|
"default": "./dist/components/error-message/index.js"
|
|
78
81
|
},
|
|
@@ -34,7 +34,6 @@ type ButtonGroupPropsPerSelectionMode = {
|
|
|
34
34
|
defaultSelectedKeys?: Key;
|
|
35
35
|
/** Handler that is called when the selection changes. */
|
|
36
36
|
onSelectionChange?: (key: Key) => void;
|
|
37
|
-
batata?: string;
|
|
38
37
|
};
|
|
39
38
|
multiple: BaseButtonGroupProps & {
|
|
40
39
|
selectionMode: 'multiple';
|
|
@@ -19,7 +19,7 @@ const exportZip = (zipRoot: string, zipFiles: string[], zipStoragePath: string,
|
|
|
19
19
|
const filePath = path.resolve(file);
|
|
20
20
|
const fileData = fs.readFileSync(filePath);
|
|
21
21
|
const relativePath = path.relative('assets', file);
|
|
22
|
-
const zipPathInArchive = path.join(zipRoot, type, relativePath.replace(`${type}
|
|
22
|
+
const zipPathInArchive = path.join(zipRoot, type, relativePath.replace(`${type}${path.sep}`, ''));
|
|
23
23
|
zip.addFile(zipPathInArchive, fileData);
|
|
24
24
|
});
|
|
25
25
|
|