@westpac/ui 0.23.0 → 0.24.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.
@@ -0,0 +1,2 @@
1
+ import { type IconProps } from '../icon.types.js';
2
+ export declare function DropLeftIcon({ 'aria-label': ariaLabel, copyrightYear, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,25 @@
1
+ function _extends() {
2
+ _extends = Object.assign || function(target) {
3
+ for(var i = 1; i < arguments.length; i++){
4
+ var source = arguments[i];
5
+ for(var key in source){
6
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
7
+ target[key] = source[key];
8
+ }
9
+ }
10
+ }
11
+ return target;
12
+ };
13
+ return _extends.apply(this, arguments);
14
+ }
15
+ import React from 'react';
16
+ import { Icon } from '../icon.component.js';
17
+ export function DropLeftIcon({ 'aria-label': ariaLabel = 'Drop Left' , copyrightYear ='2024' , ...props }) {
18
+ return React.createElement(Icon, _extends({
19
+ "aria-label": ariaLabel,
20
+ copyrightYear: copyrightYear
21
+ }, props), React.createElement("path", {
22
+ d: "m8 19 8-7-8-7v14Z",
23
+ fill: "currentColor"
24
+ }));
25
+ }
@@ -0,0 +1,2 @@
1
+ import { type IconProps } from '../icon.types.js';
2
+ export declare function DropRightIcon({ 'aria-label': ariaLabel, copyrightYear, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,25 @@
1
+ function _extends() {
2
+ _extends = Object.assign || function(target) {
3
+ for(var i = 1; i < arguments.length; i++){
4
+ var source = arguments[i];
5
+ for(var key in source){
6
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
7
+ target[key] = source[key];
8
+ }
9
+ }
10
+ }
11
+ return target;
12
+ };
13
+ return _extends.apply(this, arguments);
14
+ }
15
+ import React from 'react';
16
+ import { Icon } from '../icon.component.js';
17
+ export function DropRightIcon({ 'aria-label': ariaLabel = 'Drop Right' , copyrightYear ='2024' , ...props }) {
18
+ return React.createElement(Icon, _extends({
19
+ "aria-label": ariaLabel,
20
+ copyrightYear: copyrightYear
21
+ }, props), React.createElement("path", {
22
+ d: "m16 5-8 7 8 7V5Z",
23
+ fill: "currentColor"
24
+ }));
25
+ }
@@ -61,6 +61,8 @@ export { DownloadIcon } from './components/download-icon.js';
61
61
  export { DragIcon } from './components/drag-icon.js';
62
62
  export { DropDownIcon } from './components/drop-down-icon.js';
63
63
  export { DropUpIcon } from './components/drop-up-icon.js';
64
+ export { DropLeftIcon } from './components/drop-left-icon.js';
65
+ export { DropRightIcon } from './components/drop-right-icon.js';
64
66
  export { DropboxIcon } from './components/dropbox-icon.js';
65
67
  export { EditIcon } from './components/edit-icon.js';
66
68
  export { EducationIcon } from './components/education-icon.js';
@@ -61,6 +61,8 @@ export { DownloadIcon } from './components/download-icon.js';
61
61
  export { DragIcon } from './components/drag-icon.js';
62
62
  export { DropDownIcon } from './components/drop-down-icon.js';
63
63
  export { DropUpIcon } from './components/drop-up-icon.js';
64
+ export { DropLeftIcon } from './components/drop-left-icon.js';
65
+ export { DropRightIcon } from './components/drop-right-icon.js';
64
66
  export { DropboxIcon } from './components/dropbox-icon.js';
65
67
  export { EditIcon } from './components/edit-icon.js';
66
68
  export { EducationIcon } from './components/education-icon.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@westpac/ui",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -215,7 +215,7 @@
215
215
  "@storybook/blocks": "^7.6.4",
216
216
  "@storybook/manager-api": "~7.6.4",
217
217
  "@storybook/react": "^7.6.4",
218
- "@storybook/react-vite": "^7.6.4",
218
+ "@storybook/react-vite": "^8.1.6",
219
219
  "@storybook/testing-library": "^0.2.2",
220
220
  "@storybook/theming": "~7.6.4",
221
221
  "@swc/cli": "^0.1.62",
@@ -225,11 +225,12 @@
225
225
  "@testing-library/user-event": "~14.4.3",
226
226
  "@types/lodash-es": "~4.17.8",
227
227
  "@types/lodash.throttle": "~4.1.7",
228
+ "@types/node": "~20.12.12",
228
229
  "@types/prettier": "~2.7.3",
229
230
  "@types/react": "^18.2.28",
230
231
  "@types/react-dom": "^18.2.1",
231
232
  "@types/testing-library__jest-dom": "^5.14.5",
232
- "@vitejs/plugin-react-swc": "^3.3.0",
233
+ "@vitejs/plugin-react-swc": "^3.7.0",
233
234
  "@vitest/coverage-c8": "^0.31.0",
234
235
  "chokidar": "^3.5.3",
235
236
  "colorjs.io": "~0.4.5",
@@ -253,10 +254,10 @@
253
254
  "tailwindcss-themer": "~3.1.0",
254
255
  "ts-node": "~10.9.1",
255
256
  "typescript": "^5.1.6",
256
- "vite": "^4.3.9",
257
+ "vite": "^5.2.12",
257
258
  "vitest": "^0.30.1",
258
- "@westpac/ts-config": "~0.0.0",
259
259
  "@westpac/test-config": "~0.0.0",
260
+ "@westpac/ts-config": "~0.0.0",
260
261
  "@westpac/eslint-config": "~0.2.1"
261
262
  },
262
263
  "dependencies": {
@@ -277,6 +278,7 @@
277
278
  },
278
279
  "peerDependencies": {
279
280
  "@duetds/date-picker": "~1.4.0",
281
+ "@types/node": "~20.12.12",
280
282
  "colorjs.io": "~0.4.5",
281
283
  "react": ">=18.2.0",
282
284
  "tailwind-variants": "~0.1.13",
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+
3
+ import { Icon } from '../icon.component.js';
4
+ import { type IconProps } from '../icon.types.js';
5
+
6
+ export function DropLeftIcon({ 'aria-label': ariaLabel = 'Drop Left', copyrightYear = '2024', ...props }: IconProps) {
7
+ return (
8
+ <Icon aria-label={ariaLabel} copyrightYear={copyrightYear} {...props}>
9
+ <path d="m8 19 8-7-8-7v14Z" fill="currentColor" />
10
+ </Icon>
11
+ );
12
+ }
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+
3
+ import { Icon } from '../icon.component.js';
4
+ import { type IconProps } from '../icon.types.js';
5
+
6
+ export function DropRightIcon({ 'aria-label': ariaLabel = 'Drop Right', copyrightYear = '2024', ...props }: IconProps) {
7
+ return (
8
+ <Icon aria-label={ariaLabel} copyrightYear={copyrightYear} {...props}>
9
+ <path d="m16 5-8 7 8 7V5Z" fill="currentColor" />
10
+ </Icon>
11
+ );
12
+ }
@@ -61,6 +61,8 @@ export { DownloadIcon } from './components/download-icon.js';
61
61
  export { DragIcon } from './components/drag-icon.js';
62
62
  export { DropDownIcon } from './components/drop-down-icon.js';
63
63
  export { DropUpIcon } from './components/drop-up-icon.js';
64
+ export { DropLeftIcon } from './components/drop-left-icon.js';
65
+ export { DropRightIcon } from './components/drop-right-icon.js';
64
66
  export { DropboxIcon } from './components/dropbox-icon.js';
65
67
  export { EditIcon } from './components/edit-icon.js';
66
68
  export { EducationIcon } from './components/education-icon.js';