@soul-refiner/design-system 2.8.20 → 2.8.21-alpha.2
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/actions/upload/upload.js +1 -1
- package/dist/components/custom/help_center/help_center-auth.js +1 -0
- package/dist/components/custom/help_center/help_center-customModal.js +7 -0
- package/dist/components/custom/help_center/help_center-defaultArticle.js +60 -0
- package/dist/components/custom/help_center/help_center-editable-content.js +31 -0
- package/dist/components/custom/help_center/help_center-mainPage.js +32 -0
- package/dist/components/custom/help_center/help_center-sidebar.js +1 -0
- package/dist/components/custom/help_center/help_center.js +1 -0
- package/dist/components/custom/help_center/help_center_articlle-list.js +30 -0
- package/dist/components/custom/help_center/help_center_categoryList.js +55 -0
- package/dist/components/custom/help_center/help_center_dataStore.js +1 -0
- package/dist/components/custom/help_center/help_center_layout.js +64 -0
- package/dist/components/custom/help_center/help_center_sub-category.js +27 -0
- package/dist/components/custom/help_center/types.js +1 -0
- package/dist/components/editor/simple_editor/simple_editor.js +1 -1
- package/dist/components/input/filter/filter.js +3 -4
- package/dist/components/input/responsive-text_area/responsive_text_area.js +73 -0
- package/dist/components/media/audio-player/progress-bar.js +4 -0
- package/dist/components/surfaces/comment/comment.js +9 -9
- package/dist/components/surfaces/post/post.js +2 -2
- package/dist/index.js +1 -1
- package/dist/src/common/index.d.ts +0 -1
- package/dist/src/components/atoms/index.d.ts +0 -1
- package/dist/src/components/custom/help_center/help_center-auth.d.ts +7 -0
- package/dist/src/components/custom/help_center/help_center-customModal.d.ts +4 -0
- package/dist/src/components/custom/help_center/help_center-defaultArticle.d.ts +15 -0
- package/dist/src/components/custom/help_center/help_center-editable-content.d.ts +7 -0
- package/dist/src/components/custom/help_center/help_center-mainPage.d.ts +3 -0
- package/dist/src/components/custom/help_center/help_center-sidebar.d.ts +3 -0
- package/dist/src/components/custom/help_center/help_center.d.ts +13 -0
- package/dist/src/components/custom/help_center/help_center_articlle-list.d.ts +7 -0
- package/dist/src/components/custom/help_center/help_center_categoryList.d.ts +6 -0
- package/dist/src/components/custom/help_center/help_center_dataStore.d.ts +4 -0
- package/dist/src/components/custom/help_center/help_center_layout.d.ts +3 -0
- package/dist/src/components/custom/help_center/help_center_seedData.d.ts +2 -0
- package/dist/src/components/custom/help_center/help_center_sub-category.d.ts +7 -0
- package/dist/src/components/custom/help_center/index.d.ts +1 -0
- package/dist/src/components/custom/help_center/types.d.ts +124 -0
- package/dist/src/components/input/filter/filter.d.ts +3 -1
- package/dist/src/components/input/responsive-text_area/index.d.ts +2 -0
- package/dist/src/components/input/responsive-text_area/responsive_text_area.d.ts +16 -0
- package/dist/src/components/media/audio-player/progress-bar.d.ts +14 -0
- package/dist/src/utils/debounce.d.ts +1 -0
- package/dist/styles/output.css +1790 -0
- package/package.json +1 -1
- package/dist/common/regex.js +0 -1
- package/dist/components/atoms/highlighter/highlighter.js +0 -4
- package/dist/src/common/regex.d.ts +0 -1
- package/dist/src/components/atoms/highlighter/highlighter.d.ts +0 -12
- package/dist/src/components/atoms/highlighter/index.d.ts +0 -1
package/package.json
CHANGED
package/dist/common/regex.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const URL_REGEX=/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/gi;exports.URL_REGEX=URL_REGEX;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";var React=require("react"),styled=require("styled-components");function _interopDefaultCompat(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var React__default=_interopDefaultCompat(React),styled__default=_interopDefaultCompat(styled);const TOKEN="||&&||",Highlighter=({highlightRender:a,highlightSx:l,seperator:e,text:t})=>{const u=React__default.default.useId(),r=new RegExp(e,"gi");return r.test(t)?(e=t.split(" ").map(e=>r.test(e)?""+TOKEN+e+TOKEN:e).join(" ").split(TOKEN),React__default.default.createElement(React__default.default.Fragment,null,e.filter(String).map((e,t)=>r.test(e)?a?React__default.default.createElement(React__default.default.Fragment,{key:u+t},a(e)):React__default.default.createElement(Span,{key:u+t,$sx:l},e):React__default.default.createElement("span",{key:u+t},e)))):React__default.default.createElement(React__default.default.Fragment,null,t)},Span=styled__default.default.span`
|
|
3
|
-
${({$sx:e})=>e||""};
|
|
4
|
-
`;exports.Highlighter=Highlighter;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const URL_REGEX: RegExp;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface HighlighterProps {
|
|
3
|
-
/**@param highlightRender function that customizes how the highlighted sections will render */
|
|
4
|
-
highlightRender?: (text: string) => React.ReactElement;
|
|
5
|
-
/** @param highlightSx when @see highlightRender is undefined, specifies css to pass to the highlight */
|
|
6
|
-
highlightSx?: string;
|
|
7
|
-
/** @param seperator the sequence(s) upon which the text will be split */
|
|
8
|
-
seperator: string | RegExp;
|
|
9
|
-
/** @param text the text content */
|
|
10
|
-
text: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const Highlighter: ({ highlightRender, highlightSx, seperator, text, }: HighlighterProps) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Highlighter } from './highlighter';
|