@myelmut/design-system 0.1.23 → 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.
- package/assets/illustrations/leaf.webp +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +187 -170
- package/dist/index.es.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
- package/styles/globals.css +9 -0
package/dist/types/index.d.ts
CHANGED
|
@@ -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
|
/**
|
package/package.json
CHANGED
package/styles/globals.css
CHANGED
|
@@ -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 {
|