@sonic-equipment/ui 182.0.0 → 183.0.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 (31) hide show
  1. package/dist/collapsables/cascading-component/use-cascading-component-container.js +1 -0
  2. package/dist/collapsables/cascading-component/use-cascading-component.js +1 -0
  3. package/dist/collapsables/cascading-component/use-has-cascading-component-container.js +1 -0
  4. package/dist/config.js +1 -1
  5. package/dist/logging/use-log-error.js +1 -0
  6. package/dist/shared/api/shared/hooks/use-awaitable-mutation.js +1 -0
  7. package/dist/shared/ga/use-data-layer.js +1 -0
  8. package/dist/shared/hooks/use-breakpoint.js +1 -0
  9. package/dist/shared/hooks/use-cookie.js +1 -0
  10. package/dist/shared/hooks/use-css-link.js +1 -0
  11. package/dist/shared/hooks/use-disclosure.js +1 -0
  12. package/dist/shared/hooks/use-global-disclosure.js +1 -0
  13. package/dist/shared/hooks/use-is-breakpoint.js +1 -0
  14. package/dist/shared/hooks/use-is-scrolled-beyond-element.js +1 -0
  15. package/dist/shared/hooks/use-local-storage.js +1 -0
  16. package/dist/shared/hooks/use-script.js +1 -0
  17. package/dist/shared/hooks/use-scroll-lock.js +1 -0
  18. package/dist/shared/hooks/use-session-storage.js +1 -0
  19. package/dist/shared/hooks/use-watch-css-property.js +1 -0
  20. package/dist/shared/utils/local-storage.js +1 -2
  21. package/dist/table/data-table.js +1 -0
  22. package/dist/table/elements/table-context.js +1 -0
  23. package/dist/table/elements/table-provider.js +1 -0
  24. package/dist/table/elements/table-row-context.js +1 -0
  25. package/dist/table/elements/table-row-provider.js +1 -0
  26. package/dist/table/elements/table-sort-button.js +1 -0
  27. package/dist/table/elements/table.js +1 -0
  28. package/dist/table/elements/td.js +1 -0
  29. package/dist/table/elements/th.js +1 -0
  30. package/dist/table/elements/tr.js +1 -0
  31. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useContext } from 'react';
2
3
  import { CascadingComponentContainerContext } from './cascading-component-container-context.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useCascadingComponentContainer } from './use-cascading-component-container.js';
2
3
 
3
4
  function useCascadingComponent() {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useCascadingComponentContainer } from './use-cascading-component-container.js';
2
3
 
3
4
  function useHasCascadingComponentContainer() {
package/dist/config.js CHANGED
@@ -58,7 +58,7 @@ const configPerEnvironment = {
58
58
  ALGOLIA_HOST: 'shop.accept-sonic-equipment.com',
59
59
  BFF_API_URL: 'https://shop.accept-sonic-equipment.com/api/v1/bff',
60
60
  COOKIE_DOMAIN: '.accept-sonic-equipment.com',
61
- HOME_PAGE_URL: 'https://accept.sonic-equipment.com/',
61
+ HOME_PAGE_URL: 'https://accept-sonic-equipment.com/',
62
62
  SHOP_API_URL: 'https://shop.accept-sonic-equipment.com',
63
63
  }),
64
64
  'sandbox-reverse-proxy': () => ({
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useEffect } from 'react';
2
3
  import { logger } from './logger.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState, useCallback } from 'react';
2
3
  import { useQueryClient } from '@tanstack/react-query';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useCallback, useEffect } from 'react';
2
3
  import { getCurrencyCodeBySymbol } from '../model/currency.js';
3
4
  import { dataLayer } from './data-layer.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState, useCallback, useEffect } from 'react';
2
3
  import { getCurrentBreakpoints } from '../utils/breakpoints.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState } from 'react';
2
3
  import Cookies from 'js-cookie';
3
4
  import { config } from '../../config.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useEffect } from 'react';
2
3
 
3
4
  const loadedCSS = {};
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState, useCallback } from 'react';
2
3
 
3
4
  const useDisclosure = (initialState = false) => {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useCallback } from 'react';
2
3
  import { useGlobalState } from '../providers/global-state-provider.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useCallback, useState, useEffect } from 'react';
2
3
  import { getCurrentBreakpoints } from '../utils/breakpoints.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState, useEffect } from 'react';
2
3
 
3
4
  function getElementYPosition(element) {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState } from 'react';
2
3
 
3
4
  function useLocalStorage(key, initialState) {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useEffect } from 'react';
2
3
 
3
4
  const loadedScripts = {};
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useEffect } from 'react';
2
3
 
3
4
  const useScrollLock = (lock) => {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState } from 'react';
2
3
 
3
4
  function useSessionStorage(key, initialState) {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState, useEffect } from 'react';
2
3
  import { getCssPropertyValue } from '../utils/css.js';
3
4
 
@@ -1,7 +1,6 @@
1
+ "use client";
1
2
  import { voidFunction } from '../model/defaults.js';
2
3
 
3
- /* eslint-disable import/no-unused-modules */
4
- /* eslint-disable no-prototype-builtins */
5
4
  /** Mocks the localStorage and sessionStorage API in Node.js
6
5
  * @see https://gitlab.com/kaictl/node/mock-local-storage */
7
6
  const HAS_LOCAL_STORAGE_SUPPORT = typeof localStorage !== 'undefined';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from 'react/jsx-runtime';
2
3
  import { useMemo } from 'react';
3
4
  import { DataCard } from '../cards/data-card/data-card.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { createContext } from 'react';
2
3
  import { voidFunction } from '../../shared/model/defaults.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from 'react/jsx-runtime';
2
3
  import { useRef, useMemo } from 'react';
3
4
  import { TableContext } from './table-context.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { createContext } from 'react';
2
3
  import { voidFunction } from '../../shared/model/defaults.js';
3
4
 
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from 'react/jsx-runtime';
2
3
  import { useState, useEffect, useMemo } from 'react';
3
4
  import { TableRowContext } from './table-row-context.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from 'react/jsx-runtime';
2
3
  import clsx from 'clsx';
3
4
  import { GlyphsChevronsBoldUpIcon } from '../../icons/glyph/glyphs-chevrons-bold-up-icon.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from 'react/jsx-runtime';
2
3
  import { useRef, useState, useCallback } from 'react';
3
4
  import clsx from 'clsx';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from 'react/jsx-runtime';
2
3
  import clsx from 'clsx';
3
4
  import { Truncated } from '../../text/truncated/truncated.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from 'react/jsx-runtime';
2
3
  import clsx from 'clsx';
3
4
  import { Truncated } from '../../text/truncated/truncated.js';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from 'react/jsx-runtime';
2
3
  import clsx from 'clsx';
3
4
  import { TableRowProvider } from './table-row-provider.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonic-equipment/ui",
3
- "version": "182.0.0",
3
+ "version": "183.0.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "engines": {