@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.
@@ -5,7 +5,7 @@ export const styles = tv({
5
5
  iconBefore: '',
6
6
  iconAfter: '',
7
7
  dropdown: 'ml-[0.4em]',
8
- text: 'overflow-hidden text-ellipsis'
8
+ text: 'min-w-0 overflow-x-clip overflow-y-visible text-ellipsis whitespace-nowrap'
9
9
  },
10
10
  variants: {
11
11
  hasIcon: {
@@ -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.12.0",
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
  },
@@ -9,7 +9,7 @@ export const styles = tv({
9
9
  iconBefore: '',
10
10
  iconAfter: '',
11
11
  dropdown: 'ml-[0.4em]',
12
- text: 'overflow-hidden text-ellipsis',
12
+ text: 'min-w-0 overflow-x-clip overflow-y-visible text-ellipsis whitespace-nowrap',
13
13
  },
14
14
  variants: {
15
15
  hasIcon: {
@@ -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