@myelmut/design-system 0.1.22 → 0.1.24

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.
@@ -706,6 +706,8 @@ export declare function useClickOutside<T extends HTMLElement>(ref: React.RefObj
706
706
  */
707
707
  export declare function useIntersectionObserver({ ref, onAppear, onDisappear, threshold }: UseSingleObserverOptions): void;
708
708
 
709
+ export declare function useIsDesktop(): boolean;
710
+
709
711
  export declare function useIsMobile(): boolean;
710
712
 
711
713
  /**
@@ -719,10 +721,10 @@ export declare function useIsMobile(): boolean;
719
721
  * @param threshold - Intersection ratio at which the callback is triggered (e.g., `0.1`).
720
722
  * @param rootMargin - Margin around the root bounding box (e.g., `'0px'`, `'10px 0px'`).
721
723
  */
722
- export declare function useMultiIntersectionObserver({ selector, callback, root, threshold, rootMargin }: UseMultiObserverOptions): void;
724
+ export declare function useMultiIntersectionObserver({ targets, callback, root, threshold, rootMargin }: UseMultiObserverOptions): void;
723
725
 
724
726
  declare type UseMultiObserverOptions = {
725
- selector: string;
727
+ targets: Element[];
726
728
  callback: (entry: IntersectionObserverEntry, element: HTMLElement) => void;
727
729
  root?: Element | null;
728
730
  threshold?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myelmut/design-system",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "description": "Design system for Elmut project",
5
5
  "repository": {
6
6
  "type": "git",
@@ -163,6 +163,15 @@
163
163
  transform: translateX(-50%);
164
164
  }
165
165
  }
166
+
167
+ .scrollbar-hide {
168
+ -ms-overflow-style: none; /* IE and Edge */
169
+ scrollbar-width: none; /* Firefox */
170
+ }
171
+
172
+ .scrollbar-hide::-webkit-scrollbar {
173
+ display: none; /* Chrome, Safari, Opera */
174
+ }
166
175
  }
167
176
 
168
177
  @utility container {