@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 date$1 = require('../../../common/date.js');
|
|
7
7
|
var button = require('../../actions/button/button.js');
|
|
8
8
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
@@ -112,12 +112,12 @@ const CalendarInput = ({ selectedDate, onSelect: parentOnSelect, disablePastDate
|
|
|
112
112
|
React__default.default.createElement(button.Button, { onClick: handleCancel, size: "small", sx: "width: 80px;", type: "outlined" }, "Cancel"),
|
|
113
113
|
React__default.default.createElement(button.Button, { onClick: handleApply, size: "small", sx: "width: 80px;" }, "Apply"))))))));
|
|
114
114
|
};
|
|
115
|
-
const Wrapper =
|
|
115
|
+
const Wrapper = styled.styled.div `
|
|
116
116
|
position: relative;
|
|
117
117
|
width: fit-content;
|
|
118
118
|
font-family: var(--font-inter);
|
|
119
119
|
`;
|
|
120
|
-
const DateSelector =
|
|
120
|
+
const DateSelector = styled.styled.div `
|
|
121
121
|
transform: translateY(26px);
|
|
122
122
|
position: absolute;
|
|
123
123
|
z-index: 5;
|
|
@@ -125,7 +125,7 @@ const DateSelector = styledComponents.styled.div `
|
|
|
125
125
|
border-radius: 25px;
|
|
126
126
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
|
|
127
127
|
`;
|
|
128
|
-
const InnerWrapper =
|
|
128
|
+
const InnerWrapper = styled.styled.div `
|
|
129
129
|
display: flex;
|
|
130
130
|
gap: 31px;
|
|
131
131
|
padding: 30px;
|
|
@@ -144,14 +144,14 @@ const InnerWrapper = styledComponents.styled.div `
|
|
|
144
144
|
box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.1);
|
|
145
145
|
}
|
|
146
146
|
`;
|
|
147
|
-
const MonthBar =
|
|
147
|
+
const MonthBar = styled.styled.div `
|
|
148
148
|
display: flex;
|
|
149
149
|
justify-content: space-between;
|
|
150
150
|
align-items: center;
|
|
151
151
|
margin-bottom: 32px;
|
|
152
152
|
user-select: none;
|
|
153
153
|
`;
|
|
154
|
-
const Arrow =
|
|
154
|
+
const Arrow = styled.styled.button `
|
|
155
155
|
appearance: none;
|
|
156
156
|
border: none;
|
|
157
157
|
outline: none;
|
|
@@ -171,24 +171,24 @@ const Arrow = styledComponents.styled.button `
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
`;
|
|
174
|
-
const WeekdayWrapper =
|
|
174
|
+
const WeekdayWrapper = styled.styled.div `
|
|
175
175
|
display: flex;
|
|
176
176
|
gap: 32px;
|
|
177
177
|
user-select: none;
|
|
178
178
|
`;
|
|
179
|
-
const Calendar =
|
|
179
|
+
const Calendar = styled.styled.div `
|
|
180
180
|
display: flex;
|
|
181
181
|
flex-direction: column;
|
|
182
182
|
gap: 32px;
|
|
183
183
|
margin: 32px 0px;
|
|
184
184
|
user-select: none;
|
|
185
185
|
`;
|
|
186
|
-
const Week =
|
|
186
|
+
const Week = styled.styled.div `
|
|
187
187
|
display: flex;
|
|
188
188
|
gap: 32px;
|
|
189
189
|
border-radius: 24px;
|
|
190
190
|
`;
|
|
191
|
-
const Day =
|
|
191
|
+
const Day = styled.styled.button `
|
|
192
192
|
outline: none;
|
|
193
193
|
border: none;
|
|
194
194
|
background: transparent;
|
|
@@ -223,12 +223,12 @@ const Day = styledComponents.styled.button `
|
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
`;
|
|
226
|
-
const BottomWrapper =
|
|
226
|
+
const BottomWrapper = styled.styled.div `
|
|
227
227
|
display: flex;
|
|
228
228
|
justify-content: flex-end;
|
|
229
229
|
gap: 18px;
|
|
230
230
|
`;
|
|
231
|
-
const Input =
|
|
231
|
+
const Input = styled.styled.input `
|
|
232
232
|
max-width: 140px;
|
|
233
233
|
padding: 0px;
|
|
234
234
|
flex: 1;
|
|
@@ -244,7 +244,7 @@ const Input = styledComponents.styled.input `
|
|
|
244
244
|
color: var(--color-grey-6);
|
|
245
245
|
}
|
|
246
246
|
`;
|
|
247
|
-
const InputWrapper =
|
|
247
|
+
const InputWrapper = styled.styled.div `
|
|
248
248
|
width: fit-content;
|
|
249
249
|
display: flex;
|
|
250
250
|
gap: 8px;
|
|
@@ -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 styles = require('../../../common/styles.js');
|
|
7
7
|
var checkmark = require('../../../icons/basic/checkmark.js');
|
|
8
8
|
|
|
@@ -13,7 +13,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
13
13
|
const Checkbox = ({ disabled, selected, sx, ...rest }) => {
|
|
14
14
|
return (React__default.default.createElement(Box, { "$align": "center", "$disabled": !!disabled, "$display": "flex", "$justify": "center", "$selected": selected, "$sx": sx, ...rest }, selected && React__default.default.createElement(checkmark.Checkmark, { color: "white" })));
|
|
15
15
|
};
|
|
16
|
-
const Box =
|
|
16
|
+
const Box = styled.styled.div `
|
|
17
17
|
display: flex;
|
|
18
18
|
width: 20px;
|
|
19
19
|
height: 20px;
|
|
@@ -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 date$1 = require('../../../common/date.js');
|
|
7
7
|
var button = require('../../actions/button/button.js');
|
|
8
8
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
@@ -214,12 +214,12 @@ const DatePicker = ({ endDate, label, onSelect: parentOnSelect, startDate, }) =>
|
|
|
214
214
|
React__default.default.createElement(button.Button, { onClick: handleCancel, size: "small", sx: "width: 80px;", type: "outlined" }, "Cancel"),
|
|
215
215
|
React__default.default.createElement(button.Button, { onClick: handleApply, size: "small", sx: "width: 80px;" }, "Apply"))))))));
|
|
216
216
|
};
|
|
217
|
-
const Wrapper =
|
|
217
|
+
const Wrapper = styled.styled.div `
|
|
218
218
|
position: relative;
|
|
219
219
|
width: fit-content;
|
|
220
220
|
font-family: var(--font-inter);
|
|
221
221
|
`;
|
|
222
|
-
const Trigger =
|
|
222
|
+
const Trigger = styled.styled.button `
|
|
223
223
|
padding: 12px 24px;
|
|
224
224
|
background-color: #ffffff;
|
|
225
225
|
border: 1px solid var(--color-grey-6);
|
|
@@ -251,7 +251,7 @@ const Trigger = styledComponents.styled.button `
|
|
|
251
251
|
border-color: var(--color-blue-3);
|
|
252
252
|
}
|
|
253
253
|
`;
|
|
254
|
-
const DateSelector =
|
|
254
|
+
const DateSelector = styled.styled.div `
|
|
255
255
|
transform: translateY(26px);
|
|
256
256
|
position: absolute;
|
|
257
257
|
z-index: 5;
|
|
@@ -259,7 +259,7 @@ const DateSelector = styledComponents.styled.div `
|
|
|
259
259
|
border-radius: 25px;
|
|
260
260
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
|
|
261
261
|
`;
|
|
262
|
-
const InnerWrapper =
|
|
262
|
+
const InnerWrapper = styled.styled.div `
|
|
263
263
|
display: flex;
|
|
264
264
|
gap: 31px;
|
|
265
265
|
padding: 30px;
|
|
@@ -278,7 +278,7 @@ const InnerWrapper = styledComponents.styled.div `
|
|
|
278
278
|
box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.1);
|
|
279
279
|
}
|
|
280
280
|
`;
|
|
281
|
-
const Left =
|
|
281
|
+
const Left = styled.styled.div `
|
|
282
282
|
display: flex;
|
|
283
283
|
flex-flow: column nowrap;
|
|
284
284
|
gap: 24px;
|
|
@@ -306,14 +306,14 @@ const Left = styledComponents.styled.div `
|
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
`;
|
|
309
|
-
const MonthBar =
|
|
309
|
+
const MonthBar = styled.styled.div `
|
|
310
310
|
display: flex;
|
|
311
311
|
justify-content: space-between;
|
|
312
312
|
align-items: center;
|
|
313
313
|
margin-bottom: 32px;
|
|
314
314
|
user-select: none;
|
|
315
315
|
`;
|
|
316
|
-
const Arrow =
|
|
316
|
+
const Arrow = styled.styled.button `
|
|
317
317
|
appearance: none;
|
|
318
318
|
border: none;
|
|
319
319
|
outline: none;
|
|
@@ -333,24 +333,24 @@ const Arrow = styledComponents.styled.button `
|
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
`;
|
|
336
|
-
const WeekdayWrapper =
|
|
336
|
+
const WeekdayWrapper = styled.styled.div `
|
|
337
337
|
display: flex;
|
|
338
338
|
gap: 32px;
|
|
339
339
|
user-select: none;
|
|
340
340
|
`;
|
|
341
|
-
const Calendar =
|
|
341
|
+
const Calendar = styled.styled.div `
|
|
342
342
|
display: flex;
|
|
343
343
|
flex-direction: column;
|
|
344
344
|
gap: 32px;
|
|
345
345
|
margin: 32px 0px;
|
|
346
346
|
user-select: none;
|
|
347
347
|
`;
|
|
348
|
-
const Week =
|
|
348
|
+
const Week = styled.styled.div `
|
|
349
349
|
display: flex;
|
|
350
350
|
gap: 32px;
|
|
351
351
|
border-radius: 24px;
|
|
352
352
|
`;
|
|
353
|
-
const Day =
|
|
353
|
+
const Day = styled.styled.button `
|
|
354
354
|
outline: none;
|
|
355
355
|
border: none;
|
|
356
356
|
background: transparent;
|
|
@@ -520,7 +520,7 @@ const Day = styledComponents.styled.button `
|
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
522
|
`;
|
|
523
|
-
const BottomWrapper =
|
|
523
|
+
const BottomWrapper = styled.styled.div `
|
|
524
524
|
display: flex;
|
|
525
525
|
justify-content: flex-end;
|
|
526
526
|
gap: 18px;
|
|
@@ -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 paragraph = require('../../atoms/typography/paragraph.js');
|
|
@@ -15,6 +15,7 @@ var filter_option = require('./filter_option.js');
|
|
|
15
15
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
16
16
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
18
|
+
var styled__default = /*#__PURE__*/_interopDefaultCompat(styled);
|
|
18
19
|
|
|
19
20
|
const Filter = ({ closeOnBlur = true, disabled, graphic, graphicAlignment = 'left', resetGraphic, label = '', sx, triggerType, options, defaultValue = '', closeOnChange = true, optionOnChange, optionShowClose, checkbox, applyOnClick, resetOnClick, applyResetActions, }) => {
|
|
20
21
|
const multiple = !!checkbox;
|
|
@@ -134,13 +135,13 @@ const Filter = ({ closeOnBlur = true, disabled, graphic, graphicAlignment = 'lef
|
|
|
134
135
|
setOpen(false);
|
|
135
136
|
}, size: "small", type: "primary" }, "Apply"))))))));
|
|
136
137
|
};
|
|
137
|
-
const Wrapper =
|
|
138
|
+
const Wrapper = styled__default.default.div `
|
|
138
139
|
position: relative;
|
|
139
140
|
display: block;
|
|
140
141
|
outline: none;
|
|
141
142
|
${({ $sx }) => ($sx ? $sx : '')}
|
|
142
143
|
`;
|
|
143
|
-
const Container =
|
|
144
|
+
const Container = styled__default.default.div `
|
|
144
145
|
position: absolute;
|
|
145
146
|
width: max-content;
|
|
146
147
|
z-index: 100;
|
|
@@ -209,7 +210,7 @@ const FilterTrigger = ({ disabled, graphic, graphicAlignment, label, onClick, re
|
|
|
209
210
|
};
|
|
210
211
|
Filter.Trigger = FilterTrigger;
|
|
211
212
|
FilterTrigger.displayName = 'Filter.Trigger';
|
|
212
|
-
const sharedStyles =
|
|
213
|
+
const sharedStyles = styled.css `
|
|
213
214
|
display: flex;
|
|
214
215
|
padding: 10px 16px;
|
|
215
216
|
border: none;
|
|
@@ -228,7 +229,7 @@ const sharedStyles = styledComponents.css `
|
|
|
228
229
|
}
|
|
229
230
|
}
|
|
230
231
|
`;
|
|
231
|
-
const Outlined =
|
|
232
|
+
const Outlined = styled__default.default.button `
|
|
232
233
|
${sharedStyles}
|
|
233
234
|
${styles.Styles.flex}
|
|
234
235
|
border: 1px solid var(--color-grey-8);
|
|
@@ -240,7 +241,7 @@ const Outlined = styledComponents.styled.button `
|
|
|
240
241
|
background-color: var(--color-grey-9);
|
|
241
242
|
}
|
|
242
243
|
`;
|
|
243
|
-
const Pill =
|
|
244
|
+
const Pill = styled__default.default.button `
|
|
244
245
|
${sharedStyles}
|
|
245
246
|
${styles.Styles.flex}
|
|
246
247
|
border: 1px solid var(--color-grey-8);
|
|
@@ -266,7 +267,7 @@ const Pill = styledComponents.styled.button `
|
|
|
266
267
|
`
|
|
267
268
|
: ''}
|
|
268
269
|
`;
|
|
269
|
-
const Labeled =
|
|
270
|
+
const Labeled = styled__default.default.button `
|
|
270
271
|
${sharedStyles}
|
|
271
272
|
${styles.Styles.flex}
|
|
272
273
|
border-radius: 24px;
|
|
@@ -278,12 +279,12 @@ const Labeled = styledComponents.styled.button `
|
|
|
278
279
|
background-color: var(--color-grey-9);
|
|
279
280
|
}
|
|
280
281
|
`;
|
|
281
|
-
const LabelSeparator =
|
|
282
|
+
const LabelSeparator = styled__default.default.div `
|
|
282
283
|
width: 1px;
|
|
283
284
|
height: 20px;
|
|
284
285
|
background-color: var(--color-grey-8);
|
|
285
286
|
`;
|
|
286
|
-
const Avatar =
|
|
287
|
+
const Avatar = styled__default.default.button `
|
|
287
288
|
${sharedStyles}
|
|
288
289
|
${styles.Styles.flex}
|
|
289
290
|
padding: 4px 16px;
|
|
@@ -304,7 +305,7 @@ const Avatar = styledComponents.styled.button `
|
|
|
304
305
|
}
|
|
305
306
|
}
|
|
306
307
|
`;
|
|
307
|
-
const Text =
|
|
308
|
+
const Text = styled__default.default.button `
|
|
308
309
|
${sharedStyles}
|
|
309
310
|
${styles.Styles.flex}
|
|
310
311
|
gap: 8px;
|
|
@@ -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 paragraph = require('../../atoms/typography/paragraph.js');
|
|
8
8
|
var checkbox = require('../checkbox/checkbox.js');
|
|
@@ -24,7 +24,7 @@ const Option = ({ label, onClick, selected, sx, value, checkbox: checkbox$1, rad
|
|
|
24
24
|
} }))));
|
|
25
25
|
};
|
|
26
26
|
Option.displayName = 'Filter.Option';
|
|
27
|
-
const OptionWrapper =
|
|
27
|
+
const OptionWrapper = styled.styled.div `
|
|
28
28
|
position: relative;
|
|
29
29
|
z-index: 1;
|
|
30
30
|
padding: 12px 16px;
|
|
@@ -67,7 +67,7 @@ const Spacer = ({ sx }) => {
|
|
|
67
67
|
return React__default.default.createElement(SpacerWrapper, { "$sx": sx });
|
|
68
68
|
};
|
|
69
69
|
Spacer.displayName = 'Filter.Spacer';
|
|
70
|
-
const SpacerWrapper =
|
|
70
|
+
const SpacerWrapper = styled.styled.div `
|
|
71
71
|
width: 100%;
|
|
72
72
|
height: 1px;
|
|
73
73
|
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 box = require('../../atoms/box/box.js');
|
|
7
7
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
8
8
|
|
|
@@ -24,7 +24,7 @@ const Radio = ({ checked = false, disabled, label, onClick, reversed, sx, value,
|
|
|
24
24
|
React__default.default.createElement(Input, { checked: checked, onClickCapture: handleInputClick, disabled: disabled, type: "radio", value: value, ...rest }),
|
|
25
25
|
React__default.default.createElement(paragraph.P, { as: "span" }, label)));
|
|
26
26
|
};
|
|
27
|
-
const Label =
|
|
27
|
+
const Label = styled.styled.label `
|
|
28
28
|
display: flex;
|
|
29
29
|
align-items: center;
|
|
30
30
|
gap: 8px;
|
|
@@ -45,7 +45,7 @@ const Label = styledComponents.styled.label `
|
|
|
45
45
|
flex-direction: ${({ $reversed }) => ($reversed ? 'row-reverse' : 'row')};
|
|
46
46
|
${({ $sx }) => ($sx ? $sx : '')}
|
|
47
47
|
`;
|
|
48
|
-
const Input =
|
|
48
|
+
const Input = styled.styled.input `
|
|
49
49
|
appearance: none;
|
|
50
50
|
position: relative;
|
|
51
51
|
height: 20px;
|
|
@@ -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 styles = require('../../../common/styles.js');
|
|
7
7
|
var close = require('../../../icons/basic/close.js');
|
|
8
8
|
var search = require('../../../icons/basic/search.js');
|
|
@@ -55,7 +55,7 @@ const Search = ({ dropdownFilter, onChange, onClearText, onSubmit, placeholder,
|
|
|
55
55
|
React__default.default.createElement(Separator, null),
|
|
56
56
|
dropdownFilter))));
|
|
57
57
|
};
|
|
58
|
-
const Wrapper =
|
|
58
|
+
const Wrapper = styled.styled.div `
|
|
59
59
|
${styles.Styles.flex}
|
|
60
60
|
${styles.Styles.padding}
|
|
61
61
|
display: flex;
|
|
@@ -123,7 +123,7 @@ const Wrapper = styledComponents.styled.div `
|
|
|
123
123
|
|
|
124
124
|
${({ $sx }) => ($sx ? $sx : '')}
|
|
125
125
|
`;
|
|
126
|
-
const Input =
|
|
126
|
+
const Input = styled.styled.input.attrs(({ ref }) => ({
|
|
127
127
|
ref: ref,
|
|
128
128
|
})) `
|
|
129
129
|
flex: 1;
|
|
@@ -139,7 +139,7 @@ const Input = styledComponents.styled.input.attrs(({ ref }) => ({
|
|
|
139
139
|
? 'width: 0px; height: 0px; padding: 0px !important; border: none !important;'
|
|
140
140
|
: ''}
|
|
141
141
|
`;
|
|
142
|
-
const Separator =
|
|
142
|
+
const Separator = styled.styled.div `
|
|
143
143
|
width: 1px;
|
|
144
144
|
height: 20px;
|
|
145
145
|
background-color: var(--color-grey-9);
|
|
@@ -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 paragraph = require('../../atoms/typography/paragraph.js');
|
|
7
7
|
|
|
8
8
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -15,7 +15,7 @@ const Select = ({ label, onClick, selected, sx, value, }) => {
|
|
|
15
15
|
React__default.default.createElement(SelectBox, { "$selected": selected }),
|
|
16
16
|
React__default.default.createElement(paragraph.P, { as: "div" }, label)));
|
|
17
17
|
};
|
|
18
|
-
const Label =
|
|
18
|
+
const Label = styled.styled.div `
|
|
19
19
|
display: flex;
|
|
20
20
|
flex-flow: row nowrap;
|
|
21
21
|
gap: 24px;
|
|
@@ -28,7 +28,7 @@ const Label = styledComponents.styled.div `
|
|
|
28
28
|
}
|
|
29
29
|
${({ $sx }) => ($sx ? $sx : '')}
|
|
30
30
|
`;
|
|
31
|
-
const SelectBox =
|
|
31
|
+
const SelectBox = styled.styled.div `
|
|
32
32
|
position: relative;
|
|
33
33
|
width: 18px;
|
|
34
34
|
height: 18px;
|
|
@@ -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 checkmark_circle = require('../../../icons/basic/checkmark_circle.js');
|
|
8
8
|
var alert_circle = require('../../../icons/notifications/alert_circle.js');
|
|
@@ -36,7 +36,7 @@ const TextArea = ({ bg = 'var(--color-blue-10)', disabled, helperText, icon, lab
|
|
|
36
36
|
" / ",
|
|
37
37
|
maxCharacters)))));
|
|
38
38
|
};
|
|
39
|
-
const Label =
|
|
39
|
+
const Label = styled.styled.label `
|
|
40
40
|
width: 100%;
|
|
41
41
|
display: flex;
|
|
42
42
|
gap: 4px;
|
|
@@ -60,7 +60,7 @@ const Label = styledComponents.styled.label `
|
|
|
60
60
|
|
|
61
61
|
${({ $sx }) => ($sx ? $sx : '')}
|
|
62
62
|
`;
|
|
63
|
-
const InputWrapper =
|
|
63
|
+
const InputWrapper = styled.styled.div `
|
|
64
64
|
min-width: ${({ $minWidth }) => ($minWidth ? $minWidth + 'px;' : '')}
|
|
65
65
|
display: flex;
|
|
66
66
|
gap: 8px;
|
|
@@ -82,7 +82,7 @@ const InputWrapper = styledComponents.styled.div `
|
|
|
82
82
|
${({ $successful }) => $successful ? 'border-color: var(--color-green-3) !important;' : ''}
|
|
83
83
|
${({ $warning }) => $warning ? 'border-color: var(--color-red-4) !important;' : ''}
|
|
84
84
|
`;
|
|
85
|
-
const TextAreaElement =
|
|
85
|
+
const TextAreaElement = styled.styled.textarea `
|
|
86
86
|
min-width: ${({ $minHeight }) => ($minHeight ? $minHeight - 24 + 'px;' : '')}
|
|
87
87
|
padding: 0px;
|
|
88
88
|
flex: 1;
|
|
@@ -101,13 +101,13 @@ const TextAreaElement = styledComponents.styled.textarea `
|
|
|
101
101
|
|
|
102
102
|
${({ $resize }) => ($resize ? '' : 'resize: none;')}
|
|
103
103
|
`;
|
|
104
|
-
const HelperText =
|
|
104
|
+
const HelperText = styled.styled.p `
|
|
105
105
|
color: var(--color-grey-4);
|
|
106
106
|
font-family: var(--font-inter);
|
|
107
107
|
font-size: 14px;
|
|
108
108
|
line-height: 20px;
|
|
109
109
|
`;
|
|
110
|
-
const MaxCharactersText =
|
|
110
|
+
const MaxCharactersText = styled.styled.p `
|
|
111
111
|
text-align: right;
|
|
112
112
|
color: var(--color-grey-6);
|
|
113
113
|
font-family: var(--font-inter);
|
|
@@ -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 chip = require('../../feedback/chip/chip.js');
|
|
7
7
|
var checkmark_circle = require('../../../icons/basic/checkmark_circle.js');
|
|
8
8
|
var alert_circle = require('../../../icons/notifications/alert_circle.js');
|
|
@@ -71,7 +71,7 @@ const TextInput = ({ bg = 'var(--color-blue-10)', disabled, helperText, icon, la
|
|
|
71
71
|
warning && React__default.default.createElement(alert_circle.AlertCircle, { color: "red-4" })),
|
|
72
72
|
helperText && React__default.default.createElement(HelperText, { "$size": size }, helperText)));
|
|
73
73
|
};
|
|
74
|
-
const Label =
|
|
74
|
+
const Label = styled.styled.div `
|
|
75
75
|
width: 100%;
|
|
76
76
|
display: flex;
|
|
77
77
|
gap: 4px;
|
|
@@ -95,7 +95,7 @@ const Label = styledComponents.styled.div `
|
|
|
95
95
|
|
|
96
96
|
${({ $sx }) => ($sx ? $sx : '')}
|
|
97
97
|
`;
|
|
98
|
-
const InputWrapper =
|
|
98
|
+
const InputWrapper = styled.styled.div `
|
|
99
99
|
display: flex;
|
|
100
100
|
gap: 8px;
|
|
101
101
|
align-items: center;
|
|
@@ -116,7 +116,7 @@ const InputWrapper = styledComponents.styled.div `
|
|
|
116
116
|
${({ $successful }) => $successful ? 'border-color: var(--color-green-3) !important;' : ''}
|
|
117
117
|
${({ $warning }) => $warning ? 'border-color: var(--color-red-4) !important;' : ''}
|
|
118
118
|
`;
|
|
119
|
-
const Input =
|
|
119
|
+
const Input = styled.styled.input `
|
|
120
120
|
padding: 0px;
|
|
121
121
|
flex: 1;
|
|
122
122
|
font-family: var(--font-inter);
|
|
@@ -134,13 +134,13 @@ const Input = styledComponents.styled.input `
|
|
|
134
134
|
|
|
135
135
|
${({ $sx }) => ($sx ? $sx : '')}
|
|
136
136
|
`;
|
|
137
|
-
const HelperText =
|
|
137
|
+
const HelperText = styled.styled.span `
|
|
138
138
|
color: var(--color-grey-4);
|
|
139
139
|
font-family: var(--font-inter);
|
|
140
140
|
font-size: ${({ $size }) => ($size === 'small' ? 12 : 14)}px;
|
|
141
141
|
line-height: ${({ $size }) => ($size === 'small' ? 16 : 20)}px;
|
|
142
142
|
`;
|
|
143
|
-
const MaxCharactersText =
|
|
143
|
+
const MaxCharactersText = styled.styled.span `
|
|
144
144
|
color: var(--color-grey-6);
|
|
145
145
|
font-family: var(--font-inter);
|
|
146
146
|
font-size: 14px;
|
|
@@ -148,7 +148,7 @@ const MaxCharactersText = styledComponents.styled.span `
|
|
|
148
148
|
font-weight: 400;
|
|
149
149
|
line-height: 20px;
|
|
150
150
|
`;
|
|
151
|
-
const MultipleInputWrapper =
|
|
151
|
+
const MultipleInputWrapper = styled.styled.form `
|
|
152
152
|
display: flex;
|
|
153
153
|
flex-flow: row wrap;
|
|
154
154
|
gap: 8px 16px;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var dropdown = require('../../actions/dropdown/dropdown.js');
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var
|
|
6
|
+
var styled = require('styled-components');
|
|
7
7
|
var clock = require('../../../icons/time/clock.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
@@ -40,7 +40,7 @@ const Time = ({ selectedTime, setTime, selectedPeriod, setPeriod, }) => {
|
|
|
40
40
|
setTime(value);
|
|
41
41
|
}, additionalOnChange: setPeriod, defaultValue: selectedTime, defaultAdditionalValue: selectedPeriod }));
|
|
42
42
|
};
|
|
43
|
-
const InputWrapper =
|
|
43
|
+
const InputWrapper = styled.styled.div `
|
|
44
44
|
width: fit-content;
|
|
45
45
|
display: flex;
|
|
46
46
|
gap: 8px;
|
|
@@ -59,7 +59,7 @@ const InputWrapper = styledComponents.styled.div `
|
|
|
59
59
|
border-color: var(--color-primary-blue-2);
|
|
60
60
|
}
|
|
61
61
|
`;
|
|
62
|
-
const Input =
|
|
62
|
+
const Input = styled.styled.input `
|
|
63
63
|
max-width: 120px;
|
|
64
64
|
padding: 0px;
|
|
65
65
|
flex: 1;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var Image = require('next/image');
|
|
5
|
-
var
|
|
5
|
+
var styled = require('styled-components');
|
|
6
6
|
var box = require('../../atoms/box/box.js');
|
|
7
7
|
var seconds_to_duration = require('../../atoms/seconds_to_duration/seconds_to_duration.js');
|
|
8
8
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
@@ -25,7 +25,7 @@ const PlaylistItem = ({ duration, onClick, playable, progress = 0, shortDescript
|
|
|
25
25
|
duration && (React__default.default.createElement(paragraph.P, { "$color": "grey-8", "$fontSize": 14, "$lineHeight": 20, sx: "flex-shrink: 0;" },
|
|
26
26
|
React__default.default.createElement(seconds_to_duration.SecToDuration, { seconds: duration })))));
|
|
27
27
|
};
|
|
28
|
-
const Wrapper =
|
|
28
|
+
const Wrapper = styled.styled.div `
|
|
29
29
|
width: 100%;
|
|
30
30
|
flex: 0 1 auto;
|
|
31
31
|
display: flex;
|
|
@@ -38,7 +38,7 @@ const Wrapper = styledComponents.styled.div `
|
|
|
38
38
|
const ProgressBar = ({ progressPercent }) => (React__default.default.createElement(ProgressBarSvg, { viewBox: "0 0 133 2", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
39
39
|
React__default.default.createElement("rect", { width: 133 * progressPercent, height: "2", fill: "var(--color-primary-blue-2)" }),
|
|
40
40
|
React__default.default.createElement("rect", { x: 133 * progressPercent, width: 133 - 133 * progressPercent, height: "2", fill: "var(--color-grey-8)" })));
|
|
41
|
-
const ProgressBarSvg =
|
|
41
|
+
const ProgressBarSvg = styled.styled.svg `
|
|
42
42
|
width: 133px;
|
|
43
43
|
position: absolute;
|
|
44
44
|
bottom: 0px;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var Image = require('next/image');
|
|
6
6
|
var ReactPlayer = require('react-player');
|
|
7
|
-
var
|
|
7
|
+
var styled = require('styled-components');
|
|
8
8
|
var box = require('../../atoms/box/box.js');
|
|
9
9
|
var heading = require('../../atoms/typography/heading.js');
|
|
10
10
|
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
@@ -99,7 +99,7 @@ const VideoPlayer = ({ activeIndex, pip, playable, playlist, onPipChange, onProg
|
|
|
99
99
|
React__default.default.createElement(button.Button, { onClick: toggleShowingAll, size: "small", sx: "background-color: var(--color-grey-2); border-color: var(--color-grey-8); color: var(--color-grey-8);", type: "text" }, showingAll ? 'Collapse' : 'View all')),
|
|
100
100
|
React__default.default.createElement(VerticalPlaylistWrapper, { "$showingAll": showingAll }, playlist.map((playlistItem$1, index) => (React__default.default.createElement(playlistItem.PlaylistItem, { key: playlistItem$1.id, duration: playlistItem$1.duration, onClick: () => handleMediaItemChange(index), playable: playable, progress: playlistItem$1.progress, shortDescription: playlistItem$1.shortDescription, thumbnail: playlistItem$1.thumbnail, title: playlistItem$1.title })))))))));
|
|
101
101
|
};
|
|
102
|
-
const Wrapper =
|
|
102
|
+
const Wrapper = styled.styled.div `
|
|
103
103
|
display: flex;
|
|
104
104
|
justify-content: center;
|
|
105
105
|
background-color: var(--color-grey-0);
|
|
@@ -110,7 +110,7 @@ const Wrapper = styledComponents.styled.div `
|
|
|
110
110
|
|
|
111
111
|
${({ $orientation }) => $orientation === 'vertical' ? 'max-width: 960px; height: max-content;' : ''}
|
|
112
112
|
`;
|
|
113
|
-
const InnerWrapper =
|
|
113
|
+
const InnerWrapper = styled.styled.div `
|
|
114
114
|
max-width: 2284px;
|
|
115
115
|
flex: 1;
|
|
116
116
|
display: flex;
|
|
@@ -139,7 +139,7 @@ const InnerWrapper = styledComponents.styled.div `
|
|
|
139
139
|
flex: 3;
|
|
140
140
|
}`}
|
|
141
141
|
`;
|
|
142
|
-
const Side =
|
|
142
|
+
const Side = styled.styled.div `
|
|
143
143
|
position: relative;
|
|
144
144
|
box-sizing: border-box;
|
|
145
145
|
display: flex;
|
|
@@ -147,7 +147,7 @@ const Side = styledComponents.styled.div `
|
|
|
147
147
|
padding: 24px;
|
|
148
148
|
gap: 24px;
|
|
149
149
|
`;
|
|
150
|
-
const HorizontalPlaylistWrapper =
|
|
150
|
+
const HorizontalPlaylistWrapper = styled.styled.div `
|
|
151
151
|
display: flex;
|
|
152
152
|
flex-direction: column;
|
|
153
153
|
gap: 24px;
|
|
@@ -173,7 +173,7 @@ const HorizontalPlaylistWrapper = styledComponents.styled.div `
|
|
|
173
173
|
opacity: 30%;
|
|
174
174
|
}
|
|
175
175
|
`;
|
|
176
|
-
const VerticalPlaylistWrapper =
|
|
176
|
+
const VerticalPlaylistWrapper = styled.styled.div `
|
|
177
177
|
display: flex;
|
|
178
178
|
flex-direction: column;
|
|
179
179
|
gap: 24px;
|