@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.
Files changed (117) hide show
  1. package/dist/AIAvatar-NYAGMJJ3.png +0 -0
  2. package/dist/index.cjs +12803 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.js +12748 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/types/breakpoints/breakpoints.d.ts +1 -1
  7. package/dist/types/components/AI-feedback/AIFeedback.d.ts +2 -2
  8. package/dist/types/components/AIDTTypography/AIDTTypography.d.ts +15 -4
  9. package/dist/types/components/Modal/Modal.d.ts +1 -1
  10. package/dist/types/components/badge/Badge.d.ts +1 -1
  11. package/dist/types/components/base-input/BaseInput.d.ts +1 -1
  12. package/dist/types/components/button/Button.d.ts +2 -2
  13. package/dist/types/components/chat/Chat.d.ts +14 -4
  14. package/dist/types/components/chat/TypingIndicator.d.ts +1 -1
  15. package/dist/types/components/dialog/Dialog.d.ts +2 -2
  16. package/dist/types/components/dotted-pagination/DottedPagination.d.ts +1 -0
  17. package/dist/types/components/fluid/EliceBox.d.ts +3 -0
  18. package/dist/types/components/fluid/EliceFluidLayout.d.ts +46 -0
  19. package/dist/types/components/fluid/EliceStack.d.ts +3 -0
  20. package/dist/types/components/fluid/EliceTypography.d.ts +2 -0
  21. package/dist/types/components/fluid/constants.d.ts +9 -0
  22. package/dist/types/components/fluid/index.d.ts +7 -0
  23. package/dist/types/components/fluid/types.d.ts +15 -0
  24. package/dist/types/components/header-title/HeaderTitle.d.ts +1 -1
  25. package/dist/types/components/html-viewer/HtmlViewer.d.ts +9 -0
  26. package/dist/types/components/html-viewer/HtmlViewerContent.d.ts +6 -0
  27. package/dist/types/components/html-viewer/HtmlViewerContext.d.ts +13 -0
  28. package/dist/types/components/html-viewer/HtmlViewerHighlightLayer.d.ts +8 -0
  29. package/dist/types/components/html-viewer/HtmlViewerMemoMenu.d.ts +8 -0
  30. package/dist/types/components/html-viewer/HtmlViewerToolbar.d.ts +1 -0
  31. package/dist/types/components/html-viewer/HtmlViewerTypes.d.ts +106 -0
  32. package/dist/types/components/html-viewer/hooks/useAnchorResolver.d.ts +13 -0
  33. package/dist/types/components/html-viewer/hooks/useAnnotationStorage.d.ts +9 -0
  34. package/dist/types/components/html-viewer/hooks/useGestureStateMachine.d.ts +16 -0
  35. package/dist/types/components/html-viewer/hooks/useHighlightRects.d.ts +2 -0
  36. package/dist/types/components/html-viewer/hooks/useIntersectionVisibility.d.ts +8 -0
  37. package/dist/types/components/html-viewer/index.d.ts +2 -0
  38. package/dist/types/components/icon-button/IconButton.d.ts +2 -2
  39. package/dist/types/components/index.d.ts +2 -0
  40. package/dist/types/components/layout/Footer/LayoutFooterPaging.d.ts +2 -2
  41. package/dist/types/components/layout/Footer/LayoutFooterSubmit.d.ts +2 -1
  42. package/dist/types/components/layout/Header/LayoutHeaderSubTitle.d.ts +2 -2
  43. package/dist/types/components/layout/Header/LayoutHeaderTitle.d.ts +2 -2
  44. package/dist/types/components/layout/Layout.d.ts +9 -28
  45. package/dist/types/components/layout/index.d.ts +10 -16
  46. package/dist/types/components/pagination-button/PaginationButton.d.ts +1 -1
  47. package/dist/types/components/recorder/Recorder.d.ts +3 -3
  48. package/dist/types/components/recorder-chat/RecorderChat.d.ts +1 -1
  49. package/dist/types/components/recorder-chat/TypingIndicator.d.ts +1 -1
  50. package/dist/types/components/recorder-step/RecorderContext.d.ts +2 -1
  51. package/dist/types/components/recorder-step/RecorderStep.d.ts +3 -3
  52. package/dist/types/components/selection/Selection.d.ts +2 -2
  53. package/dist/types/components/sound-visualizer/SoundVisualizer.d.ts +1 -1
  54. package/dist/types/components/subtitle-button/SubtitleButton.d.ts +2 -2
  55. package/dist/types/components/table/ColInfoTable.d.ts +1 -1
  56. package/dist/types/components/table/RowInfoTable.d.ts +1 -1
  57. package/dist/types/components/table/Table.d.ts +1 -1
  58. package/dist/types/components/textarea/Textarea.d.ts +9 -3
  59. package/dist/types/components/tooltip/Tooltip.d.ts +7 -3
  60. package/dist/types/components/video/VideoPlayer.d.ts +1 -1
  61. package/dist/types/components/video/VideoV2.d.ts +3 -1
  62. package/dist/types/components/video/VideoV3.d.ts +37 -0
  63. package/dist/types/components/video/index.d.ts +2 -0
  64. package/dist/types/hooks/useAIDTMediaQuery.d.ts +5 -1
  65. package/dist/types/icons/MoreColumn.d.ts +1 -1
  66. package/dist/types/icons/QuestionBubble.d.ts +1 -1
  67. package/dist/types/icons/ReadyRecord.d.ts +1 -1
  68. package/dist/types/icons/RecordPause.d.ts +1 -1
  69. package/dist/types/icons/RecordPlay.d.ts +1 -1
  70. package/dist/types/icons/Recording.d.ts +1 -1
  71. package/dist/types/icons/ScrollMoreIcon.d.ts +1 -1
  72. package/dist/types/icons/SearchIcon.d.ts +1 -1
  73. package/dist/types/index.d.ts +2 -0
  74. package/dist/types/palettes/_typing.d.ts +1 -1
  75. package/dist/types/palettes/eliceDefault.d.ts +1 -1
  76. package/dist/types/palettes/type1.d.ts +1 -1
  77. package/dist/types/palettes/type2.d.ts +1 -1
  78. package/dist/types/theme/AIDTTheme.d.ts +1 -1
  79. package/dist/types/theme/_base.d.ts +1 -1
  80. package/dist/types/theme/createAIDTTheme.d.ts +2 -3
  81. package/dist/types/theme/createEliceThemeOverride.d.ts +5 -3
  82. package/dist/types/theme/transitions.d.ts +1 -1
  83. package/dist/types/tokens/breakpoints/breakpoints.d.ts +2 -2
  84. package/dist/types/tokens/colors/_typing.d.ts +1 -1
  85. package/dist/types/tokens/colors/bluepurple.d.ts +1 -1
  86. package/dist/types/tokens/colors/bluesky.d.ts +1 -1
  87. package/dist/types/tokens/colors/common.d.ts +1 -1
  88. package/dist/types/tokens/colors/gray.d.ts +1 -1
  89. package/dist/types/tokens/colors/green.d.ts +1 -1
  90. package/dist/types/tokens/colors/mint.d.ts +1 -1
  91. package/dist/types/tokens/colors/orange.d.ts +1 -1
  92. package/dist/types/tokens/colors/pink.d.ts +1 -1
  93. package/dist/types/tokens/colors/purple.d.ts +1 -1
  94. package/dist/types/tokens/colors/yellow.d.ts +1 -1
  95. package/dist/types/types/theme-augmentation.d.ts +14 -1
  96. package/dist/types/types/theme.types.d.ts +4 -2
  97. package/dist/types/typography/TypographyType.d.ts +798 -42
  98. package/dist/types/typography/index.d.ts +1 -0
  99. package/dist/types/typography/typography.d.ts +393 -45
  100. package/dist/types/typography/typographyFontFamily.d.ts +1 -0
  101. package/package.json +21 -17
  102. package/dist/cjs/index.js +0 -797
  103. package/dist/cjs/index.js.map +0 -1
  104. package/dist/es/index.js +0 -17963
  105. package/dist/es/index.js.map +0 -1
  106. package/dist/utils-B-OwYxKc.js +0 -2
  107. package/dist/utils-B-OwYxKc.js.map +0 -1
  108. package/dist/utils-C6l9edAI.mjs +0 -33
  109. package/dist/utils-C6l9edAI.mjs.map +0 -1
  110. package/dist/video-BVmBZcCY.mjs +0 -29748
  111. package/dist/video-BVmBZcCY.mjs.map +0 -1
  112. package/dist/video-De6bH9lK.js +0 -213
  113. package/dist/video-De6bH9lK.js.map +0 -1
  114. package/dist/video-utils-CSAdDJJN.js +0 -9
  115. package/dist/video-utils-CSAdDJJN.js.map +0 -1
  116. package/dist/video-utils-DfKS4cGg.mjs +0 -5735
  117. package/dist/video-utils-DfKS4cGg.mjs.map +0 -1
@@ -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]}
@@ -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]}