woocommerce/packages/js/ai
Moon c45335b936
CYS - Add LookAndFeel and ToneOfVoice pages (#39979)
* Add ProgressBar component to @woocommerce/components

* Add changelog

* Remove html.wp-toolbar in fullscreen mode

* Add base style

* Add Tell us a bit more about your business page

* Fix merge conflict issues

* Send BUSINESS_INFO_DESCRIPTION_COMPLETE event when continue button is clicked

* Remove duplicated style import

* Add changefile(s) from automation for the following project(s): @woocommerce/components, woocommerce

* Lint fix

* Add 'Look and Feel' and 'Tone of voice' pages';

* Use correct classname

* Minor changes

* Textearea color should be gray-900 after the user enter text
* guide font weight should be 500

* Fix layout shift when a choice is selected

* Fix choices width for tone of voice page

* Use context value for the default

* Revert button margin top

* Fix default selection

* Add X button

* Decrease the margin by 20px to accommodate the height of the close button

* Add close action

* Include @woocommerce/ai package

* Add AI service

* Use AI service

* Parse JSON from in function

* Fix assignLookAndTone event type

* Update plugins/woocommerce-admin/client/customize-store/design-with-ai/components/choice/choice.scss

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Update plugins/woocommerce-admin/client/customize-store/design-with-ai/services.ts

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Log when AI API endpoint request fails

* Add spinner when user clicks the continue button

* streamlined unnecessary isRequesting context and forwarded close event

* pnpm-lock changes from trunk

* lint fixes

* ai package test passWithNoTests

* changelog

* reset pnpm-lock to trunk

* Dev: update pnpm-lock.yaml and jest preset config (#40045)

* Update pnpm-lock.yaml

* Update jest-preset config to fix unexpected token error

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: rjchow <me@rjchow.com>
2023-09-06 14:21:09 +08:00
..
changelog CYS - Add LookAndFeel and ToneOfVoice pages (#39979) 2023-09-06 14:21:09 +08:00
src Generating the short description on the product editor (#39237) 2023-08-07 14:03:52 +02:00
.eslintrc.js Making completion utilities available in AI package (#39190) 2023-07-17 10:25:14 -07:00
.npmrc Making completion utilities available in AI package (#39190) 2023-07-17 10:25:14 -07:00
README.md Making completion utilities available in AI package (#39190) 2023-07-17 10:25:14 -07:00
babel.config.js Making completion utilities available in AI package (#39190) 2023-07-17 10:25:14 -07:00
changelog.md Making completion utilities available in AI package (#39190) 2023-07-17 10:25:14 -07:00
composer.json Making completion utilities available in AI package (#39190) 2023-07-17 10:25:14 -07:00
composer.lock Making completion utilities available in AI package (#39190) 2023-07-17 10:25:14 -07:00
jest.config.json Making completion utilities available in AI package (#39190) 2023-07-17 10:25:14 -07:00
package.json CYS - Add LookAndFeel and ToneOfVoice pages (#39979) 2023-09-06 14:21:09 +08:00
tsconfig-cjs.json Making completion utilities available in AI package (#39190) 2023-07-17 10:25:14 -07:00
tsconfig.json Making completion utilities available in AI package (#39190) 2023-07-17 10:25:14 -07:00
webpack.config.js Making completion utilities available in AI package (#39190) 2023-07-17 10:25:14 -07:00

README.md

Artificial Intelligence tools

A collection of WooCommerce tools and utilities to implement ai features.

Installation

Install the module

pnpm install @woocommerce/ai --save