@westpac/ui 0.30.0 → 0.31.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/assets/icons/filled/child-care-filled.svg +1 -0
  3. package/assets/icons/filled/child-filled.svg +1 -0
  4. package/assets/icons/filled/piggy-bank-filled.svg +3 -0
  5. package/assets/icons/filled/x-filled.svg +1 -0
  6. package/assets/icons/outlined/child-care-outlined.svg +1 -0
  7. package/assets/icons/outlined/child-outlined.svg +1 -0
  8. package/assets/icons/outlined/piggy-bank-outlined.svg +6 -0
  9. package/assets/icons/outlined/x-outlined.svg +1 -0
  10. package/dist/component-type.json +1 -1
  11. package/dist/components/icon/components/child-care-icon.js +1 -1
  12. package/dist/components/icon/components/child-icon.js +1 -1
  13. package/dist/components/icon/components/piggy-bank-icon.d.ts +2 -0
  14. package/dist/components/icon/components/piggy-bank-icon.js +35 -0
  15. package/dist/components/icon/components/x-icon.js +1 -1
  16. package/dist/components/icon/index.d.ts +4 -0
  17. package/dist/components/icon/index.js +4 -0
  18. package/dist/components/symbol/components/symbols/x-mark-inverse-symbol.d.ts +2 -0
  19. package/dist/components/symbol/components/symbols/x-mark-inverse-symbol.js +27 -0
  20. package/dist/components/symbol/components/symbols/x-mark-symbol.d.ts +2 -0
  21. package/dist/components/symbol/components/symbols/x-mark-symbol.js +27 -0
  22. package/dist/components/symbol/components/symbols/x-symbol.d.ts +2 -0
  23. package/dist/components/symbol/components/symbols/x-symbol.js +38 -0
  24. package/dist/components/symbol/index.d.ts +3 -0
  25. package/dist/components/symbol/index.js +3 -0
  26. package/package.json +3 -3
  27. package/src/components/icon/components/child-care-icon.tsx +1 -1
  28. package/src/components/icon/components/child-icon.tsx +1 -1
  29. package/src/components/icon/components/piggy-bank-icon.tsx +35 -0
  30. package/src/components/icon/components/x-icon.tsx +1 -1
  31. package/src/components/icon/index.ts +4 -0
  32. package/src/components/symbol/components/symbols/x-mark-inverse-symbol.tsx +28 -0
  33. package/src/components/symbol/components/symbols/x-mark-symbol.tsx +28 -0
  34. package/src/components/symbol/components/symbols/x-symbol.tsx +39 -0
  35. package/src/components/symbol/index.ts +3 -0
@@ -14,7 +14,7 @@ function _extends() {
14
14
  }
15
15
  import React, { Fragment } from 'react';
16
16
  import { Icon } from '../icon.component.js';
17
- export function ChildCareIcon({ look ='filled' , 'aria-label': ariaLabel = 'Child Care' , copyrightYear ='2024' , ...props }) {
17
+ export function ChildCareIcon({ look ='filled' , 'aria-label': ariaLabel = 'Child Care' , copyrightYear ='2023' , ...props }) {
18
18
  return React.createElement(Icon, _extends({
19
19
  "aria-label": ariaLabel,
20
20
  copyrightYear: copyrightYear
@@ -14,7 +14,7 @@ function _extends() {
14
14
  }
15
15
  import React from 'react';
16
16
  import { Icon } from '../icon.component.js';
17
- export function ChildIcon({ 'aria-label': ariaLabel = 'Child' , copyrightYear ='2024' , ...props }) {
17
+ export function ChildIcon({ 'aria-label': ariaLabel = 'Child' , copyrightYear ='2023' , ...props }) {
18
18
  return React.createElement(Icon, _extends({
19
19
  "aria-label": ariaLabel,
20
20
  copyrightYear: copyrightYear
@@ -0,0 +1,2 @@
1
+ import { type IconProps } from '../icon.types.js';
2
+ export declare function PiggyBankIcon({ look, 'aria-label': ariaLabel, copyrightYear, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,35 @@
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, { Fragment } from 'react';
16
+ import { Icon } from '../icon.component.js';
17
+ export function PiggyBankIcon({ look ='filled' , 'aria-label': ariaLabel = 'Piggy Bank' , copyrightYear ='2023' , ...props }) {
18
+ return React.createElement(Icon, _extends({
19
+ "aria-label": ariaLabel,
20
+ copyrightYear: copyrightYear
21
+ }, props), look === 'filled' ? React.createElement("path", {
22
+ fill: "currentColor",
23
+ fillRule: "evenodd",
24
+ d: "M.99 15.975A101.66 101.66 0 0 0 3 24h6v-3h4v3h5.6l2.01-7.92L24 14.97V6.5h-2.61l-2.73-2.63c.04-.24.095-.475.165-.705.07-.23.145-.455.225-.675.04-.1.075-.21.105-.33a1.736 1.736 0 0 0-.48-1.635A1.736 1.736 0 0 0 17.4 0c-.96 0-1.855.21-2.685.63A6.098 6.098 0 0 0 12.6 2.4h-6c-1.84 0-3.4.64-4.68 1.92C.64 5.6 0 7.16 0 9c0 2.136.42 4.19.845 6.264l.145.711ZM6 7a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Zm12.5 3.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Z",
25
+ clipRule: "evenodd"
26
+ }) : React.createElement(Fragment, null, React.createElement("g", {
27
+ fill: "currentColor"
28
+ }, React.createElement("path", {
29
+ d: "M18.5 10.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM7 6a1 1 0 0 0 0 2h5a1 1 0 1 0 0-2H7Z"
30
+ }), React.createElement("path", {
31
+ fillRule: "evenodd",
32
+ d: "M12.6 2.4h-6c-1.84 0-3.4.64-4.68 1.92C.64 5.6 0 7.16 0 9c0 2.136.42 4.19.845 6.264l.145.711A101.66 101.66 0 0 0 3 24h6v-3h4v3h5.6l2.01-7.92L24 14.97V6.5h-2.61l-2.73-2.63c.04-.24.095-.475.165-.705.07-.23.145-.455.225-.675.04-.1.075-.21.105-.33a1.736 1.736 0 0 0-.48-1.635A1.736 1.736 0 0 0 17.4 0c-.96 0-1.855.21-2.685.63A6.098 6.098 0 0 0 12.6 2.4ZM22 8.5h-1.417l-4.069-3.92.173-1.039c.054-.324.129-.644.225-.958.058-.193.12-.384.186-.573a3.808 3.808 0 0 0-1.48.405 4.1 4.1 0 0 0-1.428 1.198l-.6.787H6.6c-1.32 0-2.368.436-3.266 1.334C2.436 6.632 2 7.681 2 9c0 1.921.378 3.772.808 5.877l.142.702A99.66 99.66 0 0 0 4.507 22H7v-3h8v3h2.044l1.898-7.478L22 13.52V8.5Z",
33
+ clipRule: "evenodd"
34
+ }))));
35
+ }
@@ -14,7 +14,7 @@ function _extends() {
14
14
  }
15
15
  import React, { Fragment } from 'react';
16
16
  import { Icon } from '../icon.component.js';
17
- export function XIcon({ look ='filled' , 'aria-label': ariaLabel = 'X' , copyrightYear ='2024' , ...props }) {
17
+ export function XIcon({ look ='filled' , 'aria-label': ariaLabel = 'X' , copyrightYear ='2023' , ...props }) {
18
18
  return React.createElement(Icon, _extends({
19
19
  "aria-label": ariaLabel,
20
20
  copyrightYear: copyrightYear
@@ -41,6 +41,8 @@ export { CardlessCashIcon } from './components/cardless-cash-icon.js';
41
41
  export { CartIcon } from './components/cart-icon.js';
42
42
  export { ChatIcon } from './components/chat-icon.js';
43
43
  export { CheckIcon } from './components/check-icon.js';
44
+ export { ChildCareIcon } from './components/child-care-icon.js';
45
+ export { ChildIcon } from './components/child-icon.js';
44
46
  export { CircleIcon } from './components/circle-icon.js';
45
47
  export { ClearIcon } from './components/clear-icon.js';
46
48
  export { ClockIcon } from './components/clock-icon.js';
@@ -164,6 +166,7 @@ export { PercentIcon } from './components/percent-icon.js';
164
166
  export { PersonIcon } from './components/person-icon.js';
165
167
  export { PhoneIcon } from './components/phone-icon.js';
166
168
  export { PieChartIcon } from './components/pie-chart-icon.js';
169
+ export { PiggyBankIcon } from './components/piggy-bank-icon.js';
167
170
  export { PizzaIcon } from './components/pizza-icon.js';
168
171
  export { PlaneIcon } from './components/plane-icon.js';
169
172
  export { PlayCircleIcon } from './components/play-circle-icon.js';
@@ -236,6 +239,7 @@ export { WindowsNewIcon } from './components/windows-new-icon.js';
236
239
  export { WineGlassIcon } from './components/wine-glass-icon.js';
237
240
  export { WordFileIcon } from './components/word-file-icon.js';
238
241
  export { WriteIcon } from './components/write-icon.js';
242
+ export { XIcon } from './components/x-icon.js';
239
243
  export { YammerIcon } from './components/yammer-icon.js';
240
244
  export { YoutubeIcon } from './components/youtube-icon.js';
241
245
  export { ZipFileIcon } from './components/zip-file-icon.js';
@@ -41,6 +41,8 @@ export { CardlessCashIcon } from './components/cardless-cash-icon.js';
41
41
  export { CartIcon } from './components/cart-icon.js';
42
42
  export { ChatIcon } from './components/chat-icon.js';
43
43
  export { CheckIcon } from './components/check-icon.js';
44
+ export { ChildCareIcon } from './components/child-care-icon.js';
45
+ export { ChildIcon } from './components/child-icon.js';
44
46
  export { CircleIcon } from './components/circle-icon.js';
45
47
  export { ClearIcon } from './components/clear-icon.js';
46
48
  export { ClockIcon } from './components/clock-icon.js';
@@ -164,6 +166,7 @@ export { PercentIcon } from './components/percent-icon.js';
164
166
  export { PersonIcon } from './components/person-icon.js';
165
167
  export { PhoneIcon } from './components/phone-icon.js';
166
168
  export { PieChartIcon } from './components/pie-chart-icon.js';
169
+ export { PiggyBankIcon } from './components/piggy-bank-icon.js';
167
170
  export { PizzaIcon } from './components/pizza-icon.js';
168
171
  export { PlaneIcon } from './components/plane-icon.js';
169
172
  export { PlayCircleIcon } from './components/play-circle-icon.js';
@@ -236,6 +239,7 @@ export { WindowsNewIcon } from './components/windows-new-icon.js';
236
239
  export { WineGlassIcon } from './components/wine-glass-icon.js';
237
240
  export { WordFileIcon } from './components/word-file-icon.js';
238
241
  export { WriteIcon } from './components/write-icon.js';
242
+ export { XIcon } from './components/x-icon.js';
239
243
  export { YammerIcon } from './components/yammer-icon.js';
240
244
  export { YoutubeIcon } from './components/youtube-icon.js';
241
245
  export { ZipFileIcon } from './components/zip-file-icon.js';
@@ -0,0 +1,2 @@
1
+ import { type SymbolProps } from '../../symbol.types.js';
2
+ export declare const XMarkInverseSymbol: ({ "aria-label": ariaLabel, copyrightYear, viewBoxWidth, viewBoxHeight, className, ...props }: SymbolProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,27 @@
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 { clsx } from 'clsx';
16
+ import React from 'react';
17
+ import { Symbol } from '../../symbol.component.js';
18
+ export const XMarkInverseSymbol = ({ 'aria-label': ariaLabel = 'X' , copyrightYear ='' , viewBoxWidth =32 , viewBoxHeight =32 , className , ...props })=>React.createElement(Symbol, _extends({
19
+ className: clsx('h-[32px] w-[32px]', className),
20
+ "aria-label": ariaLabel,
21
+ copyrightYear: copyrightYear,
22
+ viewBoxWidth: viewBoxWidth,
23
+ viewBoxHeight: viewBoxHeight
24
+ }, props), React.createElement("path", {
25
+ fill: "#fff",
26
+ d: "M44.635 32.455 72.555 0H65.94L41.696 28.18 22.333 0H0l29.28 42.614L0 76.648h6.617l25.601-29.76 20.449 29.76H75L44.634 32.455h.001ZM35.573 42.99l-2.967-4.243L9.001 4.98h10.162l19.05 27.25 2.967 4.243 24.762 35.42H55.78L35.573 42.99v-.002Z"
27
+ }));
@@ -0,0 +1,2 @@
1
+ import { type SymbolProps } from '../../symbol.types.js';
2
+ export declare const XMarkSymbol: ({ "aria-label": ariaLabel, copyrightYear, viewBoxWidth, viewBoxHeight, className, ...props }: SymbolProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,27 @@
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 { clsx } from 'clsx';
16
+ import React from 'react';
17
+ import { Symbol } from '../../symbol.component.js';
18
+ export const XMarkSymbol = ({ 'aria-label': ariaLabel = 'X' , copyrightYear ='' , viewBoxWidth =32 , viewBoxHeight =32 , className , ...props })=>React.createElement(Symbol, _extends({
19
+ className: clsx('h-[32px] w-[32px]', className),
20
+ "aria-label": ariaLabel,
21
+ copyrightYear: copyrightYear,
22
+ viewBoxWidth: viewBoxWidth,
23
+ viewBoxHeight: viewBoxHeight
24
+ }, props), React.createElement("path", {
25
+ fill: "#000",
26
+ d: "M44.635 32.455 72.555 0H65.94L41.696 28.18 22.333 0H0l29.28 42.614L0 76.648h6.617l25.601-29.76 20.449 29.76H75L44.634 32.455h.001ZM35.573 42.99l-2.967-4.243L9.001 4.98h10.162l19.05 27.25 2.967 4.243 24.762 35.42H55.78L35.573 42.99v-.002Z"
27
+ }));
@@ -0,0 +1,2 @@
1
+ import { type SymbolProps } from '../../symbol.types.js';
2
+ export declare const XSymbol: ({ "aria-label": ariaLabel, copyrightYear, viewBoxWidth, viewBoxHeight, className, ...props }: SymbolProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,38 @@
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 { clsx } from 'clsx';
16
+ import React from 'react';
17
+ import { Symbol } from '../../symbol.component.js';
18
+ export const XSymbol = ({ 'aria-label': ariaLabel = 'X' , copyrightYear ='' , viewBoxWidth =32 , viewBoxHeight =32 , className , ...props })=>React.createElement(Symbol, _extends({
19
+ className: clsx('h-[32px] w-[32px]', className),
20
+ "aria-label": ariaLabel,
21
+ copyrightYear: copyrightYear,
22
+ viewBoxWidth: viewBoxWidth,
23
+ viewBoxHeight: viewBoxHeight
24
+ }, props), React.createElement("g", {
25
+ "clip-path": "url(#clip0_1842_16)"
26
+ }, React.createElement("path", {
27
+ d: "M30 0H2C0.89543 0 0 0.89543 0 2V30C0 31.1046 0.89543 32 2 32H30C31.1046 32 32 31.1046 32 30V2C32 0.89543 31.1046 0 30 0Z",
28
+ fill: "black"
29
+ }), React.createElement("path", {
30
+ d: "M18.093 14.1624L26.283 4H24.3422L17.2308 12.8238L11.551 4H5L13.589 17.3432L5 28H6.94088L14.4507 18.6817L20.449 28H27L18.0925 14.1624H18.093ZM15.4347 17.4608L14.5644 16.1321L7.6402 5.55962H10.6213L16.2092 14.0919L17.0795 15.4206L24.3431 26.5113H21.3621L15.4347 17.4613V17.4608Z",
31
+ fill: "white"
32
+ })), React.createElement("defs", null, React.createElement("clipPath", {
33
+ id: "clip0_1842_16"
34
+ }, React.createElement("rect", {
35
+ width: "32",
36
+ height: "32",
37
+ fill: "white"
38
+ }))));
@@ -51,6 +51,9 @@ export { WBGInternalLogo } from './components/logos/wbg-internal-logo.js';
51
51
  export { WBGLogo } from './components/logos/wbg-logo.js';
52
52
  export { WBGMultibrandLargeLogo } from './components/logos/wbg-multibrand-large-logo.js';
53
53
  export { WBGMultibrandSmallLogo } from './components/logos/wbg-multibrand-small-logo.js';
54
+ export { XSymbol } from './components/symbols/x-symbol.js';
55
+ export { XMarkSymbol } from './components/symbols/x-mark-symbol.js';
56
+ export { XMarkInverseSymbol } from './components/symbols/x-mark-inverse-symbol.js';
54
57
  export { YammerSymbol } from './components/symbols/yammer-symbol.js';
55
58
  export { YouTubeSymbol } from './components/symbols/youtube-symbol.js';
56
59
  export { type SymbolProps } from './symbol.types.js';
@@ -51,5 +51,8 @@ export { WBGInternalLogo } from './components/logos/wbg-internal-logo.js';
51
51
  export { WBGLogo } from './components/logos/wbg-logo.js';
52
52
  export { WBGMultibrandLargeLogo } from './components/logos/wbg-multibrand-large-logo.js';
53
53
  export { WBGMultibrandSmallLogo } from './components/logos/wbg-multibrand-small-logo.js';
54
+ export { XSymbol } from './components/symbols/x-symbol.js';
55
+ export { XMarkSymbol } from './components/symbols/x-mark-symbol.js';
56
+ export { XMarkInverseSymbol } from './components/symbols/x-mark-inverse-symbol.js';
54
57
  export { YammerSymbol } from './components/symbols/yammer-symbol.js';
55
58
  export { YouTubeSymbol } from './components/symbols/youtube-symbol.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@westpac/ui",
3
- "version": "0.30.0",
3
+ "version": "0.31.0",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -257,9 +257,9 @@
257
257
  "typescript": "^5.5.4",
258
258
  "vite": "^5.2.12",
259
259
  "vitest": "^0.30.1",
260
+ "@westpac/ts-config": "~0.0.0",
260
261
  "@westpac/eslint-config": "~0.4.0",
261
- "@westpac/test-config": "~0.0.0",
262
- "@westpac/ts-config": "~0.0.0"
262
+ "@westpac/test-config": "~0.0.0"
263
263
  },
264
264
  "dependencies": {
265
265
  "@duetds/date-picker": "~1.4.0",
@@ -6,7 +6,7 @@ import { type IconProps } from '../icon.types.js';
6
6
  export function ChildCareIcon({
7
7
  look = 'filled',
8
8
  'aria-label': ariaLabel = 'Child Care',
9
- copyrightYear = '2024',
9
+ copyrightYear = '2023',
10
10
  ...props
11
11
  }: IconProps) {
12
12
  return (
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { Icon } from '../icon.component.js';
4
4
  import { type IconProps } from '../icon.types.js';
5
5
 
6
- export function ChildIcon({ 'aria-label': ariaLabel = 'Child', copyrightYear = '2024', ...props }: IconProps) {
6
+ export function ChildIcon({ 'aria-label': ariaLabel = 'Child', copyrightYear = '2023', ...props }: IconProps) {
7
7
  return (
8
8
  <Icon aria-label={ariaLabel} copyrightYear={copyrightYear} {...props}>
9
9
  <path
@@ -0,0 +1,35 @@
1
+ import React, { Fragment } from 'react';
2
+
3
+ import { Icon } from '../icon.component.js';
4
+ import { type IconProps } from '../icon.types.js';
5
+
6
+ export function PiggyBankIcon({
7
+ look = 'filled',
8
+ 'aria-label': ariaLabel = 'Piggy Bank',
9
+ copyrightYear = '2023',
10
+ ...props
11
+ }: IconProps) {
12
+ return (
13
+ <Icon aria-label={ariaLabel} copyrightYear={copyrightYear} {...props}>
14
+ {look === 'filled' ? (
15
+ <path
16
+ fill="currentColor"
17
+ fillRule="evenodd"
18
+ d="M.99 15.975A101.66 101.66 0 0 0 3 24h6v-3h4v3h5.6l2.01-7.92L24 14.97V6.5h-2.61l-2.73-2.63c.04-.24.095-.475.165-.705.07-.23.145-.455.225-.675.04-.1.075-.21.105-.33a1.736 1.736 0 0 0-.48-1.635A1.736 1.736 0 0 0 17.4 0c-.96 0-1.855.21-2.685.63A6.098 6.098 0 0 0 12.6 2.4h-6c-1.84 0-3.4.64-4.68 1.92C.64 5.6 0 7.16 0 9c0 2.136.42 4.19.845 6.264l.145.711ZM6 7a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Zm12.5 3.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Z"
19
+ clipRule="evenodd"
20
+ />
21
+ ) : (
22
+ <Fragment>
23
+ <g fill="currentColor">
24
+ <path d="M18.5 10.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM7 6a1 1 0 0 0 0 2h5a1 1 0 1 0 0-2H7Z" />
25
+ <path
26
+ fillRule="evenodd"
27
+ d="M12.6 2.4h-6c-1.84 0-3.4.64-4.68 1.92C.64 5.6 0 7.16 0 9c0 2.136.42 4.19.845 6.264l.145.711A101.66 101.66 0 0 0 3 24h6v-3h4v3h5.6l2.01-7.92L24 14.97V6.5h-2.61l-2.73-2.63c.04-.24.095-.475.165-.705.07-.23.145-.455.225-.675.04-.1.075-.21.105-.33a1.736 1.736 0 0 0-.48-1.635A1.736 1.736 0 0 0 17.4 0c-.96 0-1.855.21-2.685.63A6.098 6.098 0 0 0 12.6 2.4ZM22 8.5h-1.417l-4.069-3.92.173-1.039c.054-.324.129-.644.225-.958.058-.193.12-.384.186-.573a3.808 3.808 0 0 0-1.48.405 4.1 4.1 0 0 0-1.428 1.198l-.6.787H6.6c-1.32 0-2.368.436-3.266 1.334C2.436 6.632 2 7.681 2 9c0 1.921.378 3.772.808 5.877l.142.702A99.66 99.66 0 0 0 4.507 22H7v-3h8v3h2.044l1.898-7.478L22 13.52V8.5Z"
28
+ clipRule="evenodd"
29
+ />
30
+ </g>
31
+ </Fragment>
32
+ )}
33
+ </Icon>
34
+ );
35
+ }
@@ -3,7 +3,7 @@ import React, { Fragment } from 'react';
3
3
  import { Icon } from '../icon.component.js';
4
4
  import { type IconProps } from '../icon.types.js';
5
5
 
6
- export function XIcon({ look = 'filled', 'aria-label': ariaLabel = 'X', copyrightYear = '2024', ...props }: IconProps) {
6
+ export function XIcon({ look = 'filled', 'aria-label': ariaLabel = 'X', copyrightYear = '2023', ...props }: IconProps) {
7
7
  return (
8
8
  <Icon aria-label={ariaLabel} copyrightYear={copyrightYear} {...props}>
9
9
  {look === 'filled' ? (
@@ -41,6 +41,8 @@ export { CardlessCashIcon } from './components/cardless-cash-icon.js';
41
41
  export { CartIcon } from './components/cart-icon.js';
42
42
  export { ChatIcon } from './components/chat-icon.js';
43
43
  export { CheckIcon } from './components/check-icon.js';
44
+ export { ChildCareIcon } from './components/child-care-icon.js';
45
+ export { ChildIcon } from './components/child-icon.js';
44
46
  export { CircleIcon } from './components/circle-icon.js';
45
47
  export { ClearIcon } from './components/clear-icon.js';
46
48
  export { ClockIcon } from './components/clock-icon.js';
@@ -164,6 +166,7 @@ export { PercentIcon } from './components/percent-icon.js';
164
166
  export { PersonIcon } from './components/person-icon.js';
165
167
  export { PhoneIcon } from './components/phone-icon.js';
166
168
  export { PieChartIcon } from './components/pie-chart-icon.js';
169
+ export { PiggyBankIcon } from './components/piggy-bank-icon.js';
167
170
  export { PizzaIcon } from './components/pizza-icon.js';
168
171
  export { PlaneIcon } from './components/plane-icon.js';
169
172
  export { PlayCircleIcon } from './components/play-circle-icon.js';
@@ -236,6 +239,7 @@ export { WindowsNewIcon } from './components/windows-new-icon.js';
236
239
  export { WineGlassIcon } from './components/wine-glass-icon.js';
237
240
  export { WordFileIcon } from './components/word-file-icon.js';
238
241
  export { WriteIcon } from './components/write-icon.js';
242
+ export { XIcon } from './components/x-icon.js';
239
243
  export { YammerIcon } from './components/yammer-icon.js';
240
244
  export { YoutubeIcon } from './components/youtube-icon.js';
241
245
  export { ZipFileIcon } from './components/zip-file-icon.js';
@@ -0,0 +1,28 @@
1
+ import { clsx } from 'clsx';
2
+ import React from 'react';
3
+
4
+ import { Symbol } from '../../symbol.component.js';
5
+ import { type SymbolProps } from '../../symbol.types.js';
6
+
7
+ export const XMarkInverseSymbol = ({
8
+ 'aria-label': ariaLabel = 'X',
9
+ copyrightYear = '',
10
+ viewBoxWidth = 32,
11
+ viewBoxHeight = 32,
12
+ className,
13
+ ...props
14
+ }: SymbolProps) => (
15
+ <Symbol
16
+ className={clsx('h-[32px] w-[32px]', className)}
17
+ aria-label={ariaLabel}
18
+ copyrightYear={copyrightYear}
19
+ viewBoxWidth={viewBoxWidth}
20
+ viewBoxHeight={viewBoxHeight}
21
+ {...props}
22
+ >
23
+ <path
24
+ fill="#fff"
25
+ d="M44.635 32.455 72.555 0H65.94L41.696 28.18 22.333 0H0l29.28 42.614L0 76.648h6.617l25.601-29.76 20.449 29.76H75L44.634 32.455h.001ZM35.573 42.99l-2.967-4.243L9.001 4.98h10.162l19.05 27.25 2.967 4.243 24.762 35.42H55.78L35.573 42.99v-.002Z"
26
+ />
27
+ </Symbol>
28
+ );
@@ -0,0 +1,28 @@
1
+ import { clsx } from 'clsx';
2
+ import React from 'react';
3
+
4
+ import { Symbol } from '../../symbol.component.js';
5
+ import { type SymbolProps } from '../../symbol.types.js';
6
+
7
+ export const XMarkSymbol = ({
8
+ 'aria-label': ariaLabel = 'X',
9
+ copyrightYear = '',
10
+ viewBoxWidth = 32,
11
+ viewBoxHeight = 32,
12
+ className,
13
+ ...props
14
+ }: SymbolProps) => (
15
+ <Symbol
16
+ className={clsx('h-[32px] w-[32px]', className)}
17
+ aria-label={ariaLabel}
18
+ copyrightYear={copyrightYear}
19
+ viewBoxWidth={viewBoxWidth}
20
+ viewBoxHeight={viewBoxHeight}
21
+ {...props}
22
+ >
23
+ <path
24
+ fill="#000"
25
+ d="M44.635 32.455 72.555 0H65.94L41.696 28.18 22.333 0H0l29.28 42.614L0 76.648h6.617l25.601-29.76 20.449 29.76H75L44.634 32.455h.001ZM35.573 42.99l-2.967-4.243L9.001 4.98h10.162l19.05 27.25 2.967 4.243 24.762 35.42H55.78L35.573 42.99v-.002Z"
26
+ />
27
+ </Symbol>
28
+ );
@@ -0,0 +1,39 @@
1
+ import { clsx } from 'clsx';
2
+ import React from 'react';
3
+
4
+ import { Symbol } from '../../symbol.component.js';
5
+ import { type SymbolProps } from '../../symbol.types.js';
6
+
7
+ export const XSymbol = ({
8
+ 'aria-label': ariaLabel = 'X',
9
+ copyrightYear = '',
10
+ viewBoxWidth = 32,
11
+ viewBoxHeight = 32,
12
+ className,
13
+ ...props
14
+ }: SymbolProps) => (
15
+ <Symbol
16
+ className={clsx('h-[32px] w-[32px]', className)}
17
+ aria-label={ariaLabel}
18
+ copyrightYear={copyrightYear}
19
+ viewBoxWidth={viewBoxWidth}
20
+ viewBoxHeight={viewBoxHeight}
21
+ {...props}
22
+ >
23
+ <g clip-path="url(#clip0_1842_16)">
24
+ <path
25
+ d="M30 0H2C0.89543 0 0 0.89543 0 2V30C0 31.1046 0.89543 32 2 32H30C31.1046 32 32 31.1046 32 30V2C32 0.89543 31.1046 0 30 0Z"
26
+ fill="black"
27
+ />
28
+ <path
29
+ d="M18.093 14.1624L26.283 4H24.3422L17.2308 12.8238L11.551 4H5L13.589 17.3432L5 28H6.94088L14.4507 18.6817L20.449 28H27L18.0925 14.1624H18.093ZM15.4347 17.4608L14.5644 16.1321L7.6402 5.55962H10.6213L16.2092 14.0919L17.0795 15.4206L24.3431 26.5113H21.3621L15.4347 17.4613V17.4608Z"
30
+ fill="white"
31
+ />
32
+ </g>
33
+ <defs>
34
+ <clipPath id="clip0_1842_16">
35
+ <rect width="32" height="32" fill="white" />
36
+ </clipPath>
37
+ </defs>
38
+ </Symbol>
39
+ );
@@ -51,6 +51,9 @@ export { WBGInternalLogo } from './components/logos/wbg-internal-logo.js';
51
51
  export { WBGLogo } from './components/logos/wbg-logo.js';
52
52
  export { WBGMultibrandLargeLogo } from './components/logos/wbg-multibrand-large-logo.js';
53
53
  export { WBGMultibrandSmallLogo } from './components/logos/wbg-multibrand-small-logo.js';
54
+ export { XSymbol } from './components/symbols/x-symbol.js';
55
+ export { XMarkSymbol } from './components/symbols/x-mark-symbol.js';
56
+ export { XMarkInverseSymbol } from './components/symbols/x-mark-inverse-symbol.js';
54
57
  export { YammerSymbol } from './components/symbols/yammer-symbol.js';
55
58
  export { YouTubeSymbol } from './components/symbols/youtube-symbol.js';
56
59