@soul-refiner/design-system 2.14.66 → 2.14.68

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.
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";var e=require("react/jsx-runtime"),r=require("./action/action.js"),i=require("./audio/audio.js"),s=require("./feature/feature.js"),a=require("./person/person.js"),t=require("./price/price.js"),u=require("./regular/regular.js"),d=require("./video/video.js"),o=require("./written/written.js"),j=require("./meeting/meeting.js");exports.Card=({type:n="regular",...p})=>({action:e.jsx(r.ActionCard,{...p}),"audio-episode":e.jsx(i.AudioEpisodeCard,{...p}),feature:e.jsx(s.FeatureCard,{...p}),person:e.jsx(a.PersonCard,{...p}),price:e.jsx(t.PriceCard,{...p}),regular:e.jsx(u.RegularCard,{...p}),"video-episode":e.jsx(d.VideoEpisodeCard,{...p}),"written-episode":e.jsx(o.WrittenEpisodeCard,{...p}),meeting:e.jsx(j.MeetingCard,{...p})}[n]);
2
+ "use strict";var e=require("react/jsx-runtime"),r=require("./action/action.js"),s=require("./audio/audio.js"),i=require("./feature/feature.js"),a=require("./person/person.js"),t=require("./price/price.js"),u=require("./regular/regular.js"),o=require("./video/video.js"),d=require("./written/written.js"),j=require("./meeting/meeting.js"),n=require("./course-seats/course-seats.js");exports.Card=({type:p="regular",...c})=>({action:e.jsx(r.ActionCard,{...c}),"audio-episode":e.jsx(s.AudioEpisodeCard,{...c}),feature:e.jsx(i.FeatureCard,{...c}),person:e.jsx(a.PersonCard,{...c}),price:e.jsx(t.PriceCard,{...c}),regular:e.jsx(u.RegularCard,{...c}),"video-episode":e.jsx(o.VideoEpisodeCard,{...c}),"written-episode":e.jsx(d.WrittenEpisodeCard,{...c}),meeting:e.jsx(j.MeetingCard,{...c}),"course-seats":e.jsx(n.CourseSeatsCard,{...c})}[p]);
@@ -0,0 +1,72 @@
1
+ "use client";
2
+ "use strict";var e=require("react/jsx-runtime"),r=require("next/image"),i=require("styled-components"),s=require("../../atoms/typography/heading.js"),t=require("../../atoms/typography/paragraph.js"),a=require("../../actions/button/button.js"),o=require("../../iconography/avatar/avatar.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=l(r);const n=i.styled.div`
3
+ position: relative;
4
+ display: block;
5
+ box-shadow: var(--elevation-1);
6
+ border-radius: 16px;
7
+ background-color: var(--color-white);
8
+ overflow: hidden;
9
+ transition: all 0.2s ease;
10
+ min-width: 390px;
11
+
12
+ &:hover {
13
+ border: 1px solid var(--color-primary-blue-3);
14
+ transform: translateY(-2px);
15
+ box-shadow: var(--elevation-2);
16
+ }
17
+
18
+ ${({$sx:e})=>e||""};
19
+ `,x=i.styled.div`
20
+ position: relative;
21
+ width: 100%;
22
+ min-height: 219.375px;
23
+ overflow: hidden;
24
+
25
+ img {
26
+ border-radius: 16px 16px 0 0;
27
+ }
28
+ `,p=i.styled.div`
29
+ padding: 8px 8px 16px 8px;
30
+ display: flex;
31
+ flex-direction: column;
32
+ gap: 8px;
33
+ `,c=i.styled(s.H)`
34
+ font-size: 18px;
35
+ font-weight: 500;
36
+ color: var(--color-grey-2);
37
+ margin: 0;
38
+ line-height: 26px;
39
+ `,g=i.styled.div`
40
+ display: flex;
41
+ align-items: center;
42
+ `,h=i.styled.span`
43
+ color: ${({$isOverAssigned:e})=>e?"var(--color-red-3)":"var(--color-grey-2)"};
44
+ font-weight: ${({$isOverAssigned:e})=>e?"600":"500"};
45
+ margin-left: 16px;
46
+ `,v=i.styled.div`
47
+ display: flex;
48
+ align-items: center;
49
+ flex-wrap: wrap;
50
+ `,u=i.styled.div`
51
+ border: 2px solid var(--color-white);
52
+ border-radius: 50%;
53
+ position: relative;
54
+ `,y=i.styled.div`
55
+ margin-left: -8px;
56
+ width: 32px;
57
+ height: 32px;
58
+ border-radius: 50%;
59
+ background-color: var(--color-grey-8);
60
+ border: 2px solid var(--color-white);
61
+ display: flex;
62
+ align-items: center;
63
+ justify-content: center;
64
+ font-size: 12px;
65
+ font-weight: 600;
66
+ color: var(--color-grey-3);
67
+ z-index: 1;
68
+ `,f=i.styled.div`
69
+ display: flex;
70
+ gap: 12px;
71
+ margin-top: 8px;
72
+ `;exports.CourseSeatsCard=({courseId:r,courseName:i,alert:s,courseImage:l,assignedSeats:m,totalSeats:j,assignedUsers:b,onManageSeats:w,onAddSeats:$,sx:z})=>e.jsxs(n,{$sx:z,children:[s,e.jsx(x,{children:e.jsx(d.default,{alt:i,src:l,fill:!0,style:{objectFit:"cover"}})}),e.jsxs(p,{children:[e.jsx(c,{children:i}),e.jsx(g,{children:e.jsxs(t.P,{$fontSize:14,$color:"grey-3",children:["Seat:",e.jsxs(h,{$isOverAssigned:m>j,children:[m,"/",j," Available"]})]})}),b.length>0&&e.jsxs(v,{children:[b.slice(0,8).map((r,i)=>e.jsx(u,{children:e.jsx(o.Avatar,{image:r.imageUrl||"/images/default_avatar.png",size:24})},`${r.id}-${i}`)),b.length>8&&e.jsxs(y,{children:["+",b.length-8]})]}),e.jsxs(f,{children:[e.jsx(a.Button,{type:"outlined",size:"small",fluid:!0,onClick:()=>w(r),sx:"font-size: 14px;",children:"Manage Seats"}),e.jsx(a.Button,{type:"primary",fluid:!0,sx:"font-size: 14px;",size:"small",onClick:()=>$(r),children:"Add Seats"})]})]})]});
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- "use strict";var i=require("react/jsx-runtime"),e=require("react"),r=require("next/image"),t=require("styled-components"),o=require("../../atoms/box/box.js"),s=require("../../actions/button/button.js"),n=require("../../actions/dropdown/dropdown.js"),a=require("../../atoms/typography/heading.js"),l=require("../../atoms/typography/paragraph.js"),d=require("../../../icons/basic/ellipsis_horizontal.js"),x=require("../../iconography/avatar/icons/ispaid.js"),p=require("@mui/material"),h=require("../../../icons/time/hourglass.js");function c(i){return i&&"object"==typeof i&&"default"in i?i:{default:i}}var g=c(e),u=c(r);const f=t.styled.div`
2
+ "use strict";var i=require("react/jsx-runtime"),e=require("react"),r=require("next/image"),t=require("styled-components"),o=require("../../atoms/box/box.js"),s=require("../../actions/button/button.js"),n=require("../../actions/dropdown/dropdown.js"),l=require("../../atoms/typography/heading.js"),a=require("../../atoms/typography/paragraph.js"),d=require("../../../icons/basic/ellipsis_horizontal.js"),x=require("../../iconography/avatar/icons/ispaid.js"),p=require("@mui/material"),h=require("../../../icons/time/hourglass.js");function c(i){return i&&"object"==typeof i&&"default"in i?i:{default:i}}var g=c(e),u=c(r);const f=t.styled.div`
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  &:hover > div {
@@ -60,13 +60,13 @@
60
60
  display: flex;
61
61
  flex-direction: column;
62
62
  margin-left: 4px;
63
- `,v=t.styled.div`
63
+ `,w=t.styled.div`
64
64
  display: flex;
65
65
  align-items: center;
66
66
 
67
67
  ${({$addMarginLeft:i})=>i&&"\n margin-left: auto;\n padding-left: 16px;\n border-left: 1px solid var(--color-grey-5);\n margin-right: 40px;\n\n @media (max-width: 1440px) {\n margin-right: 0;\n }\n @media (max-width: 1366px) {\n margin-right: 20px;\n }\n "};
68
- `,w=t.styled.div`
68
+ `,v=t.styled.div`
69
69
  display: flex;
70
70
  flex-direction: column;
71
71
  margin-left: 4px;
72
- `;exports.PersonCard=({actions:e,chip:r,dotsActions:t,href:c,image:q,subtitle:z,sx:P,title:H,isPaidUser:S,progress:C,lastOnline:B,containerSx:k})=>i.jsx(m,{$image:q,$sx:k,children:i.jsxs(j,{$sx:P,children:[i.jsxs(f,{as:c?"a":"div",href:c,children:[t&&!!t.length&&i.jsx(n.Dropdown,{containerSx:"",hasArrow:!0,maintainState:!1,onClick:i=>i.preventDefault(),options:t,sx:"position: absolute; top: 8px; right: 8px; z-index: 24; display: none;",trigger:i.jsx(s.Button,{className:"icon",icon:i.jsx(d.EllipsisHorizontal,{}),onClick:i=>i.stopPropagation(),showChevron:!1,size:"small",type:"outlined"})}),i.jsx(u.default,{alt:"",height:400,quality:100,src:q,width:312})]}),r&&i.jsx(o.Box,{sx:"position: absolute; top: 8px; left: 8px; z-index: 24;",children:r}),i.jsxs($,{children:[i.jsxs(o.Box,{$display:"flex",$dir:"row",$gap:8,children:[i.jsx(a.H,{as:"span",$bold:!0,$color:"white",$fontSize:24,$lineHeight:36,children:H}),S&&i.jsx(o.Box,{sx:"padding: .6rem 0 0 0; width: 18.33px; height: 18.33px;",children:i.jsx(x.IsPaid,{})})]}),z&&i.jsx(l.P,{as:"span",$color:"white",$fontSize:14,$lineHeight:20,children:z}),(C||B)&&i.jsxs(y,{children:[void 0!==C&&i.jsxs(i.Fragment,{children:[i.jsx(p.CircularProgress,{variant:"determinate",value:C,style:{color:"green",width:18,height:18}}),i.jsxs(b,{children:[i.jsx(l.P,{$fontSize:10,$color:"grey-9",$lineHeight:14,children:"Progress"}),i.jsxs(l.P,{$fontSize:10,$color:"white",$bold:!0,$lineHeight:14,children:[C,"%"]})]})]}),B&&i.jsxs(v,{$addMarginLeft:void 0!==C,children:[i.jsx(h.Hourglass,{}),i.jsxs(w,{children:[i.jsx(l.P,{$fontSize:10,$color:"grey-9",$lineHeight:14,children:"Last online"}),i.jsx(l.P,{$fontSize:10,$color:"white",$bold:!0,$lineHeight:14,children:B})]})]})]}),e&&i.jsx(o.Box,{$display:"flex",$dir:"row",$gap:8,sx:"margin-top: 16px;",children:g.default.Children.toArray(e)})]})]})});
72
+ `;exports.PersonCard=({actions:e,chip:r,dotsActions:t,href:c,image:q,subtitle:z,sx:P,title:H,isPaidUser:S,progress:k,lastOnline:C,containerSx:B})=>i.jsx(m,{$image:q,$sx:B,children:i.jsxs(j,{$sx:P,children:[i.jsxs(f,{as:c?"a":"div",href:c,children:[t&&!!t.length&&i.jsx(n.Dropdown,{containerSx:"",hasArrow:!0,maintainState:!1,onClick:i=>i.preventDefault(),options:t,sx:"position: absolute; top: 8px; right: 8px; z-index: 24; display: none;",trigger:i.jsx(s.Button,{className:"icon",icon:i.jsx(d.EllipsisHorizontal,{}),onClick:i=>i.stopPropagation(),showChevron:!1,size:"small",type:"outlined"})}),i.jsx(u.default,{alt:"",height:400,quality:100,src:q,width:312})]}),r&&i.jsx(o.Box,{sx:"position: absolute; top: 8px; left: 8px; z-index: 24;",children:r}),i.jsxs($,{children:[i.jsxs(o.Box,{$display:"flex",$dir:"row",$gap:8,sx:"min-width:0",children:[i.jsx(l.H,{as:"span",$bold:!0,$color:"white",$fontSize:24,$lineHeight:36,sx:"display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;",title:H,children:H}),S&&i.jsx(o.Box,{sx:"padding: .6rem 0 0 0; width: 18.33px; height: 18.33px; flex-shrink:0;",children:i.jsx(x.IsPaid,{})})]}),z&&i.jsx(a.P,{as:"span",$color:"white",$fontSize:14,$lineHeight:20,children:z}),(k||C)&&i.jsxs(y,{children:[void 0!==k&&i.jsxs(i.Fragment,{children:[i.jsx(p.CircularProgress,{variant:"determinate",value:k,style:{color:"green",width:18,height:18}}),i.jsxs(b,{children:[i.jsx(a.P,{$fontSize:10,$color:"grey-9",$lineHeight:14,children:"Progress"}),i.jsxs(a.P,{$fontSize:10,$color:"white",$bold:!0,$lineHeight:14,children:[k,"%"]})]})]}),C&&i.jsxs(w,{$addMarginLeft:void 0!==k,children:[i.jsx(h.Hourglass,{}),i.jsxs(v,{children:[i.jsx(a.P,{$fontSize:10,$color:"grey-9",$lineHeight:14,children:"Last online"}),i.jsx(a.P,{$fontSize:10,$color:"white",$bold:!0,$lineHeight:14,children:C})]})]})]}),e&&i.jsx(o.Box,{$display:"flex",$dir:"row",$gap:8,sx:"margin-top: 16px;",children:g.default.Children.toArray(e)})]})]})});
@@ -31,4 +31,4 @@
31
31
 
32
32
  ${e.Styles.flex}
33
33
  ${({$sx:r})=>r||""}
34
- `;exports.Notification=({content:o,href:e,onClose:d,sx:p,title:g,type:f})=>{const j={error:r.jsx(a.AlertOctogon,{size:24}),info:r.jsx(u.Information,{size:24}),success:r.jsx(n.AlertCircle,{size:24}),warning:r.jsx(l.AlertTriangle,{size:24})};return r.jsxs(x,{as:e?"a":"output",href:e,$dir:"column",$gap:8,$sx:p,$type:f,children:[r.jsxs(s.Box,{$dir:"row",$gap:8,$flex:1,children:[j[f],r.jsx(t.P,{as:"span",$semiBold:!0,children:g}),d&&r.jsx(i.Button,{icon:r.jsx(c.Close,{size:24}),onClick:d,sx:"margin-left: auto;",type:"special"})]}),r.jsx(s.Box,{$align:"center",$dir:"row",$gap:4,children:r.jsx(t.P,{as:"span",sx:"padding-left: 32px;",children:o})})]})};
34
+ `;exports.Notification=({content:o,href:e,onClose:d,sx:p,title:g,type:f})=>{const j={error:r.jsx(a.AlertOctogon,{size:24}),info:r.jsx(u.Information,{size:24}),success:r.jsx(n.AlertCircle,{size:24}),warning:r.jsx(l.AlertTriangle,{size:24})};return r.jsx(x,{as:e?"a":"output",href:e,$dir:"column",$gap:8,$sx:p,$type:f,children:r.jsxs(s.Box,{$dir:"row",$gap:8,$flex:1,children:[j[f],d&&r.jsx(i.Button,{icon:r.jsx(c.Close,{size:24}),onClick:d,sx:"margin-left: auto;",type:"special"}),r.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:4},children:[g&&r.jsx(t.P,{as:"span",$semiBold:!0,children:g}),r.jsx(t.P,{as:"span",children:o})]})]})})};
@@ -8,6 +8,7 @@ export interface HeadingProps extends CommonProps {
8
8
  $fontSize?: 16 | 18 | 20 | 24 | 28 | 32 | 36 | 40 | 48 | 64;
9
9
  $lineHeight?: 96 | 64 | 60 | 54 | 48 | 36 | 28 | 26;
10
10
  $sx?: string;
11
+ title?: string;
11
12
  }
12
13
  export declare const H: {
13
14
  ({ sx, ...args }: HeadingProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/typography/heading.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,eAAe,EAAE,MAAM,iDAAiD,CAAC;AAElF,MAAM,WAAW,WAAY,SAAQ,eAAe;IAClD,UAAU,CAAC,EAA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G,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IACpD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AASD,eAAO,MAAM,CAAC;sBAAqB,YAAY;;0BAIjB,WAAW;;;;0BAMX,WAAW;;;;0BAMT,WAAW;;;;0BAMZ,WAAW;;;;0BAMX,WAAW;;;;0BAMZ,WAAW;;;;0BAMT,WAAW;;;;0BAMX,WAAW;;;CA5C1C,CAAC"}
@@ -8,8 +8,9 @@ import { RegularCardProps } from './regular/regular';
8
8
  import { VideoEpisodeCardProps } from './video/video';
9
9
  import { WrittenEpisodeCardProps } from './written/written';
10
10
  import { MeetingCardProps } from './meeting/meeting';
11
- type CardType = 'action' | 'audio-episode' | 'feature' | 'person' | 'price' | 'regular' | 'video-episode' | 'written-episode' | 'meeting';
12
- export type CardProps = (ActionCardProps | AudioEpisodeCardProps | FeatureCardProps | PersonCardProps | PriceCardProps | RegularCardProps | VideoEpisodeCardProps | WrittenEpisodeCardProps | MeetingCardProps) & {
11
+ import { CourseSeatsCardProps } from './course-seats/course-seats';
12
+ type CardType = 'action' | 'audio-episode' | 'feature' | 'person' | 'price' | 'regular' | 'video-episode' | 'written-episode' | 'meeting' | 'course-seats';
13
+ export type CardProps = (ActionCardProps | AudioEpisodeCardProps | FeatureCardProps | PersonCardProps | PriceCardProps | RegularCardProps | VideoEpisodeCardProps | WrittenEpisodeCardProps | MeetingCardProps | CourseSeatsCardProps) & {
13
14
  type: CardType;
14
15
  };
15
16
  export declare const Card: ({ type, ...rest }: CardProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
@@ -1 +1 @@
1
- {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../src/components/card/card.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEl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,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,KAAK,QAAQ,GACT,QAAQ,GACR,eAAe,GACf,SAAS,GACT,QAAQ,GACR,OAAO,GACP,SAAS,GACT,eAAe,GACf,iBAAiB,GACjB,SAAS,GACT,cAAc,CAAC;AAEnB,MAAM,MAAM,SAAS,GAAG,CACpB,eAAe,GACf,qBAAqB,GACrB,gBAAgB,GAChB,eAAe,GACf,cAAc,GACd,gBAAgB,GAChB,qBAAqB,GACrB,uBAAuB,GACvB,gBAAgB,GAChB,oBAAoB,CACvB,GAAG;IACF,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,IAAI,sBAAmC,SAAS,uEAiB5D,CAAC"}
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ export interface CourseSeatsCardProps {
3
+ courseId: string;
4
+ courseName: string;
5
+ courseImage: string;
6
+ assignedSeats: number;
7
+ totalSeats: number;
8
+ alert: React.ReactNode;
9
+ assignedUsers: {
10
+ id: string;
11
+ imageUrl: string;
12
+ }[];
13
+ onManageSeats: (courseId: string) => void;
14
+ onAddSeats: (courseId: string) => void;
15
+ sx?: string;
16
+ }
17
+ export declare const CourseSeatsCard: ({ courseId, courseName, alert, courseImage, assignedSeats, totalSeats, assignedUsers, onManageSeats, onAddSeats, sx, }: CourseSeatsCardProps) => import("react/jsx-runtime").JSX.Element;
18
+ //# sourceMappingURL=course-seats.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"course-seats.d.ts","sourceRoot":"","sources":["../../../../../src/components/card/course-seats/course-seats.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,aAAa,EAAE;QACb,EAAE,EAAE,MAAM,CAAC;QACX,QAAQ,EAAE,MAAM,CAAC;KAClB,EAAE,CAAC;IACJ,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,eAAe,2HAWzB,oBAAoB,4CAkEtB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { CourseSeatsCard } from './course-seats';
2
+ export type { CourseSeatsCardProps } from './course-seats';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/card/course-seats/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,YAAY,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"person.d.ts","sourceRoot":"","sources":["../../../../../src/components/card/person/person.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AAMpF,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;IACpD,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,GAAG,OA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 +4,7 @@ export interface NotificationProps {
4
4
  href?: string;
5
5
  onClose?: () => void;
6
6
  sx?: string;
7
- title: string;
7
+ title?: string;
8
8
  type: NotificationTypes;
9
9
  }
10
10
  export declare const Notification: ({ content, href, onClose, sx, title, type, }: NotificationProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/notification/notification.tsx"],"names":[],"mappings":"AAeA,KAAK,iBAAiB,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAElE,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,iBAAiB,CAAC;CACzB;AAED,eAAO,MAAM,YAAY,iDAOtB,iBAAiB,4CAsCnB,CAAC"}
1
+ {"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/notification/notification.tsx"],"names":[],"mappings":"AAeA,KAAK,iBAAiB,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAElE,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,iBAAiB,CAAC;CACzB;AAED,eAAO,MAAM,YAAY,iDAOtB,iBAAiB,4CAuCnB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soul-refiner/design-system",
3
- "version": "2.14.66",
3
+ "version": "2.14.68",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "license": "MIT",