@sonic-equipment/ui 0.0.27 → 0.0.29
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/dist/algolia/algolia-index-config.d.ts +72 -0
- package/dist/algolia/algolia-provider.d.ts +1 -1
- package/dist/breadcrumbs/breadcrumb.stories.d.ts +2 -2
- package/dist/breadcrumbs/connected-breadcrumb.d.ts +1 -1
- package/dist/cards/category-card/category-card.d.ts +2 -5
- package/dist/cards/product-card/product-card.d.ts +4 -4
- package/dist/cards/product-card/product-card.stories.d.ts +1 -1
- package/dist/carousel/category-carousel/connected-category-carousel.d.ts +1 -0
- package/dist/display/product-price/product-price.d.ts +4 -4
- package/dist/display/product-price/product-price.stories.d.ts +1 -0
- package/dist/global-search/global-search-provider/global-search-provider.d.ts +8 -0
- package/dist/global-search/global-search-provider/use-global-search.d.ts +28 -0
- package/dist/{search/global-search → global-search}/global-search.d.ts +0 -7
- package/dist/{search/global-search → global-search}/global-search.stories.d.ts +3 -0
- package/dist/{search/global-search → global-search}/plugins/products-plugin.d.ts +2 -16
- package/dist/global-search/search-input/connected-search-input.d.ts +1 -0
- package/dist/{search → global-search}/search-input/search-input.d.ts +1 -1
- package/dist/global-search/search-result-panel/panel-content.d.ts +10 -0
- package/dist/global-search/search-result-panel/search-result-panel.d.ts +9 -0
- package/dist/global-search/search-root/search-root.d.ts +1 -0
- package/dist/{search/global-search → global-search}/types.d.ts +1 -0
- package/dist/index.d.ts +82 -63
- package/dist/index.js +955 -255
- package/dist/intl/translation-id.d.ts +1 -1
- package/dist/media/image/image.d.ts +2 -19
- package/dist/overlay-background/overlay-background.d.ts +7 -0
- package/dist/pages/product-listing-page/product-listing-page-data-types.d.ts +20 -0
- package/dist/pages/product-listing-page/product-listing-page-provider/product-listing-page-context.d.ts +9 -0
- package/dist/pages/product-listing-page/product-listing-page-provider/product-listing-page-provider.d.ts +8 -0
- package/dist/pages/product-listing-page/product-listing-page-provider/use-breadcrumb.d.ts +4 -0
- package/dist/pages/product-listing-page/product-listing-page-provider/use-subcategories.d.ts +4 -0
- package/dist/pages/product-listing-page/product-listing-page.d.ts +5 -3
- package/dist/pages/product-listing-page/product-listing-page.stories.d.ts +7 -10
- package/dist/pages/product-listing-page/use-fetch-product-listing-page/product-listing-page-data-response.d.ts +48 -0
- package/dist/pages/product-listing-page/use-fetch-product-listing-page/use-fetch-product-listing-page-data.d.ts +2 -0
- package/dist/pages/product-listing-page/use-fetch-product-listing-page/use-fetch-product-listing-page-data.stories.d.ts +20 -0
- package/dist/shared/fetch/ResponseError.d.ts +9 -0
- package/dist/shared/hooks/use-scroll-to.d.ts +1 -0
- package/dist/shared/types/category.d.ts +6 -0
- package/dist/shared/types/image.d.ts +20 -0
- package/dist/shared/types/price.d.ts +3 -3
- package/dist/shared/types/product.d.ts +34 -2
- package/dist/shared/utils/environment.d.ts +3 -0
- package/dist/styles.css +168 -4
- package/package.json +32 -26
- package/dist/search/global-search/clear-icon.d.ts +0 -2
- package/dist/search/global-search/search-icon.d.ts +0 -2
- package/dist/shared/providers/breadcrumb-provider.d.ts +0 -11
- /package/dist/{search/global-search → global-search}/plugins/categories-plugin.d.ts +0 -0
- /package/dist/{search/global-search → global-search}/plugins/popular-categories-plugin.d.ts +0 -0
- /package/dist/{search/global-search → global-search}/plugins/popular-searches-plugin.d.ts +0 -0
- /package/dist/{search/global-search → global-search}/plugins/query-suggestions-plugin.d.ts +0 -0
- /package/dist/{search/global-search → global-search}/plugins/quick-access-plugin.d.ts +0 -0
- /package/dist/{search/global-search → global-search}/plugins/recent-searches-plugin.d.ts +0 -0
- /package/dist/{search/global-search → global-search/search-highlight}/highlight.d.ts +0 -0
- /package/dist/{search → global-search}/search-input/search-input.stories.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sonic-equipment/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.29",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -15,7 +15,10 @@
|
|
|
15
15
|
"default": "./dist/index.js"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
|
-
"files": [
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"README.md"
|
|
21
|
+
],
|
|
19
22
|
"main": "dist/index.js",
|
|
20
23
|
"types": "./dist/index.d.ts",
|
|
21
24
|
"scripts": {
|
|
@@ -45,27 +48,27 @@
|
|
|
45
48
|
"react-instantsearch-core": "^7"
|
|
46
49
|
},
|
|
47
50
|
"devDependencies": {
|
|
48
|
-
"@chromatic-com/storybook": "^1.
|
|
51
|
+
"@chromatic-com/storybook": "^1.5.0",
|
|
49
52
|
"@csstools/postcss-global-data": "^2.1.1",
|
|
50
53
|
"@rollup/plugin-alias": "^5.1.0",
|
|
51
|
-
"@rollup/plugin-commonjs": "^
|
|
54
|
+
"@rollup/plugin-commonjs": "^26.0.1",
|
|
52
55
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
53
56
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
54
|
-
"@storybook/addon-docs": "^8.1.
|
|
55
|
-
"@storybook/addon-essentials": "^8.1.
|
|
56
|
-
"@storybook/addon-interactions": "^8.1.
|
|
57
|
-
"@storybook/addon-links": "^8.1.
|
|
58
|
-
"@storybook/addon-viewport": "^8.1.
|
|
59
|
-
"@storybook/blocks": "^8.1.
|
|
60
|
-
"@storybook/preview-api": "^8.1.
|
|
61
|
-
"@storybook/react": "^8.1.
|
|
62
|
-
"@storybook/react-vite": "^8.1.
|
|
63
|
-
"@storybook/test": "^8.1.
|
|
64
|
-
"@types/react": "^18.3.
|
|
57
|
+
"@storybook/addon-docs": "^8.1.9",
|
|
58
|
+
"@storybook/addon-essentials": "^8.1.9",
|
|
59
|
+
"@storybook/addon-interactions": "^8.1.9",
|
|
60
|
+
"@storybook/addon-links": "^8.1.9",
|
|
61
|
+
"@storybook/addon-viewport": "^8.1.9",
|
|
62
|
+
"@storybook/blocks": "^8.1.9",
|
|
63
|
+
"@storybook/preview-api": "^8.1.9",
|
|
64
|
+
"@storybook/react": "^8.1.9",
|
|
65
|
+
"@storybook/react-vite": "^8.1.9",
|
|
66
|
+
"@storybook/test": "^8.1.9",
|
|
67
|
+
"@types/react": "^18.3.3",
|
|
65
68
|
"@types/react-dom": "^18.3.0",
|
|
66
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
67
|
-
"@typescript-eslint/parser": "^7.
|
|
68
|
-
"@vitejs/plugin-react": "^4.3.
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^7.13.0",
|
|
70
|
+
"@typescript-eslint/parser": "^7.13.0",
|
|
71
|
+
"@vitejs/plugin-react": "^4.3.1",
|
|
69
72
|
"autoprefixer": "^10.4.19",
|
|
70
73
|
"concurrently": "^8.2.2",
|
|
71
74
|
"eslint": "^8.57.0",
|
|
@@ -75,7 +78,7 @@
|
|
|
75
78
|
"eslint-plugin-mdx": "^3.1.5",
|
|
76
79
|
"eslint-plugin-no-relative-import-paths": "^1.5.4",
|
|
77
80
|
"eslint-plugin-prettier": "^5.1.3",
|
|
78
|
-
"eslint-plugin-react": "^7.34.
|
|
81
|
+
"eslint-plugin-react": "^7.34.2",
|
|
79
82
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
80
83
|
"eslint-plugin-simple-import-sort": "^12.1.0",
|
|
81
84
|
"eslint-plugin-sort-destructure-keys": "^2.0.0",
|
|
@@ -85,7 +88,7 @@
|
|
|
85
88
|
"eslint-plugin-unused-imports": "^3.2.0",
|
|
86
89
|
"http-server": "^14.1.1",
|
|
87
90
|
"husky": "^9.0.11",
|
|
88
|
-
"instantsearch.js": "^4.
|
|
91
|
+
"instantsearch.js": "^4.71.1",
|
|
89
92
|
"postcss": "^8.4.38",
|
|
90
93
|
"postcss-custom-media": "^10.0.6",
|
|
91
94
|
"postcss-import": "^16.1.0",
|
|
@@ -98,13 +101,13 @@
|
|
|
98
101
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
99
102
|
"rollup-plugin-postcss": "^4.0.2",
|
|
100
103
|
"rollup-plugin-ts": "^3.4.5",
|
|
101
|
-
"storybook": "^8.1.
|
|
102
|
-
"stylelint": "^16.
|
|
104
|
+
"storybook": "^8.1.9",
|
|
105
|
+
"stylelint": "^16.6.1",
|
|
103
106
|
"stylelint-config-css-modules": "^4.4.0",
|
|
104
107
|
"stylelint-config-idiomatic-order": "^10.0.0",
|
|
105
108
|
"stylelint-config-standard": "^36.0.0",
|
|
106
109
|
"typescript": "^5.4.5",
|
|
107
|
-
"vite": "^5.
|
|
110
|
+
"vite": "^5.3.1",
|
|
108
111
|
"vite-tsconfig-paths": "^4.3.2"
|
|
109
112
|
},
|
|
110
113
|
"dependencies": {
|
|
@@ -113,12 +116,15 @@
|
|
|
113
116
|
"@algolia/autocomplete-plugin-recent-searches": "^1.17.2",
|
|
114
117
|
"@algolia/autocomplete-preset-algolia": "^1.17.2",
|
|
115
118
|
"@algolia/client-search": "^4.23.3",
|
|
119
|
+
"@tanstack/react-query": "^5.45.0",
|
|
120
|
+
"@types/react-transition-group": "^4.4.10",
|
|
116
121
|
"algoliasearch": "^4.23.3",
|
|
117
122
|
"clsx": "^2.1.1",
|
|
118
|
-
"instantsearch.js": "^4.
|
|
123
|
+
"instantsearch.js": "^4.71.1",
|
|
119
124
|
"react-aria-components": "^1.2.1",
|
|
120
|
-
"react-instantsearch": "^7.
|
|
121
|
-
"
|
|
125
|
+
"react-instantsearch": "^7.11.1",
|
|
126
|
+
"react-transition-group": "^4.4.5",
|
|
127
|
+
"swiper": "^11.1.4"
|
|
122
128
|
},
|
|
123
129
|
"publishConfig": {
|
|
124
130
|
"access": "public"
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface Link {
|
|
2
|
-
href: string;
|
|
3
|
-
label: string;
|
|
4
|
-
}
|
|
5
|
-
interface Props {
|
|
6
|
-
links: Link[];
|
|
7
|
-
updateLinks: (links: Link[]) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function BreadcrumbProvider(props: Props): null;
|
|
10
|
-
export declare function useBreadcrumb(): Props;
|
|
11
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|