The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Migrate twenty UI (#21407)
Raphaël Bosid596c26f46ef
diff --git a/nx.json b/nx.jsonindex 2f382d35c75..9af871103b4 100644--- a/nx.json+++ b/nx.json@@ -279,5 +279,6 @@"defaultBase": "main","tui": {"enabled": false- }+ },+ "analytics": false}diff --git a/packages/twenty-ui/.size-limit.json b/packages/twenty-ui/.size-limit.jsonindex 982175df273..7c52e5c70b2 100644--- a/packages/twenty-ui/.size-limit.json+++ b/packages/twenty-ui/.size-limit.json@@ -18,42 +18,42 @@{"name": "testing","path": "dist/testing.mjs",- "limit": "10 kB"+ "limit": "188 kB"},{"name": "components","path": "dist/components.mjs",- "limit": "40 kB"+ "limit": "209 kB"},{"name": "display","path": "dist/display.mjs",- "limit": "30 kB"+ "limit": "509 kB"},{"name": "feedback","path": "dist/feedback.mjs",- "limit": "20 kB"+ "limit": "164 kB"},{"name": "input","path": "dist/input.mjs",- "limit": "50 kB"+ "limit": "278 kB"},{"name": "layout","path": "dist/layout.mjs",- "limit": "20 kB"+ "limit": "230 kB"},{"name": "navigation","path": "dist/navigation.mjs",- "limit": "20 kB"+ "limit": "219 kB"},{"name": "json-visualizer","path": "dist/json-visualizer.mjs",- "limit": "30 kB"+ "limit": "173 kB"},{"name": "theme",@@ -68,7 +68,7 @@{"name": "utilities","path": "dist/utilities.mjs",- "limit": "10 kB"+ "limit": "217 kB"},{"name": "style.css",diff --git a/packages/twenty-ui/.storybook/preview.tsx b/packages/twenty-ui/.storybook/preview.tsxindex 05f01e57378..f129471e5ba 100644--- a/packages/twenty-ui/.storybook/preview.tsx+++ b/packages/twenty-ui/.storybook/preview.tsx@@ -1,7 +1,7 @@import { type Preview } from '@storybook/react-vite';-import '@new-ui/theme-constants/theme-light.css';-import '@new-ui/theme-constants/theme-dark.css';-import { ThemeProvider } from '@new-ui/theme-constants';+import '@ui/theme-constants/theme-light.css';+import '@ui/theme-constants/theme-dark.css';+import { ThemeProvider } from '@ui/theme-constants';const preview: Preview = {tags: ['autodocs'],diff --git a/packages/twenty-ui/.storybook/vitest.setup.ts b/packages/twenty-ui/.storybook/vitest.setup.tsindex 512a7f55d23..26d684b986e 100644--- a/packages/twenty-ui/.storybook/vitest.setup.ts+++ b/packages/twenty-ui/.storybook/vitest.setup.ts@@ -1,3 +1,4 @@+import * as a11yAddonAnnotations from '@storybook/addon-a11y/preview';import { setProjectAnnotations } from '@storybook/react-vite';import { MotionGlobalConfig } from 'framer-motion';import * as projectAnnotations from './preview';@@ -9,4 +10,6 @@ import * as projectAnnotations from './preview';MotionGlobalConfig.skipAnimations = true;// Apply Storybook's preview configuration to Vitest runs.-setProjectAnnotations([projectAnnotations]);+// The a11y addon annotations register the axe afterEach hook so that+// parameters.a11y.test = 'error' (set in preview.tsx) actually gates tests.+setProjectAnnotations([a11yAddonAnnotations, projectAnnotations]);diff --git a/packages/twenty-ui/LICENSE b/packages/twenty-ui/LICENSEnew file mode 100644index 00000000000..50a6a10a286--- /dev/null+++ b/packages/twenty-ui/LICENSE@@ -0,0 +1,710 @@++This project is mostly licensed under the GNU General Public License (GPL) as described below. However, certain files within this project are licensed under a different commercial license. These files are clearly marked with the following comment at the top of the file: /* @license Enterprise */+Files with this comment are not licensed under the aGPL v3, but instead are subject to the commercial license terms defined later in this file.+++ GNU AFFERO GENERAL PUBLIC LICENSE+ Version 3, 19 November 2007++ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>+ Everyone is permitted to copy and distribute verbatim copies+ of this license document, but changing it is not allowed.++ Preamble++ The GNU Affero General Public License is a free, copyleft license for+software and other kinds of works, specifically designed to ensure+cooperation with the community in the case of network server software.++ The licenses for most software and other practical works are designed+to take away your freedom to share and change the works. By contrast,+our General Public Licenses are intended to guarantee your freedom to+share and change all versions of a program--to make sure it remains free+software for all its users.++ When we speak of free software, we are referring to freedom, not+price. Our General Public Licenses are designed to make sure that you+have the freedom to distribute copies of free software (and charge for+them if you wish), that you receive source code or can get it if you+want it, that you can change the software or use pieces of it in new+free programs, and that you know you can do these things.++ Developers that use our General Public Licenses protect your rights+with two steps: (1) assert copyright on the software, and (2) offer+you this License which gives you legal permission to copy, distribute+and/or modify the software.++ A secondary benefit of defending all users' freedom is that+improvements made in alternate versions of the program, if they+receive widespread use, become available for other developers to+incorporate. Many developers of free software are heartened and+encouraged by the resulting cooperation. However, in the case of+software used on network servers, this result may fail to come about.+The GNU General Public License permits making a modified version and+letting the public access it on a server without ever releasing its+source code to the public.++ The GNU Affero General Public License is designed specifically to+ensure that, in such cases, the modified source code becomes available+to the community. It requires the operator of a network server to+provide the source code of the modified version running there to the+users of that server. Therefore, public use of a modified version, on+a publicly accessible server, gives the public access to the source+code of the modified version.++ An older license, called the Affero General Public License and+published by Affero, was designed to accomplish similar goals. This is+a different license, not a version of the Affero GPL, but Affero has+released a new version of the Affero GPL which permits relicensing under+this license.++ The precise terms and conditions for copying, distribution and+modification follow.++ TERMS AND CONDITIONS++ 0. Definitions.++ "This License" refers to version 3 of the GNU Affero General Public License.++ "Copyright" also means copyright-like laws that apply to other kinds of+works, such as semiconductor masks.++ "The Program" refers to any copyrightable work licensed under this+License. Each licensee is addressed as "you". "Licensees" and+"recipients" may be individuals or organizations.++ To "modify" a work means to copy from or adapt all or part of the work+in a fashion requiring copyright permission, other than the making of an+exact copy. The resulting work is called a "modified version" of the+earlier work or a work "based on" the earlier work.++ A "covered work" means either the unmodified Program or a work based+on the Program.++ To "propagate" a work means to do anything with it that, without+permission, would make you directly or secondarily liable for+infringement under applicable copyright law, except executing it on a+computer or modifying a private copy. Propagation includes copying,+distribution (with or without modification), making available to the+public, and in some countries other activities as well.++ To "convey" a work means any kind of propagation that enables other+parties to make or receive copies. Mere interaction with a user through+a computer network, with no transfer of a copy, is not conveying.++ An interactive user interface displays "Appropriate Legal Notices"+to the extent that it includes a convenient and prominently visible+feature that (1) displays an appropriate copyright notice, and (2)+tells the user that there is no warranty for the work (except to the+extent that warranties are provided), that licensees may convey the+work under this License, and how to view a copy of this License. If+the interface presents a list of user commands or options, such as a+menu, a prominent item in the list meets this criterion.++ 1. Source Code.++ The "source code" for a work means the preferred form of the work+for making modifications to it. "Object code" means any non-source+form of a work.++ A "Standard Interface" means an interface that either is an official+standard defined by a recognized standards body, or, in the case of+interfaces specified for a particular programming language, one that+is widely used among developers working in that language.++ The "System Libraries" of an executable work include anything, other+than the work as a whole, that (a) is included in the normal form of+packaging a Major Component, but which is not part of that Major+Component, and (b) serves only to enable use of the work with that+Major Component, or to implement a Standard Interface for which an+implementation is available to the public in source code form. A+"Major Component", in this context, means a major essential component+(kernel, window system, and so on) of the specific operating system+(if any) on which the executable work runs, or a compiler used to+produce the work, or an object code interpreter used to run it.++ The "Corresponding Source" for a work in object code form means all+the source code needed to generate, install, and (for an executable+work) run the object code and to modify the work, including scripts to+control those activities. However, it does not include the work's+System Libraries, or general-purpose tools or generally available free+programs which are used unmodified in performing those activities but+which are not part of the work. For example, Corresponding Source+includes interface definition files associated with source files for+the work, and the source code for shared libraries and dynamically+linked subprograms that the work is specifically designed to require,+such as by intimate data communication or control flow between those+subprograms and other parts of the work.++ The Corresponding Source need not include anything that users+can regenerate automatically from other parts of the Corresponding+Source.++ The Corresponding Source for a work in source code form is that+same work.++ 2. Basic Permissions.++ All rights granted under this License are granted for the term of+copyright on the Program, and are irrevocable provided the stated+conditions are met. This License explicitly affirms your unlimited+permission to run the unmodified Program. The output from running a+covered work is covered by this License only if the output, given its+content, constitutes a covered work. This License acknowledges your+rights of fair use or other equivalent, as provided by copyright law.++ You may make, run and propagate covered works that you do not+convey, without conditions so long as your license otherwise remains+in force. You may convey covered works to others for the sole purpose+of having them make modifications exclusively for you, or provide you+with facilities for running those works, provided that you comply with+the terms of this License in conveying all material for which you do+not control copyright. Those thus making or running the covered works+for you must do so exclusively on your behalf, under your direction+and control, on terms that prohibit them from making any copies of+your copyrighted material outside their relationship with you.++ Conveying under any other circumstances is permitted solely under+the conditions stated below. Sublicensing is not allowed; section 10+makes it unnecessary.++ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.++ No covered work shall be deemed part of an effective technological+measure under any applicable law fulfilling obligations under article+11 of the WIPO copyright treaty adopted on 20 December 1996, or+similar laws prohibiting or restricting circumvention of such+measures.++ When you convey a covered work, you waive any legal power to forbid+circumvention of technological measures to the extent such circumvention+is effected by exercising rights under this License with respect to+the covered work, and you disclaim any intention to limit operation or+modification of the work as a means of enforcing, against the work's+users, your or third parties' legal rights to forbid circumvention of+technological measures.++ 4. Conveying Verbatim Copies.++ You may convey verbatim copies of the Program's source code as you+receive it, in any medium, provided that you conspicuously and+appropriately publish on each copy an appropriate copyright notice;+keep intact all notices stating that this License and any+non-permissive terms added in accord with section 7 apply to the code;+keep intact all notices of the absence of any warranty; and give all+recipients a copy of this License along with the Program.++ You may charge any price or no price for each copy that you convey,+and you may offer support or warranty protection for a fee.++ 5. Conveying Modified Source Versions.++ You may convey a work based on the Program, or the modifications to+produce it from the Program, in the form of source code under the+terms of section 4, provided that you also meet all of these conditions:++ a) The work must carry prominent notices stating that you modified+ it, and giving a relevant date.++ b) The work must carry prominent notices stating that it is+ released under this License and any conditions added under section+ 7. This requirement modifies the requirement in section 4 to+ "keep intact all notices".++ c) You must license the entire work, as a whole, under this+ License to anyone who comes into possession of a copy. This+ License will therefore apply, along with any applicable section 7+ additional terms, to the whole of the work, and all its parts,+ regardless of how they are packaged. This License gives no+ permission to license the work in any other way, but it does not+ invalidate such permission if you have separately received it.++ d) If the work has interactive user interfaces, each must display+ Appropriate Legal Notices; however, if the Program has interactive+ interfaces that do not display Appropriate Legal Notices, your+ work need not make them do so.++ A compilation of a covered work with other separate and independent+works, which are not by their nature extensions of the covered work,+and which are not combined with it such as to form a larger program,+in or on a volume of a storage or distribution medium, is called an+"aggregate" if the compilation and its resulting copyright are not+used to limit the access or legal rights of the compilation's users+beyond what the individual works permit. Inclusion of a covered work+in an aggregate does not cause this License to apply to the other+parts of the aggregate.++ 6. Conveying Non-Source Forms.++ You may convey a covered work in object code form under the terms+of sections 4 and 5, provided that you also convey the+machine-readable Corresponding Source under the terms of this License,+in one of these ways:++ a) Convey the object code in, or embodied in, a physical product+ (including a physical distribution medium), accompanied by the+ Corresponding Source fixed on a durable physical medium+ customarily used for software interchange.++ b) Convey the object code in, or embodied in, a physical product+ (including a physical distribution medium), accompanied by a+ written offer, valid for at least three years and valid for as+ long as you offer spare parts or customer support for that product+ model, to give anyone who possesses the object code either (1) a+ copy of the Corresponding Source for all the software in the+ product that is covered by this License, on a durable physical+ medium customarily used for software interchange, for a price no+ more than your reasonable cost of physically performing this+ conveying of source, or (2) access to copy the+ Corresponding Source from a network server at no charge.++ c) Convey individual copies of the object code with a copy of the+ written offer to provide the Corresponding Source. This+ alternative is allowed only occasionally and noncommercially, and+ only if you received the object code with such an offer, in accord+ with subsection 6b.++ d) Convey the object code by offering access from a designated+ place (gratis or for a charge), and offer equivalent access to the+ Corresponding Source in the same way through the same place at no+ further charge. You need not require recipients to copy the+ Corresponding Source along with the object code. If the place to+ copy the object code is a network server, the Corresponding Source+ may be on a different server (operated by you or a third party)+ that supports equivalent copying facilities, provided you maintain+ clear directions next to the object code saying where to find the+ Corresponding Source. Regardless of what server hosts the+ Corresponding Source, you remain obligated to ensure that it is+ available for as long as needed to satisfy these requirements.++ e) Convey the object code using peer-to-peer transmission, provided+ you inform other peers where the object code and Corresponding+ Source of the work are being offered to the general public at no+ charge under subsection 6d.++ A separable portion of the object code, whose source code is excluded+from the Corresponding Source as a System Library, need not be+included in conveying the object code work.++ A "User Product" is either (1) a "consumer product", which means any+tangible personal property which is normally used for personal, family,+or household purposes, or (2) anything designed or sold for incorporation+into a dwelling. In determining whether a product is a consumer product,+doubtful cases shall be resolved in favor of coverage. For a particular+product received by a particular user, "normally used" refers to a+typical or common use of that class of product, regardless of the status+of the particular user or of the way in which the particular user+actually uses, or expects or is expected to use, the product. A product+is a consumer product regardless of whether the product has substantial+commercial, industrial or non-consumer uses, unless such uses represent+the only significant mode of use of the product.++ "Installation Information" for a User Product means any methods,+procedures, authorization keys, or other information required to install+and execute modified versions of a covered work in that User Product from+a modified version of its Corresponding Source. The information must+suffice to ensure that the continued functioning of the modified object+code is in no case prevented or interfered with solely because+modification has been made.++ If you convey an object code work under this section in, or with, or+specifically for use in, a User Product, and the conveying occurs as+part of a transaction in which the right of possession and use of the+User Product is transferred to the recipient in perpetuity or for a+fixed term (regardless of how the transaction is characterized), the+Corresponding Source conveyed under this section must be accompanied+by the Installation Information. But this requirement does not apply+if neither you nor any third party retains the ability to install+modified object code on the User Product (for example, the work has+been installed in ROM).++ The requirement to provide Installation Information does not include a+requirement to continue to provide support service, warranty, or updates+for a work that has been modified or installed by the recipient, or for+the User Product in which it has been modified or installed. Access to a+network may be denied when the modification itself materially and+adversely affects the operation of the network or violates the rules and+protocols for communication across the network.++ Corresponding Source conveyed, and Installation Information provided,+in accord with this section must be in a format that is publicly+documented (and with an implementation available to the public in+source code form), and must require no special password or key for+unpacking, reading or copying.++ 7. Additional Terms.++ "Additional permissions" are terms that supplement the terms of this+License by making exceptions from one or more of its conditions.+Additional permissions that are applicable to the entire Program shall+be treated as though they were included in this License, to the extent+that they are valid under applicable law. If additional permissions+apply only to part of the Program, that part may be used separately+under those permissions, but the entire Program remains governed by+this License without regard to the additional permissions.++ When you convey a copy of a covered work, you may at your option+remove any additional permissions from that copy, or from any part of+it. (Additional permissions may be written to require their own+removal in certain cases when you modify the work.) You may place+additional permissions on material, added by you to a covered work,+for which you have or can give appropriate copyright permission.++ Notwithstanding any other provision of this License, for material you+add to a covered work, you may (if authorized by the copyright holders of+that material) supplement the terms of this License with terms:++ a) Disclaiming warranty or limiting liability differently from the+ terms of sections 15 and 16 of this License; or++ b) Requiring preservation of specified reasonable legal notices or+ author attributions in that material or in the Appropriate Legal+ Notices displayed by works containing it; or++ c) Prohibiting misrepresentation of the origin of that material, or+ requiring that modified versions of such material be marked in+ reasonable ways as different from the original version; or++ d) Limiting the use for publicity purposes of names of licensors or+ authors of the material; or++ e) Declining to grant rights under trademark law for use of some+ trade names, trademarks, or service marks; or++ f) Requiring indemnification of licensors and authors of that+ material by anyone who conveys the material (or modified versions of+ it) with contractual assumptions of liability to the recipient, for+ any liability that these contractual assumptions directly impose on+ those licensors and authors.++ All other non-permissive additional terms are considered "further+restrictions" within the meaning of section 10. If the Program as you+received it, or any part of it, contains a notice stating that it is+governed by this License along with a term that is a further+restriction, you may remove that term. If a license document contains+a further restriction but permits relicensing or conveying under this+License, you may add to a covered work material governed by the terms+of that license document, provided that the further restriction does+not survive such relicensing or conveying.++ If you add terms to a covered work in accord with this section, you+must place, in the relevant source files, a statement of the+additional terms that apply to those files, or a notice indicating+where to find the applicable terms.++ Additional terms, permissive or non-permissive, may be stated in the+form of a separately written license, or stated as exceptions;+the above requirements apply either way.++ 8. Termination.++ You may not propagate or modify a covered work except as expressly+provided under this License. Any attempt otherwise to propagate or+modify it is void, and will automatically terminate your rights under+this License (including any patent licenses granted under the third+paragraph of section 11).++ However, if you cease all violation of this License, then your+license from a particular copyright holder is reinstated (a)+provisionally, unless and until the copyright holder explicitly and+finally terminates your license, and (b) permanently, if the copyright+holder fails to notify you of the violation by some reasonable means+prior to 60 days after the cessation.++ Moreover, your license from a particular copyright holder is+reinstated permanently if the copyright holder notifies you of the+violation by some reasonable means, this is the first time you have+received notice of violation of this License (for any work) from that+copyright holder, and you cure the violation prior to 30 days after+your receipt of the notice.++ Termination of your rights under this section does not terminate the+licenses of parties who have received copies or rights from you under+this License. If your rights have been terminated and not permanently+reinstated, you do not qualify to receive new licenses for the same+material under section 10.++ 9. Acceptance Not Required for Having Copies.++ You are not required to accept this License in order to receive or+run a copy of the Program. Ancillary propagation of a covered work+occurring solely as a consequence of using peer-to-peer transmission+to receive a copy likewise does not require acceptance. However,+nothing other than this License grants you permission to propagate or+modify any covered work. These actions infringe copyright if you do+not accept this License. Therefore, by modifying or propagating a+covered work, you indicate your acceptance of this License to do so.++ 10. Automatic Licensing of Downstream Recipients.++ Each time you convey a covered work, the recipient automatically+receives a license from the original licensors, to run, modify and+propagate that work, subject to this License. You are not responsible+for enforcing compliance by third parties with this License.++ An "entity transaction" is a transaction transferring control of an+organization, or substantially all assets of one, or subdividing an+organization, or merging organizations. If propagation of a covered+work results from an entity transaction, each party to that+transaction who receives a copy of the work also receives whatever+licenses to the work the party's predecessor in interest had or could+give under the previous paragraph, plus a right to possession of the+Corresponding Source of the work from the predecessor in interest, if+the predecessor has it or can get it with reasonable efforts.++ You may not impose any further restrictions on the exercise of the+rights granted or affirmed under this License. For example, you may+not impose a license fee, royalty, or other charge for exercise of+rights granted under this License, and you may not initiate litigation+(including a cross-claim or counterclaim in a lawsuit) alleging that+any patent claim is infringed by making, using, selling, offering for+sale, or importing the Program or any portion of it.++ 11. Patents.++ A "contributor" is a copyright holder who authorizes use under this+License of the Program or a work on which the Program is based. The+work thus licensed is called the contributor's "contributor version".++ A contributor's "essential patent claims" are all patent claims+owned or controlled by the contributor, whether already acquired or+hereafter acquired, that would be infringed by some manner, permitted+by this License, of making, using, or selling its contributor version,+but do not include claims that would be infringed only as a+consequence of further modification of the contributor version. For+purposes of this definition, "control" includes the right to grant+patent sublicenses in a manner consistent with the requirements of+this License.++ Each contributor grants you a non-exclusive, worldwide, royalty-free+patent license under the contributor's essential patent claims, to+make, use, sell, offer for sale, import and otherwise run, modify and+propagate the contents of its contributor version.++ In the following three paragraphs, a "patent license" is any express+agreement or commitment, however denominated, not to enforce a patent+(such as an express permission to practice a patent or covenant not to+sue for patent infringement). To "grant" such a patent license to a+party means to make such an agreement or commitment not to enforce a+patent against the party.++ If you convey a covered work, knowingly relying on a patent license,+and the Corresponding Source of the work is not available for anyone+to copy, free of charge and under the terms of this License, through a+publicly available network server or other readily accessible means,+then you must either (1) cause the Corresponding Source to be so+available, or (2) arrange to deprive yourself of the benefit of the+patent license for this particular work, or (3) arrange, in a manner+consistent with the requirements of this License, to extend the patent+license to downstream recipients. "Knowingly relying" means you have+actual knowledge that, but for the patent license, your conveying the+covered work in a country, or your recipient's use of the covered work+in a country, would infringe one or more identifiable patents in that+country that you have reason to believe are valid.++ If, pursuant to or in connection with a single transaction or+arrangement, you convey, or propagate by procuring conveyance of, a+covered work, and grant a patent license to some of the parties+receiving the covered work authorizing them to use, propagate, modify+or convey a specific copy of the covered work, then the patent license+you grant is automatically extended to all recipients of the covered+work and works based on it.++ A patent license is "discriminatory" if it does not include within+the scope of its coverage, prohibits the exercise of, or is+conditioned on the non-exercise of one or more of the rights that are+specifically granted under this License. You may not convey a covered+work if you are a party to an arrangement with a third party that is+in the business of distributing software, under which you make payment+to the third party based on the extent of your activity of conveying+the work, and under which the third party grants, to any of the+parties who would receive the covered work from you, a discriminatory+patent license (a) in connection with copies of the covered work+conveyed by you (or copies made from those copies), or (b) primarily+for and in connection with specific products or compilations that+contain the covered work, unless you entered into that arrangement,+or that patent license was granted, prior to 28 March 2007.++ Nothing in this License shall be construed as excluding or limiting+any implied license or other defenses to infringement that may+otherwise be available to you under applicable patent law.++ 12. No Surrender of Others' Freedom.++ If conditions are imposed on you (whether by court order, agreement or+otherwise) that contradict the conditions of this License, they do not+excuse you from the conditions of this License. If you cannot convey a+covered work so as to satisfy simultaneously your obligations under this+License and any other pertinent obligations, then as a consequence you may+not convey it at all. For example, if you agree to terms that obligate you+to collect a royalty for further conveying from those to whom you convey+the Program, the only way you could satisfy both those terms and this+License would be to refrain entirely from conveying the Program.++ 13. Remote Network Interaction; Use with the GNU General Public License.++ Notwithstanding any other provision of this License, if you modify the+Program, your modified version must prominently offer all users+interacting with it remotely through a computer network (if your version+supports such interaction) an opportunity to receive the Corresponding+Source of your version by providing access to the Corresponding Source+from a network server at no charge, through some standard or customary+means of facilitating copying of software. This Corresponding Source+shall include the Corresponding Source for any work covered by version 3+of the GNU General Public License that is incorporated pursuant to the+following paragraph.++ Notwithstanding any other provision of this License, you have+permission to link or combine any covered work with a work licensed+under version 3 of the GNU General Public License into a single+combined work, and to convey the resulting work. The terms of this+License will continue to apply to the part which is the covered work,+but the work with which it is combined will remain governed by version+3 of the GNU General Public License.++ 14. Revised Versions of this License.++ The Free Software Foundation may publish revised and/or new versions of+the GNU Affero General Public License from time to time. Such new versions+will be similar in spirit to the present version, but may differ in detail to+address new problems or concerns.++ Each version is given a distinguishing version number. If the+Program specifies that a certain numbered version of the GNU Affero General+Public License "or any later version" applies to it, you have the+option of following the terms and conditions either of that numbered+version or of any later version published by the Free Software+Foundation. If the Program does not specify a version number of the+GNU Affero General Public License, you may choose any version ever published+by the Free Software Foundation.++ If the Program specifies that a proxy can decide which future+versions of the GNU Affero General Public License can be used, that proxy's+public statement of acceptance of a version permanently authorizes you+to choose that version for the Program.++ Later license versions may give you additional or different+permissions. However, no additional obligations are imposed on any+author or copyright holder as a result of your choosing to follow a+later version.++ 15. Disclaimer of Warranty.++ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.++ 16. Limitation of Liability.++ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF+SUCH DAMAGES.++ 17. Interpretation of Sections 15 and 16.++ If the disclaimer of warranty and limitation of liability provided+above cannot be given local legal effect according to their terms,+reviewing courts shall apply local law that most closely approximates+an absolute waiver of all civil liability in connection with the+Program, unless a warranty or assumption of liability accompanies a+copy of the Program in return for a fee.++ END OF TERMS AND CONDITIONS++ How to Apply These Terms to Your New Programs++ If you develop a new program, and you want it to be of the greatest+possible use to the public, the best way to achieve this is to make it+free software which everyone can redistribute and change under these terms.++ To do so, attach the following notices to the program. It is safest+to attach them to the start of each source file to most effectively+state the exclusion of warranty; and each file should have at least+the "copyright" line and a pointer to where the full notice is found.++ <one line to give the program's name and a brief idea of what it does.>+ Copyright (C) <year> <name of author>++ This program is free software: you can redistribute it and/or modify+ it under the terms of the GNU Affero General Public License as published+ by the Free Software Foundation, either version 3 of the License, or+ (at your option) any later version.++ This program is distributed in the hope that it will be useful,+ but WITHOUT ANY WARRANTY; without even the implied warranty of+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ GNU Affero General Public License for more details.++ You should have received a copy of the GNU Affero General Public License+ along with this program. If not, see <https://www.gnu.org/licenses/>.++Also add information on how to contact you by electronic and paper mail.++ If your software can interact with users remotely through a computer+network, you should also make sure that it provides a way for users to+get its source. For example, if your program is a web application, its+interface could display a "Source" link that leads users to an archive+of the code. There are many ways you could offer source, and different+solutions will be better for different programs; see section 13 for the+specific requirements.++ You should also get your employer (if you work as a programmer) or school,+if any, to sign a "copyright disclaimer" for the program, if necessary.+For more information on this, and how to apply and follow the GNU AGPL, see+<https://www.gnu.org/licenses/>.++++------------------------------------++++ The Twenty.com Commercial License (the “Commercial License”)+ Copyright (c) 2023-present Twenty.com, PBC++With regard to Twenty's Software:++This part of the software and associated documentation files (the "Software") may only be+used in production, if you (and any entity that you represent) have agreed to,+and are in compliance with, the Terms available+at https://twenty.com/legal/terms, or other agreements governing+the use of the Software, as mutually agreed by you and Twenty.com, PBC ("Twenty"),+and otherwise have a valid Twenty Enterprise Edition subscription+for the correct number of hosts and seats as defined in the Commercial Terms.+Subject to the foregoing sentence,+you are free to modify this Software and publish patches to the Software. You agree+that Twenty and/or its licensors (as applicable) retain all right, title and interest in+and to all such modifications and/or patches, and all such modifications and/or+patches may only be used, copied, modified, displayed, distributed, or otherwise+exploited with a valid Commercial Subscription for the correct number of hosts and seats.+Notwithstanding the foregoing, you may copy and modify the Software for development+and testing purposes, without requiring a subscription. You agree that Twenty.Com and/or+its licensors (as applicable) retain all right, title and interest in and to all such+modifications. You are not granted any other rights beyond what is expressly stated herein.+Subject to the foregoing, it is forbidden to copy, merge, publish, distribute, sublicense,+and/or sell the Software.+++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.++For all third party components incorporated into the Twenty Software, those+components are licensed under the original license provided by the owner of the+applicable component.\ No newline at end of filediff --git a/packages/twenty-ui/README.md b/packages/twenty-ui/README.mdindex fa425063b0c..ca43972d152 100644--- a/packages/twenty-ui/README.md+++ b/packages/twenty-ui/README.md@@ -1,23 +1,28 @@# twenty-ui-> **Status:** Phase 0 — Foundations in progress. The package is scaffolded and builds-> on SCSS Modules + Base UI; the theme layer is ported from `twenty-ui` with a parity-> test, and the size/Storybook/a11y harnesses are wired up. Remaining Phase 0 work: the-> CI diff-table workflow, the `twenty-ui` component inventory, and the `modules/ui` triage.-> The sections below remain the design document for the full effort.--`twenty-ui` is the next generation of Twenty's UI library, replacing [`twenty-ui`](../twenty-ui).+> **Status:** Phases 0–3 complete (June 2026). All 192 components and all 70 stories were+> migrated from `twenty-ui-deprecated` with full public-API parity (export-identifier diff:+> 0 missing / 0 extra across all 13 subpath modules) and byte-identical story titles for the+> Argos cross-package diff. Gates green: typecheck, lint, jest, build, storybook:build,+> storybook:test (225 stories incl. play functions + live axe gate), size.+> Remaining: the Argos visual-parity triage, the a11y fix pass (119 stories carry+> inherited-violation `a11y: 'todo'` overrides), the CI diff-table workflow, the+> `modules/ui` triage (Phase 4), and the publish pipeline (Phase 5).+> The sections below remain the design document for the full effort; see+> [Migration outcomes](#migration-outcomes-june-2026) for decisions taken during the port.++`twenty-ui` is the next generation of Twenty's UI library, replacing [`twenty-ui-deprecated`](../twenty-ui-deprecated).It is built on a headless component library and a zero-runtime, CSS-variable styling layer.## Goals1. Publish as a standalone, versioned **npm package**.2. Replace `twenty-ui` in `twenty-front` with **no visual change** (same design, token for token).-3. **Migrate every component** currently exported by `twenty-ui`.+3. **Migrate every component** currently exported by `twenty-ui-deprecated`. *(Done — June 2026.)*4. **Absorb the generic, reusable UI** currently living in `twenty-front/src/modules/ui` (dropdowns, modals, tab lists, side panels, navigation, field inputs/displays, etc.), decoupling it from application concerns so it ships from the library.5. Enforce a **quality bar in CI**: bundle size, render/load time, and accessibility, measured against the old library.-## Current state (`twenty-ui`)+## Current state (`twenty-ui-deprecated`)| Aspect | Today || --- | --- |@@ -26,10 +31,10 @@ It is built on a headless component library and a zero-runtime, CSS-variable sty| Behavior | Hand-rolled (modals, menus, tooltips, selects, etc.); `react-tooltip` for tooltips || Build | Vite library mode, dual ESM/CJS, `vite-plugin-dts`, auto-generated barrels || Icons | `@tabler/icons-react` re-exports + custom icons + Jotai-backed `IconsProvider` |-| Consumption | ~1,721 files in `twenty-front` import it (mostly `display` and `theme-constants`); imported by package name |+| Consumption | ~1,730 files in `twenty-front` import it (mostly `display` and `theme-constants`), plus `twenty-front-component-renderer` and `twenty-sdk`; imported by package name || Published | No (`private: true`) |-`twenty-front/src/modules/ui/` (application-level UI) consumes `twenty-ui` today. Its **generic, reusable**+`twenty-front/src/modules/ui/` (application-level UI) consumes `twenty-ui-deprecated` today. Its **generic, reusable**components are now **in scope** — they migrate into `twenty-ui` (see [Application-level UI migration](#application-level-ui-migration-twenty-frontsrcmodulesui)).## Decision 1 — Headless library: Base UI@@ -98,30 +103,32 @@ packages/twenty-ui/```**Public API parity.** Keep the same subpath exports, component names, and prop signatures as-`twenty-ui` so the final swap is a codemod + dependency rename, not a rewrite of 1,721 files.-Keep auto-generated barrels and dual ESM/CJS + `dts` output.+`twenty-ui-deprecated` so the final swap is a codemod + dependency rename, not a rewrite of ~1,730 files.+Keep auto-generated barrels and dual ESM/CJS + `dts` output. *(Achieved: the export-identifier sets of+all 13 module barrels are identical between the two packages.)*-**Internal changes vs `twenty-ui`:** Linaria → SCSS Modules; hand-rolled behavior + `react-tooltip`+**Internal changes vs `twenty-ui-deprecated`:** Linaria → SCSS Modules; hand-rolled behavior + `react-tooltip`→ Base UI; prefer Base UI/CSS transitions over `framer-motion` where possible; keep the icon system-as-is.+as-is. The internal path alias is `@ui/*` (same convention as the deprecated package, so ported files+diff cleanly against their sources).## Theming`theme-constants` has ~943 importers and must be a drop-in replacement.- Keep the public API identical: `ThemeProvider`, `ThemeContext`, `useTheme`, the `themeCssVariables` shape, `ThemeType`, color helpers, and the `theme-light.css` / `theme-dark.css` exports.-- Reuse `twenty-ui`'s token values verbatim to guarantee identical design.-- Tokens live in `src/theme/` (`THEME_LIGHT` / `THEME_DARK`); the `--t-*` CSS variables and the `themeCssVariables` accessor are static files mirrored token-for-token from `twenty-ui` (matching `twenty-ui`'s own static-CSS approach).-- A theme parity test asserts the theme CSS and `themeCssVariables` stay identical to `twenty-ui`'s `--t-*` values.+- Reuse `twenty-ui-deprecated`'s token values verbatim to guarantee identical design.+- Tokens live in `src/theme/` (`THEME_LIGHT` / `THEME_DARK`); the `--t-*` CSS variables and the `themeCssVariables` accessor are static files mirrored token-for-token from `twenty-ui-deprecated` (matching its own static-CSS approach).+- A theme parity test asserts the theme CSS and `themeCssVariables` stay identical to `twenty-ui-deprecated`'s `--t-*` values.## Component migration map-A full component-by-component inventory with prop signatures is a Phase 0 deliverable. Components-split into two buckets.+Components split into two buckets. *(The migration is complete; see+[Migration outcomes](#migration-outcomes-june-2026) below for where reality diverged from this map.)***Backed by a Base UI primitive (behavioral):**-| `twenty-ui` | Base UI |+| `twenty-ui-deprecated` | Base UI || --- | --- || `Modal` | `Dialog` / `AlertDialog` || `AppTooltip`, `OverflowingTextWithTooltip` | `Tooltip` (removes `react-tooltip`) |@@ -141,15 +148,43 @@ split into two buckets.`ColorSample`, `Checkmark`, placeholders, the icon system, `CodeEditor` (Monaco), `json-visualizer`,and the `utilities` / `theme` / `testing` / `accessibility` helpers.+### Migration outcomes (June 2026)++Decisions taken during the port where reality diverged from the map above (public API parity won every time):++- **`MenuItem` family and `TabButton` did NOT move to Base UI** Menu/Tabs — those primitives require a+ `Root` context the deprecated standalone APIs don't have. They are pure presentation with `data-*` state.+ The Base UI `Menu` mapping applies to the Phase-4 `modules/ui` dropdown instead.+- **`AnimatedExpandableContainer` kept framer-motion** (sanctioned fallback): its exported utils are framer+ variant factories whose signatures are public API, and Collapsible/grid-rows could not match scrollHeight+ mid-animation retargeting or initial-mount animation.+- **`Avatar`'s `invalidAvatarUrlsAtomV2` and the icon system's `iconsState` Jotai atoms were kept** — both are+ public `display` exports, overriding this doc's earlier "Jotai → local state" idea.+- **`CardContent` kept framer-motion**: its motion props are part of the public prop type and twenty-front's+ `CalendarDayCardContent` passes them.+- **`ProgressBar` is pure SCSS** (Base UI Progress was optional and not needed for parity); `useProgressAnimation`+ keeps framer motion-values verbatim (public hook).+- **Known behavior deltas to watch in QA:** `AppTooltip` and `Modal` (without an explicit `container`) now portal+ to `document.body` (Base UI), so overflow-clipping ancestors no longer clip them and `AppTooltip`'s default+ `maxWidth: '40%'` resolves against the body; `Checkbox`/`Radio` test ids moved from the hidden input to the+ visible Base UI control.+- **The Storybook axe gate was inert until this migration** — `.storybook/vitest.setup.ts` did not register the+ a11y addon annotations, so `a11y.test: 'error'` never ran. It is now live; 119 ported stories carry+ story-level `a11y: { test: 'todo' }` overrides (`// TODO(a11y)` comments) pending a dedicated fix pass.+- The canonical styling pattern is established in `src/input/button/components/Button/Button.tsx` ++ `Button.module.scss`: `data-variant/accent/position/inverted` attributes, Sass maps + `@each` assigning+ `--btn-*` custom properties, all declarations on a flat `(0,1,0)` class so `styled(Component)` consumer+ overrides keep working.+## Application-level UI migration (`twenty-front/src/modules/ui`)-`twenty-front/src/modules/ui` holds ~250 application-level UI building blocks that consume `twenty-ui`+`twenty-front/src/modules/ui` holds ~250 application-level UI building blocks that consume `twenty-ui-deprecated`today: `display`, `feedback` (snackbar/dialog managers), `field` (input + display), `input`(incl. relation picker), `layout` (dropdown, modal, tab-list, side-panel, page, table, resizable-panel,expandable-list, selectable-list, top-bar, …), `navigation` (drawer, breadcrumb, step-bar, menu-item),`drag-and-drop`, `suggestion`, `theme`, and `utilities` (hotkey, scroll, focus, responsive, drag-select, …).-These are a **different kind of migration** than the `twenty-ui` swap: they are stateful and+These are a **different kind of migration** than the `twenty-ui-deprecated` swap: they are stateful andapp-coupled — Jotai atoms, hooks, contexts, and (in places) GraphQL/router/Recoil-style state — ratherthan pure presentation. The goal is to extract the **generic, reusable** parts into `twenty-ui`while leaving genuinely app-specific wiring in `twenty-front`.@@ -165,14 +200,14 @@ while leaving genuinely app-specific wiring in `twenty-front`.workspace/router/permission logic, and anything whose only consumer is a single feature screen.A component-by-component triage of `modules/ui` (generic / app-specific / hybrid, with target subpath-and state-decoupling notes) is a **Phase 0 deliverable**, alongside the `twenty-ui` inventory.+and state-decoupling notes) is the remaining **Phase 4 prerequisite** (the `twenty-ui-deprecated` inventory itself is complete — every component is migrated).## Hardest components to migrate (risk hotspots)A predicted ranking of where the effort and risk concentrate, to inform sequencing and staffing. Thisis a hypothesis to validate during the Phase 0 inventory/triage, not a final list.-### In `twenty-ui`+### In `twenty-ui-deprecated` *(all migrated — predictions held; see Migration outcomes)*| Component | Why it's hard | Migration shape || --- | --- | --- |@@ -215,23 +250,23 @@ Apollo error formatting, and the icon/theme-color pickers tied to Twenty's icon- **Workbench** — Storybook (`@storybook/react-vite`). Every component has stories covering variants, sizes, and states (via `storybook-addon-pseudo-states`), in light and dark, with `autodocs`.- **Functional** — component/interaction tests via `@storybook/addon-vitest` (real browser); unit tests (Jest) for hooks/utilities; coverage gate via `@storybook/addon-coverage`.- **Accessibility** — Storybook a11y addon (axe-core) with `parameters.a11y.test = 'error'` so violations fail CI.-- **Visual parity** — visual regression via Argos (self-hosted) plus a cross-package comparison project that diffs `twenty-ui` stories against `twenty-ui` stories with identical names; a pixel-diff threshold is the per-component acceptance gate. See [Visual regression](#visual-regression) below.-- **Performance & size** — `size-limit` per entry point with budgets; tree-shaking fixtures (importing one component must not pull the library); build-time tracking; render benchmarks via React Profiler; load-time via Lighthouse/Playwright on the built Storybook. As one concrete benchmark, a dedicated **stress story** renders a very large number of a single component (e.g. 10,000 buttons) and measures total render time — compared against the `twenty-ui` equivalent and gated against a budget to catch per-instance overhead regressions.+- **Visual parity** — visual regression via Argos (self-hosted) plus a cross-package comparison project that diffs `twenty-ui` stories against `twenty-ui-deprecated` stories with identical names; a pixel-diff threshold is the per-component acceptance gate. See [Visual regression](#visual-regression) below.+- **Performance & size** — `size-limit` per entry point with budgets; tree-shaking fixtures (importing one component must not pull the library); build-time tracking; render benchmarks via React Profiler; load-time via Lighthouse/Playwright on the built Storybook. As one concrete benchmark, a dedicated **stress story** renders a very large number of a single component (e.g. 10,000 buttons) and measures total render time — compared against the `twenty-ui-deprecated` equivalent and gated against a budget to catch per-instance overhead regressions. *(Stress story not yet built.)*-CI surfaces a per-PR diff table (`twenty-ui` vs `twenty-ui`) for size, a11y, and visual changes.+CI surfaces a per-PR diff table (`twenty-ui-deprecated` vs `twenty-ui`) for size, a11y, and visual changes. *(Not yet built.)*## Visual regressionTwo Argos projects (on argos.twenty-internal.com) provide visual regression in CI:1. **`twenty-ui`** — pixel diff of `twenty-ui` stories against the `main` branch baseline. Catches regressions introduced by a PR.-2. **`twenty-ui-vs-new-ui`** — cross-package comparison. The baseline is always `twenty-ui` screenshots from `main`; PR builds upload `twenty-ui` screenshots and diff them against the `twenty-ui` baseline. This shows exactly which components still differ between the two implementations.+2. **`twenty-ui-vs-new-ui`** — cross-package comparison. The baseline is always `twenty-ui-deprecated` screenshots from `main`; PR builds upload `twenty-ui` screenshots and diff them against that baseline. This shows exactly which components still differ between the two implementations.-For the cross-package comparison to produce meaningful diffs, stories in `twenty-ui` must use the **same title hierarchy** as `twenty-ui` (e.g. `UI/Input/Toggle`).+For the cross-package comparison to produce meaningful diffs, stories in `twenty-ui` must use the **same title hierarchy** as `twenty-ui-deprecated` (e.g. `UI/Input/Toggle/Toggle`). *(Done: all 70 story titles are byte-identical.)*### Local visual diff-Run a pixel diff of `twenty-ui` components against `twenty-ui` using the self-hosted Argos instance.+Run a pixel diff of `twenty-ui` components against `twenty-ui-deprecated` using the self-hosted Argos instance.**Prerequisites:**- AWS SSO configured and logged in (`aws sso login --profile twenty-dev`)@@ -262,10 +297,10 @@ This builds Storybook, captures screenshots of every story, and uploadsthem to Argos with build name `<username>/twenty-ui`. The diffcompares against the latest approved baseline.-To run `twenty-ui`'s visual diff in the same Argos instance (to build the+To run `twenty-ui-deprecated`'s visual diff in the same Argos instance (to build thecross-package comparison baseline):- npx nx storybook:visual-diff twenty-ui+ npx nx storybook:visual-diff twenty-ui-deprecated**4. View results**@@ -276,28 +311,28 @@ to review diffs.- Vite library mode, dual ESM/CJS, `vite-plugin-dts`, `vite-plugin-svgr`; SCSS via Vite's built-in `sass`; no Babel.- `sideEffects: ["**/*.css", "**/*.scss"]`; emit per-entry CSS plus `style.css` / `theme-light.css` / `theme-dark.css`.-- Public package (remove `private`); ships as `twenty-ui` until cut-over, then claims the `twenty-ui` name once the old package is removed.+- Public package (remove `private`); ships as `twenty-ui` (the old package already moved to the `twenty-ui-deprecated` name and is removed after cut-over).- **Changesets** for semver + changelog; GitHub Actions release with `npm publish --provenance`.- Declare `react` / `react-dom` as peer dependencies; validate the `exports`/types map with `publint` + `@arethetypeswrong/cli`.- Publish the Storybook as living documentation.## Migration & rollout-1. Build `twenty-ui` to parity with the same API surface and design, validated by the parity, a11y, and size suites.+1. ~~Build `twenty-ui` to parity with the same API surface and design~~ **Done** — validated by the export-parity diff, a11y, and size suites; visual-parity triage via Argos still pending.2. Dogfood on a few non-critical `twenty-front` screens behind a temporary alias.-3. Codemod imports `twenty-ui` → `twenty-ui` across `twenty-front` (subpaths preserved); handle any changed APIs explicitly.+3. Codemod imports `twenty-ui-deprecated` → `twenty-ui` (subpaths preserved) across `twenty-front` (~1,730 files), `twenty-front-component-renderer`, and `twenty-sdk`; handle any changed APIs explicitly.4. Swap the dependency, run the full test suite + visual diffs, ship.-5. Deprecate and remove `twenty-ui` after a soak period.+5. Remove `twenty-ui-deprecated` after a soak period.## Roadmap-- **Phase 0 — Foundations:** scaffold package + tooling; port the theme layer with parity test; stand up the benchmark/parity/a11y CI harness first; complete the component inventory **and the `modules/ui` triage** (generic / app-specific / hybrid).-- **Phase 1 — Primitives:** icons, typography, button family, status/tag/chip/pill; establish the canonical component pattern.-- **Phase 2 — Behavioral:** Modal, Tooltip, Menu, Tabs, Checkbox, Radio, Switch, inputs/Field, Progress, Avatar, Collapsible.-- **Phase 3 — Long tail:** banners/callout/info, card/section/separator, loader, color/card pickers, code editor, json-visualizer, placeholders, utilities/testing/accessibility.+- ~~**Phase 0 — Foundations**~~ ✅ scaffolding, tooling, theme parity, harnesses. Still open from Phase 0: the CI diff-table workflow and the `modules/ui` triage (moved under Phase 4).+- ~~**Phase 1 — Primitives**~~ ✅ done June 2026 (canonical pattern: `Button.tsx` + data-attribute Sass matrix).+- ~~**Phase 2 — Behavioral**~~ ✅ done June 2026 (Base UI where mapped; see Migration outcomes for exceptions).+- ~~**Phase 3 — Long tail**~~ ✅ done June 2026. Follow-up debt: the a11y fix pass for the 119 `a11y: 'todo'` stories, and the Argos visual-parity triage.- **Phase 4 — Application-level UI:** migrate the generic/hybrid components from `twenty-front/src/modules/ui` per the triage — decouple state, split headless cores, swap each behind its existing `@/ui/...` import path.- **Phase 5 — Hardening & publish:** close gaps; finalize release pipeline; cut `1.0.0`; publish docs.-- **Phase 6 — Cut-over:** dogfood → codemod → swap → remove `twenty-ui`.+- **Phase 6 — Cut-over:** dogfood → codemod → swap → remove `twenty-ui-deprecated`.A component is done only with: stories (all states, light/dark), passing interaction + a11y tests,a passing visual-parity diff, and a within-budget size entry.@@ -316,10 +351,10 @@ a passing visual-parity diff, and a within-budget size entry.## Open questions-1. Published package name: `twenty-ui` now, renamed to `twenty-ui` at cut-over (Phase 6).-2. Styling: confirm SCSS Modules vs vanilla-extract vs plain CSS Modules.-3. Variants helper: `clsx` + `data-*` vs `cva`.+1. ~~Published package name.~~ **Resolved:** the rename already happened — this package owns `twenty-ui`; the old one is `twenty-ui-deprecated`.+2. ~~Styling: SCSS Modules vs vanilla-extract vs plain CSS Modules.~~ **Resolved:** SCSS Modules, proven across all 192 components.+3. ~~Variants helper: `clsx` + `data-*` vs `cva`.~~ **Resolved:** `clsx` + `data-*` attributes with Sass maps/`@each` (canonical pattern in `Button.module.scss`); `cva` not needed.4. ~~Visual regression tooling: Chromatic vs self-hosted image snapshots.~~ **Resolved:** Argos (self-hosted at argos.twenty-internal.com). See [Visual regression](#visual-regression).-5. How aggressively to drop `framer-motion` in favor of CSS/Base UI transitions.-6. Scope of `assets` / `testing` / `json-visualizer`: port verbatim or modernize.-7. Where to draw the generic-vs-app-specific line for `modules/ui`, and whether hybrid components live as a headless core in `twenty-ui` with a thin app wrapper in `twenty-front`.+5. ~~How aggressively to drop `framer-motion`.~~ **Resolved:** keep it where animation is the public contract (`utilities/animation`, `AnimatedButton`, `AnimatedCheckmark`, `AnimatedExpandableContainer`, `useProgressAnimation`, `CardContent`); converted to CSS/Base UI transitions everywhere it was an internal micro-transition.+6. ~~Scope of `assets` / `testing` / `json-visualizer`.~~ **Resolved:** ported — assets byte-identical, testing decorators converted to SCSS, json-visualizer recursion verbatim with CSS/Collapsible animations.+7. Where to draw the generic-vs-app-specific line for `modules/ui`, and whether hybrid components live as a headless core in `twenty-ui` with a thin app wrapper in `twenty-front`. **(Still open — Phase 4.)**diff --git a/packages/twenty-ui/package.json b/packages/twenty-ui/package.jsonindex e1cd7da9fcc..cd8b32d5b77 100644--- a/packages/twenty-ui/package.json+++ b/packages/twenty-ui/package.json@@ -1,6 +1,25 @@{"name": "twenty-ui","version": "0.1.0",+ "description": "Twenty's shared React UI component library.",+ "license": "AGPL-3.0",+ "repository": {+ "type": "git",+ "url": "https://github.com/twentyhq/twenty.git",+ "directory": "packages/twenty-ui"+ },+ "homepage": "https://twenty.com",+ "bugs": "https://github.com/twentyhq/twenty/issues",+ "keywords": [+ "twenty",+ "ui",+ "react",+ "components",+ "design-system"+ ],+ "publishConfig": {+ "access": "public"+ },"main": "dist/index.cjs","module": "dist/index.mjs","style": "./dist/style.css",@@ -50,6 +69,7 @@"@base-ui/react": "^1.5.0","@monaco-editor/react": "^4.7.0","@radix-ui/colors": "^3.0.0",+ "@sniptt/guards": "^0.2.0","@tabler/icons-react": "^3.31.0","clsx": "^2.1.1","date-fns": "^2.30.0",@@ -61,7 +81,6 @@"react-dom": "^18.2.0","react-responsive": "^9.0.2","react-router-dom": "^6.4.4",- "twenty-shared": "workspace:*","zod": "^4.1.11"},"peerDependencies": {diff --git a/packages/twenty-ui/src/accessibility/components/VisibilityHidden.module.scss b/packages/twenty-ui/src/accessibility/components/VisibilityHidden.module.scssnew file mode 100644index 00000000000..5f721ddb07a--- /dev/null+++ b/packages/twenty-ui/src/accessibility/components/VisibilityHidden.module.scss@@ -0,0 +1,11 @@+.root {+ position: absolute;+ width: 1px;+ height: 1px;+ padding: 0;+ margin: -1px;+ overflow: hidden;+ clip: rect(0, 0, 0, 0);+ white-space: nowrap;+ border-width: 0;+}diff --git a/packages/twenty-ui/src/accessibility/components/VisibilityHidden.module.scss.d.ts b/packages/twenty-ui/src/accessibility/components/VisibilityHidden.module.scss.d.tsnew file mode 100644index 00000000000..4d6743c3dcd--- /dev/null+++ b/packages/twenty-ui/src/accessibility/components/VisibilityHidden.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly root: 'root';+};+export default classNames;diff --git a/packages/twenty-ui/src/accessibility/components/VisibilityHidden.tsx b/packages/twenty-ui/src/accessibility/components/VisibilityHidden.tsxnew file mode 100644index 00000000000..5e826d05651--- /dev/null+++ b/packages/twenty-ui/src/accessibility/components/VisibilityHidden.tsx@@ -0,0 +1,9 @@+import styles from './VisibilityHidden.module.scss';++export const VisibilityHidden = ({+ children,+}: {+ children: React.ReactNode;+}) => {+ return <span className={styles.root}>{children}</span>;+};diff --git a/packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.module.scss b/packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.module.scssnew file mode 100644index 00000000000..5f721ddb07a--- /dev/null+++ b/packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.module.scss@@ -0,0 +1,11 @@+.root {+ position: absolute;+ width: 1px;+ height: 1px;+ padding: 0;+ margin: -1px;+ overflow: hidden;+ clip: rect(0, 0, 0, 0);+ white-space: nowrap;+ border-width: 0;+}diff --git a/packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.module.scss.d.ts b/packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.module.scss.d.tsnew file mode 100644index 00000000000..4d6743c3dcd--- /dev/null+++ b/packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly root: 'root';+};+export default classNames;diff --git a/packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.tsx b/packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.tsxnew file mode 100644index 00000000000..ca9d85bbc33--- /dev/null+++ b/packages/twenty-ui/src/accessibility/components/VisibilityHiddenInput.tsx@@ -0,0 +1,16 @@+import { clsx } from 'clsx';+import { forwardRef } from 'react';++import styles from './VisibilityHiddenInput.module.scss';++// The deprecated Linaria styled.input forwarded refs and accepted all native+// input props, so the port preserves that contract.+export const VisibilityHiddenInput = forwardRef<+ HTMLInputElement,+ React.ComponentPropsWithoutRef<'input'>+>(({ className, ...props }, ref) => (+ // oxlint-disable-next-line react/jsx-props-no-spreading+ <input ref={ref} className={clsx(styles.root, className)} {...props} />+));++VisibilityHiddenInput.displayName = 'VisibilityHiddenInput';diff --git a/packages/twenty-ui/src/accessibility/index.ts b/packages/twenty-ui/src/accessibility/index.tsindex a3046804c03..0c3e751b478 100644--- a/packages/twenty-ui/src/accessibility/index.ts+++ b/packages/twenty-ui/src/accessibility/index.ts@@ -7,4 +7,6 @@* |___/*/-export {};+export { VisibilityHidden } from './components/VisibilityHidden';+export { VisibilityHiddenInput } from './components/VisibilityHiddenInput';+export { VISIBILITY_HIDDEN } from './utils/visibility-hidden';diff --git a/packages/twenty-ui/src/accessibility/utils/visibility-hidden.ts b/packages/twenty-ui/src/accessibility/utils/visibility-hidden.tsnew file mode 100644index 00000000000..0ee9b33dda7--- /dev/null+++ b/packages/twenty-ui/src/accessibility/utils/visibility-hidden.ts@@ -0,0 +1,11 @@+export const VISIBILITY_HIDDEN = `+ position: absolute;+ width: 1px;+ height: 1px;+ padding: 0;+ margin: -1px;+ overflow: hidden;+ clip: rect(0, 0, 0, 0);+ white-space: nowrap;+ border-width: 0;+`;diff --git a/packages/twenty-ui/src/assets/icons/address-book.svg b/packages/twenty-ui/src/assets/icons/address-book.svgnew file mode 100644index 00000000000..817890047d0--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/address-book.svg@@ -0,0 +1,9 @@+<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-address-book" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">+ <path stroke="none" d="M0 0h24v24H0z" fill="none"/>+ <path d="M20 6v12a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2z" />+ <path d="M10 16h6" />+ <path d="M13 11m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" />+ <path d="M4 8h3" />+ <path d="M4 12h3" />+ <path d="M4 16h3" />+</svg>\ No newline at end of filediff --git a/packages/twenty-ui/src/assets/icons/anthropic.svg b/packages/twenty-ui/src/assets/icons/anthropic.svgnew file mode 100644index 00000000000..15b18c9e24e--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/anthropic.svg@@ -0,0 +1,3 @@+<svg width="24" height="24" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">+<path d="M26.9568 9.88184H22.1265L30.7753 31.7848H35.4917L26.9568 9.88184ZM13.028 9.88184L4.4917 31.7848H9.32203L11.2305 27.1793H20.2166L22.0126 31.6724H26.8444L18.0832 9.88184H13.028ZM12.5783 23.1361L15.4987 15.3853L18.5315 23.1361H12.5783Z" fill="#D4A574"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/claude.svg b/packages/twenty-ui/src/assets/icons/claude.svgnew file mode 100644index 00000000000..30d6fe93212--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/claude.svg@@ -0,0 +1,3 @@+<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">+<path d="M4.709 15.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97 2.97 0 01-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312-.006.006z" fill="#D97757" fill-rule="nonzero"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/gemini.svg b/packages/twenty-ui/src/assets/icons/gemini.svgnew file mode 100644index 00000000000..5255ae90bb4--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/gemini.svg@@ -0,0 +1,11 @@+<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">+<path d="M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z" fill="#3186FF"/>+<path d="M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z" fill="url(#gemini-g0)"/>+<path d="M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z" fill="url(#gemini-g1)"/>+<path d="M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z" fill="url(#gemini-g2)"/>+<defs>+ <linearGradient gradientUnits="userSpaceOnUse" id="gemini-g0" x1="7" x2="11" y1="15.5" y2="12"><stop stop-color="#08B962"/><stop offset="1" stop-color="#08B962" stop-opacity="0"/></linearGradient>+ <linearGradient gradientUnits="userSpaceOnUse" id="gemini-g1" x1="8" x2="11.5" y1="5.5" y2="11"><stop stop-color="#F94543"/><stop offset="1" stop-color="#F94543" stop-opacity="0"/></linearGradient>+ <linearGradient gradientUnits="userSpaceOnUse" id="gemini-g2" x1="3.5" x2="17.5" y1="13.5" y2="12"><stop stop-color="#FABC12"/><stop offset=".46" stop-color="#FABC12" stop-opacity="0"/></linearGradient>+</defs>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/gmail.svg b/packages/twenty-ui/src/assets/icons/gmail.svgnew file mode 100644index 00000000000..3b690353bb5--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/gmail.svg@@ -0,0 +1,25 @@+<svg xmlns="http://www.w3.org/2000/svg" width="800" height="636.363" fill="none" viewBox="0 0 800 636.363">+ <path fill="url(#a)" d="M627.272 81.819h172.727v499.999c0 30.123-24.423 54.545-54.545 54.545h-90.909a27.273 27.273 0 0 1-27.273-27.273z"/>+ <path fill="#FC413D" d="M172.728 81.819H.001v499.999c0 30.123 24.422 54.545 54.545 54.545h90.909a27.273 27.273 0 0 0 27.273-27.273z"/>+ <path fill="url(#b)" d="M141.937 20.256C105.423-10.435 50.946-5.717 20.255 30.797-10.435 67.306-5.717 121.783 30.796 152.478l345.808 290.677a36.364 36.364 0 0 0 46.796 0l345.808-290.681c36.509-30.691 41.227-85.168 10.536-121.682-30.691-36.509-85.168-41.227-121.677-10.536L400 237.182z"/>+ <defs>+ <linearGradient id="a" x1="165" x2="165" y1="44" y2="166" gradientUnits="userSpaceOnUse" gradientTransform="matrix(4.54544 0 0 4.54544 -36.363 -118.18)">+ <stop stop-color="#60D673"/>+ <stop offset=".17" stop-color="#42C868"/>+ <stop offset=".39" stop-color="#0EBC5F"/>+ <stop offset=".62" stop-color="#00A9BB"/>+ <stop offset=".86" stop-color="#3C90FF"/>+ <stop offset="1" stop-color="#3186FF"/>+ </linearGradient>+ <linearGradient id="b" x1="8" x2="184" y1="46.13" y2="46.13" gradientUnits="userSpaceOnUse" gradientTransform="matrix(4.54544 0 0 4.54544 -36.363 -118.18)">+ <stop offset=".08" stop-color="#FF63A0"/>+ <stop offset=".3" stop-color="#FC413D"/>+ <stop offset=".5" stop-color="#FC413D"/>+ <stop offset=".65" stop-color="#FC413D"/>+ <stop offset=".72" stop-color="#FC5C30"/>+ <stop offset=".86" stop-color="#FEB10C"/>+ <stop offset=".91" stop-color="#FEC700"/>+ <stop offset=".96" stop-color="#FFDB0F"/>+ </linearGradient>+ </defs>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/google-calendar.svg b/packages/twenty-ui/src/assets/icons/google-calendar.svgnew file mode 100644index 00000000000..5486a4bca2f--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/google-calendar.svg@@ -0,0 +1,32 @@+<svg xmlns="http://www.w3.org/2000/svg" width="800" height="859.095" fill="none" viewBox="0 0 800 859.095">+ <path fill="#BBE2FF" d="M64.743 150.866C64.743 67.544 132.287 0 215.609 0h368.782c83.322 0 150.866 67.544 150.866 150.866v159.246c0 83.322-67.544 150.866-150.866 150.866H215.609c-83.322 0-150.866-67.544-150.866-150.866z"/>+ <path fill="#3C90FF" d="M1.186 216.827C-9.548 135.255 53.952 62.861 136.221 62.861h527.558c82.274 0 145.769 72.394 135.035 153.966l-32.127 244.151 32.127 244.151c10.733 81.572-52.761 153.966-135.035 153.966H136.221c-82.274 0-145.769-72.394-135.035-153.966l32.127-244.151z"/>+ <mask id="a" width="154" height="152" x="19" y="20" maskUnits="userSpaceOnUse">+ <path fill="#3C90FF" d="M19.867 49.392C17.818 33.82 29.94 20 45.645 20h100.71c15.706 0 27.827 13.82 25.778 29.392L166 96l6.133 46.608C174.182 158.18 162.061 172 146.355 172H45.645c-15.706 0-27.827-13.82-25.778-29.392L26 96z"/>+ </mask>+ <g mask="url(#a)" transform="matrix(5.23839 0 0 5.23839 -102.885 -41.907)">+ <path fill="url(#b)" d="M0 0h166v76H0z" transform="matrix(1 0 0 -1 13 172)"/>+ </g>+ <mask id="c" width="154" height="152" x="19" y="20" maskUnits="userSpaceOnUse">+ <path fill="#3186FF" d="M19.867 49.392C17.818 33.82 29.94 20 45.645 20h100.71c15.706 0 27.827 13.82 25.778 29.392L166 96l6.133 46.608C174.182 158.18 162.061 172 146.355 172H45.645c-15.706 0-27.827-13.82-25.778-29.392L26 96z"/>+ </mask>+ <g mask="url(#c)" transform="matrix(5.23839 0 0 5.23839 -102.885 -41.907)">+ <path fill="url(#d)" d="M32 27.2C32 16.596 40.596 8 51.2 8h89.6C151.404 8 160 16.596 160 27.2V96H32z" filter="url(#e)"/>+ </g>+ <path fill="#FFF" d="M291.843 656.558q-32.908 0-56.454-10.702t-39.864-28.628q-16.056-18.198-22.745-35.584-6.689-17.386-5.348-21.137a10.843 10.843 0 0 1 5.348-5.888l29.702-11.771q3.74-1.87 7.491-.534 3.74 1.069 8.827 12.305 5.354 11.236 14.982 23.814a74.909 74.909 0 0 0 23.546 19.529q13.651 6.956 33.709 6.956 32.373 0 51.373-18.727 19.262-18.727 19.262-47.622 0-31.305-20.336-48.162-20.331-16.852-53.778-16.852H259.47a9.953 9.953 0 0 1-6.957-2.671q-2.672-2.944-2.677-6.689v-28.628q0-4.018 2.672-6.689a9.534 9.534 0 0 1 6.962-2.944h24.343q29.969 0 48.162-16.323 18.192-16.323 18.192-42.274 0-25.679-16.323-41.467-16.323-15.789-44.945-15.789-16.056 0-27.826 5.354a60.241 60.241 0 0 0-20.336 14.982 118.911 118.911 0 0 0-14.714 19.801q-6.15 10.168-9.901 11.237-3.74.801-7.224-1.336l-28.093-13.646q-3.478-1.875-4.547-5.888-1.068-4.012 6.422-18.727 7.759-14.982 23.542-30.503a110.006 110.006 0 0 1 36.925-24.081q21.137-8.565 49.23-8.56 52.174 0 82.672 27.554 30.503 27.292 30.503 72.243 0 31.037-14.982 53.777-14.719 22.735-41.739 32.111v1.069q32.64 9.628 51.368 35.312 19 25.422 18.994 60.734 0 50.571-35.317 82.945-35.307 32.373-92.038 32.373zm268.467-6.155q-4.547 0-8.03-3.478a11.786 11.786 0 0 1-3.206-8.292V341.113l-60.2 43.342q-3.216 2.41-7.496 1.608a10.267 10.267 0 0 1-6.417-4.012l-17.392-24.62a10.372 10.372 0 0 1-1.875-7.491q.801-4.275 4.28-6.684l106.753-76.255q1.341-1.069 2.944-1.603 1.608-.801 3.745-.801h22.478q4.547 0 7.224 3.211 2.944 2.934 2.944 7.491v363.334q0 4.819-3.478 8.292a10.477 10.477 0 0 1-8.03 3.478z"/>+ <defs>+ <linearGradient id="b" x1="83" x2="83" y1="76" gradientUnits="userSpaceOnUse">+ <stop stop-color="#4FA0FF"/>+ <stop offset="1" stop-color="#3186FF"/>+ </linearGradient>+ <linearGradient id="d" x1="89.06" x2="89.06" y1="21.75" y2="96.39" gradientUnits="userSpaceOnUse">+ <stop stop-color="#A9A8FF"/>+ <stop offset=".8" stop-color="#3C90FF"/>+ </linearGradient>+ <filter id="e" width="152" height="112" x="20" y="-4" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse">+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>+ <feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" mode="normal"/>+ <feGaussianBlur result="effect1_foregroundBlur_37330_7673" stdDeviation="6"/>+ </filter>+ </defs>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/google.svg b/packages/twenty-ui/src/assets/icons/google.svgnew file mode 100644index 00000000000..396a3e176d4--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/google.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" overflow="hidden" viewBox="0 0 268.152 273.883"><defs><linearGradient id="google-2025-a"><stop offset="0" stop-color="#0fbc5c"/><stop offset="1" stop-color="#0cba65"/></linearGradient><linearGradient id="google-2025-g"><stop offset=".231" stop-color="#0fbc5f"/><stop offset=".312" stop-color="#0fbc5f"/><stop offset=".366" stop-color="#0fbc5e"/><stop offset=".458" stop-color="#0fbc5d"/><stop offset=".54" stop-color="#12bc58"/><stop offset=".699" stop-color="#28bf3c"/><stop offset=".771" stop-color="#38c02b"/><stop offset=".861" stop-color="#52c218"/><stop offset=".915" stop-color="#67c30f"/><stop offset="1" stop-color="#86c504"/></linearGradient><linearGradient id="google-2025-h"><stop offset=".142" stop-color="#1abd4d"/><stop offset=".248" stop-color="#6ec30d"/><stop offset=".312" stop-color="#8ac502"/><stop offset=".366" stop-color="#a2c600"/><stop offset=".446" stop-color="#c8c903"/><stop offset=".54" stop-color="#ebcb03"/><stop offset=".616" stop-color="#f7cd07"/><stop offset=".699" stop-color="#fdcd04"/><stop offset=".771" stop-color="#fdce05"/><stop offset=".861" stop-color="#ffce0a"/></linearGradient><linearGradient id="google-2025-f"><stop offset=".316" stop-color="#ff4c3c"/><stop offset=".604" stop-color="#ff692c"/><stop offset=".727" stop-color="#ff7825"/><stop offset=".885" stop-color="#ff8d1b"/><stop offset="1" stop-color="#ff9f13"/></linearGradient><linearGradient id="google-2025-b"><stop offset=".231" stop-color="#ff4541"/><stop offset=".312" stop-color="#ff4540"/><stop offset=".458" stop-color="#ff4640"/><stop offset=".54" stop-color="#ff473f"/><stop offset=".699" stop-color="#ff5138"/><stop offset=".771" stop-color="#ff5b33"/><stop offset=".861" stop-color="#ff6c29"/><stop offset="1" stop-color="#ff8c18"/></linearGradient><linearGradient id="google-2025-d"><stop offset=".408" stop-color="#fb4e5a"/><stop offset="1" stop-color="#ff4540"/></linearGradient><linearGradient id="google-2025-c"><stop offset=".132" stop-color="#0cba65"/><stop offset=".21" stop-color="#0bb86d"/><stop offset=".297" stop-color="#09b479"/><stop offset=".396" stop-color="#08ad93"/><stop offset=".477" stop-color="#0aa6a9"/><stop offset=".568" stop-color="#0d9cc6"/><stop offset=".667" stop-color="#1893dd"/><stop offset=".769" stop-color="#258bf1"/><stop offset=".859" stop-color="#3086ff"/></linearGradient><linearGradient id="google-2025-e"><stop offset=".366" stop-color="#ff4e3a"/><stop offset=".458" stop-color="#ff8a1b"/><stop offset=".54" stop-color="#ffa312"/><stop offset=".616" stop-color="#ffb60c"/><stop offset=".771" stop-color="#ffcd0a"/><stop offset=".861" stop-color="#fecf0a"/><stop offset=".915" stop-color="#fecf08"/><stop offset="1" stop-color="#fdcd01"/></linearGradient><linearGradient xlink:href="#google-2025-a" id="google-2025-s" x1="219.7" x2="254.467" y1="329.535" y2="329.535" gradientUnits="userSpaceOnUse"/><radialGradient xlink:href="#google-2025-b" id="google-2025-m" cx="109.627" cy="135.862" r="71.46" fx="109.627" fy="135.862" gradientTransform="matrix(-1.93688 1.043 1.45573 2.55542 290.525 -400.634)" gradientUnits="userSpaceOnUse"/><radialGradient xlink:href="#google-2025-c" id="google-2025-n" cx="45.259" cy="279.274" r="71.46" fx="45.259" fy="279.274" gradientTransform="matrix(-3.5126 -4.45809 -1.69255 1.26062 870.8 191.554)" gradientUnits="userSpaceOnUse"/><radialGradient xlink:href="#google-2025-d" id="google-2025-l" cx="304.017" cy="118.009" r="47.854" fx="304.017" fy="118.009" gradientTransform="matrix(2.06435 0 0 2.59204 -297.679 -151.747)" gradientUnits="userSpaceOnUse"/><radialGradient xlink:href="#google-2025-e" id="google-2025-o" cx="181.001" cy="177.201" r="71.46" fx="181.001" fy="177.201" gradientTransform="matrix(-.24858 2.08314 2.96249 .33417 -255.146 -331.164)" gradientUnits="userSpaceOnUse"/><radialGradient xlink:href="#google-2025-f" id="google-2025-p" cx="207.673" cy="108.097" r="41.102" fx="207.673" fy="108.097" gradientTransform="matrix(-1.2492 1.34326 -3.89684 -3.4257 880.501 194.905)" gradientUnits="userSpaceOnUse"/><radialGradient xlink:href="#google-2025-g" id="google-2025-r" cx="109.627" cy="135.862" r="71.46" fx="109.627" fy="135.862" gradientTransform="matrix(-1.93688 -1.043 1.45573 -2.55542 290.525 838.683)" gradientUnits="userSpaceOnUse"/><radialGradient xlink:href="#google-2025-h" id="google-2025-j" cx="154.87" cy="145.969" r="71.46" fx="154.87" fy="145.969" gradientTransform="matrix(-.0814 -1.93722 2.92674 -.11625 -215.135 632.86)" gradientUnits="userSpaceOnUse"/><filter id="google-2025-q" width="1.097" height="1.116" x="-.048" y="-.058" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation="1.701"/></filter><filter id="google-2025-k" width="1.033" height="1.02" x="-.017" y="-.01" color-interpolation-filters="sRGB"><feGaussianBlur stdDeviation=".242"/></filter><clipPath id="google-2025-i" clipPathUnits="userSpaceOnUse"><path d="M371.378 193.24H237.083v53.438h77.167c-1.241 7.563-4.026 15.003-8.105 21.786-4.674 7.773-10.451 13.69-16.373 18.196-17.74 13.498-38.42 16.258-52.783 16.258-36.283 0-67.283-23.286-79.285-54.928-.484-1.149-.805-2.335-1.197-3.507a81.1 81.1 0 0 1-4.101-25.448c0-9.226 1.569-18.057 4.43-26.398 11.285-32.897 42.985-57.467 80.179-57.467 7.481 0 14.685.884 21.517 2.648a77.7 77.7 0 0 1 33.425 18.25l40.834-39.712c-24.839-22.616-57.219-36.32-95.844-36.32-30.878 0-59.386 9.553-82.748 25.7-18.945 13.093-34.483 30.625-44.97 50.985-9.753 18.879-15.094 39.8-15.094 62.294 0 22.495 5.35 43.633 15.103 62.337v.126c10.302 19.857 25.368 36.954 43.678 49.988 15.997 11.386 44.68 26.551 84.031 26.551 22.63 0 42.687-4.051 60.375-11.644 12.76-5.478 24.065-12.622 34.301-21.804 13.525-12.132 24.117-27.139 31.347-44.404s11.097-36.79 11.097-57.957c0-9.858-.998-19.87-2.689-28.968"/></clipPath></defs><g clip-path="url(#google-2025-i)" transform="matrix(.95792 0 0 .98525 -90.174 -78.856)"><path fill="url(#google-2025-j)" d="M92.076 219.959c.148 22.14 6.501 44.982 16.117 63.423v.127c6.949 13.392 16.445 23.97 27.26 34.452l65.327-23.67c-12.36-6.235-14.246-10.055-23.105-17.026-9.054-9.066-15.802-19.473-20.004-31.677h-.17l.17-.127c-2.765-8.058-3.037-16.613-3.14-25.503Z" filter="url(#google-2025-k)"/><path fill="url(#google-2025-l)" d="M237.084 79.025c-6.457 22.526-3.989 44.421 0 57.161 7.456.006 14.638.888 21.449 2.647a77.66 77.66 0 0 1 33.424 18.25l41.88-40.726c-24.81-22.59-54.667-37.296-96.754-37.332" filter="url(#google-2025-k)"/><path fill="url(#google-2025-m)" d="M236.943 78.847c-31.67 0-60.91 9.798-84.871 26.359a145.5 145.5 0 0 0-24.332 21.15c-1.904 17.744 14.257 39.551 46.262 39.37 15.528-17.936 38.495-29.542 64.056-29.542l.07.002-1.044-57.335z" filter="url(#google-2025-k)"/><path fill="url(#google-2025-n)" d="m341.475 226.379-28.268 19.285c-1.24 7.562-4.028 15.002-8.107 21.786-4.674 7.772-10.45 13.69-16.373 18.196-17.702 13.47-38.328 16.244-52.687 16.255-14.842 25.102-17.444 37.675 1.043 57.934 22.877-.016 43.157-4.117 61.046-11.796 12.931-5.551 24.388-12.792 34.761-22.097 13.706-12.295 24.442-27.503 31.769-45s11.245-37.282 11.245-58.734Z" filter="url(#google-2025-k)"/><path fill="#3086ff" d="M234.996 191.21v57.498h136.006c1.196-7.874 5.152-18.064 5.152-26.5 0-9.858-.996-21.899-2.687-30.998Z" filter="url(#google-2025-k)"/><path fill="url(#google-2025-o)" d="M128.39 124.327c-8.394 9.119-15.564 19.326-21.249 30.364-9.753 18.879-15.094 41.83-15.094 64.324 0 .317.026.627.029.944 4.32 8.224 59.666 6.649 62.456 0-.004-.31-.039-.613-.039-.924 0-9.226 1.57-16.026 4.43-24.367 3.53-10.289 9.056-19.763 16.123-27.926 1.602-2.031 5.875-6.397 7.121-9.016.475-.997-.862-1.557-.937-1.908-.083-.393-1.876-.077-2.277-.37-1.275-.929-3.8-1.414-5.334-1.845-3.277-.921-8.708-2.953-11.725-5.06-9.536-6.658-24.417-14.612-33.505-24.216" filter="url(#google-2025-k)"/><path fill="url(#google-2025-p)" d="M162.099 155.857c22.112 13.301 28.471-6.714 43.173-12.977l-25.574-52.664a144.7 144.7 0 0 0-26.543 14.504c-12.316 8.512-23.192 18.9-32.176 30.72Z" filter="url(#google-2025-q)"/><path fill="url(#google-2025-r)" d="M171.099 290.222c-29.683 10.641-34.33 11.023-37.062 29.29a145 145 0 0 0 16.792 13.984c15.996 11.386 46.766 26.551 86.118 26.551l.137-.004v-59.157l-.094.002c-14.736 0-26.512-3.843-38.585-10.527-2.977-1.648-8.378 2.777-11.123.799-3.786-2.729-12.9 2.35-16.183-.938" filter="url(#google-2025-k)"/><path fill="url(#google-2025-s)" d="M219.7 299.023v59.996c5.506.64 11.236 1.028 17.247 1.028 6.026 0 11.855-.307 17.52-.872v-59.748a105 105 0 0 1-17.477 1.461c-5.932 0-11.7-.686-17.29-1.865" filter="url(#google-2025-k)" opacity=".5"/></g></svg>diff --git a/packages/twenty-ui/src/assets/icons/groq.svg b/packages/twenty-ui/src/assets/icons/groq.svgnew file mode 100644index 00000000000..9e3b4c495b3--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/groq.svg@@ -0,0 +1,3 @@+<svg width="24" height="24" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">+<path d="M20.056 4.50022C14.0839 4.44597 9.20616 9.15015 9.15036 15.0106C9.09611 20.8726 13.8855 25.6621 19.8576 25.7163H23.6085V21.7391H20.056C16.3252 21.7825 13.2671 18.8468 13.2237 15.1827C13.1787 11.5216 16.1702 8.52086 19.901 8.47746H20.056C23.7868 8.47746 26.8108 11.4457 26.8216 15.1083V24.8809C26.8216 28.5109 23.8085 31.4683 20.1211 31.5132C18.3617 31.5007 16.6759 30.8049 15.42 29.5726L12.551 32.3905C14.5529 34.3571 17.239 35.4715 20.0451 35.4998H20.1877C26.0823 35.413 30.8175 30.7212 30.85 24.9351V14.8603C30.7059 9.0928 25.9165 4.50022 20.056 4.50022Z" fill="#F55036"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-array.svg b/packages/twenty-ui/src/assets/icons/illustration-array.svgnew file mode 100644index 00000000000..56b2864ff05--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-array.svg@@ -0,0 +1,8 @@+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M7.84682 4.19127L4.10596 3.92969L3.05961 18.8931L6.80048 19.1547" fill="currentFill"/>+<path d="M17.199 4.84524L20.9399 5.10683L19.8935 20.0703L16.1526 19.8087" fill="currentFill"/>+<path d="M7.99728 15.4793L8.00663 15.4799L7.99728 15.4793Z" fill="#E8EFFD"/>+<path d="M11.7381 15.7409L11.7475 15.7415L11.7381 15.7409Z" fill="#E8EFFD"/>+<path d="M15.479 16.0024L15.4884 16.0031L15.479 16.0024Z" fill="#E8EFFD"/>+<path d="M7.84682 4.19127L4.10596 3.92969L3.05961 18.8931L6.80048 19.1547M17.199 4.84524L20.9399 5.10683L19.8935 20.0703L16.1526 19.8087M7.99728 15.4793L8.00663 15.4799M11.7381 15.7409L11.7475 15.7415M15.479 16.0024L15.4884 16.0031" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-calendar-event.svg b/packages/twenty-ui/src/assets/icons/illustration-calendar-event.svgnew file mode 100644index 00000000000..705ca57ac71--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-calendar-event.svg@@ -0,0 +1,8 @@+<svg width="26" height="26" viewBox="-1 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M5.66433 7.43347C5.72493 6.9399 5.97912 6.49062 6.37099 6.18446C6.76285 5.8783 7.26028 5.74035 7.75386 5.80095L18.92 7.17199C19.4136 7.23259 19.8629 7.48678 20.169 7.87864C20.4752 8.27051 20.6131 8.76794 20.5525 9.26151L19.1815 20.4277C19.1209 20.9212 18.8667 21.3705 18.4748 21.6767C18.083 21.9828 17.5855 22.1208 17.092 22.0602L5.92582 20.6891C5.43224 20.6285 4.98296 20.3744 4.6768 19.9825C4.37064 19.5906 4.23269 19.0932 4.2933 18.5996L5.66433 7.43347Z" fill="#E8EFFD"/>+<path d="M17.2875 5.08246L16.8305 8.8045L17.2875 5.08246Z" fill="#E8EFFD"/>+<path d="M9.84339 4.16844L9.38638 7.89048L9.84339 4.16844Z" fill="#E8EFFD"/>+<path d="M5.20732 11.1555L20.0955 12.9836L5.20732 11.1555Z" fill="#E8EFFD"/>+<path d="M8.47236 15.3346L10.3334 15.5631L10.1049 17.4241L8.24385 17.1956L8.47236 15.3346Z" fill="#E8EFFD"/>+<path d="M17.2875 5.08246L16.8305 8.8045M9.84339 4.16844L9.38638 7.89048M5.20732 11.1555L20.0955 12.9836M5.66433 7.43347C5.72493 6.9399 5.97912 6.49062 6.37099 6.18446C6.76285 5.8783 7.26028 5.74035 7.75386 5.80095L18.92 7.17199C19.4136 7.23259 19.8629 7.48678 20.169 7.87864C20.4752 8.27051 20.6131 8.76794 20.5525 9.26151L19.1815 20.4277C19.1209 20.9212 18.8667 21.3705 18.4748 21.6767C18.083 21.9828 17.5855 22.1208 17.092 22.0602L5.92582 20.6891C5.43224 20.6285 4.98296 20.3744 4.6768 19.9825C4.37064 19.5906 4.23269 19.0932 4.2933 18.5996L5.66433 7.43347ZM8.47236 15.3346L10.3334 15.5631L10.1049 17.4241L8.24385 17.1956L8.47236 15.3346Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-calendar-time.svg b/packages/twenty-ui/src/assets/icons/illustration-calendar-time.svgnew file mode 100644index 00000000000..6a5b335d293--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-calendar-time.svg@@ -0,0 +1,9 @@+<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M12.8968 20.4301L6.54196 20.8745C6.04589 20.9092 5.55636 20.7454 5.18105 20.4191C4.80575 20.0929 4.57542 19.6309 4.54073 19.1348L3.75597 7.91225C3.72128 7.41618 3.88508 6.92665 4.21132 6.55135C4.53757 6.17605 4.99954 5.94571 5.49561 5.91103L16.7182 5.12627C17.2143 5.09158 17.7038 5.25537 18.0791 5.58162C18.4544 5.90786 18.6847 6.36984 18.7194 6.8659L18.981 10.6068" fill="currentFill"/>+<path d="M14.7627 17.4803C14.8321 18.4724 15.2928 19.3964 16.0434 20.0488C16.794 20.7013 17.773 21.0289 18.7652 20.9595C19.7573 20.8902 20.6812 20.4295 21.3337 19.6789C21.9862 18.9283 22.3138 17.9492 22.2444 16.9571C22.1751 15.965 21.7144 15.041 20.9638 14.3885C20.2132 13.736 19.2341 13.4084 18.242 13.4778C17.2499 13.5472 16.3259 14.0079 15.6734 14.7585C15.0209 15.5091 14.6933 16.4881 14.7627 17.4803Z" fill="#E8EFFD"/>+<path d="M14.717 3.38663L14.9786 7.12749L14.717 3.38663Z" fill="#E8EFFD"/>+<path d="M7.23525 3.9098L7.49684 7.65067L7.23525 3.9098Z" fill="#E8EFFD"/>+<path d="M4.01756 11.6531L18.981 10.6068L4.01756 11.6531Z" fill="#E8EFFD"/>+<path d="M18.4052 15.8122L18.5036 17.2188L19.5042 18.0886" fill="#E8EFFD"/>+<path d="M12.8968 20.4301L6.54196 20.8745C6.04589 20.9092 5.55636 20.7454 5.18105 20.4191C4.80575 20.0929 4.57542 19.6309 4.54073 19.1348L3.75597 7.91225C3.72128 7.41618 3.88508 6.92665 4.21132 6.55135C4.53757 6.17605 4.99954 5.94571 5.49561 5.91103L16.7182 5.12627C17.2143 5.09158 17.7038 5.25537 18.0791 5.58162C18.4544 5.90786 18.6847 6.36984 18.7194 6.8659L18.981 10.6068L4.01756 11.6531M14.717 3.38663L14.9786 7.12749M7.23525 3.9098L7.49684 7.65067M18.4052 15.8122L18.5036 17.2188L19.5042 18.0886M14.7627 17.4803C14.8321 18.4724 15.2928 19.3964 16.0434 20.0488C16.794 20.7013 17.773 21.0289 18.7652 20.9595C19.7573 20.8902 20.6812 20.4295 21.3337 19.6789C21.9862 18.9283 22.3138 17.9492 22.2444 16.9571C22.1751 15.965 21.7144 15.041 20.9638 14.3885C20.2132 13.736 19.2341 13.4084 18.242 13.4778C17.2499 13.5472 16.3259 14.0079 15.6734 14.7585C15.0209 15.5091 14.6933 16.4881 14.7627 17.4803Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-currency.svg b/packages/twenty-ui/src/assets/icons/illustration-currency.svgnew file mode 100644index 00000000000..6f801b59dca--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-currency.svg@@ -0,0 +1,13 @@+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_39321_100611)">+<path d="M10.2501 3.41974L14.9262 3.74672C15.2983 3.77274 15.6447 3.94549 15.8894 4.22697C16.1341 4.50844 16.257 4.87559 16.2309 5.24764C16.1702 6.11577 15.7672 6.92422 15.1104 7.49515C14.4536 8.06608 13.5969 8.35272 12.7288 8.29201L11.7936 8.22662C10.9255 8.16591 10.117 7.76283 9.54608 7.10605C8.97515 6.44927 8.68851 5.59259 8.74922 4.72447C8.77523 4.35242 8.94798 4.00594 9.22946 3.76125C9.51093 3.51657 9.87808 3.39372 10.2501 3.41974Z" fill="#E8EFFD"/>+<path d="M4.19089 16.1531L4.25629 15.2179C4.39504 13.2336 5.31637 11.3857 6.81758 10.0807C8.31879 8.77574 10.2769 8.12056 12.2612 8.25931C14.2455 8.39807 16.0934 9.31939 17.3983 10.8206C18.7033 12.3218 19.3585 14.2799 19.2197 16.2642L19.1544 17.1994C19.085 18.1916 18.6243 19.1155 17.8737 19.768C17.1231 20.4205 16.144 20.7481 15.1519 20.6787L7.67017 20.1555C6.67803 20.0862 5.75409 19.6255 5.1016 18.8749C4.4491 18.1243 4.12151 17.1452 4.19089 16.1531Z" fill="#E8EFFD"/>+<path d="M10.2501 3.41974L14.9262 3.74672C15.2983 3.77274 15.6447 3.94549 15.8894 4.22697C16.1341 4.50844 16.257 4.87559 16.2309 5.24764C16.1702 6.11577 15.7672 6.92422 15.1104 7.49515C14.4536 8.06608 13.5969 8.35272 12.7288 8.29201L11.7936 8.22662C10.9255 8.16591 10.117 7.76283 9.54608 7.10605C8.97515 6.44927 8.68851 5.59259 8.74922 4.72447C8.77523 4.35242 8.94798 4.00594 9.22946 3.76125C9.51093 3.51657 9.87808 3.39372 10.2501 3.41974Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M4.19089 16.1531L4.25629 15.2179C4.39504 13.2336 5.31637 11.3857 6.81758 10.0807C8.31879 8.77574 10.2769 8.12056 12.2612 8.25931C14.2455 8.39807 16.0934 9.31939 17.3983 10.8206C18.7033 12.3218 19.3585 14.2799 19.2197 16.2642L19.1544 17.1994C19.085 18.1916 18.6243 19.1155 17.8737 19.768C17.1231 20.4205 16.144 20.7481 15.1519 20.6787L7.67017 20.1555C6.67803 20.0862 5.75409 19.6255 5.1016 18.8749C4.4491 18.1243 4.12151 17.1452 4.19089 16.1531Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</g>+<defs>+<clipPath id="clip0_39321_100611">+<rect x="0.75" y="0.75" width="22.5" height="22.5" rx="2.25" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-file.svg b/packages/twenty-ui/src/assets/icons/illustration-file.svgnew file mode 100644index 00000000000..bd8988c7e5b--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-file.svg@@ -0,0 +1,5 @@+<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M13.2892 3.45947L13.5508 7.20033C13.5681 7.44837 13.6833 7.67935 13.8709 7.84247C14.0586 8.0056 14.3034 8.0875 14.5514 8.07015L18.2923 7.80856" fill="#F0F4FF"/>+<path d="M17.272 20.0972L7.91983 20.7511C7.42376 20.7858 6.93422 20.622 6.55892 20.2958C6.18362 19.9695 5.95329 19.5076 5.9186 19.0115L5.00305 5.91847C4.96836 5.4224 5.13215 4.93287 5.4584 4.55756C5.78464 4.18226 6.24662 3.95193 6.74269 3.91724L13.2892 3.45947L18.2923 7.80856L19.0116 18.0959C19.0463 18.592 18.8825 19.0815 18.5563 19.4568C18.23 19.8322 17.7681 20.0625 17.272 20.0972Z" fill="#F0F4FF"/>+<path d="M13.2892 3.45947L13.5508 7.20033C13.5681 7.44837 13.6833 7.67935 13.8709 7.84247C14.0586 8.0056 14.3034 8.0875 14.5514 8.07015L18.2923 7.80856M13.2892 3.45947L6.74269 3.91724C6.24662 3.95193 5.78464 4.18226 5.4584 4.55756C5.13215 4.93287 4.96836 5.4224 5.00305 5.91847L5.9186 19.0115C5.95329 19.5076 6.18362 19.9695 6.55892 20.2958C6.93422 20.622 7.42376 20.7858 7.91983 20.7511L17.272 20.0972C17.7681 20.0625 18.23 19.8322 18.5563 19.4568C18.8825 19.0815 19.0463 18.592 19.0116 18.0959L18.2923 7.80856M13.2892 3.45947L18.2923 7.80856" stroke="#8DA4EF" stroke-width="1.33" stroke-linecap="round" stroke-linejoin="round"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-json.svg b/packages/twenty-ui/src/assets/icons/illustration-json.svgnew file mode 100644index 00000000000..eb2a6a747c6--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-json.svg@@ -0,0 +1,5 @@+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M6.80092 4.84535C6.30485 4.88004 5.84288 5.11037 5.51664 5.48567C5.19039 5.86097 5.0266 6.3505 5.06128 6.84657L5.25747 9.65222C5.30951 10.3963 5.16235 11.1237 4.84837 11.6744C4.53438 12.2251 4.0793 12.554 3.58323 12.5887C4.0793 12.554 4.57572 12.8163 4.96329 13.3179C5.35086 13.8196 5.59782 14.5194 5.64985 15.2635L5.84605 18.0692C5.88073 18.5652 6.11106 19.0272 6.48637 19.3535C6.86167 19.6797 7.3512 19.8435 7.84727 19.8088" fill="currentFill"/>+<path d="M16.1531 4.19138C16.6492 4.15669 17.1387 4.32049 17.514 4.64673C17.8893 4.97298 18.1196 5.43495 18.1543 5.93102L18.3505 8.73667C18.4025 9.48077 18.6495 10.1806 19.0371 10.6823C19.4246 11.1839 19.9211 11.4462 20.4171 11.4115C19.9211 11.4462 19.466 11.7751 19.152 12.3258C18.838 12.8765 18.6909 13.6039 18.7429 14.348L18.9391 17.1536C18.9738 17.6497 18.81 18.1392 18.4837 18.5145C18.1575 18.8898 17.6955 19.1202 17.1994 19.1548" fill="currentFill"/>+<path d="M6.80092 4.84535C6.30485 4.88004 5.84288 5.11037 5.51664 5.48567C5.19039 5.86097 5.0266 6.3505 5.06128 6.84657L5.25747 9.65222C5.30951 10.3963 5.16235 11.1237 4.84837 11.6744C4.53438 12.2251 4.0793 12.554 3.58323 12.5887C4.0793 12.554 4.57572 12.8163 4.96329 13.3179C5.35086 13.8196 5.59782 14.5194 5.64985 15.2635L5.84605 18.0692C5.88073 18.5652 6.11106 19.0272 6.48637 19.3535C6.86167 19.6797 7.3512 19.8435 7.84727 19.8088M16.1531 4.19138C16.6492 4.15669 17.1387 4.32049 17.514 4.64673C17.8893 4.97298 18.1196 5.43495 18.1543 5.93102L18.3505 8.73667C18.4025 9.48077 18.6495 10.1806 19.0371 10.6823C19.4246 11.1839 19.9211 11.4462 20.4171 11.4115C19.9211 11.4462 19.466 11.7751 19.152 12.3258C18.838 12.8765 18.6909 13.6039 18.7429 14.348L18.9391 17.1536C18.9738 17.6497 18.81 18.1392 18.4837 18.5145C18.1575 18.8898 17.6955 19.1202 17.1994 19.1548" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-link.svg b/packages/twenty-ui/src/assets/icons/illustration-link.svgnew file mode 100644index 00000000000..6852612db91--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-link.svg@@ -0,0 +1,17 @@+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<rect width="24" height="24" rx="3" fill="none"/>+<g clip-path="url(#clip0_36855_127168)">+<rect x="0.75" y="0.75" width="22.5" height="22.5" rx="2.25" fill="none"/>+<path d="M3.60925 11.1178C3.49343 12.2198 3.59579 13.3338 3.91049 14.3962C4.22519 15.4586 4.74606 16.4486 5.44336 17.3097C6.14067 18.1708 7.00075 18.8861 7.9745 19.4148C8.94826 19.9435 10.0166 20.2753 11.1186 20.3911C12.2205 20.5069 13.3345 20.4045 14.3969 20.0898C15.4593 19.7751 16.4493 19.2543 17.3104 18.557C18.1715 17.8597 18.8868 16.9996 19.4156 16.0258C19.9443 15.0521 20.276 13.9837 20.3918 12.8818C20.6257 10.6563 19.966 8.42898 18.5577 6.68991C17.1494 4.95084 15.108 3.84243 12.8825 3.60852C10.657 3.37461 8.42971 4.03436 6.69064 5.44263C4.95157 6.8509 3.84316 8.89234 3.60925 11.1178Z" fill="currentFill"/>+<path d="M4.46411 8.3797L20.1278 10.026L4.46411 8.3797Z" fill="#E8EFFD"/>+<path d="M3.87614 13.9739L19.5399 15.6202L3.87614 13.9739Z" fill="#E8EFFD"/>+<path d="M12.416 3.55949C10.5807 5.91142 9.44243 8.73125 9.1306 11.6982C8.81876 14.6651 9.34592 17.6599 10.6521 20.342" fill="#E8EFFD"/>+<path d="M13.3487 3.65752C14.6548 6.33963 15.182 9.3345 14.8702 12.3014C14.5583 15.2683 13.42 18.0881 11.5848 20.4401" fill="currentFill"/>+<path d="M4.46411 8.3797L20.1278 10.026M3.87614 13.9739L19.5399 15.6202M12.416 3.55949C10.5807 5.91142 9.44243 8.73125 9.1306 11.6982C8.81876 14.6651 9.34592 17.6599 10.6521 20.342M13.3487 3.65752C14.6548 6.33963 15.182 9.3345 14.8702 12.3014C14.5583 15.2683 13.42 18.0881 11.5848 20.4401M3.60925 11.1178C3.49343 12.2198 3.59579 13.3338 3.91049 14.3962C4.22519 15.4586 4.74606 16.4486 5.44336 17.3097C6.14067 18.1708 7.00075 18.8861 7.9745 19.4148C8.94826 19.9435 10.0166 20.2753 11.1186 20.3911C12.2205 20.5069 13.3345 20.4045 14.3969 20.0898C15.4593 19.7751 16.4493 19.2543 17.3104 18.557C18.1715 17.8597 18.8868 16.9996 19.4156 16.0258C19.9443 15.0521 20.276 13.9837 20.3918 12.8818C20.6257 10.6563 19.966 8.42898 18.5577 6.68991C17.1494 4.95084 15.108 3.84243 12.8825 3.60852C10.657 3.37461 8.42971 4.03436 6.69064 5.44263C4.95157 6.8509 3.84316 8.89234 3.60925 11.1178Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</g>+<defs>+<clipPath id="clip0_36855_127168">+<rect x="0.75" y="0.75" width="22.5" height="22.5" rx="2.25" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-mail.svg b/packages/twenty-ui/src/assets/icons/illustration-mail.svgnew file mode 100644index 00000000000..67787031c94--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-mail.svg@@ -0,0 +1,14 @@+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<rect width="24" height="24" rx="3" fill="none"/>+<g clip-path="url(#clip0_36855_127259)">+<rect x="0.75" y="0.75" width="22.5" height="22.5" rx="2.25" fill="none"/>+<path d="M3.25579 7.91194C3.2211 7.41587 3.3849 6.92633 3.71115 6.55103C4.03739 6.17573 4.49936 5.9454 4.99543 5.91071L18.0885 4.99516C18.5845 4.96047 19.0741 5.12426 19.4494 5.45051C19.8247 5.77675 20.055 6.23873 20.0897 6.7348L20.7437 16.087C20.7783 16.583 20.6145 17.0726 20.2883 17.4479C19.9621 17.8232 19.5001 18.0535 19.004 18.0882L5.91099 19.0037C5.41492 19.0384 4.92538 18.8746 4.55008 18.5484C4.17478 18.2221 3.94445 17.7602 3.90976 17.2641L3.25579 7.91194Z" fill="#E8EFFD"/>+<path d="M3.25579 7.91194L12.0651 12.9347L20.0897 6.7348" fill="#E8EFFD"/>+<path d="M3.25579 7.91194C3.2211 7.41587 3.3849 6.92633 3.71115 6.55103C4.03739 6.17573 4.49936 5.9454 4.99543 5.91071L18.0885 4.99516C18.5845 4.96047 19.0741 5.12426 19.4494 5.45051C19.8247 5.77675 20.055 6.23873 20.0897 6.7348M3.25579 7.91194L3.90976 17.2641C3.94445 17.7602 4.17478 18.2221 4.55008 18.5484C4.92538 18.8746 5.41492 19.0384 5.91099 19.0037L19.004 18.0882C19.5001 18.0535 19.9621 17.8232 20.2883 17.4479C20.6145 17.0726 20.7783 16.583 20.7437 16.087L20.0897 6.7348M3.25579 7.91194L12.0651 12.9347L20.0897 6.7348" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</g>+<defs>+<clipPath id="clip0_36855_127259">+<rect x="0.75" y="0.75" width="22.5" height="22.5" rx="2.25" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-many-to-many.svg b/packages/twenty-ui/src/assets/icons/illustration-many-to-many.svgnew file mode 100644index 00000000000..06f6a5539ed--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-many-to-many.svg@@ -0,0 +1,8 @@+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M3.25628 7.91194C3.22159 7.41587 3.38539 6.92633 3.71163 6.55103C4.03788 6.17573 4.49985 5.9454 4.99592 5.91071L18.0889 4.99516C18.585 4.96047 19.0746 5.12426 19.4499 5.45051C19.8252 5.77675 20.0555 6.23873 20.0902 6.7348L20.7441 16.087C20.7788 16.583 20.615 17.0726 20.2888 17.4479C19.9625 17.8232 19.5006 18.0535 19.0045 18.0882L5.91147 19.0037C5.4154 19.0384 4.92587 18.8746 4.55057 18.5484C4.17527 18.2221 3.94494 17.7602 3.91025 17.2641L3.25628 7.91194Z" fill="#E8EFFD"/>+<path d="M14.9367 13.6737L14.6751 9.93282L17.7423 13.4775L17.4807 9.73663" fill="currentFill"/>+<path d="M6.51971 14.2623L6.25812 10.5214L9.32536 14.0661L9.06377 10.3252" fill="currentFill"/>+<path d="M11.9021 10.5966L11.9028 10.606L11.9021 10.5966Z" fill="#E8EFFD"/>+<path d="M12.0983 13.4023L12.099 13.4116L12.0983 13.4023Z" fill="#E8EFFD"/>+<path d="M14.9367 13.6737L14.6751 9.93282L17.7423 13.4775L17.4807 9.73663M6.51971 14.2623L6.25812 10.5214L9.32536 14.0661L9.06377 10.3252M11.9021 10.5966L11.9028 10.606M12.0983 13.4023L12.099 13.4116M3.25628 7.91194C3.22159 7.41587 3.38539 6.92633 3.71163 6.55103C4.03788 6.17573 4.49985 5.9454 4.99592 5.91071L18.0889 4.99516C18.585 4.96047 19.0746 5.12426 19.4499 5.45051C19.8252 5.77675 20.0555 6.23873 20.0902 6.7348L20.7441 16.087C20.7788 16.583 20.615 17.0726 20.2888 17.4479C19.9625 17.8232 19.5006 18.0535 19.0045 18.0882L5.91147 19.0037C5.4154 19.0384 4.92587 18.8746 4.55057 18.5484C4.17527 18.2221 3.94494 17.7602 3.91025 17.2641L3.25628 7.91194Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-map.svg b/packages/twenty-ui/src/assets/icons/illustration-map.svgnew file mode 100644index 00000000000..a78cae3ae27--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-map.svg@@ -0,0 +1,14 @@+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_39400_7686)">+<rect x="0.75" y="0.75" width="22.5" height="22.5" rx="2.25" fill="none"/>+<path d="M3.25625 7.91258L8.67136 4.71455L14.4788 7.12782L19.894 3.92979L20.7441 16.0876L15.329 19.2856L9.52151 16.8724L4.10641 20.0704L3.25625 7.91258Z" />+<path d="M8.67136 4.71455L9.52151 16.8724L8.67136 4.71455Z" fill="#E8EFFD"/>+<path d="M14.4788 7.12782L15.329 19.2856L14.4788 7.12782Z" fill="#E8EFFD"/>+<path d="M8.67136 4.71455L3.25625 7.91258L4.10641 20.0704L9.52151 16.8724M8.67136 4.71455L14.4788 7.12782M8.67136 4.71455L9.52151 16.8724M14.4788 7.12782L19.894 3.92979L20.7441 16.0876L15.329 19.2856M14.4788 7.12782L15.329 19.2856M15.329 19.2856L9.52151 16.8724" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</g>+<defs>+<clipPath id="clip0_39400_7686">+<rect x="0.75" y="0.75" width="22.5" height="22.5" rx="2.25" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-numbers.svg b/packages/twenty-ui/src/assets/icons/illustration-numbers.svgnew file mode 100644index 00000000000..238a1c474b7--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-numbers.svg@@ -0,0 +1,14 @@+<svg width="24" height="24" viewBox="0 0 24 24" fill="currentFill" xmlns="http://www.w3.org/2000/svg">+<rect width="24" height="24" rx="3" fill="none"/>+<g clip-path="url(#clip0_36855_127138)">+<rect x="0.75" y="0.75" width="22.5" height="22.5" rx="2.25" fill="none"/>+<path d="M15.4792 7.99748C15.4098 7.00534 14.9491 6.08139 14.1985 5.4289C13.4479 4.77641 12.4688 4.44882 11.4767 4.5182C10.4846 4.58758 9.56062 5.04824 8.90813 5.79884C8.25564 6.54945 7.92805 7.52851 7.99743 8.52065L8.06282 9.45587C8.1322 10.448 8.59286 11.3719 9.34347 12.0244C10.0941 12.6769 11.0731 13.0045 12.0653 12.9351C13.0574 12.8658 13.9814 12.4051 14.6338 11.6545C15.2863 10.9039 15.6139 9.92483 15.5446 8.93269" fill="#E8EFFD"/>+<path d="M8.5206 16.0024C8.58998 16.9945 9.05064 17.9185 9.80124 18.571C10.5518 19.2234 11.5309 19.551 12.5231 19.4817C13.5152 19.4123 14.4391 18.9516 15.0916 18.201C15.7441 17.4504 16.0717 16.4713 16.0023 15.4792L15.4792 7.99748" fill="none"/>+<path d="M15.5446 8.93269C15.6139 9.92483 15.2863 10.9039 14.6338 11.6545C13.9814 12.4051 13.0574 12.8658 12.0653 12.9351C11.0731 13.0045 10.0941 12.6769 9.34347 12.0244C8.59286 11.3719 8.1322 10.448 8.06282 9.45587L7.99743 8.52065C7.92805 7.52851 8.25564 6.54945 8.90813 5.79884C9.56062 5.04824 10.4846 4.58758 11.4767 4.5182C12.4688 4.44882 13.4479 4.77641 14.1985 5.4289C14.9491 6.08139 15.4098 7.00534 15.4792 7.99748L16.0023 15.4792C16.0717 16.4713 15.7441 17.4504 15.0916 18.201C14.4391 18.9516 13.5152 19.4123 12.5231 19.4817C11.5309 19.551 10.5518 19.2234 9.80124 18.571C9.05064 17.9185 8.58998 16.9945 8.5206 16.0024" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</g>+<defs>+<clipPath id="clip0_36855_127138">+<rect x="0.75" y="0.75" width="22.5" height="22.5" rx="2.25" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-one-to-many.svg b/packages/twenty-ui/src/assets/icons/illustration-one-to-many.svgnew file mode 100644index 00000000000..bc0c08aa517--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-one-to-many.svg@@ -0,0 +1,8 @@+<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M3.75628 7.91194C3.72159 7.41587 3.88539 6.92633 4.21163 6.55103C4.53788 6.17573 4.99985 5.9454 5.49592 5.91071L18.5889 4.99516C19.085 4.96047 19.5746 5.12426 19.9499 5.45051C20.3252 5.77675 20.5555 6.23873 20.5902 6.7348L21.2441 16.087C21.2788 16.583 21.115 17.0726 20.7888 17.4479C20.4625 17.8232 20.0006 18.0535 19.5045 18.0882L6.41147 19.0037C5.9154 19.0384 5.42587 18.8746 5.05057 18.5484C4.67527 18.2221 4.44494 17.7602 4.41025 17.2641L3.75628 7.91194Z" fill="currentFill"/>+<path d="M7.69334 10.456L8.62855 10.3906L8.89014 14.1315" fill="#E8EFFD"/>+<path d="M14.5014 13.7391L14.2399 9.99822L17.3071 13.5429L17.0455 9.80203" fill="currentFill"/>+<path d="M11.4669 10.662L11.4676 10.6714L11.4669 10.662Z" fill="#E8EFFD"/>+<path d="M11.6631 13.4677L11.6637 13.477L11.6631 13.4677Z" fill="#E8EFFD"/>+<path d="M7.69334 10.456L8.62855 10.3906L8.89014 14.1315M14.5014 13.7391L14.2399 9.99822L17.3071 13.5429L17.0455 9.80203M11.4669 10.662L11.4676 10.6714M11.6631 13.4677L11.6637 13.477M3.75628 7.91194C3.72159 7.41587 3.88539 6.92633 4.21163 6.55103C4.53788 6.17573 4.99985 5.9454 5.49592 5.91071L18.5889 4.99516C19.085 4.96047 19.5746 5.12426 19.9499 5.45051C20.3252 5.77675 20.5555 6.23873 20.5902 6.7348L21.2441 16.087C21.2788 16.583 21.115 17.0726 20.7888 17.4479C20.4625 17.8232 20.0006 18.0535 19.5045 18.0882L6.41147 19.0037C5.9154 19.0384 5.42587 18.8746 5.05057 18.5484C4.67527 18.2221 4.44494 17.7602 4.41025 17.2641L3.75628 7.91194Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-one-to-one.svg b/packages/twenty-ui/src/assets/icons/illustration-one-to-one.svgnew file mode 100644index 00000000000..1dcdff806d7--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-one-to-one.svg@@ -0,0 +1,8 @@+<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M3.75628 7.91194C3.72159 7.41587 3.88539 6.92633 4.21163 6.55103C4.53788 6.17573 4.99985 5.9454 5.49592 5.91071L18.5889 4.99516C19.085 4.96047 19.5746 5.12426 19.9499 5.45051C20.3252 5.77675 20.5555 6.23873 20.5902 6.7348L21.2441 16.087C21.2788 16.583 21.115 17.0726 20.7888 17.4479C20.4625 17.8232 20.0006 18.0535 19.5045 18.0882L6.41147 19.0037C5.9154 19.0384 5.42587 18.8746 5.05057 18.5484C4.67527 18.2221 4.44494 17.7602 4.41025 17.2641L3.75628 7.91194Z" fill="#E8EFFD"/>+<path d="M8.62855 10.3906L9.56377 10.3252L9.82536 14.0661" fill="#E8EFFD"/>+<path d="M15.1751 9.93282L16.1103 9.86743L16.3719 13.6083" fill="#E8EFFD"/>+<path d="M12.4021 10.5966L12.4028 10.606L12.4021 10.5966Z" fill="#E8EFFD"/>+<path d="M12.5983 13.4023L12.599 13.4116L12.5983 13.4023Z" fill="#E8EFFD"/>+<path d="M8.62855 10.3906L9.56377 10.3252L9.82536 14.0661M15.1751 9.93282L16.1103 9.86743L16.3719 13.6083M12.4021 10.5966L12.4028 10.606M12.5983 13.4023L12.599 13.4116M3.75628 7.91194C3.72159 7.41587 3.88539 6.92633 4.21163 6.55103C4.53788 6.17573 4.99985 5.9454 5.49592 5.91071L18.5889 4.99516C19.085 4.96047 19.5746 5.12426 19.9499 5.45051C20.3252 5.77675 20.5555 6.23873 20.5902 6.7348L21.2441 16.087C21.2788 16.583 21.115 17.0726 20.7888 17.4479C20.4625 17.8232 20.0006 18.0535 19.5045 18.0882L6.41147 19.0037C5.9154 19.0384 5.42587 18.8746 5.05057 18.5484C4.67527 18.2221 4.44494 17.7602 4.41025 17.2641L3.75628 7.91194Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-phone.svg b/packages/twenty-ui/src/assets/icons/illustration-phone.svgnew file mode 100644index 00000000000..e286b05178e--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-phone.svg@@ -0,0 +1,12 @@+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<rect width="24" height="24" rx="3" fill="none"/>+<g clip-path="url(#clip0_36855_127302)">+<rect x="0.75" y="0.75" width="22.5" height="22.5" rx="2.25" fill="none"/>+<path d="M4.93049 4.97614L8.67136 4.71455L10.8688 9.25984L8.62883 10.8262C9.77242 12.787 11.531 14.3157 13.6319 15.1753L14.8712 12.7391L19.6781 14.2826L19.9397 18.0234C19.9744 18.5195 19.8106 19.009 19.4843 19.3843C19.1581 19.7596 18.6961 19.99 18.2 20.0247C14.5365 20.0581 10.9874 18.7495 8.2224 16.3459C5.45738 13.9423 3.66764 10.6099 3.19085 6.97737C3.15616 6.4813 3.31996 5.99176 3.6462 5.61646C3.97245 5.24116 4.43442 5.01083 4.93049 4.97614Z" fill="currentFill" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</g>+<defs>+<clipPath id="clip0_36855_127302">+<rect x="0.75" y="0.75" width="22.5" height="22.5" rx="2.25" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-setting.svg b/packages/twenty-ui/src/assets/icons/illustration-setting.svgnew file mode 100644index 00000000000..007c16e28b9--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-setting.svg@@ -0,0 +1,6 @@+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M5.38754 12.4777C5.42223 11.9816 5.65256 11.5196 6.02786 11.1934C6.40316 10.8671 6.89269 10.7033 7.38876 10.738L16.7409 11.392C17.237 11.4267 17.699 11.657 18.0252 12.0323C18.3515 12.4076 18.5153 12.8971 18.4806 13.3932L18.0882 19.0045C18.0535 19.5006 17.8232 19.9625 17.4479 20.2888C17.0726 20.615 16.583 20.7788 16.087 20.7441L6.7348 20.0902C6.23873 20.0555 5.77675 19.8252 5.45051 19.4499C5.12426 19.0746 4.96047 18.585 4.99516 18.0889L5.38754 12.4777Z" fill="#E8EFFD"/>+<path d="M10.8026 15.6757C10.7853 15.9237 10.8672 16.1685 11.0303 16.3561C11.1934 16.5438 11.4244 16.6589 11.6725 16.6763C11.9205 16.6936 12.1653 16.6117 12.3529 16.4486C12.5406 16.2855 12.6557 16.0545 12.6731 15.8065C12.6904 15.5584 12.6085 15.3137 12.4454 15.126C12.2823 14.9384 12.0513 14.8232 11.8033 14.8059C11.5552 14.7885 11.3105 14.8704 11.1228 15.0335C10.9352 15.1967 10.82 15.4276 10.8026 15.6757Z" fill="currentFill"/>+<path d="M8.32398 10.8034L8.58557 7.06254C8.65494 6.0704 9.1156 5.14646 9.86621 4.49397C10.6168 3.84148 11.5959 3.51389 12.588 3.58327C13.5802 3.65264 14.5041 4.1133 15.1566 4.86391C15.8091 5.61451 16.1367 6.59358 16.0673 7.58572L15.8057 11.3266" fill="#E8EFFD"/>+<path d="M8.32398 10.8034L8.58557 7.06254C8.65494 6.0704 9.1156 5.14646 9.86621 4.49397C10.6168 3.84148 11.5959 3.51389 12.588 3.58327C13.5802 3.65264 14.5041 4.1133 15.1566 4.86391C15.8091 5.61451 16.1367 6.59358 16.0673 7.58572L15.8057 11.3266M5.38754 12.4777C5.42223 11.9816 5.65256 11.5196 6.02786 11.1934C6.40316 10.8671 6.89269 10.7033 7.38876 10.738L16.7409 11.392C17.237 11.4267 17.699 11.657 18.0252 12.0323C18.3515 12.4076 18.5153 12.8971 18.4806 13.3932L18.0882 19.0045C18.0535 19.5006 17.8232 19.9625 17.4479 20.2888C17.0726 20.615 16.583 20.7788 16.087 20.7441L6.7348 20.0902C6.23873 20.0555 5.77675 19.8252 5.45051 19.4499C5.12426 19.0746 4.96047 18.585 4.99516 18.0889L5.38754 12.4777ZM10.8026 15.6757C10.7853 15.9237 10.8672 16.1685 11.0303 16.3561C11.1934 16.5438 11.4244 16.6589 11.6725 16.6763C11.9205 16.6936 12.1653 16.6117 12.3529 16.4486C12.5406 16.2855 12.6557 16.0545 12.6731 15.8065C12.6904 15.5584 12.6085 15.3137 12.4454 15.126C12.2823 14.9384 12.0513 14.8232 11.8033 14.8059C11.5552 14.7885 11.3105 14.8704 11.1228 15.0335C10.9352 15.1967 10.82 15.4276 10.8026 15.6757Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-star.svg b/packages/twenty-ui/src/assets/icons/illustration-star.svgnew file mode 100644index 00000000000..9a0c714b5d7--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-star.svg@@ -0,0 +1,10 @@+<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_39321_100605)">+<path d="M10.6518 4.4387C11.0177 3.18817 12.7418 3.06761 13.2782 4.25504L15.0487 8.17475C15.2173 8.54805 15.5406 8.82907 15.9337 8.9441L20.0617 10.1519C21.3122 10.5177 21.4328 12.2418 20.2453 12.7782L16.3256 14.5487C15.9523 14.7173 15.6713 15.0406 15.5563 15.4337L14.3485 19.5617C13.9826 20.8122 12.2585 20.9328 11.7222 19.7454L9.95166 15.8257C9.78304 15.4524 9.45976 15.1713 9.06662 15.0563L4.93866 13.8485C3.68814 13.4827 3.56757 11.7586 4.75501 11.2222L8.67471 9.4517C9.04801 9.28308 9.32903 8.9598 9.44406 8.56666L10.6518 4.4387Z" fill="currentFill" stroke="currentColor" stroke-width="1.5"/>+</g>+<defs>+<clipPath id="clip0_39321_100605">+<rect width="20.6124" height="20.6124" fill="white" transform="translate(1.5 2.43799) rotate(-4)"/>+</clipPath>+</defs>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-tag.svg b/packages/twenty-ui/src/assets/icons/illustration-tag.svgnew file mode 100644index 00000000000..9ca0212269e--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-tag.svg@@ -0,0 +1,6 @@+<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M9.06327 9.89091C9.57978 9.85479 9.96921 9.4068 9.93309 8.8903C9.89697 8.37379 9.44898 7.98436 8.93248 8.02048C8.41597 8.05659 8.02654 8.50458 8.06266 9.02109C8.09878 9.53759 8.54677 9.92703 9.06327 9.89091Z" fill="currentFill"/>+<path d="M4.69131 7.84715L4.94367 11.4562C4.97879 11.9584 5.21167 12.4261 5.5919 12.7566L13.7129 19.8161C13.901 19.9796 14.1196 20.1046 14.356 20.1837C14.5925 20.2628 14.8422 20.2946 15.0909 20.2772C15.3396 20.2598 15.5825 20.1936 15.8056 20.0823C16.0287 19.9711 16.2278 19.8169 16.3913 19.6288L20.596 14.7918C20.7596 14.6036 20.8846 14.3851 20.9637 14.1487C21.0428 13.9122 21.0746 13.6625 21.0572 13.4138C21.0398 13.1651 20.9736 12.9222 20.8623 12.6991C20.7511 12.4759 20.5969 12.2769 20.4088 12.1133L12.2868 5.05395C11.9071 4.72385 11.4117 4.55804 10.9098 4.59295L7.30077 4.84531C6.55666 4.89735 5.8637 5.24284 5.37434 5.8058C4.88497 6.36875 4.63927 7.10305 4.69131 7.84715Z" fill="currentFill"/>+<path d="M9.06327 9.89091C9.57978 9.85479 9.96921 9.4068 9.93309 8.8903C9.89697 8.37379 9.44898 7.98436 8.93248 8.02048C8.41597 8.05659 8.02654 8.50458 8.06266 9.02109C8.09878 9.53759 8.54677 9.92703 9.06327 9.89091Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M4.69131 7.84715L4.94367 11.4562C4.97879 11.9584 5.21167 12.4261 5.5919 12.7566L13.7129 19.8161C13.901 19.9796 14.1196 20.1046 14.356 20.1837C14.5925 20.2628 14.8422 20.2946 15.0909 20.2772C15.3396 20.2598 15.5825 20.1936 15.8056 20.0823C16.0287 19.9711 16.2278 19.8169 16.3913 19.6288L20.596 14.7918C20.7596 14.6036 20.8846 14.3851 20.9637 14.1487C21.0428 13.9122 21.0746 13.6625 21.0572 13.4138C21.0398 13.1651 20.9736 12.9222 20.8623 12.6991C20.7511 12.4759 20.5969 12.2769 20.4088 12.1133L12.2868 5.05395C11.9071 4.72385 11.4117 4.55804 10.9098 4.59295L7.30077 4.84531C6.55666 4.89735 5.8637 5.24284 5.37434 5.8058C4.88497 6.36875 4.63927 7.10305 4.69131 7.84715Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round" fill="none"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-tags.svg b/packages/twenty-ui/src/assets/icons/illustration-tags.svgnew file mode 100644index 00000000000..0174ac4fe9c--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-tags.svg@@ -0,0 +1,6 @@+<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M8.23485 6.65934L5.58444 6.84467C5.08217 6.87979 4.61443 7.113 4.2841 7.493C3.95378 7.87299 3.78794 8.36864 3.82306 8.87091L4.00839 11.5213C4.04351 12.0235 4.27639 12.4912 4.65662 12.8218L10.7764 18.1416C10.9645 18.3052 11.1831 18.4301 11.4195 18.5092C11.656 18.5883 11.9057 18.6201 12.1544 18.6027C12.4031 18.5853 12.646 18.5191 12.8691 18.4079C13.0922 18.2966 13.2913 18.1425 13.4548 17.9543L15.9199 15.1185C16.0835 14.9304 16.2084 14.7118 16.2875 14.4754C16.3667 14.239 16.3984 13.9892 16.381 13.7405C16.3636 13.4918 16.2974 13.2489 16.1862 13.0258C16.0749 12.8027 15.9208 12.6037 15.7326 12.4401L9.61192 7.12034C9.23213 6.79024 8.73683 6.62443 8.23485 6.65934Z" fill="#E8EFFD"/>+<path d="M18.1301 17.6281L20.5952 14.7923C20.7587 14.6042 20.8837 14.3856 20.9628 14.1492C21.0419 13.9127 21.0737 13.663 21.0563 13.4143C21.0389 13.1656 20.9727 12.9227 20.8614 12.6996C20.7502 12.4765 20.596 12.2774 20.4079 12.1139L13.2866 5.9243" fill="none"/>+<path d="M6.69086 9.58667L6.68151 9.58732L6.69086 9.58667Z" fill="#E8EFFD"/>+<path d="M18.1301 17.6281L20.5952 14.7923C20.7587 14.6042 20.8837 14.3856 20.9628 14.1492C21.0419 13.9127 21.0737 13.663 21.0563 13.4143C21.0389 13.1656 20.9727 12.9227 20.8614 12.6996C20.7502 12.4765 20.596 12.2774 20.4079 12.1139L13.2866 5.9243M6.69086 9.58667L6.68151 9.58732M8.23485 6.65934L5.58444 6.84467C5.08217 6.87979 4.61443 7.113 4.2841 7.493C3.95378 7.87299 3.78794 8.36864 3.82306 8.87091L4.00839 11.5213C4.04351 12.0235 4.27639 12.4912 4.65662 12.8218L10.7764 18.1416C10.9645 18.3052 11.1831 18.4301 11.4195 18.5092C11.656 18.5883 11.9057 18.6201 12.1544 18.6027C12.4031 18.5853 12.646 18.5191 12.8691 18.4079C13.0922 18.2966 13.2913 18.1425 13.4548 17.9543L15.9199 15.1185C16.0835 14.9304 16.2084 14.7118 16.2875 14.4754C16.3667 14.239 16.3984 13.9892 16.381 13.7405C16.3636 13.4918 16.2974 13.2489 16.1862 13.0258C16.0749 12.8027 15.9208 12.6037 15.7326 12.4401L9.61192 7.12034C9.23213 6.79024 8.73683 6.62443 8.23485 6.65934Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-text.svg b/packages/twenty-ui/src/assets/icons/illustration-text.svgnew file mode 100644index 00000000000..3e35ec3c7e6--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-text.svg@@ -0,0 +1,17 @@+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<rect width="24" height="24" rx="3" fill="none"/>+<g clip-path="url(#clip0_36855_127272)">+<rect x="0.75" y="0.75" width="22.5" height="22.5" rx="2.25" fill="none"/>+<path d="M3.75727 18.6752L6.55436 18.9691L3.75727 18.6752Z" fill="#E8EFFD"/>+<path d="M13.0809 19.6551L19.6075 20.3411L13.0809 19.6551Z" fill="#E8EFFD"/>+<path d="M6.94965 14.2974L13.383 14.9735L6.94965 14.2974Z" fill="#E8EFFD"/>+<path d="M10.8797 6.50999L14.9448 19.8518L10.8797 6.50999Z" fill="#E8EFFD"/>+<path d="M4.68963 18.7731L11.8517 4.44329L13.7165 4.63928L18.6751 20.2431" fill="none"/>+<path d="M3.75727 18.6752L6.55436 18.9691M13.0809 19.6551L19.6075 20.3411M6.94965 14.2974L13.383 14.9735M10.8797 6.50999L14.9448 19.8518M4.68963 18.7731L11.8517 4.44329L13.7165 4.63928L18.6751 20.2431" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</g>+<defs>+<clipPath id="clip0_36855_127272">+<rect x="0.75" y="0.75" width="22.5" height="22.5" rx="2.25" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-toggle.svg b/packages/twenty-ui/src/assets/icons/illustration-toggle.svgnew file mode 100644index 00000000000..ad2d6526733--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-toggle.svg@@ -0,0 +1,13 @@+<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_39321_100602)">+<path d="M14.3703 11.869C14.405 12.3651 14.6354 12.8271 15.0107 13.1533C15.386 13.4796 15.8755 13.6433 16.3716 13.6087C16.8676 13.574 17.3296 13.3436 17.6559 12.9683C17.9821 12.593 18.1459 12.1035 18.1112 11.6074C18.0765 11.1114 17.8462 10.6494 17.4709 10.3231C17.0956 9.9969 16.6061 9.8331 16.11 9.86779C15.6139 9.90248 15.1519 10.1328 14.8257 10.5081C14.4995 10.8834 14.3357 11.3729 14.3703 11.869Z" fill="currentFill"/>+<path d="M3.14775 12.6538C3.04369 11.1656 3.53507 9.69697 4.51381 8.57107C5.49255 7.44516 6.87846 6.75417 8.36667 6.6501L15.8484 6.12693C17.3366 6.02286 18.8052 6.51425 19.9311 7.49298C21.057 8.47172 21.748 9.85764 21.8521 11.3458C21.9561 12.8341 21.4648 14.3026 20.486 15.4286C19.5073 16.5545 18.1214 17.2455 16.6332 17.3495L9.15143 17.8727C7.66322 17.9768 6.19463 17.4854 5.06872 16.5066C3.94281 15.5279 3.25182 14.142 3.14775 12.6538Z" fill="currentFill"/>+<path d="M14.3703 11.869C14.405 12.3651 14.6354 12.8271 15.0107 13.1533C15.386 13.4796 15.8755 13.6433 16.3716 13.6087C16.8676 13.574 17.3296 13.3436 17.6559 12.9683C17.9821 12.593 18.1459 12.1035 18.1112 11.6074C18.0765 11.1114 17.8462 10.6494 17.4709 10.3231C17.0956 9.9969 16.6061 9.8331 16.11 9.86779C15.6139 9.90248 15.1519 10.1328 14.8257 10.5081C14.4995 10.8834 14.3357 11.3729 14.3703 11.869Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M3.14775 12.6538C3.04369 11.1656 3.53507 9.69697 4.51381 8.57107C5.49255 7.44516 6.87846 6.75417 8.36667 6.6501L15.8484 6.12693C17.3366 6.02286 18.8052 6.51425 19.9311 7.49298C21.057 8.47172 21.748 9.85764 21.8521 11.3458C21.9561 12.8341 21.4648 14.3026 20.486 15.4286C19.5073 16.5545 18.1214 17.2455 16.6332 17.3495L9.15143 17.8727C7.66322 17.9768 6.19463 17.4854 5.06872 16.5066C3.94281 15.5279 3.25182 14.142 3.14775 12.6538Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round" fill="none"/>+</g>+<defs>+<clipPath id="clip0_39321_100602">+<rect x="1.25" y="0.75" width="22.5" height="22.5" rx="2.25" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-uid.svg b/packages/twenty-ui/src/assets/icons/illustration-uid.svgnew file mode 100644index 00000000000..4affb07a32f--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-uid.svg@@ -0,0 +1,8 @@+<svg width="25" height="26" viewBox="0 0 25 26" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M4.50317 7.59525C4.56818 6.85217 4.92571 6.16535 5.49712 5.68588C6.06853 5.20641 6.80701 4.97357 7.55009 5.03858L18.7573 6.01908C19.5004 6.0841 20.1872 6.44163 20.6667 7.01304C21.1461 7.58445 21.379 8.32292 21.314 9.06601L20.4969 18.4053C20.4319 19.1484 20.0743 19.8352 19.5029 20.3147C18.9315 20.7942 18.193 21.027 17.4499 20.962L6.24275 19.9815C5.49967 19.9165 4.81285 19.559 4.33338 18.9875C3.85391 18.4161 3.62107 17.6777 3.68608 16.9346L4.50317 7.59525Z" fill="currentFill"/>+<path d="M7.99377 10.7239C7.95043 11.2193 8.10566 11.7116 8.4253 12.0925C8.74495 12.4735 9.20283 12.7118 9.69822 12.7552C10.1936 12.7985 10.6859 12.6433 11.0669 12.3236C11.4478 12.004 11.6862 11.5461 11.7295 11.0507C11.7728 10.5553 11.6176 10.063 11.298 9.68208C10.9783 9.30114 10.5204 9.06278 10.0251 9.01944C9.52966 8.9761 9.03735 9.13132 8.65641 9.45097C8.27547 9.77062 8.03711 10.2285 7.99377 10.7239Z" fill="currentFill"/>+<path d="M15.6286 9.50969L17.4965 9.67311L15.6286 9.50969Z" fill="#E8EFFD"/>+<path d="M15.3018 13.2454L17.1697 13.4088L15.3018 13.2454Z" fill="#E8EFFD"/>+<path d="M7.50352 16.3275L16.8428 17.1446L7.50352 16.3275Z" fill="#E8EFFD"/>+<path d="M15.6286 9.50969L17.4965 9.67311M15.3018 13.2454L17.1697 13.4088M7.50352 16.3275L16.8428 17.1446M4.50317 7.59525C4.56818 6.85217 4.92571 6.16535 5.49712 5.68588C6.06853 5.20641 6.80701 4.97357 7.55009 5.03858L18.7573 6.01908C19.5004 6.0841 20.1872 6.44163 20.6667 7.01304C21.1461 7.58445 21.379 8.32292 21.314 9.06601L20.4969 18.4053C20.4319 19.1484 20.0743 19.8352 19.5029 20.3147C18.9315 20.7942 18.193 21.027 17.4499 20.962L6.24275 19.9815C5.49967 19.9165 4.81285 19.559 4.33338 18.9875C3.85391 18.4161 3.62107 17.6777 3.68608 16.9346L4.50317 7.59525ZM7.99377 10.7239C7.95043 11.2193 8.10566 11.7116 8.4253 12.0925C8.74495 12.4735 9.20283 12.7118 9.69822 12.7552C10.1936 12.7985 10.6859 12.6433 11.0669 12.3236C11.4478 12.004 11.6862 11.5461 11.7295 11.0507C11.7728 10.5553 11.6176 10.063 11.298 9.68208C10.9783 9.30114 10.5204 9.06278 10.0251 9.01944C9.52966 8.9761 9.03735 9.13132 8.65641 9.45097C8.27547 9.77062 8.03711 10.2285 7.99377 10.7239Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/illustration-user.svg b/packages/twenty-ui/src/assets/icons/illustration-user.svgnew file mode 100644index 00000000000..05c928e0fdd--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/illustration-user.svg@@ -0,0 +1,6 @@+<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M4.08295 12.5883C4.16025 13.6937 4.45449 14.7729 4.94889 15.7646C5.44329 16.7562 6.12816 17.6407 6.9644 18.3676C7.80064 19.0946 8.77187 19.6497 9.82264 20.0012C10.8734 20.3528 11.9831 20.494 13.0885 20.4167C14.1938 20.3394 15.2731 20.0452 16.2647 19.5508C17.2563 19.0564 18.1408 18.3715 18.8678 17.5353C19.5947 16.699 20.1498 15.7278 20.5014 14.677C20.853 13.6263 20.9941 12.5165 20.9168 11.4112C20.8396 10.3059 20.5453 9.22658 20.0509 8.23497C19.5565 7.24336 18.8716 6.35883 18.0354 5.6319C17.1992 4.90497 16.2279 4.34987 15.1772 3.99828C14.1264 3.6467 13.0167 3.50552 11.9113 3.58282C10.806 3.66011 9.72672 3.95435 8.73511 4.44875C7.74349 4.94315 6.85897 5.62803 6.13204 6.46427C5.40511 7.3005 4.85 8.27174 4.49842 9.32251C4.14684 10.3733 4.00566 11.483 4.08295 12.5883Z" fill="none"/>+<path d="M9.56346 10.3255C9.61549 11.0696 9.96099 11.7626 10.5239 12.252C11.0869 12.7413 11.8212 12.987 12.5653 12.935C13.3094 12.8829 14.0024 12.5375 14.4917 11.9745C14.9811 11.4115 15.2268 10.6772 15.1748 9.93314C15.1227 9.18904 14.7772 8.49608 14.2143 8.00671C13.6513 7.51734 12.917 7.27165 12.1729 7.32368C11.4288 7.37571 10.7359 7.72121 10.2465 8.28416C9.75712 8.84712 9.51143 9.58142 9.56346 10.3255Z" fill="#E8EFFD"/>+<path d="M7.49359 18.7865C7.6712 17.9999 8.09763 17.2915 8.70962 16.7664C9.32162 16.2413 10.0866 15.9274 10.891 15.8714L14.6319 15.6098C15.4373 15.5532 16.2395 15.7581 16.9192 16.194C17.5989 16.6299 18.1197 17.2735 18.4042 18.0291" fill="currentFill"/>+<path d="M7.49359 18.7865C7.6712 17.9999 8.09763 17.2915 8.70962 16.7664C9.32162 16.2413 10.0866 15.9274 10.891 15.8714L14.6319 15.6098C15.4373 15.5532 16.2395 15.7581 16.9192 16.194C17.5989 16.6299 18.1197 17.2735 18.4042 18.0291M4.08295 12.5883C4.16025 13.6937 4.45449 14.7729 4.94889 15.7646C5.44329 16.7562 6.12816 17.6407 6.9644 18.3676C7.80064 19.0946 8.77187 19.6497 9.82264 20.0012C10.8734 20.3528 11.9831 20.494 13.0885 20.4167C14.1938 20.3394 15.2731 20.0452 16.2647 19.5508C17.2563 19.0564 18.1408 18.3715 18.8678 17.5353C19.5947 16.699 20.1498 15.7278 20.5014 14.677C20.853 13.6263 20.9941 12.5165 20.9168 11.4112C20.8396 10.3059 20.5453 9.22658 20.0509 8.23497C19.5565 7.24336 18.8716 6.35883 18.0354 5.6319C17.1992 4.90497 16.2279 4.34987 15.1772 3.99828C14.1264 3.6467 13.0167 3.50552 11.9113 3.58282C10.806 3.66011 9.72672 3.95435 8.73511 4.44875C7.7435 4.94315 6.85897 5.62803 6.13204 6.46427C5.40511 7.3005 4.85 8.27174 4.49842 9.32251C4.14684 10.3733 4.00566 11.483 4.08295 12.5883ZM9.56346 10.3255C9.61549 11.0696 9.96099 11.7626 10.5239 12.252C11.0869 12.7413 11.8212 12.987 12.5653 12.935C13.3094 12.8829 14.0024 12.5375 14.4917 11.9745C14.9811 11.4115 15.2268 10.6772 15.1748 9.93314C15.1227 9.18904 14.7772 8.49608 14.2143 8.00671C13.6513 7.51734 12.917 7.27165 12.1729 7.32368C11.4288 7.37571 10.7359 7.72121 10.2465 8.28416C9.75712 8.84712 9.51143 9.58142 9.56346 10.3255Z" stroke="currentColor" stroke-width="1.49625" stroke-linecap="round" stroke-linejoin="round"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/lock.svg b/packages/twenty-ui/src/assets/icons/lock.svgnew file mode 100644index 00000000000..6fd1e546430--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/lock.svg@@ -0,0 +1,19 @@+<svg width="42" height="42" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg">+ <g filter="url(#filter0_d_41725_330814)">+ <rect x="2" width="40" height="40" rx="20" fill="white"/>+ <rect x="3" y="1" width="38" height="38" rx="19" stroke="#333333" stroke-width="2"/>+ <path d="M18 19V15C18 13.9391 18.4214 12.9217 19.1716 12.1716C19.9217 11.4214 20.9391 11 22 11C23.0609 11 24.0783 11.4214 24.8284 12.1716C25.5786 12.9217 26 13.9391 26 15V19M15 21C15 20.4696 15.2107 19.9609 15.5858 19.5858C15.9609 19.2107 16.4696 19 17 19H27C27.5304 19 28.0391 19.2107 28.4142 19.5858C28.7893 19.9609 29 20.4696 29 21V27C29 27.5304 28.7893 28.0391 28.4142 28.4142C28.0391 28.7893 27.5304 29 27 29H17C16.4696 29 15.9609 28.7893 15.5858 28.4142C15.2107 28.0391 15 27.5304 15 27V21ZM21 24C21 24.2652 21.1054 24.5196 21.2929 24.7071C21.4804 24.8946 21.7348 25 22 25C22.2652 25 22.5196 24.8946 22.7071 24.7071C22.8946 24.5196 23 24.2652 23 24C23 23.7348 22.8946 23.4804 22.7071 23.2929C22.5196 23.1054 22.2652 23 22 23C21.7348 23 21.4804 23.1054 21.2929 23.2929C21.1054 23.4804 21 23.7348 21 24Z" stroke="#333333" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/>+ </g>+ <defs>+ <filter id="filter0_d_41725_330814" x="0" y="0" width="42" height="42" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+ <feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_41725_330814"/>+ <feOffset dx="-4" dy="4"/>+ <feComposite in2="hardAlpha" operator="out"/>+ <feColorMatrix type="matrix" values="0 0 0 0 0.2 0 0 0 0 0.2 0 0 0 0 0.2 0 0 0 1 0"/>+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_41725_330814"/>+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_41725_330814" result="shape"/>+ </filter>+ </defs>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/many-to-one.svg b/packages/twenty-ui/src/assets/icons/many-to-one.svgnew file mode 100644index 00000000000..1ee3be95df1--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/many-to-one.svg@@ -0,0 +1,17 @@+<svg+ xmlns="http://www.w3.org/2000/svg"+ width="24"+ height="24"+ viewBox="0 0 24 24"+ fill="none"+ stroke="currentColor"+ stroke-width="2"+ stroke-linecap="round"+ stroke-linejoin="round"+>+ <path d="M3 5m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z" />+ <path d="M16 10h1v4" />+ <path d="M7 14v-4l3 4v-4" />+ <path d="M13 10.5l0 .01" />+ <path d="M13 13.5l0 .01" />+</svg>\ No newline at end of filediff --git a/packages/twenty-ui/src/assets/icons/microsoft-calendar.svg b/packages/twenty-ui/src/assets/icons/microsoft-calendar.svgnew file mode 100644index 00000000000..fcb25e21bb7--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/microsoft-calendar.svg@@ -0,0 +1,28 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="63.3336 29.3504 384.3334 418.3166" width="512px" height="512px" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd">+<g><path style="opacity:0.995" fill="#53d9fe" d="M 159.5,63.5 C 159.667,77.504 159.5,91.504 159,105.5C 153.578,116.468 145.412,119.301 134.5,114C 131.567,111.736 129.4,108.902 128,105.5C 127.5,91.504 127.333,77.504 127.5,63.5C 127.2,55.7767 127.533,48.1101 128.5,40.5C 133.149,32.1837 140.149,29.3504 149.5,32C 154,33.8333 157.167,37 159,41.5C 159.5,48.8258 159.666,56.1591 159.5,63.5 Z"/></g>+<g><path style="opacity:0.995" fill="#53d9fe" d="M 383.5,63.5 C 383.667,77.504 383.5,91.504 383,105.5C 377.578,116.468 369.412,119.301 358.5,114C 355.567,111.736 353.4,108.902 352,105.5C 351.5,91.504 351.333,77.504 351.5,63.5C 351.2,55.7767 351.533,48.1101 352.5,40.5C 357.149,32.1837 364.149,29.3504 373.5,32C 378,33.8333 381.167,37 383,41.5C 383.5,48.8258 383.666,56.1591 383.5,63.5 Z"/></g>+<g><path style="opacity:0.997" fill="#076cb3" d="M 116.5,63.5 C 116.5,74.5 116.5,85.5 116.5,96.5C 98.8499,99.275 81.1832,101.942 63.5,104.5C 63.3336,95.4938 63.5002,86.4938 64,77.5C 66.5,71 71,66.5 77.5,64C 90.4957,63.5001 103.496,63.3334 116.5,63.5 Z"/></g>+<g><path style="opacity:1" fill="#066bb3" d="M 170.5,63.5 C 225.167,63.5 279.833,63.5 334.5,63.5C 280.02,72.1889 225.353,80.5222 170.5,88.5C 170.5,80.1667 170.5,71.8333 170.5,63.5 Z"/></g>+<g><path style="opacity:1" fill="#0566b1" d="M 334.5,63.5 C 336.5,63.5 338.5,63.5 340.5,63.5C 340.333,77.504 340.5,91.504 341,105.5C 347.935,125.883 361.435,132.049 381.5,124C 386.876,120.429 390.709,115.595 393,109.5C 394.435,94.2246 394.935,78.8913 394.5,63.5C 407.504,63.3334 420.504,63.5001 433.5,64C 440,66.5 444.5,71 447,77.5C 447.5,90.8292 447.667,104.163 447.5,117.5C 379.316,127.478 311.316,137.811 243.5,148.5C 183.5,148.5 123.5,148.5 63.5,148.5C 63.5,133.833 63.5,119.167 63.5,104.5C 81.1832,101.942 98.8499,99.275 116.5,96.5C 116.99,118.074 127.99,128.24 149.5,127C 160.88,123.621 167.714,116.121 170,104.5C 170.499,99.1771 170.666,93.8437 170.5,88.5C 225.353,80.5222 280.02,72.1889 334.5,63.5 Z"/></g>+<g><path style="opacity:1" fill="#0662a7" d="M 116.5,63.5 C 120.167,63.5 123.833,63.5 127.5,63.5C 127.333,77.504 127.5,91.504 128,105.5C 129.4,108.902 131.567,111.736 134.5,114C 145.412,119.301 153.578,116.468 159,105.5C 159.5,91.504 159.667,77.504 159.5,63.5C 163.167,63.5 166.833,63.5 170.5,63.5C 170.5,71.8333 170.5,80.1667 170.5,88.5C 170.666,93.8437 170.499,99.1771 170,104.5C 167.714,116.121 160.88,123.621 149.5,127C 127.99,128.24 116.99,118.074 116.5,96.5C 116.5,85.5 116.5,74.5 116.5,63.5 Z"/></g>+<g><path style="opacity:1" fill="#055fa6" d="M 340.5,63.5 C 344.167,63.5 347.833,63.5 351.5,63.5C 351.333,77.504 351.5,91.504 352,105.5C 353.4,108.902 355.567,111.736 358.5,114C 369.412,119.301 377.578,116.468 383,105.5C 383.5,91.504 383.667,77.504 383.5,63.5C 387.167,63.5 390.833,63.5 394.5,63.5C 394.935,78.8913 394.435,94.2246 393,109.5C 390.709,115.595 386.876,120.429 381.5,124C 361.435,132.049 347.935,125.883 341,105.5C 340.5,91.504 340.333,77.504 340.5,63.5 Z"/></g>+<g><path style="opacity:1" fill="#0462af" d="M 447.5,117.5 C 447.5,127.833 447.5,138.167 447.5,148.5C 379.5,148.5 311.5,148.5 243.5,148.5C 311.316,137.811 379.316,127.478 447.5,117.5 Z"/></g>+<g><path style="opacity:1" fill="#2cb4ec" d="M 63.5,149.5 C 178.167,149.333 292.834,149.5 407.5,150C 292.823,163.168 178.157,176.335 63.5,189.5C 63.5,176.167 63.5,162.833 63.5,149.5 Z"/></g>+<g><path style="opacity:1" fill="#2ab1ea" d="M 63.5,149.5 C 63.5,149.167 63.5,148.833 63.5,148.5C 123.5,148.5 183.5,148.5 243.5,148.5C 311.5,148.5 379.5,148.5 447.5,148.5C 447.5,164.167 447.5,179.833 447.5,195.5C 430.821,197.15 414.154,198.983 397.5,201C 396.944,201.383 396.611,201.883 396.5,202.5C 387.161,202.334 377.827,202.5 368.5,203C 367.016,203.662 365.683,204.496 364.5,205.5C 364.44,204.957 364.107,204.624 363.5,204.5C 348.897,206.604 334.23,208.271 319.5,209.5C 317.691,206.861 315.358,204.694 312.5,203C 302.833,202.333 293.167,202.333 283.5,203C 279.002,205.494 276.668,209.327 276.5,214.5C 262.551,216.457 248.551,218.124 234.5,219.5C 235.834,212.344 233.5,206.844 227.5,203C 217.5,202.333 207.5,202.333 197.5,203C 195.291,204.873 193.458,207.04 192,209.5C 191.501,214.489 191.334,219.489 191.5,224.5C 148.802,229.355 106.135,234.355 63.5,239.5C 63.5,222.833 63.5,206.167 63.5,189.5C 178.157,176.335 292.823,163.168 407.5,150C 292.834,149.5 178.167,149.333 63.5,149.5 Z"/></g>+<g><path style="opacity:1" fill="#fdfefe" d="M 234.5,219.5 C 234.666,225.176 234.499,230.843 234,236.5C 232.895,239.937 230.728,242.437 227.5,244C 217.5,244.667 207.5,244.667 197.5,244C 191.992,238.726 189.992,232.226 191.5,224.5C 191.334,219.489 191.501,214.489 192,209.5C 193.458,207.04 195.291,204.873 197.5,203C 207.5,202.333 217.5,202.333 227.5,203C 233.5,206.844 235.834,212.344 234.5,219.5 Z"/></g>+<g><path style="opacity:1" fill="#fdfefe" d="M 319.5,209.5 C 319.666,218.506 319.5,227.506 319,236.5C 317.613,240.721 314.779,243.388 310.5,244.5C 300.727,244.948 291.061,244.448 281.5,243C 279.383,241.269 277.883,239.102 277,236.5C 276.5,229.174 276.334,221.841 276.5,214.5C 276.668,209.327 279.002,205.494 283.5,203C 293.167,202.333 302.833,202.333 312.5,203C 315.358,204.694 317.691,206.861 319.5,209.5 Z"/></g>+<g><path style="opacity:1" fill="#fefefe" d="M 396.5,202.5 C 399.87,203.432 402.37,205.432 404,208.5C 404.667,218.167 404.667,227.833 404,237.5C 403.167,241 401,243.167 397.5,244C 387.833,244.667 378.167,244.667 368.5,244C 365.619,242.749 363.786,240.583 363,237.5C 362.333,227.833 362.333,218.167 363,208.5C 363.513,207.473 364.013,206.473 364.5,205.5C 365.683,204.496 367.016,203.662 368.5,203C 377.827,202.5 387.161,202.334 396.5,202.5 Z"/></g>+<g><path style="opacity:1" fill="#28ade9" d="M 276.5,214.5 C 276.334,221.841 276.5,229.174 277,236.5C 277.883,239.102 279.383,241.269 281.5,243C 291.061,244.448 300.727,244.948 310.5,244.5C 228.201,252.385 145.867,261.385 63.5,271.5C 63.5,260.833 63.5,250.167 63.5,239.5C 106.135,234.355 148.802,229.355 191.5,224.5C 189.992,232.226 191.992,238.726 197.5,244C 207.5,244.667 217.5,244.667 227.5,244C 230.728,242.437 232.895,239.937 234,236.5C 234.499,230.843 234.666,225.176 234.5,219.5C 248.551,218.124 262.551,216.457 276.5,214.5 Z"/></g>+<g><path style="opacity:1" fill="#26aae8" d="M 447.5,195.5 C 447.5,215.167 447.5,234.833 447.5,254.5C 374.963,262.277 302.63,270.61 230.5,279.5C 229.118,278.199 227.452,277.366 225.5,277C 216.833,276.333 208.167,276.333 199.5,277C 195.65,278.353 192.983,280.853 191.5,284.5C 190.903,283.861 190.07,283.528 189,283.5C 176.142,285.128 163.309,286.795 150.5,288.5C 149.833,295.655 149.167,302.655 148.5,309.5C 148.945,300.06 148.445,290.726 147,281.5C 145.269,279.383 143.102,277.883 140.5,277C 131.833,276.333 123.167,276.333 114.5,277C 111.898,277.883 109.731,279.383 108,281.5C 106.555,290.726 106.055,300.06 106.5,309.5C 105.512,304.36 105.179,299.026 105.5,293.5C 91.4044,294.732 77.4044,296.399 63.5,298.5C 63.5,289.5 63.5,280.5 63.5,271.5C 145.867,261.385 228.201,252.385 310.5,244.5C 314.779,243.388 317.613,240.721 319,236.5C 319.5,227.506 319.666,218.506 319.5,209.5C 334.23,208.271 348.897,206.604 363.5,204.5C 364.107,204.624 364.44,204.957 364.5,205.5C 364.013,206.473 363.513,207.473 363,208.5C 362.333,218.167 362.333,227.833 363,237.5C 363.786,240.583 365.619,242.749 368.5,244C 378.167,244.667 387.833,244.667 397.5,244C 401,243.167 403.167,241 404,237.5C 404.667,227.833 404.667,218.167 404,208.5C 402.37,205.432 399.87,203.432 396.5,202.5C 396.611,201.883 396.944,201.383 397.5,201C 414.154,198.983 430.821,197.15 447.5,195.5 Z"/></g>+<g><path style="opacity:1" fill="#22a5e6" d="M 447.5,254.5 C 447.5,274.167 447.5,293.833 447.5,313.5C 431.469,314.874 415.469,316.54 399.5,318.5C 401.168,316.66 402.668,314.66 404,312.5C 404.95,302.067 404.617,291.734 403,281.5C 401.269,279.383 399.102,277.883 396.5,277C 387.833,276.333 379.167,276.333 370.5,277C 367.063,278.105 364.563,280.272 363,283.5C 362.333,293.167 362.333,302.833 363,312.5C 364.5,315.333 366.667,317.5 369.5,319C 375.157,319.499 380.824,319.666 386.5,319.5C 296.491,330.094 206.491,340.76 116.5,351.5C 114.784,351.629 113.117,351.962 111.5,352.5C 111.083,351.876 110.416,351.543 109.5,351.5C 94.2179,353.66 78.8845,355.327 63.5,356.5C 63.5,337.167 63.5,317.833 63.5,298.5C 77.4044,296.399 91.4044,294.732 105.5,293.5C 105.179,299.026 105.512,304.36 106.5,309.5C 107.07,313.912 109.403,317.078 113.5,319C 123.574,319.923 133.574,319.59 143.5,318C 146.596,315.971 148.262,313.138 148.5,309.5C 149.167,302.655 149.833,295.655 150.5,288.5C 163.309,286.795 176.142,285.128 189,283.5C 190.07,283.528 190.903,283.861 191.5,284.5C 191.077,294.58 191.577,304.58 193,314.5C 194.543,316.378 196.376,317.878 198.5,319C 207.5,319.667 216.5,319.667 225.5,319C 229.896,318.27 232.73,315.77 234,311.5C 234.667,302.5 234.667,293.5 234,284.5C 233.003,282.677 231.836,281.01 230.5,279.5C 302.63,270.61 374.963,262.277 447.5,254.5 Z"/></g>+<g><path style="opacity:1" fill="#fdfefe" d="M 148.5,309.5 C 148.262,313.138 146.596,315.971 143.5,318C 133.574,319.59 123.574,319.923 113.5,319C 109.403,317.078 107.07,313.912 106.5,309.5C 106.055,300.06 106.555,290.726 108,281.5C 109.731,279.383 111.898,277.883 114.5,277C 123.167,276.333 131.833,276.333 140.5,277C 143.102,277.883 145.269,279.383 147,281.5C 148.445,290.726 148.945,300.06 148.5,309.5 Z"/></g>+<g><path style="opacity:1" fill="#fcfdfe" d="M 230.5,279.5 C 231.836,281.01 233.003,282.677 234,284.5C 234.667,293.5 234.667,302.5 234,311.5C 232.73,315.77 229.896,318.27 225.5,319C 216.5,319.667 207.5,319.667 198.5,319C 196.376,317.878 194.543,316.378 193,314.5C 191.577,304.58 191.077,294.58 191.5,284.5C 192.983,280.853 195.65,278.353 199.5,277C 208.167,276.333 216.833,276.333 225.5,277C 227.452,277.366 229.118,278.199 230.5,279.5 Z"/></g>+<g><path style="opacity:1" fill="#fbfdfe" d="M 284.5,276.5 C 293.506,276.334 302.506,276.5 311.5,277C 314.937,278.105 317.437,280.272 319,283.5C 319.667,292.833 319.667,302.167 319,311.5C 318.31,314.196 316.81,316.363 314.5,318C 304.574,319.59 294.574,319.923 284.5,319C 280.667,317.833 278.167,315.333 277,311.5C 276.333,302.5 276.333,293.5 277,284.5C 279.028,281.308 281.528,278.641 284.5,276.5 Z"/></g>+<g><path style="opacity:1" fill="#fdfefe" d="M 399.5,318.5 C 395.215,319.295 390.881,319.628 386.5,319.5C 380.824,319.666 375.157,319.499 369.5,319C 366.667,317.5 364.5,315.333 363,312.5C 362.333,302.833 362.333,293.167 363,283.5C 364.563,280.272 367.063,278.105 370.5,277C 379.167,276.333 387.833,276.333 396.5,277C 399.102,277.883 401.269,279.383 403,281.5C 404.617,291.734 404.95,302.067 404,312.5C 402.668,314.66 401.168,316.66 399.5,318.5 Z"/></g>+<g><path style="opacity:1" fill="#1e9fe3" d="M 447.5,313.5 C 447.5,332.833 447.5,352.167 447.5,371.5C 404.459,376.542 361.459,381.875 318.5,387.5C 319.998,377.114 319.831,366.78 318,356.5C 316.363,354.19 314.196,352.69 311.5,352C 302.167,351.333 292.833,351.333 283.5,352C 280.272,353.563 278.105,356.063 277,359.5C 276.333,368.167 276.333,376.833 277,385.5C 277.564,387.887 278.73,389.887 280.5,391.5C 208.167,399.5 135.833,407.5 63.5,415.5C 63.5,395.833 63.5,376.167 63.5,356.5C 78.8845,355.327 94.2179,353.66 109.5,351.5C 110.416,351.543 111.083,351.876 111.5,352.5C 110.207,354.296 108.707,355.963 107,357.5C 106.048,368.265 106.381,378.932 108,389.5C 109.731,391.617 111.898,393.117 114.5,394C 123.167,394.667 131.833,394.667 140.5,394C 143.937,392.895 146.437,390.728 148,387.5C 148.667,377.5 148.667,367.5 148,357.5C 146.039,354.865 143.539,353.031 140.5,352C 132.507,351.5 124.507,351.334 116.5,351.5C 206.491,340.76 296.491,330.094 386.5,319.5C 390.881,319.628 395.215,319.295 399.5,318.5C 415.469,316.54 431.469,314.874 447.5,313.5 Z"/></g>+<g><path style="opacity:1" fill="#fdfefe" d="M 116.5,351.5 C 124.507,351.334 132.507,351.5 140.5,352C 143.539,353.031 146.039,354.865 148,357.5C 148.667,367.5 148.667,377.5 148,387.5C 146.437,390.728 143.937,392.895 140.5,394C 131.833,394.667 123.167,394.667 114.5,394C 111.898,393.117 109.731,391.617 108,389.5C 106.381,378.932 106.048,368.265 107,357.5C 108.707,355.963 110.207,354.296 111.5,352.5C 113.117,351.962 114.784,351.629 116.5,351.5 Z"/></g>+<g><path style="opacity:1" fill="#fbfdfe" d="M 198.5,351.5 C 207.506,351.334 216.506,351.5 225.5,352C 229.896,352.73 232.73,355.23 234,359.5C 241.167,389.667 229.667,401.167 199.5,394C 195.23,392.73 192.73,389.896 192,385.5C 191.333,376.5 191.333,367.5 192,358.5C 193.694,355.642 195.861,353.309 198.5,351.5 Z"/></g>+<g><path style="opacity:1" fill="#fbfdfe" d="M 318.5,387.5 C 317.32,390.845 314.987,393.011 311.5,394C 302.5,394.667 293.5,394.667 284.5,394C 283.016,393.338 281.683,392.504 280.5,391.5C 278.73,389.887 277.564,387.887 277,385.5C 276.333,376.833 276.333,368.167 277,359.5C 278.105,356.063 280.272,353.563 283.5,352C 292.833,351.333 302.167,351.333 311.5,352C 314.196,352.69 316.363,354.19 318,356.5C 319.831,366.78 319.998,377.114 318.5,387.5 Z"/></g>+<g><path style="opacity:1" fill="#199ae1" d="M 447.5,371.5 C 447.5,382.5 447.5,393.5 447.5,404.5C 324.677,418.554 202.01,432.887 79.5,447.5C 71.5584,445.392 66.3917,440.392 64,432.5C 63.5006,426.843 63.3339,421.176 63.5,415.5C 135.833,407.5 208.167,399.5 280.5,391.5C 281.683,392.504 283.016,393.338 284.5,394C 293.5,394.667 302.5,394.667 311.5,394C 314.987,393.011 317.32,390.845 318.5,387.5C 361.459,381.875 404.459,376.542 447.5,371.5 Z"/></g>+<g><path style="opacity:0.999" fill="#1797e0" d="M 447.5,404.5 C 447.666,414.172 447.5,423.839 447,433.5C 444.406,440.428 439.573,444.928 432.5,447C 314.834,447.5 197.167,447.667 79.5,447.5C 202.01,432.887 324.677,418.554 447.5,404.5 Z"/></g>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/microsoft-outlook.svg b/packages/twenty-ui/src/assets/icons/microsoft-outlook.svgnew file mode 100644index 00000000000..6449f4bef0b--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/microsoft-outlook.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="60 90.4 570.02 539.67"><defs><linearGradient id="microsoft-outlook-2025-linear0" x1="9.989" x2="30.932" y1="22.365" y2="9.375" gradientTransform="scale(15)" gradientUnits="userSpaceOnUse"><stop offset="0" style="stop-color:#20a7fa;stop-opacity:1"/><stop offset=".4" style="stop-color:#3bd5ff;stop-opacity:1"/><stop offset="1" style="stop-color:#c4b0ff;stop-opacity:1"/></linearGradient><linearGradient id="microsoft-outlook-2025-linear1" x1="17.197" x2="28.856" y1="26.794" y2="8.126" gradientTransform="scale(15)" gradientUnits="userSpaceOnUse"><stop offset="0" style="stop-color:#165ad9;stop-opacity:1"/><stop offset=".501" style="stop-color:#1880e5;stop-opacity:1"/><stop offset="1" style="stop-color:#8587ff;stop-opacity:1"/></linearGradient><linearGradient id="microsoft-outlook-2025-linear2" x1="25.701" x2="12.756" y1="27.048" y2="16.501" gradientTransform="scale(15)" gradientUnits="userSpaceOnUse"><stop offset=".237" style="stop-color:#448aff;stop-opacity:0"/><stop offset=".792" style="stop-color:#0032b1;stop-opacity:.2"/></linearGradient><linearGradient id="microsoft-outlook-2025-linear3" x1="24.053" x2="44.51" y1="31.11" y2="18.018" gradientTransform="scale(15)" gradientUnits="userSpaceOnUse"><stop offset="0" style="stop-color:#1a43a6;stop-opacity:1"/><stop offset=".492" style="stop-color:#2052cb;stop-opacity:1"/><stop offset="1" style="stop-color:#5f20cb;stop-opacity:1"/></linearGradient><linearGradient id="microsoft-outlook-2025-linear4" x1="29.828" x2="17.397" y1="30.327" y2="19.571" gradientTransform="scale(15)" gradientUnits="userSpaceOnUse"><stop offset="0" style="stop-color:#0045b9;stop-opacity:0"/><stop offset=".67" style="stop-color:#0d1f69;stop-opacity:.2"/></linearGradient><linearGradient id="microsoft-outlook-2025-linear5" x1="41.998" x2="23.852" y1="29.943" y2="29.943" gradientTransform="scale(15)" gradientUnits="userSpaceOnUse"><stop offset="0" style="stop-color:#4dc4ff;stop-opacity:1"/><stop offset=".196" style="stop-color:#0fafff;stop-opacity:1"/></linearGradient><linearGradient id="microsoft-outlook-2025-linear6" x1="3.458" x2="20.929" y1="37.872" y2="37.86" gradientTransform="scale(15)" gradientUnits="userSpaceOnUse"><stop offset=".206" style="stop-color:#6ce0ff;stop-opacity:1"/><stop offset=".535" style="stop-color:#50d5ff;stop-opacity:0"/></linearGradient><radialGradient id="microsoft-outlook-2025-radial0" cx="0" cy="0" r="1" fx="0" fy="0" gradientTransform="matrix(0 -405.04051 438.393 0 359.92 102.475)" gradientUnits="userSpaceOnUse"><stop offset=".568" style="stop-color:#275ff0;stop-opacity:0"/><stop offset=".992" style="stop-color:#002177;stop-opacity:1"/></radialGradient><radialGradient id="microsoft-outlook-2025-radial1" cx="0" cy="0" r="1" fx="0" fy="0" gradientTransform="rotate(-45 897.061 -224.265)scale(173.58)" gradientUnits="userSpaceOnUse"><stop offset=".259" style="stop-color:#0060d1;stop-opacity:.4"/><stop offset=".908" style="stop-color:#0383f1;stop-opacity:0"/></radialGradient><radialGradient id="microsoft-outlook-2025-radial2" cx="0" cy="0" r="1" fx="0" fy="0" gradientTransform="matrix(357.40702 -468.44593 423.59457 323.18709 159.471 697.08)" gradientUnits="userSpaceOnUse"><stop offset=".732" style="stop-color:#f4a7f7;stop-opacity:0"/><stop offset="1" style="stop-color:#f4a7f7;stop-opacity:.501961"/></radialGradient><radialGradient id="microsoft-outlook-2025-radial3" cx="0" cy="0" r="1" fx="0" fy="0" gradientTransform="matrix(-170.86087 259.7254 -674.01813 -443.40415 278.562 412.979)" gradientUnits="userSpaceOnUse"><stop offset="0" style="stop-color:#49deff;stop-opacity:1"/><stop offset=".724" style="stop-color:#29c3ff;stop-opacity:1"/></radialGradient><radialGradient id="microsoft-outlook-2025-radial4" cx="0" cy="0" r="1" fx="0" fy="0" gradientTransform="rotate(46.924 -378.504 245.25)scale(315.927)" gradientUnits="userSpaceOnUse"><stop offset=".039" style="stop-color:#0091ff;stop-opacity:1"/><stop offset=".919" style="stop-color:#183dad;stop-opacity:1"/></radialGradient><radialGradient id="microsoft-outlook-2025-radial5" cx="0" cy="0" r="1" fx="0" fy="0" gradientTransform="matrix(0 168 -193.782 0 180 491.159)" gradientUnits="userSpaceOnUse"><stop offset=".558" style="stop-color:#0fa5f7;stop-opacity:0"/><stop offset="1" style="stop-color:#74c6ff;stop-opacity:.501961"/></radialGradient></defs><g id="microsoft-outlook-2025-surface1"><path d="m463.984 140.145-344.347 218.27-29.614-46.72v-40.257a43.26 43.26 0 0 1 19.72-36.293L309.91 105.258c30.496-19.79 69.777-19.793 100.277-.008Zm0 0" style="stroke:none;fill-rule:nonzero;fill:url(#microsoft-outlook-2025-linear0)"/><path d="M407.102 103.34a91 91 0 0 1 3.082 1.914l156.214 101.332-387.335 245.52-59.438-93.77L403.895 177.8c26.925-17.102 28.105-55.57 3.207-74.461m0 0" style="stroke:none;fill-rule:nonzero;fill:url(#microsoft-outlook-2025-linear1)"/><path d="M407.102 103.34a91 91 0 0 1 3.082 1.914l156.214 101.332-387.335 245.52-59.438-93.77L403.895 177.8c26.925-17.102 28.105-55.57 3.207-74.461m0 0" style="stroke:none;fill-rule:nonzero;fill:url(#microsoft-outlook-2025-linear2)"/><path d="M333.602 498.988 179.066 452.11 507.63 243.836c27.672-17.54 27.601-57.938-.133-75.379l-1.48-.93 4.261 2.649 99.996 64.867a43.26 43.26 0 0 1 19.723 36.3v38.962Zm0 0" style="stroke:none;fill-rule:nonzero;fill:url(#microsoft-outlook-2025-linear3)"/><path d="M333.602 498.988 179.066 452.11 507.63 243.836c27.672-17.54 27.601-57.938-.133-75.379l-1.48-.93 4.261 2.649 99.996 64.867a43.26 43.26 0 0 1 19.723 36.3v38.962Zm0 0" style="stroke:none;fill-rule:nonzero;fill:url(#microsoft-outlook-2025-linear4)"/><path d="M410.188 105.25c-30.5-19.785-69.782-19.781-100.282.008L109.742 235.145a43.26 43.26 0 0 0-19.719 36.292v1.97a44.48 44.48 0 0 0 20.735 36.16l248.887 156.91L609.16 309.805a44.47 44.47 0 0 0 20.824-37.664v38.168l.008-38.965a43.28 43.28 0 0 0-19.722-36.301Zm0 0" style="stroke:none;fill-rule:nonzero;fill:url(#microsoft-outlook-2025-radial0)"/><path d="M315.77 630.05h220.449c51.777 0 93.75-41.972 93.75-93.75V272.14a44.48 44.48 0 0 1-20.82 37.665l-327.907 205.89a60.71 60.71 0 0 0-28.422 51.414c.004 34.762 28.184 62.942 62.95 62.942m0 0" style="stroke:none;fill-rule:nonzero;fill:url(#microsoft-outlook-2025-linear5)"/><path d="M315.77 630.05h220.449c51.777 0 93.75-41.972 93.75-93.75V272.14a44.48 44.48 0 0 1-20.82 37.665l-327.907 205.89a60.71 60.71 0 0 0-28.422 51.414c.004 34.762 28.184 62.942 62.95 62.942m0 0" style="stroke:none;fill-rule:nonzero;fill:url(#microsoft-outlook-2025-radial1)"/><path d="M315.77 630.05h220.449c51.777 0 93.75-41.972 93.75-93.75V272.14a44.48 44.48 0 0 1-20.82 37.665l-327.907 205.89a60.71 60.71 0 0 0-28.422 51.414c.004 34.762 28.184 62.942 62.95 62.942m0 0" style="stroke:none;fill-rule:nonzero;fill:url(#microsoft-outlook-2025-radial2)"/><path d="M405.402 630.035H183.738c-51.777 0-93.75-41.972-93.75-93.75v-264.34a44.47 44.47 0 0 0 20.754 37.621l327.582 206.52a61.74 61.74 0 0 1 28.809 52.226c-.004 34.09-27.64 61.723-61.73 61.723m0 0" style="stroke:none;fill-rule:nonzero;fill:url(#microsoft-outlook-2025-radial3)"/><path d="M405.402 630.035H183.738c-51.777 0-93.75-41.972-93.75-93.75v-264.34a44.47 44.47 0 0 0 20.754 37.621l327.582 206.52a61.74 61.74 0 0 1 28.809 52.226c-.004 34.09-27.64 61.723-61.73 61.723m0 0" style="stroke:none;fill-rule:nonzero;fill:url(#microsoft-outlook-2025-linear6)"/><path d="M108.75 345h142.5c26.926 0 48.75 21.824 48.75 48.75v142.5c0 26.926-21.824 48.75-48.75 48.75h-142.5C81.824 585 60 563.176 60 536.25v-142.5C60 366.824 81.824 345 108.75 345m0 0" style="stroke:none;fill-rule:nonzero;fill:url(#microsoft-outlook-2025-radial4)"/><path d="M108.75 345h142.5c26.926 0 48.75 21.824 48.75 48.75v142.5c0 26.926-21.824 48.75-48.75 48.75h-142.5C81.824 585 60 563.176 60 536.25v-142.5C60 366.824 81.824 345 108.75 345m0 0" style="stroke:none;fill-rule:nonzero;fill:url(#microsoft-outlook-2025-radial5)"/><path d="M179.387 534q-29.77-.001-48.875-18.625-19.11-18.622-19.11-48.605c0-21.11 6.465-38.18 19.395-51.22Q150.195 396 181.594 396q29.67 0 48.297 18.715c12.484 12.476 18.726 28.93 18.726 49.351 0 20.985-6.469 37.899-19.398 50.75Q209.919 534 179.387 534m.574-26.352q16.225 0 26.117-11.082c6.594-7.386 9.89-17.664 9.89-30.824q-.001-20.577-9.6-32.031-9.605-11.454-25.638-11.453-16.518 0-26.597 11.824-10.083 11.736-10.082 31.102 0 19.652 10.082 31.101 10.078 11.362 25.828 11.363m0 0" style="stroke:none;fill-rule:nonzero;fill:#fff;fill-opacity:1"/><path d="M179.332 535.848q-29.655.001-48.691-19.13-19.034-19.131-19.036-49.929 0-32.525 19.325-52.61 19.324-20.09 50.601-20.09 29.555.001 48.114 19.227 18.654 19.23 18.652 50.7c0 21.55-6.442 38.93-19.32 52.129q-19.23 19.704-49.645 19.703m.57-27.067c10.778 0 19.453-3.797 26.02-11.383q9.853-11.384 9.851-31.664 0-21.138-9.562-32.902-9.567-11.766-25.54-11.766-16.457-.002-26.5 12.149c-6.694 8.031-10.042 18.683-10.042 31.945q0 20.185 10.043 31.95 10.043 11.67 25.73 11.671m0 0" style="stroke:none;fill-rule:nonzero;fill:#fff;fill-opacity:1"/></g></svg>diff --git a/packages/twenty-ui/src/assets/icons/microsoft.svg b/packages/twenty-ui/src/assets/icons/microsoft.svgnew file mode 100644index 00000000000..404ad3eb770--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/microsoft.svg@@ -0,0 +1,7 @@+<?xml version="1.0" encoding="utf-8"?>+<svg width="800px" height="800px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="none">+ <path fill="#F35325" d="M1 1h6.5v6.5H1V1z"/>+ <path fill="#81BC06" d="M8.5 1H15v6.5H8.5V1z"/>+ <path fill="#05A6F0" d="M1 8.5h6.5V15H1V8.5z"/>+ <path fill="#FFBA08" d="M8.5 8.5H15V15H8.5V8.5z"/>+</svg>\ No newline at end of filediff --git a/packages/twenty-ui/src/assets/icons/mistral.svg b/packages/twenty-ui/src/assets/icons/mistral.svgnew file mode 100644index 00000000000..36d5da9f6fe--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/mistral.svg@@ -0,0 +1,3 @@+<svg width="24" height="24" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">+<path d="M8.92783 8.88101H13.357V13.3088H17.7861V17.738H17.7835H22.2152V13.3088H26.6418V8.88101H31.0722V26.5949H35.5V31.0241H22.2139V26.5962H17.7861V22.1671H13.3557V26.5949L17.7861 26.5962V31.0241H4.5V26.5949H8.92783V8.88101ZM22.2139 26.5962H26.6418V22.1671H22.2152V26.5962H22.2139Z" fill="#FF7000"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/openai.svg b/packages/twenty-ui/src/assets/icons/openai.svgnew file mode 100644index 00000000000..000f65c34aa--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/openai.svg@@ -0,0 +1,3 @@+<svg width="24" height="24" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">+<path d="M32.8377 17.282C33.2127 16.25 33.3072 15.218 33.2127 14.1875C33.1197 13.1571 32.7447 12.1251 32.2752 11.1876C31.4322 9.78209 30.2127 8.6571 28.8072 8.0001C27.3072 7.34461 25.7127 7.15711 24.1197 7.53211C23.3698 6.78212 22.5253 6.12512 21.5878 5.65713C20.6503 5.18913 19.5253 5.00013 18.4948 5.00013C16.8851 4.99074 15.3125 5.48246 13.9948 6.40712C12.6824 7.34311 11.7449 8.6571 11.2754 10.1571C10.1504 10.4376 9.21289 10.9071 8.27539 11.4696C7.4324 12.1251 6.77541 12.9696 6.21291 13.8126C5.36992 15.2195 5.08792 16.8125 5.27542 18.407C5.46399 19.9968 6.11605 21.496 7.1504 22.718C6.79608 23.7086 6.66795 24.7659 6.77541 25.8124C6.86991 26.8444 7.2449 27.8749 7.7129 28.8124C8.55739 30.2194 9.77538 31.3444 11.1824 31.9999C12.6824 32.6569 14.2753 32.8444 15.8698 32.4694C16.6198 33.2194 17.4628 33.8749 18.4003 34.3444C19.3378 34.8139 20.4628 34.9999 21.4948 34.9999C23.1043 35.0097 24.6769 34.5185 25.9947 33.5944C27.3072 32.6569 28.2447 31.3444 28.7127 29.8444C29.7719 29.6432 30.7682 29.1934 31.6197 28.5319C32.4627 27.8749 33.2127 27.1249 33.6822 26.1874C34.5251 24.7819 34.8071 23.1875 34.6196 21.5945C34.4322 20 33.8697 18.5015 32.8377 17.282ZM21.5878 33.0304C20.0878 33.0304 18.9628 32.5609 17.9323 31.7179C17.9323 31.7179 18.0253 31.6234 18.1198 31.6234L24.1197 28.1554C24.2862 28.0803 24.4196 27.9469 24.4947 27.7804C24.5698 27.636 24.6021 27.4731 24.5877 27.3109V18.875L27.1197 20.375V27.3124C27.1455 28.0547 27.0215 28.7945 26.755 29.4878C26.4885 30.181 26.085 30.8134 25.5687 31.3473C25.0523 31.8811 24.4337 32.3054 23.7497 32.5949C23.0658 32.8843 22.3305 33.0314 21.5878 33.0304ZM9.49488 27.8749C8.83789 26.7499 8.55739 25.4374 8.83789 24.125C8.83789 24.125 8.93239 24.2195 9.02539 24.2195L15.0253 27.6874C15.1693 27.7638 15.3325 27.7966 15.4948 27.7819C15.6823 27.7819 15.8698 27.7819 15.9628 27.6874L23.2753 23.4695V26.3749L17.1823 29.9374C16.5506 30.3042 15.8527 30.5427 15.1287 30.6393C14.4046 30.7358 13.6686 30.6884 12.9629 30.4999C11.4629 30.1249 10.2449 29.1874 9.49488 27.8749ZM7.9004 14.8445C8.56239 13.7234 9.58826 12.8627 10.8074 12.4056V19.532C10.8074 19.718 10.8074 19.907 10.9004 20C10.9755 20.1665 11.1089 20.2998 11.2754 20.375L18.5878 24.5944L16.0573 26.0944L10.0574 22.625C9.41842 22.2639 8.85742 21.7797 8.40684 21.2004C7.95627 20.6211 7.62506 19.9582 7.4324 19.25C7.05741 17.8445 7.1504 16.157 7.9004 14.8445ZM28.6197 19.625L21.3073 15.407L23.8377 13.9071L29.8377 17.375C30.7752 17.9375 31.5252 18.6875 31.9947 19.625C32.4642 20.5625 32.7447 21.5945 32.6502 22.7195C32.5603 23.7755 32.1699 24.7837 31.5252 25.6249C30.8697 26.4694 30.0252 27.1249 28.9947 27.4999V20.375C28.9947 20.1875 28.9947 20 28.9002 19.907C28.9002 19.907 28.8072 19.718 28.6197 19.625ZM31.1502 15.875C31.1502 15.875 31.0572 15.782 30.9627 15.782L24.9627 12.3126C24.7752 12.2196 24.6822 12.2196 24.4947 12.2196C24.3072 12.2196 24.1197 12.2196 24.0252 12.3126L16.7128 16.532V13.6251L22.8073 10.0626C23.7448 9.50009 24.7752 9.31259 25.9002 9.31259C26.9322 9.31259 27.9627 9.68759 28.9002 10.3446C29.7447 11.0001 30.4947 11.8446 30.8697 12.7821C31.2447 13.7196 31.3377 14.8445 31.1502 15.875ZM15.4003 21.125L12.8699 19.625V12.5946C12.8699 11.5626 13.1503 10.4376 13.7128 9.59459C14.2753 8.6571 15.1198 8.0001 16.0573 7.53211C17.0127 7.05249 18.0956 6.88812 19.1503 7.06261C20.1823 7.15711 21.2128 7.62511 22.0573 8.2821C22.0573 8.2821 21.9628 8.3751 21.8698 8.3751L15.8698 11.8446C15.7033 11.9197 15.57 12.0531 15.4948 12.2196C15.4003 12.4071 15.4003 12.5001 15.4003 12.6876V21.125ZM16.7128 18.125L19.9948 16.25L23.2753 18.125V21.875L19.9948 23.75L16.7128 21.875V18.125Z" fill="currentColor"/>+</svg>diff --git a/packages/twenty-ui/src/assets/icons/trash-x-off.svg b/packages/twenty-ui/src/assets/icons/trash-x-off.svgnew file mode 100644index 00000000000..24e730edf33--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/trash-x-off.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="tabler-icon tabler-icon-trash-x ">+ <path d="M3 3l18 18"></path>+ <path d="M4 7h16"></path>+ <path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12"></path>+ <path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3"></path>+ <path d="M10 12l4 4m0 -4l-4 4"></path>+</svg>\ No newline at end of filediff --git a/packages/twenty-ui/src/assets/icons/twenty-star-filled.svg b/packages/twenty-ui/src/assets/icons/twenty-star-filled.svgnew file mode 100644index 00000000000..b9b018fb799--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/twenty-star-filled.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none">+<path d="M6.06216 1.53416C6.38434 0.663593 7.61566 0.663591 7.93784 1.53416L9.00134 4.40789C9.10263 4.68158 9.31842 4.89737 9.59211 4.99866L12.4658 6.06216C13.3364 6.38434 13.3364 7.61566 12.4658 7.93784L9.59211 9.00134C9.31842 9.10263 9.10263 9.31842 9.00134 9.59211L7.93784 12.4658C7.61566 13.3364 6.38434 13.3364 6.06216 12.4658L4.99866 9.59211C4.89737 9.31842 4.68158 9.10263 4.40789 9.00134L1.53416 7.93784C0.663593 7.61566 0.663591 6.38434 1.53416 6.06216L4.40789 4.99866C4.68158 4.89737 4.89737 4.68158 4.99866 4.40789L6.06216 1.53416Z" fill="currentColor"/>+</svg>\ No newline at end of filediff --git a/packages/twenty-ui/src/assets/icons/twenty-star.svg b/packages/twenty-ui/src/assets/icons/twenty-star.svgnew file mode 100644index 00000000000..9d2200996cc--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/twenty-star.svg@@ -0,0 +1,3 @@+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">+ <path d="M10.4673 3.06709C10.9938 1.64431 13.0062 1.6443 13.5327 3.06709L15.2708 7.76367C15.4364 8.21097 15.789 8.56364 16.2363 8.72917L20.9329 10.4673C22.3557 10.9938 22.3557 13.0062 20.9329 13.5327L16.2363 15.2708C15.789 15.4364 15.4364 15.789 15.2708 16.2363L13.5327 20.9329C13.0062 22.3557 10.9938 22.3557 10.4673 20.9329L8.72917 16.2363C8.56364 15.789 8.21097 15.4364 7.76367 15.2708L3.06709 13.5327C1.64431 13.0062 1.6443 10.9938 3.06709 10.4673L7.76367 8.72917C8.21097 8.56364 8.56364 8.21097 8.72917 7.76367L10.4673 3.06709Z" stroke="currentColor" />+</svg>diff --git a/packages/twenty-ui/src/assets/icons/xai.svg b/packages/twenty-ui/src/assets/icons/xai.svgnew file mode 100644index 00000000000..ccd22443c49--- /dev/null+++ b/packages/twenty-ui/src/assets/icons/xai.svg@@ -0,0 +1,3 @@+<svg width="24" height="24" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">+<path d="M12.4579 15.6036L26.1529 35H20.0656L6.37059 15.6036H12.4579ZM12.4524 26.3764L15.4974 30.6909L12.4551 35H6.36377L12.4524 26.3764ZM33.6365 7.15727V35H28.647V14.2236L33.6365 7.15727ZM33.6365 5L20.0656 24.2205L17.0206 19.9073L27.5451 5H33.6365Z" fill="currentColor"/>+</svg>diff --git a/packages/twenty-ui/src/assets/misc/list-view-grip.svg b/packages/twenty-ui/src/assets/misc/list-view-grip.svgnew file mode 100644index 00000000000..b8a82f167f6--- /dev/null+++ b/packages/twenty-ui/src/assets/misc/list-view-grip.svg@@ -0,0 +1,5 @@+<svg width="8" height="32" xmlns="http://www.w3.org/2000/svg" fill="none">+ <path stroke="null" id="svg_1" fill="#D6D6D6" d="m0,7.5l4.5,0c0.82843,0 1.5,0.67157 1.5,1.5c0,0.82843 -0.67157,1.5 -1.5,1.5l-4.5,0l0,-3z"/>+ <path id="svg_2" fill="#D6D6D6" d="m0,14.5l4.5,0c0.82843,0 1.5,0.6716 1.5,1.5c0,0.8284 -0.67157,1.5 -1.5,1.5l-4.5,0l0,-3z"/>+ <path id="svg_3" fill="#D6D6D6" d="m0,21.5l4.5,0c0.82843,0 1.5,0.6716 1.5,1.5c0,0.8284 -0.67157,1.5 -1.5,1.5l-4.5,0l0,-3z"/>+</svg>diff --git a/packages/twenty-ui/src/assets/themes/dark-noise.jpg b/packages/twenty-ui/src/assets/themes/dark-noise.jpgnew file mode 100644index 00000000000..6fc95715e9dBinary files /dev/null and b/packages/twenty-ui/src/assets/themes/dark-noise.jpg differdiff --git a/packages/twenty-ui/src/assets/themes/light-noise.png b/packages/twenty-ui/src/assets/themes/light-noise.pngnew file mode 100644index 00000000000..d7b3bc2c064Binary files /dev/null and b/packages/twenty-ui/src/assets/themes/light-noise.png differdiff --git a/packages/twenty-ui/src/components/Pill/Pill.module.scss b/packages/twenty-ui/src/components/Pill/Pill.module.scssnew file mode 100644index 00000000000..b3638527c07--- /dev/null+++ b/packages/twenty-ui/src/components/Pill/Pill.module.scss@@ -0,0 +1,15 @@+.pill {+ align-items: center;+ background: var(--t-background-transparent-light);+ border-radius: var(--t-border-radius-pill);+ color: var(--t-font-color-light);+ display: inline-flex;+ font-size: var(--t-font-size-xs);+ font-style: normal;+ font-weight: var(--t-font-weight-medium);+ gap: var(--t-spacing-1);+ height: var(--t-spacing-4);+ justify-content: flex-end;+ line-height: var(--t-text-line-height-lg);+ padding: 0 var(--t-spacing-2);+}diff --git a/packages/twenty-ui/src/components/Pill/Pill.module.scss.d.ts b/packages/twenty-ui/src/components/Pill/Pill.module.scss.d.tsnew file mode 100644index 00000000000..a576c6a318b--- /dev/null+++ b/packages/twenty-ui/src/components/Pill/Pill.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly pill: 'pill';+};+export default classNames;diff --git a/packages/twenty-ui/src/components/Pill/Pill.tsx b/packages/twenty-ui/src/components/Pill/Pill.tsxnew file mode 100644index 00000000000..894639dc127--- /dev/null+++ b/packages/twenty-ui/src/components/Pill/Pill.tsx@@ -0,0 +1,19 @@+import { type IconComponent } from '@ui/display';+import { clsx } from 'clsx';++import styles from './Pill.module.scss';++type PillProps = {+ className?: string;+ label?: string;+ Icon?: IconComponent;+};++export const Pill = ({ className, label, Icon }: PillProps) => {+ return (+ <span className={clsx(styles.pill, className)}>+ {Icon && <Icon size={12} />}+ {label}+ </span>+ );+};diff --git a/packages/twenty-ui/src/components/Pill/__stories__/Pill.stories.ts b/packages/twenty-ui/src/components/Pill/__stories__/Pill.stories.tsnew file mode 100644index 00000000000..4dbd4738422--- /dev/null+++ b/packages/twenty-ui/src/components/Pill/__stories__/Pill.stories.ts@@ -0,0 +1,21 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { Pill } from '@ui/components/Pill/Pill';+import { ComponentDecorator } from '../../../testing/decorators/ComponentDecorator';++const meta: Meta<typeof Pill> = {+ title: 'UI/Display/Pill',+ component: Pill,+ decorators: [ComponentDecorator],+ args: {+ label: 'Soon',+ },+};++export default meta;+type Story = StoryObj<typeof Pill>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+};diff --git a/packages/twenty-ui/src/components/avatar-or-icon/AvatarOrIcon.module.scss b/packages/twenty-ui/src/components/avatar-or-icon/AvatarOrIcon.module.scssnew file mode 100644index 00000000000..1843b2a50ef--- /dev/null+++ b/packages/twenty-ui/src/components/avatar-or-icon/AvatarOrIcon.module.scss@@ -0,0 +1,21 @@+.iconWithBackgroundContainer {+ display: flex;+ align-items: center;+ justify-content: center;+ width: 14px;+ height: 14px;+ border-radius: 4px;+ background-color: var(+ --avatar-or-icon-background,+ var(--t-background-inverted-secondary)+ );+}++.wrapper {+ cursor: inherit;+ display: flex;++ &[data-clickable] {+ cursor: pointer;+ }+}diff --git a/packages/twenty-ui/src/components/avatar-or-icon/AvatarOrIcon.module.scss.d.ts b/packages/twenty-ui/src/components/avatar-or-icon/AvatarOrIcon.module.scss.d.tsnew file mode 100644index 00000000000..545cc9c2ae3--- /dev/null+++ b/packages/twenty-ui/src/components/avatar-or-icon/AvatarOrIcon.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly iconWithBackgroundContainer: 'iconWithBackgroundContainer';+ readonly wrapper: 'wrapper';+};+export default classNames;diff --git a/packages/twenty-ui/src/components/avatar-or-icon/AvatarOrIcon.tsx b/packages/twenty-ui/src/components/avatar-or-icon/AvatarOrIcon.tsxnew file mode 100644index 00000000000..7efd3ef3624--- /dev/null+++ b/packages/twenty-ui/src/components/avatar-or-icon/AvatarOrIcon.tsx@@ -0,0 +1,91 @@+import { Avatar } from '@ui/display/avatar/components/Avatar';+import { type AvatarType } from '@ui/display/avatar/types/AvatarType';+import { type IconComponent } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';+import { type Nullable } from '@ui/utilities';+import { useContext } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++import styles from './AvatarOrIcon.module.scss';++export type AvatarOrIconProps = {+ placeholder?: string;+ avatarUrl?: string;+ avatarType?: Nullable<AvatarType>;+ Icon?: IconComponent;+ IconColor?: string;+ IconBackgroundColor?: string;+ isIconInverted?: boolean;+ placeholderColorSeed?: string;+ onClick?: () => void;+};++export const AvatarOrIcon = ({+ Icon,+ placeholderColorSeed,+ avatarType,+ avatarUrl,+ placeholder,+ isIconInverted = false,+ IconColor,+ IconBackgroundColor,+ onClick,+}: AvatarOrIconProps) => {+ const { theme } = useContext(ThemeContext);++ if (!isDefined(Icon)) {+ return (+ <Avatar+ avatarUrl={avatarUrl}+ placeholderColorSeed={placeholderColorSeed}+ placeholder={placeholder}+ size="sm"+ type={avatarType}+ onClick={onClick}+ />+ );+ }++ const isClickable = isDefined(onClick);++ if (isIconInverted || isDefined(IconBackgroundColor)) {+ return (+ <div+ className={styles.wrapper}+ data-clickable={isClickable || undefined}+ onClick={onClick}+ >+ <div+ className={styles.iconWithBackgroundContainer}+ style={+ isDefined(IconBackgroundColor)+ ? ({+ '--avatar-or-icon-background': IconBackgroundColor,+ } as React.CSSProperties)+ : undefined+ }+ >+ <Icon+ color={theme.font.color.inverted}+ size={theme.icon.size.sm}+ stroke={theme.icon.stroke.sm}+ />+ </div>+ </div>+ );+ }++ return (+ <div+ className={styles.wrapper}+ data-clickable={isClickable || undefined}+ onClick={onClick}+ >+ <Icon+ size={theme.icon.size.sm}+ stroke={theme.icon.stroke.sm}+ color={IconColor || 'currentColor'}+ />+ </div>+ );+};diff --git a/packages/twenty-ui/src/components/avatar-or-icon/__stories__/AvatarOrIcon.stories.tsx b/packages/twenty-ui/src/components/avatar-or-icon/__stories__/AvatarOrIcon.stories.tsxnew file mode 100644index 00000000000..8b26d33d1ad--- /dev/null+++ b/packages/twenty-ui/src/components/avatar-or-icon/__stories__/AvatarOrIcon.stories.tsx@@ -0,0 +1,64 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconBuildingSkyscraper, IconUser } from '@ui/display';+import { ComponentDecorator, JotaiRootDecorator } from '@ui/testing';+import { AvatarOrIcon } from '../AvatarOrIcon';++const meta: Meta<typeof AvatarOrIcon> = {+ title: 'UI/Components/AvatarOrIcon',+ component: AvatarOrIcon,+ decorators: [ComponentDecorator, JotaiRootDecorator],+};++export default meta;+type Story = StoryObj<typeof AvatarOrIcon>;++export const Default: Story = {+ args: {+ placeholder: 'JD',+ placeholderColorSeed: 'John Doe',+ },+};++export const WithAvatar: Story = {+ args: {+ avatarUrl: 'https://i.pravatar.cc/300',+ placeholder: 'JD',+ placeholderColorSeed: 'John Doe',+ },+};++export const WithIcon: Story = {+ args: {+ Icon: IconUser,+ },+};++export const WithIconBackground: Story = {+ args: {+ Icon: IconBuildingSkyscraper,+ isIconInverted: true,+ },+};++export const WithInvertedIcon: Story = {+ args: {+ Icon: IconUser,+ isIconInverted: true,+ },+};++export const Clickable: Story = {+ args: {+ placeholder: 'JD',+ placeholderColorSeed: 'John Doe',+ onClick: () => alert('AvatarOrIcon clicked'),+ },+};++export const ClickableIcon: Story = {+ args: {+ Icon: IconBuildingSkyscraper,+ isIconInverted: true,+ onClick: () => alert('Icon AvatarOrIcon clicked'),+ },+};diff --git a/packages/twenty-ui/src/components/chip/Chip.module.scss b/packages/twenty-ui/src/components/chip/Chip.module.scssnew file mode 100644index 00000000000..b1cb285c224--- /dev/null+++ b/packages/twenty-ui/src/components/chip/Chip.module.scss@@ -0,0 +1,110 @@+.chip {+ --chip-horizontal-padding: var(--t-spacing-1);+ --chip-vertical-padding: var(--t-spacing-1);++ // Height and max-width are sized against the content box.+ box-sizing: content-box;+ text-decoration: none;+ align-items: center;+ cursor: inherit;+ display: inline-flex;+ justify-content: flex-start;+ gap: var(--t-spacing-1);+ max-width: 100%;+ overflow: hidden;+ padding: var(--chip-vertical-padding) var(--chip-horizontal-padding);+ user-select: none;+ font-weight: inherit;+ background-color: inherit;+ border: none;+ border-radius: var(--t-border-radius-sm);++ & > svg {+ flex-shrink: 0;+ }+}++.sizeLarge {+ height: var(--t-spacing-4);+}++.sizeSmall {+ height: var(--t-spacing-3);+}++.accentTextPrimary {+ color: var(--t-font-color-primary);+}++.accentTextSecondary {+ color: var(--t-font-color-secondary);+}++// Disabled color wins over accent colors, matching the Linaria ternary order.+.disabled {+ color: var(--t-font-color-light);+}++.fontMedium {+ font-weight: var(--t-font-weight-medium);+}++.cursorPointer {+ cursor: pointer;+}++.cursorNotAllowed {+ cursor: not-allowed;+}++.backgroundHighlighted {+ background-color: var(--t-background-transparent-light);++ &:hover {+ background-color: var(--t-background-transparent-medium);+ }++ &:active {+ background-color: var(--t-background-transparent-strong);+ }+}++.backgroundStatic {+ background-color: var(--t-background-transparent-light);++ &:hover {+ background-color: var(--t-background-transparent-light);+ }++ &:active {+ background-color: var(--t-background-transparent-light);+ }+}++// Applied only when variant is regular, clickable and not disabled.+.interactiveRegular {+ &:hover {+ background-color: var(--t-background-transparent-light);+ }++ &:active {+ background-color: var(--t-background-transparent-medium);+ }+}++.hasMaxWidth {+ max-width: calc(var(--chip-max-width) - 2 * var(--chip-horizontal-padding));+}++.paddingLeftNone {+ padding-left: var(--t-spacing-0);+}++.emptyLabel {+ color: var(--t-font-color-tertiary);+}++.rightComponentDivider {+ align-self: stretch;+ border-left: 1px solid var(--t-border-color-light);+}diff --git a/packages/twenty-ui/src/components/chip/Chip.module.scss.d.ts b/packages/twenty-ui/src/components/chip/Chip.module.scss.d.tsnew file mode 100644index 00000000000..eb38f2abac1--- /dev/null+++ b/packages/twenty-ui/src/components/chip/Chip.module.scss.d.ts@@ -0,0 +1,19 @@+declare const classNames: {+ readonly chip: 'chip';+ readonly sizeLarge: 'sizeLarge';+ readonly sizeSmall: 'sizeSmall';+ readonly accentTextPrimary: 'accentTextPrimary';+ readonly accentTextSecondary: 'accentTextSecondary';+ readonly disabled: 'disabled';+ readonly fontMedium: 'fontMedium';+ readonly cursorPointer: 'cursorPointer';+ readonly cursorNotAllowed: 'cursorNotAllowed';+ readonly backgroundHighlighted: 'backgroundHighlighted';+ readonly backgroundStatic: 'backgroundStatic';+ readonly interactiveRegular: 'interactiveRegular';+ readonly hasMaxWidth: 'hasMaxWidth';+ readonly paddingLeftNone: 'paddingLeftNone';+ readonly emptyLabel: 'emptyLabel';+ readonly rightComponentDivider: 'rightComponentDivider';+};+export default classNames;diff --git a/packages/twenty-ui/src/components/chip/Chip.tsx b/packages/twenty-ui/src/components/chip/Chip.tsxnew file mode 100644index 00000000000..ac91fc78509--- /dev/null+++ b/packages/twenty-ui/src/components/chip/Chip.tsx@@ -0,0 +1,149 @@+import { type ReactNode } from 'react';++import { isNonEmptyString } from '@sniptt/guards';+import { OverflowingTextWithTooltip } from '@ui/display/tooltip/OverflowingTextWithTooltip';+import { clsx } from 'clsx';+import { isDefined } from '@ui/utilities/utils/isDefined';++import styles from './Chip.module.scss';++export enum ChipSize {+ Large = 'large',+ Small = 'small',+}++export enum ChipAccent {+ TextPrimary = 'text-primary',+ TextSecondary = 'text-secondary',+}++export enum ChipVariant {+ Highlighted = 'highlighted',+ Regular = 'regular',+ Transparent = 'transparent',+ Rounded = 'rounded',+ Static = 'static',+}++export type ChipProps = {+ size?: ChipSize;+ disabled?: boolean;+ clickable?: boolean;+ label: string;+ tooltipLabel?: string;+ alwaysShowTooltip?: boolean;+ isLabelHidden?: boolean;+ isBold?: boolean;+ maxWidth?: number;+ variant?: ChipVariant;+ accent?: ChipAccent;+ leftComponent?: ReactNode | null;+ rightComponent?: (() => ReactNode) | ReactNode | null;+ rightComponentDivider?: boolean;+ className?: string;+ forceEmptyText?: boolean;+ emptyLabel?: string;+};++const renderRightComponent = (+ rightComponent: (() => ReactNode) | ReactNode | null,+ rightComponentDivider?: boolean,+) => {+ if (!rightComponent) {+ return null;+ }++ const rendered =+ typeof rightComponent === 'function' ? rightComponent() : rightComponent;++ if (rightComponentDivider === true) {+ return (+ <>+ <div className={styles.rightComponentDivider} />+ {rendered}+ </>+ );+ }++ return rendered;+};++export const Chip = ({+ size = ChipSize.Small,+ label,+ tooltipLabel,+ alwaysShowTooltip = false,+ isLabelHidden = false,+ isBold = false,+ disabled = false,+ clickable = true,+ variant = ChipVariant.Regular,+ leftComponent = null,+ rightComponent = null,+ rightComponentDivider = false,+ accent = ChipAccent.TextPrimary,+ className,+ maxWidth,+ forceEmptyText = false,+ emptyLabel = 'Untitled',+}: ChipProps) => {+ // Cursor precedence mirrors the Linaria ternary:+ // transparent > clickable > disabled > inherit.+ const cursorClass =+ variant === ChipVariant.Transparent+ ? undefined+ : clickable+ ? styles.cursorPointer+ : disabled+ ? styles.cursorNotAllowed+ : undefined;++ const backgroundClass =+ variant === ChipVariant.Highlighted+ ? styles.backgroundHighlighted+ : variant === ChipVariant.Static+ ? styles.backgroundStatic+ : variant === ChipVariant.Regular && !disabled && clickable+ ? styles.interactiveRegular+ : undefined;++ return (+ <div+ data-testid="chip"+ className={clsx(+ styles.chip,+ size === ChipSize.Large ? styles.sizeLarge : styles.sizeSmall,+ accent === ChipAccent.TextPrimary+ ? styles.accentTextPrimary+ : styles.accentTextSecondary,+ disabled && styles.disabled,+ (isBold || accent === ChipAccent.TextSecondary) && styles.fontMedium,+ cursorClass,+ backgroundClass,+ maxWidth ? styles.hasMaxWidth : undefined,+ variant === ChipVariant.Transparent && styles.paddingLeftNone,+ className,+ )}+ style={+ maxWidth+ ? ({ '--chip-max-width': `${maxWidth}px` } as React.CSSProperties)+ : undefined+ }+ >+ {leftComponent}+ {!isLabelHidden && isDefined(label) && isNonEmptyString(label) ? (+ <OverflowingTextWithTooltip+ size={size}+ text={label}+ tooltipContent={tooltipLabel}+ alwaysShowTooltip={alwaysShowTooltip}+ />+ ) : !forceEmptyText && !isLabelHidden ? (+ <div className={styles.emptyLabel}>{emptyLabel}</div>+ ) : (+ ''+ )}+ {renderRightComponent(rightComponent, rightComponentDivider)}+ </div>+ );+};diff --git a/packages/twenty-ui/src/components/chip/LinkChip.module.scss b/packages/twenty-ui/src/components/chip/LinkChip.module.scssnew file mode 100644index 00000000000..e5da170d022--- /dev/null+++ b/packages/twenty-ui/src/components/chip/LinkChip.module.scss@@ -0,0 +1,11 @@+.linkContainer {+ display: inline-flex;+ min-width: 0;+ vertical-align: middle;++ & > a {+ max-width: 100%;+ min-width: 0;+ text-decoration: none;+ }+}diff --git a/packages/twenty-ui/src/components/chip/LinkChip.module.scss.d.ts b/packages/twenty-ui/src/components/chip/LinkChip.module.scss.d.tsnew file mode 100644index 00000000000..b084afd07e1--- /dev/null+++ b/packages/twenty-ui/src/components/chip/LinkChip.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly linkContainer: 'linkContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/components/chip/LinkChip.tsx b/packages/twenty-ui/src/components/chip/LinkChip.tsxnew file mode 100644index 00000000000..d0559575237--- /dev/null+++ b/packages/twenty-ui/src/components/chip/LinkChip.tsx@@ -0,0 +1,82 @@+import {+ Chip,+ ChipAccent,+ type ChipProps,+ ChipSize,+ ChipVariant,+} from '@ui/components/chip/Chip';+import { LINK_CHIP_CLICK_OUTSIDE_ID } from '@ui/components/chip/constants/LinkChipClickOutsideId';+import { type TriggerEventType, useMouseDownNavigation } from '@ui/utilities';+import { type MouseEvent } from 'react';+import { Link } from 'react-router-dom';++import styles from './LinkChip.module.scss';++export type LinkChipProps = Omit<+ ChipProps,+ 'onClick' | 'disabled' | 'clickable'+> & {+ to: string;+ onClick?: (event: MouseEvent<HTMLElement>) => void;+ onMouseDown?: (event: MouseEvent<HTMLElement>) => void;+ triggerEvent?: TriggerEventType;+ target?: '_blank' | '_self';+};++export const LinkChip = ({+ to,+ size = ChipSize.Small,+ label,+ isLabelHidden = false,+ isBold = false,+ variant = ChipVariant.Regular,+ leftComponent = null,+ rightComponent = null,+ rightComponentDivider = false,+ accent = ChipAccent.TextPrimary,+ className,+ maxWidth,+ onClick,+ triggerEvent,+ target,+ emptyLabel,+}: LinkChipProps) => {+ const { onClick: onClickHandler, onMouseDown: onMouseDownHandler } =+ useMouseDownNavigation({+ to: to,+ onClick: onClick,+ triggerEvent,+ });++ return (+ <span className={styles.linkContainer}>+ <Link+ to={to}+ onClick={(event) => {+ event.stopPropagation();+ onClickHandler(event);+ }}+ onMouseDown={onMouseDownHandler}+ data-click-outside-id={LINK_CHIP_CLICK_OUTSIDE_ID}+ target={target}+ rel={target === '_blank' ? 'noopener noreferrer' : undefined}+ >+ <Chip+ size={size}+ label={label}+ isLabelHidden={isLabelHidden}+ isBold={isBold}+ clickable={true}+ variant={variant}+ leftComponent={leftComponent}+ rightComponent={rightComponent}+ rightComponentDivider={rightComponentDivider}+ accent={accent}+ className={className}+ maxWidth={maxWidth}+ emptyLabel={emptyLabel}+ />+ </Link>+ </span>+ );+};diff --git a/packages/twenty-ui/src/components/chip/__stories__/Chip.stories.tsx b/packages/twenty-ui/src/components/chip/__stories__/Chip.stories.tsxnew file mode 100644index 00000000000..1a4870ed7b8--- /dev/null+++ b/packages/twenty-ui/src/components/chip/__stories__/Chip.stories.tsx@@ -0,0 +1,204 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconUser, IconX } from '@ui/display';+import { Avatar } from '@ui/display/avatar/components/Avatar';++import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';++import { Chip, ChipAccent, ChipSize, ChipVariant } from '../Chip';++const meta: Meta<typeof Chip> = {+ title: 'UI/Components/Chip/Chip',+ component: Chip,+};++export default meta;+type Story = StoryObj<typeof Chip>;++export const Default: Story = {+ args: {+ label: 'Chip test',+ size: ChipSize.Small,+ variant: ChipVariant.Highlighted,+ accent: ChipAccent.TextPrimary,+ disabled: false,+ clickable: true,+ maxWidth: 200,+ },+ decorators: [ComponentDecorator],+};++export const WithLeftAvatar: Story = {+ args: {+ label: 'John Doe',+ clickable: true,+ variant: ChipVariant.Regular,+ leftComponent: (+ <Avatar+ placeholder="JD"+ placeholderColorSeed="John Doe"+ size="sm"+ type="rounded"+ />+ ),+ },+ decorators: [ComponentDecorator],+};++export const WithLeftIcon: Story = {+ args: {+ label: 'Company',+ clickable: true,+ variant: ChipVariant.Regular,+ leftComponent: <IconUser size={14} />,+ },+ decorators: [ComponentDecorator],+};++export const EmptyLabel: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ label: '',+ clickable: true,+ variant: ChipVariant.Regular,+ leftComponent: (+ <Avatar placeholder="?" placeholderColorSeed="empty" size="sm" />+ ),+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof Chip> = {+ args: { clickable: true, label: 'Hello' },+ argTypes: {+ size: { control: false },+ variant: { control: false },+ accent: { control: false },+ disabled: { control: false },+ className: { control: false },+ rightComponent: { control: false },+ leftComponent: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.active'] },+ catalog: {+ dimensions: [+ {+ name: 'variants',+ values: Object.values(ChipVariant),+ props: (variant: ChipVariant) => ({ variant }),+ },+ {+ name: 'sizes',+ values: Object.values(ChipSize),+ props: (size: ChipSize) => ({ size }),+ },+ {+ name: 'states',+ values: ['default', 'hover', 'active', 'disabled'],+ props: (state: string) => {+ switch (state) {+ case 'hover':+ case 'active':+ return { className: state };+ case 'disabled':+ return { disabled: true };+ default:+ return {};+ }+ },+ },+ {+ name: 'accents',+ values: Object.values(ChipAccent),+ props: (accent: ChipAccent) => ({ accent }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};++export const WithAvatarCatalog: CatalogStory<Story, typeof Chip> = {+ args: {+ clickable: true,+ label: 'John Doe',+ leftComponent: (+ <Avatar+ placeholder="JD"+ placeholderColorSeed="John Doe"+ size="sm"+ type="rounded"+ />+ ),+ },+ argTypes: {+ size: { control: false },+ variant: { control: false },+ accent: { control: false },+ disabled: { control: false },+ className: { control: false },+ rightComponent: { control: false },+ leftComponent: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.active'] },+ catalog: {+ dimensions: [+ {+ name: 'variants',+ values: Object.values(ChipVariant),+ props: (variant: ChipVariant) => ({ variant }),+ },+ {+ name: 'sizes',+ values: Object.values(ChipSize),+ props: (size: ChipSize) => ({ size }),+ },+ {+ name: 'states',+ values: ['default', 'hover', 'active', 'disabled'],+ props: (state: string) => {+ switch (state) {+ case 'hover':+ case 'active':+ return { className: state };+ case 'disabled':+ return { disabled: true };+ default:+ return {};+ }+ },+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};++export const WithRightComponentDivider: Story = {+ args: {+ label: 'document.pdf',+ variant: ChipVariant.Static,+ clickable: false,+ leftComponent: (+ <Avatar+ placeholder="D"+ placeholderColorSeed="document"+ size="sm"+ type="squared"+ />+ ),+ rightComponent: <IconX size={14} />,+ rightComponentDivider: true,+ },+ decorators: [ComponentDecorator],+};diff --git a/packages/twenty-ui/src/components/chip/__stories__/LinkChip.stories.tsx b/packages/twenty-ui/src/components/chip/__stories__/LinkChip.stories.tsxnew file mode 100644index 00000000000..e6956cf1f71--- /dev/null+++ b/packages/twenty-ui/src/components/chip/__stories__/LinkChip.stories.tsx@@ -0,0 +1,190 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconUser, IconX } from '@ui/display';+import { Avatar } from '@ui/display/avatar/components/Avatar';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { MemoryRouter } from 'react-router-dom';++import { ChipAccent, ChipSize, ChipVariant } from '../Chip';+import { LinkChip } from '../LinkChip';++const meta: Meta<typeof LinkChip> = {+ title: 'UI/Components/Chip/LinkChip',+ component: LinkChip,+ decorators: [+ (Story) => (+ <MemoryRouter>+ <Story />+ </MemoryRouter>+ ),+ ],+};++export default meta;+type Story = StoryObj<typeof LinkChip>;++export const Default: Story = {+ args: {+ label: 'Link Chip',+ to: '/example',+ size: ChipSize.Small,+ variant: ChipVariant.Regular,+ accent: ChipAccent.TextPrimary,+ },+ decorators: [ComponentDecorator],+};++export const WithAvatar: Story = {+ args: {+ label: 'John Doe',+ to: '/users/john-doe',+ variant: ChipVariant.Regular,+ leftComponent: (+ <Avatar+ placeholder="JD"+ placeholderColorSeed="John Doe"+ size="sm"+ type="rounded"+ />+ ),+ },+ decorators: [ComponentDecorator],+};++export const WithIcon: Story = {+ args: {+ label: 'Company',+ to: '/companies/1',+ variant: ChipVariant.Regular,+ leftComponent: <IconUser size={14} />,+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof LinkChip> = {+ args: { label: 'Link Chip', to: '/example' },+ argTypes: {+ size: { control: false },+ variant: { control: false },+ accent: { control: false },+ className: { control: false },+ rightComponent: { control: false },+ leftComponent: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.active'] },+ catalog: {+ dimensions: [+ {+ name: 'variants',+ values: Object.values(ChipVariant),+ props: (variant: ChipVariant) => ({ variant }),+ },+ {+ name: 'sizes',+ values: Object.values(ChipSize),+ props: (size: ChipSize) => ({ size }),+ },+ {+ name: 'states',+ values: ['default', 'hover', 'active'],+ props: (state: string) => {+ switch (state) {+ case 'hover':+ case 'active':+ return { className: state };+ default:+ return {};+ }+ },+ },+ {+ name: 'accents',+ values: Object.values(ChipAccent),+ props: (accent: ChipAccent) => ({ accent }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};++export const WithAvatarCatalog: CatalogStory<Story, typeof LinkChip> = {+ args: {+ label: 'John Doe',+ to: '/users/john-doe',+ leftComponent: (+ <Avatar+ placeholder="JD"+ placeholderColorSeed="John Doe"+ size="sm"+ type="rounded"+ />+ ),+ },+ argTypes: {+ size: { control: false },+ variant: { control: false },+ accent: { control: false },+ className: { control: false },+ rightComponent: { control: false },+ leftComponent: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.active'] },+ catalog: {+ dimensions: [+ {+ name: 'variants',+ values: Object.values(ChipVariant),+ props: (variant: ChipVariant) => ({ variant }),+ },+ {+ name: 'sizes',+ values: Object.values(ChipSize),+ props: (size: ChipSize) => ({ size }),+ },+ {+ name: 'states',+ values: ['default', 'hover', 'active'],+ props: (state: string) => {+ switch (state) {+ case 'hover':+ case 'active':+ return { className: state };+ default:+ return {};+ }+ },+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};++export const WithRightComponentDivider: Story = {+ args: {+ label: 'document.pdf',+ to: '/files/document.pdf',+ variant: ChipVariant.Static,+ leftComponent: (+ <Avatar+ placeholder="D"+ placeholderColorSeed="document"+ size="sm"+ type="squared"+ />+ ),+ rightComponent: <IconX size={14} />,+ rightComponentDivider: true,+ },+ decorators: [ComponentDecorator],+};diff --git a/packages/twenty-ui/src/components/chip/constants/LinkChipClickOutsideId.ts b/packages/twenty-ui/src/components/chip/constants/LinkChipClickOutsideId.tsnew file mode 100644index 00000000000..1e2a2a55e23--- /dev/null+++ b/packages/twenty-ui/src/components/chip/constants/LinkChipClickOutsideId.ts@@ -0,0 +1 @@+export const LINK_CHIP_CLICK_OUTSIDE_ID = 'link-chip-click-outside-id';diff --git a/packages/twenty-ui/src/components/index.ts b/packages/twenty-ui/src/components/index.tsindex a3046804c03..cecc41633de 100644--- a/packages/twenty-ui/src/components/index.ts+++ b/packages/twenty-ui/src/components/index.ts@@ -7,4 +7,13 @@* |___/*/-export {};+export type { AvatarOrIconProps } from './avatar-or-icon/AvatarOrIcon';+export { AvatarOrIcon } from './avatar-or-icon/AvatarOrIcon';+export type { ChipProps } from './chip/Chip';+export { ChipSize, ChipAccent, ChipVariant, Chip } from './chip/Chip';+export { LINK_CHIP_CLICK_OUTSIDE_ID } from './chip/constants/LinkChipClickOutsideId';+export type { LinkChipProps } from './chip/LinkChip';+export { LinkChip } from './chip/LinkChip';+export { Pill } from './Pill/Pill';+export type { TagColor } from './tag/Tag';+export { Tag } from './tag/Tag';diff --git a/packages/twenty-ui/src/components/tag/Tag.module.scss b/packages/twenty-ui/src/components/tag/Tag.module.scssnew file mode 100644index 00000000000..63ffa107808--- /dev/null+++ b/packages/twenty-ui/src/components/tag/Tag.module.scss@@ -0,0 +1,55 @@+.tag {+ box-sizing: content-box;+ align-items: center;+ background: var(--tag-background);+ border-radius: var(--t-border-radius-sm);+ color: var(--tag-text);+ display: inline-flex;+ font-size: var(--t-font-size-md);+ font-style: normal;+ font-weight: var(--t-font-weight-regular);+ height: var(--t-spacing-5);+ margin: 0;+ overflow: hidden;+ padding: 0 var(--t-spacing-2);+ border: none;+ gap: var(--t-spacing-1);+ // 'none' is not a valid min-width value; kept for byte-equivalence with the+ // deprecated Linaria styles where the declaration was equally inert.+ min-width: none;+}++.weightMedium {+ font-weight: var(--t-font-weight-medium);+}++.variantOutline {+ border: 1px dashed var(--t-border-color-strong);+}++.variantBorder {+ border: 1px solid var(--t-border-color-strong);+}++.preventShrink {+ min-width: fit-content;+}++.preventPadding {+ padding: 0;+}++.content {+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;+}++.nonShrinkableText {+ white-space: nowrap;+ width: fit-content;+}++.iconContainer {+ display: flex;+}diff --git a/packages/twenty-ui/src/components/tag/Tag.module.scss.d.ts b/packages/twenty-ui/src/components/tag/Tag.module.scss.d.tsnew file mode 100644index 00000000000..cce3a01c588--- /dev/null+++ b/packages/twenty-ui/src/components/tag/Tag.module.scss.d.ts@@ -0,0 +1,12 @@+declare const classNames: {+ readonly tag: 'tag';+ readonly weightMedium: 'weightMedium';+ readonly variantOutline: 'variantOutline';+ readonly variantBorder: 'variantBorder';+ readonly preventShrink: 'preventShrink';+ readonly preventPadding: 'preventPadding';+ readonly content: 'content';+ readonly nonShrinkableText: 'nonShrinkableText';+ readonly iconContainer: 'iconContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/components/tag/Tag.tsx b/packages/twenty-ui/src/components/tag/Tag.tsxnew file mode 100644index 00000000000..7b2439c0c6f--- /dev/null+++ b/packages/twenty-ui/src/components/tag/Tag.tsx@@ -0,0 +1,87 @@+import { type IconComponent } from '@ui/display/icon/types/IconComponent';+import { OverflowingTextWithTooltip } from '@ui/display/tooltip/OverflowingTextWithTooltip';+import { type ThemeColor } from '@ui/theme';+import { ThemeContext, themeCssVariables } from '@ui/theme-constants';+import { clsx } from 'clsx';+import { useContext } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++import styles from './Tag.module.scss';++type TagWeight = 'regular' | 'medium';+type TagVariant = 'solid' | 'outline' | 'border';+export type TagColor = ThemeColor | 'transparent';++type TagProps = {+ className?: string;+ color: TagColor;+ text: string;+ Icon?: IconComponent;+ onClick?: () => void;+ weight?: TagWeight;+ variant?: TagVariant;+ preventShrink?: boolean;+ preventPadding?: boolean;+};++export const Tag = ({+ className,+ color,+ text,+ Icon,+ onClick,+ weight = 'regular',+ variant = 'solid',+ preventShrink,+ preventPadding,+}: TagProps) => {+ const { theme } = useContext(ThemeContext);++ const tagBackground =+ color === 'transparent'+ ? 'transparent'+ : (themeCssVariables.tag.background[color] ??+ themeCssVariables.tag.background.gray);++ const tagText =+ color === 'transparent'+ ? themeCssVariables.font.color.secondary+ : (themeCssVariables.tag.text[color] ??+ themeCssVariables.font.color.secondary);++ return (+ <span+ className={clsx(+ styles.tag,+ weight === 'medium' && styles.weightMedium,+ variant === 'outline' && styles.variantOutline,+ variant === 'border' && styles.variantBorder,+ preventShrink && styles.preventShrink,+ preventPadding && styles.preventPadding,+ className,+ )}+ onClick={onClick}+ style={+ {+ '--tag-background': tagBackground,+ '--tag-text': tagText,+ } as React.CSSProperties+ }+ >+ {isDefined(Icon) ? (+ <div className={styles.iconContainer}>+ <Icon size={theme.icon.size.sm} stroke={theme.icon.stroke.sm} />+ </div>+ ) : (+ <></>+ )}+ {preventShrink ? (+ <span className={styles.nonShrinkableText}>{text}</span>+ ) : (+ <span className={styles.content}>+ <OverflowingTextWithTooltip text={text} />+ </span>+ )}+ </span>+ );+};diff --git a/packages/twenty-ui/src/components/tag/__stories__/Tag.stories.tsx b/packages/twenty-ui/src/components/tag/__stories__/Tag.stories.tsxnew file mode 100644index 00000000000..ce27486d448--- /dev/null+++ b/packages/twenty-ui/src/components/tag/__stories__/Tag.stories.tsx@@ -0,0 +1,113 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { expect, fn, userEvent, within } from 'storybook/test';++import { IconUser } from '@ui/display/icon/components/TablerIcons';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { type ThemeColor, MAIN_COLOR_NAMES } from '@ui/theme';++import { Tag } from '../Tag';++const meta: Meta<typeof Tag> = {+ title: 'UI/Display/Tag/Tag',+ component: Tag,+ args: {+ text: 'Urgent',+ },+};++export default meta;+type Story = StoryObj<typeof Tag>;++export const Default: Story = {+ args: {+ color: 'red',+ onClick: fn(),+ },+ decorators: [ComponentDecorator],+ play: async ({ canvasElement, args }) => {+ const canvas = within(canvasElement);++ const tag = canvas.getByText('Urgent');++ await userEvent.click(tag);+ await expect(args.onClick).toHaveBeenCalled();+ },+};++export const WithLongText: Story = {+ decorators: [ComponentDecorator],+ args: {+ color: 'green',+ text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit',+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ container: { width: 100 },+ },+};++export const WithIcon: Story = {+ decorators: [ComponentDecorator],+ args: {+ color: 'green',+ text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit',+ Icon: IconUser,+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ container: { width: 100 },+ },+};++export const DontShrink: Story = {+ decorators: [ComponentDecorator],+ args: {+ color: 'green',+ text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit',+ preventShrink: true,+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ container: { width: 100 },+ },+};++export const Catalog: CatalogStory<Story, typeof Tag> = {+ argTypes: {+ color: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'colors',+ values: MAIN_COLOR_NAMES,+ props: (color: ThemeColor) => ({ color }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};++export const EmptyTag: Story = {+ decorators: [ComponentDecorator],+ args: {+ color: 'transparent',+ text: 'No Value',+ variant: 'outline',+ weight: 'medium',+ },+ parameters: {+ container: { width: 'auto' },+ },+};diff --git a/packages/twenty-ui/src/display/avatar/components/Avatar.module.scss b/packages/twenty-ui/src/display/avatar/components/Avatar.module.scssnew file mode 100644index 00000000000..a34d225baaf--- /dev/null+++ b/packages/twenty-ui/src/display/avatar/components/Avatar.module.scss@@ -0,0 +1,66 @@+// Size values mirror AVATAR_PROPERTIES_BY_SIZE (constants/AvatarPropertiesBySize.ts)+.root {+ align-items: center;+ flex-shrink: 0;+ overflow: hidden;+ user-select: none;+ border-radius: 2px;+ border: var(--avatar-border, none);+ box-sizing: border-box;+ display: flex;+ justify-content: center;+ color: var(--avatar-color);+ background: var(--avatar-background);++ &[data-type='icon'] {+ border-radius: 4px;+ }++ &[data-type='rounded'] {+ border-radius: 50%;+ }++ &[data-clickable]:hover {+ box-shadow: 0 0 0 4px var(--t-background-transparent-light);+ }+}++.xl {+ font-size: 16px;+ height: 40px;+ width: 40px;+}++.lg {+ font-size: 13px;+ height: 24px;+ width: 24px;+}++.md {+ font-size: 12px;+ height: 16px;+ width: 16px;+}++.sm {+ font-size: 10px;+ height: 14px;+ width: 14px;+}++.xs {+ font-size: 8px;+ height: 12px;+ width: 12px;+}++.image {+ height: 100%;+ object-fit: cover;+ width: 100%;+}++.placeholderChar {+ font-weight: 500;+}diff --git a/packages/twenty-ui/src/display/avatar/components/Avatar.module.scss.d.ts b/packages/twenty-ui/src/display/avatar/components/Avatar.module.scss.d.tsnew file mode 100644index 00000000000..52e8e87219a--- /dev/null+++ b/packages/twenty-ui/src/display/avatar/components/Avatar.module.scss.d.ts@@ -0,0 +1,11 @@+declare const classNames: {+ readonly root: 'root';+ readonly xl: 'xl';+ readonly lg: 'lg';+ readonly md: 'md';+ readonly sm: 'sm';+ readonly xs: 'xs';+ readonly image: 'image';+ readonly placeholderChar: 'placeholderChar';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/avatar/components/Avatar.tsx b/packages/twenty-ui/src/display/avatar/components/Avatar.tsxnew file mode 100644index 00000000000..56c35204783--- /dev/null+++ b/packages/twenty-ui/src/display/avatar/components/Avatar.tsx@@ -0,0 +1,146 @@+import { isNonEmptyString, isNull, isUndefined } from '@sniptt/guards';+import { clsx } from 'clsx';+import { useAtom } from 'jotai';+import { useContext } from 'react';++import { invalidAvatarUrlsAtomV2 } from '@ui/display/avatar/components/states/invalidAvatarUrlsAtomV2';+import { type AvatarSize } from '@ui/display/avatar/types/AvatarSize';+import { type AvatarType } from '@ui/display/avatar/types/AvatarType';+import { type IconComponent } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';+import { stringToThemeColorP3String } from '@ui/utilities';+import { REACT_APP_SERVER_BASE_URL } from '@ui/utilities/config';+import { type Nullable } from '@ui/utilities/types/Nullable';+import { getImageAbsoluteURI } from '@ui/utilities/utils/getImageAbsoluteURI';++import styles from './Avatar.module.scss';++export type AvatarProps = {+ avatarUrl?: string | null;+ className?: string;+ size?: AvatarSize;+ placeholder: string | undefined;+ placeholderColorSeed?: string;+ Icon?: IconComponent;+ iconColor?: string;+ type?: Nullable<AvatarType>;+ color?: string;+ backgroundColor?: string;+ borderColor?: string;+ onClick?: () => void;+};++export const Avatar = ({+ avatarUrl,+ className,+ size = 'md',+ placeholder,+ placeholderColorSeed = placeholder,+ Icon,+ iconColor,+ onClick,+ type = 'squared',+ color,+ backgroundColor,+ borderColor,+}: AvatarProps) => {+ const { theme } = useContext(ThemeContext);++ const [invalidAvatarUrls, setInvalidAvatarUrls] = useAtom(+ invalidAvatarUrlsAtomV2,+ );++ const avatarImageURI = isNonEmptyString(avatarUrl)+ ? getImageAbsoluteURI({+ imageUrl: avatarUrl,+ baseUrl: REACT_APP_SERVER_BASE_URL,+ })+ : null;++ const placeholderFirstChar = placeholder?.trim()?.charAt(0);+ const isPlaceholderFirstCharEmpty =+ !placeholderFirstChar || placeholderFirstChar === '';+ const placeholderChar = placeholderFirstChar?.toUpperCase() || '-';++ const showPlaceholder =+ isNull(avatarImageURI) || invalidAvatarUrls.includes(avatarImageURI);++ const handleImageError = () => {+ if (isNonEmptyString(avatarImageURI)) {+ setInvalidAvatarUrls((prev) => [...prev, avatarImageURI]);+ }+ };++ const fixedColor = isPlaceholderFirstCharEmpty+ ? theme.font.color.tertiary+ : (color ??+ stringToThemeColorP3String({+ string: placeholderColorSeed ?? '',+ variant: 12,+ theme,+ }));+ const fixedBackgroundColor = isPlaceholderFirstCharEmpty+ ? theme.background.transparent.light+ : (backgroundColor ??+ stringToThemeColorP3String({+ string: placeholderColorSeed ?? '',+ variant: type === 'app' ? 5 : 4,+ theme,+ }));++ const fixedBorderColor =+ type === 'app'+ ? (borderColor ??+ (isPlaceholderFirstCharEmpty+ ? undefined+ : stringToThemeColorP3String({+ string: placeholderColorSeed ?? '',+ variant: 6,+ theme,+ })))+ : undefined;++ const showBackgroundColor = showPlaceholder;++ const showBorderColor = showPlaceholder;++ const appliedBorderColor = showBorderColor ? fixedBorderColor : undefined;++ const avatarStyle = {+ '--avatar-color': fixedColor,+ '--avatar-background': Icon+ ? 'inherit'+ : showBackgroundColor+ ? fixedBackgroundColor+ : 'none',+ ...(type === 'app' && appliedBorderColor+ ? { '--avatar-border': `1px solid ${appliedBorderColor}` }+ : {}),+ } as React.CSSProperties;++ return (+ <div+ className={clsx(styles.root, styles[size], className)}+ data-type={type ?? undefined}+ data-clickable={!isUndefined(onClick) ? true : undefined}+ onClick={onClick}+ style={avatarStyle}+ >+ {Icon ? (+ <Icon+ color={iconColor ? iconColor : 'currentColor'}+ size={theme.icon.size.xl}+ />+ ) : showPlaceholder ? (+ <span className={styles.placeholderChar}>{placeholderChar}</span>+ ) : (+ <img+ className={styles.image}+ src={avatarImageURI}+ onError={handleImageError}+ alt=""+ />+ )}+ </div>+ );+};diff --git a/packages/twenty-ui/src/display/avatar/components/AvatarGroup.module.scss b/packages/twenty-ui/src/display/avatar/components/AvatarGroup.module.scssnew file mode 100644index 00000000000..68c8c0de25b--- /dev/null+++ b/packages/twenty-ui/src/display/avatar/components/AvatarGroup.module.scss@@ -0,0 +1,12 @@+.container {+ align-items: center;+ display: flex;+}++.itemContainer {+ margin-right: -3px;++ &:last-child {+ margin-right: 0;+ }+}diff --git a/packages/twenty-ui/src/display/avatar/components/AvatarGroup.module.scss.d.ts b/packages/twenty-ui/src/display/avatar/components/AvatarGroup.module.scss.d.tsnew file mode 100644index 00000000000..605772e081c--- /dev/null+++ b/packages/twenty-ui/src/display/avatar/components/AvatarGroup.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly container: 'container';+ readonly itemContainer: 'itemContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/avatar/components/AvatarGroup.tsx b/packages/twenty-ui/src/display/avatar/components/AvatarGroup.tsxnew file mode 100644index 00000000000..0b38fd19ed8--- /dev/null+++ b/packages/twenty-ui/src/display/avatar/components/AvatarGroup.tsx@@ -0,0 +1,23 @@+import { type ReactNode } from 'react';++import styles from './AvatarGroup.module.scss';++export type AvatarGroupProps = {+ avatars: ReactNode[];+};++const MAX_AVATARS_NB = 4;++export const AvatarGroup = ({ avatars }: AvatarGroupProps) => {+ if (!avatars.length) return null;++ return (+ <div className={styles.container}>+ {avatars.slice(0, MAX_AVATARS_NB).map((avatar, index) => (+ <div className={styles.itemContainer} key={index}>+ {avatar}+ </div>+ ))}+ </div>+ );+};diff --git a/packages/twenty-ui/src/display/avatar/components/__stories__/Avatar.stories.tsx b/packages/twenty-ui/src/display/avatar/components/__stories__/Avatar.stories.tsxnew file mode 100644index 00000000000..2d3146926e5--- /dev/null+++ b/packages/twenty-ui/src/display/avatar/components/__stories__/Avatar.stories.tsx@@ -0,0 +1,50 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import {+ AVATAR_URL_MOCK,+ ComponentDecorator,+ JotaiRootDecorator,+} from '@ui/testing';++import { Avatar } from '../Avatar';++const meta: Meta<typeof Avatar> = {+ title: 'Modules/Users/Avatar',+ component: Avatar,+ decorators: [ComponentDecorator, JotaiRootDecorator],+ args: {+ avatarUrl: AVATAR_URL_MOCK,+ size: 'md',+ placeholder: 'E',+ type: 'rounded',+ },+};++export default meta;+type Story = StoryObj<typeof Avatar>;++export const Rounded: Story = {};++export const Squared: Story = {+ args: { type: 'squared' },+};++export const NoAvatarPictureRounded: Story = {+ args: { avatarUrl: '' },+};++export const NoAvatarPictureSquared: Story = {+ args: {+ ...NoAvatarPictureRounded.args,+ ...Squared.args,+ },+};++export const App: Story = {+ args: {+ type: 'app',+ avatarUrl: '',+ placeholder: 'Acme',+ placeholderColorSeed: 'acme-app',+ },+};diff --git a/packages/twenty-ui/src/display/avatar/components/__stories__/AvatarGroup.stories.tsx b/packages/twenty-ui/src/display/avatar/components/__stories__/AvatarGroup.stories.tsxnew file mode 100644index 00000000000..6d8833f83bc--- /dev/null+++ b/packages/twenty-ui/src/display/avatar/components/__stories__/AvatarGroup.stories.tsx@@ -0,0 +1,70 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { Avatar, type AvatarProps } from '@ui/display/avatar/components/Avatar';+import { type AvatarSize } from '@ui/display/avatar/types/AvatarSize';+import { type AvatarType } from '@ui/display/avatar/types/AvatarType';+import {+ AVATAR_URL_MOCK,+ CatalogDecorator,+ ComponentDecorator,+ JotaiRootDecorator,+} from '@ui/testing';++import { AvatarGroup, type AvatarGroupProps } from '../AvatarGroup';++const makeAvatar = (userName: string, props: Partial<AvatarProps> = {}) => (+ // oxlint-disable-next-line react/jsx-props-no-spreading+ <Avatar placeholder={userName} placeholderColorSeed={userName} {...props} />+);++const getAvatars = (commonProps: Partial<AvatarProps> = {}) => [+ makeAvatar('Matthew', { avatarUrl: AVATAR_URL_MOCK, ...commonProps }),+ makeAvatar('Sophie', commonProps),+ makeAvatar('Jane', commonProps),+ makeAvatar('Lily', commonProps),+ makeAvatar('John', commonProps),+];++const meta: Meta<+ AvatarGroupProps & AvatarProps & { numberOfAvatars?: number }+> = {+ title: 'Modules/Users/AvatarGroup',+ component: AvatarGroup,+ render: ({ numberOfAvatars = 5, ...args }) => (+ <AvatarGroup avatars={getAvatars(args).slice(0, numberOfAvatars)} />+ ),+};++export default meta;+type Story = StoryObj<typeof AvatarGroup>;++export const Default: Story = {+ decorators: [ComponentDecorator, JotaiRootDecorator],+};++export const Catalog: Story = {+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'number of avatars',+ values: [1, 2, 3, 4, 5],+ props: (numberOfAvatars: number) => ({ numberOfAvatars }),+ },+ {+ name: 'types',+ values: ['rounded', 'squared'] as AvatarType[],+ props: (type: AvatarType) => ({ type }),+ },+ {+ name: 'sizes',+ values: ['xs', 'sm', 'md', 'lg', 'xl'] as AvatarSize[],+ props: (size: AvatarSize) => ({ size }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator, JotaiRootDecorator],+};diff --git a/packages/twenty-ui/src/display/avatar/components/states/invalidAvatarUrlsAtomV2.ts b/packages/twenty-ui/src/display/avatar/components/states/invalidAvatarUrlsAtomV2.tsnew file mode 100644index 00000000000..94ae8d03b3c--- /dev/null+++ b/packages/twenty-ui/src/display/avatar/components/states/invalidAvatarUrlsAtomV2.ts@@ -0,0 +1,4 @@+import { atom } from 'jotai';++export const invalidAvatarUrlsAtomV2 = atom<string[]>([]);+invalidAvatarUrlsAtomV2.debugLabel = 'invalidAvatarUrlsAtomV2';diff --git a/packages/twenty-ui/src/display/avatar/constants/AvatarPropertiesBySize.ts b/packages/twenty-ui/src/display/avatar/constants/AvatarPropertiesBySize.tsnew file mode 100644index 00000000000..e44c170cc26--- /dev/null+++ b/packages/twenty-ui/src/display/avatar/constants/AvatarPropertiesBySize.ts@@ -0,0 +1,22 @@+export const AVATAR_PROPERTIES_BY_SIZE = {+ xl: {+ fontSize: '16px',+ width: '40px',+ },+ lg: {+ fontSize: '13px',+ width: '24px',+ },+ md: {+ fontSize: '12px',+ width: '16px',+ },+ sm: {+ fontSize: '10px',+ width: '14px',+ },+ xs: {+ fontSize: '8px',+ width: '12px',+ },+};diff --git a/packages/twenty-ui/src/display/avatar/types/AvatarSize.ts b/packages/twenty-ui/src/display/avatar/types/AvatarSize.tsnew file mode 100644index 00000000000..db1915e1718--- /dev/null+++ b/packages/twenty-ui/src/display/avatar/types/AvatarSize.ts@@ -0,0 +1 @@+export type AvatarSize = 'xl' | 'lg' | 'md' | 'sm' | 'xs';diff --git a/packages/twenty-ui/src/display/avatar/types/AvatarType.ts b/packages/twenty-ui/src/display/avatar/types/AvatarType.tsnew file mode 100644index 00000000000..90bf7e685f8--- /dev/null+++ b/packages/twenty-ui/src/display/avatar/types/AvatarType.ts@@ -0,0 +1 @@+export type AvatarType = 'squared' | 'rounded' | 'icon' | 'app';diff --git a/packages/twenty-ui/src/display/banner/components/Banner.module.scss b/packages/twenty-ui/src/display/banner/components/Banner.module.scssnew file mode 100644index 00000000000..944e358b53d--- /dev/null+++ b/packages/twenty-ui/src/display/banner/components/Banner.module.scss@@ -0,0 +1,39 @@+.banner {+ align-items: center;+ box-sizing: border-box;+ display: flex;+ font-family: Inter;+ font-size: var(--t-font-size-md);+ font-style: normal;+ font-weight: var(--t-font-weight-medium);+ gap: var(--t-spacing-3);+ justify-content: center;+ line-height: 150%;+ min-height: 40px;+ padding: var(--t-spacing-2);+ width: 100%;+}++.primaryBlue {+ backdrop-filter: blur(5px);+ background: var(--t-color-blue);+ color: var(--t-font-color-inverted);+}++.primaryDanger {+ backdrop-filter: blur(5px);+ background: var(--t-color-red);+ color: var(--t-font-color-inverted);+}++.secondaryBlue {+ backdrop-filter: none;+ background: var(--t-background-transparent-blue);+ color: var(--t-color-blue);+}++.secondaryDanger {+ backdrop-filter: none;+ background: var(--t-background-transparent-danger);+ color: var(--t-color-red);+}diff --git a/packages/twenty-ui/src/display/banner/components/Banner.module.scss.d.ts b/packages/twenty-ui/src/display/banner/components/Banner.module.scss.d.tsnew file mode 100644index 00000000000..d8caafc2201--- /dev/null+++ b/packages/twenty-ui/src/display/banner/components/Banner.module.scss.d.ts@@ -0,0 +1,8 @@+declare const classNames: {+ readonly banner: 'banner';+ readonly primaryBlue: 'primaryBlue';+ readonly primaryDanger: 'primaryDanger';+ readonly secondaryBlue: 'secondaryBlue';+ readonly secondaryDanger: 'secondaryDanger';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/banner/components/Banner.tsx b/packages/twenty-ui/src/display/banner/components/Banner.tsxnew file mode 100644index 00000000000..53d9dcfd650--- /dev/null+++ b/packages/twenty-ui/src/display/banner/components/Banner.tsx@@ -0,0 +1,44 @@+import { clsx } from 'clsx';++import styles from './Banner.module.scss';++export type BannerColor = 'blue' | 'danger';++export type BannerVariant = 'primary' | 'secondary';++const BANNER_VARIANT_COLOR_CLASS_NAMES = {+ primary: {+ blue: styles.primaryBlue,+ danger: styles.primaryDanger,+ },+ secondary: {+ blue: styles.secondaryBlue,+ danger: styles.secondaryDanger,+ },+} as const;++type BannerProps = {+ color?: BannerColor;+ variant?: BannerVariant;+ className?: string;+ children: React.ReactNode;+};++export const Banner = ({+ color = 'blue',+ variant = 'primary',+ className,+ children,+}: BannerProps) => {+ return (+ <div+ className={clsx(+ styles.banner,+ BANNER_VARIANT_COLOR_CLASS_NAMES[variant][color],+ className,+ )}+ >+ {children}+ </div>+ );+};diff --git a/packages/twenty-ui/src/display/banner/components/InlineBanner.module.scss b/packages/twenty-ui/src/display/banner/components/InlineBanner.module.scssnew file mode 100644index 00000000000..23dbcdd0df4--- /dev/null+++ b/packages/twenty-ui/src/display/banner/components/InlineBanner.module.scss@@ -0,0 +1,15 @@+.banner {+ border-radius: var(--t-border-radius-md);+ margin-bottom: var(--t-spacing-4);+}++.bannerContent {+ align-items: center;+ display: flex;+ flex: 1;+ gap: var(--t-spacing-2);+}++.bannerText {+ flex: 1;+}diff --git a/packages/twenty-ui/src/display/banner/components/InlineBanner.module.scss.d.ts b/packages/twenty-ui/src/display/banner/components/InlineBanner.module.scss.d.tsnew file mode 100644index 00000000000..c3c16a1e1b9--- /dev/null+++ b/packages/twenty-ui/src/display/banner/components/InlineBanner.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly banner: 'banner';+ readonly bannerContent: 'bannerContent';+ readonly bannerText: 'bannerText';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/banner/components/InlineBanner.tsx b/packages/twenty-ui/src/display/banner/components/InlineBanner.tsxnew file mode 100644index 00000000000..9044dee3a11--- /dev/null+++ b/packages/twenty-ui/src/display/banner/components/InlineBanner.tsx@@ -0,0 +1,53 @@+import { clsx } from 'clsx';+import { useContext } from 'react';+import { ThemeContext } from '@ui/theme-constants';+import { Button } from '@ui/input/button/components/Button/Button';+import { type IconComponent } from '@ui/display/icon/types/IconComponent';+import { IconInfoCircle } from '@ui/display/icon/components/TablerIcons';+import { Banner, type BannerColor } from './Banner';++import styles from './InlineBanner.module.scss';++type InlineBannerProps = {+ color?: BannerColor;+ message: string;+ button?: {+ title?: string;+ onClick?: () => void;+ hidden?: boolean;+ };+ LeftIcon?: IconComponent;+ className?: string;+};++export const InlineBanner = ({+ color,+ message,+ button,+ LeftIcon = IconInfoCircle,+ className,+}: InlineBannerProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <Banner+ className={clsx(styles.banner, className)}+ color={color}+ variant={'secondary'}+ >+ <div className={styles.bannerContent}>+ <LeftIcon size={theme.icon.size.md} />+ <span className={styles.bannerText}>{message}</span>+ </div>+ {button && !button.hidden && (+ <Button+ size="small"+ variant="secondary"+ accent={color}+ title={button?.title}+ onClick={button?.onClick}+ />+ )}+ </Banner>+ );+};diff --git a/packages/twenty-ui/src/display/banner/components/SidePanelInformationBanner.module.scss b/packages/twenty-ui/src/display/banner/components/SidePanelInformationBanner.module.scssnew file mode 100644index 00000000000..360daf9e18d--- /dev/null+++ b/packages/twenty-ui/src/display/banner/components/SidePanelInformationBanner.module.scss@@ -0,0 +1,32 @@+.banner {+ align-items: center;+ background-color: var(--t-accent-secondary);+ border-radius: var(--t-border-radius-md);+ box-sizing: border-box;+ display: flex;+ gap: var(--t-spacing-2);+ padding: var(--t-spacing-2);+ width: 100%;+}++.iconContainer {+ align-items: center;+ color: var(--t-color-blue);+ display: flex;+ flex-shrink: 0;+ height: 16px;+ justify-content: center;+ width: 16px;+}++.message {+ color: var(--t-color-blue);+ flex-grow: 1;+ font-family: var(--t-font-family);+ font-size: var(--t-font-size-sm);+ font-style: normal;+ font-weight: var(--t-font-weight-medium);+ line-height: 1.4;+ margin: 0;+ min-width: 0;+}diff --git a/packages/twenty-ui/src/display/banner/components/SidePanelInformationBanner.module.scss.d.ts b/packages/twenty-ui/src/display/banner/components/SidePanelInformationBanner.module.scss.d.tsnew file mode 100644index 00000000000..399d2e3aede--- /dev/null+++ b/packages/twenty-ui/src/display/banner/components/SidePanelInformationBanner.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly banner: 'banner';+ readonly iconContainer: 'iconContainer';+ readonly message: 'message';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/banner/components/SidePanelInformationBanner.tsx b/packages/twenty-ui/src/display/banner/components/SidePanelInformationBanner.tsxnew file mode 100644index 00000000000..d129eb2cdb8--- /dev/null+++ b/packages/twenty-ui/src/display/banner/components/SidePanelInformationBanner.tsx@@ -0,0 +1,50 @@+import { clsx } from 'clsx';+import { useId } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++import {+ IconAlertTriangle,+ IconInfoCircle,+} from '../../icon/components/TablerIcons';+import { AppTooltip } from '../../tooltip/AppTooltip';++import styles from './SidePanelInformationBanner.module.scss';++export type SidePanelInformationBannerProps = {+ message: string;+ className?: string;+ variant?: 'default' | 'warning';+ tooltipMessage?: string;+};++export const SidePanelInformationBanner = ({+ message,+ className,+ variant = 'default',+ tooltipMessage,+}: SidePanelInformationBannerProps) => {+ const tooltipId = useId();++ return (+ <div+ className={clsx(styles.banner, className)}+ data-tooltip-id={tooltipMessage ? tooltipId : undefined}+ >+ <div className={styles.iconContainer}>+ {variant === 'default' ? (+ <IconInfoCircle size={16} />+ ) : (+ <IconAlertTriangle size={16} />+ )}+ </div>+ <p className={styles.message}>{message}</p>+ {isDefined(tooltipMessage) && (+ <AppTooltip+ anchorSelect={`[data-tooltip-id='${tooltipId}']`}+ content={tooltipMessage}+ place="bottom"+ />+ )}+ </div>+ );+};diff --git a/packages/twenty-ui/src/display/banner/components/__stories__/Banner.stories.module.scss b/packages/twenty-ui/src/display/banner/components/__stories__/Banner.stories.module.scssnew file mode 100644index 00000000000..3459b395ad6--- /dev/null+++ b/packages/twenty-ui/src/display/banner/components/__stories__/Banner.stories.module.scss@@ -0,0 +1,15 @@+.bannerContent {+ align-items: center;+ display: flex;+ flex: 1;+ gap: 8px;+ justify-content: center;+}++.container {+ width: 100%;+}++.invertedIconButton {+ color: var(--t-font-color-inverted) !important;+}diff --git a/packages/twenty-ui/src/display/banner/components/__stories__/Banner.stories.module.scss.d.ts b/packages/twenty-ui/src/display/banner/components/__stories__/Banner.stories.module.scss.d.tsnew file mode 100644index 00000000000..ec6d7fac3e2--- /dev/null+++ b/packages/twenty-ui/src/display/banner/components/__stories__/Banner.stories.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly bannerContent: 'bannerContent';+ readonly container: 'container';+ readonly invertedIconButton: 'invertedIconButton';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/banner/components/__stories__/Banner.stories.tsx b/packages/twenty-ui/src/display/banner/components/__stories__/Banner.stories.tsxnew file mode 100644index 00000000000..b6804e02e02--- /dev/null+++ b/packages/twenty-ui/src/display/banner/components/__stories__/Banner.stories.tsx@@ -0,0 +1,133 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { IconX } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { Button } from '../../../../input/button/components/Button/Button';+import { IconButton } from '../../../../input/button/components/IconButton';+import { Banner, type BannerColor, type BannerVariant } from '../Banner';++import styles from './Banner.stories.module.scss';++const getButtonAccent = (color?: BannerColor) =>+ color === 'danger' ? 'danger' : 'blue';++const BannerCloseButton = ({+ color,+ variant,+}: {+ color?: BannerColor;+ variant?: BannerVariant;+}) =>+ variant === 'primary' ? (+ <IconButton+ className={styles.invertedIconButton}+ Icon={IconX}+ size="small"+ variant="tertiary"+ ariaLabel="Close"+ />+ ) : (+ <IconButton+ Icon={IconX}+ size="small"+ variant="tertiary"+ accent={getButtonAccent(color)}+ ariaLabel="Close"+ />+ );++const meta: Meta<typeof Banner> = {+ title: 'UI/Layout/Banner/Banner',+ component: Banner,+ argTypes: {+ color: {+ control: 'select',+ options: ['blue', 'danger'] satisfies BannerColor[],+ },+ variant: {+ control: 'select',+ options: ['primary', 'secondary'] satisfies BannerVariant[],+ },+ },+};++export default meta;+type Story = StoryObj<typeof Banner>;++export const Default: Story = {+ args: {+ color: 'blue',+ variant: 'primary',+ },+ render: (args) => (+ <div className={styles.container}>+ {/* oxlint-disable-next-line react/jsx-props-no-spreading */}+ <Banner {...args}>+ <div className={styles.bannerContent}>+ Sync lost with mailbox [email protected]. Please reconnect for updates:+ <Button+ variant="secondary"+ accent={getButtonAccent(args.color)}+ title="Reconnect"+ size="small"+ inverted={args.variant === 'primary'}+ />+ </div>+ <BannerCloseButton color={args.color} variant={args.variant} />+ </Banner>+ </div>+ ),+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof Banner> = {+ args: {},+ argTypes: {+ color: { control: false },+ variant: { control: false },+ },+ render: (args) => (+ // oxlint-disable-next-line react/jsx-props-no-spreading+ <Banner {...args}>+ <div className={styles.bannerContent}>+ Sync lost with mailbox [email protected]. Please reconnect for updates:+ <Button+ variant="secondary"+ accent={getButtonAccent(args.color)}+ title="Reconnect"+ size="small"+ inverted={args.variant === 'primary'}+ />+ </div>+ <BannerCloseButton color={args.color} variant={args.variant} />+ </Banner>+ ),+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'variant',+ values: ['primary', 'secondary'] satisfies BannerVariant[],+ props: (variant: BannerVariant) => ({ variant }),+ },+ {+ name: 'color',+ values: ['blue', 'danger'] satisfies BannerColor[],+ props: (color: BannerColor) => ({ color }),+ },+ ],+ options: {+ elementContainer: {+ width: 700,+ },+ },+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/display/banner/components/__stories__/SidePanelInformationBanner.stories.tsx b/packages/twenty-ui/src/display/banner/components/__stories__/SidePanelInformationBanner.stories.tsxnew file mode 100644index 00000000000..c67b6be985e--- /dev/null+++ b/packages/twenty-ui/src/display/banner/components/__stories__/SidePanelInformationBanner.stories.tsx@@ -0,0 +1,37 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { ComponentDecorator } from '@ui/testing';+import { SidePanelInformationBanner } from '../SidePanelInformationBanner';++const meta: Meta<typeof SidePanelInformationBanner> = {+ title: 'UI/Display/Banner/SidePanelInformationBanner',+ component: SidePanelInformationBanner,+ decorators: [ComponentDecorator],+};++export default meta;+type Story = StoryObj<typeof SidePanelInformationBanner>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ message: 'Max 200 bars per chart. Consider adding a filter',+ },+};++export const ShortMessage: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ message: 'Too many groups',+ },+};++export const LongMessage: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ message:+ 'The chart has exceeded the maximum number of 200 bars. Please consider adding filters to reduce the number of data points displayed.',+ },+};diff --git a/packages/twenty-ui/src/display/callout/Callout.module.scss b/packages/twenty-ui/src/display/callout/Callout.module.scssnew file mode 100644index 00000000000..db337e72c7b--- /dev/null+++ b/packages/twenty-ui/src/display/callout/Callout.module.scss@@ -0,0 +1,115 @@+.container {+ align-items: flex-start;+ border: 1px solid;+ border-radius: var(--t-border-radius-md);+ box-sizing: border-box;+ display: flex;+ flex-direction: column;+ gap: var(--t-spacing-2);+ max-width: 512px;+ padding: var(--t-spacing-3) var(--t-spacing-3) var(--t-spacing-2);+ width: 100%;+}++.containerInfo {+ background-color: var(--t-accent-accent1);+ border-color: var(--t-accent-accent6);+}++.containerWarning {+ background-color: var(--t-color-orange1);+ border-color: var(--t-color-orange6);+}++.containerSuccess {+ background-color: var(--t-color-turquoise1);+ border-color: var(--t-color-turquoise6);+}++.containerError {+ background-color: var(--t-color-red1);+ border-color: var(--t-color-red6);+}++.containerNeutral {+ background-color: var(--t-color-gray1);+ border-color: var(--t-color-gray6);+}++.header {+ align-items: center;+ align-self: stretch;+ display: flex;+ flex-direction: row;+ gap: var(--t-spacing-2);+ min-height: var(--t-spacing-6);+}++.iconContainer {+ display: flex;+ align-items: center;+ justify-content: center;+ flex-shrink: 0;+ height: var(--t-spacing-4);+ width: var(--t-spacing-4);+}++.iconContainerInfo {+ color: var(--t-accent-accent9);+}++.iconContainerWarning {+ color: var(--t-color-orange9);+}++.iconContainerSuccess {+ color: var(--t-color-turquoise9);+}++.iconContainerError {+ color: var(--t-color-red9);+}++.iconContainerNeutral {+ color: var(--t-color-gray9);+}++.title {+ flex: 1;+ color: var(--t-font-color-primary);+ font-family: var(--t-font-family);+ font-size: var(--t-font-size-md);+ font-weight: var(--t-font-weight-medium);+ line-height: 1.4;+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;+}++.descriptionWrapper {+ align-items: center;+ display: flex;+ align-self: stretch;+ padding-bottom: var(--t-spacing-2);+ padding-left: var(--t-spacing-6);+}++.descriptionWrapperWithAction {+ padding-bottom: 0;+}++.description {+ flex: 1;+ color: var(--t-font-color-tertiary);+ font-family: var(--t-font-family);+ font-size: var(--t-font-size-sm);+ font-weight: var(--t-font-weight-regular);+ line-height: 1.4;+}++.footer {+ align-items: center;+ align-self: stretch;+ display: flex;+ justify-content: flex-end;+}diff --git a/packages/twenty-ui/src/display/callout/Callout.module.scss.d.ts b/packages/twenty-ui/src/display/callout/Callout.module.scss.d.tsnew file mode 100644index 00000000000..c55e1c0f9de--- /dev/null+++ b/packages/twenty-ui/src/display/callout/Callout.module.scss.d.ts@@ -0,0 +1,21 @@+declare const classNames: {+ readonly container: 'container';+ readonly containerInfo: 'containerInfo';+ readonly containerWarning: 'containerWarning';+ readonly containerSuccess: 'containerSuccess';+ readonly containerError: 'containerError';+ readonly containerNeutral: 'containerNeutral';+ readonly header: 'header';+ readonly iconContainer: 'iconContainer';+ readonly iconContainerInfo: 'iconContainerInfo';+ readonly iconContainerWarning: 'iconContainerWarning';+ readonly iconContainerSuccess: 'iconContainerSuccess';+ readonly iconContainerError: 'iconContainerError';+ readonly iconContainerNeutral: 'iconContainerNeutral';+ readonly title: 'title';+ readonly descriptionWrapper: 'descriptionWrapper';+ readonly descriptionWrapperWithAction: 'descriptionWrapperWithAction';+ readonly description: 'description';+ readonly footer: 'footer';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/callout/Callout.tsx b/packages/twenty-ui/src/display/callout/Callout.tsxnew file mode 100644index 00000000000..18736159048--- /dev/null+++ b/packages/twenty-ui/src/display/callout/Callout.tsx@@ -0,0 +1,116 @@+import { clsx } from 'clsx';+import { useState } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++import { IconHelp, IconX } from '@ui/display/icon/components/TablerIcons';+import { type IconComponent } from '@ui/display/icon/types/IconComponent';+import { LightButton, LightIconButton } from '@ui/input';++import styles from './Callout.module.scss';++export type CalloutVariant =+ | 'info'+ | 'warning'+ | 'error'+ | 'neutral'+ | 'success';++const CALLOUT_CONTAINER_VARIANT_CLASS_NAMES: Record<CalloutVariant, string> = {+ info: styles.containerInfo,+ warning: styles.containerWarning,+ error: styles.containerError,+ neutral: styles.containerNeutral,+ success: styles.containerSuccess,+};++const CALLOUT_ICON_VARIANT_CLASS_NAMES: Record<CalloutVariant, string> = {+ info: styles.iconContainerInfo,+ warning: styles.iconContainerWarning,+ error: styles.iconContainerError,+ neutral: styles.iconContainerNeutral,+ success: styles.iconContainerSuccess,+};++export type CalloutProps = {+ variant: CalloutVariant;+ title: string;+ description: string;+ Icon?: IconComponent;+ action?: {+ label: string;+ onClick: () => void;+ };+ isClosable?: boolean;+ onClose?: () => void;+};++export const Callout = ({+ variant,+ title,+ description,+ Icon = IconHelp,+ action,+ isClosable = false,+ onClose,+}: CalloutProps) => {+ const [isVisible, setIsVisible] = useState(true);++ const handleClose = () => {+ if (!isClosable) {+ return;+ }++ setIsVisible(false);+ onClose?.();+ };++ if (!isVisible) {+ return null;+ }++ return (+ <div+ className={clsx(+ styles.container,+ CALLOUT_CONTAINER_VARIANT_CLASS_NAMES[variant],+ )}+ >+ <div className={styles.header}>+ <div+ className={clsx(+ styles.iconContainer,+ CALLOUT_ICON_VARIANT_CLASS_NAMES[variant],+ )}+ >+ <Icon size={16} />+ </div>+ <div className={styles.title}>{title}</div>+ {isClosable && (+ <LightIconButton+ Icon={IconX}+ size="small"+ aria-label="Close"+ onClick={handleClose}+ />+ )}+ </div>+ <div+ className={clsx(+ styles.descriptionWrapper,+ isDefined(action) && styles.descriptionWrapperWithAction,+ )}+ >+ <div className={styles.description}>{description}</div>+ </div>+ {isDefined(action) && (+ <div className={styles.footer}>+ <LightButton+ type="button"+ title={action.label}+ onClick={action.onClick}+ />+ </div>+ )}+ </div>+ );+};diff --git a/packages/twenty-ui/src/display/callout/__stories__/Callout.stories.tsx b/packages/twenty-ui/src/display/callout/__stories__/Callout.stories.tsxnew file mode 100644index 00000000000..48a232907c4--- /dev/null+++ b/packages/twenty-ui/src/display/callout/__stories__/Callout.stories.tsx@@ -0,0 +1,73 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';++import { Callout } from '@ui/display';+import { type CalloutVariant } from '@ui/display/callout/Callout';++const meta: Meta<typeof Callout> = {+ title: 'UI/Display/Callout',+ component: Callout,+};++export default meta;+type Story = StoryObj<typeof Callout>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ variant: 'neutral',+ title: 'This form will appear in workflow runs.',+ description:+ 'Because this workflow is not using a manual trigger, the form will not open on top of the interface. To fill it, open the corresponding workflow run and complete the form there.',+ action: {+ label: 'Learn more',+ onClick: () => {},+ },+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof Callout> = {+ args: {+ title: 'This form will appear in workflow runs.',+ description:+ 'Because this workflow is not using a manual trigger, the form will not open on top of the interface. To fill it, open the corresponding workflow run and complete the form there.',+ action: {+ label: 'Learn more',+ onClick: () => {},+ },+ },+ argTypes: {+ variant: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'accents',+ values: [+ 'success',+ 'warning',+ 'error',+ 'neutral',+ 'info',+ ] satisfies CalloutVariant[],+ props: (variant: CalloutVariant) => ({ variant }),+ },+ ],+ options: {+ elementContainer: {+ width: 512,+ },+ },+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/display/checkmark/components/AnimatedCheckmark.tsx b/packages/twenty-ui/src/display/checkmark/components/AnimatedCheckmark.tsxnew file mode 100644index 00000000000..4a1faa110c5--- /dev/null+++ b/packages/twenty-ui/src/display/checkmark/components/AnimatedCheckmark.tsx@@ -0,0 +1,42 @@+import { motion } from 'framer-motion';+import { useContext } from 'react';+import { ThemeContext } from '@ui/theme-constants';++export type AnimatedCheckmarkProps = React.ComponentProps<+ typeof motion.path+> & {+ isAnimating?: boolean;+ color?: string;+ duration?: number;+ size?: number;+};++export const AnimatedCheckmark = ({+ isAnimating = false,+ color,+ duration = 0.5,+ size = 28,+}: AnimatedCheckmarkProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 52 52"+ width={size}+ height={size}+ >+ <motion.path+ fill="none"+ stroke={color ?? theme.grayScale.gray1}+ strokeWidth={4}+ d="M14 27l7.8 7.8L38 14"+ pathLength="1"+ strokeDasharray="1"+ strokeDashoffset={isAnimating ? '1' : '0'}+ animate={{ strokeDashoffset: isAnimating ? '0' : '1' }}+ transition={{ duration }}+ />+ </svg>+ );+};diff --git a/packages/twenty-ui/src/display/checkmark/components/Checkmark.module.scss b/packages/twenty-ui/src/display/checkmark/components/Checkmark.module.scssnew file mode 100644index 00000000000..d254d14cd4b--- /dev/null+++ b/packages/twenty-ui/src/display/checkmark/components/Checkmark.module.scss@@ -0,0 +1,9 @@+.root {+ display: flex;+ align-items: center;+ justify-content: center;+ width: var(--t-spacing-5);+ height: var(--t-spacing-5);+ border-radius: var(--t-border-radius-rounded);+ background-color: var(--t-color-blue);+}diff --git a/packages/twenty-ui/src/display/checkmark/components/Checkmark.module.scss.d.ts b/packages/twenty-ui/src/display/checkmark/components/Checkmark.module.scss.d.tsnew file mode 100644index 00000000000..4d6743c3dcd--- /dev/null+++ b/packages/twenty-ui/src/display/checkmark/components/Checkmark.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly root: 'root';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/checkmark/components/Checkmark.tsx b/packages/twenty-ui/src/display/checkmark/components/Checkmark.tsxnew file mode 100644index 00000000000..abd3d75a73c--- /dev/null+++ b/packages/twenty-ui/src/display/checkmark/components/Checkmark.tsx@@ -0,0 +1,22 @@+import React, { useContext } from 'react';++import { clsx } from 'clsx';++import { IconCheck } from '@ui/display/icon/components/TablerIcons';+import { ThemeContext } from '@ui/theme-constants';++import styles from './Checkmark.module.scss';++export type CheckmarkProps = React.ComponentPropsWithoutRef<'div'> & {+ className?: string;+};++export const Checkmark = ({ className }: CheckmarkProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <div className={clsx(styles.root, className)}>+ <IconCheck color={theme.grayScale.gray1} size={14} />+ </div>+ );+};diff --git a/packages/twenty-ui/src/display/checkmark/components/__stories__/Checkmark.stories.tsx b/packages/twenty-ui/src/display/checkmark/components/__stories__/Checkmark.stories.tsxnew file mode 100644index 00000000000..5ca43502410--- /dev/null+++ b/packages/twenty-ui/src/display/checkmark/components/__stories__/Checkmark.stories.tsx@@ -0,0 +1,20 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';++import { Checkmark } from '../Checkmark';++const meta: Meta<typeof Checkmark> = {+ title: 'UI/Display/Checkmark',+ component: Checkmark,+ decorators: [ComponentDecorator],+};++export default meta;+type Story = StoryObj<typeof Checkmark>;++export const Default: Story = { args: {} };++export const WithCustomStyles: Story = {+ args: { style: { backgroundColor: 'red', height: 40, width: 40 } },+};diff --git a/packages/twenty-ui/src/display/color/components/ColorSample.module.scss b/packages/twenty-ui/src/display/color/components/ColorSample.module.scssnew file mode 100644index 00000000000..70b3b1725a4--- /dev/null+++ b/packages/twenty-ui/src/display/color/components/ColorSample.module.scss@@ -0,0 +1,31 @@+.root {+ box-sizing: content-box;+ display: block;+ flex-shrink: 0;+ width: var(--t-spacing-3);+ height: var(--t-spacing-4);+ border: 1px solid var(--color-sample-border-color);+ border-radius: 60px;+ background-color: var(--color-sample-color);+}++.circle {+ width: var(--t-spacing-4);+ border-radius: 50%;+}++.pipeline {+ display: flex;+ align-items: center;+ justify-content: center;+ border: 0;++ &::after {+ display: block;+ width: var(--t-spacing-1);+ height: var(--t-spacing-1);+ border-radius: var(--t-border-radius-rounded);+ background-color: var(--color-sample-color);+ content: '';+ }+}diff --git a/packages/twenty-ui/src/display/color/components/ColorSample.module.scss.d.ts b/packages/twenty-ui/src/display/color/components/ColorSample.module.scss.d.tsnew file mode 100644index 00000000000..868ad8c17dd--- /dev/null+++ b/packages/twenty-ui/src/display/color/components/ColorSample.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly root: 'root';+ readonly circle: 'circle';+ readonly pipeline: 'pipeline';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/color/components/ColorSample.tsx b/packages/twenty-ui/src/display/color/components/ColorSample.tsxnew file mode 100644index 00000000000..763c3db47ef--- /dev/null+++ b/packages/twenty-ui/src/display/color/components/ColorSample.tsx@@ -0,0 +1,55 @@+import { clsx } from 'clsx';++import { type ThemeColor } from '@ui/theme';+import { themeCssVariables } from '@ui/theme-constants';+import { isDefined } from '@ui/utilities/utils/isDefined';++import styles from './ColorSample.module.scss';++export type ColorSampleVariant = 'circle' | 'default' | 'pipeline';++type StyledColorSampleProps = {+ colorName: ThemeColor;+ color?: string;+ variant?: ColorSampleVariant;+};++export type ColorSampleProps = StyledColorSampleProps & {+ className?: string;+};++const getColor = (colorName: ThemeColor, color?: string) => {+ if (isDefined(color)) {+ return color;+ }++ return themeCssVariables.tag.background[colorName];+};++const getBorderColor = (colorName: ThemeColor) => {+ return themeCssVariables.tag.text[colorName];+};++export const ColorSample = ({+ colorName,+ color,+ variant,+ className,+}: ColorSampleProps) => {+ return (+ <div+ className={clsx(+ styles.root,+ variant === 'circle' && styles.circle,+ variant === 'pipeline' && styles.pipeline,+ className,+ )}+ style={+ {+ '--color-sample-color': getColor(colorName, color),+ '--color-sample-border-color': getBorderColor(colorName),+ } as React.CSSProperties+ }+ />+ );+};diff --git a/packages/twenty-ui/src/display/color/components/__stories__/ColorSample.stories.tsx b/packages/twenty-ui/src/display/color/components/__stories__/ColorSample.stories.tsxnew file mode 100644index 00000000000..22f966796b5--- /dev/null+++ b/packages/twenty-ui/src/display/color/components/__stories__/ColorSample.stories.tsx@@ -0,0 +1,25 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { ComponentDecorator } from '@ui/testing';++import { ColorSample } from '../ColorSample';++const meta: Meta<typeof ColorSample> = {+ title: 'UI/Display/Color/ColorSample',+ component: ColorSample,+ decorators: [ComponentDecorator],+ args: { colorName: 'green' },+};++export default meta;+type Story = StoryObj<typeof ColorSample>;++export const Default: Story = {};++export const Pipeline: Story = {+ args: { variant: 'pipeline' },+};++export const Circle: Story = {+ args: { variant: 'circle' },+};diff --git a/packages/twenty-ui/src/display/command-block/components/CommandBlock.module.scss b/packages/twenty-ui/src/display/command-block/components/CommandBlock.module.scssnew file mode 100644index 00000000000..d5012c943d8--- /dev/null+++ b/packages/twenty-ui/src/display/command-block/components/CommandBlock.module.scss@@ -0,0 +1,26 @@+.container {+ border-radius: var(--t-border-radius-sm);+ border: 1px solid var(--t-border-color-medium);+ background: var(--t-background-secondary);+ display: flex;+ align-items: center;+ justify-content: space-between;+ padding: var(--t-spacing-3);+ gap: var(--t-spacing-3);+}++.commandContain {+ font-family: var(--t-code-font-family);+}++.buttonContainer {+ display: flex;+}++.lineStartSpan {+ color: var(--t-code-text-orange);+}++.lineSpan {+ color: var(--t-code-text-green);+}diff --git a/packages/twenty-ui/src/display/command-block/components/CommandBlock.module.scss.d.ts b/packages/twenty-ui/src/display/command-block/components/CommandBlock.module.scss.d.tsnew file mode 100644index 00000000000..155a1a29969--- /dev/null+++ b/packages/twenty-ui/src/display/command-block/components/CommandBlock.module.scss.d.ts@@ -0,0 +1,8 @@+declare const classNames: {+ readonly container: 'container';+ readonly commandContain: 'commandContain';+ readonly buttonContainer: 'buttonContainer';+ readonly lineStartSpan: 'lineStartSpan';+ readonly lineSpan: 'lineSpan';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/command-block/components/CommandBlock.tsx b/packages/twenty-ui/src/display/command-block/components/CommandBlock.tsxnew file mode 100644index 00000000000..3de3f0df4bd--- /dev/null+++ b/packages/twenty-ui/src/display/command-block/components/CommandBlock.tsx@@ -0,0 +1,26 @@+import { type ReactElement } from 'react';++import styles from './CommandBlock.module.scss';++type CommandBlockProps = {+ commands: string[];+ button?: ReactElement;+};++export const CommandBlock = ({ commands, button }: CommandBlockProps) => {+ return (+ <div className={styles.container}>+ <div className={styles.commandContain}>+ <>+ {commands.map((line, i) => (+ <div key={i}>+ <span className={styles.lineStartSpan}>{'> '}</span>+ <span className={styles.lineSpan}>{line}</span>+ </div>+ ))}+ </>+ </div>+ {button && <div className={styles.buttonContainer}>{button}</div>}+ </div>+ );+};diff --git a/packages/twenty-ui/src/display/components/LinkifiedText.module.scss b/packages/twenty-ui/src/display/components/LinkifiedText.module.scssnew file mode 100644index 00000000000..861a4f33c1e--- /dev/null+++ b/packages/twenty-ui/src/display/components/LinkifiedText.module.scss@@ -0,0 +1,8 @@+.link {+ color: var(--t-color-blue);+ text-decoration: underline;++ &:hover {+ text-decoration-color: var(--t-color-blue);+ }+}diff --git a/packages/twenty-ui/src/display/components/LinkifiedText.module.scss.d.ts b/packages/twenty-ui/src/display/components/LinkifiedText.module.scss.d.tsnew file mode 100644index 00000000000..0361a30bb33--- /dev/null+++ b/packages/twenty-ui/src/display/components/LinkifiedText.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly link: 'link';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/components/LinkifiedText.tsx b/packages/twenty-ui/src/display/components/LinkifiedText.tsxnew file mode 100644index 00000000000..fb074a7000e--- /dev/null+++ b/packages/twenty-ui/src/display/components/LinkifiedText.tsx@@ -0,0 +1,36 @@+import { isNonEmptyString } from '@sniptt/guards';++import { linkifyText } from '@ui/utilities/utils/linkifyText';++import styles from './LinkifiedText.module.scss';++type LinkifiedTextProps = {+ text: string;+};++export const LinkifiedText = ({ text }: LinkifiedTextProps) => {+ if (!isNonEmptyString(text)) {+ return null;+ }++ return (+ <>+ {linkifyText(text).map((part, index) =>+ part.type === 'link' ? (+ <a+ key={index}+ className={styles.link}+ href={part.content}+ target="_blank"+ rel="noopener noreferrer"+ onClick={(e) => e.stopPropagation()}+ >+ {part.content}+ </a>+ ) : (+ part.content+ ),+ )}+ </>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/Icon.tsx b/packages/twenty-ui/src/display/icon/components/Icon.tsxnew file mode 100644index 00000000000..a692a9dacf7--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/Icon.tsx@@ -0,0 +1,29 @@+import { useIcons } from '@ui/display/icon/hooks/useIcons';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';++export type IconProps = IconComponentProps & {+ name: string;+};++export const Icon = ({+ name,+ className,+ style,+ size,+ stroke,+ color,+}: IconProps) => {+ const { getIcon } = useIcons();++ const ResolvedIcon = getIcon(name);++ return (+ <ResolvedIcon+ className={className}+ style={style}+ size={size}+ stroke={stroke}+ color={color}+ />+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IconAddressBook.tsx b/packages/twenty-ui/src/display/icon/components/IconAddressBook.tsxnew file mode 100644index 00000000000..78759ab0a5a--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconAddressBook.tsx@@ -0,0 +1,25 @@+import { useContext } from 'react';++import IconAddressBookRaw from '@assets/icons/address-book.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconAddressBookProps = Pick<+ IconComponentProps,+ 'size' | 'stroke' | 'color'+>;++export const IconAddressBook = (props: IconAddressBookProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? 24;+ const stroke = props.stroke ?? theme.icon.stroke.md;++ return (+ <IconAddressBookRaw+ height={size}+ width={size}+ stroke={props.color ?? 'currentColor'}+ strokeWidth={stroke}+ />+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IconBrandAnthropic.tsx b/packages/twenty-ui/src/display/icon/components/IconBrandAnthropic.tsxnew file mode 100644index 00000000000..3e77d985024--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconBrandAnthropic.tsx@@ -0,0 +1,14 @@+import { useContext } from 'react';++import IconAnthropicRaw from '@assets/icons/anthropic.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconBrandAnthropicProps = Pick<IconComponentProps, 'size'>;++export const IconBrandAnthropic = (props: IconBrandAnthropicProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return <IconAnthropicRaw height={size} width={size} />;+};diff --git a/packages/twenty-ui/src/display/icon/components/IconBrandGemini.tsx b/packages/twenty-ui/src/display/icon/components/IconBrandGemini.tsxnew file mode 100644index 00000000000..80a7923c359--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconBrandGemini.tsx@@ -0,0 +1,14 @@+import { useContext } from 'react';++import IconBrandGeminiRaw from '@assets/icons/gemini.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconBrandGeminiProps = Pick<IconComponentProps, 'size'>;++export const IconBrandGemini = (props: IconBrandGeminiProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return <IconBrandGeminiRaw height={size} width={size} />;+};diff --git a/packages/twenty-ui/src/display/icon/components/IconBrandGroq.tsx b/packages/twenty-ui/src/display/icon/components/IconBrandGroq.tsxnew file mode 100644index 00000000000..abc50bd58d4--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconBrandGroq.tsx@@ -0,0 +1,14 @@+import { useContext } from 'react';++import IconBrandGroqRaw from '@assets/icons/groq.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconBrandGroqProps = Pick<IconComponentProps, 'size'>;++export const IconBrandGroq = (props: IconBrandGroqProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return <IconBrandGroqRaw height={size} width={size} />;+};diff --git a/packages/twenty-ui/src/display/icon/components/IconBrandMistral.tsx b/packages/twenty-ui/src/display/icon/components/IconBrandMistral.tsxnew file mode 100644index 00000000000..542c9eec1df--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconBrandMistral.tsx@@ -0,0 +1,14 @@+import { useContext } from 'react';++import IconBrandMistralRaw from '@assets/icons/mistral.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconBrandMistralProps = Pick<IconComponentProps, 'size'>;++export const IconBrandMistral = (props: IconBrandMistralProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return <IconBrandMistralRaw height={size} width={size} />;+};diff --git a/packages/twenty-ui/src/display/icon/components/IconBrandXai.tsx b/packages/twenty-ui/src/display/icon/components/IconBrandXai.tsxnew file mode 100644index 00000000000..d0d1a7ab29a--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconBrandXai.tsx@@ -0,0 +1,20 @@+import { useContext } from 'react';++import IconBrandXaiRaw from '@assets/icons/xai.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconBrandXaiProps = Pick<IconComponentProps, 'size' | 'color'>;++export const IconBrandXai = (props: IconBrandXaiProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return (+ <IconBrandXaiRaw+ height={size}+ width={size}+ color={props.color ?? 'currentColor'}+ />+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IconChartBarHorizontal.module.scss b/packages/twenty-ui/src/display/icon/components/IconChartBarHorizontal.module.scssnew file mode 100644index 00000000000..fc0cf1ef70a--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconChartBarHorizontal.module.scss@@ -0,0 +1,4 @@+.rotatedIconWrapper {+ display: inline-flex;+ transform: rotate(90deg);+}diff --git a/packages/twenty-ui/src/display/icon/components/IconChartBarHorizontal.module.scss.d.ts b/packages/twenty-ui/src/display/icon/components/IconChartBarHorizontal.module.scss.d.tsnew file mode 100644index 00000000000..0f515955a12--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconChartBarHorizontal.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly rotatedIconWrapper: 'rotatedIconWrapper';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/icon/components/IconChartBarHorizontal.tsx b/packages/twenty-ui/src/display/icon/components/IconChartBarHorizontal.tsxnew file mode 100644index 00000000000..bab4d674bb4--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconChartBarHorizontal.tsx@@ -0,0 +1,24 @@+import { useContext } from 'react';++import { IconChartBar } from '@ui/display/icon/components/TablerIcons';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++import styles from './IconChartBarHorizontal.module.scss';++type IconChartBarHorizontalProps = Pick<+ IconComponentProps,+ 'size' | 'stroke' | 'color'+>;++export const IconChartBarHorizontal = (props: IconChartBarHorizontalProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.md;+ const stroke = props.stroke ?? theme.icon.stroke.sm;++ return (+ <div className={styles.rotatedIconWrapper}>+ <IconChartBar size={size} stroke={stroke} color={props.color} />+ </div>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IconGmail.tsx b/packages/twenty-ui/src/display/icon/components/IconGmail.tsxnew file mode 100644index 00000000000..961fc5d6887--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconGmail.tsx@@ -0,0 +1,14 @@+import { useContext } from 'react';++import IconGmailRaw from '@assets/icons/gmail.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconGmailProps = Pick<IconComponentProps, 'size'>;++export const IconGmail = (props: IconGmailProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return <IconGmailRaw height={size} width={size} />;+};diff --git a/packages/twenty-ui/src/display/icon/components/IconGoogle.tsx b/packages/twenty-ui/src/display/icon/components/IconGoogle.tsxnew file mode 100644index 00000000000..4ae7dac95e6--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconGoogle.tsx@@ -0,0 +1,14 @@+import { useContext } from 'react';++import IconGoogleRaw from '@assets/icons/google.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconGoogleProps = Pick<IconComponentProps, 'size'>;++export const IconGoogle = (props: IconGoogleProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return <IconGoogleRaw height={size} width={size} />;+};diff --git a/packages/twenty-ui/src/display/icon/components/IconGoogleCalendar.tsx b/packages/twenty-ui/src/display/icon/components/IconGoogleCalendar.tsxnew file mode 100644index 00000000000..1db26ddec96--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconGoogleCalendar.tsx@@ -0,0 +1,14 @@+import { useContext } from 'react';++import IconGoogleCalendarRaw from '@assets/icons/google-calendar.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconGoogleCalendarProps = Pick<IconComponentProps, 'size'>;++export const IconGoogleCalendar = (props: IconGoogleCalendarProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return <IconGoogleCalendarRaw height={size} width={size} />;+};diff --git a/packages/twenty-ui/src/display/icon/components/IconLock.tsx b/packages/twenty-ui/src/display/icon/components/IconLock.tsxnew file mode 100644index 00000000000..31652800660--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconLock.tsx@@ -0,0 +1,14 @@+import { useContext } from 'react';++import IconLockRaw from '@assets/icons/lock.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconLockCustomProps = Pick<IconComponentProps, 'size'>;++export const IconLockCustom = (props: IconLockCustomProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return <IconLockRaw height={size} width={size} />;+};diff --git a/packages/twenty-ui/src/display/icon/components/IconMicrosoft.tsx b/packages/twenty-ui/src/display/icon/components/IconMicrosoft.tsxnew file mode 100644index 00000000000..5bc803f4938--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconMicrosoft.tsx@@ -0,0 +1,15 @@+import { useContext } from 'react';++import IconMicrosoftRaw from '@assets/icons/microsoft.svg?react';+import { ThemeContext } from '@ui/theme-constants';++interface IconMicrosoftProps {+ size?: number | string;+}++export const IconMicrosoft = (props: IconMicrosoftProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return <IconMicrosoftRaw height={size} width={size} />;+};diff --git a/packages/twenty-ui/src/display/icon/components/IconMicrosoftCalendar.tsx b/packages/twenty-ui/src/display/icon/components/IconMicrosoftCalendar.tsxnew file mode 100644index 00000000000..894fbebfda4--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconMicrosoftCalendar.tsx@@ -0,0 +1,15 @@+import { useContext } from 'react';++import IconMicrosoftCalendarRaw from '@assets/icons/microsoft-calendar.svg?react';+import { ThemeContext } from '@ui/theme-constants';++interface IconMicrosoftCalendarProps {+ size?: number | string;+}++export const IconMicrosoftCalendar = (props: IconMicrosoftCalendarProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return <IconMicrosoftCalendarRaw height={size} width={size} />;+};diff --git a/packages/twenty-ui/src/display/icon/components/IconMicrosoftOutlook.tsx b/packages/twenty-ui/src/display/icon/components/IconMicrosoftOutlook.tsxnew file mode 100644index 00000000000..4e04adac43d--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconMicrosoftOutlook.tsx@@ -0,0 +1,15 @@+import { useContext } from 'react';++import IconMicrosoftOutlookRaw from '@assets/icons/microsoft-outlook.svg?react';+import { ThemeContext } from '@ui/theme-constants';++interface IconMicrosoftOutlookProps {+ size?: number | string;+}++export const IconMicrosoftOutlook = (props: IconMicrosoftOutlookProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return <IconMicrosoftOutlookRaw height={size} width={size} />;+};diff --git a/packages/twenty-ui/src/display/icon/components/IconModelClaude.tsx b/packages/twenty-ui/src/display/icon/components/IconModelClaude.tsxnew file mode 100644index 00000000000..fb2f64eb772--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconModelClaude.tsx@@ -0,0 +1,14 @@+import { useContext } from 'react';++import IconModelClaudeRaw from '@assets/icons/claude.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconModelClaudeProps = Pick<IconComponentProps, 'size'>;++export const IconModelClaude = (props: IconModelClaudeProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return <IconModelClaudeRaw height={size} width={size} />;+};diff --git a/packages/twenty-ui/src/display/icon/components/IconProviderOpenai.tsx b/packages/twenty-ui/src/display/icon/components/IconProviderOpenai.tsxnew file mode 100644index 00000000000..ec64dc03eed--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconProviderOpenai.tsx@@ -0,0 +1,20 @@+import { useContext } from 'react';++import IconOpenaiRaw from '@assets/icons/openai.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconProviderOpenaiProps = Pick<IconComponentProps, 'size' | 'color'>;++export const IconProviderOpenai = (props: IconProviderOpenaiProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return (+ <IconOpenaiRaw+ height={size}+ width={size}+ color={props.color ?? 'currentColor'}+ />+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IconRelationManyToOne.tsx b/packages/twenty-ui/src/display/icon/components/IconRelationManyToOne.tsxnew file mode 100644index 00000000000..0f207941812--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconRelationManyToOne.tsx@@ -0,0 +1,17 @@+import { useContext } from 'react';++import IconRelationManyToOneRaw from '@assets/icons/many-to-one.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconRelationManyToOneProps = Pick<IconComponentProps, 'size' | 'stroke'>;++export const IconRelationManyToOne = (props: IconRelationManyToOneProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? 24;+ const stroke = props.stroke ?? theme.icon.stroke.md;++ return (+ <IconRelationManyToOneRaw height={size} width={size} strokeWidth={stroke} />+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IconTrashXOff.tsx b/packages/twenty-ui/src/display/icon/components/IconTrashXOff.tsxnew file mode 100644index 00000000000..2d5aedfb5e2--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconTrashXOff.tsx@@ -0,0 +1,15 @@+import { useContext } from 'react';++import IconTrashXOffRaw from '@assets/icons/trash-x-off.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconTrashXOffProps = Pick<IconComponentProps, 'size' | 'stroke'>;++export const IconTrashXOff = (props: IconTrashXOffProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ const stroke = props.stroke ?? theme.icon.stroke.md;++ return <IconTrashXOffRaw height={size} width={size} strokeWidth={stroke} />;+};diff --git a/packages/twenty-ui/src/display/icon/components/IconTwentyStar.tsx b/packages/twenty-ui/src/display/icon/components/IconTwentyStar.tsxnew file mode 100644index 00000000000..7309bb0c2ca--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconTwentyStar.tsx@@ -0,0 +1,15 @@+import { useContext } from 'react';++import IconTwentyStarRaw from '@assets/icons/twenty-star.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconTwentyStarProps = Pick<IconComponentProps, 'size' | 'stroke'>;++export const IconTwentyStar = (props: IconTwentyStarProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? 24;+ const stroke = props.stroke ?? theme.icon.stroke.md;++ return <IconTwentyStarRaw height={size} width={size} strokeWidth={stroke} />;+};diff --git a/packages/twenty-ui/src/display/icon/components/IconTwentyStarFilled.tsx b/packages/twenty-ui/src/display/icon/components/IconTwentyStarFilled.tsxnew file mode 100644index 00000000000..051c98fffb1--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IconTwentyStarFilled.tsx@@ -0,0 +1,17 @@+import { useContext } from 'react';++import IconTwentyStarFilledRaw from '@assets/icons/twenty-star-filled.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IconTwentyStarFilledProps = Pick<IconComponentProps, 'size' | 'stroke'>;++export const IconTwentyStarFilled = (props: IconTwentyStarFilledProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? 24;+ const stroke = props.stroke ?? theme.icon.stroke.md;++ return (+ <IconTwentyStarFilledRaw height={size} width={size} strokeWidth={stroke} />+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconArray.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconArray.tsxnew file mode 100644index 00000000000..17cf7c48a44--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconArray.tsx@@ -0,0 +1,23 @@+import { useContext } from 'react';++import IllustrationIconArrayRaw from '@assets/icons/illustration-array.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconArrayProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconArray = (props: IllustrationIconArrayProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconArrayRaw+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ height={size}+ width={size}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconCalendarEvent.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconCalendarEvent.tsxnew file mode 100644index 00000000000..f6220899257--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconCalendarEvent.tsx@@ -0,0 +1,25 @@+import { useContext } from 'react';++import IllustrationIconCalendarEventRaw from '@assets/icons/illustration-calendar-event.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconCalendarEventProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconCalendarEvent = (+ props: IllustrationIconCalendarEventProps,+) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconCalendarEventRaw+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ height={size}+ width={size}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconCalendarTime.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconCalendarTime.tsxnew file mode 100644index 00000000000..8027cb5048b--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconCalendarTime.tsx@@ -0,0 +1,25 @@+import { useContext } from 'react';++import IllustrationIconCalendarTimeRaw from '@assets/icons/illustration-calendar-time.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconCalendarTimeProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconCalendarTime = (+ props: IllustrationIconCalendarTimeProps,+) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconCalendarTimeRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconCurrency.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconCurrency.tsxnew file mode 100644index 00000000000..0a0ef60343f--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconCurrency.tsx@@ -0,0 +1,25 @@+import { useContext } from 'react';++import IllustrationIconCurrencyRaw from '@assets/icons/illustration-currency.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconCurrencyProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconCurrency = (+ props: IllustrationIconCurrencyProps,+) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconCurrencyRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconFile.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconFile.tsxnew file mode 100644index 00000000000..94be18214b6--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconFile.tsx@@ -0,0 +1,23 @@+import { useContext } from 'react';++import IllustrationIconFileRaw from '@assets/icons/illustration-file.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconFileProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconFile = (props: IllustrationIconFileProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconFileRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconJson.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconJson.tsxnew file mode 100644index 00000000000..c521ba4c8c4--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconJson.tsx@@ -0,0 +1,23 @@+import { useContext } from 'react';++import IllustrationIconJsonRaw from '@assets/icons/illustration-json.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconJsonProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconJson = (props: IllustrationIconJsonProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconJsonRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconLink.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconLink.tsxnew file mode 100644index 00000000000..afaa9b1983a--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconLink.tsx@@ -0,0 +1,23 @@+import { useContext } from 'react';++import IllustrationIconLinkRaw from '@assets/icons/illustration-link.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconLinkProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconLink = (props: IllustrationIconLinkProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconLinkRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconMail.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconMail.tsxnew file mode 100644index 00000000000..95f9ee133e8--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconMail.tsx@@ -0,0 +1,23 @@+import { useContext } from 'react';++import IllustrationIconMailRaw from '@assets/icons/illustration-mail.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconMailProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconMail = (props: IllustrationIconMailProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconMailRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconManyToMany.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconManyToMany.tsxnew file mode 100644index 00000000000..0fd8370f859--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconManyToMany.tsx@@ -0,0 +1,25 @@+import { useContext } from 'react';++import IllustrationIconManyToManyRaw from '@assets/icons/illustration-many-to-many.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconManyToManyProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconManyToMany = (+ props: IllustrationIconManyToManyProps,+) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconManyToManyRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconMap.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconMap.tsxnew file mode 100644index 00000000000..484ce4cd47b--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconMap.tsx@@ -0,0 +1,23 @@+import { useContext } from 'react';++import IllustrationIconMapRaw from '@assets/icons/illustration-map.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconMapProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconMap = (props: IllustrationIconMapProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconMapRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconNumbers.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconNumbers.tsxnew file mode 100644index 00000000000..0ac70a09fe9--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconNumbers.tsx@@ -0,0 +1,25 @@+import { useContext } from 'react';++import IllustrationIconNumbersRaw from '@assets/icons/illustration-numbers.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconNumbersProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconNumbers = (+ props: IllustrationIconNumbersProps,+) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconNumbersRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconOneToMany.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconOneToMany.tsxnew file mode 100644index 00000000000..7c8e50474fe--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconOneToMany.tsx@@ -0,0 +1,25 @@+import { useContext } from 'react';++import IllustrationIconOneToManyRaw from '@assets/icons/illustration-one-to-many.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconOneToManyProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconOneToMany = (+ props: IllustrationIconOneToManyProps,+) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconOneToManyRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconOneToOne.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconOneToOne.tsxnew file mode 100644index 00000000000..54da40e2b23--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconOneToOne.tsx@@ -0,0 +1,25 @@+import { useContext } from 'react';++import IllustrationIconOneToOneRaw from '@assets/icons/illustration-one-to-one.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconOneToOneProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconOneToOne = (+ props: IllustrationIconOneToOneProps,+) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconOneToOneRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconPhone.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconPhone.tsxnew file mode 100644index 00000000000..e06371bb9a8--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconPhone.tsx@@ -0,0 +1,24 @@+import { useContext } from 'react';++import IllustrationIconPhoneRaw from '@assets/icons/illustration-phone.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconPhoneProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconPhone = (props: IllustrationIconPhoneProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return (+ <IllustrationIconWrapper>+ <IllustrationIconPhoneRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconSetting.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconSetting.tsxnew file mode 100644index 00000000000..10c96b0e6dd--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconSetting.tsx@@ -0,0 +1,26 @@+import { useContext } from 'react';++import IllustrationIconSettingRaw from '@assets/icons/illustration-setting.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconSettingProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconSetting = (+ props: IllustrationIconSettingProps,+) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return (+ <IllustrationIconWrapper>+ <IllustrationIconSettingRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconStar.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconStar.tsxnew file mode 100644index 00000000000..e8c662c27fe--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconStar.tsx@@ -0,0 +1,24 @@+import { useContext } from 'react';++import IllustrationIconStarRaw from '@assets/icons/illustration-star.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconStarProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconStar = (props: IllustrationIconStarProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;++ return (+ <IllustrationIconWrapper>+ <IllustrationIconStarRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconTag.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconTag.tsxnew file mode 100644index 00000000000..a45034ed09e--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconTag.tsx@@ -0,0 +1,23 @@+import { useContext } from 'react';++import IllustrationIconTagRaw from '@assets/icons/illustration-tag.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconTagProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconTag = (props: IllustrationIconTagProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconTagRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconTags.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconTags.tsxnew file mode 100644index 00000000000..667a8127408--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconTags.tsx@@ -0,0 +1,23 @@+import { useContext } from 'react';++import IllustrationIconTagsRaw from '@assets/icons/illustration-tags.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconTagsProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconTags = (props: IllustrationIconTagsProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconTagsRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconText.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconText.tsxnew file mode 100644index 00000000000..9544e42ab65--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconText.tsx@@ -0,0 +1,23 @@+import { useContext } from 'react';++import IllustrationIconTextRaw from '@assets/icons/illustration-text.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconTextProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconText = (props: IllustrationIconTextProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconTextRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconToggle.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconToggle.tsxnew file mode 100644index 00000000000..8dec6ec915d--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconToggle.tsx@@ -0,0 +1,23 @@+import { useContext } from 'react';++import IllustrationIconToggleRaw from '@assets/icons/illustration-toggle.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconToggleProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconToggle = (props: IllustrationIconToggleProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconToggleRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconUid.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconUid.tsxnew file mode 100644index 00000000000..6c890663025--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconUid.tsx@@ -0,0 +1,23 @@+import { useContext } from 'react';++import IllustrationIconUidRaw from '@assets/icons/illustration-uid.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconUidProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconUid = (props: IllustrationIconUidProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconUidRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconUser.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconUser.tsxnew file mode 100644index 00000000000..e76856f2a09--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconUser.tsx@@ -0,0 +1,23 @@+import { useContext } from 'react';++import IllustrationIconUserRaw from '@assets/icons/illustration-user.svg?react';+import { IllustrationIconWrapper } from '@ui/display/icon/components/IllustrationIconWrapper';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++type IllustrationIconUserProps = Pick<IconComponentProps, 'size'>;++export const IllustrationIconUser = (props: IllustrationIconUserProps) => {+ const { theme } = useContext(ThemeContext);+ const size = props.size ?? theme.icon.size.lg;+ return (+ <IllustrationIconWrapper>+ <IllustrationIconUserRaw+ height={size}+ width={size}+ fill={theme.accent.accent3}+ color={theme.accent.accent8}+ />+ </IllustrationIconWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconWrapper.module.scss b/packages/twenty-ui/src/display/icon/components/IllustrationIconWrapper.module.scssnew file mode 100644index 00000000000..82edacd403f--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconWrapper.module.scss@@ -0,0 +1,7 @@+.root {+ background-color: var(--t-background-primary);+ border: 0.75px solid var(--t-border-color-medium);+ border-radius: var(--t-border-radius-sm);+ display: flex;+ justify-content: center;+}diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconWrapper.module.scss.d.ts b/packages/twenty-ui/src/display/icon/components/IllustrationIconWrapper.module.scss.d.tsnew file mode 100644index 00000000000..4d6743c3dcd--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconWrapper.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly root: 'root';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/icon/components/IllustrationIconWrapper.tsx b/packages/twenty-ui/src/display/icon/components/IllustrationIconWrapper.tsxnew file mode 100644index 00000000000..e75417a57c0--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/IllustrationIconWrapper.tsx@@ -0,0 +1,16 @@+import { clsx } from 'clsx';+import { forwardRef } from 'react';++import styles from './IllustrationIconWrapper.module.scss';++// The deprecated Linaria styled.div forwarded refs and accepted all native+// div props, so the port preserves that contract.+export const IllustrationIconWrapper = forwardRef<+ HTMLDivElement,+ React.ComponentPropsWithoutRef<'div'>+>(({ className, ...props }, ref) => (+ // oxlint-disable-next-line react/jsx-props-no-spreading+ <div ref={ref} className={clsx(styles.root, className)} {...props} />+));++IllustrationIconWrapper.displayName = 'IllustrationIconWrapper';diff --git a/packages/twenty-ui/src/display/icon/components/TablerIcons.ts b/packages/twenty-ui/src/display/icon/components/TablerIcons.tsnew file mode 100644index 00000000000..cf92a1ad08a--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/TablerIcons.ts@@ -0,0 +1,435 @@+/* oxlint-disable no-restricted-imports */+export {+ IconNumber123 as Icon123,+ IconAdjustments,+ IconAlertCircle,+ IconAlertTriangle,+ IconAlignBoxLeftTop,+ IconAlignCenter,+ IconAlignLeft,+ IconAlignRight,+ IconApi,+ IconApps,+ IconAppWindow,+ IconArchive,+ IconArchiveOff,+ IconArrowBackUp,+ IconArrowBarToDown,+ IconArrowDown,+ IconArrowLeft,+ IconArrowMerge,+ IconArrowRight,+ IconArrowsDiagonal,+ IconArrowsSort,+ IconArrowsSplit2,+ IconArrowsVertical,+ IconArrowUp,+ IconArrowUpRight,+ IconAt,+ IconAxisX,+ IconAxisY,+ IconBadge2k,+ IconBaselineDensitySmall,+ IconBell,+ IconBlockquote,+ IconBold,+ IconBolt,+ IconBook,+ IconBook2,+ IconBookmark,+ IconBookmarkPlus,+ IconBox,+ IconBoxMultiple,+ IconBrackets,+ IconBracketsAngle,+ IconBracketsContain,+ IconBrain,+ IconBrandDaysCounter,+ IconBrandDocker,+ IconBrandGithub,+ IconBrandGoogle,+ IconBrandGraphql,+ IconBrandLinkedin,+ IconBrandNpm,+ IconBrandOpenai,+ IconBrandX,+ IconBriefcase,+ IconBroadcast,+ IconBrowserMaximize,+ IconBuildingSkyscraper,+ IconCalendar,+ IconCalendarDue,+ IconCalendarEvent,+ IconCalendarMonth,+ IconCalendarRepeat,+ IconCalendarTime,+ IconCalendarWeek,+ IconCalendarX,+ IconCancel,+ IconCaretLeft,+ IconCaretRight,+ IconChartBar,+ IconChartBarPopular,+ IconChartCandle,+ IconChartDots3,+ IconChartLine,+ IconChartPie,+ IconCheck,+ IconCheckbox,+ IconChevronDown,+ IconChevronLeft,+ IconChevronRight,+ IconChevronRightPipe,+ IconChevronsRight,+ IconChevronUp,+ IconCircle,+ IconCircleDashed,+ IconCircleDot,+ IconCircleOff,+ IconCirclePlus,+ IconCircleX,+ IconClick,+ IconClock,+ IconClockHour8,+ IconClockPlay,+ IconClockShare,+ IconCode,+ IconCodeCircle,+ IconCoins,+ IconColorSwatch,+ IconColumnInsertRight,+ IconColumns,+ IconCommand,+ IconMessageCircle as IconComment,+ IconCopy,+ IconCopyPlus,+ IconCpu,+ IconCreativeCommonsSa,+ IconCreditCard,+ IconCsv,+ IconCube,+ IconCurrencyAfghani,+ IconCurrencyBahraini,+ IconCurrencyBaht,+ IconCurrencyDinar,+ IconCurrencyDirham,+ IconCurrencyDollar,+ IconCurrencyDollarAustralian,+ IconCurrencyDollarBrunei,+ IconCurrencyDollarCanadian,+ IconCurrencyDollarGuyanese,+ IconCurrencyDollarSingapore,+ IconCurrencyDong,+ IconCurrencyDram,+ IconCurrencyEuro,+ IconCurrencyFlorin,+ IconCurrencyForint,+ IconCurrencyFrank,+ IconCurrencyGuarani,+ IconCurrencyHryvnia,+ IconCurrencyIranianRial,+ IconCurrencyKip,+ IconCurrencyKroneCzech,+ IconCurrencyKroneDanish,+ IconCurrencyKroneSwedish,+ IconCurrencyLari,+ IconCurrencyLeu,+ IconCurrencyLira,+ IconCurrencyLyd,+ IconCurrencyManat,+ IconCurrencyNaira,+ IconCurrencyPaanga,+ IconCurrencyPeso,+ IconCurrencyPound,+ IconCurrencyQuetzal,+ IconCurrencyReal,+ IconCurrencyRenminbi,+ IconCurrencyRiyal,+ IconCurrencyRubel,+ IconCurrencyRufiyaa,+ IconCurrencyRupee,+ IconCurrencyRupeeNepalese,+ IconCurrencyShekel,+ IconCurrencySom,+ IconCurrencyTaka,+ IconCurrencyTenge,+ IconCurrencyTugrik,+ IconCurrencyWon,+ IconCurrencyYen,+ IconCurrencyYuan,+ IconCurrencyZloty,+ IconDatabase,+ IconDatabaseExport,+ IconDecimal,+ IconDeviceFloppy,+ IconDoorEnter,+ IconDotsVertical,+ IconDownload,+ IconEdit,+ IconEditCircle,+ IconEraser,+ IconExclamationCircle,+ IconExternalLink,+ IconEye,+ IconEyeOff,+ IconEyeShare,+ IconEyeX,+ IconFile,+ IconFileCheck,+ IconFileExport,+ IconFileImport,+ IconFileInfo,+ IconFilePencil,+ IconFileText,+ IconFileUpload,+ IconFileZip,+ IconFilter,+ IconFilterCog,+ IconFilterOff,+ IconFilterPlus,+ IconFilters,+ IconFilterX,+ IconFlag,+ IconFlask,+ IconFocusCentered,+ IconFolder,+ IconFolderOpen,+ IconFolderPlus,+ IconFolderRoot,+ IconFolderSymlink,+ IconForbid,+ IconFrame,+ IconFunction,+ IconGauge,+ IconGitBranch,+ IconGitBranchDeleted,+ IconGitCommit,+ IconGizmo,+ IconGraph,+ IconGripVertical,+ IconH1,+ IconH2,+ IconH3,+ IconH4,+ IconH5,+ IconH6,+ IconHandClick,+ IconHandMove,+ IconHeadphones,+ IconHeart,+ IconHeartOff,+ IconHeartRateMonitor,+ IconHelp,+ IconHelpCircle,+ IconHierarchy,+ IconHierarchy2,+ IconHistory,+ IconHistoryToggle,+ IconHome,+ IconHourglassHigh,+ IconHours24,+ IconHttpDelete,+ IconHttpGet,+ IconHttpPatch,+ IconHttpPost,+ IconHttpPut,+ IconId,+ IconInbox,+ IconInfoCircle,+ IconItalic,+ IconJetpack,+ IconJson,+ IconKey,+ IconLanguage,+ IconLayersLinked,+ IconLayout,+ IconLayoutDashboard,+ IconLayoutGrid,+ IconLayoutKanban,+ IconLayoutList,+ IconLayoutNavbar,+ IconLayoutSidebarLeftCollapse,+ IconLayoutSidebarLeftExpand,+ IconLayoutSidebarRight,+ IconLayoutSidebarRightCollapse,+ IconLayoutSidebarRightExpand,+ IconLego,+ IconLetterK,+ IconLibraryPlus,+ IconLifebuoy,+ IconLink,+ IconLinkOff,+ IconLinkPlus,+ IconList,+ IconListCheck,+ IconListDetails,+ IconListNumbers,+ IconListSearch,+ IconLoader,+ IconLock,+ IconLockOpen,+ IconLogin2,+ IconLogout,+ IconMail,+ IconMailCog,+ IconMailX,+ IconMap,+ IconMathMax,+ IconMathMin,+ IconMathXy,+ IconMaximize,+ IconMessage,+ IconMessageCirclePlus,+ IconMinus,+ IconMoneybag,+ IconMoodSmile,+ IconMoon,+ IconMouse2,+ IconNewSection,+ IconNorthStar,+ IconNoteOff,+ IconNotes,+ IconNumber,+ IconNumber123,+ IconNumber9,+ IconNumbers,+ IconPaint,+ IconPaperclip,+ IconPassword,+ IconPencil,+ IconPencilOff,+ IconPercentage,+ IconPhone,+ IconPhoto,+ IconPhotoUp,+ IconPilcrow,+ IconPin,+ IconPinned,+ IconPinnedOff,+ IconPlayerPause,+ IconPlayerPlay,+ IconPlayerStop,+ IconPlaylistAdd,+ IconPlaystationSquare,+ IconPlug,+ IconPlus,+ IconPoint,+ IconPower,+ IconPresentation,+ IconPrinter,+ IconProgressCheck,+ IconPrompt,+ IconPuzzle,+ IconPuzzle2,+ IconQuestionMark,+ IconRadiusBottomLeft,+ IconRadiusBottomRight,+ IconRadiusTopLeft,+ IconRadiusTopRight,+ IconRefresh,+ IconRefreshAlert,+ IconRefreshDot,+ IconRelationManyToMany,+ IconRelationOneToMany,+ IconRelationOneToOne,+ IconReload,+ IconReorder,+ IconRepeat,+ IconRestore,+ IconRobot,+ IconRocket,+ IconRotate,+ IconRotate2,+ IconRowInsertBottom,+ IconRowInsertTop,+ IconSearch,+ IconSend,+ IconServer,+ IconServer2,+ IconSettings,+ IconSettings2,+ IconSettingsAutomation,+ IconSettingsBolt,+ IconShare,+ IconShield,+ IconSitemap,+ IconSlash,+ IconSortAscending,+ IconSortAscendingLetters,+ IconSortAscendingNumbers,+ IconSortAZ,+ IconSortDescending,+ IconSortDescendingLetters,+ IconSortDescendingNumbers,+ IconSortZA,+ IconSparkles,+ IconSpy,+ IconSql,+ IconSquare,+ IconSquareCheck,+ IconSquareKey,+ IconSquareNumber1,+ IconSquareNumber2,+ IconSquareNumber3,+ IconSquareNumber4,+ IconSquareNumber5,+ IconSquareNumber6,+ IconSquareNumber7,+ IconSquareNumber8,+ IconSquareNumber9,+ IconSquarePlus,+ IconSquareRoundedCheck,+ IconSquareRoundedX,+ IconSquareX,+ IconStack2,+ IconStar,+ IconStatusChange,+ IconStepInto,+ IconStrikethrough,+ IconSum,+ IconSun,+ IconSunMoon,+ IconSwitchHorizontal,+ IconTable,+ IconTag,+ IconTags,+ IconTarget,+ IconTargetArrow,+ IconTerminal,+ IconTestPipe,+ IconTextCaption,+ IconTextSize,+ IconTextWrap,+ IconTimeDuration30,+ IconTimeDuration60,+ IconTimelineEvent,+ IconTool,+ IconTransform,+ IconTrash,+ IconTrashOff,+ IconTrashX,+ IconTrendingDown,+ IconTrendingUp,+ IconTypography,+ IconUnderline,+ IconUnlink,+ IconUpload,+ IconUser,+ IconUserCircle,+ IconUserCog,+ IconUserPin,+ IconUserPlus,+ IconUsers,+ IconVariable,+ IconVariablePlus,+ IconVersions,+ IconVersionsOff,+ IconVideo,+ IconWand,+ IconWebhook,+ IconWindow,+ IconWorld,+ IconX,+} from '@tabler/icons-react';++export type { IconProps as TablerIconsProps } from '@tabler/icons-react';diff --git a/packages/twenty-ui/src/display/icon/components/ThinkingOrbitLoaderIcon.tsx b/packages/twenty-ui/src/display/icon/components/ThinkingOrbitLoaderIcon.tsxnew file mode 100644index 00000000000..af791e4b0b4--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/ThinkingOrbitLoaderIcon.tsx@@ -0,0 +1,49 @@+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';++type ThinkingOrbitLoaderIconProps = Pick<+ IconComponentProps,+ 'className' | 'size'+>;++export const ThinkingOrbitLoaderIcon = ({+ className,+ size = 14,+}: ThinkingOrbitLoaderIconProps) => {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ width={size}+ height={size}+ viewBox="0 0 14 14"+ aria-hidden="true"+ focusable="false"+ className={className}+ >+ <path+ d="M3.1 7 C3.1 4.4 6.0 4.4 7.0 7 C8.0 9.6 10.9 9.6 10.9 7 C10.9 4.4 8.0 4.4 7.0 7 C6.0 9.6 3.1 9.6 3.1 7"+ fill="none"+ stroke="currentColor"+ strokeWidth="1.4"+ strokeLinecap="round"+ strokeLinejoin="round"+ shapeRendering="geometricPrecision"+ pathLength={100}+ strokeDasharray="14 86"+ strokeDashoffset="0"+ >+ <animate+ attributeName="stroke-dashoffset"+ values="0;-100"+ dur="1.05s"+ repeatCount="indefinite"+ />+ <animate+ attributeName="stroke-dasharray"+ values="10 90;16 84;10 90"+ dur="1.05s"+ repeatCount="indefinite"+ />+ </path>+ </svg>+ );+};diff --git a/packages/twenty-ui/src/display/icon/components/__stories__/Icon.stories.tsx b/packages/twenty-ui/src/display/icon/components/__stories__/Icon.stories.tsxnew file mode 100644index 00000000000..91c92831b5a--- /dev/null+++ b/packages/twenty-ui/src/display/icon/components/__stories__/Icon.stories.tsx@@ -0,0 +1,59 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { IconsProvider } from '@ui/display/icon/providers/IconsProvider';+import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';+import { JotaiRootDecorator } from '@ui/testing/decorators/JotaiRootDecorator';++import { Icon } from '../Icon';++const meta: Meta<typeof Icon> = {+ title: 'UI/Display/Icon/Icon',+ component: Icon,+ decorators: [+ ComponentDecorator,+ (Story) => (+ <IconsProvider>+ <Story />+ </IconsProvider>+ ),+ JotaiRootDecorator,+ ],+};++export default meta;+type Story = StoryObj<typeof Icon>;++export const Default: Story = {+ args: {+ name: 'IconUser',+ },+};++export const WithCustomSize: Story = {+ args: {+ name: 'IconSettings',+ size: 32,+ },+};++export const WithCustomColor: Story = {+ args: {+ name: 'IconHeart',+ color: 'red',+ size: 24,+ },+};++export const WithCustomStroke: Story = {+ args: {+ name: 'IconStar',+ size: 24,+ stroke: 1,+ },+};++export const InvalidName: Story = {+ args: {+ name: 'NonExistentIcon',+ },+};diff --git a/packages/twenty-ui/src/display/icon/hooks/__tests__/useIcons.test.ts b/packages/twenty-ui/src/display/icon/hooks/__tests__/useIcons.test.tsnew file mode 100644index 00000000000..f12ce151fa4--- /dev/null+++ b/packages/twenty-ui/src/display/icon/hooks/__tests__/useIcons.test.ts@@ -0,0 +1,47 @@+import { renderHook } from '@testing-library/react';+import { Provider } from 'jotai';++import {+ Icon123,+ IconBuildingSkyscraper,+ IconUser,+} from '@ui/display/icon/components/TablerIcons';+import { useIcons } from '@ui/display/icon/hooks/useIcons';++const mockedStateIcons = {+ IconUser,+ Icon123,+ IconBuildingSkyscraper,+};++jest.mock('jotai', () => ({+ ...jest.requireActual('jotai'),+ useAtomValue: () => mockedStateIcons,+}));++describe('useIcons', () => {+ const { result } = renderHook(() => useIcons(), {+ wrapper: Provider,+ });++ it('returns default icon when no icon key is provided', () => {+ expect(result.current.getIcon()).toEqual(Icon123);+ });++ it('returns the specified icon if the icon key exists in the iconsState', () => {+ expect(result.current.getIcon('Icon123')).toEqual(Icon123);+ expect(result.current.getIcon('IconUser')).toEqual(IconUser);+ expect(result.current.getIcon('IconBuildingSkyscraper')).toEqual(+ IconBuildingSkyscraper,+ );+ });++ it('returns default icon if the specified icon key does not exist in the iconsState', () => {+ expect(result.current.getIcon('nonExistentKey')).toEqual(Icon123);+ });++ it('returns all icons in getIcons', () => {+ expect(result.current.getIcons()).toEqual(mockedStateIcons);+ expect(Object.keys(result.current.getIcons())).toHaveLength(3);+ });+});diff --git a/packages/twenty-ui/src/display/icon/hooks/useIcons.ts b/packages/twenty-ui/src/display/icon/hooks/useIcons.tsnew file mode 100644index 00000000000..ff89b9717d7--- /dev/null+++ b/packages/twenty-ui/src/display/icon/hooks/useIcons.ts@@ -0,0 +1,21 @@+import { useAtomValue } from 'jotai';++import { Icon123 } from '@ui/display/icon/components/TablerIcons';+import { iconsState } from '@ui/display/icon/states/iconsState';++export const useIcons = () => {+ const icons = useAtomValue(iconsState);+ const defaultIcon = Icon123;++ const getIcons = () => {+ return icons;+ };++ const getIcon = (iconKey?: string | null, customDefaultIcon?: string) => {+ return (+ icons[iconKey ?? ''] || icons[customDefaultIcon ?? ''] || defaultIcon+ );+ };++ return { getIcons, getIcon };+};diff --git a/packages/twenty-ui/src/display/icon/providers/IconsProvider.tsx b/packages/twenty-ui/src/display/icon/providers/IconsProvider.tsxnew file mode 100644index 00000000000..e2e4a318a70--- /dev/null+++ b/packages/twenty-ui/src/display/icon/providers/IconsProvider.tsx@@ -0,0 +1,20 @@+import { useSetAtom } from 'jotai';+import { useEffect } from 'react';++import { iconsState } from '@ui/display/icon/states/iconsState';++type IconsProviderProps = {+ children: JSX.Element;+};++export const IconsProvider = ({ children }: IconsProviderProps) => {+ const setIcons = useSetAtom(iconsState);++ useEffect(() => {+ import('./internal/AllIcons').then(({ ALL_ICONS }) => {+ setIcons(ALL_ICONS);+ });+ }, [setIcons]);++ return children;+};diff --git a/packages/twenty-ui/src/display/icon/providers/internal/AllIcons.ts b/packages/twenty-ui/src/display/icon/providers/internal/AllIcons.tsnew file mode 100644index 00000000000..ae7791c37a4--- /dev/null+++ b/packages/twenty-ui/src/display/icon/providers/internal/AllIcons.ts@@ -0,0 +1,8370 @@+/* oxlint-disable no-restricted-imports */+import {+ IconNumber123 as Icon123,+ IconAB,+ IconAB2,+ IconABOff,+ IconAbacus,+ IconAbacusOff,+ IconAbc,+ IconAccessPoint,+ IconAccessPointOff,+ IconAccessible,+ IconAccessibleOff,+ IconActivity,+ IconActivityHeartbeat,+ IconAd,+ IconAd2,+ IconAdCircle,+ IconAdCircleOff,+ IconAdOff,+ IconAddressBookOff,+ IconAdjustments,+ IconAdjustmentsAlt,+ IconAdjustmentsBolt,+ IconAdjustmentsCancel,+ IconAdjustmentsCheck,+ IconAdjustmentsCode,+ IconAdjustmentsCog,+ IconAdjustmentsDollar,+ IconAdjustmentsDown,+ IconAdjustmentsExclamation,+ IconAdjustmentsHeart,+ IconAdjustmentsHorizontal,+ IconAdjustmentsMinus,+ IconAdjustmentsOff,+ IconAdjustmentsPause,+ IconAdjustmentsPin,+ IconAdjustmentsPlus,+ IconAdjustmentsQuestion,+ IconAdjustmentsSearch,+ IconAdjustmentsShare,+ IconAdjustmentsStar,+ IconAdjustmentsUp,+ IconAdjustmentsX,+ IconAerialLift,+ IconAffiliate,+ IconAirBalloon,+ IconAirConditioning,+ IconAirConditioningDisabled,+ IconAirTrafficControl,+ IconAlarm,+ IconAlarmMinus,+ IconAlarmOff,+ IconAlarmPlus,+ IconAlarmSnooze,+ IconAlbum,+ IconAlbumOff,+ IconAlertCircle,+ IconAlertHexagon,+ IconAlertOctagon,+ IconAlertSmall,+ IconAlertSquare,+ IconAlertSquareRounded,+ IconAlertTriangle,+ IconAlien,+ IconAlignBoxBottomCenter,+ IconAlignBoxBottomLeft,+ IconAlignBoxBottomRight,+ IconAlignBoxCenterBottom,+ IconAlignBoxCenterMiddle,+ IconAlignBoxCenterStretch,+ IconAlignBoxCenterTop,+ IconAlignBoxLeftBottom,+ IconAlignBoxLeftMiddle,+ IconAlignBoxLeftStretch,+ IconAlignBoxLeftTop,+ IconAlignBoxRightBottom,+ IconAlignBoxRightMiddle,+ IconAlignBoxRightStretch,+ IconAlignBoxRightTop,+ IconAlignBoxTopCenter,+ IconAlignBoxTopLeft,+ IconAlignBoxTopRight,+ IconAlignCenter,+ IconAlignJustified,+ IconAlignLeft,+ IconAlignRight,+ IconAlpha,+ IconAlphabetCyrillic,+ IconAlphabetGreek,+ IconAlphabetLatin,+ IconAmbulance,+ IconAmpersand,+ IconAnalyze,+ IconAnalyzeOff,+ IconAnchor,+ IconAnchorOff,+ IconAngle,+ IconAnkh,+ IconAntenna,+ IconAntennaBars1,+ IconAntennaBars2,+ IconAntennaBars3,+ IconAntennaBars4,+ IconAntennaBars5,+ IconAntennaBarsOff,+ IconAntennaOff,+ IconAperture,+ IconApertureOff,+ IconApi,+ IconApiApp,+ IconApiAppOff,+ IconApiOff,+ IconAppWindow,+ IconApple,+ IconApps,+ IconAppsOff,+ IconArchive,+ IconArchiveOff,+ IconArmchair,+ IconArmchair2,+ IconArmchair2Off,+ IconArmchairOff,+ IconArrowAutofitContent,+ IconArrowAutofitDown,+ IconArrowAutofitHeight,+ IconArrowAutofitLeft,+ IconArrowAutofitRight,+ IconArrowAutofitUp,+ IconArrowAutofitWidth,+ IconArrowBack,+ IconArrowBackUp,+ IconArrowBackUpDouble,+ IconArrowBadgeDown,+ IconArrowBadgeLeft,+ IconArrowBadgeRight,+ IconArrowBadgeUp,+ IconArrowBarBoth,+ IconArrowBarDown,+ IconArrowBarLeft,+ IconArrowBarRight,+ IconArrowBarToDown,+ IconArrowBarToLeft,+ IconArrowBarToRight,+ IconArrowBarToUp,+ IconArrowBarUp,+ IconArrowBearLeft,+ IconArrowBearLeft2,+ IconArrowBearRight,+ IconArrowBearRight2,+ IconArrowBigDown,+ IconArrowBigDownLine,+ IconArrowBigDownLines,+ IconArrowBigLeft,+ IconArrowBigLeftLine,+ IconArrowBigLeftLines,+ IconArrowBigRight,+ IconArrowBigRightLine,+ IconArrowBigRightLines,+ IconArrowBigUp,+ IconArrowBigUpLine,+ IconArrowBigUpLines,+ IconArrowBounce,+ IconArrowCapsule,+ IconArrowCurveLeft,+ IconArrowCurveRight,+ IconArrowDown,+ IconArrowDownBar,+ IconArrowDownCircle,+ IconArrowDownLeft,+ IconArrowDownLeftCircle,+ IconArrowDownRhombus,+ IconArrowDownRight,+ IconArrowDownRightCircle,+ IconArrowDownSquare,+ IconArrowDownTail,+ IconArrowElbowLeft,+ IconArrowElbowRight,+ IconArrowFork,+ IconArrowForward,+ IconArrowForwardUp,+ IconArrowForwardUpDouble,+ IconArrowGuide,+ IconArrowIteration,+ IconArrowLeft,+ IconArrowLeftBar,+ IconArrowLeftCircle,+ IconArrowLeftRhombus,+ IconArrowLeftRight,+ IconArrowLeftSquare,+ IconArrowLeftTail,+ IconArrowLoopLeft,+ IconArrowLoopLeft2,+ IconArrowLoopRight,+ IconArrowLoopRight2,+ IconArrowMerge,+ IconArrowMergeBoth,+ IconArrowMergeLeft,+ IconArrowMergeRight,+ IconArrowMoveDown,+ IconArrowMoveLeft,+ IconArrowMoveRight,+ IconArrowMoveUp,+ IconArrowNarrowDown,+ IconArrowNarrowLeft,+ IconArrowNarrowRight,+ IconArrowNarrowUp,+ IconArrowRampLeft,+ IconArrowRampLeft2,+ IconArrowRampLeft3,+ IconArrowRampRight,+ IconArrowRampRight2,+ IconArrowRampRight3,+ IconArrowRight,+ IconArrowRightBar,+ IconArrowRightCircle,+ IconArrowRightRhombus,+ IconArrowRightSquare,+ IconArrowRightTail,+ IconArrowRotaryFirstLeft,+ IconArrowRotaryFirstRight,+ IconArrowRotaryLastLeft,+ IconArrowRotaryLastRight,+ IconArrowRotaryLeft,+ IconArrowRotaryRight,+ IconArrowRotaryStraight,+ IconArrowRoundaboutLeft,+ IconArrowRoundaboutRight,+ IconArrowSharpTurnLeft,+ IconArrowSharpTurnRight,+ IconArrowUp,+ IconArrowUpBar,+ IconArrowUpCircle,+ IconArrowUpLeft,+ IconArrowUpLeftCircle,+ IconArrowUpRhombus,+ IconArrowUpRight,+ IconArrowUpRightCircle,+ IconArrowUpSquare,+ IconArrowUpTail,+ IconArrowWaveLeftDown,+ IconArrowWaveLeftUp,+ IconArrowWaveRightDown,+ IconArrowWaveRightUp,+ IconArrowZigZag,+ IconArrowsCross,+ IconArrowsDiagonal,+ IconArrowsDiagonal2,+ IconArrowsDiagonalMinimize,+ IconArrowsDiagonalMinimize2,+ IconArrowsDiff,+ IconArrowsDoubleNeSw,+ IconArrowsDoubleNwSe,+ IconArrowsDoubleSeNw,+ IconArrowsDoubleSwNe,+ IconArrowsDown,+ IconArrowsDownUp,+ IconArrowsExchange,+ IconArrowsExchange2,+ IconArrowsHorizontal,+ IconArrowsJoin,+ IconArrowsJoin2,+ IconArrowsLeft,+ IconArrowsLeftDown,+ IconArrowsLeftRight,+ IconArrowsMaximize,+ IconArrowsMinimize,+ IconArrowsMove,+ IconArrowsMoveHorizontal,+ IconArrowsMoveVertical,+ IconArrowsRandom,+ IconArrowsRight,+ IconArrowsRightDown,+ IconArrowsRightLeft,+ IconArrowsShuffle,+ IconArrowsShuffle2,+ IconArrowsSort,+ IconArrowsSplit,+ IconArrowsSplit2,+ IconArrowsTransferDown,+ IconArrowsTransferUp,+ IconArrowsUp,+ IconArrowsUpDown,+ IconArrowsUpLeft,+ IconArrowsUpRight,+ IconArrowsVertical,+ IconArtboard,+ IconArtboardOff,+ IconArticle,+ IconArticleOff,+ IconAspectRatio,+ IconAspectRatioOff,+ IconAssembly,+ IconAssemblyOff,+ IconAsset,+ IconAsterisk,+ IconAsteriskSimple,+ IconAt,+ IconAtOff,+ IconAtom,+ IconAtom2,+ IconAtomOff,+ IconAugmentedReality,+ IconAugmentedReality2,+ IconAugmentedRealityOff,+ IconAuth2fa,+ IconAward,+ IconAwardOff,+ IconAxe,+ IconAxisX,+ IconAxisY,+ IconBabyBottle,+ IconBabyCarriage,+ IconBackhoe,+ IconBackpack,+ IconBackpackOff,+ IconBackslash,+ IconBackspace,+ IconBadge,+ IconBadge2k,+ IconBadge3d,+ IconBadge4k,+ IconBadge8k,+ IconBadgeAd,+ IconBadgeAr,+ IconBadgeCc,+ IconBadgeHd,+ IconBadgeOff,+ IconBadgeSd,+ IconBadgeTm,+ IconBadgeVo,+ IconBadgeVr,+ IconBadgeWc,+ IconBadges,+ IconBadgesOff,+ IconBaguette,+ IconBallAmericanFootball,+ IconBallAmericanFootballOff,+ IconBallBaseball,+ IconBallBasketball,+ IconBallBowling,+ IconBallFootball,+ IconBallFootballOff,+ IconBallTennis,+ IconBallVolleyball,+ IconBalloon,+ IconBalloonOff,+ IconBallpen,+ IconBallpenOff,+ IconBan,+ IconBandage,+ IconBandageOff,+ IconBarbell,+ IconBarbellOff,+ IconBarcode,+ IconBarcodeOff,+ IconBarrel,+ IconBarrelOff,+ IconBarrierBlock,+ IconBarrierBlockOff,+ IconBaseline,+ IconBaselineDensityLarge,+ IconBaselineDensityMedium,+ IconBaselineDensitySmall,+ IconBasket,+ IconBasketBolt,+ IconBasketCancel,+ IconBasketCheck,+ IconBasketCode,+ IconBasketCog,+ IconBasketDiscount,+ IconBasketDollar,+ IconBasketDown,+ IconBasketExclamation,+ IconBasketHeart,+ IconBasketMinus,+ IconBasketOff,+ IconBasketPause,+ IconBasketPin,+ IconBasketPlus,+ IconBasketQuestion,+ IconBasketSearch,+ IconBasketShare,+ IconBasketStar,+ IconBasketUp,+ IconBasketX,+ IconBat,+ IconBath,+ IconBathOff,+ IconBattery,+ IconBattery1,+ IconBattery2,+ IconBattery3,+ IconBattery4,+ IconBatteryAutomotive,+ IconBatteryCharging,+ IconBatteryCharging2,+ IconBatteryEco,+ IconBatteryOff,+ IconBeach,+ IconBeachOff,+ IconBed,+ IconBedOff,+ IconBeer,+ IconBeerOff,+ IconBell,+ IconBellBolt,+ IconBellCancel,+ IconBellCheck,+ IconBellCode,+ IconBellCog,+ IconBellDollar,+ IconBellDown,+ IconBellExclamation,+ IconBellHeart,+ IconBellMinus,+ IconBellOff,+ IconBellPause,+ IconBellPin,+ IconBellPlus,+ IconBellQuestion,+ IconBellRinging,+ IconBellRinging2,+ IconBellSchool,+ IconBellSearch,+ IconBellShare,+ IconBellStar,+ IconBellUp,+ IconBellX,+ IconBellZ,+ IconBeta,+ IconBible,+ IconBike,+ IconBikeOff,+ IconBinary,+ IconBinaryOff,+ IconBinaryTree,+ IconBinaryTree2,+ IconBiohazard,+ IconBiohazardOff,+ IconBlade,+ IconBleach,+ IconBleachChlorine,+ IconBleachNoChlorine,+ IconBleachOff,+ IconBlockquote,+ IconBluetooth,+ IconBluetoothConnected,+ IconBluetoothOff,+ IconBluetoothX,+ IconBlur,+ IconBlurOff,+ IconBmp,+ IconBold,+ IconBoldOff,+ IconBolt,+ IconBoltOff,+ IconBomb,+ IconBone,+ IconBoneOff,+ IconBong,+ IconBongOff,+ IconBook,+ IconBook2,+ IconBookDownload,+ IconBookOff,+ IconBookUpload,+ IconBookmark,+ IconBookmarkEdit,+ IconBookmarkMinus,+ IconBookmarkOff,+ IconBookmarkPlus,+ IconBookmarkQuestion,+ IconBookmarks,+ IconBookmarksOff,+ IconBooks,+ IconBooksOff,+ IconBorderAll,+ IconBorderBottom,+ IconBorderCorners,+ IconBorderHorizontal,+ IconBorderInner,+ IconBorderLeft,+ IconBorderNone,+ IconBorderOuter,+ IconBorderRadius,+ IconBorderRight,+ IconBorderSides,+ IconBorderStyle,+ IconBorderStyle2,+ IconBorderTop,+ IconBorderVertical,+ IconBottle,+ IconBottleOff,+ IconBounceLeft,+ IconBounceRight,+ IconBow,+ IconBowl,+ IconBox,+ IconBoxAlignBottom,+ IconBoxAlignBottomLeft,+ IconBoxAlignBottomRight,+ IconBoxAlignLeft,+ IconBoxAlignRight,+ IconBoxAlignTop,+ IconBoxAlignTopLeft,+ IconBoxAlignTopRight,+ IconBoxMargin,+ IconBoxModel,+ IconBoxModel2,+ IconBoxModel2Off,+ IconBoxModelOff,+ IconBoxMultiple,+ IconBoxMultiple0,+ IconBoxMultiple1,+ IconBoxMultiple2,+ IconBoxMultiple3,+ IconBoxMultiple4,+ IconBoxMultiple5,+ IconBoxMultiple6,+ IconBoxMultiple7,+ IconBoxMultiple8,+ IconBoxMultiple9,+ IconBoxOff,+ IconBoxPadding,+ IconBraces,+ IconBracesOff,+ IconBrackets,+ IconBracketsContain,+ IconBracketsContainEnd,+ IconBracketsContainStart,+ IconBracketsOff,+ IconBraille,+ IconBrain,+ IconBrand4chan,+ IconBrandAbstract,+ IconBrandAdobe,+ IconBrandAdonisJs,+ IconBrandAirbnb,+ IconBrandAirtable,+ IconBrandAlgolia,+ IconBrandAlipay,+ IconBrandAlpineJs,+ IconBrandAmazon,+ IconBrandAmd,+ IconBrandAmigo,+ IconBrandAmongUs,+ IconBrandAndroid,+ IconBrandAngular,+ IconBrandAnsible,+ IconBrandAo3,+ IconBrandAppgallery,+ IconBrandApple,+ IconBrandAppleArcade,+ IconBrandApplePodcast,+ IconBrandAppstore,+ IconBrandAsana,+ IconBrandAws,+ IconBrandAzure,+ IconBrandBackbone,+ IconBrandBadoo,+ IconBrandBaidu,+ IconBrandBandcamp,+ IconBrandBandlab,+ IconBrandBeats,+ IconBrandBehance,+ IconBrandBilibili,+ IconBrandBinance,+ IconBrandBing,+ IconBrandBitbucket,+ IconBrandBlackberry,+ IconBrandBlender,+ IconBrandBlogger,+ IconBrandBooking,+ IconBrandBootstrap,+ IconBrandBulma,+ IconBrandBumble,+ IconBrandBunpo,+ IconBrandCSharp,+ IconBrandCake,+ IconBrandCakephp,+ IconBrandCampaignmonitor,+ IconBrandCarbon,+ IconBrandCashapp,+ IconBrandChrome,+ IconBrandCinema4d,+ IconBrandCitymapper,+ IconBrandCloudflare,+ IconBrandCodecov,+ IconBrandCodepen,+ IconBrandCodesandbox,+ IconBrandCohost,+ IconBrandCoinbase,+ IconBrandComedyCentral,+ IconBrandCoreos,+ IconBrandCouchdb,+ IconBrandCouchsurfing,+ IconBrandCpp,+ IconBrandCraft,+ IconBrandCrunchbase,+ IconBrandCss3,+ IconBrandCtemplar,+ IconBrandCucumber,+ IconBrandCupra,+ IconBrandCypress,+ IconBrandD3,+ IconBrandDaysCounter,+ IconBrandDcos,+ IconBrandDebian,+ IconBrandDeezer,+ IconBrandDeliveroo,+ IconBrandDeno,+ IconBrandDenodo,+ IconBrandDeviantart,+ IconBrandDigg,+ IconBrandDingtalk,+ IconBrandDiscord,+ IconBrandDisney,+ IconBrandDisqus,+ IconBrandDjango,+ IconBrandDocker,+ IconBrandDoctrine,+ IconBrandDolbyDigital,+ IconBrandDouban,+ IconBrandDribbble,+ IconBrandDrops,+ IconBrandDrupal,+ IconBrandEdge,+ IconBrandElastic,+ IconBrandElectronicArts,+ IconBrandEmber,+ IconBrandEnvato,+ IconBrandEtsy,+ IconBrandEvernote,+ IconBrandFacebook,+ IconBrandFeedly,+ IconBrandFigma,+ IconBrandFilezilla,+ IconBrandFinder,+ IconBrandFirebase,+ IconBrandFirefox,+ IconBrandFiverr,+ IconBrandFlickr,+ IconBrandFlightradar24,+ IconBrandFlipboard,+ IconBrandFlutter,+ IconBrandFortnite,+ IconBrandFoursquare,+ IconBrandFramer,+ IconBrandFramerMotion,+ IconBrandFunimation,+ IconBrandGatsby,+ IconBrandGit,+ IconBrandGithub,+ IconBrandGithubCopilot,+ IconBrandGitlab,+ IconBrandGmail,+ IconBrandGolang,+ IconBrandGoogle,+ IconBrandGoogleAnalytics,+ IconBrandGoogleBigQuery,+ IconBrandGoogleDrive,+ IconBrandGoogleFit,+ IconBrandGoogleHome,+ IconBrandGoogleMaps,+ IconBrandGoogleOne,+ IconBrandGooglePhotos,+ IconBrandGooglePlay,+ IconBrandGooglePodcasts,+ IconBrandGrammarly,+ IconBrandGraphql,+ IconBrandGravatar,+ IconBrandGrindr,+ IconBrandGuardian,+ IconBrandGumroad,+ IconBrandHbo,+ IconBrandHeadlessui,+ IconBrandHexo,+ IconBrandHipchat,+ IconBrandHtml5,+ IconBrandInertia,+ IconBrandInstagram,+ IconBrandIntercom,+ IconBrandItch,+ IconBrandJavascript,+ IconBrandJuejin,+ IconBrandKbin,+ IconBrandKick,+ IconBrandKickstarter,+ IconBrandKotlin,+ IconBrandLaravel,+ IconBrandLastfm,+ IconBrandLeetcode,+ IconBrandLetterboxd,+ IconBrandLine,+ IconBrandLinkedin,+ IconBrandLinktree,+ IconBrandLinqpad,+ IconBrandLoom,+ IconBrandMailgun,+ IconBrandMantine,+ IconBrandMastercard,+ IconBrandMastodon,+ IconBrandMatrix,+ IconBrandMcdonalds,+ IconBrandMedium,+ IconBrandMercedes,+ IconBrandMessenger,+ IconBrandMeta,+ IconBrandMinecraft,+ IconBrandMiniprogram,+ IconBrandMixpanel,+ IconBrandMonday,+ IconBrandMongodb,+ IconBrandMyOppo,+ IconBrandMysql,+ IconBrandNationalGeographic,+ IconBrandNem,+ IconBrandNetbeans,+ IconBrandNeteaseMusic,+ IconBrandNetflix,+ IconBrandNexo,+ IconBrandNextcloud,+ IconBrandNextjs,+ IconBrandNodejs,+ IconBrandNordVpn,+ IconBrandNotion,+ IconBrandNpm,+ IconBrandNuxt,+ IconBrandNytimes,+ IconBrandOauth,+ IconBrandOffice,+ IconBrandOkRu,+ IconBrandOnedrive,+ IconBrandOnlyfans,+ IconBrandOpenSource,+ IconBrandOpenai,+ IconBrandOpenvpn,+ IconBrandOpera,+ IconBrandPagekit,+ IconBrandPatreon,+ IconBrandPaypal,+ IconBrandPaypay,+ IconBrandPeanut,+ IconBrandPepsi,+ IconBrandPhp,+ IconBrandPicsart,+ IconBrandPinterest,+ IconBrandPlanetscale,+ IconBrandPocket,+ IconBrandPolymer,+ IconBrandPowershell,+ IconBrandProducthunt,+ IconBrandPushbullet,+ IconBrandPushover,+ IconBrandPython,+ IconBrandQq,+ IconBrandRadixUi,+ IconBrandReact,+ IconBrandReactNative,+ IconBrandReason,+ IconBrandReddit,+ IconBrandRedhat,+ IconBrandRedux,+ IconBrandRevolut,+ IconBrandRumble,+ IconBrandRust,+ IconBrandSafari,+ IconBrandSamsungpass,+ IconBrandSass,+ IconBrandSentry,+ IconBrandSharik,+ IconBrandShazam,+ IconBrandShopee,+ IconBrandSketch,+ IconBrandSkype,+ IconBrandSlack,+ IconBrandSnapchat,+ IconBrandSnapseed,+ IconBrandSnowflake,+ IconBrandSocketIo,+ IconBrandSolidjs,+ IconBrandSoundcloud,+ IconBrandSpacehey,+ IconBrandSpeedtest,+ IconBrandSpotify,+ IconBrandStackoverflow,+ IconBrandStackshare,+ IconBrandSteam,+ IconBrandStorj,+ IconBrandStorybook,+ IconBrandStorytel,+ IconBrandStrava,+ IconBrandStripe,+ IconBrandSublimeText,+ IconBrandSugarizer,+ IconBrandSupabase,+ IconBrandSuperhuman,+ IconBrandSupernova,+ IconBrandSurfshark,+ IconBrandSvelte,+ IconBrandSwift,+ IconBrandSymfony,+ IconBrandTabler,+ IconBrandTailwind,+ IconBrandTaobao,+ IconBrandTed,+ IconBrandTelegram,+ IconBrandTerraform,+ IconBrandTether,+ IconBrandThreads,+ IconBrandThreejs,+ IconBrandTidal,+ IconBrandTiktok,+ IconBrandTinder,+ IconBrandTopbuzz,+ IconBrandTorchain,+ IconBrandToyota,+ IconBrandTrello,+ IconBrandTripadvisor,+ IconBrandTumblr,+ IconBrandTwilio,+ IconBrandTwitch,+ IconBrandTwitter,+ IconBrandTypescript,+ IconBrandUber,+ IconBrandUbuntu,+ IconBrandUnity,+ IconBrandUnsplash,+ IconBrandUpwork,+ IconBrandValorant,+ IconBrandVercel,+ IconBrandVimeo,+ IconBrandVinted,+ IconBrandVisa,+ IconBrandVisualStudio,+ IconBrandVite,+ IconBrandVivaldi,+ IconBrandVk,+ IconBrandVlc,+ IconBrandVolkswagen,+ IconBrandVsco,+ IconBrandVscode,+ IconBrandVue,+ IconBrandWalmart,+ IconBrandWaze,+ IconBrandWebflow,+ IconBrandWechat,+ IconBrandWeibo,+ IconBrandWhatsapp,+ IconBrandWikipedia,+ IconBrandWindows,+ IconBrandWindy,+ IconBrandWish,+ IconBrandWix,+ IconBrandWordpress,+ IconBrandX,+ IconBrandXamarin,+ IconBrandXbox,+ IconBrandXdeep,+ IconBrandXing,+ IconBrandYahoo,+ IconBrandYandex,+ IconBrandYatse,+ IconBrandYcombinator,+ IconBrandYoutube,+ IconBrandYoutubeKids,+ IconBrandZalando,+ IconBrandZapier,+ IconBrandZeit,+ IconBrandZhihu,+ IconBrandZoom,+ IconBrandZulip,+ IconBrandZwift,+ IconBread,+ IconBreadOff,+ IconBriefcase,+ IconBriefcase2,+ IconBriefcaseOff,+ IconBrightness,+ IconBrightness2,+ IconBrightnessDown,+ IconBrightnessHalf,+ IconBrightnessOff,+ IconBrightnessUp,+ IconBroadcast,+ IconBroadcastOff,+ IconBrowser,+ IconBrowserCheck,+ IconBrowserMaximize,+ IconBrowserOff,+ IconBrowserPlus,+ IconBrowserX,+ IconBrush,+ IconBrushOff,+ IconBucket,+ IconBucketDroplet,+ IconBucketOff,+ IconBug,+ IconBugOff,+ IconBuilding,+ IconBuildingArch,+ IconBuildingBank,+ IconBuildingBridge,+ IconBuildingBridge2,+ IconBuildingBroadcastTower,+ IconBuildingCarousel,+ IconBuildingCastle,+ IconBuildingChurch,+ IconBuildingCircus,+ IconBuildingCommunity,+ IconBuildingCottage,+ IconBuildingEstate,+ IconBuildingFactory,+ IconBuildingFactory2,+ IconBuildingFortress,+ IconBuildingHospital,+ IconBuildingLighthouse,+ IconBuildingMonument,+ IconBuildingMosque,+ IconBuildingPavilion,+ IconBuildingSkyscraper,+ IconBuildingStadium,+ IconBuildingStore,+ IconBuildingTunnel,+ IconBuildingWarehouse,+ IconBuildingWindTurbine,+ IconBulb,+ IconBulbOff,+ IconBulldozer,+ IconBus,+ IconBusOff,+ IconBusStop,+ IconBusinessplan,+ IconButterfly,+ IconCactus,+ IconCactusOff,+ IconCake,+ IconCakeOff,+ IconCalculator,+ IconCalculatorOff,+ IconCalendar,+ IconCalendarBolt,+ IconCalendarCancel,+ IconCalendarCheck,+ IconCalendarClock,+ IconCalendarCode,+ IconCalendarCog,+ IconCalendarDollar,+ IconCalendarDown,+ IconCalendarDue,+ IconCalendarEvent,+ IconCalendarExclamation,+ IconCalendarHeart,+ IconCalendarMinus,+ IconCalendarOff,+ IconCalendarPause,+ IconCalendarPin,+ IconCalendarPlus,+ IconCalendarQuestion,+ IconCalendarRepeat,+ IconCalendarSearch,+ IconCalendarShare,+ IconCalendarStar,+ IconCalendarStats,+ IconCalendarTime,+ IconCalendarUp,+ IconCalendarX,+ IconCamera,+ IconCameraBolt,+ IconCameraCancel,+ IconCameraCheck,+ IconCameraCode,+ IconCameraCog,+ IconCameraDollar,+ IconCameraDown,+ IconCameraExclamation,+ IconCameraHeart,+ IconCameraMinus,+ IconCameraOff,+ IconCameraPause,+ IconCameraPin,+ IconCameraPlus,+ IconCameraQuestion,+ IconCameraRotate,+ IconCameraSearch,+ IconCameraSelfie,+ IconCameraShare,+ IconCameraStar,+ IconCameraUp,+ IconCameraX,+ IconCamper,+ IconCampfire,+ IconCancel,+ IconCandle,+ IconCandy,+ IconCandyOff,+ IconCane,+ IconCannabis,+ IconCapsule,+ IconCapsuleHorizontal,+ IconCapture,+ IconCaptureOff,+ IconCar,+ IconCarCrane,+ IconCarCrash,+ IconCarOff,+ IconCarTurbine,+ IconCaravan,+ IconCardboards,+ IconCardboardsOff,+ IconCards,+ IconCaretDown,+ IconCaretLeft,+ IconCaretRight,+ IconCaretUp,+ IconCarouselHorizontal,+ IconCarouselVertical,+ IconCarrot,+ IconCarrotOff,+ IconCash,+ IconCashBanknote,+ IconCashBanknoteOff,+ IconCashOff,+ IconCast,+ IconCastOff,+ IconCat,+ IconCategory,+ IconCategory2,+ IconCe,+ IconCeOff,+ IconCell,+ IconCellSignal1,+ IconCellSignal2,+ IconCellSignal3,+ IconCellSignal4,+ IconCellSignal5,+ IconCellSignalOff,+ IconCertificate,+ IconCertificate2,+ IconCertificate2Off,+ IconCertificateOff,+ IconChairDirector,+ IconChalkboard,+ IconChalkboardOff,+ IconChargingPile,+ IconChartArcs,+ IconChartArcs3,+ IconChartArea,+ IconChartAreaLine,+ IconChartArrows,+ IconChartArrowsVertical,+ IconChartBar,+ IconChartBarOff,+ IconChartBubble,+ IconChartCandle,+ IconChartCircles,+ IconChartDonut,+ IconChartDonut2,+ IconChartDonut3,+ IconChartDonut4,+ IconChartDots,+ IconChartDots2,+ IconChartDots3,+ IconChartGridDots,+ IconChartHistogram,+ IconChartInfographic,+ IconChartLine,+ IconChartPie,+ IconChartPie2,+ IconChartPie3,+ IconChartPie4,+ IconChartPieOff,+ IconChartPpf,+ IconChartRadar,+ IconChartSankey,+ IconChartTreemap,+ IconCheck,+ IconCheckbox,+ IconChecklist,+ IconChecks,+ IconCheckupList,+ IconCheese,+ IconChefHat,+ IconChefHatOff,+ IconCherry,+ IconChess,+ IconChessBishop,+ IconChessKing,+ IconChessKnight,+ IconChessQueen,+ IconChessRook,+ IconChevronCompactDown,+ IconChevronCompactLeft,+ IconChevronCompactRight,+ IconChevronCompactUp,+ IconChevronDown,+ IconChevronDownLeft,+ IconChevronDownRight,+ IconChevronLeft,+ IconChevronLeftPipe,+ IconChevronRight,+ IconChevronRightPipe,+ IconChevronUp,+ IconChevronUpLeft,+ IconChevronUpRight,+ IconChevronsDown,+ IconChevronsDownLeft,+ IconChevronsDownRight,+ IconChevronsLeft,+ IconChevronsRight,+ IconChevronsUp,+ IconChevronsUpLeft,+ IconChevronsUpRight,+ IconChisel,+ IconChristmasTree,+ IconChristmasTreeOff,+ IconCircle,+ IconCircleArrowDown,+ IconCircleArrowDownLeft,+ IconCircleArrowDownRight,+ IconCircleArrowLeft,+ IconCircleArrowRight,+ IconCircleArrowUp,+ IconCircleArrowUpLeft,+ IconCircleArrowUpRight,+ IconCircleCaretDown,+ IconCircleCaretLeft,+ IconCircleCaretRight,+ IconCircleCaretUp,+ IconCircleCheck,+ IconCircleChevronDown,+ IconCircleChevronLeft,+ IconCircleChevronRight,+ IconCircleChevronUp,+ IconCircleChevronsDown,+ IconCircleChevronsLeft,+ IconCircleChevronsRight,+ IconCircleChevronsUp,+ IconCircleDashed,+ IconCircleDot,+ IconCircleDotted,+ IconCircleHalf,+ IconCircleHalf2,+ IconCircleHalfVertical,+ IconCircleKey,+ IconCircleLetterA,+ IconCircleLetterB,+ IconCircleLetterC,+ IconCircleLetterD,+ IconCircleLetterE,+ IconCircleLetterF,+ IconCircleLetterG,+ IconCircleLetterH,+ IconCircleLetterI,+ IconCircleLetterJ,+ IconCircleLetterK,+ IconCircleLetterL,+ IconCircleLetterM,+ IconCircleLetterN,+ IconCircleLetterO,+ IconCircleLetterP,+ IconCircleLetterQ,+ IconCircleLetterR,+ IconCircleLetterS,+ IconCircleLetterT,+ IconCircleLetterU,+ IconCircleLetterV,+ IconCircleLetterW,+ IconCircleLetterX,+ IconCircleLetterY,+ IconCircleLetterZ,+ IconCircleMinus,+ IconCircleNumber0,+ IconCircleNumber1,+ IconCircleNumber2,+ IconCircleNumber3,+ IconCircleNumber4,+ IconCircleNumber5,+ IconCircleNumber6,+ IconCircleNumber7,+ IconCircleNumber8,+ IconCircleNumber9,+ IconCircleOff,+ IconCirclePlus,+ IconCircleRectangle,+ IconCircleRectangleOff,+ IconCircleSquare,+ IconCircleTriangle,+ IconCircleX,+ IconCircles,+ IconCirclesRelation,+ IconCircuitAmmeter,+ IconCircuitBattery,+ IconCircuitBulb,+ IconCircuitCapacitor,+ IconCircuitCapacitorPolarized,+ IconCircuitCell,+ IconCircuitCellPlus,+ IconCircuitChangeover,+ IconCircuitDiode,+ IconCircuitDiodeZener,+ IconCircuitGround,+ IconCircuitGroundDigital,+ IconCircuitInductor,+ IconCircuitMotor,+ IconCircuitPushbutton,+ IconCircuitResistor,+ IconCircuitSwitchClosed,+ IconCircuitSwitchOpen,+ IconCircuitVoltmeter,+ IconClearAll,+ IconClearFormatting,+ IconClick,+ IconClipboard,+ IconClipboardCheck,+ IconClipboardCopy,+ IconClipboardData,+ IconClipboardHeart,+ IconClipboardList,+ IconClipboardOff,+ IconClipboardPlus,+ IconClipboardText,+ IconClipboardTypography,+ IconClipboardX,+ IconClock,+ IconClock2,+ IconClockBolt,+ IconClockCancel,+ IconClockCheck,+ IconClockCode,+ IconClockCog,+ IconClockDollar,+ IconClockDown,+ IconClockEdit,+ IconClockExclamation,+ IconClockHeart,+ IconClockHour1,+ IconClockHour10,+ IconClockHour11,+ IconClockHour12,+ IconClockHour2,+ IconClockHour3,+ IconClockHour4,+ IconClockHour5,+ IconClockHour6,+ IconClockHour7,+ IconClockHour8,+ IconClockHour9,+ IconClockMinus,+ IconClockOff,+ IconClockPause,+ IconClockPin,+ IconClockPlay,+ IconClockPlus,+ IconClockQuestion,+ IconClockRecord,+ IconClockSearch,+ IconClockShare,+ IconClockShield,+ IconClockStar,+ IconClockStop,+ IconClockUp,+ IconClockX,+ IconClothesRack,+ IconClothesRackOff,+ IconCloud,+ IconCloudBolt,+ IconCloudCancel,+ IconCloudCheck,+ IconCloudCode,+ IconCloudCog,+ IconCloudComputing,+ IconCloudDataConnection,+ IconCloudDollar,+ IconCloudDown,+ IconCloudDownload,+ IconCloudExclamation,+ IconCloudFog,+ IconCloudHeart,+ IconCloudLock,+ IconCloudLockOpen,+ IconCloudMinus,+ IconCloudOff,+ IconCloudPause,+ IconCloudPin,+ IconCloudPlus,+ IconCloudQuestion,+ IconCloudRain,+ IconCloudSearch,+ IconCloudShare,+ IconCloudSnow,+ IconCloudStar,+ IconCloudStorm,+ IconCloudUp,+ IconCloudUpload,+ IconCloudX,+ IconClover,+ IconClover2,+ IconClubs,+ IconCode,+ IconCodeCircle,+ IconCodeCircle2,+ IconCodeDots,+ IconCodeMinus,+ IconCodeOff,+ IconCodePlus,+ IconCoffee,+ IconCoffeeOff,+ IconCoffin,+ IconCoin,+ IconCoinBitcoin,+ IconCoinEuro,+ IconCoinMonero,+ IconCoinOff,+ IconCoinPound,+ IconCoinRupee,+ IconCoinYen,+ IconCoinYuan,+ IconCoins,+ IconColorFilter,+ IconColorPicker,+ IconColorPickerOff,+ IconColorSwatch,+ IconColorSwatchOff,+ IconColumnInsertLeft,+ IconColumnInsertRight,+ IconColumnRemove,+ IconColumns,+ IconColumns1,+ IconColumns2,+ IconColumns3,+ IconColumnsOff,+ IconComet,+ IconCommand,+ IconCommandOff,+ IconCompass,+ IconCompassOff,+ IconComponents,+ IconComponentsOff,+ IconCone,+ IconCone2,+ IconConeOff,+ IconConePlus,+ IconConfetti,+ IconConfettiOff,+ IconConfucius,+ IconContainer,+ IconContainerOff,+ IconContrast,+ IconContrast2,+ IconContrast2Off,+ IconContrastOff,+ IconCooker,+ IconCookie,+ IconCookieMan,+ IconCookieOff,+ IconCopy,+ IconCopyOff,+ IconCopyleft,+ IconCopyleftOff,+ IconCopyright,+ IconCopyrightOff,+ IconCornerDownLeft,+ IconCornerDownLeftDouble,+ IconCornerDownRight,+ IconCornerDownRightDouble,+ IconCornerLeftDown,+ IconCornerLeftDownDouble,+ IconCornerLeftUp,+ IconCornerLeftUpDouble,+ IconCornerRightDown,+ IconCornerRightDownDouble,+ IconCornerRightUp,+ IconCornerRightUpDouble,+ IconCornerUpLeft,+ IconCornerUpLeftDouble,+ IconCornerUpRight,+ IconCornerUpRightDouble,+ IconCpu,+ IconCpu2,+ IconCpuOff,+ IconCrane,+ IconCraneOff,+ IconCreativeCommons,+ IconCreativeCommonsBy,+ IconCreativeCommonsNc,+ IconCreativeCommonsNd,+ IconCreativeCommonsOff,+ IconCreativeCommonsSa,+ IconCreativeCommonsZero,+ IconCreditCard,+ IconCreditCardOff,+ IconCricket,+ IconCrop,+ IconCross,+ IconCrossOff,+ IconCrosshair,+ IconCrown,+ IconCrownOff,+ IconCrutches,+ IconCrutchesOff,+ IconCrystalBall,+ IconCsv,+ IconCube,+ IconCube3dSphere,+ IconCube3dSphereOff,+ IconCubeOff,+ IconCubePlus,+ IconCubeSend,+ IconCubeUnfolded,+ IconCup,+ IconCupOff,+ IconCurling,+ IconCurlyLoop,+ IconCurrency,+ IconCurrencyAfghani,+ IconCurrencyBahraini,+ IconCurrencyBaht,+ IconCurrencyBitcoin,+ IconCurrencyCent,+ IconCurrencyDinar,+ IconCurrencyDirham,+ IconCurrencyDogecoin,+ IconCurrencyDollar,+ IconCurrencyDollarAustralian,+ IconCurrencyDollarBrunei,+ IconCurrencyDollarCanadian,+ IconCurrencyDollarGuyanese,+ IconCurrencyDollarOff,+ IconCurrencyDollarSingapore,+ IconCurrencyDollarZimbabwean,+ IconCurrencyDong,+ IconCurrencyDram,+ IconCurrencyEthereum,+ IconCurrencyEuro,+ IconCurrencyEuroOff,+ IconCurrencyFlorin,+ IconCurrencyForint,+ IconCurrencyFrank,+ IconCurrencyGuarani,+ IconCurrencyHryvnia,+ IconCurrencyIranianRial,+ IconCurrencyKip,+ IconCurrencyKroneCzech,+ IconCurrencyKroneDanish,+ IconCurrencyKroneSwedish,+ IconCurrencyLari,+ IconCurrencyLeu,+ IconCurrencyLira,+ IconCurrencyLitecoin,+ IconCurrencyLyd,+ IconCurrencyManat,+ IconCurrencyMonero,+ IconCurrencyNaira,+ IconCurrencyNano,+ IconCurrencyOff,+ IconCurrencyPaanga,+ IconCurrencyPeso,+ IconCurrencyPound,+ IconCurrencyPoundOff,+ IconCurrencyQuetzal,+ IconCurrencyReal,+ IconCurrencyRenminbi,+ IconCurrencyRipple,+ IconCurrencyRiyal,+ IconCurrencyRubel,+ IconCurrencyRufiyaa,+ IconCurrencyRupee,+ IconCurrencyRupeeNepalese,+ IconCurrencyShekel,+ IconCurrencySolana,+ IconCurrencySom,+ IconCurrencyTaka,+ IconCurrencyTenge,+ IconCurrencyTugrik,+ IconCurrencyWon,+ IconCurrencyYen,+ IconCurrencyYenOff,+ IconCurrencyYuan,+ IconCurrencyZloty,+ IconCurrentLocation,+ IconCurrentLocationOff,+ IconCursorOff,+ IconCursorText,+ IconCut,+ IconCylinder,+ IconCylinderOff,+ IconCylinderPlus,+ IconDashboard,+ IconDashboardOff,+ IconDatabase,+ IconDatabaseCog,+ IconDatabaseDollar,+ IconDatabaseEdit,+ IconDatabaseExclamation,+ IconDatabaseExport,+ IconDatabaseHeart,+ IconDatabaseImport,+ IconDatabaseLeak,+ IconDatabaseMinus,+ IconDatabaseOff,+ IconDatabasePlus,+ IconDatabaseSearch,+ IconDatabaseShare,+ IconDatabaseStar,+ IconDatabaseX,+ IconDecimal,+ IconDeer,+ IconDelta,+ IconDental,+ IconDentalBroken,+ IconDentalOff,+ IconDeselect,+ IconDetails,+ IconDetailsOff,+ IconDeviceAirpods,+ IconDeviceAirpodsCase,+ IconDeviceAirtag,+ IconDeviceAnalytics,+ IconDeviceAudioTape,+ IconDeviceCameraPhone,+ IconDeviceCctv,+ IconDeviceCctvOff,+ IconDeviceComputerCamera,+ IconDeviceComputerCameraOff,+ IconDeviceDesktop,+ IconDeviceDesktopAnalytics,+ IconDeviceDesktopBolt,+ IconDeviceDesktopCancel,+ IconDeviceDesktopCheck,+ IconDeviceDesktopCode,+ IconDeviceDesktopCog,+ IconDeviceDesktopDollar,+ IconDeviceDesktopDown,+ IconDeviceDesktopExclamation,+ IconDeviceDesktopHeart,+ IconDeviceDesktopMinus,+ IconDeviceDesktopOff,+ IconDeviceDesktopPause,+ IconDeviceDesktopPin,+ IconDeviceDesktopPlus,+ IconDeviceDesktopQuestion,+ IconDeviceDesktopSearch,+ IconDeviceDesktopShare,+ IconDeviceDesktopStar,+ IconDeviceDesktopUp,+ IconDeviceDesktopX,+ IconDeviceFloppy,+ IconDeviceGamepad,+ IconDeviceGamepad2,+ IconDeviceHeartMonitor,+ IconDeviceImac,+ IconDeviceImacBolt,+ IconDeviceImacCancel,+ IconDeviceImacCheck,+ IconDeviceImacCode,+ IconDeviceImacCog,+ IconDeviceImacDollar,+ IconDeviceImacDown,+ IconDeviceImacExclamation,+ IconDeviceImacHeart,+ IconDeviceImacMinus,+ IconDeviceImacOff,+ IconDeviceImacPause,+ IconDeviceImacPin,+ IconDeviceImacPlus,+ IconDeviceImacQuestion,+ IconDeviceImacSearch,+ IconDeviceImacShare,+ IconDeviceImacStar,+ IconDeviceImacUp,+ IconDeviceImacX,+ IconDeviceIpad,+ IconDeviceIpadBolt,+ IconDeviceIpadCancel,+ IconDeviceIpadCheck,+ IconDeviceIpadCode,+ IconDeviceIpadCog,+ IconDeviceIpadDollar,+ IconDeviceIpadDown,+ IconDeviceIpadExclamation,+ IconDeviceIpadHeart,+ IconDeviceIpadHorizontal,+ IconDeviceIpadHorizontalBolt,+ IconDeviceIpadHorizontalCancel,+ IconDeviceIpadHorizontalCheck,+ IconDeviceIpadHorizontalCode,+ IconDeviceIpadHorizontalCog,+ IconDeviceIpadHorizontalDollar,+ IconDeviceIpadHorizontalDown,+ IconDeviceIpadHorizontalExclamation,+ IconDeviceIpadHorizontalHeart,+ IconDeviceIpadHorizontalMinus,+ IconDeviceIpadHorizontalOff,+ IconDeviceIpadHorizontalPause,+ IconDeviceIpadHorizontalPin,+ IconDeviceIpadHorizontalPlus,+ IconDeviceIpadHorizontalQuestion,+ IconDeviceIpadHorizontalSearch,+ IconDeviceIpadHorizontalShare,+ IconDeviceIpadHorizontalStar,+ IconDeviceIpadHorizontalUp,+ IconDeviceIpadHorizontalX,+ IconDeviceIpadMinus,+ IconDeviceIpadOff,+ IconDeviceIpadPause,+ IconDeviceIpadPin,+ IconDeviceIpadPlus,+ IconDeviceIpadQuestion,+ IconDeviceIpadSearch,+ IconDeviceIpadShare,+ IconDeviceIpadStar,+ IconDeviceIpadUp,+ IconDeviceIpadX,+ IconDeviceLandlinePhone,+ IconDeviceLaptop,+ IconDeviceLaptopOff,+ IconDeviceMobile,+ IconDeviceMobileBolt,+ IconDeviceMobileCancel,+ IconDeviceMobileCharging,+ IconDeviceMobileCheck,+ IconDeviceMobileCode,+ IconDeviceMobileCog,+ IconDeviceMobileDollar,+ IconDeviceMobileDown,+ IconDeviceMobileExclamation,+ IconDeviceMobileHeart,+ IconDeviceMobileMessage,+ IconDeviceMobileMinus,+ IconDeviceMobileOff,+ IconDeviceMobilePause,+ IconDeviceMobilePin,+ IconDeviceMobilePlus,+ IconDeviceMobileQuestion,+ IconDeviceMobileRotated,+ IconDeviceMobileSearch,+ IconDeviceMobileShare,+ IconDeviceMobileStar,+ IconDeviceMobileUp,+ IconDeviceMobileVibration,+ IconDeviceMobileX,+ IconDeviceNintendo,+ IconDeviceNintendoOff,+ IconDeviceProjector,+ IconDeviceRemote,+ IconDeviceSdCard,+ IconDeviceSim,+ IconDeviceSim1,+ IconDeviceSim2,+ IconDeviceSim3,+ IconDeviceSpeaker,+ IconDeviceSpeakerOff,+ IconDeviceTablet,+ IconDeviceTabletBolt,+ IconDeviceTabletCancel,+ IconDeviceTabletCheck,+ IconDeviceTabletCode,+ IconDeviceTabletCog,+ IconDeviceTabletDollar,+ IconDeviceTabletDown,+ IconDeviceTabletExclamation,+ IconDeviceTabletHeart,+ IconDeviceTabletMinus,+ IconDeviceTabletOff,+ IconDeviceTabletPause,+ IconDeviceTabletPin,+ IconDeviceTabletPlus,+ IconDeviceTabletQuestion,+ IconDeviceTabletSearch,+ IconDeviceTabletShare,+ IconDeviceTabletStar,+ IconDeviceTabletUp,+ IconDeviceTabletX,+ IconDeviceTv,+ IconDeviceTvOff,+ IconDeviceTvOld,+ IconDeviceVisionPro,+ IconDeviceWatch,+ IconDeviceWatchBolt,+ IconDeviceWatchCancel,+ IconDeviceWatchCheck,+ IconDeviceWatchCode,+ IconDeviceWatchCog,+ IconDeviceWatchDollar,+ IconDeviceWatchDown,+ IconDeviceWatchExclamation,+ IconDeviceWatchHeart,+ IconDeviceWatchMinus,+ IconDeviceWatchOff,+ IconDeviceWatchPause,+ IconDeviceWatchPin,+ IconDeviceWatchPlus,+ IconDeviceWatchQuestion,+ IconDeviceWatchSearch,+ IconDeviceWatchShare,+ IconDeviceWatchStar,+ IconDeviceWatchStats,+ IconDeviceWatchStats2,+ IconDeviceWatchUp,+ IconDeviceWatchX,+ IconDevices,+ IconDevices2,+ IconDevicesBolt,+ IconDevicesCancel,+ IconDevicesCheck,+ IconDevicesCode,+ IconDevicesCog,+ IconDevicesDollar,+ IconDevicesDown,+ IconDevicesExclamation,+ IconDevicesHeart,+ IconDevicesMinus,+ IconDevicesOff,+ IconDevicesPause,+ IconDevicesPc,+ IconDevicesPcOff,+ IconDevicesPin,+ IconDevicesPlus,+ IconDevicesQuestion,+ IconDevicesSearch,+ IconDevicesShare,+ IconDevicesStar,+ IconDevicesUp,+ IconDevicesX,+ IconDiabolo,+ IconDiaboloOff,+ IconDiaboloPlus,+ IconDialpad,+ IconDialpadOff,+ IconDiamond,+ IconDiamondOff,+ IconDiamonds,+ IconDice,+ IconDice1,+ IconDice2,+ IconDice3,+ IconDice4,+ IconDice5,+ IconDice6,+ IconDimensions,+ IconDirection,+ IconDirectionHorizontal,+ IconDirectionSign,+ IconDirectionSignOff,+ IconDirections,+ IconDirectionsOff,+ IconDisabled,+ IconDisabled2,+ IconDisabledOff,+ IconDisc,+ IconDiscGolf,+ IconDiscOff,+ IconDiscount,+ IconDiscountOff,+ IconDivide,+ IconDna,+ IconDna2,+ IconDna2Off,+ IconDnaOff,+ IconDog,+ IconDogBowl,+ IconDoor,+ IconDoorEnter,+ IconDoorExit,+ IconDoorOff,+ IconDots,+ IconDotsCircleHorizontal,+ IconDotsDiagonal,+ IconDotsDiagonal2,+ IconDotsVertical,+ IconDownload,+ IconDownloadOff,+ IconDragDrop,+ IconDragDrop2,+ IconDrone,+ IconDroneOff,+ IconDropCircle,+ IconDroplet,+ IconDropletBolt,+ IconDropletCancel,+ IconDropletCheck,+ IconDropletCode,+ IconDropletCog,+ IconDropletDollar,+ IconDropletDown,+ IconDropletExclamation,+ IconDropletHalf,+ IconDropletHalf2,+ IconDropletHeart,+ IconDropletMinus,+ IconDropletOff,+ IconDropletPause,+ IconDropletPin,+ IconDropletPlus,+ IconDropletQuestion,+ IconDropletSearch,+ IconDropletShare,+ IconDropletStar,+ IconDropletUp,+ IconDropletX,+ IconDroplets,+ IconDualScreen,+ IconEPassport,+ IconEar,+ IconEarOff,+ IconEaseIn,+ IconEaseInControlPoint,+ IconEaseInOut,+ IconEaseInOutControlPoints,+ IconEaseOut,+ IconEaseOutControlPoint,+ IconEdit,+ IconEditCircle,+ IconEditCircleOff,+ IconEditOff,+ IconEgg,+ IconEggCracked,+ IconEggFried,+ IconEggOff,+ IconEggs,+ IconElevator,+ IconElevatorOff,+ IconEmergencyBed,+ IconEmpathize,+ IconEmpathizeOff,+ IconEmphasis,+ IconEngine,+ IconEngineOff,+ IconEqual,+ IconEqualDouble,+ IconEqualNot,+ IconEraser,+ IconEraserOff,+ IconError404,+ IconError404Off,+ IconEscalator,+ IconEscalatorDown,+ IconEscalatorUp,+ IconExchange,+ IconExchangeOff,+ IconExclamationCircle,+ IconExclamationMark,+ IconExclamationMarkOff,+ IconExplicit,+ IconExplicitOff,+ IconExposure,+ IconExposure0,+ IconExposureMinus1,+ IconExposureMinus2,+ IconExposureOff,+ IconExposurePlus1,+ IconExposurePlus2,+ IconExternalLink,+ IconExternalLinkOff,+ IconEye,+ IconEyeBolt,+ IconEyeCancel,+ IconEyeCheck,+ IconEyeClosed,+ IconEyeCode,+ IconEyeCog,+ IconEyeDiscount,+ IconEyeDollar,+ IconEyeDown,+ IconEyeEdit,+ IconEyeExclamation,+ IconEyeHeart,+ IconEyeMinus,+ IconEyeOff,+ IconEyePause,+ IconEyePin,+ IconEyePlus,+ IconEyeQuestion,+ IconEyeSearch,+ IconEyeShare,+ IconEyeStar,+ IconEyeTable,+ IconEyeUp,+ IconEyeX,+ IconEyeglass,+ IconEyeglass2,+ IconEyeglassOff,+ IconFaceId,+ IconFaceIdError,+ IconFaceMask,+ IconFaceMaskOff,+ IconFall,+ IconFeather,+ IconFeatherOff,+ IconFence,+ IconFenceOff,+ IconFidgetSpinner,+ IconFile,+ IconFile3d,+ IconFileAlert,+ IconFileAnalytics,+ IconFileArrowLeft,+ IconFileArrowRight,+ IconFileBarcode,+ IconFileBroken,+ IconFileCertificate,+ IconFileChart,+ IconFileCheck,+ IconFileCode,+ IconFileCode2,+ IconFileCv,+ IconFileDatabase,+ IconFileDelta,+ IconFileDescription,+ IconFileDiff,+ IconFileDigit,+ IconFileDislike,+ IconFileDollar,+ IconFileDots,+ IconFileDownload,+ IconFileEuro,+ IconFileExport,+ IconFileFunction,+ IconFileHorizontal,+ IconFileImport,+ IconFileInfinity,+ IconFileInfo,+ IconFileInvoice,+ IconFileLambda,+ IconFileLike,+ IconFileMinus,+ IconFileMusic,+ IconFileOff,+ IconFileOrientation,+ IconFilePencil,+ IconFilePercent,+ IconFilePhone,+ IconFilePlus,+ IconFilePower,+ IconFileReport,+ IconFileRss,+ IconFileScissors,+ IconFileSearch,+ IconFileSettings,+ IconFileShredder,+ IconFileSignal,+ IconFileSpreadsheet,+ IconFileStack,+ IconFileStar,+ IconFileSymlink,+ IconFileText,+ IconFileTextAi,+ IconFileTime,+ IconFileTypeBmp,+ IconFileTypeCss,+ IconFileTypeCsv,+ IconFileTypeDoc,+ IconFileTypeDocx,+ IconFileTypeHtml,+ IconFileTypeJpg,+ IconFileTypeJs,+ IconFileTypeJsx,+ IconFileTypePdf,+ IconFileTypePhp,+ IconFileTypePng,+ IconFileTypePpt,+ IconFileTypeRs,+ IconFileTypeSql,+ IconFileTypeSvg,+ IconFileTypeTs,+ IconFileTypeTsx,+ IconFileTypeTxt,+ IconFileTypeVue,+ IconFileTypeXls,+ IconFileTypeXml,+ IconFileTypeZip,+ IconFileTypography,+ IconFileUnknown,+ IconFileUpload,+ IconFileVector,+ IconFileX,+ IconFileZip,+ IconFiles,+ IconFilesOff,+ IconFilter,+ IconFilterBolt,+ IconFilterCancel,+ IconFilterCheck,+ IconFilterCode,+ IconFilterCog,+ IconFilterDiscount,+ IconFilterDollar,+ IconFilterDown,+ IconFilterEdit,+ IconFilterExclamation,+ IconFilterHeart,+ IconFilterMinus,+ IconFilterOff,+ IconFilterPause,+ IconFilterPin,+ IconFilterPlus,+ IconFilterQuestion,+ IconFilterSearch,+ IconFilterShare,+ IconFilterStar,+ IconFilterUp,+ IconFilterX,+ IconFilters,+ IconFingerprint,+ IconFingerprintOff,+ IconFireExtinguisher,+ IconFireHydrant,+ IconFireHydrantOff,+ IconFiretruck,+ IconFirstAidKit,+ IconFirstAidKitOff,+ IconFish,+ IconFishBone,+ IconFishChristianity,+ IconFishHook,+ IconFishHookOff,+ IconFishOff,+ IconFlag,+ IconFlag2,+ IconFlag2Off,+ IconFlag3,+ IconFlagBolt,+ IconFlagCancel,+ IconFlagCheck,+ IconFlagCode,+ IconFlagCog,+ IconFlagDiscount,+ IconFlagDollar,+ IconFlagDown,+ IconFlagExclamation,+ IconFlagHeart,+ IconFlagMinus,+ IconFlagOff,+ IconFlagPause,+ IconFlagPin,+ IconFlagPlus,+ IconFlagQuestion,+ IconFlagSearch,+ IconFlagShare,+ IconFlagStar,+ IconFlagUp,+ IconFlagX,+ IconFlame,+ IconFlameOff,+ IconFlare,+ IconFlask,+ IconFlask2,+ IconFlask2Off,+ IconFlaskOff,+ IconFlipFlops,+ IconFlipHorizontal,+ IconFlipVertical,+ IconFloatCenter,+ IconFloatLeft,+ IconFloatNone,+ IconFloatRight,+ IconFlower,+ IconFlowerOff,+ IconFocus,+ IconFocus2,+ IconFocusAuto,+ IconFocusCentered,+ IconFold,+ IconFoldDown,+ IconFoldUp,+ IconFolder,+ IconFolderBolt,+ IconFolderCancel,+ IconFolderCheck,+ IconFolderCode,+ IconFolderCog,+ IconFolderDollar,+ IconFolderDown,+ IconFolderExclamation,+ IconFolderHeart,+ IconFolderMinus,+ IconFolderOff,+ IconFolderOpen,+ IconFolderPause,+ IconFolderPin,+ IconFolderPlus,+ IconFolderQuestion,+ IconFolderSearch,+ IconFolderShare,+ IconFolderStar,+ IconFolderSymlink,+ IconFolderUp,+ IconFolderX,+ IconFolders,+ IconFoldersOff,+ IconForbid,+ IconForbid2,+ IconForklift,+ IconForms,+ IconFountain,+ IconFountainOff,+ IconFrame,+ IconFrameOff,+ IconFreeRights,+ IconFreezeColumn,+ IconFreezeRow,+ IconFreezeRowColumn,+ IconFridge,+ IconFridgeOff,+ IconFriends,+ IconFriendsOff,+ IconFrustum,+ IconFrustumOff,+ IconFrustumPlus,+ IconFunction,+ IconFunctionOff,+ IconGardenCart,+ IconGardenCartOff,+ IconGasStation,+ IconGasStationOff,+ IconGauge,+ IconGaugeOff,+ IconGavel,+ IconGenderAgender,+ IconGenderAndrogyne,+ IconGenderBigender,+ IconGenderDemiboy,+ IconGenderDemigirl,+ IconGenderEpicene,+ IconGenderFemale,+ IconGenderFemme,+ IconGenderGenderfluid,+ IconGenderGenderless,+ IconGenderGenderqueer,+ IconGenderHermaphrodite,+ IconGenderIntergender,+ IconGenderMale,+ IconGenderNeutrois,+ IconGenderThird,+ IconGenderTransgender,+ IconGenderTrasvesti,+ IconGeometry,+ IconGhost,+ IconGhost2,+ IconGhost3,+ IconGhostOff,+ IconGif,+ IconGift,+ IconGiftCard,+ IconGiftOff,+ IconGitBranch,+ IconGitBranchDeleted,+ IconGitCherryPick,+ IconGitCommit,+ IconGitCompare,+ IconGitFork,+ IconGitMerge,+ IconGitPullRequest,+ IconGitPullRequestClosed,+ IconGitPullRequestDraft,+ IconGizmo,+ IconGlass,+ IconGlassFull,+ IconGlassOff,+ IconGlobe,+ IconGlobeOff,+ IconGoGame,+ IconGolf,+ IconGolfOff,+ IconGps,+ IconGradienter,+ IconGrain,+ IconGraph,+ IconGraphOff,+ IconGrave,+ IconGrave2,+ IconGridDots,+ IconGridPattern,+ IconGrill,+ IconGrillFork,+ IconGrillOff,+ IconGrillSpatula,+ IconGripHorizontal,+ IconGripVertical,+ IconGrowth,+ IconGuitarPick,+ IconH1,+ IconH2,+ IconH3,+ IconH4,+ IconH5,+ IconH6,+ IconHammer,+ IconHammerOff,+ IconHandClick,+ IconHandFinger,+ IconHandFingerOff,+ IconHandGrab,+ IconHandLittleFinger,+ IconHandMiddleFinger,+ IconHandMove,+ IconHandOff,+ IconHandRingFinger,+ IconHandSanitizer,+ IconHandStop,+ IconHandThreeFingers,+ IconHandTwoFingers,+ IconHanger,+ IconHanger2,+ IconHangerOff,+ IconHash,+ IconHaze,+ IconHazeMoon,+ IconHdr,+ IconHeading,+ IconHeadingOff,+ IconHeadphones,+ IconHeadphonesOff,+ IconHeadset,+ IconHeadsetOff,+ IconHealthRecognition,+ IconHeart,+ IconHeartBolt,+ IconHeartBroken,+ IconHeartCancel,+ IconHeartCheck,+ IconHeartCode,+ IconHeartCog,+ IconHeartDiscount,+ IconHeartDollar,+ IconHeartDown,+ IconHeartExclamation,+ IconHeartHandshake,+ IconHeartMinus,+ IconHeartOff,+ IconHeartPause,+ IconHeartPin,+ IconHeartPlus,+ IconHeartQuestion,+ IconHeartRateMonitor,+ IconHeartSearch,+ IconHeartShare,+ IconHeartStar,+ IconHeartUp,+ IconHeartX,+ IconHeartbeat,+ IconHearts,+ IconHeartsOff,+ IconHelicopter,+ IconHelicopterLanding,+ IconHelmet,+ IconHelmetOff,+ IconHelp,+ IconHelpCircle,+ IconHelpHexagon,+ IconHelpOctagon,+ IconHelpOff,+ IconHelpSmall,+ IconHelpSquare,+ IconHelpSquareRounded,+ IconHelpTriangle,+ IconHemisphere,+ IconHemisphereOff,+ IconHemispherePlus,+ IconHexagon,+ IconHexagon3d,+ IconHexagonLetterA,+ IconHexagonLetterB,+ IconHexagonLetterC,+ IconHexagonLetterD,+ IconHexagonLetterE,+ IconHexagonLetterF,+ IconHexagonLetterG,+ IconHexagonLetterH,+ IconHexagonLetterI,+ IconHexagonLetterJ,+ IconHexagonLetterK,+ IconHexagonLetterL,+ IconHexagonLetterM,+ IconHexagonLetterN,+ IconHexagonLetterO,+ IconHexagonLetterP,+ IconHexagonLetterQ,+ IconHexagonLetterR,+ IconHexagonLetterS,+ IconHexagonLetterT,+ IconHexagonLetterU,+ IconHexagonLetterV,+ IconHexagonLetterW,+ IconHexagonLetterX,+ IconHexagonLetterY,+ IconHexagonLetterZ,+ IconHexagonNumber0,+ IconHexagonNumber1,+ IconHexagonNumber2,+ IconHexagonNumber3,+ IconHexagonNumber4,+ IconHexagonNumber5,+ IconHexagonNumber6,+ IconHexagonNumber7,+ IconHexagonNumber8,+ IconHexagonNumber9,+ IconHexagonOff,+ IconHexagonalPrism,+ IconHexagonalPrismOff,+ IconHexagonalPrismPlus,+ IconHexagonalPyramid,+ IconHexagonalPyramidOff,+ IconHexagonalPyramidPlus,+ IconHexagons,+ IconHexagonsOff,+ IconHierarchy,+ IconHierarchy2,+ IconHierarchy3,+ IconHierarchyOff,+ IconHighlight,+ IconHighlightOff,+ IconHistory,+ IconHistoryOff,+ IconHistoryToggle,+ IconHome,+ IconHome2,+ IconHomeBolt,+ IconHomeCancel,+ IconHomeCheck,+ IconHomeCog,+ IconHomeDollar,+ IconHomeDot,+ IconHomeDown,+ IconHomeEco,+ IconHomeEdit,+ IconHomeExclamation,+ IconHomeHand,+ IconHomeHeart,+ IconHomeInfinity,+ IconHomeLink,+ IconHomeMinus,+ IconHomeMove,+ IconHomeOff,+ IconHomePlus,+ IconHomeQuestion,+ IconHomeRibbon,+ IconHomeSearch,+ IconHomeShare,+ IconHomeShield,+ IconHomeSignal,+ IconHomeStar,+ IconHomeStats,+ IconHomeUp,+ IconHomeX,+ IconHorseToy,+ IconHotelService,+ IconHourglass,+ IconHourglassEmpty,+ IconHourglassHigh,+ IconHourglassLow,+ IconHourglassOff,+ IconHours24,+ IconHtml,+ IconHttpConnect,+ IconHttpDelete,+ IconHttpGet,+ IconHttpHead,+ IconHttpOptions,+ IconHttpPatch,+ IconHttpPost,+ IconHttpPut,+ IconHttpQue,+ IconHttpTrace,+ IconIceCream,+ IconIceCream2,+ IconIceCreamOff,+ IconIceSkating,+ IconIcons,+ IconIconsOff,+ IconId,+ IconIdBadge,+ IconIdBadge2,+ IconIdBadgeOff,+ IconIdOff,+ IconInbox,+ IconInboxOff,+ IconIndentDecrease,+ IconIndentIncrease,+ IconInfinity,+ IconInfinityOff,+ IconInfoCircle,+ IconInfoHexagon,+ IconInfoOctagon,+ IconInfoSmall,+ IconInfoSquare,+ IconInfoSquareRounded,+ IconInfoTriangle,+ IconInnerShadowBottom,+ IconInnerShadowBottomLeft,+ IconInnerShadowBottomRight,+ IconInnerShadowLeft,+ IconInnerShadowRight,+ IconInnerShadowTop,+ IconInnerShadowTopLeft,+ IconInnerShadowTopRight,+ IconInputSearch,+ IconIroning,+ IconIroning1,+ IconIroning2,+ IconIroning3,+ IconIroningOff,+ IconIroningSteam,+ IconIroningSteamOff,+ IconIrregularPolyhedron,+ IconIrregularPolyhedronOff,+ IconIrregularPolyhedronPlus,+ IconItalic,+ IconJacket,+ IconJetpack,+ IconJewishStar,+ IconJpg,+ IconJson,+ IconJumpRope,+ IconKarate,+ IconKayak,+ IconKey,+ IconKeyOff,+ IconKeyboard,+ IconKeyboardHide,+ IconKeyboardOff,+ IconKeyboardShow,+ IconKeyframe,+ IconKeyframeAlignCenter,+ IconKeyframeAlignHorizontal,+ IconKeyframeAlignVertical,+ IconKeyframes,+ IconLadder,+ IconLadderOff,+ IconLadle,+ IconLambda,+ IconLamp,+ IconLamp2,+ IconLampOff,+ IconLane,+ IconLanguage,+ IconLanguageHiragana,+ IconLanguageKatakana,+ IconLanguageOff,+ IconLasso,+ IconLassoOff,+ IconLassoPolygon,+ IconLayersDifference,+ IconLayersIntersect,+ IconLayersIntersect2,+ IconLayersLinked,+ IconLayersOff,+ IconLayersSubtract,+ IconLayersUnion,+ IconLayout,+ IconLayout2,+ IconLayoutAlignBottom,+ IconLayoutAlignCenter,+ IconLayoutAlignLeft,+ IconLayoutAlignMiddle,+ IconLayoutAlignRight,+ IconLayoutAlignTop,+ IconLayoutBoard,+ IconLayoutBoardSplit,+ IconLayoutBottombar,+ IconLayoutBottombarCollapse,+ IconLayoutBottombarExpand,+ IconLayoutCards,+ IconLayoutCollage,+ IconLayoutColumns,+ IconLayoutDashboard,+ IconLayoutDistributeHorizontal,+ IconLayoutDistributeVertical,+ IconLayoutGrid,+ IconLayoutGridAdd,+ IconLayoutGridRemove,+ IconLayoutKanban,+ IconLayoutList,+ IconLayoutNavbar,+ IconLayoutNavbarCollapse,+ IconLayoutNavbarExpand,+ IconLayoutOff,+ IconLayoutRows,+ IconLayoutSidebar,+ IconLayoutSidebarLeftCollapse,+ IconLayoutSidebarLeftExpand,+ IconLayoutSidebarRight,+ IconLayoutSidebarRightCollapse,+ IconLayoutSidebarRightExpand,+ IconLeaf,+ IconLeafOff,+ IconLego,+ IconLegoOff,+ IconLemon,+ IconLemon2,+ IconLetterA,+ IconLetterB,+ IconLetterC,+ IconLetterCase,+ IconLetterCaseLower,+ IconLetterCaseToggle,+ IconLetterCaseUpper,+ IconLetterD,+ IconLetterE,+ IconLetterF,+ IconLetterG,+ IconLetterH,+ IconLetterI,+ IconLetterJ,+ IconLetterK,+ IconLetterL,+ IconLetterM,+ IconLetterN,+ IconLetterO,+ IconLetterP,+ IconLetterQ,+ IconLetterR,+ IconLetterS,+ IconLetterSpacing,+ IconLetterT,+ IconLetterU,+ IconLetterV,+ IconLetterW,+ IconLetterX,+ IconLetterY,+ IconLetterZ,+ IconLicense,+ IconLicenseOff,+ IconLifebuoy,+ IconLifebuoyOff,+ IconLighter,+ IconLine,+ IconLineDashed,+ IconLineDotted,+ IconLineHeight,+ IconLink,+ IconLinkOff,+ IconLinkPlus,+ IconList,+ IconListCheck,+ IconListDetails,+ IconListNumbers,+ IconListSearch,+ IconListTree,+ IconLivePhoto,+ IconLivePhotoOff,+ IconLiveView,+ IconLoadBalancer,+ IconLoader,+ IconLoader2,+ IconLoader3,+ IconLoaderQuarter,+ IconLocation,+ IconLocationBolt,+ IconLocationBroken,+ IconLocationCancel,+ IconLocationCheck,+ IconLocationCode,+ IconLocationCog,+ IconLocationDiscount,+ IconLocationDollar,+ IconLocationDown,+ IconLocationExclamation,+ IconLocationHeart,+ IconLocationMinus,+ IconLocationOff,+ IconLocationPause,+ IconLocationPin,+ IconLocationPlus,+ IconLocationQuestion,+ IconLocationSearch,+ IconLocationShare,+ IconLocationStar,+ IconLocationUp,+ IconLocationX,+ IconLock,+ IconLockAccess,+ IconLockAccessOff,+ IconLockBolt,+ IconLockCancel,+ IconLockCheck,+ IconLockCode,+ IconLockCog,+ IconLockDollar,+ IconLockDown,+ IconLockExclamation,+ IconLockHeart,+ IconLockMinus,+ IconLockOff,+ IconLockOpen,+ IconLockOpenOff,+ IconLockPause,+ IconLockPin,+ IconLockPlus,+ IconLockQuestion,+ IconLockSearch,+ IconLockShare,+ IconLockSquare,+ IconLockSquareRounded,+ IconLockStar,+ IconLockUp,+ IconLockX,+ IconLogicAnd,+ IconLogicBuffer,+ IconLogicNand,+ IconLogicNor,+ IconLogicNot,+ IconLogicOr,+ IconLogicXnor,+ IconLogicXor,+ IconLogin,+ IconLogout,+ IconLogout2,+ IconLollipop,+ IconLollipopOff,+ IconLuggage,+ IconLuggageOff,+ IconLungs,+ IconLungsOff,+ IconMacro,+ IconMacroOff,+ IconMagnet,+ IconMagnetOff,+ IconMail,+ IconMailAi,+ IconMailBolt,+ IconMailCancel,+ IconMailCheck,+ IconMailCode,+ IconMailCog,+ IconMailDollar,+ IconMailDown,+ IconMailExclamation,+ IconMailFast,+ IconMailForward,+ IconMailHeart,+ IconMailMinus,+ IconMailOff,+ IconMailOpened,+ IconMailPause,+ IconMailPin,+ IconMailPlus,+ IconMailQuestion,+ IconMailSearch,+ IconMailShare,+ IconMailStar,+ IconMailUp,+ IconMailX,+ IconMailbox,+ IconMailboxOff,+ IconMan,+ IconManualGearbox,+ IconMap,+ IconMap2,+ IconMapBolt,+ IconMapCancel,+ IconMapCheck,+ IconMapCode,+ IconMapCog,+ IconMapDiscount,+ IconMapDollar,+ IconMapDown,+ IconMapExclamation,+ IconMapHeart,+ IconMapMinus,+ IconMapOff,+ IconMapPause,+ IconMapPin,+ IconMapPinBolt,+ IconMapPinCancel,+ IconMapPinCheck,+ IconMapPinCode,+ IconMapPinCog,+ IconMapPinDollar,+ IconMapPinDown,+ IconMapPinExclamation,+ IconMapPinHeart,+ IconMapPinMinus,+ IconMapPinOff,+ IconMapPinPause,+ IconMapPinPin,+ IconMapPinPlus,+ IconMapPinQuestion,+ IconMapPinSearch,+ IconMapPinShare,+ IconMapPinStar,+ IconMapPinUp,+ IconMapPinX,+ IconMapPins,+ IconMapPlus,+ IconMapQuestion,+ IconMapSearch,+ IconMapShare,+ IconMapStar,+ IconMapUp,+ IconMapX,+ IconMarkdown,+ IconMarkdownOff,+ IconMarquee,+ IconMarquee2,+ IconMarqueeOff,+ IconMars,+ IconMask,+ IconMaskOff,+ IconMasksTheater,+ IconMasksTheaterOff,+ IconMassage,+ IconMatchstick,+ IconMath,+ IconMath1Divide2,+ IconMath1Divide3,+ IconMathAvg,+ IconMathEqualGreater,+ IconMathEqualLower,+ IconMathFunction,+ IconMathFunctionOff,+ IconMathFunctionY,+ IconMathGreater,+ IconMathIntegral,+ IconMathIntegralX,+ IconMathIntegrals,+ IconMathLower,+ IconMathMax,+ IconMathMin,+ IconMathNot,+ IconMathOff,+ IconMathPi,+ IconMathPiDivide2,+ IconMathSymbols,+ IconMathXDivide2,+ IconMathXDivideY,+ IconMathXDivideY2,+ IconMathXMinusX,+ IconMathXMinusY,+ IconMathXPlusX,+ IconMathXPlusY,+ IconMathXy,+ IconMathYMinusY,+ IconMathYPlusY,+ IconMaximize,+ IconMaximizeOff,+ IconMeat,+ IconMeatOff,+ IconMedal,+ IconMedal2,+ IconMedicalCross,+ IconMedicalCrossCircle,+ IconMedicalCrossOff,+ IconMedicineSyrup,+ IconMeeple,+ IconMenorah,+ IconMenu,+ IconMenu2,+ IconMenuDeep,+ IconMenuOrder,+ IconMessage,+ IconMessage2,+ IconMessage2Bolt,+ IconMessage2Cancel,+ IconMessage2Check,+ IconMessage2Code,+ IconMessage2Cog,+ IconMessage2Dollar,+ IconMessage2Down,+ IconMessage2Exclamation,+ IconMessage2Heart,+ IconMessage2Minus,+ IconMessage2Off,+ IconMessage2Pause,+ IconMessage2Pin,+ IconMessage2Plus,+ IconMessage2Question,+ IconMessage2Search,+ IconMessage2Share,+ IconMessage2Star,+ IconMessage2Up,+ IconMessage2X,+ IconMessageBolt,+ IconMessageCancel,+ IconMessageChatbot,+ IconMessageCheck,+ IconMessageCircle,+ IconMessageCircleBolt,+ IconMessageCircleCancel,+ IconMessageCircleCheck,+ IconMessageCircleCode,+ IconMessageCircleCog,+ IconMessageCircleDollar,+ IconMessageCircleDown,+ IconMessageCircleExclamation,+ IconMessageCircleHeart,+ IconMessageCircleMinus,+ IconMessageCircleOff,+ IconMessageCirclePause,+ IconMessageCirclePin,+ IconMessageCirclePlus,+ IconMessageCircleQuestion,+ IconMessageCircleSearch,+ IconMessageCircleShare,+ IconMessageCircleStar,+ IconMessageCircleUp,+ IconMessageCircleX,+ IconMessageCode,+ IconMessageCog,+ IconMessageDollar,+ IconMessageDots,+ IconMessageDown,+ IconMessageExclamation,+ IconMessageForward,+ IconMessageHeart,+ IconMessageLanguage,+ IconMessageMinus,+ IconMessageOff,+ IconMessagePause,+ IconMessagePin,+ IconMessagePlus,+ IconMessageQuestion,+ IconMessageReport,+ IconMessageSearch,+ IconMessageShare,+ IconMessageStar,+ IconMessageUp,+ IconMessageX,+ IconMessages,+ IconMessagesOff,+ IconMeteor,+ IconMeteorOff,+ IconMichelinBibGourmand,+ IconMichelinStar,+ IconMichelinStarGreen,+ IconMickey,+ IconMicrophone,+ IconMicrophone2,+ IconMicrophone2Off,+ IconMicrophoneOff,+ IconMicroscope,+ IconMicroscopeOff,+ IconMicrowave,+ IconMicrowaveOff,+ IconMilitaryAward,+ IconMilitaryRank,+ IconMilk,+ IconMilkOff,+ IconMilkshake,+ IconMinimize,+ IconMinus,+ IconMist,+ IconMistOff,+ IconMobiledata,+ IconMobiledataOff,+ IconMoneybag,+ IconMoodAngry,+ IconMoodAnnoyed,+ IconMoodAnnoyed2,+ IconMoodBoy,+ IconMoodCheck,+ IconMoodCog,+ IconMoodConfuzed,+ IconMoodCrazyHappy,+ IconMoodCry,+ IconMoodDollar,+ IconMoodEdit,+ IconMoodEmpty,+ IconMoodHappy,+ IconMoodHeart,+ IconMoodKid,+ IconMoodLookLeft,+ IconMoodLookRight,+ IconMoodMinus,+ IconMoodNerd,+ IconMoodNervous,+ IconMoodNeutral,+ IconMoodOff,+ IconMoodPin,+ IconMoodPlus,+ IconMoodSad,+ IconMoodSad2,+ IconMoodSadDizzy,+ IconMoodSadSquint,+ IconMoodSearch,+ IconMoodShare,+ IconMoodSick,+ IconMoodSilence,+ IconMoodSing,+ IconMoodSmile,+ IconMoodSmileBeam,+ IconMoodSmileDizzy,+ IconMoodTongue,+ IconMoodTongueWink,+ IconMoodTongueWink2,+ IconMoodUnamused,+ IconMoodUp,+ IconMoodWink,+ IconMoodWink2,+ IconMoodWrrr,+ IconMoodX,+ IconMoodXd,+ IconMoon,+ IconMoon2,+ IconMoonOff,+ IconMoonStars,+ IconMoped,+ IconMotorbike,+ IconMountain,+ IconMountainOff,+ IconMouse,+ IconMouse2,+ IconMouseOff,+ IconMoustache,+ IconMovie,+ IconMovieOff,+ IconMug,+ IconMugOff,+ IconMultiplier05x,+ IconMultiplier15x,+ IconMultiplier1x,+ IconMultiplier2x,+ IconMushroom,+ IconMushroomOff,+ IconMusic,+ IconMusicBolt,+ IconMusicCancel,+ IconMusicCheck,+ IconMusicCode,+ IconMusicCog,+ IconMusicDiscount,+ IconMusicDollar,+ IconMusicDown,+ IconMusicExclamation,+ IconMusicHeart,+ IconMusicMinus,+ IconMusicOff,+ IconMusicPause,+ IconMusicPin,+ IconMusicPlus,+ IconMusicQuestion,+ IconMusicSearch,+ IconMusicShare,+ IconMusicStar,+ IconMusicUp,+ IconMusicX,+ IconNavigation,+ IconNavigationBolt,+ IconNavigationCancel,+ IconNavigationCheck,+ IconNavigationCode,+ IconNavigationCog,+ IconNavigationDiscount,+ IconNavigationDollar,+ IconNavigationDown,+ IconNavigationExclamation,+ IconNavigationHeart,+ IconNavigationMinus,+ IconNavigationNorth,+ IconNavigationOff,+ IconNavigationPause,+ IconNavigationPin,+ IconNavigationPlus,+ IconNavigationQuestion,+ IconNavigationSearch,+ IconNavigationShare,+ IconNavigationStar,+ IconNavigationUp,+ IconNavigationX,+ IconNeedle,+ IconNeedleThread,+ IconNetwork,+ IconNetworkOff,+ IconNewSection,+ IconNews,+ IconNewsOff,+ IconNfc,+ IconNfcOff,+ IconNoCopyright,+ IconNoCreativeCommons,+ IconNoDerivatives,+ IconNorthStar,+ IconNote,+ IconNoteOff,+ IconNotebook,+ IconNotebookOff,+ IconNotes,+ IconNotesOff,+ IconNotification,+ IconNotificationOff,+ IconNumber,+ IconNumber0,+ IconNumber1,+ IconNumber2,+ IconNumber3,+ IconNumber4,+ IconNumber5,+ IconNumber6,+ IconNumber7,+ IconNumber8,+ IconNumber9,+ IconNumbers,+ IconNurse,+ IconOctagon,+ IconOctagonOff,+ IconOctahedron,+ IconOctahedronOff,+ IconOctahedronPlus,+ IconOld,+ IconOlympics,+ IconOlympicsOff,+ IconOm,+ IconOmega,+ IconOutbound,+ IconOutlet,+ IconOval,+ IconOvalVertical,+ IconOverline,+ IconPackage,+ IconPackageExport,+ IconPackageImport,+ IconPackageOff,+ IconPackages,+ IconPacman,+ IconPageBreak,+ IconPaint,+ IconPaintOff,+ IconPalette,+ IconPaletteOff,+ IconPanoramaHorizontal,+ IconPanoramaHorizontalOff,+ IconPanoramaVertical,+ IconPanoramaVerticalOff,+ IconPaperBag,+ IconPaperBagOff,+ IconPaperclip,+ IconParachute,+ IconParachuteOff,+ IconParentheses,+ IconParenthesesOff,+ IconParking,+ IconParkingOff,+ IconPassword,+ IconPaw,+ IconPawOff,+ IconPdf,+ IconPeace,+ IconPencil,+ IconPencilBolt,+ IconPencilCancel,+ IconPencilCheck,+ IconPencilCode,+ IconPencilCog,+ IconPencilDiscount,+ IconPencilDollar,+ IconPencilDown,+ IconPencilExclamation,+ IconPencilHeart,+ IconPencilMinus,+ IconPencilOff,+ IconPencilPause,+ IconPencilPin,+ IconPencilPlus,+ IconPencilQuestion,+ IconPencilSearch,+ IconPencilShare,+ IconPencilStar,+ IconPencilUp,+ IconPencilX,+ IconPennant,+ IconPennant2,+ IconPennantOff,+ IconPentagon,+ IconPentagonOff,+ IconPentagram,+ IconPepper,+ IconPepperOff,+ IconPercentage,+ IconPerfume,+ IconPerspective,+ IconPerspectiveOff,+ IconPhone,+ IconPhoneCall,+ IconPhoneCalling,+ IconPhoneCheck,+ IconPhoneIncoming,+ IconPhoneOff,+ IconPhoneOutgoing,+ IconPhonePause,+ IconPhonePlus,+ IconPhoneX,+ IconPhoto,+ IconPhotoAi,+ IconPhotoBolt,+ IconPhotoCancel,+ IconPhotoCheck,+ IconPhotoCode,+ IconPhotoCog,+ IconPhotoDollar,+ IconPhotoDown,+ IconPhotoEdit,+ IconPhotoExclamation,+ IconPhotoHeart,+ IconPhotoMinus,+ IconPhotoOff,+ IconPhotoPause,+ IconPhotoPin,+ IconPhotoPlus,+ IconPhotoQuestion,+ IconPhotoSearch,+ IconPhotoSensor,+ IconPhotoSensor2,+ IconPhotoSensor3,+ IconPhotoShare,+ IconPhotoShield,+ IconPhotoStar,+ IconPhotoUp,+ IconPhotoX,+ IconPhysotherapist,+ IconPiano,+ IconPick,+ IconPictureInPicture,+ IconPictureInPictureOff,+ IconPictureInPictureOn,+ IconPictureInPictureTop,+ IconPig,+ IconPigMoney,+ IconPigOff,+ IconPilcrow,+ IconPill,+ IconPillOff,+ IconPills,+ IconPin,+ IconPingPong,+ IconPinned,+ IconPinnedOff,+ IconPizza,+ IconPizzaOff,+ IconPlaceholder,+ IconPlane,+ IconPlaneArrival,+ IconPlaneDeparture,+ IconPlaneInflight,+ IconPlaneOff,+ IconPlaneTilt,+ IconPlanet,+ IconPlanetOff,+ IconPlant,+ IconPlant2,+ IconPlant2Off,+ IconPlantOff,+ IconPlayBasketball,+ IconPlayCard,+ IconPlayCardOff,+ IconPlayFootball,+ IconPlayHandball,+ IconPlayVolleyball,+ IconPlayerEject,+ IconPlayerPause,+ IconPlayerPlay,+ IconPlayerRecord,+ IconPlayerSkipBack,+ IconPlayerSkipForward,+ IconPlayerStop,+ IconPlayerTrackNext,+ IconPlayerTrackPrev,+ IconPlaylist,+ IconPlaylistAdd,+ IconPlaylistOff,+ IconPlaylistX,+ IconPlaystationCircle,+ IconPlaystationSquare,+ IconPlaystationTriangle,+ IconPlaystationX,+ IconPlug,+ IconPlugConnected,+ IconPlugConnectedX,+ IconPlugOff,+ IconPlugX,+ IconPlus,+ IconPlusEqual,+ IconPlusMinus,+ IconPng,+ IconPodium,+ IconPodiumOff,+ IconPoint,+ IconPointOff,+ IconPointer,+ IconPointerBolt,+ IconPointerCancel,+ IconPointerCheck,+ IconPointerCode,+ IconPointerCog,+ IconPointerDollar,+ IconPointerDown,+ IconPointerExclamation,+ IconPointerHeart,+ IconPointerMinus,+ IconPointerOff,+ IconPointerPause,+ IconPointerPin,+ IconPointerPlus,+ IconPointerQuestion,+ IconPointerSearch,+ IconPointerShare,+ IconPointerStar,+ IconPointerUp,+ IconPointerX,+ IconPokeball,+ IconPokeballOff,+ IconPokerChip,+ IconPolaroid,+ IconPolygon,+ IconPolygonOff,+ IconPoo,+ IconPool,+ IconPoolOff,+ IconPower,+ IconPray,+ IconPremiumRights,+ IconPrescription,+ IconPresentation,+ IconPresentationAnalytics,+ IconPresentationOff,+ IconPrinter,+ IconPrinterOff,+ IconPrism,+ IconPrismOff,+ IconPrismPlus,+ IconPrison,+ IconProgress,+ IconProgressAlert,+ IconProgressBolt,+ IconProgressCheck,+ IconProgressDown,+ IconProgressHelp,+ IconProgressX,+ IconPrompt,+ IconPropeller,+ IconPropellerOff,+ IconPumpkinScary,+ IconPuzzle,+ IconPuzzle2,+ IconPuzzleOff,+ IconPyramid,+ IconPyramidOff,+ IconPyramidPlus,+ IconQrcode,+ IconQrcodeOff,+ IconQuestionMark,+ IconQuote,+ IconQuoteOff,+ IconQuotes,+ IconRadar,+ IconRadar2,+ IconRadarOff,+ IconRadio,+ IconRadioOff,+ IconRadioactive,+ IconRadioactiveOff,+ IconRadiusBottomLeft,+ IconRadiusBottomRight,+ IconRadiusTopLeft,+ IconRadiusTopRight,+ IconRainbow,+ IconRainbowOff,+ IconRating12Plus,+ IconRating14Plus,+ IconRating16Plus,+ IconRating18Plus,+ IconRating21Plus,+ IconRazor,+ IconRazorElectric,+ IconReceipt,+ IconReceipt2,+ IconReceiptOff,+ IconReceiptRefund,+ IconReceiptTax,+ IconRecharging,+ IconRecordMail,+ IconRecordMailOff,+ IconRectangle,+ IconRectangleRoundedBottom,+ IconRectangleRoundedTop,+ IconRectangleVertical,+ IconRectangularPrism,+ IconRectangularPrismOff,+ IconRectangularPrismPlus,+ IconRecycle,+ IconRecycleOff,+ IconRefresh,+ IconRefreshAlert,+ IconRefreshDot,+ IconRefreshOff,+ IconRegex,+ IconRegexOff,+ IconRegistered,+ IconRelationManyToMany,+ IconRelationOneToMany,+ IconRelationOneToOne,+ IconReload,+ IconReorder,+ IconRepeat,+ IconRepeatOff,+ IconRepeatOnce,+ IconReplace,+ IconReplaceOff,+ IconReport,+ IconReportAnalytics,+ IconReportMedical,+ IconReportMoney,+ IconReportOff,+ IconReportSearch,+ IconReservedLine,+ IconResize,+ IconRestore,+ IconRewindBackward10,+ IconRewindBackward15,+ IconRewindBackward20,+ IconRewindBackward30,+ IconRewindBackward40,+ IconRewindBackward5,+ IconRewindBackward50,+ IconRewindBackward60,+ IconRewindForward10,+ IconRewindForward15,+ IconRewindForward20,+ IconRewindForward30,+ IconRewindForward40,+ IconRewindForward5,+ IconRewindForward50,+ IconRewindForward60,+ IconRibbonHealth,+ IconRings,+ IconRipple,+ IconRippleOff,+ IconRoad,+ IconRoadOff,+ IconRoadSign,+ IconRobot,+ IconRobotOff,+ IconRocket,+ IconRocketOff,+ IconRollerSkating,+ IconRollercoaster,+ IconRollercoasterOff,+ IconRosette,+ IconRosetteNumber0,+ IconRosetteNumber1,+ IconRosetteNumber2,+ IconRosetteNumber3,+ IconRosetteNumber4,+ IconRosetteNumber5,+ IconRosetteNumber6,+ IconRosetteNumber7,+ IconRosetteNumber8,+ IconRosetteNumber9,+ IconRotate,+ IconRotate2,+ IconRotate360,+ IconRotate3d,+ IconRotateClockwise,+ IconRotateClockwise2,+ IconRotateDot,+ IconRotateRectangle,+ IconRoute,+ IconRoute2,+ IconRouteOff,+ IconRouter,+ IconRouterOff,+ IconRowInsertBottom,+ IconRowInsertTop,+ IconRowRemove,+ IconRss,+ IconRubberStamp,+ IconRubberStampOff,+ IconRuler,+ IconRuler2,+ IconRuler2Off,+ IconRuler3,+ IconRulerMeasure,+ IconRulerOff,+ IconRun,+ IconSTurnDown,+ IconSTurnLeft,+ IconSTurnRight,+ IconSTurnUp,+ IconSailboat,+ IconSailboat2,+ IconSailboatOff,+ IconSalad,+ IconSalt,+ IconSatellite,+ IconSatelliteOff,+ IconSausage,+ IconScale,+ IconScaleOff,+ IconScaleOutline,+ IconScaleOutlineOff,+ IconScan,+ IconScanEye,+ IconSchema,+ IconSchemaOff,+ IconSchool,+ IconSchoolBell,+ IconSchoolOff,+ IconScissors,+ IconScissorsOff,+ IconScooter,+ IconScooterElectric,+ IconScoreboard,+ IconScreenShare,+ IconScreenShareOff,+ IconScreenshot,+ IconScribble,+ IconScribbleOff,+ IconScript,+ IconScriptMinus,+ IconScriptPlus,+ IconScriptX,+ IconScubaMask,+ IconScubaMaskOff,+ IconSdk,+ IconSearch,+ IconSearchOff,+ IconSection,+ IconSectionSign,+ IconSelect,+ IconSelectAll,+ IconSelector,+ IconSend,+ IconSendOff,+ IconSeo,+ IconSeparator,+ IconSeparatorHorizontal,+ IconSeparatorVertical,+ IconServer,+ IconServer2,+ IconServerBolt,+ IconServerCog,+ IconServerOff,+ IconServicemark,+ IconSettings,+ IconSettings2,+ IconSettingsAutomation,+ IconSettingsBolt,+ IconSettingsCancel,+ IconSettingsCheck,+ IconSettingsCode,+ IconSettingsCog,+ IconSettingsDollar,+ IconSettingsDown,+ IconSettingsExclamation,+ IconSettingsHeart,+ IconSettingsMinus,+ IconSettingsOff,+ IconSettingsPause,+ IconSettingsPin,+ IconSettingsPlus,+ IconSettingsQuestion,+ IconSettingsSearch,+ IconSettingsShare,+ IconSettingsStar,+ IconSettingsUp,+ IconSettingsX,+ IconShadow,+ IconShadowOff,+ IconShape,+ IconShape2,+ IconShape3,+ IconShapeOff,+ IconShare,+ IconShare2,+ IconShare3,+ IconShareOff,+ IconShield,+ IconShieldBolt,+ IconShieldCancel,+ IconShieldCheck,+ IconShieldCheckered,+ IconShieldChevron,+ IconShieldCode,+ IconShieldCog,+ IconShieldDollar,+ IconShieldDown,+ IconShieldExclamation,+ IconShieldHalf,+ IconShieldHeart,+ IconShieldLock,+ IconShieldMinus,+ IconShieldOff,+ IconShieldPause,+ IconShieldPin,+ IconShieldPlus,+ IconShieldQuestion,+ IconShieldSearch,+ IconShieldShare,+ IconShieldStar,+ IconShieldUp,+ IconShieldX,+ IconShip,+ IconShipOff,+ IconShirt,+ IconShirtOff,+ IconShirtSport,+ IconShoe,+ IconShoeOff,+ IconShoppingBag,+ IconShoppingBagCheck,+ IconShoppingBagDiscount,+ IconShoppingBagEdit,+ IconShoppingBagExclamation,+ IconShoppingBagMinus,+ IconShoppingBagPlus,+ IconShoppingBagSearch,+ IconShoppingBagX,+ IconShoppingCart,+ IconShoppingCartBolt,+ IconShoppingCartCancel,+ IconShoppingCartCheck,+ IconShoppingCartCode,+ IconShoppingCartCog,+ IconShoppingCartCopy,+ IconShoppingCartDiscount,+ IconShoppingCartDollar,+ IconShoppingCartDown,+ IconShoppingCartExclamation,+ IconShoppingCartHeart,+ IconShoppingCartMinus,+ IconShoppingCartOff,+ IconShoppingCartPause,+ IconShoppingCartPin,+ IconShoppingCartPlus,+ IconShoppingCartQuestion,+ IconShoppingCartSearch,+ IconShoppingCartShare,+ IconShoppingCartStar,+ IconShoppingCartUp,+ IconShoppingCartX,+ IconShovel,+ IconShredder,+ IconSignLeft,+ IconSignRight,+ IconSignal2g,+ IconSignal3g,+ IconSignal4g,+ IconSignal4gPlus,+ IconSignal5g,+ IconSignal6g,+ IconSignalE,+ IconSignalG,+ IconSignalH,+ IconSignalHPlus,+ IconSignalLte,+ IconSignature,+ IconSignatureOff,+ IconSitemap,+ IconSitemapOff,+ IconSkateboard,+ IconSkateboardOff,+ IconSkateboarding,+ IconSkull,+ IconSlash,+ IconSlashes,+ IconSleigh,+ IconSlice,+ IconSlideshow,+ IconSmartHome,+ IconSmartHomeOff,+ IconSmoking,+ IconSmokingNo,+ IconSnowflake,+ IconSnowflakeOff,+ IconSnowman,+ IconSoccerField,+ IconSocial,+ IconSocialOff,+ IconSock,+ IconSofa,+ IconSofaOff,+ IconSolarPanel,+ IconSolarPanel2,+ IconSort09,+ IconSort90,+ IconSortAZ,+ IconSortAscending,+ IconSortAscending2,+ IconSortAscendingLetters,+ IconSortAscendingNumbers,+ IconSortDescending,+ IconSortDescending2,+ IconSortDescendingLetters,+ IconSortDescendingNumbers,+ IconSortZA,+ IconSos,+ IconSoup,+ IconSoupOff,+ IconSourceCode,+ IconSpace,+ IconSpaceOff,+ IconSpacingHorizontal,+ IconSpacingVertical,+ IconSpade,+ IconSparkles,+ IconSpeakerphone,+ IconSpeedboat,+ IconSphere,+ IconSphereOff,+ IconSpherePlus,+ IconSpider,+ IconSpiral,+ IconSpiralOff,+ IconSportBillard,+ IconSpray,+ IconSpy,+ IconSpyOff,+ IconSql,+ IconSquare,+ IconSquareArrowDown,+ IconSquareArrowLeft,+ IconSquareArrowRight,+ IconSquareArrowUp,+ IconSquareAsterisk,+ IconSquareCheck,+ IconSquareChevronDown,+ IconSquareChevronLeft,+ IconSquareChevronRight,+ IconSquareChevronUp,+ IconSquareChevronsDown,+ IconSquareChevronsLeft,+ IconSquareChevronsRight,+ IconSquareChevronsUp,+ IconSquareDot,+ IconSquareF0,+ IconSquareF1,+ IconSquareF2,+ IconSquareF3,+ IconSquareF4,+ IconSquareF5,+ IconSquareF6,+ IconSquareF7,+ IconSquareF8,+ IconSquareF9,+ IconSquareForbid,+ IconSquareForbid2,+ IconSquareHalf,+ IconSquareKey,+ IconSquareLetterA,+ IconSquareLetterB,+ IconSquareLetterC,+ IconSquareLetterD,+ IconSquareLetterE,+ IconSquareLetterF,+ IconSquareLetterG,+ IconSquareLetterH,+ IconSquareLetterI,+ IconSquareLetterJ,+ IconSquareLetterK,+ IconSquareLetterL,+ IconSquareLetterM,+ IconSquareLetterN,+ IconSquareLetterO,+ IconSquareLetterP,+ IconSquareLetterQ,+ IconSquareLetterR,+ IconSquareLetterS,+ IconSquareLetterT,+ IconSquareLetterU,+ IconSquareLetterV,+ IconSquareLetterW,+ IconSquareLetterX,+ IconSquareLetterY,+ IconSquareLetterZ,+ IconSquareMinus,+ IconSquareNumber0,+ IconSquareNumber1,+ IconSquareNumber2,+ IconSquareNumber3,+ IconSquareNumber4,+ IconSquareNumber5,+ IconSquareNumber6,+ IconSquareNumber7,+ IconSquareNumber8,+ IconSquareNumber9,+ IconSquareOff,+ IconSquarePlus,+ IconSquareRoot,+ IconSquareRoot2,+ IconSquareRotated,+ IconSquareRotatedForbid,+ IconSquareRotatedForbid2,+ IconSquareRotatedOff,+ IconSquareRounded,+ IconSquareRoundedArrowDown,+ IconSquareRoundedArrowLeft,+ IconSquareRoundedArrowRight,+ IconSquareRoundedArrowUp,+ IconSquareRoundedCheck,+ IconSquareRoundedChevronDown,+ IconSquareRoundedChevronLeft,+ IconSquareRoundedChevronRight,+ IconSquareRoundedChevronUp,+ IconSquareRoundedChevronsDown,+ IconSquareRoundedChevronsLeft,+ IconSquareRoundedChevronsRight,+ IconSquareRoundedChevronsUp,+ IconSquareRoundedLetterA,+ IconSquareRoundedLetterB,+ IconSquareRoundedLetterC,+ IconSquareRoundedLetterD,+ IconSquareRoundedLetterE,+ IconSquareRoundedLetterF,+ IconSquareRoundedLetterG,+ IconSquareRoundedLetterH,+ IconSquareRoundedLetterI,+ IconSquareRoundedLetterJ,+ IconSquareRoundedLetterK,+ IconSquareRoundedLetterL,+ IconSquareRoundedLetterM,+ IconSquareRoundedLetterN,+ IconSquareRoundedLetterO,+ IconSquareRoundedLetterP,+ IconSquareRoundedLetterQ,+ IconSquareRoundedLetterR,+ IconSquareRoundedLetterS,+ IconSquareRoundedLetterT,+ IconSquareRoundedLetterU,+ IconSquareRoundedLetterV,+ IconSquareRoundedLetterW,+ IconSquareRoundedLetterX,+ IconSquareRoundedLetterY,+ IconSquareRoundedLetterZ,+ IconSquareRoundedMinus,+ IconSquareRoundedNumber0,+ IconSquareRoundedNumber1,+ IconSquareRoundedNumber2,+ IconSquareRoundedNumber3,+ IconSquareRoundedNumber4,+ IconSquareRoundedNumber5,+ IconSquareRoundedNumber6,+ IconSquareRoundedNumber7,+ IconSquareRoundedNumber8,+ IconSquareRoundedNumber9,+ IconSquareRoundedPlus,+ IconSquareRoundedX,+ IconSquareToggle,+ IconSquareToggleHorizontal,+ IconSquareX,+ IconSquaresDiagonal,+ IconStack,+ IconStack2,+ IconStack3,+ IconStackPop,+ IconStackPush,+ IconStairs,+ IconStairsDown,+ IconStairsUp,+ IconStar,+ IconStarHalf,+ IconStarOff,+ IconStars,+ IconStarsOff,+ IconStatusChange,+ IconSteam,+ IconSteeringWheel,+ IconSteeringWheelOff,+ IconStepInto,+ IconStepOut,+ IconStereoGlasses,+ IconStethoscope,+ IconStethoscopeOff,+ IconSticker,+ IconStorm,+ IconStormOff,+ IconStretching,+ IconStretching2,+ IconStrikethrough,+ IconSubmarine,+ IconSubscript,+ IconSubtask,+ IconSum,+ IconSumOff,+ IconSun,+ IconSunHigh,+ IconSunLow,+ IconSunMoon,+ IconSunOff,+ IconSunWind,+ IconSunglasses,+ IconSunrise,+ IconSunset,+ IconSunset2,+ IconSuperscript,+ IconSvg,+ IconSwimming,+ IconSwipe,+ IconSwitch,+ IconSwitch2,+ IconSwitch3,+ IconSwitchHorizontal,+ IconSwitchVertical,+ IconSword,+ IconSwordOff,+ IconSwords,+ IconTable,+ IconTableAlias,+ IconTableColumn,+ IconTableDown,+ IconTableExport,+ IconTableHeart,+ IconTableImport,+ IconTableMinus,+ IconTableOff,+ IconTableOptions,+ IconTablePlus,+ IconTableRow,+ IconTableShare,+ IconTableShortcut,+ IconTag,+ IconTagOff,+ IconTags,+ IconTagsOff,+ IconTallymark1,+ IconTallymark2,+ IconTallymark3,+ IconTallymark4,+ IconTallymarks,+ IconTank,+ IconTarget,+ IconTargetArrow,+ IconTargetOff,+ IconTeapot,+ IconTelescope,+ IconTelescopeOff,+ IconTemperature,+ IconTemperatureCelsius,+ IconTemperatureFahrenheit,+ IconTemperatureMinus,+ IconTemperatureOff,+ IconTemperaturePlus,+ IconTemplate,+ IconTemplateOff,+ IconTent,+ IconTentOff,+ IconTerminal,+ IconTerminal2,+ IconTestPipe,+ IconTestPipe2,+ IconTestPipeOff,+ IconTex,+ IconTextCaption,+ IconTextColor,+ IconTextDecrease,+ IconTextDirectionLtr,+ IconTextDirectionRtl,+ IconTextIncrease,+ IconTextOrientation,+ IconTextPlus,+ IconTextRecognition,+ IconTextResize,+ IconTextSize,+ IconTextSpellcheck,+ IconTextWrap,+ IconTextWrapDisabled,+ IconTexture,+ IconTheater,+ IconThermometer,+ IconThumbDown,+ IconThumbDownOff,+ IconThumbUp,+ IconThumbUpOff,+ IconTicTac,+ IconTicket,+ IconTicketOff,+ IconTie,+ IconTilde,+ IconTiltShift,+ IconTiltShiftOff,+ IconTimeDuration0,+ IconTimeDuration10,+ IconTimeDuration15,+ IconTimeDuration30,+ IconTimeDuration45,+ IconTimeDuration5,+ IconTimeDuration60,+ IconTimeDuration90,+ IconTimeDurationOff,+ IconTimeline,+ IconTimelineEvent,+ IconTimelineEventExclamation,+ IconTimelineEventMinus,+ IconTimelineEventPlus,+ IconTimelineEventText,+ IconTimelineEventX,+ IconTir,+ IconToggleLeft,+ IconToggleRight,+ IconToiletPaper,+ IconToiletPaperOff,+ IconToml,+ IconTool,+ IconTools,+ IconToolsKitchen,+ IconToolsKitchen2,+ IconToolsKitchen2Off,+ IconToolsKitchenOff,+ IconToolsOff,+ IconTooltip,+ IconTopologyBus,+ IconTopologyComplex,+ IconTopologyFull,+ IconTopologyFullHierarchy,+ IconTopologyRing,+ IconTopologyRing2,+ IconTopologyRing3,+ IconTopologyStar,+ IconTopologyStar2,+ IconTopologyStar3,+ IconTopologyStarRing,+ IconTopologyStarRing2,+ IconTopologyStarRing3,+ IconTorii,+ IconTornado,+ IconTournament,+ IconTower,+ IconTowerOff,+ IconTrack,+ IconTractor,+ IconTrademark,+ IconTrafficCone,+ IconTrafficConeOff,+ IconTrafficLights,+ IconTrafficLightsOff,+ IconTrain,+ IconTransfer,+ IconTransferIn,+ IconTransferOut,+ IconTransferVertical,+ IconTransform,+ IconTransitionBottom,+ IconTransitionLeft,+ IconTransitionRight,+ IconTransitionTop,+ IconTrash,+ IconTrashOff,+ IconTrashX,+ IconTreadmill,+ IconTree,+ IconTrees,+ IconTrekking,+ IconTrendingDown,+ IconTrendingDown2,+ IconTrendingDown3,+ IconTrendingUp,+ IconTrendingUp2,+ IconTrendingUp3,+ IconTriangle,+ IconTriangleInverted,+ IconTriangleOff,+ IconTriangleSquareCircle,+ IconTriangles,+ IconTrident,+ IconTrolley,+ IconTrophy,+ IconTrophyOff,+ IconTrowel,+ IconTruck,+ IconTruckDelivery,+ IconTruckLoading,+ IconTruckOff,+ IconTruckReturn,+ IconTxt,+ IconTypography,+ IconTypographyOff,+ IconUfo,+ IconUfoOff,+ IconUmbrella,+ IconUmbrellaOff,+ IconUnderline,+ IconUnlink,+ IconUpload,+ IconUrgent,+ IconUsb,+ IconUser,+ IconUserBolt,+ IconUserCancel,+ IconUserCheck,+ IconUserCircle,+ IconUserCode,+ IconUserCog,+ IconUserDollar,+ IconUserDown,+ IconUserEdit,+ IconUserExclamation,+ IconUserHeart,+ IconUserMinus,+ IconUserOff,+ IconUserPause,+ IconUserPin,+ IconUserPlus,+ IconUserQuestion,+ IconUserSearch,+ IconUserShare,+ IconUserShield,+ IconUserStar,+ IconUserUp,+ IconUserX,+ IconUsers,+ IconUsersGroup,+ IconUsersMinus,+ IconUsersPlus,+ IconUvIndex,+ IconUxCircle,+ IconVaccine,+ IconVaccineBottle,+ IconVaccineBottleOff,+ IconVaccineOff,+ IconVacuumCleaner,+ IconVariable,+ IconVariableMinus,+ IconVariableOff,+ IconVariablePlus,+ IconVector,+ IconVectorBezier,+ IconVectorBezier2,+ IconVectorBezierArc,+ IconVectorBezierCircle,+ IconVectorOff,+ IconVectorSpline,+ IconVectorTriangle,+ IconVectorTriangleOff,+ IconVenus,+ IconVersions,+ IconVersionsOff,+ IconVideo,+ IconVideoMinus,+ IconVideoOff,+ IconVideoPlus,+ IconView360,+ IconView360Off,+ IconViewfinder,+ IconViewfinderOff,+ IconViewportNarrow,+ IconViewportWide,+ IconVinyl,+ IconVip,+ IconVipOff,+ IconVirus,+ IconVirusOff,+ IconVirusSearch,+ IconVocabulary,+ IconVocabularyOff,+ IconVolcano,+ IconVolume,+ IconVolume2,+ IconVolume3,+ IconVolumeOff,+ IconWalk,+ IconWall,+ IconWallOff,+ IconWallet,+ IconWalletOff,+ IconWallpaper,+ IconWallpaperOff,+ IconWand,+ IconWandOff,+ IconWash,+ IconWashDry,+ IconWashDry1,+ IconWashDry2,+ IconWashDry3,+ IconWashDryA,+ IconWashDryDip,+ IconWashDryF,+ IconWashDryFlat,+ IconWashDryHang,+ IconWashDryOff,+ IconWashDryP,+ IconWashDryShade,+ IconWashDryW,+ IconWashDryclean,+ IconWashDrycleanOff,+ IconWashEco,+ IconWashGentle,+ IconWashHand,+ IconWashMachine,+ IconWashOff,+ IconWashPress,+ IconWashTemperature1,+ IconWashTemperature2,+ IconWashTemperature3,+ IconWashTemperature4,+ IconWashTemperature5,+ IconWashTemperature6,+ IconWashTumbleDry,+ IconWashTumbleOff,+ IconWaterpolo,+ IconWaveSawTool,+ IconWaveSine,+ IconWaveSquare,+ IconWebhook,+ IconWebhookOff,+ IconWeight,+ IconWheelchair,+ IconWheelchairOff,+ IconWhirl,+ IconWifi,+ IconWifi0,+ IconWifi1,+ IconWifi2,+ IconWifiOff,+ IconWind,+ IconWindOff,+ IconWindow,+ IconWindowMaximize,+ IconWindowMinimize,+ IconWindowOff,+ IconWindsock,+ IconWiper,+ IconWiperWash,+ IconWoman,+ IconWood,+ IconWorld,+ IconWorldBolt,+ IconWorldCancel,+ IconWorldCheck,+ IconWorldCode,+ IconWorldCog,+ IconWorldDollar,+ IconWorldDown,+ IconWorldDownload,+ IconWorldExclamation,+ IconWorldHeart,+ IconWorldLatitude,+ IconWorldLongitude,+ IconWorldMinus,+ IconWorldOff,+ IconWorldPause,+ IconWorldPin,+ IconWorldPlus,+ IconWorldQuestion,+ IconWorldSearch,+ IconWorldShare,+ IconWorldStar,+ IconWorldUp,+ IconWorldUpload,+ IconWorldWww,+ IconWorldX,+ IconWreckingBall,+ IconWriting,+ IconWritingOff,+ IconWritingSign,+ IconWritingSignOff,+ IconX,+ IconXboxA,+ IconXboxB,+ IconXboxX,+ IconXboxY,+ IconXd,+ IconXxx,+ IconYinYang,+ IconYoga,+ IconZeppelin,+ IconZeppelinOff,+ IconZip,+ IconZodiacAquarius,+ IconZodiacAries,+ IconZodiacCancer,+ IconZodiacCapricorn,+ IconZodiacGemini,+ IconZodiacLeo,+ IconZodiacLibra,+ IconZodiacPisces,+ IconZodiacSagittarius,+ IconZodiacScorpio,+ IconZodiacTaurus,+ IconZodiacVirgo,+ IconZoomCancel,+ IconZoomCheck,+ IconZoomCode,+ IconZoomExclamation,+ IconZoomIn,+ IconZoomInArea,+ IconZoomMoney,+ IconZoomOut,+ IconZoomOutArea,+ IconZoomPan,+ IconZoomQuestion,+ IconZoomReplace,+ IconZoomReset,+ IconZzz,+ IconZzzOff,+} from '@tabler/icons-react';++export const ALL_ICONS = {+ Icon123,+ IconAB,+ IconAB2,+ IconABOff,+ IconAbacus,+ IconAbacusOff,+ IconAbc,+ IconAccessPoint,+ IconAccessPointOff,+ IconAccessible,+ IconAccessibleOff,+ IconActivity,+ IconActivityHeartbeat,+ IconAd,+ IconAd2,+ IconAdCircle,+ IconAdCircleOff,+ IconAdOff,+ IconAddressBookOff,+ IconAdjustments,+ IconAdjustmentsAlt,+ IconAdjustmentsBolt,+ IconAdjustmentsCancel,+ IconAdjustmentsCheck,+ IconAdjustmentsCode,+ IconAdjustmentsCog,+ IconAdjustmentsDollar,+ IconAdjustmentsDown,+ IconAdjustmentsExclamation,+ IconAdjustmentsHeart,+ IconAdjustmentsHorizontal,+ IconAdjustmentsMinus,+ IconAdjustmentsOff,+ IconAdjustmentsPause,+ IconAdjustmentsPin,+ IconAdjustmentsPlus,+ IconAdjustmentsQuestion,+ IconAdjustmentsSearch,+ IconAdjustmentsShare,+ IconAdjustmentsStar,+ IconAdjustmentsUp,+ IconAdjustmentsX,+ IconAerialLift,+ IconAffiliate,+ IconAirBalloon,+ IconAirConditioning,+ IconAirConditioningDisabled,+ IconAirTrafficControl,+ IconAlarm,+ IconAlarmMinus,+ IconAlarmOff,+ IconAlarmPlus,+ IconAlarmSnooze,+ IconAlbum,+ IconAlbumOff,+ IconAlertCircle,+ IconAlertHexagon,+ IconAlertOctagon,+ IconAlertSmall,+ IconAlertSquare,+ IconAlertSquareRounded,+ IconAlertTriangle,+ IconAlien,+ IconAlignBoxBottomCenter,+ IconAlignBoxBottomLeft,+ IconAlignBoxBottomRight,+ IconAlignBoxCenterBottom,+ IconAlignBoxCenterMiddle,+ IconAlignBoxCenterStretch,+ IconAlignBoxCenterTop,+ IconAlignBoxLeftBottom,+ IconAlignBoxLeftMiddle,+ IconAlignBoxLeftStretch,+ IconAlignBoxLeftTop,+ IconAlignBoxRightBottom,+ IconAlignBoxRightMiddle,+ IconAlignBoxRightStretch,+ IconAlignBoxRightTop,+ IconAlignBoxTopCenter,+ IconAlignBoxTopLeft,+ IconAlignBoxTopRight,+ IconAlignCenter,+ IconAlignJustified,+ IconAlignLeft,+ IconAlignRight,+ IconAlpha,+ IconAlphabetCyrillic,+ IconAlphabetGreek,+ IconAlphabetLatin,+ IconAmbulance,+ IconAmpersand,+ IconAnalyze,+ IconAnalyzeOff,+ IconAnchor,+ IconAnchorOff,+ IconAngle,+ IconAnkh,+ IconAntenna,+ IconAntennaBars1,+ IconAntennaBars2,+ IconAntennaBars3,+ IconAntennaBars4,+ IconAntennaBars5,+ IconAntennaBarsOff,+ IconAntennaOff,+ IconAperture,+ IconApertureOff,+ IconApi,+ IconApiApp,+ IconApiAppOff,+ IconApiOff,+ IconAppWindow,+ IconApple,+ IconApps,+ IconAppsOff,+ IconArchive,+ IconArchiveOff,+ IconArmchair,+ IconArmchair2,+ IconArmchair2Off,+ IconArmchairOff,+ IconArrowAutofitContent,+ IconArrowAutofitDown,+ IconArrowAutofitHeight,+ IconArrowAutofitLeft,+ IconArrowAutofitRight,+ IconArrowAutofitUp,+ IconArrowAutofitWidth,+ IconArrowBack,+ IconArrowBackUp,+ IconArrowBackUpDouble,+ IconArrowBadgeDown,+ IconArrowBadgeLeft,+ IconArrowBadgeRight,+ IconArrowBadgeUp,+ IconArrowBarBoth,+ IconArrowBarDown,+ IconArrowBarLeft,+ IconArrowBarRight,+ IconArrowBarToDown,+ IconArrowBarToLeft,+ IconArrowBarToRight,+ IconArrowBarToUp,+ IconArrowBarUp,+ IconArrowBearLeft,+ IconArrowBearLeft2,+ IconArrowBearRight,+ IconArrowBearRight2,+ IconArrowBigDown,+ IconArrowBigDownLine,+ IconArrowBigDownLines,+ IconArrowBigLeft,+ IconArrowBigLeftLine,+ IconArrowBigLeftLines,+ IconArrowBigRight,+ IconArrowBigRightLine,+ IconArrowBigRightLines,+ IconArrowBigUp,+ IconArrowBigUpLine,+ IconArrowBigUpLines,+ IconArrowBounce,+ IconArrowCapsule,+ IconArrowCurveLeft,+ IconArrowCurveRight,+ IconArrowDown,+ IconArrowDownBar,+ IconArrowDownCircle,+ IconArrowDownLeft,+ IconArrowDownLeftCircle,+ IconArrowDownRhombus,+ IconArrowDownRight,+ IconArrowDownRightCircle,+ IconArrowDownSquare,+ IconArrowDownTail,+ IconArrowElbowLeft,+ IconArrowElbowRight,+ IconArrowFork,+ IconArrowForward,+ IconArrowForwardUp,+ IconArrowForwardUpDouble,+ IconArrowGuide,+ IconArrowIteration,+ IconArrowLeft,+ IconArrowLeftBar,+ IconArrowLeftCircle,+ IconArrowLeftRhombus,+ IconArrowLeftRight,+ IconArrowLeftSquare,+ IconArrowLeftTail,+ IconArrowLoopLeft,+ IconArrowLoopLeft2,+ IconArrowLoopRight,+ IconArrowLoopRight2,+ IconArrowMerge,+ IconArrowMergeBoth,+ IconArrowMergeLeft,+ IconArrowMergeRight,+ IconArrowMoveDown,+ IconArrowMoveLeft,+ IconArrowMoveRight,+ IconArrowMoveUp,+ IconArrowNarrowDown,+ IconArrowNarrowLeft,+ IconArrowNarrowRight,+ IconArrowNarrowUp,+ IconArrowRampLeft,+ IconArrowRampLeft2,+ IconArrowRampLeft3,+ IconArrowRampRight,+ IconArrowRampRight2,+ IconArrowRampRight3,+ IconArrowRight,+ IconArrowRightBar,+ IconArrowRightCircle,+ IconArrowRightRhombus,+ IconArrowRightSquare,+ IconArrowRightTail,+ IconArrowRotaryFirstLeft,+ IconArrowRotaryFirstRight,+ IconArrowRotaryLastLeft,+ IconArrowRotaryLastRight,+ IconArrowRotaryLeft,+ IconArrowRotaryRight,+ IconArrowRotaryStraight,+ IconArrowRoundaboutLeft,+ IconArrowRoundaboutRight,+ IconArrowSharpTurnLeft,+ IconArrowSharpTurnRight,+ IconArrowUp,+ IconArrowUpBar,+ IconArrowUpCircle,+ IconArrowUpLeft,+ IconArrowUpLeftCircle,+ IconArrowUpRhombus,+ IconArrowUpRight,+ IconArrowUpRightCircle,+ IconArrowUpSquare,+ IconArrowUpTail,+ IconArrowWaveLeftDown,+ IconArrowWaveLeftUp,+ IconArrowWaveRightDown,+ IconArrowWaveRightUp,+ IconArrowZigZag,+ IconArrowsCross,+ IconArrowsDiagonal,+ IconArrowsDiagonal2,+ IconArrowsDiagonalMinimize,+ IconArrowsDiagonalMinimize2,+ IconArrowsDiff,+ IconArrowsDoubleNeSw,+ IconArrowsDoubleNwSe,+ IconArrowsDoubleSeNw,+ IconArrowsDoubleSwNe,+ IconArrowsDown,+ IconArrowsDownUp,+ IconArrowsExchange,+ IconArrowsExchange2,+ IconArrowsHorizontal,+ IconArrowsJoin,+ IconArrowsJoin2,+ IconArrowsLeft,+ IconArrowsLeftDown,+ IconArrowsLeftRight,+ IconArrowsMaximize,+ IconArrowsMinimize,+ IconArrowsMove,+ IconArrowsMoveHorizontal,+ IconArrowsMoveVertical,+ IconArrowsRandom,+ IconArrowsRight,+ IconArrowsRightDown,+ IconArrowsRightLeft,+ IconArrowsShuffle,+ IconArrowsShuffle2,+ IconArrowsSort,+ IconArrowsSplit,+ IconArrowsSplit2,+ IconArrowsTransferDown,+ IconArrowsTransferUp,+ IconArrowsUp,+ IconArrowsUpDown,+ IconArrowsUpLeft,+ IconArrowsUpRight,+ IconArrowsVertical,+ IconArtboard,+ IconArtboardOff,+ IconArticle,+ IconArticleOff,+ IconAspectRatio,+ IconAspectRatioOff,+ IconAssembly,+ IconAssemblyOff,+ IconAsset,+ IconAsterisk,+ IconAsteriskSimple,+ IconAt,+ IconAtOff,+ IconAtom,+ IconAtom2,+ IconAtomOff,+ IconAugmentedReality,+ IconAugmentedReality2,+ IconAugmentedRealityOff,+ IconAuth2fa,+ IconAward,+ IconAwardOff,+ IconAxe,+ IconAxisX,+ IconAxisY,+ IconBabyBottle,+ IconBabyCarriage,+ IconBackhoe,+ IconBackpack,+ IconBackpackOff,+ IconBackslash,+ IconBackspace,+ IconBadge,+ IconBadge3d,+ IconBadge4k,+ IconBadge8k,+ IconBadgeAd,+ IconBadgeAr,+ IconBadgeCc,+ IconBadgeHd,+ IconBadgeOff,+ IconBadgeSd,+ IconBadgeTm,+ IconBadgeVo,+ IconBadgeVr,+ IconBadgeWc,+ IconBadges,+ IconBadgesOff,+ IconBaguette,+ IconBallAmericanFootball,+ IconBallAmericanFootballOff,+ IconBallBaseball,+ IconBallBasketball,+ IconBallBowling,+ IconBallFootball,+ IconBallFootballOff,+ IconBallTennis,+ IconBallVolleyball,+ IconBalloon,+ IconBalloonOff,+ IconBallpen,+ IconBallpenOff,+ IconBan,+ IconBandage,+ IconBandageOff,+ IconBarbell,+ IconBarbellOff,+ IconBarcode,+ IconBarcodeOff,+ IconBarrel,+ IconBarrelOff,+ IconBarrierBlock,+ IconBarrierBlockOff,+ IconBaseline,+ IconBaselineDensityLarge,+ IconBaselineDensityMedium,+ IconBaselineDensitySmall,+ IconBasket,+ IconBasketBolt,+ IconBasketCancel,+ IconBasketCheck,+ IconBasketCode,+ IconBasketCog,+ IconBasketDiscount,+ IconBasketDollar,+ IconBasketDown,+ IconBasketExclamation,+ IconBasketHeart,+ IconBasketMinus,+ IconBasketOff,+ IconBasketPause,+ IconBasketPin,+ IconBasketPlus,+ IconBasketQuestion,+ IconBasketSearch,+ IconBasketShare,+ IconBasketStar,+ IconBasketUp,+ IconBasketX,+ IconBat,+ IconBath,+ IconBathOff,+ IconBattery,+ IconBattery1,+ IconBattery2,+ IconBattery3,+ IconBattery4,+ IconBatteryAutomotive,+ IconBatteryCharging,+ IconBatteryCharging2,+ IconBatteryEco,+ IconBatteryOff,+ IconBeach,+ IconBeachOff,+ IconBed,+ IconBedOff,+ IconBeer,+ IconBeerOff,+ IconBell,+ IconBellBolt,+ IconBellCancel,+ IconBellCheck,+ IconBellCode,+ IconBellCog,+ IconBellDollar,+ IconBellDown,+ IconBellExclamation,+ IconBellHeart,+ IconBellMinus,+ IconBellOff,+ IconBellPause,+ IconBellPin,+ IconBellPlus,+ IconBellQuestion,+ IconBellRinging,+ IconBellRinging2,+ IconBellSchool,+ IconBellSearch,+ IconBellShare,+ IconBellStar,+ IconBellUp,+ IconBellX,+ IconBellZ,+ IconBeta,+ IconBible,+ IconBike,+ IconBikeOff,+ IconBinary,+ IconBinaryOff,+ IconBinaryTree,+ IconBinaryTree2,+ IconBiohazard,+ IconBiohazardOff,+ IconBlade,+ IconBleach,+ IconBleachChlorine,+ IconBleachNoChlorine,+ IconBleachOff,+ IconBlockquote,+ IconBluetooth,+ IconBluetoothConnected,+ IconBluetoothOff,+ IconBluetoothX,+ IconBlur,+ IconBlurOff,+ IconBmp,+ IconBold,+ IconBoldOff,+ IconBolt,+ IconBoltOff,+ IconBomb,+ IconBone,+ IconBoneOff,+ IconBong,+ IconBongOff,+ IconBook,+ IconBook2,+ IconBookDownload,+ IconBookOff,+ IconBookUpload,+ IconBookmark,+ IconBookmarkEdit,+ IconBookmarkMinus,+ IconBookmarkOff,+ IconBookmarkPlus,+ IconBookmarkQuestion,+ IconBookmarks,+ IconBookmarksOff,+ IconBooks,+ IconBooksOff,+ IconBorderAll,+ IconBorderBottom,+ IconBorderCorners,+ IconBorderHorizontal,+ IconBorderInner,+ IconBorderLeft,+ IconBorderNone,+ IconBorderOuter,+ IconBorderRadius,+ IconBorderRight,+ IconBorderSides,+ IconBorderStyle,+ IconBorderStyle2,+ IconBorderTop,+ IconBorderVertical,+ IconBottle,+ IconBottleOff,+ IconBounceLeft,+ IconBounceRight,+ IconBow,+ IconBowl,+ IconBox,+ IconBoxAlignBottom,+ IconBoxAlignBottomLeft,+ IconBoxAlignBottomRight,+ IconBoxAlignLeft,+ IconBoxAlignRight,+ IconBoxAlignTop,+ IconBoxAlignTopLeft,+ IconBoxAlignTopRight,+ IconBoxMargin,+ IconBoxModel,+ IconBoxModel2,+ IconBoxModel2Off,+ IconBoxModelOff,+ IconBoxMultiple,+ IconBoxMultiple0,+ IconBoxMultiple1,+ IconBoxMultiple2,+ IconBoxMultiple3,+ IconBoxMultiple4,+ IconBoxMultiple5,+ IconBoxMultiple6,+ IconBoxMultiple7,+ IconBoxMultiple8,+ IconBoxMultiple9,+ IconBoxOff,+ IconBoxPadding,+ IconBraces,+ IconBracesOff,+ IconBrackets,+ IconBracketsContain,+ IconBracketsContainEnd,+ IconBracketsContainStart,+ IconBracketsOff,+ IconBraille,+ IconBrain,+ IconBrand4chan,+ IconBrandAbstract,+ IconBrandAdobe,+ IconBrandAdonisJs,+ IconBrandAirbnb,+ IconBrandAirtable,+ IconBrandAlgolia,+ IconBrandAlipay,+ IconBrandAlpineJs,+ IconBrandAmazon,+ IconBrandAmd,+ IconBrandAmigo,+ IconBrandAmongUs,+ IconBrandAndroid,+ IconBrandAngular,+ IconBrandAnsible,+ IconBrandAo3,+ IconBrandAppgallery,+ IconBrandApple,+ IconBrandAppleArcade,+ IconBrandApplePodcast,+ IconBrandAppstore,+ IconBrandAsana,+ IconBrandAws,+ IconBrandAzure,+ IconBrandBackbone,+ IconBrandBadoo,+ IconBrandBaidu,+ IconBrandBandcamp,+ IconBrandBandlab,+ IconBrandBeats,+ IconBrandBehance,+ IconBrandBilibili,+ IconBrandBinance,+ IconBrandBing,+ IconBrandBitbucket,+ IconBrandBlackberry,+ IconBrandBlender,+ IconBrandBlogger,+ IconBrandBooking,+ IconBrandBootstrap,+ IconBrandBulma,+ IconBrandBumble,+ IconBrandBunpo,+ IconBrandCSharp,+ IconBrandCake,+ IconBrandCakephp,+ IconBrandCampaignmonitor,+ IconBrandCarbon,+ IconBrandCashapp,+ IconBrandChrome,+ IconBrandCinema4d,+ IconBrandCitymapper,+ IconBrandCloudflare,+ IconBrandCodecov,+ IconBrandCodepen,+ IconBrandCodesandbox,+ IconBrandCohost,+ IconBrandCoinbase,+ IconBrandComedyCentral,+ IconBrandCoreos,+ IconBrandCouchdb,+ IconBrandCouchsurfing,+ IconBrandCpp,+ IconBrandCraft,+ IconBrandCrunchbase,+ IconBrandCss3,+ IconBrandCtemplar,+ IconBrandCucumber,+ IconBrandCupra,+ IconBrandCypress,+ IconBrandD3,+ IconBrandDaysCounter,+ IconBrandDcos,+ IconBrandDebian,+ IconBrandDeezer,+ IconBrandDeliveroo,+ IconBrandDeno,+ IconBrandDenodo,+ IconBrandDeviantart,+ IconBrandDigg,+ IconBrandDingtalk,+ IconBrandDiscord,+ IconBrandDisney,+ IconBrandDisqus,+ IconBrandDjango,+ IconBrandDocker,+ IconBrandDoctrine,+ IconBrandDolbyDigital,+ IconBrandDouban,+ IconBrandDribbble,+ IconBrandDrops,+ IconBrandDrupal,+ IconBrandEdge,+ IconBrandElastic,+ IconBrandElectronicArts,+ IconBrandEmber,+ IconBrandEnvato,+ IconBrandEtsy,+ IconBrandEvernote,+ IconBrandFacebook,+ IconBrandFeedly,+ IconBrandFigma,+ IconBrandFilezilla,+ IconBrandFinder,+ IconBrandFirebase,+ IconBrandFirefox,+ IconBrandFiverr,+ IconBrandFlickr,+ IconBrandFlightradar24,+ IconBrandFlipboard,+ IconBrandFlutter,+ IconBrandFortnite,+ IconBrandFoursquare,+ IconBrandFramer,+ IconBrandFramerMotion,+ IconBrandFunimation,+ IconBrandGatsby,+ IconBrandGit,+ IconBrandGithub,+ IconBrandGithubCopilot,+ IconBrandGitlab,+ IconBrandGmail,+ IconBrandGolang,+ IconBrandGoogle,+ IconBrandGoogleAnalytics,+ IconBrandGoogleBigQuery,+ IconBrandGoogleDrive,+ IconBrandGoogleFit,+ IconBrandGoogleHome,+ IconBrandGoogleMaps,+ IconBrandGoogleOne,+ IconBrandGooglePhotos,+ IconBrandGooglePlay,+ IconBrandGooglePodcasts,+ IconBrandGrammarly,+ IconBrandGraphql,+ IconBrandGravatar,+ IconBrandGrindr,+ IconBrandGuardian,+ IconBrandGumroad,+ IconBrandHbo,+ IconBrandHeadlessui,+ IconBrandHexo,+ IconBrandHipchat,+ IconBrandHtml5,+ IconBrandInertia,+ IconBrandInstagram,+ IconBrandIntercom,+ IconBrandItch,+ IconBrandJavascript,+ IconBrandJuejin,+ IconBrandKbin,+ IconBrandKick,+ IconBrandKickstarter,+ IconBrandKotlin,+ IconBrandLaravel,+ IconBrandLastfm,+ IconBrandLeetcode,+ IconBrandLetterboxd,+ IconBrandLine,+ IconBrandLinkedin,+ IconBrandLinktree,+ IconBrandLinqpad,+ IconBrandLoom,+ IconBrandMailgun,+ IconBrandMantine,+ IconBrandMastercard,+ IconBrandMastodon,+ IconBrandMatrix,+ IconBrandMcdonalds,+ IconBrandMedium,+ IconBrandMercedes,+ IconBrandMessenger,+ IconBrandMeta,+ IconBrandMinecraft,+ IconBrandMiniprogram,+ IconBrandMixpanel,+ IconBrandMonday,+ IconBrandMongodb,+ IconBrandMyOppo,+ IconBrandMysql,+ IconBrandNationalGeographic,+ IconBrandNem,+ IconBrandNetbeans,+ IconBrandNeteaseMusic,+ IconBrandNetflix,+ IconBrandNexo,+ IconBrandNextcloud,+ IconBrandNextjs,+ IconBrandNodejs,+ IconBrandNordVpn,+ IconBrandNotion,+ IconBrandNpm,+ IconBrandNuxt,+ IconBrandNytimes,+ IconBrandOauth,+ IconBrandOffice,+ IconBrandOkRu,+ IconBrandOnedrive,+ IconBrandOnlyfans,+ IconBrandOpenSource,+ IconBrandOpenai,+ IconBrandOpenvpn,+ IconBrandOpera,+ IconBrandPagekit,+ IconBrandPatreon,+ IconBrandPaypal,+ IconBrandPaypay,+ IconBrandPeanut,+ IconBrandPepsi,+ IconBrandPhp,+ IconBrandPicsart,+ IconBrandPinterest,+ IconBrandPlanetscale,+ IconBrandPocket,+ IconBrandPolymer,+ IconBrandPowershell,+ IconBrandProducthunt,+ IconBrandPushbullet,+ IconBrandPushover,+ IconBrandPython,+ IconBrandQq,+ IconBrandRadixUi,+ IconBrandReact,+ IconBrandReactNative,+ IconBrandReason,+ IconBrandReddit,+ IconBrandRedhat,+ IconBrandRedux,+ IconBrandRevolut,+ IconBrandRumble,+ IconBrandRust,+ IconBrandSafari,+ IconBrandSamsungpass,+ IconBrandSass,+ IconBrandSentry,+ IconBrandSharik,+ IconBrandShazam,+ IconBrandShopee,+ IconBrandSketch,+ IconBrandSkype,+ IconBrandSlack,+ IconBrandSnapchat,+ IconBrandSnapseed,+ IconBrandSnowflake,+ IconBrandSocketIo,+ IconBrandSolidjs,+ IconBrandSoundcloud,+ IconBrandSpacehey,+ IconBrandSpeedtest,+ IconBrandSpotify,+ IconBrandStackoverflow,+ IconBrandStackshare,+ IconBrandSteam,+ IconBrandStorj,+ IconBrandStorybook,+ IconBrandStorytel,+ IconBrandStrava,+ IconBrandStripe,+ IconBrandSublimeText,+ IconBrandSugarizer,+ IconBrandSupabase,+ IconBrandSuperhuman,+ IconBrandSupernova,+ IconBrandSurfshark,+ IconBrandSvelte,+ IconBrandSwift,+ IconBrandSymfony,+ IconBrandTabler,+ IconBrandTailwind,+ IconBrandTaobao,+ IconBrandTed,+ IconBrandTelegram,+ IconBrandTerraform,+ IconBrandTether,+ IconBrandThreads,+ IconBrandThreejs,+ IconBrandTidal,+ IconBrandTiktok,+ IconBrandTinder,+ IconBrandTopbuzz,+ IconBrandTorchain,+ IconBrandToyota,+ IconBrandTrello,+ IconBrandTripadvisor,+ IconBrandTumblr,+ IconBrandTwilio,+ IconBrandTwitch,+ IconBrandTwitter,+ IconBrandTypescript,+ IconBrandUber,+ IconBrandUbuntu,+ IconBrandUnity,+ IconBrandUnsplash,+ IconBrandUpwork,+ IconBrandValorant,+ IconBrandVercel,+ IconBrandVimeo,+ IconBrandVinted,+ IconBrandVisa,+ IconBrandVisualStudio,+ IconBrandVite,+ IconBrandVivaldi,+ IconBrandVk,+ IconBrandVlc,+ IconBrandVolkswagen,+ IconBrandVsco,+ IconBrandVscode,+ IconBrandVue,+ IconBrandWalmart,+ IconBrandWaze,+ IconBrandWebflow,+ IconBrandWechat,+ IconBrandWeibo,+ IconBrandWhatsapp,+ IconBrandWikipedia,+ IconBrandWindows,+ IconBrandWindy,+ IconBrandWish,+ IconBrandWix,+ IconBrandWordpress,+ IconBrandX,+ IconBrandXamarin,+ IconBrandXbox,+ IconBrandXdeep,+ IconBrandXing,+ IconBrandYahoo,+ IconBrandYandex,+ IconBrandYatse,+ IconBrandYcombinator,+ IconBrandYoutube,+ IconBrandYoutubeKids,+ IconBrandZalando,+ IconBrandZapier,+ IconBrandZeit,+ IconBrandZhihu,+ IconBrandZoom,+ IconBrandZulip,+ IconBrandZwift,+ IconBread,+ IconBreadOff,+ IconBriefcase,+ IconBriefcase2,+ IconBriefcaseOff,+ IconBrightness,+ IconBrightness2,+ IconBrightnessDown,+ IconBrightnessHalf,+ IconBrightnessOff,+ IconBrightnessUp,+ IconBroadcast,+ IconBroadcastOff,+ IconBrowser,+ IconBrowserCheck,+ IconBrowserMaximize,+ IconBrowserOff,+ IconBrowserPlus,+ IconBrowserX,+ IconBrush,+ IconBrushOff,+ IconBucket,+ IconBucketDroplet,+ IconBucketOff,+ IconBug,+ IconBugOff,+ IconBuilding,+ IconBuildingArch,+ IconBuildingBank,+ IconBuildingBridge,+ IconBuildingBridge2,+ IconBuildingBroadcastTower,+ IconBuildingCarousel,+ IconBuildingCastle,+ IconBuildingChurch,+ IconBuildingCircus,+ IconBuildingCommunity,+ IconBuildingCottage,+ IconBuildingEstate,+ IconBuildingFactory,+ IconBuildingFactory2,+ IconBuildingFortress,+ IconBuildingHospital,+ IconBuildingLighthouse,+ IconBuildingMonument,+ IconBuildingMosque,+ IconBuildingPavilion,+ IconBuildingSkyscraper,+ IconBuildingStadium,+ IconBuildingStore,+ IconBuildingTunnel,+ IconBuildingWarehouse,+ IconBuildingWindTurbine,+ IconBulb,+ IconBulbOff,+ IconBulldozer,+ IconBus,+ IconBusOff,+ IconBusStop,+ IconBusinessplan,+ IconButterfly,+ IconCactus,+ IconCactusOff,+ IconCake,+ IconCakeOff,+ IconCalculator,+ IconCalculatorOff,+ IconCalendar,+ IconCalendarBolt,+ IconCalendarCancel,+ IconCalendarCheck,+ IconCalendarClock,+ IconCalendarCode,+ IconCalendarCog,+ IconCalendarDollar,+ IconCalendarDown,+ IconCalendarDue,+ IconCalendarEvent,+ IconCalendarExclamation,+ IconCalendarHeart,+ IconCalendarMinus,+ IconCalendarOff,+ IconCalendarPause,+ IconCalendarPin,+ IconCalendarPlus,+ IconCalendarQuestion,+ IconCalendarRepeat,+ IconCalendarSearch,+ IconCalendarShare,+ IconCalendarStar,+ IconCalendarStats,+ IconCalendarTime,+ IconCalendarUp,+ IconCalendarX,+ IconCamera,+ IconCameraBolt,+ IconCameraCancel,+ IconCameraCheck,+ IconCameraCode,+ IconCameraCog,+ IconCameraDollar,+ IconCameraDown,+ IconCameraExclamation,+ IconCameraHeart,+ IconCameraMinus,+ IconCameraOff,+ IconCameraPause,+ IconCameraPin,+ IconCameraPlus,+ IconCameraQuestion,+ IconCameraRotate,+ IconCameraSearch,+ IconCameraSelfie,+ IconCameraShare,+ IconCameraStar,+ IconCameraUp,+ IconCameraX,+ IconCamper,+ IconCampfire,+ IconCandle,+ IconCandy,+ IconCandyOff,+ IconCane,+ IconCannabis,+ IconCapsule,+ IconCapsuleHorizontal,+ IconCapture,+ IconCaptureOff,+ IconCar,+ IconCarCrane,+ IconCarCrash,+ IconCarOff,+ IconCarTurbine,+ IconCaravan,+ IconCardboards,+ IconCardboardsOff,+ IconCards,+ IconCaretDown,+ IconCaretLeft,+ IconCaretRight,+ IconCaretUp,+ IconCarouselHorizontal,+ IconCarouselVertical,+ IconCarrot,+ IconCarrotOff,+ IconCash,+ IconCashBanknote,+ IconCashBanknoteOff,+ IconCashOff,+ IconCast,+ IconCastOff,+ IconCat,+ IconCategory,+ IconCategory2,+ IconCe,+ IconCeOff,+ IconCell,+ IconCellSignal1,+ IconCellSignal2,+ IconCellSignal3,+ IconCellSignal4,+ IconCellSignal5,+ IconCellSignalOff,+ IconCertificate,+ IconCertificate2,+ IconCertificate2Off,+ IconCertificateOff,+ IconChairDirector,+ IconChalkboard,+ IconChalkboardOff,+ IconChargingPile,+ IconChartArcs,+ IconChartArcs3,+ IconChartArea,+ IconChartAreaLine,+ IconChartArrows,+ IconChartArrowsVertical,+ IconChartBar,+ IconChartBarOff,+ IconChartBubble,+ IconChartCandle,+ IconChartCircles,+ IconChartDonut,+ IconChartDonut2,+ IconChartDonut3,+ IconChartDonut4,+ IconChartDots,+ IconChartDots2,+ IconChartDots3,+ IconChartGridDots,+ IconChartHistogram,+ IconChartInfographic,+ IconChartLine,+ IconChartPie,+ IconChartPie2,+ IconChartPie3,+ IconChartPie4,+ IconChartPieOff,+ IconChartPpf,+ IconChartRadar,+ IconChartSankey,+ IconChartTreemap,+ IconCheck,+ IconCheckbox,+ IconChecklist,+ IconChecks,+ IconCheckupList,+ IconCheese,+ IconChefHat,+ IconChefHatOff,+ IconCherry,+ IconChess,+ IconChessBishop,+ IconChessKing,+ IconChessKnight,+ IconChessQueen,+ IconChessRook,+ IconChevronCompactDown,+ IconChevronCompactLeft,+ IconChevronCompactRight,+ IconChevronCompactUp,+ IconChevronDown,+ IconChevronDownLeft,+ IconChevronDownRight,+ IconChevronLeft,+ IconChevronLeftPipe,+ IconChevronRight,+ IconChevronRightPipe,+ IconChevronUp,+ IconChevronUpLeft,+ IconChevronUpRight,+ IconChevronsDown,+ IconChevronsDownLeft,+ IconChevronsDownRight,+ IconChevronsLeft,+ IconChevronsRight,+ IconChevronsUp,+ IconChevronsUpLeft,+ IconChevronsUpRight,+ IconChisel,+ IconChristmasTree,+ IconChristmasTreeOff,+ IconCircle,+ IconCircleArrowDown,+ IconCircleArrowDownLeft,+ IconCircleArrowDownRight,+ IconCircleArrowLeft,+ IconCircleArrowRight,+ IconCircleArrowUp,+ IconCircleArrowUpLeft,+ IconCircleArrowUpRight,+ IconCircleCaretDown,+ IconCircleCaretLeft,+ IconCircleCaretRight,+ IconCircleCaretUp,+ IconCircleCheck,+ IconCircleChevronDown,+ IconCircleChevronLeft,+ IconCircleChevronRight,+ IconCircleChevronUp,+ IconCircleChevronsDown,+ IconCircleChevronsLeft,+ IconCircleChevronsRight,+ IconCircleChevronsUp,+ IconCircleDashed,+ IconCircleDot,+ IconCircleDotted,+ IconCircleHalf,+ IconCircleHalf2,+ IconCircleHalfVertical,+ IconCircleKey,+ IconCircleLetterA,+ IconCircleLetterB,+ IconCircleLetterC,+ IconCircleLetterD,+ IconCircleLetterE,+ IconCircleLetterF,+ IconCircleLetterG,+ IconCircleLetterH,+ IconCircleLetterI,+ IconCircleLetterJ,+ IconCircleLetterK,+ IconCircleLetterL,+ IconCircleLetterM,+ IconCircleLetterN,+ IconCircleLetterO,+ IconCircleLetterP,+ IconCircleLetterQ,+ IconCircleLetterR,+ IconCircleLetterS,+ IconCircleLetterT,+ IconCircleLetterU,+ IconCircleLetterV,+ IconCircleLetterW,+ IconCircleLetterX,+ IconCircleLetterY,+ IconCircleLetterZ,+ IconCircleMinus,+ IconCircleNumber0,+ IconCircleNumber1,+ IconCircleNumber2,+ IconCircleNumber3,+ IconCircleNumber4,+ IconCircleNumber5,+ IconCircleNumber6,+ IconCircleNumber7,+ IconCircleNumber8,+ IconCircleNumber9,+ IconCircleOff,+ IconCirclePlus,+ IconCircleRectangle,+ IconCircleRectangleOff,+ IconCircleSquare,+ IconCircleTriangle,+ IconCircleX,+ IconCircles,+ IconCirclesRelation,+ IconCircuitAmmeter,+ IconCircuitBattery,+ IconCircuitBulb,+ IconCircuitCapacitor,+ IconCircuitCapacitorPolarized,+ IconCircuitCell,+ IconCircuitCellPlus,+ IconCircuitChangeover,+ IconCircuitDiode,+ IconCircuitDiodeZener,+ IconCircuitGround,+ IconCircuitGroundDigital,+ IconCircuitInductor,+ IconCircuitMotor,+ IconCircuitPushbutton,+ IconCircuitResistor,+ IconCircuitSwitchClosed,+ IconCircuitSwitchOpen,+ IconCircuitVoltmeter,+ IconClearAll,+ IconClearFormatting,+ IconClick,+ IconClipboard,+ IconClipboardCheck,+ IconClipboardCopy,+ IconClipboardData,+ IconClipboardHeart,+ IconClipboardList,+ IconClipboardOff,+ IconClipboardPlus,+ IconClipboardText,+ IconClipboardTypography,+ IconClipboardX,+ IconClock,+ IconClock2,+ IconClockBolt,+ IconClockCancel,+ IconClockCheck,+ IconClockCode,+ IconClockCog,+ IconClockDollar,+ IconClockDown,+ IconClockEdit,+ IconClockExclamation,+ IconClockHeart,+ IconClockHour1,+ IconClockHour10,+ IconClockHour11,+ IconClockHour12,+ IconClockHour2,+ IconClockHour3,+ IconClockHour4,+ IconClockHour5,+ IconClockHour6,+ IconClockHour7,+ IconClockHour8,+ IconClockHour9,+ IconClockMinus,+ IconClockOff,+ IconClockPause,+ IconClockPin,+ IconClockPlay,+ IconClockPlus,+ IconClockQuestion,+ IconClockRecord,+ IconClockSearch,+ IconClockShare,+ IconClockShield,+ IconClockStar,+ IconClockStop,+ IconClockUp,+ IconClockX,+ IconClothesRack,+ IconClothesRackOff,+ IconCloud,+ IconCloudBolt,+ IconCloudCancel,+ IconCloudCheck,+ IconCloudCode,+ IconCloudCog,+ IconCloudComputing,+ IconCloudDataConnection,+ IconCloudDollar,+ IconCloudDown,+ IconCloudDownload,+ IconCloudExclamation,+ IconCloudFog,+ IconCloudHeart,+ IconCloudLock,+ IconCloudLockOpen,+ IconCloudMinus,+ IconCloudOff,+ IconCloudPause,+ IconCloudPin,+ IconCloudPlus,+ IconCloudQuestion,+ IconCloudRain,+ IconCloudSearch,+ IconCloudShare,+ IconCloudSnow,+ IconCloudStar,+ IconCloudStorm,+ IconCloudUp,+ IconCloudUpload,+ IconCloudX,+ IconClover,+ IconClover2,+ IconClubs,+ IconCode,+ IconCodeCircle,+ IconCodeCircle2,+ IconCodeDots,+ IconCodeMinus,+ IconCodeOff,+ IconCodePlus,+ IconCoffee,+ IconCoffeeOff,+ IconCoffin,+ IconCoin,+ IconCoinBitcoin,+ IconCoinEuro,+ IconCoinMonero,+ IconCoinOff,+ IconCoinPound,+ IconCoinRupee,+ IconCoinYen,+ IconCoinYuan,+ IconCoins,+ IconColorFilter,+ IconColorPicker,+ IconColorPickerOff,+ IconColorSwatch,+ IconColorSwatchOff,+ IconColumnInsertLeft,+ IconColumnInsertRight,+ IconColumnRemove,+ IconColumns,+ IconColumns1,+ IconColumns2,+ IconColumns3,+ IconColumnsOff,+ IconComet,+ IconCommand,+ IconCommandOff,+ IconCompass,+ IconCompassOff,+ IconComponents,+ IconComponentsOff,+ IconCone,+ IconCone2,+ IconConeOff,+ IconConePlus,+ IconConfetti,+ IconConfettiOff,+ IconConfucius,+ IconContainer,+ IconContainerOff,+ IconContrast,+ IconContrast2,+ IconContrast2Off,+ IconContrastOff,+ IconCooker,+ IconCookie,+ IconCookieMan,+ IconCookieOff,+ IconCopy,+ IconCopyOff,+ IconCopyleft,+ IconCopyleftOff,+ IconCopyright,+ IconCopyrightOff,+ IconCornerDownLeft,+ IconCornerDownLeftDouble,+ IconCornerDownRight,+ IconCornerDownRightDouble,+ IconCornerLeftDown,+ IconCornerLeftDownDouble,+ IconCornerLeftUp,+ IconCornerLeftUpDouble,+ IconCornerRightDown,+ IconCornerRightDownDouble,+ IconCornerRightUp,+ IconCornerRightUpDouble,+ IconCornerUpLeft,+ IconCornerUpLeftDouble,+ IconCornerUpRight,+ IconCornerUpRightDouble,+ IconCpu,+ IconCpu2,+ IconCpuOff,+ IconCrane,+ IconCraneOff,+ IconCreativeCommons,+ IconCreativeCommonsBy,+ IconCreativeCommonsNc,+ IconCreativeCommonsNd,+ IconCreativeCommonsOff,+ IconCreativeCommonsSa,+ IconCreativeCommonsZero,+ IconCreditCard,+ IconCreditCardOff,+ IconCricket,+ IconCrop,+ IconCross,+ IconCrossOff,+ IconCrosshair,+ IconCrown,+ IconCrownOff,+ IconCrutches,+ IconCrutchesOff,+ IconCrystalBall,+ IconCsv,+ IconCube,+ IconCube3dSphere,+ IconCube3dSphereOff,+ IconCubeOff,+ IconCubePlus,+ IconCubeSend,+ IconCubeUnfolded,+ IconCup,+ IconCupOff,+ IconCurling,+ IconCurlyLoop,+ IconCurrency,+ IconCurrencyAfghani,+ IconCurrencyBahraini,+ IconCurrencyBaht,+ IconCurrencyBitcoin,+ IconCurrencyCent,+ IconCurrencyDinar,+ IconCurrencyDirham,+ IconCurrencyDogecoin,+ IconCurrencyDollar,+ IconCurrencyDollarAustralian,+ IconCurrencyDollarBrunei,+ IconCurrencyDollarCanadian,+ IconCurrencyDollarGuyanese,+ IconCurrencyDollarOff,+ IconCurrencyDollarSingapore,+ IconCurrencyDollarZimbabwean,+ IconCurrencyDong,+ IconCurrencyDram,+ IconCurrencyEthereum,+ IconCurrencyEuro,+ IconCurrencyEuroOff,+ IconCurrencyFlorin,+ IconCurrencyForint,+ IconCurrencyFrank,+ IconCurrencyGuarani,+ IconCurrencyHryvnia,+ IconCurrencyIranianRial,+ IconCurrencyKip,+ IconCurrencyKroneCzech,+ IconCurrencyKroneDanish,+ IconCurrencyKroneSwedish,+ IconCurrencyLari,+ IconCurrencyLeu,+ IconCurrencyLira,+ IconCurrencyLitecoin,+ IconCurrencyLyd,+ IconCurrencyManat,+ IconCurrencyMonero,+ IconCurrencyNaira,+ IconCurrencyNano,+ IconCurrencyOff,+ IconCurrencyPaanga,+ IconCurrencyPeso,+ IconCurrencyPound,+ IconCurrencyPoundOff,+ IconCurrencyQuetzal,+ IconCurrencyReal,+ IconCurrencyRenminbi,+ IconCurrencyRipple,+ IconCurrencyRiyal,+ IconCurrencyRubel,+ IconCurrencyRufiyaa,+ IconCurrencyRupee,+ IconCurrencyRupeeNepalese,+ IconCurrencyShekel,+ IconCurrencySolana,+ IconCurrencySom,+ IconCurrencyTaka,+ IconCurrencyTenge,+ IconCurrencyTugrik,+ IconCurrencyWon,+ IconCurrencyYen,+ IconCurrencyYenOff,+ IconCurrencyYuan,+ IconCurrencyZloty,+ IconCurrentLocation,+ IconCurrentLocationOff,+ IconCursorOff,+ IconCursorText,+ IconCut,+ IconCylinder,+ IconCylinderOff,+ IconCylinderPlus,+ IconDashboard,+ IconDashboardOff,+ IconDatabase,+ IconDatabaseCog,+ IconDatabaseDollar,+ IconDatabaseEdit,+ IconDatabaseExclamation,+ IconDatabaseExport,+ IconDatabaseHeart,+ IconDatabaseImport,+ IconDatabaseLeak,+ IconDatabaseMinus,+ IconDatabaseOff,+ IconDatabasePlus,+ IconDatabaseSearch,+ IconDatabaseShare,+ IconDatabaseStar,+ IconDatabaseX,+ IconDecimal,+ IconDeer,+ IconDelta,+ IconDental,+ IconDentalBroken,+ IconDentalOff,+ IconDeselect,+ IconDetails,+ IconDetailsOff,+ IconDeviceAirpods,+ IconDeviceAirpodsCase,+ IconDeviceAirtag,+ IconDeviceAnalytics,+ IconDeviceAudioTape,+ IconDeviceCameraPhone,+ IconDeviceCctv,+ IconDeviceCctvOff,+ IconDeviceComputerCamera,+ IconDeviceComputerCameraOff,+ IconDeviceDesktop,+ IconDeviceDesktopAnalytics,+ IconDeviceDesktopBolt,+ IconDeviceDesktopCancel,+ IconDeviceDesktopCheck,+ IconDeviceDesktopCode,+ IconDeviceDesktopCog,+ IconDeviceDesktopDollar,+ IconDeviceDesktopDown,+ IconDeviceDesktopExclamation,+ IconDeviceDesktopHeart,+ IconDeviceDesktopMinus,+ IconDeviceDesktopOff,+ IconDeviceDesktopPause,+ IconDeviceDesktopPin,+ IconDeviceDesktopPlus,+ IconDeviceDesktopQuestion,+ IconDeviceDesktopSearch,+ IconDeviceDesktopShare,+ IconDeviceDesktopStar,+ IconDeviceDesktopUp,+ IconDeviceDesktopX,+ IconDeviceFloppy,+ IconDeviceGamepad,+ IconDeviceGamepad2,+ IconDeviceHeartMonitor,+ IconDeviceImac,+ IconDeviceImacBolt,+ IconDeviceImacCancel,+ IconDeviceImacCheck,+ IconDeviceImacCode,+ IconDeviceImacCog,+ IconDeviceImacDollar,+ IconDeviceImacDown,+ IconDeviceImacExclamation,+ IconDeviceImacHeart,+ IconDeviceImacMinus,+ IconDeviceImacOff,+ IconDeviceImacPause,+ IconDeviceImacPin,+ IconDeviceImacPlus,+ IconDeviceImacQuestion,+ IconDeviceImacSearch,+ IconDeviceImacShare,+ IconDeviceImacStar,+ IconDeviceImacUp,+ IconDeviceImacX,+ IconDeviceIpad,+ IconDeviceIpadBolt,+ IconDeviceIpadCancel,+ IconDeviceIpadCheck,+ IconDeviceIpadCode,+ IconDeviceIpadCog,+ IconDeviceIpadDollar,+ IconDeviceIpadDown,+ IconDeviceIpadExclamation,+ IconDeviceIpadHeart,+ IconDeviceIpadHorizontal,+ IconDeviceIpadHorizontalBolt,+ IconDeviceIpadHorizontalCancel,+ IconDeviceIpadHorizontalCheck,+ IconDeviceIpadHorizontalCode,+ IconDeviceIpadHorizontalCog,+ IconDeviceIpadHorizontalDollar,+ IconDeviceIpadHorizontalDown,+ IconDeviceIpadHorizontalExclamation,+ IconDeviceIpadHorizontalHeart,+ IconDeviceIpadHorizontalMinus,+ IconDeviceIpadHorizontalOff,+ IconDeviceIpadHorizontalPause,+ IconDeviceIpadHorizontalPin,+ IconDeviceIpadHorizontalPlus,+ IconDeviceIpadHorizontalQuestion,+ IconDeviceIpadHorizontalSearch,+ IconDeviceIpadHorizontalShare,+ IconDeviceIpadHorizontalStar,+ IconDeviceIpadHorizontalUp,+ IconDeviceIpadHorizontalX,+ IconDeviceIpadMinus,+ IconDeviceIpadOff,+ IconDeviceIpadPause,+ IconDeviceIpadPin,+ IconDeviceIpadPlus,+ IconDeviceIpadQuestion,+ IconDeviceIpadSearch,+ IconDeviceIpadShare,+ IconDeviceIpadStar,+ IconDeviceIpadUp,+ IconDeviceIpadX,+ IconDeviceLandlinePhone,+ IconDeviceLaptop,+ IconDeviceLaptopOff,+ IconDeviceMobile,+ IconDeviceMobileBolt,+ IconDeviceMobileCancel,+ IconDeviceMobileCharging,+ IconDeviceMobileCheck,+ IconDeviceMobileCode,+ IconDeviceMobileCog,+ IconDeviceMobileDollar,+ IconDeviceMobileDown,+ IconDeviceMobileExclamation,+ IconDeviceMobileHeart,+ IconDeviceMobileMessage,+ IconDeviceMobileMinus,+ IconDeviceMobileOff,+ IconDeviceMobilePause,+ IconDeviceMobilePin,+ IconDeviceMobilePlus,+ IconDeviceMobileQuestion,+ IconDeviceMobileRotated,+ IconDeviceMobileSearch,+ IconDeviceMobileShare,+ IconDeviceMobileStar,+ IconDeviceMobileUp,+ IconDeviceMobileVibration,+ IconDeviceMobileX,+ IconDeviceNintendo,+ IconDeviceNintendoOff,+ IconDeviceProjector,+ IconDeviceRemote,+ IconDeviceSdCard,+ IconDeviceSim,+ IconDeviceSim1,+ IconDeviceSim2,+ IconDeviceSim3,+ IconDeviceSpeaker,+ IconDeviceSpeakerOff,+ IconDeviceTablet,+ IconDeviceTabletBolt,+ IconDeviceTabletCancel,+ IconDeviceTabletCheck,+ IconDeviceTabletCode,+ IconDeviceTabletCog,+ IconDeviceTabletDollar,+ IconDeviceTabletDown,+ IconDeviceTabletExclamation,+ IconDeviceTabletHeart,+ IconDeviceTabletMinus,+ IconDeviceTabletOff,+ IconDeviceTabletPause,+ IconDeviceTabletPin,+ IconDeviceTabletPlus,+ IconDeviceTabletQuestion,+ IconDeviceTabletSearch,+ IconDeviceTabletShare,+ IconDeviceTabletStar,+ IconDeviceTabletUp,+ IconDeviceTabletX,+ IconDeviceTv,+ IconDeviceTvOff,+ IconDeviceTvOld,+ IconDeviceVisionPro,+ IconDeviceWatch,+ IconDeviceWatchBolt,+ IconDeviceWatchCancel,+ IconDeviceWatchCheck,+ IconDeviceWatchCode,+ IconDeviceWatchCog,+ IconDeviceWatchDollar,+ IconDeviceWatchDown,+ IconDeviceWatchExclamation,+ IconDeviceWatchHeart,+ IconDeviceWatchMinus,+ IconDeviceWatchOff,+ IconDeviceWatchPause,+ IconDeviceWatchPin,+ IconDeviceWatchPlus,+ IconDeviceWatchQuestion,+ IconDeviceWatchSearch,+ IconDeviceWatchShare,+ IconDeviceWatchStar,+ IconDeviceWatchStats,+ IconDeviceWatchStats2,+ IconDeviceWatchUp,+ IconDeviceWatchX,+ IconDevices,+ IconDevices2,+ IconDevicesBolt,+ IconDevicesCancel,+ IconDevicesCheck,+ IconDevicesCode,+ IconDevicesCog,+ IconDevicesDollar,+ IconDevicesDown,+ IconDevicesExclamation,+ IconDevicesHeart,+ IconDevicesMinus,+ IconDevicesOff,+ IconDevicesPause,+ IconDevicesPc,+ IconDevicesPcOff,+ IconDevicesPin,+ IconDevicesPlus,+ IconDevicesQuestion,+ IconDevicesSearch,+ IconDevicesShare,+ IconDevicesStar,+ IconDevicesUp,+ IconDevicesX,+ IconDiabolo,+ IconDiaboloOff,+ IconDiaboloPlus,+ IconDialpad,+ IconDialpadOff,+ IconDiamond,+ IconDiamondOff,+ IconDiamonds,+ IconDice,+ IconDice1,+ IconDice2,+ IconDice3,+ IconDice4,+ IconDice5,+ IconDice6,+ IconDimensions,+ IconDirection,+ IconDirectionHorizontal,+ IconDirectionSign,+ IconDirectionSignOff,+ IconDirections,+ IconDirectionsOff,+ IconDisabled,+ IconDisabled2,+ IconDisabledOff,+ IconDisc,+ IconDiscGolf,+ IconDiscOff,+ IconDiscount,+ IconDiscountOff,+ IconDivide,+ IconDna,+ IconDna2,+ IconDna2Off,+ IconDnaOff,+ IconDog,+ IconDogBowl,+ IconDoor,+ IconDoorEnter,+ IconDoorExit,+ IconDoorOff,+ IconDots,+ IconDotsCircleHorizontal,+ IconDotsDiagonal,+ IconDotsDiagonal2,+ IconDotsVertical,+ IconDownload,+ IconDownloadOff,+ IconDragDrop,+ IconDragDrop2,+ IconDrone,+ IconDroneOff,+ IconDropCircle,+ IconDroplet,+ IconDropletBolt,+ IconDropletCancel,+ IconDropletCheck,+ IconDropletCode,+ IconDropletCog,+ IconDropletDollar,+ IconDropletDown,+ IconDropletExclamation,+ IconDropletHalf,+ IconDropletHalf2,+ IconDropletHeart,+ IconDropletMinus,+ IconDropletOff,+ IconDropletPause,+ IconDropletPin,+ IconDropletPlus,+ IconDropletQuestion,+ IconDropletSearch,+ IconDropletShare,+ IconDropletStar,+ IconDropletUp,+ IconDropletX,+ IconDroplets,+ IconDualScreen,+ IconEPassport,+ IconEar,+ IconEarOff,+ IconEaseIn,+ IconEaseInControlPoint,+ IconEaseInOut,+ IconEaseInOutControlPoints,+ IconEaseOut,+ IconEaseOutControlPoint,+ IconEdit,+ IconEditCircle,+ IconEditCircleOff,+ IconEditOff,+ IconEgg,+ IconEggCracked,+ IconEggFried,+ IconEggOff,+ IconEggs,+ IconElevator,+ IconElevatorOff,+ IconEmergencyBed,+ IconEmpathize,+ IconEmpathizeOff,+ IconEmphasis,+ IconEngine,+ IconEngineOff,+ IconEqual,+ IconEqualDouble,+ IconEqualNot,+ IconEraser,+ IconEraserOff,+ IconError404,+ IconError404Off,+ IconEscalator,+ IconEscalatorDown,+ IconEscalatorUp,+ IconExchange,+ IconExchangeOff,+ IconExclamationCircle,+ IconExclamationMark,+ IconExclamationMarkOff,+ IconExplicit,+ IconExplicitOff,+ IconExposure,+ IconExposure0,+ IconExposureMinus1,+ IconExposureMinus2,+ IconExposureOff,+ IconExposurePlus1,+ IconExposurePlus2,+ IconExternalLink,+ IconExternalLinkOff,+ IconEye,+ IconEyeBolt,+ IconEyeCancel,+ IconEyeCheck,+ IconEyeClosed,+ IconEyeCode,+ IconEyeCog,+ IconEyeDiscount,+ IconEyeDollar,+ IconEyeDown,+ IconEyeEdit,+ IconEyeExclamation,+ IconEyeHeart,+ IconEyeMinus,+ IconEyeOff,+ IconEyePause,+ IconEyePin,+ IconEyePlus,+ IconEyeQuestion,+ IconEyeSearch,+ IconEyeShare,+ IconEyeStar,+ IconEyeTable,+ IconEyeUp,+ IconEyeX,+ IconEyeglass,+ IconEyeglass2,+ IconEyeglassOff,+ IconFaceId,+ IconFaceIdError,+ IconFaceMask,+ IconFaceMaskOff,+ IconFall,+ IconFeather,+ IconFeatherOff,+ IconFence,+ IconFenceOff,+ IconFidgetSpinner,+ IconFile,+ IconFile3d,+ IconFileAlert,+ IconFileAnalytics,+ IconFileArrowLeft,+ IconFileArrowRight,+ IconFileBarcode,+ IconFileBroken,+ IconFileCertificate,+ IconFileChart,+ IconFileCheck,+ IconFileCode,+ IconFileCode2,+ IconFileCv,+ IconFileDatabase,+ IconFileDelta,+ IconFileDescription,+ IconFileDiff,+ IconFileDigit,+ IconFileDislike,+ IconFileDollar,+ IconFileDots,+ IconFileDownload,+ IconFileEuro,+ IconFileExport,+ IconFileFunction,+ IconFileHorizontal,+ IconFileImport,+ IconFileInfinity,+ IconFileInfo,+ IconFileInvoice,+ IconFileLambda,+ IconFileLike,+ IconFileMinus,+ IconFileMusic,+ IconFileOff,+ IconFileOrientation,+ IconFilePencil,+ IconFilePercent,+ IconFilePhone,+ IconFilePlus,+ IconFilePower,+ IconFileReport,+ IconFileRss,+ IconFileScissors,+ IconFileSearch,+ IconFileSettings,+ IconFileShredder,+ IconFileSignal,+ IconFileSpreadsheet,+ IconFileStack,+ IconFileStar,+ IconFileSymlink,+ IconFileText,+ IconFileTextAi,+ IconFileTime,+ IconFileTypeBmp,+ IconFileTypeCss,+ IconFileTypeCsv,+ IconFileTypeDoc,+ IconFileTypeDocx,+ IconFileTypeHtml,+ IconFileTypeJpg,+ IconFileTypeJs,+ IconFileTypeJsx,+ IconFileTypePdf,+ IconFileTypePhp,+ IconFileTypePng,+ IconFileTypePpt,+ IconFileTypeRs,+ IconFileTypeSql,+ IconFileTypeSvg,+ IconFileTypeTs,+ IconFileTypeTsx,+ IconFileTypeTxt,+ IconFileTypeVue,+ IconFileTypeXls,+ IconFileTypeXml,+ IconFileTypeZip,+ IconFileTypography,+ IconFileUnknown,+ IconFileUpload,+ IconFileVector,+ IconFileX,+ IconFileZip,+ IconFiles,+ IconFilesOff,+ IconFilter,+ IconFilterBolt,+ IconFilterCancel,+ IconFilterCheck,+ IconFilterCode,+ IconFilterCog,+ IconFilterDiscount,+ IconFilterDollar,+ IconFilterDown,+ IconFilterEdit,+ IconFilterExclamation,+ IconFilterHeart,+ IconFilterMinus,+ IconFilterOff,+ IconFilterPause,+ IconFilterPin,+ IconFilterPlus,+ IconFilterQuestion,+ IconFilterSearch,+ IconFilterShare,+ IconFilterStar,+ IconFilterUp,+ IconFilterX,+ IconFilters,+ IconFingerprint,+ IconFingerprintOff,+ IconFireExtinguisher,+ IconFireHydrant,+ IconFireHydrantOff,+ IconFiretruck,+ IconFirstAidKit,+ IconFirstAidKitOff,+ IconFish,+ IconFishBone,+ IconFishChristianity,+ IconFishHook,+ IconFishHookOff,+ IconFishOff,+ IconFlag,+ IconFlag2,+ IconFlag2Off,+ IconFlag3,+ IconFlagBolt,+ IconFlagCancel,+ IconFlagCheck,+ IconFlagCode,+ IconFlagCog,+ IconFlagDiscount,+ IconFlagDollar,+ IconFlagDown,+ IconFlagExclamation,+ IconFlagHeart,+ IconFlagMinus,+ IconFlagOff,+ IconFlagPause,+ IconFlagPin,+ IconFlagPlus,+ IconFlagQuestion,+ IconFlagSearch,+ IconFlagShare,+ IconFlagStar,+ IconFlagUp,+ IconFlagX,+ IconFlame,+ IconFlameOff,+ IconFlare,+ IconFlask,+ IconFlask2,+ IconFlask2Off,+ IconFlaskOff,+ IconFlipFlops,+ IconFlipHorizontal,+ IconFlipVertical,+ IconFloatCenter,+ IconFloatLeft,+ IconFloatNone,+ IconFloatRight,+ IconFlower,+ IconFlowerOff,+ IconFocus,+ IconFocus2,+ IconFocusAuto,+ IconFocusCentered,+ IconFold,+ IconFoldDown,+ IconFoldUp,+ IconFolder,+ IconFolderBolt,+ IconFolderCancel,+ IconFolderCheck,+ IconFolderCode,+ IconFolderCog,+ IconFolderDollar,+ IconFolderDown,+ IconFolderExclamation,+ IconFolderHeart,+ IconFolderMinus,+ IconFolderOff,+ IconFolderOpen,+ IconFolderPause,+ IconFolderPin,+ IconFolderPlus,+ IconFolderQuestion,+ IconFolderSearch,+ IconFolderShare,+ IconFolderStar,+ IconFolderSymlink,+ IconFolderUp,+ IconFolderX,+ IconFolders,+ IconFoldersOff,+ IconForbid,+ IconForbid2,+ IconForklift,+ IconForms,+ IconFountain,+ IconFountainOff,+ IconFrame,+ IconFrameOff,+ IconFreeRights,+ IconFreezeColumn,+ IconFreezeRow,+ IconFreezeRowColumn,+ IconFridge,+ IconFridgeOff,+ IconFriends,+ IconFriendsOff,+ IconFrustum,+ IconFrustumOff,+ IconFrustumPlus,+ IconFunction,+ IconFunctionOff,+ IconGardenCart,+ IconGardenCartOff,+ IconGasStation,+ IconGasStationOff,+ IconGauge,+ IconGaugeOff,+ IconGavel,+ IconGenderAgender,+ IconGenderAndrogyne,+ IconGenderBigender,+ IconGenderDemiboy,+ IconGenderDemigirl,+ IconGenderEpicene,+ IconGenderFemale,+ IconGenderFemme,+ IconGenderGenderfluid,+ IconGenderGenderless,+ IconGenderGenderqueer,+ IconGenderHermaphrodite,+ IconGenderIntergender,+ IconGenderMale,+ IconGenderNeutrois,+ IconGenderThird,+ IconGenderTransgender,+ IconGenderTrasvesti,+ IconGeometry,+ IconGhost,+ IconGhost2,+ IconGhost3,+ IconGhostOff,+ IconGif,+ IconGift,+ IconGiftCard,+ IconGiftOff,+ IconGitBranch,+ IconGitBranchDeleted,+ IconGitCherryPick,+ IconGitCommit,+ IconGitCompare,+ IconGitFork,+ IconGitMerge,+ IconGitPullRequest,+ IconGitPullRequestClosed,+ IconGitPullRequestDraft,+ IconGizmo,+ IconGlass,+ IconGlassFull,+ IconGlassOff,+ IconGlobe,+ IconGlobeOff,+ IconGoGame,+ IconGolf,+ IconGolfOff,+ IconGps,+ IconGradienter,+ IconGrain,+ IconGraph,+ IconGraphOff,+ IconGrave,+ IconGrave2,+ IconGridDots,+ IconGridPattern,+ IconGrill,+ IconGrillFork,+ IconGrillOff,+ IconGrillSpatula,+ IconGripHorizontal,+ IconGripVertical,+ IconGrowth,+ IconGuitarPick,+ IconH1,+ IconH2,+ IconH3,+ IconH4,+ IconH5,+ IconH6,+ IconHammer,+ IconHammerOff,+ IconHandClick,+ IconHandFinger,+ IconHandFingerOff,+ IconHandGrab,+ IconHandLittleFinger,+ IconHandMiddleFinger,+ IconHandMove,+ IconHandOff,+ IconHandRingFinger,+ IconHandSanitizer,+ IconHandStop,+ IconHandThreeFingers,+ IconHandTwoFingers,+ IconHanger,+ IconHanger2,+ IconHangerOff,+ IconHash,+ IconHaze,+ IconHazeMoon,+ IconHdr,+ IconHeading,+ IconHeadingOff,+ IconHeadphones,+ IconHeadphonesOff,+ IconHeadset,+ IconHeadsetOff,+ IconHealthRecognition,+ IconHeart,+ IconHeartBolt,+ IconHeartBroken,+ IconHeartCancel,+ IconHeartCheck,+ IconHeartCode,+ IconHeartCog,+ IconHeartDiscount,+ IconHeartDollar,+ IconHeartDown,+ IconHeartExclamation,+ IconHeartHandshake,+ IconHeartMinus,+ IconHeartOff,+ IconHeartPause,+ IconHeartPin,+ IconHeartPlus,+ IconHeartQuestion,+ IconHeartRateMonitor,+ IconHeartSearch,+ IconHeartShare,+ IconHeartStar,+ IconHeartUp,+ IconHeartX,+ IconHeartbeat,+ IconHearts,+ IconHeartsOff,+ IconHelicopter,+ IconHelicopterLanding,+ IconHelmet,+ IconHelmetOff,+ IconHelp,+ IconHelpCircle,+ IconHelpHexagon,+ IconHelpOctagon,+ IconHelpOff,+ IconHelpSmall,+ IconHelpSquare,+ IconHelpSquareRounded,+ IconHelpTriangle,+ IconHemisphere,+ IconHemisphereOff,+ IconHemispherePlus,+ IconHexagon,+ IconHexagon3d,+ IconHexagonLetterA,+ IconHexagonLetterB,+ IconHexagonLetterC,+ IconHexagonLetterD,+ IconHexagonLetterE,+ IconHexagonLetterF,+ IconHexagonLetterG,+ IconHexagonLetterH,+ IconHexagonLetterI,+ IconHexagonLetterJ,+ IconHexagonLetterK,+ IconHexagonLetterL,+ IconHexagonLetterM,+ IconHexagonLetterN,+ IconHexagonLetterO,+ IconHexagonLetterP,+ IconHexagonLetterQ,+ IconHexagonLetterR,+ IconHexagonLetterS,+ IconHexagonLetterT,+ IconHexagonLetterU,+ IconHexagonLetterV,+ IconHexagonLetterW,+ IconHexagonLetterX,+ IconHexagonLetterY,+ IconHexagonLetterZ,+ IconHexagonNumber0,+ IconHexagonNumber1,+ IconHexagonNumber2,+ IconHexagonNumber3,+ IconHexagonNumber4,+ IconHexagonNumber5,+ IconHexagonNumber6,+ IconHexagonNumber7,+ IconHexagonNumber8,+ IconHexagonNumber9,+ IconHexagonOff,+ IconHexagonalPrism,+ IconHexagonalPrismOff,+ IconHexagonalPrismPlus,+ IconHexagonalPyramid,+ IconHexagonalPyramidOff,+ IconHexagonalPyramidPlus,+ IconHexagons,+ IconHexagonsOff,+ IconHierarchy,+ IconHierarchy2,+ IconHierarchy3,+ IconHierarchyOff,+ IconHighlight,+ IconHighlightOff,+ IconHistory,+ IconHistoryOff,+ IconHistoryToggle,+ IconHome,+ IconHome2,+ IconHomeBolt,+ IconHomeCancel,+ IconHomeCheck,+ IconHomeCog,+ IconHomeDollar,+ IconHomeDot,+ IconHomeDown,+ IconHomeEco,+ IconHomeEdit,+ IconHomeExclamation,+ IconHomeHand,+ IconHomeHeart,+ IconHomeInfinity,+ IconHomeLink,+ IconHomeMinus,+ IconHomeMove,+ IconHomeOff,+ IconHomePlus,+ IconHomeQuestion,+ IconHomeRibbon,+ IconHomeSearch,+ IconHomeShare,+ IconHomeShield,+ IconHomeSignal,+ IconHomeStar,+ IconHomeStats,+ IconHomeUp,+ IconHomeX,+ IconHorseToy,+ IconHotelService,+ IconHourglass,+ IconHourglassEmpty,+ IconHourglassHigh,+ IconHourglassLow,+ IconHourglassOff,+ IconHours24,+ IconHtml,+ IconHttpConnect,+ IconHttpDelete,+ IconHttpGet,+ IconHttpHead,+ IconHttpOptions,+ IconHttpPatch,+ IconHttpPost,+ IconHttpPut,+ IconHttpQue,+ IconHttpTrace,+ IconIceCream,+ IconIceCream2,+ IconIceCreamOff,+ IconIceSkating,+ IconIcons,+ IconIconsOff,+ IconId,+ IconIdBadge,+ IconIdBadge2,+ IconIdBadgeOff,+ IconIdOff,+ IconInbox,+ IconInboxOff,+ IconIndentDecrease,+ IconIndentIncrease,+ IconInfinity,+ IconInfinityOff,+ IconInfoCircle,+ IconInfoHexagon,+ IconInfoOctagon,+ IconInfoSmall,+ IconInfoSquare,+ IconInfoSquareRounded,+ IconInfoTriangle,+ IconInnerShadowBottom,+ IconInnerShadowBottomLeft,+ IconInnerShadowBottomRight,+ IconInnerShadowLeft,+ IconInnerShadowRight,+ IconInnerShadowTop,+ IconInnerShadowTopLeft,+ IconInnerShadowTopRight,+ IconInputSearch,+ IconIroning,+ IconIroning1,+ IconIroning2,+ IconIroning3,+ IconIroningOff,+ IconIroningSteam,+ IconIroningSteamOff,+ IconIrregularPolyhedron,+ IconIrregularPolyhedronOff,+ IconIrregularPolyhedronPlus,+ IconItalic,+ IconJacket,+ IconJetpack,+ IconJewishStar,+ IconJpg,+ IconJson,+ IconJumpRope,+ IconKarate,+ IconKayak,+ IconKey,+ IconKeyOff,+ IconKeyboard,+ IconKeyboardHide,+ IconKeyboardOff,+ IconKeyboardShow,+ IconKeyframe,+ IconKeyframeAlignCenter,+ IconKeyframeAlignHorizontal,+ IconKeyframeAlignVertical,+ IconKeyframes,+ IconLadder,+ IconLadderOff,+ IconLadle,+ IconLambda,+ IconLamp,+ IconLamp2,+ IconLampOff,+ IconLane,+ IconLanguage,+ IconLanguageHiragana,+ IconLanguageKatakana,+ IconLanguageOff,+ IconLasso,+ IconLassoOff,+ IconLassoPolygon,+ IconLayersDifference,+ IconLayersIntersect,+ IconLayersIntersect2,+ IconLayersLinked,+ IconLayersOff,+ IconLayersSubtract,+ IconLayersUnion,+ IconLayout,+ IconLayout2,+ IconLayoutAlignBottom,+ IconLayoutAlignCenter,+ IconLayoutAlignLeft,+ IconLayoutAlignMiddle,+ IconLayoutAlignRight,+ IconLayoutAlignTop,+ IconLayoutBoard,+ IconLayoutBoardSplit,+ IconLayoutBottombar,+ IconLayoutBottombarCollapse,+ IconLayoutBottombarExpand,+ IconLayoutCards,+ IconLayoutCollage,+ IconLayoutColumns,+ IconLayoutDashboard,+ IconLayoutDistributeHorizontal,+ IconLayoutDistributeVertical,+ IconLayoutGrid,+ IconLayoutGridAdd,+ IconLayoutGridRemove,+ IconLayoutKanban,+ IconLayoutList,+ IconLayoutNavbar,+ IconLayoutNavbarCollapse,+ IconLayoutNavbarExpand,+ IconLayoutOff,+ IconLayoutRows,+ IconLayoutSidebar,+ IconLayoutSidebarLeftCollapse,+ IconLayoutSidebarLeftExpand,+ IconLayoutSidebarRight,+ IconLayoutSidebarRightCollapse,+ IconLayoutSidebarRightExpand,+ IconLeaf,+ IconLeafOff,+ IconLego,+ IconLegoOff,+ IconLemon,+ IconLemon2,+ IconLetterA,+ IconLetterB,+ IconLetterC,+ IconLetterCase,+ IconLetterCaseLower,+ IconLetterCaseToggle,+ IconLetterCaseUpper,+ IconLetterD,+ IconLetterE,+ IconLetterF,+ IconLetterG,+ IconLetterH,+ IconLetterI,+ IconLetterJ,+ IconLetterK,+ IconLetterL,+ IconLetterM,+ IconLetterN,+ IconLetterO,+ IconLetterP,+ IconLetterQ,+ IconLetterR,+ IconLetterS,+ IconLetterSpacing,+ IconLetterT,+ IconLetterU,+ IconLetterV,+ IconLetterW,+ IconLetterX,+ IconLetterY,+ IconLetterZ,+ IconLicense,+ IconLicenseOff,+ IconLifebuoy,+ IconLifebuoyOff,+ IconLighter,+ IconLine,+ IconLineDashed,+ IconLineDotted,+ IconLineHeight,+ IconLink,+ IconLinkPlus,+ IconLinkOff,+ IconList,+ IconListCheck,+ IconListDetails,+ IconListNumbers,+ IconListSearch,+ IconListTree,+ IconLivePhoto,+ IconLivePhotoOff,+ IconLiveView,+ IconLoadBalancer,+ IconLoader,+ IconLoader2,+ IconLoader3,+ IconLoaderQuarter,+ IconLocation,+ IconLocationBolt,+ IconLocationBroken,+ IconLocationCancel,+ IconLocationCheck,+ IconLocationCode,+ IconLocationCog,+ IconLocationDiscount,+ IconLocationDollar,+ IconLocationDown,+ IconLocationExclamation,+ IconLocationHeart,+ IconLocationMinus,+ IconLocationOff,+ IconLocationPause,+ IconLocationPin,+ IconLocationPlus,+ IconLocationQuestion,+ IconLocationSearch,+ IconLocationShare,+ IconLocationStar,+ IconLocationUp,+ IconLocationX,+ IconLock,+ IconLockAccess,+ IconLockAccessOff,+ IconLockBolt,+ IconLockCancel,+ IconLockCheck,+ IconLockCode,+ IconLockCog,+ IconLockDollar,+ IconLockDown,+ IconLockExclamation,+ IconLockHeart,+ IconLockMinus,+ IconLockOff,+ IconLockOpen,+ IconLockOpenOff,+ IconLockPause,+ IconLockPin,+ IconLockPlus,+ IconLockQuestion,+ IconLockSearch,+ IconLockShare,+ IconLockSquare,+ IconLockSquareRounded,+ IconLockStar,+ IconLockUp,+ IconLockX,+ IconLogicAnd,+ IconLogicBuffer,+ IconLogicNand,+ IconLogicNor,+ IconLogicNot,+ IconLogicOr,+ IconLogicXnor,+ IconLogicXor,+ IconLogin,+ IconLogout,+ IconLogout2,+ IconLollipop,+ IconLollipopOff,+ IconLuggage,+ IconLuggageOff,+ IconLungs,+ IconLungsOff,+ IconMacro,+ IconMacroOff,+ IconMagnet,+ IconMagnetOff,+ IconMail,+ IconMailAi,+ IconMailBolt,+ IconMailCancel,+ IconMailCheck,+ IconMailCode,+ IconMailCog,+ IconMailDollar,+ IconMailDown,+ IconMailExclamation,+ IconMailFast,+ IconMailForward,+ IconMailHeart,+ IconMailMinus,+ IconMailOff,+ IconMailOpened,+ IconMailPause,+ IconMailPin,+ IconMailPlus,+ IconMailQuestion,+ IconMailSearch,+ IconMailShare,+ IconMailStar,+ IconMailUp,+ IconMailX,+ IconMailbox,+ IconMailboxOff,+ IconMan,+ IconManualGearbox,+ IconMap,+ IconMap2,+ IconMapBolt,+ IconMapCancel,+ IconMapCheck,+ IconMapCode,+ IconMapCog,+ IconMapDiscount,+ IconMapDollar,+ IconMapDown,+ IconMapExclamation,+ IconMapHeart,+ IconMapMinus,+ IconMapOff,+ IconMapPause,+ IconMapPin,+ IconMapPinBolt,+ IconMapPinCancel,+ IconMapPinCheck,+ IconMapPinCode,+ IconMapPinCog,+ IconMapPinDollar,+ IconMapPinDown,+ IconMapPinExclamation,+ IconMapPinHeart,+ IconMapPinMinus,+ IconMapPinOff,+ IconMapPinPause,+ IconMapPinPin,+ IconMapPinPlus,+ IconMapPinQuestion,+ IconMapPinSearch,+ IconMapPinShare,+ IconMapPinStar,+ IconMapPinUp,+ IconMapPinX,+ IconMapPins,+ IconMapPlus,+ IconMapQuestion,+ IconMapSearch,+ IconMapShare,+ IconMapStar,+ IconMapUp,+ IconMapX,+ IconMarkdown,+ IconMarkdownOff,+ IconMarquee,+ IconMarquee2,+ IconMarqueeOff,+ IconMars,+ IconMask,+ IconMaskOff,+ IconMasksTheater,+ IconMasksTheaterOff,+ IconMassage,+ IconMatchstick,+ IconMath,+ IconMath1Divide2,+ IconMath1Divide3,+ IconMathAvg,+ IconMathEqualGreater,+ IconMathEqualLower,+ IconMathFunction,+ IconMathFunctionOff,+ IconMathFunctionY,+ IconMathGreater,+ IconMathIntegral,+ IconMathIntegralX,+ IconMathIntegrals,+ IconMathLower,+ IconMathMax,+ IconMathMin,+ IconMathNot,+ IconMathOff,+ IconMathPi,+ IconMathPiDivide2,+ IconMathSymbols,+ IconMathXDivide2,+ IconMathXDivideY,+ IconMathXDivideY2,+ IconMathXMinusX,+ IconMathXMinusY,+ IconMathXPlusX,+ IconMathXPlusY,+ IconMathXy,+ IconMathYMinusY,+ IconMathYPlusY,+ IconMaximize,+ IconMaximizeOff,+ IconMeat,+ IconMeatOff,+ IconMedal,+ IconMedal2,+ IconMedicalCross,+ IconMedicalCrossCircle,+ IconMedicalCrossOff,+ IconMedicineSyrup,+ IconMeeple,+ IconMenorah,+ IconMenu,+ IconMenu2,+ IconMenuDeep,+ IconMenuOrder,+ IconMessage,+ IconMessage2,+ IconMessage2Bolt,+ IconMessage2Cancel,+ IconMessage2Check,+ IconMessage2Code,+ IconMessage2Cog,+ IconMessage2Dollar,+ IconMessage2Down,+ IconMessage2Exclamation,+ IconMessage2Heart,+ IconMessage2Minus,+ IconMessage2Off,+ IconMessage2Pause,+ IconMessage2Pin,+ IconMessage2Plus,+ IconMessage2Question,+ IconMessage2Search,+ IconMessage2Share,+ IconMessage2Star,+ IconMessage2Up,+ IconMessage2X,+ IconMessageBolt,+ IconMessageCancel,+ IconMessageChatbot,+ IconMessageCheck,+ IconMessageCircle,+ IconMessageCircleBolt,+ IconMessageCircleCancel,+ IconMessageCircleCheck,+ IconMessageCircleCode,+ IconMessageCircleCog,+ IconMessageCircleDollar,+ IconMessageCircleDown,+ IconMessageCircleExclamation,+ IconMessageCircleHeart,+ IconMessageCircleMinus,+ IconMessageCircleOff,+ IconMessageCirclePause,+ IconMessageCirclePin,+ IconMessageCirclePlus,+ IconMessageCircleQuestion,+ IconMessageCircleSearch,+ IconMessageCircleShare,+ IconMessageCircleStar,+ IconMessageCircleUp,+ IconMessageCircleX,+ IconMessageCode,+ IconMessageCog,+ IconMessageDollar,+ IconMessageDots,+ IconMessageDown,+ IconMessageExclamation,+ IconMessageForward,+ IconMessageHeart,+ IconMessageLanguage,+ IconMessageMinus,+ IconMessageOff,+ IconMessagePause,+ IconMessagePin,+ IconMessagePlus,+ IconMessageQuestion,+ IconMessageReport,+ IconMessageSearch,+ IconMessageShare,+ IconMessageStar,+ IconMessageUp,+ IconMessageX,+ IconMessages,+ IconMessagesOff,+ IconMeteor,+ IconMeteorOff,+ IconMichelinBibGourmand,+ IconMichelinStar,+ IconMichelinStarGreen,+ IconMickey,+ IconMicrophone,+ IconMicrophone2,+ IconMicrophone2Off,+ IconMicrophoneOff,+ IconMicroscope,+ IconMicroscopeOff,+ IconMicrowave,+ IconMicrowaveOff,+ IconMilitaryAward,+ IconMilitaryRank,+ IconMilk,+ IconMilkOff,+ IconMilkshake,+ IconMinimize,+ IconMinus,+ IconMist,+ IconMistOff,+ IconMobiledata,+ IconMobiledataOff,+ IconMoneybag,+ IconMoodAngry,+ IconMoodAnnoyed,+ IconMoodAnnoyed2,+ IconMoodBoy,+ IconMoodCheck,+ IconMoodCog,+ IconMoodConfuzed,+ IconMoodCrazyHappy,+ IconMoodCry,+ IconMoodDollar,+ IconMoodEdit,+ IconMoodEmpty,+ IconMoodHappy,+ IconMoodHeart,+ IconMoodKid,+ IconMoodLookLeft,+ IconMoodLookRight,+ IconMoodMinus,+ IconMoodNerd,+ IconMoodNervous,+ IconMoodNeutral,+ IconMoodOff,+ IconMoodPin,+ IconMoodPlus,+ IconMoodSad,+ IconMoodSad2,+ IconMoodSadDizzy,+ IconMoodSadSquint,+ IconMoodSearch,+ IconMoodShare,+ IconMoodSick,+ IconMoodSilence,+ IconMoodSing,+ IconMoodSmile,+ IconMoodSmileBeam,+ IconMoodSmileDizzy,+ IconMoodTongue,+ IconMoodTongueWink,+ IconMoodTongueWink2,+ IconMoodUnamused,+ IconMoodUp,+ IconMoodWink,+ IconMoodWink2,+ IconMoodWrrr,+ IconMoodX,+ IconMoodXd,+ IconMoon,+ IconMoon2,+ IconMoonOff,+ IconMoonStars,+ IconMoped,+ IconMotorbike,+ IconMountain,+ IconMountainOff,+ IconMouse,+ IconMouse2,+ IconMouseOff,+ IconMoustache,+ IconMovie,+ IconMovieOff,+ IconMug,+ IconMugOff,+ IconMultiplier05x,+ IconMultiplier15x,+ IconMultiplier1x,+ IconMultiplier2x,+ IconMushroom,+ IconMushroomOff,+ IconMusic,+ IconMusicBolt,+ IconMusicCancel,+ IconMusicCheck,+ IconMusicCode,+ IconMusicCog,+ IconMusicDiscount,+ IconMusicDollar,+ IconMusicDown,+ IconMusicExclamation,+ IconMusicHeart,+ IconMusicMinus,+ IconMusicOff,+ IconMusicPause,+ IconMusicPin,+ IconMusicPlus,+ IconMusicQuestion,+ IconMusicSearch,+ IconMusicShare,+ IconMusicStar,+ IconMusicUp,+ IconMusicX,+ IconNavigation,+ IconNavigationBolt,+ IconNavigationCancel,+ IconNavigationCheck,+ IconNavigationCode,+ IconNavigationCog,+ IconNavigationDiscount,+ IconNavigationDollar,+ IconNavigationDown,+ IconNavigationExclamation,+ IconNavigationHeart,+ IconNavigationMinus,+ IconNavigationNorth,+ IconNavigationOff,+ IconNavigationPause,+ IconNavigationPin,+ IconNavigationPlus,+ IconNavigationQuestion,+ IconNavigationSearch,+ IconNavigationShare,+ IconNavigationStar,+ IconNavigationUp,+ IconNavigationX,+ IconNeedle,+ IconNeedleThread,+ IconNetwork,+ IconNetworkOff,+ IconNewSection,+ IconNews,+ IconNewsOff,+ IconNfc,+ IconNfcOff,+ IconNoCopyright,+ IconNoCreativeCommons,+ IconNoDerivatives,+ IconNorthStar,+ IconNote,+ IconNoteOff,+ IconNotebook,+ IconNotebookOff,+ IconNotes,+ IconNotesOff,+ IconNotification,+ IconNotificationOff,+ IconNumber,+ IconNumber0,+ IconNumber1,+ IconNumber2,+ IconNumber3,+ IconNumber4,+ IconNumber5,+ IconNumber6,+ IconNumber7,+ IconNumber8,+ IconNumber9,+ IconNumbers,+ IconNurse,+ IconOctagon,+ IconOctagonOff,+ IconOctahedron,+ IconOctahedronOff,+ IconOctahedronPlus,+ IconOld,+ IconOlympics,+ IconOlympicsOff,+ IconOm,+ IconOmega,+ IconOutbound,+ IconOutlet,+ IconOval,+ IconOvalVertical,+ IconOverline,+ IconPackage,+ IconPackageExport,+ IconPackageImport,+ IconPackageOff,+ IconPackages,+ IconPacman,+ IconPageBreak,+ IconPaint,+ IconPaintOff,+ IconPalette,+ IconPaletteOff,+ IconPanoramaHorizontal,+ IconPanoramaHorizontalOff,+ IconPanoramaVertical,+ IconPanoramaVerticalOff,+ IconPaperBag,+ IconPaperBagOff,+ IconPaperclip,+ IconParachute,+ IconParachuteOff,+ IconParentheses,+ IconParenthesesOff,+ IconParking,+ IconParkingOff,+ IconPassword,+ IconPaw,+ IconPawOff,+ IconPdf,+ IconPeace,+ IconPencil,+ IconPencilBolt,+ IconPencilCancel,+ IconPencilCheck,+ IconPencilCode,+ IconPencilCog,+ IconPencilDiscount,+ IconPencilDollar,+ IconPencilDown,+ IconPencilExclamation,+ IconPencilHeart,+ IconPencilMinus,+ IconPencilOff,+ IconPencilPause,+ IconPencilPin,+ IconPencilPlus,+ IconPencilQuestion,+ IconPencilSearch,+ IconPencilShare,+ IconPencilStar,+ IconPencilUp,+ IconPencilX,+ IconPennant,+ IconPennant2,+ IconPennantOff,+ IconPentagon,+ IconPentagonOff,+ IconPentagram,+ IconPepper,+ IconPepperOff,+ IconPercentage,+ IconPerfume,+ IconPerspective,+ IconPerspectiveOff,+ IconPhone,+ IconPhoneCall,+ IconPhoneCalling,+ IconPhoneCheck,+ IconPhoneIncoming,+ IconPhoneOff,+ IconPhoneOutgoing,+ IconPhonePause,+ IconPhonePlus,+ IconPhoneX,+ IconPhoto,+ IconPhotoAi,+ IconPhotoBolt,+ IconPhotoCancel,+ IconPhotoCheck,+ IconPhotoCode,+ IconPhotoCog,+ IconPhotoDollar,+ IconPhotoDown,+ IconPhotoEdit,+ IconPhotoExclamation,+ IconPhotoHeart,+ IconPhotoMinus,+ IconPhotoOff,+ IconPhotoPause,+ IconPhotoPin,+ IconPhotoPlus,+ IconPhotoQuestion,+ IconPhotoSearch,+ IconPhotoSensor,+ IconPhotoSensor2,+ IconPhotoSensor3,+ IconPhotoShare,+ IconPhotoShield,+ IconPhotoStar,+ IconPhotoUp,+ IconPhotoX,+ IconPhysotherapist,+ IconPiano,+ IconPick,+ IconPictureInPicture,+ IconPictureInPictureOff,+ IconPictureInPictureOn,+ IconPictureInPictureTop,+ IconPig,+ IconPigMoney,+ IconPigOff,+ IconPilcrow,+ IconPill,+ IconPillOff,+ IconPills,+ IconPin,+ IconPingPong,+ IconPinned,+ IconPinnedOff,+ IconPizza,+ IconPizzaOff,+ IconPlaceholder,+ IconPlane,+ IconPlaneArrival,+ IconPlaneDeparture,+ IconPlaneInflight,+ IconPlaneOff,+ IconPlaneTilt,+ IconPlanet,+ IconPlanetOff,+ IconPlant,+ IconPlant2,+ IconPlant2Off,+ IconPlantOff,+ IconPlayBasketball,+ IconPlayCard,+ IconPlayCardOff,+ IconPlayFootball,+ IconPlayHandball,+ IconPlayVolleyball,+ IconPlayerEject,+ IconPlayerPause,+ IconPlayerPlay,+ IconPlayerRecord,+ IconPlayerSkipBack,+ IconPlayerSkipForward,+ IconPlayerStop,+ IconPlayerTrackNext,+ IconPlayerTrackPrev,+ IconPlaylist,+ IconPlaylistAdd,+ IconPlaylistOff,+ IconPlaylistX,+ IconPlaystationCircle,+ IconPlaystationSquare,+ IconPlaystationTriangle,+ IconPlaystationX,+ IconPlug,+ IconPlugConnected,+ IconPlugConnectedX,+ IconPlugOff,+ IconPlugX,+ IconPlus,+ IconPlusEqual,+ IconPlusMinus,+ IconPng,+ IconPodium,+ IconPodiumOff,+ IconPoint,+ IconPointOff,+ IconPointer,+ IconPointerBolt,+ IconPointerCancel,+ IconPointerCheck,+ IconPointerCode,+ IconPointerCog,+ IconPointerDollar,+ IconPointerDown,+ IconPointerExclamation,+ IconPointerHeart,+ IconPointerMinus,+ IconPointerOff,+ IconPointerPause,+ IconPointerPin,+ IconPointerPlus,+ IconPointerQuestion,+ IconPointerSearch,+ IconPointerShare,+ IconPointerStar,+ IconPointerUp,+ IconPointerX,+ IconPokeball,+ IconPokeballOff,+ IconPokerChip,+ IconPolaroid,+ IconPolygon,+ IconPolygonOff,+ IconPoo,+ IconPool,+ IconPoolOff,+ IconPower,+ IconPray,+ IconPremiumRights,+ IconPrescription,+ IconPresentation,+ IconPresentationAnalytics,+ IconPresentationOff,+ IconPrinter,+ IconPrinterOff,+ IconPrism,+ IconPrismOff,+ IconPrismPlus,+ IconPrison,+ IconProgress,+ IconProgressAlert,+ IconProgressBolt,+ IconProgressCheck,+ IconProgressDown,+ IconProgressHelp,+ IconProgressX,+ IconPrompt,+ IconPropeller,+ IconPropellerOff,+ IconPumpkinScary,+ IconPuzzle,+ IconPuzzle2,+ IconPuzzleOff,+ IconPyramid,+ IconPyramidOff,+ IconPyramidPlus,+ IconQrcode,+ IconQrcodeOff,+ IconQuestionMark,+ IconQuote,+ IconQuoteOff,+ IconQuotes,+ IconRadar,+ IconRadar2,+ IconRadarOff,+ IconRadio,+ IconRadioOff,+ IconRadioactive,+ IconRadioactiveOff,+ IconRadiusBottomLeft,+ IconRadiusBottomRight,+ IconRadiusTopLeft,+ IconRadiusTopRight,+ IconRainbow,+ IconRainbowOff,+ IconRating12Plus,+ IconRating14Plus,+ IconRating16Plus,+ IconRating18Plus,+ IconRating21Plus,+ IconRazor,+ IconRazorElectric,+ IconReceipt,+ IconReceipt2,+ IconReceiptOff,+ IconReceiptRefund,+ IconReceiptTax,+ IconRecharging,+ IconRecordMail,+ IconRecordMailOff,+ IconRectangle,+ IconRectangleRoundedBottom,+ IconRectangleRoundedTop,+ IconRectangleVertical,+ IconRectangularPrism,+ IconRectangularPrismOff,+ IconRectangularPrismPlus,+ IconRecycle,+ IconRecycleOff,+ IconRefresh,+ IconRefreshAlert,+ IconRefreshDot,+ IconRefreshOff,+ IconRegex,+ IconRegexOff,+ IconRegistered,+ IconRelationManyToMany,+ IconRelationOneToMany,+ IconRelationOneToOne,+ IconReload,+ IconReorder,+ IconRepeat,+ IconRepeatOff,+ IconRepeatOnce,+ IconReplace,+ IconReplaceOff,+ IconReport,+ IconReportAnalytics,+ IconReportMedical,+ IconReportMoney,+ IconReportOff,+ IconReportSearch,+ IconReservedLine,+ IconResize,+ IconRestore,+ IconRewindBackward10,+ IconRewindBackward15,+ IconRewindBackward20,+ IconRewindBackward30,+ IconRewindBackward40,+ IconRewindBackward5,+ IconRewindBackward50,+ IconRewindBackward60,+ IconRewindForward10,+ IconRewindForward15,+ IconRewindForward20,+ IconRewindForward30,+ IconRewindForward40,+ IconRewindForward5,+ IconRewindForward50,+ IconRewindForward60,+ IconRibbonHealth,+ IconRings,+ IconRipple,+ IconRippleOff,+ IconRoad,+ IconRoadOff,+ IconRoadSign,+ IconRobot,+ IconRobotOff,+ IconRocket,+ IconRocketOff,+ IconRollerSkating,+ IconRollercoaster,+ IconRollercoasterOff,+ IconRosette,+ IconRosetteNumber0,+ IconRosetteNumber1,+ IconRosetteNumber2,+ IconRosetteNumber3,+ IconRosetteNumber4,+ IconRosetteNumber5,+ IconRosetteNumber6,+ IconRosetteNumber7,+ IconRosetteNumber8,+ IconRosetteNumber9,+ IconRotate,+ IconRotate2,+ IconRotate360,+ IconRotate3d,+ IconRotateClockwise,+ IconRotateClockwise2,+ IconRotateDot,+ IconRotateRectangle,+ IconRoute,+ IconRoute2,+ IconRouteOff,+ IconRouter,+ IconRouterOff,+ IconRowInsertBottom,+ IconRowInsertTop,+ IconRowRemove,+ IconRss,+ IconRubberStamp,+ IconRubberStampOff,+ IconRuler,+ IconRuler2,+ IconRuler2Off,+ IconRuler3,+ IconRulerMeasure,+ IconRulerOff,+ IconRun,+ IconSTurnDown,+ IconSTurnLeft,+ IconSTurnRight,+ IconSTurnUp,+ IconSailboat,+ IconSailboat2,+ IconSailboatOff,+ IconSalad,+ IconSalt,+ IconSatellite,+ IconSatelliteOff,+ IconSausage,+ IconScale,+ IconScaleOff,+ IconScaleOutline,+ IconScaleOutlineOff,+ IconScan,+ IconScanEye,+ IconSchema,+ IconSchemaOff,+ IconSchool,+ IconSchoolBell,+ IconSchoolOff,+ IconScissors,+ IconScissorsOff,+ IconScooter,+ IconScooterElectric,+ IconScoreboard,+ IconScreenShare,+ IconScreenShareOff,+ IconScreenshot,+ IconScribble,+ IconScribbleOff,+ IconScript,+ IconScriptMinus,+ IconScriptPlus,+ IconScriptX,+ IconScubaMask,+ IconScubaMaskOff,+ IconSdk,+ IconSearch,+ IconSearchOff,+ IconSection,+ IconSectionSign,+ IconSelect,+ IconSelectAll,+ IconSelector,+ IconSend,+ IconSendOff,+ IconSeo,+ IconSeparator,+ IconSeparatorHorizontal,+ IconSeparatorVertical,+ IconServer,+ IconServer2,+ IconServerBolt,+ IconServerCog,+ IconServerOff,+ IconServicemark,+ IconSettings,+ IconSettings2,+ IconSettingsAutomation,+ IconSettingsBolt,+ IconSettingsCancel,+ IconSettingsCheck,+ IconSettingsCode,+ IconSettingsCog,+ IconSettingsDollar,+ IconSettingsDown,+ IconSettingsExclamation,+ IconSettingsHeart,+ IconSettingsMinus,+ IconSettingsOff,+ IconSettingsPause,+ IconSettingsPin,+ IconSettingsPlus,+ IconSettingsQuestion,+ IconSettingsSearch,+ IconSettingsShare,+ IconSettingsStar,+ IconSettingsUp,+ IconSettingsX,+ IconShadow,+ IconShadowOff,+ IconShape,+ IconShape2,+ IconShape3,+ IconShapeOff,+ IconShare,+ IconShare2,+ IconShare3,+ IconShareOff,+ IconShield,+ IconShieldBolt,+ IconShieldCancel,+ IconShieldCheck,+ IconShieldCheckered,+ IconShieldChevron,+ IconShieldCode,+ IconShieldCog,+ IconShieldDollar,+ IconShieldDown,+ IconShieldExclamation,+ IconShieldHalf,+ IconShieldHeart,+ IconShieldLock,+ IconShieldMinus,+ IconShieldOff,+ IconShieldPause,+ IconShieldPin,+ IconShieldPlus,+ IconShieldQuestion,+ IconShieldSearch,+ IconShieldShare,+ IconShieldStar,+ IconShieldUp,+ IconShieldX,+ IconShip,+ IconShipOff,+ IconShirt,+ IconShirtOff,+ IconShirtSport,+ IconShoe,+ IconShoeOff,+ IconShoppingBag,+ IconShoppingBagCheck,+ IconShoppingBagDiscount,+ IconShoppingBagEdit,+ IconShoppingBagExclamation,+ IconShoppingBagMinus,+ IconShoppingBagPlus,+ IconShoppingBagSearch,+ IconShoppingBagX,+ IconShoppingCart,+ IconShoppingCartBolt,+ IconShoppingCartCancel,+ IconShoppingCartCheck,+ IconShoppingCartCode,+ IconShoppingCartCog,+ IconShoppingCartCopy,+ IconShoppingCartDiscount,+ IconShoppingCartDollar,+ IconShoppingCartDown,+ IconShoppingCartExclamation,+ IconShoppingCartHeart,+ IconShoppingCartMinus,+ IconShoppingCartOff,+ IconShoppingCartPause,+ IconShoppingCartPin,+ IconShoppingCartPlus,+ IconShoppingCartQuestion,+ IconShoppingCartSearch,+ IconShoppingCartShare,+ IconShoppingCartStar,+ IconShoppingCartUp,+ IconShoppingCartX,+ IconShovel,+ IconShredder,+ IconSignLeft,+ IconSignRight,+ IconSignal2g,+ IconSignal3g,+ IconSignal4g,+ IconSignal4gPlus,+ IconSignal5g,+ IconSignal6g,+ IconSignalE,+ IconSignalG,+ IconSignalH,+ IconSignalHPlus,+ IconSignalLte,+ IconSignature,+ IconSignatureOff,+ IconSitemap,+ IconSitemapOff,+ IconSkateboard,+ IconSkateboardOff,+ IconSkateboarding,+ IconSkull,+ IconSlash,+ IconSlashes,+ IconSleigh,+ IconSlice,+ IconSlideshow,+ IconSmartHome,+ IconSmartHomeOff,+ IconSmoking,+ IconSmokingNo,+ IconSnowflake,+ IconSnowflakeOff,+ IconSnowman,+ IconSoccerField,+ IconSocial,+ IconSocialOff,+ IconSock,+ IconSofa,+ IconSofaOff,+ IconSolarPanel,+ IconSolarPanel2,+ IconSort09,+ IconSort90,+ IconSortAZ,+ IconSortAscending,+ IconSortAscending2,+ IconSortAscendingLetters,+ IconSortAscendingNumbers,+ IconSortDescending,+ IconSortDescending2,+ IconSortDescendingLetters,+ IconSortDescendingNumbers,+ IconSortZA,+ IconSos,+ IconSoup,+ IconSoupOff,+ IconSourceCode,+ IconSpace,+ IconSpaceOff,+ IconSpacingHorizontal,+ IconSpacingVertical,+ IconSpade,+ IconSparkles,+ IconSpeakerphone,+ IconSpeedboat,+ IconSphere,+ IconSphereOff,+ IconSpherePlus,+ IconSpider,+ IconSpiral,+ IconSpiralOff,+ IconSportBillard,+ IconSpray,+ IconSpy,+ IconSpyOff,+ IconSql,+ IconSquare,+ IconSquareArrowDown,+ IconSquareArrowLeft,+ IconSquareArrowRight,+ IconSquareArrowUp,+ IconSquareAsterisk,+ IconSquareCheck,+ IconSquareChevronDown,+ IconSquareChevronLeft,+ IconSquareChevronRight,+ IconSquareChevronUp,+ IconSquareChevronsDown,+ IconSquareChevronsLeft,+ IconSquareChevronsRight,+ IconSquareChevronsUp,+ IconSquareDot,+ IconSquareF0,+ IconSquareF1,+ IconSquareF2,+ IconSquareF3,+ IconSquareF4,+ IconSquareF5,+ IconSquareF6,+ IconSquareF7,+ IconSquareF8,+ IconSquareF9,+ IconSquareForbid,+ IconSquareForbid2,+ IconSquareHalf,+ IconSquareKey,+ IconSquareLetterA,+ IconSquareLetterB,+ IconSquareLetterC,+ IconSquareLetterD,+ IconSquareLetterE,+ IconSquareLetterF,+ IconSquareLetterG,+ IconSquareLetterH,+ IconSquareLetterI,+ IconSquareLetterJ,+ IconSquareLetterK,+ IconSquareLetterL,+ IconSquareLetterM,+ IconSquareLetterN,+ IconSquareLetterO,+ IconSquareLetterP,+ IconSquareLetterQ,+ IconSquareLetterR,+ IconSquareLetterS,+ IconSquareLetterT,+ IconSquareLetterU,+ IconSquareLetterV,+ IconSquareLetterW,+ IconSquareLetterX,+ IconSquareLetterY,+ IconSquareLetterZ,+ IconSquareMinus,+ IconSquareNumber0,+ IconSquareNumber1,+ IconSquareNumber2,+ IconSquareNumber3,+ IconSquareNumber4,+ IconSquareNumber5,+ IconSquareNumber6,+ IconSquareNumber7,+ IconSquareNumber8,+ IconSquareNumber9,+ IconSquareOff,+ IconSquarePlus,+ IconSquareRoot,+ IconSquareRoot2,+ IconSquareRotated,+ IconSquareRotatedForbid,+ IconSquareRotatedForbid2,+ IconSquareRotatedOff,+ IconSquareRounded,+ IconSquareRoundedArrowDown,+ IconSquareRoundedArrowLeft,+ IconSquareRoundedArrowRight,+ IconSquareRoundedArrowUp,+ IconSquareRoundedCheck,+ IconSquareRoundedChevronDown,+ IconSquareRoundedChevronLeft,+ IconSquareRoundedChevronRight,+ IconSquareRoundedChevronUp,+ IconSquareRoundedChevronsDown,+ IconSquareRoundedChevronsLeft,+ IconSquareRoundedChevronsRight,+ IconSquareRoundedChevronsUp,+ IconSquareRoundedLetterA,+ IconSquareRoundedLetterB,+ IconSquareRoundedLetterC,+ IconSquareRoundedLetterD,+ IconSquareRoundedLetterE,+ IconSquareRoundedLetterF,+ IconSquareRoundedLetterG,+ IconSquareRoundedLetterH,+ IconSquareRoundedLetterI,+ IconSquareRoundedLetterJ,+ IconSquareRoundedLetterK,+ IconSquareRoundedLetterL,+ IconSquareRoundedLetterM,+ IconSquareRoundedLetterN,+ IconSquareRoundedLetterO,+ IconSquareRoundedLetterP,+ IconSquareRoundedLetterQ,+ IconSquareRoundedLetterR,+ IconSquareRoundedLetterS,+ IconSquareRoundedLetterT,+ IconSquareRoundedLetterU,+ IconSquareRoundedLetterV,+ IconSquareRoundedLetterW,+ IconSquareRoundedLetterX,+ IconSquareRoundedLetterY,+ IconSquareRoundedLetterZ,+ IconSquareRoundedMinus,+ IconSquareRoundedNumber0,+ IconSquareRoundedNumber1,+ IconSquareRoundedNumber2,+ IconSquareRoundedNumber3,+ IconSquareRoundedNumber4,+ IconSquareRoundedNumber5,+ IconSquareRoundedNumber6,+ IconSquareRoundedNumber7,+ IconSquareRoundedNumber8,+ IconSquareRoundedNumber9,+ IconSquareRoundedPlus,+ IconSquareRoundedX,+ IconSquareToggle,+ IconSquareToggleHorizontal,+ IconSquareX,+ IconSquaresDiagonal,+ IconStack,+ IconStack2,+ IconStack3,+ IconStackPop,+ IconStackPush,+ IconStairs,+ IconStairsDown,+ IconStairsUp,+ IconStar,+ IconStarHalf,+ IconStarOff,+ IconStars,+ IconStarsOff,+ IconStatusChange,+ IconSteam,+ IconSteeringWheel,+ IconSteeringWheelOff,+ IconStepInto,+ IconStepOut,+ IconStereoGlasses,+ IconStethoscope,+ IconStethoscopeOff,+ IconSticker,+ IconStorm,+ IconStormOff,+ IconStretching,+ IconStretching2,+ IconStrikethrough,+ IconSubmarine,+ IconSubscript,+ IconSubtask,+ IconSum,+ IconSumOff,+ IconSun,+ IconSunHigh,+ IconSunLow,+ IconSunMoon,+ IconSunOff,+ IconSunWind,+ IconSunglasses,+ IconSunrise,+ IconSunset,+ IconSunset2,+ IconSuperscript,+ IconSvg,+ IconSwimming,+ IconSwipe,+ IconSwitch,+ IconSwitch2,+ IconSwitch3,+ IconSwitchHorizontal,+ IconSwitchVertical,+ IconSword,+ IconSwordOff,+ IconSwords,+ IconTable,+ IconTableAlias,+ IconTableColumn,+ IconTableDown,+ IconTableExport,+ IconTableHeart,+ IconTableImport,+ IconTableMinus,+ IconTableOff,+ IconTableOptions,+ IconTablePlus,+ IconTableRow,+ IconTableShare,+ IconTableShortcut,+ IconTag,+ IconTagOff,+ IconTags,+ IconTagsOff,+ IconTallymark1,+ IconTallymark2,+ IconTallymark3,+ IconTallymark4,+ IconTallymarks,+ IconTank,+ IconTarget,+ IconTargetArrow,+ IconTargetOff,+ IconTeapot,+ IconTelescope,+ IconTelescopeOff,+ IconTemperature,+ IconTemperatureCelsius,+ IconTemperatureFahrenheit,+ IconTemperatureMinus,+ IconTemperatureOff,+ IconTemperaturePlus,+ IconTemplate,+ IconTemplateOff,+ IconTent,+ IconTentOff,+ IconTerminal,+ IconTerminal2,+ IconTestPipe,+ IconTestPipe2,+ IconTestPipeOff,+ IconTex,+ IconTextCaption,+ IconTextColor,+ IconTextDecrease,+ IconTextDirectionLtr,+ IconTextDirectionRtl,+ IconTextIncrease,+ IconTextOrientation,+ IconTextPlus,+ IconTextRecognition,+ IconTextResize,+ IconTextSize,+ IconTextSpellcheck,+ IconTextWrap,+ IconTextWrapDisabled,+ IconTexture,+ IconTheater,+ IconThermometer,+ IconThumbDown,+ IconThumbDownOff,+ IconThumbUp,+ IconThumbUpOff,+ IconTicTac,+ IconTicket,+ IconTicketOff,+ IconTie,+ IconTilde,+ IconTiltShift,+ IconTiltShiftOff,+ IconTimeDuration0,+ IconTimeDuration10,+ IconTimeDuration15,+ IconTimeDuration30,+ IconTimeDuration45,+ IconTimeDuration5,+ IconTimeDuration60,+ IconTimeDuration90,+ IconTimeDurationOff,+ IconTimeline,+ IconTimelineEvent,+ IconTimelineEventExclamation,+ IconTimelineEventMinus,+ IconTimelineEventPlus,+ IconTimelineEventText,+ IconTimelineEventX,+ IconTir,+ IconToggleLeft,+ IconToggleRight,+ IconToiletPaper,+ IconToiletPaperOff,+ IconToml,+ IconTool,+ IconTools,+ IconToolsKitchen,+ IconToolsKitchen2,+ IconToolsKitchen2Off,+ IconToolsKitchenOff,+ IconToolsOff,+ IconTooltip,+ IconTopologyBus,+ IconTopologyComplex,+ IconTopologyFull,+ IconTopologyFullHierarchy,+ IconTopologyRing,+ IconTopologyRing2,+ IconTopologyRing3,+ IconTopologyStar,+ IconTopologyStar2,+ IconTopologyStar3,+ IconTopologyStarRing,+ IconTopologyStarRing2,+ IconTopologyStarRing3,+ IconTorii,+ IconTornado,+ IconTournament,+ IconTower,+ IconTowerOff,+ IconTrack,+ IconTractor,+ IconTrademark,+ IconTrafficCone,+ IconTrafficConeOff,+ IconTrafficLights,+ IconTrafficLightsOff,+ IconTrain,+ IconTransfer,+ IconTransferIn,+ IconTransferOut,+ IconTransferVertical,+ IconTransform,+ IconTransitionBottom,+ IconTransitionLeft,+ IconTransitionRight,+ IconTransitionTop,+ IconTrash,+ IconTrashOff,+ IconTrashX,+ IconTreadmill,+ IconTree,+ IconTrees,+ IconTrekking,+ IconTrendingDown,+ IconTrendingDown2,+ IconTrendingDown3,+ IconTrendingUp,+ IconTrendingUp2,+ IconTrendingUp3,+ IconTriangle,+ IconTriangleInverted,+ IconTriangleOff,+ IconTriangleSquareCircle,+ IconTriangles,+ IconTrident,+ IconTrolley,+ IconTrophy,+ IconTrophyOff,+ IconTrowel,+ IconTruck,+ IconTruckDelivery,+ IconTruckLoading,+ IconTruckOff,+ IconTruckReturn,+ IconTxt,+ IconTypography,+ IconTypographyOff,+ IconUfo,+ IconUfoOff,+ IconUmbrella,+ IconUmbrellaOff,+ IconUnderline,+ IconUnlink,+ IconUpload,+ IconUrgent,+ IconUsb,+ IconUser,+ IconUserBolt,+ IconUserCancel,+ IconUserCheck,+ IconUserCircle,+ IconUserCode,+ IconUserCog,+ IconUserDollar,+ IconUserDown,+ IconUserEdit,+ IconUserExclamation,+ IconUserHeart,+ IconUserMinus,+ IconUserOff,+ IconUserPause,+ IconUserPin,+ IconUserPlus,+ IconUserQuestion,+ IconUserSearch,+ IconUserShare,+ IconUserShield,+ IconUserStar,+ IconUserUp,+ IconUserX,+ IconUsers,+ IconUsersGroup,+ IconUsersMinus,+ IconUsersPlus,+ IconUvIndex,+ IconUxCircle,+ IconVaccine,+ IconVaccineBottle,+ IconVaccineBottleOff,+ IconVaccineOff,+ IconVacuumCleaner,+ IconVariable,+ IconVariableMinus,+ IconVariableOff,+ IconVariablePlus,+ IconVector,+ IconVectorBezier,+ IconVectorBezier2,+ IconVectorBezierArc,+ IconVectorBezierCircle,+ IconVectorOff,+ IconVectorSpline,+ IconVectorTriangle,+ IconVectorTriangleOff,+ IconVenus,+ IconVersions,+ IconVersionsOff,+ IconVideo,+ IconVideoMinus,+ IconVideoOff,+ IconVideoPlus,+ IconView360,+ IconView360Off,+ IconViewfinder,+ IconViewfinderOff,+ IconViewportNarrow,+ IconViewportWide,+ IconVinyl,+ IconVip,+ IconVipOff,+ IconVirus,+ IconVirusOff,+ IconVirusSearch,+ IconVocabulary,+ IconVocabularyOff,+ IconVolcano,+ IconVolume,+ IconVolume2,+ IconVolume3,+ IconVolumeOff,+ IconWalk,+ IconWall,+ IconWallOff,+ IconWallet,+ IconWalletOff,+ IconWallpaper,+ IconWallpaperOff,+ IconWand,+ IconWandOff,+ IconWash,+ IconWashDry,+ IconWashDry1,+ IconWashDry2,+ IconWashDry3,+ IconWashDryA,+ IconWashDryDip,+ IconWashDryF,+ IconWashDryFlat,+ IconWashDryHang,+ IconWashDryOff,+ IconWashDryP,+ IconWashDryShade,+ IconWashDryW,+ IconWashDryclean,+ IconWashDrycleanOff,+ IconWashEco,+ IconWashGentle,+ IconWashHand,+ IconWashMachine,+ IconWashOff,+ IconWashPress,+ IconWashTemperature1,+ IconWashTemperature2,+ IconWashTemperature3,+ IconWashTemperature4,+ IconWashTemperature5,+ IconWashTemperature6,+ IconWashTumbleDry,+ IconWashTumbleOff,+ IconWaterpolo,+ IconWaveSawTool,+ IconWaveSine,+ IconWaveSquare,+ IconWebhook,+ IconWebhookOff,+ IconWeight,+ IconWheelchair,+ IconWheelchairOff,+ IconWhirl,+ IconWifi,+ IconWifi0,+ IconWifi1,+ IconWifi2,+ IconWifiOff,+ IconWind,+ IconWindOff,+ IconWindow,+ IconWindowMaximize,+ IconWindowMinimize,+ IconWindowOff,+ IconWindsock,+ IconWiper,+ IconWiperWash,+ IconWoman,+ IconWood,+ IconWorld,+ IconWorldBolt,+ IconWorldCancel,+ IconWorldCheck,+ IconWorldCode,+ IconWorldCog,+ IconWorldDollar,+ IconWorldDown,+ IconWorldDownload,+ IconWorldExclamation,+ IconWorldHeart,+ IconWorldLatitude,+ IconWorldLongitude,+ IconWorldMinus,+ IconWorldOff,+ IconWorldPause,+ IconWorldPin,+ IconWorldPlus,+ IconWorldQuestion,+ IconWorldSearch,+ IconWorldShare,+ IconWorldStar,+ IconWorldUp,+ IconWorldUpload,+ IconWorldWww,+ IconWorldX,+ IconWreckingBall,+ IconWriting,+ IconWritingOff,+ IconWritingSign,+ IconWritingSignOff,+ IconX,+ IconXboxA,+ IconXboxB,+ IconXboxX,+ IconXboxY,+ IconXd,+ IconXxx,+ IconYinYang,+ IconYoga,+ IconZeppelin,+ IconZeppelinOff,+ IconZip,+ IconZodiacAquarius,+ IconZodiacAries,+ IconZodiacCancer,+ IconZodiacCapricorn,+ IconZodiacGemini,+ IconZodiacLeo,+ IconZodiacLibra,+ IconZodiacPisces,+ IconZodiacSagittarius,+ IconZodiacScorpio,+ IconZodiacTaurus,+ IconZodiacVirgo,+ IconZoomCancel,+ IconZoomCheck,+ IconZoomCode,+ IconZoomExclamation,+ IconZoomIn,+ IconZoomInArea,+ IconZoomMoney,+ IconZoomOut,+ IconZoomOutArea,+ IconZoomPan,+ IconZoomQuestion,+ IconZoomReplace,+ IconZoomReset,+ IconZzz,+ IconZzzOff,+ IconCancel,+ IconBadge2k,+};diff --git a/packages/twenty-ui/src/display/icon/states/iconsState.ts b/packages/twenty-ui/src/display/icon/states/iconsState.tsnew file mode 100644index 00000000000..4a88b2cf07e--- /dev/null+++ b/packages/twenty-ui/src/display/icon/states/iconsState.ts@@ -0,0 +1,6 @@+import { atom } from 'jotai';++import { type IconComponent } from '@ui/display/icon/types/IconComponent';++export const iconsState = atom<Record<string, IconComponent>>({});+iconsState.debugLabel = 'iconsState';diff --git a/packages/twenty-ui/src/display/icon/types/IconComponent.ts b/packages/twenty-ui/src/display/icon/types/IconComponent.tsnew file mode 100644index 00000000000..1e38c862b04--- /dev/null+++ b/packages/twenty-ui/src/display/icon/types/IconComponent.ts@@ -0,0 +1,11 @@+import type { CSSProperties, FunctionComponent } from 'react';++export type IconComponentProps = {+ className?: string;+ style?: CSSProperties;+ size?: number | string;+ stroke?: number | string;+ color?: string;+};++export type IconComponent = FunctionComponent<IconComponentProps>;diff --git a/packages/twenty-ui/src/display/index.ts b/packages/twenty-ui/src/display/index.tsindex a3046804c03..64d3edbed54 100644--- a/packages/twenty-ui/src/display/index.ts+++ b/packages/twenty-ui/src/display/index.ts@@ -7,4 +7,542 @@* |___/*/-export {};+export type { AvatarProps } from './avatar/components/Avatar';+export { Avatar } from './avatar/components/Avatar';+export type { AvatarGroupProps } from './avatar/components/AvatarGroup';+export { AvatarGroup } from './avatar/components/AvatarGroup';+export { invalidAvatarUrlsAtomV2 } from './avatar/components/states/invalidAvatarUrlsAtomV2';+export { AVATAR_PROPERTIES_BY_SIZE } from './avatar/constants/AvatarPropertiesBySize';+export type { AvatarSize } from './avatar/types/AvatarSize';+export type { AvatarType } from './avatar/types/AvatarType';+export type { BannerColor, BannerVariant } from './banner/components/Banner';+export { Banner } from './banner/components/Banner';+export { InlineBanner } from './banner/components/InlineBanner';+export type { SidePanelInformationBannerProps } from './banner/components/SidePanelInformationBanner';+export { SidePanelInformationBanner } from './banner/components/SidePanelInformationBanner';+export type { CalloutVariant, CalloutProps } from './callout/Callout';+export { Callout } from './callout/Callout';+export type { AnimatedCheckmarkProps } from './checkmark/components/AnimatedCheckmark';+export { AnimatedCheckmark } from './checkmark/components/AnimatedCheckmark';+export type { CheckmarkProps } from './checkmark/components/Checkmark';+export { Checkmark } from './checkmark/components/Checkmark';+export type {+ ColorSampleVariant,+ ColorSampleProps,+} from './color/components/ColorSample';+export { ColorSample } from './color/components/ColorSample';+export { CommandBlock } from './command-block/components/CommandBlock';+export { LinkifiedText } from './components/LinkifiedText';+export type { IconProps } from './icon/components/Icon';+export { Icon } from './icon/components/Icon';+export { IconAddressBook } from './icon/components/IconAddressBook';+export { IconBrandAnthropic } from './icon/components/IconBrandAnthropic';+export { IconBrandGemini } from './icon/components/IconBrandGemini';+export { IconBrandGroq } from './icon/components/IconBrandGroq';+export { IconBrandMistral } from './icon/components/IconBrandMistral';+export { IconBrandXai } from './icon/components/IconBrandXai';+export { IconChartBarHorizontal } from './icon/components/IconChartBarHorizontal';+export { IconGmail } from './icon/components/IconGmail';+export { IconGoogle } from './icon/components/IconGoogle';+export { IconGoogleCalendar } from './icon/components/IconGoogleCalendar';+export { IconLockCustom } from './icon/components/IconLock';+export { IconMicrosoft } from './icon/components/IconMicrosoft';+export { IconMicrosoftCalendar } from './icon/components/IconMicrosoftCalendar';+export { IconMicrosoftOutlook } from './icon/components/IconMicrosoftOutlook';+export { IconModelClaude } from './icon/components/IconModelClaude';+export { IconProviderOpenai } from './icon/components/IconProviderOpenai';+export { IconRelationManyToOne } from './icon/components/IconRelationManyToOne';+export { IconTrashXOff } from './icon/components/IconTrashXOff';+export { IconTwentyStar } from './icon/components/IconTwentyStar';+export { IconTwentyStarFilled } from './icon/components/IconTwentyStarFilled';+export { IllustrationIconArray } from './icon/components/IllustrationIconArray';+export { IllustrationIconCalendarEvent } from './icon/components/IllustrationIconCalendarEvent';+export { IllustrationIconCalendarTime } from './icon/components/IllustrationIconCalendarTime';+export { IllustrationIconCurrency } from './icon/components/IllustrationIconCurrency';+export { IllustrationIconFile } from './icon/components/IllustrationIconFile';+export { IllustrationIconJson } from './icon/components/IllustrationIconJson';+export { IllustrationIconLink } from './icon/components/IllustrationIconLink';+export { IllustrationIconMail } from './icon/components/IllustrationIconMail';+export { IllustrationIconManyToMany } from './icon/components/IllustrationIconManyToMany';+export { IllustrationIconMap } from './icon/components/IllustrationIconMap';+export { IllustrationIconNumbers } from './icon/components/IllustrationIconNumbers';+export { IllustrationIconOneToMany } from './icon/components/IllustrationIconOneToMany';+export { IllustrationIconOneToOne } from './icon/components/IllustrationIconOneToOne';+export { IllustrationIconPhone } from './icon/components/IllustrationIconPhone';+export { IllustrationIconSetting } from './icon/components/IllustrationIconSetting';+export { IllustrationIconStar } from './icon/components/IllustrationIconStar';+export { IllustrationIconTag } from './icon/components/IllustrationIconTag';+export { IllustrationIconTags } from './icon/components/IllustrationIconTags';+export { IllustrationIconText } from './icon/components/IllustrationIconText';+export { IllustrationIconToggle } from './icon/components/IllustrationIconToggle';+export { IllustrationIconUid } from './icon/components/IllustrationIconUid';+export { IllustrationIconUser } from './icon/components/IllustrationIconUser';+export { IllustrationIconWrapper } from './icon/components/IllustrationIconWrapper';+export type { TablerIconsProps } from './icon/components/TablerIcons';+export {+ Icon123,+ IconAdjustments,+ IconAlertCircle,+ IconAlertTriangle,+ IconAlignBoxLeftTop,+ IconAlignCenter,+ IconAlignLeft,+ IconAlignRight,+ IconApi,+ IconApps,+ IconAppWindow,+ IconArchive,+ IconArchiveOff,+ IconArrowBackUp,+ IconArrowBarToDown,+ IconArrowDown,+ IconArrowLeft,+ IconArrowMerge,+ IconArrowRight,+ IconArrowsDiagonal,+ IconArrowsSort,+ IconArrowsSplit2,+ IconArrowsVertical,+ IconArrowUp,+ IconArrowUpRight,+ IconAt,+ IconAxisX,+ IconAxisY,+ IconBadge2k,+ IconBaselineDensitySmall,+ IconBell,+ IconBlockquote,+ IconBold,+ IconBolt,+ IconBook,+ IconBook2,+ IconBookmark,+ IconBookmarkPlus,+ IconBox,+ IconBoxMultiple,+ IconBrackets,+ IconBracketsAngle,+ IconBracketsContain,+ IconBrain,+ IconBrandDaysCounter,+ IconBrandDocker,+ IconBrandGithub,+ IconBrandGoogle,+ IconBrandGraphql,+ IconBrandLinkedin,+ IconBrandNpm,+ IconBrandOpenai,+ IconBrandX,+ IconBriefcase,+ IconBroadcast,+ IconBrowserMaximize,+ IconBuildingSkyscraper,+ IconCalendar,+ IconCalendarDue,+ IconCalendarEvent,+ IconCalendarMonth,+ IconCalendarRepeat,+ IconCalendarTime,+ IconCalendarWeek,+ IconCalendarX,+ IconCancel,+ IconCaretLeft,+ IconCaretRight,+ IconChartBar,+ IconChartBarPopular,+ IconChartCandle,+ IconChartDots3,+ IconChartLine,+ IconChartPie,+ IconCheck,+ IconCheckbox,+ IconChevronDown,+ IconChevronLeft,+ IconChevronRight,+ IconChevronRightPipe,+ IconChevronsRight,+ IconChevronUp,+ IconCircle,+ IconCircleDashed,+ IconCircleDot,+ IconCircleOff,+ IconCirclePlus,+ IconCircleX,+ IconClick,+ IconClock,+ IconClockHour8,+ IconClockPlay,+ IconClockShare,+ IconCode,+ IconCodeCircle,+ IconCoins,+ IconColorSwatch,+ IconColumnInsertRight,+ IconColumns,+ IconCommand,+ IconComment,+ IconCopy,+ IconCopyPlus,+ IconCpu,+ IconCreativeCommonsSa,+ IconCreditCard,+ IconCsv,+ IconCube,+ IconCurrencyAfghani,+ IconCurrencyBahraini,+ IconCurrencyBaht,+ IconCurrencyDinar,+ IconCurrencyDirham,+ IconCurrencyDollar,+ IconCurrencyDollarAustralian,+ IconCurrencyDollarBrunei,+ IconCurrencyDollarCanadian,+ IconCurrencyDollarGuyanese,+ IconCurrencyDollarSingapore,+ IconCurrencyDong,+ IconCurrencyDram,+ IconCurrencyEuro,+ IconCurrencyFlorin,+ IconCurrencyForint,+ IconCurrencyFrank,+ IconCurrencyGuarani,+ IconCurrencyHryvnia,+ IconCurrencyIranianRial,+ IconCurrencyKip,+ IconCurrencyKroneCzech,+ IconCurrencyKroneDanish,+ IconCurrencyKroneSwedish,+ IconCurrencyLari,+ IconCurrencyLeu,+ IconCurrencyLira,+ IconCurrencyLyd,+ IconCurrencyManat,+ IconCurrencyNaira,+ IconCurrencyPaanga,+ IconCurrencyPeso,+ IconCurrencyPound,+ IconCurrencyQuetzal,+ IconCurrencyReal,+ IconCurrencyRenminbi,+ IconCurrencyRiyal,+ IconCurrencyRubel,+ IconCurrencyRufiyaa,+ IconCurrencyRupee,+ IconCurrencyRupeeNepalese,+ IconCurrencyShekel,+ IconCurrencySom,+ IconCurrencyTaka,+ IconCurrencyTenge,+ IconCurrencyTugrik,+ IconCurrencyWon,+ IconCurrencyYen,+ IconCurrencyYuan,+ IconCurrencyZloty,+ IconDatabase,+ IconDatabaseExport,+ IconDecimal,+ IconDeviceFloppy,+ IconDoorEnter,+ IconDotsVertical,+ IconDownload,+ IconEdit,+ IconEditCircle,+ IconEraser,+ IconExclamationCircle,+ IconExternalLink,+ IconEye,+ IconEyeOff,+ IconEyeShare,+ IconEyeX,+ IconFile,+ IconFileCheck,+ IconFileExport,+ IconFileImport,+ IconFileInfo,+ IconFilePencil,+ IconFileText,+ IconFileUpload,+ IconFileZip,+ IconFilter,+ IconFilterCog,+ IconFilterOff,+ IconFilterPlus,+ IconFilters,+ IconFilterX,+ IconFlag,+ IconFlask,+ IconFocusCentered,+ IconFolder,+ IconFolderOpen,+ IconFolderPlus,+ IconFolderRoot,+ IconFolderSymlink,+ IconForbid,+ IconFrame,+ IconFunction,+ IconGauge,+ IconGitBranch,+ IconGitBranchDeleted,+ IconGitCommit,+ IconGizmo,+ IconGraph,+ IconGripVertical,+ IconH1,+ IconH2,+ IconH3,+ IconH4,+ IconH5,+ IconH6,+ IconHandClick,+ IconHandMove,+ IconHeadphones,+ IconHeart,+ IconHeartOff,+ IconHeartRateMonitor,+ IconHelp,+ IconHelpCircle,+ IconHierarchy,+ IconHierarchy2,+ IconHistory,+ IconHistoryToggle,+ IconHome,+ IconHourglassHigh,+ IconHours24,+ IconHttpDelete,+ IconHttpGet,+ IconHttpPatch,+ IconHttpPost,+ IconHttpPut,+ IconId,+ IconInbox,+ IconInfoCircle,+ IconItalic,+ IconJetpack,+ IconJson,+ IconKey,+ IconLanguage,+ IconLayersLinked,+ IconLayout,+ IconLayoutDashboard,+ IconLayoutGrid,+ IconLayoutKanban,+ IconLayoutList,+ IconLayoutNavbar,+ IconLayoutSidebarLeftCollapse,+ IconLayoutSidebarLeftExpand,+ IconLayoutSidebarRight,+ IconLayoutSidebarRightCollapse,+ IconLayoutSidebarRightExpand,+ IconLego,+ IconLetterK,+ IconLibraryPlus,+ IconLifebuoy,+ IconLink,+ IconLinkOff,+ IconLinkPlus,+ IconList,+ IconListCheck,+ IconListDetails,+ IconListNumbers,+ IconListSearch,+ IconLoader,+ IconLock,+ IconLockOpen,+ IconLogin2,+ IconLogout,+ IconMail,+ IconMailCog,+ IconMailX,+ IconMap,+ IconMathMax,+ IconMathMin,+ IconMathXy,+ IconMaximize,+ IconMessage,+ IconMessageCirclePlus,+ IconMinus,+ IconMoneybag,+ IconMoodSmile,+ IconMoon,+ IconMouse2,+ IconNewSection,+ IconNorthStar,+ IconNoteOff,+ IconNotes,+ IconNumber,+ IconNumber123,+ IconNumber9,+ IconNumbers,+ IconPaint,+ IconPaperclip,+ IconPassword,+ IconPencil,+ IconPencilOff,+ IconPercentage,+ IconPhone,+ IconPhoto,+ IconPhotoUp,+ IconPilcrow,+ IconPin,+ IconPinned,+ IconPinnedOff,+ IconPlayerPause,+ IconPlayerPlay,+ IconPlayerStop,+ IconPlaylistAdd,+ IconPlaystationSquare,+ IconPlug,+ IconPlus,+ IconPoint,+ IconPower,+ IconPresentation,+ IconPrinter,+ IconProgressCheck,+ IconPrompt,+ IconPuzzle,+ IconPuzzle2,+ IconQuestionMark,+ IconRadiusBottomLeft,+ IconRadiusBottomRight,+ IconRadiusTopLeft,+ IconRadiusTopRight,+ IconRefresh,+ IconRefreshAlert,+ IconRefreshDot,+ IconRelationManyToMany,+ IconRelationOneToMany,+ IconRelationOneToOne,+ IconReload,+ IconReorder,+ IconRepeat,+ IconRestore,+ IconRobot,+ IconRocket,+ IconRotate,+ IconRotate2,+ IconRowInsertBottom,+ IconRowInsertTop,+ IconSearch,+ IconSend,+ IconServer,+ IconServer2,+ IconSettings,+ IconSettings2,+ IconSettingsAutomation,+ IconSettingsBolt,+ IconShare,+ IconShield,+ IconSitemap,+ IconSlash,+ IconSortAscending,+ IconSortAscendingLetters,+ IconSortAscendingNumbers,+ IconSortAZ,+ IconSortDescending,+ IconSortDescendingLetters,+ IconSortDescendingNumbers,+ IconSortZA,+ IconSparkles,+ IconSpy,+ IconSql,+ IconSquare,+ IconSquareCheck,+ IconSquareKey,+ IconSquareNumber1,+ IconSquareNumber2,+ IconSquareNumber3,+ IconSquareNumber4,+ IconSquareNumber5,+ IconSquareNumber6,+ IconSquareNumber7,+ IconSquareNumber8,+ IconSquareNumber9,+ IconSquarePlus,+ IconSquareRoundedCheck,+ IconSquareRoundedX,+ IconSquareX,+ IconStack2,+ IconStar,+ IconStatusChange,+ IconStepInto,+ IconStrikethrough,+ IconSum,+ IconSun,+ IconSunMoon,+ IconSwitchHorizontal,+ IconTable,+ IconTag,+ IconTags,+ IconTarget,+ IconTargetArrow,+ IconTerminal,+ IconTestPipe,+ IconTextCaption,+ IconTextSize,+ IconTextWrap,+ IconTimeDuration30,+ IconTimeDuration60,+ IconTimelineEvent,+ IconTool,+ IconTransform,+ IconTrash,+ IconTrashOff,+ IconTrashX,+ IconTrendingDown,+ IconTrendingUp,+ IconTypography,+ IconUnderline,+ IconUnlink,+ IconUpload,+ IconUser,+ IconUserCircle,+ IconUserCog,+ IconUserPin,+ IconUserPlus,+ IconUsers,+ IconVariable,+ IconVariablePlus,+ IconVersions,+ IconVersionsOff,+ IconVideo,+ IconWand,+ IconWebhook,+ IconWindow,+ IconWorld,+ IconX,+} from './icon/components/TablerIcons';+export { ThinkingOrbitLoaderIcon } from './icon/components/ThinkingOrbitLoaderIcon';+export { useIcons } from './icon/hooks/useIcons';+export { IconsProvider } from './icon/providers/IconsProvider';+export { iconsState } from './icon/states/iconsState';+export type {+ IconComponentProps,+ IconComponent,+} from './icon/types/IconComponent';+export type { InfoAccent, InfoProps } from './info/components/Info';+export { Info } from './info/components/Info';+export { Status } from './status/components/Status';+export { HorizontalSeparator } from './text/components/HorizontalSeparator';+export { SeparatorLineText } from './text/components/SeparatorLineText';+export { StyledTintedIconTileContainer } from './tinted-icon-tile/components/StyledTintedIconTileContainer';+export type { TintedIconTileProps } from './tinted-icon-tile/components/TintedIconTile';+export { TintedIconTile } from './tinted-icon-tile/components/TintedIconTile';+export type { IconTileColorShades } from './tinted-icon-tile/utils/getIconTileColorShades';+export { getIconTileColorShades } from './tinted-icon-tile/utils/getIconTileColorShades';+export type { AppTooltipProps } from './tooltip/AppTooltip';+export {+ TooltipPosition,+ TooltipDelay,+ AppTooltip,+} from './tooltip/AppTooltip';+export { OverflowingTextWithTooltip } from './tooltip/OverflowingTextWithTooltip';+export { H1TitleFontColor, H1Title } from './typography/components/H1Title';+export { H2Title } from './typography/components/H2Title';+export { H3Title } from './typography/components/H3Title';+export type { LabelVariant } from './typography/components/Label';+export { Label } from './typography/components/Label';+export {+ StyledTextContent,+ StyledTextWrapper,+ StyledText,+} from './typography/components/StyledText';diff --git a/packages/twenty-ui/src/display/info/components/Info.module.scss b/packages/twenty-ui/src/display/info/components/Info.module.scssnew file mode 100644index 00000000000..52132791a20--- /dev/null+++ b/packages/twenty-ui/src/display/info/components/Info.module.scss@@ -0,0 +1,38 @@+.info {+ align-items: center;+ border-radius: var(--t-border-radius-md);+ display: flex;+ font-weight: var(--t-font-weight-medium);+ justify-content: space-between;+ max-width: 512px;+ gap: var(--t-spacing-2);+ padding: var(--t-spacing-2);+ background: transparent;+ color: inherit;+}++.accentBlue {+ background: var(--t-color-blue5);+ color: var(--t-color-blue10);+}++.accentDanger {+ background: var(--t-color-red3);+ color: var(--t-color-red);+}++.textContainer {+ align-items: center;+ display: flex;+ gap: var(--t-spacing-2);++ & > svg {+ flex-shrink: 0;+ }+}++.linkContainer {+ & > a {+ text-decoration: none;+ }+}diff --git a/packages/twenty-ui/src/display/info/components/Info.module.scss.d.ts b/packages/twenty-ui/src/display/info/components/Info.module.scss.d.tsnew file mode 100644index 00000000000..6c8375ba899--- /dev/null+++ b/packages/twenty-ui/src/display/info/components/Info.module.scss.d.ts@@ -0,0 +1,8 @@+declare const classNames: {+ readonly info: 'info';+ readonly accentBlue: 'accentBlue';+ readonly accentDanger: 'accentDanger';+ readonly textContainer: 'textContainer';+ readonly linkContainer: 'linkContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/info/components/Info.tsx b/packages/twenty-ui/src/display/info/components/Info.tsxnew file mode 100644index 00000000000..f3b04c69673--- /dev/null+++ b/packages/twenty-ui/src/display/info/components/Info.tsx@@ -0,0 +1,63 @@+import { clsx } from 'clsx';+import { IconInfoCircle } from '@ui/display/icon/components/TablerIcons';+import { ThemeContext } from '@ui/theme-constants';++import { Button } from '@ui/input/button/components/Button/Button';+import React, { useContext } from 'react';+import { Link } from 'react-router-dom';++import styles from './Info.module.scss';++export type InfoAccent = 'blue' | 'danger';+export type InfoProps = {+ accent?: InfoAccent;+ text: string;+ buttonTitle?: string;+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;+ to?: string;+};++const INFO_ACCENT_CLASS_NAMES: Record<InfoAccent, string> = {+ blue: styles.accentBlue,+ danger: styles.accentDanger,+};++export const Info = ({+ accent = 'blue',+ text,+ buttonTitle,+ onClick,+ to,+}: InfoProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <div className={clsx(styles.info, INFO_ACCENT_CLASS_NAMES[accent])}>+ <div className={styles.textContainer}>+ <IconInfoCircle size={theme.icon.size.md} />+ {text}+ </div>+ {buttonTitle && to && (+ <span className={styles.linkContainer}>+ <Link to={to}>+ <Button+ title={buttonTitle}+ size="small"+ variant="secondary"+ accent={accent}+ />+ </Link>+ </span>+ )}+ {buttonTitle && onClick && !to && (+ <Button+ title={buttonTitle}+ onClick={onClick}+ size="small"+ variant="secondary"+ accent={accent}+ />+ )}+ </div>+ );+};diff --git a/packages/twenty-ui/src/display/info/components/__stories__/Info.stories.tsx b/packages/twenty-ui/src/display/info/components/__stories__/Info.stories.tsxnew file mode 100644index 00000000000..3b4a8c39c0e--- /dev/null+++ b/packages/twenty-ui/src/display/info/components/__stories__/Info.stories.tsx@@ -0,0 +1,51 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';++import { Info, type InfoAccent } from '../Info';++const meta: Meta<typeof Info> = {+ title: 'UI/Display/Info',+ component: Info,+};++export default meta;+type Story = StoryObj<typeof Info>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ accent: 'blue',+ text: 'An info component',+ buttonTitle: 'Update',+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof Info> = {+ args: {+ text: 'An info component',+ buttonTitle: 'Update',+ },+ argTypes: {+ accent: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'accents',+ values: ['blue', 'danger'] satisfies InfoAccent[],+ props: (accent: InfoAccent) => ({ accent }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/display/status/components/Status.module.scss b/packages/twenty-ui/src/display/status/components/Status.module.scssnew file mode 100644index 00000000000..b7c65ea5c6a--- /dev/null+++ b/packages/twenty-ui/src/display/status/components/Status.module.scss@@ -0,0 +1,42 @@+.status {+ align-items: center;+ background: var(--status-background);+ border-radius: var(--t-border-radius-pill);+ color: var(--status-text-color);+ display: inline-flex;+ font-size: var(--t-font-size-md);+ font-style: normal;+ gap: var(--t-spacing-1);+ height: var(--t-spacing-5);+ margin: 0;+ overflow: hidden;+ padding: 0 var(--t-spacing-2) 0 var(--t-spacing-2);++ &[data-loader-visible] {+ padding-right: var(--t-spacing-1);+ }++ &:before {+ background-color: var(--status-text-color);+ border-radius: var(--t-border-radius-rounded);+ content: '';+ display: block;+ flex-shrink: 0;+ height: var(--t-spacing-1);+ width: var(--t-spacing-1);+ }+}++.regular {+ font-weight: var(--t-font-weight-regular);+}++.medium {+ font-weight: var(--t-font-weight-medium);+}++.content {+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;+}diff --git a/packages/twenty-ui/src/display/status/components/Status.module.scss.d.ts b/packages/twenty-ui/src/display/status/components/Status.module.scss.d.tsnew file mode 100644index 00000000000..0b339436dc1--- /dev/null+++ b/packages/twenty-ui/src/display/status/components/Status.module.scss.d.ts@@ -0,0 +1,7 @@+declare const classNames: {+ readonly status: 'status';+ readonly regular: 'regular';+ readonly medium: 'medium';+ readonly content: 'content';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/status/components/Status.tsx b/packages/twenty-ui/src/display/status/components/Status.tsxnew file mode 100644index 00000000000..b667477de6b--- /dev/null+++ b/packages/twenty-ui/src/display/status/components/Status.tsx@@ -0,0 +1,45 @@+import { clsx } from 'clsx';++import { Loader } from '@ui/feedback/loader/components/Loader';+import { type ThemeColor } from '@ui/theme';+import { themeCssVariables } from '@ui/theme-constants';+import { parseThemeColor } from '@ui/utilities';++import styles from './Status.module.scss';++type StatusProps = {+ className?: string;+ color: ThemeColor;+ isLoaderVisible?: boolean;+ text: string;+ onClick?: () => void;+ weight?: 'regular' | 'medium';+};++export const Status = ({+ className,+ color,+ isLoaderVisible = false,+ text,+ onClick,+ weight = 'regular',+}: StatusProps) => {+ const parsedColor = parseThemeColor(color);++ return (+ <h3+ className={clsx(styles.status, styles[weight], className)}+ onClick={onClick}+ data-loader-visible={isLoaderVisible || undefined}+ style={+ {+ '--status-background': themeCssVariables.tag.background[parsedColor],+ '--status-text-color': themeCssVariables.tag.text[parsedColor],+ } as React.CSSProperties+ }+ >+ <span className={styles.content}>{text}</span>+ {isLoaderVisible ? <Loader color={color} /> : null}+ </h3>+ );+};diff --git a/packages/twenty-ui/src/display/status/components/__stories__/Status.stories.tsx b/packages/twenty-ui/src/display/status/components/__stories__/Status.stories.tsxnew file mode 100644index 00000000000..fa785b3e762--- /dev/null+++ b/packages/twenty-ui/src/display/status/components/__stories__/Status.stories.tsx@@ -0,0 +1,71 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { type ThemeColor, MAIN_COLOR_NAMES } from '@ui/theme';+import { expect, fn, userEvent, within } from 'storybook/test';++import { Status } from '../Status';++const meta: Meta<typeof Status> = {+ title: 'UI/Display/Status/Status',+ component: Status,+ args: {+ text: 'Urgent',+ weight: 'medium',+ },+};++export default meta;+type Story = StoryObj<typeof Status>;++export const Default: Story = {+ args: {+ color: 'red',+ onClick: fn(),+ },+ decorators: [ComponentDecorator],+ play: async ({ canvasElement, args }) => {+ const canvas = within(canvasElement);++ const status = canvas.getByRole('heading', { level: 3 });++ await userEvent.click(status);+ expect(args.onClick).toHaveBeenCalled();+ },+};++export const WithLongText: Story = {+ decorators: [ComponentDecorator],+ args: {+ color: 'green',+ text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit',+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ container: { width: 100 },+ },+};++export const Catalog: CatalogStory<Story, typeof Status> = {+ argTypes: {+ color: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'colors',+ values: MAIN_COLOR_NAMES,+ props: (color: ThemeColor) => ({ color }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/display/text/components/HorizontalSeparator.module.scss b/packages/twenty-ui/src/display/text/components/HorizontalSeparator.module.scssnew file mode 100644index 00000000000..8a92cb96b0a--- /dev/null+++ b/packages/twenty-ui/src/display/text/components/HorizontalSeparator.module.scss@@ -0,0 +1,50 @@+.separator {+ background-color: var(+ --horizontal-separator-color,+ var(--t-border-color-medium)+ );+ height: 0;+ flex-shrink: 0;+ margin-bottom: var(--t-spacing-3);+ margin-top: var(--t-spacing-3);+ width: 100%;++ &[data-visible] {+ height: 1px;+ }++ &[data-no-margin] {+ margin-bottom: 0;+ margin-top: 0;+ }+}++.separatorContainer {+ align-items: center;+ display: flex;+ margin-bottom: var(--t-spacing-3);+ margin-top: var(--t-spacing-3);+ width: 100%;++ &[data-no-margin] {+ margin-bottom: 0;+ margin-top: 0;+ }+}++.line {+ background-color: var(+ --horizontal-separator-color,+ var(--t-border-color-medium)+ );+ height: 0;+ flex-grow: 1;++ &[data-visible] {+ height: 1px;+ }+}++.text {+ margin: 0 var(--t-spacing-2);+}diff --git a/packages/twenty-ui/src/display/text/components/HorizontalSeparator.module.scss.d.ts b/packages/twenty-ui/src/display/text/components/HorizontalSeparator.module.scss.d.tsnew file mode 100644index 00000000000..6f718471ec4--- /dev/null+++ b/packages/twenty-ui/src/display/text/components/HorizontalSeparator.module.scss.d.ts@@ -0,0 +1,7 @@+declare const classNames: {+ readonly separator: 'separator';+ readonly separatorContainer: 'separatorContainer';+ readonly line: 'line';+ readonly text: 'text';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/text/components/HorizontalSeparator.tsx b/packages/twenty-ui/src/display/text/components/HorizontalSeparator.tsxnew file mode 100644index 00000000000..bc47161ae9a--- /dev/null+++ b/packages/twenty-ui/src/display/text/components/HorizontalSeparator.tsx@@ -0,0 +1,48 @@+import { type JSX } from 'react';++import { Label } from '@ui/display';++import styles from './HorizontalSeparator.module.scss';++type HorizontalSeparatorProps = {+ visible?: boolean;+ text?: string;+ noMargin?: boolean;+ color?: string;+};++export const HorizontalSeparator = ({+ visible = true,+ text = '',+ noMargin = false,+ color,+}: HorizontalSeparatorProps): JSX.Element => {+ const colorStyle = color+ ? ({ '--horizontal-separator-color': color } as React.CSSProperties)+ : undefined;++ return (+ <>+ {text ? (+ <div+ className={styles.separatorContainer}+ data-no-margin={noMargin || undefined}+ style={colorStyle}+ >+ <div className={styles.line} data-visible={visible || undefined} />+ <Label>+ <span className={styles.text}>{text}</span>+ </Label>+ <div className={styles.line} data-visible={visible || undefined} />+ </div>+ ) : (+ <div+ className={styles.separator}+ data-visible={visible || undefined}+ data-no-margin={noMargin || undefined}+ style={colorStyle}+ />+ )}+ </>+ );+};diff --git a/packages/twenty-ui/src/display/text/components/SeparatorLineText.module.scss b/packages/twenty-ui/src/display/text/components/SeparatorLineText.module.scssnew file mode 100644index 00000000000..e2537443f79--- /dev/null+++ b/packages/twenty-ui/src/display/text/components/SeparatorLineText.module.scss@@ -0,0 +1,24 @@+.container {+ display: flex;+ align-items: center;+ width: 100%;+ font-size: var(--t-font-size-md);+ font-weight: var(--t-font-weight-semi-bold);+ color: var(--t-font-color-extra-light);++ &::before,+ &::after {+ content: '';+ height: 1px;+ flex-grow: 1;+ background: var(--t-background-transparent-light);+ }++ &::before {+ margin: 0 var(--t-spacing-4) 0 0;+ }++ &::after {+ margin: 0 0 0 var(--t-spacing-4);+ }+}diff --git a/packages/twenty-ui/src/display/text/components/SeparatorLineText.module.scss.d.ts b/packages/twenty-ui/src/display/text/components/SeparatorLineText.module.scss.d.tsnew file mode 100644index 00000000000..8df71b4dead--- /dev/null+++ b/packages/twenty-ui/src/display/text/components/SeparatorLineText.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly container: 'container';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/text/components/SeparatorLineText.tsx b/packages/twenty-ui/src/display/text/components/SeparatorLineText.tsxnew file mode 100644index 00000000000..46f0d64f278--- /dev/null+++ b/packages/twenty-ui/src/display/text/components/SeparatorLineText.tsx@@ -0,0 +1,9 @@+import styles from './SeparatorLineText.module.scss';++export const SeparatorLineText = ({+ children,+}: {+ children: React.ReactNode;+}) => {+ return <div className={styles.container}>{children}</div>;+};diff --git a/packages/twenty-ui/src/display/text/components/__stories__/HorizontalSeparator.stories.tsx b/packages/twenty-ui/src/display/text/components/__stories__/HorizontalSeparator.stories.tsxnew file mode 100644index 00000000000..2b72597e1ce--- /dev/null+++ b/packages/twenty-ui/src/display/text/components/__stories__/HorizontalSeparator.stories.tsx@@ -0,0 +1,15 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { ComponentDecorator } from '@ui/testing';++import { HorizontalSeparator } from '../HorizontalSeparator';++const meta: Meta<typeof HorizontalSeparator> = {+ title: 'UI/Display/Text/HorizontalSeparator',+ component: HorizontalSeparator,+ decorators: [ComponentDecorator],+};++export default meta;+type Story = StoryObj<typeof HorizontalSeparator>;++export const Default: Story = {};diff --git a/packages/twenty-ui/src/display/text/components/__stories__/SeparatorLineText.stories.tsx b/packages/twenty-ui/src/display/text/components/__stories__/SeparatorLineText.stories.tsxnew file mode 100644index 00000000000..44957bf5ace--- /dev/null+++ b/packages/twenty-ui/src/display/text/components/__stories__/SeparatorLineText.stories.tsx@@ -0,0 +1,19 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { ComponentDecorator } from '@ui/testing';++import { SeparatorLineText } from '../SeparatorLineText';++const meta: Meta<typeof SeparatorLineText> = {+ title: 'UI/Display/Text/SeparatorLineText',+ component: SeparatorLineText,+ args: { children: 'Or' },+ decorators: [ComponentDecorator],+};++export default meta;+type Story = StoryObj<typeof SeparatorLineText>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+};diff --git a/packages/twenty-ui/src/display/tinted-icon-tile/components/StyledTintedIconTileContainer.module.scss b/packages/twenty-ui/src/display/tinted-icon-tile/components/StyledTintedIconTileContainer.module.scssnew file mode 100644index 00000000000..2925496a7bc--- /dev/null+++ b/packages/twenty-ui/src/display/tinted-icon-tile/components/StyledTintedIconTileContainer.module.scss@@ -0,0 +1,12 @@+.root {+ box-sizing: border-box;+ display: flex;+ flex-shrink: 0;+ align-items: center;+ justify-content: center;+ width: var(--tinted-icon-tile-dimension, var(--t-spacing-4));+ height: var(--tinted-icon-tile-dimension, var(--t-spacing-4));+ border: var(--tinted-icon-tile-border, none);+ border-radius: 4px;+ background-color: var(--tinted-icon-tile-background-color, transparent);+}diff --git a/packages/twenty-ui/src/display/tinted-icon-tile/components/StyledTintedIconTileContainer.module.scss.d.ts b/packages/twenty-ui/src/display/tinted-icon-tile/components/StyledTintedIconTileContainer.module.scss.d.tsnew file mode 100644index 00000000000..4d6743c3dcd--- /dev/null+++ b/packages/twenty-ui/src/display/tinted-icon-tile/components/StyledTintedIconTileContainer.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly root: 'root';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/tinted-icon-tile/components/StyledTintedIconTileContainer.tsx b/packages/twenty-ui/src/display/tinted-icon-tile/components/StyledTintedIconTileContainer.tsxnew file mode 100644index 00000000000..f10aeb0afa8--- /dev/null+++ b/packages/twenty-ui/src/display/tinted-icon-tile/components/StyledTintedIconTileContainer.tsx@@ -0,0 +1,35 @@+import { clsx } from 'clsx';++import styles from './StyledTintedIconTileContainer.module.scss';++type StyledTintedIconTileContainerProps =+ React.ComponentPropsWithoutRef<'div'> & {+ $backgroundColor?: string;+ $borderColor?: string;+ $dimension?: string;+ };++export const StyledTintedIconTileContainer = ({+ $backgroundColor,+ $borderColor,+ $dimension,+ className,+ style,+ ...rest+}: StyledTintedIconTileContainerProps) => (+ <div+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ className={clsx(styles.root, className)}+ style={+ {+ '--tinted-icon-tile-background-color': $backgroundColor,+ '--tinted-icon-tile-border': $borderColor+ ? `1px solid ${$borderColor}`+ : undefined,+ '--tinted-icon-tile-dimension': $dimension,+ ...style,+ } as React.CSSProperties+ }+ />+);diff --git a/packages/twenty-ui/src/display/tinted-icon-tile/components/TintedIconTile.tsx b/packages/twenty-ui/src/display/tinted-icon-tile/components/TintedIconTile.tsxnew file mode 100644index 00000000000..d0f4a45161e--- /dev/null+++ b/packages/twenty-ui/src/display/tinted-icon-tile/components/TintedIconTile.tsx@@ -0,0 +1,39 @@+import { type IconComponent } from '@ui/display/icon/types/IconComponent';+import { StyledTintedIconTileContainer } from '@ui/display/tinted-icon-tile/components/StyledTintedIconTileContainer';+import { getIconTileColorShades } from '@ui/display/tinted-icon-tile/utils/getIconTileColorShades';+import { DEFAULT_THEME_COLOR_FALLBACK } from '@ui/theme';+import { ThemeContext } from '@ui/theme-constants';+import { useContext } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++export type TintedIconTileProps = {+ Icon: IconComponent;+ color?: string | null;+ size?: number;+ stroke?: number;+};++export const TintedIconTile = ({+ Icon,+ color = DEFAULT_THEME_COLOR_FALLBACK,+ size: sizeFromProps,+ stroke: strokeFromProps,+}: TintedIconTileProps) => {+ const { theme } = useContext(ThemeContext);+ const style = getIconTileColorShades(color);+ const iconSize = sizeFromProps ?? theme.icon.size.md;+ const iconStroke = strokeFromProps ?? theme.icon.stroke.md;+ const tileDimension = isDefined(sizeFromProps)+ ? `${sizeFromProps}px`+ : undefined;++ return (+ <StyledTintedIconTileContainer+ $backgroundColor={style.backgroundColor}+ $borderColor={style.borderColor}+ $dimension={tileDimension}+ >+ <Icon size={iconSize} stroke={iconStroke} color={style.iconColor} />+ </StyledTintedIconTileContainer>+ );+};diff --git a/packages/twenty-ui/src/display/tinted-icon-tile/internal/constants/tintedIconTileColorShades.constant.ts b/packages/twenty-ui/src/display/tinted-icon-tile/internal/constants/tintedIconTileColorShades.constant.tsnew file mode 100644index 00000000000..3d2f44f3a6f--- /dev/null+++ b/packages/twenty-ui/src/display/tinted-icon-tile/internal/constants/tintedIconTileColorShades.constant.ts@@ -0,0 +1,5 @@+export const TINTED_ICON_TILE_COLOR_SHADES = {+ background: 5,+ border: 6,+ icon: 11,+} as const;diff --git a/packages/twenty-ui/src/display/tinted-icon-tile/internal/utils/getColorFromTheme.ts b/packages/twenty-ui/src/display/tinted-icon-tile/internal/utils/getColorFromTheme.tsnew file mode 100644index 00000000000..6325f91f15d--- /dev/null+++ b/packages/twenty-ui/src/display/tinted-icon-tile/internal/utils/getColorFromTheme.ts@@ -0,0 +1,15 @@+import { type ThemeColor } from '@ui/theme';+import { themeCssVariables } from '@ui/theme-constants';++export const getColorFromTheme = (+ themeColor: ThemeColor,+ shade: number,+): string => {+ const colorMap = themeCssVariables.color as unknown as Record<string, string>;+ const tagText = themeCssVariables.tag.text as unknown as Record<+ string,+ string+ >;+ const key = `${themeColor}${shade}`;+ return colorMap[key] ?? tagText[themeColor];+};diff --git a/packages/twenty-ui/src/display/tinted-icon-tile/utils/getIconTileColorShades.ts b/packages/twenty-ui/src/display/tinted-icon-tile/utils/getIconTileColorShades.tsnew file mode 100644index 00000000000..0c225e87a6d--- /dev/null+++ b/packages/twenty-ui/src/display/tinted-icon-tile/utils/getIconTileColorShades.ts@@ -0,0 +1,29 @@+import { TINTED_ICON_TILE_COLOR_SHADES } from '@ui/display/tinted-icon-tile/internal/constants/tintedIconTileColorShades.constant';+import { getColorFromTheme } from '@ui/display/tinted-icon-tile/internal/utils/getColorFromTheme';+import { parseThemeColor } from '@ui/utilities';++export type IconTileColorShades = {+ backgroundColor: string;+ iconColor: string;+ borderColor: string;+};++export const getIconTileColorShades = (+ color: string | null | undefined,+): IconTileColorShades => {+ const themeColor = parseThemeColor(color);+ return {+ backgroundColor: getColorFromTheme(+ themeColor,+ TINTED_ICON_TILE_COLOR_SHADES.background,+ ),+ iconColor: getColorFromTheme(+ themeColor,+ TINTED_ICON_TILE_COLOR_SHADES.icon,+ ),+ borderColor: getColorFromTheme(+ themeColor,+ TINTED_ICON_TILE_COLOR_SHADES.border,+ ),+ };+};diff --git a/packages/twenty-ui/src/display/tooltip/AppTooltip.module.scss b/packages/twenty-ui/src/display/tooltip/AppTooltip.module.scssnew file mode 100644index 00000000000..03079cd6cab--- /dev/null+++ b/packages/twenty-ui/src/display/tooltip/AppTooltip.module.scss@@ -0,0 +1,62 @@+.positioner {+ // the tooltip never intercepts pointer events unless clickable,+ // like react-tooltip's core styles+ pointer-events: none;+ z-index: var(--t-last-layer-z-index);+}++.tooltip {+ backdrop-filter: var(--t-blur-strong);+ background-color: var(--t-color-transparent-gray11);+ border-radius: var(--t-border-radius-sm);+ box-shadow: var(--t-box-shadow-light);+ color: var(--t-gray-scale-gray1);+ font-size: var(--t-font-size-sm);+ font-weight: var(--t-font-weight-regular);+ overflow: visible;+ padding: var(--t-spacing-2);+ word-break: break-word;+ width: max-content;+ max-width: 100%;+ // react-tooltip showed tooltips at 0.9 opacity with 0.15s fades+ opacity: 0.9;+ will-change: opacity;+ transition: opacity 0.15s ease-out;++ &[data-starting-style],+ &[data-ending-style] {+ opacity: 0;+ }++ &[data-ending-style] {+ transition-timing-function: ease-in;+ }+}++.clickable {+ pointer-events: auto;+}++.arrow {+ position: absolute;+ width: 8px;+ height: 8px;+ background: inherit;+ transform: rotate(45deg);++ &[data-side='top'] {+ bottom: -4px;+ }++ &[data-side='bottom'] {+ top: -4px;+ }++ &[data-side='left'] {+ right: -4px;+ }++ &[data-side='right'] {+ left: -4px;+ }+}diff --git a/packages/twenty-ui/src/display/tooltip/AppTooltip.module.scss.d.ts b/packages/twenty-ui/src/display/tooltip/AppTooltip.module.scss.d.tsnew file mode 100644index 00000000000..188739cb852--- /dev/null+++ b/packages/twenty-ui/src/display/tooltip/AppTooltip.module.scss.d.ts@@ -0,0 +1,7 @@+declare const classNames: {+ readonly positioner: 'positioner';+ readonly tooltip: 'tooltip';+ readonly clickable: 'clickable';+ readonly arrow: 'arrow';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/tooltip/AppTooltip.tsx b/packages/twenty-ui/src/display/tooltip/AppTooltip.tsxnew file mode 100644index 00000000000..492892148bd--- /dev/null+++ b/packages/twenty-ui/src/display/tooltip/AppTooltip.tsx@@ -0,0 +1,312 @@+import { Tooltip } from '@base-ui/react/tooltip';+import { isNonEmptyString } from '@sniptt/guards';+import { clsx } from 'clsx';+import { useEffect, useRef, useState } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++import styles from './AppTooltip.module.scss';++export enum TooltipPosition {+ Top = 'top',+ Left = 'left',+ Right = 'right',+ Bottom = 'bottom',+}++export enum TooltipDelay {+ noDelay = '0ms',+ shortDelay = '300ms',+ mediumDelay = '500ms',+ longDelay = '1000ms',+}++// Same shapes as react-tooltip's PlacesType and PositionStrategy, kept for+// public API parity with the deprecated AppTooltip+type PlacesType =+ | 'top'+ | 'top-start'+ | 'top-end'+ | 'right'+ | 'right-start'+ | 'right-end'+ | 'bottom'+ | 'bottom-start'+ | 'bottom-end'+ | 'left'+ | 'left-start'+ | 'left-end';++type PositionStrategy = 'absolute' | 'fixed';++// react-tooltip's delayHide that the deprecated AppTooltip hardcoded+const HIDE_DELAY_MS = 20;++// react-tooltip's default anchor offset+const DEFAULT_OFFSET = 10;++export type AppTooltipProps = {+ className?: string;+ anchorSelect?: string;+ content?: string;+ children?: React.ReactNode;+ offset?: number;+ noArrow?: boolean;+ hidden?: boolean;+ place?: PlacesType;+ delay?: TooltipDelay;+ positionStrategy?: PositionStrategy;+ clickable?: boolean;+ width?: string;+ isOpen?: boolean;+};++export const AppTooltip = ({+ anchorSelect,+ className,+ content,+ hidden = false,+ noArrow,+ offset,+ delay = TooltipDelay.mediumDelay,+ place,+ positionStrategy,+ children,+ clickable,+ width,+ isOpen,+}: AppTooltipProps) => {+ const getDelayInMis = (delay: TooltipDelay) => {+ switch (delay) {+ case TooltipDelay.noDelay:+ return 0;+ case TooltipDelay.shortDelay:+ return 300;+ case TooltipDelay.mediumDelay:+ return 500;+ case TooltipDelay.longDelay:+ return 1000;+ }+ };++ const [show, setShow] = useState(false);+ const [anchorElements, setAnchorElements] = useState<Element[]>([]);+ const [activeAnchor, setActiveAnchor] = useState<Element | null>(null);++ const showDelayTimerRef = useRef<ReturnType<typeof setTimeout> | undefined>(+ undefined,+ );+ const hideDelayTimerRef = useRef<ReturnType<typeof setTimeout> | undefined>(+ undefined,+ );+ // Mirrors react-tooltip's `rendered` flag: while the tooltip is still+ // mounted (including its fade-out), re-entering an anchor reopens it+ // without waiting for the show delay again+ const isRenderedRef = useRef(false);+ const isHoveringTooltipRef = useRef(false);++ const isControlled = isDefined(isOpen);+ const delayShowMs = getDelayInMis(delay);++ // Track anchors matching the selector, including ones added to the DOM+ // later, like react-tooltip does with its MutationObserver+ useEffect(() => {+ if (!isNonEmptyString(anchorSelect)) {+ setAnchorElements([]);+ return;+ }++ const queryAnchorElements = () => {+ try {+ return Array.from(document.querySelectorAll(anchorSelect));+ } catch {+ return [];+ }+ };++ setAnchorElements(queryAnchorElements());++ const observer = new MutationObserver(() => {+ setAnchorElements((previousAnchorElements) => {+ const newAnchorElements = queryAnchorElements();++ const hasSameAnchors =+ newAnchorElements.length === previousAnchorElements.length &&+ newAnchorElements.every(+ (anchorElement, index) =>+ anchorElement === previousAnchorElements[index],+ );++ return hasSameAnchors ? previousAnchorElements : newAnchorElements;+ });+ });++ // also watch data-tooltip-id like react-tooltip, since anchors are+ // commonly matched with a [data-tooltip-id='...'] selector+ observer.observe(document.body, {+ childList: true,+ subtree: true,+ attributes: true,+ attributeFilter: ['data-tooltip-id'],+ });++ return () => observer.disconnect();+ }, [anchorSelect]);++ // Like react-tooltip, fall back to the first matched anchor so that a+ // controlled tooltip (isOpen) can position itself without a hover event+ useEffect(() => {+ if (isDefined(activeAnchor) && anchorElements.includes(activeAnchor)) {+ return;+ }++ setActiveAnchor(anchorElements[0] ?? null);+ }, [anchorElements, activeAnchor]);++ useEffect(() => {+ if (anchorElements.length === 0) {+ return;+ }++ const handleShow = (value: boolean) => {+ if (!isControlled) {+ setShow(value);+ }+ };++ const handleAnchorEnter = (anchorElement: Element) => {+ if (!anchorElement.isConnected) {+ setActiveAnchor(null);+ return;+ }++ if (delayShowMs > 0) {+ clearTimeout(showDelayTimerRef.current);+ if (isRenderedRef.current) {+ // the tooltip is already visible, ignore the show delay+ handleShow(true);+ } else {+ showDelayTimerRef.current = setTimeout(() => {+ handleShow(true);+ }, delayShowMs);+ }+ } else {+ handleShow(true);+ }++ setActiveAnchor(anchorElement);+ clearTimeout(hideDelayTimerRef.current);+ };++ const handleAnchorLeave = () => {+ clearTimeout(hideDelayTimerRef.current);+ hideDelayTimerRef.current = setTimeout(() => {+ if (isHoveringTooltipRef.current) {+ return;+ }+ handleShow(false);+ }, HIDE_DELAY_MS);+ clearTimeout(showDelayTimerRef.current);+ };++ const removeListeners = anchorElements.map((anchorElement) => {+ const handleEnter = () => handleAnchorEnter(anchorElement);+ const handleLeave = () => handleAnchorLeave();++ // mouseover/mouseout instead of mouseenter/mouseleave to replicate+ // react-tooltip's default open and close events+ anchorElement.addEventListener('mouseover', handleEnter);+ anchorElement.addEventListener('mouseout', handleLeave);+ anchorElement.addEventListener('focus', handleEnter);+ anchorElement.addEventListener('blur', handleLeave);++ return () => {+ anchorElement.removeEventListener('mouseover', handleEnter);+ anchorElement.removeEventListener('mouseout', handleLeave);+ anchorElement.removeEventListener('focus', handleEnter);+ anchorElement.removeEventListener('blur', handleLeave);+ };+ });++ return () => removeListeners.forEach((removeListener) => removeListener());+ }, [anchorElements, isControlled, delayShowMs]);++ useEffect(() => {+ return () => {+ clearTimeout(showDelayTimerRef.current);+ clearTimeout(hideDelayTimerRef.current);+ };+ }, []);++ const handleTooltipMouseEnter = () => {+ isHoveringTooltipRef.current = true;+ };++ const handleTooltipMouseLeave = () => {+ isHoveringTooltipRef.current = false;+ clearTimeout(hideDelayTimerRef.current);+ hideDelayTimerRef.current = setTimeout(() => {+ if (isHoveringTooltipRef.current) {+ return;+ }+ if (!isControlled) {+ setShow(false);+ }+ }, HIDE_DELAY_MS);+ clearTimeout(showDelayTimerRef.current);+ };++ // react-tooltip's content priority: content prop wins over children+ const renderedContent = isNonEmptyString(content) ? content : children;++ const isTooltipOpen =+ !hidden &&+ (isOpen ?? show) &&+ Boolean(renderedContent) &&+ isDefined(activeAnchor);++ useEffect(() => {+ if (isTooltipOpen) {+ isRenderedRef.current = true;+ }+ }, [isTooltipOpen]);++ const [parsedSide, parsedAlign] = (place ?? 'top').split('-');+ const side = parsedSide as 'top' | 'right' | 'bottom' | 'left';+ const align = (parsedAlign ?? 'center') as 'start' | 'center' | 'end';++ return (+ <Tooltip.Root+ open={isTooltipOpen}+ onOpenChangeComplete={(openValue) => {+ if (!openValue) {+ isRenderedRef.current = false;+ }+ }}+ >+ <Tooltip.Portal>+ <Tooltip.Positioner+ anchor={activeAnchor}+ side={side}+ align={align}+ sideOffset={offset ?? DEFAULT_OFFSET}+ positionMethod={positionStrategy}+ className={styles.positioner}+ style={{ maxWidth: width ?? '40%' }}+ >+ <Tooltip.Popup+ className={clsx(+ styles.tooltip,+ clickable && styles.clickable,+ className,+ )}+ onMouseEnter={clickable ? handleTooltipMouseEnter : undefined}+ onMouseLeave={clickable ? handleTooltipMouseLeave : undefined}+ >+ {renderedContent}+ {!noArrow && <Tooltip.Arrow className={styles.arrow} />}+ </Tooltip.Popup>+ </Tooltip.Positioner>+ </Tooltip.Portal>+ </Tooltip.Root>+ );+};diff --git a/packages/twenty-ui/src/display/tooltip/OverflowingTextWithTooltip.module.scss b/packages/twenty-ui/src/display/tooltip/OverflowingTextWithTooltip.module.scssnew file mode 100644index 00000000000..7c065fb3eed--- /dev/null+++ b/packages/twenty-ui/src/display/tooltip/OverflowingTextWithTooltip.module.scss@@ -0,0 +1,46 @@+.overflowingMultilineText {+ cursor: inherit;+ font-family: inherit;+ font-size: inherit;+ font-weight: inherit;+ max-width: 100%;+ overflow: hidden;+ text-decoration: inherit;+ text-overflow: ellipsis;+ height: auto;+ -webkit-line-clamp: var(--displayed-max-rows, 1);+ display: -webkit-box;+ -webkit-box-orient: vertical;+ white-space: pre-wrap;+ overflow-wrap: break-word;++ &[data-content-overflowing] {+ cursor: pointer;+ }+}++.overflowingText {+ cursor: inherit;+ font-family: inherit;+ font-size: inherit;+ font-weight: inherit;+ max-width: 100%;+ text-decoration: inherit;+ text-overflow: ellipsis;+ overflow: hidden;+ height: auto;+ white-space: nowrap;++ &[data-content-overflowing] {+ cursor: pointer;+ }+}++.large {+ height: var(--t-spacing-4);+}++.pre {+ font-family: inherit;+ white-space: pre-wrap;+}diff --git a/packages/twenty-ui/src/display/tooltip/OverflowingTextWithTooltip.module.scss.d.ts b/packages/twenty-ui/src/display/tooltip/OverflowingTextWithTooltip.module.scss.d.tsnew file mode 100644index 00000000000..79976f24d0f--- /dev/null+++ b/packages/twenty-ui/src/display/tooltip/OverflowingTextWithTooltip.module.scss.d.ts@@ -0,0 +1,7 @@+declare const classNames: {+ readonly overflowingMultilineText: 'overflowingMultilineText';+ readonly overflowingText: 'overflowingText';+ readonly large: 'large';+ readonly pre: 'pre';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/tooltip/OverflowingTextWithTooltip.tsx b/packages/twenty-ui/src/display/tooltip/OverflowingTextWithTooltip.tsxnew file mode 100644index 00000000000..bc28c117a69--- /dev/null+++ b/packages/twenty-ui/src/display/tooltip/OverflowingTextWithTooltip.tsx@@ -0,0 +1,137 @@+import { type CSSProperties, type ReactNode, useRef, useState } from 'react';+import { createPortal } from 'react-dom';++import { isNonEmptyString } from '@sniptt/guards';+import { clsx } from 'clsx';+import { LinkifiedText } from '@ui/display/components/LinkifiedText';+import { isDefined } from '@ui/utilities/utils/isDefined';+import { AppTooltip, TooltipDelay } from './AppTooltip';++import styles from './OverflowingTextWithTooltip.module.scss';++type OverflowingTextWithTooltipProps = {+ size?: 'large' | 'small';+ isTooltipMultiline?: boolean;+ displayedMaxRows?: number;+ tooltipDelay?: TooltipDelay;+ alwaysShowTooltip?: boolean;+} & (+ | {+ text: string | null | undefined;+ tooltipContent?: string;+ }+ | {+ text: Exclude<ReactNode, string | null | undefined>;+ tooltipContent: string;+ }+);++export const OverflowingTextWithTooltip = ({+ size = 'small',+ text,+ isTooltipMultiline,+ displayedMaxRows,+ tooltipContent,+ tooltipDelay = TooltipDelay.mediumDelay,+ alwaysShowTooltip = false,+}: OverflowingTextWithTooltipProps) => {+ const textElementId = `title-id-${+new Date()}`;++ const textRef = useRef<HTMLDivElement>(null);++ const [isTitleOverflowing, setIsTitleOverflowing] = useState(false);+ const [shouldRenderTooltip, setShouldRenderTooltip] = useState(false);++ const handleMouseEnter = () => {+ const isOverflowing = textRef.current+ ? textRef.current?.scrollHeight > textRef.current?.clientHeight ||+ textRef.current.scrollWidth > textRef.current.clientWidth+ : false;++ setIsTitleOverflowing(isOverflowing);+ setShouldRenderTooltip(true);+ };++ const handleMouseLeave = () => {+ setIsTitleOverflowing(false);+ setShouldRenderTooltip(false);+ };++ const handleTooltipClick = (event: React.MouseEvent<HTMLDivElement>) => {+ event.stopPropagation();+ event.preventDefault();+ };++ const tooltipText = isNonEmptyString(tooltipContent)+ ? tooltipContent+ : isNonEmptyString(text)+ ? text+ : null;++ return (+ <>+ {isDefined(displayedMaxRows) ? (+ <div+ data-testid="tooltip"+ data-content-overflowing={isTitleOverflowing ? '' : undefined}+ className={clsx(+ styles.overflowingMultilineText,+ size === 'large' && styles.large,+ )}+ style={+ {+ '--displayed-max-rows': displayedMaxRows+ ? displayedMaxRows.toString()+ : '1',+ } as CSSProperties+ }+ ref={textRef}+ id={textElementId}+ onMouseEnter={handleMouseEnter}+ onMouseLeave={handleMouseLeave}+ >+ {isNonEmptyString(text) ? <LinkifiedText text={text} /> : text}+ </div>+ ) : (+ <div+ data-testid="tooltip"+ data-content-overflowing={isTitleOverflowing ? '' : undefined}+ className={clsx(+ styles.overflowingText,+ size === 'large' && styles.large,+ )}+ ref={textRef}+ id={textElementId}+ onMouseEnter={handleMouseEnter}+ onMouseLeave={handleMouseLeave}+ >+ {isNonEmptyString(text) ? <LinkifiedText text={text} /> : text}+ </div>+ )}++ {shouldRenderTooltip &&+ (isTitleOverflowing || alwaysShowTooltip) &&+ isDefined(tooltipText) &&+ createPortal(+ <div onClick={handleTooltipClick}>+ <AppTooltip+ anchorSelect={`#${textElementId}`}+ offset={5}+ noArrow+ place="bottom"+ positionStrategy="absolute"+ delay={tooltipDelay}+ isOpen={true}+ >+ {isTooltipMultiline ? (+ <pre className={styles.pre}>{tooltipText}</pre>+ ) : (+ tooltipText+ )}+ </AppTooltip>+ </div>,+ document.body,+ )}+ </>+ );+};diff --git a/packages/twenty-ui/src/display/tooltip/__stories__/OverflowTextWithTooltip.stories.tsx b/packages/twenty-ui/src/display/tooltip/__stories__/OverflowTextWithTooltip.stories.tsxnew file mode 100644index 00000000000..4f66dbf251b--- /dev/null+++ b/packages/twenty-ui/src/display/tooltip/__stories__/OverflowTextWithTooltip.stories.tsx@@ -0,0 +1,137 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { userEvent, within } from 'storybook/test';++import { ComponentDecorator } from '@ui/testing';++import { OverflowingTextWithTooltip } from '../OverflowingTextWithTooltip';++const longText =+ 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi tellus diam, rhoncus nec consequat quis, dapibus quis massa. Praesent tincidunt augue at ex bibendum, non finibus augue faucibus. In at gravida orci. Nulla facilisi. Proin ut augue ut nisi pellentesque tristique. Proin sodales libero id turpis tincidunt posuere. Sed euismod, nunc at aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nisl nunc quis nunc. Donec euismod, nunc quis aliquam ultricies, nunc nisl aliquet nunc.';++const meta: Meta<typeof OverflowingTextWithTooltip> = {+ title: 'UI/Display/Tooltip/OverflowingTextWithTooltip',+ component: OverflowingTextWithTooltip,+};++export default meta;+type Story = StoryObj<typeof OverflowingTextWithTooltip>;++export const SingleLineOverflowing: Story = {+ args: {+ text: longText,+ },+ decorators: [ComponentDecorator],+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);+ const tooltip = await canvas.findByTestId('tooltip');+ await userEvent.hover(tooltip);+ },+};++export const SingleLineNotOverflowing: Story = {+ args: {+ text: 'Short',+ },+ decorators: [ComponentDecorator],+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);+ const tooltip = await canvas.findByTestId('tooltip');+ await userEvent.hover(tooltip);+ },+};++export const MultilineOverflowing: Story = {+ args: {+ text: longText,+ displayedMaxRows: 2,+ },+ decorators: [ComponentDecorator],+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);+ const tooltip = await canvas.findByTestId('tooltip');+ await userEvent.hover(tooltip);+ },+};++export const MultilineNotOverflowing: Story = {+ args: {+ text: 'Short',+ displayedMaxRows: 2,+ },+ decorators: [ComponentDecorator],+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);+ const tooltip = await canvas.findByTestId('tooltip');+ await userEvent.hover(tooltip);+ },+};++export const SingleLineWithReactNodeOverflowing: Story = {+ args: {+ text: (+ <>+ {longText} · <strong>Secondary Label</strong>+ </>+ ),+ tooltipContent: `${longText} · Secondary Label`,+ },+ decorators: [ComponentDecorator],+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);+ const tooltip = await canvas.findByTestId('tooltip');+ await userEvent.hover(tooltip);+ },+};++export const SingleLineWithReactNodeNotOverflowing: Story = {+ args: {+ text: (+ <>+ A · <strong>B</strong>+ </>+ ),+ tooltipContent: 'A · B',+ },+ decorators: [ComponentDecorator],+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);+ const tooltip = await canvas.findByTestId('tooltip');+ await userEvent.hover(tooltip);+ },+};++export const MultilineWithReactNodeOverflowing: Story = {+ args: {+ text: (+ <>+ Hello! <i>{longText}</i> · <strong>Important Note</strong>+ </>+ ),+ tooltipContent: `Hello! ${longText} · Important Note`,+ displayedMaxRows: 2,+ },+ decorators: [ComponentDecorator],+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);+ const tooltip = await canvas.findByTestId('tooltip');+ await userEvent.hover(tooltip);+ },+};++export const MultilineWithReactNodeNotOverflowing: Story = {+ args: {+ text: (+ <>+ A · <strong>B</strong>+ </>+ ),+ tooltipContent: 'A · B',+ displayedMaxRows: 2,+ },+ decorators: [ComponentDecorator],+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);+ const tooltip = await canvas.findByTestId('tooltip');+ await userEvent.hover(tooltip);+ },+};diff --git a/packages/twenty-ui/src/display/tooltip/__stories__/Tooltip.stories.tsx b/packages/twenty-ui/src/display/tooltip/__stories__/Tooltip.stories.tsxnew file mode 100644index 00000000000..ba1d73d4354--- /dev/null+++ b/packages/twenty-ui/src/display/tooltip/__stories__/Tooltip.stories.tsx@@ -0,0 +1,174 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';++import {+ AppTooltip as Tooltip,+ TooltipDelay,+ TooltipPosition,+} from '../AppTooltip';++const meta: Meta<typeof Tooltip> = {+ title: 'UI/Display/Tooltip',+ component: Tooltip,+};++export default meta;+type Story = StoryObj<typeof Tooltip>;++export const Default: Story = {+ args: {+ place: TooltipPosition.Bottom,+ delay: TooltipDelay.mediumDelay,+ content: 'Tooltip Test',+ hidden: false,+ anchorSelect: '#hover-text',+ },+ decorators: [ComponentDecorator],+ render: ({+ anchorSelect,+ className,+ content,+ delay,+ hidden,+ noArrow,+ offset,+ place,+ positionStrategy,+ clickable,+ }) => (+ <>+ <p id="hover-text" data-testid="tooltip">+ Hover me!+ </p>+ <Tooltip+ {...{+ anchorSelect,+ className,+ content,+ delay,+ hidden,+ noArrow,+ offset,+ place,+ positionStrategy,+ clickable,+ }}+ />+ </>+ ),+};++export const Hoverable: Story = {+ args: {+ place: TooltipPosition.Bottom,+ delay: TooltipDelay.mediumDelay,+ content: 'Tooltip Test',+ hidden: false,+ anchorSelect: '#hover-text',+ },+ decorators: [ComponentDecorator],+ render: ({+ anchorSelect,+ className,+ content,+ delay,+ noArrow,+ offset,+ place,+ positionStrategy,+ }) => (+ <>+ <p id="hover-text" data-testid="tooltip">+ Hover me!+ </p>+ <Tooltip+ {...{+ anchorSelect,+ className,+ content,+ delay,+ noArrow,+ offset,+ place,+ positionStrategy,+ }}+ />+ </>+ ),+};++export const WithWidth: Story = {+ args: {+ place: TooltipPosition.Top,+ delay: TooltipDelay.mediumDelay,+ content: 'Tooltip with custom width',+ hidden: false,+ anchorSelect: '#width-text',+ width: '200px',+ },+ decorators: [ComponentDecorator],+ render: ({+ anchorSelect,+ className,+ content,+ delay,+ noArrow,+ offset,+ place,+ positionStrategy,+ width,+ }) => (+ <>+ <p id="width-text" data-testid="tooltip">+ Hover me to see custom width!+ </p>+ <Tooltip+ {...{+ anchorSelect,+ className,+ content,+ delay,+ noArrow,+ offset,+ place,+ positionStrategy,+ width,+ }}+ />+ </>+ ),+};++export const Catalog: CatalogStory<Story, typeof Tooltip> = {+ args: { hidden: false, content: 'Tooltip Test' },+ play: async ({ canvasElement }) => {+ Object.values(TooltipPosition).forEach((position) => {+ const element = canvasElement.querySelector(+ `#${position}`,+ ) as HTMLElement;+ element.style.margin = '75px';+ });+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'anchorSelect',+ values: Object.values(TooltipPosition),+ props: (anchorSelect: TooltipPosition) => ({+ anchorSelect: `#${anchorSelect}`,+ place: anchorSelect,+ }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/display/typography/components/H1Title.module.scss b/packages/twenty-ui/src/display/typography/components/H1Title.module.scssnew file mode 100644index 00000000000..cae007191ca--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/H1Title.module.scss@@ -0,0 +1,19 @@+.title {+ font-size: var(--t-font-size-lg);+ font-weight: var(--t-font-weight-semi-bold);+ line-height: var(--t-text-line-height-md);+ margin: 0;+ margin-bottom: var(--t-spacing-4);+}++.primary {+ color: var(--t-font-color-primary);+}++.secondary {+ color: var(--t-font-color-secondary);+}++.tertiary {+ color: var(--t-font-color-tertiary);+}diff --git a/packages/twenty-ui/src/display/typography/components/H1Title.module.scss.d.ts b/packages/twenty-ui/src/display/typography/components/H1Title.module.scss.d.tsnew file mode 100644index 00000000000..d2e27896d41--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/H1Title.module.scss.d.ts@@ -0,0 +1,7 @@+declare const classNames: {+ readonly title: 'title';+ readonly primary: 'primary';+ readonly secondary: 'secondary';+ readonly tertiary: 'tertiary';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/typography/components/H1Title.tsx b/packages/twenty-ui/src/display/typography/components/H1Title.tsxnew file mode 100644index 00000000000..b1fe71dd4f7--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/H1Title.tsx@@ -0,0 +1,36 @@+import { type ReactNode } from 'react';+import { clsx } from 'clsx';++import styles from './H1Title.module.scss';++type H1TitleProps = {+ title: ReactNode;+ fontColor?: H1TitleFontColor;+ className?: string;+};++export enum H1TitleFontColor {+ Primary = 'primary',+ Secondary = 'secondary',+ Tertiary = 'tertiary',+}++const fontColorClassNames: Record<H1TitleFontColor, string> = {+ [H1TitleFontColor.Primary]: styles.primary,+ [H1TitleFontColor.Secondary]: styles.secondary,+ [H1TitleFontColor.Tertiary]: styles.tertiary,+};++export const H1Title = ({+ title,+ fontColor = H1TitleFontColor.Tertiary,+ className,+}: H1TitleProps) => {+ return (+ <h2+ className={clsx(styles.title, fontColorClassNames[fontColor], className)}+ >+ {title}+ </h2>+ );+};diff --git a/packages/twenty-ui/src/display/typography/components/H2Title.module.scss b/packages/twenty-ui/src/display/typography/components/H2Title.module.scssnew file mode 100644index 00000000000..a0129ea151c--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/H2Title.module.scss@@ -0,0 +1,26 @@+.container {+ display: flex;+ flex-direction: column;+ margin-bottom: var(--t-spacing-4);+}++.titleContainer {+ align-items: center;+ display: flex;+ justify-content: space-between;+}++.title {+ color: var(--t-font-color-primary);+ font-size: var(--t-font-size-md);+ font-weight: var(--t-font-weight-semi-bold);+ margin: 0;+}++.description {+ color: var(--t-font-color-tertiary);+ font-size: var(--t-font-size-md);+ font-weight: var(--t-font-weight-regular);+ margin: 0;+ margin-top: var(--t-spacing-2);+}diff --git a/packages/twenty-ui/src/display/typography/components/H2Title.module.scss.d.ts b/packages/twenty-ui/src/display/typography/components/H2Title.module.scss.d.tsnew file mode 100644index 00000000000..6f9a3f97b1b--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/H2Title.module.scss.d.ts@@ -0,0 +1,7 @@+declare const classNames: {+ readonly container: 'container';+ readonly titleContainer: 'titleContainer';+ readonly title: 'title';+ readonly description: 'description';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/typography/components/H2Title.tsx b/packages/twenty-ui/src/display/typography/components/H2Title.tsxnew file mode 100644index 00000000000..ceca604430e--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/H2Title.tsx@@ -0,0 +1,37 @@+import { clsx } from 'clsx';++import { OverflowingTextWithTooltip } from '@ui/display/tooltip/OverflowingTextWithTooltip';++import styles from './H2Title.module.scss';++type H2TitleProps = {+ title: string;+ description?: string;+ adornment?: React.ReactNode;+ className?: string;+};++export const H2Title = ({+ title,+ description,+ adornment,+ className,+}: H2TitleProps) => {+ return (+ <div className={clsx(styles.container, className)}>+ <div className={styles.titleContainer}>+ <h2 className={styles.title}>{title}</h2>+ {adornment}+ </div>+ {description && (+ <h3 className={styles.description}>+ <OverflowingTextWithTooltip+ text={description}+ displayedMaxRows={5}+ isTooltipMultiline={true}+ />+ </h3>+ )}+ </div>+ );+};diff --git a/packages/twenty-ui/src/display/typography/components/H3Title.module.scss b/packages/twenty-ui/src/display/typography/components/H3Title.module.scssnew file mode 100644index 00000000000..a0751fdd94a--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/H3Title.module.scss@@ -0,0 +1,19 @@+.container {+ display: flex;+ flex-direction: column;+}++.title {+ color: var(--t-font-color-primary);+ font-size: var(--t-font-size-lg);+ font-weight: var(--t-font-weight-semi-bold);+ margin: 0;+}++.description {+ color: var(--t-font-color-tertiary);+ font-size: var(--t-font-size-md);+ font-weight: var(--t-font-weight-regular);+ margin: 0;+ margin-top: var(--t-spacing-2);+}diff --git a/packages/twenty-ui/src/display/typography/components/H3Title.module.scss.d.ts b/packages/twenty-ui/src/display/typography/components/H3Title.module.scss.d.tsnew file mode 100644index 00000000000..1b98f93c04c--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/H3Title.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly container: 'container';+ readonly title: 'title';+ readonly description: 'description';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/typography/components/H3Title.tsx b/packages/twenty-ui/src/display/typography/components/H3Title.tsxnew file mode 100644index 00000000000..9252d38e50d--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/H3Title.tsx@@ -0,0 +1,31 @@+import { type ReactNode } from 'react';+import { clsx } from 'clsx';++import { OverflowingTextWithTooltip } from '@ui/display/tooltip/OverflowingTextWithTooltip';++import styles from './H3Title.module.scss';++type H3TitleProps = {+ title: ReactNode;+ description?: string;+ className?: string;+};++export const H3Title = ({ title, description, className }: H3TitleProps) => {+ return (+ <div className={clsx(styles.container, className)}>+ <h3 className={styles.title}>{title}</h3>+ {description && (+ // Design rule: Never set a description for H3 if there are any H2 in the page+ // (in that case, each H2 must have its own description)+ <h4 className={styles.description}>+ <OverflowingTextWithTooltip+ text={description}+ displayedMaxRows={2}+ isTooltipMultiline={true}+ />+ </h4>+ )}+ </div>+ );+};diff --git a/packages/twenty-ui/src/display/typography/components/Label.module.scss b/packages/twenty-ui/src/display/typography/components/Label.module.scssnew file mode 100644index 00000000000..21a490a5fae--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/Label.module.scss@@ -0,0 +1,12 @@+.label {+ color: var(--t-font-color-light);+ font-weight: var(--t-font-weight-semi-bold);+}++.default {+ font-size: 11px;+}++.small {+ font-size: 9px;+}diff --git a/packages/twenty-ui/src/display/typography/components/Label.module.scss.d.ts b/packages/twenty-ui/src/display/typography/components/Label.module.scss.d.tsnew file mode 100644index 00000000000..17dd1e5c592--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/Label.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly label: 'label';+ readonly default: 'default';+ readonly small: 'small';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/typography/components/Label.tsx b/packages/twenty-ui/src/display/typography/components/Label.tsxnew file mode 100644index 00000000000..c9c6c71d65e--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/Label.tsx@@ -0,0 +1,23 @@+import { clsx } from 'clsx';++import styles from './Label.module.scss';++export type LabelVariant = 'default' | 'small';++type LabelProps = {+ variant?: LabelVariant;+ children?: React.ReactNode;+ className?: string;+};++export const Label = ({+ variant = 'default',+ children,+ className,+}: LabelProps) => {+ return (+ <div className={clsx(styles.label, styles[variant], className)}>+ {children}+ </div>+ );+};diff --git a/packages/twenty-ui/src/display/typography/components/StyledText.module.scss b/packages/twenty-ui/src/display/typography/components/StyledText.module.scssnew file mode 100644index 00000000000..296c89c73e0--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/StyledText.module.scss@@ -0,0 +1,28 @@+.content {+ font-size: var(--t-font-size-sm);+ font-weight: var(--t-font-weight-regular);++ overflow: hidden;+ padding-left: 0;++ white-space: nowrap;+}++.wrapper {+ --horizontal-padding: var(--t-spacing-1);+ --vertical-padding: var(--t-spacing-2);++ cursor: initial;++ display: flex;++ flex-direction: row;++ font-size: var(--t-font-size-sm);++ gap: var(--t-spacing-2);++ padding: var(--vertical-padding) 0;++ color: var(--styled-text-color, var(--t-font-color-primary));+}diff --git a/packages/twenty-ui/src/display/typography/components/StyledText.module.scss.d.ts b/packages/twenty-ui/src/display/typography/components/StyledText.module.scss.d.tsnew file mode 100644index 00000000000..98d24e6a059--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/StyledText.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly content: 'content';+ readonly wrapper: 'wrapper';+};+export default classNames;diff --git a/packages/twenty-ui/src/display/typography/components/StyledText.tsx b/packages/twenty-ui/src/display/typography/components/StyledText.tsxnew file mode 100644index 00000000000..404788a661a--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/StyledText.tsx@@ -0,0 +1,55 @@+import { type ReactElement, type ReactNode } from 'react';+import { clsx } from 'clsx';++import styles from './StyledText.module.scss';++type StyledTextProps = {+ PrefixComponent?: ReactElement;+ text: ReactNode;+ color?: string;+};++type StyledTextContentProps = React.ComponentPropsWithoutRef<'div'>;++export const StyledTextContent = ({+ className,+ ...divProps+}: StyledTextContentProps) => (+ // oxlint-disable-next-line react/jsx-props-no-spreading+ <div className={clsx(styles.content, className)} {...divProps} />+);++type StyledTextWrapperProps = React.ComponentPropsWithoutRef<'div'> & {+ color?: string;+};++export const StyledTextWrapper = ({+ color,+ className,+ style,+ ...divProps+}: StyledTextWrapperProps) => (+ <div+ className={clsx(styles.wrapper, className)}+ style={+ color+ ? ({ '--styled-text-color': color, ...style } as React.CSSProperties)+ : style+ }+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...divProps}+ />+);++export const StyledText = ({+ PrefixComponent,+ text,+ color,+}: StyledTextProps) => {+ return (+ <StyledTextWrapper color={color}>+ {PrefixComponent ? PrefixComponent : null}+ <StyledTextContent>{text}</StyledTextContent>+ </StyledTextWrapper>+ );+};diff --git a/packages/twenty-ui/src/display/typography/components/__stories__/H1Title.stories.tsx b/packages/twenty-ui/src/display/typography/components/__stories__/H1Title.stories.tsxnew file mode 100644index 00000000000..9c7dd69a9de--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/__stories__/H1Title.stories.tsx@@ -0,0 +1,45 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { CatalogDecorator } from '@ui/testing/decorators/CatalogDecorator';+import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';+import { type CatalogStory } from '@ui/testing/types/CatalogStory';++import { H1Title, H1TitleFontColor } from '../H1Title';++const meta: Meta<typeof H1Title> = {+ title: 'UI/Display/Typography/Title/H1Title',+ component: H1Title,+ decorators: [ComponentDecorator],+};++export default meta;++type Story = StoryObj<typeof H1Title>;++const args = {+ title: 'Title',+ fontColor: H1TitleFontColor.Primary,+};++export const Default: Story = {+ args,+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof H1Title> = {+ args,+ decorators: [CatalogDecorator],+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'FontColor',+ values: Object.values(H1TitleFontColor),+ props: (fontColor: H1TitleFontColor) => ({ fontColor }),+ },+ ],+ },+ },+};diff --git a/packages/twenty-ui/src/display/typography/components/__stories__/H2Title.stories.tsx b/packages/twenty-ui/src/display/typography/components/__stories__/H2Title.stories.tsxnew file mode 100644index 00000000000..b936452bc0b--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/__stories__/H2Title.stories.tsx@@ -0,0 +1,34 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';++import { H2Title } from '../H2Title';++const args = {+ title: 'Sub title',+ description: 'Lorem ipsum dolor sit amet',+};++const meta: Meta<typeof H2Title> = {+ title: 'UI/Display/Typography/Title/H2Title',+ component: H2Title,+ decorators: [ComponentDecorator],+ args: {+ title: args.title,+ },+};++export default meta;++type Story = StoryObj<typeof H2Title>;++export const Default: Story = {+ decorators: [ComponentDecorator],+};++export const WithDescription: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args,+ decorators: [ComponentDecorator],+};diff --git a/packages/twenty-ui/src/display/typography/components/__stories__/H3Title.stories.tsx b/packages/twenty-ui/src/display/typography/components/__stories__/H3Title.stories.tsxnew file mode 100644index 00000000000..78286472d71--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/__stories__/H3Title.stories.tsx@@ -0,0 +1,22 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';++import { H3Title } from '../H3Title';++const meta: Meta<typeof H3Title> = {+ title: 'UI/Display/Typography/Title/H3Title',+ component: H3Title,+ decorators: [ComponentDecorator],+ args: {+ title: 'H3 title',+ },+};++export default meta;++type Story = StoryObj<typeof H3Title>;++export const Default: Story = {+ decorators: [ComponentDecorator],+};diff --git a/packages/twenty-ui/src/display/typography/components/__stories__/Label.stories.tsx b/packages/twenty-ui/src/display/typography/components/__stories__/Label.stories.tsxnew file mode 100644index 00000000000..3497371d282--- /dev/null+++ b/packages/twenty-ui/src/display/typography/components/__stories__/Label.stories.tsx@@ -0,0 +1,46 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { CatalogDecorator } from '@ui/testing/decorators/CatalogDecorator';+import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';+import { type CatalogStory } from '@ui/testing/types/CatalogStory';++import { Label, type LabelVariant } from '../Label';++const meta: Meta<typeof Label> = {+ title: 'UI/Display/Typography/Label',+ component: Label,+ decorators: [ComponentDecorator],+};++export default meta;++type Story = StoryObj<typeof Label>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ decorators: [ComponentDecorator],+ args: {+ children: 'Label',+ },+};++export const Catalog: CatalogStory<Story, typeof Label> = {+ decorators: [CatalogDecorator],+ args: {+ children: 'Label',+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'Variant',+ values: ['default', 'small'] satisfies LabelVariant[],+ props: (variant: LabelVariant) => ({ variant }),+ },+ ],+ },+ },+};diff --git a/packages/twenty-ui/src/feedback/index.ts b/packages/twenty-ui/src/feedback/index.tsindex a3046804c03..dc1e6593314 100644--- a/packages/twenty-ui/src/feedback/index.ts+++ b/packages/twenty-ui/src/feedback/index.ts@@ -7,4 +7,11 @@* |___/*/-export {};+export { Loader } from './loader/components/Loader';+export { CircularProgressBar } from './progress-bar/components/CircularProgressBar';+export type {+ ProgressBarProps,+ StyledBarProps,+} from './progress-bar/components/ProgressBar';+export { ProgressBar } from './progress-bar/components/ProgressBar';+export { useProgressAnimation } from './progress-bar/hooks/useProgressAnimation';diff --git a/packages/twenty-ui/src/feedback/loader/__stories__/Loader.stories.tsx b/packages/twenty-ui/src/feedback/loader/__stories__/Loader.stories.tsxnew file mode 100644index 00000000000..2314ee5ea17--- /dev/null+++ b/packages/twenty-ui/src/feedback/loader/__stories__/Loader.stories.tsx@@ -0,0 +1,96 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { expect, waitFor } from 'storybook/test';++import { ComponentDecorator } from '@ui/testing';++import { Loader } from '../components/Loader';++const meta: Meta<typeof Loader> = {+ title: 'UI/Feedback/Loader',+ component: Loader,+ decorators: [ComponentDecorator],+};++export default meta;++type Story = StoryObj<typeof Loader>;++export const WithColor: Story = {+ args: {+ color: 'red',+ },+ play: async ({ canvasElement }) => {+ await waitFor(() => {+ const element = canvasElement.querySelector(':first-child');++ expect(element).toBeVisible();++ return element;+ });+ },+};++export const WithDefaultCssVariable: Story = {+ decorators: [+ (Story) => (+ // @ts-expect-error: Custom CSS variable for demonstration purposes+ <div style={{ '--tw-button-color': 'blue' }}>+ <Story />+ </div>+ ),+ ],+ play: async ({ canvasElement }) => {+ await waitFor(() => {+ const element = canvasElement.querySelector(':first-child');++ expect(element).toBeVisible();++ return element;+ });+ },+};++export const WithDefaultColor: Story = {+ play: async ({ canvasElement }) => {+ await waitFor(() => {+ const element = canvasElement.querySelector(':first-child');++ expect(element).toBeVisible();++ return element;+ });+ },+};++export const WithDifferentColors: Story = {+ render: () => (+ <div id="container" style={{ display: 'flex', gap: '16px' }}>+ <Loader color="red" />+ <Loader color="blue" />+ <Loader color="yellow" />+ <Loader color="green" />+ </div>+ ),+ play: async ({ canvasElement }) => {+ const loaders = await waitFor(() => {+ const elements = canvasElement.querySelectorAll('#container > *');++ expect(elements).toHaveLength(4);++ return elements;+ });++ expect(loaders[0]).toHaveStyle({+ borderColor: expect.stringContaining('red'),+ });+ expect(loaders[1]).toHaveStyle({+ borderColor: expect.stringContaining('blue'),+ });+ expect(loaders[2]).toHaveStyle({+ borderColor: expect.stringContaining('yellow'),+ });+ expect(loaders[3]).toHaveStyle({+ borderColor: expect.stringContaining('green'),+ });+ },+};diff --git a/packages/twenty-ui/src/feedback/loader/components/Loader.module.scss b/packages/twenty-ui/src/feedback/loader/components/Loader.module.scssnew file mode 100644index 00000000000..81888e2b40e--- /dev/null+++ b/packages/twenty-ui/src/feedback/loader/components/Loader.module.scss@@ -0,0 +1,47 @@+.container {+ box-sizing: border-box;+ justify-content: center;+ align-items: center;+ display: flex;+ gap: var(--t-spacing-2);+ width: var(--t-spacing-6);+ height: var(--t-spacing-3);+ border-radius: var(--t-border-radius-pill);+ border: 1px solid+ var(--loader-color, var(--tw-button-color, var(--t-font-color-tertiary)));+ overflow: hidden;+}++.dot {+ background-color: var(+ --loader-color,+ var(--tw-button-color, var(--t-font-color-tertiary))+ );+ border-radius: var(--t-border-radius-pill);+ height: 8px;+ width: 8px;+ animation: loaderDot 0.8s ease-in-out infinite;+}++// Replicates the framer keyframes: x [-16, 0, 16], width [8, 12, 8],+// height [8, 2, 8] with times [0, 0.15, 0.3] over a 0.8s loop.+@keyframes loaderDot {+ 0% {+ transform: translateX(-16px);+ width: 8px;+ height: 8px;+ }++ 15% {+ transform: translateX(0);+ width: 12px;+ height: 2px;+ }++ 30%,+ 100% {+ transform: translateX(16px);+ width: 8px;+ height: 8px;+ }+}diff --git a/packages/twenty-ui/src/feedback/loader/components/Loader.module.scss.d.ts b/packages/twenty-ui/src/feedback/loader/components/Loader.module.scss.d.tsnew file mode 100644index 00000000000..d926ea2493c--- /dev/null+++ b/packages/twenty-ui/src/feedback/loader/components/Loader.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly container: 'container';+ readonly dot: 'dot';+};+export default classNames;diff --git a/packages/twenty-ui/src/feedback/loader/components/Loader.tsx b/packages/twenty-ui/src/feedback/loader/components/Loader.tsxnew file mode 100644index 00000000000..bc8a4ae4b69--- /dev/null+++ b/packages/twenty-ui/src/feedback/loader/components/Loader.tsx@@ -0,0 +1,25 @@+import { type ThemeColor } from '@ui/theme';+import { themeCssVariables } from '@ui/theme-constants';++import styles from './Loader.module.scss';++type LoaderProps = {+ color?: ThemeColor;+};++export const Loader = ({ color }: LoaderProps) => {+ return (+ <div+ className={styles.container}+ style={+ color+ ? ({+ '--loader-color': themeCssVariables.tag.text[color],+ } as React.CSSProperties)+ : undefined+ }+ >+ <div className={styles.dot} />+ </div>+ );+};diff --git a/packages/twenty-ui/src/feedback/progress-bar/components/CircularProgressBar.tsx b/packages/twenty-ui/src/feedback/progress-bar/components/CircularProgressBar.tsxnew file mode 100644index 00000000000..9964b49106a--- /dev/null+++ b/packages/twenty-ui/src/feedback/progress-bar/components/CircularProgressBar.tsx@@ -0,0 +1,71 @@+import { motion, useAnimation } from 'framer-motion';+import { useEffect, useMemo } from 'react';++type CircularProgressBarProps = {+ size?: number;+ barWidth?: number;+ barColor?: string;+};++export const CircularProgressBar = ({+ size = 50,+ barWidth = 5,+ barColor = 'currentColor',+}: CircularProgressBarProps) => {+ const controls = useAnimation();++ const circumference = useMemo(+ () => 2 * Math.PI * (size / 2 - barWidth),+ [size, barWidth],+ );++ useEffect(() => {+ const animateIndeterminate = async () => {+ const baseSegment = Math.max(5, circumference / 10); // Adjusting for smaller values++ // Adjusted sequence based on baseSegment+ const dashSequences = [+ `${baseSegment} ${circumference - baseSegment}`,+ `${baseSegment * 2} ${circumference - baseSegment * 2}`,+ `${baseSegment * 3} ${circumference - baseSegment * 3}`,+ `${baseSegment * 2} ${circumference - baseSegment * 2}`,+ `${baseSegment} ${circumference - baseSegment}`,+ ];++ await controls.start({+ strokeDasharray: dashSequences,+ rotate: [0, 720],+ transition: {+ strokeDasharray: {+ duration: 2,+ ease: 'linear',+ repeat: Infinity,+ repeatType: 'loop',+ },+ rotate: {+ duration: 2,+ ease: 'linear',+ repeat: Infinity,+ repeatType: 'loop',+ },+ },+ });+ };++ animateIndeterminate();+ }, [circumference, controls]);++ return (+ <motion.svg width={size} height={size} animate={controls}>+ <motion.circle+ cx={size / 2}+ cy={size / 2}+ r={size / 2 - barWidth}+ fill="none"+ stroke={barColor}+ strokeWidth={barWidth}+ strokeLinecap="round"+ />+ </motion.svg>+ );+};diff --git a/packages/twenty-ui/src/feedback/progress-bar/components/ProgressBar.module.scss b/packages/twenty-ui/src/feedback/progress-bar/components/ProgressBar.module.scssnew file mode 100644index 00000000000..cbb0c72a730--- /dev/null+++ b/packages/twenty-ui/src/feedback/progress-bar/components/ProgressBar.module.scss@@ -0,0 +1,22 @@+.bar {+ height: var(--t-spacing-2);+ background-color: var(--progress-bar-background-color, none);+ border-radius: 0;+ overflow: hidden;+ width: 100%;++ &[data-with-border-radius] {+ border-radius: var(--t-border-radius-xxl);+ }+}++.barFilling {+ background-color: var(--progress-bar-color, var(--t-font-color-primary));+ border-radius: 0;+ height: 100%;+ width: 100%;++ &[data-with-border-radius] {+ border-radius: var(--t-border-radius-md);+ }+}diff --git a/packages/twenty-ui/src/feedback/progress-bar/components/ProgressBar.module.scss.d.ts b/packages/twenty-ui/src/feedback/progress-bar/components/ProgressBar.module.scss.d.tsnew file mode 100644index 00000000000..9ced34bf105--- /dev/null+++ b/packages/twenty-ui/src/feedback/progress-bar/components/ProgressBar.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly bar: 'bar';+ readonly barFilling: 'barFilling';+};+export default classNames;diff --git a/packages/twenty-ui/src/feedback/progress-bar/components/ProgressBar.tsx b/packages/twenty-ui/src/feedback/progress-bar/components/ProgressBar.tsxnew file mode 100644index 00000000000..ba531cb11f0--- /dev/null+++ b/packages/twenty-ui/src/feedback/progress-bar/components/ProgressBar.tsx@@ -0,0 +1,58 @@+import { clsx } from 'clsx';++import styles from './ProgressBar.module.scss';++export type ProgressBarProps = {+ value: number;+ className?: string;+ barColor?: string;+ backgroundColor?: string;+ withBorderRadius?: boolean;+};++export type StyledBarProps = {+ className?: string;+ backgroundColor?: string;+ withBorderRadius?: boolean;+};++const MIN_BAR_WIDTH_PX = 12;++export const ProgressBar = ({+ value,+ className,+ barColor,+ backgroundColor = 'none',+ withBorderRadius = false,+}: ProgressBarProps) => (+ <div+ className={clsx(styles.bar, className)}+ data-with-border-radius={withBorderRadius || undefined}+ role="progressbar"+ aria-valuenow={Math.ceil(value)}+ style={+ {+ '--progress-bar-background-color': backgroundColor,+ } as React.CSSProperties+ }+ >+ <div+ style={{+ height: '100%',+ minWidth: value > 0 ? MIN_BAR_WIDTH_PX : 0,+ width: `${Math.ceil(value)}%`,+ transition: 'width 0.3s linear',+ }}+ >+ <div+ className={styles.barFilling}+ data-with-border-radius={withBorderRadius || undefined}+ style={+ barColor+ ? ({ '--progress-bar-color': barColor } as React.CSSProperties)+ : undefined+ }+ />+ </div>+ </div>+);diff --git a/packages/twenty-ui/src/feedback/progress-bar/components/__stories__/CircularProgressBar.stories.tsx b/packages/twenty-ui/src/feedback/progress-bar/components/__stories__/CircularProgressBar.stories.tsxnew file mode 100644index 00000000000..36dc05b944b--- /dev/null+++ b/packages/twenty-ui/src/feedback/progress-bar/components/__stories__/CircularProgressBar.stories.tsx@@ -0,0 +1,56 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { CatalogDecorator, type CatalogStory } from '@ui/testing';++import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';+import { CircularProgressBar } from '../CircularProgressBar';++const meta: Meta<typeof CircularProgressBar> = {+ title: 'UI/Feedback/CircularProgressBar/CircularProgressBar',+ component: CircularProgressBar,+ args: {+ size: 50,+ },+ parameters: {+ chromatic: { disableSnapshot: true },+ },+};++export default meta;++type Story = StoryObj<typeof CircularProgressBar>;++export const Default: Story = {+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof CircularProgressBar> = {+ argTypes: {},+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'barColor',+ values: [undefined, 'red'],+ props: (barColor: string) => ({ barColor }),+ labels: (color: string) => `Segment Color: ${color ?? 'default'}`,+ },+ {+ name: 'barWidth',+ values: [undefined, 5, 10],+ props: (barWidth: number) => ({ barWidth }),+ labels: (width: number) =>+ `Stroke Width: ${width ? width + ' px' : 'default'}`,+ },+ {+ name: 'size',+ values: [undefined, 80, 30],+ props: (size: number) => ({ size }),+ labels: (size: number) => `Size: ${size ? size + ' px' : 'default'}`,+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/feedback/progress-bar/components/__stories__/ProgressBar.stories.tsx b/packages/twenty-ui/src/feedback/progress-bar/components/__stories__/ProgressBar.stories.tsxnew file mode 100644index 00000000000..04d1cabd42b--- /dev/null+++ b/packages/twenty-ui/src/feedback/progress-bar/components/__stories__/ProgressBar.stories.tsx@@ -0,0 +1,50 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { useProgressAnimation } from '@ui/feedback/progress-bar/hooks/useProgressAnimation';+import { ComponentDecorator } from '@ui/testing/decorators/ComponentDecorator';+import { ProgressBar } from '../ProgressBar';++const meta: Meta<typeof ProgressBar> = {+ title: 'UI/Feedback/ProgressBar/ProgressBar',+ component: ProgressBar,+ decorators: [ComponentDecorator],+ argTypes: {+ className: { control: false },+ value: { control: { type: 'range', min: 0, max: 100, step: 1 } },+ },+};++export default meta;++type Story = StoryObj<typeof ProgressBar>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: 75,+ },+};++export const Animated: Story = {+ tags: ['!test'],+ argTypes: {+ value: { control: false },+ },+ decorators: [+ (Story) => {+ const { value } = useProgressAnimation({+ autoPlay: true,+ initialValue: 0,+ finalValue: 100,+ options: {+ duration: 10000,+ },+ });++ return <Story args={{ value }} />;+ },+ ],+ parameters: {+ chromatic: { disableSnapshot: true },+ },+};diff --git a/packages/twenty-ui/src/feedback/progress-bar/hooks/useProgressAnimation.ts b/packages/twenty-ui/src/feedback/progress-bar/hooks/useProgressAnimation.tsnew file mode 100644index 00000000000..fa99cdbb5b2--- /dev/null+++ b/packages/twenty-ui/src/feedback/progress-bar/hooks/useProgressAnimation.ts@@ -0,0 +1,57 @@+import { millisecondsToSeconds } from 'date-fns';+import {+ animate,+ type AnimationPlaybackControls,+ type ValueAnimationTransition,+} from 'framer-motion';+import { useCallback, useEffect, useState } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++export const useProgressAnimation = ({+ autoPlay = true,+ initialValue = 0,+ finalValue = 100,+ options,+}: {+ autoPlay?: boolean;+ initialValue?: number;+ finalValue?: number;+ options?: ValueAnimationTransition<number>;+}) => {+ const [animation, setAnimation] = useState<+ AnimationPlaybackControls | undefined+ >();+ const [value, setValue] = useState(initialValue);++ const startAnimation = useCallback(() => {+ if (isDefined(animation)) return;++ const duration = isDefined(options?.duration)+ ? millisecondsToSeconds(options.duration)+ : undefined;++ setAnimation(+ animate(initialValue, finalValue, {+ ...options,+ duration,+ onUpdate: (nextValue) => {+ if (value === nextValue) return;+ setValue(nextValue);+ options?.onUpdate?.(nextValue);+ },+ }),+ );+ }, [animation, finalValue, initialValue, options, value]);++ useEffect(() => {+ if (autoPlay && !animation) {+ startAnimation();+ }+ }, [animation, autoPlay, startAnimation]);++ return {+ animation,+ startAnimation,+ value,+ };+};diff --git a/packages/twenty-ui/src/input/button/components/AnimatedButton.module.scss b/packages/twenty-ui/src/input/button/components/AnimatedButton.module.scssnew file mode 100644index 00000000000..4f4d52abd2b--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/AnimatedButton.module.scss@@ -0,0 +1,129 @@+// Static rules from the legacy Linaria StyledButton. The dynamic+// variant/accent/inverted/disabled/focus colors stay computed at runtime in+// AnimatedButton.tsx (computeAnimatedButtonDynamicStyles) and arrive through+// the --abtn-* inline custom properties, exactly like the deprecated source.+.button {+ align-items: center;+ background: var(--abtn-bg);+ border-color: var(--abtn-border-color);+ border-radius: var(--abtn-radius, var(--t-border-radius-sm));+ border-style: solid;+ border-width: var(--abtn-border-width);+ box-shadow: var(--abtn-box-shadow);+ color: var(--abtn-color);+ cursor: pointer;+ display: flex;+ flex-direction: row;+ font-family: var(--t-font-family);+ font-size: var(--t-font-size-md);+ font-weight: 500;+ gap: var(--t-spacing-1);+ justify-content: var(--abtn-justify, flex-start);+ padding: 0 var(--t-spacing-2);+ text-decoration: none;+ transition: background 0.1s ease;+ white-space: nowrap;+ width: auto;++ &:hover {+ background: var(--abtn-hover-bg);+ }++ &:active {+ background: var(--abtn-active-bg);+ }++ &:focus {+ outline: none;+ }++ &[data-disabled] {+ cursor: not-allowed;+ }+}++// position only reshapes the radius; standalone uses the .button fallback.+// These rules only assign the custom property so the border-radius+// declaration stays on the flat .button class for overridability.+.button[data-position='left'] {+ --abtn-radius: var(--t-border-radius-sm) 0px 0px var(--t-border-radius-sm);+}++.button[data-position='middle'] {+ --abtn-radius: 0px;+}++.button[data-position='right'] {+ --abtn-radius: 0px var(--t-border-radius-sm) var(--t-border-radius-sm) 0px;+}++// --abtn-square-size keeps the square width declaration flat on .square.+.small {+ --abtn-square-size: 24px;++ height: 24px;+}++.medium {+ --abtn-square-size: 32px;++ height: 32px;+}++.fullWidth {+ width: 100%;+}++// Square icon-only mode. Declared after .button and .fullWidth so its+// justify-content, padding and width win the cascade at equal specificity,+// matching the legacy ternary precedence (square beats fullWidth).+.square {+ justify-content: center;+ padding: 0;+ width: var(--abtn-square-size);+}++.motion {+ display: flex;+}++.separator {+ background: var(--t-font-color-light);+ height: var(--t-spacing-4);+ margin: 0;+ width: 1px;++ &[data-size='small'] {+ height: var(--t-spacing-2);+ }++ &[data-accent='blue'] {+ background: var(--t-border-color-blue);+ }++ &[data-accent='danger'] {+ background: var(--t-border-color-danger);+ }+}++.shortcutLabel {+ color: var(--t-font-color-light);+ font-weight: var(--t-font-weight-medium);++ &[data-accent='blue'] {+ color: var(--t-border-color-blue);+ }++ &[data-accent='danger'] {+ color: var(--t-color-red8);+ }++ &[data-accent='danger'][data-variant='primary'] {+ color: var(--t-border-color-danger);+ }+}++.soonPillContainer {+ display: flex;+ margin-left: auto;+}diff --git a/packages/twenty-ui/src/input/button/components/AnimatedButton.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/AnimatedButton.module.scss.d.tsnew file mode 100644index 00000000000..77d187e2b1f--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/AnimatedButton.module.scss.d.ts@@ -0,0 +1,12 @@+declare const classNames: {+ readonly button: 'button';+ readonly small: 'small';+ readonly medium: 'medium';+ readonly fullWidth: 'fullWidth';+ readonly square: 'square';+ readonly motion: 'motion';+ readonly separator: 'separator';+ readonly shortcutLabel: 'shortcutLabel';+ readonly soonPillContainer: 'soonPillContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/AnimatedButton.tsx b/packages/twenty-ui/src/input/button/components/AnimatedButton.tsxnew file mode 100644index 00000000000..59236332daf--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/AnimatedButton.tsx@@ -0,0 +1,436 @@+import { clsx } from 'clsx';+import { type MotionProps, motion } from 'framer-motion';+import React, { useContext, useMemo } from 'react';+import { Link } from 'react-router-dom';++import { Pill } from '@ui/components/Pill/Pill';+import { ThemeContext, themeCssVariables } from '@ui/theme-constants';+import { GRAY_SCALE_LIGHT } from '@ui/theme/constants/GrayScaleLight';+import { useIsMobile } from '@ui/utilities';+import { getOsShortcutSeparator } from '@ui/utilities/device/getOsShortcutSeparator';+import {+ type ButtonAccent,+ type ButtonPosition,+ type ButtonProps,+ type ButtonVariant,+} from './Button/Button';++import styles from './AnimatedButton.module.scss';++export type AnimatedButtonProps = ButtonProps &+ Pick<MotionProps, 'animate' | 'transition'> & {+ animatedSvg: React.ReactNode;+ soonLabel?: string;+ // Renders a square icon-only button (width matches the size-based height).+ square?: boolean;+ };++type AnimatedButtonDynamicStyles = {+ background: string;+ borderColor: string;+ borderWidthOverride: string;+ boxShadow: string;+ color: string;+ hoverBackground: string;+ activeBackground: string;+};++const computeAnimatedButtonDynamicStyles = (+ variant: ButtonVariant,+ inverted: boolean,+ accent: ButtonAccent,+ disabled: boolean,+ focus: boolean,+ position: ButtonPosition,+): AnimatedButtonDynamicStyles => {+ const result: AnimatedButtonDynamicStyles = {+ background: 'transparent',+ borderColor: 'transparent',+ borderWidthOverride: '',+ boxShadow: 'none',+ color: themeCssVariables.font.color.secondary,+ hoverBackground: 'transparent',+ activeBackground: 'transparent',+ };++ switch (variant) {+ case 'primary':+ switch (accent) {+ case 'default':+ result.background = !inverted+ ? themeCssVariables.background.secondary+ : themeCssVariables.background.primary;+ result.borderColor = !inverted+ ? !disabled && focus+ ? themeCssVariables.color.blue+ : themeCssVariables.background.transparent.light+ : themeCssVariables.background.transparent.light;+ result.borderWidthOverride = '1px 1px 1px 1px';+ result.boxShadow =+ !disabled && focus+ ? `0 0 0 3px ${+ !inverted+ ? themeCssVariables.accent.tertiary+ : themeCssVariables.background.transparent.medium+ }`+ : 'none';+ result.color = !inverted+ ? !disabled+ ? themeCssVariables.font.color.secondary+ : themeCssVariables.font.color.extraLight+ : themeCssVariables.font.color.secondary;+ if (!disabled) {+ result.hoverBackground = !inverted+ ? themeCssVariables.background.tertiary+ : themeCssVariables.background.secondary;+ result.activeBackground = !inverted+ ? themeCssVariables.background.quaternary+ : themeCssVariables.background.tertiary;+ } else {+ result.hoverBackground = result.background;+ result.activeBackground = result.background;+ }+ break;+ case 'blue':+ result.background = !inverted+ ? themeCssVariables.color.blue+ : themeCssVariables.background.primary;+ result.borderColor = !inverted+ ? focus+ ? themeCssVariables.color.blue+ : themeCssVariables.background.transparent.light+ : themeCssVariables.background.transparent.light;+ result.borderWidthOverride = '1px 1px 1px 1px';+ result.boxShadow =+ !disabled && focus+ ? `0 0 0 3px ${+ !inverted+ ? themeCssVariables.accent.tertiary+ : themeCssVariables.background.transparent.medium+ }`+ : 'none';+ result.color = !inverted+ ? GRAY_SCALE_LIGHT.gray1+ : themeCssVariables.color.blue;+ if (!disabled) {+ result.hoverBackground = !inverted+ ? themeCssVariables.color.blue10+ : themeCssVariables.background.secondary;+ result.activeBackground = !inverted+ ? themeCssVariables.color.blue12+ : themeCssVariables.background.tertiary;+ } else {+ result.hoverBackground = result.background;+ result.activeBackground = result.background;+ }+ break;+ case 'danger':+ result.background = !inverted+ ? themeCssVariables.color.red+ : themeCssVariables.background.primary;+ result.borderColor = !inverted+ ? focus+ ? themeCssVariables.color.red+ : themeCssVariables.background.transparent.light+ : themeCssVariables.background.transparent.light;+ result.borderWidthOverride = '1px 1px';+ result.boxShadow =+ !disabled && focus+ ? `0 0 0 3px ${+ !inverted+ ? themeCssVariables.color.red3+ : themeCssVariables.background.transparent.medium+ }`+ : 'none';+ result.color = !inverted+ ? themeCssVariables.background.primary+ : themeCssVariables.color.red;+ if (!disabled) {+ result.hoverBackground = !inverted+ ? themeCssVariables.color.red8+ : themeCssVariables.background.secondary;+ result.activeBackground = !inverted+ ? themeCssVariables.color.red10+ : themeCssVariables.background.tertiary;+ } else {+ result.hoverBackground = result.background;+ result.activeBackground = result.background;+ }+ break;+ }+ break;+ case 'secondary':+ case 'tertiary':+ switch (accent) {+ case 'default':+ result.background = 'transparent';+ result.borderColor = !inverted+ ? variant === 'secondary'+ ? !disabled && focus+ ? themeCssVariables.color.blue+ : themeCssVariables.background.transparent.medium+ : focus+ ? themeCssVariables.color.blue+ : 'transparent'+ : variant === 'secondary'+ ? focus || disabled+ ? GRAY_SCALE_LIGHT.gray1+ : themeCssVariables.background.transparent.primary+ : focus+ ? GRAY_SCALE_LIGHT.gray1+ : 'transparent';+ result.borderWidthOverride = '1px 1px 1px 1px';+ result.boxShadow =+ !disabled && focus+ ? `0 0 0 3px ${+ !inverted+ ? themeCssVariables.accent.tertiary+ : themeCssVariables.background.transparent.medium+ }`+ : 'none';+ result.color = !inverted+ ? !disabled+ ? themeCssVariables.font.color.secondary+ : themeCssVariables.font.color.extraLight+ : themeCssVariables.font.color.inverted;+ result.hoverBackground = !inverted+ ? !disabled+ ? themeCssVariables.background.transparent.light+ : 'transparent'+ : themeCssVariables.background.transparent.light;+ result.activeBackground = !inverted+ ? !disabled+ ? themeCssVariables.background.transparent.light+ : 'transparent'+ : themeCssVariables.background.transparent.medium;+ break;+ case 'blue':+ result.background = 'transparent';+ result.borderColor = !inverted+ ? variant === 'secondary'+ ? focus+ ? themeCssVariables.color.blue+ : themeCssVariables.accent.primary+ : focus+ ? themeCssVariables.color.blue+ : 'transparent'+ : variant === 'secondary'+ ? focus || disabled+ ? GRAY_SCALE_LIGHT.gray1+ : themeCssVariables.background.transparent.primary+ : focus+ ? GRAY_SCALE_LIGHT.gray1+ : 'transparent';+ result.borderWidthOverride = '1px 1px 1px 1px';+ result.boxShadow =+ !disabled && focus+ ? `0 0 0 3px ${+ !inverted+ ? themeCssVariables.accent.tertiary+ : themeCssVariables.background.transparent.medium+ }`+ : 'none';+ result.color = !inverted+ ? !disabled+ ? themeCssVariables.color.blue+ : themeCssVariables.accent.accent4060+ : themeCssVariables.font.color.inverted;+ result.hoverBackground = !inverted+ ? !disabled+ ? themeCssVariables.accent.tertiary+ : 'transparent'+ : themeCssVariables.background.transparent.light;+ result.activeBackground = !inverted+ ? !disabled+ ? themeCssVariables.accent.secondary+ : 'transparent'+ : themeCssVariables.background.transparent.medium;+ break;+ case 'danger':+ result.background = 'transparent';+ result.borderColor = !inverted+ ? variant === 'secondary'+ ? focus+ ? themeCssVariables.color.red+ : themeCssVariables.border.color.danger+ : focus+ ? themeCssVariables.color.red+ : 'transparent'+ : variant === 'secondary'+ ? focus || disabled+ ? GRAY_SCALE_LIGHT.gray1+ : themeCssVariables.background.transparent.primary+ : focus+ ? GRAY_SCALE_LIGHT.gray1+ : 'transparent';+ result.borderWidthOverride = '1px 1px 1px 1px';+ result.boxShadow =+ !disabled && focus+ ? `0 0 0 3px ${+ !inverted+ ? themeCssVariables.color.red3+ : themeCssVariables.background.transparent.medium+ }`+ : 'none';+ result.color = !inverted+ ? themeCssVariables.font.color.danger+ : themeCssVariables.font.color.inverted;+ result.hoverBackground = !inverted+ ? !disabled+ ? themeCssVariables.background.danger+ : 'transparent'+ : themeCssVariables.background.transparent.light;+ result.activeBackground = !inverted+ ? !disabled+ ? themeCssVariables.background.danger+ : 'transparent'+ : themeCssVariables.background.transparent.medium;+ break;+ }+ break;+ }++ if (result.borderWidthOverride !== '' && position !== 'standalone') {+ switch (position) {+ case 'left':+ result.borderWidthOverride = '1px 0px 1px 1px';+ break;+ case 'middle':+ result.borderWidthOverride = '1px 0px 1px 0px';+ break;+ case 'right':+ result.borderWidthOverride = '1px 1px 1px 0px';+ break;+ }+ }++ return result;+};++export const AnimatedButton = ({+ className,+ Icon,+ animatedSvg,+ title,+ fullWidth = false,+ variant = 'primary',+ inverted = false,+ size = 'medium',+ accent = 'default',+ square = false,+ position = 'standalone',+ soon = false,+ disabled = false,+ justify = 'flex-start',+ focus = false,+ onClick,+ to,+ target,+ dataTestId,+ hotkeys,+ ariaLabel,+ animate,+ transition,+ dataClickOutsideId,+ dataGloballyPreventClickOutside,+ soonLabel = 'Soon',+}: AnimatedButtonProps) => {+ const { theme } = useContext(ThemeContext);+ const isMobile = useIsMobile();+ const isDisabled = soon || disabled;++ const dynamicStyles = useMemo(() => {+ const computedStyles = computeAnimatedButtonDynamicStyles(+ variant,+ inverted,+ accent,+ isDisabled,+ focus,+ position,+ );+ return {+ '--abtn-bg': computedStyles.background,+ '--abtn-border-color': computedStyles.borderColor,+ '--abtn-border-width': computedStyles.borderWidthOverride || undefined,+ '--abtn-box-shadow': computedStyles.boxShadow,+ '--abtn-color': computedStyles.color,+ '--abtn-hover-bg': computedStyles.hoverBackground,+ '--abtn-active-bg': computedStyles.activeBackground,+ } as React.CSSProperties;+ }, [variant, inverted, accent, isDisabled, focus, position]);++ // Replaces the legacy Linaria `as` polymorphism: react-router Link when a+ // `to` is provided, a native button otherwise. Typed as any to forward all+ // props untyped, exactly like the legacy `as` prop did.+ // eslint-disable-next-line @typescript-eslint/no-explicit-any+ const ButtonComponent: any = to ? Link : 'button';++ return (+ <ButtonComponent+ className={clsx(+ styles.button,+ styles[size],+ square && styles.square,+ fullWidth && styles.fullWidth,+ className,+ )}+ data-position={position}+ data-disabled={isDisabled || undefined}+ disabled={isDisabled}+ style={+ {+ ...dynamicStyles,+ '--abtn-justify': justify,+ } as React.CSSProperties+ }+ onClick={onClick}+ to={to}+ target={target}+ data-testid={dataTestId}+ aria-label={ariaLabel}+ data-click-outside-id={dataClickOutsideId}+ data-globally-prevent-click-outside={dataGloballyPreventClickOutside}+ >+ {Icon && (+ <motion.div+ className={styles.motion}+ animate={animate}+ transition={transition}+ >+ <Icon size={theme.icon.size.sm} />+ </motion.div>+ )}+ {animatedSvg && (+ <motion.div+ className={styles.motion}+ animate={animate}+ transition={transition}+ >+ {animatedSvg}+ </motion.div>+ )}+ {title}+ {hotkeys && !isMobile && (+ <>+ <div+ className={styles.separator}+ data-size={size}+ data-accent={accent}+ />+ <div+ className={styles.shortcutLabel}+ data-variant={variant}+ data-accent={accent}+ >+ {hotkeys.join(getOsShortcutSeparator())}+ </div>+ </>+ )}+ {soon && (+ <span className={styles.soonPillContainer}>+ <Pill label={soonLabel} />+ </span>+ )}+ </ButtonComponent>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/AnimatedLightIconButton.module.scss b/packages/twenty-ui/src/input/button/components/AnimatedLightIconButton.module.scssnew file mode 100644index 00000000000..d2e16f65d75--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/AnimatedLightIconButton.module.scss@@ -0,0 +1,77 @@+// Color/border/shadow rules replicate the legacy Linaria ternaries. Order+// matters at equal specificity: accent base, then disabled, then focus and+// active last (active || focus beats disabled, matching the legacy switch).+.button {+ align-items: center;+ background: transparent;+ border: none;+ border-radius: var(--t-border-radius-sm);+ box-shadow: none;+ color: var(--t-font-color-secondary);+ cursor: pointer;+ display: flex;+ flex-direction: row;+ font-family: var(--t-font-family);+ font-weight: var(--t-font-weight-regular);+ gap: var(--t-spacing-1);+ justify-content: center;+ padding: var(--t-spacing-1);+ transition: background 0.1s ease;+ white-space: nowrap;++ &:hover {+ background: var(--t-background-transparent-light);+ }++ &:focus {+ outline: none;+ }++ &:active {+ background: var(--t-background-transparent-medium);+ }++ &[data-accent='tertiary'] {+ color: var(--t-font-color-tertiary);+ }++ &[data-disabled] {+ color: var(--t-font-color-extra-light);+ cursor: not-allowed;++ &:hover,+ &:active {+ background: transparent;+ }+ }++ // data-focus is only set when enabled, so disabled+focus stays unstyled,+ // matching the legacy focus={focus && !disabled} gating.+ &[data-focus] {+ border: 1px solid var(--t-color-blue);+ box-shadow: 0 0 0 3px var(--t-color-blue3);+ color: var(--t-color-blue);+ }++ &[data-active] {+ color: var(--t-color-blue);+ }+}++.small {+ height: 24px;+ min-width: 24px;+ width: 24px;+}++.medium {+ height: 32px;+ min-width: 32px;+ width: 32px;+}++.iconContainer {+ align-items: center;+ display: flex;+ justify-content: center;+}diff --git a/packages/twenty-ui/src/input/button/components/AnimatedLightIconButton.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/AnimatedLightIconButton.module.scss.d.tsnew file mode 100644index 00000000000..8acffa9bd74--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/AnimatedLightIconButton.module.scss.d.ts@@ -0,0 +1,7 @@+declare const classNames: {+ readonly button: 'button';+ readonly small: 'small';+ readonly medium: 'medium';+ readonly iconContainer: 'iconContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/AnimatedLightIconButton.tsx b/packages/twenty-ui/src/input/button/components/AnimatedLightIconButton.tsxnew file mode 100644index 00000000000..7828b847f47--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/AnimatedLightIconButton.tsx@@ -0,0 +1,71 @@+import { clsx } from 'clsx';+import { motion, type MotionProps } from 'framer-motion';+import { type ComponentProps, type MouseEvent, useContext } from 'react';++import { type IconComponent } from '@ui/display';+import {+ type LightIconButtonAccent,+ type LightIconButtonSize,+} from '@ui/input/button/components/LightIconButton';+import { ThemeContext } from '@ui/theme-constants';++import styles from './AnimatedLightIconButton.module.scss';++export type AnimatedLightIconButtonProps = {+ className?: string;+ testId?: string;+ Icon?: IconComponent;+ title?: string;+ size?: LightIconButtonSize;+ accent?: LightIconButtonAccent;+ active?: boolean;+ disabled?: boolean;+ focus?: boolean;+ onClick?: (event: MouseEvent<HTMLButtonElement>) => void;+} & Pick<ComponentProps<'button'>, 'aria-label' | 'title'> &+ Pick<MotionProps, 'animate' | 'transition'>;++export const AnimatedLightIconButton = ({+ 'aria-label': ariaLabel,+ className,+ testId,+ animate,+ transition,+ Icon,+ active = false,+ size = 'small',+ accent = 'secondary',+ disabled = false,+ focus = false,+ onClick,+ title,+}: AnimatedLightIconButtonProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <button+ data-testid={testId}+ aria-label={ariaLabel}+ onClick={onClick}+ disabled={disabled}+ data-disabled={disabled || undefined}+ data-focus={(focus && !disabled) || undefined}+ data-accent={accent}+ data-active={active || undefined}+ className={clsx(styles.button, styles[size], className)}+ title={title}+ >+ <motion.div+ className={styles.iconContainer}+ animate={animate}+ transition={transition}+ >+ {Icon && (+ <Icon+ size={size === 'medium' ? theme.icon.size.md : theme.icon.size.sm}+ />+ )}+ </motion.div>+ </button>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/Button/Button.module.scss b/packages/twenty-ui/src/input/button/components/Button/Button.module.scssnew file mode 100644index 00000000000..aced1cab6d1--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/Button.module.scss@@ -0,0 +1,322 @@+@use 'sass:map';++// GRAY_SCALE_LIGHT.gray1 from theme/constants/GrayScaleLight.ts — the legacy+// Linaria styles read it from JS because it is theme-invariant.+$gray-scale-light-gray1: color(display-p3 1 1 1);++// The variant × accent × inverted × disabled × focus matrix below is ported+// token-for-token from computeButtonDynamicStyles in the deprecated+// Button.tsx. Matrix rules only assign CSS custom properties; the actual+// declarations live on the flat .button class so twenty-front styled(Button)+// overrides keep beating them at (0,1,0) specificity, exactly like the legacy+// single Linaria class did.+// Cascade order inside each branch: base, then [data-focus], then+// [data-disabled], then [data-disabled][data-focus] — later rules win, which+// replicates the Linaria switch precedence (disabled > focus > base).++.wrapper {+ max-width: none;+ position: relative;+ width: auto;+}++.wrapperLoading {+ max-width: calc(100% - var(--t-spacing-8));+}++.button {+ --tw-button-color: var(--btn-color, var(--t-font-color-secondary));++ align-items: center;+ background: var(--btn-bg, transparent);+ border-color: var(--btn-border-color, transparent);+ border-radius: var(--btn-radius, var(--t-border-radius-sm));+ border-style: solid;+ border-width: var(--btn-border-width, 1px 1px 1px 1px);+ box-shadow: var(--btn-box-shadow, none);+ box-sizing: border-box;+ color: var(--btn-color, var(--t-font-color-secondary));+ cursor: pointer;+ display: flex;+ flex-direction: row;+ font-family: var(--t-font-family);+ font-size: var(--t-font-size-md);+ font-weight: 500;+ gap: var(--t-spacing-1);+ justify-content: var(--btn-justify, flex-start);+ padding: 0 var(--t-spacing-2) 0 var(--t-spacing-2);+ text-decoration: none;+ transition: background 0.1s ease;+ white-space: nowrap;+ width: auto;++ &:hover {+ background: var(--btn-hover-bg, transparent);+ }++ &:active {+ background: var(--btn-active-bg, transparent);+ }++ &:focus {+ outline: none;+ }++ &[data-disabled] {+ cursor: not-allowed;+ }+}++.small {+ height: 24px;+}++.medium {+ height: 32px;+}++// Applied to both the wrapper and the button; declared after them so the+// width wins the cascade at equal specificity.+.fullWidth {+ width: 100%;+}++// position only reshapes radius and collapses inner borders. The legacy+// '1px 1px' override for primary/danger is omitted: it computes to the same+// 1px on every side as the default.+.button[data-position='left'] {+ --btn-radius: var(--t-border-radius-sm) 0px 0px var(--t-border-radius-sm);+ --btn-border-width: 1px 0px 1px 1px;+}++.button[data-position='middle'] {+ --btn-radius: 0px;+ --btn-border-width: 1px 0px 1px 0px;+}++.button[data-position='right'] {+ --btn-radius: 0px var(--t-border-radius-sm) var(--t-border-radius-sm) 0px;+ --btn-border-width: 1px 1px 1px 0px;+}++// variant=primary, not inverted, keyed by accent.+// focus-needs-enabled mirrors the one asymmetry of the legacy switch: the+// default accent only shows its focus border when enabled, while blue and+// danger keep the focus border even when disabled.+$primary-accents: (+ 'default': (+ bg: var(--t-background-secondary),+ bg-disabled: var(--t-background-secondary),+ border: var(--t-background-transparent-light),+ border-focus: var(--t-color-blue),+ focus-needs-enabled: true,+ shadow-focus: var(--t-accent-tertiary),+ color: var(--t-font-color-secondary),+ color-disabled: var(--t-font-color-extra-light),+ hover: var(--t-background-tertiary),+ active: var(--t-background-quaternary),+ ),+ 'blue': (+ bg: var(--t-color-blue),+ bg-disabled: var(--t-accent-accent4060),+ border: var(--t-background-transparent-light),+ border-focus: var(--t-color-blue),+ focus-needs-enabled: false,+ shadow-focus: var(--t-accent-tertiary),+ color: $gray-scale-light-gray1,+ color-disabled: $gray-scale-light-gray1,+ hover: var(--t-color-blue10),+ active: var(--t-color-blue12),+ ),+ 'danger': (+ bg: var(--t-color-red),+ bg-disabled: var(--t-color-red),+ border: var(--t-background-transparent-light),+ border-focus: var(--t-color-red),+ focus-needs-enabled: false,+ shadow-focus: var(--t-color-red3),+ color: var(--t-background-primary),+ color-disabled: var(--t-background-primary),+ hover: var(--t-color-red8),+ active: var(--t-color-red10),+ ),+);++@each $accent, $tokens in $primary-accents {+ .button[data-variant='primary'][data-accent='#{$accent}']:not(+ [data-inverted]+ ) {+ --btn-bg: #{map.get($tokens, bg)};+ --btn-border-color: #{map.get($tokens, border)};+ --btn-color: #{map.get($tokens, color)};+ --btn-hover-bg: #{map.get($tokens, hover)};+ --btn-active-bg: #{map.get($tokens, active)};+ }++ .button[data-variant='primary'][data-accent='#{$accent}']:not(+ [data-inverted]+ )[data-focus] {+ --btn-border-color: #{map.get($tokens, border-focus)};+ --btn-box-shadow: 0 0 0 3px #{map.get($tokens, shadow-focus)};+ }++ .button[data-variant='primary'][data-accent='#{$accent}']:not(+ [data-inverted]+ )[data-disabled] {+ --btn-bg: #{map.get($tokens, bg-disabled)};+ --btn-box-shadow: none;+ --btn-color: #{map.get($tokens, color-disabled)};+ --btn-hover-bg: #{map.get($tokens, bg-disabled)};+ --btn-active-bg: #{map.get($tokens, bg-disabled)};++ @if map.get($tokens, focus-needs-enabled) {+ --btn-border-color: #{map.get($tokens, border)};+ }+ }+}++// variant=primary, inverted: identical across accents except for the text+// color.+$primary-inverted-colors: (+ 'default': var(--t-font-color-secondary),+ 'blue': var(--t-color-blue),+ 'danger': var(--t-color-red),+);++.button[data-variant='primary'][data-inverted] {+ --btn-bg: var(--t-background-primary);+ --btn-border-color: var(--t-background-transparent-light);+ --btn-hover-bg: var(--t-background-secondary);+ --btn-active-bg: var(--t-background-tertiary);+}++@each $accent, $color in $primary-inverted-colors {+ .button[data-variant='primary'][data-accent='#{$accent}'][data-inverted] {+ --btn-color: #{$color};+ }+}++.button[data-variant='primary'][data-inverted][data-focus] {+ --btn-box-shadow: 0 0 0 3px var(--t-background-transparent-medium);+}++.button[data-variant='primary'][data-inverted][data-disabled] {+ --btn-box-shadow: none;+ --btn-hover-bg: var(--t-background-primary);+ --btn-active-bg: var(--t-background-primary);+}++// variant=secondary|tertiary, not inverted, keyed by accent. Background stays+// transparent (the .button fallback). The two variants only differ in their+// resting border: secondary uses border-secondary, tertiary is borderless.+// focus-needs-enabled-secondary mirrors the legacy gating: only+// secondary/default hides its focus border when disabled.+$secondary-accents: (+ 'default': (+ border-secondary: var(--t-background-transparent-medium),+ border-focus: var(--t-color-blue),+ focus-needs-enabled-secondary: true,+ shadow-focus: var(--t-accent-tertiary),+ color: var(--t-font-color-secondary),+ color-disabled: var(--t-font-color-extra-light),+ hover: var(--t-background-transparent-light),+ active: var(--t-background-transparent-light),+ ),+ 'blue': (+ border-secondary: var(--t-accent-primary),+ border-focus: var(--t-color-blue),+ focus-needs-enabled-secondary: false,+ shadow-focus: var(--t-accent-tertiary),+ color: var(--t-color-blue),+ color-disabled: var(--t-accent-accent4060),+ hover: var(--t-accent-tertiary),+ active: var(--t-accent-secondary),+ ),+ 'danger': (+ border-secondary: var(--t-border-color-danger),+ border-focus: var(--t-color-red),+ focus-needs-enabled-secondary: false,+ shadow-focus: var(--t-color-red3),+ color: var(--t-font-color-danger),+ color-disabled: var(--t-color-red5),+ hover: var(--t-background-danger),+ active: var(--t-background-danger),+ ),+);++@each $accent, $tokens in $secondary-accents {+ .button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-accent='#{$accent}']:not([data-inverted]) {+ --btn-color: #{map.get($tokens, color)};+ --btn-hover-bg: #{map.get($tokens, hover)};+ --btn-active-bg: #{map.get($tokens, active)};+ }++ .button[data-variant='secondary'][data-accent='#{$accent}']:not(+ [data-inverted]+ ) {+ --btn-border-color: #{map.get($tokens, border-secondary)};+ }++ .button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-accent='#{$accent}']:not([data-inverted])[data-focus] {+ --btn-border-color: #{map.get($tokens, border-focus)};+ --btn-box-shadow: 0 0 0 3px #{map.get($tokens, shadow-focus)};+ }++ .button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-accent='#{$accent}']:not([data-inverted])[data-disabled] {+ --btn-box-shadow: none;+ --btn-color: #{map.get($tokens, color-disabled)};+ --btn-hover-bg: transparent;+ --btn-active-bg: transparent;+ }++ @if map.get($tokens, focus-needs-enabled-secondary) {+ .button[data-variant='secondary'][data-accent='#{$accent}']:not(+ [data-inverted]+ )[data-disabled] {+ --btn-border-color: #{map.get($tokens, border-secondary)};+ }+ }+}++// variant=secondary|tertiary, inverted: identical across accents. Hover and+// active stay enabled even when disabled, matching the legacy source.+.button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-inverted] {+ --btn-color: var(--t-font-color-inverted);+ --btn-hover-bg: var(--t-background-transparent-light);+ --btn-active-bg: var(--t-background-transparent-medium);+}++.button[data-variant='secondary'][data-inverted] {+ --btn-border-color: var(--t-background-transparent-primary);+}++.button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-inverted][data-focus] {+ --btn-border-color: #{$gray-scale-light-gray1};+ --btn-box-shadow: 0 0 0 3px var(--t-background-transparent-medium);+}++.button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-inverted][data-disabled] {+ --btn-box-shadow: none;+}++.button[data-variant='secondary'][data-inverted][data-disabled] {+ --btn-border-color: #{$gray-scale-light-gray1};+}diff --git a/packages/twenty-ui/src/input/button/components/Button/Button.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/Button/Button.module.scss.d.tsnew file mode 100644index 00000000000..3cf3ea6a313--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/Button.module.scss.d.ts@@ -0,0 +1,9 @@+declare const classNames: {+ readonly wrapper: 'wrapper';+ readonly wrapperLoading: 'wrapperLoading';+ readonly button: 'button';+ readonly small: 'small';+ readonly medium: 'medium';+ readonly fullWidth: 'fullWidth';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/Button/Button.tsx b/packages/twenty-ui/src/input/button/components/Button/Button.tsxnew file mode 100644index 00000000000..70960a20932--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/Button.tsx@@ -0,0 +1,136 @@+import { clsx } from 'clsx';+import React, { useState } from 'react';+import { Link } from 'react-router-dom';+import { isDefined } from '@ui/utilities/utils/isDefined';++import { type IconComponent } from '@ui/display/icon/types/IconComponent';+import { ButtonHotkeys } from '@ui/input/button/components/Button/internal/ButtonHotKeys';+import { ButtonIcon } from '@ui/input/button/components/Button/internal/ButtonIcon';+import { ButtonSoon } from '@ui/input/button/components/Button/internal/ButtonSoon';+import { useIsMobile } from '@ui/utilities';+import { type ClickOutsideAttributes } from '@ui/utilities/types/ClickOutsideAttributes';+import { ButtonText } from './internal/ButtonText';++import styles from './Button.module.scss';++export type ButtonSize = 'medium' | 'small';+export type ButtonPosition = 'standalone' | 'left' | 'middle' | 'right';+export type ButtonVariant = 'primary' | 'secondary' | 'tertiary';+export type ButtonAccent = 'default' | 'blue' | 'danger';++export type ButtonProps = {+ id?: string;+ className?: string;+ Icon?: IconComponent;+ title?: string;+ fullWidth?: boolean;+ variant?: ButtonVariant;+ inverted?: boolean;+ size?: ButtonSize;+ position?: ButtonPosition;+ accent?: ButtonAccent;+ soon?: boolean;+ justify?: 'center' | 'flex-start' | 'flex-end';+ disabled?: boolean;+ focus?: boolean;+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;+ to?: string;+ target?: string;+ dataTestId?: string;+ hotkeys?: string[];+ ariaLabel?: string;+ isLoading?: boolean;+} & Pick<React.ComponentProps<'button'>, 'type'> &+ ClickOutsideAttributes;++export const Button = ({+ className,+ Icon,+ title,+ id,+ fullWidth = false,+ variant = 'primary',+ inverted = false,+ size = 'medium',+ accent = 'default',+ position = 'standalone',+ soon = false,+ disabled = false,+ justify = 'flex-start',+ focus: propFocus = false,+ onClick,+ to,+ target,+ dataTestId,+ dataClickOutsideId,+ dataGloballyPreventClickOutside,+ hotkeys,+ ariaLabel,+ type,+ isLoading = false,+}: ButtonProps) => {+ const isMobile = useIsMobile();++ const [isFocused, setIsFocused] = useState(propFocus);+ const isDisabled = soon || disabled;++ // Replaces the legacy Linaria `as` polymorphism: react-router Link when a+ // `to` is provided, a native button otherwise. Typed as any to forward all+ // props untyped, exactly like the legacy `as` prop did.+ // eslint-disable-next-line @typescript-eslint/no-explicit-any+ const ButtonComponent: any = to ? Link : 'button';++ return (+ <div+ className={clsx(+ styles.wrapper,+ isLoading && styles.wrapperLoading,+ fullWidth && styles.fullWidth,+ )}+ >+ <ButtonComponent+ id={id}+ className={clsx(+ styles.button,+ styles[size],+ fullWidth && styles.fullWidth,+ className,+ )}+ data-variant={variant}+ data-accent={accent}+ data-position={position}+ data-inverted={inverted || undefined}+ data-disabled={isDisabled || undefined}+ data-focus={isFocused || undefined}+ disabled={isDisabled}+ onClick={onClick}+ to={to}+ target={target}+ data-testid={dataTestId}+ data-click-outside-id={dataClickOutsideId}+ data-globally-prevent-click-outside={dataGloballyPreventClickOutside}+ aria-label={ariaLabel}+ type={type}+ onFocus={() => setIsFocused(true)}+ onBlur={() => setIsFocused(false)}+ style={{ '--btn-justify': justify } as React.CSSProperties}+ >+ {(isLoading || Icon) && (+ <ButtonIcon Icon={Icon} isLoading={!!isLoading} />+ )}+ {isDefined(title) && (+ <ButtonText hasIcon={!!Icon} title={title} isLoading={isLoading} />+ )}+ {hotkeys && !isMobile && (+ <ButtonHotkeys+ hotkeys={hotkeys}+ variant={variant}+ accent={accent}+ size={size}+ />+ )}+ {soon && <ButtonSoon />}+ </ButtonComponent>+ </div>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/Button/constant.ts b/packages/twenty-ui/src/input/button/components/Button/constant.tsnew file mode 100644index 00000000000..62b9b9e064f--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/constant.ts@@ -0,0 +1 @@+export const baseTransitionTiming = 300;diff --git a/packages/twenty-ui/src/input/button/components/Button/internal/ButtonHotKeys.module.scss b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonHotKeys.module.scssnew file mode 100644index 00000000000..c7b46a754d3--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonHotKeys.module.scss@@ -0,0 +1,35 @@+.separator {+ background: var(--t-font-color-light);+ height: var(--t-spacing-4);+ margin: 0;+ width: 1px;++ &[data-size='small'] {+ height: var(--t-spacing-2);+ }++ &[data-accent='blue'] {+ background: var(--t-buttons-secondary-text-color);+ }++ &[data-accent='danger'] {+ background: var(--t-border-color-danger);+ }+}++.shortcutLabel {+ color: var(--t-font-color-light);+ font-weight: var(--t-font-weight-medium);++ &[data-accent='blue'] {+ color: var(--t-buttons-secondary-text-color);+ }++ &[data-accent='danger'] {+ color: var(--t-color-red8);+ }++ &[data-accent='danger'][data-variant='primary'] {+ color: var(--t-border-color-danger);+ }+}diff --git a/packages/twenty-ui/src/input/button/components/Button/internal/ButtonHotKeys.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonHotKeys.module.scss.d.tsnew file mode 100644index 00000000000..f8d905ac622--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonHotKeys.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly separator: 'separator';+ readonly shortcutLabel: 'shortcutLabel';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/Button/internal/ButtonHotKeys.tsx b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonHotKeys.tsxnew file mode 100644index 00000000000..07ab119c997--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonHotKeys.tsx@@ -0,0 +1,33 @@+import {+ type ButtonAccent,+ type ButtonSize,+ type ButtonVariant,+} from '@ui/input/button/components/Button/Button';+import { getOsShortcutSeparator } from '@ui/utilities';++import styles from './ButtonHotKeys.module.scss';++export const ButtonHotkeys = ({+ size,+ accent,+ variant,+ hotkeys,+}: {+ size: ButtonSize;+ accent: ButtonAccent;+ variant: ButtonVariant;+ hotkeys: string[];+}) => {+ return (+ <>+ <div className={styles.separator} data-size={size} data-accent={accent} />+ <div+ className={styles.shortcutLabel}+ data-variant={variant}+ data-accent={accent}+ >+ {hotkeys.join(getOsShortcutSeparator())}+ </div>+ </>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/Button/internal/ButtonIcon.module.scss b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonIcon.module.scssnew file mode 100644index 00000000000..475e5f8a46f--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonIcon.module.scss@@ -0,0 +1,32 @@+// Mirrors baseTransitionTiming (300) in ../constant.ts — keep in sync.+$base-transition-timing: 300ms;++.iconWrapper {+ align-items: center;+ display: flex;+ pointer-events: none;+}++.icon {+ align-items: center;+ color: var(--tw-button-color);+ display: flex;+ height: calc(100% - var(--t-spacing-4));+ opacity: 1;+ transition: opacity ($base-transition-timing * 0.5) ease;+ transition-delay: $base-transition-timing * 0.5;++ &[data-loading] {+ opacity: 0;+ transition-delay: 0ms;+ }+}++.loader {+ left: var(--t-spacing-2);+ opacity: 1;+ position: absolute;+ transition: opacity ($base-transition-timing * 0.5) ease;+ transition-delay: $base-transition-timing * 0.5;+ width: var(--t-spacing-6);+}diff --git a/packages/twenty-ui/src/input/button/components/Button/internal/ButtonIcon.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonIcon.module.scss.d.tsnew file mode 100644index 00000000000..acd6652bf45--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonIcon.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly iconWrapper: 'iconWrapper';+ readonly icon: 'icon';+ readonly loader: 'loader';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/Button/internal/ButtonIcon.tsx b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonIcon.tsxnew file mode 100644index 00000000000..8d8f5fb1f9d--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonIcon.tsx@@ -0,0 +1,31 @@+import { type IconComponent } from '@ui/display';+import { Loader } from '@ui/feedback';+import { ThemeContext } from '@ui/theme-constants';+import { useContext } from 'react';++import styles from './ButtonIcon.module.scss';++export const ButtonIcon = ({+ Icon,+ isLoading,+}: {+ Icon?: IconComponent;+ isLoading?: boolean;+}) => {+ const { theme } = useContext(ThemeContext);++ return (+ <div className={styles.iconWrapper}>+ {isLoading && (+ <div className={styles.loader}>+ <Loader />+ </div>+ )}+ {Icon && (+ <div className={styles.icon} data-loading={isLoading || undefined}>+ <Icon size={theme.icon.size.sm} />+ </div>+ )}+ </div>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/Button/internal/ButtonSoon.module.scss b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonSoon.module.scssnew file mode 100644index 00000000000..57cd7cbad82--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonSoon.module.scss@@ -0,0 +1,4 @@+.soonPillContainer {+ display: flex;+ margin-left: auto;+}diff --git a/packages/twenty-ui/src/input/button/components/Button/internal/ButtonSoon.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonSoon.module.scss.d.tsnew file mode 100644index 00000000000..6f168cd4be6--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonSoon.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly soonPillContainer: 'soonPillContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/Button/internal/ButtonSoon.tsx b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonSoon.tsxnew file mode 100644index 00000000000..50abfde4e03--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonSoon.tsx@@ -0,0 +1,13 @@+import { Pill } from '@ui/components';++import styles from './ButtonSoon.module.scss';++type ButtonSoonProps = {+ label?: string;+};++export const ButtonSoon = ({ label = 'Soon' }: ButtonSoonProps) => (+ <span className={styles.soonPillContainer}>+ <Pill label={label} />+ </span>+);diff --git a/packages/twenty-ui/src/input/button/components/Button/internal/ButtonText.module.scss b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonText.module.scssnew file mode 100644index 00000000000..7cb0c4abf8c--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonText.module.scss@@ -0,0 +1,44 @@+// Mirrors baseTransitionTiming (300) in ../constant.ts — keep in sync.+$base-transition-timing: 300ms;++.textWrapper {+ align-items: center;+ display: flex;+ height: 100%;+ justify-content: center;+ position: relative;+}++.text {+ clip-path: inset(0 0 0 0);+ overflow: hidden;+ transform: none;+ transition:+ transform $base-transition-timing ease,+ clip-path $base-transition-timing ease;+ transition-delay: $base-transition-timing * 0.25;+ white-space: nowrap;++ &[data-loading] {+ clip-path: inset(0 var(--t-spacing-12) 0 0);+ transform: translateX(var(--t-spacing-7));+ transition-delay: 0ms;+ }++ &[data-loading][data-has-icon] {+ clip-path: inset(0 var(--t-spacing-6) 0 0);+ transform: translateX(var(--t-spacing-3));+ }+}++.ellipsis {+ clip-path: inset(0 0 0 var(--t-spacing-6));+ overflow: hidden;+ position: absolute;+ right: 0;+ transition: clip-path $base-transition-timing ease;++ &[data-loading] {+ clip-path: inset(0 0 0 0);+ }+}diff --git a/packages/twenty-ui/src/input/button/components/Button/internal/ButtonText.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonText.module.scss.d.tsnew file mode 100644index 00000000000..17cb79c585b--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonText.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly textWrapper: 'textWrapper';+ readonly text: 'text';+ readonly ellipsis: 'ellipsis';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/Button/internal/ButtonText.tsx b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonText.tsxnew file mode 100644index 00000000000..145d0093c9b--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/Button/internal/ButtonText.tsx@@ -0,0 +1,26 @@+import styles from './ButtonText.module.scss';++export const ButtonText = ({+ hasIcon = false,+ isLoading,+ title,+}: {+ isLoading?: boolean;+ hasIcon: boolean;+ title?: string;+}) => {+ return (+ <div className={styles.textWrapper}>+ <div+ className={styles.text}+ data-loading={isLoading || undefined}+ data-has-icon={hasIcon || undefined}+ >+ {title}+ </div>+ <div className={styles.ellipsis} data-loading={isLoading || undefined}>+ ...+ </div>+ </div>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/ButtonGroup.module.scss b/packages/twenty-ui/src/input/button/components/ButtonGroup.module.scssnew file mode 100644index 00000000000..f93d20c4bae--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/ButtonGroup.module.scss@@ -0,0 +1,4 @@+.container {+ border-radius: var(--t-border-radius-md);+ display: flex;+}diff --git a/packages/twenty-ui/src/input/button/components/ButtonGroup.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/ButtonGroup.module.scss.d.tsnew file mode 100644index 00000000000..8df71b4dead--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/ButtonGroup.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly container: 'container';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/ButtonGroup.tsx b/packages/twenty-ui/src/input/button/components/ButtonGroup.tsxnew file mode 100644index 00000000000..d6124002060--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/ButtonGroup.tsx@@ -0,0 +1,57 @@+import { clsx } from 'clsx';+import React, { type ReactNode } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++import { type ButtonPosition, type ButtonProps } from './Button/Button';++import styles from './ButtonGroup.module.scss';++export type ButtonGroupProps = Partial<+ Pick<ButtonProps, 'variant' | 'size' | 'accent'>+> & {+ className?: string;+ children: ReactNode[];+};++export const ButtonGroup = ({+ className,+ children,+ variant,+ size,+ accent,+}: ButtonGroupProps) => {+ return (+ <div className={clsx(styles.container, className)}>+ {React.Children.map(children, (child, index) => {+ if (!React.isValidElement(child)) return null;++ let position: ButtonPosition;++ if (index === 0) {+ position = 'left';+ } else if (index === children.length - 1) {+ position = 'right';+ } else {+ position = 'middle';+ }++ // eslint-disable-next-line @typescript-eslint/no-explicit-any+ const additionalProps: any = { position, variant, accent, size };++ if (isDefined(variant)) {+ additionalProps.variant = variant;+ }++ if (isDefined(accent)) {+ additionalProps.accent = accent;+ }++ if (isDefined(size)) {+ additionalProps.size = size;+ }++ return React.cloneElement(child, additionalProps);+ })}+ </div>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/ColorPickerButton.module.scss b/packages/twenty-ui/src/input/button/components/ColorPickerButton.module.scssnew file mode 100644index 00000000000..96b6e0849cf--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/ColorPickerButton.module.scss@@ -0,0 +1,15 @@+// The :hover rule is kept separate on purpose: at (0,1,2) it out-specifies+// the inner LightIconButton's own hover background at (0,1,1) regardless of+// stylesheet order, exactly like the legacy Linaria wrapper did.++.wrapper button {+ background-color: var(--color-picker-button-bg, transparent);+}++.wrapper button:hover {+ background-color: var(--color-picker-button-bg, transparent);+}++.wrapper[data-selected] {+ --color-picker-button-bg: var(--t-background-transparent-medium);+}diff --git a/packages/twenty-ui/src/input/button/components/ColorPickerButton.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/ColorPickerButton.module.scss.d.tsnew file mode 100644index 00000000000..6f9e27f1e2e--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/ColorPickerButton.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly wrapper: 'wrapper';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/ColorPickerButton.tsx b/packages/twenty-ui/src/input/button/components/ColorPickerButton.tsxnew file mode 100644index 00000000000..842e8977f73--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/ColorPickerButton.tsx@@ -0,0 +1,28 @@+import { ColorSample, type ColorSampleProps } from '@ui/display';+import {+ LightIconButton,+ type LightIconButtonProps,+} from '@ui/input/button/components/LightIconButton';++import styles from './ColorPickerButton.module.scss';++type ColorPickerButtonProps = Pick<ColorSampleProps, 'colorName'> &+ Pick<LightIconButtonProps, 'onClick'> & {+ isSelected?: boolean;+ };++export const ColorPickerButton = ({+ colorName,+ isSelected,+ onClick,+}: ColorPickerButtonProps) => {+ return (+ <div className={styles.wrapper} data-selected={isSelected || undefined}>+ <LightIconButton+ size="medium"+ Icon={() => <ColorSample colorName={colorName} />}+ onClick={onClick}+ />+ </div>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/FloatingButton.module.scss b/packages/twenty-ui/src/input/button/components/FloatingButton.module.scssnew file mode 100644index 00000000000..421f58fbe62--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/FloatingButton.module.scss@@ -0,0 +1,102 @@+// State rules below only assign CSS custom properties; the actual+// declarations live on the flat .button class so twenty-front+// styled(FloatingButton) overrides keep beating them at (0,1,0) specificity,+// exactly like the legacy single Linaria class did.++.button {+ align-items: center;+ backdrop-filter: var(--floating-button-backdrop-filter, none);+ background: var(--t-background-primary);+ border: var(--floating-button-border, none);+ border-radius: var(--floating-button-radius, var(--t-border-radius-sm));+ box-shadow: var(--floating-button-box-shadow, none);+ color: var(--floating-button-color, var(--t-font-color-secondary));+ cursor: pointer;+ display: flex;+ flex-direction: row;+ font-family: var(--t-font-family);+ font-weight: var(--t-font-weight-regular);+ gap: var(--t-spacing-1);+ padding: 0 var(--t-spacing-2);+ text-decoration: none;+ transition: background 0.1s ease;+ white-space: nowrap;++ &:hover {+ background: var(+ --floating-button-hover-bg,+ var(--t-background-transparent-lighter)+ );+ }++ &:active {+ background: var(+ --floating-button-active-bg,+ var(--t-background-transparent-medium)+ );+ }++ &:focus {+ outline: none;+ }++ &[data-disabled] {+ cursor: not-allowed;+ }+}++.small {+ height: 24px;+}++.medium {+ height: 32px;+}++// position only reshapes the radius; standalone keeps the .button default.+.button[data-position='left'] {+ --floating-button-radius: var(--t-border-radius-sm) 0px 0px+ var(--t-border-radius-sm);+}++.button[data-position='middle'] {+ --floating-button-radius: 0px;+}++.button[data-position='right'] {+ --floating-button-radius: 0px var(--t-border-radius-sm)+ var(--t-border-radius-sm) 0px;+}++.button[data-apply-blur] {+ --floating-button-backdrop-filter: blur(20px);+}++// box-shadow matrix from the legacy nested ternary: shadow, focus, and+// shadow+focus — the combined rule comes last so it wins the cascade.+.button[data-apply-shadow] {+ --floating-button-box-shadow:+ 0px 2px 4px 0px var(--t-background-transparent-light),+ 0px 0px 4px 0px var(--t-background-transparent-medium);+}++// focus is gated by !disabled in the component, like the legacy call-site.+.button[data-focus] {+ --floating-button-border: 1px solid var(--t-color-blue);+ --floating-button-box-shadow: 0 0 0 3px var(--t-color-blue3);+ --floating-button-color: var(--t-color-blue);+}++.button[data-apply-shadow][data-focus] {+ --floating-button-box-shadow:+ 0px 2px 4px 0px var(--t-background-transparent-light),+ 0px 0px 4px 0px var(--t-background-transparent-medium),+ 0 0 0 3px var(--t-color-blue3);+}++// disabled comes last: it beats focus in the legacy color ternary.+.button[data-disabled] {+ --floating-button-color: var(--t-font-color-extra-light);+ --floating-button-hover-bg: transparent;+ --floating-button-active-bg: transparent;+}diff --git a/packages/twenty-ui/src/input/button/components/FloatingButton.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/FloatingButton.module.scss.d.tsnew file mode 100644index 00000000000..de85059fc80--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/FloatingButton.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly button: 'button';+ readonly small: 'small';+ readonly medium: 'medium';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/FloatingButton.tsx b/packages/twenty-ui/src/input/button/components/FloatingButton.tsxnew file mode 100644index 00000000000..a3970b3563f--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/FloatingButton.tsx@@ -0,0 +1,61 @@+import { clsx } from 'clsx';+import { useContext } from 'react';+import { Link } from 'react-router-dom';++import { type IconComponent } from '@ui/display';+import { ThemeContext } from '@ui/theme-constants';++import styles from './FloatingButton.module.scss';++export type FloatingButtonSize = 'small' | 'medium';+export type FloatingButtonPosition = 'standalone' | 'left' | 'middle' | 'right';++export type FloatingButtonProps = {+ className?: string;+ Icon?: IconComponent;+ title?: string;+ size?: FloatingButtonSize;+ position?: FloatingButtonPosition;+ applyShadow?: boolean;+ applyBlur?: boolean;+ disabled?: boolean;+ focus?: boolean;+ to?: string;+};++export const FloatingButton = ({+ className,+ Icon,+ title,+ size = 'small',+ position = 'standalone',+ applyBlur = true,+ applyShadow = true,+ disabled = false,+ focus = false,+ to,+}: FloatingButtonProps) => {+ const { theme } = useContext(ThemeContext);++ // Replaces the legacy Linaria `as` polymorphism: react-router Link when a+ // `to` is provided, a native button otherwise. Typed as any to forward all+ // props untyped, exactly like the legacy `as` prop did.+ // eslint-disable-next-line @typescript-eslint/no-explicit-any+ const ButtonComponent: any = to ? Link : 'button';++ return (+ <ButtonComponent+ disabled={disabled}+ className={clsx(styles.button, styles[size], className)}+ data-position={position}+ data-apply-blur={applyBlur || undefined}+ data-apply-shadow={applyShadow || undefined}+ data-disabled={disabled || undefined}+ data-focus={(focus && !disabled) || undefined}+ to={to}+ >+ {Icon && <Icon size={theme.icon.size.sm} />}+ {title}+ </ButtonComponent>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/FloatingButtonGroup.module.scss b/packages/twenty-ui/src/input/button/components/FloatingButtonGroup.module.scssnew file mode 100644index 00000000000..b39194ee883--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/FloatingButtonGroup.module.scss@@ -0,0 +1,8 @@+.container {+ backdrop-filter: blur(20px);+ border-radius: var(--t-border-radius-md);+ box-shadow:+ 0px 2px 4px 0px var(--t-background-transparent-light),+ 0px 0px 4px 0px var(--t-background-transparent-medium);+ display: inline-flex;+}diff --git a/packages/twenty-ui/src/input/button/components/FloatingButtonGroup.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/FloatingButtonGroup.module.scss.d.tsnew file mode 100644index 00000000000..8df71b4dead--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/FloatingButtonGroup.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly container: 'container';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/FloatingButtonGroup.tsx b/packages/twenty-ui/src/input/button/components/FloatingButtonGroup.tsxnew file mode 100644index 00000000000..74d48ef76eb--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/FloatingButtonGroup.tsx@@ -0,0 +1,51 @@+import { clsx } from 'clsx';+import React from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++import {+ type FloatingButtonPosition,+ type FloatingButtonProps,+} from './FloatingButton';++import styles from './FloatingButtonGroup.module.scss';++export type FloatingButtonGroupProps = Pick<FloatingButtonProps, 'size'> & {+ children: React.ReactElement[];+ className?: string;+};++export const FloatingButtonGroup = ({+ children,+ size,+ className,+}: FloatingButtonGroupProps) => {+ return (+ <div className={clsx(styles.container, className)}>+ {React.Children.map(children, (child, index) => {+ let position: FloatingButtonPosition;++ if (index === 0) {+ position = 'left';+ } else if (index === children.length - 1) {+ position = 'right';+ } else {+ position = 'middle';+ }++ // eslint-disable-next-line @typescript-eslint/no-explicit-any+ const additionalProps: any = {+ position,+ size,+ applyShadow: false,+ applyBlur: false,+ };++ if (isDefined(size)) {+ additionalProps.size = size;+ }++ return React.cloneElement(child, additionalProps);+ })}+ </div>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/FloatingIconButton.module.scss b/packages/twenty-ui/src/input/button/components/FloatingIconButton.module.scssnew file mode 100644index 00000000000..db0c12e6e35--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/FloatingIconButton.module.scss@@ -0,0 +1,109 @@+// Ported from the legacy Linaria FloatingIconButton. State rules below are+// kept flat on .button so twenty-front styled(FloatingIconButton) overrides+// keep beating them at (0,1,0) specificity. Source order replicates the+// legacy ternary precedence: hover/active beat the isActive background,+// applyShadow beats the focus ring, and disabled wins last.++.button {+ align-items: center;+ backdrop-filter: none;+ background: var(--t-background-primary);+ border: 1px solid var(--t-border-color-strong);+ border-radius: var(--floating-icon-button-radius, var(--t-border-radius-sm));+ box-shadow: none;+ box-sizing: border-box;+ color: var(--t-font-color-tertiary);+ cursor: pointer;+ display: flex;+ flex-direction: row;+ font-family: var(--t-font-family);+ font-weight: var(--t-font-weight-regular);+ gap: var(--t-spacing-1);+ justify-content: center;+ padding: 0;+ position: relative;+ transition: background calc(var(--t-animation-duration-instant) * 1s) ease;+ white-space: nowrap;+}++.small {+ height: 24px;+ width: 24px;+}++.medium {+ height: 32px;+ width: 32px;+}++// Grouped buttons (any non-standalone position) are 4px smaller.+.small:not([data-position='standalone']) {+ height: 20px;+ width: 20px;+}++.medium:not([data-position='standalone']) {+ height: 28px;+ width: 28px;+}++.button[data-position='left'] {+ --floating-icon-button-radius: var(--t-border-radius-sm) 0px 0px+ var(--t-border-radius-sm);+}++.button[data-position='middle'] {+ --floating-icon-button-radius: 0px;+}++.button[data-position='right'] {+ --floating-icon-button-radius: 0px var(--t-border-radius-sm)+ var(--t-border-radius-sm) 0px;+}++.button[data-apply-blur] {+ backdrop-filter: var(--t-blur-medium);+}++.button[data-is-active] {+ background: var(--t-background-transparent-medium);+}++// Declared after [data-is-active] so hover/active win over it, like the+// legacy &:hover/&:active beating the base background.+.button:hover {+ background: var(--t-background-transparent-lighter);+}++.button:active {+ background: var(--t-background-transparent-medium);+}++.button:focus {+ outline: none;+}++// data-focus is gated by !disabled in the component, like the legacy+// call-site passing focus={focus && !disabled}.+.button[data-focus] {+ border-color: var(--t-color-blue);+ box-shadow: 0 0 0 3px var(--t-color-blue3);+ color: var(--t-color-blue);+}++// applyShadow wins over the focus ring, replicating the legacy ternary order.+.button[data-apply-shadow] {+ box-shadow: var(--t-box-shadow-light);+}++.button[data-disabled] {+ color: var(--t-font-color-extra-light);+ cursor: not-allowed;+}++// A disabled button still matches :hover/:active; the legacy styles+// explicitly turned the background transparent there.+.button[data-disabled]:hover,+.button[data-disabled]:active {+ background: transparent;+}diff --git a/packages/twenty-ui/src/input/button/components/FloatingIconButton.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/FloatingIconButton.module.scss.d.tsnew file mode 100644index 00000000000..de85059fc80--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/FloatingIconButton.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly button: 'button';+ readonly small: 'small';+ readonly medium: 'medium';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/FloatingIconButton.tsx b/packages/twenty-ui/src/input/button/components/FloatingIconButton.tsxnew file mode 100644index 00000000000..1a9a816f876--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/FloatingIconButton.tsx@@ -0,0 +1,58 @@+import { clsx } from 'clsx';+import React, { useContext } from 'react';++import { type IconComponent } from '@ui/display';+import { ThemeContext } from '@ui/theme-constants';++import styles from './FloatingIconButton.module.scss';++export type FloatingIconButtonSize = 'small' | 'medium';+export type FloatingIconButtonPosition =+ | 'standalone'+ | 'left'+ | 'middle'+ | 'right';++export type FloatingIconButtonProps = {+ className?: string;+ Icon?: IconComponent;+ size?: FloatingIconButtonSize;+ position?: FloatingIconButtonPosition;+ applyShadow?: boolean;+ applyBlur?: boolean;+ disabled?: boolean;+ focus?: boolean;+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;+ isActive?: boolean;+};++export const FloatingIconButton = ({+ className,+ Icon,+ size = 'small',+ position = 'standalone',+ applyShadow = true,+ applyBlur = true,+ disabled = false,+ focus = false,+ onClick,+ isActive,+}: FloatingIconButtonProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <button+ disabled={disabled}+ className={clsx(styles.button, styles[size], className)}+ data-position={position}+ data-apply-shadow={applyShadow || undefined}+ data-apply-blur={applyBlur || undefined}+ data-disabled={disabled || undefined}+ data-focus={(focus && !disabled) || undefined}+ data-is-active={isActive || undefined}+ onClick={onClick}+ >+ {Icon && <Icon size={theme.icon.size.md} />}+ </button>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/FloatingIconButtonGroup.module.scss b/packages/twenty-ui/src/input/button/components/FloatingIconButtonGroup.module.scssnew file mode 100644index 00000000000..b19103a8c65--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/FloatingIconButtonGroup.module.scss@@ -0,0 +1,11 @@+.container {+ backdrop-filter: blur(20px);+ background-color: var(--t-background-primary);+ border-radius: var(--t-border-radius-sm);+ box-shadow:+ 0px 2px 4px 0px var(--t-background-transparent-light),+ 0px 0px 4px 0px var(--t-background-transparent-medium);+ display: inline-flex;+ gap: 2px;+ padding: 2px;+}diff --git a/packages/twenty-ui/src/input/button/components/FloatingIconButtonGroup.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/FloatingIconButtonGroup.module.scss.d.tsnew file mode 100644index 00000000000..8df71b4dead--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/FloatingIconButtonGroup.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly container: 'container';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/FloatingIconButtonGroup.tsx b/packages/twenty-ui/src/input/button/components/FloatingIconButtonGroup.tsxnew file mode 100644index 00000000000..05f0c24a5dd--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/FloatingIconButtonGroup.tsx@@ -0,0 +1,58 @@+import { clsx } from 'clsx';+import { type MouseEvent } from 'react';++import { type IconComponent } from '@ui/display';++import {+ FloatingIconButton,+ type FloatingIconButtonPosition,+ type FloatingIconButtonProps,+} from './FloatingIconButton';++import styles from './FloatingIconButtonGroup.module.scss';++export type FloatingIconButtonGroupProps = Pick<+ FloatingIconButtonProps,+ 'className' | 'size'+> & {+ iconButtons: {+ Icon: IconComponent;+ // eslint-disable-next-line @typescript-eslint/no-explicit-any+ onClick?: (event: MouseEvent<any>) => void;+ isActive?: boolean;+ }[];+};++export const FloatingIconButtonGroup = ({+ iconButtons,+ size,+ className,+}: FloatingIconButtonGroupProps) => {+ return (+ <div className={clsx(styles.container, className)}>+ {iconButtons.map(({ Icon, onClick, isActive }, index) => {+ const position: FloatingIconButtonPosition =+ iconButtons.length === 1+ ? 'standalone'+ : index === 0+ ? 'left'+ : index === iconButtons.length - 1+ ? 'right'+ : 'middle';++ return (+ <FloatingIconButton+ key={`floating-icon-button-${index}`}+ applyBlur={false}+ applyShadow={false}+ Icon={Icon}+ onClick={onClick}+ position={position}+ size={size}+ isActive={isActive}+ />+ );+ })}+ </div>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/IconButton.module.scss b/packages/twenty-ui/src/input/button/components/IconButton.module.scssnew file mode 100644index 00000000000..8fab7c1f262--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/IconButton.module.scss@@ -0,0 +1,307 @@+@use 'sass:map';++// The variant × accent × disabled × focus matrix below is ported+// token-for-token from computeIconButtonDynamicStyles in the deprecated+// IconButton.tsx. Matrix rules only assign CSS custom properties; the actual+// declarations live on the flat .button class so twenty-front+// styled(IconButton) overrides keep beating them at (0,1,0) specificity,+// exactly like the legacy single Linaria class did.+// Cascade order inside each branch: base, then [data-focus], then+// [data-disabled] — later rules win, which replicates the legacy switch+// precedence (disabled > focus > base).++.button {+ align-items: center;+ background: var(--icon-button-bg, transparent);+ border-color: var(--icon-button-border-color, transparent);+ border-radius: var(--icon-button-radius, var(--t-border-radius-sm));+ border-style: solid;+ border-width: var(--icon-button-border-width, 1px);+ box-shadow: var(--icon-button-box-shadow, none);+ box-sizing: border-box;+ color: var(--icon-button-color, var(--t-font-color-secondary));+ cursor: pointer;+ display: flex;+ flex-direction: row;+ font-family: var(--t-font-family);+ font-weight: 500;+ gap: var(--t-spacing-1);+ justify-content: center;+ opacity: var(--icon-button-opacity, 1);+ padding: 0;+ transition: background 0.1s ease;+ white-space: nowrap;++ &:hover {+ background: var(--icon-button-hover-bg, transparent);+ }++ &:active {+ background: var(--icon-button-active-bg, transparent);+ }++ &:focus {+ outline: none;+ }++ &[data-disabled] {+ cursor: not-allowed;+ }+}++.small {+ height: 24px;+ min-width: 24px;+}++.medium {+ height: 32px;+ min-width: 32px;+}++// position only reshapes the border radius; standalone keeps the .button+// fallback radius.+.button[data-position='left'] {+ --icon-button-radius: var(--t-border-radius-sm) 0px 0px+ var(--t-border-radius-sm);+}++.button[data-position='middle'] {+ --icon-button-radius: 0px;+}++.button[data-position='right'] {+ --icon-button-radius: 0px var(--t-border-radius-sm) var(--t-border-radius-sm)+ 0px;+}++// Default border widths: tertiary is borderless and middle collapses the+// horizontal borders for primary/secondary; the .button fallback covers the+// remaining 1px cases.+.button[data-variant='tertiary'] {+ --icon-button-border-width: 0;+}++.button[data-position='middle']:is(+ [data-variant='primary'],+ [data-variant='secondary']+ ) {+ --icon-button-border-width: 1px 0px;+}++// focusOverride from the legacy source: an enabled focused button always+// shows a full 1px border, even for tertiary (borderless) and middle+// (collapsed) buttons.+.button[data-focus]:not([data-disabled]) {+ --icon-button-border-width: 1px 1px;+}++// variant=primary, keyed by accent. Null entries mean the disabled state+// keeps the base/focus value, mirroring the legacy switch.+$primary-accents: (+ 'default': (+ bg: var(--t-background-secondary),+ border: var(--t-background-transparent-light),+ border-focus: var(--t-color-blue),+ border-disabled: null,+ shadow-focus: var(--t-accent-tertiary),+ color: var(--t-font-color-secondary),+ color-disabled: var(--t-font-color-extra-light),+ opacity-disabled: null,+ hover: var(--t-background-tertiary),+ active: var(--t-background-quaternary),+ hover-disabled: var(--t-background-secondary),+ active-disabled: var(--t-background-secondary),+ ),+ 'blue': (+ bg: var(--t-color-blue),+ border: var(--t-background-transparent-light),+ border-focus: var(--t-color-blue),+ border-disabled: transparent,+ shadow-focus: var(--t-accent-tertiary),+ color: var(--t-gray-scale-gray1),+ color-disabled: null,+ opacity-disabled: 0.24,+ hover: var(--t-color-blue10),+ active: var(--t-color-blue12),+ hover-disabled: var(--t-color-blue),+ active-disabled: var(--t-color-blue),+ ),+ 'danger': (+ bg: var(--t-color-red),+ border: var(--t-background-transparent-light),+ border-focus: var(--t-color-red),+ border-disabled: transparent,+ shadow-focus: var(--t-color-red3),+ color: var(--t-gray-scale-gray1),+ color-disabled: null,+ opacity-disabled: 0.24,+ hover: var(--t-color-red10),+ active: var(--t-color-red10),+ hover-disabled: var(--t-color-red),+ active-disabled: var(--t-color-red),+ ),+);++@each $accent, $tokens in $primary-accents {+ .button[data-variant='primary'][data-accent='#{$accent}'] {+ --icon-button-bg: #{map.get($tokens, bg)};+ --icon-button-border-color: #{map.get($tokens, border)};+ --icon-button-color: #{map.get($tokens, color)};+ --icon-button-hover-bg: #{map.get($tokens, hover)};+ --icon-button-active-bg: #{map.get($tokens, active)};+ }++ // borderColor follows the raw focus flag in the legacy source, so+ // disabled+focus keeps it unless the accent defines border-disabled.+ .button[data-variant='primary'][data-accent='#{$accent}'][data-focus] {+ --icon-button-border-color: #{map.get($tokens, border-focus)};+ --icon-button-box-shadow: 0 0 0 3px #{map.get($tokens, shadow-focus)};+ }++ .button[data-variant='primary'][data-accent='#{$accent}'][data-disabled] {+ --icon-button-box-shadow: none;+ --icon-button-hover-bg: #{map.get($tokens, hover-disabled)};+ --icon-button-active-bg: #{map.get($tokens, active-disabled)};++ @if map.get($tokens, border-disabled) {+ --icon-button-border-color: #{map.get($tokens, border-disabled)};+ }++ @if map.get($tokens, color-disabled) {+ --icon-button-color: #{map.get($tokens, color-disabled)};+ }++ @if map.get($tokens, opacity-disabled) {+ --icon-button-opacity: #{map.get($tokens, opacity-disabled)};+ }+ }+}++// variant=secondary|tertiary. The two variants share backgrounds and disabled+// treatment; they differ in their resting border (secondary is outlined,+// tertiary borderless) and in how that border reacts to focus, so the border+// logic is spelled out per accent instead of mapped.++// accent=default+.button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-accent='default'] {+ --icon-button-hover-bg: var(--t-background-transparent-light);+ --icon-button-active-bg: var(--t-background-transparent-light);+}++.button[data-variant='secondary'][data-accent='default'] {+ --icon-button-border-color: var(--t-background-transparent-medium);+ --icon-button-color: var(--t-font-color-secondary);+}++.button[data-variant='tertiary'][data-accent='default'] {+ --icon-button-color: var(--t-font-color-tertiary);+}++// background follows the raw focus flag (it stays on for disabled+focus).+.button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-accent='default'][data-focus] {+ --icon-button-bg: var(--t-background-transparent-primary);+ --icon-button-border-color: var(--t-color-blue);+ --icon-button-box-shadow: 0 0 0 3px var(--t-accent-tertiary);+}++.button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-accent='default'][data-disabled] {+ --icon-button-box-shadow: none;+ --icon-button-color: var(--t-font-color-extra-light);+ --icon-button-hover-bg: transparent;+ --icon-button-active-bg: transparent;+}++// The secondary border only turns blue on enabled focus; tertiary keeps the+// blue border even for disabled+focus (raw focus in the legacy source).+.button[data-variant='secondary'][data-accent='default'][data-disabled] {+ --icon-button-border-color: var(--t-background-transparent-medium);+}++// accent=blue+.button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-accent='blue'] {+ --icon-button-color: var(--t-color-blue);+ --icon-button-hover-bg: var(--t-accent-tertiary);+ --icon-button-active-bg: var(--t-accent-secondary);+}++.button[data-variant='secondary'][data-accent='blue'] {+ --icon-button-border-color: var(--t-color-blue);+}++.button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-accent='blue'][data-focus] {+ --icon-button-bg: var(--t-background-transparent-primary);+ --icon-button-box-shadow: 0 0 0 3px var(--t-accent-tertiary);+}++// Only the tertiary border reacts to focus for the blue accent; the+// secondary border is keyed on disabled alone.+.button[data-variant='tertiary'][data-accent='blue'][data-focus] {+ --icon-button-border-color: var(--t-color-blue);+}++.button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-accent='blue'][data-disabled] {+ --icon-button-box-shadow: none;+ --icon-button-color: var(--t-accent-accent4060);+ --icon-button-hover-bg: transparent;+ --icon-button-active-bg: transparent;+}++.button[data-variant='secondary'][data-accent='blue'][data-disabled] {+ --icon-button-border-color: var(--t-color-blue5);+}++// accent=danger+.button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-accent='danger'] {+ --icon-button-color: var(--t-font-color-danger);+ --icon-button-hover-bg: var(--t-background-danger);+ --icon-button-active-bg: var(--t-background-danger);+}++.button[data-variant='secondary'][data-accent='danger'] {+ --icon-button-border-color: var(--t-border-color-danger);+}++// danger keeps a transparent background even on focus; only the shadow and+// the tertiary border react.+.button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-accent='danger'][data-focus] {+ --icon-button-box-shadow: 0 0 0 3px var(--t-color-red3);+}++.button[data-variant='tertiary'][data-accent='danger'][data-focus] {+ --icon-button-border-color: var(--t-color-red);+}++.button:is(+ [data-variant='secondary'],+ [data-variant='tertiary']+ )[data-accent='danger'][data-disabled] {+ --icon-button-box-shadow: none;+ --icon-button-color: var(--t-color-red5);+ --icon-button-hover-bg: transparent;+ --icon-button-active-bg: transparent;+}diff --git a/packages/twenty-ui/src/input/button/components/IconButton.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/IconButton.module.scss.d.tsnew file mode 100644index 00000000000..de85059fc80--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/IconButton.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly button: 'button';+ readonly small: 'small';+ readonly medium: 'medium';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/IconButton.tsx b/packages/twenty-ui/src/input/button/components/IconButton.tsxnew file mode 100644index 00000000000..bcf985b3d9c--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/IconButton.tsx@@ -0,0 +1,64 @@+import { clsx } from 'clsx';+import React, { useContext } from 'react';++import { type IconComponent } from '@ui/display';+import { ThemeContext } from '@ui/theme-constants';++import styles from './IconButton.module.scss';++export type IconButtonSize = 'medium' | 'small';+export type IconButtonPosition = 'standalone' | 'left' | 'middle' | 'right';+export type IconButtonVariant = 'primary' | 'secondary' | 'tertiary';+export type IconButtonAccent = 'default' | 'blue' | 'danger';++export type IconButtonProps = {+ className?: string;+ Icon?: IconComponent;+ variant?: IconButtonVariant;+ size?: IconButtonSize;+ position?: IconButtonPosition;+ accent?: IconButtonAccent;+ disabled?: boolean;+ focus?: boolean;+ dataTestId?: string;+ ariaLabel?: string;+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;+ to?: string;+};++export const IconButton = ({+ className,+ Icon,+ variant = 'primary',+ size = 'medium',+ accent = 'default',+ position = 'standalone',+ disabled = false,+ focus = false,+ dataTestId,+ ariaLabel,+ onClick,+ to,+}: IconButtonProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <button+ data-testid={dataTestId}+ className={clsx(styles.button, styles[size], className)}+ data-variant={variant}+ data-accent={accent}+ data-position={position}+ data-disabled={disabled || undefined}+ data-focus={focus || undefined}+ disabled={disabled}+ onClick={onClick}+ aria-label={ariaLabel}+ // The legacy Linaria button never navigated: `to` was simply forwarded+ // to the DOM as an inert attribute. Keep forwarding it for DOM parity.+ {...{ to }}+ >+ {Icon && <Icon size={theme.icon.size.md} />}+ </button>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/IconButtonGroup.module.scss b/packages/twenty-ui/src/input/button/components/IconButtonGroup.module.scssnew file mode 100644index 00000000000..6351090f939--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/IconButtonGroup.module.scss@@ -0,0 +1,18 @@+.container {+ align-items: flex-start;+ backdrop-filter: blur(20px);+ background-color: var(--t-background-transparent-lighter);+ border: 1px solid var(--t-border-color-strong);+ border-radius: var(--t-border-radius-sm);+ display: inline-flex;+ gap: 2px;+ padding: 2px;++ &:hover {+ box-shadow: var(--t-box-shadow-light);+ }++ &[data-disabled] {+ background-color: inherit;+ }+}diff --git a/packages/twenty-ui/src/input/button/components/IconButtonGroup.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/IconButtonGroup.module.scss.d.tsnew file mode 100644index 00000000000..8df71b4dead--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/IconButtonGroup.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly container: 'container';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/IconButtonGroup.tsx b/packages/twenty-ui/src/input/button/components/IconButtonGroup.tsxnew file mode 100644index 00000000000..9bb9c016136--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/IconButtonGroup.tsx@@ -0,0 +1,41 @@+import { clsx } from 'clsx';+import { type MouseEvent } from 'react';++import { type IconComponent } from '@ui/display';+import { InsideButton } from '@ui/input/button/components/InsideButton';++import styles from './IconButtonGroup.module.scss';++export type IconButtonGroupProps = {+ disabled?: boolean;+ iconButtons: {+ Icon: IconComponent;+ // eslint-disable-next-line @typescript-eslint/no-explicit-any+ onClick?: (event: MouseEvent<any>) => void;+ }[];+ className?: string;+};++export const IconButtonGroup = ({+ iconButtons,+ disabled,+ className,+}: IconButtonGroupProps) => {+ return (+ <div+ className={clsx(styles.container, className)}+ data-disabled={disabled || undefined}+ >+ {iconButtons.map(({ Icon, onClick }, index) => {+ return (+ <InsideButton+ key={index}+ Icon={Icon}+ onClick={onClick}+ disabled={disabled}+ />+ );+ })}+ </div>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/InsideButton.module.scss b/packages/twenty-ui/src/input/button/components/InsideButton.module.scssnew file mode 100644index 00000000000..af2ebbb5fca--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/InsideButton.module.scss@@ -0,0 +1,24 @@+.button {+ align-items: center;+ border: none;+ background-color: transparent;+ border-radius: var(--t-border-radius-xs);+ color: var(--t-font-color-tertiary);+ cursor: pointer;+ display: flex;+ flex-direction: row;+ height: 20px;+ justify-content: center;+ padding: 0;+ white-space: nowrap;+ min-width: 20px;+ transition: background-color 0.1s ease;++ &:hover {+ background-color: var(--t-background-transparent-light);+ }++ &[data-disabled] {+ cursor: not-allowed;+ }+}diff --git a/packages/twenty-ui/src/input/button/components/InsideButton.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/InsideButton.module.scss.d.tsnew file mode 100644index 00000000000..d6e2364fc57--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/InsideButton.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly button: 'button';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/InsideButton.tsx b/packages/twenty-ui/src/input/button/components/InsideButton.tsxnew file mode 100644index 00000000000..7edb37ac799--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/InsideButton.tsx@@ -0,0 +1,34 @@+import { clsx } from 'clsx';+import React, { useContext } from 'react';++import { type IconComponent } from '@ui/display';+import { ThemeContext } from '@ui/theme-constants';++import styles from './InsideButton.module.scss';++export type InsideButtonProps = {+ className?: string;+ Icon?: IconComponent;+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;+ disabled?: boolean;+};++export const InsideButton = ({+ className,+ Icon,+ onClick,+ disabled = false,+}: InsideButtonProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <button+ className={clsx(styles.button, className)}+ onClick={onClick}+ disabled={disabled}+ data-disabled={disabled || undefined}+ >+ {Icon && <Icon size={theme.icon.size.sm} />}+ </button>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/LightButton.module.scss b/packages/twenty-ui/src/input/button/components/LightButton.module.scssnew file mode 100644index 00000000000..603cb741bbe--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/LightButton.module.scss@@ -0,0 +1,74 @@+// State rules below only assign CSS custom properties; the actual+// declarations live on the flat .button class so twenty-front+// styled(LightButton) overrides keep beating them at (0,1,0) specificity,+// exactly like the legacy single Linaria class did.+// Cascade order replicates the legacy Linaria color switch precedence:+// (active || focus) > disabled > accent base — later rules win.++.button {+ align-items: center;+ background: transparent;+ border: var(--light-button-border, none);+ border-radius: var(--t-border-radius-sm);+ box-shadow: var(--light-button-box-shadow, none);+ color: var(--light-button-color);+ cursor: pointer;+ display: flex;+ flex-direction: row;+ font-family: var(--t-font-family);+ font-weight: var(--t-font-weight-regular);+ gap: var(--t-spacing-1);+ height: 24px;+ padding: 0 var(--t-spacing-2);+ transition: background 0.1s ease;+ white-space: nowrap;++ &:hover {+ background: var(+ --light-button-hover-bg,+ var(--t-background-transparent-light)+ );+ }++ &:focus {+ outline: none;+ }++ &:active {+ background: var(+ --light-button-active-bg,+ var(--t-background-transparent-medium)+ );+ }++ &[data-disabled] {+ cursor: not-allowed;+ }+}++.button[data-accent='secondary'] {+ --light-button-color: var(--t-font-color-secondary);+}++.button[data-accent='tertiary'] {+ --light-button-color: var(--t-font-color-tertiary);+}++.button[data-disabled] {+ --light-button-color: var(--t-font-color-extra-light);+ --light-button-hover-bg: transparent;+ --light-button-active-bg: transparent;+}++// active || focus turn the text blue even when disabled, matching the legacy+// switch where the (active || focus) branch came first.+.button[data-active],+.button[data-focus] {+ --light-button-color: var(--t-color-blue);+}++// focus is gated by !disabled in the component, like the legacy call-site.+.button[data-focus] {+ --light-button-border: 1px solid var(--t-color-blue);+ --light-button-box-shadow: 0 0 0 3px var(--t-color-blue3);+}diff --git a/packages/twenty-ui/src/input/button/components/LightButton.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/LightButton.module.scss.d.tsnew file mode 100644index 00000000000..d6e2364fc57--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/LightButton.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly button: 'button';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/LightButton.tsx b/packages/twenty-ui/src/input/button/components/LightButton.tsxnew file mode 100644index 00000000000..118afaae8b5--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/LightButton.tsx@@ -0,0 +1,51 @@+import { clsx } from 'clsx';+import { type MouseEvent, useContext } from 'react';++import { type IconComponent } from '@ui/display';+import { ThemeContext } from '@ui/theme-constants';++import styles from './LightButton.module.scss';++export type LightButtonAccent = 'secondary' | 'tertiary';++export type LightButtonProps = {+ className?: string;+ Icon?: IconComponent;+ title?: string;+ accent?: LightButtonAccent;+ active?: boolean;+ disabled?: boolean;+ focus?: boolean;+ onClick?: (event: MouseEvent<HTMLButtonElement>) => void;+ type?: React.ComponentProps<'button'>['type'];+};++export const LightButton = ({+ className,+ Icon,+ title,+ active = false,+ accent = 'secondary',+ disabled = false,+ focus = false,+ type = 'button',+ onClick,+}: LightButtonProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <button+ onClick={onClick}+ disabled={disabled}+ type={type}+ className={clsx(styles.button, className)}+ data-accent={accent}+ data-active={active || undefined}+ data-disabled={disabled || undefined}+ data-focus={(focus && !disabled) || undefined}+ >+ {!!Icon && <Icon size={theme.icon.size.md} />}+ {title}+ </button>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/LightIconButton.module.scss b/packages/twenty-ui/src/input/button/components/LightIconButton.module.scssnew file mode 100644index 00000000000..b2c4b7c963a--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/LightIconButton.module.scss@@ -0,0 +1,86 @@+// State rules below only assign CSS custom properties; the actual+// declarations live on the flat .button class so twenty-front+// styled(LightIconButton) overrides keep beating them at (0,1,0) specificity,+// exactly like the legacy single Linaria class did.+// Cascade order replicates the legacy Linaria color switch precedence:+// (active || focus) > disabled > accent base — later rules win.++.button {+ align-items: center;+ background: transparent;+ border: var(--light-icon-button-border, none);+ border-radius: var(--t-border-radius-sm);+ box-shadow: var(--light-icon-button-box-shadow, none);+ color: var(--light-icon-button-color);+ cursor: pointer;+ display: flex;+ flex-direction: row;+ font-family: var(--t-font-family);+ font-weight: var(--t-font-weight-regular);+ gap: var(--t-spacing-1);+ justify-content: center;+ padding: var(--t-spacing-1);+ transition: background 0.1s ease;+ white-space: nowrap;++ &:hover {+ background: var(+ --light-icon-button-hover-bg,+ var(--t-background-transparent-light)+ );+ }++ &:focus {+ outline: none;+ }++ &:active {+ background: var(+ --light-icon-button-active-bg,+ var(--t-background-transparent-medium)+ );+ }++ &[data-disabled] {+ cursor: not-allowed;+ }+}++.small {+ height: var(--t-spacing-6);+ min-width: var(--t-spacing-6);+ width: var(--t-spacing-6);+}++.medium {+ height: var(--t-spacing-8);+ min-width: var(--t-spacing-8);+ width: var(--t-spacing-8);+}++.button[data-accent='secondary'] {+ --light-icon-button-color: var(--t-font-color-secondary);+}++.button[data-accent='tertiary'] {+ --light-icon-button-color: var(--t-font-color-tertiary);+}++.button[data-disabled] {+ --light-icon-button-color: var(--t-font-color-extra-light);+ --light-icon-button-hover-bg: transparent;+ --light-icon-button-active-bg: transparent;+}++// active || focus turn the icon blue even when disabled, matching the legacy+// switch where the (active || focus) branch came first.+.button[data-active],+.button[data-focus] {+ --light-icon-button-color: var(--t-color-blue);+}++// focus is gated by !disabled in the component, like the legacy call-site.+.button[data-focus] {+ --light-icon-button-border: 1px solid var(--t-color-blue);+ --light-icon-button-box-shadow: 0 0 0 3px var(--t-color-blue3);+}diff --git a/packages/twenty-ui/src/input/button/components/LightIconButton.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/LightIconButton.module.scss.d.tsnew file mode 100644index 00000000000..de85059fc80--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/LightIconButton.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly button: 'button';+ readonly small: 'small';+ readonly medium: 'medium';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/LightIconButton.tsx b/packages/twenty-ui/src/input/button/components/LightIconButton.tsxnew file mode 100644index 00000000000..7092d18a715--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/LightIconButton.tsx@@ -0,0 +1,60 @@+import { clsx } from 'clsx';+import { type ComponentProps, type MouseEvent, useContext } from 'react';++import { type IconComponent } from '@ui/display';+import { ThemeContext } from '@ui/theme-constants';++import styles from './LightIconButton.module.scss';++export type LightIconButtonAccent = 'secondary' | 'tertiary';+export type LightIconButtonSize = 'small' | 'medium';++export type LightIconButtonProps = {+ className?: string;+ testId?: string;+ Icon?: IconComponent;+ title?: string;+ size?: LightIconButtonSize;+ accent?: LightIconButtonAccent;+ active?: boolean;+ disabled?: boolean;+ focus?: boolean;+ onClick?: (event: MouseEvent<HTMLButtonElement>) => void;+} & Pick<ComponentProps<'button'>, 'aria-label' | 'title'>;++export const LightIconButton = ({+ 'aria-label': ariaLabel,+ className,+ testId,+ Icon,+ active = false,+ size = 'small',+ accent = 'secondary',+ disabled = false,+ focus = false,+ onClick,+ title,+}: LightIconButtonProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <button+ data-testid={testId}+ aria-label={ariaLabel}+ onClick={onClick}+ disabled={disabled}+ className={clsx(styles.button, styles[size], className)}+ data-accent={accent}+ data-active={active || undefined}+ data-disabled={disabled || undefined}+ data-focus={(focus && !disabled) || undefined}+ title={title}+ >+ {Icon && (+ <Icon+ size={size === 'medium' ? theme.icon.size.md : theme.icon.size.sm}+ />+ )}+ </button>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/LightIconButtonGroup.module.scss b/packages/twenty-ui/src/input/button/components/LightIconButtonGroup.module.scssnew file mode 100644index 00000000000..c4961b98a9d--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/LightIconButtonGroup.module.scss@@ -0,0 +1,4 @@+.container {+ display: inline-flex;+ gap: 2px;+}diff --git a/packages/twenty-ui/src/input/button/components/LightIconButtonGroup.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/LightIconButtonGroup.module.scss.d.tsnew file mode 100644index 00000000000..8df71b4dead--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/LightIconButtonGroup.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly container: 'container';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/LightIconButtonGroup.tsx b/packages/twenty-ui/src/input/button/components/LightIconButtonGroup.tsxnew file mode 100644index 00000000000..b4a0847f885--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/LightIconButtonGroup.tsx@@ -0,0 +1,62 @@+import {+ type FunctionComponent,+ type MouseEvent,+ type ReactElement,+} from 'react';++import { type IconComponent } from '@ui/display';++import { clsx } from 'clsx';+import { LightIconButton, type LightIconButtonProps } from './LightIconButton';++import styles from './LightIconButtonGroup.module.scss';++export type LightIconButtonGroupProps = Pick<+ LightIconButtonProps,+ 'className' | 'size'+> & {+ iconButtons: {+ Wrapper?: FunctionComponent<{ iconButton: ReactElement }>;+ Icon: IconComponent;+ accent?: LightIconButtonProps['accent'];+ // eslint-disable-next-line @typescript-eslint/no-explicit-any+ onClick?: (event: MouseEvent<any>) => void;+ disabled?: boolean;+ ariaLabel?: string;+ dataTestId?: string;+ }[];+};++export const LightIconButtonGroup = ({+ iconButtons,+ size,+ className,+}: LightIconButtonGroupProps) => (+ <div className={clsx(styles.container, className)}>+ {iconButtons.map(+ ({ Wrapper, Icon, accent, onClick, ariaLabel, dataTestId }, index) => {+ const iconButton = (+ <LightIconButton+ key={`light-icon-button-${index}`}+ Icon={Icon}+ accent={accent}+ disabled={!onClick}+ onClick={onClick}+ size={size}+ aria-label={ariaLabel}+ testId={dataTestId}+ />+ );++ return Wrapper ? (+ <Wrapper+ key={`light-icon-button-wrapper-${index}`}+ iconButton={iconButton}+ />+ ) : (+ iconButton+ );+ },+ )}+ </div>+);diff --git a/packages/twenty-ui/src/input/button/components/MainButton.module.scss b/packages/twenty-ui/src/input/button/components/MainButton.module.scssnew file mode 100644index 00000000000..d81831a3399--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/MainButton.module.scss@@ -0,0 +1,62 @@+// State rules below only assign CSS custom properties; the actual+// declarations live on the flat .button class so twenty-front+// styled(MainButton) overrides keep beating them at (0,1,0) specificity,+// exactly like the legacy single Linaria class did.+// Cascade order replicates the legacy switches: disabled > variant.++.button {+ align-items: center;+ background: var(--main-button-bg);+ border: 1px solid;+ border-color: var(--main-button-border-color);+ border-radius: var(--t-border-radius-md);+ box-shadow: var(--main-button-box-shadow, var(--t-box-shadow-light));+ color: var(--main-button-color);+ cursor: pointer;+ display: flex;+ flex-direction: row;+ font-family: var(--t-font-family);+ font-weight: var(--t-font-weight-semi-bold);+ gap: var(--t-spacing-2);+ justify-content: center;+ outline: none;+ padding: var(--t-spacing-2) var(--t-spacing-3);+ max-height: var(--t-spacing-8);+ width: var(--main-button-width, auto);++ &:hover {+ background: var(--main-button-hover-bg);+ }++ &[data-disabled] {+ cursor: not-allowed;+ }+}++.button[data-variant='primary'] {+ --main-button-bg: var(--t-background-primary-inverted);+ --main-button-border-color: var(--t-background-transparent-strong);+ --main-button-color: var(--t-font-color-inverted);+ --main-button-hover-bg: var(--t-background-primary-inverted-hover);+}++.button[data-variant='secondary'] {+ --main-button-bg: var(--t-background-primary);+ --main-button-border-color: var(--t-border-color-medium);+ --main-button-color: var(--t-font-color-primary);+ --main-button-hover-bg: var(--t-background-tertiary);+}++.button[data-disabled] {+ --main-button-bg: var(--t-background-secondary);+ --main-button-border-color: var(--t-background-transparent-lighter);+ --main-button-box-shadow: none;+ --main-button-color: var(--t-font-color-light);+}++// hover when disabled: the legacy hover switch ignores disabled for+// secondary (keeps tertiary), while primary falls back to the disabled+// background.+.button[data-variant='primary'][data-disabled] {+ --main-button-hover-bg: var(--t-background-secondary);+}diff --git a/packages/twenty-ui/src/input/button/components/MainButton.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/MainButton.module.scss.d.tsnew file mode 100644index 00000000000..d6e2364fc57--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/MainButton.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly button: 'button';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/MainButton.tsx b/packages/twenty-ui/src/input/button/components/MainButton.tsxnew file mode 100644index 00000000000..24ca26c40e1--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/MainButton.tsx@@ -0,0 +1,58 @@+import { clsx } from 'clsx';+import React, { type FunctionComponent, useContext } from 'react';++import { type IconComponent } from '@ui/display';+import { ThemeContext } from '@ui/theme-constants';++import styles from './MainButton.module.scss';++export type MainButtonVariant = 'primary' | 'secondary';++type Props = {+ title: string;+ fullWidth?: boolean;+ width?: number;+ variant?: MainButtonVariant;+ soon?: boolean;+} & React.ComponentProps<'button'>;++type MainButtonProps = Props & {+ Icon?: IconComponent | FunctionComponent<{ size: number }>;+};++export const MainButton = ({+ Icon,+ title,+ width,+ fullWidth = false,+ variant = 'primary',+ type,+ onClick,+ disabled,+ className,+}: MainButtonProps) => {+ const { theme } = useContext(ThemeContext);++ // Replicates the legacy ternary exactly: fullWidth wins over width, and a+ // falsy width (0) falls back to the 'auto' default.+ const widthValue = fullWidth ? '100%' : width ? `${width}px` : undefined;++ return (+ <button+ className={clsx(styles.button, className)}+ data-variant={variant}+ data-disabled={disabled || undefined}+ disabled={disabled}+ onClick={onClick}+ type={type}+ style={+ widthValue+ ? ({ '--main-button-width': widthValue } as React.CSSProperties)+ : undefined+ }+ >+ {Icon && <Icon size={theme.icon.size.sm} />}+ {title}+ </button>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/RoundedIconButton.module.scss b/packages/twenty-ui/src/input/button/components/RoundedIconButton.module.scssnew file mode 100644index 00000000000..d238375e8a9--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/RoundedIconButton.module.scss@@ -0,0 +1,35 @@+.button {+ align-items: center;+ background: var(--t-color-blue);+ border: none;+ border-radius: 50%;+ color: var(--t-font-color-inverted);+ cursor: pointer;+ display: flex;+ justify-content: center;+ outline: none;+ padding: 0;+ transition:+ color 0.1s ease-in-out,+ background 0.1s ease-in-out;++ &:hover:not(:disabled) {+ background: var(--t-color-blue10);+ }++ &:disabled {+ background: var(--t-background-quaternary);+ color: var(--t-font-color-tertiary);+ cursor: default;+ }+}++.small {+ height: 20px;+ width: 20px;+}++.medium {+ height: 24px;+ width: 24px;+}diff --git a/packages/twenty-ui/src/input/button/components/RoundedIconButton.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/RoundedIconButton.module.scss.d.tsnew file mode 100644index 00000000000..de85059fc80--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/RoundedIconButton.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly button: 'button';+ readonly small: 'small';+ readonly medium: 'medium';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/RoundedIconButton.tsx b/packages/twenty-ui/src/input/button/components/RoundedIconButton.tsxnew file mode 100644index 00000000000..a37a58e1fdc--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/RoundedIconButton.tsx@@ -0,0 +1,34 @@+import { clsx } from 'clsx';+import React, { useContext } from 'react';++import { type IconComponent } from '@ui/display';+import { ThemeContext } from '@ui/theme-constants';++import styles from './RoundedIconButton.module.scss';++export type RoundedIconButtonSize = 'small' | 'medium';++type RoundedIconButtonProps = {+ Icon: IconComponent;+ size?: RoundedIconButtonSize;+} & React.ButtonHTMLAttributes<HTMLButtonElement>;++export const RoundedIconButton = ({+ Icon,+ onClick,+ disabled,+ className,+ size = 'small',+}: RoundedIconButtonProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <button+ className={clsx(styles.button, styles[size], className)}+ disabled={disabled}+ onClick={onClick}+ >+ <Icon size={theme.icon.size.md} />+ </button>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/TabButton/TabButton.module.scss b/packages/twenty-ui/src/input/button/components/TabButton/TabButton.module.scssnew file mode 100644index 00000000000..3b898f5cf18--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/TabButton/TabButton.module.scss@@ -0,0 +1,3 @@+.tabTooltipWrapper {+ display: flex;+}diff --git a/packages/twenty-ui/src/input/button/components/TabButton/TabButton.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/TabButton/TabButton.module.scss.d.tsnew file mode 100644index 00000000000..9bc27db801d--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/TabButton/TabButton.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly tabTooltipWrapper: 'tabTooltipWrapper';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/TabButton/TabButton.tsx b/packages/twenty-ui/src/input/button/components/TabButton/TabButton.tsxnew file mode 100644index 00000000000..94c305f755b--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/TabButton/TabButton.tsx@@ -0,0 +1,77 @@+import { AppTooltip, type IconComponent, TooltipDelay } from '@ui/display';+import { StyledTabButton } from '@ui/input/button/components/TabButton/internals/components/StyledTabBase';+import { TabContent } from '@ui/input/button/components/TabButton/internals/components/TabContent';+import { type ReactElement } from 'react';++import styles from './TabButton.module.scss';++type TabButtonProps = {+ id: string;+ active?: boolean;+ disabled?: boolean;+ to?: string;+ LeftIcon?: IconComponent;+ className?: string;+ title?: string;+ onClick?: () => void;+ logo?: string;+ RightIcon?: IconComponent;+ pill?: string | ReactElement;+ contentSize?: 'sm' | 'md';+ disableTestId?: boolean;+ tooltipContent?: string;+};++export const TabButton = ({+ id,+ active,+ disabled,+ to,+ LeftIcon,+ className,+ title,+ onClick,+ logo,+ RightIcon,+ pill,+ contentSize = 'sm',+ disableTestId = false,+ tooltipContent,+}: TabButtonProps) => {+ const tabElementId = `tab-${id}`;++ return (+ <div key={id} id={tabElementId} className={styles.tabTooltipWrapper}>+ <StyledTabButton+ data-testid={disableTestId ? undefined : `tab-${id}`}+ active={active}+ disabled={disabled}+ to={to}+ className={className}+ onClick={onClick}+ >+ <TabContent+ id={id}+ active={active}+ disabled={disabled}+ LeftIcon={LeftIcon}+ title={title}+ logo={logo}+ RightIcon={RightIcon}+ pill={pill}+ contentSize={contentSize}+ />+ </StyledTabButton>+ {tooltipContent && (+ <AppTooltip+ anchorSelect={`#${tabElementId}`}+ content={tooltipContent}+ noArrow+ place="bottom"+ positionStrategy="fixed"+ delay={TooltipDelay.shortDelay}+ />+ )}+ </div>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/TabButton/internals/components/StyledTabBase.module.scss b/packages/twenty-ui/src/input/button/components/TabButton/internals/components/StyledTabBase.module.scssnew file mode 100644index 00000000000..26e78ff720b--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/TabButton/internals/components/StyledTabBase.module.scss@@ -0,0 +1,100 @@+.tabButton {+ all: unset;+ align-items: center;+ color: var(--t-font-color-secondary);+ cursor: pointer;+ background-color: transparent;+ border: none;+ font-family: inherit;+ display: flex;+ gap: var(--t-spacing-1);+ justify-content: center;+ text-decoration: none;+ position: relative;++ &::after {+ content: '';+ position: absolute;+ bottom: 0;+ left: 0;+ right: 0;+ height: 1px;+ background-color: transparent;+ z-index: 1;+ }++ &[data-disabled] {+ color: var(--t-font-color-light);+ pointer-events: none;+ }++ // active wins over disabled, matching the legacy Linaria ternary+ // (active ? primary : disabled ? light : secondary)+ &[data-active] {+ color: var(--t-font-color-primary);++ &::after {+ background-color: var(--t-border-color-inverted);+ }+ }+}++.tabContainer {+ align-items: center;+ color: var(--t-font-color-secondary);+ cursor: pointer;+ background-color: transparent;+ display: flex;+ gap: var(--t-spacing-1);+ justify-content: center;+ text-decoration: none;+ position: relative;++ &::after {+ content: '';+ position: absolute;+ bottom: 0;+ left: 0;+ right: 0;+ height: 1px;+ background-color: transparent;+ z-index: 1;+ }++ &[data-disabled] {+ color: var(--t-font-color-light);+ }++ &[data-active] {+ color: var(--t-font-color-primary);++ &::after {+ background-color: var(--t-border-color-inverted);+ }+ }+}++.tabHover {+ box-sizing: border-box;+ display: flex;+ gap: var(--t-spacing-1);+ // the legacy ternary fell through to the md padding when contentSize was+ // undefined, so md padding is the base and sm is the override+ padding: var(--t-spacing-2) var(--t-spacing-2);+ font-weight: var(--t-font-weight-medium);+ width: 100%;+ white-space: nowrap;+ border-radius: var(--t-border-radius-sm);++ &[data-content-size='sm'] {+ padding: var(--t-spacing-1) var(--t-spacing-2);+ }++ &:hover {+ background: var(--t-background-tertiary);+ }++ &:active {+ background: var(--t-background-quaternary);+ }+}diff --git a/packages/twenty-ui/src/input/button/components/TabButton/internals/components/StyledTabBase.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/TabButton/internals/components/StyledTabBase.module.scss.d.tsnew file mode 100644index 00000000000..9832b4d27dd--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/TabButton/internals/components/StyledTabBase.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly tabButton: 'tabButton';+ readonly tabContainer: 'tabContainer';+ readonly tabHover: 'tabHover';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/TabButton/internals/components/StyledTabBase.tsx b/packages/twenty-ui/src/input/button/components/TabButton/internals/components/StyledTabBase.tsxnew file mode 100644index 00000000000..ffe8f44ef85--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/TabButton/internals/components/StyledTabBase.tsx@@ -0,0 +1,84 @@+import { clsx } from 'clsx';+import { type ComponentPropsWithoutRef, forwardRef } from 'react';+import { Link } from 'react-router-dom';++import styles from './StyledTabBase.module.scss';++// The deprecated Linaria styled components forwarded refs and arbitrary+// native props (twenty-front spreads drag-and-drop props onto+// StyledTabContainer), so the ports preserve that contract.+type StyledTabButtonProps = {+ active?: boolean;+ disabled?: boolean;+ to?: string;+} & ComponentPropsWithoutRef<'button'>;++export const StyledTabButton = forwardRef<HTMLElement, StyledTabButtonProps>(+ ({ active, disabled, to, className, children, ...rest }, ref) => {+ // Replaces the legacy Linaria `as` polymorphism: react-router Link when a+ // `to` is provided, a native button otherwise. Typed as any to forward all+ // props untyped, exactly like the legacy `as` prop did.+ // eslint-disable-next-line @typescript-eslint/no-explicit-any+ const TabButtonComponent: any = to ? Link : 'button';++ return (+ <TabButtonComponent+ ref={ref}+ to={to}+ disabled={to ? undefined : disabled}+ className={clsx(styles.tabButton, className)}+ data-active={active || undefined}+ data-disabled={disabled || undefined}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ >+ {children}+ </TabButtonComponent>+ );+ },+);++StyledTabButton.displayName = 'StyledTabButton';++type StyledTabContainerProps = {+ active?: boolean;+ disabled?: boolean;+} & ComponentPropsWithoutRef<'div'>;++export const StyledTabContainer = forwardRef<+ HTMLDivElement,+ StyledTabContainerProps+>(({ active, disabled, className, children, ...rest }, ref) => (+ <div+ ref={ref}+ className={clsx(styles.tabContainer, className)}+ data-active={active || undefined}+ data-disabled={disabled || undefined}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ >+ {children}+ </div>+));++StyledTabContainer.displayName = 'StyledTabContainer';++type StyledTabHoverProps = {+ contentSize?: 'sm' | 'md';+} & ComponentPropsWithoutRef<'span'>;++export const StyledTabHover = forwardRef<HTMLSpanElement, StyledTabHoverProps>(+ ({ contentSize, className, children, ...rest }, ref) => (+ <span+ ref={ref}+ className={clsx(styles.tabHover, className)}+ data-content-size={contentSize}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ >+ {children}+ </span>+ ),+);++StyledTabHover.displayName = 'StyledTabHover';diff --git a/packages/twenty-ui/src/input/button/components/TabButton/internals/components/TabContent.tsx b/packages/twenty-ui/src/input/button/components/TabButton/internals/components/TabContent.tsxnew file mode 100644index 00000000000..9ca002675ea--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/TabButton/internals/components/TabContent.tsx@@ -0,0 +1,48 @@+import { Pill } from '@ui/components/Pill/Pill';+import { Avatar, type IconComponent } from '@ui/display';+import { ThemeContext } from '@ui/theme-constants';+import { type ReactElement, useContext } from 'react';+import { StyledTabHover } from './StyledTabBase';++export type TabContentProps = {+ id: string;+ active?: boolean;+ disabled?: boolean;+ LeftIcon?: IconComponent;+ title?: string;+ logo?: string;+ RightIcon?: IconComponent;+ pill?: string | ReactElement;+ contentSize?: 'sm' | 'md';+ className?: string;+};++export const TabContent = ({+ active,+ disabled,+ LeftIcon,+ title,+ logo,+ RightIcon,+ pill,+ contentSize = 'sm',+ className,+}: TabContentProps) => {+ const { theme } = useContext(ThemeContext);++ const iconColor = active+ ? theme.font.color.primary+ : disabled+ ? theme.font.color.extraLight+ : theme.font.color.secondary;++ return (+ <StyledTabHover contentSize={contentSize} className={className}>+ {LeftIcon && <LeftIcon color={iconColor} size={theme.icon.size.md} />}+ {logo && <Avatar avatarUrl={logo} size="md" placeholder={title} />}+ {title}+ {RightIcon && <RightIcon color={iconColor} size={theme.icon.size.md} />}+ {pill && (typeof pill === 'string' ? <Pill label={pill} /> : pill)}+ </StyledTabHover>+ );+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/AnimatedLightIconButton.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/AnimatedLightIconButton.stories.tsxnew file mode 100644index 00000000000..c9f4a8e2b25--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/AnimatedLightIconButton.stories.tsx@@ -0,0 +1,110 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconSearch } from '@ui/display';+import {+ type LightIconButtonAccent,+ type LightIconButtonSize,+} from '@ui/input/button/components/LightIconButton';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { AnimatedLightIconButton } from '../AnimatedLightIconButton';++const meta: Meta<typeof AnimatedLightIconButton> = {+ title: 'UI/Input/Button/AnimatedLightIconButton',+ component: AnimatedLightIconButton,+};++export default meta;+type Story = StoryObj<typeof AnimatedLightIconButton>;++export const Default: Story = {+ args: {+ title: 'Filter',+ accent: 'secondary',+ disabled: false,+ active: false,+ focus: false,+ Icon: IconSearch,+ animate: { scale: 1.2 },+ transition: { duration: 0.3 },+ },+ argTypes: {+ Icon: { control: false },+ animate: { control: 'object' },+ transition: { control: 'object' },+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof AnimatedLightIconButton> = {+ args: {+ title: 'Filter',+ Icon: IconSearch,+ animate: { scale: 1.2 },+ transition: { duration: 0.3 },+ },+ argTypes: {+ accent: { control: false },+ disabled: { control: false },+ active: { control: false },+ focus: { control: false },+ animate: { control: 'object' },+ transition: { control: 'object' },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'] },+ catalog: {+ dimensions: [+ {+ name: 'states',+ values: [+ 'default',+ 'hover',+ 'pressed',+ 'disabled',+ 'active',+ 'focus',+ 'disabled+focus',+ 'disabled+active',+ ],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ case 'pressed':+ return { className: state };+ case 'focus':+ return { focus: true };+ case 'disabled':+ return { disabled: true };+ case 'active':+ return { active: true };+ case 'disabled+focus':+ return { disabled: true, focus: true };+ case 'disabled+active':+ return { disabled: true, active: true };+ default:+ return {};+ }+ },+ },+ {+ name: 'accents',+ values: ['secondary', 'tertiary'] satisfies LightIconButtonAccent[],+ props: (accent: LightIconButtonAccent) => ({ accent }),+ },+ {+ name: 'sizes',+ values: ['small', 'medium'] satisfies LightIconButtonSize[],+ props: (size: LightIconButtonSize) => ({ size }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/Button.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/Button.stories.tsxnew file mode 100644index 00000000000..9de181ff912--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/Button.stories.tsx@@ -0,0 +1,368 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconReload, IconSearch } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import {+ Button,+ type ButtonAccent,+ type ButtonPosition,+ type ButtonSize,+ type ButtonVariant,+} from '../Button/Button';++const meta: Meta<typeof Button> = {+ title: 'UI/Input/Button/Button',+ component: Button,+};++export default meta;+type Story = StoryObj<typeof Button>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ argTypes: {+ hotkeys: { control: false },+ Icon: { control: false },+ },+ args: {+ title: 'Button',+ size: 'small',+ variant: 'primary',+ inverted: false,+ accent: 'danger',+ disabled: false,+ focus: false,+ fullWidth: false,+ soon: false,+ position: 'standalone',+ Icon: IconSearch,+ className: '',+ isLoading: false,+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof Button> = {+ args: { title: 'Filter', Icon: IconSearch, hotkeys: ['⌘', 'O'] },+ argTypes: {+ size: { control: false },+ variant: { control: false },+ accent: { control: false },+ disabled: { control: false },+ focus: { control: false },+ fullWidth: { control: false },+ soon: { control: false },+ position: { control: false },+ className: { control: false },+ isLoading: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'sizes',+ values: ['small', 'medium'] satisfies ButtonSize[],+ props: (size: ButtonSize) => ({ size }),+ },+ {+ name: 'states',+ values: [+ 'default',+ 'hover',+ 'pressed',+ 'disabled',+ 'focus',+ 'disabled+focus',+ ],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ case 'pressed':+ return { className: state };+ case 'focus':+ return { focus: true };+ case 'disabled':+ return { disabled: true };+ case 'active':+ return { active: true };+ case 'disabled+focus':+ return { focus: true, disabled: true };+ default:+ return {};+ }+ },+ },+ {+ name: 'accents',+ values: ['default', 'blue', 'danger'] satisfies ButtonAccent[],+ props: (accent: ButtonAccent) => ({ accent }),+ },+ {+ name: 'variants',+ values: [+ 'primary',+ 'secondary',+ 'tertiary',+ ] satisfies ButtonVariant[],+ props: (variant: ButtonVariant) => ({ variant }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};++export const SoonCatalog: CatalogStory<Story, typeof Button> = {+ args: { title: 'Filter', Icon: IconSearch, soon: true },+ argTypes: {+ size: { control: false },+ variant: { control: false },+ accent: { control: false },+ disabled: { control: false },+ focus: { control: false },+ fullWidth: { control: false },+ soon: { control: false },+ position: { control: false },+ className: { control: false },+ hotkeys: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'sizes',+ values: ['small', 'medium'] satisfies ButtonSize[],+ props: (size: ButtonSize) => ({ size }),+ },+ {+ name: 'states',+ values: [+ 'default',+ 'hover',+ 'pressed',+ 'disabled',+ 'focus',+ 'disabled+focus',+ ],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ case 'pressed':+ return { className: state };+ case 'focus':+ return { focus: true };+ case 'disabled':+ return { disabled: true };+ case 'active':+ return { active: true };+ case 'disabled+focus':+ return { focus: true, disabled: true };+ default:+ return {};+ }+ },+ },+ {+ name: 'accents',+ values: ['default', 'blue', 'danger'] satisfies ButtonAccent[],+ props: (accent: ButtonAccent) => ({ accent }),+ },+ {+ name: 'variants',+ values: [+ 'primary',+ 'secondary',+ 'tertiary',+ ] satisfies ButtonVariant[],+ props: (variant: ButtonVariant) => ({ variant }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};++export const PositionCatalog: CatalogStory<Story, typeof Button> = {+ args: { title: 'Filter', Icon: IconSearch },+ argTypes: {+ size: { control: false },+ variant: { control: false },+ accent: { control: false },+ disabled: { control: false },+ focus: { control: false },+ fullWidth: { control: false },+ soon: { control: false },+ position: { control: false },+ hotkeys: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'positions',+ values: [+ 'standalone',+ 'left',+ 'middle',+ 'right',+ ] satisfies ButtonPosition[],+ props: (position: ButtonPosition) => ({ position }),+ },+ {+ name: 'states',+ values: [+ 'default',+ 'hover',+ 'pressed',+ 'disabled',+ 'focus',+ 'disabled+focus',+ ],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ case 'pressed':+ return { className: state };+ case 'focus':+ return { focus: true };+ case 'disabled':+ return { disabled: true };+ case 'active':+ return { active: true };+ case 'disabled+focus':+ return { focus: true, disabled: true };+ default:+ return {};+ }+ },+ },+ {+ name: 'sizes',+ values: ['small', 'medium'] satisfies ButtonSize[],+ props: (size: ButtonSize) => ({ size }),+ },+ {+ name: 'variants',+ values: [+ 'primary',+ 'secondary',+ 'tertiary',+ ] satisfies ButtonVariant[],+ props: (variant: ButtonVariant) => ({ variant }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};++export const ShortcutCatalog: CatalogStory<Story, typeof Button> = {+ args: { title: 'Actions', hotkeys: ['⌘', 'O'] },+ argTypes: {+ size: { control: false },+ variant: { control: false },+ accent: { control: false },+ disabled: { control: false },+ focus: { control: false },+ fullWidth: { control: false },+ soon: { control: false },+ position: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'sizes',+ values: ['small', 'medium'] satisfies ButtonSize[],+ props: (size: ButtonSize) => ({ size }),+ },+ {+ name: 'accents',+ values: ['default', 'blue', 'danger'] satisfies ButtonAccent[],+ props: (accent: ButtonAccent) => ({ accent }),+ },+ {+ name: 'variants',+ values: [+ 'primary',+ 'secondary',+ 'tertiary',+ ] satisfies ButtonVariant[],+ props: (variant: ButtonVariant) => ({ variant }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};++export const FullWidth: Story = {+ args: { title: 'Filter', Icon: IconSearch, fullWidth: true },+ argTypes: {+ size: { control: false },+ variant: { control: false },+ accent: { control: false },+ focus: { control: false },+ disabled: { control: false },+ fullWidth: { control: false },+ soon: { control: false },+ position: { control: false },+ className: { control: false },+ Icon: { control: false },+ },+ decorators: [ComponentDecorator],+};++export const LoadingButton: Story = {+ args: {+ title: 'Reload',+ Icon: IconReload,+ isLoading: true,+ },+ argTypes: {+ size: { control: false },+ variant: { control: false },+ accent: { control: false },+ focus: { control: false },+ disabled: { control: false },+ fullWidth: { control: false },+ soon: { control: false },+ position: { control: false },+ className: { control: false },+ isLoading: { control: 'boolean' },+ },+ parameters: {+ catalog: {+ isLoading: [+ {+ name: 'isLoading',+ values: [true, false] satisfies boolean[],+ props: (value: boolean) => ({ isLoading: value }),+ },+ ],+ },+ },+ decorators: [ComponentDecorator],+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/ButtonGroup.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/ButtonGroup.stories.tsxnew file mode 100644index 00000000000..ef2ddea9da9--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/ButtonGroup.stories.tsx@@ -0,0 +1,86 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconCheckbox, IconNotes, IconTimelineEvent } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import {+ Button,+ type ButtonAccent,+ type ButtonSize,+ type ButtonVariant,+} from '../Button/Button';+import { ButtonGroup } from '../ButtonGroup';++const meta: Meta<typeof ButtonGroup> = {+ title: 'UI/Input/Button/ButtonGroup',+ component: ButtonGroup,+};++export default meta;+type Story = StoryObj<typeof ButtonGroup>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ size: 'small',+ variant: 'primary',+ accent: 'danger',+ children: [+ <Button key="note" Icon={IconNotes} title="Note" />,+ <Button key="task" Icon={IconCheckbox} title="Task" />,+ <Button key="activity" Icon={IconTimelineEvent} title="Activity" />,+ ],+ },+ argTypes: {+ children: { control: false },+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof ButtonGroup> = {+ args: {+ children: [+ <Button key="note" Icon={IconNotes} title="Note" />,+ <Button key="task" Icon={IconCheckbox} title="Task" />,+ <Button key="activity" Icon={IconTimelineEvent} title="Activity" />,+ ],+ },+ argTypes: {+ size: { control: false },+ variant: { control: false },+ accent: { control: false },+ children: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'sizes',+ values: ['small', 'medium'] satisfies ButtonSize[],+ props: (size: ButtonSize) => ({ size }),+ },+ {+ name: 'accents',+ values: ['default', 'blue', 'danger'] satisfies ButtonAccent[],+ props: (accent: ButtonAccent) => ({ accent }),+ },+ {+ name: 'variants',+ values: [+ 'primary',+ 'secondary',+ 'tertiary',+ ] satisfies ButtonVariant[],+ props: (variant: ButtonVariant) => ({ variant }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/ColorPickerButton.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/ColorPickerButton.stories.tsxnew file mode 100644index 00000000000..9f9aa133960--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/ColorPickerButton.stories.tsx@@ -0,0 +1,24 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { ComponentDecorator } from '@ui/testing';+import { ColorPickerButton } from '../ColorPickerButton';++const meta: Meta<typeof ColorPickerButton> = {+ title: 'UI/Input/Button/ColorPickerButton',+ component: ColorPickerButton,+ decorators: [ComponentDecorator],+ args: { colorName: 'green' },+};++export default meta;+type Story = StoryObj<typeof ColorPickerButton>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+};++export const Selected: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: { isSelected: true },+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/FloatingButton.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/FloatingButton.stories.tsxnew file mode 100644index 00000000000..704044977b0--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/FloatingButton.stories.tsx@@ -0,0 +1,86 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconSearch } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { FloatingButton, type FloatingButtonSize } from '../FloatingButton';++const meta: Meta<typeof FloatingButton> = {+ title: 'UI/Input/Button/FloatingButton',+ component: FloatingButton,+};++export default meta;+type Story = StoryObj<typeof FloatingButton>;++export const Default: Story = {+ args: {+ title: 'Filter',+ size: 'small',+ disabled: false,+ focus: false,+ applyBlur: true,+ applyShadow: true,+ position: 'standalone',+ Icon: IconSearch,+ },+ argTypes: {+ Icon: { control: false },+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof FloatingButton> = {+ args: { title: 'Filter', Icon: IconSearch },+ argTypes: {+ size: { control: false },+ disabled: { control: false },+ position: { control: false },+ focus: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'] },+ catalog: {+ dimensions: [+ {+ name: 'sizes',+ values: ['small', 'medium'] satisfies FloatingButtonSize[],+ props: (size: FloatingButtonSize) => ({ size }),+ },+ {+ name: 'states',+ values: [+ 'default',+ 'hover',+ 'pressed',+ 'disabled',+ 'focus',+ 'disabled+focus',+ ],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ case 'pressed':+ return { className: state };+ case 'focus':+ return { focus: true };+ case 'disabled':+ return { disabled: true };+ case 'disabled+focus':+ return { disabled: true, focus: true };+ default:+ return {};+ }+ },+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/FloatingButtonGroup.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/FloatingButtonGroup.stories.tsxnew file mode 100644index 00000000000..f9293485e33--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/FloatingButtonGroup.stories.tsx@@ -0,0 +1,63 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconCheckbox, IconNotes, IconTimelineEvent } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { FloatingButton, type FloatingButtonSize } from '../FloatingButton';+import { FloatingButtonGroup } from '../FloatingButtonGroup';++const meta: Meta<typeof FloatingButtonGroup> = {+ title: 'UI/Input/Button/FloatingButtonGroup',+ component: FloatingButtonGroup,+};++export default meta;+type Story = StoryObj<typeof FloatingButtonGroup>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ size: 'small',+ children: [+ <FloatingButton key="notes" Icon={IconNotes} />,+ <FloatingButton key="checkbox" Icon={IconCheckbox} />,+ <FloatingButton key="timeline" Icon={IconTimelineEvent} />,+ ],+ },+ argTypes: {+ children: { control: false },+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof FloatingButtonGroup> = {+ args: {+ children: [+ <FloatingButton key="notes" Icon={IconNotes} />,+ <FloatingButton key="checkbox" Icon={IconCheckbox} />,+ <FloatingButton key="timeline" Icon={IconTimelineEvent} />,+ ],+ },+ argTypes: {+ size: { control: false },+ children: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'sizes',+ values: ['small', 'medium'] satisfies FloatingButtonSize[],+ props: (size: FloatingButtonSize) => ({ size }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/FloatingIconButton.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/FloatingIconButton.stories.tsxnew file mode 100644index 00000000000..e81fe23585b--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/FloatingIconButton.stories.tsx@@ -0,0 +1,89 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconSearch } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import {+ FloatingIconButton,+ type FloatingIconButtonSize,+} from '../FloatingIconButton';++const meta: Meta<typeof FloatingIconButton> = {+ title: 'UI/Input/Button/FloatingIconButton',+ component: FloatingIconButton,+};++export default meta;+type Story = StoryObj<typeof FloatingIconButton>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ size: 'small',+ disabled: false,+ focus: false,+ applyBlur: true,+ applyShadow: true,+ position: 'standalone',+ Icon: IconSearch,+ },+ argTypes: {+ Icon: { control: false },+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof FloatingIconButton> = {+ args: { Icon: IconSearch },+ argTypes: {+ size: { control: false },+ disabled: { control: false },+ focus: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'] },+ catalog: {+ dimensions: [+ {+ name: 'sizes',+ values: ['small', 'medium'] satisfies FloatingIconButtonSize[],+ props: (size: FloatingIconButtonSize) => ({ size }),+ },+ {+ name: 'states',+ values: [+ 'default',+ 'hover',+ 'pressed',+ 'disabled',+ 'focus',+ 'disabled+focus',+ ],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ case 'pressed':+ return { className: state };+ case 'focus':+ return { focus: true };+ case 'disabled':+ return { disabled: true };+ case 'disabled+focus':+ return { disabled: true, focus: true };+ default:+ return {};+ }+ },+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/FloatingIconButtonGroup.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/FloatingIconButtonGroup.stories.tsxnew file mode 100644index 00000000000..e0d8ce998af--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/FloatingIconButtonGroup.stories.tsx@@ -0,0 +1,57 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconCheckbox, IconNotes, IconTimelineEvent } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { type FloatingIconButtonSize } from '../FloatingIconButton';+import { FloatingIconButtonGroup } from '../FloatingIconButtonGroup';++const meta: Meta<typeof FloatingIconButtonGroup> = {+ title: 'UI/Input/Button/FloatingIconButtonGroup',+ component: FloatingIconButtonGroup,+ args: {+ iconButtons: [+ { Icon: IconNotes },+ { Icon: IconCheckbox },+ { Icon: IconTimelineEvent },+ ],+ },+ argTypes: {+ iconButtons: { control: false },+ },+};++export default meta;+type Story = StoryObj<typeof FloatingIconButtonGroup>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ size: 'small',+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof FloatingIconButtonGroup> = {+ argTypes: {+ size: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'sizes',+ values: ['small', 'medium'] satisfies FloatingIconButtonSize[],+ props: (size: FloatingIconButtonSize) => ({ size }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/IconButton.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/IconButton.stories.tsxnew file mode 100644index 00000000000..06e6b40c9ac--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/IconButton.stories.tsx@@ -0,0 +1,186 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconSearch } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import {+ IconButton,+ type IconButtonAccent,+ type IconButtonPosition,+ type IconButtonSize,+ type IconButtonVariant,+} from '../IconButton';++const meta: Meta<typeof IconButton> = {+ title: 'UI/Input/Button/IconButton',+ component: IconButton,+};++export default meta;+type Story = StoryObj<typeof IconButton>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ size: 'small',+ variant: 'primary',+ accent: 'danger',+ disabled: false,+ focus: false,+ position: 'standalone',+ Icon: IconSearch,+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof IconButton> = {+ args: { Icon: IconSearch },+ argTypes: {+ size: { control: false },+ variant: { control: false },+ focus: { control: false },+ accent: { control: false },+ disabled: { control: false },+ Icon: { control: false },+ position: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'] },+ catalog: {+ dimensions: [+ {+ name: 'sizes',+ values: ['small', 'medium'] satisfies IconButtonSize[],+ props: (size: IconButtonSize) => ({ size }),+ },+ {+ name: 'states',+ values: [+ 'default',+ 'hover',+ 'pressed',+ 'disabled',+ 'focus',+ 'disabled+focus',+ ],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ case 'pressed':+ return { className: state };+ case 'focus':+ return { focus: true };+ case 'disabled':+ return { disabled: true };+ case 'active':+ return { active: true };+ case 'disabled+focus':+ return { focus: true, disabled: true };+ default:+ return {};+ }+ },+ },+ {+ name: 'accents',+ values: ['default', 'blue', 'danger'] satisfies IconButtonAccent[],+ props: (accent: IconButtonAccent) => ({ accent }),+ },+ {+ name: 'variants',+ values: [+ 'primary',+ 'secondary',+ 'tertiary',+ ] satisfies IconButtonVariant[],+ props: (variant: IconButtonVariant) => ({ variant }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};++export const PositionCatalog: CatalogStory<Story, typeof IconButton> = {+ args: { Icon: IconSearch },+ argTypes: {+ size: { control: false },+ variant: { control: false },+ focus: { control: false },+ accent: { control: false },+ disabled: { control: false },+ position: { control: false },+ Icon: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'] },+ catalog: {+ dimensions: [+ {+ name: 'positions',+ values: [+ 'standalone',+ 'left',+ 'middle',+ 'right',+ ] satisfies IconButtonPosition[],+ props: (position: IconButtonPosition) => ({ position }),+ },+ {+ name: 'states',+ values: [+ 'default',+ 'hover',+ 'pressed',+ 'disabled',+ 'focus',+ 'disabled+focus',+ ],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ case 'pressed':+ return { className: state };+ case 'focus':+ return { focus: true };+ case 'disabled':+ return { disabled: true };+ case 'active':+ return { active: true };+ case 'disabled+focus':+ return { focus: true, disabled: true };+ default:+ return {};+ }+ },+ },+ {+ name: 'sizes',+ values: ['small', 'medium'] satisfies IconButtonSize[],+ props: (size: IconButtonSize) => ({ size }),+ },+ {+ name: 'variants',+ values: [+ 'primary',+ 'secondary',+ 'tertiary',+ ] satisfies IconButtonVariant[],+ props: (variant: IconButtonVariant) => ({ variant }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/IconButtonGroup.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/IconButtonGroup.stories.tsxnew file mode 100644index 00000000000..b1d40258ab2--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/IconButtonGroup.stories.tsx@@ -0,0 +1,56 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconCheckbox, IconNotes, IconTimelineEvent } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';++import { IconButtonGroup } from '../IconButtonGroup';++const meta: Meta<typeof IconButtonGroup> = {+ title: 'UI/Input/Button/IconButtonGroup',+ component: IconButtonGroup,+ args: {+ iconButtons: [+ { Icon: IconNotes },+ { Icon: IconCheckbox },+ { Icon: IconTimelineEvent },+ ],+ },+ argTypes: {+ iconButtons: { control: false },+ },+};++export default meta;+type Story = StoryObj<typeof IconButtonGroup>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ disabled: false,+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof IconButtonGroup> = {+ argTypes: {+ disabled: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'disabled',+ values: [true, false],+ props: (disabled: boolean) => ({ disabled }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/LightButton.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/LightButton.stories.tsxnew file mode 100644index 00000000000..a16b79c196c--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/LightButton.stories.tsx@@ -0,0 +1,90 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconSearch } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { LightButton, type LightButtonAccent } from '../LightButton';++const meta: Meta<typeof LightButton> = {+ title: 'UI/Input/Button/LightButton',+ component: LightButton,+};++export default meta;+type Story = StoryObj<typeof LightButton>;++export const Default: Story = {+ args: {+ title: 'Filter',+ accent: 'secondary',+ disabled: false,+ active: false,+ focus: false,+ Icon: IconSearch,+ },+ argTypes: {+ Icon: { control: false },+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof LightButton> = {+ args: { title: 'Filter', Icon: IconSearch },+ argTypes: {+ accent: { control: false },+ disabled: { control: false },+ active: { control: false },+ focus: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'] },+ catalog: {+ dimensions: [+ {+ name: 'accents',+ values: ['secondary', 'tertiary'] satisfies LightButtonAccent[],+ props: (accent: LightButtonAccent) => ({ accent }),+ },+ {+ name: 'states',+ values: [+ 'default',+ 'hover',+ 'pressed',+ 'disabled',+ 'active',+ 'focus',+ 'disabled+focus',+ 'disabled+active',+ ],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ case 'pressed':+ return { className: state };+ case 'focus':+ return { focus: true };+ case 'disabled':+ return { disabled: true };+ case 'active':+ return { active: true };+ case 'disabled+focus':+ return { disabled: true, focus: true };+ case 'disabled+active':+ return { disabled: true, active: true };+ default:+ return {};+ }+ },+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/LightIconButton.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/LightIconButton.stories.tsxnew file mode 100644index 00000000000..bb9c10ee1a1--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/LightIconButton.stories.tsx@@ -0,0 +1,99 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconSearch } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import {+ LightIconButton,+ type LightIconButtonAccent,+ type LightIconButtonSize,+} from '../LightIconButton';++const meta: Meta<typeof LightIconButton> = {+ title: 'UI/Input/Button/LightIconButton',+ component: LightIconButton,+};++export default meta;+type Story = StoryObj<typeof LightIconButton>;++export const Default: Story = {+ args: {+ title: 'Filter',+ accent: 'secondary',+ disabled: false,+ active: false,+ focus: false,+ Icon: IconSearch,+ },+ argTypes: {+ Icon: { control: false },+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof LightIconButton> = {+ args: { title: 'Filter', Icon: IconSearch },+ argTypes: {+ accent: { control: false },+ disabled: { control: false },+ active: { control: false },+ focus: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'] },+ catalog: {+ dimensions: [+ {+ name: 'states',+ values: [+ 'default',+ 'hover',+ 'pressed',+ 'disabled',+ 'active',+ 'focus',+ 'disabled+focus',+ 'disabled+active',+ ],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ case 'pressed':+ return { className: state };+ case 'focus':+ return { focus: true };+ case 'disabled':+ return { disabled: true };+ case 'active':+ return { active: true };+ case 'disabled+focus':+ return { disabled: true, focus: true };+ case 'disabled+active':+ return { disabled: true, active: true };+ default:+ return {};+ }+ },+ },+ {+ name: 'accents',+ values: ['secondary', 'tertiary'] satisfies LightIconButtonAccent[],+ props: (accent: LightIconButtonAccent) => ({ accent }),+ },+ {+ name: 'sizes',+ values: ['small', 'medium'] satisfies LightIconButtonSize[],+ props: (size: LightIconButtonSize) => ({ size }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/MainButton.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/MainButton.stories.tsxnew file mode 100644index 00000000000..b1f68b1f513--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/MainButton.stories.tsx@@ -0,0 +1,61 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconBrandGoogle } from '@ui/display';+import { ComponentDecorator } from '@ui/testing';+import { expect, fn, userEvent, within } from 'storybook/test';+import { MainButton } from '../MainButton';++const clickJestFn = fn();++const meta: Meta<typeof MainButton> = {+ title: 'UI/Input/Button/MainButton',+ component: MainButton,+ decorators: [ComponentDecorator],+ args: { title: 'A primary Button', onClick: clickJestFn },+};++export default meta;+type Story = StoryObj<typeof MainButton>;++export const Default: Story = {+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ expect(clickJestFn).toHaveBeenCalledTimes(0);+ const button = canvas.getByRole('button');+ await userEvent.click(button);++ expect(clickJestFn).toHaveBeenCalledTimes(1);+ },+};++export const WithIcon: Story = {+ args: { Icon: IconBrandGoogle },+};++export const DisabledWithIcon: Story = {+ args: { ...WithIcon.args, disabled: true },+};++export const FullWidth: Story = {+ args: { fullWidth: true },+};++export const Width: Story = {+ args: { width: 200 },+};++export const Secondary: Story = {+ args: { title: 'A secondary Button', variant: 'secondary' },+};++export const SecondaryWithIcon: Story = {+ args: { ...Secondary.args, ...WithIcon.args },+};++export const SecondaryDisabledWithIcon: Story = {+ args: { ...SecondaryWithIcon.args, disabled: true },+};++export const SecondaryFullWidth: Story = {+ args: { ...Secondary.args, ...FullWidth.args },+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/RoundedIconButton.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/RoundedIconButton.stories.tsxnew file mode 100644index 00000000000..b8da41752af--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/RoundedIconButton.stories.tsx@@ -0,0 +1,32 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconArrowRight } from '@ui/display';+import { ComponentDecorator } from '@ui/testing';+import { expect, fn, userEvent, within } from 'storybook/test';+import { RoundedIconButton } from '../RoundedIconButton';++const clickJestFn = fn();++const meta: Meta<typeof RoundedIconButton> = {+ title: 'UI/Input/Button/RoundedIconButton',+ component: RoundedIconButton,+};++export default meta;+type Story = StoryObj<typeof RoundedIconButton>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ decorators: [ComponentDecorator],+ argTypes: { Icon: { control: false } },+ args: { onClick: clickJestFn, Icon: IconArrowRight },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ expect(clickJestFn).toHaveBeenCalledTimes(0);+ const button = canvas.getByRole('button');+ await userEvent.click(button);++ expect(clickJestFn).toHaveBeenCalledTimes(1);+ },+};diff --git a/packages/twenty-ui/src/input/button/components/__stories__/TabButton.stories.module.scss b/packages/twenty-ui/src/input/button/components/__stories__/TabButton.stories.module.scssnew file mode 100644index 00000000000..4605798e321--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/TabButton.stories.module.scss@@ -0,0 +1,18 @@+.tabContainer {+ display: flex;+ gap: var(--t-spacing-1);+ height: 40px;+ user-select: none;+ position: relative;+ align-items: stretch;++ &::after {+ content: '';+ position: absolute;+ bottom: 0;+ left: 0;+ right: 0;+ height: 1px;+ background-color: var(--t-border-color-light);+ }+}diff --git a/packages/twenty-ui/src/input/button/components/__stories__/TabButton.stories.module.scss.d.ts b/packages/twenty-ui/src/input/button/components/__stories__/TabButton.stories.module.scss.d.tsnew file mode 100644index 00000000000..664db828b43--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/TabButton.stories.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly tabContainer: 'tabContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/button/components/__stories__/TabButton.stories.tsx b/packages/twenty-ui/src/input/button/components/__stories__/TabButton.stories.tsxnew file mode 100644index 00000000000..97a5e978e9d--- /dev/null+++ b/packages/twenty-ui/src/input/button/components/__stories__/TabButton.stories.tsx@@ -0,0 +1,236 @@+/* oxlint-disable react/jsx-props-no-spreading */+import { type Meta, type StoryObj } from '@storybook/react-vite';+import {+ IconCheckbox,+ IconChevronDown,+ IconMail,+ IconSearch,+ IconSettings,+ IconUser,+} from '@ui/display';+import { TabButton } from '@ui/input/button/components/TabButton/TabButton';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentWithRouterDecorator,+ JotaiRootDecorator,+} from '@ui/testing';+import { type ReactNode } from 'react';++import styles from './TabButton.stories.module.scss';++const TabContainer = ({ children }: { children?: ReactNode }) => {+ return <div className={styles.tabContainer}>{children}</div>;+};++const meta: Meta<typeof TabButton> = {+ title: 'UI/Input/Button/TabButton',+ component: TabButton,+ decorators: [ComponentWithRouterDecorator, JotaiRootDecorator],+ args: {+ id: 'tab-button',+ title: 'Tab Title',+ active: false,+ disabled: false,+ contentSize: 'sm',+ },+ argTypes: {+ LeftIcon: { control: false },+ RightIcon: { control: false },+ pill: { control: 'text' },+ contentSize: {+ control: 'select',+ options: ['sm', 'md'],+ },+ },+};++export default meta;+type Story = StoryObj<typeof TabButton>;++export const Default: Story = {+ args: {+ title: 'General',+ LeftIcon: IconSettings,+ },+ render: (args) => (+ <TabContainer>+ <TabButton {...args} />+ </TabContainer>+ ),+};++export const Active: Story = {+ args: {+ title: 'Active Tab',+ LeftIcon: IconUser,+ active: true,+ },+ render: (args) => (+ <TabContainer>+ <TabButton {...args} />+ </TabContainer>+ ),+};++export const Disabled: Story = {+ args: {+ title: 'Disabled Tab',+ LeftIcon: IconCheckbox,+ disabled: true,+ },+ render: (args) => (+ <TabContainer>+ <TabButton {...args} />+ </TabContainer>+ ),+};++export const WithLogo: Story = {+ args: {+ title: 'Company',+ logo: 'https://picsum.photos/192/192',+ },+ render: (args) => (+ <TabContainer>+ <TabButton {...args} />+ </TabContainer>+ ),+};++export const WithStringPill: Story = {+ args: {+ title: 'Messages',+ LeftIcon: IconMail,+ pill: '12',+ },+ render: (args) => (+ <TabContainer>+ <TabButton {...args} />+ </TabContainer>+ ),+};++export const WithBothIcons: Story = {+ args: {+ title: 'Search',+ LeftIcon: IconSearch,+ RightIcon: IconChevronDown,+ },+ render: (args) => (+ <TabContainer>+ <TabButton {...args} />+ </TabContainer>+ ),+};++export const AsLink: Story = {+ args: {+ title: 'Link Tab',+ LeftIcon: IconUser,+ to: '/profile',+ },+ render: (args) => (+ <TabContainer>+ <TabButton {...args} />+ </TabContainer>+ ),+};++export const SmallContent: Story = {+ args: {+ title: 'Small',+ LeftIcon: IconSettings,+ contentSize: 'sm',+ },+ render: (args) => (+ <TabContainer>+ <TabButton {...args} />+ </TabContainer>+ ),+};++export const MediumContent: Story = {+ args: {+ title: 'Medium',+ LeftIcon: IconSettings,+ contentSize: 'md',+ },+ render: (args) => (+ <TabContainer>+ <TabButton {...args} />+ </TabContainer>+ ),+};++export const Catalog: CatalogStory<Story, typeof TabButton> = {+ args: {+ title: 'Tab title',+ LeftIcon: IconCheckbox,+ },+ argTypes: {+ active: { control: false },+ disabled: { control: false },+ onClick: { control: false },+ to: { control: false },+ },+ render: (args) => (+ <TabContainer>+ <TabButton {...args} />+ </TabContainer>+ ),+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.active'] },+ catalog: {+ dimensions: [+ {+ name: 'states',+ values: ['default', 'hover', 'active'],+ props: (state: string) =>+ state === 'default' ? {} : { className: state },+ },+ {+ name: 'State',+ values: ['active', 'inactive', 'disabled'],+ labels: (state: string) => state,+ props: (state: string) => ({+ active: state === 'active',+ disabled: state === 'disabled',+ }),+ },+ {+ name: 'Content Size',+ values: ['sm', 'md'],+ labels: (size: string) => size,+ props: (size: string) => ({ contentSize: size as 'sm' | 'md' }),+ },+ {+ name: 'Content',+ values: ['icon', 'logo', 'pill'],+ props: (content: string) => {+ switch (content) {+ case 'icon':+ return { LeftIcon: IconSettings };+ case 'logo':+ return {+ logo: 'https://picsum.photos/192/192',+ LeftIcon: undefined,+ };+ case 'pill':+ return { LeftIcon: IconMail, pill: '5' };+ default:+ return {};+ }+ },+ },+ ],+ },+ layout: 'centered',+ viewport: {+ defaultViewport: 'responsive',+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/input/code-editor/components/CodeEditor.module.scss b/packages/twenty-ui/src/input/code-editor/components/CodeEditor.module.scssnew file mode 100644index 00000000000..9f84bdf4734--- /dev/null+++ b/packages/twenty-ui/src/input/code-editor/components/CodeEditor.module.scss@@ -0,0 +1,59 @@+.editorLoader {+ display: flex;+ align-items: center;+ justify-content: center;+ height: var(--code-editor-height);+ border: none;+ border-radius: 0;+ background-color: var(--t-background-transparent-lighter);++ &[data-variant='default'] {+ border: 1px solid var(--t-border-color-medium);+ border-radius: var(--t-border-radius-sm);+ }++ &[data-variant='with-header'] {+ border: 1px solid var(--t-border-color-medium);+ border-top: none;+ border-radius: 0 0 var(--t-border-radius-sm) var(--t-border-radius-sm);+ }+}++.container {+ display: contents;+}++.editorWrapper {+ display: contents;+}++.editorWrapper :global(.monaco-editor) {+ outline-width: 0;+ border-radius: var(--t-border-radius-sm);+ background-color: var(--t-background-secondary);+}++.editorWrapper[data-transparent-background] :global(.monaco-editor) {+ background-color: transparent;+}++.editorWrapper[data-variant='borderless'] :global(.monaco-editor) {+ border-radius: 0;+}++.editorWrapper :global(.overflow-guard) {+ box-sizing: border-box;+ border: none;+ border-radius: 0;+}++.editorWrapper[data-variant='default'] :global(.overflow-guard) {+ border: 1px solid var(--t-border-color-medium);+ border-radius: var(--t-border-radius-sm);+}++.editorWrapper[data-variant='with-header'] :global(.overflow-guard) {+ border: 1px solid var(--t-border-color-medium);+ border-top: none;+ border-radius: 0 0 var(--t-border-radius-sm) var(--t-border-radius-sm);+}diff --git a/packages/twenty-ui/src/input/code-editor/components/CodeEditor.module.scss.d.ts b/packages/twenty-ui/src/input/code-editor/components/CodeEditor.module.scss.d.tsnew file mode 100644index 00000000000..b037b71cb7f--- /dev/null+++ b/packages/twenty-ui/src/input/code-editor/components/CodeEditor.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly editorLoader: 'editorLoader';+ readonly container: 'container';+ readonly editorWrapper: 'editorWrapper';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/code-editor/components/CodeEditor.tsx b/packages/twenty-ui/src/input/code-editor/components/CodeEditor.tsxnew file mode 100644index 00000000000..339b90ff772--- /dev/null+++ b/packages/twenty-ui/src/input/code-editor/components/CodeEditor.tsx@@ -0,0 +1,167 @@+import Editor, { type EditorProps, type Monaco } from '@monaco-editor/react';+import { Loader } from '@ui/feedback/loader/components/Loader';+import { BASE_CODE_EDITOR_THEME_ID } from '@ui/input/code-editor/constants/BaseCodeEditorThemeId';+import { getBaseCodeEditorTheme } from '@ui/input/code-editor/theme/utils/getBaseCodeEditorTheme';+import { ResizeHandle } from '@ui/layout/resize-handle/components/ResizeHandle';+import { useResizeHandle } from '@ui/layout/resize-handle/hooks/useResizeHandle';+import { ThemeContext } from '@ui/theme-constants';+import { type editor } from 'monaco-editor';+import { type KeyboardEvent, useContext, useState } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++import styles from './CodeEditor.module.scss';++type CodeEditorVariant = 'default' | 'with-header' | 'borderless';++type CodeEditorProps = Pick<+ EditorProps,+ 'value' | 'language' | 'onMount' | 'onValidate' | 'height' | 'options'+> & {+ onChange?: (value: string) => void;+ setMarkers?: (value: string) => editor.IMarkerData[];+ variant?: CodeEditorVariant;+ isLoading?: boolean;+ transparentBackground?: boolean;+ resizable?: boolean;+};++export const CodeEditor = ({+ value,+ language,+ onMount,+ onChange,+ setMarkers,+ onValidate,+ height = 450,+ variant = 'default',+ transparentBackground,+ isLoading = false,+ options,+ resizable = false,+}: CodeEditorProps) => {+ const { theme } = useContext(ThemeContext);+ const [monaco, setMonaco] = useState<Monaco | undefined>(undefined);+ const [editor, setEditor] = useState<+ editor.IStandaloneCodeEditor | undefined+ >(undefined);+ const [isEditorFocused, setIsEditorFocused] = useState(false);++ const numericHeight = typeof height === 'number' ? height : 450;+ const {+ size: resizableHeight,+ handleResizeStart,+ handleResizeMove,+ handleResizeEnd,+ } = useResizeHandle({+ initialSize: numericHeight,+ });++ const currentHeight = resizable ? resizableHeight : height;++ const setModelMarkers = (+ editor: editor.IStandaloneCodeEditor | undefined,+ monaco: Monaco | undefined,+ ) => {+ const model = editor?.getModel();+ if (!isDefined(model)) {+ return;+ }+ const customMarkers = setMarkers?.(model.getValue());+ if (isDefined(customMarkers)) {+ monaco?.editor.setModelMarkers(model, 'customMarker', customMarkers);+ }+ };++ const handleKeyDown = (event: KeyboardEvent<HTMLDivElement>) => {+ if (isEditorFocused) {+ event.stopPropagation();+ }+ };++ return isLoading ? (+ <div+ className={styles.editorLoader}+ data-variant={variant}+ style={+ {+ '--code-editor-height':+ typeof currentHeight === 'number'+ ? `${currentHeight}px`+ : currentHeight,+ } as React.CSSProperties+ }+ >+ <Loader />+ </div>+ ) : (+ <div className={styles.container} onKeyDown={handleKeyDown}>+ <input+ type="hidden"+ data-testid="code-editor-value"+ value={value ?? ''}+ readOnly+ />+ <div+ className={styles.editorWrapper}+ data-variant={variant}+ data-transparent-background={transparentBackground || undefined}+ >+ <Editor+ height={currentHeight}+ value={value}+ language={language}+ loading=""+ onMount={(editor, monaco) => {+ setMonaco(monaco);+ setEditor(editor);++ monaco.editor.defineTheme(+ BASE_CODE_EDITOR_THEME_ID,+ getBaseCodeEditorTheme(theme),+ );+ monaco.editor.setTheme(BASE_CODE_EDITOR_THEME_ID);++ editor.onDidFocusEditorWidget(() => {+ setIsEditorFocused(true);+ });+ editor.onDidBlurEditorWidget(() => {+ setIsEditorFocused(false);+ });++ onMount?.(editor, monaco);+ setModelMarkers(editor, monaco);+ }}+ onChange={(value) => {+ if (isDefined(value)) {+ onChange?.(value);+ setModelMarkers(editor, monaco);+ }+ }}+ onValidate={(markers) => {+ onValidate?.(markers);+ }}+ options={{+ formatOnPaste: true,+ formatOnType: true,+ overviewRulerLanes: 0,+ scrollbar: {+ vertical: 'hidden',+ horizontal: 'hidden',+ },+ minimap: {+ enabled: false,+ },+ ...options,+ }}+ />+ </div>+ {resizable && (+ <ResizeHandle+ onPointerDown={handleResizeStart}+ onPointerMove={handleResizeMove}+ onPointerUp={handleResizeEnd}+ />+ )}+ </div>+ );+};diff --git a/packages/twenty-ui/src/input/code-editor/components/CodeEditorHeader.module.scss b/packages/twenty-ui/src/input/code-editor/components/CodeEditorHeader.module.scssnew file mode 100644index 00000000000..de7bd20404b--- /dev/null+++ b/packages/twenty-ui/src/input/code-editor/components/CodeEditorHeader.module.scss@@ -0,0 +1,19 @@+.editorHeader {+ display: flex;+ align-items: center;+ justify-content: space-between;+ height: var(--t-spacing-10);+ padding: 0 var(--t-spacing-2);+ border: 1px solid var(--t-border-color-medium);+ border-top-left-radius: var(--t-border-radius-sm);+ border-top-right-radius: var(--t-border-radius-sm);+ background-color: var(--t-background-transparent-lighter);+ color: var(--t-font-color-tertiary);+ font-weight: var(--t-font-weight-medium);+}++.elementContainer {+ display: flex;+ align-content: flex-end;+ gap: var(--t-spacing-2);+}diff --git a/packages/twenty-ui/src/input/code-editor/components/CodeEditorHeader.module.scss.d.ts b/packages/twenty-ui/src/input/code-editor/components/CodeEditorHeader.module.scss.d.tsnew file mode 100644index 00000000000..b8f5c05e74d--- /dev/null+++ b/packages/twenty-ui/src/input/code-editor/components/CodeEditorHeader.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly editorHeader: 'editorHeader';+ readonly elementContainer: 'elementContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/code-editor/components/CodeEditorHeader.tsx b/packages/twenty-ui/src/input/code-editor/components/CodeEditorHeader.tsxnew file mode 100644index 00000000000..3cd97f84b49--- /dev/null+++ b/packages/twenty-ui/src/input/code-editor/components/CodeEditorHeader.tsx@@ -0,0 +1,31 @@+import styles from './CodeEditorHeader.module.scss';++export type CoreEditorHeaderProps = {+ title?: string;+ leftNodes?: React.ReactNode[];+ rightNodes?: React.ReactNode[];+};++export const CoreEditorHeader = ({+ title,+ leftNodes,+ rightNodes,+}: CoreEditorHeaderProps) => {+ return (+ <div className={styles.editorHeader}>+ <div className={styles.elementContainer}>+ {leftNodes &&+ leftNodes.map((leftButton, index) => {+ return <div key={`left-${index}`}>{leftButton}</div>;+ })}+ {title}+ </div>+ <div className={styles.elementContainer}>+ {rightNodes &&+ rightNodes.map((rightButton, index) => {+ return <div key={`right-${index}`}>{rightButton}</div>;+ })}+ </div>+ </div>+ );+};diff --git a/packages/twenty-ui/src/input/code-editor/constants/BaseCodeEditorThemeId.ts b/packages/twenty-ui/src/input/code-editor/constants/BaseCodeEditorThemeId.tsnew file mode 100644index 00000000000..e0eff3e687d--- /dev/null+++ b/packages/twenty-ui/src/input/code-editor/constants/BaseCodeEditorThemeId.ts@@ -0,0 +1 @@+export const BASE_CODE_EDITOR_THEME_ID = 'baseCodeEditorTheme';diff --git a/packages/twenty-ui/src/input/code-editor/theme/utils/getBaseCodeEditorTheme.ts b/packages/twenty-ui/src/input/code-editor/theme/utils/getBaseCodeEditorTheme.tsnew file mode 100644index 00000000000..9a5134d8659--- /dev/null+++ b/packages/twenty-ui/src/input/code-editor/theme/utils/getBaseCodeEditorTheme.ts@@ -0,0 +1,77 @@+import { type ThemeType } from '@ui/theme-constants';+import { type editor } from 'monaco-editor';+import { isDefined } from '@ui/utilities/utils/isDefined';++const convertColorToHex = (color: string): string => {+ const displayP3Match = color.match(+ /color\(display-p3\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)(?:\s+\/\s+([\d.]+))?\)/,+ );++ if (isDefined(displayP3Match)) {+ const [, r, g, b, a] = displayP3Match;+ const rHex = Math.round(parseFloat(r) * 255)+ .toString(16)+ .padStart(2, '0');+ const gHex = Math.round(parseFloat(g) * 255)+ .toString(16)+ .padStart(2, '0');+ const bHex = Math.round(parseFloat(b) * 255)+ .toString(16)+ .padStart(2, '0');++ if (isDefined(a)) {+ const aHex = Math.round(parseFloat(a) * 255)+ .toString(16)+ .padStart(2, '0');+ return `#${rHex}${gHex}${bHex}${aHex}`;+ }+ return `#${rHex}${gHex}${bHex}`;+ }++ return color;+};++export const getBaseCodeEditorTheme = (+ theme: ThemeType,+): editor.IStandaloneThemeData => {+ return {+ base: 'vs',+ inherit: true,+ rules: [+ {+ token: '',+ foreground: convertColorToHex(theme.code.text.gray),+ fontStyle: 'bold',+ },+ {+ token: 'keyword',+ foreground: convertColorToHex(theme.code.text.sky),+ },+ {+ token: 'delimiter',+ foreground: convertColorToHex(theme.code.text.gray),+ },+ {+ token: 'string',+ foreground: convertColorToHex(theme.code.text.pink),+ },+ {+ token: 'comment',+ foreground: convertColorToHex(theme.code.text.orange),+ },+ ],+ colors: {+ 'editor.background': '#00000000',+ 'editorCursor.foreground': convertColorToHex(theme.font.color.primary),+ 'editorLineNumber.foreground': convertColorToHex(+ theme.font.color.extraLight,+ ),+ 'editorLineNumber.activeForeground': convertColorToHex(+ theme.font.color.light,+ ),+ 'editor.lineHighlightBackground': convertColorToHex(+ theme.background.tertiary,+ ),+ },+ };+};diff --git a/packages/twenty-ui/src/input/color-scheme/components/ColorSchemeCard.module.scss b/packages/twenty-ui/src/input/color-scheme/components/ColorSchemeCard.module.scssnew file mode 100644index 00000000000..0bbbb2992fc--- /dev/null+++ b/packages/twenty-ui/src/input/color-scheme/components/ColorSchemeCard.module.scss@@ -0,0 +1,77 @@+.container {+ position: relative;+ width: 160px;+}++.colorSchemeBackground {+ display: flex;+ align-items: flex-end;+ justify-content: flex-end;+ box-sizing: border-box;+ width: 160px;+ height: 80px;+ padding-top: var(--t-spacing-6);+ padding-left: var(--t-spacing-6);+ border: 1px solid var(--color-scheme-card-border-color);+ border-radius: var(--t-border-radius-md);+ background: var(--color-scheme-card-background);+ overflow: hidden;+ cursor: pointer;+}++.colorSchemeContent {+ display: flex;+ flex: 1;+ box-sizing: border-box;+ height: 56px;+ padding-top: var(--t-spacing-2);+ padding-left: var(--t-spacing-2);+ border-top: 1px solid var(--color-scheme-card-border-color);+ border-left: 1px solid var(--color-scheme-card-border-color);+ border-radius: var(--t-border-radius-md) 0px 0px 0px;+ background: var(--color-scheme-card-content-background);+ color: var(--color-scheme-card-content-color);+ font-size: 20px;+ // Replaces the framer-motion hover animation from the deprecated component.+ transition:+ height 0.1s ease-in-out,+ font-size 0.1s ease-in-out;+}++.colorSchemeBackground:hover .colorSchemeContent,+.mixedColorSchemeSegment:hover .colorSchemeContent {+ height: 61px;+ font-size: 22px;+}++.mixedColorSchemeSegment {+ position: relative;+ display: flex;+ width: 160px;+ height: 80px;+ border-radius: var(--t-border-radius-md);+ overflow: hidden;+ cursor: pointer;+}++.checkmarkContainer {+ position: absolute;+ right: 0px;+ bottom: 0px;+ padding: var(--t-spacing-2);+ opacity: 0;+ visibility: hidden;+ // Replaces the framer-motion AnimatePresence fade; the delayed visibility+ // change keeps the checkmark rendered while it fades out.+ transition:+ opacity 0.3s ease-in-out,+ visibility 0s linear 0.3s;++ &[data-selected] {+ opacity: 1;+ visibility: visible;+ transition:+ opacity 0.3s ease-in-out,+ visibility 0s;+ }+}diff --git a/packages/twenty-ui/src/input/color-scheme/components/ColorSchemeCard.module.scss.d.ts b/packages/twenty-ui/src/input/color-scheme/components/ColorSchemeCard.module.scss.d.tsnew file mode 100644index 00000000000..6016a7f7096--- /dev/null+++ b/packages/twenty-ui/src/input/color-scheme/components/ColorSchemeCard.module.scss.d.ts@@ -0,0 +1,8 @@+declare const classNames: {+ readonly container: 'container';+ readonly colorSchemeBackground: 'colorSchemeBackground';+ readonly colorSchemeContent: 'colorSchemeContent';+ readonly mixedColorSchemeSegment: 'mixedColorSchemeSegment';+ readonly checkmarkContainer: 'checkmarkContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/color-scheme/components/ColorSchemeCard.tsx b/packages/twenty-ui/src/input/color-scheme/components/ColorSchemeCard.tsxnew file mode 100644index 00000000000..24e7300705c--- /dev/null+++ b/packages/twenty-ui/src/input/color-scheme/components/ColorSchemeCard.tsx@@ -0,0 +1,96 @@+import React from 'react';++import { clsx } from 'clsx';+import { type AnimationControls } from 'framer-motion';++import { Checkmark } from '@ui/display/checkmark/components/Checkmark';+import { type ColorScheme } from '@ui/input/types/ColorScheme';+import { GRAY_SCALE_DARK } from '@ui/theme/constants/GrayScaleDark';+import { GRAY_SCALE_LIGHT } from '@ui/theme/constants/GrayScaleLight';++import styles from './ColorSchemeCard.module.scss';++// controls is no longer used since the hover animation is CSS-only now, but it+// stays in the exported type for public API parity with twenty-ui-deprecated.+export type ColorSchemeSegmentProps = {+ variant: ColorScheme;+ controls: AnimationControls;+ className?: string;+} & React.ComponentPropsWithoutRef<'div'>;++const ColorSchemeSegment = ({+ variant,+ style,+ className,+ onClick,+ onMouseEnter,+ onMouseLeave,+}: Omit<ColorSchemeSegmentProps, 'controls'>) => {+ const grayScale = variant === 'Dark' ? GRAY_SCALE_DARK : GRAY_SCALE_LIGHT;++ return (+ <div+ className={clsx(styles.colorSchemeBackground, className)}+ style={+ {+ '--color-scheme-card-background': grayScale.gray4,+ '--color-scheme-card-border-color': grayScale.gray5,+ '--color-scheme-card-content-background': grayScale.gray1,+ '--color-scheme-card-content-color': grayScale.gray12,+ ...style,+ } as React.CSSProperties+ }+ onClick={onClick}+ onMouseEnter={onMouseEnter}+ onMouseLeave={onMouseLeave}+ >+ <div className={styles.colorSchemeContent}>Aa</div>+ </div>+ );+};++export type ColorSchemeCardProps = {+ variant: ColorScheme;+ selected?: boolean;+} & React.ComponentPropsWithoutRef<'div'>;++export const ColorSchemeCard = ({+ variant,+ selected,+ onClick,+}: ColorSchemeCardProps) => {+ if (variant === 'System') {+ return (+ <div className={styles.container}>+ <div className={styles.mixedColorSchemeSegment} onClick={onClick}>+ <ColorSchemeSegment+ style={{ borderTopRightRadius: 0, borderBottomRightRadius: 0 }}+ variant="Light"+ />+ <ColorSchemeSegment+ style={{ borderTopLeftRadius: 0, borderBottomLeftRadius: 0 }}+ variant="Dark"+ />+ </div>+ <div+ className={styles.checkmarkContainer}+ data-selected={selected || undefined}+ >+ <Checkmark />+ </div>+ </div>+ );+ }++ return (+ <div className={styles.container}>+ <ColorSchemeSegment variant={variant} onClick={onClick} />+ <div+ className={styles.checkmarkContainer}+ data-selected={selected || undefined}+ >+ <Checkmark />+ </div>+ </div>+ );+};diff --git a/packages/twenty-ui/src/input/color-scheme/components/ColorSchemePicker.module.scss b/packages/twenty-ui/src/input/color-scheme/components/ColorSchemePicker.module.scssnew file mode 100644index 00000000000..10059973c39--- /dev/null+++ b/packages/twenty-ui/src/input/color-scheme/components/ColorSchemePicker.module.scss@@ -0,0 +1,24 @@+.container {+ display: flex;+ flex-direction: row;++ > * + * {+ margin-left: var(--t-spacing-4);+ }++ @include respond-to(mobile) {+ overflow: scroll;+ }+}++.cardContainer {+ display: flex;+ flex-direction: column;+}++.label {+ margin-top: var(--t-spacing-2);+ color: var(--t-font-color-secondary);+ font-size: var(--t-font-size-xs);+ font-weight: var(--t-font-weight-medium);+}diff --git a/packages/twenty-ui/src/input/color-scheme/components/ColorSchemePicker.module.scss.d.ts b/packages/twenty-ui/src/input/color-scheme/components/ColorSchemePicker.module.scss.d.tsnew file mode 100644index 00000000000..847f3005c5e--- /dev/null+++ b/packages/twenty-ui/src/input/color-scheme/components/ColorSchemePicker.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly container: 'container';+ readonly cardContainer: 'cardContainer';+ readonly label: 'label';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/color-scheme/components/ColorSchemePicker.tsx b/packages/twenty-ui/src/input/color-scheme/components/ColorSchemePicker.tsxnew file mode 100644index 00000000000..72c977bbddd--- /dev/null+++ b/packages/twenty-ui/src/input/color-scheme/components/ColorSchemePicker.tsx@@ -0,0 +1,53 @@+import { clsx } from 'clsx';++import { type ColorScheme } from '@ui/input/types/ColorScheme';++import { ColorSchemeCard } from './ColorSchemeCard';+import styles from './ColorSchemePicker.module.scss';++export type ColorSchemePickerProps = {+ value: ColorScheme;+ className?: string;+ onChange: (value: ColorScheme) => void;+ lightLabel: string;+ darkLabel: string;+ systemLabel: string;+};++export const ColorSchemePicker = ({+ value,+ onChange,+ className,+ lightLabel,+ darkLabel,+ systemLabel,+}: ColorSchemePickerProps) => {+ return (+ <div className={clsx(styles.container, className)}>+ <div className={styles.cardContainer}>+ <ColorSchemeCard+ onClick={() => onChange('Light')}+ variant="Light"+ selected={value === 'Light'}+ />+ <span className={styles.label}>{lightLabel}</span>+ </div>+ <div className={styles.cardContainer}>+ <ColorSchemeCard+ onClick={() => onChange('Dark')}+ variant="Dark"+ selected={value === 'Dark'}+ />+ <span className={styles.label}>{darkLabel}</span>+ </div>+ <div className={styles.cardContainer}>+ <ColorSchemeCard+ onClick={() => onChange('System')}+ variant="System"+ selected={value === 'System'}+ />+ <span className={styles.label}>{systemLabel}</span>+ </div>+ </div>+ );+};diff --git a/packages/twenty-ui/src/input/color-scheme/components/__stories__/ColorSchemeCard.stories.module.scss b/packages/twenty-ui/src/input/color-scheme/components/__stories__/ColorSchemeCard.stories.module.scssnew file mode 100644index 00000000000..5c0b5aaa72e--- /dev/null+++ b/packages/twenty-ui/src/input/color-scheme/components/__stories__/ColorSchemeCard.stories.module.scss@@ -0,0 +1,8 @@+.container {+ display: flex;+ flex-direction: row;++ > * + * {+ margin-left: var(--t-spacing-4);+ }+}diff --git a/packages/twenty-ui/src/input/color-scheme/components/__stories__/ColorSchemeCard.stories.module.scss.d.ts b/packages/twenty-ui/src/input/color-scheme/components/__stories__/ColorSchemeCard.stories.module.scss.d.tsnew file mode 100644index 00000000000..8df71b4dead--- /dev/null+++ b/packages/twenty-ui/src/input/color-scheme/components/__stories__/ColorSchemeCard.stories.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly container: 'container';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/color-scheme/components/__stories__/ColorSchemeCard.stories.tsx b/packages/twenty-ui/src/input/color-scheme/components/__stories__/ColorSchemeCard.stories.tsxnew file mode 100644index 00000000000..c41978265f8--- /dev/null+++ b/packages/twenty-ui/src/input/color-scheme/components/__stories__/ColorSchemeCard.stories.tsx@@ -0,0 +1,43 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { ComponentDecorator } from '@ui/testing';++import { ColorSchemeCard } from '../ColorSchemeCard';++import styles from './ColorSchemeCard.stories.module.scss';++const meta: Meta<typeof ColorSchemeCard> = {+ title: 'UI/Input/ColorScheme/ColorSchemeCard',+ component: ColorSchemeCard,+ decorators: [+ (Story) => {+ return (+ <div className={styles.container}>+ <Story />+ </div>+ );+ },+ ComponentDecorator,+ ],+ argTypes: {+ variant: { control: false },+ },+ args: { selected: false },+};++export default meta;+type Story = StoryObj<typeof ColorSchemeCard>;++export const Default: Story = {+ render: (args) => (+ <>+ <ColorSchemeCard variant="Light" selected={args.selected} />+ <ColorSchemeCard variant="Dark" selected={args.selected} />+ <ColorSchemeCard variant="System" selected={args.selected} />+ </>+ ),+};++export const Selected: Story = {+ ...Default,+ args: { selected: true },+};diff --git a/packages/twenty-ui/src/input/components/CardPicker.module.scss b/packages/twenty-ui/src/input/components/CardPicker.module.scssnew file mode 100644index 00000000000..1fa0d2ed92f--- /dev/null+++ b/packages/twenty-ui/src/input/components/CardPicker.module.scss@@ -0,0 +1,27 @@+.container {+ background-color: var(--t-background-secondary);+ border: 1px solid var(--t-border-color-medium);+ border-radius: var(--t-border-radius-md);+ cursor: pointer;+ display: flex;+ padding: 0;+ position: relative;+ text-align: left;+ width: 100%;+}++.container:hover {+ background: var(--t-background-tertiary);+}++.radioContainer {+ position: absolute;+ right: var(--t-spacing-2);+ top: var(--t-spacing-2);+}++.cardInner {+ display: flex;+ padding: var(--t-spacing-4) var(--t-spacing-3);+ width: 100%;+}diff --git a/packages/twenty-ui/src/input/components/CardPicker.module.scss.d.ts b/packages/twenty-ui/src/input/components/CardPicker.module.scss.d.tsnew file mode 100644index 00000000000..4ccb2001c0e--- /dev/null+++ b/packages/twenty-ui/src/input/components/CardPicker.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly container: 'container';+ readonly radioContainer: 'radioContainer';+ readonly cardInner: 'cardInner';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/components/CardPicker.tsx b/packages/twenty-ui/src/input/components/CardPicker.tsxnew file mode 100644index 00000000000..a061508a20f--- /dev/null+++ b/packages/twenty-ui/src/input/components/CardPicker.tsx@@ -0,0 +1,25 @@+import React from 'react';++import styles from './CardPicker.module.scss';+import { Radio } from './Radio';++type CardPickerProps = {+ children: React.ReactNode;+ handleChange?: () => void;+ checked?: boolean;+};++export const CardPicker = ({+ children,+ checked,+ handleChange,+}: CardPickerProps) => {+ return (+ <button className={styles.container} onClick={handleChange}>+ <div className={styles.radioContainer}>+ <Radio checked={checked} />+ </div>+ <div className={styles.cardInner}>{children}</div>+ </button>+ );+};diff --git a/packages/twenty-ui/src/input/components/Checkbox.module.scss b/packages/twenty-ui/src/input/components/Checkbox.module.scssnew file mode 100644index 00000000000..e2d79849ba1--- /dev/null+++ b/packages/twenty-ui/src/input/components/Checkbox.module.scss@@ -0,0 +1,141 @@+.root {+ --checkbox-box-size: 12px;+ --checkbox-icon-size: 14px;+ --checkbox-border-width: 1px;+ --checkbox-bg: transparent;+ --checkbox-border-color: var(--t-border-color-secondary-inverted);+ --checkbox-box-radius: var(--t-border-radius-sm);++ align-items: center;+ border-radius: var(--t-border-radius-md);+ cursor: pointer;+ display: flex;+ padding: 0;+ position: relative;+}++.primary {+ --checkbox-border-color: var(--t-border-color-inverted);+}++.secondary {+ --checkbox-border-color: var(--t-border-color-secondary-inverted);+}++.tertiary {+ --checkbox-border-color: var(--t-border-color-medium);+ --checkbox-border-width: 1.43px;+}++.small {+ --checkbox-box-size: 12px;+ --checkbox-icon-size: 14px;+}++.large {+ --checkbox-box-size: 18px;+ --checkbox-icon-size: 20px;+ --checkbox-border-width: 1.43px;+}++.squared {+ --checkbox-box-radius: var(--t-border-radius-sm);++ border-radius: var(--t-border-radius-md);+}++.rounded {+ --checkbox-box-radius: var(--t-border-radius-rounded);++ border-radius: var(--t-border-radius-rounded);+}++.blue {+ --checkbox-accent: var(--t-color-blue);+ --checkbox-accent-disabled: var(--t-color-blue7);+ --checkbox-accent-hover: var(--t-background-transparent-blue);+}++.orange {+ --checkbox-accent: var(--t-color-orange);+ --checkbox-accent-disabled: var(--t-color-orange7);+ --checkbox-accent-hover: var(--t-background-transparent-orange);+}++.hoverable {+ padding: 5px;+}++.hoverable.large {+ padding: 6px;+}++.hoverable:hover {+ background-color: var(--t-background-transparent-light);+}++.hoverable[data-checked]:hover,+.hoverable[data-indeterminate]:hover {+ background-color: var(--checkbox-accent-hover);+}++// Disabled border falls back to the strong border color unless checked (see below).+.root[data-disabled] {+ --checkbox-border-color: var(--t-border-color-strong);++ cursor: not-allowed;+}++// Checked/indeterminate accent wins over the variant and disabled border colors.+.root[data-checked],+.root[data-indeterminate] {+ --checkbox-bg: var(--checkbox-accent);+ --checkbox-border-color: var(--checkbox-accent);+}++.root[data-disabled][data-checked],+.root[data-disabled][data-indeterminate] {+ --checkbox-bg: var(--checkbox-accent-disabled);+ --checkbox-border-color: var(--checkbox-accent-disabled);+}++.hoverable[data-disabled]:hover {+ background-color: transparent;+}++.box {+ height: calc(var(--checkbox-box-size) + 2px);+ padding: 0;+ position: relative;+ width: calc(var(--checkbox-box-size) + 2px);+}++.box::before {+ background: var(--checkbox-bg);+ border-color: var(--checkbox-border-color);+ border-radius: var(--checkbox-box-radius);+ border-style: solid;+ border-width: var(--checkbox-border-width);+ // The border sits outside the declared box size, so size against the content box.+ box-sizing: content-box;+ content: '';+ display: inline-block;+ height: var(--checkbox-box-size);+ width: var(--checkbox-box-size);+}++.indicator {+ display: block;+ height: var(--checkbox-icon-size);+ left: 0;+ position: absolute;+ top: 0;+ width: var(--checkbox-icon-size);+}++.indicator svg {+ display: block;+ height: 100%;+ stroke: var(--t-font-color-inverted);+ width: 100%;+}diff --git a/packages/twenty-ui/src/input/components/Checkbox.module.scss.d.ts b/packages/twenty-ui/src/input/components/Checkbox.module.scss.d.tsnew file mode 100644index 00000000000..1cd971bc6b1--- /dev/null+++ b/packages/twenty-ui/src/input/components/Checkbox.module.scss.d.ts@@ -0,0 +1,16 @@+declare const classNames: {+ readonly root: 'root';+ readonly primary: 'primary';+ readonly secondary: 'secondary';+ readonly tertiary: 'tertiary';+ readonly small: 'small';+ readonly large: 'large';+ readonly squared: 'squared';+ readonly rounded: 'rounded';+ readonly blue: 'blue';+ readonly orange: 'orange';+ readonly hoverable: 'hoverable';+ readonly box: 'box';+ readonly indicator: 'indicator';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/components/Checkbox.tsx b/packages/twenty-ui/src/input/components/Checkbox.tsxnew file mode 100644index 00000000000..b93f38e6b96--- /dev/null+++ b/packages/twenty-ui/src/input/components/Checkbox.tsx@@ -0,0 +1,95 @@+import { Checkbox as CheckboxPrimitive } from '@base-ui/react/checkbox';+import { clsx } from 'clsx';+import * as React from 'react';++import { IconCheck, IconMinus } from '@ui/display/icon/components/TablerIcons';++import styles from './Checkbox.module.scss';++export enum CheckboxVariant {+ Primary = 'primary',+ Secondary = 'secondary',+ Tertiary = 'tertiary',+}++export enum CheckboxShape {+ Squared = 'squared',+ Rounded = 'rounded',+}++export enum CheckboxSize {+ Large = 'large',+ Small = 'small',+}++export enum CheckboxAccent {+ Blue = 'blue',+ Orange = 'orange',+}++type CheckboxProps = {+ checked: boolean;+ indeterminate?: boolean;+ hoverable?: boolean;+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;+ onCheckedChange?: (value: boolean) => void;+ variant?: CheckboxVariant;+ size?: CheckboxSize;+ shape?: CheckboxShape;+ className?: string;+ disabled?: boolean;+ accent?: CheckboxAccent;+};++export const Checkbox = ({+ checked,+ onChange,+ onCheckedChange,+ indeterminate,+ variant = CheckboxVariant.Primary,+ size = CheckboxSize.Small,+ shape = CheckboxShape.Squared,+ hoverable = true,+ className,+ disabled = false,+ accent = CheckboxAccent.Blue,+}: CheckboxProps) => {+ const [isInternalChecked, setIsInternalChecked] =+ React.useState<boolean>(false);++ React.useEffect(() => {+ setIsInternalChecked(checked ?? false);+ }, [checked]);++ return (+ <CheckboxPrimitive.Root+ checked={isInternalChecked}+ indeterminate={indeterminate}+ disabled={disabled}+ name="styled-checkbox"+ data-testid="input-checkbox"+ onCheckedChange={(value, eventDetails) => {+ onChange?.(+ eventDetails.event as unknown as React.ChangeEvent<HTMLInputElement>,+ );+ onCheckedChange?.(value);+ setIsInternalChecked(value);+ }}+ className={clsx(+ styles.root,+ styles[variant],+ styles[size],+ styles[shape],+ styles[accent],+ hoverable && styles.hoverable,+ className,+ )}+ >+ <span className={styles.box}>+ <CheckboxPrimitive.Indicator className={styles.indicator}>+ {indeterminate ? <IconMinus /> : <IconCheck />}+ </CheckboxPrimitive.Indicator>+ </span>+ </CheckboxPrimitive.Root>+ );+};diff --git a/packages/twenty-ui/src/input/components/IconListViewGrip.tsx b/packages/twenty-ui/src/input/components/IconListViewGrip.tsxnew file mode 100644index 00000000000..c7f4b344bfa--- /dev/null+++ b/packages/twenty-ui/src/input/components/IconListViewGrip.tsx@@ -0,0 +1,11 @@+import IconListViewGripRaw from '@assets/misc/list-view-grip.svg?react';+import { type IconComponentProps } from '@ui/display/icon/types/IconComponent';++type IconListViewGripProps = Pick<IconComponentProps, 'size' | 'stroke'>;++export const IconListViewGrip = (props: IconListViewGripProps) => {+ const width = props.size ?? 8;+ const height = props.size ?? 32;++ return <IconListViewGripRaw height={height} width={width} />;+};diff --git a/packages/twenty-ui/src/input/components/Radio.module.scss b/packages/twenty-ui/src/input/components/Radio.module.scssnew file mode 100644index 00000000000..e137561262d--- /dev/null+++ b/packages/twenty-ui/src/input/components/Radio.module.scss@@ -0,0 +1,89 @@+.container {+ align-items: center;+ display: inline-flex;+ flex-direction: row;+}++.containerLabelLeft {+ flex-direction: row-reverse;+}++.radio {+ background-color: transparent;+ border: 1px solid var(--t-font-color-secondary);+ border-radius: var(--t-border-radius-rounded);+ // The border sits outside the declared size, matching the legacy input rendering.+ box-sizing: content-box;+ display: block;+ margin: 0 0 0 3px;+ position: relative;+ // Replaces the legacy framer-motion spring scale micro-animation.+ transform: scale(0.95);+ transition: transform duration(normal) ease;+}++.small {+ height: 16px;+ width: 16px;+}++.large {+ height: 18px;+ width: 18px;+}++.radio:hover {+ background-color: var(--t-background-tertiary);+ outline: 4px solid var(--t-background-tertiary);+}++.radio[data-checked] {+ background-color: var(--t-color-blue);+ border: none;+ transform: scale(1.05);+}++.radio[data-checked]:hover {+ outline-color: var(--t-color-transparent-blue2);+}++.radio[data-checked]::after {+ background-color: var(--t-gray-scale-gray1);+ border-radius: 50%;+ content: '';+ height: 6px;+ left: 50%;+ position: absolute;+ top: 50%;+ transform: translate(-50%, -50%);+ width: 6px;+}++.large[data-checked]::after {+ height: 8px;+ width: 8px;+}++.radio[data-disabled] {+ cursor: not-allowed;+ opacity: 0.12;+}++.label {+ color: var(--t-font-color-primary);+ cursor: pointer;+ font-size: var(--t-font-size-sm);+ font-weight: var(--t-font-weight-regular);+}++.labelRight {+ margin-left: var(--t-spacing-2);+}++.labelLeft {+ margin-right: var(--t-spacing-2);+}++.label[data-disabled] {+ opacity: 0.32;+}diff --git a/packages/twenty-ui/src/input/components/Radio.module.scss.d.ts b/packages/twenty-ui/src/input/components/Radio.module.scss.d.tsnew file mode 100644index 00000000000..52e585117d8--- /dev/null+++ b/packages/twenty-ui/src/input/components/Radio.module.scss.d.ts@@ -0,0 +1,11 @@+declare const classNames: {+ readonly container: 'container';+ readonly containerLabelLeft: 'containerLabelLeft';+ readonly radio: 'radio';+ readonly small: 'small';+ readonly large: 'large';+ readonly label: 'label';+ readonly labelRight: 'labelRight';+ readonly labelLeft: 'labelLeft';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/components/Radio.tsx b/packages/twenty-ui/src/input/components/Radio.tsxnew file mode 100644index 00000000000..79be597cc10--- /dev/null+++ b/packages/twenty-ui/src/input/components/Radio.tsx@@ -0,0 +1,93 @@+import { Radio as RadioPrimitive } from '@base-ui/react/radio';+import { RadioGroup as RadioGroupPrimitive } from '@base-ui/react/radio-group';+import { clsx } from 'clsx';+import * as React from 'react';++import styles from './Radio.module.scss';+import { RadioGroup } from './RadioGroup';++export enum RadioSize {+ Large = 'large',+ Small = 'small',+}++export enum LabelPosition {+ Left = 'left',+ Right = 'right',+}++export type RadioProps = {+ checked?: boolean;+ className?: string;+ name?: string;+ disabled?: boolean;+ label?: string;+ labelPosition?: LabelPosition;+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;+ onCheckedChange?: (checked: boolean) => void;+ size?: RadioSize;+ style?: React.CSSProperties;+ value?: string;+};++export const Radio = ({+ checked,+ className,+ name = 'input-radio',+ disabled = false,+ label,+ labelPosition = LabelPosition.Right,+ onChange,+ onCheckedChange,+ size = RadioSize.Small,+ value,+}: RadioProps) => {+ const optionId = React.useId();++ // 'on' mimics the native input value default when neither value nor label is set.+ const radioValue = value || label || 'on';++ return (+ <RadioGroupPrimitive+ className={clsx(+ styles.container,+ labelPosition === LabelPosition.Left && styles.containerLabelLeft,+ className,+ )}+ name={name}+ value={checked === undefined ? undefined : checked ? radioValue : ''}+ onValueChange={(_newValue, eventDetails) => {+ const inputElement = eventDetails.event+ .target as HTMLInputElement | null;+ onChange?.(+ eventDetails.event as unknown as React.ChangeEvent<HTMLInputElement>,+ );+ onCheckedChange?.(inputElement?.checked ?? true);+ }}+ >+ <RadioPrimitive.Root+ id={optionId}+ value={radioValue}+ disabled={disabled}+ data-testid="input-radio"+ className={clsx(styles.radio, styles[size])}+ />+ {label && (+ <label+ htmlFor={optionId}+ className={clsx(+ styles.label,+ labelPosition === LabelPosition.Left+ ? styles.labelLeft+ : styles.labelRight,+ )}+ data-disabled={disabled || undefined}+ >+ {label}+ </label>+ )}+ </RadioGroupPrimitive>+ );+};++Radio.Group = RadioGroup;diff --git a/packages/twenty-ui/src/input/components/RadioGroup.tsx b/packages/twenty-ui/src/input/components/RadioGroup.tsxnew file mode 100644index 00000000000..2c9a3ede743--- /dev/null+++ b/packages/twenty-ui/src/input/components/RadioGroup.tsx@@ -0,0 +1,37 @@+import React from 'react';++import { themeCssVariables } from '@ui/theme-constants';+import { type RadioProps } from './Radio';++type RadioGroupProps = React.PropsWithChildren & {+ value?: string;+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;+ onValueChange?: (value: string) => void;+};++export const RadioGroup = ({+ value,+ onChange,+ onValueChange,+ children,+}: RadioGroupProps) => {+ const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {+ onChange?.(event);+ onValueChange?.(event.target.value);+ };++ return (+ <>+ {React.Children.map(children, (child) => {+ if (React.isValidElement<RadioProps>(child)) {+ return React.cloneElement(child, {+ style: { marginBottom: themeCssVariables.spacing[2] },+ checked: child.props.value === value,+ onChange: handleChange,+ });+ }+ return child;+ })}+ </>+ );+};diff --git a/packages/twenty-ui/src/input/components/SearchInput.module.scss b/packages/twenty-ui/src/input/components/SearchInput.module.scssnew file mode 100644index 00000000000..cf35289313d--- /dev/null+++ b/packages/twenty-ui/src/input/components/SearchInput.module.scss@@ -0,0 +1,55 @@+.wrapper {+ align-items: center;+ display: flex;+ gap: var(--t-spacing-2);+ width: 100%;+}++.inputContainer {+ align-items: center;+ background-color: var(--t-background-transparent-lighter);+ border: 1px solid var(--t-border-color-medium);+ border-radius: var(--t-border-radius-sm);+ box-sizing: border-box;+ display: flex;+ flex: 1;+ gap: var(--t-spacing-1);+ height: 32px;+ padding: 0 var(--t-spacing-2);+}++.inputContainer:focus-within {+ border-color: var(--t-color-blue);+}++.iconContainer {+ align-items: center;+ color: var(--t-font-color-light);+ display: flex;+ justify-content: center;+}++.iconContainer[data-focused] {+ color: var(--t-font-color-secondary);+}++.input {+ background: transparent;+ border: none;+ color: var(--t-font-color-primary);+ flex: 1;+ font-family: var(--t-font-family);+ font-size: var(--t-font-size-md);+ font-weight: var(--t-font-weight-regular);+ outline: none;+ width: 100%;+}++.input::placeholder {+ color: var(--t-font-color-light);+ font-weight: var(--t-font-weight-medium);+}++.input:disabled {+ color: var(--t-font-color-tertiary);+}diff --git a/packages/twenty-ui/src/input/components/SearchInput.module.scss.d.ts b/packages/twenty-ui/src/input/components/SearchInput.module.scss.d.tsnew file mode 100644index 00000000000..cdc1f41b073--- /dev/null+++ b/packages/twenty-ui/src/input/components/SearchInput.module.scss.d.ts@@ -0,0 +1,7 @@+declare const classNames: {+ readonly wrapper: 'wrapper';+ readonly inputContainer: 'inputContainer';+ readonly iconContainer: 'iconContainer';+ readonly input: 'input';+};+export default classNames;diff --git a/packages/twenty-ui/src/input/components/SearchInput.tsx b/packages/twenty-ui/src/input/components/SearchInput.tsxnew file mode 100644index 00000000000..55c7a3f71f2--- /dev/null+++ b/packages/twenty-ui/src/input/components/SearchInput.tsx@@ -0,0 +1,58 @@+import { Input } from '@base-ui/react/input';+import { clsx } from 'clsx';+import { type ReactNode, useContext, useState } from 'react';++import { IconFilter, IconSearch } from '@ui/display';+import { IconButton } from '@ui/input/button/components/IconButton';+import { ThemeContext } from '@ui/theme-constants';++import styles from './SearchInput.module.scss';++export type SearchInputProps = {+ value: string;+ onChange: (value: string) => void;+ placeholder?: string;+ filterDropdown?: (filterButton: ReactNode) => ReactNode;+ autoFocus?: boolean;+ disabled?: boolean;+ className?: string;+};++export const SearchInput = ({+ value,+ onChange,+ placeholder,+ filterDropdown,+ autoFocus,+ disabled,+ className,+}: SearchInputProps) => {+ const { theme } = useContext(ThemeContext);+ const [isFocused, setIsFocused] = useState(false);++ const filterButton = <IconButton Icon={IconFilter} variant="secondary" />;++ return (+ <div className={clsx(styles.wrapper, className)}>+ <div className={styles.inputContainer}>+ <div+ className={styles.iconContainer}+ data-focused={isFocused || undefined}+ >+ <IconSearch size={theme.icon.size.md} />+ </div>+ <Input+ className={styles.input}+ value={value}+ onValueChange={(newValue) => onChange(newValue)}+ onFocus={() => setIsFocused(true)}+ onBlur={() => setIsFocused(false)}+ placeholder={placeholder}+ autoFocus={autoFocus}+ disabled={disabled}+ />+ </div>+ {filterDropdown && filterDropdown(filterButton)}+ </div>+ );+};diff --git a/packages/twenty-ui/src/input/components/Toggle.stories.tsx b/packages/twenty-ui/src/input/components/Toggle.stories.tsxdeleted file mode 100644index e6d4dddb70f..00000000000--- a/packages/twenty-ui/src/input/components/Toggle.stories.tsx+++ /dev/null@@ -1,50 +0,0 @@-import { type Meta, type StoryObj } from '@storybook/react-vite';-import { useState } from 'react';--import { ThemeProvider } from '@new-ui/theme-constants';--import { Toggle } from './Toggle';--const meta: Meta<typeof Toggle> = {- title: 'Input/Toggle',- component: Toggle,- args: { toggleSize: 'medium', 'aria-label': 'Example toggle' },-};--export default meta;--type Story = StoryObj<typeof Toggle>;--export const On: Story = { args: { value: true } };--export const Off: Story = { args: { value: false } };--export const Small: Story = { args: { value: true, toggleSize: 'small' } };--export const CustomColor: Story = {- args: { value: true, color: 'color(display-p3 0.2 0.7 0.4)' },-};--export const Disabled: Story = { args: { value: true, disabled: true } };--const ControlledToggle = () => {- const [value, setValue] = useState(false);- return (- <Toggle value={value} onChange={setValue} aria-label="Example toggle" />- );-};--export const Interactive: Story = {- render: () => <ControlledToggle />,-};--export const Dark: Story = {- args: { value: true },- decorators: [- (Story) => (- <ThemeProvider colorScheme="dark">- <Story />- </ThemeProvider>- ),- ],-};diff --git a/packages/twenty-ui/src/input/components/__stories__/Checkbox.stories.tsx b/packages/twenty-ui/src/input/components/__stories__/Checkbox.stories.tsxnew file mode 100644index 00000000000..efdab51fe19--- /dev/null+++ b/packages/twenty-ui/src/input/components/__stories__/Checkbox.stories.tsx@@ -0,0 +1,101 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';++import {+ Checkbox,+ CheckboxAccent,+ CheckboxShape,+ CheckboxSize,+ CheckboxVariant,+} from '../Checkbox';++const meta: Meta<typeof Checkbox> = {+ title: 'UI/Input/Checkbox/Checkbox',+ component: Checkbox,+};++export default meta;+type Story = StoryObj<typeof Checkbox>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ checked: false,+ indeterminate: false,+ hoverable: false,+ disabled: false,+ variant: CheckboxVariant.Primary,+ size: CheckboxSize.Small,+ shape: CheckboxShape.Squared,+ accent: CheckboxAccent.Blue,+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof Checkbox> = {+ args: {},+ argTypes: {+ variant: { control: false },+ size: { control: false },+ indeterminate: { control: false },+ checked: { control: false },+ hoverable: { control: false },+ shape: { control: false },+ accent: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'state',+ values: ['disabled', 'unchecked', 'checked', 'indeterminate'],+ props: (state: string) => {+ if (state === 'disabled') {+ return { disabled: true };+ }+ if (state === 'checked') {+ return { checked: true };+ }+ if (state === 'indeterminate') {+ return { indeterminate: true };+ }+ return {};+ },+ },+ {+ name: 'shape',+ values: Object.values(CheckboxShape),+ props: (shape: CheckboxShape) => ({ shape }),+ },+ {+ name: 'isHoverable',+ values: ['default', 'hoverable'],+ props: (isHoverable: string) => {+ if (isHoverable === 'hoverable') {+ return { hoverable: true };+ }+ return {};+ },+ },+ {+ name: 'size',+ values: Object.values(CheckboxSize),+ props: (size: CheckboxSize) => ({ size }),+ },+ {+ name: 'accent',+ values: Object.values(CheckboxAccent),+ props: (accent: CheckboxAccent) => ({ accent }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/input/components/__stories__/Radio.stories.tsx b/packages/twenty-ui/src/input/components/__stories__/Radio.stories.tsxnew file mode 100644index 00000000000..763587b74e1--- /dev/null+++ b/packages/twenty-ui/src/input/components/__stories__/Radio.stories.tsx@@ -0,0 +1,66 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';++import { LabelPosition, Radio, RadioSize } from '../Radio';++const meta: Meta<typeof Radio> = {+ title: 'UI/Input/Radio/Radio',+ component: Radio,+};++export default meta;+type Story = StoryObj<typeof Radio>;++export const Default: Story = {+ args: {+ label: 'Radio',+ checked: false,+ disabled: false,+ size: RadioSize.Small,+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof Radio> = {+ args: {+ label: 'Radio',+ },+ argTypes: {+ size: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'checked',+ values: [false, true],+ props: (checked: boolean) => ({ checked }),+ },+ {+ name: 'disabled',+ values: [false, true],+ props: (disabled: boolean) => ({ disabled }),+ },+ {+ name: 'size',+ values: Object.values(RadioSize),+ props: (size: RadioSize) => ({ size }),+ },+ {+ name: 'labelPosition',+ values: Object.values(LabelPosition),+ props: (labelPosition: LabelPosition) => ({+ labelPosition,+ }),+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/input/components/__stories__/SearchInput.stories.tsx b/packages/twenty-ui/src/input/components/__stories__/SearchInput.stories.tsxnew file mode 100644index 00000000000..e454a75fc04--- /dev/null+++ b/packages/twenty-ui/src/input/components/__stories__/SearchInput.stories.tsx@@ -0,0 +1,54 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { ComponentDecorator } from '@ui/testing';+import { useState } from 'react';++import { SearchInput } from '../SearchInput';++type InteractiveSearchInputProps = {+ placeholder?: string;+ disabled?: boolean;+ autoFocus?: boolean;+ className?: string;+};++const InteractiveSearchInput = ({+ placeholder,+ disabled,+ autoFocus,+ className,+}: InteractiveSearchInputProps) => {+ const [value, setValue] = useState('');++ return (+ <SearchInput+ value={value}+ onChange={setValue}+ placeholder={placeholder}+ disabled={disabled}+ autoFocus={autoFocus}+ className={className}+ />+ );+};++const meta: Meta<typeof InteractiveSearchInput> = {+ title: 'UI/Input/SearchInput',+ component: InteractiveSearchInput,+ decorators: [ComponentDecorator],+};++export default meta;+type Story = StoryObj<typeof InteractiveSearchInput>;++export const Default: Story = {+ args: {+ placeholder: 'Search...',+ },+};++export const Disabled: Story = {+ args: {+ placeholder: 'Search...',+ disabled: true,+ },+};diff --git a/packages/twenty-ui/src/input/components/__stories__/Toggle.stories.tsx b/packages/twenty-ui/src/input/components/__stories__/Toggle.stories.tsxnew file mode 100644index 00000000000..6a0c708d009--- /dev/null+++ b/packages/twenty-ui/src/input/components/__stories__/Toggle.stories.tsx@@ -0,0 +1,102 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { themeCssVariables } from '@ui/theme-constants';+import { useState } from 'react';++import { Toggle, type ToggleSize } from '../Toggle';++type InteractiveToggleProps = {+ initialValue?: boolean;+ toggleSize?: ToggleSize;+ color?: string;+ disabled?: boolean;+};++const InteractiveToggle = ({+ initialValue = false,+ toggleSize = 'medium',+ color,+ disabled,+}: InteractiveToggleProps) => {+ const [value, setValue] = useState(initialValue);++ return (+ <Toggle+ value={value}+ onChange={setValue}+ toggleSize={toggleSize}+ color={color}+ disabled={disabled}+ />+ );+};++const meta: Meta<typeof InteractiveToggle> = {+ title: 'UI/Input/Toggle/Toggle',+ component: InteractiveToggle,+};++export default meta;+type Story = StoryObj<typeof InteractiveToggle>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ initialValue: false,+ disabled: false,+ toggleSize: 'medium',+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof InteractiveToggle> = {+ args: {},+ argTypes: {+ toggleSize: { control: false },+ initialValue: { control: false },+ disabled: { control: false },+ color: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'state',+ values: ['disabled', 'off', 'on'],+ props: (state: string) => {+ if (state === 'disabled') {+ return { disabled: true, initialValue: false };+ }+ if (state === 'on') {+ return { initialValue: true };+ }+ return { initialValue: false };+ },+ },+ {+ name: 'size',+ values: ['small', 'medium'] satisfies ToggleSize[],+ props: (toggleSize: ToggleSize) => ({ toggleSize }),+ },+ {+ name: 'color',+ values: ['default', 'custom color'],+ props: (color: string) => {+ if (color === 'default') {+ return {};+ }+ return { color: themeCssVariables.color.yellow };+ },+ },+ ],+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/input/index.ts b/packages/twenty-ui/src/input/index.tsindex b4e27c1faec..0e148b1653a 100644--- a/packages/twenty-ui/src/input/index.ts+++ b/packages/twenty-ui/src/input/index.ts@@ -7,5 +7,102 @@* |___/*/+export type { AnimatedButtonProps } from './button/components/AnimatedButton';+export { AnimatedButton } from './button/components/AnimatedButton';+export type { AnimatedLightIconButtonProps } from './button/components/AnimatedLightIconButton';+export { AnimatedLightIconButton } from './button/components/AnimatedLightIconButton';+export type {+ ButtonSize,+ ButtonPosition,+ ButtonVariant,+ ButtonAccent,+ ButtonProps,+} from './button/components/Button/Button';+export { Button } from './button/components/Button/Button';+export { baseTransitionTiming } from './button/components/Button/constant';+export type { ButtonGroupProps } from './button/components/ButtonGroup';+export { ButtonGroup } from './button/components/ButtonGroup';+export { ColorPickerButton } from './button/components/ColorPickerButton';+export type {+ FloatingButtonSize,+ FloatingButtonPosition,+ FloatingButtonProps,+} from './button/components/FloatingButton';+export { FloatingButton } from './button/components/FloatingButton';+export type { FloatingButtonGroupProps } from './button/components/FloatingButtonGroup';+export { FloatingButtonGroup } from './button/components/FloatingButtonGroup';+export type {+ FloatingIconButtonSize,+ FloatingIconButtonPosition,+ FloatingIconButtonProps,+} from './button/components/FloatingIconButton';+export { FloatingIconButton } from './button/components/FloatingIconButton';+export type { FloatingIconButtonGroupProps } from './button/components/FloatingIconButtonGroup';+export { FloatingIconButtonGroup } from './button/components/FloatingIconButtonGroup';+export type {+ IconButtonSize,+ IconButtonPosition,+ IconButtonVariant,+ IconButtonAccent,+ IconButtonProps,+} from './button/components/IconButton';+export { IconButton } from './button/components/IconButton';+export type { IconButtonGroupProps } from './button/components/IconButtonGroup';+export { IconButtonGroup } from './button/components/IconButtonGroup';+export type { InsideButtonProps } from './button/components/InsideButton';+export { InsideButton } from './button/components/InsideButton';+export type {+ LightButtonAccent,+ LightButtonProps,+} from './button/components/LightButton';+export { LightButton } from './button/components/LightButton';+export type {+ LightIconButtonAccent,+ LightIconButtonSize,+ LightIconButtonProps,+} from './button/components/LightIconButton';+export { LightIconButton } from './button/components/LightIconButton';+export type { LightIconButtonGroupProps } from './button/components/LightIconButtonGroup';+export { LightIconButtonGroup } from './button/components/LightIconButtonGroup';+export type { MainButtonVariant } from './button/components/MainButton';+export { MainButton } from './button/components/MainButton';+export type { RoundedIconButtonSize } from './button/components/RoundedIconButton';+export { RoundedIconButton } from './button/components/RoundedIconButton';+export {+ StyledTabButton,+ StyledTabContainer,+ StyledTabHover,+} from './button/components/TabButton/internals/components/StyledTabBase';+export type { TabContentProps } from './button/components/TabButton/internals/components/TabContent';+export { TabContent } from './button/components/TabButton/internals/components/TabContent';+export { TabButton } from './button/components/TabButton/TabButton';+export { CodeEditor } from './code-editor/components/CodeEditor';+export type { CoreEditorHeaderProps } from './code-editor/components/CodeEditorHeader';+export { CoreEditorHeader } from './code-editor/components/CodeEditorHeader';+export { BASE_CODE_EDITOR_THEME_ID } from './code-editor/constants/BaseCodeEditorThemeId';+export { getBaseCodeEditorTheme } from './code-editor/theme/utils/getBaseCodeEditorTheme';+export type {+ ColorSchemeSegmentProps,+ ColorSchemeCardProps,+} from './color-scheme/components/ColorSchemeCard';+export { ColorSchemeCard } from './color-scheme/components/ColorSchemeCard';+export type { ColorSchemePickerProps } from './color-scheme/components/ColorSchemePicker';+export { ColorSchemePicker } from './color-scheme/components/ColorSchemePicker';+export { CardPicker } from './components/CardPicker';+export {+ CheckboxVariant,+ CheckboxShape,+ CheckboxSize,+ CheckboxAccent,+ Checkbox,+} from './components/Checkbox';+export { IconListViewGrip } from './components/IconListViewGrip';+export type { RadioProps } from './components/Radio';+export { RadioSize, LabelPosition, Radio } from './components/Radio';+export { RadioGroup } from './components/RadioGroup';+export type { SearchInputProps } from './components/SearchInput';+export { SearchInput } from './components/SearchInput';export type { ToggleSize, ToggleProps } from './components/Toggle';export { Toggle } from './components/Toggle';+export type { ColorScheme } from './types/ColorScheme';+export type { SelectOption } from './types/SelectOption';diff --git a/packages/twenty-ui/src/input/types/ColorScheme.ts b/packages/twenty-ui/src/input/types/ColorScheme.tsnew file mode 100644index 00000000000..0a5f3723d78--- /dev/null+++ b/packages/twenty-ui/src/input/types/ColorScheme.ts@@ -0,0 +1 @@+export type ColorScheme = 'Dark' | 'Light' | 'System';diff --git a/packages/twenty-ui/src/input/types/SelectOption.ts b/packages/twenty-ui/src/input/types/SelectOption.tsnew file mode 100644index 00000000000..e2a5190f185--- /dev/null+++ b/packages/twenty-ui/src/input/types/SelectOption.ts@@ -0,0 +1,15 @@+import { type IconComponent } from '@ui/display';+import { type ThemeColor } from '@ui/theme';++export type SelectOption<+ Value extends string | number | boolean | null = string,+> = {+ Icon?: IconComponent | null;+ iconThemeColor?: ThemeColor | null;+ label: string;+ fullLabel?: string;+ value: Value;+ disabled?: boolean;+ color?: ThemeColor | 'transparent';+ contextualText?: string;+};diff --git a/packages/twenty-ui/src/json-visualizer/__stories__/JsonTree.stories.tsx b/packages/twenty-ui/src/json-visualizer/__stories__/JsonTree.stories.tsxnew file mode 100644index 00000000000..a33e1715bca--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/__stories__/JsonTree.stories.tsx@@ -0,0 +1,661 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { JsonTree } from '@ui/json-visualizer/components/JsonTree';+import { isTwoFirstDepths } from '@ui/json-visualizer/utils/isTwoFirstDepths';+import {+ expect,+ fn,+ userEvent,+ waitFor,+ waitForElementToBeRemoved,+ within,+} from 'storybook/test';++const meta: Meta<typeof JsonTree> = {+ title: 'UI/JsonVisualizer/JsonTree',+ component: JsonTree,+ args: {+ shouldExpandNodeInitially: () => true,+ emptyArrayLabel: 'Empty Array',+ emptyObjectLabel: 'Empty Object',+ emptyStringLabel: '[empty string]',+ arrowButtonCollapsedLabel: 'Expand',+ arrowButtonExpandedLabel: 'Collapse',+ },+ argTypes: {},+};++export default meta;++type Story = StoryObj<typeof JsonTree>;++export const String: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: 'Hello',+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const node = await canvas.findByText('Hello');++ expect(node).toBeVisible();+ },+};++export const StringWithSpecialCharacters: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: 'Merry \n Christmas \t 🎄',+ onNodeValueClick: fn(),+ },+ play: async ({ canvasElement, args }) => {+ const canvas = within(canvasElement);++ const node = await canvas.findByText('Merry Christmas 🎄');++ await userEvent.click(node);++ await waitFor(() => {+ expect(args.onNodeValueClick).toHaveBeenCalledWith(+ 'Merry \n Christmas \t 🎄',+ );+ });+ },+};++export const Number: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: 42,+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const node = await canvas.findByText('42');++ expect(node).toBeVisible();+ },+};++export const Boolean: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: true,+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const node = await canvas.findByText('true');++ expect(node).toBeVisible();+ },+};++export const Null: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: null,+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const node = await canvas.findByText('null');++ expect(node).toBeVisible();+ },+};++export const ArraySimple: Story = {+ args: {+ value: [1, 2, 3],+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const node = await canvas.findByText('3');++ expect(node).toBeVisible();+ },+};++export const ArrayEmpty: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: [],+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const emptyState = await canvas.findByText('Empty Array');++ expect(emptyState).toBeVisible();+ },+};++export const ArrayNested: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: [1, 2, ['a', 'b', 'c'], 3],+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const nestedArrayElements = await canvas.findByText('[3]');++ expect(nestedArrayElements).toBeVisible();+ },+};++export const ArrayNestedEmpty: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: [1, 2, [], 3],+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const nestedArrayElements = await canvas.findByText('[0]');++ expect(nestedArrayElements).toBeVisible();++ const emptyState = await canvas.findByText('Empty Array');++ expect(emptyState).toBeVisible();+ },+};++export const ArrayWithObjects: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: [+ {+ name: 'John Doe',+ age: 30,+ },+ {+ name: 'John Dowl',+ age: 42,+ },+ ],+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const nestedObjectItemsCounts = await canvas.findAllByText('{2}');++ expect(nestedObjectItemsCounts).toHaveLength(2);+ },+};++export const ObjectSimple: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: {+ name: 'John Doe',+ age: 30,+ },+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const name = await canvas.findByText('John Doe');+ expect(name).toBeVisible();++ const age = await canvas.findByText('30');+ expect(age).toBeVisible();+ },+};++export const ObjectEmpty: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: {},+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const emptyState = await canvas.findByText('Empty Object');++ expect(emptyState).toBeVisible();+ },+};++export const ObjectNested: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: {+ person: {+ name: 'John Doe',+ address: {+ street: '123 Main St',+ city: 'New York',+ },+ },+ isActive: true,+ },+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const nestedObjectItemsCounts = await canvas.findAllByText('{2}');++ expect(nestedObjectItemsCounts).toHaveLength(2);+ },+};++export const ObjectNestedEmpty: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: {+ person: {},+ },+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const nestedObjectItemsCount = await canvas.findByText('{0}');++ expect(nestedObjectItemsCount).toBeVisible();++ const emptyState = await canvas.findByText('Empty Object');++ expect(emptyState).toBeVisible();+ },+};++export const ObjectWithArray: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: {+ users: [+ { id: 1, name: 'John' },+ { id: 2, name: 'Jane' },+ ],+ settings: {+ theme: 'dark',+ notifications: true,+ },+ },+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const nestedArrayCount = await canvas.findByText('[2]');+ expect(nestedArrayCount).toBeVisible();++ const nestedObjectCounts = await canvas.findAllByText('{2}');+ expect(nestedObjectCounts).toHaveLength(3);+ },+};++export const NestedElementCanBeCollapsed: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: {+ person: {+ name: 'John Doe',+ age: 12,+ },+ isActive: true,+ },+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const toggleButton = await canvas.findByRole('button', {+ name: 'Collapse',+ });++ const ageElement = canvas.getByText('age');++ await Promise.all([+ waitForElementToBeRemoved(ageElement),++ userEvent.click(toggleButton),+ ]);++ expect(toggleButton).toHaveTextContent('Expand');+ },+};++export const ExpandingElementExpandsAllItsDescendants: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: {+ person: {+ name: 'John Doe',+ address: {+ street: '123 Main St',+ city: 'New York',+ country: {+ name: 'USA',+ code: 'US',+ },+ },+ },+ isActive: true,+ },+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ {+ const allCollapseButtons = await canvas.findAllByRole('button', {+ name: 'Collapse',+ });++ expect(allCollapseButtons).toHaveLength(3);++ for (const collapseButton of allCollapseButtons.reverse()) {+ await userEvent.click(collapseButton);+ }+ }++ const rootExpandButton = await canvas.findByRole('button', {+ name: 'Expand',+ });++ await userEvent.click(rootExpandButton);++ {+ const allCollapseButtons = await canvas.findAllByRole('button', {+ name: 'Collapse',+ });++ expect(allCollapseButtons).toHaveLength(3);+ }+ },+};++export const ExpandTwoFirstDepths: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: {+ person: {+ name: 'John Doe',+ address: {+ street: '123 Main St',+ city: 'New York',+ country: {+ name: 'USA',+ code: 'US',+ },+ },+ },+ isActive: true,+ },+ shouldExpandNodeInitially: isTwoFirstDepths,+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const nameElement = await canvas.findByText('name');+ expect(nameElement).toBeVisible();++ const addressElement = await canvas.findByText('address');+ expect(addressElement).toBeVisible();++ const streetElement = canvas.queryByText('street');+ expect(streetElement).not.toBeInTheDocument();++ const countrCodeElement = canvas.queryByText('code');+ expect(countrCodeElement).not.toBeInTheDocument();+ },+};++export const ReallyDeepNestedObject: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: {+ a: {+ b: {+ c: {+ d: {+ e: {+ f: {+ g: {+ h: {+ i: {+ j: {+ k: {+ l: {+ m: {+ n: {+ o: {+ p: {+ q: {+ r: {+ s: {+ t: {+ u: {+ v: {+ w: {+ x: {+ y: {+ z: {+ end: true,+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ bis: {+ c: {+ d: {+ e: {+ f: {+ g: {+ h: {+ i: {+ j: {+ k: {+ l: {+ m: {+ n: {+ o: {+ p: {+ q: {+ r: {+ s: {+ t: {+ u: {+ v: {+ w: {+ x: {+ y: {+ z: {+ end: true,+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const finalNodes = await canvas.findAllByText('end');++ expect(finalNodes).toHaveLength(2);+ expect(finalNodes[0]).toBeVisible();+ expect(finalNodes[1]).toBeVisible();+ },+};++export const LongText: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: {+ 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum iaculis est tincidunt, sagittis neque vitae, sodales purus.':+ 'Ut lobortis ultricies purus, sit amet porta eros. Suspendisse efficitur quam vitae diam imperdiet feugiat. Etiam vel bibendum elit.',+ },+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const label = await canvas.findByText(+ 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum iaculis est tincidunt, sagittis neque vitae, sodales purus.',+ );++ expect(label).toBeVisible();++ const value = await canvas.findByText(+ 'Ut lobortis ultricies purus, sit amet porta eros. Suspendisse efficitur quam vitae diam imperdiet feugiat. Etiam vel bibendum elit.',+ );++ expect(value).toBeVisible();+ },+};++export const BlueHighlighting: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: {+ name: 'John Doe',+ age: 30,+ },+ getNodeHighlighting: () => 'blue',+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const ageElement = await canvas.findByText('age');+ expect(ageElement).toBeVisible();+ },+};++export const PartialBlueHighlighting: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: {+ name: 'John Doe',+ age: 30,+ address: {+ city: 'Paris',+ },+ },+ getNodeHighlighting: (keyPath: string) =>+ keyPath === 'address' ? 'partial-blue' : undefined,+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const ageElement = await canvas.findByText('age');+ expect(ageElement).toBeVisible();+ },+};++export const RedHighlighting: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: {+ name: 'John Doe',+ age: 30,+ address: {+ city: 'Paris',+ },+ },+ getNodeHighlighting: () => 'red',+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const ageElement = await canvas.findByText('age');+ expect(ageElement).toBeVisible();+ },+};++export const CopyJsonNodeValue: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ value: {+ name: 'John Doe',+ age: 30,+ },+ onNodeValueClick: fn(),+ },+ play: async ({ canvasElement, args }) => {+ const canvas = within(canvasElement);++ const nameValue = await canvas.findByText('John Doe');++ await userEvent.click(nameValue);++ await waitFor(() => {+ expect(args.onNodeValueClick).toHaveBeenCalledWith('John Doe');+ });++ const ageValue = await canvas.findByText('30');++ await userEvent.click(ageValue);++ await waitFor(() => {+ expect(args.onNodeValueClick).toHaveBeenCalledWith('30');+ });+ },+};diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonArrayNode.tsx b/packages/twenty-ui/src/json-visualizer/components/JsonArrayNode.tsxnew file mode 100644index 00000000000..14278f04552--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/JsonArrayNode.tsx@@ -0,0 +1,38 @@+import { IconBrackets } from '@ui/display';+import { JsonNestedNode } from '@ui/json-visualizer/components/JsonNestedNode';+import { useJsonTreeContextOrThrow } from '@ui/json-visualizer/hooks/useJsonTreeContextOrThrow';+import { type JsonNodeHighlighting } from '@ui/json-visualizer/types/JsonNodeHighlighting';+import { type JsonArray } from 'type-fest';++export const JsonArrayNode = ({+ label,+ value,+ depth,+ keyPath,+ highlighting,+}: {+ label?: string;+ value: JsonArray;+ depth: number;+ keyPath: string;+ highlighting: JsonNodeHighlighting | undefined;+}) => {+ const { emptyArrayLabel } = useJsonTreeContextOrThrow();++ return (+ <JsonNestedNode+ elements={[...value.entries()].map(([key, value]) => ({+ id: key,+ label: String(key),+ value,+ }))}+ renderElementsCount={(count) => `[${count}]`}+ label={label}+ Icon={IconBrackets}+ depth={depth}+ emptyElementsText={emptyArrayLabel}+ keyPath={keyPath}+ highlighting={highlighting}+ />+ );+};diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.module.scss b/packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.module.scssnew file mode 100644index 00000000000..f51bfc0e089--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.module.scss@@ -0,0 +1,50 @@+.container {+ display: grid;+ list-style-type: none;+}++.labelContainer {+ display: flex;+ align-items: center;+ gap: var(--t-spacing-2);+}++.elementsCount {+ color: var(--t-font-color-tertiary);+}++.elementsCountRed {+ color: var(--t-font-color-danger);+}++// Base UI sets --collapsible-panel-height to a pixel value during+// open/close transitions and back to auto once fully open, so nested+// nodes can still resize their ancestors.+.panel {+ height: var(--collapsible-panel-height);+ overflow: clip;+ transition:+ height 0.3s ease,+ opacity 0.3s ease;++ &[data-starting-style],+ &[data-ending-style] {+ height: 0;+ opacity: 0;+ }+}++.list {+ margin: 0;+ padding: 0;+ display: grid;+ row-gap: var(--t-spacing-2);+}++.nested {+ padding-left: var(--t-spacing-8);++ > :first-of-type {+ margin-top: var(--t-spacing-2);+ }+}diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.module.scss.d.ts b/packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.module.scss.d.tsnew file mode 100644index 00000000000..6835d36a26a--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.module.scss.d.ts@@ -0,0 +1,10 @@+declare const classNames: {+ readonly container: 'container';+ readonly labelContainer: 'labelContainer';+ readonly elementsCount: 'elementsCount';+ readonly elementsCountRed: 'elementsCountRed';+ readonly panel: 'panel';+ readonly list: 'list';+ readonly nested: 'nested';+};+export default classNames;diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.tsx b/packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.tsxnew file mode 100644index 00000000000..442cf5ea132--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/JsonNestedNode.tsx@@ -0,0 +1,119 @@+import { Collapsible } from '@base-ui/react/collapsible';+import { isNonEmptyString } from '@sniptt/guards';+import { clsx } from 'clsx';+import { useState } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';+import { type JsonValue } from 'type-fest';++import { type IconComponent } from '@ui/display';+import { JsonArrow } from '@ui/json-visualizer/components/internal/JsonArrow';+import { JsonNodeLabel } from '@ui/json-visualizer/components/internal/JsonNodeLabel';+import { JsonNodeValue } from '@ui/json-visualizer/components/internal/JsonNodeValue';+import { JsonNode } from '@ui/json-visualizer/components/JsonNode';+import { useJsonTreeContextOrThrow } from '@ui/json-visualizer/hooks/useJsonTreeContextOrThrow';+import { type JsonNodeHighlighting } from '@ui/json-visualizer/types/JsonNodeHighlighting';++import styles from './JsonNestedNode.module.scss';++export const JsonNestedNode = ({+ label,+ Icon,+ elements,+ renderElementsCount,+ emptyElementsText,+ depth,+ keyPath,+ highlighting,+}: {+ label?: string;+ Icon: IconComponent;+ elements: Array<{ id: string | number; label: string; value: JsonValue }>;+ renderElementsCount?: (count: number) => string;+ emptyElementsText: string;+ depth: number;+ keyPath: string;+ highlighting?: JsonNodeHighlighting | undefined;+}) => {+ const { shouldExpandNodeInitially } = useJsonTreeContextOrThrow();++ const hideRoot = !isDefined(label);++ const [isOpen, setIsOpen] = useState(+ shouldExpandNodeInitially({ keyPath, depth }),+ );++ const renderedChildren = (+ <ul className={clsx(styles.list, depth > 0 && styles.nested)}>+ {elements.length === 0 ? (+ <JsonNodeValue valueAsString={emptyElementsText} />+ ) : (+ elements.map(({ id, label, value }) => {+ const nextKeyPath = isNonEmptyString(keyPath)+ ? `${keyPath}.${id}`+ : String(id);++ return (+ <JsonNode+ key={id}+ label={label}+ value={value}+ depth={depth + 1}+ keyPath={nextKeyPath}+ />+ );+ })+ )}+ </ul>+ );++ const handleArrowClick = () => {+ setIsOpen(!isOpen);+ };++ if (hideRoot) {+ return <li className={styles.container}>{renderedChildren}</li>;+ }++ return (+ <Collapsible.Root+ className={styles.container}+ open={isOpen}+ render={<li />}+ >+ <div className={styles.labelContainer}>+ <JsonArrow+ isOpen={isOpen}+ onClick={handleArrowClick}+ variant={+ highlighting === 'partial-blue'+ ? 'blue'+ : highlighting === 'red'+ ? highlighting+ : undefined+ }+ />++ <JsonNodeLabel+ label={label}+ Icon={Icon}+ highlighting={highlighting === 'red' ? highlighting : undefined}+ />++ {renderElementsCount && (+ <span+ className={clsx(+ styles.elementsCount,+ highlighting === 'red' && styles.elementsCountRed,+ )}+ >+ {renderElementsCount(elements.length)}+ </span>+ )}+ </div>++ <Collapsible.Panel className={styles.panel}>+ {renderedChildren}+ </Collapsible.Panel>+ </Collapsible.Root>+ );+};diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonNode.tsx b/packages/twenty-ui/src/json-visualizer/components/JsonNode.tsxnew file mode 100644index 00000000000..427a76363eb--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/JsonNode.tsx@@ -0,0 +1,101 @@+import {+ isBoolean,+ isNonEmptyString,+ isNumber,+ isString,+} from '@sniptt/guards';+import {+ IconCheckbox,+ IconCircleOff,+ IconNumber9,+ IconTypography,+} from '@ui/display';+import { JsonArrayNode } from '@ui/json-visualizer/components/JsonArrayNode';+import { JsonObjectNode } from '@ui/json-visualizer/components/JsonObjectNode';+import { JsonValueNode } from '@ui/json-visualizer/components/JsonValueNode';+import { useJsonTreeContextOrThrow } from '@ui/json-visualizer/hooks/useJsonTreeContextOrThrow';+import { isArray } from '@ui/json-visualizer/utils/isArray';+import { isDefined } from '@ui/utilities/utils/isDefined';+import { type JsonValue } from 'type-fest';++export const JsonNode = ({+ label,+ value,+ depth,+ keyPath,+}: {+ label?: string;+ value: JsonValue;+ depth: number;+ keyPath: string;+}) => {+ const { getNodeHighlighting, emptyStringLabel } = useJsonTreeContextOrThrow();++ const highlighting = getNodeHighlighting?.(keyPath);++ if (!isDefined(value)) {+ return (+ <JsonValueNode+ label={label}+ valueAsString="null"+ Icon={IconCircleOff}+ highlighting={highlighting}+ />+ );+ }++ if (isString(value)) {+ return (+ <JsonValueNode+ label={label}+ valueAsString={isNonEmptyString(value) ? value : emptyStringLabel}+ Icon={IconTypography}+ highlighting={highlighting}+ />+ );+ }++ if (isNumber(value)) {+ return (+ <JsonValueNode+ label={label}+ valueAsString={String(value)}+ Icon={IconNumber9}+ highlighting={highlighting}+ />+ );+ }++ if (isBoolean(value)) {+ return (+ <JsonValueNode+ label={label}+ valueAsString={String(value)}+ Icon={IconCheckbox}+ highlighting={highlighting}+ />+ );+ }++ if (isArray(value)) {+ return (+ <JsonArrayNode+ label={label}+ value={value}+ depth={depth}+ keyPath={keyPath}+ highlighting={highlighting}+ />+ );+ }++ return (+ <JsonObjectNode+ label={label}+ value={value}+ depth={depth}+ keyPath={keyPath}+ highlighting={highlighting}+ />+ );+};diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonObjectNode.tsx b/packages/twenty-ui/src/json-visualizer/components/JsonObjectNode.tsxnew file mode 100644index 00000000000..e83919d0510--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/JsonObjectNode.tsx@@ -0,0 +1,38 @@+import { IconCube } from '@ui/display';+import { JsonNestedNode } from '@ui/json-visualizer/components/JsonNestedNode';+import { useJsonTreeContextOrThrow } from '@ui/json-visualizer/hooks/useJsonTreeContextOrThrow';+import { type JsonNodeHighlighting } from '@ui/json-visualizer/types/JsonNodeHighlighting';+import { type JsonObject } from 'type-fest';++export const JsonObjectNode = ({+ label,+ value,+ depth,+ keyPath,+ highlighting,+}: {+ label?: string;+ value: JsonObject;+ depth: number;+ keyPath: string;+ highlighting: JsonNodeHighlighting | undefined;+}) => {+ const { emptyObjectLabel } = useJsonTreeContextOrThrow();++ return (+ <JsonNestedNode+ elements={Object.entries(value).map(([key, value]) => ({+ id: key,+ label: key,+ value,+ }))}+ renderElementsCount={(count) => `{${count}}`}+ label={label}+ Icon={IconCube}+ depth={depth}+ emptyElementsText={emptyObjectLabel}+ keyPath={keyPath}+ highlighting={highlighting}+ />+ );+};diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonTree.tsx b/packages/twenty-ui/src/json-visualizer/components/JsonTree.tsxnew file mode 100644index 00000000000..c0eb9b0b2b6--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/JsonTree.tsx@@ -0,0 +1,49 @@+import { JsonList } from '@ui/json-visualizer/components/internal/JsonList';+import { JsonNode } from '@ui/json-visualizer/components/JsonNode';+import { JsonTreeContextProvider } from '@ui/json-visualizer/components/JsonTreeContextProvider';+import { type ShouldExpandNodeInitiallyProps } from '@ui/json-visualizer/contexts/JsonTreeContext';+import { type GetJsonNodeHighlighting } from '@ui/json-visualizer/types/GetJsonNodeHighlighting';+import { type JsonValue } from 'type-fest';++export const JsonTree = ({+ value,+ getNodeHighlighting,+ shouldExpandNodeInitially,+ emptyArrayLabel,+ emptyObjectLabel,+ emptyStringLabel,+ arrowButtonCollapsedLabel,+ arrowButtonExpandedLabel,+ onNodeValueClick,+}: {+ value: JsonValue;+ getNodeHighlighting?: GetJsonNodeHighlighting;+ shouldExpandNodeInitially: (+ params: ShouldExpandNodeInitiallyProps,+ ) => boolean;+ emptyArrayLabel: string;+ emptyObjectLabel: string;+ emptyStringLabel: string;+ arrowButtonCollapsedLabel: string;+ arrowButtonExpandedLabel: string;+ onNodeValueClick?: (valueAsString: string) => void;+}) => {+ return (+ <JsonTreeContextProvider+ value={{+ getNodeHighlighting,+ shouldExpandNodeInitially,+ emptyArrayLabel,+ emptyObjectLabel,+ emptyStringLabel,+ arrowButtonCollapsedLabel,+ arrowButtonExpandedLabel,+ onNodeValueClick,+ }}+ >+ <JsonList depth={0}>+ <JsonNode value={value} depth={0} keyPath="" />+ </JsonList>+ </JsonTreeContextProvider>+ );+};diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonTreeContextProvider.tsx b/packages/twenty-ui/src/json-visualizer/components/JsonTreeContextProvider.tsxnew file mode 100644index 00000000000..61cb229a5d3--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/JsonTreeContextProvider.tsx@@ -0,0 +1,18 @@+import {+ JsonTreeContext,+ type JsonTreeContextType,+} from '@ui/json-visualizer/contexts/JsonTreeContext';++export const JsonTreeContextProvider = ({+ value,+ children,+}: {+ value: JsonTreeContextType;+ children: React.ReactNode;+}) => {+ return (+ <JsonTreeContext.Provider value={value}>+ {children}+ </JsonTreeContext.Provider>+ );+};diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonValueNode.module.scss b/packages/twenty-ui/src/json-visualizer/components/JsonValueNode.module.scssnew file mode 100644index 00000000000..702270ff37a--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/JsonValueNode.module.scss@@ -0,0 +1,7 @@+.listItem {+ align-items: center;+ column-gap: var(--t-spacing-2);+ display: flex;+ list-style-type: none;+ white-space: nowrap;+}diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonValueNode.module.scss.d.ts b/packages/twenty-ui/src/json-visualizer/components/JsonValueNode.module.scss.d.tsnew file mode 100644index 00000000000..45f8cd8e1ee--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/JsonValueNode.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly listItem: 'listItem';+};+export default classNames;diff --git a/packages/twenty-ui/src/json-visualizer/components/JsonValueNode.tsx b/packages/twenty-ui/src/json-visualizer/components/JsonValueNode.tsxnew file mode 100644index 00000000000..fc5bed8c7b4--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/JsonValueNode.tsx@@ -0,0 +1,39 @@+import { type IconComponent } from '@ui/display';+import { JsonNodeLabel } from '@ui/json-visualizer/components/internal/JsonNodeLabel';+import { JsonNodeValue } from '@ui/json-visualizer/components/internal/JsonNodeValue';+import { type JsonNodeHighlighting } from '@ui/json-visualizer/types/JsonNodeHighlighting';++import styles from './JsonValueNode.module.scss';++type JsonValueNodeProps = {+ valueAsString: string;+ highlighting: JsonNodeHighlighting | undefined;+} & (+ | {+ label: string;+ Icon: IconComponent;+ }+ | {+ label?: never;+ Icon?: unknown;+ }+);++export const JsonValueNode = (props: JsonValueNodeProps) => {+ return (+ <li className={styles.listItem}>+ {props.label && (+ <JsonNodeLabel+ label={props.label}+ Icon={props.Icon}+ highlighting={props.highlighting}+ />+ )}++ <JsonNodeValue+ valueAsString={props.valueAsString}+ highlighting={props.highlighting}+ />+ </li>+ );+};diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.module.scss b/packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.module.scssnew file mode 100644index 00000000000..3480e0bb4d6--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.module.scss@@ -0,0 +1,29 @@+.button {+ align-items: center;+ background-color: var(--t-background-transparent-lighter);+ border-color: var(--t-border-color-medium);+ border-radius: var(--t-border-radius-sm);+ border-style: solid;+ border-width: 1px;+ display: flex;+ justify-content: center;+ padding-inline: var(--t-spacing-1);+ height: 24px;+ width: 24px;+ box-sizing: border-box;+ cursor: pointer;+}++.red {+ background-color: var(--t-background-danger);+ border-color: var(--t-border-color-danger);+}++.chevron {+ transform: rotate(-90deg);+ transition: transform 0.3s ease;++ &[data-open] {+ transform: rotate(0deg);+ }+}diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.module.scss.d.ts b/packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.module.scss.d.tsnew file mode 100644index 00000000000..a4ec7bb6dc7--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly button: 'button';+ readonly red: 'red';+ readonly chevron: 'chevron';+};+export default classNames;diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.tsx b/packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.tsxnew file mode 100644index 00000000000..8ce1f32495c--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonArrow.tsx@@ -0,0 +1,44 @@+import { VisibilityHidden } from '@ui/accessibility';+import { IconChevronDown } from '@ui/display';+import { useJsonTreeContextOrThrow } from '@ui/json-visualizer/hooks/useJsonTreeContextOrThrow';+import { ThemeContext, themeCssVariables } from '@ui/theme-constants';+import { clsx } from 'clsx';+import { useContext } from 'react';++import styles from './JsonArrow.module.scss';++export const JsonArrow = ({+ isOpen,+ onClick,+ variant,+}: {+ isOpen: boolean;+ onClick: () => void;+ variant?: 'blue' | 'red';+}) => {+ const { theme } = useContext(ThemeContext);+ const { arrowButtonCollapsedLabel, arrowButtonExpandedLabel } =+ useJsonTreeContextOrThrow();++ const iconColor =+ variant === 'blue'+ ? themeCssVariables.color.blue+ : variant === 'red'+ ? themeCssVariables.font.color.danger+ : themeCssVariables.font.color.secondary;++ return (+ <button+ className={clsx(styles.button, variant === 'red' && styles.red)}+ onClick={onClick}+ >+ <VisibilityHidden>+ {isOpen ? arrowButtonExpandedLabel : arrowButtonCollapsedLabel}+ </VisibilityHidden>++ <div className={styles.chevron} data-open={isOpen || undefined}>+ <IconChevronDown size={theme.icon.size.md} color={iconColor} />+ </div>+ </button>+ );+};diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonList.module.scss b/packages/twenty-ui/src/json-visualizer/components/internal/JsonList.module.scssnew file mode 100644index 00000000000..2fe86fecc78--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonList.module.scss@@ -0,0 +1,15 @@+.list {+ margin: 0;+ padding: 0;++ display: grid;+ row-gap: var(--t-spacing-2);+}++.nested {+ padding-left: var(--t-spacing-8);++ > :first-of-type {+ margin-top: var(--t-spacing-2);+ }+}diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonList.module.scss.d.ts b/packages/twenty-ui/src/json-visualizer/components/internal/JsonList.module.scss.d.tsnew file mode 100644index 00000000000..03ac0a8b270--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonList.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly list: 'list';+ readonly nested: 'nested';+};+export default classNames;diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonList.tsx b/packages/twenty-ui/src/json-visualizer/components/internal/JsonList.tsxnew file mode 100644index 00000000000..18da9346243--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonList.tsx@@ -0,0 +1,17 @@+import { clsx } from 'clsx';++import styles from './JsonList.module.scss';++export const JsonList = ({+ depth,+ className,+ children,+}: {+ depth: number;+ className?: string;+ children?: React.ReactNode;+}) => (+ <ul className={clsx(styles.list, depth > 0 && styles.nested, className)}>+ {children}+ </ul>+);diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.module.scss b/packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.module.scssnew file mode 100644index 00000000000..c3e0eeb89eb--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.module.scss@@ -0,0 +1,6 @@+.listItem {+ align-items: center;+ display: flex;+ list-style-type: none;+ white-space: nowrap;+}diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.module.scss.d.ts b/packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.module.scss.d.tsnew file mode 100644index 00000000000..45f8cd8e1ee--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly listItem: 'listItem';+};+export default classNames;diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.tsx b/packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.tsxnew file mode 100644index 00000000000..2eb5e37d7c7--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonListItem.tsx@@ -0,0 +1,11 @@+import { clsx } from 'clsx';++import styles from './JsonListItem.module.scss';++export const JsonListItem = ({+ className,+ children,+}: {+ className?: string;+ children?: React.ReactNode;+}) => <li className={clsx(styles.listItem, className)}>{children}</li>;diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.module.scss b/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.module.scssnew file mode 100644index 00000000000..d577a40e914--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.module.scss@@ -0,0 +1,34 @@+.labelContainer {+ background-color: var(--t-background-transparent-lighter);+ border-color: var(--t-border-color-medium);+ color: var(--t-font-color-primary);+ border-radius: var(--t-border-radius-sm);+ border-style: solid;+ border-width: 1px;+ column-gap: var(--t-spacing-2);+ display: inline-flex;+ align-items: center;+ height: 24px;+ box-sizing: border-box;+ font-size: var(--t-font-size-md);+ white-space: nowrap;+ padding-inline: var(--t-spacing-2);++ > span {+ align-items: center;+ display: inline-flex;+ line-height: 1;+ }+}++.blue {+ background-color: var(--t-color-blue3);+ border-color: var(--t-color-blue5);+ color: var(--t-color-blue);+}++.red {+ background-color: var(--t-background-danger);+ border-color: var(--t-border-color-danger);+ color: var(--t-font-color-danger);+}diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.module.scss.d.ts b/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.module.scss.d.tsnew file mode 100644index 00000000000..d6ec9ae1dd8--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly labelContainer: 'labelContainer';+ readonly blue: 'blue';+ readonly red: 'red';+};+export default classNames;diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.tsx b/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.tsxnew file mode 100644index 00000000000..8e3fbd0457d--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeLabel.tsx@@ -0,0 +1,42 @@+import { type IconComponent } from '@ui/display';+import { type JsonNodeHighlighting } from '@ui/json-visualizer/types/JsonNodeHighlighting';+import { ThemeContext } from '@ui/theme-constants';+import { clsx } from 'clsx';+import { useContext } from 'react';++import styles from './JsonNodeLabel.module.scss';++export const JsonNodeLabel = ({+ label,+ Icon,+ highlighting,+}: {+ label: string;+ Icon: IconComponent;+ highlighting?: JsonNodeHighlighting | undefined;+}) => {+ const { theme } = useContext(ThemeContext);++ return (+ <span+ className={clsx(+ styles.labelContainer,+ highlighting === 'blue' && styles.blue,+ highlighting === 'red' && styles.red,+ )}+ >+ <Icon+ size={theme.icon.size.md}+ color={+ highlighting === 'blue'+ ? theme.color.blue+ : highlighting === 'red'+ ? theme.font.color.danger+ : theme.font.color.tertiary+ }+ />++ <span>{label}</span>+ </span>+ );+};diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.module.scss b/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.module.scssnew file mode 100644index 00000000000..3552c2bf0d7--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.module.scss@@ -0,0 +1,16 @@+.text {+ align-items: center;+ box-sizing: border-box;+ color: var(--t-font-color-tertiary);+ display: inline-flex;+ height: 24px;+ line-height: 1;+}++.blue {+ color: var(--t-color-blue8);+}++.red {+ color: var(--t-color-red8);+}diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.module.scss.d.ts b/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.module.scss.d.tsnew file mode 100644index 00000000000..da5e6e7c227--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly text: 'text';+ readonly blue: 'blue';+ readonly red: 'red';+};+export default classNames;diff --git a/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.tsx b/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.tsxnew file mode 100644index 00000000000..8c2e7f6bc8a--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/components/internal/JsonNodeValue.tsx@@ -0,0 +1,32 @@+import { useJsonTreeContextOrThrow } from '@ui/json-visualizer/hooks/useJsonTreeContextOrThrow';+import { type JsonNodeHighlighting } from '@ui/json-visualizer/types/JsonNodeHighlighting';+import { clsx } from 'clsx';++import styles from './JsonNodeValue.module.scss';++export const JsonNodeValue = ({+ valueAsString,+ highlighting,+}: {+ valueAsString: string;+ highlighting?: JsonNodeHighlighting | undefined;+}) => {+ const { onNodeValueClick } = useJsonTreeContextOrThrow();++ const handleClick = () => {+ onNodeValueClick?.(valueAsString);+ };++ return (+ <span+ className={clsx(+ styles.text,+ highlighting === 'blue' && styles.blue,+ highlighting === 'red' && styles.red,+ )}+ onClick={handleClick}+ >+ {valueAsString}+ </span>+ );+};diff --git a/packages/twenty-ui/src/json-visualizer/contexts/JsonTreeContext.tsx b/packages/twenty-ui/src/json-visualizer/contexts/JsonTreeContext.tsxnew file mode 100644index 00000000000..5048c0d3206--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/contexts/JsonTreeContext.tsx@@ -0,0 +1,21 @@+import { type GetJsonNodeHighlighting } from '@ui/json-visualizer/types/GetJsonNodeHighlighting';+import { createContext } from 'react';++export type ShouldExpandNodeInitiallyProps = { keyPath: string; depth: number };++export type JsonTreeContextType = {+ getNodeHighlighting?: GetJsonNodeHighlighting;+ shouldExpandNodeInitially: (+ params: ShouldExpandNodeInitiallyProps,+ ) => boolean;+ emptyStringLabel: string;+ emptyArrayLabel: string;+ emptyObjectLabel: string;+ arrowButtonCollapsedLabel: string;+ arrowButtonExpandedLabel: string;+ onNodeValueClick?: (valueAsString: string) => void;+};++export const JsonTreeContext = createContext<JsonTreeContextType | undefined>(+ undefined,+);diff --git a/packages/twenty-ui/src/json-visualizer/hooks/useJsonTreeContextOrThrow.tsx b/packages/twenty-ui/src/json-visualizer/hooks/useJsonTreeContextOrThrow.tsxnew file mode 100644index 00000000000..568fb3c07f9--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/hooks/useJsonTreeContextOrThrow.tsx@@ -0,0 +1,15 @@+import { JsonTreeContext } from '@ui/json-visualizer/contexts/JsonTreeContext';+import { useContext } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++export const useJsonTreeContextOrThrow = () => {+ const value = useContext(JsonTreeContext);++ if (!isDefined(value)) {+ throw new Error(+ 'useJsonTreeContextOrThrow must be used within a JsonTreeContextProvider',+ );+ }++ return value;+};diff --git a/packages/twenty-ui/src/json-visualizer/index.ts b/packages/twenty-ui/src/json-visualizer/index.tsindex a3046804c03..0cc10da58e7 100644--- a/packages/twenty-ui/src/json-visualizer/index.ts+++ b/packages/twenty-ui/src/json-visualizer/index.ts@@ -7,4 +7,20 @@* |___/*/-export {};+export { JsonArrayNode } from './components/JsonArrayNode';+export { JsonNestedNode } from './components/JsonNestedNode';+export { JsonNode } from './components/JsonNode';+export { JsonObjectNode } from './components/JsonObjectNode';+export { JsonTree } from './components/JsonTree';+export { JsonTreeContextProvider } from './components/JsonTreeContextProvider';+export { JsonValueNode } from './components/JsonValueNode';+export type {+ ShouldExpandNodeInitiallyProps,+ JsonTreeContextType,+} from './contexts/JsonTreeContext';+export { JsonTreeContext } from './contexts/JsonTreeContext';+export { useJsonTreeContextOrThrow } from './hooks/useJsonTreeContextOrThrow';+export type { GetJsonNodeHighlighting } from './types/GetJsonNodeHighlighting';+export type { JsonNodeHighlighting } from './types/JsonNodeHighlighting';+export { isArray } from './utils/isArray';+export { isTwoFirstDepths } from './utils/isTwoFirstDepths';diff --git a/packages/twenty-ui/src/json-visualizer/types/GetJsonNodeHighlighting.ts b/packages/twenty-ui/src/json-visualizer/types/GetJsonNodeHighlighting.tsnew file mode 100644index 00000000000..412a0800a64--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/types/GetJsonNodeHighlighting.ts@@ -0,0 +1,5 @@+import { type JsonNodeHighlighting } from '@ui/json-visualizer/types/JsonNodeHighlighting';++export type GetJsonNodeHighlighting = (+ keyPath: string,+) => JsonNodeHighlighting | undefined;diff --git a/packages/twenty-ui/src/json-visualizer/types/JsonNodeHighlighting.ts b/packages/twenty-ui/src/json-visualizer/types/JsonNodeHighlighting.tsnew file mode 100644index 00000000000..845e106fc03--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/types/JsonNodeHighlighting.ts@@ -0,0 +1,5 @@+import { type ThemeColor } from '@ui/theme';++export type JsonNodeHighlighting =+ | Extract<ThemeColor, 'blue' | 'red'>+ | 'partial-blue';diff --git a/packages/twenty-ui/src/json-visualizer/utils/isArray.ts b/packages/twenty-ui/src/json-visualizer/utils/isArray.tsnew file mode 100644index 00000000000..a3ce234cee4--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/utils/isArray.ts@@ -0,0 +1,5 @@+import { isArray as _isArray } from '@sniptt/guards';++export const isArray = (+ value: unknown,+): value is unknown[] | readonly unknown[] => _isArray(value);diff --git a/packages/twenty-ui/src/json-visualizer/utils/isTwoFirstDepths.ts b/packages/twenty-ui/src/json-visualizer/utils/isTwoFirstDepths.tsnew file mode 100644index 00000000000..37ecc11a87c--- /dev/null+++ b/packages/twenty-ui/src/json-visualizer/utils/isTwoFirstDepths.ts@@ -0,0 +1,4 @@+import { type ShouldExpandNodeInitiallyProps } from '@ui/json-visualizer/contexts/JsonTreeContext';++export const isTwoFirstDepths = ({ depth }: ShouldExpandNodeInitiallyProps) =>+ depth <= 1;diff --git a/packages/twenty-ui/src/layout/animated-expandable-container/__stories__/AnimatedExpandableContainer.stories.module.scss b/packages/twenty-ui/src/layout/animated-expandable-container/__stories__/AnimatedExpandableContainer.stories.module.scssnew file mode 100644index 00000000000..37fa7b83dd7--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-expandable-container/__stories__/AnimatedExpandableContainer.stories.module.scss@@ -0,0 +1,56 @@+.button {+ padding: var(--t-spacing-2) var(--t-spacing-4);+ background-color: var(--t-color-blue10);+ color: var(--t-font-color-primary);+ border: none;+ border-radius: var(--t-spacing-1);+ cursor: pointer;+ margin-bottom: var(--t-spacing-3);++ &:hover {+ background-color: var(--t-color-blue8);+ }+}++.buttonWrapper {+ height: auto;+ width: auto;+}++// dimension === 'width'+.buttonWrapperWidth {+ height: 300px;+}++// dimension === 'height'+.buttonWrapperHeight {+ width: 600px;+}++.expandableWrapper {+ background-color: var(--t-background-primary);+ height: 100%;+ width: 100%;+}++.content {+ padding: var(--t-spacing-3);+ height: auto;+ width: auto;++ p {+ color: var(--t-font-color-primary);+ margin-bottom: var(--t-spacing-2);+ font-size: var(--t-font-size-md);+ }+}++// dimension === 'height' && mode === 'scroll-height'+.contentFixedHeight {+ height: 200px;+}++// dimension === 'width'+.contentFixedWidth {+ width: 400px;+}diff --git a/packages/twenty-ui/src/layout/animated-expandable-container/__stories__/AnimatedExpandableContainer.stories.module.scss.d.ts b/packages/twenty-ui/src/layout/animated-expandable-container/__stories__/AnimatedExpandableContainer.stories.module.scss.d.tsnew file mode 100644index 00000000000..3eb9f5c7052--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-expandable-container/__stories__/AnimatedExpandableContainer.stories.module.scss.d.ts@@ -0,0 +1,11 @@+declare const classNames: {+ readonly button: 'button';+ readonly buttonWrapper: 'buttonWrapper';+ readonly buttonWrapperWidth: 'buttonWrapperWidth';+ readonly buttonWrapperHeight: 'buttonWrapperHeight';+ readonly expandableWrapper: 'expandableWrapper';+ readonly content: 'content';+ readonly contentFixedHeight: 'contentFixedHeight';+ readonly contentFixedWidth: 'contentFixedWidth';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/animated-expandable-container/__stories__/AnimatedExpandableContainer.stories.tsx b/packages/twenty-ui/src/layout/animated-expandable-container/__stories__/AnimatedExpandableContainer.stories.tsxnew file mode 100644index 00000000000..75d16cb3a9a--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-expandable-container/__stories__/AnimatedExpandableContainer.stories.tsx@@ -0,0 +1,151 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { ComponentDecorator } from '@ui/testing';+import { clsx } from 'clsx';+import { useState } from 'react';+import { AnimatedExpandableContainer } from '../components/AnimatedExpandableContainer';++import styles from './AnimatedExpandableContainer.stories.module.scss';++type AnimatedExpandableContainerWithButtonProps = {+ isExpanded: boolean;+ dimension: 'width' | 'height';+ mode: 'scroll-height' | 'fit-content';+ animationDurations:+ | {+ opacity: number;+ size: number;+ }+ | 'default';+};++const AnimatedExpandableContainerWithButton = ({+ isExpanded: initialIsExpanded,+ ...args+}: AnimatedExpandableContainerWithButtonProps) => {+ const [isExpanded, setIsExpanded] = useState(initialIsExpanded);++ return (+ <div+ className={clsx(+ styles.buttonWrapper,+ args.dimension === 'width'+ ? styles.buttonWrapperWidth+ : styles.buttonWrapperHeight,+ )}+ >+ <button+ className={styles.button}+ onClick={() => setIsExpanded(!isExpanded)}+ >+ {isExpanded ? 'Collapse' : 'Expand'}+ </button>+ <AnimatedExpandableContainer+ isExpanded={isExpanded}+ dimension={args.dimension}+ mode={args.mode}+ animationDurations={args.animationDurations}+ >+ <div className={styles.expandableWrapper}>+ <div+ className={clsx(+ styles.content,+ args.dimension === 'height' &&+ args.mode === 'scroll-height' &&+ styles.contentFixedHeight,+ args.dimension === 'width' && styles.contentFixedWidth,+ )}+ >+ <p>+ This is some content inside the AnimatedExpandableContainer. It+ will animate smoothly when expanding or collapsing.+ </p>+ <p>+ You can control the animation duration, dimension, and mode+ through the Storybook controls.+ </p>+ <p>+ Try different combinations to see how the container behaves with+ different settings!+ </p>+ </div>+ </div>+ </AnimatedExpandableContainer>+ </div>+ );+};++const meta: Meta<typeof AnimatedExpandableContainerWithButton> = {+ title: 'UI/Layout/AnimatedExpandableContainer',+ component: AnimatedExpandableContainerWithButton,+ decorators: [ComponentDecorator],+ argTypes: {+ isExpanded: {+ control: 'boolean',+ description: 'Controls whether the container is expanded or collapsed',+ defaultValue: false,+ },+ dimension: {+ control: 'radio',+ options: ['width', 'height'],+ description: 'The dimension along which the container expands',+ defaultValue: 'height',+ },+ mode: {+ control: 'radio',+ options: ['scroll-height', 'fit-content'],+ description: 'How the container should calculate its expanded size',+ defaultValue: 'scroll-height',+ },+ animationDurations: {+ control: 'radio',+ options: ['default', 'custom'],+ mapping: {+ default: 'default',+ custom: { opacity: 0.3, size: 0.3 },+ },+ description:+ 'Animation durations - either default theme values or custom values',+ },+ },+};++export default meta;+type Story = StoryObj<typeof AnimatedExpandableContainerWithButton>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ isExpanded: false,+ dimension: 'height',+ mode: 'scroll-height',+ animationDurations: 'default',+ },+};++export const FitContent: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ ...Default.args,+ mode: 'fit-content',+ },+};++export const CustomDurations: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ ...Default.args,+ animationDurations: { opacity: 0.8, size: 1.2 },+ },+};++export const WidthAnimation: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ ...Default.args,+ dimension: 'width',+ },+};diff --git a/packages/twenty-ui/src/layout/animated-expandable-container/components/AnimatedExpandableContainer.tsx b/packages/twenty-ui/src/layout/animated-expandable-container/components/AnimatedExpandableContainer.tsxnew file mode 100644index 00000000000..afc7e0a9d61--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-expandable-container/components/AnimatedExpandableContainer.tsx@@ -0,0 +1,89 @@+import { type AnimationDimension } from '@ui/layout/animated-expandable-container/types/AnimationDimension';+import { type AnimationDurationObject } from '@ui/layout/animated-expandable-container/types/AnimationDurationObject';+import { type AnimationDurations } from '@ui/layout/animated-expandable-container/types/AnimationDurations';+import { type AnimationMode } from '@ui/layout/animated-expandable-container/types/AnimationMode';+import { type AnimationSize } from '@ui/layout/animated-expandable-container/types/AnimationSize';+import { getExpandableAnimationConfig } from '@ui/layout/animated-expandable-container/utils/getExpandableAnimationConfig';+import { ThemeContext } from '@ui/theme-constants';+import { AnimatePresence, motion } from 'framer-motion';+import { type ReactNode, useContext, useRef, useState } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++type AnimatedExpandableContainerProps = {+ children: ReactNode;+ isExpanded: boolean;+ dimension?: AnimationDimension;+ animationDurations?: AnimationDurations;+ mode?: AnimationMode;+ containAnimation?: boolean;+ initial?: boolean;+};++export const AnimatedExpandableContainer = ({+ children,+ isExpanded,+ dimension = 'height',+ animationDurations = 'default',+ mode = 'scroll-height',+ containAnimation = true,+ initial = true,+}: AnimatedExpandableContainerProps) => {+ const { theme } = useContext(ThemeContext);+ const contentRef = useRef<HTMLDivElement>(null);+ const [size, setSize] = useState<AnimationSize>(0);++ const normalDuration = theme.animation.duration.normal;++ const actualDurations: AnimationDurationObject =+ animationDurations === 'default'+ ? {+ opacity: normalDuration,+ size: normalDuration,+ }+ : animationDurations;++ const updateSize = () => {+ if (+ mode === 'scroll-height' &&+ dimension === 'height' &&+ isDefined(contentRef.current)+ ) {+ setSize(contentRef.current.scrollHeight);+ }+ };++ const motionAnimationVariants = getExpandableAnimationConfig(+ isExpanded,+ dimension,+ actualDurations.opacity,+ actualDurations.size,+ mode === 'fit-content' ? 'fit-content' : size,+ );++ return (+ <AnimatePresence initial={initial}>+ {isExpanded && (+ <motion.div+ ref={contentRef}+ initial="initial"+ animate="animate"+ exit="exit"+ variants={motionAnimationVariants}+ onAnimationStart={updateSize}+ style={+ containAnimation+ ? {+ display: 'flex',+ flexDirection: 'column',+ overflow: 'hidden',+ width: '100%',+ }+ : undefined+ }+ >+ {children}+ </motion.div>+ )}+ </AnimatePresence>+ );+};diff --git a/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationDimension.ts b/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationDimension.tsnew file mode 100644index 00000000000..4cec5d0c729--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationDimension.ts@@ -0,0 +1 @@+export type AnimationDimension = 'width' | 'height';diff --git a/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationDurationObject.ts b/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationDurationObject.tsnew file mode 100644index 00000000000..3867129f138--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationDurationObject.ts@@ -0,0 +1,4 @@+export type AnimationDurationObject = {+ opacity: number;+ size: number;+};diff --git a/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationDurations.ts b/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationDurations.tsnew file mode 100644index 00000000000..c3006aaf101--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationDurations.ts@@ -0,0 +1,3 @@+import { type AnimationDurationObject } from '@ui/layout/animated-expandable-container/types/AnimationDurationObject';++export type AnimationDurations = AnimationDurationObject | 'default';diff --git a/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationMode.ts b/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationMode.tsnew file mode 100644index 00000000000..e7acddfee9c--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationMode.ts@@ -0,0 +1 @@+export type AnimationMode = 'scroll-height' | 'fit-content';diff --git a/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationSize.ts b/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationSize.tsnew file mode 100644index 00000000000..c1824a05497--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-expandable-container/types/AnimationSize.ts@@ -0,0 +1 @@+export type AnimationSize = number | 'fit-content';diff --git a/packages/twenty-ui/src/layout/animated-expandable-container/utils/getCommonStyles.ts b/packages/twenty-ui/src/layout/animated-expandable-container/utils/getCommonStyles.tsnew file mode 100644index 00000000000..0a7e82ff16d--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-expandable-container/utils/getCommonStyles.ts@@ -0,0 +1,12 @@+import { type AnimationDimension } from '@ui/layout/animated-expandable-container/types/AnimationDimension';+import { getTransitionValues } from '@ui/layout/animated-expandable-container/utils/getTransitionValues';++export const getCommonStyles = (+ dimension: AnimationDimension,+ opacityDuration: number,+ sizeDuration: number,+) => ({+ opacity: 0,+ [dimension]: 0,+ ...getTransitionValues(dimension, opacityDuration, sizeDuration),+});diff --git a/packages/twenty-ui/src/layout/animated-expandable-container/utils/getExpandableAnimationConfig.ts b/packages/twenty-ui/src/layout/animated-expandable-container/utils/getExpandableAnimationConfig.tsnew file mode 100644index 00000000000..59e2cc5e22b--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-expandable-container/utils/getExpandableAnimationConfig.ts@@ -0,0 +1,30 @@+import { type AnimationDimension } from '@ui/layout/animated-expandable-container/types/AnimationDimension';+import { type AnimationSize } from '@ui/layout/animated-expandable-container/types/AnimationSize';+import { getCommonStyles } from '@ui/layout/animated-expandable-container/utils/getCommonStyles';+import { getTransitionValues } from '@ui/layout/animated-expandable-container/utils/getTransitionValues';++export const getExpandableAnimationConfig = (+ isExpanded: boolean,+ dimension: AnimationDimension,+ opacityDuration: number,+ sizeDuration: number,+ size: AnimationSize,+) => ({+ initial: {+ ...getCommonStyles(dimension, opacityDuration, sizeDuration),+ },+ animate: {+ opacity: 1,+ [dimension]: isExpanded+ ? size === 'fit-content'+ ? 'fit-content'+ : dimension === 'width'+ ? '100%'+ : size+ : 0,+ ...getTransitionValues(dimension, opacityDuration, sizeDuration),+ },+ exit: {+ ...getCommonStyles(dimension, opacityDuration, sizeDuration),+ },+});diff --git a/packages/twenty-ui/src/layout/animated-expandable-container/utils/getTransitionValues.ts b/packages/twenty-ui/src/layout/animated-expandable-container/utils/getTransitionValues.tsnew file mode 100644index 00000000000..420966dbd43--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-expandable-container/utils/getTransitionValues.ts@@ -0,0 +1,18 @@+import { type AnimationDimension } from '@ui/layout/animated-expandable-container/types/AnimationDimension';++export const getTransitionValues = (+ dimension: AnimationDimension,+ opacityDuration: number,+ sizeDuration: number,+) => ({+ transition: {+ opacity: {+ duration: opacityDuration,+ ease: 'easeInOut',+ },+ [dimension]: {+ duration: sizeDuration,+ ease: 'easeInOut',+ },+ },+});diff --git a/packages/twenty-ui/src/layout/animated-placeholder/components/AnimatedPlaceholder.module.scss b/packages/twenty-ui/src/layout/animated-placeholder/components/AnimatedPlaceholder.module.scssnew file mode 100644index 00000000000..26232d302ab--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-placeholder/components/AnimatedPlaceholder.module.scss@@ -0,0 +1,18 @@+.container {+ display: flex;+ align-items: center;+ justify-content: center;+ position: relative;+ min-height: 100px;+}++.backgroundImage {+ max-height: 160px;+ max-width: 160px;+}++// error404 and error500 placeholders use a larger background illustration+.backgroundImageLarge {+ max-height: 245px;+ max-width: 245px;+}diff --git a/packages/twenty-ui/src/layout/animated-placeholder/components/AnimatedPlaceholder.module.scss.d.ts b/packages/twenty-ui/src/layout/animated-placeholder/components/AnimatedPlaceholder.module.scss.d.tsnew file mode 100644index 00000000000..0cb921e3e90--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-placeholder/components/AnimatedPlaceholder.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly container: 'container';+ readonly backgroundImage: 'backgroundImage';+ readonly backgroundImageLarge: 'backgroundImageLarge';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/animated-placeholder/components/AnimatedPlaceholder.tsx b/packages/twenty-ui/src/layout/animated-placeholder/components/AnimatedPlaceholder.tsxnew file mode 100644index 00000000000..e2b2b275ea5--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-placeholder/components/AnimatedPlaceholder.tsx@@ -0,0 +1,96 @@+import { clsx } from 'clsx';+import { animate, motion, useMotionValue, useTransform } from 'framer-motion';+import { useContext, useEffect } from 'react';++import { BACKGROUND } from '@ui/layout/animated-placeholder/constants/Background';+import { DARK_BACKGROUND } from '@ui/layout/animated-placeholder/constants/DarkBackground';+import { DARK_MOVING_IMAGE } from '@ui/layout/animated-placeholder/constants/DarkMovingImage';+import { MOVING_IMAGE } from '@ui/layout/animated-placeholder/constants/MovingImage';+import { ThemeContext } from '@ui/theme-constants';++import styles from './AnimatedPlaceholder.module.scss';++const getMovingImageSize = (type: string) =>+ type === 'error500' || type === 'error404' ? '185px' : '130px';++export type AnimatedPlaceholderType =+ | keyof typeof BACKGROUND+ | keyof typeof MOVING_IMAGE;++type AnimatedPlaceholderProps = {+ type: AnimatedPlaceholderType;+};++export const AnimatedPlaceholder = ({ type }: AnimatedPlaceholderProps) => {+ const { colorScheme } = useContext(ThemeContext);++ const x = useMotionValue(window.innerWidth / 2);+ const y = useMotionValue(window.innerHeight / 2);++ const translateX = useTransform(x, [0, window.innerWidth], [-2, 2]);+ const translateY = useTransform(y, [0, window.innerHeight], [-2, 2]);++ useEffect(() => {+ const handleMove = (event: MouseEvent | TouchEvent) => {+ const clientX =+ 'touches' in event ? event.touches[0].clientX : event.clientX;+ const clientY =+ 'touches' in event ? event.touches[0].clientY : event.clientY;++ x.set(clientX);+ y.set(clientY);+ };++ const handleLeave = () => {+ animate(x, window.innerWidth / 2, {+ type: 'spring',+ stiffness: 100,+ damping: 10,+ });+ animate(y, window.innerHeight / 2, {+ type: 'spring',+ stiffness: 100,+ damping: 10,+ });+ };++ window.addEventListener('mousemove', handleMove);+ window.addEventListener('touchmove', handleMove);+ window.document.addEventListener('mouseleave', handleLeave);++ return () => {+ window.removeEventListener('mousemove', handleMove);+ window.removeEventListener('touchmove', handleMove);+ window.document.removeEventListener('mouseleave', handleLeave);+ };+ }, [x, y]);++ return (+ <div className={styles.container}>+ <img+ src={colorScheme === 'dark' ? DARK_BACKGROUND[type] : BACKGROUND[type]}+ alt=""+ className={clsx(+ styles.backgroundImage,+ (type === 'error500' || type === 'error404') &&+ styles.backgroundImageLarge,+ )}+ />+ <motion.img+ src={+ colorScheme === 'dark' ? DARK_MOVING_IMAGE[type] : MOVING_IMAGE[type]+ }+ alt=""+ style={{+ position: 'absolute',+ maxWidth: getMovingImageSize(type),+ maxHeight: getMovingImageSize(type),+ zIndex: 2,+ translateX,+ translateY,+ }}+ transition={{ type: 'spring', stiffness: 100, damping: 10 }}+ />+ </div>+ );+};diff --git a/packages/twenty-ui/src/layout/animated-placeholder/components/EmptyPlaceholderStyled.module.scss b/packages/twenty-ui/src/layout/animated-placeholder/components/EmptyPlaceholderStyled.module.scssnew file mode 100644index 00000000000..1fd5d982c88--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-placeholder/components/EmptyPlaceholderStyled.module.scss@@ -0,0 +1,36 @@+.emptyContainer {+ align-items: center;+ width: 100%;+ height: 100%;+ display: flex;+ flex-direction: column;+ gap: var(--t-spacing-6);+ justify-content: center;+ text-align: center;+}++.emptyTextContainer {+ align-items: center;+ display: flex;+ flex-direction: column;+ gap: var(--t-spacing-2);+ justify-content: center;+ text-align: center;+ width: 100%;+}++.emptyTitle {+ color: var(--t-font-color-primary);+ font-size: var(--t-font-size-lg);+ font-weight: var(--t-font-weight-semi-bold);+}++.emptySubTitle {+ color: var(--t-font-color-tertiary);+ font-size: var(--t-font-size-sm);+ font-weight: var(--t-font-weight-regular);+ line-height: var(--t-text-line-height-lg);+ max-height: 2.8em;+ overflow: hidden;+ width: 50%;+}diff --git a/packages/twenty-ui/src/layout/animated-placeholder/components/EmptyPlaceholderStyled.module.scss.d.ts b/packages/twenty-ui/src/layout/animated-placeholder/components/EmptyPlaceholderStyled.module.scss.d.tsnew file mode 100644index 00000000000..2dab28b3574--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-placeholder/components/EmptyPlaceholderStyled.module.scss.d.ts@@ -0,0 +1,7 @@+declare const classNames: {+ readonly emptyContainer: 'emptyContainer';+ readonly emptyTextContainer: 'emptyTextContainer';+ readonly emptyTitle: 'emptyTitle';+ readonly emptySubTitle: 'emptySubTitle';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/animated-placeholder/components/EmptyPlaceholderStyled.tsx b/packages/twenty-ui/src/layout/animated-placeholder/components/EmptyPlaceholderStyled.tsxnew file mode 100644index 00000000000..2d5dba330eb--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-placeholder/components/EmptyPlaceholderStyled.tsx@@ -0,0 +1,77 @@+import { clsx } from 'clsx';+import { type HTMLMotionProps, motion } from 'framer-motion';+import { type ComponentPropsWithoutRef, type ReactNode } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++import styles from './EmptyPlaceholderStyled.module.scss';++type AnimatedPlaceholderEmptyContainerProps = Pick<+ HTMLMotionProps<'div'>,+ 'initial' | 'animate' | 'transition'+> & {+ children?: ReactNode;+ className?: string;+ width?: number;+};++export const AnimatedPlaceholderEmptyContainer = ({+ children,+ className,+ width,+ initial,+ animate,+ transition,+}: AnimatedPlaceholderEmptyContainerProps) => {+ return (+ <motion.div+ className={clsx(styles.emptyContainer, className)}+ style={isDefined(width) ? { width: `${width}px` } : undefined}+ initial={initial}+ animate={animate}+ transition={transition}+ >+ {children}+ </motion.div>+ );+};++export const EMPTY_PLACEHOLDER_TRANSITION_PROPS = {+ initial: { opacity: 0 },+ animate: { opacity: 1 },+ transition: {+ duration: 0.15,+ },+};++export const AnimatedPlaceholderEmptyTextContainer = ({+ className,+ ...rest+}: ComponentPropsWithoutRef<'div'>) => (+ <div+ className={clsx(styles.emptyTextContainer, className)}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ />+);++export const AnimatedPlaceholderEmptyTitle = ({+ className,+ ...rest+}: ComponentPropsWithoutRef<'div'>) => (+ <div+ className={clsx(styles.emptyTitle, className)}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ />+);++export const AnimatedPlaceholderEmptySubTitle = ({+ className,+ ...rest+}: ComponentPropsWithoutRef<'div'>) => (+ <div+ className={clsx(styles.emptySubTitle, className)}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ />+);diff --git a/packages/twenty-ui/src/layout/animated-placeholder/components/ErrorPlaceholderStyled.module.scss b/packages/twenty-ui/src/layout/animated-placeholder/components/ErrorPlaceholderStyled.module.scssnew file mode 100644index 00000000000..dc445107587--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-placeholder/components/ErrorPlaceholderStyled.module.scss@@ -0,0 +1,36 @@+.errorContainer {+ align-items: center;+ width: 100%;+ height: 100%;+ display: flex;+ flex-direction: column;+ gap: var(--t-spacing-8);+ justify-content: center;+ text-align: center;+}++.errorTextContainer {+ align-items: center;+ display: flex;+ flex-direction: column;+ gap: var(--t-spacing-4);+ justify-content: center;+ text-align: center;+ width: 100%;+}++.errorTitle {+ color: var(--t-font-color-primary);+ font-size: var(--t-font-size-xl);+ font-weight: var(--t-font-weight-semi-bold);+ line-height: var(--t-text-line-height-lg);+}++.errorSubTitle {+ color: var(--t-font-color-tertiary);+ font-size: var(--t-font-size-xs);+ font-weight: var(--t-font-weight-regular);+ line-height: var(--t-text-line-height-md);+ max-height: 2.4em;+ overflow: hidden;+}diff --git a/packages/twenty-ui/src/layout/animated-placeholder/components/ErrorPlaceholderStyled.module.scss.d.ts b/packages/twenty-ui/src/layout/animated-placeholder/components/ErrorPlaceholderStyled.module.scss.d.tsnew file mode 100644index 00000000000..b8784af7aa3--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-placeholder/components/ErrorPlaceholderStyled.module.scss.d.ts@@ -0,0 +1,7 @@+declare const classNames: {+ readonly errorContainer: 'errorContainer';+ readonly errorTextContainer: 'errorTextContainer';+ readonly errorTitle: 'errorTitle';+ readonly errorSubTitle: 'errorSubTitle';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/animated-placeholder/components/ErrorPlaceholderStyled.tsx b/packages/twenty-ui/src/layout/animated-placeholder/components/ErrorPlaceholderStyled.tsxnew file mode 100644index 00000000000..a7b6e561ca7--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-placeholder/components/ErrorPlaceholderStyled.tsx@@ -0,0 +1,48 @@+import { clsx } from 'clsx';+import { type ComponentPropsWithoutRef } from 'react';++import styles from './ErrorPlaceholderStyled.module.scss';++export const AnimatedPlaceholderErrorContainer = ({+ className,+ ...rest+}: ComponentPropsWithoutRef<'div'>) => (+ <div+ className={clsx(styles.errorContainer, className)}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ />+);++export const AnimatedPlaceholderErrorTextContainer = ({+ className,+ ...rest+}: ComponentPropsWithoutRef<'div'>) => (+ <div+ className={clsx(styles.errorTextContainer, className)}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ />+);++export const AnimatedPlaceholderErrorTitle = ({+ className,+ ...rest+}: ComponentPropsWithoutRef<'div'>) => (+ <div+ className={clsx(styles.errorTitle, className)}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ />+);++export const AnimatedPlaceholderErrorSubTitle = ({+ className,+ ...rest+}: ComponentPropsWithoutRef<'div'>) => (+ <div+ className={clsx(styles.errorSubTitle, className)}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ />+);diff --git a/packages/twenty-ui/src/layout/animated-placeholder/constants/Background.ts b/packages/twenty-ui/src/layout/animated-placeholder/constants/Background.tsnew file mode 100644index 00000000000..d485b8f9672--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-placeholder/constants/Background.ts@@ -0,0 +1,18 @@+export const BACKGROUND: Record<string, string> = {+ noFile: '/images/placeholders/background/no_file_bg.png',+ noNote: '/images/placeholders/background/no_note_bg.png',+ noRecord: '/images/placeholders/background/no_record_bg.png',+ noMatchRecord: '/images/placeholders/background/no_match_record_bg.png',+ noTask: '/images/placeholders/background/no_task_bg.png',+ errorIndex: '/images/placeholders/background/error_index_bg.png',+ emptyTimeline: '/images/placeholders/background/empty_timeline_bg.png',+ loadingMessages: '/images/placeholders/background/loading_messages_bg.png',+ loadingAccounts: '/images/placeholders/background/loading_accounts_bg.png',+ emptyFunctions: '/images/placeholders/background/empty_functions_bg.png',+ emptyInbox: '/images/placeholders/background/empty_inbox_bg.png',+ error404: '/images/placeholders/background/404_bg.png',+ error500: '/images/placeholders/background/500_bg.png',+ noDeletedRecord: '/images/placeholders/background/no_deleted_record_bg.png',+ noWidgets: '/images/placeholders/background/no_widgets_bg.png',+ notShared: '/images/placeholders/background/not_shared_bg.png',+};diff --git a/packages/twenty-ui/src/layout/animated-placeholder/constants/DarkBackground.ts b/packages/twenty-ui/src/layout/animated-placeholder/constants/DarkBackground.tsnew file mode 100644index 00000000000..3371f4990a1--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-placeholder/constants/DarkBackground.ts@@ -0,0 +1,19 @@+export const DARK_BACKGROUND: Record<string, string> = {+ noFile: '/images/placeholders/dark-background/no_file_bg.png',+ noNote: '/images/placeholders/dark-background/no_note_bg.png',+ noRecord: '/images/placeholders/dark-background/no_record_bg.png',+ noMatchRecord: '/images/placeholders/dark-background/no_match_record_bg.png',+ noTask: '/images/placeholders/dark-background/no_task_bg.png',+ errorIndex: '/images/placeholders/dark-background/error_index_bg.png',+ emptyTimeline: '/images/placeholders/dark-background/empty_timeline_bg.png',+ emptyInbox: '/images/placeholders/dark-background/empty_inbox_bg.png',+ error404: '/images/placeholders/dark-background/404_bg.png',+ error500: '/images/placeholders/dark-background/500_bg.png',+ loadingMessages: '/images/placeholders/background/loading_messages_bg.png',+ loadingAccounts: '/images/placeholders/background/loading_accounts_bg.png',+ emptyFunctions: '/images/placeholders/dark-background/empty_functions_bg.png',+ noDeletedRecord:+ '/images/placeholders/dark-background/no_deleted_record_bg.png',+ noWidgets: '/images/placeholders/dark-background/no_widgets_bg.png',+ notShared: '/images/placeholders/dark-background/not_shared_bg.png',+};diff --git a/packages/twenty-ui/src/layout/animated-placeholder/constants/DarkMovingImage.ts b/packages/twenty-ui/src/layout/animated-placeholder/constants/DarkMovingImage.tsnew file mode 100644index 00000000000..63633ada6f8--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-placeholder/constants/DarkMovingImage.ts@@ -0,0 +1,19 @@+export const DARK_MOVING_IMAGE: Record<string, string> = {+ noFile: '/images/placeholders/dark-moving-image/no_file.png',+ noNote: '/images/placeholders/dark-moving-image/no_note.png',+ noRecord: '/images/placeholders/dark-moving-image/no_record.png',+ noMatchRecord: '/images/placeholders/dark-moving-image/no_match_record.png',+ noTask: '/images/placeholders/dark-moving-image/no_task.png',+ errorIndex: '/images/placeholders/dark-moving-image/error_index.png',+ emptyTimeline: '/images/placeholders/dark-moving-image/empty_timeline.png',+ emptyInbox: '/images/placeholders/dark-moving-image/empty_inbox.png',+ error404: '/images/placeholders/dark-moving-image/404.png',+ error500: '/images/placeholders/dark-moving-image/500.png',+ loadingMessages: '/images/placeholders/moving-image/loading_messages.png',+ loadingAccounts: '/images/placeholders/moving-image/loading_accounts.png',+ emptyFunctions: '/images/placeholders/dark-moving-image/empty_functions.png',+ noDeletedRecord:+ '/images/placeholders/dark-moving-image/no_deleted_record.png',+ noWidgets: '/images/placeholders/dark-moving-image/no_widgets.png',+ notShared: '/images/placeholders/dark-moving-image/not_shared.png',+};diff --git a/packages/twenty-ui/src/layout/animated-placeholder/constants/MovingImage.ts b/packages/twenty-ui/src/layout/animated-placeholder/constants/MovingImage.tsnew file mode 100644index 00000000000..afedead50f2--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-placeholder/constants/MovingImage.ts@@ -0,0 +1,18 @@+export const MOVING_IMAGE: Record<string, string> = {+ noFile: '/images/placeholders/moving-image/no_file.png',+ noNote: '/images/placeholders/moving-image/no_note.png',+ noRecord: '/images/placeholders/moving-image/no_record.png',+ noMatchRecord: '/images/placeholders/moving-image/no_match_record.png',+ noTask: '/images/placeholders/moving-image/no_task.png',+ errorIndex: '/images/placeholders/moving-image/error_index.png',+ emptyTimeline: '/images/placeholders/moving-image/empty_timeline.png',+ loadingMessages: '/images/placeholders/moving-image/loading_messages.png',+ loadingAccounts: '/images/placeholders/moving-image/loading_accounts.png',+ emptyFunctions: '/images/placeholders/moving-image/empty_functions.png',+ emptyInbox: '/images/placeholders/moving-image/empty_inbox.png',+ error404: '/images/placeholders/moving-image/404.png',+ error500: '/images/placeholders/moving-image/500.png',+ noDeletedRecord: '/images/placeholders/moving-image/no_deleted_record.png',+ noWidgets: '/images/placeholders/moving-image/no_widgets.png',+ notShared: '/images/placeholders/moving-image/not_shared.png',+};diff --git a/packages/twenty-ui/src/layout/animated-placeholder/index.ts b/packages/twenty-ui/src/layout/animated-placeholder/index.tsnew file mode 100644index 00000000000..74da7bd40c8--- /dev/null+++ b/packages/twenty-ui/src/layout/animated-placeholder/index.ts@@ -0,0 +1,7 @@+export * from './components/AnimatedPlaceholder';+export * from './components/EmptyPlaceholderStyled';+export * from './components/ErrorPlaceholderStyled';+export * from './constants/Background';+export * from './constants/DarkBackground';+export * from './constants/DarkMovingImage';+export * from './constants/MovingImage';diff --git a/packages/twenty-ui/src/layout/card/components/Card.module.scss b/packages/twenty-ui/src/layout/card/components/Card.module.scssnew file mode 100644index 00000000000..804772e08ad--- /dev/null+++ b/packages/twenty-ui/src/layout/card/components/Card.module.scss@@ -0,0 +1,16 @@+.card {+ background-color: var(--card-background-color, transparent);+ border: 1px solid var(--t-border-color-medium);+ border-radius: var(--t-border-radius-sm);+ color: var(--t-font-color-secondary);+ overflow: hidden;+ width: auto;++ &[data-rounded] {+ border-radius: var(--t-border-radius-md);+ }++ &[data-full-width] {+ width: 100%;+ }+}diff --git a/packages/twenty-ui/src/layout/card/components/Card.module.scss.d.ts b/packages/twenty-ui/src/layout/card/components/Card.module.scss.d.tsnew file mode 100644index 00000000000..4e80ea28d10--- /dev/null+++ b/packages/twenty-ui/src/layout/card/components/Card.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly card: 'card';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/card/components/Card.tsx b/packages/twenty-ui/src/layout/card/components/Card.tsxnew file mode 100644index 00000000000..151324a1676--- /dev/null+++ b/packages/twenty-ui/src/layout/card/components/Card.tsx@@ -0,0 +1,41 @@+import { clsx } from 'clsx';+import { type ComponentPropsWithoutRef, type CSSProperties } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++import styles from './Card.module.scss';++type CardProps = ComponentPropsWithoutRef<'div'> & {+ fullWidth?: boolean;+ rounded?: boolean;+ backgroundColor?: string;+};++export const Card = ({+ children,+ className,+ fullWidth,+ rounded,+ backgroundColor,+ style,+ ...rest+}: CardProps) => {+ return (+ <div+ className={clsx(styles.card, className)}+ data-full-width={fullWidth || undefined}+ data-rounded={rounded || undefined}+ style={+ isDefined(backgroundColor)+ ? ({+ ...style,+ '--card-background-color': backgroundColor,+ } as CSSProperties)+ : style+ }+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ >+ {children}+ </div>+ );+};diff --git a/packages/twenty-ui/src/layout/card/components/CardContent.module.scss b/packages/twenty-ui/src/layout/card/components/CardContent.module.scssnew file mode 100644index 00000000000..350564f33fb--- /dev/null+++ b/packages/twenty-ui/src/layout/card/components/CardContent.module.scss@@ -0,0 +1,24 @@+.cardContent {+ background-color: var(--t-background-secondary);+ padding: var(--t-spacing-4);++ border-bottom: none;++ cursor: default;++ &[data-divider] {+ border-bottom: 1px solid var(--t-border-color-medium);+ }++ &[data-clickable] {+ cursor: pointer;+ }++ &:hover {+ background: transparent;+ }++ &[data-hover-highlight]:hover {+ background: var(--t-background-transparent-light);+ }+}diff --git a/packages/twenty-ui/src/layout/card/components/CardContent.module.scss.d.ts b/packages/twenty-ui/src/layout/card/components/CardContent.module.scss.d.tsnew file mode 100644index 00000000000..d4f1beb46b5--- /dev/null+++ b/packages/twenty-ui/src/layout/card/components/CardContent.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly cardContent: 'cardContent';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/card/components/CardContent.tsx b/packages/twenty-ui/src/layout/card/components/CardContent.tsxnew file mode 100644index 00000000000..7227520f827--- /dev/null+++ b/packages/twenty-ui/src/layout/card/components/CardContent.tsx@@ -0,0 +1,35 @@+import { clsx } from 'clsx';+import { type HTMLMotionProps, motion } from 'framer-motion';+import { type ReactNode } from 'react';++import styles from './CardContent.module.scss';++type CardContentProps = {+ children?: ReactNode;+ className?: string;+ divider?: boolean;+ isClickable?: boolean;+ hasHoverHighlight?: boolean;+} & Omit<HTMLMotionProps<'div'>, 'theme'>;++export const CardContent = ({+ children,+ className,+ divider,+ isClickable,+ hasHoverHighlight,+ ...rest+}: CardContentProps) => {+ return (+ <motion.div+ className={clsx(styles.cardContent, className)}+ data-divider={divider || undefined}+ data-clickable={isClickable || undefined}+ data-hover-highlight={hasHoverHighlight || undefined}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ >+ {children}+ </motion.div>+ );+};diff --git a/packages/twenty-ui/src/layout/card/components/CardFooter.module.scss b/packages/twenty-ui/src/layout/card/components/CardFooter.module.scssnew file mode 100644index 00000000000..6f62704e3d5--- /dev/null+++ b/packages/twenty-ui/src/layout/card/components/CardFooter.module.scss@@ -0,0 +1,11 @@+.cardFooter {+ background-color: var(--t-background-primary);+ border-top: 1px solid var(--t-border-color-medium);+ font-size: var(--t-font-size-sm);+ padding: var(--t-spacing-2) var(--t-spacing-4);++ // divider defaults to true; only an explicit false removes the border+ &[data-no-divider] {+ border-top: 0;+ }+}diff --git a/packages/twenty-ui/src/layout/card/components/CardFooter.module.scss.d.ts b/packages/twenty-ui/src/layout/card/components/CardFooter.module.scss.d.tsnew file mode 100644index 00000000000..d56ecabeec7--- /dev/null+++ b/packages/twenty-ui/src/layout/card/components/CardFooter.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly cardFooter: 'cardFooter';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/card/components/CardFooter.tsx b/packages/twenty-ui/src/layout/card/components/CardFooter.tsxnew file mode 100644index 00000000000..93fdc1ba84b--- /dev/null+++ b/packages/twenty-ui/src/layout/card/components/CardFooter.tsx@@ -0,0 +1,26 @@+import { clsx } from 'clsx';+import { type ComponentPropsWithoutRef } from 'react';++import styles from './CardFooter.module.scss';++type CardFooterProps = ComponentPropsWithoutRef<'div'> & {+ divider?: boolean;+};++export const CardFooter = ({+ children,+ className,+ divider,+ ...rest+}: CardFooterProps) => {+ return (+ <div+ className={clsx(styles.cardFooter, className)}+ data-no-divider={divider === false || undefined}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ >+ {children}+ </div>+ );+};diff --git a/packages/twenty-ui/src/layout/card/components/CardHeader.module.scss b/packages/twenty-ui/src/layout/card/components/CardHeader.module.scssnew file mode 100644index 00000000000..9dc125916ef--- /dev/null+++ b/packages/twenty-ui/src/layout/card/components/CardHeader.module.scss@@ -0,0 +1,7 @@+.cardHeader {+ background-color: var(--t-background-primary);+ border-bottom: 1px solid var(--t-border-color-medium);+ font-size: var(--t-font-size-sm);+ font-weight: var(--t-font-weight-medium);+ padding: var(--t-spacing-2) var(--t-spacing-4);+}diff --git a/packages/twenty-ui/src/layout/card/components/CardHeader.module.scss.d.ts b/packages/twenty-ui/src/layout/card/components/CardHeader.module.scss.d.tsnew file mode 100644index 00000000000..0ac3454d2fd--- /dev/null+++ b/packages/twenty-ui/src/layout/card/components/CardHeader.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly cardHeader: 'cardHeader';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/card/components/CardHeader.tsx b/packages/twenty-ui/src/layout/card/components/CardHeader.tsxnew file mode 100644index 00000000000..1a15cd03d2d--- /dev/null+++ b/packages/twenty-ui/src/layout/card/components/CardHeader.tsx@@ -0,0 +1,19 @@+import { clsx } from 'clsx';+import { type ComponentPropsWithoutRef } from 'react';++import styles from './CardHeader.module.scss';++type CardHeaderProps = ComponentPropsWithoutRef<'div'>;++export const CardHeader = ({+ children,+ className,+ ...rest+}: CardHeaderProps) => {+ return (+ // oxlint-disable-next-line react/jsx-props-no-spreading+ <div className={clsx(styles.cardHeader, className)} {...rest}>+ {children}+ </div>+ );+};diff --git a/packages/twenty-ui/src/layout/card/components/__stories__/Card.stories.tsx b/packages/twenty-ui/src/layout/card/components/__stories__/Card.stories.tsxnew file mode 100644index 00000000000..ecac8b70d25--- /dev/null+++ b/packages/twenty-ui/src/layout/card/components/__stories__/Card.stories.tsx@@ -0,0 +1,31 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { ComponentDecorator } from '@ui/testing';++import { Card } from '../Card';+import { CardContent } from '../CardContent';+import { CardFooter } from '../CardFooter';+import { CardHeader } from '../CardHeader';++const meta: Meta<typeof Card> = {+ title: 'UI/Layout/Card/Card',+ component: Card,+ decorators: [ComponentDecorator],+ render: (args) => (+ // oxlint-disable-next-line react/jsx-props-no-spreading+ <Card {...args}>+ <CardHeader>Lorem ipsum</CardHeader>+ <CardContent>+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec id massa+ vel odio ullamcorper molestie eu nec ipsum. Sed semper convallis+ consectetur.+ </CardContent>+ <CardFooter>Lorem ipsum</CardFooter>+ </Card>+ ),+ argTypes: {},+};++export default meta;+type Story = StoryObj<typeof Card>;++export const Default: Story = {};diff --git a/packages/twenty-ui/src/layout/index.ts b/packages/twenty-ui/src/layout/index.tsindex a3046804c03..eb65aac5cf3 100644--- a/packages/twenty-ui/src/layout/index.ts+++ b/packages/twenty-ui/src/layout/index.ts@@ -7,4 +7,54 @@* |___/*/-export {};+export { AnimatedExpandableContainer } from './animated-expandable-container/components/AnimatedExpandableContainer';+export type { AnimationDimension } from './animated-expandable-container/types/AnimationDimension';+export type { AnimationDurationObject } from './animated-expandable-container/types/AnimationDurationObject';+export type { AnimationDurations } from './animated-expandable-container/types/AnimationDurations';+export type { AnimationMode } from './animated-expandable-container/types/AnimationMode';+export type { AnimationSize } from './animated-expandable-container/types/AnimationSize';+export { getCommonStyles } from './animated-expandable-container/utils/getCommonStyles';+export { getExpandableAnimationConfig } from './animated-expandable-container/utils/getExpandableAnimationConfig';+export { getTransitionValues } from './animated-expandable-container/utils/getTransitionValues';+export type { AnimatedPlaceholderType } from './animated-placeholder/components/AnimatedPlaceholder';+export { AnimatedPlaceholder } from './animated-placeholder/components/AnimatedPlaceholder';+export {+ AnimatedPlaceholderEmptyContainer,+ EMPTY_PLACEHOLDER_TRANSITION_PROPS,+ AnimatedPlaceholderEmptyTextContainer,+ AnimatedPlaceholderEmptyTitle,+ AnimatedPlaceholderEmptySubTitle,+} from './animated-placeholder/components/EmptyPlaceholderStyled';+export {+ AnimatedPlaceholderErrorContainer,+ AnimatedPlaceholderErrorTextContainer,+ AnimatedPlaceholderErrorTitle,+ AnimatedPlaceholderErrorSubTitle,+} from './animated-placeholder/components/ErrorPlaceholderStyled';+export { BACKGROUND } from './animated-placeholder/constants/Background';+export { DARK_BACKGROUND } from './animated-placeholder/constants/DarkBackground';+export { DARK_MOVING_IMAGE } from './animated-placeholder/constants/DarkMovingImage';+export { MOVING_IMAGE } from './animated-placeholder/constants/MovingImage';+export { Card } from './card/components/Card';+export { CardContent } from './card/components/CardContent';+export { CardFooter } from './card/components/CardFooter';+export { CardHeader } from './card/components/CardHeader';+export { Modal } from './modal/components/Modal';+export { ModalBackdrop } from './modal/components/ModalBackdrop';+export type { ModalContentProps } from './modal/components/ModalContent';+export { ModalContent } from './modal/components/ModalContent';+export type { ModalFooterProps } from './modal/components/ModalFooter';+export { ModalFooter } from './modal/components/ModalFooter';+export type { ModalHeaderProps } from './modal/components/ModalHeader';+export { ModalHeader } from './modal/components/ModalHeader';+export type { ModalOverlay } from './modal/types/ModalOverlay';+export type { ModalPadding } from './modal/types/ModalPadding';+export type { ModalProps } from './modal/types/ModalProps';+export type { ModalSize } from './modal/types/ModalSize';+export { ResizeHandle } from './resize-handle/components/ResizeHandle';+export { useResizeHandle } from './resize-handle/hooks/useResizeHandle';+export {+ SectionAlignment,+ SectionFontColor,+ Section,+} from './section/components/Section';diff --git a/packages/twenty-ui/src/layout/modal/components/Modal.module.scss b/packages/twenty-ui/src/layout/modal/components/Modal.module.scssnew file mode 100644index 00000000000..e3c64d243de--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/Modal.module.scss@@ -0,0 +1,98 @@+.modal {+ display: flex;+ flex-direction: column;+ box-shadow: var(--t-box-shadow-strong);+ background: var(--t-background-primary);+ color: var(--t-font-color-primary);+ border-radius: var(--t-border-radius-md);+ overflow-x: hidden;+ overflow-y: auto;+ z-index: var(--modal-z-index, 40);+ width: auto;+ height: auto;+ max-height: 90dvh;+ // framer-motion faded the deprecated modal in and out over the theme's+ // normal duration; Base UI drives the same fade through its+ // data-starting-style and data-ending-style transition states+ transition: opacity duration(normal) ease-out;++ &[data-starting-style],+ &[data-ending-style] {+ opacity: 0;+ }+}++// The source order of the classes below replicates the precedence of the+// deprecated Linaria conditionals: fullscreen > narrowWidth and autoHeight >+// isMobile > overlay and smallBorderRadius > size++.small {+ width: var(--t-modal-size-sm-width);+}++.medium {+ width: var(--t-modal-size-md-width);+}++.large {+ width: var(--t-modal-size-lg-width);+}++.extraLarge {+ width: var(--t-modal-size-xl-width);+ height: var(--t-modal-size-xl-height);+}++.paddingNone {+ padding: var(--t-spacing-0);+}++.paddingSmall {+ padding: var(--t-spacing-2);+}++.paddingMedium {+ padding: var(--t-spacing-4);+}++.paddingLarge {+ padding: var(--t-spacing-6);+}++.overlayDark {+ box-shadow: var(--t-box-shadow-super-heavy);+}++.smallBorderRadius {+ border-radius: var(--t-spacing-1);+}++.overlayTransparent {+ box-shadow: none;+ background: transparent;+ border-radius: 0;+}++.mobile {+ border-radius: 0;+ width: var(--t-modal-size-fullscreen-width);+ height: var(--t-modal-size-fullscreen-height);+ max-height: none;+}++.narrowWidth {+ width: calc(400px - var(--t-spacing-32));+}++.autoHeight {+ height: auto;+}++.fullscreen {+ box-shadow: none;+ background: var(--t-background-primary);+ border-radius: 0;+ width: var(--t-modal-size-fullscreen-width);+ height: var(--t-modal-size-fullscreen-height);+ max-height: none;+}diff --git a/packages/twenty-ui/src/layout/modal/components/Modal.module.scss.d.ts b/packages/twenty-ui/src/layout/modal/components/Modal.module.scss.d.tsnew file mode 100644index 00000000000..670f48ddf0e--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/Modal.module.scss.d.ts@@ -0,0 +1,19 @@+declare const classNames: {+ readonly modal: 'modal';+ readonly small: 'small';+ readonly medium: 'medium';+ readonly large: 'large';+ readonly extraLarge: 'extraLarge';+ readonly paddingNone: 'paddingNone';+ readonly paddingSmall: 'paddingSmall';+ readonly paddingMedium: 'paddingMedium';+ readonly paddingLarge: 'paddingLarge';+ readonly overlayDark: 'overlayDark';+ readonly smallBorderRadius: 'smallBorderRadius';+ readonly overlayTransparent: 'overlayTransparent';+ readonly mobile: 'mobile';+ readonly narrowWidth: 'narrowWidth';+ readonly autoHeight: 'autoHeight';+ readonly fullscreen: 'fullscreen';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/modal/components/Modal.tsx b/packages/twenty-ui/src/layout/modal/components/Modal.tsxnew file mode 100644index 00000000000..770ef69254e--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/Modal.tsx@@ -0,0 +1,122 @@+import { Dialog } from '@base-ui/react/dialog';+import { clsx } from 'clsx';+import { useRef } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++import { type ModalOverlay } from '../types/ModalOverlay';+import { type ModalPadding } from '../types/ModalPadding';+import { type ModalProps } from '../types/ModalProps';++import styles from './Modal.module.scss';+import { ModalBackdrop } from './ModalBackdrop';++const DEFAULT_MODAL_Z_INDEX = 40;+const DEFAULT_BACKDROP_Z_INDEX = 39;++// Base UI's Dialog.Popup stops the propagation of these keydown events, but+// the deprecated Modal let them bubble up to global hotkey listeners.+const KEYDOWN_EVENTS_TO_PROPAGATE = new Set([+ 'ArrowUp',+ 'ArrowDown',+ 'ArrowLeft',+ 'ArrowRight',+ 'Home',+ 'End',+]);++const PADDING_CLASS_NAMES: Record<ModalPadding, string> = {+ none: styles.paddingNone,+ small: styles.paddingSmall,+ medium: styles.paddingMedium,+ large: styles.paddingLarge,+};++// The 'light' overlay is the base style of the modal, so it needs no class+const OVERLAY_CLASS_NAMES: Record<ModalOverlay, string | undefined> = {+ dark: styles.overlayDark,+ light: undefined,+ transparent: styles.overlayTransparent,+};++export const Modal = ({+ isOpen,+ children,+ size = 'medium',+ padding = 'medium',+ overlay = 'dark',+ isMobile = false,+ isInContainer = false,+ container,+ gap,+ smallBorderRadius,+ narrowWidth,+ autoHeight,+ modalZIndex = DEFAULT_MODAL_Z_INDEX,+ backdropZIndex = DEFAULT_BACKDROP_Z_INDEX,+ backdropTestId = 'modal-backdrop',+ backdropClickOutsideId,+ preventClickOutside,+ onBackdropMouseDown,+ modalRef: externalRef,+}: ModalProps) => {+ const internalRef = useRef<HTMLDivElement>(null);+ const resolvedRef = externalRef ?? internalRef;++ const handleBackdropMouseDown = (e: React.MouseEvent) => {+ e.stopPropagation();+ onBackdropMouseDown?.(e);+ };++ // modal={false} and disablePointerDismissal keep Base UI from trapping+ // focus, locking scroll or closing on outside press: like the deprecated+ // Modal, open/close is fully controlled by the isOpen prop+ return (+ <Dialog.Root open={isOpen} modal={false} disablePointerDismissal>+ <Dialog.Portal container={isDefined(container) ? container : undefined}>+ <ModalBackdrop+ data-testid={backdropTestId}+ data-click-outside-id={backdropClickOutsideId}+ onMouseDown={handleBackdropMouseDown}+ overlay={overlay}+ backdropZIndex={backdropZIndex}+ isInContainer={isInContainer}+ >+ <Dialog.Popup+ initialFocus={false}+ finalFocus={false}+ onKeyDown={(event) => {+ if (KEYDOWN_EVENTS_TO_PROPAGATE.has(event.key)) {+ event.preventBaseUIHandler();+ }+ }}+ render={+ <div+ ref={resolvedRef}+ className={clsx(+ styles.modal,+ styles[size],+ PADDING_CLASS_NAMES[padding],+ OVERLAY_CLASS_NAMES[overlay],+ isMobile && styles.mobile,+ smallBorderRadius && styles.smallBorderRadius,+ narrowWidth && styles.narrowWidth,+ autoHeight && styles.autoHeight,+ )}+ style={+ {+ '--modal-z-index': modalZIndex,+ gap:+ gap !== undefined ? `var(--t-spacing-${gap})` : undefined,+ } as React.CSSProperties+ }+ data-globally-prevent-click-outside={preventClickOutside}+ />+ }+ >+ {children}+ </Dialog.Popup>+ </ModalBackdrop>+ </Dialog.Portal>+ </Dialog.Root>+ );+};diff --git a/packages/twenty-ui/src/layout/modal/components/ModalBackdrop.module.scss b/packages/twenty-ui/src/layout/modal/components/ModalBackdrop.module.scssnew file mode 100644index 00000000000..3f990679c22--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/ModalBackdrop.module.scss@@ -0,0 +1,23 @@+.backdrop {+ align-items: center;+ background: var(--t-background-overlay-primary);+ display: flex;+ height: 100%;+ justify-content: center;+ left: 0;+ pointer-events: auto;+ position: fixed;+ top: 0;+ width: 100%;+ z-index: var(--modal-backdrop-z-index, 39);+ user-select: none;+}++.overlayLight {+ background: var(--t-background-overlay-tertiary);+}++.inContainer {+ background: var(--t-background-overlay-tertiary);+ position: absolute;+}diff --git a/packages/twenty-ui/src/layout/modal/components/ModalBackdrop.module.scss.d.ts b/packages/twenty-ui/src/layout/modal/components/ModalBackdrop.module.scss.d.tsnew file mode 100644index 00000000000..f3c500808b4--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/ModalBackdrop.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly backdrop: 'backdrop';+ readonly overlayLight: 'overlayLight';+ readonly inContainer: 'inContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/modal/components/ModalBackdrop.tsx b/packages/twenty-ui/src/layout/modal/components/ModalBackdrop.tsxnew file mode 100644index 00000000000..272823db784--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/ModalBackdrop.tsx@@ -0,0 +1,44 @@+import { clsx } from 'clsx';+import { forwardRef } from 'react';++import { type ModalOverlay } from '../types/ModalOverlay';++import styles from './ModalBackdrop.module.scss';++// The deprecated Linaria styled.div forwarded refs and accepted all native+// div props (including the data-* attributes Modal relies on), so the port+// preserves that contract.+type ModalBackdropProps = React.ComponentPropsWithoutRef<'div'> & {+ overlay: ModalOverlay;+ backdropZIndex: number;+ isInContainer?: boolean;+ 'data-testid'?: string;+ 'data-click-outside-id'?: string;+};++export const ModalBackdrop = forwardRef<HTMLDivElement, ModalBackdropProps>(+ (+ { overlay, backdropZIndex, isInContainer, className, style, ...divProps },+ ref,+ ) => (+ <div+ ref={ref}+ className={clsx(+ styles.backdrop,+ overlay === 'light' && styles.overlayLight,+ isInContainer && styles.inContainer,+ className,+ )}+ style={+ {+ '--modal-backdrop-z-index': backdropZIndex,+ ...style,+ } as React.CSSProperties+ }+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...divProps}+ />+ ),+);++ModalBackdrop.displayName = 'ModalBackdrop';diff --git a/packages/twenty-ui/src/layout/modal/components/ModalContent.module.scss b/packages/twenty-ui/src/layout/modal/components/ModalContent.module.scssnew file mode 100644index 00000000000..845c8fb1656--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/ModalContent.module.scss@@ -0,0 +1,30 @@+.content {+ align-items: stretch;+ display: flex;+ flex: 1 1 0%;+ flex-direction: column;+ justify-content: flex-start;+ overflow: visible;+ padding: var(--t-spacing-10);+}++.verticallyCentered {+ align-items: center;+}++.horizontallyCentered {+ justify-content: center;+}++.overflowHidden {+ overflow: hidden;+}++.withContentPadding {+ padding: var(--modal-content-padding);+}++// noPadding wins over contentPadding, like the deprecated Linaria switch+.noPadding {+ padding: 0;+}diff --git a/packages/twenty-ui/src/layout/modal/components/ModalContent.module.scss.d.ts b/packages/twenty-ui/src/layout/modal/components/ModalContent.module.scss.d.tsnew file mode 100644index 00000000000..31a89d494e6--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/ModalContent.module.scss.d.ts@@ -0,0 +1,9 @@+declare const classNames: {+ readonly content: 'content';+ readonly verticallyCentered: 'verticallyCentered';+ readonly horizontallyCentered: 'horizontallyCentered';+ readonly overflowHidden: 'overflowHidden';+ readonly withContentPadding: 'withContentPadding';+ readonly noPadding: 'noPadding';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/modal/components/ModalContent.tsx b/packages/twenty-ui/src/layout/modal/components/ModalContent.tsxnew file mode 100644index 00000000000..142a964753b--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/ModalContent.tsx@@ -0,0 +1,44 @@+import { clsx } from 'clsx';++import styles from './ModalContent.module.scss';++export type ModalContentProps = React.PropsWithChildren & {+ isVerticallyCentered?: boolean;+ isHorizontallyCentered?: boolean;+ noPadding?: boolean;+ overflowHidden?: boolean;+ gap?: number;+ contentPadding?: number;+};++export const ModalContent = ({+ children,+ isVerticallyCentered,+ isHorizontallyCentered,+ noPadding,+ overflowHidden,+ gap,+ contentPadding,+}: ModalContentProps) => (+ <div+ className={clsx(+ styles.content,+ isVerticallyCentered && styles.verticallyCentered,+ isHorizontallyCentered && styles.horizontallyCentered,+ overflowHidden && styles.overflowHidden,+ contentPadding !== undefined && styles.withContentPadding,+ noPadding && styles.noPadding,+ )}+ style={+ {+ gap: gap !== undefined ? `var(--t-spacing-${gap})` : undefined,+ '--modal-content-padding':+ contentPadding !== undefined+ ? `var(--t-spacing-${contentPadding})`+ : undefined,+ } as React.CSSProperties+ }+ >+ {children}+ </div>+);diff --git a/packages/twenty-ui/src/layout/modal/components/ModalFooter.module.scss b/packages/twenty-ui/src/layout/modal/components/ModalFooter.module.scssnew file mode 100644index 00000000000..6792fb2f785--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/ModalFooter.module.scss@@ -0,0 +1,22 @@+.footer {+ align-items: center;+ display: flex;+ flex-direction: row;+ gap: var(--t-spacing-2);+ height: 60px;+ justify-content: flex-end;+ overflow: hidden;+ padding: var(--t-spacing-5);+}++.autoHeight {+ height: auto;+}++.centered {+ justify-content: center;+}++.smallPadding {+ padding: var(--t-spacing-3);+}diff --git a/packages/twenty-ui/src/layout/modal/components/ModalFooter.module.scss.d.ts b/packages/twenty-ui/src/layout/modal/components/ModalFooter.module.scss.d.tsnew file mode 100644index 00000000000..8bd9b6a5a02--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/ModalFooter.module.scss.d.ts@@ -0,0 +1,7 @@+declare const classNames: {+ readonly footer: 'footer';+ readonly autoHeight: 'autoHeight';+ readonly centered: 'centered';+ readonly smallPadding: 'smallPadding';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/modal/components/ModalFooter.tsx b/packages/twenty-ui/src/layout/modal/components/ModalFooter.tsxnew file mode 100644index 00000000000..3df4a7fa15d--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/ModalFooter.tsx@@ -0,0 +1,30 @@+import { clsx } from 'clsx';++import styles from './ModalFooter.module.scss';++export type ModalFooterProps = React.PropsWithChildren & {+ autoHeight?: boolean;+ centered?: boolean;+ smallPadding?: boolean;+ className?: string;+};++export const ModalFooter = ({+ children,+ autoHeight,+ centered,+ smallPadding,+ className,+}: ModalFooterProps) => (+ <div+ className={clsx(+ styles.footer,+ autoHeight && styles.autoHeight,+ centered && styles.centered,+ smallPadding && styles.smallPadding,+ className,+ )}+ >+ {children}+ </div>+);diff --git a/packages/twenty-ui/src/layout/modal/components/ModalHeader.module.scss b/packages/twenty-ui/src/layout/modal/components/ModalHeader.module.scssnew file mode 100644index 00000000000..0a7775e47f6--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/ModalHeader.module.scss@@ -0,0 +1,31 @@+.header {+ align-items: center;+ display: flex;+ flex-direction: row;+ flex-shrink: 0;+ height: 60px;+ overflow: hidden;+ padding: var(--t-spacing-5);+}++.autoHeight {+ height: auto;+}++.noPadding {+ padding: 0;+}++// paddingHorizontal wins over noPadding, like the deprecated Linaria switch+.withHorizontalPadding {+ padding: 0 var(--modal-header-padding-horizontal);++ @include respond-to(mobile) {+ padding-left: var(--t-spacing-4);+ padding-right: var(--t-spacing-4);+ }+}++.withBorderBottom {+ border-bottom: 1px solid var(--t-border-color-medium);+}diff --git a/packages/twenty-ui/src/layout/modal/components/ModalHeader.module.scss.d.ts b/packages/twenty-ui/src/layout/modal/components/ModalHeader.module.scss.d.tsnew file mode 100644index 00000000000..abb7431876c--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/ModalHeader.module.scss.d.ts@@ -0,0 +1,8 @@+declare const classNames: {+ readonly header: 'header';+ readonly autoHeight: 'autoHeight';+ readonly noPadding: 'noPadding';+ readonly withHorizontalPadding: 'withHorizontalPadding';+ readonly withBorderBottom: 'withBorderBottom';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/modal/components/ModalHeader.tsx b/packages/twenty-ui/src/layout/modal/components/ModalHeader.tsxnew file mode 100644index 00000000000..5f886965d72--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/ModalHeader.tsx@@ -0,0 +1,41 @@+import { clsx } from 'clsx';++import styles from './ModalHeader.module.scss';++export type ModalHeaderProps = React.PropsWithChildren & {+ noPadding?: boolean;+ autoHeight?: boolean;+ hasBorderBottom?: boolean;+ paddingHorizontal?: number;+ backgroundColor?: string;+};++export const ModalHeader = ({+ children,+ noPadding,+ autoHeight,+ hasBorderBottom,+ paddingHorizontal,+ backgroundColor,+}: ModalHeaderProps) => (+ <div+ className={clsx(+ styles.header,+ autoHeight && styles.autoHeight,+ noPadding && styles.noPadding,+ paddingHorizontal !== undefined && styles.withHorizontalPadding,+ hasBorderBottom && styles.withBorderBottom,+ )}+ style={+ {+ '--modal-header-padding-horizontal':+ paddingHorizontal !== undefined+ ? `var(--t-spacing-${paddingHorizontal})`+ : undefined,+ backgroundColor,+ } as React.CSSProperties+ }+ >+ {children}+ </div>+);diff --git a/packages/twenty-ui/src/layout/modal/components/__stories__/Modal.stories.module.scss b/packages/twenty-ui/src/layout/modal/components/__stories__/Modal.stories.module.scssnew file mode 100644index 00000000000..0a70c803f22--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/__stories__/Modal.stories.module.scss@@ -0,0 +1,7 @@+.centeredTitle {+ text-align: center;+}++.sectionContainer {+ margin-bottom: var(--t-spacing-6);+}diff --git a/packages/twenty-ui/src/layout/modal/components/__stories__/Modal.stories.module.scss.d.ts b/packages/twenty-ui/src/layout/modal/components/__stories__/Modal.stories.module.scss.d.tsnew file mode 100644index 00000000000..d66bb74eaf1--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/__stories__/Modal.stories.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly centeredTitle: 'centeredTitle';+ readonly sectionContainer: 'sectionContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/modal/components/__stories__/Modal.stories.tsx b/packages/twenty-ui/src/layout/modal/components/__stories__/Modal.stories.tsxnew file mode 100644index 00000000000..a0e5ec16a70--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/components/__stories__/Modal.stories.tsx@@ -0,0 +1,246 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { useState } from 'react';+import { H1Title, H1TitleFontColor, H2Title, IconX } from '@ui/display';+import { Button, IconButton } from '@ui/input';+import { Section, SectionAlignment, SectionFontColor } from '@ui/layout';+import { ComponentDecorator } from '@ui/testing';++import { Modal } from '../Modal';+import { ModalContent } from '../ModalContent';+import { ModalFooter } from '../ModalFooter';+import { ModalHeader } from '../ModalHeader';++import styles from './Modal.stories.module.scss';++const meta: Meta<typeof Modal> = {+ title: 'UI/Layout/Modal/Modal',+ component: Modal,+ decorators: [ComponentDecorator],+ argTypes: {+ size: {+ control: 'select',+ options: ['small', 'medium', 'large', 'extraLarge'],+ },+ padding: {+ control: 'select',+ options: ['none', 'small', 'medium', 'large'],+ },+ overlay: {+ control: 'select',+ options: ['light', 'dark', 'transparent'],+ },+ },+};++export default meta;+type Story = StoryObj<typeof Modal>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ isOpen: true,+ size: 'medium',+ padding: 'none',+ overlay: 'dark',+ },+ render: ({ isOpen, size, padding, overlay }) => (+ <Modal isOpen={isOpen} size={size} padding={padding} overlay={overlay}>+ <ModalHeader>+ <H2Title+ title="Edit workspace"+ description="Update your workspace settings"+ />+ </ModalHeader>+ <ModalContent>+ <Section>+ Workspace name and subdomain can be changed from the settings panel.+ These changes will be reflected across all members.+ </Section>+ </ModalContent>+ <ModalFooter>+ <Button title="Cancel" variant="secondary" />+ <Button title="Save" variant="primary" accent="blue" />+ </ModalFooter>+ </Modal>+ ),+};++export const Confirmation: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ isOpen: true,+ padding: 'large',+ overlay: 'dark',+ smallBorderRadius: true,+ narrowWidth: true,+ autoHeight: true,+ gap: 2,+ },+ render: ({+ isOpen,+ padding,+ overlay,+ smallBorderRadius,+ narrowWidth,+ autoHeight,+ gap,+ }) => (+ <Modal+ isOpen={isOpen}+ padding={padding}+ overlay={overlay}+ smallBorderRadius={smallBorderRadius}+ narrowWidth={narrowWidth}+ autoHeight={autoHeight}+ gap={gap}+ >+ <div className={styles.centeredTitle}>+ <H1Title title="Delete record?" fontColor={H1TitleFontColor.Primary} />+ </div>+ <div className={styles.sectionContainer}>+ <Section+ alignment={SectionAlignment.Center}+ fontColor={SectionFontColor.Primary}+ >+ This action cannot be undone. The record and all of its data will be+ permanently removed.+ </Section>+ </div>+ <Button title="Cancel" variant="secondary" fullWidth justify="center" />+ <Button+ title="Delete"+ variant="secondary"+ accent="danger"+ fullWidth+ justify="center"+ />+ </Modal>+ ),+};++export const Small: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ isOpen: true,+ size: 'small',+ padding: 'none',+ overlay: 'dark',+ },+ render: ({ isOpen, size, padding, overlay }) => (+ <Modal isOpen={isOpen} size={size} padding={padding} overlay={overlay}>+ <ModalHeader>+ <H2Title title="Archive item" />+ </ModalHeader>+ <ModalContent>+ <Section>Are you sure you want to archive this item?</Section>+ </ModalContent>+ <ModalFooter>+ <Button title="No" variant="secondary" />+ <Button title="Yes, archive" variant="primary" accent="blue" />+ </ModalFooter>+ </Modal>+ ),+};++export const ExtraLarge: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ isOpen: true,+ size: 'extraLarge',+ padding: 'none',+ overlay: 'dark',+ },+ render: ({ isOpen, size, padding, overlay }) => (+ <Modal isOpen={isOpen} size={size} padding={padding} overlay={overlay}>+ <ModalHeader>+ <H2Title+ title="Import contacts"+ description="Upload a CSV file to import your contacts"+ />+ </ModalHeader>+ <ModalContent>+ <Section>+ The file should include columns for name, email, phone, and company.+ Drag and drop your CSV file here, or click to browse.+ </Section>+ </ModalContent>+ <ModalFooter>+ <Button title="Cancel" variant="secondary" />+ <Button title="Upload & import" variant="primary" accent="blue" />+ </ModalFooter>+ </Modal>+ ),+};++export const Closed: Story = {+ args: {+ isOpen: false,+ size: 'medium',+ padding: 'medium',+ overlay: 'dark',+ },+ render: ({ isOpen, size, padding, overlay }) => (+ <Modal isOpen={isOpen} size={size} padding={padding} overlay={overlay}>+ <ModalContent>This should not be visible.</ModalContent>+ </Modal>+ ),+};++const InteractiveModal = () => {+ const [isOpen, setIsOpen] = useState(false);++ return (+ <>+ <Button+ title="Open Modal"+ variant="primary"+ accent="blue"+ onClick={() => setIsOpen(true)}+ />+ <Modal+ isOpen={isOpen}+ size="medium"+ padding="none"+ overlay="dark"+ onBackdropMouseDown={() => setIsOpen(false)}+ >+ <ModalHeader>+ <H2Title title="Create record" />+ <IconButton+ Icon={IconX}+ variant="tertiary"+ size="small"+ onClick={() => setIsOpen(false)}+ />+ </ModalHeader>+ <ModalContent>+ <Section>+ Fill in the details below to create a new record. All fields are+ optional.+ </Section>+ </ModalContent>+ <ModalFooter>+ <Button+ title="Cancel"+ variant="secondary"+ onClick={() => setIsOpen(false)}+ />+ <Button+ title="Create"+ variant="primary"+ accent="blue"+ onClick={() => setIsOpen(false)}+ />+ </ModalFooter>+ </Modal>+ </>+ );+};++export const Interactive: Story = {+ render: () => <InteractiveModal />,+};diff --git a/packages/twenty-ui/src/layout/modal/types/ModalOverlay.ts b/packages/twenty-ui/src/layout/modal/types/ModalOverlay.tsnew file mode 100644index 00000000000..f2f20c2ef31--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/types/ModalOverlay.ts@@ -0,0 +1 @@+export type ModalOverlay = 'light' | 'dark' | 'transparent';diff --git a/packages/twenty-ui/src/layout/modal/types/ModalPadding.ts b/packages/twenty-ui/src/layout/modal/types/ModalPadding.tsnew file mode 100644index 00000000000..7c7e5fb286d--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/types/ModalPadding.ts@@ -0,0 +1 @@+export type ModalPadding = 'none' | 'small' | 'medium' | 'large';diff --git a/packages/twenty-ui/src/layout/modal/types/ModalProps.ts b/packages/twenty-ui/src/layout/modal/types/ModalProps.tsnew file mode 100644index 00000000000..e6b3d890395--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/types/ModalProps.ts@@ -0,0 +1,26 @@+import type React from 'react';++import { type ModalOverlay } from './ModalOverlay';+import { type ModalPadding } from './ModalPadding';+import { type ModalSize } from './ModalSize';++export type ModalProps = React.PropsWithChildren & {+ isOpen: boolean;+ size?: ModalSize;+ padding?: ModalPadding;+ overlay?: ModalOverlay;+ isMobile?: boolean;+ isInContainer?: boolean;+ container?: HTMLElement | null;+ gap?: number;+ smallBorderRadius?: boolean;+ narrowWidth?: boolean;+ autoHeight?: boolean;+ modalZIndex?: number;+ backdropZIndex?: number;+ backdropTestId?: string;+ backdropClickOutsideId?: string;+ preventClickOutside?: boolean;+ onBackdropMouseDown?: (e: React.MouseEvent) => void;+ modalRef?: React.RefObject<HTMLDivElement>;+};diff --git a/packages/twenty-ui/src/layout/modal/types/ModalSize.ts b/packages/twenty-ui/src/layout/modal/types/ModalSize.tsnew file mode 100644index 00000000000..b079d5f3ba4--- /dev/null+++ b/packages/twenty-ui/src/layout/modal/types/ModalSize.ts@@ -0,0 +1,6 @@+export type ModalSize =+ | 'small'+ | 'medium'+ | 'large'+ | 'extraLarge'+ | 'fullscreen';diff --git a/packages/twenty-ui/src/layout/resize-handle/components/ResizeHandle.module.scss b/packages/twenty-ui/src/layout/resize-handle/components/ResizeHandle.module.scssnew file mode 100644index 00000000000..42fc2e287d8--- /dev/null+++ b/packages/twenty-ui/src/layout/resize-handle/components/ResizeHandle.module.scss@@ -0,0 +1,20 @@+.area {+ align-items: center;+ cursor: ns-resize;+ display: flex;+ height: 8px;+ justify-content: center;+ user-select: none;+}++.bar {+ background-color: var(--t-background-quaternary);+ border-radius: var(--t-border-radius-pill);+ height: 3px;+ transition: background-color duration(fast);+ width: 32px;+}++.area:hover > .bar {+ background-color: var(--t-font-color-tertiary);+}diff --git a/packages/twenty-ui/src/layout/resize-handle/components/ResizeHandle.module.scss.d.ts b/packages/twenty-ui/src/layout/resize-handle/components/ResizeHandle.module.scss.d.tsnew file mode 100644index 00000000000..e758040fb8e--- /dev/null+++ b/packages/twenty-ui/src/layout/resize-handle/components/ResizeHandle.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly area: 'area';+ readonly bar: 'bar';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/resize-handle/components/ResizeHandle.tsx b/packages/twenty-ui/src/layout/resize-handle/components/ResizeHandle.tsxnew file mode 100644index 00000000000..95ff7c934f7--- /dev/null+++ b/packages/twenty-ui/src/layout/resize-handle/components/ResizeHandle.tsx@@ -0,0 +1,27 @@+import { type CSSProperties } from 'react';++import styles from './ResizeHandle.module.scss';++type ResizeHandleProps = {+ onPointerDown?: (event: React.PointerEvent<HTMLDivElement>) => void;+ onPointerMove?: (event: React.PointerEvent<HTMLDivElement>) => void;+ onPointerUp?: (event: React.PointerEvent<HTMLDivElement>) => void;+ style?: CSSProperties;+};++export const ResizeHandle = ({+ onPointerDown,+ onPointerMove,+ onPointerUp,+ style,+}: ResizeHandleProps) => (+ <div+ className={styles.area}+ onPointerDown={onPointerDown}+ onPointerMove={onPointerMove}+ onPointerUp={onPointerUp}+ style={style}+ >+ <div className={styles.bar} />+ </div>+);diff --git a/packages/twenty-ui/src/layout/resize-handle/components/__stories__/ResizeHandle.stories.tsx b/packages/twenty-ui/src/layout/resize-handle/components/__stories__/ResizeHandle.stories.tsxnew file mode 100644index 00000000000..727ba5f8adb--- /dev/null+++ b/packages/twenty-ui/src/layout/resize-handle/components/__stories__/ResizeHandle.stories.tsx@@ -0,0 +1,66 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { useResizeHandle } from '@ui/layout/resize-handle/hooks/useResizeHandle';+import { ComponentDecorator } from '@ui/testing';+import { themeCssVariables } from '@ui/theme-constants';+import { expect, userEvent, within } from 'storybook/test';++import { ResizeHandle } from '../ResizeHandle';++const INITIAL_HEIGHT = 150;++const ResizableDemo = () => {+ const { size, handleResizeStart, handleResizeMove, handleResizeEnd } =+ useResizeHandle({ initialSize: INITIAL_HEIGHT });++ return (+ <div>+ <div+ data-testid="resizable-area"+ style={{+ background: themeCssVariables.background.secondary,+ height: size,+ width: 300,+ }}+ />+ <ResizeHandle+ onPointerDown={handleResizeStart}+ onPointerMove={handleResizeMove}+ onPointerUp={handleResizeEnd}+ />+ </div>+ );+};++const meta: Meta<typeof ResizeHandle> = {+ title: 'UI/Layout/ResizeHandle',+ component: ResizeHandle,+ decorators: [ComponentDecorator],+};++export default meta;+type Story = StoryObj<typeof ResizeHandle>;++export const Resizable: Story = {+ render: () => <ResizableDemo />,+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const resizableArea = canvas.getByTestId('resizable-area');+ const handle = resizableArea.nextElementSibling as HTMLElement;++ await expect(resizableArea).toHaveStyle({ height: `${INITIAL_HEIGHT}px` });++ // Split pointer calls so React flushes state between pointerdown and pointermove+ await userEvent.pointer({+ keys: '[MouseLeft>]',+ target: handle,+ coords: { x: 0, y: 100 },+ });+ await userEvent.pointer({ target: handle, coords: { x: 0, y: 200 } });+ await userEvent.pointer({ keys: '[/MouseLeft]' });++ await expect(resizableArea).toHaveStyle({+ height: `${INITIAL_HEIGHT + 100}px`,+ });+ },+};diff --git a/packages/twenty-ui/src/layout/resize-handle/hooks/useResizeHandle.ts b/packages/twenty-ui/src/layout/resize-handle/hooks/useResizeHandle.tsnew file mode 100644index 00000000000..57d17ca52fd--- /dev/null+++ b/packages/twenty-ui/src/layout/resize-handle/hooks/useResizeHandle.ts@@ -0,0 +1,44 @@+import { useState, type PointerEvent } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++const RESIZE_MIN_SIZE = 50;+const RESIZE_MAX_SIZE = 500;++export const useResizeHandle = ({+ initialSize,+ axis = 'y',+}: {+ initialSize: number;+ axis?: 'x' | 'y';+}) => {+ const [size, setSize] = useState(initialSize);+ const [resizeStartState, setResizeStartState] = useState<{+ startPosition: number;+ startSize: number;+ } | null>(null);++ const handleResizeStart = (event: PointerEvent) => {+ (event.target as HTMLElement).setPointerCapture(event.pointerId);+ const startPosition = axis === 'y' ? event.clientY : event.clientX;+ setResizeStartState({ startPosition, startSize: size });+ };++ const handleResizeMove = (event: PointerEvent) => {+ if (!isDefined(resizeStartState)) {+ return;+ }+ const currentPosition = axis === 'y' ? event.clientY : event.clientX;+ const delta = currentPosition - resizeStartState.startPosition;+ const newSize = Math.min(+ RESIZE_MAX_SIZE,+ Math.max(RESIZE_MIN_SIZE, resizeStartState.startSize + delta),+ );+ setSize(newSize);+ };++ const handleResizeEnd = () => {+ setResizeStartState(null);+ };++ return { size, handleResizeStart, handleResizeMove, handleResizeEnd };+};diff --git a/packages/twenty-ui/src/layout/section/components/Section.module.scss b/packages/twenty-ui/src/layout/section/components/Section.module.scssnew file mode 100644index 00000000000..120ebb16e84--- /dev/null+++ b/packages/twenty-ui/src/layout/section/components/Section.module.scss@@ -0,0 +1,27 @@+.section {+ width: auto;+}++.fullWidth {+ width: 100%;+}++.left {+ text-align: left;+}++.center {+ text-align: center;+}++.primary {+ color: var(--t-font-color-primary);+}++.secondary {+ color: var(--t-font-color-secondary);+}++.tertiary {+ color: var(--t-font-color-tertiary);+}diff --git a/packages/twenty-ui/src/layout/section/components/Section.module.scss.d.ts b/packages/twenty-ui/src/layout/section/components/Section.module.scss.d.tsnew file mode 100644index 00000000000..b3cc91a7d51--- /dev/null+++ b/packages/twenty-ui/src/layout/section/components/Section.module.scss.d.ts@@ -0,0 +1,10 @@+declare const classNames: {+ readonly section: 'section';+ readonly fullWidth: 'fullWidth';+ readonly left: 'left';+ readonly center: 'center';+ readonly primary: 'primary';+ readonly secondary: 'secondary';+ readonly tertiary: 'tertiary';+};+export default classNames;diff --git a/packages/twenty-ui/src/layout/section/components/Section.tsx b/packages/twenty-ui/src/layout/section/components/Section.tsxnew file mode 100644index 00000000000..1eec1d53411--- /dev/null+++ b/packages/twenty-ui/src/layout/section/components/Section.tsx@@ -0,0 +1,45 @@+import { clsx } from 'clsx';+import { type ReactNode } from 'react';++import styles from './Section.module.scss';++type SectionProps = {+ children: ReactNode;+ className?: string;+ alignment?: SectionAlignment;+ fullWidth?: boolean;+ fontColor?: SectionFontColor;+};++export enum SectionAlignment {+ Left = 'left',+ Center = 'center',+}++export enum SectionFontColor {+ Primary = 'primary',+ Secondary = 'secondary',+ Tertiary = 'tertiary',+}++export const Section = ({+ children,+ className,+ alignment = SectionAlignment.Left,+ fullWidth = true,+ fontColor = SectionFontColor.Primary,+}: SectionProps) => {+ return (+ <div+ className={clsx(+ styles.section,+ styles[alignment],+ styles[fontColor],+ fullWidth && styles.fullWidth,+ className,+ )}+ >+ {children}+ </div>+ );+};diff --git a/packages/twenty-ui/src/layout/section/components/__stories__/Section.stories.tsx b/packages/twenty-ui/src/layout/section/components/__stories__/Section.stories.tsxnew file mode 100644index 00000000000..82a844e6382--- /dev/null+++ b/packages/twenty-ui/src/layout/section/components/__stories__/Section.stories.tsx@@ -0,0 +1,33 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { ComponentDecorator } from '@ui/testing';++import { Section, SectionAlignment, SectionFontColor } from '../Section';++const meta: Meta<typeof Section> = {+ title: 'UI/Layout/Section',+ component: Section,+ decorators: [ComponentDecorator],+};++export default meta;+type Story = StoryObj<typeof Section>;++export const Default: Story = {+ args: {+ children: 'Section content goes here',+ },+};++export const Centered: Story = {+ args: {+ children: 'Centered section content',+ alignment: SectionAlignment.Center,+ },+};++export const SecondaryColor: Story = {+ args: {+ children: 'Secondary font color section',+ fontColor: SectionFontColor.Secondary,+ },+};diff --git a/packages/twenty-ui/src/navigation/index.ts b/packages/twenty-ui/src/navigation/index.tsindex a3046804c03..52f8997f2bb 100644--- a/packages/twenty-ui/src/navigation/index.ts+++ b/packages/twenty-ui/src/navigation/index.ts@@ -7,4 +7,73 @@* |___/*/-export {};+export { AdvancedSettingsToggle } from './link/components/AdvancedSettingsToggle';+export { ClickToActionLink } from './link/components/ClickToActionLink';+export { ContactLink } from './link/components/ContactLink';+export { GithubVersionLink } from './link/components/GithubVersionLink';+export { RawLink } from './link/components/RawLink';+export { RoundedLink } from './link/components/RoundedLink';+export { LinkType, SocialLink } from './link/components/SocialLink';+export { UndecoratedLink } from './link/components/UndecoratedLink';+export { CAL_LINK } from './link/constants/Cal';+export { GITHUB_LINK } from './link/constants/GithubLink';+export { TWENTY_PRICING_LINK } from './link/constants/TwentyPricingLink';+export type { MenuPickerProps } from './menu/components/MenuPicker';+export { MenuPicker } from './menu/components/MenuPicker';+export type {+ MenuItemIconButton,+ MenuItemProps,+} from './menu/menu-item/components/MenuItem';+export { MenuItem } from './menu/menu-item/components/MenuItem';+export type { MenuItemAvatarProps } from './menu/menu-item/components/MenuItemAvatar';+export { MenuItemAvatar } from './menu/menu-item/components/MenuItemAvatar';+export type { MenuItemDraggableProps } from './menu/menu-item/components/MenuItemDraggable';+export { MenuItemDraggable } from './menu/menu-item/components/MenuItemDraggable';+export type { MenuItemHotKeysProps } from './menu/menu-item/components/MenuItemHotKeys';+export { MenuItemHotKeys } from './menu/menu-item/components/MenuItemHotKeys';+export { MenuItemMultiSelect } from './menu/menu-item/components/MenuItemMultiSelect';+export { MenuItemMultiSelectAvatar } from './menu/menu-item/components/MenuItemMultiSelectAvatar';+export { MenuItemMultiSelectTag } from './menu/menu-item/components/MenuItemMultiSelectTag';+export type { MenuItemNavigateProps } from './menu/menu-item/components/MenuItemNavigate';+export { MenuItemNavigate } from './menu/menu-item/components/MenuItemNavigate';+export {+ StyledMenuItemSelect,+ MenuItemSelect,+} from './menu/menu-item/components/MenuItemSelect';+export { MenuItemSelectAvatar } from './menu/menu-item/components/MenuItemSelectAvatar';+export { MenuItemSelectColor } from './menu/menu-item/components/MenuItemSelectColor';+export { MenuItemSelectTag } from './menu/menu-item/components/MenuItemSelectTag';+export type { MenuItemSuggestionProps } from './menu/menu-item/components/MenuItemSuggestion';+export { MenuItemSuggestion } from './menu/menu-item/components/MenuItemSuggestion';+export type { MenuItemToggleProps } from './menu/menu-item/components/MenuItemToggle';+export { MenuItemToggle } from './menu/menu-item/components/MenuItemToggle';+export type { ColorLabels } from './menu/menu-item/constants/DefaultColorLabels';+export { DEFAULT_COLOR_LABELS } from './menu/menu-item/constants/DefaultColorLabels';+export type { MenuItemIconProps } from './menu/menu-item/internals/components/MenuItemIcon';+export { MenuItemIcon } from './menu/menu-item/internals/components/MenuItemIcon';+export {+ StyledIconContainer,+ MenuItemIconBoxContainer,+} from './menu/menu-item/internals/components/MenuItemIconBoxContainer';+export type { MenuItemIconWithGripSwapProps } from './menu/menu-item/internals/components/MenuItemIconWithGripSwap';+export { MenuItemIconWithGripSwap } from './menu/menu-item/internals/components/MenuItemIconWithGripSwap';+export { MenuItemLeftContent } from './menu/menu-item/internals/components/MenuItemLeftContent';+export type { MenuItemBaseProps } from './menu/menu-item/internals/components/StyledMenuItemBase';+export {+ StyledMenuItemBase,+ StyledMenuItemLabel,+ StyledMenuItemLabelLight,+ StyledNoIconFiller,+ StyledMenuItemLeftContent,+ StyledMenuItemRightContent,+ StyledDraggableItem,+ StyledHoverableMenuItemBase,+ StyledMenuItemIconCheck,+ StyledMenuItemContextualText,+ StyledRightMenuItemContextualText,+} from './menu/menu-item/internals/components/StyledMenuItemBase';+export type { MenuItemAccent } from './menu/menu-item/types/MenuItemAccent';+export type { MenuItemDraggableGripMode } from './menu/menu-item/types/MenuItemDraggableGripMode';+export { NavigationBar } from './navigation-bar/components/NavigationBar';+export { NavigationBarItem } from './navigation-bar/components/NavigationBarItem';+export { NotificationCounter } from './notification-counter/components/NotificationCounter';diff --git a/packages/twenty-ui/src/navigation/link/components/AdvancedSettingsToggle.module.scss b/packages/twenty-ui/src/navigation/link/components/AdvancedSettingsToggle.module.scssnew file mode 100644index 00000000000..31f65dedb26--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/AdvancedSettingsToggle.module.scss@@ -0,0 +1,29 @@+.container {+ align-items: center;+ display: flex;+ gap: var(--t-spacing-2);+ position: relative;+ height: var(--t-spacing-5);+ padding: var(--t-spacing-1);+}++.text {+ color: var(--t-font-color-secondary);+ font-size: var(--t-font-size-sm);+ font-weight: var(--t-font-weight-medium);+}++.iconContainer {+ align-items: center;+ display: flex;+ left: calc(-1 * var(--t-spacing-5));+ position: absolute;+}++.toggleContainer {+ align-items: center;+ cursor: pointer;+ display: flex;+ justify-content: space-between;+ width: 100%;+}diff --git a/packages/twenty-ui/src/navigation/link/components/AdvancedSettingsToggle.module.scss.d.ts b/packages/twenty-ui/src/navigation/link/components/AdvancedSettingsToggle.module.scss.d.tsnew file mode 100644index 00000000000..2b7d587101d--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/AdvancedSettingsToggle.module.scss.d.ts@@ -0,0 +1,7 @@+declare const classNames: {+ readonly container: 'container';+ readonly text: 'text';+ readonly iconContainer: 'iconContainer';+ readonly toggleContainer: 'toggleContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/link/components/AdvancedSettingsToggle.tsx b/packages/twenty-ui/src/navigation/link/components/AdvancedSettingsToggle.tsxnew file mode 100644index 00000000000..07f014619ac--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/AdvancedSettingsToggle.tsx@@ -0,0 +1,45 @@+import { IconPoint } from '@ui/display';+import { Toggle } from '@ui/input';+import { ThemeContext } from '@ui/theme-constants';+import { useContext, useId } from 'react';++import styles from './AdvancedSettingsToggle.module.scss';++type AdvancedSettingsToggleProps = {+ isAdvancedModeEnabled: boolean;+ setIsAdvancedModeEnabled: (enabled: boolean) => void;+ label?: string;+};++export const AdvancedSettingsToggle = ({+ isAdvancedModeEnabled,+ setIsAdvancedModeEnabled,+ label = 'Advanced:',+}: AdvancedSettingsToggleProps) => {+ const { theme } = useContext(ThemeContext);++ const onChange = (newValue: boolean) => {+ setIsAdvancedModeEnabled(newValue);+ };+ const instanceId = useId();++ const yellowColor = theme.color.yellow;++ return (+ <div className={styles.container}>+ <div className={styles.iconContainer}>+ <IconPoint size={12} color={yellowColor} fill={yellowColor} />+ </div>+ <label className={styles.toggleContainer} htmlFor={instanceId}>+ <div className={styles.text}>{label}</div>++ <Toggle+ id={instanceId}+ onChange={onChange}+ color={yellowColor}+ value={isAdvancedModeEnabled}+ />+ </label>+ </div>+ );+};diff --git a/packages/twenty-ui/src/navigation/link/components/ClickToActionLink.module.scss b/packages/twenty-ui/src/navigation/link/components/ClickToActionLink.module.scssnew file mode 100644index 00000000000..8da9cc4d81e--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/ClickToActionLink.module.scss@@ -0,0 +1,16 @@+.root {+ align-items: center;+ color: var(--t-font-color-light);+ display: flex;+ font-size: var(--t-font-size-sm);+ font-weight: var(--t-font-weight-medium);+ gap: var(--t-spacing-1);+ padding: 0 var(--t-spacing-1);+ text-decoration: none;+ white-space: nowrap;++ &:hover {+ color: var(--t-font-color-tertiary);+ cursor: pointer;+ }+}diff --git a/packages/twenty-ui/src/navigation/link/components/ClickToActionLink.module.scss.d.ts b/packages/twenty-ui/src/navigation/link/components/ClickToActionLink.module.scss.d.tsnew file mode 100644index 00000000000..4d6743c3dcd--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/ClickToActionLink.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly root: 'root';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/link/components/ClickToActionLink.tsx b/packages/twenty-ui/src/navigation/link/components/ClickToActionLink.tsxnew file mode 100644index 00000000000..18d4637c924--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/ClickToActionLink.tsx@@ -0,0 +1,22 @@+import { clsx } from 'clsx';+import React from 'react';++import styles from './ClickToActionLink.module.scss';++type ClickToActionLinkProps = React.ComponentProps<'a'> & {+ className?: string;+};++export const ClickToActionLink = (props: ClickToActionLinkProps) => {+ return (+ <a+ className={clsx(styles.root, props.className)}+ href={props.href}+ onClick={props.onClick}+ target={props.target}+ rel={props.rel}+ >+ {props.children}+ </a>+ );+};diff --git a/packages/twenty-ui/src/navigation/link/components/ContactLink.module.scss b/packages/twenty-ui/src/navigation/link/components/ContactLink.module.scssnew file mode 100644index 00000000000..76bb4505753--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/ContactLink.module.scss@@ -0,0 +1,15 @@+.root {+ color: inherit;+ overflow: hidden;+ text-decoration: underline;+ text-decoration-color: var(--t-border-color-strong);+ text-overflow: ellipsis;+ white-space: nowrap;+ width: 100%;++ max-width: var(--contact-link-max-width);++ &:hover {+ text-decoration-color: var(--t-font-color-primary);+ }+}diff --git a/packages/twenty-ui/src/navigation/link/components/ContactLink.module.scss.d.ts b/packages/twenty-ui/src/navigation/link/components/ContactLink.module.scss.d.tsnew file mode 100644index 00000000000..4d6743c3dcd--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/ContactLink.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly root: 'root';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/link/components/ContactLink.tsx b/packages/twenty-ui/src/navigation/link/components/ContactLink.tsxnew file mode 100644index 00000000000..92f8ae4d3aa--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/ContactLink.tsx@@ -0,0 +1,33 @@+import * as React from 'react';++import styles from './ContactLink.module.scss';++type ContactLinkProps = {+ href: string;+ children?: React.ReactNode;+ onClick?: (event: React.MouseEvent<HTMLElement>) => void;+ maxWidth?: number;+};++export const ContactLink = ({+ href,+ children,+ onClick,+ maxWidth,+}: ContactLinkProps) => {+ return (+ <a+ className={styles.root}+ style={+ {+ '--contact-link-max-width': maxWidth ?? '100%',+ } as React.CSSProperties+ }+ target="_blank"+ onClick={onClick}+ href={href}+ >+ {children}+ </a>+ );+};diff --git a/packages/twenty-ui/src/navigation/link/components/GithubVersionLink.tsx b/packages/twenty-ui/src/navigation/link/components/GithubVersionLink.tsxnew file mode 100644index 00000000000..d045e5bf12b--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/GithubVersionLink.tsx@@ -0,0 +1,20 @@+import { IconBrandGithub } from '@ui/display';+import { ClickToActionLink } from '@ui/navigation/link/components/ClickToActionLink';+import { GITHUB_LINK } from '../constants/GithubLink';+import { ThemeContext } from '@ui/theme-constants';+import { useContext } from 'react';++interface GithubVersionLinkProps {+ version: string;+}++export const GithubVersionLink = ({ version }: GithubVersionLinkProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <ClickToActionLink href={GITHUB_LINK} target="_blank" rel="noreferrer">+ <IconBrandGithub size={theme.icon.size.md} />+ {version}+ </ClickToActionLink>+ );+};diff --git a/packages/twenty-ui/src/navigation/link/components/RawLink.module.scss b/packages/twenty-ui/src/navigation/link/components/RawLink.module.scssnew file mode 100644index 00000000000..aee5531c7b7--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/RawLink.module.scss@@ -0,0 +1,11 @@+.clickable {+ display: flex;+ overflow: hidden;+ white-space: nowrap;++ a {+ color: inherit;+ overflow: hidden;+ text-overflow: ellipsis;+ }+}diff --git a/packages/twenty-ui/src/navigation/link/components/RawLink.module.scss.d.ts b/packages/twenty-ui/src/navigation/link/components/RawLink.module.scss.d.tsnew file mode 100644index 00000000000..2dba195b149--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/RawLink.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly clickable: 'clickable';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/link/components/RawLink.tsx b/packages/twenty-ui/src/navigation/link/components/RawLink.tsxnew file mode 100644index 00000000000..841e8694b03--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/RawLink.tsx@@ -0,0 +1,27 @@+import { clsx } from 'clsx';+import * as React from 'react';+import { Link as ReactLink } from 'react-router-dom';++import styles from './RawLink.module.scss';++type RawLinkProps = {+ className?: string;+ href: string;+ children?: React.ReactNode;+ onClick?: (event: React.MouseEvent<HTMLElement>) => void;+};++export const RawLink = ({+ className,+ href,+ children,+ onClick,+}: RawLinkProps) => (+ <div>+ <div className={clsx(styles.clickable, className)}>+ <ReactLink target="_blank" onClick={onClick} to={href}>+ {children}+ </ReactLink>+ </div>+ </div>+);diff --git a/packages/twenty-ui/src/navigation/link/components/RoundedLink.module.scss b/packages/twenty-ui/src/navigation/link/components/RoundedLink.module.scssnew file mode 100644index 00000000000..61a13d67468--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/RoundedLink.module.scss@@ -0,0 +1,31 @@+.root {+ align-items: center;+ background-color: var(--t-background-transparent-lighter);+ border: 1px solid var(--t-border-color-strong);+ border-radius: 50px;+ // Height and max-width are sized against the content box.+ box-sizing: content-box;+ color: var(--t-font-color-primary);+ cursor: pointer;+ display: inline-flex;+ font-weight: var(--t-font-size-md);+ gap: var(--t-spacing-1);+ height: 10px;+ justify-content: center;+ max-width: calc(100% - var(--t-spacing-multiplicator) * 2px);+ min-width: fit-content;+ overflow: hidden;+ padding: var(--t-spacing-1) var(--t-spacing-2);+ text-decoration: none;+ text-overflow: ellipsis;+ user-select: none;+ white-space: nowrap;++ &:hover {+ background-color: var(--t-background-transparent-light);+ }++ &:active {+ background-color: var(--t-background-transparent-medium);+ }+}diff --git a/packages/twenty-ui/src/navigation/link/components/RoundedLink.module.scss.d.ts b/packages/twenty-ui/src/navigation/link/components/RoundedLink.module.scss.d.tsnew file mode 100644index 00000000000..4d6743c3dcd--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/RoundedLink.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly root: 'root';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/link/components/RoundedLink.tsx b/packages/twenty-ui/src/navigation/link/components/RoundedLink.tsxnew file mode 100644index 00000000000..65c57ebe3b0--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/RoundedLink.tsx@@ -0,0 +1,40 @@+import { isNonEmptyString } from '@sniptt/guards';+import { clsx } from 'clsx';+import { type MouseEvent } from 'react';++import styles from './RoundedLink.module.scss';++type RoundedLinkProps = {+ href: string;+ label?: string;+ onClick?: (event: React.MouseEvent<HTMLElement>) => void;+ className?: string;+};++export const RoundedLink = ({+ label,+ href,+ onClick,+ className,+}: RoundedLinkProps) => {+ if (!isNonEmptyString(label)) {+ return <></>;+ }++ const handleClick = (event: MouseEvent<HTMLElement>) => {+ event.stopPropagation();+ onClick?.(event);+ };++ return (+ <a+ href={href}+ target="_blank"+ rel="noreferrer"+ onClick={handleClick}+ className={clsx(styles.root, className)}+ >+ {label}+ </a>+ );+};diff --git a/packages/twenty-ui/src/navigation/link/components/SocialLink.tsx b/packages/twenty-ui/src/navigation/link/components/SocialLink.tsxnew file mode 100644index 00000000000..13b69a24db0--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/SocialLink.tsx@@ -0,0 +1,25 @@+import * as React from 'react';++import { RoundedLink } from '@ui/navigation/link/components/RoundedLink';+import { getDisplayValueByUrlType } from '@ui/utilities';++export enum LinkType {+ Url = 'url',+ LinkedIn = 'linkedin',+ Twitter = 'twitter',+ Facebook = 'facebook',+}++type SocialLinkProps = {+ label: string;+ href: string;+ type: LinkType;+ onClick?: (event: React.MouseEvent<HTMLElement>) => void;+};++export const SocialLink = ({ label, href, onClick, type }: SocialLinkProps) => {+ const displayValue =+ getDisplayValueByUrlType({ type: type, href: href }) ?? label;++ return <RoundedLink href={href} onClick={onClick} label={displayValue} />;+};diff --git a/packages/twenty-ui/src/navigation/link/components/UndecoratedLink.module.scss b/packages/twenty-ui/src/navigation/link/components/UndecoratedLink.module.scssnew file mode 100644index 00000000000..104971c1f71--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/UndecoratedLink.module.scss@@ -0,0 +1,3 @@+.undecoratedLink {+ text-decoration: none;+}diff --git a/packages/twenty-ui/src/navigation/link/components/UndecoratedLink.module.scss.d.ts b/packages/twenty-ui/src/navigation/link/components/UndecoratedLink.module.scss.d.tsnew file mode 100644index 00000000000..df9d63d432b--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/UndecoratedLink.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly undecoratedLink: 'undecoratedLink';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/link/components/UndecoratedLink.tsx b/packages/twenty-ui/src/navigation/link/components/UndecoratedLink.tsxnew file mode 100644index 00000000000..2fb08926390--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/UndecoratedLink.tsx@@ -0,0 +1,32 @@+import React from 'react';+import { Link } from 'react-router-dom';++import styles from './UndecoratedLink.module.scss';++type UndecoratedLinkProps = {+ to: string | number;+ children: React.ReactNode;+ replace?: boolean;+ onClick?: React.MouseEventHandler<HTMLAnchorElement>;+ fullWidth?: boolean;+};++export const UndecoratedLink = ({+ children,+ to,+ replace = false,+ onClick,+ fullWidth = false,+}: UndecoratedLinkProps) => {+ return (+ <Link+ to={to as string}+ replace={replace}+ onClick={onClick}+ className={styles.undecoratedLink}+ style={fullWidth ? { width: '100%' } : undefined}+ >+ {children}+ </Link>+ );+};diff --git a/packages/twenty-ui/src/navigation/link/components/__stories__/ClickToActionLink.stories.tsx b/packages/twenty-ui/src/navigation/link/components/__stories__/ClickToActionLink.stories.tsxnew file mode 100644index 00000000000..52d12a502c4--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/__stories__/ClickToActionLink.stories.tsx@@ -0,0 +1,28 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { ClickToActionLink } from '@ui/navigation/link/components/ClickToActionLink';+import { ComponentDecorator } from '@ui/testing';++const meta: Meta<typeof ClickToActionLink> = {+ title: 'UI/navigation/link/ClickToActionLink',+ component: ClickToActionLink,+};++export default meta;+type Story = StoryObj<typeof ClickToActionLink>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ children: 'Need to reset your password?',+ onClick: () => alert('Action link clicked'),+ target: undefined,+ rel: undefined,+ },+ argTypes: {+ href: { control: false },+ target: { type: 'string' },+ rel: { type: 'string' },+ },+ decorators: [ComponentDecorator],+};diff --git a/packages/twenty-ui/src/navigation/link/components/__stories__/ContactLink.stories.tsx b/packages/twenty-ui/src/navigation/link/components/__stories__/ContactLink.stories.tsxnew file mode 100644index 00000000000..a4f931d496d--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/__stories__/ContactLink.stories.tsx@@ -0,0 +1,34 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { fn } from 'storybook/test';++import { ComponentWithRouterDecorator } from '@ui/testing';+import { ContactLink } from '../ContactLink';++const meta: Meta<typeof ContactLink> = {+ title: 'UI/Navigation/Link/ContactLink',+ component: ContactLink,+ decorators: [ComponentWithRouterDecorator],+ args: {+ href: '/test',+ children: 'Contact Link',+ },+};++export default meta;+type Story = StoryObj<typeof ContactLink>;+const clickJestFn = fn();++export const Email: Story = {+ args: {+ href: `mailto:${'[email protected]'}`,+ children: '[email protected]',+ onClick: clickJestFn,+ },+};++export const Phone: Story = {+ args: {+ children: '11111111111',+ onClick: clickJestFn,+ },+};diff --git a/packages/twenty-ui/src/navigation/link/components/__stories__/GithubVersionLink.stories.tsx b/packages/twenty-ui/src/navigation/link/components/__stories__/GithubVersionLink.stories.tsxnew file mode 100644index 00000000000..33726d68341--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/__stories__/GithubVersionLink.stories.tsx@@ -0,0 +1,18 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { ComponentWithRouterDecorator } from '@ui/testing';+import { GithubVersionLink } from '../GithubVersionLink';++const meta: Meta<typeof GithubVersionLink> = {+ title: 'UI/Navigation/Link/GithubVersionLink',+ component: GithubVersionLink,+ decorators: [ComponentWithRouterDecorator],+};++export default meta;+type Story = StoryObj<typeof GithubVersionLink>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+};diff --git a/packages/twenty-ui/src/navigation/link/components/__stories__/RawLink.stories.tsx b/packages/twenty-ui/src/navigation/link/components/__stories__/RawLink.stories.tsxnew file mode 100644index 00000000000..20ab59746d7--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/__stories__/RawLink.stories.tsx@@ -0,0 +1,35 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { expect, fn, userEvent, within } from 'storybook/test';++import { ComponentWithRouterDecorator } from '@ui/testing';+import { RawLink } from '../RawLink';++const meta: Meta<typeof RawLink> = {+ title: 'UI/Navigation/Link/RawLink',+ component: RawLink,+ decorators: [ComponentWithRouterDecorator],+ args: {+ className: 'RawLink',+ href: '/test',+ children: 'Raw Link',+ },+};++export default meta;+type Story = StoryObj<typeof RawLink>;+const clickJestFn = fn();++export const Default: Story = {+ args: {+ onClick: clickJestFn,+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ await expect(clickJestFn).toHaveBeenCalledTimes(0);+ const link = canvas.getByRole('link');+ await userEvent.click(link);++ await expect(clickJestFn).toHaveBeenCalledTimes(1);+ },+};diff --git a/packages/twenty-ui/src/navigation/link/components/__stories__/RoundedLink.stories.tsx b/packages/twenty-ui/src/navigation/link/components/__stories__/RoundedLink.stories.tsxnew file mode 100644index 00000000000..868a9ccd54d--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/__stories__/RoundedLink.stories.tsx@@ -0,0 +1,34 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { expect, fn, userEvent, within } from 'storybook/test';++import { ComponentWithRouterDecorator } from '@ui/testing';+import { RoundedLink } from '../RoundedLink';++const meta: Meta<typeof RoundedLink> = {+ title: 'UI/Navigation/Link/RoundedLink',+ component: RoundedLink,+ decorators: [ComponentWithRouterDecorator],+ args: {+ href: '/test',+ label: 'Rounded chip',+ },+};++export default meta;+type Story = StoryObj<typeof RoundedLink>;+const clickJestFn = fn();++export const Default: Story = {+ args: {+ onClick: clickJestFn,+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ await expect(clickJestFn).toHaveBeenCalledTimes(0);+ const link = canvas.getByRole('link');+ await userEvent.click(link);++ await expect(clickJestFn).toHaveBeenCalledTimes(1);+ },+};diff --git a/packages/twenty-ui/src/navigation/link/components/__stories__/SocialLink.stories.tsx b/packages/twenty-ui/src/navigation/link/components/__stories__/SocialLink.stories.tsxnew file mode 100644index 00000000000..fe3b1f51a07--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/__stories__/SocialLink.stories.tsx@@ -0,0 +1,49 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { expect, fn, userEvent, within } from 'storybook/test';++import { ComponentWithRouterDecorator } from '@ui/testing';+import { LinkType, SocialLink } from '../SocialLink';++const meta: Meta<typeof SocialLink> = {+ title: 'UI/Navigation/Link/SocialLink',+ component: SocialLink,+ decorators: [ComponentWithRouterDecorator],+ args: {+ href: '/test',+ label: 'Social Link',+ },+};++export default meta;+type Story = StoryObj<typeof SocialLink>;+const clickJestFn = fn();++const linkedin: LinkType = LinkType.LinkedIn;+const twitter: LinkType = LinkType.Twitter;++export const LinkedIn: Story = {+ args: {+ href: '/LinkedIn',+ label: 'LinkedIn',+ onClick: clickJestFn,+ type: linkedin,+ },+};++export const Twitter: Story = {+ args: {+ href: '/Twitter',+ label: 'Twitter',+ onClick: clickJestFn,+ type: twitter,+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ await expect(clickJestFn).toHaveBeenCalledTimes(0);+ const link = canvas.getByRole('link');+ await userEvent.click(link);++ await expect(clickJestFn).toHaveBeenCalledTimes(1);+ },+};diff --git a/packages/twenty-ui/src/navigation/link/components/__stories__/UndecoratedLink.stories.tsx b/packages/twenty-ui/src/navigation/link/components/__stories__/UndecoratedLink.stories.tsxnew file mode 100644index 00000000000..7ee7446e026--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/__stories__/UndecoratedLink.stories.tsx@@ -0,0 +1,30 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { UndecoratedLink } from '@ui/navigation/link/components/UndecoratedLink';+import { ComponentWithRouterDecorator } from '@ui/testing';+import { expect, userEvent, within } from 'storybook/test';++const meta: Meta<typeof UndecoratedLink> = {+ title: 'UI/navigation/link/UndecoratedLink',+ component: UndecoratedLink,+ decorators: [ComponentWithRouterDecorator],+};++export default meta;+type Story = StoryObj<typeof UndecoratedLink>;++export const Default: Story = {+ args: {+ children: 'Go Home',+ to: '/home',+ },+ play: async ({ canvasElement }) => {+ const canvas = within(canvasElement);++ const link = canvas.getByText('Go Home');++ await userEvent.click(link);++ const href = link.getAttribute('href');+ expect(href).toBe('/home');+ },+};diff --git a/packages/twenty-ui/src/navigation/link/components/index.ts b/packages/twenty-ui/src/navigation/link/components/index.tsnew file mode 100644index 00000000000..53d744ad975--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/components/index.ts@@ -0,0 +1,8 @@+export * from './AdvancedSettingsToggle';+export * from './ClickToActionLink';+export * from './ContactLink';+export * from './GithubVersionLink';+export * from './RawLink';+export * from './RoundedLink';+export * from './SocialLink';+export * from './UndecoratedLink';diff --git a/packages/twenty-ui/src/navigation/link/constants/Cal.ts b/packages/twenty-ui/src/navigation/link/constants/Cal.tsnew file mode 100644index 00000000000..3197c6d9e80--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/constants/Cal.ts@@ -0,0 +1 @@+export const CAL_LINK = 'https://cal.com/team/twenty/talk-to-us';diff --git a/packages/twenty-ui/src/navigation/link/constants/GithubLink.ts b/packages/twenty-ui/src/navigation/link/constants/GithubLink.tsnew file mode 100644index 00000000000..428859df52c--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/constants/GithubLink.ts@@ -0,0 +1 @@+export const GITHUB_LINK = 'https://github.com/twentyhq/twenty';diff --git a/packages/twenty-ui/src/navigation/link/constants/TwentyPricingLink.ts b/packages/twenty-ui/src/navigation/link/constants/TwentyPricingLink.tsnew file mode 100644index 00000000000..9edff66e846--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/constants/TwentyPricingLink.ts@@ -0,0 +1 @@+export const TWENTY_PRICING_LINK = 'https://twenty.com/pricing';diff --git a/packages/twenty-ui/src/navigation/link/index.ts b/packages/twenty-ui/src/navigation/link/index.tsnew file mode 100644index 00000000000..c46a592e013--- /dev/null+++ b/packages/twenty-ui/src/navigation/link/index.ts@@ -0,0 +1,3 @@+export * from './components';+export * from './constants/Cal';+export * from './constants/GithubLink';diff --git a/packages/twenty-ui/src/navigation/menu/components/MenuPicker.module.scss b/packages/twenty-ui/src/navigation/menu/components/MenuPicker.module.scssnew file mode 100644index 00000000000..29ce802164b--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/components/MenuPicker.module.scss@@ -0,0 +1,73 @@+.menuPicker {+ box-sizing: border-box;+ background: transparent;+ font: inherit;+ outline: inherit;+ align-items: center;+ border: 1px solid var(--t-border-color-medium);+ border-radius: var(--t-border-radius-sm);+ color: var(--t-font-color-tertiary);+ cursor: pointer;+ display: flex;+ flex-direction: column;+ gap: var(--t-spacing-1);+ justify-content: center;+ min-height: var(--t-spacing-8);+ padding: var(--t-spacing-1_5) var(--t-spacing-1);+ transition: all duration(instant) ease;+ user-select: none;+ width: 100%;++ &:hover {+ background: var(--t-background-transparent-light);+ }++ &[data-selected] {+ border-color: var(--t-color-blue);+ color: var(--t-color-blue);++ &:hover {+ background: var(--t-background-transparent-primary);+ }+ }++ &:disabled {+ background: var(--t-background-secondary);+ border-color: var(--t-border-color-medium);+ color: var(--t-font-color-extra-light);+ cursor: default;++ &:hover {+ background: var(--t-background-secondary);+ }+ }+}++.iconContainer {+ align-items: center;+ display: flex;+ flex-shrink: 0;+ height: calc(var(--t-icon-size-md) * 1px);+ justify-content: center;+ width: calc(var(--t-icon-size-md) * 1px);+}++.label {+ color: var(--t-font-color-tertiary);+ font-family: var(--t-font-family);+ font-size: var(--t-font-size-xs);+ font-weight: var(--t-font-weight-semi-bold);+ max-width: 100%;+ overflow: hidden;+ text-align: center;+ text-overflow: ellipsis;+ white-space: nowrap;++ &[data-selected] {+ color: var(--t-color-blue);+ }++ &[data-disabled] {+ color: var(--t-font-color-extra-light);+ }+}diff --git a/packages/twenty-ui/src/navigation/menu/components/MenuPicker.module.scss.d.ts b/packages/twenty-ui/src/navigation/menu/components/MenuPicker.module.scss.d.tsnew file mode 100644index 00000000000..9cf40d807d1--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/components/MenuPicker.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly menuPicker: 'menuPicker';+ readonly iconContainer: 'iconContainer';+ readonly label: 'label';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/menu/components/MenuPicker.tsx b/packages/twenty-ui/src/navigation/menu/components/MenuPicker.tsxnew file mode 100644index 00000000000..e5bd3e958b1--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/components/MenuPicker.tsx@@ -0,0 +1,88 @@+import { isNonEmptyString } from '@sniptt/guards';+import { clsx } from 'clsx';+import { useContext } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';++import {+ AppTooltip,+ TooltipDelay,+ TooltipPosition,+ type IconComponent,+} from '@ui/display';+import { ThemeContext } from '@ui/theme-constants';++import styles from './MenuPicker.module.scss';++export type MenuPickerProps = {+ id: string;+ className?: string;+ disabled?: boolean;+ icon: IconComponent;+ label?: string;+ onClick?: () => void;+ selected?: boolean;+ showLabel?: boolean;+ testId?: string;+ tooltipContent?: string;+ tooltipDelay?: TooltipDelay;+ tooltipOffset?: number;+};++export const MenuPicker = ({+ id,+ icon: Icon,+ label,+ selected = false,+ disabled = false,+ showLabel = true,+ onClick,+ className,+ testId,+ tooltipContent,+ tooltipDelay = TooltipDelay.noDelay,+ tooltipOffset = 5,+}: MenuPickerProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <>+ <button+ id={id}+ disabled={disabled}+ onClick={onClick}+ className={clsx(styles.menuPicker, className)}+ data-testid={testId}+ data-selected={selected ? '' : undefined}+ aria-pressed={selected}+ aria-disabled={disabled}+ aria-label={label}+ >+ <div className={styles.iconContainer}>+ <Icon size={theme.icon.size.md} stroke={theme.icon.stroke.sm} />+ </div>++ {isDefined(label) && showLabel && (+ <div+ className={styles.label}+ data-selected={selected ? '' : undefined}+ data-disabled={disabled ? '' : undefined}+ >+ {label}+ </div>+ )}+ </button>++ {isNonEmptyString(tooltipContent) && (+ <AppTooltip+ anchorSelect={`#${id}`}+ offset={tooltipOffset}+ content={tooltipContent}+ place={TooltipPosition.Bottom}+ positionStrategy="fixed"+ delay={tooltipDelay}+ noArrow+ />+ )}+ </>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/components/__stories__/MenuPicker.stories.module.scss b/packages/twenty-ui/src/navigation/menu/components/__stories__/MenuPicker.stories.module.scssnew file mode 100644index 00000000000..953fb6c6cb1--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/components/__stories__/MenuPicker.stories.module.scss@@ -0,0 +1,6 @@+.title {+ align-items: center;+ color: var(--t-font-color-tertiary);+ font-size: 12px;+ margin-bottom: 8px;+}diff --git a/packages/twenty-ui/src/navigation/menu/components/__stories__/MenuPicker.stories.module.scss.d.ts b/packages/twenty-ui/src/navigation/menu/components/__stories__/MenuPicker.stories.module.scss.d.tsnew file mode 100644index 00000000000..08ba7f87baf--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/components/__stories__/MenuPicker.stories.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly title: 'title';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/menu/components/__stories__/MenuPicker.stories.tsx b/packages/twenty-ui/src/navigation/menu/components/__stories__/MenuPicker.stories.tsxnew file mode 100644index 00000000000..5587673053d--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/components/__stories__/MenuPicker.stories.tsx@@ -0,0 +1,115 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconChartPie, TooltipDelay } from '@ui/display';+import { MenuPicker } from '@ui/navigation/menu/components/MenuPicker';+import { ComponentDecorator } from '@ui/testing';+import { type ReactNode } from 'react';++import styles from './MenuPicker.stories.module.scss';++const meta: Meta<typeof MenuPicker> = {+ title: 'UI/Navigation/Menu/MenuPicker',+ component: MenuPicker,+ decorators: [ComponentDecorator],+ args: {+ icon: IconChartPie,+ label: 'Chart',+ selected: false,+ disabled: false,+ showLabel: true,+ },+ argTypes: {+ icon: {+ control: false,+ },+ onClick: {+ action: 'clicked',+ },+ },+};++export default meta;+type Story = StoryObj<typeof MenuPicker>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+};++export const Selected: Story = {+ args: {+ selected: true,+ },+};++export const Disabled: Story = {+ args: {+ disabled: true,+ },+};++export const WithoutLabel: Story = {+ args: {+ showLabel: false,+ },+};++const SectionTitle = ({ children }: { children?: ReactNode }) => {+ return <h4 className={styles.title}>{children}</h4>;+};++export const AllStates: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ render: () => (+ <div+ style={{+ display: 'grid',+ gridTemplateColumns: 'repeat(4, 1fr)',+ width: '100%',+ gap: '16px',+ }}+ >+ <div>+ <SectionTitle>Default</SectionTitle>+ <MenuPicker id="default" icon={IconChartPie} label="Default" />+ </div>+ <div>+ <SectionTitle>Selected</SectionTitle>+ <MenuPicker+ id="selected"+ icon={IconChartPie}+ label="Selected"+ selected+ />+ </div>+ <div>+ <SectionTitle>Disabled</SectionTitle>+ <MenuPicker+ id="disabled"+ icon={IconChartPie}+ label="Disabled"+ disabled+ />+ </div>+ <div>+ <SectionTitle>No Label</SectionTitle>+ <MenuPicker+ id="no-label"+ icon={IconChartPie}+ label="No Label"+ showLabel={false}+ />+ </div>+ <div>+ <SectionTitle>With Tooltip</SectionTitle>+ <MenuPicker+ id="tooltip"+ icon={IconChartPie}+ label="Tooltip"+ tooltipContent="Tooltip"+ tooltipDelay={TooltipDelay.mediumDelay}+ />+ </div>+ </div>+ ),+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItem.module.scss b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItem.module.scssnew file mode 100644index 00000000000..313fe8a19fa--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItem.module.scss@@ -0,0 +1,13 @@+// Replaces the deprecated framer-motion rotate animation on the sub-menu+// chevron with an equivalent CSS transform transition.+.subMenuIcon {+ display: flex;+ align-items: center;+ justify-content: center;+ transform: rotate(0deg);+ transition: transform duration(normal) ease-in-out;+}++.subMenuIconOpened {+ transform: rotate(90deg);+}diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItem.module.scss.d.ts b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItem.module.scss.d.tsnew file mode 100644index 00000000000..4e0a52fa2a0--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItem.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly subMenuIcon: 'subMenuIcon';+ readonly subMenuIconOpened: 'subMenuIconOpened';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItem.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItem.tsxnew file mode 100644index 00000000000..6f4dc3d636f--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItem.tsx@@ -0,0 +1,155 @@+import { IconChevronRight, type IconComponent } from '@ui/display';+import { type LightIconButtonProps } from '@ui/input/button/components/LightIconButton';+import { LightIconButtonGroup } from '@ui/input/button/components/LightIconButtonGroup';+import {+ type FunctionComponent,+ type MouseEvent,+ type ReactElement,+ type ReactNode,+ useContext,+} from 'react';++import { MenuItemHotKeys } from '@ui/navigation/menu/menu-item/components/MenuItemHotKeys';+import { type ThemeColor } from '@ui/theme';+import { ThemeContext } from '@ui/theme-constants';+import { clsx } from 'clsx';+import { type Nullable } from '@ui/utilities/types/Nullable';+import { MenuItemLeftContent } from '../internals/components/MenuItemLeftContent';+import {+ StyledHoverableMenuItemBase,+ StyledMenuItemRightContent,+} from '../internals/components/StyledMenuItemBase';+import { type MenuItemAccent } from '../types/MenuItemAccent';++import styles from './MenuItem.module.scss';++export type MenuItemIconButton = {+ Wrapper?: FunctionComponent<{ iconButton: ReactElement }>;+ Icon: IconComponent;+ accent?: LightIconButtonProps['accent'];+ // eslint-disable-next-line @typescript-eslint/no-explicit-any+ onClick?: (event: MouseEvent<any>) => void;+ ariaLabel?: string;+ dataTestId?: string;+};++export type MenuItemProps = {+ accent?: MenuItemAccent;+ className?: string;+ withIconContainer?: boolean;+ withIconContainerBackground?: boolean;+ iconButtons?: MenuItemIconButton[];+ isIconDisplayedOnHoverOnly?: boolean;+ isTooltipOpen?: boolean;+ LeftIcon?: IconComponent | null;+ iconThemeColor?: ThemeColor | null;+ LeftComponent?: ReactNode;+ RightIcon?: IconComponent | null;+ RightComponent?: ReactNode;+ onClick?: (event: MouseEvent<HTMLDivElement>) => void;+ onMouseEnter?: (event: MouseEvent<HTMLDivElement>) => void;+ onMouseLeave?: (event: MouseEvent<HTMLDivElement>) => void;+ testId?: string;+ disabled?: boolean;+ text: ReactNode;+ contextualTextPosition?: 'left' | 'right';+ contextualText?: ReactNode;+ hasSubMenu?: boolean;+ focused?: boolean;+ selected?: boolean;+ hotKeys?: Nullable<string[]>;+ isSubMenuOpened?: boolean;+};++export const MenuItem = ({+ accent = 'default',+ className,+ withIconContainer = false,+ withIconContainerBackground = true,+ iconButtons,+ isIconDisplayedOnHoverOnly = true,+ LeftIcon,+ iconThemeColor,+ LeftComponent,+ RightIcon,+ RightComponent,+ onClick,+ onMouseEnter,+ onMouseLeave,+ testId,+ text,+ contextualTextPosition = 'left',+ contextualText,+ hasSubMenu = false,+ disabled = false,+ focused = false,+ selected = false,+ hotKeys,+ isSubMenuOpened = false,+}: MenuItemProps) => {+ const { theme } = useContext(ThemeContext);+ const showIconButtons = Array.isArray(iconButtons) && iconButtons.length > 0;++ const handleMenuItemClick = (event: MouseEvent<HTMLDivElement>) => {+ if (!onClick) return;+ event.preventDefault();+ event.stopPropagation();++ onClick?.(event);+ };++ return (+ <StyledHoverableMenuItemBase+ data-testid={testId ?? undefined}+ onClick={disabled ? undefined : handleMenuItemClick}+ disabled={disabled}+ className={className}+ accent={accent}+ isIconDisplayedOnHoverOnly={isIconDisplayedOnHoverOnly}+ onMouseEnter={onMouseEnter}+ onMouseLeave={onMouseLeave}+ focused={focused || selected}+ >+ <MenuItemLeftContent+ LeftIcon={LeftIcon ?? undefined}+ iconThemeColor={iconThemeColor}+ LeftComponent={LeftComponent}+ withIconContainer={withIconContainer}+ withIconContainerBackground={withIconContainerBackground}+ text={text}+ contextualText={contextualText}+ contextualTextPosition={contextualTextPosition}+ disabled={disabled}+ />++ <StyledMenuItemRightContent>+ {iconButtons && (+ <div className="hoverable-buttons">+ {showIconButtons && (+ <LightIconButtonGroup iconButtons={iconButtons} size="small" />+ )}+ </div>+ )}+ {hotKeys && <MenuItemHotKeys hotKeys={hotKeys} />}+ {RightIcon && (+ <RightIcon size={theme.icon.size.md} stroke={theme.icon.stroke.sm} />+ )}+ {RightComponent}+ {hasSubMenu && (+ <div+ className={clsx(+ styles.subMenuIcon,+ isSubMenuOpened && styles.subMenuIconOpened,+ )}+ style={{ visibility: disabled ? 'hidden' : 'visible' }}+ >+ <IconChevronRight+ size={theme.icon.size.sm}+ color={theme.font.color.light}+ />+ </div>+ )}+ </StyledMenuItemRightContent>+ </StyledHoverableMenuItemBase>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemAvatar.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemAvatar.tsxnew file mode 100644index 00000000000..920a5f47fda--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemAvatar.tsx@@ -0,0 +1,71 @@+import { Avatar, type AvatarProps } from '@ui/display';+import {+ type MenuItemIconButton,+ MenuItem,+} from '@ui/navigation/menu/menu-item/components/MenuItem';+import { type MouseEvent, type ReactNode } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';+import { type MenuItemAccent } from '../types/MenuItemAccent';++export type MenuItemAvatarProps = {+ accent?: MenuItemAccent;+ className?: string;+ iconButtons?: MenuItemIconButton[];+ isIconDisplayedOnHoverOnly?: boolean;+ isTooltipOpen?: boolean;+ avatar?: Pick<+ AvatarProps,+ 'avatarUrl' | 'placeholderColorSeed' | 'placeholder' | 'size' | 'type'+ > | null;+ onClick?: (event: MouseEvent<HTMLDivElement>) => void;+ onMouseEnter?: (event: MouseEvent<HTMLDivElement>) => void;+ onMouseLeave?: (event: MouseEvent<HTMLDivElement>) => void;+ testId?: string;+ text: string;+ hasSubMenu?: boolean;+ contextualText?: ReactNode;+};++export const MenuItemAvatar = ({+ accent = 'default',+ className,+ iconButtons,+ isIconDisplayedOnHoverOnly = true,+ isTooltipOpen,+ onClick,+ onMouseEnter,+ onMouseLeave,+ testId,+ avatar,+ hasSubMenu = false,+ text,+ contextualText,+}: MenuItemAvatarProps) => {+ return (+ <MenuItem+ accent={accent}+ className={className}+ iconButtons={iconButtons}+ isIconDisplayedOnHoverOnly={isIconDisplayedOnHoverOnly}+ isTooltipOpen={isTooltipOpen}+ LeftComponent={+ isDefined(avatar) ? (+ <Avatar+ placeholder={avatar.placeholder}+ avatarUrl={avatar.avatarUrl}+ placeholderColorSeed={avatar.placeholderColorSeed}+ size={avatar.size}+ type={avatar.type}+ />+ ) : undefined+ }+ onClick={onClick}+ onMouseEnter={onMouseEnter}+ onMouseLeave={onMouseLeave}+ testId={testId}+ text={text}+ contextualText={contextualText}+ hasSubMenu={hasSubMenu}+ />+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemDraggable.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemDraggable.tsxnew file mode 100644index 00000000000..b6e7b3db898--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemDraggable.tsx@@ -0,0 +1,69 @@+import { MenuItemLeftContent } from '../internals/components/MenuItemLeftContent';+import { StyledHoverableMenuItemBase } from '../internals/components/StyledMenuItemBase';+import { type MenuItemAccent } from '../types/MenuItemAccent';++import { type IconComponent } from '@ui/display';+import { LightIconButtonGroup } from '@ui/input';+import { type ReactNode } from 'react';+import { type MenuItemDraggableGripMode } from '../types/MenuItemDraggableGripMode';+import { type MenuItemIconButton } from './MenuItem';++export type MenuItemDraggableProps = {+ LeftIcon?: IconComponent | undefined;+ withIconContainer?: boolean;+ accent?: MenuItemAccent;+ iconButtons?: MenuItemIconButton[];+ isTooltipOpen?: boolean;+ onClick?: () => void;+ text: ReactNode;+ contextualText?: ReactNode;+ className?: string;+ isIconDisplayedOnHoverOnly?: boolean;+ gripMode?: MenuItemDraggableGripMode;+ isDragDisabled?: boolean;+ isHoverDisabled?: boolean;+};++export const MenuItemDraggable = ({+ LeftIcon,+ withIconContainer = false,+ accent = 'default',+ iconButtons,+ onClick,+ text,+ contextualText,+ isDragDisabled = false,+ className,+ isIconDisplayedOnHoverOnly = true,+ gripMode = 'never',+}: MenuItemDraggableProps) => {+ const showIconButtons = Array.isArray(iconButtons) && iconButtons.length > 0;++ const cursorType =+ gripMode !== 'never' ? (isDragDisabled ? 'default' : 'drag') : 'default';++ return (+ <StyledHoverableMenuItemBase+ onClick={onClick}+ accent={accent}+ className={className}+ isIconDisplayedOnHoverOnly={isIconDisplayedOnHoverOnly}+ cursor={cursorType}+ >+ <MenuItemLeftContent+ LeftIcon={LeftIcon}+ text={text}+ contextualText={contextualText}+ withIconContainer={withIconContainer}+ disabled={isDragDisabled}+ gripMode={gripMode}+ />+ {showIconButtons && (+ <LightIconButtonGroup+ className="hoverable-buttons"+ iconButtons={iconButtons}+ />+ )}+ </StyledHoverableMenuItemBase>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemHotKeys.module.scss b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemHotKeys.module.scssnew file mode 100644index 00000000000..bd2383bd271--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemHotKeys.module.scss@@ -0,0 +1,28 @@+.commandTextContainer {+ align-items: center;+ display: flex;+ flex-direction: row;+ gap: var(--t-spacing-1);+ justify-content: center;+}++.commandText {+ color: var(--t-font-color-light);+ vertical-align: middle;+ white-space: nowrap;+}++.commandKey {+ box-sizing: content-box;+ align-items: center;+ background-color: var(--t-background-secondary);+ border: 1px solid var(--t-border-color-strong);+ border-radius: var(--t-border-radius-sm);+ box-shadow: var(--t-box-shadow-underline);+ display: flex;+ flex-direction: column;+ height: 18px;+ justify-content: center;+ text-align: center;+ width: var(--t-spacing-4);+}diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemHotKeys.module.scss.d.ts b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemHotKeys.module.scss.d.tsnew file mode 100644index 00000000000..1488ef1ec6a--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemHotKeys.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly commandTextContainer: 'commandTextContainer';+ readonly commandText: 'commandText';+ readonly commandKey: 'commandKey';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemHotKeys.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemHotKeys.tsxnew file mode 100644index 00000000000..3d8bf740526--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemHotKeys.tsx@@ -0,0 +1,28 @@+import React from 'react';++import styles from './MenuItemHotKeys.module.scss';++export type MenuItemHotKeysProps = {+ hotKeys?: string[];+ joinLabel?: string;+};++export const MenuItemHotKeys = ({+ hotKeys,+ joinLabel = 'then',+}: MenuItemHotKeysProps) => {+ return (+ <div className={styles.commandText}>+ {hotKeys && (+ <div className={styles.commandTextContainer}>+ {hotKeys.map((hotKey, index) => (+ <React.Fragment key={index}>+ <div className={styles.commandKey}>{hotKey}</div>+ {index < hotKeys.length - 1 && joinLabel}+ </React.Fragment>+ ))}+ </div>+ )}+ </div>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelect.module.scss b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelect.module.scssnew file mode 100644index 00000000000..b097b1aa43d--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelect.module.scss@@ -0,0 +1,8 @@+.leftContentWithCheckboxContainer {+ align-items: center;+ display: flex;+ flex-direction: row;+ gap: var(--t-spacing-2);+ min-width: 0;+ overflow: hidden;+}diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelect.module.scss.d.ts b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelect.module.scss.d.tsnew file mode 100644index 00000000000..4e8d6662d7e--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelect.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly leftContentWithCheckboxContainer: 'leftContentWithCheckboxContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelect.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelect.tsxnew file mode 100644index 00000000000..a1b1b8cc9c9--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelect.tsx@@ -0,0 +1,58 @@+import { Tag } from '@ui/components';+import { type IconComponent } from '@ui/display';+import { Checkbox } from '@ui/input/components/Checkbox';+import { MenuItemLeftContent } from '@ui/navigation/menu/menu-item/internals/components/MenuItemLeftContent';+import { type ThemeColor } from '@ui/theme';+import { StyledMenuItemBase } from '../internals/components/StyledMenuItemBase';++import styles from './MenuItemMultiSelect.module.scss';++type MenuItemMultiSelectProps = {+ color?: ThemeColor;+ LeftIcon?: IconComponent;+ iconThemeColor?: ThemeColor | null;+ selected: boolean;+ isKeySelected?: boolean;+ withIconContainer?: boolean;+ text: string;+ className: string;+ onSelectChange?: (selected: boolean) => void;+};++export const MenuItemMultiSelect = ({+ color,+ LeftIcon,+ iconThemeColor,+ withIconContainer = false,+ text,+ selected,+ isKeySelected,+ className,+ onSelectChange,+}: MenuItemMultiSelectProps) => {+ const handleOnClick = () => {+ onSelectChange?.(!selected);+ };++ return (+ <StyledMenuItemBase+ isKeySelected={isKeySelected}+ className={className}+ onClick={handleOnClick}+ >+ <div className={styles.leftContentWithCheckboxContainer}>+ <Checkbox checked={selected} />+ {color ? (+ <Tag color={color} text={text} Icon={LeftIcon} />+ ) : (+ <MenuItemLeftContent+ LeftIcon={LeftIcon}+ iconThemeColor={iconThemeColor}+ text={text}+ withIconContainer={withIconContainer}+ />+ )}+ </div>+ </StyledMenuItemBase>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.module.scss b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.module.scssnew file mode 100644index 00000000000..db185a49426--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.module.scss@@ -0,0 +1,17 @@+.leftContentWithCheckboxContainer {+ align-items: center;+ display: flex;+ flex-direction: row;+ gap: var(--t-spacing-2);+ width: 100%;+}++.textContainer {+ display: flex;+ align-items: center;+ flex: 1 0 0;+ gap: var(--t-spacing-1);+ max-width: 100%;+ text-overflow: ellipsis;+ overflow: hidden;+}diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.module.scss.d.ts b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.module.scss.d.tsnew file mode 100644index 00000000000..99da9756525--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly leftContentWithCheckboxContainer: 'leftContentWithCheckboxContainer';+ readonly textContainer: 'textContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.tsxnew file mode 100644index 00000000000..bbbc368d78e--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelectAvatar.tsx@@ -0,0 +1,64 @@+import { type ReactNode } from 'react';++import { OverflowingTextWithTooltip } from '@ui/display';+import { Checkbox } from '@ui/input/components/Checkbox';+import {+ StyledMenuItemBase,+ StyledMenuItemLabel,+ StyledMenuItemLabelLight,+ StyledMenuItemLeftContent,+} from '../internals/components/StyledMenuItemBase';++import styles from './MenuItemMultiSelectAvatar.module.scss';++type MenuItemMultiSelectAvatarProps = {+ avatar?: ReactNode;+ selected: boolean;+ isKeySelected?: boolean;+ text?: string;+ contextualText?: string;+ className?: string;+ onSelectChange?: (selected: boolean) => void;+};++export const MenuItemMultiSelectAvatar = ({+ avatar,+ text,+ selected,+ contextualText,+ className,+ isKeySelected,+ onSelectChange,+}: MenuItemMultiSelectAvatarProps) => {+ const handleOnClick = () => {+ onSelectChange?.(!selected);+ };++ return (+ <StyledMenuItemBase+ className={className}+ onClick={handleOnClick}+ isKeySelected={isKeySelected}+ >+ <div className={styles.leftContentWithCheckboxContainer}>+ <Checkbox checked={selected} />+ <StyledMenuItemLeftContent>+ {avatar}+ <div className={styles.textContainer}>+ <StyledMenuItemLabel>+ <OverflowingTextWithTooltip text={text} />+ </StyledMenuItemLabel>+ {contextualText && (+ <>+ <StyledMenuItemLabelLight>·</StyledMenuItemLabelLight>+ <StyledMenuItemLabelLight>+ <OverflowingTextWithTooltip text={contextualText} />+ </StyledMenuItemLabelLight>+ </>+ )}+ </div>+ </StyledMenuItemLeftContent>+ </div>+ </StyledMenuItemBase>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelectTag.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelectTag.tsxnew file mode 100644index 00000000000..0f7e7b6b05f--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemMultiSelectTag.tsx@@ -0,0 +1,45 @@+import { Tag } from '@ui/components';+import { type IconComponent } from '@ui/display';+import { Checkbox, CheckboxShape, CheckboxSize } from '@ui/input';+import { type ThemeColor } from '@ui/theme';+import {+ StyledMenuItemBase,+ StyledMenuItemLeftContent,+} from '../internals/components/StyledMenuItemBase';++type MenuItemMultiSelectTagProps = {+ selected: boolean;+ className?: string;+ isKeySelected?: boolean;+ onClick?: () => void;+ color: ThemeColor | 'transparent';+ text: string;+ Icon?: IconComponent;+};++export const MenuItemMultiSelectTag = ({+ color,+ selected,+ className,+ onClick,+ isKeySelected,+ text,+ Icon,+}: MenuItemMultiSelectTagProps) => {+ return (+ <StyledMenuItemBase+ isKeySelected={isKeySelected}+ onClick={onClick}+ className={className}+ >+ <StyledMenuItemLeftContent>+ <Checkbox+ size={CheckboxSize.Small}+ shape={CheckboxShape.Squared}+ checked={selected}+ />+ <Tag color={color} text={text} Icon={Icon} />+ </StyledMenuItemLeftContent>+ </StyledMenuItemBase>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemNavigate.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemNavigate.tsxnew file mode 100644index 00000000000..1bd3416ae98--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemNavigate.tsx@@ -0,0 +1,42 @@+import { IconChevronRight, type IconComponent } from '@ui/display';+import { ThemeContext } from '@ui/theme-constants';+import { useContext } from 'react';+import { MenuItemLeftContent } from '../internals/components/MenuItemLeftContent';+import {+ StyledMenuItemBase,+ StyledMenuItemLeftContent,+} from '../internals/components/StyledMenuItemBase';++export type MenuItemNavigateProps = {+ LeftIcon?: IconComponent;+ withIconContainer?: boolean;+ text: string;+ onClick?: () => void;+ className?: string;+};++export const MenuItemNavigate = ({+ LeftIcon,+ withIconContainer = false,+ text,+ className,+ onClick,+}: MenuItemNavigateProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <StyledMenuItemBase onClick={onClick} className={className}>+ <StyledMenuItemLeftContent>+ <MenuItemLeftContent+ LeftIcon={LeftIcon}+ text={text}+ withIconContainer={withIconContainer}+ />+ </StyledMenuItemLeftContent>+ <IconChevronRight+ size={theme.icon.size.sm}+ color={theme.font.color.tertiary}+ />+ </StyledMenuItemBase>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelect.module.scss b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelect.module.scssnew file mode 100644index 00000000000..02951ef48c4--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelect.module.scss@@ -0,0 +1,43 @@+.menuItemSelect {+ --horizontal-padding: var(--t-spacing-1);+ --vertical-padding: var(--t-spacing-2);++ // Height and width below are sized against the content box.+ box-sizing: content-box;+ align-items: center;+ border-radius: var(--t-border-radius-sm);+ display: flex;+ flex-direction: row;+ font-size: var(--t-font-size-sm);+ gap: var(--t-spacing-2);+ height: calc(32px - 2 * var(--vertical-padding));+ justify-content: space-between;+ padding: var(--vertical-padding) var(--horizontal-padding);+ position: relative;+ user-select: none;+ width: calc(100% - 2 * var(--horizontal-padding));+ transition: background 0.1s ease;+ color: var(--t-font-color-secondary);+ cursor: pointer;+}++.menuItemSelect[data-focused],+.menuItemSelect[data-key-selected] {+ background: var(--t-background-transparent-light);+}++.menuItemSelect:hover {+ background: var(--t-background-transparent-light);+}++// Disabled wins over focused/key-selected/hover, mirroring the deprecated+// Linaria ternary order.+.menuItemSelect[data-disabled] {+ background: inherit;+ color: var(--t-font-color-tertiary);+ cursor: default;+}++.menuItemSelect[data-disabled]:hover {+ background: inherit;+}diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelect.module.scss.d.ts b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelect.module.scss.d.tsnew file mode 100644index 00000000000..eaf7bc97891--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelect.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly menuItemSelect: 'menuItemSelect';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelect.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelect.tsxnew file mode 100644index 00000000000..f4da3e2749c--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelect.tsx@@ -0,0 +1,129 @@+import { isString } from '@sniptt/guards';+import {+ IconCheck,+ IconChevronRight,+ OverflowingTextWithTooltip,+ type IconComponent,+} from '@ui/display';+import { type ThemeColor } from '@ui/theme';+import { ThemeContext } from '@ui/theme-constants';+import { clsx } from 'clsx';+import {+ type ComponentPropsWithoutRef,+ forwardRef,+ useContext,+ type ReactNode,+} from 'react';+import { MenuItemLeftContent } from '../internals/components/MenuItemLeftContent';+import {+ StyledMenuItemLabel,+ StyledMenuItemRightContent,+ StyledRightMenuItemContextualText,+} from '../internals/components/StyledMenuItemBase';++import styles from './MenuItemSelect.module.scss';++// The deprecated Linaria styled component forwarded refs and arbitrary+// native props, so the port preserves that contract.+type StyledMenuItemSelectProps = {+ disabled?: boolean;+ focused?: boolean;+ isKeySelected?: boolean;+} & ComponentPropsWithoutRef<'div'>;++export const StyledMenuItemSelect = forwardRef<+ HTMLDivElement,+ StyledMenuItemSelectProps+>(({ disabled, focused, isKeySelected, className, children, ...rest }, ref) => (+ <div+ ref={ref}+ className={clsx(styles.menuItemSelect, className)}+ data-disabled={disabled || undefined}+ data-focused={focused || undefined}+ data-key-selected={isKeySelected || undefined}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ >+ {children}+ </div>+));++StyledMenuItemSelect.displayName = 'StyledMenuItemSelect';++type MenuItemSelectProps = {+ LeftIcon?: IconComponent | null | undefined;+ leftIconColor?: ThemeColor | null;+ withIconContainer?: boolean;+ selected: boolean;+ needIconCheck?: boolean;+ text: string;+ className?: string;+ onClick?: () => void;+ disabled?: boolean;+ focused?: boolean;+ hasSubMenu?: boolean;+ contextualText?: ReactNode;+ contextualTextPosition?: 'left' | 'right';+};++export const MenuItemSelect = ({+ LeftIcon,+ leftIconColor,+ withIconContainer = false,+ text,+ selected,+ needIconCheck = true,+ className,+ onClick,+ disabled,+ focused,+ hasSubMenu = false,+ contextualText,+ contextualTextPosition = 'left',+}: MenuItemSelectProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <StyledMenuItemSelect+ onClick={onClick}+ className={className}+ disabled={disabled}+ focused={focused}+ role="option"+ aria-selected={selected}+ aria-disabled={disabled}+ >+ <MenuItemLeftContent+ LeftIcon={LeftIcon}+ iconThemeColor={leftIconColor}+ text={text}+ contextualText={+ contextualTextPosition === 'left' ? contextualText : null+ }+ withIconContainer={withIconContainer}+ />+ <StyledMenuItemRightContent>+ {contextualTextPosition === 'right' && (+ <StyledMenuItemLabel>+ {isString(contextualText) ? (+ <StyledRightMenuItemContextualText>+ <OverflowingTextWithTooltip text={contextualText} />+ </StyledRightMenuItemContextualText>+ ) : (+ contextualText+ )}+ </StyledMenuItemLabel>+ )}++ {selected && needIconCheck && <IconCheck size={theme.icon.size.md} />}++ {hasSubMenu && (+ <IconChevronRight+ size={theme.icon.size.sm}+ color={theme.font.color.tertiary}+ />+ )}+ </StyledMenuItemRightContent>+ </StyledMenuItemSelect>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectAvatar.module.scss b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectAvatar.module.scssnew file mode 100644index 00000000000..3364391087d--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectAvatar.module.scss@@ -0,0 +1,9 @@+.textContainer {+ display: flex;+ align-items: center;+ flex: 1 0 0;+ gap: var(--t-spacing-1);+ max-width: 100%;+ text-overflow: ellipsis;+ overflow: hidden;+}diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectAvatar.module.scss.d.ts b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectAvatar.module.scss.d.tsnew file mode 100644index 00000000000..6ae17db92a3--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectAvatar.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly textContainer: 'textContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectAvatar.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectAvatar.tsxnew file mode 100644index 00000000000..95083ae71b3--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectAvatar.tsx@@ -0,0 +1,71 @@+import { type ReactNode, useContext } from 'react';++import {+ StyledMenuItemIconCheck,+ StyledMenuItemLabel,+ StyledMenuItemLabelLight,+ StyledMenuItemLeftContent,+} from '../internals/components/StyledMenuItemBase';++import { OverflowingTextWithTooltip } from '@ui/display';+import { ThemeContext } from '@ui/theme-constants';+import { StyledMenuItemSelect } from './MenuItemSelect';++import styles from './MenuItemSelectAvatar.module.scss';++type MenuItemSelectAvatarProps = {+ avatar?: ReactNode;+ selected: boolean;+ text: string;+ contextualText?: string;+ className?: string;+ onClick?: (event?: React.MouseEvent) => void;+ disabled?: boolean;+ focused?: boolean;+ testId?: string;+};++export const MenuItemSelectAvatar = ({+ avatar,+ text,+ contextualText,+ selected,+ className,+ onClick,+ disabled,+ focused,+ testId,+}: MenuItemSelectAvatarProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <StyledMenuItemSelect+ onClick={onClick}+ className={className}+ disabled={disabled}+ focused={focused}+ data-testid={testId}+ role="option"+ aria-selected={selected}+ aria-disabled={disabled}+ >+ <StyledMenuItemLeftContent>+ {avatar}+ <div className={styles.textContainer}>+ <StyledMenuItemLabel>+ <OverflowingTextWithTooltip text={text} />+ </StyledMenuItemLabel>+ {contextualText && (+ <>+ <StyledMenuItemLabelLight>·</StyledMenuItemLabelLight>+ <StyledMenuItemLabelLight>+ <OverflowingTextWithTooltip text={contextualText} />+ </StyledMenuItemLabelLight>+ </>+ )}+ </div>+ </StyledMenuItemLeftContent>+ {selected && <StyledMenuItemIconCheck size={theme.icon.size.md} />}+ </StyledMenuItemSelect>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectColor.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectColor.tsxnew file mode 100644index 00000000000..7abb018fd00--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectColor.tsx@@ -0,0 +1,54 @@+import {+ StyledMenuItemIconCheck,+ StyledMenuItemLabel,+ StyledMenuItemLeftContent,+} from '../internals/components/StyledMenuItemBase';++import { ColorSample, type ColorSampleVariant } from '@ui/display';+import { type ThemeColor } from '@ui/theme';+import { ThemeContext } from '@ui/theme-constants';+import { useContext } from 'react';+import {+ DEFAULT_COLOR_LABELS,+ type ColorLabels,+} from '../constants/DefaultColorLabels';+import { StyledMenuItemSelect } from './MenuItemSelect';++type MenuItemSelectColorProps = {+ selected: boolean;+ className?: string;+ onClick?: () => void;+ disabled?: boolean;+ focused?: boolean;+ color: ThemeColor;+ variant?: ColorSampleVariant;+ colorLabels?: ColorLabels;+};++export const MenuItemSelectColor = ({+ color,+ selected,+ className,+ onClick,+ disabled,+ focused,+ variant = 'default',+ colorLabels = DEFAULT_COLOR_LABELS,+}: MenuItemSelectColorProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <StyledMenuItemSelect+ onClick={onClick}+ className={className}+ disabled={disabled}+ focused={focused}+ >+ <StyledMenuItemLeftContent>+ <ColorSample colorName={color} variant={variant} />+ <StyledMenuItemLabel>{colorLabels[color]}</StyledMenuItemLabel>+ </StyledMenuItemLeftContent>+ {selected && <StyledMenuItemIconCheck size={theme.icon.size.md} />}+ </StyledMenuItemSelect>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectTag.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectTag.tsxnew file mode 100644index 00000000000..e28e34505f4--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSelectTag.tsx@@ -0,0 +1,56 @@+import {+ StyledMenuItemIconCheck,+ StyledMenuItemLeftContent,+} from '../internals/components/StyledMenuItemBase';++import { Tag } from '@ui/components';+import { type IconComponent } from '@ui/display';+import { type ThemeColor } from '@ui/theme';+import { ThemeContext } from '@ui/theme-constants';+import { useContext } from 'react';+import { StyledMenuItemSelect } from './MenuItemSelect';++type MenuItemSelectTagProps = {+ selected?: boolean;+ focused?: boolean;+ isKeySelected?: boolean;+ className?: string;+ onClick?: () => void;+ color: ThemeColor | 'transparent';+ text: string;+ variant?: 'solid' | 'outline';+ LeftIcon?: IconComponent | null;+};++export const MenuItemSelectTag = ({+ color,+ selected,+ focused,+ isKeySelected,+ className,+ onClick,+ text,+ variant = 'solid',+ LeftIcon,+}: MenuItemSelectTagProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <StyledMenuItemSelect+ onClick={onClick}+ className={className}+ focused={focused}+ isKeySelected={isKeySelected}+ >+ <StyledMenuItemLeftContent>+ <Tag+ variant={variant}+ color={color}+ text={text}+ Icon={LeftIcon ?? undefined}+ />+ </StyledMenuItemLeftContent>+ {selected && <StyledMenuItemIconCheck size={theme.icon.size.md} />}+ </StyledMenuItemSelect>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSuggestion.module.scss b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSuggestion.module.scssnew file mode 100644index 00000000000..e2cde3dba7b--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSuggestion.module.scss@@ -0,0 +1,31 @@+.suggestionMenuItem {+ --horizontal-padding: var(--t-spacing-1);+ --vertical-padding: var(--t-spacing-2);++ // Height below is sized against the content box.+ box-sizing: content-box;+ align-items: center;+ border-radius: var(--t-border-radius-sm);+ cursor: pointer;+ display: flex;+ flex-direction: row;+ font-size: var(--t-font-size-sm);+ gap: var(--t-spacing-2);+ height: calc(32px - 2 * var(--vertical-padding));+ justify-content: space-between;+ padding: var(--vertical-padding) var(--horizontal-padding);+ background: transparent;+ color: var(--t-font-color-secondary);+ transition: background 0.1s ease;+ position: relative;+ user-select: none;+ width: calc(100% - 2 * var(--horizontal-padding));+}++.suggestionMenuItem[data-selected] {+ background: var(--t-background-transparent-medium);+}++.suggestionMenuItem:hover {+ background: var(--t-background-transparent-light);+}diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSuggestion.module.scss.d.ts b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSuggestion.module.scss.d.tsnew file mode 100644index 00000000000..c4bfd7e099b--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSuggestion.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly suggestionMenuItem: 'suggestionMenuItem';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSuggestion.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSuggestion.tsxnew file mode 100644index 00000000000..ad80e78e535--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemSuggestion.tsx@@ -0,0 +1,56 @@+import { clsx } from 'clsx';+import { type MouseEvent } from 'react';++import { type IconComponent } from '@ui/display';+import { MenuItemLeftContent } from '../internals/components/MenuItemLeftContent';+import { StyledMenuItemLeftContent } from '../internals/components/StyledMenuItemBase';++import styles from './MenuItemSuggestion.module.scss';++export type MenuItemSuggestionProps = {+ LeftIcon?: IconComponent | null;+ withIconContainer?: boolean;+ text: string;+ contextualText?: string;+ contextualTextPosition?: 'left' | 'right';+ selected?: boolean;+ className?: string;+ onClick?: (event: MouseEvent<HTMLLIElement>) => void;+};++export const MenuItemSuggestion = ({+ LeftIcon,+ withIconContainer = false,+ text,+ contextualText = undefined,+ contextualTextPosition = 'left',+ className,+ selected,+ onClick,+}: MenuItemSuggestionProps) => {+ const handleMenuItemClick = (event: MouseEvent<HTMLLIElement>) => {+ if (!onClick) return;+ event.preventDefault();+ event.stopPropagation();++ onClick?.(event);+ };++ return (+ <li+ className={clsx(styles.suggestionMenuItem, className)}+ data-selected={selected || undefined}+ onClick={handleMenuItemClick}+ >+ <StyledMenuItemLeftContent>+ <MenuItemLeftContent+ LeftIcon={LeftIcon ?? undefined}+ text={text}+ contextualText={contextualText}+ contextualTextPosition={contextualTextPosition}+ withIconContainer={withIconContainer}+ />+ </StyledMenuItemLeftContent>+ </li>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemToggle.module.scss b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemToggle.module.scssnew file mode 100644index 00000000000..d56463b1760--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemToggle.module.scss@@ -0,0 +1,7 @@+.toggleContainer {+ align-items: center;+ cursor: pointer;+ display: flex;+ justify-content: space-between;+ width: 100%;+}diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemToggle.module.scss.d.ts b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemToggle.module.scss.d.tsnew file mode 100644index 00000000000..8d31b11da53--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemToggle.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly toggleContainer: 'toggleContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemToggle.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemToggle.tsxnew file mode 100644index 00000000000..9a65a7524e5--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/MenuItemToggle.tsx@@ -0,0 +1,65 @@+import { type IconComponent } from '@ui/display';+import { Toggle, type ToggleSize } from '@ui/input';+import { MenuItemLeftContent } from '../internals/components/MenuItemLeftContent';+import {+ StyledMenuItemBase,+ StyledMenuItemRightContent,+} from '../internals/components/StyledMenuItemBase';++import styles from './MenuItemToggle.module.scss';++export type MenuItemToggleProps = {+ focused?: boolean;+ LeftIcon?: IconComponent;+ withIconContainer?: boolean;+ toggled: boolean;+ text: string;+ className?: string;+ onToggleChange?: (toggled: boolean) => void;+ toggleSize?: ToggleSize;+ disabled?: boolean;+};++export const MenuItemToggle = ({+ focused,+ LeftIcon,+ withIconContainer = false,+ text,+ toggled,+ className,+ onToggleChange,+ toggleSize,+ disabled = false,+}: MenuItemToggleProps) => {+ const handleClick = () => {+ if (!disabled) {+ onToggleChange?.(!toggled);+ }+ };++ return (+ <StyledMenuItemBase+ className={className}+ focused={focused}+ disabled={disabled}+ onClick={handleClick}+ >+ <div className={styles.toggleContainer}>+ <MenuItemLeftContent+ LeftIcon={LeftIcon}+ text={text}+ withIconContainer={withIconContainer}+ disabled={disabled}+ />+ <StyledMenuItemRightContent onClick={(e) => e.stopPropagation()}>+ <Toggle+ value={toggled}+ onChange={disabled ? undefined : onToggleChange}+ toggleSize={toggleSize}+ disabled={disabled}+ />+ </StyledMenuItemRightContent>+ </div>+ </StyledMenuItemBase>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItem.stories.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItem.stories.tsxnew file mode 100644index 00000000000..2fc2f7761c3--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItem.stories.tsx@@ -0,0 +1,325 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { action } from 'storybook/actions';++import { IconBell } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { type MenuItemAccent } from '../../types/MenuItemAccent';+import { MenuItem } from '../MenuItem';++const meta: Meta<typeof MenuItem> = {+ title: 'UI/Navigation/Menu/MenuItem/MenuItem',+ component: MenuItem,+};++export default meta;++type Story = StoryObj<typeof MenuItem>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ text: 'Menu item text',+ LeftIcon: IconBell,+ accent: 'default',+ iconButtons: [+ { Icon: IconBell, onClick: action('Clicked') },+ { Icon: IconBell, onClick: action('Clicked') },+ ],+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof MenuItem> = {+ args: { ...Default.args },+ argTypes: {+ accent: { control: false },+ className: { control: false },+ iconButtons: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'withIcon',+ values: [true, false],+ props: (withIcon: boolean) => ({+ LeftIcon: withIcon ? IconBell : undefined,+ }),+ labels: (withIcon: boolean) =>+ withIcon ? 'With left icon' : 'Without left icon',+ },+ {+ name: 'withIconContainer',+ values: [true, false],+ props: (withIconContainer: boolean) => ({ withIconContainer }),+ labels: (withIconContainer: boolean) =>+ withIconContainer+ ? 'With icon container'+ : 'Without icon container',+ },+ {+ name: 'accents',+ values: ['default', 'danger'] satisfies MenuItemAccent[],+ props: (accent: MenuItemAccent) => ({ accent }),+ },+ {+ name: 'states',+ values: ['default', 'hover'],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ return { className: state };+ default:+ return {};+ }+ },+ },+ {+ name: 'iconButtons',+ values: ['no icon button', 'two icon buttons'],+ props: (choice: string) => {+ switch (choice) {+ case 'no icon button': {+ return {+ iconButtons: [],+ };+ }+ case 'two icon buttons': {+ return {+ iconButtons: [+ {+ Icon: IconBell,+ onClick: action('Clicked on first icon button'),+ },+ {+ Icon: IconBell,+ onClick: action('Clicked on second icon button'),+ },+ ],+ };+ }+ default:+ return {};+ }+ },+ },+ {+ name: 'disabled',+ values: [true, false],+ props: (disabled: boolean) => ({ disabled }),+ },+ ],+ options: {+ elementContainer: {+ width: 200,+ },+ },+ },+ },+ decorators: [CatalogDecorator],+};++export const HotKeysCatalog: CatalogStory<Story, typeof MenuItem> = {+ args: {+ text: 'Menu item with hotkeys',+ LeftIcon: IconBell,+ hotKeys: ['⌘', 'K'],+ },+ argTypes: {+ className: { control: false },+ iconButtons: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'hotKeyTypes',+ values: ['no hotkeys', 'single key', 'modifier + key'],+ props: (choice: string) => {+ switch (choice) {+ case 'no hotkeys':+ return { hotKeys: undefined };+ case 'single key':+ return { hotKeys: ['K'] };+ case 'modifier + key':+ return { hotKeys: ['⌘', 'K'] };+ default:+ return {};+ }+ },+ labels: (choice: string) => {+ switch (choice) {+ case 'no hotkeys':+ return 'No hotkeys';+ case 'single key':+ return 'Single key (K)';+ case 'modifier + key':+ return 'Modifier + key (⌘K)';+ default:+ return choice;+ }+ },+ },+ {+ name: 'states',+ values: ['default', 'hover'],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ return { className: 'hover' };+ default:+ return {};+ }+ },+ },+ ],+ options: {+ elementContainer: {+ width: 300,+ },+ },+ },+ },+ decorators: [CatalogDecorator],+};++export const ContextualTextCatalog: CatalogStory<Story, typeof MenuItem> = {+ args: {+ text: 'Menu item with contextual text',+ },+ decorators: [CatalogDecorator],+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'contextualTextPosition',+ values: ['left', 'right'],+ props: (contextualTextPosition: 'left' | 'right') => ({+ contextualTextPosition,+ }),+ labels: (contextualTextPosition: 'left' | 'right') =>+ contextualTextPosition === 'left' ? 'Left' : 'Right',+ },+ {+ name: 'contextualText',+ values: [+ 'Contextual text',+ 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet, corporis.',+ ],+ props: (contextualText: string) => ({ contextualText }),+ labels: (contextualText: string) => {+ switch (contextualText) {+ case 'Contextual text':+ return 'Contextual text';+ case 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet, corporis.':+ return 'Long contextual text';+ default:+ return contextualText;+ }+ },+ },+ {+ name: 'iconButtons',+ values: ['no icon button', 'one icon button'],+ props: (choice: string) => {+ switch (choice) {+ case 'no icon button': {+ return {+ iconButtons: [],+ };+ }+ case 'one icon button': {+ return {+ iconButtons: [+ {+ Icon: IconBell,+ onClick: action('Clicked on icon button'),+ },+ ],+ };+ }+ default:+ return {};+ }+ },+ labels: (choice: string) => {+ switch (choice) {+ case 'no icon button':+ return 'No icon button';+ case 'one icon button':+ return 'One icon button';+ default:+ return choice;+ }+ },+ },+ {+ name: 'states',+ values: ['default', 'hover'],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ return { className: 'hover' };+ default:+ return {};+ }+ },+ },+ ],+ options: {+ elementContainer: {+ style: { width: '400px', overflow: 'hidden' },+ },+ },+ },+ },+};++export const SubMenuCatalog: CatalogStory<Story, typeof MenuItem> = {+ args: {+ text: 'Menu item with sub menu',+ LeftIcon: IconBell,+ hasSubMenu: true,+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ catalog: {+ dimensions: [+ {+ name: 'isSubMenuOpened',+ values: [true, false],+ props: (isSubMenuOpened: boolean) => ({ isSubMenuOpened }),+ labels: (isSubMenuOpened: boolean) =>+ isSubMenuOpened ? 'Opened' : 'Closed',+ },+ ],+ options: {+ elementContainer: {+ width: 200,+ },+ },+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemDraggable.stories.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemDraggable.stories.tsxnew file mode 100644index 00000000000..fbb9706c970--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemDraggable.stories.tsx@@ -0,0 +1,147 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { action } from 'storybook/actions';++import { IconBell, IconMinus } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogDimension,+ type CatalogOptions,+ ComponentDecorator,+} from '@ui/testing';+import { type MenuItemAccent } from '../../types/MenuItemAccent';+import { MenuItemDraggable } from '../MenuItemDraggable';++const meta: Meta<typeof MenuItemDraggable> = {+ title: 'UI/Navigation/Menu/MenuItem/MenuItemDraggable',+ component: MenuItemDraggable,+};++export default meta;++type Story = StoryObj<typeof MenuItemDraggable>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ LeftIcon: IconBell,+ accent: 'default',+ iconButtons: [{ Icon: IconMinus, onClick: action('Clicked') }],+ onClick: action('Clicked'),+ text: 'Menu item draggable',+ isDragDisabled: false,+ },+ decorators: [ComponentDecorator],+};++export const Catalog: Story = {+ args: { ...Default.args },+ argTypes: {+ accent: { control: false },+ iconButtons: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'] },+ catalog: {+ dimensions: [+ {+ name: 'withIconContainer',+ values: [true, false],+ props: (withIconContainer: boolean) => ({ withIconContainer }),+ labels: (withIconContainer: boolean) =>+ withIconContainer+ ? 'With icon container'+ : 'Without icon container',+ },+ {+ name: 'isDragDisabled',+ values: [true, false],+ props: (isDragDisabled: boolean) => ({+ isDragDisabled: isDragDisabled,+ }),+ labels: (isDragDisabled: boolean) =>+ isDragDisabled ? 'Without drag icon' : 'With drag icon',+ },+ {+ name: 'accents',+ values: ['default', 'danger', 'placeholder'] as MenuItemAccent[],+ props: (accent: MenuItemAccent) => ({ accent }),+ },+ {+ name: 'states',+ values: ['default', 'hover'],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ return { className: state };+ default:+ return {};+ }+ },+ },+ {+ name: 'iconButtons',+ values: ['no icon button', 'minus icon buttons'],+ props: (choice: string) => {+ switch (choice) {+ case 'no icon button': {+ return {+ iconButtons: [],+ };+ }+ case 'minus icon buttons': {+ return {+ iconButtons: [+ {+ Icon: IconMinus,+ onClick: action('Clicked on minus icon button'),+ },+ ],+ };+ }+ }+ },+ },+ ] as CatalogDimension[],+ options: {+ elementContainer: {+ width: 200,+ },+ } as CatalogOptions,+ },+ },+ decorators: [CatalogDecorator],+};++export const Grip: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: { ...Default.args, gripMode: 'always', isDragDisabled: false },+};++export const GripOnHover: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: { ...Default.args, gripMode: 'onHover', isDragDisabled: false },+};++export const GripOnHoverWithIconContainer: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ ...Default.args,+ gripMode: 'onHover',+ withIconContainer: true,+ isDragDisabled: false,+ },+};++export const HoverDisabled: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: { ...Default.args, isHoverDisabled: true },+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemMultiSelect.stories.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemMultiSelect.stories.tsxnew file mode 100644index 00000000000..7a75ecbbce5--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemMultiSelect.stories.tsx@@ -0,0 +1,90 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { IconBell } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogDimension,+ type CatalogOptions,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { MenuItemMultiSelect } from '../MenuItemMultiSelect';++const meta: Meta<typeof MenuItemMultiSelect> = {+ title: 'UI/Navigation/Menu/MenuItem/MenuItemMultiSelect',+ component: MenuItemMultiSelect,+};++export default meta;++type Story = StoryObj<typeof MenuItemMultiSelect>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ text: 'First option',+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof MenuItemMultiSelect> = {+ args: { LeftIcon: IconBell, text: 'Menu item' },+ argTypes: {+ className: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'withIcon',+ values: [true, false],+ props: (withIcon: boolean) => ({+ LeftIcon: withIcon ? IconBell : undefined,+ }),+ labels: (withIcon: boolean) =>+ withIcon ? 'With left icon' : 'Without left icon',+ },+ {+ name: 'withIconContainer',+ values: [true, false],+ props: (withIconContainer: boolean) => ({ withIconContainer }),+ labels: (withIconContainer: boolean) =>+ withIconContainer+ ? 'With icon container'+ : 'Without icon container',+ },+ {+ name: 'selected',+ values: [true, false],+ props: (selected: boolean) => ({ selected }),+ labels: (selected: boolean) =>+ selected ? 'Selected' : 'Not selected',+ },+ {+ name: 'states',+ values: ['default', 'hover'],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ return { className: state };+ default:+ return {};+ }+ },+ },+ ] as CatalogDimension[],+ options: {+ elementContainer: {+ width: 200,+ },+ } as CatalogOptions,+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemMultiSelectAvatar.stories.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemMultiSelectAvatar.stories.tsxnew file mode 100644index 00000000000..cd1dce7de63--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemMultiSelectAvatar.stories.tsx@@ -0,0 +1,89 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { Avatar } from '@ui/display';+import {+ AVATAR_URL_MOCK,+ CatalogDecorator,+ type CatalogDimension,+ type CatalogOptions,+ type CatalogStory,+ ComponentDecorator,+ JotaiRootDecorator,+} from '@ui/testing';+import { MenuItemMultiSelectAvatar } from '../MenuItemMultiSelectAvatar';++const meta: Meta<typeof MenuItemMultiSelectAvatar> = {+ title: 'UI/Navigation/Menu/MenuItem/MenuItemMultiSelectAvatar',+ component: MenuItemMultiSelectAvatar,+};++export default meta;++type Story = StoryObj<typeof MenuItemMultiSelectAvatar>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ text: 'First option',+ contextualText: 'Contextual text',+ avatar: <Avatar avatarUrl={AVATAR_URL_MOCK} placeholder="L" />,+ },+ decorators: [ComponentDecorator, JotaiRootDecorator],+};++export const Catalog: CatalogStory<Story, typeof MenuItemMultiSelectAvatar> = {+ args: { text: 'Menu item' },+ argTypes: {+ className: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'withAvatar',+ values: [true, false],+ props: (withAvatar: boolean) => ({+ avatar: withAvatar ? (+ <Avatar avatarUrl={AVATAR_URL_MOCK} placeholder="L" />+ ) : (+ <Avatar avatarUrl="" placeholder="L" />+ ),+ }),+ labels: (withAvatar: boolean) =>+ withAvatar ? 'With avatar' : 'Without avatar',+ },+ {+ name: 'selected',+ values: [true, false],+ props: (selected: boolean) => ({ selected }),+ labels: (selected: boolean) =>+ selected ? 'Selected' : 'Not selected',+ },+ {+ name: 'states',+ values: ['default', 'hover'],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ return { className: state };+ default:+ return {};+ }+ },+ },+ ] as CatalogDimension[],+ options: {+ elementContainer: {+ width: 200,+ },+ } as CatalogOptions,+ },+ },+ decorators: [CatalogDecorator, JotaiRootDecorator],+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemNavigate.stories.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemNavigate.stories.tsxnew file mode 100644index 00000000000..771b096de22--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemNavigate.stories.tsx@@ -0,0 +1,82 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { IconBell } from '@ui/display';+import { MenuItemNavigate } from '../MenuItemNavigate';++import {+ CatalogDecorator,+ type CatalogDimension,+ type CatalogOptions,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';++const meta: Meta<typeof MenuItemNavigate> = {+ title: 'UI/Navigation/Menu/MenuItem/MenuItemNavigate',+ component: MenuItemNavigate,+};++export default meta;++type Story = StoryObj<typeof MenuItemNavigate>;++export const Default: Story = {+ args: {+ text: 'First option',+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof MenuItemNavigate> = {+ args: { LeftIcon: IconBell, text: 'Menu item' },+ argTypes: {+ className: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'withIcon',+ values: [true, false],+ props: (withIcon: boolean) => ({+ LeftIcon: withIcon ? IconBell : undefined,+ }),+ labels: (withIcon: boolean) =>+ withIcon ? 'With left icon' : 'Without left icon',+ },+ {+ name: 'withIconContainer',+ values: [true, false],+ props: (withIconContainer: boolean) => ({ withIconContainer }),+ labels: (withIconContainer: boolean) =>+ withIconContainer+ ? 'With icon container'+ : 'Without icon container',+ },+ {+ name: 'states',+ values: ['default', 'hover'],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ return { className: state };+ default:+ return {};+ }+ },+ },+ ] as CatalogDimension[],+ options: {+ elementContainer: {+ width: 200,+ },+ } as CatalogOptions,+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemSelect.stories.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemSelect.stories.tsxnew file mode 100644index 00000000000..79405883d4b--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemSelect.stories.tsx@@ -0,0 +1,91 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import {+ CatalogDecorator,+ type CatalogDimension,+ type CatalogOptions,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { MenuItemSelect } from '../MenuItemSelect';++import { IconBell } from '@ui/display';+const meta: Meta<typeof MenuItemSelect> = {+ title: 'UI/Navigation/Menu/MenuItem/MenuItemSelect',+ component: MenuItemSelect,+};++export default meta;++type Story = StoryObj<typeof MenuItemSelect>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ text: 'First option',+ LeftIcon: IconBell,+ },+ argTypes: {+ className: { control: false },+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof MenuItemSelect> = {+ args: { LeftIcon: IconBell, text: 'Menu item' },+ argTypes: {+ className: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'withIcon',+ values: [true, false],+ props: (withIcon: boolean) => ({+ LeftIcon: withIcon ? IconBell : undefined,+ }),+ labels: (withIcon: boolean) =>+ withIcon ? 'With left icon' : 'Without left icon',+ },+ {+ name: 'withIconContainer',+ values: [true, false],+ props: (withIconContainer: boolean) => ({ withIconContainer }),+ labels: (withIconContainer: boolean) =>+ withIconContainer+ ? 'With icon container'+ : 'Without icon container',+ },+ {+ name: 'states',+ values: ['default', 'hover', 'focused', 'hover+focused'],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ return { className: 'hover' };+ case 'focused':+ return { focused: true };+ case 'hover+focused':+ return { className: 'hover', focused: true };+ default:+ return {};+ }+ },+ },+ ] as CatalogDimension[],+ options: {+ elementContainer: {+ width: 200,+ },+ } as CatalogOptions,+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemSelectAvatar.stories.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemSelectAvatar.stories.tsxnew file mode 100644index 00000000000..5d2257003e0--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemSelectAvatar.stories.tsx@@ -0,0 +1,97 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { Avatar } from '@ui/display';+import {+ AVATAR_URL_MOCK,+ CatalogDecorator,+ type CatalogDimension,+ type CatalogOptions,+ type CatalogStory,+ ComponentDecorator,+ JotaiRootDecorator,+} from '@ui/testing';+import { MenuItemSelectAvatar } from '../MenuItemSelectAvatar';++const meta: Meta<typeof MenuItemSelectAvatar> = {+ title: 'UI/Navigation/Menu/MenuItem/MenuItemSelectAvatar',+ component: MenuItemSelectAvatar,+};++export default meta;++type Story = StoryObj<typeof MenuItemSelectAvatar>;+export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ text: 'First option',+ contextualText: 'Contextual text',+ avatar: <Avatar avatarUrl={AVATAR_URL_MOCK} placeholder="L" />,+ },+ argTypes: {+ className: { control: false },+ },+ decorators: [ComponentDecorator, JotaiRootDecorator],+};++export const Catalog: CatalogStory<Story, typeof MenuItemSelectAvatar> = {+ args: { text: 'Menu item' },+ argTypes: {+ className: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'withAvatar',+ values: [true, false],+ props: (withAvatar: boolean) => ({+ avatar: withAvatar ? (+ <Avatar avatarUrl={AVATAR_URL_MOCK} placeholder="L" />+ ) : (+ <Avatar avatarUrl="" placeholder="L" />+ ),+ }),+ labels: (withAvatar: boolean) =>+ withAvatar ? 'With avatar' : 'Without avatar',+ },+ {+ name: 'states',+ values: [+ 'default',+ 'hover',+ 'disabled',+ 'selected',+ 'hover+selected',+ ],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ return { className: 'hover' };+ case 'disabled':+ return { disabled: true };+ case 'selected':+ return { selected: true };++ case 'hover+selected':+ return { className: 'hover', selected: true };+ default:+ return {};+ }+ },+ },+ ] as CatalogDimension[],+ options: {+ elementContainer: {+ width: 200,+ },+ } as CatalogOptions,+ },+ },+ decorators: [CatalogDecorator, JotaiRootDecorator],+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemSelectColor.stories.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemSelectColor.stories.tsxnew file mode 100644index 00000000000..4ccd34eb40f--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemSelectColor.stories.tsx@@ -0,0 +1,85 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { type ColorSampleVariant } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogDimension,+ type CatalogOptions,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { type ThemeColor, MAIN_COLOR_NAMES } from '@ui/theme';+import { MenuItemSelectColor } from '../MenuItemSelectColor';++const meta: Meta<typeof MenuItemSelectColor> = {+ title: 'UI/Navigation/Menu/MenuItem/MenuItemSelectColor',+ component: MenuItemSelectColor,+};++export default meta;++type Story = StoryObj<typeof MenuItemSelectColor>;++export const Default: Story = {+ args: { color: 'green' },+ argTypes: { className: { control: false } },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof MenuItemSelectColor> = {+ argTypes: { className: { control: false } },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'color',+ values: MAIN_COLOR_NAMES,+ props: (color: ThemeColor) => ({ color }),+ labels: (color: ThemeColor) => color,+ },+ {+ name: 'states',+ values: [+ 'default',+ 'hover',+ 'disabled',+ 'selected',+ 'hover+selected',+ ],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ return { className: 'hover' };+ case 'disabled':+ return { disabled: true };+ case 'selected':+ return { selected: true };++ case 'hover+selected':+ return { className: 'hover', selected: true };+ default:+ return {};+ }+ },+ },+ {+ name: 'variant',+ values: ['circle', 'default', 'pipeline'],+ props: (variant: ColorSampleVariant) => ({ variant }),+ labels: (variant: ColorSampleVariant) => variant,+ },+ ] as CatalogDimension[],+ options: {+ elementContainer: {+ width: 200,+ },+ } as CatalogOptions,+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemSelectTag.stories.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemSelectTag.stories.tsxnew file mode 100644index 00000000000..dc8891703ff--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemSelectTag.stories.tsx@@ -0,0 +1,96 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import {+ CatalogDecorator,+ type CatalogDimension,+ type CatalogOptions,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { type ThemeColor } from '@ui/theme';+import { MenuItemSelectTag } from '../MenuItemSelectTag';++const meta: Meta<typeof MenuItemSelectTag> = {+ title: 'UI/Navigation/Menu/MenuItem/MenuItemSelectTag',+ component: MenuItemSelectTag,+};++export default meta;++type Story = StoryObj<typeof MenuItemSelectTag>;++export const Default: Story = {+ args: {+ selected: false,+ onClick: undefined,+ text: 'Item A',+ },+ argTypes: {+ selected: {+ control: 'boolean',+ defaultValue: false,+ },+ onClick: {+ control: false,+ },+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof MenuItemSelectTag> = {+ args: {+ text: 'Item A',+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: {+ hover: ['.hover'],+ active: ['.pressed'],+ focus: ['.focus'],+ },+ catalog: {+ dimensions: [+ {+ name: 'color',+ values: [+ 'green',+ 'turquoise',+ 'sky',+ 'blue',+ 'purple',+ 'pink',+ 'red',+ 'orange',+ 'yellow',+ 'gray',+ ],+ props: (color: ThemeColor) => ({ color }),+ },+ {+ name: 'states',+ values: ['default', 'hover', 'selected', 'hover+selected'],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ return { className: 'hover' };+ case 'selected':+ return { selected: true };+ case 'hover+selected':+ return { className: 'hover', selected: true };+ default:+ return {};+ }+ },+ labels: (state: string) => `State: ${state}`,+ },+ ] as CatalogDimension[],+ options: {+ elementContainer: { width: 200 },+ } as CatalogOptions,+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemToggle.stories.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemToggle.stories.tsxnew file mode 100644index 00000000000..db3a919fce1--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/components/__stories__/MenuItemToggle.stories.tsx@@ -0,0 +1,89 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';++import { IconBell } from '@ui/display';+import {+ CatalogDecorator,+ type CatalogDimension,+ type CatalogOptions,+ type CatalogStory,+ ComponentDecorator,+} from '@ui/testing';+import { MenuItemToggle } from '../MenuItemToggle';++const meta: Meta<typeof MenuItemToggle> = {+ title: 'UI/Navigation/Menu/MenuItem/MenuItemToggle',+ component: MenuItemToggle,+};++export default meta;++type Story = StoryObj<typeof MenuItemToggle>;++export const Default: Story = {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ parameters: { a11y: { test: 'todo' } },+ args: {+ text: 'First option',+ },+ decorators: [ComponentDecorator],+};++export const Catalog: CatalogStory<Story, typeof MenuItemToggle> = {+ args: { LeftIcon: IconBell, text: 'Menu item' },+ argTypes: {+ className: { control: false },+ },+ parameters: {+ // TODO(a11y): violations inherited from deprecated story; fix during a11y pass+ a11y: { test: 'todo' },+ pseudo: { hover: ['.hover'], active: ['.pressed'], focus: ['.focus'] },+ catalog: {+ dimensions: [+ {+ name: 'withIcon',+ values: [true, false],+ props: (withIcon: boolean) => ({+ LeftIcon: withIcon ? IconBell : undefined,+ }),+ labels: (withIcon: boolean) =>+ withIcon ? 'With left icon' : 'Without left icon',+ },+ {+ name: 'withIconContainer',+ values: [true, false],+ props: (withIconContainer: boolean) => ({ withIconContainer }),+ labels: (withIconContainer: boolean) =>+ withIconContainer+ ? 'With icon container'+ : 'Without icon container',+ },+ {+ name: 'toggled',+ values: [true, false],+ props: (toggled: boolean) => ({ toggled }),+ labels: (toggled: boolean) => (toggled ? 'Toggled' : 'Not toggled'),+ },+ {+ name: 'states',+ values: ['default', 'hover'],+ props: (state: string) => {+ switch (state) {+ case 'default':+ return {};+ case 'hover':+ return { className: state };+ default:+ return {};+ }+ },+ },+ ] satisfies CatalogDimension[],+ options: {+ elementContainer: {+ width: 200,+ },+ } satisfies CatalogOptions,+ },+ },+ decorators: [CatalogDecorator],+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/constants/DefaultColorLabels.ts b/packages/twenty-ui/src/navigation/menu/menu-item/constants/DefaultColorLabels.tsnew file mode 100644index 00000000000..daa8524ff05--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/constants/DefaultColorLabels.ts@@ -0,0 +1,31 @@+import { type ThemeColor } from '@ui/theme';++export type ColorLabels = Record<ThemeColor, string>;++export const DEFAULT_COLOR_LABELS: ColorLabels = {+ gray: 'Gray',+ tomato: 'Tomato',+ red: 'Red',+ ruby: 'Ruby',+ crimson: 'Crimson',+ pink: 'Pink',+ plum: 'Plum',+ purple: 'Purple',+ violet: 'Violet',+ iris: 'Iris',+ cyan: 'Cyan',+ turquoise: 'Turquoise',+ sky: 'Sky',+ blue: 'Blue',+ jade: 'Jade',+ green: 'Green',+ grass: 'Grass',+ mint: 'Mint',+ lime: 'Lime',+ bronze: 'Bronze',+ gold: 'Gold',+ brown: 'Brown',+ orange: 'Orange',+ amber: 'Amber',+ yellow: 'Yellow',+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIcon.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIcon.tsxnew file mode 100644index 00000000000..4667780a88f--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIcon.tsx@@ -0,0 +1,51 @@+import { type IconComponent, TintedIconTile } from '@ui/display';+import { type ThemeColor } from '@ui/theme';+import { ThemeContext } from '@ui/theme-constants';+import { useContext } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';+import { MenuItemIconBoxContainer } from './MenuItemIconBoxContainer';++export type MenuItemIconProps = {+ Icon: IconComponent | null | undefined;+ iconThemeColor?: ThemeColor | null;+ withContainer?: boolean;+ withContainerBackground?: boolean;+};++export const MenuItemIcon = ({+ Icon,+ iconThemeColor,+ withContainer = false,+ withContainerBackground = true,+}: MenuItemIconProps) => {+ const { theme } = useContext(ThemeContext);++ if (!Icon) {+ return null;+ }++ if (isDefined(iconThemeColor)) {+ return (+ <TintedIconTile+ Icon={Icon}+ color={iconThemeColor}+ size={theme.icon.size.md}+ stroke={theme.icon.stroke.sm}+ />+ );+ }++ const iconElement = (+ <Icon size={theme.icon.size.md} stroke={theme.icon.stroke.sm} />+ );++ if (withContainer) {+ return (+ <MenuItemIconBoxContainer hasBackground={withContainerBackground}>+ {iconElement}+ </MenuItemIconBoxContainer>+ );+ }++ return iconElement;+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconBoxContainer.module.scss b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconBoxContainer.module.scssnew file mode 100644index 00000000000..de468042d52--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconBoxContainer.module.scss@@ -0,0 +1,11 @@+.iconContainer {+ align-items: flex-start;+ border-radius: var(--t-border-radius-sm);+ display: flex;+ flex-direction: column;+ padding: var(--t-spacing-1);+}++.withBackground {+ background: var(--t-background-transparent-light);+}diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconBoxContainer.module.scss.d.ts b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconBoxContainer.module.scss.d.tsnew file mode 100644index 00000000000..43552f182f8--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconBoxContainer.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly iconContainer: 'iconContainer';+ readonly withBackground: 'withBackground';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconBoxContainer.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconBoxContainer.tsxnew file mode 100644index 00000000000..b3156f94388--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconBoxContainer.tsx@@ -0,0 +1,26 @@+import { clsx } from 'clsx';+import { type ReactNode } from 'react';++import styles from './MenuItemIconBoxContainer.module.scss';++export const StyledIconContainer = ({+ children,+ className,+ hasBackground = true,+}: {+ children?: ReactNode;+ className?: string;+ hasBackground?: boolean;+}) => (+ <div+ className={clsx(+ styles.iconContainer,+ hasBackground && styles.withBackground,+ className,+ )}+ >+ {children}+ </div>+);++export { StyledIconContainer as MenuItemIconBoxContainer };diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconWithGripSwap.module.scss b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconWithGripSwap.module.scssnew file mode 100644index 00000000000..f1fbda33baa--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconWithGripSwap.module.scss@@ -0,0 +1,18 @@+.iconSwapContainer {+ position: relative;+ display: flex;+ align-items: center;+ justify-content: center;+}++.defaultIcon {+ display: flex;+ transition: opacity duration(instant) ease;+}++.hoverIcon {+ position: absolute;+ display: flex;+ opacity: 0;+ transition: opacity duration(instant) ease;+}diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconWithGripSwap.module.scss.d.ts b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconWithGripSwap.module.scss.d.tsnew file mode 100644index 00000000000..154f9d61098--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconWithGripSwap.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly iconSwapContainer: 'iconSwapContainer';+ readonly defaultIcon: 'defaultIcon';+ readonly hoverIcon: 'hoverIcon';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconWithGripSwap.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconWithGripSwap.tsxnew file mode 100644index 00000000000..d5589b2107c--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemIconWithGripSwap.tsx@@ -0,0 +1,63 @@+import {+ type IconComponent,+ IconGripVertical,+ TintedIconTile,+} from '@ui/display';+import { type ThemeColor } from '@ui/theme';+import { ThemeContext } from '@ui/theme-constants';+import { clsx } from 'clsx';+import { useContext } from 'react';+import { isDefined } from '@ui/utilities/utils/isDefined';+import { MenuItemIconBoxContainer } from './MenuItemIconBoxContainer';++import styles from './MenuItemIconWithGripSwap.module.scss';++export type MenuItemIconWithGripSwapProps = {+ LeftIcon: IconComponent | null | undefined;+ iconThemeColor?: ThemeColor | null;+ withIconContainer?: boolean;+ gripIconColor: string;+};++export const MenuItemIconWithGripSwap = ({+ LeftIcon,+ iconThemeColor,+ withIconContainer = false,+ gripIconColor,+}: MenuItemIconWithGripSwapProps) => {+ const { theme } = useContext(ThemeContext);++ if (!LeftIcon) {+ return null;+ }++ const iconContent = (+ <div className={styles.iconSwapContainer}>+ <div className={clsx(styles.defaultIcon, 'grip-swap-default-icon')}>+ {isDefined(iconThemeColor) ? (+ <TintedIconTile+ Icon={LeftIcon}+ color={iconThemeColor}+ size={theme.icon.size.md}+ stroke={theme.icon.stroke.sm}+ />+ ) : (+ <LeftIcon size={theme.icon.size.md} stroke={theme.icon.stroke.sm} />+ )}+ </div>+ <div className={clsx(styles.hoverIcon, 'grip-swap-hover-icon')}>+ <IconGripVertical+ size={theme.icon.size.md}+ stroke={theme.icon.stroke.sm}+ color={gripIconColor}+ />+ </div>+ </div>+ );++ if (withIconContainer && !isDefined(iconThemeColor)) {+ return <MenuItemIconBoxContainer>{iconContent}</MenuItemIconBoxContainer>;+ }++ return iconContent;+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemLeftContent.module.scss b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemLeftContent.module.scssnew file mode 100644index 00000000000..b3018dd7746--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemLeftContent.module.scss@@ -0,0 +1,17 @@+.mainText {+ flex-shrink: 0;+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;+ max-width: 100%;+}++.menuItemLabelRight {+ display: flex;+ flex-direction: row;+ font-size: var(--t-font-size-md);+ font-weight: var(--t-font-weight-regular);+ overflow: hidden;+ white-space: nowrap;+ margin-left: auto;+}diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemLeftContent.module.scss.d.ts b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemLeftContent.module.scss.d.tsnew file mode 100644index 00000000000..7ec8d6bf739--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemLeftContent.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly mainText: 'mainText';+ readonly menuItemLabelRight: 'menuItemLabelRight';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemLeftContent.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemLeftContent.tsxnew file mode 100644index 00000000000..9830e57a76a--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/MenuItemLeftContent.tsx@@ -0,0 +1,134 @@+import { isNonEmptyString, isString } from '@sniptt/guards';+import { type ReactNode, useContext } from 'react';++import {+ type IconComponent,+ IconGripVertical,+ OverflowingTextWithTooltip,+} from '@ui/display';+import { type ThemeColor } from '@ui/theme';+import { ThemeContext, themeCssVariables } from '@ui/theme-constants';+import { type MenuItemDraggableGripMode } from '../../types/MenuItemDraggableGripMode';+import { MenuItemIcon } from './MenuItemIcon';+import { MenuItemIconBoxContainer } from './MenuItemIconBoxContainer';+import { MenuItemIconWithGripSwap } from './MenuItemIconWithGripSwap';+import {+ StyledDraggableItem,+ StyledMenuItemContextualText,+ StyledMenuItemLabel,+ StyledMenuItemLeftContent,+ StyledRightMenuItemContextualText,+} from './StyledMenuItemBase';++import styles from './MenuItemLeftContent.module.scss';++type MenuItemLeftContentProps = {+ className?: string;+ LeftComponent?: ReactNode;+ LeftIcon: IconComponent | null | undefined;+ iconThemeColor?: ThemeColor | null;+ withIconContainer?: boolean;+ withIconContainerBackground?: boolean;+ gripMode?: MenuItemDraggableGripMode;+ disabled?: boolean;+ text: ReactNode;+ contextualText?: ReactNode;+ contextualTextPosition?: 'left' | 'right';+};++export const MenuItemLeftContent = ({+ className,+ LeftComponent,+ LeftIcon,+ iconThemeColor,+ withIconContainer = false,+ withIconContainerBackground = true,+ text,+ contextualText,+ contextualTextPosition = 'left',+ gripMode = 'never',+ disabled = false,+}: MenuItemLeftContentProps) => {+ const { theme } = useContext(ThemeContext);++ const gripIconColor = withIconContainer+ ? themeCssVariables.font.color.tertiary+ : disabled+ ? themeCssVariables.font.color.extraLight+ : themeCssVariables.font.color.light;++ return (+ <StyledMenuItemLeftContent className={className}>+ {gripMode === 'always' &&+ (withIconContainer ? (+ <MenuItemIconBoxContainer hasBackground={withIconContainerBackground}>+ <StyledDraggableItem>+ <IconGripVertical+ size={theme.icon.size.md}+ stroke={theme.icon.stroke.sm}+ color={gripIconColor}+ />+ </StyledDraggableItem>+ </MenuItemIconBoxContainer>+ ) : (+ <StyledDraggableItem>+ <IconGripVertical+ size={theme.icon.size.md}+ stroke={theme.icon.stroke.sm}+ color={gripIconColor}+ />+ </StyledDraggableItem>+ ))}+ {gripMode === 'onHover' ? (+ <MenuItemIconWithGripSwap+ LeftIcon={LeftIcon}+ iconThemeColor={iconThemeColor}+ withIconContainer={withIconContainer}+ gripIconColor={gripIconColor}+ />+ ) : (+ <MenuItemIcon+ Icon={LeftIcon}+ iconThemeColor={iconThemeColor}+ withContainer={withIconContainer}+ withContainerBackground={withIconContainerBackground}+ />+ )}+ {LeftComponent}+ <StyledMenuItemLabel>+ {isString(text) ? (+ <div className={styles.mainText}>+ <OverflowingTextWithTooltip text={text} />+ </div>+ ) : (+ text+ )}+ {contextualTextPosition === 'left' && (+ <>+ {isString(contextualText)+ ? isNonEmptyString(contextualText) && (+ <StyledMenuItemContextualText>+ <OverflowingTextWithTooltip+ text={`· ${contextualText}`}+ tooltipContent={contextualText}+ />+ </StyledMenuItemContextualText>+ )+ : contextualText}+ </>+ )}+ </StyledMenuItemLabel>+ {contextualTextPosition === 'right' && (+ <div className={styles.menuItemLabelRight}>+ <StyledRightMenuItemContextualText>+ {isString(contextualText) ? (+ <OverflowingTextWithTooltip text={contextualText} />+ ) : (+ contextualText+ )}+ </StyledRightMenuItemContextualText>+ </div>+ )}+ </StyledMenuItemLeftContent>+ );+};diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/StyledMenuItemBase.module.scss b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/StyledMenuItemBase.module.scssnew file mode 100644index 00000000000..82dddb2a1ab--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/StyledMenuItemBase.module.scss@@ -0,0 +1,203 @@+// Shared base replicating the deprecated Linaria StyledMenuItemBase /+// StyledHoverableMenuItemBase static rules.+@mixin menu-item-base {+ --horizontal-padding: var(--t-spacing-1);+ --vertical-padding: var(--t-spacing-2);++ // Height and width below are sized against the content box.+ box-sizing: content-box;+ align-items: center;+ border-radius: var(--t-border-radius-sm);+ display: flex;+ flex-direction: row;+ font-size: var(--t-font-size-sm);+ gap: var(--t-spacing-2);+ height: calc(32px - 2 * var(--vertical-padding));+ justify-content: space-between;+ padding: var(--vertical-padding) var(--horizontal-padding);+ position: relative;+ user-select: none;+ width: calc(100% - 2 * var(--horizontal-padding));+ background: transparent;+ transition: background 0.1s ease;+ color: var(--t-font-color-secondary);+}++// Cascade order mirrors the deprecated Linaria ternaries:+// color: disabled > accent > base; hover background: disabled (with+// key-selected/focused exception) > danger > hover-background-disabled > base.+@mixin menu-item-base-states {+ &[data-key-selected],+ &[data-focused] {+ background: var(--t-background-transparent-light);+ }++ &[data-accent='danger'] {+ color: var(--t-font-color-danger);+ }++ &[data-accent='placeholder'] {+ color: var(--t-font-color-tertiary);+ }++ &[data-hover-background-disabled] {+ transition: none;+ }++ &[data-disabled] {+ color: var(--t-font-color-tertiary);+ transition: none;+ }++ &:hover {+ background: var(--t-background-transparent-light);+ }++ &[data-hover-background-disabled]:hover {+ background: transparent;+ }++ &[data-accent='danger']:hover {+ background: var(--t-background-transparent-danger);+ }++ &[data-disabled]:hover {+ background: transparent;+ }++ &[data-disabled][data-key-selected]:hover,+ &[data-disabled][data-focused]:hover {+ background: var(--t-background-transparent-light);+ }+}++.menuItemBase {+ @include menu-item-base;++ cursor: pointer;++ @include menu-item-base-states;+}++.hoverableMenuItemBase {+ @include menu-item-base;++ cursor: pointer;++ @include menu-item-base-states;++ &[data-cursor='drag'] {+ cursor: grab;+ }++ &[data-disabled] {+ cursor: default;+ }+}++// `.hoverable-buttons`, `.grip-swap-default-icon` and `.grip-swap-hover-icon`+// are global hooks: consumers pass them as string classNames.+.hoverableMenuItemBase :global(.hoverable-buttons) {+ opacity: 1;+ right: auto;+ transition: opacity duration(instant) ease;+}++.hoverableMenuItemBase[data-icon-displayed-on-hover-only]+ :global(.hoverable-buttons) {+ opacity: 0;+ right: var(--t-spacing-2);+}++.hoverableMenuItemBase:hover :global(.hoverable-buttons) {+ opacity: 1;+}++.hoverableMenuItemBase:hover :global(.grip-swap-default-icon) {+ opacity: 0;+}++.hoverableMenuItemBase:hover :global(.grip-swap-hover-icon) {+ opacity: 1;+}++.menuItemLabel {+ display: flex;+ flex-direction: row;+ font-size: var(--t-font-size-md);+ font-weight: var(--t-font-weight-regular);+ overflow: hidden;+ white-space: nowrap;+}++.menuItemLabelLight {+ color: var(--t-font-color-light);+ display: flex;+ flex-direction: row;+ font-size: var(--t-font-size-md);+ font-weight: var(--t-font-weight-regular);+ overflow: hidden;+ white-space: nowrap;+}++.noIconFiller {+ width: var(--t-spacing-1);+}++.menuItemLeftContent {+ align-items: center;+ display: flex;+ flex-direction: row;+ gap: var(--t-spacing-2);+ min-width: 0;+ width: 100%;+}++.menuItemLeftContent svg {+ flex-shrink: 0;+}++.menuItemRightContent {+ align-items: center;+ display: flex;+ flex-direction: row;+ gap: var(--t-spacing-2);+}++.menuItemRightContent svg {+ flex-shrink: 0;+}++.draggableItem {+ cursor: grab;+ align-items: center;+ display: flex;+}++.menuItemIconCheckContainer {+ align-items: center;+ display: flex;+ flex-shrink: 0;+ margin-right: var(--t-spacing-1);+}++.menuItemContextualText {+ color: var(--t-font-color-light);+ font-family: inherit;+ font-size: inherit;+ font-weight: inherit;+ padding-left: var(--t-spacing-1);+ flex-shrink: 1;+ overflow: hidden;+}++.rightMenuItemContextualText {+ color: var(--t-font-color-light);+ font-family: inherit;+ font-size: inherit;+ font-weight: inherit;+ padding-left: var(--t-spacing-1);+ flex-shrink: 1;+ overflow: hidden;+ text-align: right;+}diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/StyledMenuItemBase.module.scss.d.ts b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/StyledMenuItemBase.module.scss.d.tsnew file mode 100644index 00000000000..32d6bcbcfef--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/StyledMenuItemBase.module.scss.d.ts@@ -0,0 +1,14 @@+declare const classNames: {+ readonly menuItemBase: 'menuItemBase';+ readonly hoverableMenuItemBase: 'hoverableMenuItemBase';+ readonly menuItemLabel: 'menuItemLabel';+ readonly menuItemLabelLight: 'menuItemLabelLight';+ readonly noIconFiller: 'noIconFiller';+ readonly menuItemLeftContent: 'menuItemLeftContent';+ readonly menuItemRightContent: 'menuItemRightContent';+ readonly draggableItem: 'draggableItem';+ readonly menuItemIconCheckContainer: 'menuItemIconCheckContainer';+ readonly menuItemContextualText: 'menuItemContextualText';+ readonly rightMenuItemContextualText: 'rightMenuItemContextualText';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/StyledMenuItemBase.tsx b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/StyledMenuItemBase.tsxnew file mode 100644index 00000000000..d81b35c2341--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/internals/components/StyledMenuItemBase.tsx@@ -0,0 +1,174 @@+import { clsx } from 'clsx';+import { type ComponentPropsWithoutRef, forwardRef } from 'react';++import { IconCheck } from '@ui/display';+import { type MenuItemAccent } from '../../types/MenuItemAccent';++import styles from './StyledMenuItemBase.module.scss';++export type MenuItemBaseProps = {+ accent?: MenuItemAccent;+ isKeySelected?: boolean;+ isHoverBackgroundDisabled?: boolean;+ hovered?: boolean;+ disabled?: boolean;+ focused?: boolean;+};++// The deprecated Linaria styled components forwarded refs and arbitrary+// native props, so the ports preserve that contract.+type StyledMenuItemBaseElementProps = MenuItemBaseProps &+ ComponentPropsWithoutRef<'div'>;++export const StyledMenuItemBase = forwardRef<+ HTMLDivElement,+ StyledMenuItemBaseElementProps+>(+ (+ {+ accent,+ isKeySelected,+ isHoverBackgroundDisabled,+ hovered: _hovered,+ disabled,+ focused,+ className,+ children,+ ...rest+ },+ ref,+ ) => (+ <div+ ref={ref}+ className={clsx(styles.menuItemBase, className)}+ data-accent={accent}+ data-key-selected={isKeySelected || undefined}+ data-hover-background-disabled={isHoverBackgroundDisabled || undefined}+ data-disabled={disabled || undefined}+ data-focused={focused || undefined}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ >+ {children}+ </div>+ ),+);++StyledMenuItemBase.displayName = 'StyledMenuItemBase';++type StyledStaticDivProps = ComponentPropsWithoutRef<'div'>;++const createStyledDiv = (classNameFromModule: string, displayName: string) => {+ const StyledDiv = forwardRef<HTMLDivElement, StyledStaticDivProps>(+ ({ className, children, ...rest }, ref) => (+ <div+ ref={ref}+ className={clsx(classNameFromModule, className)}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ >+ {children}+ </div>+ ),+ );++ StyledDiv.displayName = displayName;++ return StyledDiv;+};++export const StyledMenuItemLabel = createStyledDiv(+ styles.menuItemLabel,+ 'StyledMenuItemLabel',+);++export const StyledMenuItemLabelLight = createStyledDiv(+ styles.menuItemLabelLight,+ 'StyledMenuItemLabelLight',+);++export const StyledNoIconFiller = createStyledDiv(+ styles.noIconFiller,+ 'StyledNoIconFiller',+);++export const StyledMenuItemLeftContent = createStyledDiv(+ styles.menuItemLeftContent,+ 'StyledMenuItemLeftContent',+);++export const StyledMenuItemRightContent = createStyledDiv(+ styles.menuItemRightContent,+ 'StyledMenuItemRightContent',+);++export const StyledDraggableItem = createStyledDiv(+ styles.draggableItem,+ 'StyledDraggableItem',+);++type HoverableMenuItemBaseProps = {+ isIconDisplayedOnHoverOnly?: boolean;+ cursor?: 'drag' | 'default';+} & MenuItemBaseProps;++type StyledHoverableMenuItemBaseElementProps = HoverableMenuItemBaseProps &+ ComponentPropsWithoutRef<'div'>;++export const StyledHoverableMenuItemBase = forwardRef<+ HTMLDivElement,+ StyledHoverableMenuItemBaseElementProps+>(+ (+ {+ accent,+ isKeySelected,+ isHoverBackgroundDisabled,+ hovered: _hovered,+ disabled,+ focused,+ isIconDisplayedOnHoverOnly,+ cursor,+ className,+ children,+ ...rest+ },+ ref,+ ) => (+ <div+ ref={ref}+ className={clsx(styles.hoverableMenuItemBase, className)}+ data-accent={accent}+ data-key-selected={isKeySelected || undefined}+ data-hover-background-disabled={isHoverBackgroundDisabled || undefined}+ data-disabled={disabled || undefined}+ data-focused={focused || undefined}+ data-icon-displayed-on-hover-only={+ isIconDisplayedOnHoverOnly || undefined+ }+ data-cursor={cursor}+ // oxlint-disable-next-line react/jsx-props-no-spreading+ {...rest}+ >+ {children}+ </div>+ ),+);++StyledHoverableMenuItemBase.displayName = 'StyledHoverableMenuItemBase';++export const StyledMenuItemIconCheck = ({ size }: { size?: number }) => (+ <div className={styles.menuItemIconCheckContainer}>+ <IconCheck size={size} />+ </div>+);++export const StyledMenuItemContextualText = createStyledDiv(+ styles.menuItemContextualText,+ 'StyledMenuItemContextualText',+);++export const StyledRightMenuItemContextualText = createStyledDiv(+ styles.rightMenuItemContextualText,+ 'StyledRightMenuItemContextualText',+);diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/types/MenuItemAccent.ts b/packages/twenty-ui/src/navigation/menu/menu-item/types/MenuItemAccent.tsnew file mode 100644index 00000000000..c67b7f0472c--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/types/MenuItemAccent.ts@@ -0,0 +1 @@+export type MenuItemAccent = 'default' | 'danger' | 'placeholder';diff --git a/packages/twenty-ui/src/navigation/menu/menu-item/types/MenuItemDraggableGripMode.ts b/packages/twenty-ui/src/navigation/menu/menu-item/types/MenuItemDraggableGripMode.tsnew file mode 100644index 00000000000..11b5df8a094--- /dev/null+++ b/packages/twenty-ui/src/navigation/menu/menu-item/types/MenuItemDraggableGripMode.ts@@ -0,0 +1 @@+export type MenuItemDraggableGripMode = 'always' | 'onHover' | 'never';diff --git a/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBar.module.scss b/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBar.module.scssnew file mode 100644index 00000000000..9a49c014f9d--- /dev/null+++ b/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBar.module.scss@@ -0,0 +1,7 @@+.container {+ display: flex;+ gap: var(--t-spacing-4);+ justify-content: center;+ padding: var(--t-spacing-3);+ z-index: 1001;+}diff --git a/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBar.module.scss.d.ts b/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBar.module.scss.d.tsnew file mode 100644index 00000000000..8df71b4dead--- /dev/null+++ b/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBar.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly container: 'container';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBar.tsx b/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBar.tsxnew file mode 100644index 00000000000..b30dccfe13f--- /dev/null+++ b/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBar.tsx@@ -0,0 +1,28 @@+import { type IconComponent } from '@ui/display/icon/types/IconComponent';++import { NavigationBarItem } from './NavigationBarItem';++import styles from './NavigationBar.module.scss';++type NavigationBarProps = {+ activeItemName: string;+ items: { name: string; Icon: IconComponent; onClick: () => void }[];+};++export const NavigationBar = ({+ activeItemName,+ items,+}: NavigationBarProps) => {+ return (+ <div className={styles.container}>+ {items.map(({ Icon, name, onClick }) => (+ <NavigationBarItem+ key={name}+ Icon={Icon}+ isActive={activeItemName === name}+ onClick={onClick}+ />+ ))}+ </div>+ );+};diff --git a/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBarItem.module.scss b/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBarItem.module.scssnew file mode 100644index 00000000000..86af7e1dfa2--- /dev/null+++ b/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBarItem.module.scss@@ -0,0 +1,18 @@+.iconButton {+ align-items: center;+ border-radius: var(--t-spacing-1);+ cursor: pointer;+ display: flex;+ height: var(--t-spacing-10);+ justify-content: center;+ transition: background-color duration(fast) ease;+ width: var(--t-spacing-10);++ &[data-active] {+ background-color: var(--t-background-transparent-light);+ }++ &:hover {+ background-color: var(--t-background-transparent-light);+ }+}diff --git a/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBarItem.module.scss.d.ts b/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBarItem.module.scss.d.tsnew file mode 100644index 00000000000..a106f42ab86--- /dev/null+++ b/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBarItem.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly iconButton: 'iconButton';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBarItem.tsx b/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBarItem.tsxnew file mode 100644index 00000000000..86060f803cc--- /dev/null+++ b/packages/twenty-ui/src/navigation/navigation-bar/components/NavigationBarItem.tsx@@ -0,0 +1,33 @@+import { useContext } from 'react';++import { type IconComponent } from '@ui/display/icon/types/IconComponent';+import { ThemeContext, themeCssVariables } from '@ui/theme-constants';++import styles from './NavigationBarItem.module.scss';++type NavigationBarItemProps = {+ Icon: IconComponent;+ isActive: boolean;+ onClick: () => void;+};++export const NavigationBarItem = ({+ Icon,+ isActive,+ onClick,+}: NavigationBarItemProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <div+ className={styles.iconButton}+ data-active={isActive ? '' : undefined}+ onClick={onClick}+ >+ <Icon+ color={themeCssVariables.grayScale.gray10}+ size={theme.icon.size.lg}+ />+ </div>+ );+};diff --git a/packages/twenty-ui/src/navigation/navigation-bar/components/__stories__/NavigationBar.stories.tsx b/packages/twenty-ui/src/navigation/navigation-bar/components/__stories__/NavigationBar.stories.tsxnew file mode 100644index 00000000000..6da40879b6b--- /dev/null+++ b/packages/twenty-ui/src/navigation/navigation-bar/components/__stories__/NavigationBar.stories.tsx@@ -0,0 +1,25 @@+import { type Meta, type StoryObj } from '@storybook/react-vite';+import { IconHome, IconSearch, IconSettings } from '@ui/display';+import { ComponentDecorator } from '@ui/testing';++import { NavigationBar } from '../NavigationBar';++const meta: Meta<typeof NavigationBar> = {+ title: 'UI/Navigation/NavigationBar/NavigationBar',+ component: NavigationBar,+ decorators: [ComponentDecorator],+};++export default meta;+type Story = StoryObj<typeof NavigationBar>;++export const Default: Story = {+ args: {+ activeItemName: 'Home',+ items: [+ { name: 'Home', Icon: IconHome, onClick: () => {} },+ { name: 'Search', Icon: IconSearch, onClick: () => {} },+ { name: 'Settings', Icon: IconSettings, onClick: () => {} },+ ],+ },+};diff --git a/packages/twenty-ui/src/navigation/notification-counter/components/NotificationCounter.module.scss b/packages/twenty-ui/src/navigation/notification-counter/components/NotificationCounter.module.scssnew file mode 100644index 00000000000..9c27da0b8f4--- /dev/null+++ b/packages/twenty-ui/src/navigation/notification-counter/components/NotificationCounter.module.scss@@ -0,0 +1,20 @@+.notificationCounter {+ width: 14px;+ height: 14px;+ border-radius: 50%;+ display: flex;+ align-items: center;+ justify-content: center;+ font-size: var(--t-font-size-xxs);+ font-weight: var(--t-font-weight-semi-bold);+}++.primary {+ background: var(--t-color-blue);+ color: white;+}++.secondary {+ background: var(--t-background-transparent-light);+ color: var(--t-font-color-secondary);+}diff --git a/packages/twenty-ui/src/navigation/notification-counter/components/NotificationCounter.module.scss.d.ts b/packages/twenty-ui/src/navigation/notification-counter/components/NotificationCounter.module.scss.d.tsnew file mode 100644index 00000000000..126e4c25778--- /dev/null+++ b/packages/twenty-ui/src/navigation/notification-counter/components/NotificationCounter.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly notificationCounter: 'notificationCounter';+ readonly primary: 'primary';+ readonly secondary: 'secondary';+};+export default classNames;diff --git a/packages/twenty-ui/src/navigation/notification-counter/components/NotificationCounter.tsx b/packages/twenty-ui/src/navigation/notification-counter/components/NotificationCounter.tsxnew file mode 100644index 00000000000..17d9ff2abfd--- /dev/null+++ b/packages/twenty-ui/src/navigation/notification-counter/components/NotificationCounter.tsx@@ -0,0 +1,23 @@+import { clsx } from 'clsx';++import styles from './NotificationCounter.module.scss';++type NotificationCounterProps = {+ count: number;+ variant?: 'primary' | 'secondary';+ className?: string;+};++export const NotificationCounter = ({+ count,+ variant = 'primary',+ className,+}: NotificationCounterProps) => {+ return (+ <div+ className={clsx(styles.notificationCounter, styles[variant], className)}+ >+ {count}+ </div>+ );+};diff --git a/packages/twenty-ui/src/testing/ComponentStorybookLayout.module.scss b/packages/twenty-ui/src/testing/ComponentStorybookLayout.module.scssnew file mode 100644index 00000000000..1beab499c4e--- /dev/null+++ b/packages/twenty-ui/src/testing/ComponentStorybookLayout.module.scss@@ -0,0 +1,11 @@+.layout {+ background: var(--t-background-primary);+ border: 1px solid var(--t-border-color-light);+ border-radius: 5px;++ display: flex;+ flex-direction: row;++ max-width: calc(100% - 40px);+ padding: 20px;+}diff --git a/packages/twenty-ui/src/testing/ComponentStorybookLayout.module.scss.d.ts b/packages/twenty-ui/src/testing/ComponentStorybookLayout.module.scss.d.tsnew file mode 100644index 00000000000..a5c9014be6b--- /dev/null+++ b/packages/twenty-ui/src/testing/ComponentStorybookLayout.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly layout: 'layout';+};+export default classNames;diff --git a/packages/twenty-ui/src/testing/ComponentStorybookLayout.tsx b/packages/twenty-ui/src/testing/ComponentStorybookLayout.tsxnew file mode 100644index 00000000000..f932cf43965--- /dev/null+++ b/packages/twenty-ui/src/testing/ComponentStorybookLayout.tsx@@ -0,0 +1,32 @@+import { isDefined } from '@ui/utilities/utils/isDefined';++import styles from './ComponentStorybookLayout.module.scss';++type ComponentStorybookLayoutProps = {+ width?: number;+ backgroundColor?: string | undefined;+ height?: number;+ children: JSX.Element;+};++export const ComponentStorybookLayout = ({+ width,+ backgroundColor,+ height,+ children,+}: ComponentStorybookLayoutProps) => {+ return (+ <div+ className={styles.layout}+ style={{+ // background falls back to the SCSS default when undefined+ background: backgroundColor,+ height: isDefined(height) ? `${height}px` : 'fit-content',+ minWidth: width ? 'unset' : '300px',+ width: width ? `${width}px` : 'fit-content',+ }}+ >+ {children}+ </div>+ );+};diff --git a/packages/twenty-ui/src/testing/decorators/CatalogDecorator.module.scss b/packages/twenty-ui/src/testing/decorators/CatalogDecorator.module.scssnew file mode 100644index 00000000000..5b705a52c05--- /dev/null+++ b/packages/twenty-ui/src/testing/decorators/CatalogDecorator.module.scss@@ -0,0 +1,65 @@+.columnTitle {+ font-size: var(--t-font-size-lg);+ font-weight: var(--t-font-weight-semi-bold);+ margin: var(--t-spacing-2);+}++.rowsTitle {+ color: var(--t-font-color-secondary);+ font-size: var(--t-font-size-md);+ font-weight: var(--t-font-weight-semi-bold);+ margin: var(--t-spacing-2);+ width: 100px;+}++.rowTitle {+ color: var(--t-font-color-tertiary);+ font-size: var(--t-font-size-md);+ font-weight: var(--t-font-weight-semi-bold);+ margin: var(--t-spacing-2);+ width: 100px;+}++.elementTitle {+ color: var(--t-font-color-light);+ font-size: var(--t-font-size-xs);+ font-weight: var(--t-font-weight-semi-bold);+ margin-bottom: var(--t-spacing-1);+ text-align: center;+ text-transform: uppercase;+}++.container {+ display: flex;+ flex-direction: row;+}++.columnContainer {+ display: flex;+ flex-direction: column;+ padding: var(--t-spacing-2);+}++.rowsContainer {+ display: flex;+ flex-direction: column;+ gap: var(--t-spacing-2);+}++.rowContainer {+ display: flex;+ flex: 1;+ flex-direction: row;+ gap: var(--t-spacing-2);+}++.elementContainer {+ display: flex;+}++.cellContainer {+ align-items: center;+ display: flex;+ flex-direction: column;+ padding: var(--t-spacing-2);+}diff --git a/packages/twenty-ui/src/testing/decorators/CatalogDecorator.module.scss.d.ts b/packages/twenty-ui/src/testing/decorators/CatalogDecorator.module.scss.d.tsnew file mode 100644index 00000000000..dc96cff086a--- /dev/null+++ b/packages/twenty-ui/src/testing/decorators/CatalogDecorator.module.scss.d.ts@@ -0,0 +1,13 @@+declare const classNames: {+ readonly columnTitle: 'columnTitle';+ readonly rowsTitle: 'rowsTitle';+ readonly rowTitle: 'rowTitle';+ readonly elementTitle: 'elementTitle';+ readonly container: 'container';+ readonly columnContainer: 'columnContainer';+ readonly rowsContainer: 'rowsContainer';+ readonly rowContainer: 'rowContainer';+ readonly elementContainer: 'elementContainer';+ readonly cellContainer: 'cellContainer';+};+export default classNames;diff --git a/packages/twenty-ui/src/testing/decorators/CatalogDecorator.tsx b/packages/twenty-ui/src/testing/decorators/CatalogDecorator.tsxnew file mode 100644index 00000000000..88d8dc309eb--- /dev/null+++ b/packages/twenty-ui/src/testing/decorators/CatalogDecorator.tsx@@ -0,0 +1,117 @@+import { isNumber, isString } from '@sniptt/guards';+import { type Decorator } from '@storybook/react-vite';+import { clsx } from 'clsx';+import { type ComponentProps, type JSX } from 'react';++import styles from './CatalogDecorator.module.scss';++const emptyDimension = {+ name: '',+ values: [undefined],+ props: () => ({}),+} as CatalogDimension;++const isStringOrNumber = (term: unknown): term is string | number =>+ isString(term) || isNumber(term);++export type CatalogDimension<+ ComponentType extends React.ElementType = () => JSX.Element,+> = {+ name: string;+ values: any[];+ props: (value: any) => Partial<ComponentProps<ComponentType>>;+ labels?: (value: any) => string;+};++export type CatalogOptions = {+ elementContainer?: {+ width?: number;+ style?: React.CSSProperties;+ className?: string;+ };+};++export const CatalogDecorator: Decorator = (Story, context) => {+ const {+ catalog: { dimensions = [], options = {} } = {+ dimensions: [],+ options: {},+ },+ } = context.parameters || {};++ if (!dimensions || !Array.isArray(dimensions)) {+ return <Story />;+ }++ const [+ dimension1 = emptyDimension,+ dimension2 = emptyDimension,+ dimension3 = emptyDimension,+ dimension4 = emptyDimension,+ ] = dimensions as CatalogDimension[];++ return (+ <div className={styles.container}>+ {dimension4.values.map((value4: any, index4: number) => (+ <div className={styles.columnContainer} key={`d4-${index4}`}>+ <h1 className={styles.columnTitle}>+ {dimension4.labels?.(value4) ??+ (isStringOrNumber(value4) ? value4 : '')}+ </h1>+ {dimension3.values.map((value3: any, index3: number) => (+ <div className={styles.rowsContainer} key={`d3-${index3}`}>+ <h2 className={styles.rowsTitle}>+ {dimension3.labels?.(value3) ??+ (isStringOrNumber(value3) ? value3 : '')}+ </h2>+ {dimension2.values.map((value2: any, index2: number) => (+ <div className={styles.rowContainer} key={`d2-${index2}`}>+ <h3 className={styles.rowTitle}>+ {dimension2.labels?.(value2) ??+ (isStringOrNumber(value2) ? value2 : '')}+ </h3>+ {dimension1.values.map((value1: any, index1: number) => {+ return (+ <div+ className={styles.cellContainer}+ key={`d1-${index1}`}+ id={value1}+ >+ <span className={styles.elementTitle}>+ {dimension1.labels?.(value1) ??+ (isStringOrNumber(value1) ? value1 : '')}+ </span>+ <div+ className={clsx(+ styles.elementContainer,+ options?.elementContainer?.className,+ )}+ style={{+ minWidth: options?.elementContainer?.width+ ? `${options.elementContainer.width}px`+ : 'auto',+ ...options?.elementContainer?.style,+ }}+ >+ <Story+ args={{+ ...context.args,+ ...dimension1.props(value1),+ ...dimension2.props(value2),+ ...dimension3.props(value3),+ ...dimension4.props(value4),+ }}+ />+ </div>+ </div>+ );+ })}+ </div>+ ))}+ </div>+ ))}+ </div>+ ))}+ </div>+ );+};diff --git a/packages/twenty-ui/src/testing/decorators/ComponentDecorator.tsx b/packages/twenty-ui/src/testing/decorators/ComponentDecorator.tsxnew file mode 100644index 00000000000..6e24cd0d545--- /dev/null+++ b/packages/twenty-ui/src/testing/decorators/ComponentDecorator.tsx@@ -0,0 +1,40 @@+import { type Decorator } from '@storybook/react-vite';++import { themeCssVariables } from '@ui/theme-constants';++import { ComponentStorybookLayout } from '../ComponentStorybookLayout';++const getBackgroundColor = (+ inverted: boolean,+ accent: string,+): string | undefined => {+ if (!inverted) return undefined;++ switch (accent) {+ case 'default':+ return themeCssVariables.grayScale.gray11;+ case 'danger':+ return themeCssVariables.color.red;+ case 'blue':+ return themeCssVariables.color.blue;+ default:+ return undefined;+ }+};++export const ComponentDecorator: Decorator = (Story, context) => {+ const { container } = context.parameters;+ const inverted = context.args.inverted as boolean;+ const accent = context.args.accent as string;+ const backgroundColor = getBackgroundColor(inverted, accent);++ return (+ <ComponentStorybookLayout+ width={container?.width}+ height={container?.height}+ backgroundColor={backgroundColor}+ >+ <Story />+ </ComponentStorybookLayout>+ );+};diff --git a/packages/twenty-ui/src/testing/decorators/ComponentWithRouterDecorator.tsx b/packages/twenty-ui/src/testing/decorators/ComponentWithRouterDecorator.tsxnew file mode 100644index 00000000000..ed0044fc84d--- /dev/null+++ b/packages/twenty-ui/src/testing/decorators/ComponentWithRouterDecorator.tsx@@ -0,0 +1,82 @@+import { type Decorator } from '@storybook/react-vite';+import {+ createMemoryRouter,+ createRoutesFromElements,+ Outlet,+ Route,+ RouterProvider,+} from 'react-router-dom';++import { ComponentStorybookLayout } from '../ComponentStorybookLayout';++interface StrictArgs {+ [name: string]: unknown;+}+export type RouteParams = {+ [param: string]: string;+};++export const isRouteParams = (obj: any): obj is RouteParams => {+ if (typeof obj !== 'object' || obj === null) {+ return false;+ }++ return Object.keys(obj).every((key) => typeof obj[key] === 'string');+};++export const computeLocation = (+ routePath: string,+ routeParams?: RouteParams,+) => {+ return {+ pathname: routePath.replace(+ /:(\w+)/g,+ (paramName) => routeParams?.[paramName] ?? '',+ ),+ };+};++const Providers = () => (+ <ComponentStorybookLayout>+ <Outlet />+ </ComponentStorybookLayout>+);++const createRouter = ({+ Story,+ args,+ initialEntries,+ initialIndex,+}: {+ Story: () => JSX.Element;+ args: StrictArgs;+ initialEntries?: {+ pathname: string;+ }[];+ initialIndex?: number;+}) =>+ createMemoryRouter(+ createRoutesFromElements(+ <Route element={<Providers />}>+ <Route path={(args.routePath as string) ?? '*'} element={<Story />} />+ </Route>,+ ),+ { initialEntries, initialIndex },+ );++export const ComponentWithRouterDecorator: Decorator = (Story, { args }) => {+ return (+ <RouterProvider+ router={createRouter({+ Story,+ args,+ initialEntries:+ args.routePath &&+ typeof args.routePath === 'string' &&+ (args.routeParams === undefined || isRouteParams(args.routeParams))+ ? [computeLocation(args.routePath, args.routeParams)]+ : [{ pathname: '/' }],+ })}+ />+ );+};diff --git a/packages/twenty-ui/src/testing/decorators/JotaiRootDecorator.tsx b/packages/twenty-ui/src/testing/decorators/JotaiRootDecorator.tsxnew file mode 100644index 00000000000..b4ec98bce4e--- /dev/null+++ b/packages/twenty-ui/src/testing/decorators/JotaiRootDecorator.tsx@@ -0,0 +1,9 @@+import { type Decorator } from '@storybook/react-vite';++import { Provider as JotaiProvider } from 'jotai';++export const JotaiRootDecorator: Decorator = (Story) => (+ <JotaiProvider>+ <Story />+ </JotaiProvider>+);diff --git a/packages/twenty-ui/src/testing/decorators/RouterDecorator.tsx b/packages/twenty-ui/src/testing/decorators/RouterDecorator.tsxnew file mode 100644index 00000000000..7f1be7046f8--- /dev/null+++ b/packages/twenty-ui/src/testing/decorators/RouterDecorator.tsx@@ -0,0 +1,8 @@+import { type Decorator } from '@storybook/react-vite';+import { MemoryRouter } from 'react-router-dom';++export const RouterDecorator: Decorator = (Story) => (+ <MemoryRouter>+ <Story />+ </MemoryRouter>+);diff --git a/packages/twenty-ui/src/testing/index.ts b/packages/twenty-ui/src/testing/index.tsindex a3046804c03..8d8675d81b0 100644--- a/packages/twenty-ui/src/testing/index.ts+++ b/packages/twenty-ui/src/testing/index.ts@@ -7,4 +7,20 @@* |___/*/-export {};+export { ComponentStorybookLayout } from './ComponentStorybookLayout';+export type {+ CatalogDimension,+ CatalogOptions,+} from './decorators/CatalogDecorator';+export { CatalogDecorator } from './decorators/CatalogDecorator';+export { ComponentDecorator } from './decorators/ComponentDecorator';+export type { RouteParams } from './decorators/ComponentWithRouterDecorator';+export {+ isRouteParams,+ computeLocation,+ ComponentWithRouterDecorator,+} from './decorators/ComponentWithRouterDecorator';+export { JotaiRootDecorator } from './decorators/JotaiRootDecorator';+export { RouterDecorator } from './decorators/RouterDecorator';+export { AVATAR_URL_MOCK } from './mocks/avatarUrlMock';+export type { CatalogStory } from './types/CatalogStory';diff --git a/packages/twenty-ui/src/testing/mocks/avatarUrlMock.ts b/packages/twenty-ui/src/testing/mocks/avatarUrlMock.tsnew file mode 100644index 00000000000..c8b2cc3d2be--- /dev/null+++ b/packages/twenty-ui/src/testing/mocks/avatarUrlMock.ts@@ -0,0 +1,2 @@+export const AVATAR_URL_MOCK =+ 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAYABgAAD/4QCMRXhpZgAATU0AKgAAAAgABQESAAMAAAABAAEAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAIdpAAQAAAABAAAAWgAAAAAAAABgAAAAAQAAAGAAAAABAAOgAQADAAAAAQABAACgAgAEAAAAAQAAABSgAwAEAAAAAQAAABQAAAAA/8AAEQgAFAAUAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/bAEMACwgICggHCwoJCg0MCw0RHBIRDw8RIhkaFBwpJCsqKCQnJy0yQDctMD0wJyc4TDk9Q0VISUgrNk9VTkZUQEdIRf/bAEMBDA0NEQ8RIRISIUUuJy5FRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRUVFRf/dAAQAAv/aAAwDAQACEQMRAD8Ava1q728otYY98joSCTgZrnbXWdTtrhrfVZXWLafmcAEkdgR/hVltQku9Q8+OIEBcGOT+ID0PY1ka1KH2u8ToqnPLbmIqG7u6LtbQ7RXBRec4Uck9eKXcPWsKDWVnhWSL5kYcFelSf2m3901POh8jP//QoyIAnTuKpXsY82NsksUyWPU5q/L9z8RVK++/F/uCsVsaEURwgA4HtT9x9TUcf3KfUGh//9k=';diff --git a/packages/twenty-ui/src/testing/types/CatalogStory.ts b/packages/twenty-ui/src/testing/types/CatalogStory.tsnew file mode 100644index 00000000000..caf2da26f18--- /dev/null+++ b/packages/twenty-ui/src/testing/types/CatalogStory.ts@@ -0,0 +1,24 @@+import { type StoryObj } from '@storybook/react-vite';+import { type ElementType } from 'react';++import {+ type CatalogDimension,+ type CatalogOptions,+} from '../decorators/CatalogDecorator';++export type CatalogStory<+ StoryType extends StoryObj<ComponentType>,+ ComponentType extends ElementType,+> = {+ args?: StoryType['args'];+ argTypes?: StoryType['argTypes'];+ play?: StoryType['play'];+ render?: StoryType['render'];+ parameters: StoryType['parameters'] & {+ catalog: {+ dimensions: CatalogDimension<ComponentType>[];+ options?: CatalogOptions;+ };+ };+ decorators: StoryType['decorators'];+};diff --git a/packages/twenty-ui/src/theme-constants/__tests__/getNextThemeColor.test.ts b/packages/twenty-ui/src/theme-constants/__tests__/getNextThemeColor.test.tsindex d1e316dccbd..b8b126433be 100644--- a/packages/twenty-ui/src/theme-constants/__tests__/getNextThemeColor.test.ts+++ b/packages/twenty-ui/src/theme-constants/__tests__/getNextThemeColor.test.ts@@ -1,7 +1,7 @@import {MAIN_COLOR_NAMES,type ThemeColor,-} from '@new-ui/theme/constants/MainColorNames';+} from '@ui/theme/constants/MainColorNames';import { getNextThemeColor } from '../getNextThemeColor';diff --git a/packages/twenty-ui/src/theme-constants/getNextThemeColor.ts b/packages/twenty-ui/src/theme-constants/getNextThemeColor.tsindex ce8dfdc8e02..7cdcc7ba9a9 100644--- a/packages/twenty-ui/src/theme-constants/getNextThemeColor.ts+++ b/packages/twenty-ui/src/theme-constants/getNextThemeColor.ts@@ -1,4 +1,4 @@-import { type ThemeColor } from '@new-ui/theme/constants/MainColorNames';+import { type ThemeColor } from '@ui/theme/constants/MainColorNames';export const getNextThemeColor = (colorNames: ThemeColor[],diff --git a/packages/twenty-ui/src/theme/constants/AccentDark.ts b/packages/twenty-ui/src/theme/constants/AccentDark.tsindex c95cd81d314..a8fad2b9e95 100644--- a/packages/twenty-ui/src/theme/constants/AccentDark.ts+++ b/packages/twenty-ui/src/theme/constants/AccentDark.ts@@ -1,5 +1,5 @@import * as RadixColors from '@radix-ui/colors';-import { COLOR_DARK } from '@new-ui/theme/constants/ColorsDark';+import { COLOR_DARK } from '@ui/theme/constants/ColorsDark';export const ACCENT_DARK = {primary: COLOR_DARK.blue5,diff --git a/packages/twenty-ui/src/theme/constants/AccentLight.ts b/packages/twenty-ui/src/theme/constants/AccentLight.tsindex f8e6c7cf3c1..5895d44acdd 100644--- a/packages/twenty-ui/src/theme/constants/AccentLight.ts+++ b/packages/twenty-ui/src/theme/constants/AccentLight.ts@@ -1,5 +1,5 @@import * as RadixColors from '@radix-ui/colors';-import { COLOR_LIGHT } from '@new-ui/theme/constants/ColorsLight';+import { COLOR_LIGHT } from '@ui/theme/constants/ColorsLight';export const ACCENT_LIGHT = {primary: COLOR_LIGHT.blue5,diff --git a/packages/twenty-ui/src/theme/constants/BackgroundDark.ts b/packages/twenty-ui/src/theme/constants/BackgroundDark.tsindex e3d7420b6b2..2d6c207d56b 100644--- a/packages/twenty-ui/src/theme/constants/BackgroundDark.ts+++ b/packages/twenty-ui/src/theme/constants/BackgroundDark.ts@@ -1,6 +1,6 @@import * as RadixColors from '@radix-ui/colors';-import { COLOR_DARK } from '@new-ui/theme/constants/ColorsDark';+import { COLOR_DARK } from '@ui/theme/constants/ColorsDark';import { GRAY_SCALE_DARK } from './GrayScaleDark';import { TRANSPARENT_COLORS_DARK } from './TransparentColorsDark';diff --git a/packages/twenty-ui/src/theme/constants/BackgroundLight.ts b/packages/twenty-ui/src/theme/constants/BackgroundLight.tsindex 4ba0183af24..adc5bc17958 100644--- a/packages/twenty-ui/src/theme/constants/BackgroundLight.ts+++ b/packages/twenty-ui/src/theme/constants/BackgroundLight.ts@@ -1,6 +1,6 @@import * as RadixColors from '@radix-ui/colors';-import { COLOR_LIGHT } from '@new-ui/theme/constants/ColorsLight';+import { COLOR_LIGHT } from '@ui/theme/constants/ColorsLight';import { GRAY_SCALE_LIGHT } from './GrayScaleLight';import { TRANSPARENT_COLORS_LIGHT } from './TransparentColorsLight';diff --git a/packages/twenty-ui/src/theme/constants/BorderDark.ts b/packages/twenty-ui/src/theme/constants/BorderDark.tsindex 4105fe4407a..2ae9260a562 100644--- a/packages/twenty-ui/src/theme/constants/BorderDark.ts+++ b/packages/twenty-ui/src/theme/constants/BorderDark.ts@@ -1,4 +1,4 @@-import { COLOR_DARK } from '@new-ui/theme/constants/ColorsDark';+import { COLOR_DARK } from '@ui/theme/constants/ColorsDark';import { BORDER_COMMON } from './BorderCommon';import { GRAY_SCALE_DARK } from './GrayScaleDark';import { TRANSPARENT_COLORS_DARK } from './TransparentColorsDark';diff --git a/packages/twenty-ui/src/theme/constants/BorderLight.ts b/packages/twenty-ui/src/theme/constants/BorderLight.tsindex 9470a406640..a104188b80a 100644--- a/packages/twenty-ui/src/theme/constants/BorderLight.ts+++ b/packages/twenty-ui/src/theme/constants/BorderLight.ts@@ -1,4 +1,4 @@-import { COLOR_LIGHT } from '@new-ui/theme/constants/ColorsLight';+import { COLOR_LIGHT } from '@ui/theme/constants/ColorsLight';import { BORDER_COMMON } from './BorderCommon';import { GRAY_SCALE_LIGHT } from './GrayScaleLight';import { TRANSPARENT_COLORS_LIGHT } from './TransparentColorsLight';diff --git a/packages/twenty-ui/src/theme/constants/BoxShadowDark.ts b/packages/twenty-ui/src/theme/constants/BoxShadowDark.tsindex aad5ca2719f..855a65e45a6 100644--- a/packages/twenty-ui/src/theme/constants/BoxShadowDark.ts+++ b/packages/twenty-ui/src/theme/constants/BoxShadowDark.ts@@ -1,4 +1,4 @@-import { RGBA } from '@new-ui/theme/constants/Rgba';+import { RGBA } from '@ui/theme/constants/Rgba';/* oxlint-disable twenty/no-hardcoded-colors */export const BOX_SHADOW_DARK = {diff --git a/packages/twenty-ui/src/theme/constants/BoxShadowLight.ts b/packages/twenty-ui/src/theme/constants/BoxShadowLight.tsindex 5ac33ae3031..bca674ee7e2 100644--- a/packages/twenty-ui/src/theme/constants/BoxShadowLight.ts+++ b/packages/twenty-ui/src/theme/constants/BoxShadowLight.ts@@ -1,4 +1,4 @@-import { GRAY_SCALE_LIGHT_ALPHA } from '@new-ui/theme/constants/GrayScaleLightAlpha';+import { GRAY_SCALE_LIGHT_ALPHA } from '@ui/theme/constants/GrayScaleLightAlpha';export const BOX_SHADOW_LIGHT = {color: GRAY_SCALE_LIGHT_ALPHA.gray2,diff --git a/packages/twenty-ui/src/theme/constants/CodeDark.ts b/packages/twenty-ui/src/theme/constants/CodeDark.tsindex afda65c33ca..2cefda59d2f 100644--- a/packages/twenty-ui/src/theme/constants/CodeDark.ts+++ b/packages/twenty-ui/src/theme/constants/CodeDark.ts@@ -1,4 +1,4 @@-import { COLOR_DARK } from '@new-ui/theme/constants/ColorsDark';+import { COLOR_DARK } from '@ui/theme/constants/ColorsDark';export const CODE_DARK = {text: {diff --git a/packages/twenty-ui/src/theme/constants/CodeLight.ts b/packages/twenty-ui/src/theme/constants/CodeLight.tsindex 116d7ef87ff..b598b081376 100644--- a/packages/twenty-ui/src/theme/constants/CodeLight.ts+++ b/packages/twenty-ui/src/theme/constants/CodeLight.ts@@ -1,4 +1,4 @@-import { COLOR_LIGHT } from '@new-ui/theme/constants/ColorsLight';+import { COLOR_LIGHT } from '@ui/theme/constants/ColorsLight';export const CODE_LIGHT = {text: {diff --git a/packages/twenty-ui/src/theme/constants/FontDark.ts b/packages/twenty-ui/src/theme/constants/FontDark.tsindex e18570b5c4b..3d1fada0aa8 100644--- a/packages/twenty-ui/src/theme/constants/FontDark.ts+++ b/packages/twenty-ui/src/theme/constants/FontDark.ts@@ -1,4 +1,4 @@-import { COLOR_DARK } from '@new-ui/theme/constants/ColorsDark';+import { COLOR_DARK } from '@ui/theme/constants/ColorsDark';import { FONT_COMMON } from './FontCommon';import { GRAY_SCALE_DARK } from './GrayScaleDark';diff --git a/packages/twenty-ui/src/theme/constants/FontLight.ts b/packages/twenty-ui/src/theme/constants/FontLight.tsindex ec00f79108d..2870a62851c 100644--- a/packages/twenty-ui/src/theme/constants/FontLight.ts+++ b/packages/twenty-ui/src/theme/constants/FontLight.ts@@ -1,4 +1,4 @@-import { COLOR_LIGHT } from '@new-ui/theme/constants/ColorsLight';+import { COLOR_LIGHT } from '@ui/theme/constants/ColorsLight';import { FONT_COMMON } from './FontCommon';import { GRAY_SCALE_LIGHT } from './GrayScaleLight';diff --git a/packages/twenty-ui/src/theme/constants/IllustrationIconDark.ts b/packages/twenty-ui/src/theme/constants/IllustrationIconDark.tsindex 9d4ba4f561d..e70f4ce4170 100644--- a/packages/twenty-ui/src/theme/constants/IllustrationIconDark.ts+++ b/packages/twenty-ui/src/theme/constants/IllustrationIconDark.ts@@ -1,5 +1,5 @@-import { COLOR_DARK } from '@new-ui/theme/constants/ColorsDark';-import { GRAY_SCALE_DARK } from '@new-ui/theme/constants/GrayScaleDark';+import { COLOR_DARK } from '@ui/theme/constants/ColorsDark';+import { GRAY_SCALE_DARK } from '@ui/theme/constants/GrayScaleDark';export const ILLUSTRATION_ICON_DARK = {color: {diff --git a/packages/twenty-ui/src/theme/constants/IllustrationIconLight.ts b/packages/twenty-ui/src/theme/constants/IllustrationIconLight.tsindex 501f8f318b5..3f61bbebd84 100644--- a/packages/twenty-ui/src/theme/constants/IllustrationIconLight.ts+++ b/packages/twenty-ui/src/theme/constants/IllustrationIconLight.ts@@ -1,5 +1,5 @@-import { COLOR_LIGHT } from '@new-ui/theme/constants/ColorsLight';-import { GRAY_SCALE_LIGHT } from '@new-ui/theme/constants/GrayScaleLight';+import { COLOR_LIGHT } from '@ui/theme/constants/ColorsLight';+import { GRAY_SCALE_LIGHT } from '@ui/theme/constants/GrayScaleLight';export const ILLUSTRATION_ICON_LIGHT = {color: {diff --git a/packages/twenty-ui/src/theme/constants/MainColorsDark.ts b/packages/twenty-ui/src/theme/constants/MainColorsDark.tsindex eb7e6bb9878..cd76aba2a4c 100644--- a/packages/twenty-ui/src/theme/constants/MainColorsDark.ts+++ b/packages/twenty-ui/src/theme/constants/MainColorsDark.ts@@ -1,5 +1,5 @@import * as RadixColors from '@radix-ui/colors';-import { GRAY_SCALE_DARK } from '@new-ui/theme/constants/GrayScaleDark';+import { GRAY_SCALE_DARK } from '@ui/theme/constants/GrayScaleDark';export const MAIN_COLORS_DARK = {// Redsdiff --git a/packages/twenty-ui/src/theme/constants/SecondaryColorsDark.ts b/packages/twenty-ui/src/theme/constants/SecondaryColorsDark.tsindex 1792dc92903..01e7d116918 100644--- a/packages/twenty-ui/src/theme/constants/SecondaryColorsDark.ts+++ b/packages/twenty-ui/src/theme/constants/SecondaryColorsDark.ts@@ -1,5 +1,5 @@import * as RadixColors from '@radix-ui/colors';-import { GRAY_SCALE_DARK } from '@new-ui/theme/constants/GrayScaleDark';+import { GRAY_SCALE_DARK } from '@ui/theme/constants/GrayScaleDark';export const SECONDARY_COLORS_DARK = {yellow1: RadixColors.yellowDarkP3.yellow1,diff --git a/packages/twenty-ui/src/theme/constants/SnackBarDark.ts b/packages/twenty-ui/src/theme/constants/SnackBarDark.tsindex 981a2cb45a0..3404932b7be 100644--- a/packages/twenty-ui/src/theme/constants/SnackBarDark.ts+++ b/packages/twenty-ui/src/theme/constants/SnackBarDark.ts@@ -1,6 +1,6 @@-import { BACKGROUND_DARK } from '@new-ui/theme/constants/BackgroundDark';-import { FONT_DARK } from '@new-ui/theme/constants/FontDark';-import { MAIN_COLORS_DARK } from '@new-ui/theme/constants/MainColorsDark';+import { BACKGROUND_DARK } from '@ui/theme/constants/BackgroundDark';+import { FONT_DARK } from '@ui/theme/constants/FontDark';+import { MAIN_COLORS_DARK } from '@ui/theme/constants/MainColorsDark';export const SNACK_BAR_DARK = {success: {diff --git a/packages/twenty-ui/src/theme/constants/SnackBarLight.ts b/packages/twenty-ui/src/theme/constants/SnackBarLight.tsindex 1e669e4f6f4..38a13940a38 100644--- a/packages/twenty-ui/src/theme/constants/SnackBarLight.ts+++ b/packages/twenty-ui/src/theme/constants/SnackBarLight.ts@@ -1,6 +1,6 @@-import { BACKGROUND_LIGHT } from '@new-ui/theme/constants/BackgroundLight';-import { FONT_LIGHT } from '@new-ui/theme/constants/FontLight';-import { MAIN_COLORS_LIGHT } from '@new-ui/theme/constants/MainColorsLight';+import { BACKGROUND_LIGHT } from '@ui/theme/constants/BackgroundLight';+import { FONT_LIGHT } from '@ui/theme/constants/FontLight';+import { MAIN_COLORS_LIGHT } from '@ui/theme/constants/MainColorsLight';export const SNACK_BAR_LIGHT = {success: {diff --git a/packages/twenty-ui/src/theme/constants/TagDark.ts b/packages/twenty-ui/src/theme/constants/TagDark.tsindex 7c4f2fe1b55..ba2014fd3cb 100644--- a/packages/twenty-ui/src/theme/constants/TagDark.ts+++ b/packages/twenty-ui/src/theme/constants/TagDark.ts@@ -1,4 +1,4 @@-import { COLOR_DARK } from '@new-ui/theme/constants/ColorsDark';+import { COLOR_DARK } from '@ui/theme/constants/ColorsDark';export const TAG_DARK = {text: {diff --git a/packages/twenty-ui/src/theme/constants/TagLight.ts b/packages/twenty-ui/src/theme/constants/TagLight.tsindex 0b450a81516..3a8c3d2c5b0 100644--- a/packages/twenty-ui/src/theme/constants/TagLight.ts+++ b/packages/twenty-ui/src/theme/constants/TagLight.ts@@ -1,4 +1,4 @@-import { COLOR_LIGHT } from '@new-ui/theme/constants/ColorsLight';+import { COLOR_LIGHT } from '@ui/theme/constants/ColorsLight';export const TAG_LIGHT = {text: {diff --git a/packages/twenty-ui/src/theme/constants/ThemeCommon.ts b/packages/twenty-ui/src/theme/constants/ThemeCommon.tsindex 60f7dc28e53..d1b1a4bf149 100644--- a/packages/twenty-ui/src/theme/constants/ThemeCommon.ts+++ b/packages/twenty-ui/src/theme/constants/ThemeCommon.ts@@ -1,4 +1,4 @@-import { ACCENT_DARK } from '@new-ui/theme/constants/AccentDark';+import { ACCENT_DARK } from '@ui/theme/constants/AccentDark';import { ANIMATION } from './Animation';import { ICON } from './Icon';import { MODAL } from './Modal';diff --git a/packages/twenty-ui/src/theme/constants/ThemeDark.ts b/packages/twenty-ui/src/theme/constants/ThemeDark.tsindex 385c63ddde6..94cf05ea051 100644--- a/packages/twenty-ui/src/theme/constants/ThemeDark.ts+++ b/packages/twenty-ui/src/theme/constants/ThemeDark.ts@@ -1,5 +1,5 @@-import { BLUR_DARK } from '@new-ui/theme/constants/BlurDark';-import { ILLUSTRATION_ICON_DARK } from '@new-ui/theme/constants/IllustrationIconDark';+import { BLUR_DARK } from '@ui/theme/constants/BlurDark';+import { ILLUSTRATION_ICON_DARK } from '@ui/theme/constants/IllustrationIconDark';import { COLOR_DARK } from './ColorsDark';import { GRAY_SCALE_DARK } from './GrayScaleDark';import { SNACK_BAR_DARK } from './SnackBarDark';diff --git a/packages/twenty-ui/src/theme/constants/ThemeLight.ts b/packages/twenty-ui/src/theme/constants/ThemeLight.tsindex 1968e514b28..930d0fbd30e 100644--- a/packages/twenty-ui/src/theme/constants/ThemeLight.ts+++ b/packages/twenty-ui/src/theme/constants/ThemeLight.ts@@ -1,8 +1,8 @@-import { BLUR_LIGHT } from '@new-ui/theme/constants/BlurLight';-import { COLOR_LIGHT } from '@new-ui/theme/constants/ColorsLight';-import { GRAY_SCALE_LIGHT } from '@new-ui/theme/constants/GrayScaleLight';-import { ILLUSTRATION_ICON_LIGHT } from '@new-ui/theme/constants/IllustrationIconLight';-import { SNACK_BAR_LIGHT } from '@new-ui/theme/constants/SnackBarLight';+import { BLUR_LIGHT } from '@ui/theme/constants/BlurLight';+import { COLOR_LIGHT } from '@ui/theme/constants/ColorsLight';+import { GRAY_SCALE_LIGHT } from '@ui/theme/constants/GrayScaleLight';+import { ILLUSTRATION_ICON_LIGHT } from '@ui/theme/constants/IllustrationIconLight';+import { SNACK_BAR_LIGHT } from '@ui/theme/constants/SnackBarLight';import { ACCENT_LIGHT } from './AccentLight';import { BACKGROUND_LIGHT } from './BackgroundLight';import { BORDER_LIGHT } from './BorderLight';diff --git a/packages/twenty-ui/src/theme/constants/TransparentColorsDark.ts b/packages/twenty-ui/src/theme/constants/TransparentColorsDark.tsindex dad6596485a..c3aaa82c94b 100644--- a/packages/twenty-ui/src/theme/constants/TransparentColorsDark.ts+++ b/packages/twenty-ui/src/theme/constants/TransparentColorsDark.ts@@ -1,5 +1,5 @@import * as RadixColors from '@radix-ui/colors';-import { GRAY_SCALE_DARK_ALPHA } from '@new-ui/theme/constants/GrayScaleDarkAlpha';+import { GRAY_SCALE_DARK_ALPHA } from '@ui/theme/constants/GrayScaleDarkAlpha';export const TRANSPARENT_COLORS_DARK = {green1: RadixColors.greenDarkA.greenA1,diff --git a/packages/twenty-ui/src/theme/constants/TransparentColorsLight.ts b/packages/twenty-ui/src/theme/constants/TransparentColorsLight.tsindex 93de4854534..22d50526ac2 100644--- a/packages/twenty-ui/src/theme/constants/TransparentColorsLight.ts+++ b/packages/twenty-ui/src/theme/constants/TransparentColorsLight.ts@@ -1,5 +1,5 @@import * as RadixColors from '@radix-ui/colors';-import { GRAY_SCALE_LIGHT_ALPHA } from '@new-ui/theme/constants/GrayScaleLightAlpha';+import { GRAY_SCALE_LIGHT_ALPHA } from '@ui/theme/constants/GrayScaleLightAlpha';export const TRANSPARENT_COLORS_LIGHT = {green1: RadixColors.greenA.greenA1,diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedCircleLoading.module.scss b/packages/twenty-ui/src/utilities/animation/components/AnimatedCircleLoading.module.scssnew file mode 100644index 00000000000..d32734b9297--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedCircleLoading.module.scss@@ -0,0 +1,5 @@+.container {+ align-items: center;+ display: flex;+ justify-content: center;+}diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedCircleLoading.module.scss.d.ts b/packages/twenty-ui/src/utilities/animation/components/AnimatedCircleLoading.module.scss.d.tsnew file mode 100644index 00000000000..8df71b4dead--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedCircleLoading.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly container: 'container';+};+export default classNames;diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedCircleLoading.tsx b/packages/twenty-ui/src/utilities/animation/components/AnimatedCircleLoading.tsxnew file mode 100644index 00000000000..9bb35c6eef8--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedCircleLoading.tsx@@ -0,0 +1,31 @@+import { motion } from 'framer-motion';+import React, { useContext } from 'react';++import { ThemeContext } from '@ui/theme-constants';++import styles from './AnimatedCircleLoading.module.scss';++export const AnimatedCircleLoading = ({+ children,+}: {+ children: React.ReactNode;+}) => {+ const { theme } = useContext(ThemeContext);++ return (+ <motion.div+ className={styles.container}+ initial={{ rotate: 0 }}+ animate={{+ rotate: 360,+ }}+ transition={{+ repeat: Infinity,+ duration: theme.animation.duration.slow,+ ease: 'easeInOut',+ }}+ >+ {children}+ </motion.div>+ );+};diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedContainer.tsx b/packages/twenty-ui/src/utilities/animation/components/AnimatedContainer.tsxnew file mode 100644index 00000000000..581e03cb7bc--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedContainer.tsx@@ -0,0 +1,17 @@+import { motion } from 'framer-motion';+import React from 'react';++export const AnimatedContainer = ({+ children,+}: {+ children: React.ReactNode;+}) => (+ <motion.div+ initial={{ opacity: 0 }}+ animate={{ opacity: 1 }}+ transition={{ duration: 0.1 }}+ whileHover={{ scale: 1.04 }}+ >+ {children}+ </motion.div>+);diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedEaseIn.tsx b/packages/twenty-ui/src/utilities/animation/components/AnimatedEaseIn.tsxnew file mode 100644index 00000000000..2548b0aff03--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedEaseIn.tsx@@ -0,0 +1,31 @@+import { motion } from 'framer-motion';+import { useContext } from 'react';+import { type AnimationDuration } from '@ui/theme';+import { ThemeContext } from '@ui/theme-constants';++type AnimatedEaseInProps = Omit<+ React.ComponentProps<typeof motion.div>,+ 'initial' | 'animated' | 'transition'+> & {+ duration?: AnimationDuration;+};++export const AnimatedEaseIn = ({+ children,+ duration = 'normal',+}: AnimatedEaseInProps) => {+ const { theme } = useContext(ThemeContext);++ const initial = { opacity: 0 };+ const animate = { opacity: 1 };+ const transition = {+ ease: 'linear',+ duration: theme.animation.duration[duration],+ };++ return (+ <motion.div initial={initial} animate={animate} transition={transition}>+ {children}+ </motion.div>+ );+};diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedEaseInOut.tsx b/packages/twenty-ui/src/utilities/animation/components/AnimatedEaseInOut.tsxnew file mode 100644index 00000000000..9754b0d1d26--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedEaseInOut.tsx@@ -0,0 +1,47 @@+import { AnimatePresence, motion } from 'framer-motion';+import { useContext } from 'react';+import { type AnimationDuration } from '@ui/theme';+import { ThemeContext } from '@ui/theme-constants';++type AnimatedEaseInOutProps = {+ isOpen: boolean;+ children: React.ReactNode;+ duration?: AnimationDuration;+ marginBottom?: string;+ marginTop?: string;+ initial?: boolean;+};++export const AnimatedEaseInOut = ({+ children,+ isOpen,+ marginBottom,+ marginTop,+ duration = 'normal',+ initial = true,+}: AnimatedEaseInOutProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <AnimatePresence initial={initial}>+ {isOpen && (+ <motion.div+ initial={{+ marginBottom: marginBottom ?? 0,+ marginTop: marginTop ?? 0,+ height: 0,+ opacity: 0,+ }}+ animate={{ height: 'fit-content', opacity: 1 }}+ exit={{ height: 0, opacity: 0, marginBottom: 0, marginTop: 0 }}+ transition={{+ duration: theme.animation.duration[duration],+ ease: 'easeInOut',+ }}+ >+ {children}+ </motion.div>+ )}+ </AnimatePresence>+ );+};diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedFadeOut.tsx b/packages/twenty-ui/src/utilities/animation/components/AnimatedFadeOut.tsxnew file mode 100644index 00000000000..d3e3ffb35d1--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedFadeOut.tsx@@ -0,0 +1,43 @@+import { AnimatePresence, motion } from 'framer-motion';+import { useContext } from 'react';+import { type AnimationDuration } from '@ui/theme';+import { ThemeContext } from '@ui/theme-constants';++type AnimatedFadeOutProps = {+ isOpen: boolean;+ children: React.ReactNode;+ duration?: AnimationDuration;+ marginBottom?: string;+ marginTop?: string;+};++export const AnimatedFadeOut = ({+ isOpen,+ children,+ duration = 'normal',+ marginBottom,+ marginTop,+}: AnimatedFadeOutProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <AnimatePresence>+ {isOpen && (+ <motion.div+ initial={{+ opacity: 1,+ marginBottom: marginBottom ?? 0,+ marginTop: marginTop ?? 0,+ }}+ exit={{ opacity: 0, height: 0, marginBottom: 0, marginTop: 0 }}+ transition={{+ duration: theme.animation.duration[duration],+ ease: 'easeOut',+ }}+ >+ {children}+ </motion.div>+ )}+ </AnimatePresence>+ );+};diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedIconCrossfade.module.scss b/packages/twenty-ui/src/utilities/animation/components/AnimatedIconCrossfade.module.scssnew file mode 100644index 00000000000..dd8851c0afe--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedIconCrossfade.module.scss@@ -0,0 +1,14 @@+.container {+ height: var(--animated-icon-crossfade-size);+ overflow: hidden;+ position: relative;+ width: var(--animated-icon-crossfade-size);+}++.layer {+ align-items: center;+ display: flex;+ inset: 0;+ justify-content: center;+ position: absolute;+}diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedIconCrossfade.module.scss.d.ts b/packages/twenty-ui/src/utilities/animation/components/AnimatedIconCrossfade.module.scss.d.tsnew file mode 100644index 00000000000..defbe831425--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedIconCrossfade.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly container: 'container';+ readonly layer: 'layer';+};+export default classNames;diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedIconCrossfade.tsx b/packages/twenty-ui/src/utilities/animation/components/AnimatedIconCrossfade.tsxnew file mode 100644index 00000000000..a91d695c496--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedIconCrossfade.tsx@@ -0,0 +1,65 @@+import { motion } from 'framer-motion';+import React, { useContext } from 'react';++import { type IconComponent } from '@ui/display/icon/types/IconComponent';+import { ThemeContext } from '@ui/theme-constants';++import styles from './AnimatedIconCrossfade.module.scss';++type AnimatedIconCrossfadeProps = {+ isActive: boolean;+ ActiveIcon: IconComponent;+ InactiveIcon: IconComponent;+ size?: number;+};++export const AnimatedIconCrossfade = ({+ isActive,+ ActiveIcon,+ InactiveIcon,+ size,+}: AnimatedIconCrossfadeProps) => {+ const { theme } = useContext(ThemeContext);++ const iconSize = size ?? theme.icon.size.sm;++ return (+ <div+ className={styles.container}+ style={+ {+ '--animated-icon-crossfade-size': `${iconSize}px`,+ } as React.CSSProperties+ }+ >+ <motion.div+ className={styles.layer}+ initial={false}+ animate={{+ opacity: isActive ? 0 : 1,+ scale: isActive ? 0.85 : 1,+ }}+ transition={{+ duration: theme.animation.duration.fast,+ ease: 'easeInOut',+ }}+ >+ <InactiveIcon size={iconSize} />+ </motion.div>+ <motion.div+ className={styles.layer}+ initial={false}+ animate={{+ opacity: isActive ? 1 : 0,+ scale: isActive ? 1 : 0.85,+ }}+ transition={{+ duration: theme.animation.duration.fast,+ ease: 'easeInOut',+ }}+ >+ <ActiveIcon size={iconSize} />+ </motion.div>+ </div>+ );+};diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedRotate.module.scss b/packages/twenty-ui/src/utilities/animation/components/AnimatedRotate.module.scssnew file mode 100644index 00000000000..d32734b9297--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedRotate.module.scss@@ -0,0 +1,5 @@+.container {+ align-items: center;+ display: flex;+ justify-content: center;+}diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedRotate.module.scss.d.ts b/packages/twenty-ui/src/utilities/animation/components/AnimatedRotate.module.scss.d.tsnew file mode 100644index 00000000000..8df71b4dead--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedRotate.module.scss.d.ts@@ -0,0 +1,4 @@+declare const classNames: {+ readonly container: 'container';+};+export default classNames;diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedRotate.tsx b/packages/twenty-ui/src/utilities/animation/components/AnimatedRotate.tsxnew file mode 100644index 00000000000..ab72c438452--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedRotate.tsx@@ -0,0 +1,51 @@+import { type HTMLMotionProps, motion } from 'framer-motion';+import { type AnimationDuration } from '@ui/theme';+import { ThemeContext } from '@ui/theme-constants';+import { useContext } from 'react';++import styles from './AnimatedRotate.module.scss';++type AnimatedRotateProps = Omit<+ HTMLMotionProps<'div'>,+ 'initial' | 'animate' | 'transition' | 'exit'+> & {+ duration?: AnimationDuration;+ animateOnHover?: boolean;+};++export const AnimatedRotate = ({+ children,+ duration = 'fast',+ animateOnHover,+}: AnimatedRotateProps): JSX.Element => {+ const { theme } = useContext(ThemeContext);++ const initial = { opacity: 0, rotate: -90 };+ const animate = { opacity: 1, rotate: 0 };+ const exit = { opacity: 0, rotate: 90 };+ const transition = {+ duration: theme.animation.duration[duration],+ };++ return (+ <motion.div+ className={styles.container}+ initial={initial}+ animate={animate}+ transition={transition}+ exit={exit}+ whileHover={+ animateOnHover+ ? {+ rotate: 45,+ transition: {+ duration: theme.animation.duration.fast,+ },+ }+ : {}+ }+ >+ {children}+ </motion.div>+ );+};diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedTextWord.module.scss b/packages/twenty-ui/src/utilities/animation/components/AnimatedTextWord.module.scssnew file mode 100644index 00000000000..0c3791924fd--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedTextWord.module.scss@@ -0,0 +1,8 @@+.container {+ display: flex;+ overflow: hidden;+}++.word {+ white-space: pre;+}diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedTextWord.module.scss.d.ts b/packages/twenty-ui/src/utilities/animation/components/AnimatedTextWord.module.scss.d.tsnew file mode 100644index 00000000000..79778847e00--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedTextWord.module.scss.d.ts@@ -0,0 +1,5 @@+declare const classNames: {+ readonly container: 'container';+ readonly word: 'word';+};+export default classNames;diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedTextWord.tsx b/packages/twenty-ui/src/utilities/animation/components/AnimatedTextWord.tsxnew file mode 100644index 00000000000..1b82b35bc29--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedTextWord.tsx@@ -0,0 +1,69 @@+import { motion } from 'framer-motion';+import React, { useMemo } from 'react';++import styles from './AnimatedTextWord.module.scss';++type AnimatedTextWordProps = Omit<+ React.ComponentProps<typeof motion.div>,+ 'children'+> & {+ text: string;+};++const containerAnimation = {+ hidden: { opacity: 0 },+ visible: (i = 1) => ({+ opacity: 1,+ transition: { staggerChildren: 0.12, delayChildren: 0.04 * i },+ }),+};++const childAnimation = {+ visible: {+ opacity: 1,+ x: 0,+ transition: {+ type: 'spring',+ damping: 12,+ stiffness: 100,+ },+ },+ hidden: {+ opacity: 0,+ x: 20,+ transition: {+ type: 'spring',+ damping: 12,+ stiffness: 100,+ },+ },+};++export const AnimatedTextWord = ({ text = '' }: AnimatedTextWordProps) => {+ const words = useMemo(() => {+ const words = text.split(' ');++ return words.map((value, index) =>+ index === words.length - 1 ? value : value + ' ',+ );+ }, [text]);++ return (+ <motion.div+ className={styles.container}+ variants={containerAnimation}+ initial="hidden"+ animate="visible"+ >+ {words.map((word, index) => (+ <motion.span+ className={styles.word}+ variants={childAnimation}+ key={index}+ >+ {word}+ </motion.span>+ ))}+ </motion.div>+ );+};diff --git a/packages/twenty-ui/src/utilities/animation/components/AnimatedTranslation.tsx b/packages/twenty-ui/src/utilities/animation/components/AnimatedTranslation.tsxnew file mode 100644index 00000000000..03e226f6439--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/components/AnimatedTranslation.tsx@@ -0,0 +1,34 @@+import { motion } from 'framer-motion';+import { useContext } from 'react';+import { ThemeContext } from '@ui/theme-constants';++type AnimatedTranslationProps = {+ children: React.ReactNode;+};++export const AnimatedTranslation = ({ children }: AnimatedTranslationProps) => {+ const { theme } = useContext(ThemeContext);++ return (+ <motion.div+ initial="hidden"+ animate="visible"+ variants={{+ hidden: {+ opacity: 0,+ y: -20,+ },+ visible: {+ opacity: 1,+ y: 0,+ transition: {+ duration: theme.animation.duration.normal,+ ease: 'easeInOut',+ },+ },+ }}+ >+ {children}+ </motion.div>+ );+};diff --git a/packages/twenty-ui/src/utilities/animation/index.ts b/packages/twenty-ui/src/utilities/animation/index.tsnew file mode 100644index 00000000000..17543126392--- /dev/null+++ b/packages/twenty-ui/src/utilities/animation/index.ts@@ -0,0 +1,8 @@+export * from './components/AnimatedCircleLoading';+export * from './components/AnimatedContainer';+export * from './components/AnimatedEaseIn';+export * from './components/AnimatedEaseInOut';+export * from './components/AnimatedFadeOut';+export * from './components/AnimatedIconCrossfade';+export * from './components/AnimatedTextWord';+export * from './components/AnimatedTranslation';diff --git a/packages/twenty-ui/src/utilities/color/utils/__tests__/getMainColorNameFromPaletteColorName.test.ts b/packages/twenty-ui/src/utilities/color/utils/__tests__/getMainColorNameFromPaletteColorName.test.tsnew file mode 100644index 00000000000..85c2766454c--- /dev/null+++ b/packages/twenty-ui/src/utilities/color/utils/__tests__/getMainColorNameFromPaletteColorName.test.ts@@ -0,0 +1,48 @@+import { getMainColorNameFromPaletteColorName } from '../getMainColorNameFromPaletteColorName';++describe('getMainColorNameFromPaletteColorName', () => {+ it('should extract main color name from palette color names', () => {+ expect(getMainColorNameFromPaletteColorName('purple5')).toBe('purple');+ expect(getMainColorNameFromPaletteColorName('blue8')).toBe('blue');+ expect(getMainColorNameFromPaletteColorName('red3')).toBe('red');+ expect(getMainColorNameFromPaletteColorName('orange12')).toBe('orange');+ expect(getMainColorNameFromPaletteColorName('yellow1')).toBe('yellow');+ expect(getMainColorNameFromPaletteColorName('crimson9')).toBe('crimson');+ expect(getMainColorNameFromPaletteColorName('violet7')).toBe('violet');+ expect(getMainColorNameFromPaletteColorName('iris4')).toBe('iris');+ expect(getMainColorNameFromPaletteColorName('grass6')).toBe('grass');+ expect(getMainColorNameFromPaletteColorName('mint5')).toBe('mint');+ expect(getMainColorNameFromPaletteColorName('lime3')).toBe('lime');+ expect(getMainColorNameFromPaletteColorName('bronze8')).toBe('bronze');+ expect(getMainColorNameFromPaletteColorName('gold2')).toBe('gold');+ expect(getMainColorNameFromPaletteColorName('pink1')).toBe('pink');+ expect(getMainColorNameFromPaletteColorName('turquoise2')).toBe(+ 'turquoise',+ );+ expect(getMainColorNameFromPaletteColorName('green10')).toBe('green');+ expect(getMainColorNameFromPaletteColorName('cyan11')).toBe('cyan');+ expect(getMainColorNameFromPaletteColorName('jade12')).toBe('jade');+ });++ it('should handle color names without numbers', () => {+ expect(getMainColorNameFromPaletteColorName('purple')).toBe('purple');+ expect(getMainColorNameFromPaletteColorName('blue')).toBe('blue');+ expect(getMainColorNameFromPaletteColorName('red')).toBe('red');+ expect(getMainColorNameFromPaletteColorName('orange')).toBe('orange');+ expect(getMainColorNameFromPaletteColorName('yellow')).toBe('yellow');+ expect(getMainColorNameFromPaletteColorName('crimson')).toBe('crimson');+ expect(getMainColorNameFromPaletteColorName('violet')).toBe('violet');+ expect(getMainColorNameFromPaletteColorName('iris')).toBe('iris');+ expect(getMainColorNameFromPaletteColorName('grass')).toBe('grass');+ expect(getMainColorNameFromPaletteColorName('mint')).toBe('mint');+ expect(getMainColorNameFromPaletteColorName('lime')).toBe('lime');+ expect(getMainColorNameFromPaletteColorName('bronze')).toBe('bronze');+ expect(getMainColorNameFromPaletteColorName('gold')).toBe('gold');+ expect(getMainColorNameFromPaletteColorName('pink')).toBe('pink');+ expect(getMainColorNameFromPaletteColorName('turquoise')).toBe('turquoise');+ expect(getMainColorNameFromPaletteColorName('green')).toBe('green');+ expect(getMainColorNameFromPaletteColorName('cyan')).toBe('cyan');+ expect(getMainColorNameFromPaletteColorName('jade')).toBe('jade');+ expect(getMainColorNameFromPaletteColorName('gray')).toBe('gray');+ });+});diff --git a/packages/twenty-ui/src/utilities/color/utils/__tests__/stringToThemeColorP3String.test.ts b/packages/twenty-ui/src/utilities/color/utils/__tests__/stringToThemeColorP3String.test.tsnew file mode 100644index 00000000000..c7f3ba9ca02--- /dev/null+++ b/packages/twenty-ui/src/utilities/color/utils/__tests__/stringToThemeColorP3String.test.ts@@ -0,0 +1,36 @@+import { stringToThemeColor } from '@ui/utilities';+import { stringToThemeColorP3String } from '@ui/utilities/color/utils/stringToThemeColorP3String';++describe('stringToThemeColor', () => {+ it('should return a theme color based on a string', () => {+ const color = stringToThemeColor('test');+ expect(typeof color).toBe('string');+ expect(color).toMatch(+ /^(gray|tomato|red|ruby|crimson|pink|plum|purple|violet|iris|cyan|turquoise|sky|blue|jade|green|grass|mint|lime|bronze|gold|brown|orange|amber|yellow)$/,+ );+ });++ it('should return the same color for the same string', () => {+ const color1 = stringToThemeColor('test');+ const color2 = stringToThemeColor('test');+ expect(color1).toBe(color2);+ });+});++describe('stringToThemeColorP3String', () => {+ it('should return a resolved CSS variable value for a color', () => {+ const mockTheme = {+ color: new Proxy({} as Record<string, string>, {+ get: (_, prop) => `mock-${String(prop)}`,+ }),+ } as any;++ const color = stringToThemeColorP3String({+ string: 'test',+ variant: 9,+ theme: mockTheme,+ });++ expect(typeof color).toBe('string');+ });+});diff --git a/packages/twenty-ui/src/utilities/color/utils/getMainColorNameFromPaletteColorName.ts b/packages/twenty-ui/src/utilities/color/utils/getMainColorNameFromPaletteColorName.tsnew file mode 100644index 00000000000..9d5694028cb--- /dev/null+++ b/packages/twenty-ui/src/utilities/color/utils/getMainColorNameFromPaletteColorName.ts@@ -0,0 +1,7 @@+import { type ThemeColor } from '@ui/theme';++export const getMainColorNameFromPaletteColorName = (+ paletteColorName: string,+): ThemeColor => {+ return paletteColorName.replace(/\d+$/, '') as ThemeColor;+};diff --git a/packages/twenty-ui/src/utilities/color/utils/parseThemeColor.ts b/packages/twenty-ui/src/utilities/color/utils/parseThemeColor.tsnew file mode 100644index 00000000000..f6a3d656b74--- /dev/null+++ b/packages/twenty-ui/src/utilities/color/utils/parseThemeColor.ts@@ -0,0 +1,10 @@+import { DEFAULT_THEME_COLOR_FALLBACK, type ThemeColor } from '@ui/theme';++import { themeColorSchema } from './themeColorSchema';++export const parseThemeColor = (+ color: string | null | undefined,+): ThemeColor => {+ const result = themeColorSchema.safeParse(color ?? '');+ return result.success ? result.data : DEFAULT_THEME_COLOR_FALLBACK;+};diff --git a/packages/twenty-ui/src/utilities/color/utils/stringToThemeColorP3String.ts b/packages/twenty-ui/src/utilities/color/utils/stringToThemeColorP3String.tsnew file mode 100644index 00000000000..c01a5e12c64--- /dev/null+++ b/packages/twenty-ui/src/utilities/color/utils/stringToThemeColorP3String.ts@@ -0,0 +1,34 @@+import { type ThemeType, type themeCssVariables } from '@ui/theme-constants';+import { type ThemeColor, MAIN_COLOR_NAMES } from '@ui/theme';++export const stringToThemeColor = (string: string): ThemeColor => {+ let hash = 0;+ for (let i = 0; i < string.length; i++) {+ hash = string.charCodeAt(i) + ((hash << 5) - hash);+ }++ const colorIndex = Math.abs(hash) % MAIN_COLOR_NAMES.length;+ return MAIN_COLOR_NAMES[colorIndex];+};++export const stringToThemeColorP3String = ({+ string,+ variant = 9,+ theme,+}: {+ string: string;+ variant: number;+ theme: ThemeType;+}): string => {+ if (variant < 1 || variant > 12) {+ throw new Error('Variant must be between 1 and 12');+ }++ const colorName = stringToThemeColor(string);+ const colorNameWithVariant =+ `${colorName}${variant}` as keyof typeof themeCssVariables.color;++ return theme.color[+ colorNameWithVariant as keyof typeof theme.color+ ] as string;+};diff --git a/packages/twenty-ui/src/utilities/color/utils/themeColorSchema.ts b/packages/twenty-ui/src/utilities/color/utils/themeColorSchema.tsnew file mode 100644index 00000000000..8b2bde570ce--- /dev/null+++ b/packages/twenty-ui/src/utilities/color/utils/themeColorSchema.ts@@ -0,0 +1,7 @@+import { z } from 'zod';++import { type ThemeColor, MAIN_COLOR_NAMES } from '@ui/theme';++export const themeColorSchema = z.enum(+ MAIN_COLOR_NAMES as [ThemeColor, ...ThemeColor[]],+);diff --git a/packages/twenty-ui/src/utilities/config.ts b/packages/twenty-ui/src/utilities/config.tsnew file mode 100644index 00000000000..91782a631ec--- /dev/null+++ b/packages/twenty-ui/src/utilities/config.ts@@ -0,0 +1,21 @@+const getDefaultUrl = () => {+ if (+ window.location.hostname === 'localhost' ||+ window.location.hostname === '127.0.0.1'+ ) {+ // In development environment front and backend usually run on separate ports+ // we set the default value to localhost:3000.+ // In dev context, we use env vars to overwrite it+ return 'http://localhost:3000';+ } else {+ // Outside of localhost we assume that they run on the same port+ // because the backend will serve the frontend+ // In prod context, we use index.html + window var to ovewrite it+ return `${window.location.protocol}//${window.location.hostname}${+ window.location.port ? `:${window.location.port}` : ''+ }`;+ }+};++export const REACT_APP_SERVER_BASE_URL =+ window._env_?.REACT_APP_SERVER_BASE_URL || getDefaultUrl();diff --git a/packages/twenty-ui/src/utilities/device/__tests__/getOsControlSymbol.test.ts b/packages/twenty-ui/src/utilities/device/__tests__/getOsControlSymbol.test.tsnew file mode 100644index 00000000000..bd97e08a356--- /dev/null+++ b/packages/twenty-ui/src/utilities/device/__tests__/getOsControlSymbol.test.ts@@ -0,0 +1,27 @@+import { getOsControlSymbol } from '../getOsControlSymbol';++describe('getOsControlSymbol', () => {+ let userAgentSpy: jest.SpyInstance;++ beforeEach(() => {+ userAgentSpy = jest.spyOn(window.navigator, 'userAgent', 'get');+ });++ afterEach(() => {+ userAgentSpy.mockRestore();+ });++ it('should return Ctrl for Windows', () => {+ userAgentSpy.mockReturnValue(+ 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0',+ );+ expect(getOsControlSymbol()).toBe('Ctrl');+ });++ it('should return ⌘ for Mac', () => {+ userAgentSpy.mockReturnValue(+ 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',+ );+ expect(getOsControlSymbol()).toBe('⌘');+ });+});diff --git a/packages/twenty-ui/src/utilities/device/__tests__/getOsShortcutSeparator.test.ts b/packages/twenty-ui/src/utilities/device/__tests__/getOsShortcutSeparator.test.tsnew file mode 100644index 00000000000..16205be1425--- /dev/null+++ b/packages/twenty-ui/src/utilities/device/__tests__/getOsShortcutSeparator.test.ts@@ -0,0 +1,27 @@+import { getOsShortcutSeparator } from '../getOsShortcutSeparator';++describe('getOsShortcutSeparator', () => {+ let userAgentSpy: jest.SpyInstance;++ beforeEach(() => {+ userAgentSpy = jest.spyOn(window.navigator, 'userAgent', 'get');+ });++ afterEach(() => {+ userAgentSpy.mockRestore();+ });++ it('should return space for Windows', () => {+ userAgentSpy.mockReturnValue(+ 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0',+ );+ expect(getOsShortcutSeparator()).toBe(' ');+ });++ it('should return empty string for Mac', () => {+ userAgentSpy.mockReturnValue(+ 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',+ );+ expect(getOsShortcutSeparator()).toBe('');+ });+});diff --git a/packages/twenty-ui/src/utilities/device/getOsControlSymbol.ts b/packages/twenty-ui/src/utilities/device/getOsControlSymbol.tsnew file mode 100644index 00000000000..3278c3501e9--- /dev/null+++ b/packages/twenty-ui/src/utilities/device/getOsControlSymbol.ts@@ -0,0 +1,7 @@+import { getUserDevice } from '@ui/utilities/device/getUserDevice';++export const getOsControlSymbol = () => {+ const device = getUserDevice();++ return device === 'mac' ? '⌘' : 'Ctrl';+};diff --git a/packages/twenty-ui/src/utilities/device/getOsShortcutSeparator.ts b/packages/twenty-ui/src/utilities/device/getOsShortcutSeparator.tsnew file mode 100644index 00000000000..c7bc029b8e5--- /dev/null+++ b/packages/twenty-ui/src/utilities/device/getOsShortcutSeparator.ts@@ -0,0 +1,6 @@+import { getUserDevice } from '@ui/utilities/device/getUserDevice';++export const getOsShortcutSeparator = () => {+ const device = getUserDevice();+ return device === 'mac' ? '' : ' ';+};diff --git a/packages/twenty-ui/src/utilities/device/getUserDevice.ts b/packages/twenty-ui/src/utilities/device/getUserDevice.tsnew file mode 100644index 00000000000..1e724e079b1--- /dev/null+++ b/packages/twenty-ui/src/utilities/device/getUserDevice.ts@@ -0,0 +1,26 @@+export const getUserDevice = () => {+ const userAgent = navigator.userAgent.toLowerCase();++ if (userAgent.includes('mac os x') || userAgent.includes('macos')) {+ return 'mac';+ }++ if (userAgent.includes('windows')) {+ return 'windows';+ }++ if (userAgent.includes('linux')) {+ return 'linux';+ }++ if (userAgent.includes('android')) return 'android';++ if (+ userAgent.includes('ios') ||+ userAgent.includes('iphone') ||+ userAgent.includes('ipad')+ )+ return 'ios';++ return 'unknown';+};diff --git a/packages/twenty-ui/src/utilities/dimensions/components/AutogrowWrapper.module.scss b/packages/twenty-ui/src/utilities/dimensions/components/AutogrowWrapper.module.scssnew file mode 100644index 00000000000..444896e83fe--- /dev/null+++ b/packages/twenty-ui/src/utilities/dimensions/components/AutogrowWrapper.module.scss@@ -0,0 +1,17 @@+.container {+ max-width: 100%;+ position: relative;+}++.nodeWrapper {+ pointer-events: none;+ visibility: hidden;+ white-space: pre;+}++.childWrapper {+ left: 0;+ top: 0;+ position: absolute;+ width: 100%;+}diff --git a/packages/twenty-ui/src/utilities/dimensions/components/AutogrowWrapper.module.scss.d.ts b/packages/twenty-ui/src/utilities/dimensions/components/AutogrowWrapper.module.scss.d.tsnew file mode 100644index 00000000000..8489fa3143d--- /dev/null+++ b/packages/twenty-ui/src/utilities/dimensions/components/AutogrowWrapper.module.scss.d.ts@@ -0,0 +1,6 @@+declare const classNames: {+ readonly container: 'container';+ readonly nodeWrapper: 'nodeWrapper';+ readonly childWrapper: 'childWrapper';+};+export default classNames;diff --git a/packages/twenty-ui/src/utilities/dimensions/components/AutogrowWrapper.tsx b/packages/twenty-ui/src/utilities/dimensions/components/AutogrowWrapper.tsxnew file mode 100644index 00000000000..da0dd5926d2--- /dev/null+++ b/packages/twenty-ui/src/utilities/dimensions/components/AutogrowWrapper.tsx@@ -0,0 +1,23 @@+import { clsx } from 'clsx';+import { type ReactNode } from 'react';++import styles from './AutogrowWrapper.module.scss';++type AutogrowWrapperProps = {+ children: ReactNode;+ node?: ReactNode;+ className?: string;+};++export const AutogrowWrapper = ({+ children,+ node = children,+ className,+}: AutogrowWrapperProps) => {+ return (+ <div className={clsx(styles.container, className)}>+ <span className={styles.nodeWrapper}>{node}</span>+ <div className={styles.childWrapper}>{children}</div>+ </div>+ );+};diff --git a/packages/twenty-ui/src/utilities/index.ts b/packages/twenty-ui/src/utilities/index.tsindex a3046804c03..202e2d2b535 100644--- a/packages/twenty-ui/src/utilities/index.ts+++ b/packages/twenty-ui/src/utilities/index.ts@@ -7,4 +7,38 @@* |___/*/-export {};+export { AnimatedCircleLoading } from './animation/components/AnimatedCircleLoading';+export { AnimatedContainer } from './animation/components/AnimatedContainer';+export { AnimatedEaseIn } from './animation/components/AnimatedEaseIn';+export { AnimatedEaseInOut } from './animation/components/AnimatedEaseInOut';+export { AnimatedFadeOut } from './animation/components/AnimatedFadeOut';+export { AnimatedIconCrossfade } from './animation/components/AnimatedIconCrossfade';+export { AnimatedRotate } from './animation/components/AnimatedRotate';+export { AnimatedTextWord } from './animation/components/AnimatedTextWord';+export { AnimatedTranslation } from './animation/components/AnimatedTranslation';+export { getMainColorNameFromPaletteColorName } from './color/utils/getMainColorNameFromPaletteColorName';+export { parseThemeColor } from './color/utils/parseThemeColor';+export {+ stringToThemeColor,+ stringToThemeColorP3String,+} from './color/utils/stringToThemeColorP3String';+export { themeColorSchema } from './color/utils/themeColorSchema';+export { REACT_APP_SERVER_BASE_URL } from './config';+export { getOsControlSymbol } from './device/getOsControlSymbol';+export { getOsShortcutSeparator } from './device/getOsShortcutSeparator';+export { getUserDevice } from './device/getUserDevice';+export { AutogrowWrapper } from './dimensions/components/AutogrowWrapper';+export { useMouseDownNavigation } from './navigation/hooks/useMouseDownNavigation';+export { useResetLocationHash } from './navigation/hooks/useResetLocationHash';+export { isNavigationModifierPressed } from './navigation/isNavigationModifierPressed';+export type { TriggerEventType } from './navigation/types/trigger-event.type';+export { useIsMobile } from './responsive/hooks/useIsMobile';+export { useScreenSize } from './screen-size/hooks/useScreenSize';+export { createState } from './state/utils/createState';+export type { ClickOutsideAttributes } from './types/ClickOutsideAttributes';+export type { Nullable } from './types/Nullable';+export { getDisplayValueByUrlType } from './utils/getDisplayValueByUrlType';+export { getImageAbsoluteURI } from './utils/getImageAbsoluteURI';+export { isDefined } from './utils/isDefined';+export type { LinkifyMatch } from './utils/linkifyText';+export { linkifyText } from './utils/linkifyText';diff --git a/packages/twenty-ui/src/utilities/navigation/hooks/useMouseDownNavigation.ts b/packages/twenty-ui/src/utilities/navigation/hooks/useMouseDownNavigation.tsnew file mode 100644index 00000000000..75f3c3ba272--- /dev/null+++ b/packages/twenty-ui/src/utilities/navigation/hooks/useMouseDownNavigation.ts@@ -0,0 +1,71 @@+import { isNavigationModifierPressed } from '@ui/utilities/navigation/isNavigationModifierPressed';+import { type TriggerEventType } from '@ui/utilities/navigation/types/trigger-event.type';+import { type MouseEvent } from 'react';+import { useNavigate } from 'react-router-dom';+import { isDefined } from '@ui/utilities/utils/isDefined';++type UseMouseDownNavigationProps = {+ to?: string;+ onClick?: (event: MouseEvent<HTMLElement>) => void;+ disabled?: boolean;+ onBeforeNavigation?: () => void;+ triggerEvent?: TriggerEventType;+ stopPropagation?: boolean;+};++export const useMouseDownNavigation = ({+ to,+ onClick,+ disabled = false,+ onBeforeNavigation,+ triggerEvent = 'MOUSE_DOWN',+}: UseMouseDownNavigationProps) => {+ const navigate = useNavigate();++ const handleClick = (event: MouseEvent<HTMLElement>) => {+ if (disabled) return;++ // For modifier keys, let the default browser behavior handle it+ if (isNavigationModifierPressed(event)) {+ onBeforeNavigation?.();+ if (isDefined(onClick) && !isDefined(to)) {+ onClick(event);+ }+ // Don't prevent default for modifier keys to allow browser navigation+ return;+ }++ if (triggerEvent === 'CLICK') {+ onBeforeNavigation?.();+ if (isDefined(onClick)) {+ onClick(event);+ } else if (isDefined(to)) {+ navigate(to);+ }+ }++ // For regular clicks, prevent default to avoid double navigation+ event.preventDefault();+ };++ const handleMouseDown = (event: MouseEvent<HTMLElement>) => {+ if (disabled || triggerEvent === 'CLICK') return;++ if (isNavigationModifierPressed(event)) {+ return;+ }++ onBeforeNavigation?.();++ if (isDefined(onClick)) {+ onClick(event);+ } else if (isDefined(to)) {+ navigate(to);+ }+ };++ return {+ onClick: handleClick,+ onMouseDown: handleMouseDown,+ };+};diff --git a/packages/twenty-ui/src/utilities/navigation/hooks/useResetLocationHash.ts b/packages/twenty-ui/src/utilities/navigation/hooks/useResetLocationHash.tsnew file mode 100644index 00000000000..a24fcdbac47--- /dev/null+++ b/packages/twenty-ui/src/utilities/navigation/hooks/useResetLocationHash.ts@@ -0,0 +1,13 @@+import { useLocation, useNavigate } from 'react-router-dom';++export const useResetLocationHash = () => {+ const navigate = useNavigate();+ const location = useLocation();++ // oxlint-disable-next-line twenty/no-navigate-prefer-link+ const resetLocationHash = () => {+ navigate(location.pathname, { replace: true });+ };++ return { resetLocationHash };+};diff --git a/packages/twenty-ui/src/utilities/navigation/isNavigationModifierPressed.ts b/packages/twenty-ui/src/utilities/navigation/isNavigationModifierPressed.tsnew file mode 100644index 00000000000..92398ceb43b--- /dev/null+++ b/packages/twenty-ui/src/utilities/navigation/isNavigationModifierPressed.ts@@ -0,0 +1,16 @@+type LimitedMouseEvent = Pick<+ MouseEvent,+ 'button' | 'metaKey' | 'altKey' | 'ctrlKey' | 'shiftKey'+>;++export const isNavigationModifierPressed = ({+ altKey,+ ctrlKey,+ shiftKey,+ metaKey,+ button,+}: LimitedMouseEvent) => {+ const pressedKey = [altKey, ctrlKey, shiftKey, metaKey].some((key) => key);+ const isLeftClick = button === 0;+ return pressedKey || !isLeftClick;+};diff --git a/packages/twenty-ui/src/utilities/navigation/types/trigger-event.type.ts b/packages/twenty-ui/src/utilities/navigation/types/trigger-event.type.tsnew file mode 100644index 00000000000..ea2294ba9cc--- /dev/null+++ b/packages/twenty-ui/src/utilities/navigation/types/trigger-event.type.ts@@ -0,0 +1 @@+export type TriggerEventType = 'MOUSE_DOWN' | 'CLICK';diff --git a/packages/twenty-ui/src/utilities/responsive/hooks/__tests__/isMobile.test.tsx b/packages/twenty-ui/src/utilities/responsive/hooks/__tests__/isMobile.test.tsxnew file mode 100644index 00000000000..708733136b6--- /dev/null+++ b/packages/twenty-ui/src/utilities/responsive/hooks/__tests__/isMobile.test.tsx@@ -0,0 +1,10 @@+import { renderHook } from '@testing-library/react';+import { useIsMobile } from '@ui/utilities/responsive/hooks/useIsMobile';++describe('useIsMobile', () => {+ it('should trigger the callback when clicking outside the specified refs', () => {+ const { result } = renderHook(() => useIsMobile());++ expect(result.current).toBe(false);+ });+});diff --git a/packages/twenty-ui/src/utilities/responsive/hooks/useIsMobile.ts b/packages/twenty-ui/src/utilities/responsive/hooks/useIsMobile.tsnew file mode 100644index 00000000000..cc734c964f6--- /dev/null+++ b/packages/twenty-ui/src/utilities/responsive/hooks/useIsMobile.ts@@ -0,0 +1,5 @@+import { MOBILE_VIEWPORT } from '@ui/theme-constants';+import { useMediaQuery } from 'react-responsive';++export const useIsMobile = () =>+ useMediaQuery({ query: `(max-width: ${MOBILE_VIEWPORT}px)` });diff --git a/packages/twenty-ui/src/utilities/screen-size/hooks/useScreenSize.ts b/packages/twenty-ui/src/utilities/screen-size/hooks/useScreenSize.tsnew file mode 100644index 00000000000..2363af5dbf5--- /dev/null+++ b/packages/twenty-ui/src/utilities/screen-size/hooks/useScreenSize.ts@@ -0,0 +1,25 @@+import { useEffect, useState } from 'react';++export const useScreenSize = () => {+ const [screenSize, setScreenSize] = useState({+ width: window.innerWidth,+ height: window.innerHeight,+ });++ useEffect(() => {+ const handleResize = () => {+ setScreenSize({+ width: window.innerWidth,+ height: window.innerHeight,+ });+ };++ window.addEventListener('resize', handleResize);++ return () => {+ window.removeEventListener('resize', handleResize);+ };+ }, []);++ return screenSize;+};diff --git a/packages/twenty-ui/src/utilities/state/utils/createState.ts b/packages/twenty-ui/src/utilities/state/utils/createState.tsnew file mode 100644index 00000000000..220424f24ce--- /dev/null+++ b/packages/twenty-ui/src/utilities/state/utils/createState.ts@@ -0,0 +1,13 @@+import { atom, type PrimitiveAtom } from 'jotai';++export const createState = <ValueType>({+ key,+ defaultValue,+}: {+ key: string;+ defaultValue: ValueType;+}): PrimitiveAtom<ValueType> => {+ const jotaiAtom = atom<ValueType>(defaultValue);+ jotaiAtom.debugLabel = key;+ return jotaiAtom;+};diff --git a/packages/twenty-ui/src/utilities/types/ClickOutsideAttributes.ts b/packages/twenty-ui/src/utilities/types/ClickOutsideAttributes.tsnew file mode 100644index 00000000000..39f538b5752--- /dev/null+++ b/packages/twenty-ui/src/utilities/types/ClickOutsideAttributes.ts@@ -0,0 +1,4 @@+export type ClickOutsideAttributes = {+ dataClickOutsideId?: string;+ dataGloballyPreventClickOutside?: boolean;+};diff --git a/packages/twenty-ui/src/utilities/types/Nullable.ts b/packages/twenty-ui/src/utilities/types/Nullable.tsnew file mode 100644index 00000000000..164a7056d97--- /dev/null+++ b/packages/twenty-ui/src/utilities/types/Nullable.ts@@ -0,0 +1 @@+export type Nullable<T> = T | null | undefined;diff --git a/packages/twenty-ui/src/utilities/utils/__tests__/getDisplayValueByUrlType.test.ts b/packages/twenty-ui/src/utilities/utils/__tests__/getDisplayValueByUrlType.test.tsnew file mode 100644index 00000000000..2aa2e162f8c--- /dev/null+++ b/packages/twenty-ui/src/utilities/utils/__tests__/getDisplayValueByUrlType.test.ts@@ -0,0 +1,149 @@+import { LinkType } from '@ui/navigation/link/components/SocialLink';++import { getDisplayValueByUrlType } from '../getDisplayValueByUrlType';++describe('getDisplayValueByUrlType', () => {+ describe('linkedin', () => {+ it('should extract username from LinkedIn profile URL', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.LinkedIn,+ href: 'https://www.linkedin.com/in/johndoe',+ });+ expect(result).toBe('johndoe');+ });++ it('should extract company name from LinkedIn company URL', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.LinkedIn,+ href: 'https://www.linkedin.com/company/acme-corp',+ });+ expect(result).toBe('acme-corp');+ });++ it('should extract school name from LinkedIn school URL', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.LinkedIn,+ href: 'https://www.linkedin.com/school/mit',+ });+ expect(result).toBe('mit');+ });++ it('should handle LinkedIn URL without protocol', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.LinkedIn,+ href: 'linkedin.com/in/johndoe',+ });+ expect(result).toBe('johndoe');+ });++ it('should handle LinkedIn URL without www', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.LinkedIn,+ href: 'https://linkedin.com/in/johndoe',+ });+ expect(result).toBe('johndoe');+ });++ it('should decode URL-encoded characters in LinkedIn username', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.LinkedIn,+ href: 'https://www.linkedin.com/in/john%20doe',+ });+ expect(result).toBe('john doe');+ });++ it('should return "LinkedIn" for invalid LinkedIn URLs', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.LinkedIn,+ href: 'https://www.linkedin.com/feed',+ });+ expect(result).toBe('LinkedIn');+ });+ });++ describe('twitter', () => {+ it('should extract username from Twitter URL with @ prefix', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.Twitter,+ href: 'https://www.twitter.com/johndoe',+ });+ expect(result).toBe('@johndoe');+ });++ it('should handle Twitter URL without protocol', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.Twitter,+ href: 'twitter.com/johndoe',+ });+ expect(result).toBe('@johndoe');+ });++ it('should handle Twitter URL without www', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.Twitter,+ href: 'https://twitter.com/johndoe',+ });+ expect(result).toBe('@johndoe');+ });++ it('should return "@twitter" when no username can be extracted', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.Twitter,+ href: 'https://www.twitter.com',+ });+ expect(result).toBe('@twitter');+ });+ });++ describe('facebook', () => {+ it('should extract username from Facebook profile URL', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.Facebook,+ href: 'https://www.facebook.com/johndoe',+ });+ expect(result).toBe('johndoe');+ });++ it('should handle Facebook URL without protocol', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.Facebook,+ href: 'facebook.com/johndoe',+ });+ expect(result).toBe('johndoe');+ });++ it('should handle Facebook URL without www', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.Facebook,+ href: 'https://facebook.com/johndoe',+ });+ expect(result).toBe('johndoe');+ });++ it('should decode URL-encoded characters in Facebook username', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.Facebook,+ href: 'https://www.facebook.com/john%20doe',+ });+ expect(result).toBe('john doe');+ });++ it('should return "Facebook" for invalid Facebook URLs', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.Facebook,+ href: 'https://www.facebook.com/',+ });+ expect(result).toBe('Facebook');+ });+ });++ describe('url type', () => {+ it('should return undefined for generic url type', () => {+ const result = getDisplayValueByUrlType({+ type: LinkType.Url,+ href: 'https://example.com',+ });+ expect(result).toBeUndefined();+ });+ });+});diff --git a/packages/twenty-ui/src/utilities/utils/__tests__/linkifyText.test.ts b/packages/twenty-ui/src/utilities/utils/__tests__/linkifyText.test.tsnew file mode 100644index 00000000000..3548dae5670--- /dev/null+++ b/packages/twenty-ui/src/utilities/utils/__tests__/linkifyText.test.ts@@ -0,0 +1,51 @@+import { linkifyText } from '../linkifyText';++describe('linkifyText', () => {+ it('splits text around a URL into text and link segments', () => {+ expect(linkifyText('visit https://example.com today')).toEqual([+ { type: 'text', content: 'visit ' },+ { type: 'link', content: 'https://example.com' },+ { type: 'text', content: ' today' },+ ]);+ });++ it('returns text as-is when no URLs are present', () => {+ expect(linkifyText('no links here')).toEqual([+ { type: 'text', content: 'no links here' },+ ]);+ });++ it('parses Teams meeting descriptions with angle-bracket URLs and encoded characters', () => {+ const teamsDescription =+ 'Need help?<https://aka.ms/JoinTeamsMeeting?omkt=en-GB> | System reference<https://teams.microsoft.com/l/meetup-join/19%3ameeting_abc%40thread.v2>';++ const result = linkifyText(teamsDescription);++ expect(result).toEqual([+ { type: 'text', content: 'Need help?<' },+ {+ type: 'link',+ content: 'https://aka.ms/JoinTeamsMeeting?omkt=en-GB',+ },+ { type: 'text', content: '> | System reference<' },+ {+ type: 'link',+ content:+ 'https://teams.microsoft.com/l/meetup-join/19%3ameeting_abc%40thread.v2',+ },+ { type: 'text', content: '>' },+ ]);+ });++ it('strips trailing punctuation from matched URLs', () => {+ expect(linkifyText('see https://example.com, or this.')).toEqual([+ { type: 'text', content: 'see ' },+ { type: 'link', content: 'https://example.com' },+ { type: 'text', content: ', or this.' },+ ]);+ });++ it('returns empty array for empty string', () => {+ expect(linkifyText('')).toEqual([]);+ });+});diff --git a/packages/twenty-ui/src/utilities/utils/getDisplayValueByUrlType.ts b/packages/twenty-ui/src/utilities/utils/getDisplayValueByUrlType.tsnew file mode 100644index 00000000000..fa704d0a244--- /dev/null+++ b/packages/twenty-ui/src/utilities/utils/getDisplayValueByUrlType.ts@@ -0,0 +1,43 @@+import { type LinkType } from '@ui/navigation';+import { isDefined } from '@ui/utilities/utils/isDefined';++type getUrlDisplayValueByUrlTypeProps = {+ type: LinkType;+ href: string;+};++export const getDisplayValueByUrlType = ({+ type,+ href,+}: getUrlDisplayValueByUrlTypeProps) => {+ if (type === 'linkedin') {+ const matches = href.match(+ /(?:https?:\/\/)?(?:www.)?linkedin.com\/(?:in|company|school)\/(.*)/,+ );+ if (isDefined(matches?.[1])) {+ return decodeURIComponent(matches?.[1]);+ } else {+ return 'LinkedIn';+ }+ }++ if (type === 'twitter') {+ const matches = href.match(+ /(?:https?:\/\/)?(?:www.)?twitter.com\/([-a-zA-Z0-9@:%_+.~#?&//=]*)/,+ );+ if (isDefined(matches?.[1])) {+ return `@${matches?.[1]}`;+ } else {+ return '@twitter';+ }+ }++ if (type === 'facebook') {+ const matches = href.match(/(?:https?:\/\/)?(?:www.)?facebook.com\/(.+)/);+ if (isDefined(matches?.[1])) {+ return decodeURIComponent(matches?.[1]);+ } else {+ return 'Facebook';+ }+ }+};diff --git a/packages/twenty-ui/src/utilities/utils/getImageAbsoluteURI.ts b/packages/twenty-ui/src/utilities/utils/getImageAbsoluteURI.tsnew file mode 100644index 00000000000..8f041a4e4c8--- /dev/null+++ b/packages/twenty-ui/src/utilities/utils/getImageAbsoluteURI.ts@@ -0,0 +1,19 @@+type getImageAbsoluteURIProps = {+ imageUrl: string;+ baseUrl: string;+};++export const getImageAbsoluteURI = ({+ imageUrl,+ baseUrl,+}: getImageAbsoluteURIProps): string => {+ if (imageUrl.startsWith('https:') || imageUrl.startsWith('http:')) {+ return imageUrl;+ }++ if (imageUrl.startsWith('/')) {+ return new URL(`/files${imageUrl}`, baseUrl).toString();+ }++ return new URL(`/files/${imageUrl}`, baseUrl).toString();+};diff --git a/packages/twenty-ui/src/utilities/utils/isDefined.ts b/packages/twenty-ui/src/utilities/utils/isDefined.tsnew file mode 100644index 00000000000..aa97cf342fb--- /dev/null+++ b/packages/twenty-ui/src/utilities/utils/isDefined.ts@@ -0,0 +1,5 @@+import { isNull, isUndefined } from '@sniptt/guards';++export const isDefined = <T>(+ value: T | null | undefined,+): value is NonNullable<T> => !isUndefined(value) && !isNull(value);diff --git a/packages/twenty-ui/src/utilities/utils/linkifyText.ts b/packages/twenty-ui/src/utilities/utils/linkifyText.tsnew file mode 100644index 00000000000..b03e14cf3ef--- /dev/null+++ b/packages/twenty-ui/src/utilities/utils/linkifyText.ts@@ -0,0 +1,28 @@+const URL_REGEX = /https?:\/\/[^\s<>[\]]+[^\s<>[\].,;:!?)]/g;++export type LinkifyMatch = {+ type: 'text' | 'link';+ content: string;+};++export const linkifyText = (text: string): LinkifyMatch[] => {+ const parts: LinkifyMatch[] = [];+ let lastIndex = 0;++ for (const match of text.matchAll(URL_REGEX)) {+ const url = match[0];+ const index = match.index;++ if (index > lastIndex) {+ parts.push({ type: 'text', content: text.slice(lastIndex, index) });+ }+ parts.push({ type: 'link', content: url });+ lastIndex = index + url.length;+ }++ if (lastIndex < text.length) {+ parts.push({ type: 'text', content: text.slice(lastIndex) });+ }++ return parts;+};diff --git a/packages/twenty-ui/tsconfig.json b/packages/twenty-ui/tsconfig.jsonindex 7ff5429b60c..b05f2b26b88 100644--- a/packages/twenty-ui/tsconfig.json+++ b/packages/twenty-ui/tsconfig.json@@ -12,7 +12,7 @@"types": ["node", "jest"],"outDir": "../../.cache/tsc","paths": {- "@new-ui/*": ["./src/*"],+ "@ui/*": ["./src/*"],"@assets/*": ["./src/assets/*"],"@styles/*": ["./src/styles/*"]}diff --git a/packages/twenty-ui/vite.config.individual.ts b/packages/twenty-ui/vite.config.individual.tsindex 15f2b08ab35..d21fa425d16 100644--- a/packages/twenty-ui/vite.config.individual.ts+++ b/packages/twenty-ui/vite.config.individual.ts@@ -15,7 +15,7 @@ export default defineConfig(() => {return {resolve: {alias: {- '@new-ui/': path.resolve(__dirname, 'src') + '/',+ '@ui/': path.resolve(__dirname, 'src') + '/','@assets/': path.resolve(__dirname, 'src/assets') + '/','@styles/': path.resolve(__dirname, 'src/styles') + '/',},diff --git a/packages/twenty-ui/vite.config.ts b/packages/twenty-ui/vite.config.tsindex 9af45ff6224..b0190e9cdd9 100644--- a/packages/twenty-ui/vite.config.ts+++ b/packages/twenty-ui/vite.config.ts@@ -64,7 +64,7 @@ export default defineConfig(({ command }) => {return {resolve: {alias: {- '@new-ui/': path.resolve(__dirname, 'src') + '/',+ '@ui/': path.resolve(__dirname, 'src') + '/','@assets/': path.resolve(__dirname, 'src/assets') + '/','@styles/': path.resolve(__dirname, 'src/styles') + '/','@tabler/icons-react': '@tabler/icons-react/dist/esm/icons/index.mjs',diff --git a/yarn.lock b/yarn.lockindex dc1d8d335cc..726c37644bb 100644--- a/yarn.lock+++ b/yarn.lock@@ -55455,6 +55455,7 @@ __metadata:"@prettier/sync": "npm:^0.5.2""@radix-ui/colors": "npm:^3.0.0""@size-limit/preset-small-lib": "npm:^11.1.6"+ "@sniptt/guards": "npm:^0.2.0""@storybook-community/storybook-addon-cookie": "npm:^5.0.0""@storybook/addon-a11y": "npm:^10.3.3""@storybook/addon-coverage": "npm:^3.0.0"@@ -55492,7 +55493,6 @@ __metadata:storybook-addon-pseudo-states: "npm:^10.3.3"ts-jest: "npm:^29.1.1"tsx: "npm:^4.19.3"- twenty-shared: "workspace:*"vite-plugin-checker: "npm:^0.10.2"vite-plugin-dts: "npm:^4.5.4"vite-plugin-sass-dts: "npm:^1.3.31"