@sonic-equipment/ui 0.0.74 → 0.0.76

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 (26) hide show
  1. package/dist/index.d.ts +33 -20
  2. package/dist/index.js +398 -233
  3. package/dist/src/algolia/use-algolia-insights.d.ts +1 -2
  4. package/dist/src/buttons/favorite/connected-favorite-button.d.ts +3 -2
  5. package/dist/src/cards/product-card/connected-product-cart.d.ts +3 -2
  6. package/dist/src/carousel/carousel.d.ts +7 -3
  7. package/dist/src/carousel/product-carousel/product-carousel.d.ts +5 -1
  8. package/dist/src/carousel/product-carousel/product-carousel.stories.d.ts +1 -0
  9. package/dist/src/collapsables/accordion/accordion-item.d.ts +3 -1
  10. package/dist/src/collapsables/accordion/accordion.d.ts +4 -4
  11. package/dist/src/collapsables/accordion/accordion.stories.d.ts +3 -0
  12. package/dist/src/collapsables/show-all/show-all.d.ts +12 -5
  13. package/dist/src/collapsables/show-all/show-all.stories.d.ts +6 -4
  14. package/dist/src/intl/translation-id.d.ts +1 -1
  15. package/dist/src/lists/download-document-list/document-download-list.stories.d.ts +13 -0
  16. package/dist/src/lists/download-document-list/download-document-list.d.ts +11 -0
  17. package/dist/src/lists/feature-list/feature-list.d.ts +26 -0
  18. package/dist/src/lists/feature-list/feature-list.stories.d.ts +16 -0
  19. package/dist/src/pages/product-details-page/components/product-details-panel.d.ts +4 -0
  20. package/dist/src/shared/api/bff/model/bff.model.d.ts +3 -3
  21. package/dist/src/shared/hooks/use-resize-observer.d.ts +4 -0
  22. package/dist/src/shared/utils/merge.d.ts +12 -0
  23. package/dist/styles.css +304 -130
  24. package/package.json +2 -1
  25. package/dist/src/algolia/algolia-filter-section.d.ts +0 -17
  26. package/dist/src/global-search/plugins/products-plugin.d.ts +0 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonic-equipment/ui",
3
- "version": "0.0.74",
3
+ "version": "0.0.76",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -28,6 +28,7 @@
28
28
  "reinstall": "pnpm clean; pnpm install && pnpm build",
29
29
  "dev": "storybook dev -p 6006",
30
30
  "proxy": "node src/proxy/proxy.js",
31
+ "proxy:watch": "nodemon src/proxy/proxy.js",
31
32
  "dev:proxy": "npx concurrently --names \"PROXY,STORYBOOK\" -c auto --kill-others-on-fail \"npm run proxy\" \"npm run dev\"",
32
33
  "lint": "eslint . --ext ts,tsx,cjs,js,mdx --report-unused-disable-directives --cache --cache-location node_modules/.cache/.eslintcache",
33
34
  "lint:fix": "eslint . --fix --ext ts,tsx,cjs,js,mdx --report-unused-disable-directives --cache --cache-location node_modules/.cache/.eslintcache",
@@ -1,17 +0,0 @@
1
- export interface RefinementListItem {
2
- count: number;
3
- highlighted?: string;
4
- isRefined: boolean;
5
- label: string;
6
- value: string;
7
- }
8
- interface AlgoliaFilterSectionProps {
9
- attribute: string;
10
- children({ items, refine, }: {
11
- items: RefinementListItem[];
12
- refine(value: string): void;
13
- }): React.ReactNode;
14
- initialIsOpen?: boolean;
15
- }
16
- export declare function AlgoliaFilterSection({ attribute, children, initialIsOpen, }: AlgoliaFilterSectionProps): import("react/jsx-runtime").JSX.Element | null;
17
- export {};
@@ -1,7 +0,0 @@
1
- import { AutocompletePlugin } from '@algolia/autocomplete-core';
2
- import { AlgoliaProductHit } from 'algolia/algolia-product-hit-type';
3
- import { SearchClient } from 'algoliasearch';
4
- export declare const productsPlugin: ({ productsIndexName, searchClient, }: {
5
- productsIndexName: string;
6
- searchClient: SearchClient;
7
- }) => AutocompletePlugin<AlgoliaProductHit, unknown>;