@soul-refiner/design-system 2.0.0-alpha.18 → 2.0.0-alpha.19
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/_virtual/_cloneBuffer.js +5 -0
- package/dist/_virtual/_commonjsHelpers.js +10 -0
- package/dist/_virtual/_nodeUtil.js +5 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index2.js +5 -0
- package/dist/_virtual/index3.js +5 -0
- package/dist/_virtual/isBuffer.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.development.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.production.min.js +5 -0
- package/dist/_virtual/util.js +5 -0
- package/dist/_virtual/with-selector.development.js +5 -0
- package/dist/_virtual/with-selector.js +5 -0
- package/dist/_virtual/with-selector.production.min.js +5 -0
- package/dist/node_modules/@udecode/plate-alignment/dist/index.js +98 -0
- package/dist/node_modules/@udecode/plate-core/dist/index.js +2656 -0
- package/dist/node_modules/@udecode/plate-link/dist/index.js +585 -0
- package/dist/node_modules/@udecode/plate-media/dist/index.js +211 -0
- package/dist/node_modules/@udecode/plate-normalizers/dist/index.js +20 -0
- package/dist/node_modules/@udecode/plate-resizable/dist/index.js +334 -0
- package/dist/node_modules/@udecode/plate-table/dist/index.js +1371 -0
- package/dist/node_modules/@udecode/plate-utils/dist/index.js +127 -0
- package/dist/node_modules/@udecode/slate/dist/index.js +316 -0
- package/dist/node_modules/@udecode/slate-react/dist/index.js +35 -0
- package/dist/node_modules/@udecode/slate-utils/dist/index.js +230 -0
- package/dist/node_modules/@udecode/utils/dist/index.js +61 -0
- package/dist/node_modules/clsx/dist/clsx.m.js +8 -0
- package/dist/node_modules/dequal/dist/index.js +88 -0
- package/dist/node_modules/immer/dist/immer.js +968 -0
- package/dist/node_modules/is-hotkey/lib/index.js +253 -0
- package/dist/node_modules/jotai/esm/react/utils.js +29 -0
- package/dist/node_modules/jotai/esm/react.js +116 -0
- package/dist/node_modules/jotai/esm/vanilla/utils.js +44 -0
- package/dist/node_modules/jotai/esm/vanilla.js +602 -0
- package/dist/node_modules/jotai-optics/dist/index.modern.js +8 -0
- package/dist/node_modules/jotai-x/dist/index.js +259 -0
- package/dist/node_modules/js-video-url-parser/lib/base.js +9 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/allocine.js +38 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/canalplus.js +50 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/coub.js +58 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/dailymotion.js +74 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/facebook.js +82 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/loom.js +55 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/soundcloud.js +129 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/teachertube.js +114 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/ted.js +100 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/tiktok.js +54 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/twitch.js +154 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/vimeo.js +93 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/wistia.js +116 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/youku.js +87 -0
- package/dist/node_modules/js-video-url-parser/lib/provider/youtube.js +209 -0
- package/dist/node_modules/js-video-url-parser/lib/urlParser.js +88 -0
- package/dist/node_modules/js-video-url-parser/lib/util.js +112 -0
- package/dist/node_modules/lodash/_DataView.js +14 -0
- package/dist/node_modules/lodash/_Hash.js +42 -0
- package/dist/node_modules/lodash/_ListCache.js +42 -0
- package/dist/node_modules/lodash/_Map.js +14 -0
- package/dist/node_modules/lodash/_MapCache.js +42 -0
- package/dist/node_modules/lodash/_Promise.js +14 -0
- package/dist/node_modules/lodash/_Set.js +14 -0
- package/dist/node_modules/lodash/_SetCache.js +35 -0
- package/dist/node_modules/lodash/_Stack.js +38 -0
- package/dist/node_modules/lodash/_Symbol.js +12 -0
- package/dist/node_modules/lodash/_Uint8Array.js +12 -0
- package/dist/node_modules/lodash/_WeakMap.js +14 -0
- package/dist/node_modules/lodash/_apply.js +26 -0
- package/dist/node_modules/lodash/_arrayAggregator.js +27 -0
- package/dist/node_modules/lodash/_arrayEach.js +27 -0
- package/dist/node_modules/lodash/_arrayFilter.js +30 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js +60 -0
- package/dist/node_modules/lodash/_arrayMap.js +26 -0
- package/dist/node_modules/lodash/_arrayPush.js +25 -0
- package/dist/node_modules/lodash/_arraySome.js +28 -0
- package/dist/node_modules/lodash/_assignMergeValue.js +27 -0
- package/dist/node_modules/lodash/_assignValue.js +35 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +27 -0
- package/dist/node_modules/lodash/_baseAggregator.js +27 -0
- package/dist/node_modules/lodash/_baseAssign.js +24 -0
- package/dist/node_modules/lodash/_baseAssignIn.js +24 -0
- package/dist/node_modules/lodash/_baseAssignValue.js +31 -0
- package/dist/node_modules/lodash/_baseClone.js +193 -0
- package/dist/node_modules/lodash/_baseCreate.js +36 -0
- package/dist/node_modules/lodash/_baseEach.js +21 -0
- package/dist/node_modules/lodash/_baseFlatten.js +45 -0
- package/dist/node_modules/lodash/_baseFor.js +22 -0
- package/dist/node_modules/lodash/_baseForOwn.js +23 -0
- package/dist/node_modules/lodash/_baseGet.js +31 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js +27 -0
- package/dist/node_modules/lodash/_baseGetTag.js +36 -0
- package/dist/node_modules/lodash/_baseHasIn.js +18 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +25 -0
- package/dist/node_modules/lodash/_baseIsEqual.js +35 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +96 -0
- package/dist/node_modules/lodash/_baseIsMap.js +25 -0
- package/dist/node_modules/lodash/_baseIsMatch.js +69 -0
- package/dist/node_modules/lodash/_baseIsNative.js +56 -0
- package/dist/node_modules/lodash/_baseIsSet.js +25 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js +68 -0
- package/dist/node_modules/lodash/_baseIteratee.js +41 -0
- package/dist/node_modules/lodash/_baseKeys.js +37 -0
- package/dist/node_modules/lodash/_baseKeysIn.js +41 -0
- package/dist/node_modules/lodash/_baseMap.js +29 -0
- package/dist/node_modules/lodash/_baseMatches.js +30 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js +45 -0
- package/dist/node_modules/lodash/_baseMerge.js +54 -0
- package/dist/node_modules/lodash/_baseMergeDeep.js +114 -0
- package/dist/node_modules/lodash/_baseProperty.js +19 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js +22 -0
- package/dist/node_modules/lodash/_baseRest.js +25 -0
- package/dist/node_modules/lodash/_baseSetToString.js +30 -0
- package/dist/node_modules/lodash/_baseSlice.js +36 -0
- package/dist/node_modules/lodash/_baseTimes.js +25 -0
- package/dist/node_modules/lodash/_baseToString.js +46 -0
- package/dist/node_modules/lodash/_baseUnary.js +19 -0
- package/dist/node_modules/lodash/_baseUnset.js +29 -0
- package/dist/node_modules/lodash/_baseValues.js +25 -0
- package/dist/node_modules/lodash/_cacheHas.js +18 -0
- package/dist/node_modules/lodash/_castPath.js +30 -0
- package/dist/node_modules/lodash/_cloneArrayBuffer.js +22 -0
- package/dist/node_modules/lodash/_cloneBuffer.js +48 -0
- package/dist/node_modules/lodash/_cloneDataView.js +22 -0
- package/dist/node_modules/lodash/_cloneRegExp.js +22 -0
- package/dist/node_modules/lodash/_cloneSymbol.js +24 -0
- package/dist/node_modules/lodash/_cloneTypedArray.js +22 -0
- package/dist/node_modules/lodash/_copyArray.js +25 -0
- package/dist/node_modules/lodash/_copyObject.js +47 -0
- package/dist/node_modules/lodash/_copySymbols.js +23 -0
- package/dist/node_modules/lodash/_copySymbolsIn.js +23 -0
- package/dist/node_modules/lodash/_coreJsData.js +12 -0
- package/dist/node_modules/lodash/_createAggregator.js +32 -0
- package/dist/node_modules/lodash/_createAssigner.js +44 -0
- package/dist/node_modules/lodash/_createBaseEach.js +38 -0
- package/dist/node_modules/lodash/_createBaseFor.js +30 -0
- package/dist/node_modules/lodash/_customDefaultsMerge.js +35 -0
- package/dist/node_modules/lodash/_customOmitClone.js +22 -0
- package/dist/node_modules/lodash/_defineProperty.js +17 -0
- package/dist/node_modules/lodash/_equalArrays.js +92 -0
- package/dist/node_modules/lodash/_equalByTag.js +123 -0
- package/dist/node_modules/lodash/_equalObjects.js +96 -0
- package/dist/node_modules/lodash/_flatRest.js +24 -0
- package/dist/node_modules/lodash/_freeGlobal.js +11 -0
- package/dist/node_modules/lodash/_getAllKeys.js +24 -0
- package/dist/node_modules/lodash/_getAllKeysIn.js +25 -0
- package/dist/node_modules/lodash/_getMapData.js +24 -0
- package/dist/node_modules/lodash/_getMatchData.js +31 -0
- package/dist/node_modules/lodash/_getNative.js +24 -0
- package/dist/node_modules/lodash/_getPrototype.js +12 -0
- package/dist/node_modules/lodash/_getRawTag.js +52 -0
- package/dist/node_modules/lodash/_getSymbols.js +37 -0
- package/dist/node_modules/lodash/_getSymbolsIn.js +34 -0
- package/dist/node_modules/lodash/_getTag.js +70 -0
- package/dist/node_modules/lodash/_getValue.js +18 -0
- package/dist/node_modules/lodash/_hasPath.js +50 -0
- package/dist/node_modules/lodash/_hashClear.js +21 -0
- package/dist/node_modules/lodash/_hashDelete.js +22 -0
- package/dist/node_modules/lodash/_hashGet.js +36 -0
- package/dist/node_modules/lodash/_hashHas.js +29 -0
- package/dist/node_modules/lodash/_hashSet.js +29 -0
- package/dist/node_modules/lodash/_initCloneArray.js +31 -0
- package/dist/node_modules/lodash/_initCloneByTag.js +87 -0
- package/dist/node_modules/lodash/_initCloneObject.js +26 -0
- package/dist/node_modules/lodash/_isFlattenable.js +28 -0
- package/dist/node_modules/lodash/_isIndex.js +30 -0
- package/dist/node_modules/lodash/_isIterateeCall.js +39 -0
- package/dist/node_modules/lodash/_isKey.js +36 -0
- package/dist/node_modules/lodash/_isKeyable.js +20 -0
- package/dist/node_modules/lodash/_isMasked.js +26 -0
- package/dist/node_modules/lodash/_isPrototype.js +23 -0
- package/dist/node_modules/lodash/_isStrictComparable.js +21 -0
- package/dist/node_modules/lodash/_listCacheClear.js +18 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +41 -0
- package/dist/node_modules/lodash/_listCacheGet.js +25 -0
- package/dist/node_modules/lodash/_listCacheHas.js +22 -0
- package/dist/node_modules/lodash/_listCacheSet.js +32 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +29 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +24 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +22 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +22 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +28 -0
- package/dist/node_modules/lodash/_mapToArray.js +23 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js +25 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +32 -0
- package/dist/node_modules/lodash/_nativeCreate.js +12 -0
- package/dist/node_modules/lodash/_nativeKeys.js +12 -0
- package/dist/node_modules/lodash/_nativeKeysIn.js +25 -0
- package/dist/node_modules/lodash/_nodeUtil.js +43 -0
- package/dist/node_modules/lodash/_objectToString.js +27 -0
- package/dist/node_modules/lodash/_overArg.js +20 -0
- package/dist/node_modules/lodash/_overRest.js +42 -0
- package/dist/node_modules/lodash/_parent.js +23 -0
- package/dist/node_modules/lodash/_root.js +15 -0
- package/dist/node_modules/lodash/_safeGet.js +26 -0
- package/dist/node_modules/lodash/_setCacheAdd.js +24 -0
- package/dist/node_modules/lodash/_setCacheHas.js +19 -0
- package/dist/node_modules/lodash/_setToArray.js +23 -0
- package/dist/node_modules/lodash/_setToString.js +21 -0
- package/dist/node_modules/lodash/_shortOut.js +42 -0
- package/dist/node_modules/lodash/_stackClear.js +21 -0
- package/dist/node_modules/lodash/_stackDelete.js +23 -0
- package/dist/node_modules/lodash/_stackGet.js +19 -0
- package/dist/node_modules/lodash/_stackHas.js +19 -0
- package/dist/node_modules/lodash/_stackSet.js +42 -0
- package/dist/node_modules/lodash/_stringToPath.js +33 -0
- package/dist/node_modules/lodash/_toKey.js +27 -0
- package/dist/node_modules/lodash/_toSource.js +31 -0
- package/dist/node_modules/lodash/castArray.js +55 -0
- package/dist/node_modules/lodash/cloneDeep.js +40 -0
- package/dist/node_modules/lodash/constant.js +31 -0
- package/dist/node_modules/lodash/defaults.js +69 -0
- package/dist/node_modules/lodash/defaultsDeep.js +44 -0
- package/dist/node_modules/lodash/eq.js +42 -0
- package/dist/node_modules/lodash/flatten.js +28 -0
- package/dist/node_modules/lodash/get.js +39 -0
- package/dist/node_modules/lodash/hasIn.js +41 -0
- package/dist/node_modules/lodash/identity.js +26 -0
- package/dist/node_modules/lodash/isArguments.js +43 -0
- package/dist/node_modules/lodash/isArray.js +31 -0
- package/dist/node_modules/lodash/isArrayLike.js +40 -0
- package/dist/node_modules/lodash/isArrayLikeObject.js +40 -0
- package/dist/node_modules/lodash/isBuffer.js +52 -0
- package/dist/node_modules/lodash/isFunction.js +44 -0
- package/dist/node_modules/lodash/isLength.js +40 -0
- package/dist/node_modules/lodash/isMap.js +35 -0
- package/dist/node_modules/lodash/isObject.js +36 -0
- package/dist/node_modules/lodash/isObjectLike.js +34 -0
- package/dist/node_modules/lodash/isPlainObject.js +70 -0
- package/dist/node_modules/lodash/isSet.js +35 -0
- package/dist/node_modules/lodash/isSymbol.js +36 -0
- package/dist/node_modules/lodash/isTypedArray.js +35 -0
- package/dist/node_modules/lodash/keyBy.js +48 -0
- package/dist/node_modules/lodash/keys.js +45 -0
- package/dist/node_modules/lodash/keysIn.js +40 -0
- package/dist/node_modules/lodash/last.js +25 -0
- package/dist/node_modules/lodash/map.js +67 -0
- package/dist/node_modules/lodash/memoize.js +79 -0
- package/dist/node_modules/lodash/merge.js +51 -0
- package/dist/node_modules/lodash/mergeWith.js +46 -0
- package/dist/node_modules/lodash/omit.js +75 -0
- package/dist/node_modules/lodash/property.js +41 -0
- package/dist/node_modules/lodash/stubArray.js +28 -0
- package/dist/node_modules/lodash/stubFalse.js +23 -0
- package/dist/node_modules/lodash/toPlainObject.js +39 -0
- package/dist/node_modules/lodash/toString.js +34 -0
- package/dist/node_modules/lodash/values.js +46 -0
- package/dist/node_modules/lodash.mapvalues/index.js +2290 -0
- package/dist/node_modules/optics-ts/dist/mjs/index.js +31 -0
- package/dist/node_modules/optics-ts/dist/mjs/internals.js +460 -0
- package/dist/node_modules/proxy-compare/dist/index.modern.js +7 -0
- package/dist/node_modules/react-hotkeys-hook/dist/react-hotkeys-hook.esm.js +395 -0
- package/dist/node_modules/react-tracked/dist/index.modern.js +48 -0
- package/dist/node_modules/use-deep-compare/dist-web/index.js +35 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +181 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js +32 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +254 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js +30 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +21 -0
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js +19 -0
- package/dist/node_modules/zustand/esm/middleware.js +551 -0
- package/dist/node_modules/zustand/esm/traditional.js +25 -0
- package/dist/node_modules/zustand/esm/vanilla.js +34 -0
- package/dist/node_modules/zustand-x/dist/index.js +217 -0
- package/dist/src/common/styles.js +12 -12
- package/dist/src/components/actions/button/button.js +11 -10
- package/dist/src/components/actions/dropdown/dropdown.js +5 -5
- package/dist/src/components/actions/rate/rate.js +2 -2
- package/dist/src/components/actions/switch/switch.js +3 -3
- package/dist/src/components/actions/toggle/toggle.js +4 -4
- package/dist/src/components/actions/upload/upload.js +3 -3
- package/dist/src/components/atoms/box/box.js +2 -2
- package/dist/src/components/atoms/typography/display.js +2 -2
- package/dist/src/components/atoms/typography/heading.js +2 -2
- package/dist/src/components/atoms/typography/paragraph.js +2 -2
- package/dist/src/components/atoms/typography/typography.js +2 -2
- package/dist/src/components/card/action/action.js +6 -6
- package/dist/src/components/card/audio/audio.js +5 -5
- package/dist/src/components/card/feature/feature.js +7 -7
- package/dist/src/components/card/meeting/meeting.js +6 -6
- package/dist/src/components/card/person/person.js +5 -5
- package/dist/src/components/card/price/price.js +4 -4
- package/dist/src/components/card/regular/regular.js +2 -2
- package/dist/src/components/card/styles.js +2 -2
- package/dist/src/components/card/video/video.js +5 -5
- package/dist/src/components/card/written/written.js +5 -5
- package/dist/src/components/custom/courses_selection/courses_selection.js +5 -5
- package/dist/src/components/custom/users_selection/users_selection.js +6 -6
- package/dist/src/components/editor/editor.js +2 -2
- package/dist/src/components/editor/navbar/alignment_dropdown.js +3 -3
- package/dist/src/components/editor/navbar/button_modal.js +2 -2
- package/dist/src/components/editor/navbar/navbar.js +6 -6
- package/dist/src/components/editor/plugins/blocks/buttons.js +3 -3
- package/dist/src/components/editor/plugins/blocks/image.js +12 -11
- package/dist/src/components/editor/plugins/blocks/list.js +2 -2
- package/dist/src/components/editor/plugins/blocks/media-popover.js +9 -7
- package/dist/src/components/editor/plugins/blocks/qa.js +2 -2
- package/dist/src/components/editor/plugins/blocks/resizable.js +3 -3
- package/dist/src/components/editor/plugins/blocks/table-cell.js +7 -7
- package/dist/src/components/editor/plugins/blocks/table-row.js +2 -2
- package/dist/src/components/editor/plugins/blocks/table.js +16 -14
- package/dist/src/components/editor/plugins/leafs/leafs.js +2 -2
- package/dist/src/components/editor/plugins/leafs/link.js +2 -2
- package/dist/src/components/editor/plugins/plate.js +3 -3
- package/dist/src/components/editor/simple_editor/navbar.js +4 -4
- package/dist/src/components/editor/simple_editor/simple_editor.js +3 -3
- package/dist/src/components/editor/styles/menu_button.js +2 -2
- package/dist/src/components/feedback/animated_toast/animated_toast.js +3 -3
- package/dist/src/components/feedback/badge/badge.js +3 -3
- package/dist/src/components/feedback/banner/banner.js +2 -2
- package/dist/src/components/feedback/chip/chip.js +3 -3
- package/dist/src/components/feedback/loader/loader.js +4 -3
- package/dist/src/components/feedback/notification/notification.js +2 -2
- package/dist/src/components/feedback/progress/progress.js +5 -5
- package/dist/src/components/feedback/toast/toast.js +3 -3
- package/dist/src/components/iconography/avatar/avatar.js +6 -6
- package/dist/src/components/iconography/icon/icon.js +2 -2
- package/dist/src/components/input/calendar/calendar.js +13 -13
- package/dist/src/components/input/checkbox/checkbox.js +2 -2
- package/dist/src/components/input/date/date.js +13 -13
- package/dist/src/components/input/filter/filter.js +11 -10
- package/dist/src/components/input/filter/filter_option.js +3 -3
- package/dist/src/components/input/radio/radio.js +3 -3
- package/dist/src/components/input/search/search.js +4 -4
- package/dist/src/components/input/select/select.js +3 -3
- package/dist/src/components/input/text_area/text_area.js +6 -6
- package/dist/src/components/input/text_input/text_input.js +7 -7
- package/dist/src/components/input/time/time.js +3 -3
- package/dist/src/components/media/video-player/playlist-item.js +3 -3
- package/dist/src/components/media/video-player/video.js +6 -6
- package/dist/src/components/navigation/breadcrumb/breadcrumb.js +3 -3
- package/dist/src/components/navigation/inner/inner.js +8 -8
- package/dist/src/components/navigation/tabs/tabs.js +4 -4
- package/dist/src/components/surfaces/accordion/accordion.js +3 -3
- package/dist/src/components/surfaces/calendar_date/calendar_date.js +6 -6
- package/dist/src/components/surfaces/carousel/card/card.js +4 -4
- package/dist/src/components/surfaces/comment/comment.js +10 -10
- package/dist/src/components/surfaces/drawer/drawer.js +6 -6
- package/dist/src/components/surfaces/message/message.js +2 -2
- package/dist/src/components/surfaces/modal/modal.js +3 -3
- package/dist/src/components/surfaces/post/post.js +9 -9
- package/dist/src/components/table/table/table.js +7 -7
- package/dist/src/index.js +0 -1
- package/package.json +2 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var Image = require('next/image');
|
|
6
|
-
var
|
|
6
|
+
var styled = require('styled-components');
|
|
7
7
|
var box = require('../../atoms/box/box.js');
|
|
8
8
|
var heading = require('../../atoms/typography/heading.js');
|
|
9
9
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
@@ -42,7 +42,7 @@ const AudioEpisodeCard = ({ actions, actionDropdown, content, cta, href, image,
|
|
|
42
42
|
")"),
|
|
43
43
|
React__default.default.createElement(box.Box, { "$align": "center", "$dir": "row", "$gap": 8 }, React__default.default.Children.toArray(actions)))))));
|
|
44
44
|
};
|
|
45
|
-
const Wrapper =
|
|
45
|
+
const Wrapper = styled.styled.a `
|
|
46
46
|
cursor: pointer;
|
|
47
47
|
display: block;
|
|
48
48
|
position: relative;
|
|
@@ -114,7 +114,7 @@ const Wrapper = styledComponents.styled.a `
|
|
|
114
114
|
|
|
115
115
|
${({ $sx }) => ($sx ? $sx : '')};
|
|
116
116
|
`;
|
|
117
|
-
const Figure =
|
|
117
|
+
const Figure = styled.styled.figure `
|
|
118
118
|
margin: 0px;
|
|
119
119
|
border-radius: 16px;
|
|
120
120
|
|
|
@@ -128,13 +128,13 @@ const Figure = styledComponents.styled.figure `
|
|
|
128
128
|
aspect-ratio: 228 / 228;
|
|
129
129
|
}
|
|
130
130
|
`;
|
|
131
|
-
const Figcaption =
|
|
131
|
+
const Figcaption = styled.styled.figcaption `
|
|
132
132
|
display: flex;
|
|
133
133
|
flex-flow: column nowrap;
|
|
134
134
|
gap: 8px;
|
|
135
135
|
padding: 8px;
|
|
136
136
|
`;
|
|
137
|
-
const DropdownWrapper =
|
|
137
|
+
const DropdownWrapper = styled.styled.div `
|
|
138
138
|
position: absolute;
|
|
139
139
|
top: 8px;
|
|
140
140
|
right: 8px;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var Image = require('next/image');
|
|
6
|
-
var
|
|
6
|
+
var styled = require('styled-components');
|
|
7
7
|
var box = require('../../atoms/box/box.js');
|
|
8
8
|
var button = require('../../actions/button/button.js');
|
|
9
9
|
var modal = require('../../surfaces/modal/modal.js');
|
|
@@ -87,10 +87,10 @@ const FeatureCard = ({ content = '', editable, href, image, onDelete, onSave, sx
|
|
|
87
87
|
}
|
|
88
88
|
` }))))))));
|
|
89
89
|
};
|
|
90
|
-
const Wrapper =
|
|
90
|
+
const Wrapper = styled.styled.div `
|
|
91
91
|
text-decoration: none;
|
|
92
92
|
`;
|
|
93
|
-
const Figure =
|
|
93
|
+
const Figure = styled.styled.figure `
|
|
94
94
|
max-width: min-content;
|
|
95
95
|
box-sizing: border-box;
|
|
96
96
|
display: flex;
|
|
@@ -155,7 +155,7 @@ const Figure = styledComponents.styled.figure `
|
|
|
155
155
|
|
|
156
156
|
${({ $sx }) => ($sx ? $sx : '')};
|
|
157
157
|
`;
|
|
158
|
-
const Title =
|
|
158
|
+
const Title = styled.styled.figcaption `
|
|
159
159
|
position: relative;
|
|
160
160
|
padding-right: 32px;
|
|
161
161
|
color: var(--color-grey-2);
|
|
@@ -166,7 +166,7 @@ const Title = styledComponents.styled.figcaption `
|
|
|
166
166
|
letter-spacing: -0.252px;
|
|
167
167
|
user-select: none;
|
|
168
168
|
`;
|
|
169
|
-
const Content =
|
|
169
|
+
const Content = styled.styled.figcaption `
|
|
170
170
|
font-size: 14px;
|
|
171
171
|
font-family: var(--font-inter);
|
|
172
172
|
font-weight: 400;
|
|
@@ -179,7 +179,7 @@ const Content = styledComponents.styled.figcaption `
|
|
|
179
179
|
-webkit-line-clamp: 1;
|
|
180
180
|
-webkit-box-orient: vertical;
|
|
181
181
|
`;
|
|
182
|
-
const EditTitle =
|
|
182
|
+
const EditTitle = styled.styled.input `
|
|
183
183
|
width: calc(100% - 24px);
|
|
184
184
|
padding: 12px;
|
|
185
185
|
background-color: var(--color-white);
|
|
@@ -192,7 +192,7 @@ const EditTitle = styledComponents.styled.input `
|
|
|
192
192
|
border-radius: 8px;
|
|
193
193
|
outline: none;
|
|
194
194
|
`;
|
|
195
|
-
const EditContent =
|
|
195
|
+
const EditContent = styled.styled(EditTitle) `
|
|
196
196
|
padding: 6px 12px;
|
|
197
197
|
font-size: 14px;
|
|
198
198
|
font-family: var(--font-inter);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var Image = require('next/image');
|
|
6
|
-
var
|
|
6
|
+
var styled = require('styled-components');
|
|
7
7
|
var box = require('../../atoms/box/box.js');
|
|
8
8
|
var heading = require('../../atoms/typography/heading.js');
|
|
9
9
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
@@ -87,7 +87,7 @@ const MeetingCard = ({ href, image, sx, title, actions, course, startDate, endDa
|
|
|
87
87
|
React__default.default.createElement(paragraph.P, { as: "span", "$color": "grey-3", "$lineHeight": 20, "$fontSize": 14 }, location))),
|
|
88
88
|
React__default.default.createElement(box.Box, { "$display": "flex", "$dir": "row", "$gap": 8, sx: "margin-top: 32px; width: 100%;" }, React__default.default.Children.toArray(actions)))));
|
|
89
89
|
};
|
|
90
|
-
const Wrapper =
|
|
90
|
+
const Wrapper = styled.styled.div `
|
|
91
91
|
min-width: 312px;
|
|
92
92
|
position: relative;
|
|
93
93
|
display: block;
|
|
@@ -119,18 +119,18 @@ const Wrapper = styledComponents.styled.div `
|
|
|
119
119
|
|
|
120
120
|
${({ $sx }) => ($sx ? $sx : '')};
|
|
121
121
|
`;
|
|
122
|
-
const MeetingInformation =
|
|
122
|
+
const MeetingInformation = styled.styled.div `
|
|
123
123
|
display: flex;
|
|
124
124
|
flex-direction: column;
|
|
125
125
|
gap: 16px;
|
|
126
126
|
margin-top: 16px;
|
|
127
127
|
height: 128px;
|
|
128
128
|
`;
|
|
129
|
-
const Figure =
|
|
129
|
+
const Figure = styled.styled.figure `
|
|
130
130
|
position: relative;
|
|
131
131
|
margin: 0;
|
|
132
132
|
`;
|
|
133
|
-
const OverlayBottomContainer =
|
|
133
|
+
const OverlayBottomContainer = styled.styled.div `
|
|
134
134
|
position: absolute;
|
|
135
135
|
right: 0;
|
|
136
136
|
bottom: 0;
|
|
@@ -139,7 +139,7 @@ const OverlayBottomContainer = styledComponents.styled.div `
|
|
|
139
139
|
display: flex;
|
|
140
140
|
gap: 8px;
|
|
141
141
|
`;
|
|
142
|
-
const OverlayTopContainer =
|
|
142
|
+
const OverlayTopContainer = styled.styled.div `
|
|
143
143
|
position: absolute;
|
|
144
144
|
right: 0;
|
|
145
145
|
top: 0;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var Image = require('next/image');
|
|
6
|
-
var
|
|
6
|
+
var styled = require('styled-components');
|
|
7
7
|
var box = require('../../atoms/box/box.js');
|
|
8
8
|
var button = require('../../actions/button/button.js');
|
|
9
9
|
var dropdown = require('../../actions/dropdown/dropdown.js');
|
|
@@ -27,7 +27,7 @@ const PersonCard = ({ actions, dotsActions, href, image, subtitle, sx, title, })
|
|
|
27
27
|
React__default.default.createElement(paragraph.P, { as: "span", "$color": "white", "$fontSize": 14, "$lineHeight": 20 }, subtitle),
|
|
28
28
|
actions && (React__default.default.createElement(box.Box, { "$display": "flex", "$dir": "row", "$gap": 8, sx: "margin-top: 16px;" }, React__default.default.Children.toArray(actions)))))));
|
|
29
29
|
};
|
|
30
|
-
const Wrapper =
|
|
30
|
+
const Wrapper = styled.styled.div `
|
|
31
31
|
width: 312px;
|
|
32
32
|
height: 400px;
|
|
33
33
|
display: block;
|
|
@@ -44,7 +44,7 @@ const Wrapper = styledComponents.styled.div `
|
|
|
44
44
|
object-fit: cover;
|
|
45
45
|
}
|
|
46
46
|
`;
|
|
47
|
-
const Shadow =
|
|
47
|
+
const Shadow = styled.styled.div `
|
|
48
48
|
border-radius: 16px;
|
|
49
49
|
position: absolute;
|
|
50
50
|
top: 0px;
|
|
@@ -55,7 +55,7 @@ const Shadow = styledComponents.styled.div `
|
|
|
55
55
|
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 66.67%, #000 98.25%),
|
|
56
56
|
transparent 50% / cover no-repeat;
|
|
57
57
|
`;
|
|
58
|
-
const Person =
|
|
58
|
+
const Person = styled.styled.figure `
|
|
59
59
|
position: relative;
|
|
60
60
|
width: 100%;
|
|
61
61
|
height: 100%;
|
|
@@ -71,7 +71,7 @@ const Person = styledComponents.styled.figure `
|
|
|
71
71
|
|
|
72
72
|
${({ $sx }) => ($sx ? $sx : '')};
|
|
73
73
|
`;
|
|
74
|
-
const Figcaption =
|
|
74
|
+
const Figcaption = styled.styled.figcaption `
|
|
75
75
|
position: relative;
|
|
76
76
|
width: 100%;
|
|
77
77
|
box-sizing: border-box;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var
|
|
5
|
+
var styled = require('styled-components');
|
|
6
6
|
var box = require('../../atoms/box/box.js');
|
|
7
7
|
var button = require('../../actions/button/button.js');
|
|
8
8
|
var heading = require('../../atoms/typography/heading.js');
|
|
@@ -50,7 +50,7 @@ const PriceCard = ({ actions, content, dotsActions, featureTitle, features, labe
|
|
|
50
50
|
React__default.default.createElement(checkmark.Checkmark, { color: "green-5", sx: "padding: 2px; border-radius: 50%; background-color: var(--color-green-9);" }),
|
|
51
51
|
React__default.default.createElement(paragraph.P, { "$fontSize": 14, "$lineHeight": 20 }, item))))))));
|
|
52
52
|
};
|
|
53
|
-
const Price =
|
|
53
|
+
const Price = styled.styled.figure `
|
|
54
54
|
position: relative;
|
|
55
55
|
z-index: 1;
|
|
56
56
|
margin: 0px;
|
|
@@ -70,7 +70,7 @@ const Price = styledComponents.styled.figure `
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
`;
|
|
73
|
-
const Label =
|
|
73
|
+
const Label = styled.styled.div `
|
|
74
74
|
max-width: calc(100% - 32px);
|
|
75
75
|
box-sizing: border-box;
|
|
76
76
|
padding: 8px 24px;
|
|
@@ -79,7 +79,7 @@ const Label = styledComponents.styled.div `
|
|
|
79
79
|
box-shadow: var(--elevation-2);
|
|
80
80
|
border-bottom: 1px solid var(--color-grey-9);
|
|
81
81
|
`;
|
|
82
|
-
const Divider =
|
|
82
|
+
const Divider = styled.styled.div `
|
|
83
83
|
height: 1px;
|
|
84
84
|
width: 100%;
|
|
85
85
|
box-sizing: border-box;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var Image = require('next/image');
|
|
6
|
-
var
|
|
6
|
+
var styled = require('styled-components');
|
|
7
7
|
var box = require('../../atoms/box/box.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -16,7 +16,7 @@ const RegularCard = ({ children, href, image, sx, }) => {
|
|
|
16
16
|
React__default.default.createElement(Image__default.default, { alt: "", height: 352, quality: 100, src: image, width: 352 }),
|
|
17
17
|
React__default.default.createElement(box.Box, { "$dir": "column", "$padding": 24 }, children)));
|
|
18
18
|
};
|
|
19
|
-
const Wrapper =
|
|
19
|
+
const Wrapper = styled.styled.div `
|
|
20
20
|
position: relative;
|
|
21
21
|
display: block;
|
|
22
22
|
text-decoration: none;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var styled = require('styled-components');
|
|
5
5
|
var box = require('../atoms/box/box.js');
|
|
6
6
|
|
|
7
|
-
const PurchaseTextWrapper =
|
|
7
|
+
const PurchaseTextWrapper = styled.styled(box.Box) `
|
|
8
8
|
position: absolute;
|
|
9
9
|
top: 16px;
|
|
10
10
|
left: 16px;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var Image = require('next/image');
|
|
6
|
-
var
|
|
6
|
+
var styled = require('styled-components');
|
|
7
7
|
var box = require('../../atoms/box/box.js');
|
|
8
8
|
var heading = require('../../atoms/typography/heading.js');
|
|
9
9
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
@@ -42,7 +42,7 @@ const VideoEpisodeCard = ({ actions, actionDropdown, content, cta, href, image,
|
|
|
42
42
|
")"),
|
|
43
43
|
React__default.default.createElement(box.Box, { "$align": "center", "$dir": "row", "$gap": 8 }, React__default.default.Children.toArray(actions)))))));
|
|
44
44
|
};
|
|
45
|
-
const Wrapper =
|
|
45
|
+
const Wrapper = styled.styled.a `
|
|
46
46
|
cursor: pointer;
|
|
47
47
|
display: block;
|
|
48
48
|
position: relative;
|
|
@@ -109,7 +109,7 @@ const Wrapper = styledComponents.styled.a `
|
|
|
109
109
|
|
|
110
110
|
${({ $sx }) => ($sx ? $sx : '')};
|
|
111
111
|
`;
|
|
112
|
-
const Figure =
|
|
112
|
+
const Figure = styled.styled.figure `
|
|
113
113
|
max-width: 410px;
|
|
114
114
|
width: max-content;
|
|
115
115
|
margin: 0px;
|
|
@@ -125,13 +125,13 @@ const Figure = styledComponents.styled.figure `
|
|
|
125
125
|
border-radius: 16px;
|
|
126
126
|
}
|
|
127
127
|
`;
|
|
128
|
-
const Figcaption =
|
|
128
|
+
const Figcaption = styled.styled.figcaption `
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-flow: column nowrap;
|
|
131
131
|
gap: 8px;
|
|
132
132
|
padding: 8px;
|
|
133
133
|
`;
|
|
134
|
-
const DropdownWrapper =
|
|
134
|
+
const DropdownWrapper = styled.styled.div `
|
|
135
135
|
position: absolute;
|
|
136
136
|
top: 8px;
|
|
137
137
|
right: 8px;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var Image = require('next/image');
|
|
6
|
-
var
|
|
6
|
+
var styled = require('styled-components');
|
|
7
7
|
var box = require('../../atoms/box/box.js');
|
|
8
8
|
var heading = require('../../atoms/typography/heading.js');
|
|
9
9
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
@@ -42,7 +42,7 @@ const WrittenEpisodeCard = ({ actions, actionDropdown, content, cta, href, image
|
|
|
42
42
|
")"),
|
|
43
43
|
React__default.default.createElement(box.Box, { "$align": "center", "$dir": "row", "$gap": 8 }, React__default.default.Children.toArray(actions)))))));
|
|
44
44
|
};
|
|
45
|
-
const Wrapper =
|
|
45
|
+
const Wrapper = styled.styled.a `
|
|
46
46
|
cursor: pointer;
|
|
47
47
|
display: block;
|
|
48
48
|
position: relative;
|
|
@@ -114,7 +114,7 @@ const Wrapper = styledComponents.styled.a `
|
|
|
114
114
|
|
|
115
115
|
${({ $sx }) => ($sx ? $sx : '')};
|
|
116
116
|
`;
|
|
117
|
-
const Figure =
|
|
117
|
+
const Figure = styled.styled.figure `
|
|
118
118
|
margin: 0px;
|
|
119
119
|
border-radius: 16px;
|
|
120
120
|
|
|
@@ -128,13 +128,13 @@ const Figure = styledComponents.styled.figure `
|
|
|
128
128
|
aspect-ratio: 149 / 213;
|
|
129
129
|
}
|
|
130
130
|
`;
|
|
131
|
-
const Figcaption =
|
|
131
|
+
const Figcaption = styled.styled.figcaption `
|
|
132
132
|
display: flex;
|
|
133
133
|
flex-flow: column nowrap;
|
|
134
134
|
gap: 8px;
|
|
135
135
|
padding: 8px;
|
|
136
136
|
`;
|
|
137
|
-
const DropdownWrapper =
|
|
137
|
+
const DropdownWrapper = styled.styled.div `
|
|
138
138
|
position: absolute;
|
|
139
139
|
top: 8px;
|
|
140
140
|
right: 8px;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var Image = require('next/image');
|
|
6
|
-
var
|
|
6
|
+
var styled = require('styled-components');
|
|
7
7
|
var button = require('../../actions/button/button.js');
|
|
8
8
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
9
9
|
var box = require('../../atoms/box/box.js');
|
|
@@ -81,13 +81,13 @@ const CoursesSelection = ({ closeOnChange = true, closeOnBlur = true, disabled =
|
|
|
81
81
|
}) })));
|
|
82
82
|
})))));
|
|
83
83
|
};
|
|
84
|
-
const Wrapper =
|
|
84
|
+
const Wrapper = styled.styled.div `
|
|
85
85
|
position: relative;
|
|
86
86
|
display: block;
|
|
87
87
|
outline: none;
|
|
88
88
|
${({ $sx }) => ($sx ? $sx : '')}
|
|
89
89
|
`;
|
|
90
|
-
const Container =
|
|
90
|
+
const Container = styled.styled.div `
|
|
91
91
|
min-width: 280px;
|
|
92
92
|
max-height: 600px;
|
|
93
93
|
display: flex;
|
|
@@ -106,7 +106,7 @@ const Container = styledComponents.styled.div `
|
|
|
106
106
|
|
|
107
107
|
${({ $offset }) => $offset ? `transform: translate(${$offset[0]}px, ${$offset[1]}px);` : ''}
|
|
108
108
|
`;
|
|
109
|
-
const OptionWrapper =
|
|
109
|
+
const OptionWrapper = styled.styled.div `
|
|
110
110
|
position: relative;
|
|
111
111
|
padding: 12px 16px;
|
|
112
112
|
user-select: none;
|
|
@@ -133,7 +133,7 @@ const OptionWrapper = styledComponents.styled.div `
|
|
|
133
133
|
`;
|
|
134
134
|
}}
|
|
135
135
|
`;
|
|
136
|
-
const IconWrapper =
|
|
136
|
+
const IconWrapper = styled.styled.div `
|
|
137
137
|
padding: 12px;
|
|
138
138
|
border-radius: 8px;
|
|
139
139
|
background-color: ${({ $color }) => $color};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var Image = require('next/image');
|
|
6
|
-
var
|
|
6
|
+
var styled = require('styled-components');
|
|
7
7
|
var button = require('../../actions/button/button.js');
|
|
8
8
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
9
9
|
var search = require('../../input/search/search.js');
|
|
@@ -62,13 +62,13 @@ const UsersSelection = ({ closeOnBlur = true, disabled = false, offset = [0, 0],
|
|
|
62
62
|
React__default.default.createElement(checkbox.Checkbox, { selected: userIsChecked[user.id], sx: "margin-left: auto;" }))),
|
|
63
63
|
React__default.default.createElement(Spacer, null))))))));
|
|
64
64
|
};
|
|
65
|
-
const Wrapper =
|
|
65
|
+
const Wrapper = styled.styled.div `
|
|
66
66
|
position: relative;
|
|
67
67
|
display: block;
|
|
68
68
|
outline: none;
|
|
69
69
|
${({ $sx }) => ($sx ? $sx : '')}
|
|
70
70
|
`;
|
|
71
|
-
const Container =
|
|
71
|
+
const Container = styled.styled.div `
|
|
72
72
|
min-width: 280px;
|
|
73
73
|
max-height: 600px;
|
|
74
74
|
display: flex;
|
|
@@ -88,7 +88,7 @@ const Container = styledComponents.styled.div `
|
|
|
88
88
|
|
|
89
89
|
${({ $offset }) => $offset ? `transform: translate(${$offset[0]}px, ${$offset[1]}px);` : ''}
|
|
90
90
|
`;
|
|
91
|
-
const OptionWrapper =
|
|
91
|
+
const OptionWrapper = styled.styled.div `
|
|
92
92
|
position: relative;
|
|
93
93
|
padding: 12px 16px;
|
|
94
94
|
user-select: none;
|
|
@@ -115,13 +115,13 @@ const OptionWrapper = styledComponents.styled.div `
|
|
|
115
115
|
`;
|
|
116
116
|
}}
|
|
117
117
|
`;
|
|
118
|
-
const StyledImage =
|
|
118
|
+
const StyledImage = styled.styled(Image__default.default) `
|
|
119
119
|
border-radius: 50%;
|
|
120
120
|
width: 40px;
|
|
121
121
|
height: 40px;
|
|
122
122
|
margin-right: 16px;
|
|
123
123
|
`;
|
|
124
|
-
const Spacer =
|
|
124
|
+
const Spacer = styled.styled.div `
|
|
125
125
|
width: 100%;
|
|
126
126
|
height: 1px;
|
|
127
127
|
background-color: var(--color-grey-8);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var
|
|
5
|
+
var styled = require('styled-components');
|
|
6
6
|
var plate = require('@udecode/plate');
|
|
7
7
|
var constants = require('./constants.js');
|
|
8
8
|
var context = require('./context.js');
|
|
@@ -37,7 +37,7 @@ const Editor = ({ commentInputLoader, commentLoader, editable, handleVideoClick,
|
|
|
37
37
|
}
|
|
38
38
|
} })))));
|
|
39
39
|
};
|
|
40
|
-
const Wrapper =
|
|
40
|
+
const Wrapper = styled.styled.div `
|
|
41
41
|
* {
|
|
42
42
|
font-family: var(--font-inter);
|
|
43
43
|
outline: none;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var plate = require('@udecode/plate');
|
|
5
|
-
var
|
|
5
|
+
var index = require('../../../../node_modules/@udecode/plate-alignment/dist/index.js');
|
|
6
6
|
var dropdown = require('../../actions/dropdown/dropdown.js');
|
|
7
7
|
var align_center = require('../../../icons/text/align_center.js');
|
|
8
8
|
var align_justified = require('../../../icons/text/align_justified.js');
|
|
@@ -34,8 +34,8 @@ const items = [
|
|
|
34
34
|
},
|
|
35
35
|
];
|
|
36
36
|
const AlignmentDropdown = ({ editorRef }) => {
|
|
37
|
-
const alignState =
|
|
38
|
-
const { radioGroupProps } =
|
|
37
|
+
const alignState = index.useAlignDropdownMenuState();
|
|
38
|
+
const { radioGroupProps } = index.useAlignDropdownMenu(alignState);
|
|
39
39
|
const current = radioGroupProps.value;
|
|
40
40
|
const IconValue = items.find((item) => item.value === radioGroupProps.value)?.icon ??
|
|
41
41
|
player_list_play.PlayerListPlay;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var
|
|
4
|
+
var styled = require('styled-components');
|
|
5
5
|
var box = require('../../atoms/box/box.js');
|
|
6
6
|
var button = require('../../actions/button/button.js');
|
|
7
7
|
var heading = require('../../atoms/typography/heading.js');
|
|
@@ -46,7 +46,7 @@ const ButtonModal = ({ onButtonInsert }) => {
|
|
|
46
46
|
React__default.default.createElement(modal.Modal.Dismiss, null,
|
|
47
47
|
React__default.default.createElement(button.Button, { size: "small", sx: "flex: 1;", onClick: handleButtonInsert }, "Confirm")))))));
|
|
48
48
|
};
|
|
49
|
-
const IconWrapper =
|
|
49
|
+
const IconWrapper = styled.styled.div `
|
|
50
50
|
height: 48px;
|
|
51
51
|
width: 48px;
|
|
52
52
|
box-sizing: border-box;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var
|
|
4
|
+
var styled = require('styled-components');
|
|
5
5
|
var plate = require('@udecode/plate');
|
|
6
6
|
var tooltip = require('../../feedback/tooltip/tooltip.js');
|
|
7
7
|
var bold = require('../../../icons/basic/bold.js');
|
|
@@ -162,14 +162,14 @@ const EditorBar = () => {
|
|
|
162
162
|
} },
|
|
163
163
|
React__default.default.createElement(grid.Grid, { size: 24, color: "grey-5" })))))));
|
|
164
164
|
};
|
|
165
|
-
const Wrapper =
|
|
165
|
+
const Wrapper = styled.styled.div `
|
|
166
166
|
position: sticky;
|
|
167
167
|
z-index: 2;
|
|
168
168
|
left: 0;
|
|
169
169
|
right: 0;
|
|
170
170
|
top: 0;
|
|
171
171
|
`;
|
|
172
|
-
const Menu =
|
|
172
|
+
const Menu = styled.styled.nav `
|
|
173
173
|
display: flex;
|
|
174
174
|
gap: 12px;
|
|
175
175
|
justify-content: center;
|
|
@@ -179,14 +179,14 @@ const Menu = styledComponents.styled.nav `
|
|
|
179
179
|
padding: 14px 24px;
|
|
180
180
|
background-color: var(--color-white);
|
|
181
181
|
`;
|
|
182
|
-
const MenuSection =
|
|
182
|
+
const MenuSection = styled.styled.div `
|
|
183
183
|
display: flex;
|
|
184
184
|
gap: 16px;
|
|
185
185
|
align-items: center;
|
|
186
186
|
width: fit-content;
|
|
187
187
|
flex-shrink: 0;
|
|
188
188
|
`;
|
|
189
|
-
const MenuButton =
|
|
189
|
+
const MenuButton = styled.styled.button `
|
|
190
190
|
padding: 2px;
|
|
191
191
|
border: none;
|
|
192
192
|
outline: none;
|
|
@@ -215,7 +215,7 @@ const MenuButton = styledComponents.styled.button `
|
|
|
215
215
|
|
|
216
216
|
background-color: ${({ $active }) => $active ? 'var(--color-grey-9)' : 'transparent'};
|
|
217
217
|
`;
|
|
218
|
-
const Divider =
|
|
218
|
+
const Divider = styled.styled.div `
|
|
219
219
|
width: 1px;
|
|
220
220
|
height: 28px;
|
|
221
221
|
background-color: var(--color-grey-9);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var
|
|
4
|
+
var styled = require('styled-components');
|
|
5
5
|
var plate = require('@udecode/plate');
|
|
6
6
|
var button = require('../../../actions/button/button.js');
|
|
7
7
|
var constants = require('../../constants.js');
|
|
@@ -51,7 +51,7 @@ const Button = React__default.default.forwardRef(({ children, editor, element, .
|
|
|
51
51
|
}
|
|
52
52
|
` }, children))));
|
|
53
53
|
});
|
|
54
|
-
const ColorMenuComponent =
|
|
54
|
+
const ColorMenuComponent = styled.styled.div `
|
|
55
55
|
display: flex;
|
|
56
56
|
justify-content: center;
|
|
57
57
|
align-items: center;
|
|
@@ -65,7 +65,7 @@ const ColorMenuComponent = styledComponents.styled.div `
|
|
|
65
65
|
box-shadow: var(--elevation-1);
|
|
66
66
|
background-color: var(--color-white);
|
|
67
67
|
`;
|
|
68
|
-
const ColorItem =
|
|
68
|
+
const ColorItem = styled.styled.div `
|
|
69
69
|
width: 24px;
|
|
70
70
|
height: 24px;
|
|
71
71
|
border-radius: 50%;
|
|
@@ -2,20 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var cn = require('@udecode/cn');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var plateResizable = require('@udecode/plate-resizable');
|
|
5
|
+
var index$1 = require('../../../../../node_modules/@udecode/plate-media/dist/index.js');
|
|
6
|
+
var index$3 = require('../../../../../node_modules/@udecode/plate-resizable/dist/index.js');
|
|
8
7
|
var resizable = require('./resizable.js');
|
|
9
8
|
var context = require('../../context.js');
|
|
10
9
|
var mediaPopover = require('./media-popover.js');
|
|
10
|
+
var index = require('../../../../../node_modules/@udecode/plate-core/dist/index.js');
|
|
11
|
+
var index$2 = require('../../../../../node_modules/@udecode/plate-utils/dist/index.js');
|
|
11
12
|
|
|
12
13
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
13
14
|
|
|
14
15
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
15
16
|
|
|
16
|
-
const ImageElement =
|
|
17
|
+
const ImageElement = index.withHOC(index$3.ResizableProvider, cn.withRef(({ className, children, element, nodeProps, ...props }, ref) => {
|
|
17
18
|
const { imageSrcLoader } = React__default.default.useContext(context.EditorContext);
|
|
18
|
-
const { readOnly, focused, selected, align = 'center' } =
|
|
19
|
+
const { readOnly, focused, selected, align = 'center' } = index$1.useMediaState();
|
|
19
20
|
const { id, url, ...restElement } = element;
|
|
20
21
|
const [src, setSrc] = React__default.default.useState(null);
|
|
21
22
|
React__default.default.useEffect(() => {
|
|
@@ -28,29 +29,29 @@ const ImageElement = plateCommon.withHOC(plateResizable.ResizableProvider, cn.wi
|
|
|
28
29
|
})();
|
|
29
30
|
}, [id, imageSrcLoader]);
|
|
30
31
|
if (!src && !!url) {
|
|
31
|
-
return (React__default.default.createElement(mediaPopover.MediaPopover, { pluginKey:
|
|
32
|
-
React__default.default.createElement(
|
|
32
|
+
return (React__default.default.createElement(mediaPopover.MediaPopover, { pluginKey: index$1.ELEMENT_IMAGE },
|
|
33
|
+
React__default.default.createElement(index$2.PlateElement, { ref: ref, element: element, className: cn.cn('py-2.5', className), ...props },
|
|
33
34
|
React__default.default.createElement("figure", { className: "group relative m-0", contentEditable: false },
|
|
34
35
|
React__default.default.createElement(resizable.Resizable, { align: align, options: {
|
|
35
36
|
align,
|
|
36
37
|
readOnly,
|
|
37
38
|
} },
|
|
38
39
|
React__default.default.createElement(resizable.ResizeHandle, { options: { direction: 'left' }, className: resizable.mediaResizeHandleVariants({ direction: 'left' }) }),
|
|
39
|
-
React__default.default.createElement(
|
|
40
|
+
React__default.default.createElement(index$1.Image, { className: cn.cn('block w-full max-w-full cursor-pointer object-cover px-0', 'rounded-sm', focused && selected && 'ring-2 ring-ring ring-offset-2'), alt: "", ...nodeProps }),
|
|
40
41
|
React__default.default.createElement(resizable.ResizeHandle, { options: { direction: 'right' }, className: resizable.mediaResizeHandleVariants({
|
|
41
42
|
direction: 'right',
|
|
42
43
|
}) }))),
|
|
43
44
|
children)));
|
|
44
45
|
}
|
|
45
|
-
return (React__default.default.createElement(mediaPopover.MediaPopover, { pluginKey:
|
|
46
|
-
React__default.default.createElement(
|
|
46
|
+
return (React__default.default.createElement(mediaPopover.MediaPopover, { pluginKey: index$1.ELEMENT_IMAGE },
|
|
47
|
+
React__default.default.createElement(index$2.PlateElement, { ref: ref, className: cn.cn('py-2.5', className), element: restElement, ...props },
|
|
47
48
|
!src ? null : (React__default.default.createElement("figure", { className: "group relative m-0", contentEditable: false },
|
|
48
49
|
React__default.default.createElement(resizable.Resizable, { align: align, options: {
|
|
49
50
|
align,
|
|
50
51
|
readOnly,
|
|
51
52
|
} },
|
|
52
53
|
React__default.default.createElement(resizable.ResizeHandle, { options: { direction: 'left' }, className: resizable.mediaResizeHandleVariants({ direction: 'left' }) }),
|
|
53
|
-
React__default.default.createElement(
|
|
54
|
+
React__default.default.createElement(index$1.Image, { className: cn.cn('block w-full max-w-full cursor-pointer object-cover px-0', 'rounded-sm', focused && selected && 'ring-2 ring-ring ring-offset-2'), alt: "", ...nodeProps, src: src }),
|
|
54
55
|
React__default.default.createElement(resizable.ResizeHandle, { options: { direction: 'right' }, className: resizable.mediaResizeHandleVariants({
|
|
55
56
|
direction: 'right',
|
|
56
57
|
}) })))),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var plate = require('@udecode/plate');
|
|
5
|
-
var
|
|
5
|
+
var styled = require('styled-components');
|
|
6
6
|
|
|
7
7
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@ const ListElement = ({ children, variant = 'ul', ...props }) => {
|
|
|
14
14
|
React__default.default.createElement(React__default.default.Fragment, null,
|
|
15
15
|
React__default.default.createElement(Element, null, React__default.default.Children.map(children, (child) => (React__default.default.createElement(Li, null, child)))))));
|
|
16
16
|
};
|
|
17
|
-
const Li =
|
|
17
|
+
const Li = styled.styled.li `
|
|
18
18
|
margin: 16px 0px;
|
|
19
19
|
padding-left: 8px;
|
|
20
20
|
|