@soul-refiner/design-system 2.14.174 → 2.14.175
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/input/time_input/time_input.js +1 -1
- package/dist/components/media/video-player/playlist-item.js +10 -21
- package/dist/components/media/video-player/video.js +24 -17
- package/dist/src/components/editor/plugins/blocks/audio.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/biblical-quote.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/blockquote.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/blocks.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/buttons.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/dropdown-menu.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/image.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/index.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/list.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/media-popover.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/plate-button.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/popover.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/prayer_for_change.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/qa.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/resizable.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/separator.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/table-cell.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/table-row.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/table.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/text.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/blocks/video.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/floating-highlight-toolbar.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/highlight-button.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/highlight-decoration.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/highlight-leaf.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/highlights-dropdown.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/index.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/types.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/highlights/use-highlights.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/leafs/index.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/leafs/leafs.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/leafs/link.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/marks/index.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/marks/marks.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/utils/exitBreak.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/utils/index.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/utils/resetBlockType.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/utils/selectOnBackspace.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/utils/softBreak.d.ts.map +1 -1
- package/dist/src/components/editor/plugins/utils/utils.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/approved.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/busy.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/declined.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/default.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/focus.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/index.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/ispaid.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/locked.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/offline.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/online.d.ts.map +1 -1
- package/dist/src/components/iconography/avatar/icons/subscribed.d.ts.map +1 -1
- package/dist/src/components/input/time_input/time_input.d.ts.map +1 -1
- package/dist/src/components/media/video-player/playlist-item.d.ts.map +1 -1
- package/dist/src/components/surfaces/carousel/card/card.d.ts.map +1 -1
- package/dist/src/components/surfaces/carousel/card/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/components/editor/plugins/highlights/highlight-remove-popover.js +0 -41
- package/dist/components/editor/plugins/leafs/superscript-leaf.js +0 -6
- package/dist/components/editor/simple_editor/index.js +0 -1
- package/dist/src/components/editor/plugins/highlights/highlight-remove-popover.d.ts +0 -8
- package/dist/src/components/editor/plugins/highlights/highlight-remove-popover.d.ts.map +0 -1
- package/dist/src/components/editor/plugins/leafs/superscript-leaf.d.ts +0 -4
- package/dist/src/components/editor/plugins/leafs/superscript-leaf.d.ts.map +0 -1
- package/dist/styles/output.css +0 -1833
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("react"),r=require("react-dom"),o=require("styled-components");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(t);const s=o.styled.div`
|
|
2
|
-
position: absolute;
|
|
3
|
-
transform: translateX(-50%);
|
|
4
|
-
z-index: 9999;
|
|
5
|
-
padding: 4px;
|
|
6
|
-
background: white;
|
|
7
|
-
border: 1px solid var(--color-grey-8, #e5e7eb);
|
|
8
|
-
border-radius: 8px;
|
|
9
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
10
|
-
|
|
11
|
-
&::before {
|
|
12
|
-
content: '';
|
|
13
|
-
position: absolute;
|
|
14
|
-
top: -5px;
|
|
15
|
-
left: 50%;
|
|
16
|
-
transform: translateX(-50%);
|
|
17
|
-
width: 0;
|
|
18
|
-
height: 0;
|
|
19
|
-
border-left: 5px solid transparent;
|
|
20
|
-
border-right: 5px solid transparent;
|
|
21
|
-
border-bottom: 5px solid white;
|
|
22
|
-
}
|
|
23
|
-
`,d=o.styled.button`
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
gap: 6px;
|
|
27
|
-
background: none;
|
|
28
|
-
border: none;
|
|
29
|
-
color: var(--color-red-1, #ef4444);
|
|
30
|
-
font-size: 13px;
|
|
31
|
-
font-weight: 500;
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
padding: 6px 12px;
|
|
34
|
-
border-radius: 6px;
|
|
35
|
-
white-space: nowrap;
|
|
36
|
-
font-family: var(--font-inter);
|
|
37
|
-
|
|
38
|
-
&:hover {
|
|
39
|
-
background: var(--color-red-9, #fef2f2);
|
|
40
|
-
}
|
|
41
|
-
`,l=()=>e.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("polyline",{points:"3 6 5 6 21 6"}),e.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})]});exports.HighlightRemovePopover=({onRemove:t,enabled:o})=>{const[n,a]=i.default.useState(null),u=i.default.useRef(null);return i.default.useEffect(()=>{if(!o)return;const e=e=>{const t=e.target;if(u.current?.contains(t))return;const r=t.closest("[data-highlight-id]");if(!r)return void a(null);const o=r.getAttribute("data-highlight-id");if(!o)return;const n=window.getSelection();if(n&&!n.isCollapsed)return;e.preventDefault(),e.stopPropagation();const i=r.getBoundingClientRect();a({highlightId:o,top:i.bottom+window.scrollY+4,left:i.left+window.scrollX+i.width/2})};return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0)},[o]),i.default.useEffect(()=>{if(!n)return;const e=e=>{"Escape"===e.key&&a(null)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[n]),i.default.useEffect(()=>{if(!n)return;const e=e=>{u.current&&!u.current.contains(e.target)&&a(null)},t=setTimeout(()=>{document.addEventListener("mousedown",e)},50);return()=>{clearTimeout(t),document.removeEventListener("mousedown",e)}},[n]),n?r.createPortal(e.jsx(s,{ref:u,style:{top:n.top,left:n.left},children:e.jsxs(d,{onClick:e=>{e.preventDefault(),e.stopPropagation(),t(n.highlightId),a(null)},children:[e.jsx(l,{}),"Remove Highlight"]})}),document.body):null};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),r=require("react"),t=require("@udecode/plate-common"),i=require("styled-components");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const s=n(r).default.forwardRef(({children:r,...i},n)=>e.jsx(t.PlateLeaf,{ref:n,...i,children:e.jsx(a,{children:r})}));s.displayName="SuperscriptLeaf";const a=i.styled.sup`
|
|
2
|
-
font-size: 0.6em;
|
|
3
|
-
vertical-align: super;
|
|
4
|
-
line-height: 0;
|
|
5
|
-
font-weight: 500;
|
|
6
|
-
`;exports.SuperscriptLeaf=s;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./simple_editor.js");exports.SimpleEditor=e.SimpleEditor,exports.initialData=[{type:"h6",children:[{bold:!0,text:"Episode Summary"}]},{type:"blockquote",children:[{text:'"So I find this law at work: Although I want to do good, evil is right there with me. For in my inner being I delight in God\'s law; but I see another law at work in me, waging war against the law of my mind and making me a prisoner of the law of sin at work within me. What a wretched man I am! Who will rescue me from this body that is subject to death? Thanks be to God, who delivers me through Jesus Christ our Lord!" ('},{text:"Romans 7:21-25 NIV",bold:!0},{text:")"}]},{type:"p",children:[{text:"Is it possible for a man to love Christ with all his heart and yet struggle with sexual sin? The Apostle Paul understood the dichotomy between the flesh and the spirit. The former wants to serve the flesh, while the latter wants to serve Christ."}]},{type:"p",children:[{text:"Unfortunately, many spiritual leaders, with the best intentions, have mistakenly treated sexual bondage as a moral problem. Men have heard that if they pray harder, read their Bible more, act more Christ-like—if they try harder—they would find healing. Some men have even had their pastors lay hands on them, and the spiritual oppression may lift for a while; but because they have not been given a process for renewing their mind, they find themselves falling back into the same old habit."}]},{type:"p",children:[{text:"Failure to know where the battle occurs is detrimental because you'll keep trying to fix the problem with the wrong solution, often making matters worse. The battle for sexual purity is a battle of the mind, one that takes place in your brain. It is possible for a man to love Christ genuinely, but fail to stop his addiction on his own."}]},{type:"p",children:[{text:"Knowing how God designed your brain will change the way you approach your struggle with sexual bondage. In this lesson, we will explore the science behind sexual bondage and discover the role of neuroplasticity, the brain's ability to adapt and reorganize throughout life. You will receive practical approaches on how to retrain your brain. The goal is to renew your mind and be transformed into the image of Christ."}]},{type:"audio",children:[{text:""}],id:"145"},{type:"prayer_for_change",children:[{type:"h6",children:[{text:"Prayer for Change",bold:!0}]},{type:"p",children:[{text:"My Gracious Heavenly Father, I'm so thankful for the strength You've given me throughout this journey. While I know this is just the beginning of my healing, I'm confident You'll be with me. As I look to the future You have planned for me, help me continue moving forward in my restoration, not just for myself, but for my wife, my children, and the men and women you want me to help. In Jesus' name, Amen.",italic:!0}]}]}];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface HighlightRemovePopoverProps {
|
|
3
|
-
onRemove: (id: string) => void;
|
|
4
|
-
enabled: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const HighlightRemovePopover: ({ onRemove, enabled, }: HighlightRemovePopoverProps) => React.ReactPortal;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=highlight-remove-popover.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"highlight-remove-popover.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/highlights/highlight-remove-popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,2BAA2B;IACnC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,2BAGhC,2BAA2B,sBAsG7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"superscript-leaf.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/plugins/leafs/superscript-leaf.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAa,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGlE,eAAO,MAAM,eAAe,yFAS1B,CAAC"}
|