From a2a33f5259bfdb9e83e310d24e5b1690959e1629 Mon Sep 17 00:00:00 2001 From: kevin Date: Wed, 4 Mar 2026 21:02:27 -0700 Subject: [PATCH 1/4] docs(docs): updating references for component imports as well as route to correct storybook build --- docs/REFERENCE_CONFIGURATION_TARGETERS.md | 4 ++-- docs/SNAP_AUTOCOMPLETE.md | 4 ++-- docs/SNAP_FINDER.md | 2 +- docs/SNAP_OVERVIEW.md | 6 ++--- docs/SNAP_RECOMMENDATIONS.md | 6 ++--- docs/SNAP_SEARCH.md | 22 +++++++++---------- docs/SNAP_TRACKING.md | 6 ++--- docs/documents.js | 2 +- packages/snap-controller/src/Search/README.md | 2 +- .../src/components/Atoms/BadgeImage/readme.md | 2 +- .../src/components/Atoms/BadgePill/readme.md | 2 +- .../components/Atoms/BadgeRectangle/readme.md | 2 +- .../src/components/Atoms/BadgeText/readme.md | 2 +- .../src/components/Atoms/Banner/readme.md | 2 +- .../components/Atoms/Breadcrumbs/readme.md | 2 +- .../src/components/Atoms/Button/readme.md | 2 +- .../src/components/Atoms/Dropdown/readme.md | 2 +- .../Atoms/FormattedNumber/readme.md | 2 +- .../src/components/Atoms/Icon/readme.md | 2 +- .../src/components/Atoms/Image/readme.md | 2 +- .../components/Atoms/InlineBanner/readme.md | 2 +- .../src/components/Atoms/Loading/readme.md | 2 +- .../src/components/Atoms/Overlay/readme.md | 2 +- .../src/components/Atoms/Price/readme.md | 2 +- .../src/components/Atoms/Skeleton/readme.md | 2 +- .../Molecules/CalloutBadge/readme.md | 2 +- .../components/Molecules/Carousel/readme.md | 2 +- .../components/Molecules/Checkbox/readme.md | 2 +- .../Molecules/ErrorHandler/readme.md | 2 +- .../Molecules/FacetGridOptions/readme.md | 2 +- .../Molecules/FacetHierarchyOptions/readme.md | 2 +- .../Molecules/FacetListOptions/readme.md | 2 +- .../Molecules/FacetPaletteOptions/readme.md | 2 +- .../Molecules/FacetSlider/readme.md | 2 +- .../src/components/Molecules/Filter/readme.md | 2 +- .../src/components/Molecules/Grid/readme.md | 2 +- .../src/components/Molecules/List/readme.md | 2 +- .../Molecules/OverlayBadge/readme.md | 2 +- .../components/Molecules/Pagination/readme.md | 2 +- .../src/components/Molecules/Result/readme.md | 2 +- .../Molecules/SearchInput/readme.md | 2 +- .../src/components/Molecules/Select/readme.md | 2 +- .../components/Molecules/Slideout/readme.md | 2 +- .../components/Molecules/Swatches/readme.md | 2 +- .../Molecules/VariantSelection/readme.md | 2 +- .../Organisms/Autocomplete/readme.md | 2 +- .../Organisms/BranchOverride/readme.md | 2 +- .../src/components/Organisms/Facet/readme.md | 2 +- .../src/components/Organisms/Facets/readme.md | 2 +- .../Organisms/FilterSummary/readme.md | 2 +- .../components/Organisms/Results/readme.md | 2 +- .../Templates/Recommendation/readme.md | 2 +- .../Templates/RecommendationBundle/readme.md | 2 +- .../Trackers/ResultTracker/readme.md | 2 +- .../src/documentation/About/About.md | 2 +- .../src/documentation/Theme/Theme.md | 2 +- .../src/documentation/Usage/Usage.md | 2 +- 57 files changed, 75 insertions(+), 75 deletions(-) diff --git a/docs/REFERENCE_CONFIGURATION_TARGETERS.md b/docs/REFERENCE_CONFIGURATION_TARGETERS.md index cd25b2c5a..ef19c129f 100644 --- a/docs/REFERENCE_CONFIGURATION_TARGETERS.md +++ b/docs/REFERENCE_CONFIGURATION_TARGETERS.md @@ -11,7 +11,7 @@ Each object in the array defines an entry point on the page where a component wi | `component` | `function` | A function that returns a reference to the component to render at the target selector. Making this an async function is recommended to allow for code splitting. | | `hideTarget` | `boolean` | Whether to hide the target node before the component is mounted and rendered. It is recommended to enable this to prevent flashy behaviour. | | `autoRetarget` | `boolean` | Whether to continuously query for the selector in the DOM until it finds it and triggers a retarget. This is useful for dynamically generated selectors that might not exist at dom ready. | -| `skeleton` | `function` | A function that returns a reference to the component to render immediately at the target selector to show briefly while the data is returning and the real component is rendering. You can use any component you want for this, although `snap-preact-components` provides a `skeleton` component for you to use if preferred. | +| `skeleton` | `function` | A function that returns a reference to the component to render immediately at the target selector to show briefly while the data is returning and the real component is rendering. You can use any component you want for this, although `snap-preact/components` provides a `skeleton` component for you to use if preferred. | | `props` | `object` | Convenient way of passing additional props to the component, by default we pass `controller` | | `onTarget` | `function` | Callback that fires after a target is found. This is useful for triggering other actions such as initializing the controller. | | `name` | `string` | Name to give the targeter for later reference using `controller.targeters` | @@ -72,7 +72,7 @@ A [Skeleton component](https://athoscommerce.github.io/snap/preact-components?pa ```jsx import { Snap } from '@athoscommerce/snap-preact'; -import { Skeleton } from '@athoscommerce/snap-preact-components'; +import { Skeleton } from '@athoscommerce/snap-preact/components'; const ContentSkeleton = () => { return (); diff --git a/docs/SNAP_AUTOCOMPLETE.md b/docs/SNAP_AUTOCOMPLETE.md index c6bd78366..993bf25a2 100644 --- a/docs/SNAP_AUTOCOMPLETE.md +++ b/docs/SNAP_AUTOCOMPLETE.md @@ -42,7 +42,7 @@ const snap = new Snap({ selector: 'header input[type="search"]', hideTarget: true, component: async () => { - return (await import('@athoscommerce/snap-preact-components')).Autocomplete; + return (await import('@athoscommerce/snap-preact/components')).Autocomplete; }, }, ], @@ -56,7 +56,7 @@ const snap = new Snap({ ## Autocomplete Store -It is recommended to utilizing the [Autocomplete](https://athoscommerce.github.io/snap/preact-components?params=?path=/story/organisms-autocomplete--default) component from `@athoscommerce/snap-preact-components` to display Autocomplete. +It is recommended to utilizing the [Autocomplete](https://athoscommerce.github.io/snap/preact-components?params=?path=/story/organisms-autocomplete--default) component from `@athoscommerce/snap-preact/components` to display Autocomplete. The following properties are specific to an Autocomplete Store via an Autocomplete Controller. diff --git a/docs/SNAP_FINDER.md b/docs/SNAP_FINDER.md index 329169622..1b08c20a5 100644 --- a/docs/SNAP_FINDER.md +++ b/docs/SNAP_FINDER.md @@ -108,7 +108,7 @@ Note: When using fields that are not of hierarchy type, `levels` are not require import { h } from 'preact'; import { observer } from 'mobx-react-lite'; -import { ControllerProvider } from '@athoscommerce/snap-preact-components'; +import { ControllerProvider } from '@athoscommerce/snap-preact/components'; export const Finder = observer((props) => { const { controller } = props; diff --git a/docs/SNAP_OVERVIEW.md b/docs/SNAP_OVERVIEW.md index e70811eea..6a8817176 100644 --- a/docs/SNAP_OVERVIEW.md +++ b/docs/SNAP_OVERVIEW.md @@ -45,14 +45,14 @@ const snap = new Snap({ The `Content` component is considered a root level component since it is being rendered onto the page using a targeter. -To provide a reference to the controller via props to any subcomponents, we can utilize the `ControllerProvider` component from the `@athoscommerce/snap-preact-components` package. +To provide a reference to the controller via props to any subcomponents, we can utilize the `ControllerProvider` component from the `@athoscommerce/snap-preact/components` package. ```jsx // src/components/Content/Content.jsx import { h } from 'preact'; import { observer } from 'mobx-react-lite'; -import { ControllerProvider } from '@athoscommerce/snap-preact-components'; +import { ControllerProvider } from '@athoscommerce/snap-preact/components'; import { Results } from '../Results/Results'; export const Content = observer((props) => { @@ -75,7 +75,7 @@ Finally, the `observer` higher order component is used to make the component rea import { h } from 'preact'; import { observer } from 'mobx-react-lite'; -import { withController, InlineBanner, Result } from '@athoscommerce/snap-preact-components'; +import { withController, InlineBanner, Result } from '@athoscommerce/snap-preact/components'; export const Results = withController(observer((props) => { const { controller } = props; diff --git a/docs/SNAP_RECOMMENDATIONS.md b/docs/SNAP_RECOMMENDATIONS.md index ce2782d78..ca1be9343 100644 --- a/docs/SNAP_RECOMMENDATIONS.md +++ b/docs/SNAP_RECOMMENDATIONS.md @@ -67,7 +67,7 @@ This example assumes a `recently-viewed` profile has been configured in the Atho ### Recommendation Component -In this example, the `Recs` component is a wrapper around the `Recommendation` component from the `@athoscommerce/snap-preact-components` package. See [Components Preact > Recommendation](https://athoscommerce.github.io/snap/preact-components?params=%3Fpath%3D%2Fstory%2Forganisms-recommendation--default) for more details. +In this example, the `Recs` component is a wrapper around the `Recommendation` component from the `@athoscommerce/snap-preact/components` package. See [Components Preact > Recommendation](https://athoscommerce.github.io/snap/preact-components?params=%3Fpath%3D%2Fstory%2Forganisms-recommendation--default) for more details. ```jsx // components/Recommendations/Recs.jsx @@ -75,7 +75,7 @@ In this example, the `Recs` component is a wrapper around the `Recommendation` c import { h } from 'preact'; import { observer } from 'mobx-react-lite'; import { useEffect } from 'preact/hooks'; -import { Recommendation } from '@athoscommerce/snap-preact-components'; +import { Recommendation } from '@athoscommerce/snap-preact/components'; import './Recs.scss'; @@ -162,7 +162,7 @@ The example `Bundled` component below uses the `RecommendationBundle` component import { h } from 'preact'; import { useEffect } from 'preact/hooks'; import { observer } from 'mobx-react-lite'; -import { RecommendationBundle } from '@athoscommerce/snap-preact-components'; +import { RecommendationBundle } from '@athoscommerce/snap-preact/components'; import './Bundled.scss'; diff --git a/docs/SNAP_SEARCH.md b/docs/SNAP_SEARCH.md index 3e62cf446..28caead58 100644 --- a/docs/SNAP_SEARCH.md +++ b/docs/SNAP_SEARCH.md @@ -98,12 +98,12 @@ const snap = new Snap({ ## Search Store -This section covers the properties available on the Search Store via a Search Controller with examples of how to implement common custom components. Alternatively, equivalent and additional components are available in the `@athoscommerce/snap-preact-components` package. See [Preact Component Library](https://athoscommerce.github.io/snap/preact-components) for all available components and their usage. +This section covers the properties available on the Search Store via a Search Controller with examples of how to implement common custom components. Alternatively, equivalent and additional components are available in the `@athoscommerce/snap-preact/components` package. See [Preact Component Library](https://athoscommerce.github.io/snap/preact-components) for all available components and their usage. ### SearchController.store.merchandising -The `merchandising` property contains merchandising redirects and banner content. It is recommended to utilize the `` component from `@athoscommerce/snap-preact-components` to display the various merchandising banners. +The `merchandising` property contains merchandising redirects and banner content. It is recommended to utilize the `` component from `@athoscommerce/snap-preact/components` to display the various merchandising banners. The available banner types include: `header`, `banner`, `footer`, `left`, `inline` @@ -114,7 +114,7 @@ For inline banners, the `` component should be used instead. An e import { h } from 'preact'; import { observer } from 'mobx-react-lite'; -import { ControllerProvider, Banner, Pagination } from '@athoscommerce/snap-preact-components'; +import { ControllerProvider, Banner, Pagination } from '@athoscommerce/snap-preact/components'; import { Results } from '../Results/Results'; import { NoResults } from '../NoResults/NoResults'; import { SearchHeader } from '../SearchHeader/SearchHeader'; @@ -150,7 +150,7 @@ The `search` property contains information about the current query, typically di import { h } from 'preact'; import { observer } from 'mobx-react-lite'; -import { withController } from '@athoscommerce/snap-preact-components'; +import { withController } from '@athoscommerce/snap-preact/components'; export const SearchHeader = withController(observer((props) => { const { controller } = props; @@ -208,7 +208,7 @@ The `pagination` property is not only used for information about the current que import { h } from 'preact'; import { observer } from 'mobx-react-lite'; -import { withController } from '@athoscommerce/snap-preact-components'; +import { withController } from '@athoscommerce/snap-preact/components'; export const Pagination = withController(observer((props) => { const { controller } = props; @@ -257,7 +257,7 @@ Sorting settings can be configured in the [Athos Search & Product Discovery Cons import { h } from 'preact'; import { observer } from 'mobx-react-lite'; -import { withController } from '@athoscommerce/snap-preact-components'; +import { withController } from '@athoscommerce/snap-preact/components'; export const SortBy = withController(observer((props) => { const { controller } = props; @@ -320,7 +320,7 @@ Note: if you will be creating a custom Result component, the `withTracking` hook import { h } from 'preact'; import { observer } from 'mobx-react-lite'; -import { withController, withTracking, InlineBanner, Price } from '@athoscommerce/snap-preact-components'; +import { withController, withTracking, InlineBanner, Price } from '@athoscommerce/snap-preact/components'; export const Results = withController(observer((props) => { const { controller } = props; @@ -376,7 +376,7 @@ Each result object contains the following notable properties: The example below displays a custom `FacetOptionsList` component for facets with a display type of `list`. -The `@athoscommerce/snap-preact-components` component library includes the following components that can be imported or used as a reference: `FacetListOptions`, `FacetGridOptions`, `FacetPaletteOptions`, `FacetHierarchyOptions`, `FacetSlider` +The `@athoscommerce/snap-preact/components` component library includes the following components that can be imported or used as a reference: `FacetListOptions`, `FacetGridOptions`, `FacetPaletteOptions`, `FacetHierarchyOptions`, `FacetSlider` `facet.type` the facet type - Available facet types: `range`, `value`, `range-buckets`. @@ -399,7 +399,7 @@ Facets with a `type` value of `value` or `range-buckets` will contain the follow import { h } from 'preact'; import { observer } from 'mobx-react-lite'; -import { withController, SearchInput, FacetGridOptions, FacetPaletteOptions, FacetOptionsHierarchy, FacetSlider } from '@athoscommerce/snap-preact-components'; +import { withController, SearchInput, FacetGridOptions, FacetPaletteOptions, FacetOptionsHierarchy, FacetSlider } from '@athoscommerce/snap-preact/components'; export const Facets = withController(observer((props) => { const { controller } = props; @@ -442,7 +442,7 @@ const Facet = withController(observer((props) => { ) : null; })); -// custom FacetOptionsList component instead of importing from @athoscommerce/snap-preact-components +// custom FacetOptionsList component instead of importing from @athoscommerce/snap-preact/components const FacetOptionsList = withController(observer((props) => { const { facet } = props; const values = facet.refinedValues; @@ -475,7 +475,7 @@ Typically used to display a filter summary with options to remove filters. import { h } from 'preact'; import { observer } from 'mobx-react-lite'; -import { withController } from '@athoscommerce/snap-preact-components'; +import { withController } from '@athoscommerce/snap-preact/components'; export const FilterSummary = withController(observer((props) => { const { controller } = props; diff --git a/docs/SNAP_TRACKING.md b/docs/SNAP_TRACKING.md index 6edbaed77..a0108163b 100644 --- a/docs/SNAP_TRACKING.md +++ b/docs/SNAP_TRACKING.md @@ -32,11 +32,11 @@ controller.store.results.map(result => { ``` ### Impressions -Impression tracking occurs when products come into the viewport. It is recommended to use the `withTracking` hook within custom product result cards to track impressions. Alternatively, the `ResultTracker` component can be used to track impressions as well - be aware that this component adds an additional wrapping element. This does not need to be implemented if using the default `Result` component from @athoscommerce/snap-preact-components or default Autocomplete component without custom result cards. +Impression tracking occurs when products come into the viewport. It is recommended to use the `withTracking` hook within custom product result cards to track impressions. Alternatively, the `ResultTracker` component can be used to track impressions as well - be aware that this component adds an additional wrapping element. This does not need to be implemented if using the default `Result` component from @athoscommerce/snap-preact/components or default Autocomplete component without custom result cards. ### Typical Tracking Integration Example ```jsx -import { withTracking } from '@athoscommerce/snap-preact-components'; +import { withTracking } from '@athoscommerce/snap-preact/components'; const Results = withController((props) => { const { controller } = props; @@ -75,7 +75,7 @@ Note that a `key` is required on the custom result component to ensure that the ### Alternative Tracking Integration Example using `ResultTracker` ```jsx -import { ResultTracker } from '@athoscommerce/snap-preact-components'; +import { ResultTracker } from '@athoscommerce/snap-preact/components'; const Results = withController((props) => { const { controller } = props; diff --git a/docs/documents.js b/docs/documents.js index b85043357..40801cc2a 100644 --- a/docs/documents.js +++ b/docs/documents.js @@ -149,7 +149,7 @@ var documents = [ label: 'Preact Components', route: '/preact-components', type: 'iframe', - url: './packages/snap-preact-components/docs/', + url: './packages/snap-preact/components/docs/', searchable: false, }, { diff --git a/packages/snap-controller/src/Search/README.md b/packages/snap-controller/src/Search/README.md index 6ade83dc2..505dfaab3 100644 --- a/packages/snap-controller/src/Search/README.md +++ b/packages/snap-controller/src/Search/README.md @@ -169,7 +169,7 @@ By default when using the infinite configuration, additional pages are appended import { h, Fragment, Component } from 'preact'; import { useRef } from 'preact/hooks'; import { observer } from 'mobx-react-lite'; -import { ControllerProvider, useIntersection, Results } from '@athoscommerce/snap-preact-components'; +import { ControllerProvider, useIntersection, Results } from '@athoscommerce/snap-preact/components'; @observer export class Content extends Component { diff --git a/packages/snap-preact/components/src/components/Atoms/BadgeImage/readme.md b/packages/snap-preact/components/src/components/Atoms/BadgeImage/readme.md index cd9618ba8..6755b7ba1 100644 --- a/packages/snap-preact/components/src/components/Atoms/BadgeImage/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/BadgeImage/readme.md @@ -5,7 +5,7 @@ Renders an image badge. It is expected to be used with `CalloutBadge` and `Overl ## Usage ```jsx -import { BadgeImage } from '@athoscommerce/snap-preact-components'; +import { BadgeImage } from '@athoscommerce/snap-preact/components'; ``` ### url diff --git a/packages/snap-preact/components/src/components/Atoms/BadgePill/readme.md b/packages/snap-preact/components/src/components/Atoms/BadgePill/readme.md index 08e18de81..f45755265 100644 --- a/packages/snap-preact/components/src/components/Atoms/BadgePill/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/BadgePill/readme.md @@ -5,7 +5,7 @@ Renders a text badge in the shape of a pill. It is expected to be used with `Cal ## Usage ```jsx -import { BadgePill } from '@athoscommerce/snap-preact-components'; +import { BadgePill } from '@athoscommerce/snap-preact/components'; ``` ### value diff --git a/packages/snap-preact/components/src/components/Atoms/BadgeRectangle/readme.md b/packages/snap-preact/components/src/components/Atoms/BadgeRectangle/readme.md index 117081d75..284a2c211 100644 --- a/packages/snap-preact/components/src/components/Atoms/BadgeRectangle/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/BadgeRectangle/readme.md @@ -4,7 +4,7 @@ Renders a text badge in the shape of a rectangle. It is expected to be used with ## Usage ```jsx -import { BadgeRectangle } from '@athoscommerce/snap-preact-components'; +import { BadgeRectangle } from '@athoscommerce/snap-preact/components'; ``` ### value diff --git a/packages/snap-preact/components/src/components/Atoms/BadgeText/readme.md b/packages/snap-preact/components/src/components/Atoms/BadgeText/readme.md index cfe9cbd98..701030836 100644 --- a/packages/snap-preact/components/src/components/Atoms/BadgeText/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/BadgeText/readme.md @@ -4,7 +4,7 @@ Renders a text badge. It is expected to be used with `CalloutBadge` and `Overlay ## Usage ```jsx -import { BadgeText } from '@athoscommerce/snap-preact-components'; +import { BadgeText } from '@athoscommerce/snap-preact/components'; ``` ### value diff --git a/packages/snap-preact/components/src/components/Atoms/Banner/readme.md b/packages/snap-preact/components/src/components/Atoms/Banner/readme.md index 7a02948fb..b25002b96 100644 --- a/packages/snap-preact/components/src/components/Atoms/Banner/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/Banner/readme.md @@ -6,7 +6,7 @@ This `Banner` component does not support inline banners. See `InlineBanner` comp ## Usage ```jsx -import { Banner } from '@athoscommerce/snap-preact-components'; +import { Banner } from '@athoscommerce/snap-preact/components'; ``` ### content diff --git a/packages/snap-preact/components/src/components/Atoms/Breadcrumbs/readme.md b/packages/snap-preact/components/src/components/Atoms/Breadcrumbs/readme.md index be9ba3ab0..2d2c2aea7 100644 --- a/packages/snap-preact/components/src/components/Atoms/Breadcrumbs/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/Breadcrumbs/readme.md @@ -4,7 +4,7 @@ Renders a list of breadcrumbs. ## Usage ```jsx -import { Breadcrumbs } from '@athoscommerce/snap-preact-components'; +import { Breadcrumbs } from '@athoscommerce/snap-preact/components'; ``` ### data diff --git a/packages/snap-preact/components/src/components/Atoms/Button/readme.md b/packages/snap-preact/components/src/components/Atoms/Button/readme.md index b4348e020..aff3c3c44 100644 --- a/packages/snap-preact/components/src/components/Atoms/Button/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/Button/readme.md @@ -4,7 +4,7 @@ Renders a native or custom button. ## Usage ```jsx -import { Button } from '@athoscommerce/snap-preact-components'; +import { Button } from '@athoscommerce/snap-preact/components'; ``` ### content diff --git a/packages/snap-preact/components/src/components/Atoms/Dropdown/readme.md b/packages/snap-preact/components/src/components/Atoms/Dropdown/readme.md index 34ee226e2..f7f121163 100644 --- a/packages/snap-preact/components/src/components/Atoms/Dropdown/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/Dropdown/readme.md @@ -4,7 +4,7 @@ Renders a button and content. Clicking the button toggles content visibility. Ty ## Usage ```jsx -import { Dropdown } from '@athoscommerce/snap-preact-components'; +import { Dropdown } from '@athoscommerce/snap-preact/components'; ``` ### content diff --git a/packages/snap-preact/components/src/components/Atoms/FormattedNumber/readme.md b/packages/snap-preact/components/src/components/Atoms/FormattedNumber/readme.md index 40120f035..52c151389 100644 --- a/packages/snap-preact/components/src/components/Atoms/FormattedNumber/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/FormattedNumber/readme.md @@ -4,7 +4,7 @@ Utilizes `formatNumber` from [@athoscommerce/snap-preact/toolbox](https://athosc ## Usage ```jsx -import { FormattedNumber } from '@athoscommerce/snap-preact-components'; +import { FormattedNumber } from '@athoscommerce/snap-preact/components'; ``` ### value diff --git a/packages/snap-preact/components/src/components/Atoms/Icon/readme.md b/packages/snap-preact/components/src/components/Atoms/Icon/readme.md index 3c55f19d3..307fc501d 100644 --- a/packages/snap-preact/components/src/components/Atoms/Icon/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/Icon/readme.md @@ -4,7 +4,7 @@ Renders an Icon either from our list of available icons or from a custom path. ## Usage ```jsx -import { Icon } from '@athoscommerce/snap-preact-components'; +import { Icon } from '@athoscommerce/snap-preact/components'; ``` ### icon diff --git a/packages/snap-preact/components/src/components/Atoms/Image/readme.md b/packages/snap-preact/components/src/components/Atoms/Image/readme.md index eae8c376c..3e7b9c959 100644 --- a/packages/snap-preact/components/src/components/Atoms/Image/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/Image/readme.md @@ -4,7 +4,7 @@ Renders an Image with fallback and rollover functionality. ## Usage ```jsx -import { Image } from '@athoscommerce/snap-preact-components'; +import { Image } from '@athoscommerce/snap-preact/components'; ``` ### src diff --git a/packages/snap-preact/components/src/components/Atoms/InlineBanner/readme.md b/packages/snap-preact/components/src/components/Atoms/InlineBanner/readme.md index cb56a9d83..e9802650f 100644 --- a/packages/snap-preact/components/src/components/Atoms/InlineBanner/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/InlineBanner/readme.md @@ -2,7 +2,7 @@ ## Usage ```jsx -import { InlineBanner } from '@athoscommerce/snap-preact-components'; +import { InlineBanner } from '@athoscommerce/snap-preact/components'; ``` ### banner diff --git a/packages/snap-preact/components/src/components/Atoms/Loading/readme.md b/packages/snap-preact/components/src/components/Atoms/Loading/readme.md index 5f2aa8dc2..97c0b2e3d 100644 --- a/packages/snap-preact/components/src/components/Atoms/Loading/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/Loading/readme.md @@ -4,7 +4,7 @@ Renders a Loading Bar. ## Usage ```jsx -import { LoadingBar } from '@athoscommerce/snap-preact-components'; +import { LoadingBar } from '@athoscommerce/snap-preact/components'; ``` ### active diff --git a/packages/snap-preact/components/src/components/Atoms/Overlay/readme.md b/packages/snap-preact/components/src/components/Atoms/Overlay/readme.md index 41e1447d7..12720e27a 100644 --- a/packages/snap-preact/components/src/components/Atoms/Overlay/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/Overlay/readme.md @@ -4,7 +4,7 @@ Renders an Overlay. Typically used to blur the background with a foreground elem ## Usage ```jsx -import { Overlay } from '@athoscommerce/snap-preact-components'; +import { Overlay } from '@athoscommerce/snap-preact/components'; ``` ### active diff --git a/packages/snap-preact/components/src/components/Atoms/Price/readme.md b/packages/snap-preact/components/src/components/Atoms/Price/readme.md index 0464dd372..8e95df017 100644 --- a/packages/snap-preact/components/src/components/Atoms/Price/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/Price/readme.md @@ -4,7 +4,7 @@ Utilizes `currency` from [@athoscommerce/snap-preact/toolbox](https://athoscomme ## Usage ```jsx -import { Price } from '@athoscommerce/snap-preact-components'; +import { Price } from '@athoscommerce/snap-preact/components'; ``` The `Price` component utilizes all props from the `FormattedNumber` component with the following additional prop: diff --git a/packages/snap-preact/components/src/components/Atoms/Skeleton/readme.md b/packages/snap-preact/components/src/components/Atoms/Skeleton/readme.md index 4e9b73145..7e1612901 100644 --- a/packages/snap-preact/components/src/components/Atoms/Skeleton/readme.md +++ b/packages/snap-preact/components/src/components/Atoms/Skeleton/readme.md @@ -4,7 +4,7 @@ Renders a div with a animation for use when building loading skeletons. ## Usage ```jsx -import { Skeleton } from '@athoscommerce/snap-preact-components'; +import { Skeleton } from '@athoscommerce/snap-preact/components'; ``` ### Height diff --git a/packages/snap-preact/components/src/components/Molecules/CalloutBadge/readme.md b/packages/snap-preact/components/src/components/Molecules/CalloutBadge/readme.md index cb21daecf..4ffef4de8 100644 --- a/packages/snap-preact/components/src/components/Molecules/CalloutBadge/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/CalloutBadge/readme.md @@ -4,7 +4,7 @@ Renders callout badges configured in the Athos Search & Product Discovery Consol ## Usage ```jsx -import { CalloutBadge } from '@athoscommerce/snap-preact-components'; +import { CalloutBadge } from '@athoscommerce/snap-preact/components'; ``` ### result diff --git a/packages/snap-preact/components/src/components/Molecules/Carousel/readme.md b/packages/snap-preact/components/src/components/Molecules/Carousel/readme.md index b10e9e803..e3eb4e6f8 100644 --- a/packages/snap-preact/components/src/components/Molecules/Carousel/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/Carousel/readme.md @@ -7,7 +7,7 @@ Renders a carousel of slides using children, built with [Swiper v11](https://swi ## Usage ```jsx -import { Carousel } from '@athoscommerce/snap-preact-components'; +import { Carousel } from '@athoscommerce/snap-preact/components'; ``` Additional [Swiper Component Props](https://swiperjs.com/react#swiper-props) can be specified, but may need to be camelCased where appropriate. diff --git a/packages/snap-preact/components/src/components/Molecules/Checkbox/readme.md b/packages/snap-preact/components/src/components/Molecules/Checkbox/readme.md index f62b10377..175fed5dc 100644 --- a/packages/snap-preact/components/src/components/Molecules/Checkbox/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/Checkbox/readme.md @@ -7,7 +7,7 @@ Renders a native or custom checkbox. ## Usage ```jsx -import { Checkbox } from '@athoscommerce/snap-preact-components'; +import { Checkbox } from '@athoscommerce/snap-preact/components'; ``` ### native diff --git a/packages/snap-preact/components/src/components/Molecules/ErrorHandler/readme.md b/packages/snap-preact/components/src/components/Molecules/ErrorHandler/readme.md index 320ad4bfc..d1a07a8da 100644 --- a/packages/snap-preact/components/src/components/Molecules/ErrorHandler/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/ErrorHandler/readme.md @@ -8,7 +8,7 @@ Renders error messages. ## Usage ```jsx -import { ErrorHandler } from '@athoscommerce/snap-preact-components'; +import { ErrorHandler } from '@athoscommerce/snap-preact/components'; ``` ### controller diff --git a/packages/snap-preact/components/src/components/Molecules/FacetGridOptions/readme.md b/packages/snap-preact/components/src/components/Molecules/FacetGridOptions/readme.md index f52bfcfac..ca6899623 100644 --- a/packages/snap-preact/components/src/components/Molecules/FacetGridOptions/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/FacetGridOptions/readme.md @@ -4,7 +4,7 @@ Renders a grid of facet options. ## Usage ```jsx -import { FacetGridOptions } from '@athoscommerce/snap-preact-components'; +import { FacetGridOptions } from '@athoscommerce/snap-preact/components'; ``` ### values diff --git a/packages/snap-preact/components/src/components/Molecules/FacetHierarchyOptions/readme.md b/packages/snap-preact/components/src/components/Molecules/FacetHierarchyOptions/readme.md index 9c1b8fb3e..cd726ea46 100644 --- a/packages/snap-preact/components/src/components/Molecules/FacetHierarchyOptions/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/FacetHierarchyOptions/readme.md @@ -7,7 +7,7 @@ Renders a list of hierarchy options. ## Usage ```jsx -import { FacetHierarchyOptions } from '@athoscommerce/snap-preact-components'; +import { FacetHierarchyOptions } from '@athoscommerce/snap-preact/components'; ``` ### values diff --git a/packages/snap-preact/components/src/components/Molecules/FacetListOptions/readme.md b/packages/snap-preact/components/src/components/Molecules/FacetListOptions/readme.md index e87f33884..5999743e2 100644 --- a/packages/snap-preact/components/src/components/Molecules/FacetListOptions/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/FacetListOptions/readme.md @@ -8,7 +8,7 @@ Renders a list of facet options. ## Usage ```jsx -import { FacetListOptions } from '@athoscommerce/snap-preact-components'; +import { FacetListOptions } from '@athoscommerce/snap-preact/components'; ``` ### values diff --git a/packages/snap-preact/components/src/components/Molecules/FacetPaletteOptions/readme.md b/packages/snap-preact/components/src/components/Molecules/FacetPaletteOptions/readme.md index d1b73f211..b0e44a43c 100644 --- a/packages/snap-preact/components/src/components/Molecules/FacetPaletteOptions/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/FacetPaletteOptions/readme.md @@ -7,7 +7,7 @@ Renders a grid of facet palette options. ## Usage ```jsx -import { FacetPaletteOptions } from '@athoscommerce/snap-preact-components'; +import { FacetPaletteOptions } from '@athoscommerce/snap-preact/components'; ``` ### values diff --git a/packages/snap-preact/components/src/components/Molecules/FacetSlider/readme.md b/packages/snap-preact/components/src/components/Molecules/FacetSlider/readme.md index 64674c66b..ce23bd967 100644 --- a/packages/snap-preact/components/src/components/Molecules/FacetSlider/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/FacetSlider/readme.md @@ -4,7 +4,7 @@ Renders a slider to be used with any slider facet. Built using [react-ranger](ht ## Usage ```jsx -import { FacetSlider } from '@athoscommerce/snap-preact-components'; +import { FacetSlider } from '@athoscommerce/snap-preact/components'; ``` ### facet diff --git a/packages/snap-preact/components/src/components/Molecules/Filter/readme.md b/packages/snap-preact/components/src/components/Molecules/Filter/readme.md index d6bb1bb8c..78a39ecd5 100644 --- a/packages/snap-preact/components/src/components/Molecules/Filter/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/Filter/readme.md @@ -8,7 +8,7 @@ Renders a facet filter. ## Usage ```jsx -import { Filter } from '@athoscommerce/snap-preact-components'; +import { Filter } from '@athoscommerce/snap-preact/components'; ``` ### facetLabel diff --git a/packages/snap-preact/components/src/components/Molecules/Grid/readme.md b/packages/snap-preact/components/src/components/Molecules/Grid/readme.md index 9c3a5c770..a770bfd3f 100644 --- a/packages/snap-preact/components/src/components/Molecules/Grid/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/Grid/readme.md @@ -7,7 +7,7 @@ Renders an Grid of options ## Usage ```jsx -import { Grid } from '@athoscommerce/snap-preact-components'; +import { Grid } from '@athoscommerce/snap-preact/components'; ``` ### options diff --git a/packages/snap-preact/components/src/components/Molecules/List/readme.md b/packages/snap-preact/components/src/components/Molecules/List/readme.md index 55ccb807c..1f3d57242 100644 --- a/packages/snap-preact/components/src/components/Molecules/List/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/List/readme.md @@ -7,7 +7,7 @@ Renders a list of options. ## Usage ```jsx -import { List } from '@athoscommerce/snap-preact-components'; +import { List } from '@athoscommerce/snap-preact/components'; ``` ### options diff --git a/packages/snap-preact/components/src/components/Molecules/OverlayBadge/readme.md b/packages/snap-preact/components/src/components/Molecules/OverlayBadge/readme.md index 9d30e1f21..e5a5834b4 100644 --- a/packages/snap-preact/components/src/components/Molecules/OverlayBadge/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/OverlayBadge/readme.md @@ -4,7 +4,7 @@ Renders overlay badges configured in the Athos Search & Product Discovery Consol ## Usage ```jsx -import { OverlayBadge } from '@athoscommerce/snap-preact-components'; +import { OverlayBadge } from '@athoscommerce/snap-preact/components'; ``` ### children diff --git a/packages/snap-preact/components/src/components/Molecules/Pagination/readme.md b/packages/snap-preact/components/src/components/Molecules/Pagination/readme.md index eb200b718..316412405 100644 --- a/packages/snap-preact/components/src/components/Molecules/Pagination/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/Pagination/readme.md @@ -7,7 +7,7 @@ Renders pagination page links for the given search response. ## Usage ```jsx -import { Pagination } from '@athoscommerce/snap-preact-components'; +import { Pagination } from '@athoscommerce/snap-preact/components'; ``` ### pagination diff --git a/packages/snap-preact/components/src/components/Molecules/Result/readme.md b/packages/snap-preact/components/src/components/Molecules/Result/readme.md index 542683f77..015e3566a 100644 --- a/packages/snap-preact/components/src/components/Molecules/Result/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/Result/readme.md @@ -9,7 +9,7 @@ Renders a single product card. ## Usage ```jsx -import { Result } from '@athoscommerce/snap-preact-components'; +import { Result } from '@athoscommerce/snap-preact/components'; ``` ### result diff --git a/packages/snap-preact/components/src/components/Molecules/SearchInput/readme.md b/packages/snap-preact/components/src/components/Molecules/SearchInput/readme.md index e8a279210..710808b71 100644 --- a/packages/snap-preact/components/src/components/Molecules/SearchInput/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/SearchInput/readme.md @@ -7,7 +7,7 @@ Renders an input element ## Usage ```jsx -import { SearchInput } from '@athoscommerce/snap-preact-components'; +import { SearchInput } from '@athoscommerce/snap-preact/components'; ``` ```jsx diff --git a/packages/snap-preact/components/src/components/Molecules/Select/readme.md b/packages/snap-preact/components/src/components/Molecules/Select/readme.md index d473e9263..d10f3ca2f 100644 --- a/packages/snap-preact/components/src/components/Molecules/Select/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/Select/readme.md @@ -9,7 +9,7 @@ Renders a native or custom select dropdown. ## Usage ```jsx -import { Select } from '@athoscommerce/snap-preact-components'; +import { Select } from '@athoscommerce/snap-preact/components'; ``` ### options diff --git a/packages/snap-preact/components/src/components/Molecules/Slideout/readme.md b/packages/snap-preact/components/src/components/Molecules/Slideout/readme.md index 733a1b3be..1710cf7f7 100644 --- a/packages/snap-preact/components/src/components/Molecules/Slideout/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/Slideout/readme.md @@ -7,7 +7,7 @@ Renders a slideout with a background overlay. Typically used for a mobile menu s ## Usage ```jsx -import { Slideout } from '@athoscommerce/snap-preact-components'; +import { Slideout } from '@athoscommerce/snap-preact/components'; ``` ### buttonContent diff --git a/packages/snap-preact/components/src/components/Molecules/Swatches/readme.md b/packages/snap-preact/components/src/components/Molecules/Swatches/readme.md index 331c5a9a4..e15033ca6 100644 --- a/packages/snap-preact/components/src/components/Molecules/Swatches/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/Swatches/readme.md @@ -9,7 +9,7 @@ Renders a swatch component. ## Usage ```jsx -import { Swatches } from '@athoscommerce/snap-preact-components'; +import { Swatches } from '@athoscommerce/snap-preact/components'; ``` ### options diff --git a/packages/snap-preact/components/src/components/Molecules/VariantSelection/readme.md b/packages/snap-preact/components/src/components/Molecules/VariantSelection/readme.md index 670585ad5..0461da6fb 100644 --- a/packages/snap-preact/components/src/components/Molecules/VariantSelection/readme.md +++ b/packages/snap-preact/components/src/components/Molecules/VariantSelection/readme.md @@ -11,7 +11,7 @@ The variantSelection can be rendered as 3 different types, Dropdown, List, or Sw ## Usage ```jsx -import { VariantSelection } from '@athoscommerce/snap-preact-components'; +import { VariantSelection } from '@athoscommerce/snap-preact/components'; ``` ### selection diff --git a/packages/snap-preact/components/src/components/Organisms/Autocomplete/readme.md b/packages/snap-preact/components/src/components/Organisms/Autocomplete/readme.md index d355d9b09..882b36662 100644 --- a/packages/snap-preact/components/src/components/Organisms/Autocomplete/readme.md +++ b/packages/snap-preact/components/src/components/Organisms/Autocomplete/readme.md @@ -12,7 +12,7 @@ The autocomplete layout renders terms, facets, banners, and results. ## Usage ```jsx -import { Autocomplete } from '@athoscommerce/snap-preact-components'; +import { Autocomplete } from '@athoscommerce/snap-preact/components'; ``` ### input diff --git a/packages/snap-preact/components/src/components/Organisms/BranchOverride/readme.md b/packages/snap-preact/components/src/components/Organisms/BranchOverride/readme.md index 99c0eaa2f..aebef42c4 100644 --- a/packages/snap-preact/components/src/components/Organisms/BranchOverride/readme.md +++ b/packages/snap-preact/components/src/components/Organisms/BranchOverride/readme.md @@ -9,7 +9,7 @@ Must have `name` and either `details` or `error` props to render. ## Usage ```jsx -import { BranchOverride } from '@athoscommerce/snap-preact-components'; +import { BranchOverride } from '@athoscommerce/snap-preact/components'; ``` ### name diff --git a/packages/snap-preact/components/src/components/Organisms/Facet/readme.md b/packages/snap-preact/components/src/components/Organisms/Facet/readme.md index 9010245e2..4b99a0493 100644 --- a/packages/snap-preact/components/src/components/Organisms/Facet/readme.md +++ b/packages/snap-preact/components/src/components/Organisms/Facet/readme.md @@ -17,7 +17,7 @@ Renders a single complete facet. This includes determining the correct options t ## Usage ```jsx -import { Facet } from '@athoscommerce/snap-preact-components'; +import { Facet } from '@athoscommerce/snap-preact/components'; ``` ### facet diff --git a/packages/snap-preact/components/src/components/Organisms/Facets/readme.md b/packages/snap-preact/components/src/components/Organisms/Facets/readme.md index 2b95ef02f..8198a6030 100644 --- a/packages/snap-preact/components/src/components/Organisms/Facets/readme.md +++ b/packages/snap-preact/components/src/components/Organisms/Facets/readme.md @@ -7,7 +7,7 @@ Renders all facets utilizing the `` component. ## Usage ```jsx -import { Facets } from '@athoscommerce/snap-preact-components'; +import { Facets } from '@athoscommerce/snap-preact/components'; ``` ### controller diff --git a/packages/snap-preact/components/src/components/Organisms/FilterSummary/readme.md b/packages/snap-preact/components/src/components/Organisms/FilterSummary/readme.md index 05c389840..b0cfb4671 100644 --- a/packages/snap-preact/components/src/components/Organisms/FilterSummary/readme.md +++ b/packages/snap-preact/components/src/components/Organisms/FilterSummary/readme.md @@ -6,7 +6,7 @@ Renders all selected filters including a wrapper with a title and a 'clear all' - Filter ## Usage ```jsx -import { FilterSummary } from '@athoscommerce/snap-preact-components'; +import { FilterSummary } from '@athoscommerce/snap-preact/components'; ``` ### controller diff --git a/packages/snap-preact/components/src/components/Organisms/Results/readme.md b/packages/snap-preact/components/src/components/Organisms/Results/readme.md index 2061dbc63..be8e5a7f8 100644 --- a/packages/snap-preact/components/src/components/Organisms/Results/readme.md +++ b/packages/snap-preact/components/src/components/Organisms/Results/readme.md @@ -11,7 +11,7 @@ Renders a page of results utilizing `` components. ## Usage ```jsx -import { Results } from '@athoscommerce/snap-preact-components'; +import { Results } from '@athoscommerce/snap-preact/components'; ``` ### controller diff --git a/packages/snap-preact/components/src/components/Templates/Recommendation/readme.md b/packages/snap-preact/components/src/components/Templates/Recommendation/readme.md index 37202694d..bb5e4c934 100644 --- a/packages/snap-preact/components/src/components/Templates/Recommendation/readme.md +++ b/packages/snap-preact/components/src/components/Templates/Recommendation/readme.md @@ -14,7 +14,7 @@ Any modification to the results array and data are recommended to be made using ## Usage ```jsx -import { Recommendation } from '@athoscommerce/snap-preact-components'; +import { Recommendation } from '@athoscommerce/snap-preact/components'; ``` Additional [Swiper Component Props](https://swiperjs.com/react#swiper-props) can be specified, but may need to be camelCased where appropriate. diff --git a/packages/snap-preact/components/src/components/Templates/RecommendationBundle/readme.md b/packages/snap-preact/components/src/components/Templates/RecommendationBundle/readme.md index 55f8014d6..2c790e2a4 100644 --- a/packages/snap-preact/components/src/components/Templates/RecommendationBundle/readme.md +++ b/packages/snap-preact/components/src/components/Templates/RecommendationBundle/readme.md @@ -8,7 +8,7 @@ Renders a recommended bundle of products with seed, carousel of recommendations ## Usage ```jsx -import { RecommendationBundle } from '@athoscommerce/snap-preact-components'; +import { RecommendationBundle } from '@athoscommerce/snap-preact/components'; ``` Additional [Swiper Component Props](https://swiperjs.com/react#swiper-props) can be specified, but may need to be camelCased where appropriate. diff --git a/packages/snap-preact/components/src/components/Trackers/ResultTracker/readme.md b/packages/snap-preact/components/src/components/Trackers/ResultTracker/readme.md index a0388859b..eefd7fb96 100644 --- a/packages/snap-preact/components/src/components/Trackers/ResultTracker/readme.md +++ b/packages/snap-preact/components/src/components/Trackers/ResultTracker/readme.md @@ -6,7 +6,7 @@ This component is used for Beacon 2.0 tracking and replaces the need for using t ## Usage ```jsx -import { ResultTracker } from '@athoscommerce/snap-preact-components'; +import { ResultTracker } from '@athoscommerce/snap-preact/components'; ``` ### controller diff --git a/packages/snap-preact/components/src/documentation/About/About.md b/packages/snap-preact/components/src/documentation/About/About.md index 039d4e562..58786a0f5 100644 --- a/packages/snap-preact/components/src/documentation/About/About.md +++ b/packages/snap-preact/components/src/documentation/About/About.md @@ -5,7 +5,7 @@ This collection of ecommerce components allows you to quickly build and theme a ### Installation ```sh -npm install --save @athoscommerce/snap-preact-components +npm install --save @athoscommerce/snap-preact/components ``` ## Atomic Design Methodology diff --git a/packages/snap-preact/components/src/documentation/Theme/Theme.md b/packages/snap-preact/components/src/documentation/Theme/Theme.md index ab57a465c..4917603a6 100644 --- a/packages/snap-preact/components/src/documentation/Theme/Theme.md +++ b/packages/snap-preact/components/src/documentation/Theme/Theme.md @@ -66,7 +66,7 @@ const globalTheme = { Using a ThemeProvider applies a global theme to all its children components ```js -import { ThemeProvider, Button } from '@athoscommerce/snap-preact-components' +import { ThemeProvider, Button } from '@athoscommerce/snap-preact/components' ``` ```jsx diff --git a/packages/snap-preact/components/src/documentation/Usage/Usage.md b/packages/snap-preact/components/src/documentation/Usage/Usage.md index f063eb2d7..9c5240861 100644 --- a/packages/snap-preact/components/src/documentation/Usage/Usage.md +++ b/packages/snap-preact/components/src/documentation/Usage/Usage.md @@ -16,7 +16,7 @@ console.log(searchController.store) ``` ```js -import { Pagination } from '@athoscommerce/snap-preact-components'; +import { Pagination } from '@athoscommerce/snap-preact/components'; ``` ```jsx From a2c0defd5f7d0ca9e0f2a2c43947d78604d1a2fa Mon Sep 17 00:00:00 2001 From: kevin Date: Wed, 4 Mar 2026 21:11:48 -0700 Subject: [PATCH 2/4] chore(changelog): adjusting changelogs to remove initial 1.0.0 compare links --- CHANGELOG.md | 2 +- packages/snap-client/CHANGELOG.md | 2 +- packages/snap-controller/CHANGELOG.md | 2 +- packages/snap-event-manager/CHANGELOG.md | 2 +- packages/snap-logger/CHANGELOG.md | 2 +- packages/snap-platforms/CHANGELOG.md | 2 +- packages/snap-preact-demo/CHANGELOG.md | 2 +- packages/snap-preact/CHANGELOG.md | 2 +- packages/snap-profiler/CHANGELOG.md | 2 +- packages/snap-shared/CHANGELOG.md | 2 +- packages/snap-store-mobx/CHANGELOG.md | 2 +- packages/snap-toolbox/CHANGELOG.md | 2 +- packages/snap-tracker/CHANGELOG.md | 2 +- packages/snap-url-manager/CHANGELOG.md | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c00d31b53..021938fd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,4 +21,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - **client:** refactored client to simplify requesters - added config for endpoints in each requester ([c2304fd](https://github.com/AthosCommerce/snap/commit/c2304fd69ed8e6b370c1fa7becc4a5e9bd9fe2e0)) -# [1.0.0](https://github.com/AthosCommerce/snap/compare/v0.74.0...v1.0.0) (2026-03-04) +# 1.0.0 (2026-03-04) diff --git a/packages/snap-client/CHANGELOG.md b/packages/snap-client/CHANGELOG.md index 711538ec5..a99b78c2b 100644 --- a/packages/snap-client/CHANGELOG.md +++ b/packages/snap-client/CHANGELOG.md @@ -21,4 +21,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - **client:** refactored client to simplify requesters - added config for endpoints in each requester ([c2304fd](https://github.com/athoscommerce/snap/commit/c2304fd69ed8e6b370c1fa7becc4a5e9bd9fe2e0)) -# [1.0.0](https://github.com/athoscommerce/snap/compare/v0.74.0...v1.0.0) (2026-03-04) +# 1.0.0 (2026-03-04) diff --git a/packages/snap-controller/CHANGELOG.md b/packages/snap-controller/CHANGELOG.md index 5bf0e469a..8b45d6306 100644 --- a/packages/snap-controller/CHANGELOG.md +++ b/packages/snap-controller/CHANGELOG.md @@ -19,4 +19,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline **Note:** Version bump only for package @athoscommerce/snap-controller -# [1.0.0](https://github.com/athoscommerce/snap/compare/v0.74.0...v1.0.0) (2026-03-04) +# 1.0.0 (2026-03-04) diff --git a/packages/snap-event-manager/CHANGELOG.md b/packages/snap-event-manager/CHANGELOG.md index 90bc9e036..3de13189c 100644 --- a/packages/snap-event-manager/CHANGELOG.md +++ b/packages/snap-event-manager/CHANGELOG.md @@ -19,4 +19,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline **Note:** Version bump only for package @athoscommerce/snap-event-manager -# [1.0.0](https://github.com/athoscommerce/snap/compare/v0.74.0...v1.0.0) (2026-03-04) +# 1.0.0 (2026-03-04) diff --git a/packages/snap-logger/CHANGELOG.md b/packages/snap-logger/CHANGELOG.md index 94e2c805b..f40878572 100644 --- a/packages/snap-logger/CHANGELOG.md +++ b/packages/snap-logger/CHANGELOG.md @@ -19,4 +19,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline **Note:** Version bump only for package @athoscommerce/snap-logger -# [1.0.0](https://github.com/athoscommerce/snap/compare/v0.74.0...v1.0.0) (2026-03-04) +# 1.0.0 (2026-03-04) diff --git a/packages/snap-platforms/CHANGELOG.md b/packages/snap-platforms/CHANGELOG.md index c7be51773..7f048186f 100644 --- a/packages/snap-platforms/CHANGELOG.md +++ b/packages/snap-platforms/CHANGELOG.md @@ -19,4 +19,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline **Note:** Version bump only for package @athoscommerce/snap-platforms -# [1.0.0](https://github.com/athoscommerce/snap/compare/v0.74.0...v1.0.0) (2026-03-04) +# 1.0.0 (2026-03-04) diff --git a/packages/snap-preact-demo/CHANGELOG.md b/packages/snap-preact-demo/CHANGELOG.md index 546eac3a8..454d90da8 100644 --- a/packages/snap-preact-demo/CHANGELOG.md +++ b/packages/snap-preact-demo/CHANGELOG.md @@ -21,4 +21,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - **client:** refactored client to simplify requesters - added config for endpoints in each requester ([c2304fd](https://github.com/AthosCommerce/snap/commit/c2304fd69ed8e6b370c1fa7becc4a5e9bd9fe2e0)) -# [1.0.0](https://github.com/AthosCommerce/snap/compare/v0.74.0...v1.0.0) (2026-03-04) +# 1.0.0 (2026-03-04) diff --git a/packages/snap-preact/CHANGELOG.md b/packages/snap-preact/CHANGELOG.md index 84aaa3a3b..aabc9592d 100644 --- a/packages/snap-preact/CHANGELOG.md +++ b/packages/snap-preact/CHANGELOG.md @@ -19,4 +19,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline **Note:** Version bump only for package @athoscommerce/snap-preact -# [1.0.0](https://github.com/athoscommerce/snap/compare/v0.74.0...v1.0.0) (2026-03-04) +# 1.0.0 (2026-03-04) diff --git a/packages/snap-profiler/CHANGELOG.md b/packages/snap-profiler/CHANGELOG.md index 29eb46c8a..798d26e48 100644 --- a/packages/snap-profiler/CHANGELOG.md +++ b/packages/snap-profiler/CHANGELOG.md @@ -19,4 +19,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline **Note:** Version bump only for package @athoscommerce/snap-profiler -# [1.0.0](https://github.com/athoscommerce/snap/compare/v0.74.0...v1.0.0) (2026-03-04) +# 1.0.0 (2026-03-04) diff --git a/packages/snap-shared/CHANGELOG.md b/packages/snap-shared/CHANGELOG.md index bd9d6e4cc..e86306bf3 100644 --- a/packages/snap-shared/CHANGELOG.md +++ b/packages/snap-shared/CHANGELOG.md @@ -19,4 +19,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline **Note:** Version bump only for package @athoscommerce/snap-shared -# [1.0.0](https://github.com/AthosCommerce/snap/compare/v0.74.0...v1.0.0) (2026-03-04) +# 1.0.0 (2026-03-04) diff --git a/packages/snap-store-mobx/CHANGELOG.md b/packages/snap-store-mobx/CHANGELOG.md index 16daeae8f..f43276749 100644 --- a/packages/snap-store-mobx/CHANGELOG.md +++ b/packages/snap-store-mobx/CHANGELOG.md @@ -19,4 +19,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline **Note:** Version bump only for package @athoscommerce/snap-store-mobx -# [1.0.0](https://github.com/athoscommerce/snap/compare/v0.74.0...v1.0.0) (2026-03-04) +# 1.0.0 (2026-03-04) diff --git a/packages/snap-toolbox/CHANGELOG.md b/packages/snap-toolbox/CHANGELOG.md index 8c0bbbe2a..e6deb1849 100644 --- a/packages/snap-toolbox/CHANGELOG.md +++ b/packages/snap-toolbox/CHANGELOG.md @@ -19,4 +19,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline **Note:** Version bump only for package @athoscommerce/snap-toolbox -# [1.0.0](https://github.com/athoscommerce/snap/compare/v0.74.0...v1.0.0) (2026-03-04) +# 1.0.0 (2026-03-04) diff --git a/packages/snap-tracker/CHANGELOG.md b/packages/snap-tracker/CHANGELOG.md index 4f7a3256a..837efcbde 100644 --- a/packages/snap-tracker/CHANGELOG.md +++ b/packages/snap-tracker/CHANGELOG.md @@ -19,4 +19,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline **Note:** Version bump only for package @athoscommerce/snap-tracker -# [1.0.0](https://github.com/athoscommerce/snap/compare/v0.74.0...v1.0.0) (2026-03-04) +# 1.0.0 (2026-03-04) diff --git a/packages/snap-url-manager/CHANGELOG.md b/packages/snap-url-manager/CHANGELOG.md index 79a20b038..1a919eb1c 100644 --- a/packages/snap-url-manager/CHANGELOG.md +++ b/packages/snap-url-manager/CHANGELOG.md @@ -19,4 +19,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline **Note:** Version bump only for package @athoscommerce/snap-url-manager -# [1.0.0](https://github.com/athoscommerce/snap/compare/v0.74.0...v1.0.0) (2026-03-04) +# 1.0.0 (2026-03-04) From 745222bf3e474789b11390952a867de35409c612 Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 5 Mar 2026 10:44:20 -0700 Subject: [PATCH 3/4] docs(docs): adjustments to recent change - corrections based on feedback --- docs/REFERENCE_CONFIGURATION_TARGETERS.md | 2 +- docs/SNAP_SEARCH.md | 2 +- .../snap-preact/components/src/documentation/About/About.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/REFERENCE_CONFIGURATION_TARGETERS.md b/docs/REFERENCE_CONFIGURATION_TARGETERS.md index ef19c129f..466d38b0f 100644 --- a/docs/REFERENCE_CONFIGURATION_TARGETERS.md +++ b/docs/REFERENCE_CONFIGURATION_TARGETERS.md @@ -11,7 +11,7 @@ Each object in the array defines an entry point on the page where a component wi | `component` | `function` | A function that returns a reference to the component to render at the target selector. Making this an async function is recommended to allow for code splitting. | | `hideTarget` | `boolean` | Whether to hide the target node before the component is mounted and rendered. It is recommended to enable this to prevent flashy behaviour. | | `autoRetarget` | `boolean` | Whether to continuously query for the selector in the DOM until it finds it and triggers a retarget. This is useful for dynamically generated selectors that might not exist at dom ready. | -| `skeleton` | `function` | A function that returns a reference to the component to render immediately at the target selector to show briefly while the data is returning and the real component is rendering. You can use any component you want for this, although `snap-preact/components` provides a `skeleton` component for you to use if preferred. | +| `skeleton` | `function` | A function that returns a reference to the component to render immediately at the target selector to show briefly while the data is returning and the real component is rendering. You can use any component you want for this, although `@athoscommerce/snap-preact/components` provides a `Skeleton` component for you to use if preferred. | | `props` | `object` | Convenient way of passing additional props to the component, by default we pass `controller` | | `onTarget` | `function` | Callback that fires after a target is found. This is useful for triggering other actions such as initializing the controller. | | `name` | `string` | Name to give the targeter for later reference using `controller.targeters` | diff --git a/docs/SNAP_SEARCH.md b/docs/SNAP_SEARCH.md index 28caead58..33a587534 100644 --- a/docs/SNAP_SEARCH.md +++ b/docs/SNAP_SEARCH.md @@ -399,7 +399,7 @@ Facets with a `type` value of `value` or `range-buckets` will contain the follow import { h } from 'preact'; import { observer } from 'mobx-react-lite'; -import { withController, SearchInput, FacetGridOptions, FacetPaletteOptions, FacetOptionsHierarchy, FacetSlider } from '@athoscommerce/snap-preact/components'; +import { withController, SearchInput, FacetGridOptions, FacetPaletteOptions, FacetHierarchyOptions, FacetSlider } from '@athoscommerce/snap-preact/components'; export const Facets = withController(observer((props) => { const { controller } = props; diff --git a/packages/snap-preact/components/src/documentation/About/About.md b/packages/snap-preact/components/src/documentation/About/About.md index 58786a0f5..f612dea7a 100644 --- a/packages/snap-preact/components/src/documentation/About/About.md +++ b/packages/snap-preact/components/src/documentation/About/About.md @@ -5,7 +5,7 @@ This collection of ecommerce components allows you to quickly build and theme a ### Installation ```sh -npm install --save @athoscommerce/snap-preact/components +npm install --save @athoscommerce/snap-preact ``` ## Atomic Design Methodology From 6ec7b5df9cab0aed83642cc78fd9260b6db64d4a Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 5 Mar 2026 12:42:11 -0700 Subject: [PATCH 4/4] test(tests): ensuring 'await' is set in all tests for userevents --- packages/snap-preact-demo/public/snap/bundle.html | 4 ++-- packages/snap-preact-demo/public/snap/cart.html | 4 ++-- packages/snap-preact-demo/public/snap/category.html | 4 ++-- packages/snap-preact-demo/public/snap/finder.html | 4 ++-- packages/snap-preact-demo/public/snap/index.html | 4 ++-- packages/snap-preact-demo/public/snap/order.html | 4 ++-- packages/snap-preact-demo/public/snap/product.html | 4 ++-- .../public/snap/recommendations.html | 4 ++-- .../snap-preact-demo/public/templates/bundle.html | 4 ++-- .../snap-preact-demo/public/templates/index.html | 4 ++-- .../snap-preact-demo/public/templates/product.html | 4 ++-- .../public/templates/recommendations.html | 4 ++-- packages/snap-preact-demo/tsconfig.json | 2 -- .../src/components/Atoms/Button/Button.test.tsx | 4 ++-- .../src/components/Atoms/Dropdown/Dropdown.test.tsx | 4 ++-- .../src/components/Atoms/Image/Image.test.tsx | 2 +- .../src/components/Atoms/Toggle/Toggle.test.tsx.nope | 8 ++++---- .../components/Molecules/Carousel/Carousel.test.tsx | 6 +++--- .../components/Molecules/Checkbox/Checkbox.test.tsx | 4 ++-- .../FacetHierarchyOptions.test.tsx | 2 +- .../Molecules/FacetToggle/FacetToggle.test.tsx.nope | 4 ++-- .../Molecules/LayoutSelector/LayoutSelector.test.tsx | 6 +++--- .../src/components/Molecules/Radio/Radio.test.tsx | 10 +++++----- .../src/components/Molecules/Select/Select.test.tsx | 4 ++-- .../components/Molecules/Slideout/Slideout.test.tsx | 4 ++-- .../Molecules/Slideshow/Slideshow.test.tsx | 4 ++-- .../Organisms/Autocomplete/Autocomplete.test.tsx | 4 ++-- .../src/components/Organisms/Facet/Facet.test.tsx | 4 ++-- .../AutocompleteFixed/AutocompleteFixed.test.tsx | 12 ++++++------ .../AutocompleteModal/AutocompleteModal.test.tsx | 12 ++++++------ .../Templates/Recommendation/Recommendation.test.tsx | 2 +- .../RecommendationBundle.test.tsx | 2 +- .../Trackers/ResultTracker/ResultTracker.test.tsx | 4 ++-- .../createHoverProps/createHoverProps.test.tsx | 6 +++--- 34 files changed, 78 insertions(+), 80 deletions(-) diff --git a/packages/snap-preact-demo/public/snap/bundle.html b/packages/snap-preact-demo/public/snap/bundle.html index fb0d5b93d..ee931e80f 100644 --- a/packages/snap-preact-demo/public/snap/bundle.html +++ b/packages/snap-preact-demo/public/snap/bundle.html @@ -24,7 +24,7 @@
- +
@@ -171,7 +171,7 @@

Stripe Out White Off-The-Shoulder D