@elicecontents/content-ui 1.1.2 → 1.1.3-rc.1
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/AIAvatar-NYAGMJJ3.png +0 -0
- package/dist/index.cjs +12803 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +12748 -0
- package/dist/index.js.map +1 -0
- package/dist/types/breakpoints/breakpoints.d.ts +1 -1
- package/dist/types/components/AI-feedback/AIFeedback.d.ts +2 -2
- package/dist/types/components/AIDTTypography/AIDTTypography.d.ts +15 -4
- package/dist/types/components/Modal/Modal.d.ts +1 -1
- package/dist/types/components/badge/Badge.d.ts +1 -1
- package/dist/types/components/base-input/BaseInput.d.ts +1 -1
- package/dist/types/components/button/Button.d.ts +2 -2
- package/dist/types/components/chat/Chat.d.ts +14 -4
- package/dist/types/components/chat/TypingIndicator.d.ts +1 -1
- package/dist/types/components/dialog/Dialog.d.ts +2 -2
- package/dist/types/components/dotted-pagination/DottedPagination.d.ts +1 -0
- package/dist/types/components/fluid/EliceBox.d.ts +3 -0
- package/dist/types/components/fluid/EliceFluidLayout.d.ts +46 -0
- package/dist/types/components/fluid/EliceStack.d.ts +3 -0
- package/dist/types/components/fluid/EliceTypography.d.ts +2 -0
- package/dist/types/components/fluid/constants.d.ts +9 -0
- package/dist/types/components/fluid/index.d.ts +7 -0
- package/dist/types/components/fluid/types.d.ts +15 -0
- package/dist/types/components/header-title/HeaderTitle.d.ts +1 -1
- package/dist/types/components/html-viewer/HtmlViewer.d.ts +9 -0
- package/dist/types/components/html-viewer/HtmlViewerContent.d.ts +6 -0
- package/dist/types/components/html-viewer/HtmlViewerContext.d.ts +13 -0
- package/dist/types/components/html-viewer/HtmlViewerHighlightLayer.d.ts +8 -0
- package/dist/types/components/html-viewer/HtmlViewerMemoMenu.d.ts +8 -0
- package/dist/types/components/html-viewer/HtmlViewerToolbar.d.ts +1 -0
- package/dist/types/components/html-viewer/HtmlViewerTypes.d.ts +106 -0
- package/dist/types/components/html-viewer/hooks/useAnchorResolver.d.ts +13 -0
- package/dist/types/components/html-viewer/hooks/useAnnotationStorage.d.ts +9 -0
- package/dist/types/components/html-viewer/hooks/useGestureStateMachine.d.ts +16 -0
- package/dist/types/components/html-viewer/hooks/useHighlightRects.d.ts +2 -0
- package/dist/types/components/html-viewer/hooks/useIntersectionVisibility.d.ts +8 -0
- package/dist/types/components/html-viewer/index.d.ts +2 -0
- package/dist/types/components/icon-button/IconButton.d.ts +2 -2
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/layout/Footer/LayoutFooterPaging.d.ts +2 -2
- package/dist/types/components/layout/Footer/LayoutFooterSubmit.d.ts +2 -1
- package/dist/types/components/layout/Header/LayoutHeaderSubTitle.d.ts +2 -2
- package/dist/types/components/layout/Header/LayoutHeaderTitle.d.ts +2 -2
- package/dist/types/components/layout/Layout.d.ts +9 -28
- package/dist/types/components/layout/index.d.ts +10 -16
- package/dist/types/components/pagination-button/PaginationButton.d.ts +1 -1
- package/dist/types/components/recorder/Recorder.d.ts +3 -3
- package/dist/types/components/recorder-chat/RecorderChat.d.ts +1 -1
- package/dist/types/components/recorder-chat/TypingIndicator.d.ts +1 -1
- package/dist/types/components/recorder-step/RecorderContext.d.ts +2 -1
- package/dist/types/components/recorder-step/RecorderStep.d.ts +3 -3
- package/dist/types/components/selection/Selection.d.ts +2 -2
- package/dist/types/components/sound-visualizer/SoundVisualizer.d.ts +1 -1
- package/dist/types/components/subtitle-button/SubtitleButton.d.ts +2 -2
- package/dist/types/components/table/ColInfoTable.d.ts +1 -1
- package/dist/types/components/table/RowInfoTable.d.ts +1 -1
- package/dist/types/components/table/Table.d.ts +1 -1
- package/dist/types/components/textarea/Textarea.d.ts +9 -3
- package/dist/types/components/tooltip/Tooltip.d.ts +7 -3
- package/dist/types/components/video/VideoPlayer.d.ts +1 -1
- package/dist/types/components/video/VideoV2.d.ts +3 -1
- package/dist/types/components/video/VideoV3.d.ts +37 -0
- package/dist/types/components/video/index.d.ts +2 -0
- package/dist/types/hooks/useAIDTMediaQuery.d.ts +5 -1
- package/dist/types/icons/MoreColumn.d.ts +1 -1
- package/dist/types/icons/QuestionBubble.d.ts +1 -1
- package/dist/types/icons/ReadyRecord.d.ts +1 -1
- package/dist/types/icons/RecordPause.d.ts +1 -1
- package/dist/types/icons/RecordPlay.d.ts +1 -1
- package/dist/types/icons/Recording.d.ts +1 -1
- package/dist/types/icons/ScrollMoreIcon.d.ts +1 -1
- package/dist/types/icons/SearchIcon.d.ts +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/palettes/_typing.d.ts +1 -1
- package/dist/types/palettes/eliceDefault.d.ts +1 -1
- package/dist/types/palettes/type1.d.ts +1 -1
- package/dist/types/palettes/type2.d.ts +1 -1
- package/dist/types/theme/AIDTTheme.d.ts +1 -1
- package/dist/types/theme/_base.d.ts +1 -1
- package/dist/types/theme/createAIDTTheme.d.ts +2 -3
- package/dist/types/theme/createEliceThemeOverride.d.ts +5 -3
- package/dist/types/theme/transitions.d.ts +1 -1
- package/dist/types/tokens/breakpoints/breakpoints.d.ts +2 -2
- package/dist/types/tokens/colors/_typing.d.ts +1 -1
- package/dist/types/tokens/colors/bluepurple.d.ts +1 -1
- package/dist/types/tokens/colors/bluesky.d.ts +1 -1
- package/dist/types/tokens/colors/common.d.ts +1 -1
- package/dist/types/tokens/colors/gray.d.ts +1 -1
- package/dist/types/tokens/colors/green.d.ts +1 -1
- package/dist/types/tokens/colors/mint.d.ts +1 -1
- package/dist/types/tokens/colors/orange.d.ts +1 -1
- package/dist/types/tokens/colors/pink.d.ts +1 -1
- package/dist/types/tokens/colors/purple.d.ts +1 -1
- package/dist/types/tokens/colors/yellow.d.ts +1 -1
- package/dist/types/types/theme-augmentation.d.ts +14 -1
- package/dist/types/types/theme.types.d.ts +4 -2
- package/dist/types/typography/TypographyType.d.ts +798 -42
- package/dist/types/typography/index.d.ts +1 -0
- package/dist/types/typography/typography.d.ts +393 -45
- package/dist/types/typography/typographyFontFamily.d.ts +1 -0
- package/package.json +21 -17
- package/dist/cjs/index.js +0 -797
- package/dist/cjs/index.js.map +0 -1
- package/dist/es/index.js +0 -17963
- package/dist/es/index.js.map +0 -1
- package/dist/utils-B-OwYxKc.js +0 -2
- package/dist/utils-B-OwYxKc.js.map +0 -1
- package/dist/utils-C6l9edAI.mjs +0 -33
- package/dist/utils-C6l9edAI.mjs.map +0 -1
- package/dist/video-BVmBZcCY.mjs +0 -29748
- package/dist/video-BVmBZcCY.mjs.map +0 -1
- package/dist/video-De6bH9lK.js +0 -213
- package/dist/video-De6bH9lK.js.map +0 -1
- package/dist/video-utils-CSAdDJJN.js +0 -9
- package/dist/video-utils-CSAdDJJN.js.map +0 -1
- package/dist/video-utils-DfKS4cGg.mjs +0 -5735
- package/dist/video-utils-DfKS4cGg.mjs.map +0 -1
package/dist/utils-B-OwYxKc.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";function c(t){if(t===null||typeof t!="object")return!1;const n=Object.getPrototypeOf(t);return n!==null&&n!==Object.prototype&&Object.getPrototypeOf(n)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function u(t,n,e=".",f){if(!c(n))return u(t,{},e,f);const r=Object.assign({},n);for(const o in t){if(o==="__proto__"||o==="constructor")continue;const i=t[o];i!=null&&(f&&f(r,o,i,e)||(Array.isArray(i)&&Array.isArray(r[o])?r[o]=[...i,...r[o]]:c(i)&&c(r[o])?r[o]=u(i,r[o],(e?`${e}.`:"")+o.toString(),f):r[o]=i))}return r}function l(t){return(...n)=>n.reduce((e,f)=>u(e,f,"",t),{})}exports.createDefu=l;
|
|
2
|
-
//# sourceMappingURL=utils-B-OwYxKc.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils-B-OwYxKc.js","sources":["../../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs"],"sourcesContent":["function isPlainObject(value) {\n if (value === null || typeof value !== \"object\") {\n return false;\n }\n const prototype = Object.getPrototypeOf(value);\n if (prototype !== null && prototype !== Object.prototype && Object.getPrototypeOf(prototype) !== null) {\n return false;\n }\n if (Symbol.iterator in value) {\n return false;\n }\n if (Symbol.toStringTag in value) {\n return Object.prototype.toString.call(value) === \"[object Module]\";\n }\n return true;\n}\n\nfunction _defu(baseObject, defaults, namespace = \".\", merger) {\n if (!isPlainObject(defaults)) {\n return _defu(baseObject, {}, namespace, merger);\n }\n const object = Object.assign({}, defaults);\n for (const key in baseObject) {\n if (key === \"__proto__\" || key === \"constructor\") {\n continue;\n }\n const value = baseObject[key];\n if (value === null || value === void 0) {\n continue;\n }\n if (merger && merger(object, key, value, namespace)) {\n continue;\n }\n if (Array.isArray(value) && Array.isArray(object[key])) {\n object[key] = [...value, ...object[key]];\n } else if (isPlainObject(value) && isPlainObject(object[key])) {\n object[key] = _defu(\n value,\n object[key],\n (namespace ? `${namespace}.` : \"\") + key.toString(),\n merger\n );\n } else {\n object[key] = value;\n }\n }\n return object;\n}\nfunction createDefu(merger) {\n return (...arguments_) => (\n // eslint-disable-next-line unicorn/no-array-reduce\n arguments_.reduce((p, c) => _defu(p, c, \"\", merger), {})\n );\n}\nconst defu = createDefu();\nconst defuFn = createDefu((object, key, currentValue) => {\n if (object[key] !== void 0 && typeof currentValue === \"function\") {\n object[key] = currentValue(object[key]);\n return true;\n }\n});\nconst defuArrayFn = createDefu((object, key, currentValue) => {\n if (Array.isArray(object[key]) && typeof currentValue === \"function\") {\n object[key] = currentValue(object[key]);\n return true;\n }\n});\n\nexport { createDefu, defu as default, defu, defuArrayFn, defuFn };\n"],"names":["isPlainObject","value","prototype","_defu","baseObject","defaults","namespace","merger","object","key","createDefu","arguments_","p","c"],"mappings":"aAAA,SAASA,EAAcC,EAAO,CAC5B,GAAIA,IAAU,MAAQ,OAAOA,GAAU,SACrC,MAAO,GAET,MAAMC,EAAY,OAAO,eAAeD,CAAK,EAI7C,OAHIC,IAAc,MAAQA,IAAc,OAAO,WAAa,OAAO,eAAeA,CAAS,IAAM,MAG7F,OAAO,YAAYD,EACd,GAEL,OAAO,eAAeA,EACjB,OAAO,UAAU,SAAS,KAAKA,CAAK,IAAM,kBAE5C,EACT,CAEA,SAASE,EAAMC,EAAYC,EAAUC,EAAY,IAAKC,EAAQ,CAC5D,GAAI,CAACP,EAAcK,CAAQ,EACzB,OAAOF,EAAMC,EAAY,GAAIE,EAAWC,CAAM,EAEhD,MAAMC,EAAS,OAAO,OAAO,CAAA,EAAIH,CAAQ,EACzC,UAAWI,KAAOL,EAAY,CAC5B,GAAIK,IAAQ,aAAeA,IAAQ,cACjC,SAEF,MAAMR,EAAQG,EAAWK,CAAG,EACxBR,GAAU,OAGVM,GAAUA,EAAOC,EAAQC,EAAKR,EAAOK,CAAS,IAG9C,MAAM,QAAQL,CAAK,GAAK,MAAM,QAAQO,EAAOC,CAAG,CAAC,EACnDD,EAAOC,CAAG,EAAI,CAAC,GAAGR,EAAO,GAAGO,EAAOC,CAAG,CAAC,EAC9BT,EAAcC,CAAK,GAAKD,EAAcQ,EAAOC,CAAG,CAAC,EAC1DD,EAAOC,CAAG,EAAIN,EACZF,EACAO,EAAOC,CAAG,GACTH,EAAY,GAAGA,CAAS,IAAM,IAAMG,EAAI,SAAQ,EACjDF,CACR,EAEMC,EAAOC,CAAG,EAAIR,GAElB,CACA,OAAOO,CACT,CACA,SAASE,EAAWH,EAAQ,CAC1B,MAAO,IAAII,IAETA,EAAW,OAAO,CAACC,EAAGC,IAAMV,EAAMS,EAAGC,EAAG,GAAIN,CAAM,EAAG,CAAA,CAAE,CAE3D","x_google_ignoreList":[0]}
|
package/dist/utils-C6l9edAI.mjs
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
function c(t) {
|
|
2
|
-
if (t === null || typeof t != "object")
|
|
3
|
-
return !1;
|
|
4
|
-
const n = Object.getPrototypeOf(t);
|
|
5
|
-
return n !== null && n !== Object.prototype && Object.getPrototypeOf(n) !== null || Symbol.iterator in t ? !1 : Symbol.toStringTag in t ? Object.prototype.toString.call(t) === "[object Module]" : !0;
|
|
6
|
-
}
|
|
7
|
-
function u(t, n, e = ".", f) {
|
|
8
|
-
if (!c(n))
|
|
9
|
-
return u(t, {}, e, f);
|
|
10
|
-
const r = Object.assign({}, n);
|
|
11
|
-
for (const o in t) {
|
|
12
|
-
if (o === "__proto__" || o === "constructor")
|
|
13
|
-
continue;
|
|
14
|
-
const i = t[o];
|
|
15
|
-
i != null && (f && f(r, o, i, e) || (Array.isArray(i) && Array.isArray(r[o]) ? r[o] = [...i, ...r[o]] : c(i) && c(r[o]) ? r[o] = u(
|
|
16
|
-
i,
|
|
17
|
-
r[o],
|
|
18
|
-
(e ? `${e}.` : "") + o.toString(),
|
|
19
|
-
f
|
|
20
|
-
) : r[o] = i));
|
|
21
|
-
}
|
|
22
|
-
return r;
|
|
23
|
-
}
|
|
24
|
-
function l(t) {
|
|
25
|
-
return (...n) => (
|
|
26
|
-
// eslint-disable-next-line unicorn/no-array-reduce
|
|
27
|
-
n.reduce((e, f) => u(e, f, "", t), {})
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
export {
|
|
31
|
-
l as c
|
|
32
|
-
};
|
|
33
|
-
//# sourceMappingURL=utils-C6l9edAI.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils-C6l9edAI.mjs","sources":["../../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs"],"sourcesContent":["function isPlainObject(value) {\n if (value === null || typeof value !== \"object\") {\n return false;\n }\n const prototype = Object.getPrototypeOf(value);\n if (prototype !== null && prototype !== Object.prototype && Object.getPrototypeOf(prototype) !== null) {\n return false;\n }\n if (Symbol.iterator in value) {\n return false;\n }\n if (Symbol.toStringTag in value) {\n return Object.prototype.toString.call(value) === \"[object Module]\";\n }\n return true;\n}\n\nfunction _defu(baseObject, defaults, namespace = \".\", merger) {\n if (!isPlainObject(defaults)) {\n return _defu(baseObject, {}, namespace, merger);\n }\n const object = Object.assign({}, defaults);\n for (const key in baseObject) {\n if (key === \"__proto__\" || key === \"constructor\") {\n continue;\n }\n const value = baseObject[key];\n if (value === null || value === void 0) {\n continue;\n }\n if (merger && merger(object, key, value, namespace)) {\n continue;\n }\n if (Array.isArray(value) && Array.isArray(object[key])) {\n object[key] = [...value, ...object[key]];\n } else if (isPlainObject(value) && isPlainObject(object[key])) {\n object[key] = _defu(\n value,\n object[key],\n (namespace ? `${namespace}.` : \"\") + key.toString(),\n merger\n );\n } else {\n object[key] = value;\n }\n }\n return object;\n}\nfunction createDefu(merger) {\n return (...arguments_) => (\n // eslint-disable-next-line unicorn/no-array-reduce\n arguments_.reduce((p, c) => _defu(p, c, \"\", merger), {})\n );\n}\nconst defu = createDefu();\nconst defuFn = createDefu((object, key, currentValue) => {\n if (object[key] !== void 0 && typeof currentValue === \"function\") {\n object[key] = currentValue(object[key]);\n return true;\n }\n});\nconst defuArrayFn = createDefu((object, key, currentValue) => {\n if (Array.isArray(object[key]) && typeof currentValue === \"function\") {\n object[key] = currentValue(object[key]);\n return true;\n }\n});\n\nexport { createDefu, defu as default, defu, defuArrayFn, defuFn };\n"],"names":["isPlainObject","value","prototype","_defu","baseObject","defaults","namespace","merger","object","key","createDefu","arguments_","p","c"],"mappings":"AAAA,SAASA,EAAcC,GAAO;AAC5B,MAAIA,MAAU,QAAQ,OAAOA,KAAU;AACrC,WAAO;AAET,QAAMC,IAAY,OAAO,eAAeD,CAAK;AAI7C,SAHIC,MAAc,QAAQA,MAAc,OAAO,aAAa,OAAO,eAAeA,CAAS,MAAM,QAG7F,OAAO,YAAYD,IACd,KAEL,OAAO,eAAeA,IACjB,OAAO,UAAU,SAAS,KAAKA,CAAK,MAAM,oBAE5C;AACT;AAEA,SAASE,EAAMC,GAAYC,GAAUC,IAAY,KAAKC,GAAQ;AAC5D,MAAI,CAACP,EAAcK,CAAQ;AACzB,WAAOF,EAAMC,GAAY,IAAIE,GAAWC,CAAM;AAEhD,QAAMC,IAAS,OAAO,OAAO,CAAA,GAAIH,CAAQ;AACzC,aAAWI,KAAOL,GAAY;AAC5B,QAAIK,MAAQ,eAAeA,MAAQ;AACjC;AAEF,UAAMR,IAAQG,EAAWK,CAAG;AAC5B,IAAIR,KAAU,SAGVM,KAAUA,EAAOC,GAAQC,GAAKR,GAAOK,CAAS,MAG9C,MAAM,QAAQL,CAAK,KAAK,MAAM,QAAQO,EAAOC,CAAG,CAAC,IACnDD,EAAOC,CAAG,IAAI,CAAC,GAAGR,GAAO,GAAGO,EAAOC,CAAG,CAAC,IAC9BT,EAAcC,CAAK,KAAKD,EAAcQ,EAAOC,CAAG,CAAC,IAC1DD,EAAOC,CAAG,IAAIN;AAAA,MACZF;AAAA,MACAO,EAAOC,CAAG;AAAA,OACTH,IAAY,GAAGA,CAAS,MAAM,MAAMG,EAAI,SAAQ;AAAA,MACjDF;AAAA,IACR,IAEMC,EAAOC,CAAG,IAAIR;AAAA,EAElB;AACA,SAAOO;AACT;AACA,SAASE,EAAWH,GAAQ;AAC1B,SAAO,IAAII;AAAA;AAAA,IAETA,EAAW,OAAO,CAACC,GAAGC,MAAMV,EAAMS,GAAGC,GAAG,IAAIN,CAAM,GAAG,CAAA,CAAE;AAAA;AAE3D;","x_google_ignoreList":[0]}
|