@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
|
@@ -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 Link = require('next/link');
|
|
7
7
|
var box = require('../../atoms/box/box.js');
|
|
8
8
|
var chevron_left = require('../../../icons/arrow/chevron_left.js');
|
|
@@ -45,7 +45,7 @@ const BreadcrumbItem = ({ avatar, children, href, icon, iconColor = 'blue', onCl
|
|
|
45
45
|
};
|
|
46
46
|
Breadcrumb.Item = BreadcrumbItem;
|
|
47
47
|
BreadcrumbItem.displayName = 'Breadcrumb.Item';
|
|
48
|
-
const Item =
|
|
48
|
+
const Item = styled.styled(Link__default.default) `
|
|
49
49
|
display: flex;
|
|
50
50
|
flex-flow: row nowrap;
|
|
51
51
|
align-items: center;
|
|
@@ -105,7 +105,7 @@ const Item = styledComponents.styled(Link__default.default) `
|
|
|
105
105
|
line-height: 24px;
|
|
106
106
|
`}
|
|
107
107
|
`;
|
|
108
|
-
const IconWrapper =
|
|
108
|
+
const IconWrapper = styled.styled.div `
|
|
109
109
|
background-color: ${({ $color }) => `var(--color-hue-${$color}-2)`};
|
|
110
110
|
height: 48px;
|
|
111
111
|
width: 48px;
|
|
@@ -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 Link = require('next/link');
|
|
6
6
|
var button = require('../../actions/button/button.js');
|
|
7
7
|
var drawer = require('../../surfaces/drawer/drawer.js');
|
|
@@ -56,7 +56,7 @@ const InnerNav = ({ children }) => {
|
|
|
56
56
|
React__default.default.createElement("div", null, elementsByType['Dropdown']),
|
|
57
57
|
React__default.default.createElement("div", null, elementsByType['Misc'])));
|
|
58
58
|
};
|
|
59
|
-
const NavWrapper =
|
|
59
|
+
const NavWrapper = styled.styled.nav `
|
|
60
60
|
height: 100%;
|
|
61
61
|
width: 365px;
|
|
62
62
|
padding: 24px 12px 24px 16px;
|
|
@@ -69,7 +69,7 @@ const InnerNavItem = ({ active, href, icon, label, sx, onClick, }) => {
|
|
|
69
69
|
icon,
|
|
70
70
|
label));
|
|
71
71
|
};
|
|
72
|
-
const Item =
|
|
72
|
+
const Item = styled.styled(Link__default.default) `
|
|
73
73
|
padding: 14px 16px;
|
|
74
74
|
display: flex;
|
|
75
75
|
gap: 16px;
|
|
@@ -106,19 +106,19 @@ const InnerNavDropdown = ({ children, icon, label, open, sx, onClick, }) => {
|
|
|
106
106
|
!open && React__default.default.createElement(chevron_down.ChevronDown, { size: 16 }))),
|
|
107
107
|
open && React__default.default.createElement(DropdownContent, null, children)));
|
|
108
108
|
};
|
|
109
|
-
const DropdownContent =
|
|
109
|
+
const DropdownContent = styled.styled.div `
|
|
110
110
|
& > a,
|
|
111
111
|
& > button {
|
|
112
112
|
padding-left: 40px;
|
|
113
113
|
}
|
|
114
114
|
`;
|
|
115
|
-
const DropdownTriggerWrapper =
|
|
115
|
+
const DropdownTriggerWrapper = styled.styled.div `
|
|
116
116
|
display: flex;
|
|
117
117
|
justify-content: space-between;
|
|
118
118
|
align-items: center;
|
|
119
119
|
flex: 1;
|
|
120
120
|
`;
|
|
121
|
-
const DropdownItem =
|
|
121
|
+
const DropdownItem = styled.styled.a `
|
|
122
122
|
padding: 14px 16px;
|
|
123
123
|
display: flex;
|
|
124
124
|
gap: 16px;
|
|
@@ -151,7 +151,7 @@ const InnerNavBackButton = ({ href, label, sx }) => {
|
|
|
151
151
|
React__default.default.createElement(chevron_left.ChevronLeft, { size: 24 })),
|
|
152
152
|
label));
|
|
153
153
|
};
|
|
154
|
-
const BackButton =
|
|
154
|
+
const BackButton = styled.styled(Link__default.default) `
|
|
155
155
|
display: flex;
|
|
156
156
|
align-items: center;
|
|
157
157
|
gap: 8px;
|
|
@@ -178,7 +178,7 @@ InnerNavBackButton.displayName = 'InnerNav.BackButton';
|
|
|
178
178
|
const InnerNavHeader = ({ children }) => {
|
|
179
179
|
return React__default.default.createElement(HeaderWrapper, null, children);
|
|
180
180
|
};
|
|
181
|
-
const HeaderWrapper =
|
|
181
|
+
const HeaderWrapper = styled.styled.div ``;
|
|
182
182
|
InnerNav.Header = InnerNavHeader;
|
|
183
183
|
InnerNavHeader.displayName = 'InnerNav.Header';
|
|
184
184
|
const InnerNavDrawer = ({ children, label, controlledOpen, onOpenChange, }) => {
|
|
@@ -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 Link = require('next/link');
|
|
7
7
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
8
8
|
|
|
@@ -57,7 +57,7 @@ const Tabs = ({ activeIndex, items, onChange, size = 'large', sx, }) => {
|
|
|
57
57
|
const id = React__default.default.useId();
|
|
58
58
|
return (React__default.default.createElement(Wrapper, { "$sx": sx }, items.map((item, index) => (React__default.default.createElement(Item, { active: activeIndex === index, color: item?.color, disabled: item?.disabled, href: item?.href, icon: item?.icon, key: id + index.toString(36), label: item.label, onClick: () => onChange && onChange(index), size: size })))));
|
|
59
59
|
};
|
|
60
|
-
const Wrapper =
|
|
60
|
+
const Wrapper = styled.styled.div `
|
|
61
61
|
display: flex;
|
|
62
62
|
flex-flow: row nowrap;
|
|
63
63
|
align-items: flex-end;
|
|
@@ -82,7 +82,7 @@ const Item = ({ active, color, disabled, href, icon, label, onClick, size = 'lar
|
|
|
82
82
|
icon && React__default.default.createElement(IconWrapper, { "$bg": bgColor }, icon),
|
|
83
83
|
React__default.default.createElement(paragraph.P, { "$fontSize": fontSize, "$lineHeight": lineHeight, "$semiBold": true }, label)));
|
|
84
84
|
};
|
|
85
|
-
const Element =
|
|
85
|
+
const Element = styled.styled(Link__default.default) `
|
|
86
86
|
position: relative;
|
|
87
87
|
display: flex;
|
|
88
88
|
align-items: center;
|
|
@@ -148,7 +148,7 @@ const Element = styledComponents.styled(Link__default.default) `
|
|
|
148
148
|
`
|
|
149
149
|
: ''}
|
|
150
150
|
`;
|
|
151
|
-
const IconWrapper =
|
|
151
|
+
const IconWrapper = styled.styled.div `
|
|
152
152
|
padding: 8px;
|
|
153
153
|
border-radius: 8px;
|
|
154
154
|
background-color: ${({ $bg }) => $bg};
|
|
@@ -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 _function = require('../../../utils/function.js');
|
|
8
8
|
var chevron_down = require('../../../icons/arrow/chevron_down.js');
|
|
@@ -25,7 +25,7 @@ const Accordion = ({ children, sx }) => {
|
|
|
25
25
|
return null;
|
|
26
26
|
}))));
|
|
27
27
|
};
|
|
28
|
-
const Wrapper =
|
|
28
|
+
const Wrapper = styled.styled.div `
|
|
29
29
|
${({ $sx }) => ($sx ? $sx : '')};
|
|
30
30
|
`;
|
|
31
31
|
const AccordionItem = ({ buttonSx, children, index, sx, trigger, }) => {
|
|
@@ -38,7 +38,7 @@ const AccordionItem = ({ buttonSx, children, index, sx, trigger, }) => {
|
|
|
38
38
|
openIndex === index ? React__default.default.createElement(chevron_up.ChevronUp, null) : React__default.default.createElement(chevron_down.ChevronDown, null)),
|
|
39
39
|
React__default.default.createElement(box.Box, { sx: openIndex === index ? sx : 'visibility: hidden; height: 0px;' }, children)));
|
|
40
40
|
};
|
|
41
|
-
const TriggerWrapper =
|
|
41
|
+
const TriggerWrapper = styled.styled.button `
|
|
42
42
|
display: flex;
|
|
43
43
|
align-items: center;
|
|
44
44
|
justify-content: space-between;
|
|
@@ -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 heading = require('../../atoms/typography/heading.js');
|
|
7
7
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
8
8
|
|
|
@@ -22,33 +22,33 @@ const CalendarDate = ({ monthAbbreviation, date, dayOfWeek, startTime, endTime,
|
|
|
22
22
|
dayOfWeek && startTime && endTime && (React__default.default.createElement(TimeContainer, null,
|
|
23
23
|
React__default.default.createElement(paragraph.P, { as: "span", "$color": "red-5" }, `${dayOfWeek}, ${startTime} -> ${endTime}`)))));
|
|
24
24
|
};
|
|
25
|
-
const Container =
|
|
25
|
+
const Container = styled.styled.div `
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
align-items: center;
|
|
29
29
|
|
|
30
30
|
${({ $sx }) => ($sx ? $sx : '')}
|
|
31
31
|
`;
|
|
32
|
-
const CalendarContainer =
|
|
32
|
+
const CalendarContainer = styled.styled.div `
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-direction: column;
|
|
35
35
|
|
|
36
36
|
${({ $size }) => ($size === 'large' ? 'width: 120px;' : 'width: 64px;')}
|
|
37
37
|
`;
|
|
38
|
-
const MonthContainer =
|
|
38
|
+
const MonthContainer = styled.styled.div `
|
|
39
39
|
background-color: var(--color-red-5);
|
|
40
40
|
border-radius: 16px 16px 0 0;
|
|
41
41
|
|
|
42
42
|
${({ $size }) => $size === 'large' ? 'padding: 8px 16px;' : 'padding: 2px 8px;'}
|
|
43
43
|
`;
|
|
44
|
-
const DateContainer =
|
|
44
|
+
const DateContainer = styled.styled.div `
|
|
45
45
|
background-color: white;
|
|
46
46
|
border-radius: 0 0 16px 16px;
|
|
47
47
|
box-shadow: var(--elevation-3);
|
|
48
48
|
|
|
49
49
|
${({ $size }) => $size === 'large' ? 'padding: 8px 16px;' : 'padding: 2px 16px;'}
|
|
50
50
|
`;
|
|
51
|
-
const TimeContainer =
|
|
51
|
+
const TimeContainer = styled.styled.div `
|
|
52
52
|
margin-top: 16px;
|
|
53
53
|
`;
|
|
54
54
|
|
|
@@ -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 chevron_left = require('../../../../icons/arrow/chevron_left.js');
|
|
7
7
|
var chevron_right = require('../../../../icons/arrow/chevron_right.js');
|
|
8
8
|
|
|
@@ -41,7 +41,7 @@ const CardCarousel = ({ children, onScrollEnd, scrollTriggerDistance = DEFAULT_S
|
|
|
41
41
|
React__default.default.createElement(Button, { className: "carousel-navigation", onClick: onNavigateRight, "$side": "right" },
|
|
42
42
|
React__default.default.createElement(chevron_right.ChevronRight, { color: "white", size: 48 }))));
|
|
43
43
|
};
|
|
44
|
-
const Wrapper =
|
|
44
|
+
const Wrapper = styled.styled.div `
|
|
45
45
|
position: relative;
|
|
46
46
|
height: 288px;
|
|
47
47
|
|
|
@@ -51,7 +51,7 @@ const Wrapper = styledComponents.styled.div `
|
|
|
51
51
|
|
|
52
52
|
${({ $sx }) => ($sx ? $sx : '')}
|
|
53
53
|
`;
|
|
54
|
-
const Inner =
|
|
54
|
+
const Inner = styled.styled.div `
|
|
55
55
|
position: absolute;
|
|
56
56
|
width: 100%;
|
|
57
57
|
z-index: 0;
|
|
@@ -77,7 +77,7 @@ const Inner = styledComponents.styled.div `
|
|
|
77
77
|
height: 0px;
|
|
78
78
|
}
|
|
79
79
|
`;
|
|
80
|
-
const Button =
|
|
80
|
+
const Button = styled.styled.button `
|
|
81
81
|
position: absolute;
|
|
82
82
|
z-index: 1;
|
|
83
83
|
top: 0px;
|
|
@@ -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 Picker = require('@emoji-mart/react');
|
|
7
7
|
var avatar = require('../../iconography/avatar/avatar.js');
|
|
8
8
|
var box = require('../../atoms/box/box.js');
|
|
@@ -116,7 +116,7 @@ const Comment = ({ avatarTooltipContent, avatarTooltipSx, content, createdDate,
|
|
|
116
116
|
toggleShowCommentInput && (React__default.default.createElement(CommentWrapper, { onSubmit: handleCommentSubmit },
|
|
117
117
|
React__default.default.createElement(text_input.TextInput, { bg: "var(--color-grey-10)", placeholder: "Write a reply", onChange: handleCommentChange, value: comment$1 }))))));
|
|
118
118
|
};
|
|
119
|
-
const Wrapper =
|
|
119
|
+
const Wrapper = styled.styled.div `
|
|
120
120
|
max-width: 700px;
|
|
121
121
|
display: flex;
|
|
122
122
|
flex-direction: row;
|
|
@@ -125,7 +125,7 @@ const Wrapper = styledComponents.styled.div `
|
|
|
125
125
|
justify-content: space-between;
|
|
126
126
|
position: relative;
|
|
127
127
|
`;
|
|
128
|
-
const ContentWrapper =
|
|
128
|
+
const ContentWrapper = styled.styled.div `
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
${({ $hasReplies }) => $hasReplies
|
|
@@ -142,7 +142,7 @@ const ContentWrapper = styledComponents.styled.div `
|
|
|
142
142
|
}`
|
|
143
143
|
: ''}
|
|
144
144
|
`;
|
|
145
|
-
const CommentBox =
|
|
145
|
+
const CommentBox = styled.styled.div `
|
|
146
146
|
padding: 16px;
|
|
147
147
|
display: flex;
|
|
148
148
|
flex-direction: column;
|
|
@@ -150,7 +150,7 @@ const CommentBox = styledComponents.styled.div `
|
|
|
150
150
|
background-color: var(--color-grey-10);
|
|
151
151
|
border-radius: 16px;
|
|
152
152
|
`;
|
|
153
|
-
const PickerWrapper =
|
|
153
|
+
const PickerWrapper = styled.styled.div `
|
|
154
154
|
position: absolute;
|
|
155
155
|
z-index: 1000;
|
|
156
156
|
|
|
@@ -158,7 +158,7 @@ const PickerWrapper = styledComponents.styled.div `
|
|
|
158
158
|
top: ${({ $top }) => $top}px;
|
|
159
159
|
left: ${({ $left }) => $left}px;
|
|
160
160
|
`;
|
|
161
|
-
const Reaction =
|
|
161
|
+
const Reaction = styled.styled.div `
|
|
162
162
|
${styles.Styles.flex}
|
|
163
163
|
display: flex;
|
|
164
164
|
padding: 2px 6px;
|
|
@@ -171,10 +171,10 @@ const Reaction = styledComponents.styled.div `
|
|
|
171
171
|
`
|
|
172
172
|
: ''}
|
|
173
173
|
`;
|
|
174
|
-
const RepliesWrapper =
|
|
174
|
+
const RepliesWrapper = styled.styled.div `
|
|
175
175
|
padding-top: 12px;
|
|
176
176
|
`;
|
|
177
|
-
const ReplyWrapper =
|
|
177
|
+
const ReplyWrapper = styled.styled.div `
|
|
178
178
|
position: relative;
|
|
179
179
|
${({ $hasLine }) => $hasLine
|
|
180
180
|
? `
|
|
@@ -187,7 +187,7 @@ const ReplyWrapper = styledComponents.styled.div `
|
|
|
187
187
|
}`
|
|
188
188
|
: ''}
|
|
189
189
|
`;
|
|
190
|
-
const ReplyIndicator =
|
|
190
|
+
const ReplyIndicator = styled.styled.div `
|
|
191
191
|
position: absolute;
|
|
192
192
|
top: -12px;
|
|
193
193
|
left: -28px;
|
|
@@ -198,7 +198,7 @@ const ReplyIndicator = styledComponents.styled.div `
|
|
|
198
198
|
border-top: none;
|
|
199
199
|
border-right: none;
|
|
200
200
|
`;
|
|
201
|
-
const CommentWrapper =
|
|
201
|
+
const CommentWrapper = styled.styled.form `
|
|
202
202
|
label {
|
|
203
203
|
margin-bottom: 16px;
|
|
204
204
|
}
|
|
@@ -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 _function = require('../../../utils/function.js');
|
|
7
7
|
|
|
8
8
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -43,7 +43,7 @@ const Drawer = ({ children, controlledOpen, onOpenChange, }) => {
|
|
|
43
43
|
React__default.default.createElement(ContentWrapper, null, content),
|
|
44
44
|
footer && React__default.default.createElement(FooterWrapper, null, footer))));
|
|
45
45
|
};
|
|
46
|
-
const Background =
|
|
46
|
+
const Background = styled.styled.div `
|
|
47
47
|
position: fixed;
|
|
48
48
|
height: 100vh;
|
|
49
49
|
width: 100vw;
|
|
@@ -56,7 +56,7 @@ const Background = styledComponents.styled.div `
|
|
|
56
56
|
opacity: 0.5;
|
|
57
57
|
cursor: pointer;
|
|
58
58
|
`;
|
|
59
|
-
const Component =
|
|
59
|
+
const Component = styled.styled.div `
|
|
60
60
|
position: fixed;
|
|
61
61
|
top: 0;
|
|
62
62
|
right: 0;
|
|
@@ -74,7 +74,7 @@ const Component = styledComponents.styled.div `
|
|
|
74
74
|
|
|
75
75
|
${({ $open }) => ($open ? 'margin-right: 0px;' : '')}
|
|
76
76
|
`;
|
|
77
|
-
const HeaderWrapper =
|
|
77
|
+
const HeaderWrapper = styled.styled.div `
|
|
78
78
|
background-color: var(--color-white);
|
|
79
79
|
box-shadow: var(--elevation-2);
|
|
80
80
|
filter: drop-shadow(var(--elevation-2));
|
|
@@ -83,7 +83,7 @@ const HeaderWrapper = styledComponents.styled.div `
|
|
|
83
83
|
top: 0;
|
|
84
84
|
border-radius: 16px 0px 0px 0px;
|
|
85
85
|
`;
|
|
86
|
-
const ContentWrapper =
|
|
86
|
+
const ContentWrapper = styled.styled.div `
|
|
87
87
|
height: calc(100vh - 224px);
|
|
88
88
|
position: relative;
|
|
89
89
|
display: flex;
|
|
@@ -110,7 +110,7 @@ const ContentWrapper = styledComponents.styled.div `
|
|
|
110
110
|
opacity: 30%;
|
|
111
111
|
}
|
|
112
112
|
`;
|
|
113
|
-
const FooterWrapper =
|
|
113
|
+
const FooterWrapper = styled.styled.div `
|
|
114
114
|
background-color: var(--color-white);
|
|
115
115
|
box-shadow: var(--elevation-1);
|
|
116
116
|
position: -webkit-sticky;
|
|
@@ -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 avatar = require('../../iconography/avatar/avatar.js');
|
|
7
7
|
var box = require('../../atoms/box/box.js');
|
|
8
8
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
@@ -30,7 +30,7 @@ const Message = ({ messages, userId }) => {
|
|
|
30
30
|
React__default.default.createElement(Wrapper, { "$isSelf": isSelf }, content)));
|
|
31
31
|
})));
|
|
32
32
|
};
|
|
33
|
-
const Wrapper =
|
|
33
|
+
const Wrapper = styled.styled.div `
|
|
34
34
|
max-width: 552px;
|
|
35
35
|
padding: 16px;
|
|
36
36
|
border-radius: 16px;
|
|
@@ -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 button = require('../../actions/button/button.js');
|
|
7
7
|
var close = require('../../../icons/basic/close.js');
|
|
8
8
|
var _function = require('../../../utils/function.js');
|
|
@@ -83,7 +83,7 @@ const ModalContent = ({ backgroundDark = true, children, footer, header, setClos
|
|
|
83
83
|
};
|
|
84
84
|
ModalContent.displayName = 'Modal.Content';
|
|
85
85
|
Modal.Content = ModalContent;
|
|
86
|
-
const Wrapper =
|
|
86
|
+
const Wrapper = styled.styled.div `
|
|
87
87
|
${({ $open }) => $open
|
|
88
88
|
? `display: flex;
|
|
89
89
|
flex-direction: column;
|
|
@@ -104,7 +104,7 @@ const Wrapper = styledComponents.styled.div `
|
|
|
104
104
|
margin: 0px;
|
|
105
105
|
overflow: hidden;
|
|
106
106
|
`;
|
|
107
|
-
const Content =
|
|
107
|
+
const Content = styled.styled.div `
|
|
108
108
|
position: absolute;
|
|
109
109
|
z-index: 101;
|
|
110
110
|
background-color: var(--color-white);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var Image = require('next/image');
|
|
6
6
|
var Link = require('next/link');
|
|
7
|
-
var
|
|
7
|
+
var styled = require('styled-components');
|
|
8
8
|
var heading = require('../../atoms/typography/heading.js');
|
|
9
9
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
10
10
|
require('../../atoms/box/box.js');
|
|
@@ -130,7 +130,7 @@ const Post = ({ actions, author, authorActive, authorHref, authorImage, avatarTo
|
|
|
130
130
|
!!_actions.length && (React__default.default.createElement(ActionsWrapper, null, !isPaywalled && _actions)),
|
|
131
131
|
hasComments && !!_comments.length && (React__default.default.createElement(CommentWrapper, null, _comments))));
|
|
132
132
|
};
|
|
133
|
-
const Wrapper =
|
|
133
|
+
const Wrapper = styled.styled.div `
|
|
134
134
|
position: relative;
|
|
135
135
|
max-width: 700px;
|
|
136
136
|
width: 100%;
|
|
@@ -143,14 +143,14 @@ const Wrapper = styledComponents.styled.div `
|
|
|
143
143
|
border-radius: 16px;
|
|
144
144
|
}
|
|
145
145
|
`;
|
|
146
|
-
const Header =
|
|
146
|
+
const Header = styled.styled.div `
|
|
147
147
|
padding: 16px 24px;
|
|
148
148
|
display: flex;
|
|
149
149
|
justify-content: space-between;
|
|
150
150
|
align-items: flex-start;
|
|
151
151
|
border-bottom: 1px solid var(--color-grey-9);
|
|
152
152
|
`;
|
|
153
|
-
const ImagesWrapper =
|
|
153
|
+
const ImagesWrapper = styled.styled.div `
|
|
154
154
|
position: relative;
|
|
155
155
|
display: flex;
|
|
156
156
|
gap: 8px;
|
|
@@ -196,13 +196,13 @@ const ImagesWrapper = styledComponents.styled.div `
|
|
|
196
196
|
clip-path: inset(0px 0px 0px 0px);`
|
|
197
197
|
: ''}
|
|
198
198
|
`;
|
|
199
|
-
const ImageWrapper =
|
|
199
|
+
const ImageWrapper = styled.styled.div `
|
|
200
200
|
position: relative;
|
|
201
201
|
aspect-ratio: 700 / 427;
|
|
202
202
|
flex: 1;
|
|
203
203
|
min-width: min(227px, 80vw);
|
|
204
204
|
`;
|
|
205
|
-
const PaywallWrapper =
|
|
205
|
+
const PaywallWrapper = styled.styled.div `
|
|
206
206
|
position: absolute;
|
|
207
207
|
display: flex;
|
|
208
208
|
flex-direction: column;
|
|
@@ -211,19 +211,19 @@ const PaywallWrapper = styledComponents.styled.div `
|
|
|
211
211
|
top: 310px;
|
|
212
212
|
left: 242px;
|
|
213
213
|
`;
|
|
214
|
-
const ActionsWrapper =
|
|
214
|
+
const ActionsWrapper = styled.styled.div `
|
|
215
215
|
display: flex;
|
|
216
216
|
justify-content: space-around;
|
|
217
217
|
align-items: center;
|
|
218
218
|
padding: 24px;
|
|
219
219
|
`;
|
|
220
|
-
const CommentWrapper =
|
|
220
|
+
const CommentWrapper = styled.styled.div `
|
|
221
221
|
padding: 24px;
|
|
222
222
|
display: flex;
|
|
223
223
|
flex-flow: column nowrap;
|
|
224
224
|
gap: 24px;
|
|
225
225
|
`;
|
|
226
|
-
const NavArrow =
|
|
226
|
+
const NavArrow = styled.styled.button `
|
|
227
227
|
width: 48px;
|
|
228
228
|
height: 150px;
|
|
229
229
|
display: flex;
|
|
@@ -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
|
|
|
8
8
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -16,7 +16,7 @@ const Table = ({ border = true, children, compact, footer, header, separated, st
|
|
|
16
16
|
React__default.default.createElement(TableElement, { "$compact": compact, "$separated": separated, "$striped": striped, "$sx": sx }, children)),
|
|
17
17
|
!!footer && footer));
|
|
18
18
|
};
|
|
19
|
-
const TableElement =
|
|
19
|
+
const TableElement = styled.styled.table `
|
|
20
20
|
width: 100%;
|
|
21
21
|
border-collapse: collapse;
|
|
22
22
|
border-spacing: 0;
|
|
@@ -44,7 +44,7 @@ const TableElement = styledComponents.styled.table `
|
|
|
44
44
|
const Head = ({ children, ...rest }) => {
|
|
45
45
|
return React__default.default.createElement(HeadElement, { ...rest }, children);
|
|
46
46
|
};
|
|
47
|
-
const HeadElement =
|
|
47
|
+
const HeadElement = styled.styled.thead `
|
|
48
48
|
tr {
|
|
49
49
|
background-color: var(--color-grey-10);
|
|
50
50
|
border-top-left-radius: 8px;
|
|
@@ -67,7 +67,7 @@ Table.Head = Head;
|
|
|
67
67
|
const Body = ({ children, ...rest }) => {
|
|
68
68
|
return React__default.default.createElement(BodyElement, { ...rest }, children);
|
|
69
69
|
};
|
|
70
|
-
const BodyElement =
|
|
70
|
+
const BodyElement = styled.styled.tbody `
|
|
71
71
|
& > tr:last-of-type {
|
|
72
72
|
& > *:first-child {
|
|
73
73
|
border-bottom-left-radius: 8px;
|
|
@@ -106,7 +106,7 @@ const Row = ({ children, disabled, href, hoverable = false, onClick, selected, s
|
|
|
106
106
|
: undefined;
|
|
107
107
|
return (React__default.default.createElement(RowElement, { onClick: handleClick, "$disabled": disabled, "$hoverable": hoverable, "$isAnchor": !!href, "$selected": selected, "$sx": sx, ...rest }, children));
|
|
108
108
|
};
|
|
109
|
-
const RowElement =
|
|
109
|
+
const RowElement = styled.styled.tr `
|
|
110
110
|
display: table-row;
|
|
111
111
|
|
|
112
112
|
${({ $disabled }) => $disabled
|
|
@@ -151,7 +151,7 @@ const Cell = ({ children, lines, padding = '16px 24px', sx, textAlign = 'left',
|
|
|
151
151
|
return (React__default.default.createElement(CellElement, { "$clamp": lines, "$padding": padding, "$sx": sx, "$textAlign": textAlign, "$verticalAlign": verticalAlign, "$width": percentageWidth ? percentageWidth : 'fit-content' },
|
|
152
152
|
React__default.default.createElement("div", null, children)));
|
|
153
153
|
};
|
|
154
|
-
const CellElement =
|
|
154
|
+
const CellElement = styled.styled.td `
|
|
155
155
|
width: ${({ $width }) => $width};
|
|
156
156
|
height: 20px;
|
|
157
157
|
font-family: var(--font-inter);
|
|
@@ -181,7 +181,7 @@ const HeaderCell = ({ children, lines, padding = '16px 24px', sx, textAlign = 'l
|
|
|
181
181
|
const percentageWidth = width ? width * (100 / 16) + '%' : undefined;
|
|
182
182
|
return (React__default.default.createElement(HeadCellElement, { as: "th", "$clamp": lines, "$padding": padding, "$sx": sx, "$textAlign": textAlign, "$verticalAlign": verticalAlign, "$width": percentageWidth ? percentageWidth : 'fit-content' }, children));
|
|
183
183
|
};
|
|
184
|
-
const HeadCellElement =
|
|
184
|
+
const HeadCellElement = styled.styled(CellElement) `
|
|
185
185
|
font-size: 16px;
|
|
186
186
|
font-weight: 700;
|
|
187
187
|
line-height: 24px;
|
package/dist/src/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soul-refiner/design-system",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.19",
|
|
4
4
|
"main": "dist/src/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
27
27
|
"@rollup/plugin-json": "^6.1.0",
|
|
28
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
28
29
|
"@storybook/addon-essentials": "^7.6.7",
|
|
29
30
|
"@storybook/addon-interactions": "^7.6.7",
|
|
30
31
|
"@storybook/addon-links": "^7.6.7",
|