@soul-refiner/design-system 2.14.92 → 2.14.94
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/components/surfaces/drawer/drawer.js +2 -0
- package/dist/src/components/animation/carousel/Carousel.d.ts +24 -0
- package/dist/src/components/animation/carousel/Carousel.d.ts.map +1 -0
- package/dist/src/components/animation/index.d.ts +5 -0
- package/dist/src/components/animation/index.d.ts.map +1 -0
- package/dist/src/components/surfaces/drawer/drawer.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
position: sticky;
|
|
37
37
|
top: 0;
|
|
38
38
|
border-radius: 16px 0px 0px 0px;
|
|
39
|
+
z-index: 160;
|
|
39
40
|
`,p=o.styled.div`
|
|
40
41
|
height: calc(100vh - 224px);
|
|
41
42
|
position: relative;
|
|
@@ -69,4 +70,5 @@
|
|
|
69
70
|
position: sticky;
|
|
70
71
|
bottom: 0;
|
|
71
72
|
border-radius: 0px 0px 0px 16px;
|
|
73
|
+
z-index: 160;
|
|
72
74
|
`,u=({children:r})=>{const[,e]=a.default.useContext(l);return r&&a.default.cloneElement(r,{onClick:i.callAll(()=>e(r=>!r),r.props.onClick)})};u.displayName="Drawer.Trigger",n.Trigger=u;const h=({children:e})=>r.jsx("div",{children:e});h.displayName="Drawer.Header",n.Header=h;const g=({children:e})=>r.jsx("div",{children:e});g.displayName="Drawer.Content",n.Content=g;const w=({children:e})=>r.jsx("div",{children:e});w.displayName="Drawer.Footer",n.Footer=w,exports.Drawer=n;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { EmblaOptionsType } from 'embla-carousel';
|
|
3
|
+
type InteractionMode = 'manual' | 'auto' | 'autoAndManual';
|
|
4
|
+
export type CarouselProps = {
|
|
5
|
+
children: React.ReactNode[] | React.ReactNode;
|
|
6
|
+
options?: EmblaOptionsType;
|
|
7
|
+
loop?: boolean;
|
|
8
|
+
draggable?: boolean;
|
|
9
|
+
dragFree?: boolean;
|
|
10
|
+
slidesPerView?: number;
|
|
11
|
+
slideGap?: number;
|
|
12
|
+
peekNext?: boolean;
|
|
13
|
+
peekAmount?: number;
|
|
14
|
+
showArrows?: boolean;
|
|
15
|
+
showDots?: boolean;
|
|
16
|
+
interactionMode?: InteractionMode;
|
|
17
|
+
autoPlayIntervalMs?: number;
|
|
18
|
+
ariaLabel?: string;
|
|
19
|
+
className?: string;
|
|
20
|
+
sx?: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const Carousel: React.FC<CarouselProps>;
|
|
23
|
+
export default Carousel;
|
|
24
|
+
//# sourceMappingURL=Carousel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../../src/components/animation/carousel/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAqB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAG1E,KAAK,eAAe,GAAG,QAAQ,GAAG,MAAM,GAAG,eAAe,CAAC;AAE3D,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,GAAG,KAAK,CAAC,SAAS,CAAC;IAC9C,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAkCF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA8G5C,CAAC;AAiIF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/animation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC1D,cAAc,qBAAqB,CAAC;AAEpC,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACvD,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../../src/components/surfaces/drawer/drawer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,iBAAiB;IAC1D;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,MAAM;kDAIhB,WAAW;;+
|
|
1
|
+
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../../src/components/surfaces/drawer/drawer.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,iBAAiB;IAC1D;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,MAAM;kDAIhB,WAAW;;+BAoIX;YACD,QAAQ,EAAE,MAAM,YAAY,CAAC;SAC9B;;;;uBAamC,MAAM,iBAAiB;;;;uBAOtB,MAAM,iBAAiB;;;;uBAOxB,MAAM,iBAAiB;;;CArH1D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soul-refiner/design-system",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.94",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/src/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"@udecode/react-utils": "^29.0.1",
|
|
83
83
|
"class-variance-authority": "~0.7.0",
|
|
84
84
|
"date-fns": "^3.4.0",
|
|
85
|
+
"embla-carousel-react": "^8.6.0",
|
|
85
86
|
"emoji-mart": "~5.5.2",
|
|
86
87
|
"lucide-react": "~0.307.0",
|
|
87
88
|
"next": "14.2",
|