From d1366f33bf58bbb148b09644045b4adbbe57c761 Mon Sep 17 00:00:00 2001 From: akeneo Date: Fri, 25 Oct 2024 08:14:59 +0000 Subject: [PATCH] Extract from b478c73258e277d54b26f59d6a01f9f4ad8645b5 --- lib/icons/StarIcon.js | 2 +- lib/index.d.ts | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/icons/StarIcon.tsx | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/icons/StarIcon.js b/lib/icons/StarIcon.js index 2d187e2e..14fd8ced 100644 --- a/lib/icons/StarIcon.js +++ b/lib/icons/StarIcon.js @@ -1 +1 @@ -"use strict";var a=Object.defineProperty,d=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;var o=(r,t,C)=>t in r?a(r,t,{enumerable:!0,configurable:!0,writable:!0,value:C}):r[t]=C,h=(r,t)=>{for(var C in t||(t={}))L.call(t,C)&&o(r,C,t[C]);if(n)for(var C of n(t))c.call(t,C)&&o(r,C,t[C]);return r},l=(r,t)=>d(r,j(t));var x=(r,t)=>{var C={};for(var e in r)L.call(r,e)&&t.indexOf(e)<0&&(C[e]=r[e]);if(r!=null&&n)for(var e of n(r))t.indexOf(e)<0&&c.call(r,e)&&(C[e]=r[e]);return C};var s=require("react/jsx-runtime");const u=v=>{var i=v,{title:r,size:t=24,color:C="currentColor"}=i,e=x(i,["title","size","color"]);return s.jsxs("svg",l(h({viewBox:"0 0 24 24",width:t,height:t},e),{children:[r&&s.jsx("title",{children:r}),s.jsx("path",{d:"M11.049 2.92705C11.3483 2.00574 12.6517 2.00574 12.9511 2.92705L14.4697 7.60081C14.6035 8.01284 14.9875 8.2918 15.4207 8.2918H20.335C21.3037 8.2918 21.7065 9.53141 20.9228 10.1008L16.9471 12.9894C16.5966 13.244 16.4499 13.6954 16.5838 14.1074L18.1024 18.7812C18.4017 19.7025 17.3473 20.4686 16.5635 19.8992L12.5878 17.0106C12.2373 16.756 11.7627 16.756 11.4122 17.0106L7.4365 19.8992C6.65278 20.4686 5.5983 19.7025 5.89765 18.7812L7.41625 14.1074C7.55012 13.6954 7.40347 13.244 7.05298 12.9894L3.07724 10.1008C2.29353 9.53141 2.6963 8.2918 3.66502 8.2918H8.57931C9.01253 8.2918 9.39649 8.01284 9.53036 7.60081L11.049 2.92705Z",stroke:C,fill:"none"})]}))};exports.StarIcon=u; +"use strict";var j=Object.defineProperty,u=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;var L=(r,t,C)=>t in r?j(r,t,{enumerable:!0,configurable:!0,writable:!0,value:C}):r[t]=C,h=(r,t)=>{for(var C in t||(t={}))c.call(t,C)&&L(r,C,t[C]);if(n)for(var C of n(t))i.call(t,C)&&L(r,C,t[C]);return r},x=(r,t)=>u(r,l(t));var a=(r,t)=>{var C={};for(var e in r)c.call(r,e)&&t.indexOf(e)<0&&(C[e]=r[e]);if(r!=null&&n)for(var e of n(r))t.indexOf(e)<0&&i.call(r,e)&&(C[e]=r[e]);return C};var s=require("react/jsx-runtime");const v=g=>{var o=g,{title:r,size:t=24,color:C="currentColor",fill:e="none"}=o,d=a(o,["title","size","color","fill"]);return s.jsxs("svg",x(h({viewBox:"0 0 24 24",width:t,height:t},d),{children:[r&&s.jsx("title",{children:r}),s.jsx("path",{d:"M11.049 2.92705C11.3483 2.00574 12.6517 2.00574 12.9511 2.92705L14.4697 7.60081C14.6035 8.01284 14.9875 8.2918 15.4207 8.2918H20.335C21.3037 8.2918 21.7065 9.53141 20.9228 10.1008L16.9471 12.9894C16.5966 13.244 16.4499 13.6954 16.5838 14.1074L18.1024 18.7812C18.4017 19.7025 17.3473 20.4686 16.5635 19.8992L12.5878 17.0106C12.2373 16.756 11.7627 16.756 11.4122 17.0106L7.4365 19.8992C6.65278 20.4686 5.5983 19.7025 5.89765 18.7812L7.41625 14.1074C7.55012 13.6954 7.40347 13.244 7.05298 12.9894L3.07724 10.1008C2.29353 9.53141 2.6963 8.2918 3.66502 8.2918H8.57931C9.01253 8.2918 9.39649 8.01284 9.53036 7.60081L11.049 2.92705Z",stroke:C,fill:e})]}))};exports.StarIcon=v; diff --git a/lib/index.d.ts b/lib/index.d.ts index a069db21..feb0593f 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -1337,7 +1337,7 @@ export declare type SplitButtonProps = Omit, 'href'>; -export declare const StarIcon: ({ title, size, color, ...props }: IconProps) => default_2.JSX.Element; +export declare const StarIcon: ({ title, size, color, fill, ...props }: IconProps) => default_2.JSX.Element; export declare const StatusIllustration: ({ title, size, ...props }: IllustrationProps) => default_2.JSX.Element; diff --git a/package-lock.json b/package-lock.json index 62e212e7..e30289d3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "akeneo-design-system", - "version": "2.0.2", + "version": "2.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "akeneo-design-system", - "version": "2.0.2", + "version": "2.0.3", "license": "OSL-3.0", "dependencies": { "draft-js": "^0.11.0", diff --git a/package.json b/package.json index f1469d0c..17051c29 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "akeneo-design-system", - "version": "2.0.2", + "version": "2.0.3", "description": "Akeneo design system", "files": [ "lib" diff --git a/src/icons/StarIcon.tsx b/src/icons/StarIcon.tsx index 1f2f146c..02d562e8 100644 --- a/src/icons/StarIcon.tsx +++ b/src/icons/StarIcon.tsx @@ -1,13 +1,13 @@ import React from 'react'; import {IconProps} from './IconProps'; -const StarIcon = ({title, size = 24, color = 'currentColor', ...props}: IconProps) => ( +const StarIcon = ({title, size = 24, color = 'currentColor', fill = 'none', ...props}: IconProps) => ( {title && {title}} );