@soul-refiner/design-system 2.0.0-alpha.20 → 2.0.0-alpha.21
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/index.js +11881 -0
- package/package.json +3 -4
- package/dist/_virtual/_cloneBuffer.js +0 -5
- package/dist/_virtual/_commonjsHelpers.js +0 -10
- package/dist/_virtual/_nodeUtil.js +0 -5
- package/dist/_virtual/index.js +0 -5
- package/dist/_virtual/index2.js +0 -5
- package/dist/_virtual/index3.js +0 -5
- package/dist/_virtual/isBuffer.js +0 -5
- package/dist/_virtual/use-sync-external-store-shim.development.js +0 -5
- package/dist/_virtual/use-sync-external-store-shim.production.min.js +0 -5
- package/dist/_virtual/util.js +0 -5
- package/dist/_virtual/with-selector.development.js +0 -5
- package/dist/_virtual/with-selector.js +0 -5
- package/dist/_virtual/with-selector.production.min.js +0 -5
- package/dist/node_modules/@udecode/plate-alignment/dist/index.js +0 -98
- package/dist/node_modules/@udecode/plate-core/dist/index.js +0 -2656
- package/dist/node_modules/@udecode/plate-link/dist/index.js +0 -585
- package/dist/node_modules/@udecode/plate-media/dist/index.js +0 -211
- package/dist/node_modules/@udecode/plate-normalizers/dist/index.js +0 -20
- package/dist/node_modules/@udecode/plate-resizable/dist/index.js +0 -334
- package/dist/node_modules/@udecode/plate-table/dist/index.js +0 -1371
- package/dist/node_modules/@udecode/plate-utils/dist/index.js +0 -127
- package/dist/node_modules/@udecode/slate/dist/index.js +0 -316
- package/dist/node_modules/@udecode/slate-react/dist/index.js +0 -35
- package/dist/node_modules/@udecode/slate-utils/dist/index.js +0 -230
- package/dist/node_modules/@udecode/utils/dist/index.js +0 -61
- package/dist/node_modules/clsx/dist/clsx.m.js +0 -8
- package/dist/node_modules/dequal/dist/index.js +0 -88
- package/dist/node_modules/immer/dist/immer.js +0 -968
- package/dist/node_modules/is-hotkey/lib/index.js +0 -253
- package/dist/node_modules/jotai/esm/react/utils.js +0 -29
- package/dist/node_modules/jotai/esm/react.js +0 -116
- package/dist/node_modules/jotai/esm/vanilla/utils.js +0 -44
- package/dist/node_modules/jotai/esm/vanilla.js +0 -602
- package/dist/node_modules/jotai-optics/dist/index.modern.js +0 -8
- package/dist/node_modules/jotai-x/dist/index.js +0 -259
- package/dist/node_modules/js-video-url-parser/lib/base.js +0 -9
- package/dist/node_modules/js-video-url-parser/lib/provider/allocine.js +0 -38
- package/dist/node_modules/js-video-url-parser/lib/provider/canalplus.js +0 -50
- package/dist/node_modules/js-video-url-parser/lib/provider/coub.js +0 -58
- package/dist/node_modules/js-video-url-parser/lib/provider/dailymotion.js +0 -74
- package/dist/node_modules/js-video-url-parser/lib/provider/facebook.js +0 -82
- package/dist/node_modules/js-video-url-parser/lib/provider/loom.js +0 -55
- package/dist/node_modules/js-video-url-parser/lib/provider/soundcloud.js +0 -129
- package/dist/node_modules/js-video-url-parser/lib/provider/teachertube.js +0 -114
- package/dist/node_modules/js-video-url-parser/lib/provider/ted.js +0 -100
- package/dist/node_modules/js-video-url-parser/lib/provider/tiktok.js +0 -54
- package/dist/node_modules/js-video-url-parser/lib/provider/twitch.js +0 -154
- package/dist/node_modules/js-video-url-parser/lib/provider/vimeo.js +0 -93
- package/dist/node_modules/js-video-url-parser/lib/provider/wistia.js +0 -116
- package/dist/node_modules/js-video-url-parser/lib/provider/youku.js +0 -87
- package/dist/node_modules/js-video-url-parser/lib/provider/youtube.js +0 -209
- package/dist/node_modules/js-video-url-parser/lib/urlParser.js +0 -88
- package/dist/node_modules/js-video-url-parser/lib/util.js +0 -112
- package/dist/node_modules/lodash/_DataView.js +0 -14
- package/dist/node_modules/lodash/_Hash.js +0 -42
- package/dist/node_modules/lodash/_ListCache.js +0 -42
- package/dist/node_modules/lodash/_Map.js +0 -14
- package/dist/node_modules/lodash/_MapCache.js +0 -42
- package/dist/node_modules/lodash/_Promise.js +0 -14
- package/dist/node_modules/lodash/_Set.js +0 -14
- package/dist/node_modules/lodash/_SetCache.js +0 -35
- package/dist/node_modules/lodash/_Stack.js +0 -38
- package/dist/node_modules/lodash/_Symbol.js +0 -12
- package/dist/node_modules/lodash/_Uint8Array.js +0 -12
- package/dist/node_modules/lodash/_WeakMap.js +0 -14
- package/dist/node_modules/lodash/_apply.js +0 -26
- package/dist/node_modules/lodash/_arrayAggregator.js +0 -27
- package/dist/node_modules/lodash/_arrayEach.js +0 -27
- package/dist/node_modules/lodash/_arrayFilter.js +0 -30
- package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -60
- package/dist/node_modules/lodash/_arrayMap.js +0 -26
- package/dist/node_modules/lodash/_arrayPush.js +0 -25
- package/dist/node_modules/lodash/_arraySome.js +0 -28
- package/dist/node_modules/lodash/_assignMergeValue.js +0 -27
- package/dist/node_modules/lodash/_assignValue.js +0 -35
- package/dist/node_modules/lodash/_assocIndexOf.js +0 -27
- package/dist/node_modules/lodash/_baseAggregator.js +0 -27
- package/dist/node_modules/lodash/_baseAssign.js +0 -24
- package/dist/node_modules/lodash/_baseAssignIn.js +0 -24
- package/dist/node_modules/lodash/_baseAssignValue.js +0 -31
- package/dist/node_modules/lodash/_baseClone.js +0 -193
- package/dist/node_modules/lodash/_baseCreate.js +0 -36
- package/dist/node_modules/lodash/_baseEach.js +0 -21
- package/dist/node_modules/lodash/_baseFlatten.js +0 -45
- package/dist/node_modules/lodash/_baseFor.js +0 -22
- package/dist/node_modules/lodash/_baseForOwn.js +0 -23
- package/dist/node_modules/lodash/_baseGet.js +0 -31
- package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -27
- package/dist/node_modules/lodash/_baseGetTag.js +0 -36
- package/dist/node_modules/lodash/_baseHasIn.js +0 -18
- package/dist/node_modules/lodash/_baseIsArguments.js +0 -25
- package/dist/node_modules/lodash/_baseIsEqual.js +0 -35
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -96
- package/dist/node_modules/lodash/_baseIsMap.js +0 -25
- package/dist/node_modules/lodash/_baseIsMatch.js +0 -69
- package/dist/node_modules/lodash/_baseIsNative.js +0 -56
- package/dist/node_modules/lodash/_baseIsSet.js +0 -25
- package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -68
- package/dist/node_modules/lodash/_baseIteratee.js +0 -41
- package/dist/node_modules/lodash/_baseKeys.js +0 -37
- package/dist/node_modules/lodash/_baseKeysIn.js +0 -41
- package/dist/node_modules/lodash/_baseMap.js +0 -29
- package/dist/node_modules/lodash/_baseMatches.js +0 -30
- package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -45
- package/dist/node_modules/lodash/_baseMerge.js +0 -54
- package/dist/node_modules/lodash/_baseMergeDeep.js +0 -114
- package/dist/node_modules/lodash/_baseProperty.js +0 -19
- package/dist/node_modules/lodash/_basePropertyDeep.js +0 -22
- package/dist/node_modules/lodash/_baseRest.js +0 -25
- package/dist/node_modules/lodash/_baseSetToString.js +0 -30
- package/dist/node_modules/lodash/_baseSlice.js +0 -36
- package/dist/node_modules/lodash/_baseTimes.js +0 -25
- package/dist/node_modules/lodash/_baseToString.js +0 -46
- package/dist/node_modules/lodash/_baseUnary.js +0 -19
- package/dist/node_modules/lodash/_baseUnset.js +0 -29
- package/dist/node_modules/lodash/_baseValues.js +0 -25
- package/dist/node_modules/lodash/_cacheHas.js +0 -18
- package/dist/node_modules/lodash/_castPath.js +0 -30
- package/dist/node_modules/lodash/_cloneArrayBuffer.js +0 -22
- package/dist/node_modules/lodash/_cloneBuffer.js +0 -48
- package/dist/node_modules/lodash/_cloneDataView.js +0 -22
- package/dist/node_modules/lodash/_cloneRegExp.js +0 -22
- package/dist/node_modules/lodash/_cloneSymbol.js +0 -24
- package/dist/node_modules/lodash/_cloneTypedArray.js +0 -22
- package/dist/node_modules/lodash/_copyArray.js +0 -25
- package/dist/node_modules/lodash/_copyObject.js +0 -47
- package/dist/node_modules/lodash/_copySymbols.js +0 -23
- package/dist/node_modules/lodash/_copySymbolsIn.js +0 -23
- package/dist/node_modules/lodash/_coreJsData.js +0 -12
- package/dist/node_modules/lodash/_createAggregator.js +0 -32
- package/dist/node_modules/lodash/_createAssigner.js +0 -44
- package/dist/node_modules/lodash/_createBaseEach.js +0 -38
- package/dist/node_modules/lodash/_createBaseFor.js +0 -30
- package/dist/node_modules/lodash/_customDefaultsMerge.js +0 -35
- package/dist/node_modules/lodash/_customOmitClone.js +0 -22
- package/dist/node_modules/lodash/_defineProperty.js +0 -17
- package/dist/node_modules/lodash/_equalArrays.js +0 -92
- package/dist/node_modules/lodash/_equalByTag.js +0 -123
- package/dist/node_modules/lodash/_equalObjects.js +0 -96
- package/dist/node_modules/lodash/_flatRest.js +0 -24
- package/dist/node_modules/lodash/_freeGlobal.js +0 -11
- package/dist/node_modules/lodash/_getAllKeys.js +0 -24
- package/dist/node_modules/lodash/_getAllKeysIn.js +0 -25
- package/dist/node_modules/lodash/_getMapData.js +0 -24
- package/dist/node_modules/lodash/_getMatchData.js +0 -31
- package/dist/node_modules/lodash/_getNative.js +0 -24
- package/dist/node_modules/lodash/_getPrototype.js +0 -12
- package/dist/node_modules/lodash/_getRawTag.js +0 -52
- package/dist/node_modules/lodash/_getSymbols.js +0 -37
- package/dist/node_modules/lodash/_getSymbolsIn.js +0 -34
- package/dist/node_modules/lodash/_getTag.js +0 -70
- package/dist/node_modules/lodash/_getValue.js +0 -18
- package/dist/node_modules/lodash/_hasPath.js +0 -50
- package/dist/node_modules/lodash/_hashClear.js +0 -21
- package/dist/node_modules/lodash/_hashDelete.js +0 -22
- package/dist/node_modules/lodash/_hashGet.js +0 -36
- package/dist/node_modules/lodash/_hashHas.js +0 -29
- package/dist/node_modules/lodash/_hashSet.js +0 -29
- package/dist/node_modules/lodash/_initCloneArray.js +0 -31
- package/dist/node_modules/lodash/_initCloneByTag.js +0 -87
- package/dist/node_modules/lodash/_initCloneObject.js +0 -26
- package/dist/node_modules/lodash/_isFlattenable.js +0 -28
- package/dist/node_modules/lodash/_isIndex.js +0 -30
- package/dist/node_modules/lodash/_isIterateeCall.js +0 -39
- package/dist/node_modules/lodash/_isKey.js +0 -36
- package/dist/node_modules/lodash/_isKeyable.js +0 -20
- package/dist/node_modules/lodash/_isMasked.js +0 -26
- package/dist/node_modules/lodash/_isPrototype.js +0 -23
- package/dist/node_modules/lodash/_isStrictComparable.js +0 -21
- package/dist/node_modules/lodash/_listCacheClear.js +0 -18
- package/dist/node_modules/lodash/_listCacheDelete.js +0 -41
- package/dist/node_modules/lodash/_listCacheGet.js +0 -25
- package/dist/node_modules/lodash/_listCacheHas.js +0 -22
- package/dist/node_modules/lodash/_listCacheSet.js +0 -32
- package/dist/node_modules/lodash/_mapCacheClear.js +0 -29
- package/dist/node_modules/lodash/_mapCacheDelete.js +0 -24
- package/dist/node_modules/lodash/_mapCacheGet.js +0 -22
- package/dist/node_modules/lodash/_mapCacheHas.js +0 -22
- package/dist/node_modules/lodash/_mapCacheSet.js +0 -28
- package/dist/node_modules/lodash/_mapToArray.js +0 -23
- package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -25
- package/dist/node_modules/lodash/_memoizeCapped.js +0 -32
- package/dist/node_modules/lodash/_nativeCreate.js +0 -12
- package/dist/node_modules/lodash/_nativeKeys.js +0 -12
- package/dist/node_modules/lodash/_nativeKeysIn.js +0 -25
- package/dist/node_modules/lodash/_nodeUtil.js +0 -43
- package/dist/node_modules/lodash/_objectToString.js +0 -27
- package/dist/node_modules/lodash/_overArg.js +0 -20
- package/dist/node_modules/lodash/_overRest.js +0 -42
- package/dist/node_modules/lodash/_parent.js +0 -23
- package/dist/node_modules/lodash/_root.js +0 -15
- package/dist/node_modules/lodash/_safeGet.js +0 -26
- package/dist/node_modules/lodash/_setCacheAdd.js +0 -24
- package/dist/node_modules/lodash/_setCacheHas.js +0 -19
- package/dist/node_modules/lodash/_setToArray.js +0 -23
- package/dist/node_modules/lodash/_setToString.js +0 -21
- package/dist/node_modules/lodash/_shortOut.js +0 -42
- package/dist/node_modules/lodash/_stackClear.js +0 -21
- package/dist/node_modules/lodash/_stackDelete.js +0 -23
- package/dist/node_modules/lodash/_stackGet.js +0 -19
- package/dist/node_modules/lodash/_stackHas.js +0 -19
- package/dist/node_modules/lodash/_stackSet.js +0 -42
- package/dist/node_modules/lodash/_stringToPath.js +0 -33
- package/dist/node_modules/lodash/_toKey.js +0 -27
- package/dist/node_modules/lodash/_toSource.js +0 -31
- package/dist/node_modules/lodash/castArray.js +0 -55
- package/dist/node_modules/lodash/cloneDeep.js +0 -40
- package/dist/node_modules/lodash/constant.js +0 -31
- package/dist/node_modules/lodash/defaults.js +0 -69
- package/dist/node_modules/lodash/defaultsDeep.js +0 -44
- package/dist/node_modules/lodash/eq.js +0 -42
- package/dist/node_modules/lodash/flatten.js +0 -28
- package/dist/node_modules/lodash/get.js +0 -39
- package/dist/node_modules/lodash/hasIn.js +0 -41
- package/dist/node_modules/lodash/identity.js +0 -26
- package/dist/node_modules/lodash/isArguments.js +0 -43
- package/dist/node_modules/lodash/isArray.js +0 -31
- package/dist/node_modules/lodash/isArrayLike.js +0 -40
- package/dist/node_modules/lodash/isArrayLikeObject.js +0 -40
- package/dist/node_modules/lodash/isBuffer.js +0 -52
- package/dist/node_modules/lodash/isFunction.js +0 -44
- package/dist/node_modules/lodash/isLength.js +0 -40
- package/dist/node_modules/lodash/isMap.js +0 -35
- package/dist/node_modules/lodash/isObject.js +0 -36
- package/dist/node_modules/lodash/isObjectLike.js +0 -34
- package/dist/node_modules/lodash/isPlainObject.js +0 -70
- package/dist/node_modules/lodash/isSet.js +0 -35
- package/dist/node_modules/lodash/isSymbol.js +0 -36
- package/dist/node_modules/lodash/isTypedArray.js +0 -35
- package/dist/node_modules/lodash/keyBy.js +0 -48
- package/dist/node_modules/lodash/keys.js +0 -45
- package/dist/node_modules/lodash/keysIn.js +0 -40
- package/dist/node_modules/lodash/last.js +0 -25
- package/dist/node_modules/lodash/map.js +0 -67
- package/dist/node_modules/lodash/memoize.js +0 -79
- package/dist/node_modules/lodash/merge.js +0 -51
- package/dist/node_modules/lodash/mergeWith.js +0 -46
- package/dist/node_modules/lodash/omit.js +0 -75
- package/dist/node_modules/lodash/property.js +0 -41
- package/dist/node_modules/lodash/stubArray.js +0 -28
- package/dist/node_modules/lodash/stubFalse.js +0 -23
- package/dist/node_modules/lodash/toPlainObject.js +0 -39
- package/dist/node_modules/lodash/toString.js +0 -34
- package/dist/node_modules/lodash/values.js +0 -46
- package/dist/node_modules/lodash.mapvalues/index.js +0 -2290
- package/dist/node_modules/optics-ts/dist/mjs/index.js +0 -31
- package/dist/node_modules/optics-ts/dist/mjs/internals.js +0 -460
- package/dist/node_modules/proxy-compare/dist/index.modern.js +0 -7
- package/dist/node_modules/react-hotkeys-hook/dist/react-hotkeys-hook.esm.js +0 -395
- package/dist/node_modules/react-tracked/dist/index.modern.js +0 -48
- package/dist/node_modules/use-deep-compare/dist-web/index.js +0 -35
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +0 -181
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js +0 -32
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -254
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js +0 -30
- package/dist/node_modules/use-sync-external-store/shim/index.js +0 -21
- package/dist/node_modules/use-sync-external-store/shim/with-selector.js +0 -19
- package/dist/node_modules/zustand/esm/middleware.js +0 -551
- package/dist/node_modules/zustand/esm/traditional.js +0 -25
- package/dist/node_modules/zustand/esm/vanilla.js +0 -34
- package/dist/node_modules/zustand-x/dist/index.js +0 -217
- package/dist/src/common/colors.js +0 -140
- package/dist/src/common/date.js +0 -34
- package/dist/src/common/styles.js +0 -66
- package/dist/src/components/actions/button/button.js +0 -330
- package/dist/src/components/actions/dropdown/dropdown.js +0 -237
- package/dist/src/components/actions/rate/rate.js +0 -56
- package/dist/src/components/actions/switch/switch.js +0 -81
- package/dist/src/components/actions/toggle/toggle.js +0 -67
- package/dist/src/components/actions/upload/upload.js +0 -170
- package/dist/src/components/atoms/box/box.js +0 -26
- package/dist/src/components/atoms/hide/hide.js +0 -18
- package/dist/src/components/atoms/seconds_to_duration/seconds_to_duration.js +0 -36
- package/dist/src/components/atoms/time_ago/time_ago.js +0 -40
- package/dist/src/components/atoms/typography/display.js +0 -19
- package/dist/src/components/atoms/typography/heading.js +0 -44
- package/dist/src/components/atoms/typography/paragraph.js +0 -27
- package/dist/src/components/atoms/typography/typography.js +0 -17
- package/dist/src/components/card/action/action.js +0 -84
- package/dist/src/components/card/audio/audio.js +0 -143
- package/dist/src/components/card/card.js +0 -34
- package/dist/src/components/card/feature/feature.js +0 -204
- package/dist/src/components/card/meeting/meeting.js +0 -152
- package/dist/src/components/card/person/person.js +0 -83
- package/dist/src/components/card/price/price.js +0 -89
- package/dist/src/components/card/regular/regular.js +0 -43
- package/dist/src/components/card/styles.js +0 -16
- package/dist/src/components/card/video/video.js +0 -140
- package/dist/src/components/card/written/written.js +0 -143
- package/dist/src/components/custom/courses_selection/courses_selection.js +0 -143
- package/dist/src/components/custom/users_selection/users_selection.js +0 -134
- package/dist/src/components/editor/constants.js +0 -195
- package/dist/src/components/editor/context.js +0 -17
- package/dist/src/components/editor/editor.js +0 -114
- package/dist/src/components/editor/icons/border-all.js +0 -12
- package/dist/src/components/editor/icons/border-bottom.js +0 -12
- package/dist/src/components/editor/icons/border-left.js +0 -12
- package/dist/src/components/editor/icons/border-none.js +0 -12
- package/dist/src/components/editor/icons/border-right.js +0 -12
- package/dist/src/components/editor/icons/border-top.js +0 -12
- package/dist/src/components/editor/navbar/alignment_dropdown.js +0 -106
- package/dist/src/components/editor/navbar/button_modal.js +0 -70
- package/dist/src/components/editor/navbar/navbar.js +0 -225
- package/dist/src/components/editor/navbar/style_dropdown.js +0 -74
- package/dist/src/components/editor/plugins/blocks/blockquote.js +0 -17
- package/dist/src/components/editor/plugins/blocks/blocks.js +0 -54
- package/dist/src/components/editor/plugins/blocks/buttons.js +0 -91
- package/dist/src/components/editor/plugins/blocks/dropdown-menu.js +0 -78
- package/dist/src/components/editor/plugins/blocks/image.js +0 -61
- package/dist/src/components/editor/plugins/blocks/list.js +0 -26
- package/dist/src/components/editor/plugins/blocks/media-popover.js +0 -43
- package/dist/src/components/editor/plugins/blocks/plate-button.js +0 -63
- package/dist/src/components/editor/plugins/blocks/popover.js +0 -39
- package/dist/src/components/editor/plugins/blocks/qa.js +0 -55
- package/dist/src/components/editor/plugins/blocks/resizable.js +0 -48
- package/dist/src/components/editor/plugins/blocks/separator.js +0 -44
- package/dist/src/components/editor/plugins/blocks/table-cell.js +0 -48
- package/dist/src/components/editor/plugins/blocks/table-row.js +0 -16
- package/dist/src/components/editor/plugins/blocks/table.js +0 -100
- package/dist/src/components/editor/plugins/blocks/text.js +0 -103
- package/dist/src/components/editor/plugins/blocks/video.js +0 -42
- package/dist/src/components/editor/plugins/leafs/leafs.js +0 -37
- package/dist/src/components/editor/plugins/leafs/link.js +0 -86
- package/dist/src/components/editor/plugins/marks/marks.js +0 -17
- package/dist/src/components/editor/plugins/plate.js +0 -43
- package/dist/src/components/editor/plugins/utils/exitBreak.js +0 -36
- package/dist/src/components/editor/plugins/utils/resetBlockType.js +0 -26
- package/dist/src/components/editor/plugins/utils/selectOnBackspace.js +0 -11
- package/dist/src/components/editor/plugins/utils/softBreak.js +0 -19
- package/dist/src/components/editor/plugins/utils/utils.js +0 -17
- package/dist/src/components/editor/simple_editor/navbar.js +0 -128
- package/dist/src/components/editor/simple_editor/plugins.js +0 -93
- package/dist/src/components/editor/simple_editor/simple_editor.js +0 -98
- package/dist/src/components/editor/styles/menu_button.js +0 -36
- package/dist/src/components/feedback/animated_toast/animated_toast.js +0 -64
- package/dist/src/components/feedback/badge/badge.js +0 -75
- package/dist/src/components/feedback/banner/banner.js +0 -95
- package/dist/src/components/feedback/chip/chip.js +0 -103
- package/dist/src/components/feedback/loader/loader.js +0 -44
- package/dist/src/components/feedback/notification/notification.js +0 -87
- package/dist/src/components/feedback/progress/progress.js +0 -101
- package/dist/src/components/feedback/toast/toast.js +0 -126
- package/dist/src/components/feedback/tooltip/tooltip.js +0 -35
- package/dist/src/components/iconography/avatar/avatar.js +0 -190
- package/dist/src/components/iconography/avatar/icons/approved.js +0 -14
- package/dist/src/components/iconography/avatar/icons/busy.js +0 -14
- package/dist/src/components/iconography/avatar/icons/declined.js +0 -14
- package/dist/src/components/iconography/avatar/icons/default.js +0 -13
- package/dist/src/components/iconography/avatar/icons/focus.js +0 -14
- package/dist/src/components/iconography/avatar/icons/locked.js +0 -14
- package/dist/src/components/iconography/avatar/icons/offline.js +0 -14
- package/dist/src/components/iconography/avatar/icons/online.js +0 -13
- package/dist/src/components/iconography/avatar/icons/subscribed.js +0 -18
- package/dist/src/components/iconography/icon/icon.js +0 -19
- package/dist/src/components/input/calendar/calendar.js +0 -267
- package/dist/src/components/input/checkbox/checkbox.js +0 -32
- package/dist/src/components/input/date/date.js +0 -529
- package/dist/src/components/input/filter/filter.js +0 -332
- package/dist/src/components/input/filter/filter_option.js +0 -82
- package/dist/src/components/input/radio/radio.js +0 -92
- package/dist/src/components/input/search/search.js +0 -148
- package/dist/src/components/input/select/select.js +0 -56
- package/dist/src/components/input/text_area/text_area.js +0 -120
- package/dist/src/components/input/text_input/text_input.js +0 -157
- package/dist/src/components/input/time/time.js +0 -80
- package/dist/src/components/media/video/video.js +0 -42
- package/dist/src/components/media/video-player/playlist-item.js +0 -48
- package/dist/src/components/media/video-player/video.js +0 -210
- package/dist/src/components/navigation/breadcrumb/breadcrumb.js +0 -119
- package/dist/src/components/navigation/inner/inner.js +0 -199
- package/dist/src/components/navigation/tabs/tabs.js +0 -159
- package/dist/src/components/surfaces/accordion/accordion.js +0 -56
- package/dist/src/components/surfaces/calendar_date/calendar_date.js +0 -55
- package/dist/src/components/surfaces/carousel/card/card.js +0 -106
- package/dist/src/components/surfaces/comment/comment.js +0 -211
- package/dist/src/components/surfaces/comment/helpers.js +0 -30
- package/dist/src/components/surfaces/drawer/drawer.js +0 -140
- package/dist/src/components/surfaces/message/message.js +0 -56
- package/dist/src/components/surfaces/modal/modal.js +0 -135
- package/dist/src/components/surfaces/portal/portal.js +0 -36
- package/dist/src/components/surfaces/post/post.js +0 -246
- package/dist/src/components/table/table/table.js +0 -192
- package/dist/src/emoji/emojis.json.js +0 -36331
- package/dist/src/icons/arrow/arrow_all.js +0 -15
- package/dist/src/icons/arrow/arrow_all_diagonal.js +0 -15
- package/dist/src/icons/arrow/arrow_both_downwards.js +0 -15
- package/dist/src/icons/arrow/arrow_both_upwards.js +0 -15
- package/dist/src/icons/arrow/arrow_circle_left.js +0 -15
- package/dist/src/icons/arrow/arrow_circle_left_double.js +0 -15
- package/dist/src/icons/arrow/arrow_circle_left_double_alert.js +0 -17
- package/dist/src/icons/arrow/arrow_circle_right.js +0 -15
- package/dist/src/icons/arrow/arrow_circle_right_double.js +0 -15
- package/dist/src/icons/arrow/arrow_circle_right_double_alert.js +0 -15
- package/dist/src/icons/arrow/arrow_diagonal_down_left.js +0 -15
- package/dist/src/icons/arrow/arrow_diagonal_down_left_circle.js +0 -15
- package/dist/src/icons/arrow/arrow_diagonal_down_right.js +0 -15
- package/dist/src/icons/arrow/arrow_diagonal_down_right_circle.js +0 -15
- package/dist/src/icons/arrow/arrow_diagonal_up_left.js +0 -15
- package/dist/src/icons/arrow/arrow_diagonal_up_left_circle.js +0 -15
- package/dist/src/icons/arrow/arrow_diagonal_up_right.js +0 -15
- package/dist/src/icons/arrow/arrow_diagonal_up_right_circle.js +0 -15
- package/dist/src/icons/arrow/arrow_down.js +0 -15
- package/dist/src/icons/arrow/arrow_down_bold.js +0 -15
- package/dist/src/icons/arrow/arrow_down_circle.js +0 -15
- package/dist/src/icons/arrow/arrow_left.js +0 -15
- package/dist/src/icons/arrow/arrow_left_bold.js +0 -15
- package/dist/src/icons/arrow/arrow_left_circle.js +0 -15
- package/dist/src/icons/arrow/arrow_left_curved.js +0 -15
- package/dist/src/icons/arrow/arrow_left_curved_circle.js +0 -15
- package/dist/src/icons/arrow/arrow_right.js +0 -15
- package/dist/src/icons/arrow/arrow_right_bold.js +0 -15
- package/dist/src/icons/arrow/arrow_right_circle.js +0 -15
- package/dist/src/icons/arrow/arrow_right_curved.js +0 -15
- package/dist/src/icons/arrow/arrow_right_curved_circle.js +0 -15
- package/dist/src/icons/arrow/arrow_up.js +0 -15
- package/dist/src/icons/arrow/arrow_up_bold.js +0 -15
- package/dist/src/icons/arrow/arrow_up_circle.js +0 -15
- package/dist/src/icons/arrow/chevron_down.js +0 -15
- package/dist/src/icons/arrow/chevron_down_circle.js +0 -15
- package/dist/src/icons/arrow/chevron_down_double.js +0 -15
- package/dist/src/icons/arrow/chevron_down_double_circle.js +0 -15
- package/dist/src/icons/arrow/chevron_left.js +0 -15
- package/dist/src/icons/arrow/chevron_left_circle.js +0 -15
- package/dist/src/icons/arrow/chevron_left_double.js +0 -15
- package/dist/src/icons/arrow/chevron_left_double_circle.js +0 -15
- package/dist/src/icons/arrow/chevron_right.js +0 -15
- package/dist/src/icons/arrow/chevron_right_circle.js +0 -15
- package/dist/src/icons/arrow/chevron_right_double.js +0 -15
- package/dist/src/icons/arrow/chevron_right_double_circle.js +0 -15
- package/dist/src/icons/arrow/chevron_scroll.js +0 -15
- package/dist/src/icons/arrow/chevron_up.js +0 -15
- package/dist/src/icons/arrow/chevron_up_circle.js +0 -15
- package/dist/src/icons/arrow/chevron_up_double.js +0 -15
- package/dist/src/icons/arrow/chevron_up_double_circle.js +0 -15
- package/dist/src/icons/arrow/forward_all.js +0 -15
- package/dist/src/icons/arrow/forward_all_bold.js +0 -15
- package/dist/src/icons/arrow/forward_bold.js +0 -15
- package/dist/src/icons/arrow/redo.js +0 -15
- package/dist/src/icons/arrow/redo_bold.js +0 -15
- package/dist/src/icons/arrow/reply.js +0 -15
- package/dist/src/icons/arrow/reply_all.js +0 -15
- package/dist/src/icons/arrow/reply_all_bold.js +0 -15
- package/dist/src/icons/arrow/reply_bold.js +0 -15
- package/dist/src/icons/arrow/undo.js +0 -15
- package/dist/src/icons/arrow/undo_bold.js +0 -15
- package/dist/src/icons/audio_video/drag_indicator.js +0 -15
- package/dist/src/icons/audio_video/eject.js +0 -15
- package/dist/src/icons/audio_video/equalizer.js +0 -15
- package/dist/src/icons/audio_video/fast_forward.js +0 -15
- package/dist/src/icons/audio_video/fast_forward_30.js +0 -15
- package/dist/src/icons/audio_video/fullscreen.js +0 -15
- package/dist/src/icons/audio_video/headphones.js +0 -15
- package/dist/src/icons/audio_video/library_add.js +0 -15
- package/dist/src/icons/audio_video/library_music.js +0 -15
- package/dist/src/icons/audio_video/microphone.js +0 -15
- package/dist/src/icons/audio_video/musical_note.js +0 -15
- package/dist/src/icons/audio_video/next.js +0 -15
- package/dist/src/icons/audio_video/pause.js +0 -15
- package/dist/src/icons/audio_video/pause_circle.js +0 -15
- package/dist/src/icons/audio_video/play.js +0 -15
- package/dist/src/icons/audio_video/play_circle.js +0 -15
- package/dist/src/icons/audio_video/play_display.js +0 -15
- package/dist/src/icons/audio_video/play_pause.js +0 -15
- package/dist/src/icons/audio_video/play_solid.js +0 -15
- package/dist/src/icons/audio_video/player_list.js +0 -15
- package/dist/src/icons/audio_video/player_list_add.js +0 -15
- package/dist/src/icons/audio_video/player_list_play.js +0 -15
- package/dist/src/icons/audio_video/previous.js +0 -15
- package/dist/src/icons/audio_video/radio.js +0 -15
- package/dist/src/icons/audio_video/record.js +0 -15
- package/dist/src/icons/audio_video/repeat.js +0 -15
- package/dist/src/icons/audio_video/rewind.js +0 -15
- package/dist/src/icons/audio_video/rewind_30.js +0 -15
- package/dist/src/icons/audio_video/shuffle.js +0 -15
- package/dist/src/icons/audio_video/sound_wave.js +0 -15
- package/dist/src/icons/audio_video/stop.js +0 -15
- package/dist/src/icons/audio_video/stop_circle.js +0 -15
- package/dist/src/icons/audio_video/subscriptions.js +0 -15
- package/dist/src/icons/audio_video/tuner.js +0 -15
- package/dist/src/icons/audio_video/volume.js +0 -15
- package/dist/src/icons/audio_video/volume_high.js +0 -15
- package/dist/src/icons/audio_video/volume_low.js +0 -15
- package/dist/src/icons/audio_video/volume_slash.js +0 -15
- package/dist/src/icons/basic/aa_sansserif.js +0 -16
- package/dist/src/icons/basic/aa_serif.js +0 -16
- package/dist/src/icons/basic/anchor.js +0 -17
- package/dist/src/icons/basic/bible.js +0 -15
- package/dist/src/icons/basic/bold.js +0 -15
- package/dist/src/icons/basic/book.js +0 -15
- package/dist/src/icons/basic/book_open.js +0 -15
- package/dist/src/icons/basic/bookmark.js +0 -15
- package/dist/src/icons/basic/bookmark_add.js +0 -15
- package/dist/src/icons/basic/bookmark_slash.js +0 -15
- package/dist/src/icons/basic/bookmarks.js +0 -15
- package/dist/src/icons/basic/books.js +0 -18
- package/dist/src/icons/basic/box.js +0 -15
- package/dist/src/icons/basic/briefcase.js +0 -15
- package/dist/src/icons/basic/browse_activity.js +0 -15
- package/dist/src/icons/basic/browser.js +0 -15
- package/dist/src/icons/basic/browser_slash.js +0 -15
- package/dist/src/icons/basic/calculator.js +0 -15
- package/dist/src/icons/basic/camera.js +0 -15
- package/dist/src/icons/basic/camera_add.js +0 -15
- package/dist/src/icons/basic/camera_slash.js +0 -15
- package/dist/src/icons/basic/checkmark.js +0 -15
- package/dist/src/icons/basic/checkmark_circle.js +0 -17
- package/dist/src/icons/basic/checkmark_filled.js +0 -15
- package/dist/src/icons/basic/checkmarks.js +0 -15
- package/dist/src/icons/basic/circle.js +0 -15
- package/dist/src/icons/basic/circle_slash.js +0 -17
- package/dist/src/icons/basic/clear_text_style.js +0 -15
- package/dist/src/icons/basic/close.js +0 -15
- package/dist/src/icons/basic/close_circle.js +0 -15
- package/dist/src/icons/basic/close_filled.js +0 -15
- package/dist/src/icons/basic/copy.js +0 -15
- package/dist/src/icons/basic/delete.js +0 -15
- package/dist/src/icons/basic/detail.js +0 -15
- package/dist/src/icons/basic/dot.js +0 -15
- package/dist/src/icons/basic/download.js +0 -15
- package/dist/src/icons/basic/download_arrow.js +0 -15
- package/dist/src/icons/basic/droplet.js +0 -17
- package/dist/src/icons/basic/ellipsis_horizontal.js +0 -15
- package/dist/src/icons/basic/ellipsis_horizontal_circle.js +0 -15
- package/dist/src/icons/basic/ellipsis_vertical.js +0 -15
- package/dist/src/icons/basic/ellipsis_vertical_circle.js +0 -15
- package/dist/src/icons/basic/eye.js +0 -15
- package/dist/src/icons/basic/eye_slash.js +0 -15
- package/dist/src/icons/basic/fingerprint.js +0 -15
- package/dist/src/icons/basic/flag.js +0 -15
- package/dist/src/icons/basic/flag_wave.js +0 -15
- package/dist/src/icons/basic/flag_wave_filled.js +0 -15
- package/dist/src/icons/basic/flame.js +0 -15
- package/dist/src/icons/basic/gauge.js +0 -15
- package/dist/src/icons/basic/glasses.js +0 -15
- package/dist/src/icons/basic/graduation_cap.js +0 -15
- package/dist/src/icons/basic/hashmark.js +0 -15
- package/dist/src/icons/basic/heart.js +0 -15
- package/dist/src/icons/basic/heart_slash.js +0 -15
- package/dist/src/icons/basic/highlighter.js +0 -15
- package/dist/src/icons/basic/home.js +0 -15
- package/dist/src/icons/basic/image.js +0 -15
- package/dist/src/icons/basic/inbox.js +0 -15
- package/dist/src/icons/basic/italic.js +0 -15
- package/dist/src/icons/basic/layers.js +0 -15
- package/dist/src/icons/basic/lightening.js +0 -15
- package/dist/src/icons/basic/lightening_slash.js +0 -15
- package/dist/src/icons/basic/link.js +0 -15
- package/dist/src/icons/basic/link_slash.js +0 -15
- package/dist/src/icons/basic/loudspeaker.js +0 -15
- package/dist/src/icons/basic/maximize.js +0 -15
- package/dist/src/icons/basic/menu.js +0 -15
- package/dist/src/icons/basic/menu_circle.js +0 -15
- package/dist/src/icons/basic/menu_dots.js +0 -15
- package/dist/src/icons/basic/microphone_slash.js +0 -15
- package/dist/src/icons/basic/minimize.js +0 -15
- package/dist/src/icons/basic/minus.js +0 -15
- package/dist/src/icons/basic/minus_circle.js +0 -15
- package/dist/src/icons/basic/move_item.js +0 -15
- package/dist/src/icons/basic/new.js +0 -15
- package/dist/src/icons/basic/newspaper.js +0 -15
- package/dist/src/icons/basic/node.js +0 -15
- package/dist/src/icons/basic/note_pad.js +0 -16
- package/dist/src/icons/basic/options.js +0 -15
- package/dist/src/icons/basic/paint_brush.js +0 -15
- package/dist/src/icons/basic/paperclip.js +0 -15
- package/dist/src/icons/basic/paperclip_slash.js +0 -15
- package/dist/src/icons/basic/pencil.js +0 -15
- package/dist/src/icons/basic/pencil_pad.js +0 -15
- package/dist/src/icons/basic/plus.js +0 -15
- package/dist/src/icons/basic/plus_circle.js +0 -15
- package/dist/src/icons/basic/presentation.js +0 -15
- package/dist/src/icons/basic/printer.js +0 -15
- package/dist/src/icons/basic/profile.js +0 -15
- package/dist/src/icons/basic/profile_check.js +0 -15
- package/dist/src/icons/basic/pulse.js +0 -15
- package/dist/src/icons/basic/qr_code.js +0 -15
- package/dist/src/icons/basic/resize.js +0 -17
- package/dist/src/icons/basic/scan.js +0 -15
- package/dist/src/icons/basic/scissors.js +0 -15
- package/dist/src/icons/basic/screenshot.js +0 -15
- package/dist/src/icons/basic/search.js +0 -15
- package/dist/src/icons/basic/select_item.js +0 -16
- package/dist/src/icons/basic/settings.js +0 -15
- package/dist/src/icons/basic/share.js +0 -15
- package/dist/src/icons/basic/share_external.js +0 -15
- package/dist/src/icons/basic/square.js +0 -15
- package/dist/src/icons/basic/star.js +0 -15
- package/dist/src/icons/basic/star_circle.js +0 -15
- package/dist/src/icons/basic/star_filled.js +0 -15
- package/dist/src/icons/basic/star_filled_half.js +0 -15
- package/dist/src/icons/basic/star_slash.js +0 -15
- package/dist/src/icons/basic/sticker.js +0 -15
- package/dist/src/icons/basic/strikethrough.js +0 -15
- package/dist/src/icons/basic/subtask.js +0 -16
- package/dist/src/icons/basic/tax.js +0 -18
- package/dist/src/icons/basic/text_bg_color.js +0 -15
- package/dist/src/icons/basic/text_color.js +0 -15
- package/dist/src/icons/basic/textbox.js +0 -15
- package/dist/src/icons/basic/thumbs_down.js +0 -15
- package/dist/src/icons/basic/thumbs_up.js +0 -15
- package/dist/src/icons/basic/thumbs_up_filled.js +0 -15
- package/dist/src/icons/basic/toggle_left.js +0 -15
- package/dist/src/icons/basic/toggle_right.js +0 -15
- package/dist/src/icons/basic/translate.js +0 -15
- package/dist/src/icons/basic/trash.js +0 -15
- package/dist/src/icons/basic/trash_slash.js +0 -15
- package/dist/src/icons/basic/underline.js +0 -15
- package/dist/src/icons/basic/upload.js +0 -15
- package/dist/src/icons/basic/video.js +0 -15
- package/dist/src/icons/basic/video_add.js +0 -16
- package/dist/src/icons/basic/video_slash.js +0 -15
- package/dist/src/icons/basic/wrench.js +0 -15
- package/dist/src/icons/basic/zoom_in.js +0 -15
- package/dist/src/icons/basic/zoom_out.js +0 -15
- package/dist/src/icons/data/bar_chart.js +0 -15
- package/dist/src/icons/data/bar_chart_downward.js +0 -15
- package/dist/src/icons/data/bar_chart_downward_outline.js +0 -15
- package/dist/src/icons/data/bar_chart_upward.js +0 -15
- package/dist/src/icons/data/bar_chart_upward_outline.js +0 -15
- package/dist/src/icons/data/candlestick_chart.js +0 -15
- package/dist/src/icons/data/four_circles.js +0 -15
- package/dist/src/icons/data/legend_toggle.js +0 -15
- package/dist/src/icons/data/line_chart.js +0 -15
- package/dist/src/icons/data/line_chart_area.js +0 -15
- package/dist/src/icons/data/line_chart_area_shaded.js +0 -15
- package/dist/src/icons/data/line_chart_double.js +0 -15
- package/dist/src/icons/data/line_chart_downward.js +0 -15
- package/dist/src/icons/data/line_chart_node.js +0 -15
- package/dist/src/icons/data/line_chart_outline.js +0 -15
- package/dist/src/icons/data/line_chart_search.js +0 -15
- package/dist/src/icons/data/line_chart_stars.js +0 -15
- package/dist/src/icons/data/line_chart_upward.js +0 -15
- package/dist/src/icons/data/pie_chart.js +0 -16
- package/dist/src/icons/data/tree.js +0 -15
- package/dist/src/icons/email/mail.js +0 -15
- package/dist/src/icons/email/mail_check.js +0 -15
- package/dist/src/icons/email/mail_minus.js +0 -15
- package/dist/src/icons/email/mail_send.js +0 -15
- package/dist/src/icons/email/send.js +0 -15
- package/dist/src/icons/email/send_close.js +0 -15
- package/dist/src/icons/email/send_schedule.js +0 -15
- package/dist/src/icons/email/send_text.js +0 -15
- package/dist/src/icons/emoji/emoji_add.js +0 -15
- package/dist/src/icons/emoji/laughing.js +0 -15
- package/dist/src/icons/emoji/neutral.js +0 -15
- package/dist/src/icons/emoji/sad.js +0 -15
- package/dist/src/icons/emoji/shocked.js +0 -15
- package/dist/src/icons/emoji/smile.js +0 -15
- package/dist/src/icons/file/clipboard.js +0 -15
- package/dist/src/icons/file/clipboard_check.js +0 -15
- package/dist/src/icons/file/clipboard_close.js +0 -15
- package/dist/src/icons/file/clipboard_minus.js +0 -15
- package/dist/src/icons/file/clipboard_plus.js +0 -15
- package/dist/src/icons/file/clipboard_text.js +0 -15
- package/dist/src/icons/file/file.js +0 -15
- package/dist/src/icons/file/file_add.js +0 -15
- package/dist/src/icons/file/file_check.js +0 -15
- package/dist/src/icons/file/file_close.js +0 -15
- package/dist/src/icons/file/file_code.js +0 -15
- package/dist/src/icons/file/file_download.js +0 -15
- package/dist/src/icons/file/file_draft.js +0 -15
- package/dist/src/icons/file/file_gear.js +0 -16
- package/dist/src/icons/file/file_minus.js +0 -15
- package/dist/src/icons/file/file_plus.js +0 -15
- package/dist/src/icons/file/file_scan.js +0 -15
- package/dist/src/icons/file/file_shred.js +0 -15
- package/dist/src/icons/file/file_text.js +0 -15
- package/dist/src/icons/file/file_upload.js +0 -15
- package/dist/src/icons/file/folder.js +0 -15
- package/dist/src/icons/file/folder_add.js +0 -15
- package/dist/src/icons/file/folder_arrow.js +0 -15
- package/dist/src/icons/file/folder_check.js +0 -15
- package/dist/src/icons/file/folder_close.js +0 -15
- package/dist/src/icons/file/folder_cloud.js +0 -15
- package/dist/src/icons/file/folder_gear.js +0 -16
- package/dist/src/icons/file/folder_minus.js +0 -15
- package/dist/src/icons/file/folder_music.js +0 -15
- package/dist/src/icons/file/folder_open.js +0 -15
- package/dist/src/icons/file/folder_plus.js +0 -15
- package/dist/src/icons/file/folder_zip.js +0 -15
- package/dist/src/icons/file/note.js +0 -15
- package/dist/src/icons/file/note_text.js +0 -15
- package/dist/src/icons/file/pdf.js +0 -15
- package/dist/src/icons/file/photo.js +0 -15
- package/dist/src/icons/finance/bitcoin.js +0 -15
- package/dist/src/icons/finance/coins.js +0 -19
- package/dist/src/icons/finance/credit_card.js +0 -15
- package/dist/src/icons/finance/credit_card_add.js +0 -15
- package/dist/src/icons/finance/credit_card_face.js +0 -15
- package/dist/src/icons/finance/credit_card_member.js +0 -15
- package/dist/src/icons/finance/credit_card_outcome.js +0 -15
- package/dist/src/icons/finance/credit_card_scan.js +0 -15
- package/dist/src/icons/finance/credit_card_share.js +0 -15
- package/dist/src/icons/finance/credit_card_slash.js +0 -15
- package/dist/src/icons/finance/currency_exchange.js +0 -15
- package/dist/src/icons/finance/dollar.js +0 -15
- package/dist/src/icons/finance/ethereum.js +0 -15
- package/dist/src/icons/finance/paypass.js +0 -15
- package/dist/src/icons/finance/strongbox.js +0 -15
- package/dist/src/icons/finance/wallet.js +0 -15
- package/dist/src/icons/index.js +0 -1095
- package/dist/src/icons/layout/block_align_bottom.js +0 -15
- package/dist/src/icons/layout/block_align_center.js +0 -15
- package/dist/src/icons/layout/block_align_left.js +0 -15
- package/dist/src/icons/layout/block_align_middle.js +0 -15
- package/dist/src/icons/layout/block_align_right.js +0 -15
- package/dist/src/icons/layout/block_align_top.js +0 -15
- package/dist/src/icons/layout/block_horizontal.js +0 -15
- package/dist/src/icons/layout/block_vertical.js +0 -15
- package/dist/src/icons/layout/edit_shape.js +0 -15
- package/dist/src/icons/layout/elements.js +0 -15
- package/dist/src/icons/layout/elements_add.js +0 -15
- package/dist/src/icons/layout/elements_filled.js +0 -15
- package/dist/src/icons/layout/elements_masonry.js +0 -15
- package/dist/src/icons/layout/frame.js +0 -15
- package/dist/src/icons/layout/frame_stack.js +0 -15
- package/dist/src/icons/layout/grid.js +0 -15
- package/dist/src/icons/layout/grid_column_three.js +0 -15
- package/dist/src/icons/layout/grid_column_two.js +0 -15
- package/dist/src/icons/layout/grid_dynamic.js +0 -15
- package/dist/src/icons/layout/grid_frame.js +0 -15
- package/dist/src/icons/layout/grid_row_three.js +0 -15
- package/dist/src/icons/layout/grid_row_two.js +0 -15
- package/dist/src/icons/layout/grid_six.js +0 -15
- package/dist/src/icons/layout/grid_small.js +0 -15
- package/dist/src/icons/layout/iframe.js +0 -15
- package/dist/src/icons/layout/kanban.js +0 -15
- package/dist/src/icons/layout/layout.js +0 -15
- package/dist/src/icons/layout/list.js +0 -15
- package/dist/src/icons/layout/list_filled.js +0 -20
- package/dist/src/icons/layout/padding.js +0 -15
- package/dist/src/icons/layout/page_break.js +0 -15
- package/dist/src/icons/layout/rotate_left.js +0 -15
- package/dist/src/icons/layout/rotate_right.js +0 -15
- package/dist/src/icons/layout/ruler.js +0 -15
- package/dist/src/icons/layout/segment.js +0 -15
- package/dist/src/icons/layout/select_area.js +0 -15
- package/dist/src/icons/layout/select_boundary.js +0 -15
- package/dist/src/icons/layout/sidebar_left.js +0 -15
- package/dist/src/icons/layout/sidebar_right.js +0 -15
- package/dist/src/icons/layout/slides.js +0 -15
- package/dist/src/icons/layout/slides_horizontal.js +0 -15
- package/dist/src/icons/layout/slides_vertical.js +0 -20
- package/dist/src/icons/layout/stack.js +0 -15
- package/dist/src/icons/layout/text.js +0 -15
- package/dist/src/icons/maps/atlas.js +0 -15
- package/dist/src/icons/maps/compass.js +0 -15
- package/dist/src/icons/maps/direction.js +0 -15
- package/dist/src/icons/maps/direction_angled.js +0 -15
- package/dist/src/icons/maps/globe.js +0 -15
- package/dist/src/icons/maps/globe_slash.js +0 -15
- package/dist/src/icons/maps/location.js +0 -15
- package/dist/src/icons/maps/location_slash.js +0 -15
- package/dist/src/icons/maps/map.js +0 -15
- package/dist/src/icons/maps/marker.js +0 -15
- package/dist/src/icons/maps/panorama.js +0 -15
- package/dist/src/icons/maps/pin.js +0 -15
- package/dist/src/icons/maps/pin_arrow.js +0 -15
- package/dist/src/icons/maps/pin_location.js +0 -15
- package/dist/src/icons/maps/pin_plus.js +0 -15
- package/dist/src/icons/maps/pin_question.js +0 -15
- package/dist/src/icons/maps/pin_slash.js +0 -15
- package/dist/src/icons/maps/push_pin.js +0 -15
- package/dist/src/icons/maps/push_pin_filled.js +0 -15
- package/dist/src/icons/maps/push_pin_slash.js +0 -15
- package/dist/src/icons/maps/radar.js +0 -15
- package/dist/src/icons/maps/route.js +0 -15
- package/dist/src/icons/message/bubble.js +0 -15
- package/dist/src/icons/message/bubble_question.js +0 -15
- package/dist/src/icons/message/comment.js +0 -15
- package/dist/src/icons/message/comment_add.js +0 -15
- package/dist/src/icons/message/comment_check.js +0 -15
- package/dist/src/icons/message/comment_close.js +0 -15
- package/dist/src/icons/message/comment_minus.js +0 -15
- package/dist/src/icons/message/comment_text.js +0 -15
- package/dist/src/icons/misc/advertisement.js +0 -15
- package/dist/src/icons/misc/atom.js +0 -15
- package/dist/src/icons/misc/bone.js +0 -15
- package/dist/src/icons/misc/brightness_high.js +0 -15
- package/dist/src/icons/misc/brightness_low.js +0 -15
- package/dist/src/icons/misc/contrast.js +0 -15
- package/dist/src/icons/misc/crosshairs.js +0 -15
- package/dist/src/icons/misc/crown.js +0 -15
- package/dist/src/icons/misc/footprint.js +0 -15
- package/dist/src/icons/misc/form.js +0 -15
- package/dist/src/icons/misc/funnel.js +0 -15
- package/dist/src/icons/misc/infinite.js +0 -15
- package/dist/src/icons/misc/insert_button.js +0 -15
- package/dist/src/icons/misc/light_bulb.js +0 -15
- package/dist/src/icons/misc/moon.js +0 -15
- package/dist/src/icons/misc/nut.js +0 -15
- package/dist/src/icons/misc/planet.js +0 -15
- package/dist/src/icons/misc/plus_thick.js +0 -15
- package/dist/src/icons/misc/pocket.js +0 -15
- package/dist/src/icons/misc/rocket.js +0 -15
- package/dist/src/icons/misc/soup.js +0 -19
- package/dist/src/icons/misc/sun.js +0 -15
- package/dist/src/icons/misc/toy_horse.js +0 -15
- package/dist/src/icons/misc/trophy.js +0 -15
- package/dist/src/icons/misc/watercloset.js +0 -15
- package/dist/src/icons/notifications/alert_circle.js +0 -15
- package/dist/src/icons/notifications/alert_octogon.js +0 -15
- package/dist/src/icons/notifications/alert_triangle.js +0 -15
- package/dist/src/icons/notifications/app_notification.js +0 -15
- package/dist/src/icons/notifications/bell.js +0 -15
- package/dist/src/icons/notifications/bell_alert.js +0 -15
- package/dist/src/icons/notifications/bell_checkmark.js +0 -15
- package/dist/src/icons/notifications/bell_minus.js +0 -15
- package/dist/src/icons/notifications/bell_plus.js +0 -15
- package/dist/src/icons/notifications/bell_ring.js +0 -17
- package/dist/src/icons/notifications/bell_slash.js +0 -15
- package/dist/src/icons/notifications/information.js +0 -15
- package/dist/src/icons/notifications/minus_octogon.js +0 -15
- package/dist/src/icons/notifications/question_circle.js +0 -15
- package/dist/src/icons/people/group.js +0 -15
- package/dist/src/icons/people/group_add.js +0 -15
- package/dist/src/icons/people/group_chat.js +0 -17
- package/dist/src/icons/people/group_remove.js +0 -15
- package/dist/src/icons/people/group_send.js +0 -16
- package/dist/src/icons/people/groups.js +0 -15
- package/dist/src/icons/people/person.js +0 -15
- package/dist/src/icons/people/person_add.js +0 -15
- package/dist/src/icons/people/person_checkmark.js +0 -15
- package/dist/src/icons/people/person_circle.js +0 -17
- package/dist/src/icons/people/person_close.js +0 -17
- package/dist/src/icons/people/person_remove.js +0 -15
- package/dist/src/icons/people/person_slash.js +0 -17
- package/dist/src/icons/phone/keypad.js +0 -15
- package/dist/src/icons/phone/phone.js +0 -15
- package/dist/src/icons/phone/phone_add.js +0 -15
- package/dist/src/icons/phone/phone_calling.js +0 -15
- package/dist/src/icons/phone/phone_check.js +0 -15
- package/dist/src/icons/phone/phone_close.js +0 -15
- package/dist/src/icons/phone/phone_decline.js +0 -15
- package/dist/src/icons/phone/phone_forwarded.js +0 -15
- package/dist/src/icons/phone/phone_hash.js +0 -15
- package/dist/src/icons/phone/phone_incoming.js +0 -15
- package/dist/src/icons/phone/phone_outgoing.js +0 -15
- package/dist/src/icons/phone/phone_pause.js +0 -15
- package/dist/src/icons/phone/phone_slash.js +0 -15
- package/dist/src/icons/phone/voicemail.js +0 -15
- package/dist/src/icons/security/key.js +0 -15
- package/dist/src/icons/security/key_slash.js +0 -15
- package/dist/src/icons/security/lock.js +0 -15
- package/dist/src/icons/security/lock_circle.js +0 -15
- package/dist/src/icons/security/lock_open.js +0 -15
- package/dist/src/icons/security/lock_slash.js +0 -15
- package/dist/src/icons/security/shield.js +0 -15
- package/dist/src/icons/security/shield_checkmark.js +0 -15
- package/dist/src/icons/security/shield_lock.js +0 -15
- package/dist/src/icons/security/shield_slash.js +0 -15
- package/dist/src/icons/security/verified.js +0 -15
- package/dist/src/icons/shopping/basket.js +0 -15
- package/dist/src/icons/shopping/cart.js +0 -15
- package/dist/src/icons/shopping/cart_filled.js +0 -15
- package/dist/src/icons/shopping/coupon.js +0 -15
- package/dist/src/icons/shopping/coupon_cut.js +0 -15
- package/dist/src/icons/shopping/delivery.js +0 -15
- package/dist/src/icons/shopping/discount.js +0 -15
- package/dist/src/icons/shopping/gift.js +0 -15
- package/dist/src/icons/shopping/gift_bag.js +0 -15
- package/dist/src/icons/shopping/inventory.js +0 -15
- package/dist/src/icons/shopping/point_of_sale.js +0 -15
- package/dist/src/icons/shopping/shirt.js +0 -15
- package/dist/src/icons/shopping/tag.js +0 -15
- package/dist/src/icons/shopping/tag_diagonal.js +0 -15
- package/dist/src/icons/shopping/tote.js +0 -15
- package/dist/src/icons/special/upload_audio.js +0 -20
- package/dist/src/icons/special/upload_file.js +0 -15
- package/dist/src/icons/special/upload_image.js +0 -17
- package/dist/src/icons/special/upload_video.js +0 -18
- package/dist/src/icons/symbols/at.js +0 -15
- package/dist/src/icons/symbols/cc.js +0 -15
- package/dist/src/icons/symbols/cmd.js +0 -15
- package/dist/src/icons/symbols/facebook.js +0 -15
- package/dist/src/icons/symbols/google.js +0 -18
- package/dist/src/icons/symbols/hash.js +0 -15
- package/dist/src/icons/symbols/instagram.js +0 -27
- package/dist/src/icons/symbols/messenger.js +0 -21
- package/dist/src/icons/symbols/twitter.js +0 -15
- package/dist/src/icons/technology/battery.js +0 -15
- package/dist/src/icons/technology/battery_100.js +0 -15
- package/dist/src/icons/technology/battery_20.js +0 -15
- package/dist/src/icons/technology/battery_40.js +0 -15
- package/dist/src/icons/technology/battery_60.js +0 -15
- package/dist/src/icons/technology/battery_80.js +0 -15
- package/dist/src/icons/technology/battery_charging.js +0 -15
- package/dist/src/icons/technology/battery_slash.js +0 -15
- package/dist/src/icons/technology/devices.js +0 -15
- package/dist/src/icons/technology/floppy_disk.js +0 -15
- package/dist/src/icons/technology/iphone.js +0 -15
- package/dist/src/icons/technology/laptop.js +0 -15
- package/dist/src/icons/technology/mobile.js +0 -15
- package/dist/src/icons/technology/monitor.js +0 -15
- package/dist/src/icons/technology/server.js +0 -15
- package/dist/src/icons/technology/sim_card.js +0 -15
- package/dist/src/icons/technology/usb_stick.js +0 -15
- package/dist/src/icons/text/align_center.js +0 -15
- package/dist/src/icons/text/align_justified.js +0 -15
- package/dist/src/icons/text/align_left.js +0 -15
- package/dist/src/icons/text/align_right.js +0 -15
- package/dist/src/icons/text/code_block.js +0 -15
- package/dist/src/icons/text/divider.js +0 -15
- package/dist/src/icons/text/footnote.js +0 -17
- package/dist/src/icons/text/indent_decrease.js +0 -15
- package/dist/src/icons/text/indent_increase.js +0 -15
- package/dist/src/icons/text/list_ordered.js +0 -15
- package/dist/src/icons/text/list_unordered.js +0 -15
- package/dist/src/icons/text/quote.js +0 -15
- package/dist/src/icons/text/table.js +0 -15
- package/dist/src/icons/time/alarm.js +0 -15
- package/dist/src/icons/time/alarm_checkmark.js +0 -15
- package/dist/src/icons/time/alarm_minus.js +0 -15
- package/dist/src/icons/time/alarm_plus.js +0 -15
- package/dist/src/icons/time/alarm_slash.js +0 -15
- package/dist/src/icons/time/alarm_snooze.js +0 -15
- package/dist/src/icons/time/calendar.js +0 -15
- package/dist/src/icons/time/calendar_add.js +0 -15
- package/dist/src/icons/time/calendar_checkmark.js +0 -15
- package/dist/src/icons/time/calendar_close.js +0 -15
- package/dist/src/icons/time/calendar_dates.js +0 -15
- package/dist/src/icons/time/calendar_minus.js +0 -15
- package/dist/src/icons/time/calendar_plus.js +0 -15
- package/dist/src/icons/time/calendar_scroll.js +0 -17
- package/dist/src/icons/time/clock.js +0 -15
- package/dist/src/icons/time/clock_history.js +0 -15
- package/dist/src/icons/time/stopwatch.js +0 -15
- package/dist/src/icons/time/timer.js +0 -15
- package/dist/src/icons/time/watch.js +0 -15
- package/dist/src/index.js +0 -115
- package/dist/src/utils/date.js +0 -73
- package/dist/src/utils/function.js +0 -5
|
@@ -1,330 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var styled = require('styled-components');
|
|
6
|
-
var styles = require('../../../common/styles.js');
|
|
7
|
-
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
8
|
-
var box = require('../../atoms/box/box.js');
|
|
9
|
-
var chevron_down = require('../../../icons/arrow/chevron_down.js');
|
|
10
|
-
var chevron_up = require('../../../icons/arrow/chevron_up.js');
|
|
11
|
-
|
|
12
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
13
|
-
|
|
14
|
-
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
15
|
-
var styled__default = /*#__PURE__*/_interopDefaultCompat(styled);
|
|
16
|
-
|
|
17
|
-
const LG_ICON_SIZE = 20;
|
|
18
|
-
const LG_ICON_SIZE_WO_CHILDREN = 24;
|
|
19
|
-
const LG_FONT_SIZE = 16;
|
|
20
|
-
const LG_PADDING = '11px 19px';
|
|
21
|
-
const LG_PADDING_WO_CHILDREN = '11px';
|
|
22
|
-
const SM_ICON_SIZE = 16;
|
|
23
|
-
const SM_FONT_SIZE = 14;
|
|
24
|
-
const SM_PADDING = '5px 15px';
|
|
25
|
-
const SM_PADDING_WO_CHILDREN = '7px';
|
|
26
|
-
const Button = ({ as = 'button', children, disabled, fluid = false, href, icon, isDropdownOpen, roundness = 'large', size = 'large', sx, type = 'primary', showChevron = true, customDropdownIcon, ...props }) => {
|
|
27
|
-
const Component = Components()[type];
|
|
28
|
-
const buttonIcon = React__default.default.Children.map(icon, (item) => {
|
|
29
|
-
if (React__default.default.isValidElement(item))
|
|
30
|
-
return {
|
|
31
|
-
...item,
|
|
32
|
-
props: {
|
|
33
|
-
...(item.props ?? {}),
|
|
34
|
-
size: size === 'large' && !children
|
|
35
|
-
? LG_ICON_SIZE_WO_CHILDREN
|
|
36
|
-
: size === 'large'
|
|
37
|
-
? LG_ICON_SIZE
|
|
38
|
-
: SM_ICON_SIZE,
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
})?.[0];
|
|
42
|
-
const CustomDropdownIcon = customDropdownIcon;
|
|
43
|
-
let dropdownIcon = undefined;
|
|
44
|
-
if (showChevron) {
|
|
45
|
-
if (isDropdownOpen === true) {
|
|
46
|
-
dropdownIcon = CustomDropdownIcon ? (React__default.default.createElement(CustomDropdownIcon, { sx: "margin-left:auto;", size: size === 'large' ? LG_ICON_SIZE : SM_ICON_SIZE })) : (React__default.default.createElement(chevron_up.ChevronUp, { sx: "margin-left:auto;", size: size === 'large' ? LG_ICON_SIZE : SM_ICON_SIZE }));
|
|
47
|
-
}
|
|
48
|
-
else if (isDropdownOpen === false) {
|
|
49
|
-
dropdownIcon = CustomDropdownIcon ? (React__default.default.createElement(CustomDropdownIcon, { sx: "margin-left:auto;", size: size === 'large' ? LG_ICON_SIZE : SM_ICON_SIZE })) : (React__default.default.createElement(chevron_down.ChevronDown, { sx: "margin-left:auto;", size: size === 'large' ? LG_ICON_SIZE : SM_ICON_SIZE }));
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
const padding = !!children
|
|
53
|
-
? size === 'large'
|
|
54
|
-
? LG_PADDING
|
|
55
|
-
: SM_PADDING
|
|
56
|
-
: size === 'large'
|
|
57
|
-
? LG_PADDING_WO_CHILDREN
|
|
58
|
-
: SM_PADDING_WO_CHILDREN;
|
|
59
|
-
return (React__default.default.createElement(Component, { as: as, disabled: disabled, href: href, "$align": "center", "$display": "flex", "$fluid": fluid, "$gap": size === 'large' ? 12 : 8, "$hasChildren": !!children, "$justify": "center", "$padding": padding, "$roundness": roundness, "$size": size, "$sx": sx, ...props },
|
|
60
|
-
buttonIcon,
|
|
61
|
-
children && (React__default.default.createElement(paragraph.P, { as: "span", "$mediumBold": true, "$fontSize": size === 'large' ? LG_FONT_SIZE : SM_FONT_SIZE, "$color": "inherit" }, children)),
|
|
62
|
-
!!children && dropdownIcon));
|
|
63
|
-
};
|
|
64
|
-
const Components = () => ({
|
|
65
|
-
primary: Primary,
|
|
66
|
-
secondary: Secondary,
|
|
67
|
-
outlined: Outlined,
|
|
68
|
-
danger: Danger,
|
|
69
|
-
raised: Raised,
|
|
70
|
-
special: Special,
|
|
71
|
-
text: Text,
|
|
72
|
-
dropdown: Dropdown,
|
|
73
|
-
});
|
|
74
|
-
const base = styled.css `
|
|
75
|
-
font-family: var(--font-inter);
|
|
76
|
-
display: flex;
|
|
77
|
-
border-radius: ${({ $roundness }) => $roundness === 'large'
|
|
78
|
-
? '32px'
|
|
79
|
-
: $roundness === 'medium-small'
|
|
80
|
-
? '8px'
|
|
81
|
-
: $roundness === 'small'
|
|
82
|
-
? '4px'
|
|
83
|
-
: '0px'};
|
|
84
|
-
cursor: pointer;
|
|
85
|
-
user-select: none;
|
|
86
|
-
box-sizing: border-box;
|
|
87
|
-
outline: none;
|
|
88
|
-
${({ $fluid }) => $fluid
|
|
89
|
-
? `flex-basis: max-content;
|
|
90
|
-
flex: 1 !important;
|
|
91
|
-
width: max-content`
|
|
92
|
-
: ''}
|
|
93
|
-
|
|
94
|
-
svg {
|
|
95
|
-
fill: currentColor;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&:disabled {
|
|
99
|
-
background-color: var(--color-grey-9) !important;
|
|
100
|
-
border: 1px solid var(--color-grey-8) !important;
|
|
101
|
-
color: var(--color-grey-7) !important;
|
|
102
|
-
cursor: unset !important;
|
|
103
|
-
}
|
|
104
|
-
`;
|
|
105
|
-
const Primary = styled__default.default(box.Box) `
|
|
106
|
-
background-color: var(--color-primary-blue-2);
|
|
107
|
-
color: var(--color-white);
|
|
108
|
-
border: 1px solid var(--color-primary-blue-2);
|
|
109
|
-
|
|
110
|
-
&:hover {
|
|
111
|
-
border: 1px solid var(--color-primary-blue-1);
|
|
112
|
-
background-color: var(--color-primary-blue-1);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&:focus {
|
|
116
|
-
border: 1px solid var(--color-primary-blue-3);
|
|
117
|
-
background-color: var(--color-primary-blue-1);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&:active {
|
|
121
|
-
border: 1px solid var(--color-primary-blue-0);
|
|
122
|
-
background-color: var(--color-primary-blue-0);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
${base}
|
|
126
|
-
${styles.Styles.flex}
|
|
127
|
-
${styles.Styles.padding}
|
|
128
|
-
|
|
129
|
-
${({ $sx }) => ($sx ? $sx : '')}
|
|
130
|
-
`;
|
|
131
|
-
const Secondary = styled__default.default(box.Box) `
|
|
132
|
-
background-color: var(--color-primary-blue-4);
|
|
133
|
-
color: var(--color-primary-blue-2);
|
|
134
|
-
border: 1px solid var(--color-primary-blue-4);
|
|
135
|
-
|
|
136
|
-
&:hover {
|
|
137
|
-
background-color: var(--color-primary-blue-1);
|
|
138
|
-
color: var(--color-primary-blue-1);
|
|
139
|
-
border: 1px solid var(--color-primary-blue-1);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
&:focus {
|
|
143
|
-
border: 1px solid var(--color-primary-blue-2);
|
|
144
|
-
color: var(--color-primary-blue-1);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
&:active {
|
|
148
|
-
border: 1px solid var(--color-primary-blue-0);
|
|
149
|
-
color: var(--color-primary-blue-0);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
${base}
|
|
153
|
-
${styles.Styles.flex}
|
|
154
|
-
${styles.Styles.padding}
|
|
155
|
-
|
|
156
|
-
${({ $sx }) => ($sx ? $sx : '')}
|
|
157
|
-
`;
|
|
158
|
-
const Outlined = styled__default.default(box.Box) `
|
|
159
|
-
background-color: var(--color-white);
|
|
160
|
-
color: var(--color-grey-3);
|
|
161
|
-
border: 1px solid var(--color-grey-8);
|
|
162
|
-
|
|
163
|
-
&.icon {
|
|
164
|
-
border: 1px solid var(--color-white);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
&:hover {
|
|
168
|
-
background-color: var(--color-grey-10);
|
|
169
|
-
border: 1px solid var(--color-grey-8);
|
|
170
|
-
|
|
171
|
-
&.icon {
|
|
172
|
-
border: 1px solid var(--color-grey-8);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
&:focus {
|
|
177
|
-
background-color: var(--color-grey-10);
|
|
178
|
-
border: 1px solid var(--color-primary-blue-3);
|
|
179
|
-
|
|
180
|
-
&.icon {
|
|
181
|
-
border: 1px solid var(--color-grey-8);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
&:active {
|
|
186
|
-
background-color: var(--color-grey-9);
|
|
187
|
-
border: 1px solid var(--color-grey-8);
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
${base}
|
|
191
|
-
${styles.Styles.flex}
|
|
192
|
-
${styles.Styles.padding}
|
|
193
|
-
|
|
194
|
-
${({ $sx }) => ($sx ? $sx : '')}
|
|
195
|
-
`;
|
|
196
|
-
const Danger = styled__default.default(box.Box) `
|
|
197
|
-
background-color: var(--color-red-4);
|
|
198
|
-
color: var(--color-white);
|
|
199
|
-
border: 1px solid var(--color-red-4);
|
|
200
|
-
|
|
201
|
-
&:hover {
|
|
202
|
-
border: 1px solid var(--color-red-3);
|
|
203
|
-
background-color: var(--color-red-3);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
&:focus {
|
|
207
|
-
border: 1px solid var(--color-primary-blue-2);
|
|
208
|
-
background-color: var(--color-red-3);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
&:active {
|
|
212
|
-
border: 1px solid var(--color-red-2);
|
|
213
|
-
background-color: var(--color-red-2);
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
${base}
|
|
217
|
-
${styles.Styles.flex}
|
|
218
|
-
${styles.Styles.padding}
|
|
219
|
-
|
|
220
|
-
${({ $sx }) => ($sx ? $sx : '')}
|
|
221
|
-
`;
|
|
222
|
-
const Text = styled__default.default(box.Box) `
|
|
223
|
-
background-color: transparent;
|
|
224
|
-
border: 1px solid transparent;
|
|
225
|
-
color: var(--color-primary-blue-2);
|
|
226
|
-
|
|
227
|
-
&:hover {
|
|
228
|
-
color: var(--color-primary-blue-1);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
&:focus {
|
|
232
|
-
color: var(--color-primary-blue-1);
|
|
233
|
-
border: 1px solid var(--color-primary-blue-2);
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
&:active {
|
|
237
|
-
color: var(--color-primary-blue-0);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
&:disabled {
|
|
241
|
-
background-color: transparent !important;
|
|
242
|
-
border: 1px solid transparent !important;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
${base}
|
|
246
|
-
${styles.Styles.flex}
|
|
247
|
-
${styles.Styles.padding}
|
|
248
|
-
|
|
249
|
-
${({ $sx }) => ($sx ? $sx : '')}
|
|
250
|
-
`;
|
|
251
|
-
const Raised = styled__default.default(box.Box) `
|
|
252
|
-
background-color: var(--color-white);
|
|
253
|
-
color: var(--color-grey-3);
|
|
254
|
-
border: 1px solid var(--color-white);
|
|
255
|
-
box-shadow: var(--elevation-1);
|
|
256
|
-
|
|
257
|
-
&:hover {
|
|
258
|
-
background-color: var(--color-grey-9);
|
|
259
|
-
border: 1px solid var(--color-grey-9);
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
&:active {
|
|
263
|
-
background-color: var(--color-grey-8);
|
|
264
|
-
border: 1px solid var(--color-grey-8);
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
&:disabled {
|
|
268
|
-
border: 1px solid var(--color-grey-9) !important;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
${base}
|
|
272
|
-
${styles.Styles.flex}
|
|
273
|
-
${styles.Styles.padding}
|
|
274
|
-
|
|
275
|
-
${({ $sx }) => ($sx ? $sx : '')}
|
|
276
|
-
`;
|
|
277
|
-
const Special = styled__default.default(box.Box) `
|
|
278
|
-
background-color: transparent;
|
|
279
|
-
border: 1px solid transparent;
|
|
280
|
-
color: var(--color-primary-grey-3);
|
|
281
|
-
|
|
282
|
-
&:hover {
|
|
283
|
-
background-color: var(--color-grey-10);
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
&:focus-visible {
|
|
287
|
-
background-color: var(--color-grey-10);
|
|
288
|
-
border: 1px solid var(--color-primary-blue-2);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
&:active {
|
|
292
|
-
background-color: var(--color-grey-9);
|
|
293
|
-
border: 1px solid var(--color-grey-9);
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
&:disabled {
|
|
297
|
-
background-color: transparent !important;
|
|
298
|
-
border: 1px solid transparent !important;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
${base}
|
|
302
|
-
${styles.Styles.flex}
|
|
303
|
-
${styles.Styles.padding}
|
|
304
|
-
|
|
305
|
-
${({ $sx }) => ($sx ? $sx : '')}
|
|
306
|
-
`;
|
|
307
|
-
const Dropdown = styled__default.default(box.Box) `
|
|
308
|
-
width: 100%;
|
|
309
|
-
background-color: var(--color-blue-10);
|
|
310
|
-
color: var(--color-grey-3);
|
|
311
|
-
border: 1px solid var(--color-primary-blue-2);
|
|
312
|
-
justify-content: flex-start;
|
|
313
|
-
padding: 16px;
|
|
314
|
-
border: 0;
|
|
315
|
-
|
|
316
|
-
&:hover {
|
|
317
|
-
border: 0;
|
|
318
|
-
background-color: var(--color-blue-10);
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
${base}
|
|
322
|
-
${styles.Styles.flex}
|
|
323
|
-
${styles.Styles.padding}
|
|
324
|
-
|
|
325
|
-
border-radius: 8px;
|
|
326
|
-
|
|
327
|
-
${({ $sx }) => ($sx ? $sx : '')}
|
|
328
|
-
`;
|
|
329
|
-
|
|
330
|
-
exports.Button = Button;
|
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var styled = require('styled-components');
|
|
6
|
-
var box = require('../../atoms/box/box.js');
|
|
7
|
-
var checkbox = require('../../input/checkbox/checkbox.js');
|
|
8
|
-
var paragraph = require('../../atoms/typography/paragraph.js');
|
|
9
|
-
|
|
10
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
11
|
-
|
|
12
|
-
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
13
|
-
|
|
14
|
-
const Dropdown = ({ checkbox, children, closeOnChange = true, closeOnBlur = true, defaultValue = '', disabled = false, hasArrow, maintainState = true, multiple, offset = [0, 16], onChange, open: openDirection = 'right', options, sx, trigger, containerSx, additionalOptions, additionalOnChange, defaultAdditionalValue, useFullWidth = false, ...rest }) => {
|
|
15
|
-
const id = React__default.default.useId();
|
|
16
|
-
const wrapperRef = React__default.default.useRef(null);
|
|
17
|
-
const optionsRef = React__default.default.useRef(null);
|
|
18
|
-
const [open, setOpen] = React__default.default.useState(false);
|
|
19
|
-
const [selected, setSelected] = React__default.default.useState(() => defaultValue ? defaultValue : multiple ? [] : '');
|
|
20
|
-
const [additionalSelected, setAdditionalSelected] = React__default.default.useState(defaultAdditionalValue || '');
|
|
21
|
-
React__default.default.useEffect(() => {
|
|
22
|
-
if (disabled) {
|
|
23
|
-
setOpen(false);
|
|
24
|
-
}
|
|
25
|
-
}, [disabled]);
|
|
26
|
-
const handleOpen = () => {
|
|
27
|
-
if (disabled) {
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
setOpen((prev) => !prev);
|
|
31
|
-
};
|
|
32
|
-
const handleBlur = (event) => {
|
|
33
|
-
if (closeOnBlur &&
|
|
34
|
-
wrapperRef?.current &&
|
|
35
|
-
!wrapperRef?.current?.contains(event.relatedTarget)) {
|
|
36
|
-
setOpen(false);
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
const handleChangeSingle = (event) => {
|
|
40
|
-
event.stopPropagation();
|
|
41
|
-
const value = event.target.getAttribute('data-value') ?? '';
|
|
42
|
-
if (selected !== value) {
|
|
43
|
-
setSelected(value);
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
setSelected('');
|
|
47
|
-
}
|
|
48
|
-
if (closeOnChange) {
|
|
49
|
-
setOpen(false);
|
|
50
|
-
}
|
|
51
|
-
if (onChange)
|
|
52
|
-
onChange(event);
|
|
53
|
-
};
|
|
54
|
-
const handleChangeMultiple = (event) => {
|
|
55
|
-
event.stopPropagation();
|
|
56
|
-
const value = event.target.getAttribute('data-value') ?? '';
|
|
57
|
-
if (Array.isArray(selected) && selected.includes(value)) {
|
|
58
|
-
setSelected((prev) => prev.filter((item) => item !== value));
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
setSelected((prev) => [value, ...prev]);
|
|
62
|
-
}
|
|
63
|
-
if (closeOnChange) {
|
|
64
|
-
setOpen(false);
|
|
65
|
-
}
|
|
66
|
-
if (onChange)
|
|
67
|
-
onChange(event);
|
|
68
|
-
};
|
|
69
|
-
const handleChange = multiple ? handleChangeMultiple : handleChangeSingle;
|
|
70
|
-
const handleAdditionalChange = (event) => {
|
|
71
|
-
event.stopPropagation();
|
|
72
|
-
const value = event.target.getAttribute('data-value') ?? '';
|
|
73
|
-
if (additionalSelected !== value) {
|
|
74
|
-
setAdditionalSelected(value);
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
setAdditionalSelected('');
|
|
78
|
-
}
|
|
79
|
-
if (additionalOnChange)
|
|
80
|
-
additionalOnChange(value);
|
|
81
|
-
};
|
|
82
|
-
const isSelected = (value) => maintainState && (multiple ? selected.includes(value) : value === selected);
|
|
83
|
-
/**
|
|
84
|
-
* allow for the API to accept children as options
|
|
85
|
-
* or options prop
|
|
86
|
-
*/
|
|
87
|
-
let dropdownOptions = null;
|
|
88
|
-
if (children) {
|
|
89
|
-
dropdownOptions = React__default.default.Children.map(children, (child) => {
|
|
90
|
-
let props;
|
|
91
|
-
if (React__default.default.isValidElement(child)) {
|
|
92
|
-
// eslint ignore is okay bc deconstruction removes field
|
|
93
|
-
// eslint-disable-next-line
|
|
94
|
-
const { onClick, ...possibleProps } = child.props;
|
|
95
|
-
props = possibleProps;
|
|
96
|
-
return (React__default.default.createElement(Option, { key: props.value, checkbox: !!checkbox, onClick: handleChange, selected: isSelected(props.value), ...props }));
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
return null;
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
if (options) {
|
|
104
|
-
dropdownOptions = options.map((option, index) => {
|
|
105
|
-
if (typeof option === 'string' && option === 'break')
|
|
106
|
-
return React__default.default.createElement(Spacer, { key: `${id}-spacer-${index}` });
|
|
107
|
-
return (React__default.default.createElement(Option, { key: option.value, checkbox: !!checkbox, onClick: handleChange, selected: isSelected(option.value), ...option }));
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
return (React__default.default.createElement(Wrapper, { "$sx": sx, tabIndex: 0, ref: wrapperRef, onBlurCapture: handleBlur, ...rest },
|
|
111
|
-
React__default.default.cloneElement(trigger, typeof trigger.type === 'string' ||
|
|
112
|
-
(trigger.type?.displayName !== 'Button' &&
|
|
113
|
-
trigger.type?.name !== 'Button')
|
|
114
|
-
? { onClick: handleOpen }
|
|
115
|
-
: { isDropdownOpen: open, onClick: handleOpen }),
|
|
116
|
-
open && (React__default.default.createElement(Container, { "$hasArrow": hasArrow, "$offset": offset, "$openDirection": openDirection, ref: optionsRef, "$sx": containerSx, "$useFullWidth": useFullWidth },
|
|
117
|
-
React__default.default.createElement("div", { style: { display: 'flex' } },
|
|
118
|
-
React__default.default.createElement("div", { style: {
|
|
119
|
-
display: 'flex',
|
|
120
|
-
flexDirection: 'column',
|
|
121
|
-
width: '100%',
|
|
122
|
-
} }, dropdownOptions),
|
|
123
|
-
!!additionalOptions?.length && (React__default.default.createElement("div", { style: { display: 'flex', flexDirection: 'column' } }, additionalOptions.map((additionalOption) => (React__default.default.createElement(Option, { key: additionalOption.value, onClick: handleAdditionalChange, selected: additionalSelected === additionalOption.value, label: additionalOption.label, value: additionalOption.value }))))))))));
|
|
124
|
-
};
|
|
125
|
-
const Wrapper = styled.styled.div `
|
|
126
|
-
position: relative;
|
|
127
|
-
display: block;
|
|
128
|
-
outline: none;
|
|
129
|
-
${({ $sx }) => ($sx ? $sx : '')}
|
|
130
|
-
`;
|
|
131
|
-
const Container = styled.styled.div `
|
|
132
|
-
z-index: 1;
|
|
133
|
-
background-color: var(--color-white);
|
|
134
|
-
position: absolute;
|
|
135
|
-
${({ $useFullWidth }) => $useFullWidth ? 'width: 100%;' : 'width: max-content;'}
|
|
136
|
-
z-index: 100;
|
|
137
|
-
outline: none;
|
|
138
|
-
cursor: pointer;
|
|
139
|
-
box-shadow: var(--elevation-2);
|
|
140
|
-
border-radius: 8px;
|
|
141
|
-
overflow: auto;
|
|
142
|
-
|
|
143
|
-
& > div:first-of-type {
|
|
144
|
-
border-radius: 8px 8px 0px 0px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
& > div:last-of-type {
|
|
148
|
-
border-radius: 0px 0px 8px 8px;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
${({ $sx }) => ($sx ? $sx : '')}
|
|
152
|
-
|
|
153
|
-
${({ $openDirection }) => ($openDirection === 'left' ? 'right: 100%;' : '')}
|
|
154
|
-
|
|
155
|
-
${({ $hasArrow, $offset }) => $hasArrow
|
|
156
|
-
? `
|
|
157
|
-
&:before {
|
|
158
|
-
content: '';
|
|
159
|
-
position: absolute;
|
|
160
|
-
width: 15px;
|
|
161
|
-
height: 15px;
|
|
162
|
-
transform: rotate(45deg) translate(${($offset?.[0] || 0) + 8}px, ${($offset?.[1] || 0) - 32}px);
|
|
163
|
-
background-color: var(--color-white);
|
|
164
|
-
}
|
|
165
|
-
`
|
|
166
|
-
: ''}
|
|
167
|
-
${({ $offset }) => $offset ? `transform: translate(${$offset[0]}px, ${$offset[1]}px);` : ''}
|
|
168
|
-
`;
|
|
169
|
-
const Option = ({ checkbox: checkbox$1, disabled, icon, label, onClick, selected, sublabel, sx, value, color, }) => {
|
|
170
|
-
return (React__default.default.createElement(OptionWrapper, { "data-value": value, onClick: !disabled ? onClick : undefined, "$disabled": disabled, "$hasCheckbox": !!checkbox$1, "$hasSublabel": !!sublabel, "$selected": selected, "$sx": sx },
|
|
171
|
-
checkbox$1 ? React__default.default.createElement(checkbox.Checkbox, { selected: selected }) : icon,
|
|
172
|
-
React__default.default.createElement(box.Box, { "$dir": "column", "$display": "flex" },
|
|
173
|
-
label && (React__default.default.createElement(paragraph.P, { "$color": color || 'grey-4', "$fontSize": 14, "$lineHeight": 20, "$mediumBold": true, "$textClampLines": 1 }, label)),
|
|
174
|
-
sublabel && (React__default.default.createElement(paragraph.P, { "$color": "grey-4", "$fontSize": 12, "$lineHeight": 16, "$textClampLines": 1 }, sublabel)))));
|
|
175
|
-
};
|
|
176
|
-
Option.displayName = 'Dropdown.Option';
|
|
177
|
-
Dropdown.Option = Option;
|
|
178
|
-
const OptionWrapper = styled.styled.div `
|
|
179
|
-
position: relative;
|
|
180
|
-
z-index: 1;
|
|
181
|
-
padding: ${({ $hasSublabel }) => ($hasSublabel ? 10 : 12)}px 16px;
|
|
182
|
-
user-select: none;
|
|
183
|
-
display: flex;
|
|
184
|
-
align-items: center;
|
|
185
|
-
gap: 8px;
|
|
186
|
-
|
|
187
|
-
& > * {
|
|
188
|
-
pointer-events: none;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
${({ $disabled, $selected, $hasCheckbox }) => {
|
|
192
|
-
if ($disabled) {
|
|
193
|
-
return `cursor: initial;
|
|
194
|
-
color: var(--color-grey-7);
|
|
195
|
-
background-color: var(--color-grey-10);`;
|
|
196
|
-
}
|
|
197
|
-
if ($hasCheckbox) {
|
|
198
|
-
return `&:hover {
|
|
199
|
-
background-color: var(--color-grey-10);
|
|
200
|
-
}`;
|
|
201
|
-
}
|
|
202
|
-
if ($selected) {
|
|
203
|
-
return `
|
|
204
|
-
background-color: var(--color-grey-9);
|
|
205
|
-
&:active {
|
|
206
|
-
background-color: var(--color-grey-8);
|
|
207
|
-
}`;
|
|
208
|
-
}
|
|
209
|
-
return `
|
|
210
|
-
&:hover {
|
|
211
|
-
background-color: var(--color-grey-10);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
&:active {
|
|
215
|
-
background-color: var(--color-grey-8);
|
|
216
|
-
}
|
|
217
|
-
`;
|
|
218
|
-
}}
|
|
219
|
-
${({ $sx }) => ($sx ? $sx : '')}
|
|
220
|
-
`;
|
|
221
|
-
const Spacer = ({ sx }) => {
|
|
222
|
-
return React__default.default.createElement(SpacerWrapper, { "$sx": sx });
|
|
223
|
-
};
|
|
224
|
-
Spacer.displayName = 'Dropdown.Spacer';
|
|
225
|
-
Dropdown.Spacer = Spacer;
|
|
226
|
-
const SpacerWrapper = styled.styled.div `
|
|
227
|
-
width: 100%;
|
|
228
|
-
height: 1px;
|
|
229
|
-
background-color: var(--color-grey-8);
|
|
230
|
-
|
|
231
|
-
&:hover {
|
|
232
|
-
appearance: none;
|
|
233
|
-
}
|
|
234
|
-
${({ $sx }) => ($sx ? $sx : '')}
|
|
235
|
-
`;
|
|
236
|
-
|
|
237
|
-
exports.Dropdown = Dropdown;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var styled = require('styled-components');
|
|
6
|
-
|
|
7
|
-
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
8
|
-
|
|
9
|
-
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
10
|
-
|
|
11
|
-
const SM_WIDTH = 98;
|
|
12
|
-
const LG_WIDTH = 147;
|
|
13
|
-
const SM_HEIGHT = 16;
|
|
14
|
-
const LG_HEIGHT = 24;
|
|
15
|
-
const Rate = ({ isRateable = true, onRate, percent, size, userRating, }) => {
|
|
16
|
-
const componentId = React__default.default.useId();
|
|
17
|
-
const ref = React__default.default.useRef(null);
|
|
18
|
-
const [hoveredRating, setHoveredRating] = React__default.default.useState();
|
|
19
|
-
const width = size === 'small' ? SM_WIDTH : LG_WIDTH;
|
|
20
|
-
const height = size === 'small' ? SM_HEIGHT : LG_HEIGHT;
|
|
21
|
-
const displayPercent = hoveredRating
|
|
22
|
-
? hoveredRating * 20
|
|
23
|
-
: userRating
|
|
24
|
-
? userRating * 20
|
|
25
|
-
: percent;
|
|
26
|
-
const handleMouseOver = (event) => {
|
|
27
|
-
if (isRateable && ref?.current) {
|
|
28
|
-
const elementWidth = size === 'small' ? SM_WIDTH : LG_WIDTH;
|
|
29
|
-
const position = event.clientX - ref.current.offsetLeft;
|
|
30
|
-
const star = Math.floor((5 * position) / elementWidth) + 1;
|
|
31
|
-
setHoveredRating(star);
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
const handleMouseOut = () => {
|
|
35
|
-
setHoveredRating(undefined);
|
|
36
|
-
};
|
|
37
|
-
const handleClick = () => {
|
|
38
|
-
if (isRateable && onRate && hoveredRating !== undefined) {
|
|
39
|
-
onRate(hoveredRating);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
return (React__default.default.createElement("div", { ref: ref },
|
|
43
|
-
React__default.default.createElement(SVG, { "$gradientId": componentId, width: width, height: height, onMouseOver: handleMouseOver, onMouseOut: handleMouseOut, onClick: handleClick, viewBox: "0 0 98 16", xmlns: "http://www.w3.org/2000/svg" },
|
|
44
|
-
React__default.default.createElement("path", { d: "M13.1437 16L8.61569 13.5529C8.55281 13.5529 8.48992 13.4902 8.42703 13.4902C8.36414 13.4902 8.30125 13.5529 8.23837 13.5529L3.64752 15.9373C3.58463 16 3.52174 16 3.39597 16C3.33308 16 3.27019 16 3.2073 15.9373C3.14441 15.8745 3.08153 15.8118 3.08153 15.749C3.08153 15.6863 3.01864 15.6235 3.08153 15.5608L3.96196 10.4784C3.96196 10.4157 3.96196 10.3529 3.89907 10.2902C3.89907 10.2275 3.83619 10.1647 3.83619 10.102L0.125777 6.52549C0.0628883 6.46275 0 6.4 0 6.33726C0 6.21177 0 6.14902 0 6.08628C0.0628883 6.02353 0.0628883 5.96079 0.125777 5.89804C0.188665 5.83529 0.251553 5.83529 0.37733 5.83529L5.47128 5.08235C5.53417 5.08235 5.59706 5.01961 5.65995 5.01961C5.65995 4.95686 5.72283 4.89412 5.78572 4.83137L8.0497 0.25098C8.11259 0.188235 8.11259 0.12549 8.17548 0.0627451C8.23837 0.0627451 8.36414 0 8.42703 0C8.48992 0 8.55281 0.0627451 8.61569 0.0627451C8.67858 0.12549 8.74147 0.188235 8.80436 0.25098L11.0683 4.89412C11.0683 4.89412 11.1312 4.95686 11.1941 5.01961C11.257 5.01961 11.3199 5.08235 11.3828 5.08235L16.4767 5.83529C16.5396 5.83529 16.6025 5.89804 16.6654 5.89804C16.7283 5.96079 16.7912 6.02353 16.7912 6.08628C16.8541 6.14902 16.8541 6.27451 16.7912 6.33726C16.7912 6.4 16.7283 6.46275 16.7283 6.52549L13.0179 10.102C12.955 10.1647 12.8921 10.2275 12.8921 10.2902C12.8921 10.3529 12.8921 10.4157 12.8921 10.4784L13.7725 15.5608C13.7725 15.6235 13.7725 15.6863 13.7096 15.749C13.7096 15.8118 13.6468 15.8745 13.5839 15.9373C13.521 16 13.4581 16 13.3952 16C13.3323 16 13.2065 16 13.1437 16Z M33.711 16L29.1201 13.5529C29.0572 13.5529 28.9943 13.4902 28.9315 13.4902C28.8686 13.4902 28.8057 13.5529 28.7428 13.5529L24.2148 15.9373C24.1519 16 24.0262 16 23.9633 16C23.9004 16 23.8375 15.9373 23.7746 15.9373C23.7117 15.8745 23.6488 15.8118 23.6488 15.749C23.5859 15.6863 23.5859 15.6235 23.5859 15.498L24.4664 10.4157C24.4664 10.3529 24.4664 10.2902 24.4664 10.2275C24.4664 10.1647 24.4035 10.102 24.3406 10.102L20.6931 6.46275C20.6302 6.4 20.5673 6.33725 20.5673 6.27451C20.5673 6.21176 20.5673 6.14902 20.5673 6.08628C20.5673 6.02353 20.6302 5.96079 20.6931 5.89804C20.756 5.83529 20.8189 5.83529 20.8818 5.77255L26.0386 5.08235C26.1015 5.01961 26.1644 5.01961 26.1644 4.95686C26.2273 4.95686 26.2901 4.89412 26.2901 4.83137L28.617 0.25098C28.617 0.12549 28.6799 0.12549 28.7428 0.0627451C28.8057 -7.45058e-09 28.8686 0 28.9315 0C29.0572 0 29.1201 -7.45058e-09 29.183 0.0627451C29.2459 0.12549 29.3088 0.12549 29.3088 0.25098L31.6356 4.83137C31.6356 4.89412 31.6985 4.95686 31.7614 5.01961C31.7614 5.01961 31.8243 5.08235 31.8872 5.08235L37.044 5.83529C37.1069 5.83529 37.1698 5.83529 37.2327 5.89804C37.2956 5.96079 37.2956 6.02353 37.3585 6.08628C37.3585 6.14902 37.3585 6.21176 37.3585 6.27451C37.3585 6.4 37.2956 6.46275 37.2327 6.52549L33.5223 10.102C33.5223 10.1647 33.4594 10.1647 33.4594 10.2275C33.3965 10.2902 33.3965 10.3529 33.4594 10.4784L34.277 15.5608C34.3398 15.6235 34.277 15.6863 34.277 15.749C34.277 15.8118 34.2141 15.8745 34.1512 15.9373C34.0883 16 34.0254 16 33.9625 16C33.8367 16 33.7738 16 33.711 16Z M53.5187 16L48.9279 13.5529C48.865 13.5529 48.8021 13.4902 48.7392 13.4902C48.6763 13.4902 48.6134 13.5529 48.5505 13.5529L44.0226 15.9373C43.9597 16 43.8968 16 43.8339 16C43.7081 16 43.6452 16 43.5824 15.9373C43.5195 15.8745 43.5195 15.8118 43.4566 15.749C43.4566 15.6863 43.4566 15.6235 43.4566 15.5608L44.337 10.4784C44.337 10.4157 44.337 10.3529 44.2741 10.2902C44.2741 10.2275 44.2741 10.1647 44.2112 10.102L40.5008 6.52549C40.4379 6.46275 40.4379 6.4 40.375 6.33726C40.375 6.21177 40.375 6.14902 40.375 6.08628C40.4379 6.02353 40.4379 5.96079 40.5008 5.89804C40.5637 5.83529 40.6266 5.83529 40.7524 5.83529L45.8463 5.08235C45.9092 5.08235 45.9721 5.01961 46.035 5.01961C46.0979 4.95686 46.0979 4.89412 46.1608 4.83137L48.4248 0.25098C48.4876 0.188235 48.4876 0.12549 48.5505 0.0627451C48.6134 0.0627451 48.7392 0 48.8021 0C48.865 0 48.9279 0.0627451 48.9907 0.0627451C49.0536 0.12549 49.1165 0.188235 49.1794 0.25098L51.4434 4.89412C51.4434 4.89412 51.5063 4.95686 51.5692 5.01961C51.6321 5.01961 51.6949 5.08235 51.7578 5.08235L56.8518 5.83529C56.9147 5.83529 56.9776 5.89804 57.0404 5.89804C57.1033 5.96079 57.1662 6.02353 57.1662 6.08628C57.1662 6.14902 57.2291 6.27451 57.1662 6.33726C57.1662 6.4 57.1033 6.46275 57.1033 6.52549L53.3929 10.102C53.33 10.1647 53.2671 10.2275 53.2671 10.2902C53.2671 10.3529 53.2671 10.4157 53.2671 10.4784L54.0847 15.5608C54.0847 15.6235 54.0847 15.6863 54.0847 15.749C54.0218 15.8118 53.9589 15.8745 53.896 15.9373C53.896 15.9373 53.7703 16 53.7074 16C53.6445 16 53.5816 16 53.5187 16Z M74.0858 16L69.4949 13.5529C69.4321 13.5529 69.3692 13.4902 69.3063 13.4902C69.2434 13.4902 69.1805 13.5529 69.1176 13.5529L64.5268 15.9373C64.4639 16 64.401 16 64.3381 16C64.2752 16 64.1494 15.9373 64.0865 15.9373C64.0865 15.8745 64.0237 15.8118 63.9608 15.749C63.9608 15.6863 63.9608 15.6235 63.9608 15.498L64.8412 10.4157C64.8412 10.3529 64.8412 10.2902 64.8412 10.2275C64.7783 10.1647 64.7783 10.102 64.7154 10.102L61.005 6.52549C60.9421 6.46275 60.9421 6.4 60.8792 6.33726C60.8792 6.21177 60.8792 6.14902 60.8792 6.08628C60.9421 6.02353 60.9421 5.96079 61.005 5.89804C61.0679 5.83529 61.1308 5.83529 61.2566 5.83529L66.3505 5.08235C66.4134 5.08235 66.4763 5.01961 66.5392 5.01961C66.6021 4.95686 66.6021 4.89412 66.665 4.83137L68.9289 0.25098C68.9918 0.188235 68.9918 0.12549 69.0547 0.0627451C69.1176 0.0627451 69.2434 0 69.3063 0C69.3692 0 69.4321 0.0627451 69.4949 0.0627451C69.5578 0.12549 69.6207 0.188235 69.6836 0.25098L71.9476 4.89412C71.9476 4.89412 72.0105 4.95686 72.0734 5.01961C72.1362 5.01961 72.1991 5.08235 72.262 5.08235L77.356 5.83529C77.4189 5.83529 77.4818 5.89804 77.5446 5.89804C77.6075 5.96079 77.6704 6.02353 77.6704 6.08628C77.7333 6.14902 77.7333 6.27451 77.6704 6.33726C77.6704 6.4 77.6075 6.46275 77.6075 6.52549L73.8971 10.102C73.8342 10.1647 73.7713 10.2275 73.7713 10.2902C73.7713 10.3529 73.7713 10.4157 73.7713 10.4784L74.6518 15.5608C74.6518 15.6235 74.6518 15.6863 74.5889 15.749C74.5889 15.8118 74.526 15.8745 74.4631 15.9373C74.4002 15.9373 74.3373 16 74.2744 16C74.2116 16 74.1487 16 74.0858 16Z M94.0831 16L89.5551 13.5529C89.4922 13.5529 89.4294 13.4902 89.3665 13.4902C89.3036 13.4902 89.2407 13.5529 89.1778 13.5529L84.587 15.9373C84.5241 16 84.4612 16 84.3983 16C84.2725 16 84.2096 15.9373 84.1468 15.9373C84.0839 15.8745 84.0839 15.8118 84.021 15.749C84.021 15.6863 84.021 15.6235 84.021 15.498L84.9014 10.4157C84.9014 10.3529 84.9014 10.2902 84.8385 10.2275C84.8385 10.1647 84.8385 10.102 84.7756 10.102L81.0652 6.46275C81.0023 6.4 81.0023 6.33725 80.9395 6.27451C80.9395 6.21176 80.9395 6.14902 80.9395 6.08628C81.0023 6.02353 81.0023 5.96079 81.0652 5.89804C81.1281 5.83529 81.191 5.83529 81.3168 5.77255L86.4107 5.08235C86.4736 5.01961 86.5365 5.01961 86.5994 4.95686C86.6623 4.95686 86.6623 4.89412 86.7252 4.83137L88.9892 0.25098C89.052 0.12549 89.1149 0.12549 89.1778 0.0627451C89.2407 -7.45058e-09 89.3036 0 89.3665 0C89.4294 0 89.4922 -7.45058e-09 89.5551 0.0627451C89.618 0.12549 89.6809 0.12549 89.7438 0.25098L92.0078 4.83137C92.0078 4.89412 92.0707 4.95686 92.1336 5.01961C92.1965 5.01961 92.2593 5.08235 92.3222 5.08235L97.4162 5.83529C97.4791 5.83529 97.542 5.83529 97.6048 5.89804C97.6677 5.96079 97.7306 6.02353 97.7306 6.08628C97.7935 6.14902 97.7935 6.21176 97.7306 6.27451C97.7306 6.4 97.6677 6.46275 97.6677 6.52549L93.9573 10.102C93.8944 10.1647 93.8315 10.1647 93.8315 10.2275C93.8315 10.2902 93.8315 10.3529 93.8315 10.4784L94.712 15.5608C94.712 15.6235 94.712 15.6863 94.6491 15.749C94.6491 15.8118 94.5862 15.8745 94.5233 15.9373C94.4604 16 94.3975 16 94.3346 16C94.2718 16 94.146 16 94.0831 16Z", stroke: "#D0D2D6", strokeWidth: "0.42154" }),
|
|
45
|
-
React__default.default.createElement("defs", null,
|
|
46
|
-
React__default.default.createElement("linearGradient", { id: componentId },
|
|
47
|
-
React__default.default.createElement("stop", { offset: "0%", stopColor: "#FFB51F" }),
|
|
48
|
-
React__default.default.createElement("stop", { offset: `${displayPercent}%`, stopColor: "#FF870A" }),
|
|
49
|
-
React__default.default.createElement("stop", { offset: `${displayPercent}%`, stopColor: "#FFFFFF" }))))));
|
|
50
|
-
};
|
|
51
|
-
const SVG = styled.styled.svg `
|
|
52
|
-
fill: url(#${({ $gradientId }) => $gradientId});
|
|
53
|
-
cursor: ${({ $isRateable }) => ($isRateable ? 'pointer' : 'initial')};
|
|
54
|
-
`;
|
|
55
|
-
|
|
56
|
-
exports.Rate = Rate;
|