@faststore/core 2.0.74-alpha.0 → 2.0.75-alpha.0

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.
Files changed (53) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +15 -15
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/config.json +3 -3
  5. package/.next/cache/eslint/.cache_1gneedd +1 -1
  6. package/.next/cache/next-server.js.nft.json +1 -1
  7. package/.next/cache/webpack/client-production/0.pack +0 -0
  8. package/.next/cache/webpack/client-production/index.pack +0 -0
  9. package/.next/cache/webpack/server-production/0.pack +0 -0
  10. package/.next/cache/webpack/server-production/index.pack +0 -0
  11. package/.next/next-server.js.nft.json +1 -1
  12. package/.next/prerender-manifest.json +1 -1
  13. package/.next/react-loadable-manifest.json +2 -3
  14. package/.next/routes-manifest.json +1 -1
  15. package/.next/server/chunks/312.js +127 -121
  16. package/.next/server/middleware-build-manifest.js +1 -1
  17. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  18. package/.next/server/pages/[...slug].js.nft.json +1 -1
  19. package/.next/server/pages/[slug]/p.js.nft.json +1 -1
  20. package/.next/server/pages/_app.js +17 -0
  21. package/.next/server/pages/api/graphql.js.nft.json +1 -1
  22. package/.next/server/pages/en-US/404.html +2 -2
  23. package/.next/server/pages/en-US/500.html +2 -2
  24. package/.next/server/pages/en-US/account.html +2 -2
  25. package/.next/server/pages/en-US/checkout.html +2 -2
  26. package/.next/server/pages/en-US/login.html +2 -2
  27. package/.next/server/pages/en-US/s.html +2 -2
  28. package/.next/server/pages/en-US.html +2 -2
  29. package/.next/static/chunks/909.ea3532bde0943808.js +1 -0
  30. package/.next/static/chunks/pages/{_app-286bcfa03a5e17a7.js → _app-9cc7312632f19e94.js} +1 -1
  31. package/.next/static/chunks/webpack-fc7c18f8a868734c.js +1 -0
  32. package/.next/static/css/{d78f4c5305f398ac.css → 14ebc84fc6d6c80c.css} +1 -1
  33. package/.next/static/{M7OQ7A7JAyTrgvf0m1Ztu → xmQIY_XtSwwYX1xvtcDOJ}/_buildManifest.js +1 -1
  34. package/.next/trace +64 -64
  35. package/.turbo/turbo-build.log +3 -3
  36. package/CHANGELOG.md +6 -0
  37. package/package.json +4 -4
  38. package/src/components/common/Navbar/navbar.module.scss +0 -1
  39. package/src/components/search/SearchInput/SearchInput.tsx +7 -3
  40. package/src/components/search/SearchInput/search-input.module.scss +0 -8
  41. package/src/components/search/{SearchProductCard/SearchProductCard.tsx → SearchProductItem/SearchProductItem.tsx} +25 -22
  42. package/src/components/search/SearchProductItem/index.ts +1 -0
  43. package/src/components/search/SearchSuggestions/SearchSuggestions.tsx +27 -79
  44. package/src/components/search/search.module.scss +9 -80
  45. package/.next/static/chunks/791.e9be2b77d132c1b1.js +0 -1
  46. package/.next/static/chunks/webpack-8f397ae160440a8e.js +0 -1
  47. package/.next/static/css/e1c24beb73906eed.css +0 -1
  48. package/src/components/search/SearchHistory/SearchHistory.stories.mdx +0 -54
  49. package/src/components/search/SearchProductCard/SearchProductCard.stories.mdx +0 -95
  50. package/src/components/search/SearchProductCard/index.ts +0 -1
  51. package/src/components/search/SearchSuggestions/SearchSuggestions.stories.mdx +0 -58
  52. package/src/components/search/SearchTop/SearchTop.stories.mdx +0 -57
  53. /package/.next/static/{M7OQ7A7JAyTrgvf0m1Ztu → xmQIY_XtSwwYX1xvtcDOJ}/_ssgManifest.js +0 -0
@@ -1,58 +0,0 @@
1
- import { Meta, Canvas, Story, ArgsTable } from '@storybook/addon-docs'
2
- import {
3
- TokenTable,
4
- TokenRow,
5
- TokenDivider,
6
- } from 'src/../.storybook/components'
7
- import { SearchInputProvider } from 'src/sdk/search/useSearchInput'
8
- import { productGridItems, searchTerms } from 'src/../.storybook/mocks'
9
- import { products } from '../searchMock'
10
-
11
- import SearchSuggestions from '.'
12
-
13
- <Meta component={SearchSuggestions} title="Features/Search/SearchSuggestions" />
14
-
15
- export const Template = (args) => (
16
- <div
17
- style={{
18
- maxWidth: '600px',
19
- margin: '0 auto',
20
- padding: '0 16px',
21
- background: 'white',
22
- }}
23
- >
24
- <SearchInputProvider>
25
- <SearchSuggestions {...args} />
26
- </SearchInputProvider>
27
- </div>
28
- )
29
-
30
- <header>
31
-
32
- # SearchSuggestions
33
-
34
- Displays a set of navigation links that self-adapts on mobile or desktop screens.
35
-
36
- </header>
37
-
38
- ## Usage
39
-
40
- `import SearchSuggestions from 'src/components/search/SearchSuggestions'`
41
-
42
- <Canvas>
43
- <Story
44
- name="default"
45
- parameters={{
46
- backgrounds: { default: 'dark' },
47
- }}
48
- args={{
49
- term: 'Ste',
50
- terms: searchTerms,
51
- products,
52
- }}
53
- >
54
- {Template.bind({})}
55
- </Story>
56
- </Canvas>
57
-
58
- <ArgsTable story="default" />
@@ -1,57 +0,0 @@
1
- import { Meta, Canvas, Story, ArgsTable } from '@storybook/addon-docs'
2
-
3
- import { SearchInputProvider } from 'src/sdk/search/useSearchInput'
4
- import { searchTerms } from 'src/../.storybook/mocks'
5
-
6
- import SearchTop from './SearchTop'
7
- import { msw } from '../searchMock'
8
-
9
- <Meta component={SearchTop} title="Features/Search/SearchTop" />
10
-
11
- export const Template = (args) => (
12
- <div
13
- style={{
14
- maxWidth: '600px',
15
- margin: '0 auto',
16
- padding: '0 16px',
17
- background: 'white',
18
- }}
19
- >
20
- <SearchInputProvider>
21
- <SearchTop {...args} />
22
- </SearchInputProvider>
23
- </div>
24
- )
25
-
26
- <header>
27
-
28
- # Search Top
29
-
30
- This section displays the most searched terms by customers.
31
-
32
- </header>
33
-
34
- ## Usage
35
-
36
- `import SearchTop from 'src/components/search/SearchTop'`
37
-
38
- <Canvas>
39
- <Story
40
- name="default"
41
- parameters={{
42
- backgrounds: { default: 'dark' },
43
- msw,
44
- }}
45
- argTypes={{
46
- testId: {
47
- table: {
48
- disable: true,
49
- },
50
- },
51
- }}
52
- >
53
- {Template.bind({})}
54
- </Story>
55
- </Canvas>
56
-
57
- <ArgsTable story="default" />