@adobe-commerce/elsie 1.0.0-alpha1 → 1.0.0-alpha2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.elsie.js +1 -1
- package/bin/builders/generate/component/templates/Component.js +1 -1
- package/bin/builders/generate/component/templates/unit-test.js +1 -1
- package/bin/builders/generate/container/templates/Component.js +1 -1
- package/bin/builders/generate/container/templates/unit-test.js +1 -1
- package/config/eslint.js +8 -8
- package/config/jest.js +3 -3
- package/config/storybook/components/FileTree/index.js +1 -1
- package/config/storybook/components/Flex/index.js +1 -1
- package/config/storybook/components/OptionsTable/index.js +1 -1
- package/config/storybook/components/Panel/index.ts +1 -1
- package/config/storybook/components/Screenshot/index.js +1 -1
- package/config/storybook/components/Steps/index.js +1 -1
- package/config/storybook/components/StoryWrapper/index.js +1 -1
- package/config/storybook/components/Summary/index.js +1 -1
- package/config/storybook/components/Variants/index.js +1 -1
- package/config/vite.mjs +12 -12
- package/dist/recaptcha.js +2 -2
- package/dist/types/elsie/src/components/Icon/Icon.d.ts +1 -1
- package/dist/types/event-bus/src/events-catalog.d.ts +16 -0
- package/dist/types/event-bus/src/index.d.ts +53 -0
- package/dist/types/fetch-graphql/src/index.d.ts +105 -0
- package/dist/types/recaptcha/src/configs/index.d.ts +4 -0
- package/dist/types/recaptcha/src/configs/message.config.d.ts +8 -0
- package/dist/types/recaptcha/src/configs/recaptchaBadgeSelector.config.d.ts +2 -0
- package/dist/types/recaptcha/src/configs/typeForms.config.d.ts +2 -0
- package/dist/types/recaptcha/src/graphql/recaptchaConfig.graphql.d.ts +2 -0
- package/dist/types/recaptcha/src/index.d.ts +42 -0
- package/dist/types/recaptcha/src/lib/_checkRecaptchaBadge.d.ts +2 -0
- package/dist/types/recaptcha/src/lib/_convertKeysToCamelCase.d.ts +6 -0
- package/dist/types/recaptcha/src/lib/_extendConfig.d.ts +4 -0
- package/dist/types/recaptcha/src/lib/_storageConfig.d.ts +6 -0
- package/dist/types/recaptcha/src/lib/index.d.ts +5 -0
- package/dist/types/recaptcha/src/services/recaptcha.service.d.ts +6 -0
- package/package.json +1 -2
- package/src/components/Accordion/Accordion.stories.tsx +3 -3
- package/src/components/Accordion/Accordion.tsx +5 -5
- package/src/components/Accordion/index.ts +2 -2
- package/src/components/ActionButton/ActionButton.stories.tsx +4 -4
- package/src/components/ActionButton/ActionButton.tsx +2 -2
- package/src/components/ActionButton/index.ts +1 -1
- package/src/components/ActionButtonGroup/ActionButtonGroup.stories.tsx +3 -3
- package/src/components/ActionButtonGroup/ActionButtonGroup.tsx +3 -3
- package/src/components/ActionButtonGroup/index.ts +1 -1
- package/src/components/AlertBanner/AlertBanner.stories.tsx +2 -2
- package/src/components/AlertBanner/AlertBanner.tsx +5 -5
- package/src/components/AlertBanner/index.ts +2 -2
- package/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +5 -5
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +2 -2
- package/src/components/Breadcrumbs/index.ts +2 -2
- package/src/components/Button/Button.mdx +2 -2
- package/src/components/Button/Button.stories.tsx +4 -4
- package/src/components/Button/Button.tsx +2 -2
- package/src/components/Button/index.ts +2 -2
- package/src/components/Card/Card.stories.tsx +2 -2
- package/src/components/Card/Card.tsx +2 -2
- package/src/components/Card/index.ts +1 -1
- package/src/components/CartItem/CartItem.stories.tsx +2 -2
- package/src/components/CartItem/CartItem.tsx +5 -5
- package/src/components/CartItem/CartItemSkeleton.tsx +1 -1
- package/src/components/CartItem/index.ts +3 -3
- package/src/components/CartList/CartList.stories.tsx +1 -1
- package/src/components/CartList/CartList.tsx +2 -2
- package/src/components/CartList/index.ts +2 -2
- package/src/components/Checkbox/Checkbox.stories.tsx +2 -2
- package/src/components/Checkbox/Checkbox.tsx +4 -4
- package/src/components/Checkbox/index.ts +1 -1
- package/src/components/ColorSwatch/ColorSwatch.stories.tsx +2 -2
- package/src/components/ColorSwatch/ColorSwatch.tsx +3 -3
- package/src/components/ColorSwatch/index.ts +2 -2
- package/src/components/ContentGrid/ContentGrid.stories.tsx +1 -1
- package/src/components/ContentGrid/ContentGrid.tsx +2 -2
- package/src/components/ContentGrid/index.ts +2 -2
- package/src/components/Divider/Divider.stories.tsx +1 -1
- package/src/components/Divider/Divider.tsx +2 -2
- package/src/components/Divider/index.ts +2 -2
- package/src/components/Field/Field.stories.tsx +9 -9
- package/src/components/Field/Field.tsx +2 -2
- package/src/components/Field/index.ts +1 -1
- package/src/components/Header/Header.stories.tsx +2 -2
- package/src/components/Header/Header.tsx +3 -3
- package/src/components/Header/index.ts +2 -2
- package/src/components/Icon/Icon.stories.helpers.jsx +1 -1
- package/src/components/Icon/Icon.stories.tsx +4 -4
- package/src/components/Icon/Icon.tsx +45 -45
- package/src/components/Icon/index.ts +1 -1
- package/src/components/IllustratedMessage/IllustratedMessage.stories.tsx +4 -4
- package/src/components/IllustratedMessage/IllustratedMessage.tsx +3 -3
- package/src/components/IllustratedMessage/index.ts +2 -2
- package/src/components/Image/Image.stories.tsx +2 -2
- package/src/components/Image/Image.tsx +2 -2
- package/src/components/Image/index.ts +1 -1
- package/src/components/ImageSwatch/ImageSwatch.stories.tsx +2 -2
- package/src/components/ImageSwatch/ImageSwatch.tsx +4 -4
- package/src/components/ImageSwatch/index.ts +2 -2
- package/src/components/InLineAlert/InLineAlert.stories.tsx +4 -4
- package/src/components/InLineAlert/InLineAlert.tsx +5 -5
- package/src/components/InLineAlert/index.ts +2 -2
- package/src/components/Incrementer/Incrementer.stories.tsx +1 -1
- package/src/components/Incrementer/Incrementer.tsx +5 -5
- package/src/components/Incrementer/index.ts +1 -1
- package/src/components/Input/Input.stories.tsx +4 -4
- package/src/components/Input/Input.tsx +4 -4
- package/src/components/Input/index.ts +2 -2
- package/src/components/InputDate/InputDate.stories.tsx +1 -1
- package/src/components/InputDate/InputDate.tsx +5 -5
- package/src/components/InputDate/index.ts +2 -2
- package/src/components/InputPassword/InputPassword.stories.tsx +1 -1
- package/src/components/InputPassword/InputPassword.tsx +5 -5
- package/src/components/InputPassword/PasswordStatusIndicator/PasswordStatusIndicator.tsx +4 -4
- package/src/components/InputPassword/PasswordStatusIndicator/index.ts +2 -2
- package/src/components/InputPassword/index.ts +2 -2
- package/src/components/Modal/Modal.tsx +4 -4
- package/src/components/Modal/index.ts +1 -1
- package/src/components/Pagination/Pagination.stories.tsx +2 -2
- package/src/components/Pagination/Pagination.tsx +5 -5
- package/src/components/Pagination/index.ts +2 -2
- package/src/components/Picker/Picker.stories.tsx +2 -2
- package/src/components/Picker/Picker.tsx +4 -4
- package/src/components/Picker/index.ts +1 -1
- package/src/components/Price/Price.stories.tsx +2 -2
- package/src/components/Price/Price.tsx +2 -2
- package/src/components/Price/index.ts +1 -1
- package/src/components/PriceRange/PriceRange.stories.tsx +2 -2
- package/src/components/PriceRange/PriceRange.tsx +4 -4
- package/src/components/PriceRange/index.ts +2 -2
- package/src/components/ProgressSpinner/ProgressSpinner.stories.tsx +3 -3
- package/src/components/ProgressSpinner/ProgressSpinner.tsx +3 -3
- package/src/components/ProgressSpinner/index.ts +2 -2
- package/src/components/RadioButton/RadioButton.stories.tsx +2 -2
- package/src/components/RadioButton/RadioButton.tsx +2 -2
- package/src/components/RadioButton/index.ts +2 -2
- package/src/components/Skeleton/Skeleton.stories.tsx +1 -1
- package/src/components/Skeleton/Skeleton.tsx +2 -2
- package/src/components/Skeleton/index.ts +1 -1
- package/src/components/Tag/Tag.stories.tsx +1 -1
- package/src/components/Tag/Tag.tsx +2 -2
- package/src/components/Tag/index.ts +2 -2
- package/src/components/TextArea/TextArea.stories.tsx +1 -1
- package/src/components/TextArea/TextArea.tsx +2 -2
- package/src/components/TextArea/index.ts +2 -2
- package/src/components/TextSwatch/TextSwatch.stories.tsx +2 -2
- package/src/components/TextSwatch/TextSwatch.tsx +3 -3
- package/src/components/TextSwatch/index.ts +2 -2
- package/src/components/ToggleButton/ToggleButton.stories.tsx +3 -3
- package/src/components/ToggleButton/ToggleButton.tsx +3 -3
- package/src/components/ToggleButton/index.ts +2 -2
- package/src/components/UIProvider/UIProvider.tsx +4 -4
- package/src/components/UIProvider/index.ts +1 -1
- package/src/components/index.ts +40 -40
- package/src/docs/API/event-bus.mdx +1 -1
- package/src/docs/API/graphql.mdx +3 -3
- package/src/docs/API/initializer.mdx +2 -2
- package/src/docs/API/render.mdx +2 -2
- package/src/docs/Design/colors.mdx +1 -1
- package/src/docs/Design/grid.mdx +2 -2
- package/src/docs/Design/overview.mdx +6 -6
- package/src/docs/Design/shapes.mdx +3 -3
- package/src/docs/Design/spacing.mdx +1 -1
- package/src/docs/Design/typography.mdx +1 -1
- package/src/docs/Utilities/classList.mdx +2 -2
- package/src/docs/Utilities/debounce.mdx +1 -1
- package/src/docs/Utilities/getFormErrors.mdx +1 -1
- package/src/docs/Utilities/getFormValues.mdx +1 -1
- package/src/docs/components/overview.mdx +3 -3
- package/src/docs/quick-start.mdx +3 -3
- package/src/docs/slots.mdx +1 -1
- package/src/docs/welcome.mdx +4 -4
- package/src/i18n/index.ts +2 -2
- package/src/lib/index.ts +15 -15
- package/src/lib/initializer.ts +1 -1
- package/src/lib/render.tsx +2 -2
- package/src/lib/resolve-image.ts +1 -1
- package/src/lib/slot.tsx +2 -2
- package/src/lib/tests.tsx +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '@adobe/elsie/components/PriceRange/PriceRange';
|
|
2
|
-
export { PriceRange as default } from '@adobe/elsie/components/PriceRange/PriceRange';
|
|
1
|
+
export * from '@adobe-commerce/elsie/components/PriceRange/PriceRange';
|
|
2
|
+
export { PriceRange as default } from '@adobe-commerce/elsie/components/PriceRange/PriceRange';
|
|
@@ -4,8 +4,8 @@ import type { Meta, StoryObj } from '@storybook/preact';
|
|
|
4
4
|
import ProgressSpinner, {
|
|
5
5
|
ProgressSpinner as component,
|
|
6
6
|
ProgressSpinnerProps,
|
|
7
|
-
} from '@adobe/elsie/components/ProgressSpinner';
|
|
8
|
-
import { Search } from '@adobe/elsie/icons';
|
|
7
|
+
} from '@adobe-commerce/elsie/components/ProgressSpinner';
|
|
8
|
+
import { Search } from '@adobe-commerce/elsie/icons';
|
|
9
9
|
import { ActionButton, Button, Card, Icon, RadioButton, ImageSwatch } from '..';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -67,7 +67,7 @@ type Story = StoryObj<ProgressSpinnerProps>;
|
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* ```ts
|
|
70
|
-
* import { ProgressSpinner } from '@adobe/elsie/components/ProgressSpinner';
|
|
70
|
+
* import { ProgressSpinner } from '@adobe-commerce/elsie/components/ProgressSpinner';
|
|
71
71
|
* ```
|
|
72
72
|
*/
|
|
73
73
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FunctionComponent } from 'preact';
|
|
2
2
|
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
-
import { useText } from '@adobe/elsie/i18n';
|
|
4
|
-
import { classes } from '@adobe/elsie/lib';
|
|
3
|
+
import { useText } from '@adobe-commerce/elsie/i18n';
|
|
4
|
+
import { classes } from '@adobe-commerce/elsie/lib';
|
|
5
5
|
|
|
6
|
-
import '@adobe/elsie/components/ProgressSpinner/ProgressSpinner.css';
|
|
6
|
+
import '@adobe-commerce/elsie/components/ProgressSpinner/ProgressSpinner.css';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @param size this is the size of the spinner ranging in [12px, 24px, 36px, 48px]
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '@adobe/elsie/components/ProgressSpinner/ProgressSpinner';
|
|
2
|
-
export { ProgressSpinner as default } from '@adobe/elsie/components/ProgressSpinner/ProgressSpinner';
|
|
1
|
+
export * from '@adobe-commerce/elsie/components/ProgressSpinner/ProgressSpinner';
|
|
2
|
+
export { ProgressSpinner as default } from '@adobe-commerce/elsie/components/ProgressSpinner/ProgressSpinner';
|
|
@@ -3,7 +3,7 @@ import type { Meta, StoryObj } from '@storybook/preact';
|
|
|
3
3
|
import {
|
|
4
4
|
RadioButton,
|
|
5
5
|
RadioButtonProps,
|
|
6
|
-
} from '@adobe/elsie/components/RadioButton';
|
|
6
|
+
} from '@adobe-commerce/elsie/components/RadioButton';
|
|
7
7
|
import { expect, userEvent, within } from '@storybook/test';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -91,7 +91,7 @@ type Story = StoryObj<RadioButtonProps>;
|
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
93
|
* ```ts
|
|
94
|
-
* import { RadioButton } from '@adobe/elsie/components/RadioButton';
|
|
94
|
+
* import { RadioButton } from '@adobe-commerce/elsie/components/RadioButton';
|
|
95
95
|
* ```
|
|
96
96
|
*/
|
|
97
97
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FunctionComponent, VNode } from 'preact';
|
|
2
2
|
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
-
import { classes } from '@adobe/elsie/lib';
|
|
4
|
-
import '@adobe/elsie/components/RadioButton/RadioButton.css';
|
|
3
|
+
import { classes } from '@adobe-commerce/elsie/lib';
|
|
4
|
+
import '@adobe-commerce/elsie/components/RadioButton/RadioButton.css';
|
|
5
5
|
|
|
6
6
|
export interface RadioButtonProps
|
|
7
7
|
extends Omit<HTMLAttributes<HTMLInputElement>, 'size' | 'label'> {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '@adobe/elsie/components/RadioButton/RadioButton';
|
|
2
|
-
export { RadioButton as default } from '@adobe/elsie/components/RadioButton/RadioButton';
|
|
1
|
+
export * from '@adobe-commerce/elsie/components/RadioButton/RadioButton';
|
|
2
|
+
export { RadioButton as default } from '@adobe-commerce/elsie/components/RadioButton/RadioButton';
|
|
@@ -78,7 +78,7 @@ type Story = StoryObj<SkeletonRowProps & SkeletonProps>;
|
|
|
78
78
|
* Import the component to use in your components:
|
|
79
79
|
*
|
|
80
80
|
* ```ts
|
|
81
|
-
* import { Skeleton, SkeletonRow } from '@adobe/elsie/components';
|
|
81
|
+
* import { Skeleton, SkeletonRow } from '@adobe-commerce/elsie/components';
|
|
82
82
|
* ```
|
|
83
83
|
*/
|
|
84
84
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FunctionComponent } from 'preact';
|
|
2
2
|
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
-
import { classes } from '@adobe/elsie/lib';
|
|
4
|
-
import '@adobe/elsie/components/Skeleton/Skeleton.css';
|
|
3
|
+
import { classes } from '@adobe-commerce/elsie/lib';
|
|
4
|
+
import '@adobe-commerce/elsie/components/Skeleton/Skeleton.css';
|
|
5
5
|
|
|
6
6
|
export interface SkeletonRowProps
|
|
7
7
|
extends Omit<HTMLAttributes<HTMLDivElement>, 'size'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@adobe/elsie/components/Skeleton/Skeleton';
|
|
1
|
+
export * from '@adobe-commerce/elsie/components/Skeleton/Skeleton';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// https://storybook.js.org/docs/7.0/preact/writing-stories/introduction
|
|
2
2
|
import type { Meta, StoryObj } from '@storybook/preact';
|
|
3
|
-
import { Tag, TagProps } from '@adobe/elsie/components';
|
|
3
|
+
import { Tag, TagProps } from '@adobe-commerce/elsie/components';
|
|
4
4
|
import { expect } from '@storybook/test';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FunctionComponent, VNode } from 'preact';
|
|
2
|
-
import { classes } from '@adobe/elsie/lib';
|
|
2
|
+
import { classes } from '@adobe-commerce/elsie/lib';
|
|
3
3
|
import { HTMLAttributes } from 'preact/compat';
|
|
4
|
-
import '@adobe/elsie/components/Tag/Tag.css';
|
|
4
|
+
import '@adobe-commerce/elsie/components/Tag/Tag.css';
|
|
5
5
|
|
|
6
6
|
export interface TagProps
|
|
7
7
|
extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'icon'> {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '@adobe/elsie/components/Tag/Tag';
|
|
2
|
-
export { Tag as default } from '@adobe/elsie/components/Tag/Tag';
|
|
1
|
+
export * from '@adobe-commerce/elsie/components/Tag/Tag';
|
|
2
|
+
export { Tag as default } from '@adobe-commerce/elsie/components/Tag/Tag';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// https://storybook.js.org/docs/7.0/preact/writing-stories/introduction
|
|
2
2
|
import type { Meta, StoryObj } from '@storybook/preact';
|
|
3
|
-
import { TextArea, TextAreaProps } from '@adobe/elsie/components/TextArea';
|
|
3
|
+
import { TextArea, TextAreaProps } from '@adobe-commerce/elsie/components/TextArea';
|
|
4
4
|
import { expect, userEvent, within } from '@storybook/test';
|
|
5
5
|
import { useState, useCallback } from 'preact/hooks';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FunctionComponent } from 'preact';
|
|
2
|
-
import { classes } from '@adobe/elsie/lib';
|
|
2
|
+
import { classes } from '@adobe-commerce/elsie/lib';
|
|
3
3
|
import { HTMLAttributes } from 'preact/compat';
|
|
4
|
-
import '@adobe/elsie/components/TextArea/TextArea.css';
|
|
4
|
+
import '@adobe-commerce/elsie/components/TextArea/TextArea.css';
|
|
5
5
|
import { useRef, useEffect, useId } from 'preact/hooks';
|
|
6
6
|
|
|
7
7
|
export interface TextAreaProps extends HTMLAttributes<HTMLTextAreaElement> {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '@adobe/elsie/components/TextArea/TextArea';
|
|
2
|
-
export { TextArea as default } from '@adobe/elsie/components/TextArea/TextArea';
|
|
1
|
+
export * from '@adobe-commerce/elsie/components/TextArea/TextArea';
|
|
2
|
+
export { TextArea as default } from '@adobe-commerce/elsie/components/TextArea/TextArea';
|
|
@@ -6,7 +6,7 @@ import { expect, userEvent, within } from '@storybook/test';
|
|
|
6
6
|
import {
|
|
7
7
|
TextSwatch,
|
|
8
8
|
TextSwatchProps,
|
|
9
|
-
} from '@adobe/elsie/components/TextSwatch';
|
|
9
|
+
} from '@adobe-commerce/elsie/components/TextSwatch';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Use Text Swatches to display text selections, like sizes or categories.
|
|
@@ -102,7 +102,7 @@ type Story = StoryObj<TextSwatchProps>;
|
|
|
102
102
|
|
|
103
103
|
/**
|
|
104
104
|
* ```ts
|
|
105
|
-
* import { TextSwatch } from '@adobe/elsie/components/TextSwatch';
|
|
105
|
+
* import { TextSwatch } from '@adobe-commerce/elsie/components/TextSwatch';
|
|
106
106
|
* ```
|
|
107
107
|
*/
|
|
108
108
|
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
useRef,
|
|
7
7
|
useCallback,
|
|
8
8
|
} from 'preact/compat';
|
|
9
|
-
import { classes } from '@adobe/elsie/lib';
|
|
10
|
-
import '@adobe/elsie/components/TextSwatch/TextSwatch.css';
|
|
11
|
-
import { useText } from '@adobe/elsie/i18n';
|
|
9
|
+
import { classes } from '@adobe-commerce/elsie/lib';
|
|
10
|
+
import '@adobe-commerce/elsie/components/TextSwatch/TextSwatch.css';
|
|
11
|
+
import { useText } from '@adobe-commerce/elsie/i18n';
|
|
12
12
|
|
|
13
13
|
export interface TextSwatchProps
|
|
14
14
|
extends Omit<HTMLAttributes<HTMLInputElement>, 'label'> {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '@adobe/elsie/components/TextSwatch/TextSwatch';
|
|
2
|
-
export { TextSwatch as default } from '@adobe/elsie/components/TextSwatch/TextSwatch';
|
|
1
|
+
export * from '@adobe-commerce/elsie/components/TextSwatch/TextSwatch';
|
|
2
|
+
export { TextSwatch as default } from '@adobe-commerce/elsie/components/TextSwatch/TextSwatch';
|
|
@@ -3,9 +3,9 @@ import type { Meta, StoryObj } from '@storybook/preact';
|
|
|
3
3
|
import {
|
|
4
4
|
ToggleButton as component,
|
|
5
5
|
ToggleButtonProps,
|
|
6
|
-
} from '@adobe/elsie/components/ToggleButton';
|
|
7
|
-
import { Card as CardSVG } from '@adobe/elsie/icons';
|
|
8
|
-
import { Card as CardPNG } from '@adobe/elsie/static/assets/images';
|
|
6
|
+
} from '@adobe-commerce/elsie/components/ToggleButton';
|
|
7
|
+
import { Card as CardSVG } from '@adobe-commerce/elsie/icons';
|
|
8
|
+
import { Card as CardPNG } from '@adobe-commerce/elsie/static/assets/images';
|
|
9
9
|
import { expect, within } from '@storybook/test';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FunctionComponent, VNode } from 'preact';
|
|
2
2
|
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
-
import { classes } from '@adobe/elsie/lib';
|
|
4
|
-
import '@adobe/elsie/components/ToggleButton/ToggleButton.css';
|
|
5
|
-
import { RadioButton } from '@adobe/elsie/components';
|
|
3
|
+
import { classes } from '@adobe-commerce/elsie/lib';
|
|
4
|
+
import '@adobe-commerce/elsie/components/ToggleButton/ToggleButton.css';
|
|
5
|
+
import { RadioButton } from '@adobe-commerce/elsie/components';
|
|
6
6
|
|
|
7
7
|
export interface ToggleButtonProps
|
|
8
8
|
extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'icon'> {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '@adobe/elsie/components/ToggleButton/ToggleButton';
|
|
2
|
-
export { ToggleButton as default } from '@adobe/elsie/components/ToggleButton/ToggleButton';
|
|
1
|
+
export * from '@adobe-commerce/elsie/components/ToggleButton/ToggleButton';
|
|
2
|
+
export { ToggleButton as default } from '@adobe-commerce/elsie/components/ToggleButton/ToggleButton';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FunctionComponent } from 'preact';
|
|
2
2
|
import { HTMLAttributes, createContext, useMemo } from 'preact/compat';
|
|
3
|
-
import { deepmerge, Render } from '@adobe/elsie/lib';
|
|
4
|
-
import { IntlProvider, getDefinitionByLanguage, Lang } from '@adobe/elsie/i18n';
|
|
3
|
+
import { deepmerge, Render } from '@adobe-commerce/elsie/lib';
|
|
4
|
+
import { IntlProvider, getDefinitionByLanguage, Lang } from '@adobe-commerce/elsie/i18n';
|
|
5
5
|
|
|
6
|
-
import '@adobe/elsie/components/UIProvider/UIProvider.css';
|
|
7
|
-
import '@adobe/elsie/components/UIProvider/normalize.css';
|
|
6
|
+
import '@adobe-commerce/elsie/components/UIProvider/UIProvider.css';
|
|
7
|
+
import '@adobe-commerce/elsie/components/UIProvider/normalize.css';
|
|
8
8
|
|
|
9
9
|
export const UIContext = createContext<{
|
|
10
10
|
locale: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@adobe/elsie/components/UIProvider/UIProvider';
|
|
1
|
+
export * from '@adobe-commerce/elsie/components/UIProvider/UIProvider';
|
package/src/components/index.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
export * from '@adobe/elsie/components/Skeleton';
|
|
2
|
-
export * from '@adobe/elsie/components/UIProvider';
|
|
3
|
-
export * from '@adobe/elsie/components/Incrementer';
|
|
4
|
-
export * from '@adobe/elsie/components/Input';
|
|
5
|
-
export * from '@adobe/elsie/components/InputDate';
|
|
6
|
-
export * from '@adobe/elsie/components/InputPassword';
|
|
7
|
-
export * from '@adobe/elsie/components/TextArea';
|
|
8
|
-
export * from '@adobe/elsie/components/Image';
|
|
9
|
-
export * from '@adobe/elsie/components/Divider';
|
|
10
|
-
export * from '@adobe/elsie/components/Icon';
|
|
11
|
-
export * from '@adobe/elsie/components/Price';
|
|
12
|
-
export * from '@adobe/elsie/components/RadioButton';
|
|
13
|
-
export * from '@adobe/elsie/components/Image';
|
|
14
|
-
export * from '@adobe/elsie/components/Divider';
|
|
15
|
-
export * from '@adobe/elsie/components/Icon';
|
|
16
|
-
export * from '@adobe/elsie/components/Button';
|
|
17
|
-
export * from '@adobe/elsie/components/Picker';
|
|
18
|
-
export * from '@adobe/elsie/components/Field';
|
|
19
|
-
export * from '@adobe/elsie/components/ActionButton';
|
|
20
|
-
export * from '@adobe/elsie/components/ActionButtonGroup';
|
|
21
|
-
export * from '@adobe/elsie/components/Card';
|
|
22
|
-
export * from '@adobe/elsie/components/Checkbox';
|
|
23
|
-
export * from '@adobe/elsie/components/ColorSwatch';
|
|
24
|
-
export * from '@adobe/elsie/components/TextSwatch';
|
|
25
|
-
export * from '@adobe/elsie/components/ProgressSpinner';
|
|
26
|
-
export * from '@adobe/elsie/components/ImageSwatch';
|
|
27
|
-
export * from '@adobe/elsie/components/Accordion';
|
|
28
|
-
export * from '@adobe/elsie/components/InLineAlert';
|
|
29
|
-
export * from '@adobe/elsie/components/Modal';
|
|
30
|
-
export * from '@adobe/elsie/components/CartItem';
|
|
31
|
-
export * from '@adobe/elsie/components/CartList';
|
|
32
|
-
export * from '@adobe/elsie/components/PriceRange';
|
|
33
|
-
export * from '@adobe/elsie/components/Breadcrumbs';
|
|
34
|
-
export * from '@adobe/elsie/components/AlertBanner';
|
|
35
|
-
export * from '@adobe/elsie/components/IllustratedMessage';
|
|
36
|
-
export * from '@adobe/elsie/components/ToggleButton';
|
|
37
|
-
export * from '@adobe/elsie/components/Header';
|
|
38
|
-
export * from '@adobe/elsie/components/Tag';
|
|
39
|
-
export * from '@adobe/elsie/components/ContentGrid';
|
|
40
|
-
export * from '@adobe/elsie/components/Pagination';
|
|
1
|
+
export * from '@adobe-commerce/elsie/components/Skeleton';
|
|
2
|
+
export * from '@adobe-commerce/elsie/components/UIProvider';
|
|
3
|
+
export * from '@adobe-commerce/elsie/components/Incrementer';
|
|
4
|
+
export * from '@adobe-commerce/elsie/components/Input';
|
|
5
|
+
export * from '@adobe-commerce/elsie/components/InputDate';
|
|
6
|
+
export * from '@adobe-commerce/elsie/components/InputPassword';
|
|
7
|
+
export * from '@adobe-commerce/elsie/components/TextArea';
|
|
8
|
+
export * from '@adobe-commerce/elsie/components/Image';
|
|
9
|
+
export * from '@adobe-commerce/elsie/components/Divider';
|
|
10
|
+
export * from '@adobe-commerce/elsie/components/Icon';
|
|
11
|
+
export * from '@adobe-commerce/elsie/components/Price';
|
|
12
|
+
export * from '@adobe-commerce/elsie/components/RadioButton';
|
|
13
|
+
export * from '@adobe-commerce/elsie/components/Image';
|
|
14
|
+
export * from '@adobe-commerce/elsie/components/Divider';
|
|
15
|
+
export * from '@adobe-commerce/elsie/components/Icon';
|
|
16
|
+
export * from '@adobe-commerce/elsie/components/Button';
|
|
17
|
+
export * from '@adobe-commerce/elsie/components/Picker';
|
|
18
|
+
export * from '@adobe-commerce/elsie/components/Field';
|
|
19
|
+
export * from '@adobe-commerce/elsie/components/ActionButton';
|
|
20
|
+
export * from '@adobe-commerce/elsie/components/ActionButtonGroup';
|
|
21
|
+
export * from '@adobe-commerce/elsie/components/Card';
|
|
22
|
+
export * from '@adobe-commerce/elsie/components/Checkbox';
|
|
23
|
+
export * from '@adobe-commerce/elsie/components/ColorSwatch';
|
|
24
|
+
export * from '@adobe-commerce/elsie/components/TextSwatch';
|
|
25
|
+
export * from '@adobe-commerce/elsie/components/ProgressSpinner';
|
|
26
|
+
export * from '@adobe-commerce/elsie/components/ImageSwatch';
|
|
27
|
+
export * from '@adobe-commerce/elsie/components/Accordion';
|
|
28
|
+
export * from '@adobe-commerce/elsie/components/InLineAlert';
|
|
29
|
+
export * from '@adobe-commerce/elsie/components/Modal';
|
|
30
|
+
export * from '@adobe-commerce/elsie/components/CartItem';
|
|
31
|
+
export * from '@adobe-commerce/elsie/components/CartList';
|
|
32
|
+
export * from '@adobe-commerce/elsie/components/PriceRange';
|
|
33
|
+
export * from '@adobe-commerce/elsie/components/Breadcrumbs';
|
|
34
|
+
export * from '@adobe-commerce/elsie/components/AlertBanner';
|
|
35
|
+
export * from '@adobe-commerce/elsie/components/IllustratedMessage';
|
|
36
|
+
export * from '@adobe-commerce/elsie/components/ToggleButton';
|
|
37
|
+
export * from '@adobe-commerce/elsie/components/Header';
|
|
38
|
+
export * from '@adobe-commerce/elsie/components/Tag';
|
|
39
|
+
export * from '@adobe-commerce/elsie/components/ContentGrid';
|
|
40
|
+
export * from '@adobe-commerce/elsie/components/Pagination';
|
|
@@ -9,7 +9,7 @@ import { Meta, Unstyled } from '@storybook/blocks';
|
|
|
9
9
|
|
|
10
10
|
```ts
|
|
11
11
|
// from drop-in project (SDK)
|
|
12
|
-
import { events } from '@adobe/elsie/lib';
|
|
12
|
+
import { events } from '@adobe-commerce/elsie/lib';
|
|
13
13
|
|
|
14
14
|
// from host site
|
|
15
15
|
import { events } from '@dropins/tools/event-bus.js';
|
package/src/docs/API/graphql.mdx
CHANGED
|
@@ -87,8 +87,8 @@ First, add the typing to your initializer API in `./src/api/initialize/initializ
|
|
|
87
87
|
```ts
|
|
88
88
|
// ./src/api/initialize/initialize.ts
|
|
89
89
|
|
|
90
|
-
import { Initializer, Model } from '@adobe/elsie/lib';
|
|
91
|
-
import { Lang } from '@adobe/elsie/i18n';
|
|
90
|
+
import { Initializer, Model } from '@adobe-commerce/elsie/lib';
|
|
91
|
+
import { Lang } from '@adobe-commerce/elsie/i18n';
|
|
92
92
|
import { MyModel } from '@/my-dropin/data/models';
|
|
93
93
|
|
|
94
94
|
type ConfigProps = {
|
|
@@ -118,7 +118,7 @@ Then, use the configuration to extend the data transformer the model uses by dee
|
|
|
118
118
|
|
|
119
119
|
```ts
|
|
120
120
|
// ./src/data/transforms/transform-my-model.ts
|
|
121
|
-
import { merge } from '@adobe/elsie/lib';
|
|
121
|
+
import { merge } from '@adobe-commerce/elsie/lib';
|
|
122
122
|
import { MyModel } from '@/my-dropin/data/models';
|
|
123
123
|
|
|
124
124
|
export function transformMyModel(data: any): MyModel {
|
|
@@ -8,8 +8,8 @@ import { Meta, Unstyled } from '@storybook/blocks';
|
|
|
8
8
|
```typescript
|
|
9
9
|
// my-dropin/initializer.ts
|
|
10
10
|
|
|
11
|
-
import { Initializer } from '@adobe/elsie/lib';
|
|
12
|
-
// import { events } from '@adobe/event-bus';
|
|
11
|
+
import { Initializer } from '@adobe-commerce/elsie/lib';
|
|
12
|
+
// import { events } from '@adobe-commerce/event-bus';
|
|
13
13
|
|
|
14
14
|
type ConfigProps = {};
|
|
15
15
|
|
package/src/docs/API/render.mdx
CHANGED
|
@@ -7,14 +7,14 @@ import { Meta, Unstyled } from '@storybook/blocks';
|
|
|
7
7
|
|
|
8
8
|
## Implementing a new render in your dropin
|
|
9
9
|
|
|
10
|
-
To implement a new render in your dropin, you must create an instance of the `Render` class from the `@adobe/elsie/lib` library, passing in a `Provider` component.
|
|
10
|
+
To implement a new render in your dropin, you must create an instance of the `Render` class from the `@adobe-commerce/elsie/lib` library, passing in a `Provider` component.
|
|
11
11
|
This setup initializes the rendering context with the specified provider, which can manage state, context, or other dependencies required by your components.
|
|
12
12
|
By exporting this `render` instance, you enable different parts of your application to render components within the defined context, ensuring consistent behavior and integration across your application.
|
|
13
13
|
|
|
14
14
|
```ts
|
|
15
15
|
// Dropin
|
|
16
16
|
|
|
17
|
-
import { Render } from '@adobe/elsie/lib';
|
|
17
|
+
import { Render } from '@adobe-commerce/elsie/lib';
|
|
18
18
|
import { Provider } from './Provider';
|
|
19
19
|
|
|
20
20
|
export const render = new Render(<Provider />);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta, Unstyled } from '@storybook/blocks';
|
|
2
2
|
import { Block, DesignSwatchGroup, TokenDefinitions } from './designBlocks';
|
|
3
|
-
import colorsData from '@adobe/storefront-design/base/colors/colors.json';
|
|
3
|
+
import colorsData from '@adobe-commerce/storefront-design/base/colors/colors.json';
|
|
4
4
|
import { getTokenData } from './getTokenData';
|
|
5
5
|
|
|
6
6
|
export const tokenData = getTokenData(colorsData);
|
package/src/docs/Design/grid.mdx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, Unstyled } from '@storybook/blocks';
|
|
2
2
|
import { Block, DesignSwatchGroup, TokenDefinitions } from './designBlocks.jsx';
|
|
3
|
-
import gridData from '@adobe/storefront-design/base/grid/grid.json';
|
|
3
|
+
import gridData from '@adobe-commerce/storefront-design/base/grid/grid.json';
|
|
4
4
|
import { getTokenData } from './getTokenData';
|
|
5
|
-
import { OptionsTable } from '@adobe/elsie/config/storybook/components/OptionsTable';
|
|
5
|
+
import { OptionsTable } from '@adobe-commerce/elsie/config/storybook/components/OptionsTable';
|
|
6
6
|
|
|
7
7
|
export const tokenData = getTokenData(gridData);
|
|
8
8
|
export const tokenNames = tokenData.map((token) => token.name);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Meta, Unstyled } from '@storybook/blocks';
|
|
2
|
-
import { Flex } from '@adobe/elsie/config/storybook/components/Flex';
|
|
3
|
-
import { Panel } from '@adobe/elsie/config/storybook/components/Panel';
|
|
2
|
+
import { Flex } from '@adobe-commerce/elsie/config/storybook/components/Flex';
|
|
3
|
+
import { Panel } from '@adobe-commerce/elsie/config/storybook/components/Panel';
|
|
4
4
|
|
|
5
|
-
import colors from '@adobe/elsie/src/docs/assets/Colors.png';
|
|
6
|
-
import spacing from '@adobe/elsie/src/docs/assets/Spacing.png';
|
|
7
|
-
import typography from '@adobe/elsie/src/docs/assets/Typography.png';
|
|
8
|
-
import shapeStyles from '@adobe/elsie/src/docs/assets/ShapeStyles.png';
|
|
5
|
+
import colors from '@adobe-commerce/elsie/src/docs/assets/Colors.png';
|
|
6
|
+
import spacing from '@adobe-commerce/elsie/src/docs/assets/Spacing.png';
|
|
7
|
+
import typography from '@adobe-commerce/elsie/src/docs/assets/Typography.png';
|
|
8
|
+
import shapeStyles from '@adobe-commerce/elsie/src/docs/assets/ShapeStyles.png';
|
|
9
9
|
|
|
10
10
|
<Meta title="Design/Overview" />
|
|
11
11
|
<Unstyled>
|
|
@@ -2,11 +2,11 @@ import { Meta, Unstyled } from '@storybook/blocks';
|
|
|
2
2
|
|
|
3
3
|
import { Block, DesignSwatchGroup, TokenDefinitions } from './designBlocks.jsx';
|
|
4
4
|
|
|
5
|
-
import shapesData from '@adobe/storefront-design/base/shapes/shapes.json';
|
|
5
|
+
import shapesData from '@adobe-commerce/storefront-design/base/shapes/shapes.json';
|
|
6
6
|
import { getTokenData } from './getTokenData';
|
|
7
7
|
|
|
8
|
-
import { Icon } from '@adobe/elsie/src/components';
|
|
9
|
-
import { Placeholder } from '@adobe/elsie/src/icons';
|
|
8
|
+
import { Icon } from '@adobe-commerce/elsie/src/components';
|
|
9
|
+
import { Placeholder } from '@adobe-commerce/elsie/src/icons';
|
|
10
10
|
|
|
11
11
|
export const tokenData = getTokenData(shapesData);
|
|
12
12
|
export const tokenNames = tokenData.map((token) => token.name);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta, Unstyled } from '@storybook/blocks';
|
|
2
2
|
import { Block, DesignSwatchGroup, TokenDefinitions } from './designBlocks.jsx';
|
|
3
|
-
import spacingData from '@adobe/storefront-design/base/spacing/spacing.json';
|
|
3
|
+
import spacingData from '@adobe-commerce/storefront-design/base/spacing/spacing.json';
|
|
4
4
|
import { getTokenData } from './getTokenData';
|
|
5
5
|
|
|
6
6
|
export const tokenData = getTokenData(spacingData);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta, Unstyled } from '@storybook/blocks';
|
|
2
2
|
import { Block, TokenDefinitions } from './designBlocks.jsx';
|
|
3
|
-
import typeData from '@adobe/storefront-design/base/typography/typography.json';
|
|
3
|
+
import typeData from '@adobe-commerce/storefront-design/base/typography/typography.json';
|
|
4
4
|
import { getTokenData } from './getTokenData';
|
|
5
5
|
export const tokenData = getTokenData(typeData);
|
|
6
6
|
export const tokenNames = tokenData.map((token) => token.name);
|
|
@@ -19,7 +19,7 @@ Returns a string of space separated entries that can be used for CSS classname a
|
|
|
19
19
|
## Examples
|
|
20
20
|
|
|
21
21
|
```ts
|
|
22
|
-
import { classes } from '@adobe/elsie/lib';
|
|
22
|
+
import { classes } from '@adobe-commerce/elsie/lib';
|
|
23
23
|
|
|
24
24
|
type ClassList = Array<string | [string, boolean] | undefined>;
|
|
25
25
|
|
|
@@ -33,7 +33,7 @@ console.log(result); // "class-1 class-2 class-3"
|
|
|
33
33
|
You can use a `<string,boolean>` array to control whether a class should be included or omitted from the final classes list.
|
|
34
34
|
|
|
35
35
|
```ts
|
|
36
|
-
import { classes } from '@adobe/elsie/lib';
|
|
36
|
+
import { classes } from '@adobe-commerce/elsie/lib';
|
|
37
37
|
|
|
38
38
|
type ClassList = Array<string | [string, boolean] | undefined>;
|
|
39
39
|
|
|
@@ -23,7 +23,7 @@ This function can be treated like the original callback, except when called, the
|
|
|
23
23
|
## Examples
|
|
24
24
|
|
|
25
25
|
```ts
|
|
26
|
-
import { debounce } from '@adobe/elsie/ore/lib';
|
|
26
|
+
import { debounce } from '@adobe-commerce/elsie/ore/lib';
|
|
27
27
|
|
|
28
28
|
const debouncedLog = debounce(console.log, 500);
|
|
29
29
|
|
|
@@ -29,7 +29,7 @@ A JavaScript object containing the form errors
|
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
```ts
|
|
32
|
-
import { getFormErrors } from '@adobe/elsie/ore/lib';
|
|
32
|
+
import { getFormErrors } from '@adobe-commerce/elsie/ore/lib';
|
|
33
33
|
|
|
34
34
|
const formElement = container.querySelector('form') as HTMLFormElement;
|
|
35
35
|
|
|
@@ -26,7 +26,7 @@ A JavaScript object containing the form data
|
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
```ts
|
|
29
|
-
import { getFormValues } from '@adobe/elsie/ore/lib';
|
|
29
|
+
import { getFormValues } from '@adobe-commerce/elsie/ore/lib';
|
|
30
30
|
|
|
31
31
|
const formElement = container.querySelector('form') as HTMLFormElement;
|
|
32
32
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta, Unstyled } from '@storybook/blocks';
|
|
2
|
-
import { Flex } from '@adobe/elsie/config/storybook/components/Flex';
|
|
3
|
-
import { Panel } from '@adobe/elsie/config/storybook/components/Panel';
|
|
2
|
+
import { Flex } from '@adobe-commerce/elsie/config/storybook/components/Flex';
|
|
3
|
+
import { Panel } from '@adobe-commerce/elsie/config/storybook/components/Panel';
|
|
4
4
|
import {
|
|
5
5
|
Button,
|
|
6
6
|
ActionButton,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
Incrementer,
|
|
12
12
|
Input,
|
|
13
13
|
Checkbox,
|
|
14
|
-
} from '@adobe/elsie/src/components';
|
|
14
|
+
} from '@adobe-commerce/elsie/src/components';
|
|
15
15
|
|
|
16
16
|
<Meta title="Components/Overview" />
|
|
17
17
|
<Unstyled>
|
package/src/docs/quick-start.mdx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Meta, Unstyled } from '@storybook/blocks';
|
|
2
|
-
import { Steps } from '@adobe/elsie/config/storybook/components/Steps';
|
|
3
|
-
import { FileTree } from '@adobe/elsie/config/storybook/components/FileTree';
|
|
4
|
-
import { Screenshot } from '@adobe/elsie/config/storybook/components/Screenshot';
|
|
2
|
+
import { Steps } from '@adobe-commerce/elsie/config/storybook/components/Steps';
|
|
3
|
+
import { FileTree } from '@adobe-commerce/elsie/config/storybook/components/FileTree';
|
|
4
|
+
import { Screenshot } from '@adobe-commerce/elsie/config/storybook/components/Screenshot';
|
|
5
5
|
import dropinDevEnv from '../../static/dropin.png';
|
|
6
6
|
|
|
7
7
|
<Meta title="Quick start" />
|
package/src/docs/slots.mdx
CHANGED
|
@@ -62,7 +62,7 @@ This property is useful for cases where the content within the slot is static or
|
|
|
62
62
|
// MyContainer.tsx (Drop-in)
|
|
63
63
|
|
|
64
64
|
import { HTMLAttributes } from 'preact/compat';
|
|
65
|
-
import { Container, Slot, SlotProps } from '@adobe/elsie/lib';
|
|
65
|
+
import { Container, Slot, SlotProps } from '@adobe-commerce/elsie/lib';
|
|
66
66
|
|
|
67
67
|
export interface MyContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
68
68
|
slots?: {
|
package/src/docs/welcome.mdx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, Unstyled } from '@storybook/blocks';
|
|
2
|
-
import { Flex } from '@adobe/elsie/config/storybook/components/Flex';
|
|
3
|
-
import { Panel } from '@adobe/elsie/config/storybook/components/Panel';
|
|
4
|
-
import { Screenshot } from '@adobe/elsie/config/storybook/components/Screenshot';
|
|
5
|
-
import { Summary } from '@adobe/elsie/config/storybook/components/Summary';
|
|
2
|
+
import { Flex } from '@adobe-commerce/elsie/config/storybook/components/Flex';
|
|
3
|
+
import { Panel } from '@adobe-commerce/elsie/config/storybook/components/Panel';
|
|
4
|
+
import { Screenshot } from '@adobe-commerce/elsie/config/storybook/components/Screenshot';
|
|
5
|
+
import { Summary } from '@adobe-commerce/elsie/config/storybook/components/Summary';
|
|
6
6
|
import banner from './assets/DropinBanner.png';
|
|
7
7
|
|
|
8
8
|
<Meta title="Welcome" />
|
package/src/i18n/index.ts
CHANGED