@bynder/compact-view 5.2.0 → 5.2.2
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/AccessToken.js +5 -0
- package/AccessToken2.js +176 -0
- package/AccessToken3.js +4 -0
- package/ActiveFilter.js +6 -6
- package/ActiveFilters.js +24 -25
- package/AddMedia.js +21 -22
- package/AdditionalInfo.js +18 -0
- package/Advanced.js +3 -4
- package/App.js +68 -61
- package/Arrow.js +14 -0
- package/AssetCard.js +68 -57
- package/AssetCardMetaproperties.js +14 -14
- package/AssetFilter.js +36 -36
- package/AssetFilterContext.js +3 -4
- package/AssetItem.js +14 -14
- package/AssetList.js +46 -46
- package/AssetTypeItem.js +13 -13
- package/AssetsView.js +0 -1
- package/Autocomplete_new.js +70 -82
- package/Axios2.js +136 -0
- package/AxiosError.js +54 -0
- package/AxiosHeaders.js +181 -0
- package/AxiosURLSearchParams.js +33 -0
- package/Badge.js +44 -0
- package/Baloon.js +42 -0
- package/BaseStyles.js +10 -0
- package/Blob.js +4 -0
- package/Box.js +22 -0
- package/Button.js +39 -0
- package/Button.styles.js +40 -0
- package/ButtonAction.js +3 -4
- package/ButtonLegacy.js +48 -0
- package/ButtonLegacy.styles.js +28 -0
- package/CancelToken.js +77 -0
- package/CanceledError.js +11 -0
- package/Card.js +84 -0
- package/CardSkeleton.js +15 -15
- package/Checkbox.js +85 -0
- package/Checkbox.styles.js +2 -3
- package/Checkmark.js +7 -0
- package/Chip.js +70 -41
- package/Chip2.js +42 -0
- package/CollectionCard.js +9 -9
- package/CollectionItem.js +15 -15
- package/CollectionList.js +2 -3
- package/CollectionView.js +2 -3
- package/CollectionsView.js +6 -7
- package/ColorHexInput.js +31 -0
- package/ColorPicker.js +66 -0
- package/ColorPickerSolid.js +20 -0
- package/ColorPickerWithOpacity.js +37 -0
- package/Combobox.js +61 -0
- package/ConcealedAction.js +16 -0
- package/ConfigContext.js +0 -1
- package/ConnectButton.js +1 -2
- package/Container.js +14 -14
- package/Container2.js +31 -0
- package/Content.js +16 -0
- package/ContextAction.js +26 -18
- package/ContextActionButton.js +29 -0
- package/ControlGroup.js +32 -0
- package/DOMFunctions.js +27 -0
- package/Dat.js +62 -51
- package/DatDropdownItem.js +20 -20
- package/DesignSystemContext.js +4 -5
- package/DesignSystemProvider.js +29 -0
- package/DirectionSelect.js +16 -16
- package/Divider.js +21 -0
- package/DocumentIcon.js +0 -1
- package/DomainInput.js +15 -15
- package/DragRange.js +25 -0
- package/DragSelect.js +68 -63
- package/Dropdown.js +12 -12
- package/Dropdown2.js +169 -0
- package/DropdownContent.js +54 -39
- package/DropdownListItem.js +3 -4
- package/Enum.js +12 -0
- package/ErrorIcon.js +0 -1
- package/ErrorMessage.js +20 -20
- package/FieldSelect.js +4 -5
- package/FilePlaceholder.js +19 -0
- package/FileSelector.js +126 -141
- package/Flex.js +21 -0
- package/FontPicker.js +104 -0
- package/Footer.js +16 -0
- package/Form.js +23 -0
- package/FormData.js +4 -0
- package/Frame.js +64 -0
- package/Group.js +17 -0
- package/Group2.js +26 -0
- package/Header.js +0 -1
- package/Header2.js +43 -0
- package/Header22.js +15 -0
- package/HelperText.js +26 -0
- package/HorizontalScroll.js +4 -5
- package/HttpHandler.js +74 -0
- package/HttpResponse.js +85 -0
- package/HttpStatusCode.js +71 -0
- package/IconPlaceholder.js +18 -0
- package/Image.js +19 -0
- package/Images.js +30 -0
- package/Indicator.js +74 -0
- package/InfiniteScroll.js +8 -9
- package/InlineBanner.js +51 -0
- package/Input.js +109 -0
- package/Input.styles.js +71 -0
- package/InputContainer.js +9 -0
- package/InputField.js +74 -0
- package/InputRow.js +18 -0
- package/Inspector.js +34 -0
- package/InteractiveIcon.js +28 -0
- package/InterceptorManager.js +58 -0
- package/Item.js +107 -0
- package/Item2.js +14 -0
- package/Item4.js +190 -0
- package/Label.js +33 -0
- package/LeftArrow.js +3 -4
- package/List.js +25 -0
- package/ListItem.js +11 -0
- package/ListItem2.js +58 -0
- package/ListItem4.js +37 -0
- package/LoginComponent.js +0 -1
- package/LoginContext.js +0 -1
- package/MetapropertyFilterContent.js +2 -3
- package/MetapropertyOption.js +2 -4
- package/Middleware.js +49 -0
- package/Middleware2.js +49 -0
- package/Modal.js +2 -3
- package/Modal2.js +31 -0
- package/ModalBase.js +117 -0
- package/ModalBase.styles.js +75 -0
- package/ModalConfirmation.js +8 -0
- package/NoResults.js +16 -16
- package/OffsetContext.js +9 -0
- package/Oops.js +1 -2
- package/OpacityInput.js +17 -0
- package/Option_new.js +19 -19
- package/Overlay.js +35 -0
- package/Parser.js +131 -0
- package/Prefixer.js +187 -0
- package/Radio.js +78 -0
- package/RadioGroup.js +25 -0
- package/RangeInput.js +41 -0
- package/RefreshingSpinner.js +3 -4
- package/ReportModal.js +16 -15
- package/RequestHandler.js +119 -0
- package/RightArrow.js +4 -5
- package/RootElementContext.js +0 -1
- package/Row.js +16 -0
- package/SearchInput.js +27 -23
- package/SearchInput2.js +46 -0
- package/SectionTitle.js +17 -0
- package/Select.js +49 -0
- package/SelectButtonText.js +16 -0
- package/SelectedItemContainer.js +11 -11
- package/SelectedItems.js +2 -3
- package/SelectionContext.js +0 -1
- package/SelectionFooter.js +8 -8
- package/Serializer.js +27 -0
- package/ShadowRoot.js +0 -1
- package/ShadowRootInternal.js +17 -18
- package/Shield.js +0 -1
- package/Sidebar.js +17 -0
- package/Skeleton.js +6 -7
- package/Slider.constants.js +6 -0
- package/Slider.js +128 -0
- package/SmartFilterContent.js +2 -3
- package/SmartFilterSelect_new.js +2 -3
- package/Smartfilters_new.js +86 -77
- package/Spinner.js +2 -3
- package/Spinner2.js +15 -0
- package/StatefulAssetList.js +15 -16
- package/Stats.js +16 -0
- package/StatsItem.js +23 -0
- package/Status.js +32 -0
- package/StoreInitializer.js +29 -0
- package/Styles.css.js +0 -1
- package/Switch.js +82 -0
- package/SwitchNLS.js +26 -24
- package/Tabs2.js +10 -0
- package/TagItem.js +8 -9
- package/Tags.js +9 -10
- package/Text2.js +11 -0
- package/Text22.js +18 -0
- package/Text4.js +18 -0
- package/Textarea.js +92 -0
- package/Theming.js +4 -5
- package/Thumb.js +28 -0
- package/Thumbnail.js +91 -0
- package/Tokenizer.js +147 -0
- package/Toolbar.js +13 -13
- package/Tooltip.js +2 -3
- package/Tooltip2.js +111 -0
- package/TruncatedText.js +34 -0
- package/URLSearchParams.js +5 -0
- package/Utility.js +56 -0
- package/ViewSwitch.js +8 -8
- package/_check_private_redeclaration.js +7 -0
- package/_class_apply_descriptor_get.js +6 -0
- package/_class_apply_descriptor_set.js +11 -0
- package/_class_extract_field_descriptor.js +7 -0
- package/_class_private_field_get.js +9 -0
- package/_class_private_field_init.js +7 -0
- package/_class_private_field_set.js +9 -0
- package/_commonjsHelpers.js +6 -0
- package/adapters.js +53 -0
- package/api/types/getFilters_new.d.ts +8 -0
- package/api.js +25 -0
- package/api2.js +40 -0
- package/api3.js +406 -0
- package/applyScopeDataToEvent.js +83 -0
- package/applyScopeDataToEvent2.js +55 -0
- package/asset.type.js +9 -10
- package/asyncDebounce.js +0 -1
- package/auth.js +0 -1
- package/autocomplete.js +2 -3
- package/axios.js +46 -0
- package/base.js +57 -0
- package/base64Converter.js +0 -1
- package/baseclient.js +498 -0
- package/bind.js +8 -0
- package/browser.js +44 -0
- package/buildFullPath.js +9 -0
- package/buildURL.js +23 -0
- package/bundle.esm.js +81 -0
- package/calculateContainerMaxHeight.js +12 -0
- package/calculateNodeHeight.js +35 -0
- package/carrier.js +13 -0
- package/chain.js +8 -0
- package/checkGlobals.js +13 -0
- package/checks.js +178 -0
- package/chunk-6HYIRFX2.js +1 -0
- package/chunk.js +0 -1
- package/class.js +0 -1
- package/cleanUrl.js +11 -0
- package/client.js +76 -0
- package/clientreport.js +15 -0
- package/clsx.js +17 -0
- package/colorTransforms.js +12 -0
- package/combineFilters.js +0 -1
- package/combineMetaproperties.js +1 -2
- package/combineURLs.js +6 -0
- package/composeSignals.js +30 -0
- package/constants.js +2 -13
- package/constants2.js +82 -0
- package/constants3.js +14 -0
- package/constants4.js +8 -0
- package/constants5.js +4 -0
- package/constants6.js +4 -0
- package/context.js +12 -0
- package/context10.js +12 -0
- package/context2.js +9 -0
- package/context3.js +12 -0
- package/context6.js +5 -0
- package/cookieStore.js +116 -0
- package/cookies.js +32 -0
- package/core.js +42 -0
- package/createSelectors.js +0 -1
- package/crypto.js +0 -1
- package/currentScopes.js +9 -0
- package/data.js +4 -0
- package/de_DE.json.js +18 -0
- package/debug-build.js +4 -0
- package/debug-build2.js +4 -0
- package/debug-build3.js +4 -0
- package/debug-build4.js +4 -0
- package/debug-build5.js +4 -0
- package/debug-build6.js +4 -0
- package/decorators.js +37 -0
- package/defaultScopes.js +12 -0
- package/devUtils.js +20 -0
- package/dispatchRequest.js +31 -0
- package/doc.js +26 -0
- package/domHelpers.js +15 -0
- package/dsn.js +54 -0
- package/dynamicSamplingContext.js +34 -0
- package/dynamicSamplingContext2.js +34 -0
- package/emotion-unitless.esm.js +52 -0
- package/en_US.json.js +23 -0
- package/englishText-12403056.js +6 -0
- package/env.js +6 -0
- package/envelope.js +113 -0
- package/envelope2.js +23 -0
- package/envelope3.js +24 -0
- package/error.js +9 -0
- package/errors.js +33 -0
- package/errors2.js +55 -0
- package/es_ES.json.js +18 -0
- package/es_MX.json.js +18 -0
- package/eventProcessors.js +27 -0
- package/eventProcessors2.js +23 -0
- package/eventbuilder.js +128 -0
- package/exports.js +11 -0
- package/exports2.js +16 -0
- package/exports3.js +8 -0
- package/fetch.js +44 -0
- package/fetch2.js +141 -0
- package/filter/filters/smartfilters/Metaproperties/Autocomplete_new.d.ts +1 -1
- package/filter/filters/smartfilters/Metaproperties/Option_new.d.ts +3 -3
- package/filterAssets.js +1 -2
- package/fixFontSpaceInUrl.js +8 -0
- package/focusWithoutScrolling.js +45 -0
- package/forceHiddenStyles.js +19 -0
- package/formDataToJSON.js +31 -0
- package/fr_FR.json.js +18 -0
- package/getAbsoluteUrl.js +13 -0
- package/getAsset.js +1 -2
- package/getAssetCounts.js +1 -2
- package/getAssets.js +2 -3
- package/getCallFrame.js +12 -0
- package/getCollections.js +1 -2
- package/getFilterOptions.js +1 -2
- package/getFilters.js +1 -2
- package/getFilters_new.js +1 -2
- package/getLimitedUseThumbnails.js +0 -1
- package/getRequestCookies.js +40 -0
- package/getRootSpan.js +6 -0
- package/getRootSpan2.js +6 -0
- package/getSimilarityAssets.js +1 -2
- package/getSizingData.js +45 -0
- package/getStatusCodeColor.js +6 -0
- package/getThumbPosition.js +6 -0
- package/getTimestamp.js +7 -0
- package/getUseLayerOptions.js +49 -0
- package/handlers.js +92 -7
- package/handlers2.js +6 -0
- package/helpers.js +3 -5
- package/helpers2.js +6 -0
- package/hexFromPercentage.js +7 -0
- package/http.js +17 -0
- package/hub.js +446 -0
- package/hub2.js +442 -0
- package/immer.js +472 -0
- package/import.js +7 -0
- package/index-esm.js +10781 -0
- package/index-esm2.js +138 -0
- package/index-esm3.js +131 -0
- package/index.browser.js +11 -0
- package/index.js +0 -1
- package/index.module.js +57 -0
- package/index.module2.js +72 -0
- package/index.module3.js +57 -0
- package/index10.js +20 -0
- package/index102.js +273 -0
- package/index11.js +18 -0
- package/index112.js +29 -0
- package/index12.js +38 -0
- package/index13.js +2432 -0
- package/index14.js +558 -0
- package/index15.js +58 -0
- package/index16.js +4 -0
- package/index17.js +89 -0
- package/index18.js +9 -0
- package/index19.js +62 -0
- package/index2.js +0 -1
- package/index20.js +15 -0
- package/index21.js +11 -0
- package/index22.js +42 -0
- package/index23.js +9 -0
- package/index24.js +10 -0
- package/index25.js +7 -0
- package/index26.js +12 -0
- package/index27.js +11 -0
- package/index28.js +639 -0
- package/index29.js +76 -0
- package/index3.js +5 -54
- package/index30.js +7 -0
- package/index31.js +22 -0
- package/index32.js +2 -0
- package/index33.js +7 -0
- package/index34.js +20 -0
- package/index35.js +8 -0
- package/index36.js +4 -0
- package/index37.js +13 -0
- package/index38.js +13 -0
- package/index39.js +15 -0
- package/index4.js +1684 -18
- package/index40.js +13 -0
- package/index41.js +21 -0
- package/index42.js +66 -0
- package/index43.js +8 -0
- package/index44.js +57 -0
- package/index45.js +69 -0
- package/index46.js +33 -0
- package/index47.js +13 -0
- package/index48.js +123 -0
- package/index49.js +88 -0
- package/index5.js +27 -0
- package/index50.js +10 -0
- package/index51.js +13 -0
- package/index52.js +16 -0
- package/index53.js +16 -0
- package/index54.js +9 -0
- package/index55.js +9 -0
- package/index56.js +17 -0
- package/index57.js +31 -0
- package/index58.js +18 -0
- package/index6.js +315 -0
- package/index7.js +4 -0
- package/index72.js +228 -0
- package/index8.js +5051 -0
- package/index82.js +8 -0
- package/index9.js +55 -0
- package/index92.js +12 -0
- package/integration.js +38 -0
- package/is.js +77 -0
- package/is2.js +14 -0
- package/is3.js +14 -0
- package/isAbsoluteURL.js +6 -0
- package/isAbsoluteUrl2.js +6 -0
- package/isAxiosError.js +7 -0
- package/isCancel.js +6 -0
- package/isIterable.js +6 -0
- package/isStringEqual.js +6 -0
- package/isURLSameOrigin.js +8 -0
- package/isValidHexValue.js +6 -0
- package/isVirtualEvent.js +11 -0
- package/iso.js +38 -0
- package/it_IT.json.js +18 -0
- package/itemContext.js +5 -0
- package/ja_JP.json.js +18 -0
- package/ko_KR.json.js +18 -0
- package/localStorageHelper.js +32 -0
- package/localStorageHelper2.js +4 -0
- package/localization.js +46 -0
- package/logger.js +0 -1
- package/logger2.js +56 -0
- package/logger3.js +56 -0
- package/logger4.js +56 -0
- package/loginwindow.js +0 -1
- package/makeHexWithOpacity.js +12 -0
- package/makeInternalTokens.js +22 -0
- package/matchRequestUrl.js +23 -0
- package/memo.js +25 -0
- package/merge.js +13 -0
- package/mergeConfig.js +70 -0
- package/mergeProps.js +22 -0
- package/mergeRefs.js +9 -0
- package/middleware.js +177 -0
- package/middleware2.js +177 -0
- package/misc.js +58 -0
- package/misc2.js +28 -0
- package/misc3.js +24 -0
- package/nl_NL.json.js +18 -0
- package/normalize.js +97 -0
- package/normalizePath.js +11 -0
- package/normalizeResponse.js +1 -2
- package/normalizeRows.js +10 -0
- package/notify.js +52 -0
- package/null.js +4 -0
- package/oauth2.js +0 -1
- package/object.js +110 -0
- package/object2.js +39 -0
- package/object3.js +17 -0
- package/opacityPercentageFromHex.js +9 -0
- package/openLink.js +27 -0
- package/package.json +1 -1
- package/packageVersion.js +4 -0
- package/parse.js +9 -0
- package/parse2.js +44 -0
- package/parseHeaders.js +30 -0
- package/parseProtocol.js +7 -0
- package/pl_PL.json.js +18 -0
- package/platform.js +42 -0
- package/prepareEvent.js +141 -0
- package/prepareEvent2.js +5 -0
- package/prepareEvent3.js +5 -0
- package/progressEventReducer.js +35 -0
- package/promisebuffer.js +44 -0
- package/propagationContext.js +11 -0
- package/pt_BR.json.js +18 -0
- package/ratelimit.js +37 -0
- package/react.js +19 -0
- package/react2.js +19 -0
- package/regexes.js +51 -0
- package/registries.js +41 -0
- package/resolveConfig.js +33 -0
- package/result.type.js +0 -1
- package/ru_RU.json.js +18 -0
- package/runAfterTransition.js +35 -0
- package/schemas.js +368 -0
- package/schemas2.js +691 -0
- package/scope.js +412 -0
- package/scope2.js +407 -0
- package/scope3.js +348 -0
- package/sdk-DhxX43BH.js +4813 -0
- package/sdkMetadata.js +15 -0
- package/serializeRequest.js +12 -0
- package/serializeResponse.js +14 -0
- package/session.js +57 -0
- package/session2.js +57 -0
- package/session3.js +16 -0
- package/settle.js +14 -0
- package/shadowdom.js +13 -0
- package/shadowdom2.js +13 -0
- package/spanOnScope.js +12 -0
- package/spanUtils.js +31 -0
- package/spanUtils2.js +31 -0
- package/speedometer.js +19 -0
- package/spread.js +8 -0
- package/stack-parsers.js +48 -0
- package/stackStrategy.js +98 -0
- package/stacktrace.js +49 -0
- package/state.js +106 -0
- package/store/StoreInitializer.d.ts +8 -0
- package/store/useDatStore.d.ts +11 -8
- package/string.js +6 -0
- package/styled-components.browser.esm.js +530 -0
- package/styles.js +55 -0
- package/styles2.js +17 -0
- package/supports.js +6 -0
- package/syncpromise.js +121 -0
- package/syncpromise2.js +109 -0
- package/text.js +0 -1
- package/textSelection.js +33 -0
- package/textStyles.js +20 -0
- package/theme.js +238 -0
- package/themeContainers.js +20 -0
- package/themes3.js +26 -0
- package/throttle.js +15 -0
- package/time.js +24 -0
- package/time2.js +24 -0
- package/time3.js +24 -0
- package/toFormData.js +85 -0
- package/toPublicUrl.js +9 -0
- package/toURLEncodedForm.js +13 -0
- package/token.js +236 -0
- package/tokenExpirationHelper.js +48 -0
- package/tokenExpirationHelper2.js +4 -0
- package/tokensAndThemes.js +92 -0
- package/tr_TR.json.js +18 -0
- package/trackStream.js +63 -0
- package/transformData.js +13 -0
- package/transitional.js +8 -0
- package/trimMetapropertyValue.js +1 -2
- package/tslib.es6.js +18 -0
- package/typeof.js +11 -0
- package/url.js +0 -1
- package/urlHelper.js +15 -0
- package/urlHelper2.js +4 -0
- package/useAccountDomain.js +0 -1
- package/useAuthInformation.js +0 -1
- package/useAutoHeight.js +25 -0
- package/useClickOutside.js +0 -1
- package/useDatStore.js +31 -28
- package/useDimensions.js +0 -1
- package/useEffectEvent.js +18 -0
- package/useFocus.js +30 -0
- package/useFocusRing.js +34 -0
- package/useFocusVisible.js +92 -0
- package/useFocusWithin.js +57 -0
- package/useFonts.js +118 -0
- package/useGlobalListeners.js +34 -0
- package/useGroupContext.js +10 -0
- package/useHover.js +79 -0
- package/useId.js +8 -0
- package/useId2.js +17 -0
- package/useKeyDown.js +14 -0
- package/useLayoutEffect.js +6 -0
- package/useOrderingStore.js +6 -7
- package/usePress.js +359 -0
- package/useRouterStore.js +6 -7
- package/useScrollHighlightedIntoView.js +24 -0
- package/useSearchStore.js +5 -6
- package/useSimilaritySearchStore.js +6 -7
- package/useSyncRef.js +12 -0
- package/useTranslate.js +13 -0
- package/useZIndex.js +9 -0
- package/userfeedback.js +28 -0
- package/util.js +265 -0
- package/utils/fixFontSpaceInUrl.d.ts +1 -0
- package/utils.js +26 -45
- package/utils2.js +43 -46
- package/utils3.js +50 -0
- package/utils4.js +12 -0
- package/utils5.js +71 -0
- package/utils6.js +222 -0
- package/utils7.js +9 -0
- package/utils8.js +70 -0
- package/validator.js +54 -0
- package/vanilla.js +14 -0
- package/vanilla2.js +14 -0
- package/version.js +4 -0
- package/version2.js +4 -0
- package/version3.js +4 -0
- package/versionContext.js +9 -0
- package/versions.js +8 -0
- package/views/asset/asset-card/AssetCard.d.ts +4 -2
- package/views/asset/asset-card/ContextAction.d.ts +3 -1
- package/worldwide.js +19 -0
- package/worldwide2.js +15 -0
- package/worldwide3.js +10 -0
- package/xhr.js +71 -0
- package/zh_CN.json.js +18 -0
- package/zh_TW.json.js +18 -0
- package/ActiveFilter.js.map +0 -1
- package/ActiveFilters.js.map +0 -1
- package/AddMedia.js.map +0 -1
- package/Advanced.js.map +0 -1
- package/App.js.map +0 -1
- package/AssetCard.js.map +0 -1
- package/AssetCardMetaproperties.js.map +0 -1
- package/AssetFilter.js.map +0 -1
- package/AssetFilterContext.js.map +0 -1
- package/AssetItem.js.map +0 -1
- package/AssetList.js.map +0 -1
- package/AssetTypeItem.js.map +0 -1
- package/AssetsView.js.map +0 -1
- package/Autocomplete_new.js.map +0 -1
- package/ButtonAction.js.map +0 -1
- package/CardSkeleton.js.map +0 -1
- package/Checkbox.styles.js.map +0 -1
- package/Chip.js.map +0 -1
- package/CollectionCard.js.map +0 -1
- package/CollectionItem.js.map +0 -1
- package/CollectionList.js.map +0 -1
- package/CollectionView.js.map +0 -1
- package/CollectionsView.js.map +0 -1
- package/ConfigContext.js.map +0 -1
- package/ConnectButton.js.map +0 -1
- package/Container.js.map +0 -1
- package/ContextAction.js.map +0 -1
- package/Dat.js.map +0 -1
- package/DatDropdownItem.js.map +0 -1
- package/DesignSystemContext.js.map +0 -1
- package/DirectionSelect.js.map +0 -1
- package/DocumentIcon.js.map +0 -1
- package/DomainInput.js.map +0 -1
- package/DragSelect.js.map +0 -1
- package/Dropdown.js.map +0 -1
- package/DropdownContent.js.map +0 -1
- package/DropdownListItem.js.map +0 -1
- package/ErrorIcon.js.map +0 -1
- package/ErrorMessage.js.map +0 -1
- package/FieldSelect.js.map +0 -1
- package/FileSelector.js.map +0 -1
- package/Header.js.map +0 -1
- package/HorizontalScroll.js.map +0 -1
- package/InfiniteScroll.js.map +0 -1
- package/LeftArrow.js.map +0 -1
- package/LoginComponent.js.map +0 -1
- package/LoginContext.js.map +0 -1
- package/MetapropertyFilterContent.js.map +0 -1
- package/MetapropertyOption.js.map +0 -1
- package/Modal.js.map +0 -1
- package/NoResults.js.map +0 -1
- package/Oops.js.map +0 -1
- package/Option_new.js.map +0 -1
- package/RefreshingSpinner.js.map +0 -1
- package/ReportModal.js.map +0 -1
- package/RightArrow.js.map +0 -1
- package/RootElementContext.js.map +0 -1
- package/SearchInput.js.map +0 -1
- package/SelectedItemContainer.js.map +0 -1
- package/SelectedItems.js.map +0 -1
- package/SelectionContext.js.map +0 -1
- package/SelectionFooter.js.map +0 -1
- package/ShadowRoot.js.map +0 -1
- package/ShadowRootInternal.js.map +0 -1
- package/Shield.js.map +0 -1
- package/Skeleton.js.map +0 -1
- package/SmartFilterContent.js.map +0 -1
- package/SmartFilterSelect_new.js.map +0 -1
- package/Smartfilters_new.js.map +0 -1
- package/Spinner.js.map +0 -1
- package/StatefulAssetList.js.map +0 -1
- package/Styles.css.js.map +0 -1
- package/SwitchNLS.js.map +0 -1
- package/TagItem.js.map +0 -1
- package/Tags.js.map +0 -1
- package/Theming.js.map +0 -1
- package/Toolbar.js.map +0 -1
- package/Tooltip.js.map +0 -1
- package/ViewSwitch.js.map +0 -1
- package/asset.type.js.map +0 -1
- package/asyncDebounce.js.map +0 -1
- package/auth.js.map +0 -1
- package/autocomplete.js.map +0 -1
- package/base64Converter.js.map +0 -1
- package/chunk.js.map +0 -1
- package/class.js.map +0 -1
- package/combineFilters.js.map +0 -1
- package/combineMetaproperties.js.map +0 -1
- package/constants.js.map +0 -1
- package/createSelectors.js.map +0 -1
- package/crypto.js.map +0 -1
- package/filterAssets.js.map +0 -1
- package/getAsset.js.map +0 -1
- package/getAssetCounts.js.map +0 -1
- package/getAssets.js.map +0 -1
- package/getCollections.js.map +0 -1
- package/getFilterOptions.js.map +0 -1
- package/getFilters.js.map +0 -1
- package/getFilters_new.js.map +0 -1
- package/getLimitedUseThumbnails.js.map +0 -1
- package/getSimilarityAssets.js.map +0 -1
- package/handlers.js.map +0 -1
- package/helpers.js.map +0 -1
- package/index.js.map +0 -1
- package/index2.js.map +0 -1
- package/index3.js.map +0 -1
- package/index4.js.map +0 -1
- package/logger.js.map +0 -1
- package/loginwindow.js.map +0 -1
- package/normalizeResponse.js.map +0 -1
- package/oauth2.js.map +0 -1
- package/result.type.js.map +0 -1
- package/router/RouterContext.d.ts +0 -19
- package/text.js.map +0 -1
- package/trimMetapropertyValue.js.map +0 -1
- package/url.js.map +0 -1
- package/useAccountDomain.js.map +0 -1
- package/useAuthInformation.js.map +0 -1
- package/useClickOutside.js.map +0 -1
- package/useDatStore.js.map +0 -1
- package/useDimensions.js.map +0 -1
- package/useOrderingStore.js.map +0 -1
- package/useRouterStore.js.map +0 -1
- package/useSearchStore.js.map +0 -1
- package/useSimilaritySearchStore.js.map +0 -1
- package/utils.js.map +0 -1
- package/utils2.js.map +0 -1
package/Group2.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsxs as r, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import c from "./styled-components.browser.esm.js";
|
|
3
|
+
import { token as e } from "./token.js";
|
|
4
|
+
import { useId as a } from "./useId.js";
|
|
5
|
+
function u({
|
|
6
|
+
title: n,
|
|
7
|
+
action: t,
|
|
8
|
+
children: d,
|
|
9
|
+
...s
|
|
10
|
+
}) {
|
|
11
|
+
const i = a("list-group-header");
|
|
12
|
+
return /* @__PURE__ */ r("div", { ...s, children: [
|
|
13
|
+
/* @__PURE__ */ r(p, { children: [
|
|
14
|
+
/* @__PURE__ */ o("span", { id: i, children: n }),
|
|
15
|
+
t
|
|
16
|
+
] }),
|
|
17
|
+
/* @__PURE__ */ o("div", { "aria-describedby": i, children: d })
|
|
18
|
+
] });
|
|
19
|
+
}
|
|
20
|
+
const p = c.div.withConfig({
|
|
21
|
+
displayName: "Header",
|
|
22
|
+
componentId: "sc-g7ra3w-0"
|
|
23
|
+
})(["display:flex;justify-content:space-between;align-items:center;padding:", " 0 ", ";color:", ";"], e.spacing3, e.spacing2, e.colorText);
|
|
24
|
+
export {
|
|
25
|
+
u as Group
|
|
26
|
+
};
|
package/Header.js
CHANGED
package/Header2.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsxs as p, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import r from "./styled-components.browser.esm.js";
|
|
3
|
+
import { TruncatedText as l } from "./TruncatedText.js";
|
|
4
|
+
import { textStyles as c } from "./textStyles.js";
|
|
5
|
+
import { token as t } from "./token.js";
|
|
6
|
+
import { useCardContext as g } from "./context.js";
|
|
7
|
+
function N({
|
|
8
|
+
thumbnail: n,
|
|
9
|
+
title: e,
|
|
10
|
+
detail: o,
|
|
11
|
+
icon: a,
|
|
12
|
+
isNotTruncated: d = !1,
|
|
13
|
+
...m
|
|
14
|
+
}) {
|
|
15
|
+
const {
|
|
16
|
+
cardTitleId: s
|
|
17
|
+
} = g();
|
|
18
|
+
return /* @__PURE__ */ p(h, { ...m, children: [
|
|
19
|
+
n ? /* @__PURE__ */ i(f, { children: n }) : null,
|
|
20
|
+
/* @__PURE__ */ i(u, { id: s, children: d ? e : /* @__PURE__ */ i(l, { children: e }) }),
|
|
21
|
+
o ? /* @__PURE__ */ i(w, { children: d ? o : /* @__PURE__ */ i(l, { children: o }) }) : null,
|
|
22
|
+
a ? /* @__PURE__ */ i(x, { children: a }) : null
|
|
23
|
+
] });
|
|
24
|
+
}
|
|
25
|
+
const h = r.div.withConfig({
|
|
26
|
+
displayName: "HeaderStyled",
|
|
27
|
+
componentId: "sc-1o0trsi-0"
|
|
28
|
+
})(["display:grid;grid-template-areas:'thumbnail title icon' 'thumbnail detail icon';grid-template-columns:auto 1fr auto;padding:var(--card-content-padding);"]), f = r.div.withConfig({
|
|
29
|
+
displayName: "ThumbnailContainer",
|
|
30
|
+
componentId: "sc-1o0trsi-1"
|
|
31
|
+
})(["grid-area:thumbnail;margin-top:2px;margin-right:", ";"], t.spacing4), u = r.div.withConfig({
|
|
32
|
+
displayName: "Title",
|
|
33
|
+
componentId: "sc-1o0trsi-2"
|
|
34
|
+
})(["", " grid-area:title;min-width:0;color:", ";overflow-wrap:break-word;"], c.uiTextM, t.colorText), w = r.div.withConfig({
|
|
35
|
+
displayName: "Detail",
|
|
36
|
+
componentId: "sc-1o0trsi-3"
|
|
37
|
+
})(["", " grid-area:detail;min-width:0;margin-top:", ";color:", ";overflow-wrap:break-word;"], c.uiTextS, t.spacing2, t.colorTextMuted), x = r.div.withConfig({
|
|
38
|
+
displayName: "IconContainer",
|
|
39
|
+
componentId: "sc-1o0trsi-4"
|
|
40
|
+
})(["z-index:2;display:grid;grid-area:icon;align-items:center;margin-left:", ";color:", ";"], t.spacing2, t.gray600);
|
|
41
|
+
export {
|
|
42
|
+
N as Header
|
|
43
|
+
};
|
package/Header22.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { Box as m } from "./Box.js";
|
|
3
|
+
import { Item as c } from "./Item.js";
|
|
4
|
+
function x({
|
|
5
|
+
rightElements: r,
|
|
6
|
+
subtext: o,
|
|
7
|
+
thumbnail: d,
|
|
8
|
+
title: n,
|
|
9
|
+
...p
|
|
10
|
+
}) {
|
|
11
|
+
return /* @__PURE__ */ i(m, { paddingBlock: "3", paddingInline: "6", ...p, children: (r || o || d || n) && /* @__PURE__ */ i(c, { thumbnail: d, rightElements: r, subtext: o, children: n }) });
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
x as Header
|
|
15
|
+
};
|
package/HelperText.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsxs as p, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import o from "./styled-components.browser.esm.js";
|
|
3
|
+
import { textStyles as s } from "./textStyles.js";
|
|
4
|
+
import { token as t } from "./token.js";
|
|
5
|
+
import { useGroupParent as a } from "./useGroupContext.js";
|
|
6
|
+
function h({
|
|
7
|
+
icon: e,
|
|
8
|
+
isInvalid: n,
|
|
9
|
+
children: i,
|
|
10
|
+
...r
|
|
11
|
+
}) {
|
|
12
|
+
return a("HelperText"), /* @__PURE__ */ p(d, { $isInvalid: n, $hasIcon: !!e, ...r, children: [
|
|
13
|
+
e && /* @__PURE__ */ l(m, { children: e }),
|
|
14
|
+
i
|
|
15
|
+
] });
|
|
16
|
+
}
|
|
17
|
+
const d = o.div.withConfig({
|
|
18
|
+
displayName: "HelperTextStyled",
|
|
19
|
+
componentId: "sc-16g18nz-0"
|
|
20
|
+
})(["", " display:flex;align-items:center;margin-top:", ";padding-top:", ";color:", ";"], s.uiTextS, t.spacing2, (e) => e.$hasIcon ? "2px" : "0", (e) => e.$isInvalid ? t.red500 : t.colorTextMuted), m = o.div.withConfig({
|
|
21
|
+
displayName: "Icon",
|
|
22
|
+
componentId: "sc-16g18nz-1"
|
|
23
|
+
})(["flex:none;align-self:flex-start;margin-top:-2px;margin-right:", ";"], t.spacing2);
|
|
24
|
+
export {
|
|
25
|
+
h as HelperText
|
|
26
|
+
};
|
package/HorizontalScroll.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as x, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useState as g, useRef as b, useEffect as f } from "react";
|
|
3
|
-
import
|
|
4
|
-
import { token as h } from "
|
|
3
|
+
import d from "./styled-components.browser.esm.js";
|
|
4
|
+
import { token as h } from "./token.js";
|
|
5
5
|
import { useDimensions as p } from "./useDimensions.js";
|
|
6
6
|
import { RightArrow as A } from "./RightArrow.js";
|
|
7
7
|
import { LeftArrow as $ } from "./LeftArrow.js";
|
|
8
|
-
function
|
|
8
|
+
function j(r) {
|
|
9
9
|
const [e, c] = g(0), t = b(null), { dimensions: s, remeasure: m } = p(t.current), o = t.current !== null ? t.current.scrollWidth - t.current.clientWidth : 0, l = s !== void 0 ? Math.ceil(s.width) < s.scrollWidth : !1;
|
|
10
10
|
f(() => {
|
|
11
11
|
m(t.current);
|
|
@@ -46,6 +46,5 @@ const z = d.div`
|
|
|
46
46
|
transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.15);
|
|
47
47
|
`;
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
j as HorizontalScroll
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=HorizontalScroll.js.map
|
package/HttpHandler.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { devUtils as n } from "./devUtils.js";
|
|
2
|
+
import { isStringEqual as i } from "./isStringEqual.js";
|
|
3
|
+
import { getStatusCodeColor as c } from "./getStatusCodeColor.js";
|
|
4
|
+
import { getTimestamp as u } from "./getTimestamp.js";
|
|
5
|
+
import { serializeRequest as m } from "./serializeRequest.js";
|
|
6
|
+
import { serializeResponse as l } from "./serializeResponse.js";
|
|
7
|
+
import { matchRequestUrl as h } from "./matchRequestUrl.js";
|
|
8
|
+
import { toPublicUrl as p } from "./toPublicUrl.js";
|
|
9
|
+
import { getAllRequestCookies as d } from "./getRequestCookies.js";
|
|
10
|
+
import { cleanUrl as f, getSearchParams as R } from "./cleanUrl.js";
|
|
11
|
+
import { RequestHandler as q } from "./RequestHandler.js";
|
|
12
|
+
var g = /* @__PURE__ */ ((t) => (t.HEAD = "HEAD", t.GET = "GET", t.POST = "POST", t.PUT = "PUT", t.PATCH = "PATCH", t.OPTIONS = "OPTIONS", t.DELETE = "DELETE", t))(g || {});
|
|
13
|
+
class A extends q {
|
|
14
|
+
constructor(e, r, o, s) {
|
|
15
|
+
super({
|
|
16
|
+
info: {
|
|
17
|
+
header: `${e} ${r}`,
|
|
18
|
+
path: r,
|
|
19
|
+
method: e
|
|
20
|
+
},
|
|
21
|
+
resolver: o,
|
|
22
|
+
options: s
|
|
23
|
+
}), this.checkRedundantQueryParameters();
|
|
24
|
+
}
|
|
25
|
+
checkRedundantQueryParameters() {
|
|
26
|
+
const { method: e, path: r } = this.info;
|
|
27
|
+
if (r instanceof RegExp || f(r) === r)
|
|
28
|
+
return;
|
|
29
|
+
R(r).forEach((a, P) => {
|
|
30
|
+
}), n.warn(
|
|
31
|
+
`Found a redundant usage of query parameters in the request handler URL for "${e} ${r}". Please match against a path instead and access query parameters using "new URL(request.url).searchParams" instead. Learn more: https://mswjs.io/docs/recipes/query-parameters`
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
async parse(e) {
|
|
35
|
+
var r;
|
|
36
|
+
const o = new URL(e.request.url), s = h(
|
|
37
|
+
o,
|
|
38
|
+
this.info.path,
|
|
39
|
+
(r = e.resolutionContext) == null ? void 0 : r.baseUrl
|
|
40
|
+
), a = d(e.request);
|
|
41
|
+
return {
|
|
42
|
+
match: s,
|
|
43
|
+
cookies: a
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
predicate(e) {
|
|
47
|
+
const r = this.matchMethod(e.request.method), o = e.parsedResult.match.matches;
|
|
48
|
+
return r && o;
|
|
49
|
+
}
|
|
50
|
+
matchMethod(e) {
|
|
51
|
+
return this.info.method instanceof RegExp ? this.info.method.test(e) : i(this.info.method, e);
|
|
52
|
+
}
|
|
53
|
+
extendResolverArgs(e) {
|
|
54
|
+
var r;
|
|
55
|
+
return {
|
|
56
|
+
params: ((r = e.parsedResult.match) == null ? void 0 : r.params) || {},
|
|
57
|
+
cookies: e.parsedResult.cookies
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
async log(e) {
|
|
61
|
+
const r = p(e.request.url), o = await m(e.request), s = await l(e.response), a = c(s.status);
|
|
62
|
+
console.groupCollapsed(
|
|
63
|
+
n.formatMessage(
|
|
64
|
+
`${u()} ${e.request.method} ${r} (%c${s.status} ${s.statusText}%c)`
|
|
65
|
+
),
|
|
66
|
+
`color:${a}`,
|
|
67
|
+
"color:inherit"
|
|
68
|
+
), console.log("Request", o), console.log("Handler:", this), console.log("Response", s), console.groupEnd();
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
export {
|
|
72
|
+
A as HttpHandler,
|
|
73
|
+
g as HttpMethods
|
|
74
|
+
};
|
package/HttpResponse.js
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { normalizeResponseInit as s, decorateResponse as a } from "./decorators.js";
|
|
2
|
+
class r extends Response {
|
|
3
|
+
constructor(t, n) {
|
|
4
|
+
const e = s(n);
|
|
5
|
+
super(t, e), a(this, e);
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Create a `Response` with a `Content-Type: "text/plain"` body.
|
|
9
|
+
* @example
|
|
10
|
+
* HttpResponse.text('hello world')
|
|
11
|
+
* HttpResponse.text('Error', { status: 500 })
|
|
12
|
+
*/
|
|
13
|
+
static text(t, n) {
|
|
14
|
+
const e = s(n);
|
|
15
|
+
return e.headers.has("Content-Type") || e.headers.set("Content-Type", "text/plain"), e.headers.has("Content-Length") || e.headers.set(
|
|
16
|
+
"Content-Length",
|
|
17
|
+
t ? new Blob([t]).size.toString() : "0"
|
|
18
|
+
), new r(t, e);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Create a `Response` with a `Content-Type: "application/json"` body.
|
|
22
|
+
* @example
|
|
23
|
+
* HttpResponse.json({ firstName: 'John' })
|
|
24
|
+
* HttpResponse.json({ error: 'Not Authorized' }, { status: 401 })
|
|
25
|
+
*/
|
|
26
|
+
static json(t, n) {
|
|
27
|
+
const e = s(n);
|
|
28
|
+
e.headers.has("Content-Type") || e.headers.set("Content-Type", "application/json");
|
|
29
|
+
const o = JSON.stringify(t);
|
|
30
|
+
return e.headers.has("Content-Length") || e.headers.set(
|
|
31
|
+
"Content-Length",
|
|
32
|
+
o ? new Blob([o]).size.toString() : "0"
|
|
33
|
+
), new r(
|
|
34
|
+
o,
|
|
35
|
+
e
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Create a `Response` with a `Content-Type: "application/xml"` body.
|
|
40
|
+
* @example
|
|
41
|
+
* HttpResponse.xml(`<user name="John" />`)
|
|
42
|
+
* HttpResponse.xml(`<article id="abc-123" />`, { status: 201 })
|
|
43
|
+
*/
|
|
44
|
+
static xml(t, n) {
|
|
45
|
+
const e = s(n);
|
|
46
|
+
return e.headers.has("Content-Type") || e.headers.set("Content-Type", "text/xml"), new r(t, e);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Create a `Response` with a `Content-Type: "text/html"` body.
|
|
50
|
+
* @example
|
|
51
|
+
* HttpResponse.html(`<p class="author">Jane Doe</p>`)
|
|
52
|
+
* HttpResponse.html(`<main id="abc-123">Main text</main>`, { status: 201 })
|
|
53
|
+
*/
|
|
54
|
+
static html(t, n) {
|
|
55
|
+
const e = s(n);
|
|
56
|
+
return e.headers.has("Content-Type") || e.headers.set("Content-Type", "text/html"), new r(t, e);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a `Response` with an `ArrayBuffer` body.
|
|
60
|
+
* @example
|
|
61
|
+
* const buffer = new ArrayBuffer(3)
|
|
62
|
+
* const view = new Uint8Array(buffer)
|
|
63
|
+
* view.set([1, 2, 3])
|
|
64
|
+
*
|
|
65
|
+
* HttpResponse.arrayBuffer(buffer)
|
|
66
|
+
*/
|
|
67
|
+
static arrayBuffer(t, n) {
|
|
68
|
+
const e = s(n);
|
|
69
|
+
return t && !e.headers.has("Content-Length") && e.headers.set("Content-Length", t.byteLength.toString()), new r(t, e);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Create a `Response` with a `FormData` body.
|
|
73
|
+
* @example
|
|
74
|
+
* const data = new FormData()
|
|
75
|
+
* data.set('name', 'Alice')
|
|
76
|
+
*
|
|
77
|
+
* HttpResponse.formData(data)
|
|
78
|
+
*/
|
|
79
|
+
static formData(t, n) {
|
|
80
|
+
return new r(t, s(n));
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
export {
|
|
84
|
+
r as HttpResponse
|
|
85
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
Continue: 100,
|
|
3
|
+
SwitchingProtocols: 101,
|
|
4
|
+
Processing: 102,
|
|
5
|
+
EarlyHints: 103,
|
|
6
|
+
Ok: 200,
|
|
7
|
+
Created: 201,
|
|
8
|
+
Accepted: 202,
|
|
9
|
+
NonAuthoritativeInformation: 203,
|
|
10
|
+
NoContent: 204,
|
|
11
|
+
ResetContent: 205,
|
|
12
|
+
PartialContent: 206,
|
|
13
|
+
MultiStatus: 207,
|
|
14
|
+
AlreadyReported: 208,
|
|
15
|
+
ImUsed: 226,
|
|
16
|
+
MultipleChoices: 300,
|
|
17
|
+
MovedPermanently: 301,
|
|
18
|
+
Found: 302,
|
|
19
|
+
SeeOther: 303,
|
|
20
|
+
NotModified: 304,
|
|
21
|
+
UseProxy: 305,
|
|
22
|
+
Unused: 306,
|
|
23
|
+
TemporaryRedirect: 307,
|
|
24
|
+
PermanentRedirect: 308,
|
|
25
|
+
BadRequest: 400,
|
|
26
|
+
Unauthorized: 401,
|
|
27
|
+
PaymentRequired: 402,
|
|
28
|
+
Forbidden: 403,
|
|
29
|
+
NotFound: 404,
|
|
30
|
+
MethodNotAllowed: 405,
|
|
31
|
+
NotAcceptable: 406,
|
|
32
|
+
ProxyAuthenticationRequired: 407,
|
|
33
|
+
RequestTimeout: 408,
|
|
34
|
+
Conflict: 409,
|
|
35
|
+
Gone: 410,
|
|
36
|
+
LengthRequired: 411,
|
|
37
|
+
PreconditionFailed: 412,
|
|
38
|
+
PayloadTooLarge: 413,
|
|
39
|
+
UriTooLong: 414,
|
|
40
|
+
UnsupportedMediaType: 415,
|
|
41
|
+
RangeNotSatisfiable: 416,
|
|
42
|
+
ExpectationFailed: 417,
|
|
43
|
+
ImATeapot: 418,
|
|
44
|
+
MisdirectedRequest: 421,
|
|
45
|
+
UnprocessableEntity: 422,
|
|
46
|
+
Locked: 423,
|
|
47
|
+
FailedDependency: 424,
|
|
48
|
+
TooEarly: 425,
|
|
49
|
+
UpgradeRequired: 426,
|
|
50
|
+
PreconditionRequired: 428,
|
|
51
|
+
TooManyRequests: 429,
|
|
52
|
+
RequestHeaderFieldsTooLarge: 431,
|
|
53
|
+
UnavailableForLegalReasons: 451,
|
|
54
|
+
InternalServerError: 500,
|
|
55
|
+
NotImplemented: 501,
|
|
56
|
+
BadGateway: 502,
|
|
57
|
+
ServiceUnavailable: 503,
|
|
58
|
+
GatewayTimeout: 504,
|
|
59
|
+
HttpVersionNotSupported: 505,
|
|
60
|
+
VariantAlsoNegotiates: 506,
|
|
61
|
+
InsufficientStorage: 507,
|
|
62
|
+
LoopDetected: 508,
|
|
63
|
+
NotExtended: 510,
|
|
64
|
+
NetworkAuthenticationRequired: 511
|
|
65
|
+
};
|
|
66
|
+
Object.entries(e).forEach(([t, o]) => {
|
|
67
|
+
e[o] = t;
|
|
68
|
+
});
|
|
69
|
+
export {
|
|
70
|
+
e as default
|
|
71
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import c from "./styled-components.browser.esm.js";
|
|
3
|
+
import { token as r } from "./token.js";
|
|
4
|
+
function m({
|
|
5
|
+
children: o,
|
|
6
|
+
backgroundColor: e = r.gray25,
|
|
7
|
+
iconColor: n = r.gray400a,
|
|
8
|
+
...t
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ i(l, { $backgroundColor: e, $iconColor: n, ...t, children: o });
|
|
11
|
+
}
|
|
12
|
+
const l = c.div.withConfig({
|
|
13
|
+
displayName: "Placeholder",
|
|
14
|
+
componentId: "sc-1qxxfir-0"
|
|
15
|
+
})(["display:flex;justify-content:center;align-items:center;min-height:100px;background:", ";color:", ";svg{width:48px;height:48px;}"], (o) => o.$backgroundColor, (o) => o.$iconColor);
|
|
16
|
+
export {
|
|
17
|
+
m as IconPlaceholder
|
|
18
|
+
};
|
package/Image.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import i from "./styled-components.browser.esm.js";
|
|
3
|
+
import { token as o } from "./token.js";
|
|
4
|
+
function g({
|
|
5
|
+
src: r,
|
|
6
|
+
alt: a = ""
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ t(e, { children: /* @__PURE__ */ t(d, { src: r, alt: a, "data-testid": "ds-tooltip-image" }) });
|
|
9
|
+
}
|
|
10
|
+
const e = i.div.withConfig({
|
|
11
|
+
displayName: "ImageHolder",
|
|
12
|
+
componentId: "sc-ztsgek-0"
|
|
13
|
+
})(["margin:calc(", " * -1) calc(", " * -1) ", ";"], o.spacing4, o.spacing5, o.spacing3), d = i.img.withConfig({
|
|
14
|
+
displayName: "StyledImage",
|
|
15
|
+
componentId: "sc-ztsgek-1"
|
|
16
|
+
})(["vertical-align:top;width:100%;border-bottom:1px solid ", ";border-radius:var(--ds-tooltip-border-radius) var(--ds-tooltip-border-radius) 0 0;"], o.gray100a);
|
|
17
|
+
export {
|
|
18
|
+
g as Image
|
|
19
|
+
};
|
package/Images.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import d from "./styled-components.browser.esm.js";
|
|
3
|
+
import { token as r } from "./token.js";
|
|
4
|
+
function a({
|
|
5
|
+
children: i,
|
|
6
|
+
...t
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ n(c, { ...t, children: i });
|
|
9
|
+
}
|
|
10
|
+
const c = d.div.withConfig({
|
|
11
|
+
displayName: "ImagesStyled",
|
|
12
|
+
componentId: "sc-yiahyx-0"
|
|
13
|
+
})(["display:grid;grid-template-rows:1fr 1fr;grid-template-columns:3fr 2fr;gap:", ";min-height:10px;&:has(:first-child:last-child){display:flex;}"], r.spacing1);
|
|
14
|
+
function p({
|
|
15
|
+
src: i,
|
|
16
|
+
contentResize: t = "fill",
|
|
17
|
+
alt: e = "",
|
|
18
|
+
onError: l,
|
|
19
|
+
...o
|
|
20
|
+
}) {
|
|
21
|
+
return /* @__PURE__ */ n(h, { src: i, alt: e, $contentResize: t, onError: l, ...o });
|
|
22
|
+
}
|
|
23
|
+
const h = d.img.withConfig({
|
|
24
|
+
displayName: "ImgStyled",
|
|
25
|
+
componentId: "sc-yiahyx-1"
|
|
26
|
+
})(["object-fit:", ";width:100%;height:100%;min-height:0;max-height:410px;&:nth-child(1){grid-row:1 / -1;grid-column:1;}&:nth-child(1):last-child{grid-column:span 2;}&:nth-child(2){grid-row:1;grid-column:2;}&:nth-child(2):last-child{grid-row:span 2;}&:nth-child(3){grid-row:2;grid-column:2;}"], (i) => i.$contentResize === "fill" ? "cover" : "scale-down");
|
|
27
|
+
export {
|
|
28
|
+
a as Images,
|
|
29
|
+
p as Img
|
|
30
|
+
};
|
package/Indicator.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import f, { keyframes as s } from "./styled-components.browser.esm.js";
|
|
3
|
+
import { token as i } from "./token.js";
|
|
4
|
+
import { IconContainer as u, SvgIcon as o } from "./styles2.js";
|
|
5
|
+
const p = {
|
|
6
|
+
draft: L,
|
|
7
|
+
error: M,
|
|
8
|
+
loading: v,
|
|
9
|
+
negative: g,
|
|
10
|
+
positive: m
|
|
11
|
+
};
|
|
12
|
+
function B({
|
|
13
|
+
...r
|
|
14
|
+
}) {
|
|
15
|
+
if ("type" in r) {
|
|
16
|
+
const {
|
|
17
|
+
type: l,
|
|
18
|
+
...C
|
|
19
|
+
} = r, h = p[l];
|
|
20
|
+
return /* @__PURE__ */ t(h, { "data-thumbnail-indicator": !0, ...C });
|
|
21
|
+
}
|
|
22
|
+
const {
|
|
23
|
+
backgroundColor: e,
|
|
24
|
+
iconColor: a,
|
|
25
|
+
icon: c,
|
|
26
|
+
...d
|
|
27
|
+
} = r;
|
|
28
|
+
return /* @__PURE__ */ t(u, { $backgroundColor: e || "gray400", $iconColor: a || "white", "data-thumbnail-indicator": !0, ...d, children: c });
|
|
29
|
+
}
|
|
30
|
+
function m({
|
|
31
|
+
...r
|
|
32
|
+
}) {
|
|
33
|
+
return /* @__PURE__ */ n(o, { ...r, viewBox: "0 0 24 24", "aria-hidden": "true", fill: i.teal500, children: [
|
|
34
|
+
/* @__PURE__ */ t("path", { d: "M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 " }),
|
|
35
|
+
/* @__PURE__ */ t("path", { d: "m5.69215,11.43763c-0.58607,0.58607 -0.58607,1.53629 0,2.12236l3.18355,3.18363c0.21978,0.21971 0.49077,0.35703 0.77456,0.41195c0.12714,0.02461 0.25685,0.03272 0.38568,0.02431c0.35044,-0.02311 0.69432,-0.16853 0.96216,-0.43627l7.42831,-7.42836c0.58604,-0.58608 0.58604,-1.53629 0,-2.12238c-0.58604,-0.58607 -1.53631,-0.58607 -2.12235,0l-6.36715,6.36712l-2.12238,-2.12238c-0.58608,-0.58608 -1.53629,-0.58608 -2.12238,0z", fill: "white" })
|
|
36
|
+
] });
|
|
37
|
+
}
|
|
38
|
+
function g({
|
|
39
|
+
...r
|
|
40
|
+
}) {
|
|
41
|
+
return /* @__PURE__ */ n(o, { ...r, viewBox: "0 0 24 24", "aria-hidden": "true", fill: i.red400, children: [
|
|
42
|
+
/* @__PURE__ */ t("path", { d: "M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 " }),
|
|
43
|
+
/* @__PURE__ */ t("path", { d: "M 17.304688 6.695312 C 16.71875 6.109375 15.769531 6.109375 15.183594 6.695312 L 12 9.878906 L 8.816406 6.695312 C 8.230469 6.109375 7.28125 6.109375 6.695312 6.695312 C 6.109375 7.28125 6.109375 8.230469 6.695312 8.816406 L 9.878906 12 L 6.695312 15.183594 C 6.109375 15.769531 6.109375 16.71875 6.695312 17.304688 C 7.28125 17.890625 8.230469 17.890625 8.816406 17.304688 L 12 14.121094 L 15.183594 17.304688 C 15.769531 17.890625 16.71875 17.890625 17.304688 17.304688 C 17.890625 16.71875 17.890625 15.769531 17.304688 15.183594 L 14.121094 12 L 17.304688 8.816406 C 17.890625 8.230469 17.890625 7.28125 17.304688 6.695312 Z M 17.304688 6.695312", fill: "white" })
|
|
44
|
+
] });
|
|
45
|
+
}
|
|
46
|
+
function M({
|
|
47
|
+
...r
|
|
48
|
+
}) {
|
|
49
|
+
return /* @__PURE__ */ n(o, { ...r, viewBox: "0 0 24 24", "aria-hidden": "true", fill: i.red400, children: [
|
|
50
|
+
/* @__PURE__ */ t("path", { d: "M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 " }),
|
|
51
|
+
/* @__PURE__ */ t("path", { d: "M 13.5 4.5 L 10.5 4.5 L 10.5 13.5 L 13.5 13.5 Z M 13.5 4.5 ", fill: "white" }),
|
|
52
|
+
/* @__PURE__ */ t("path", { d: "M 13.5 16.5 L 10.5 16.5 L 10.5 19.5 L 13.5 19.5 Z M 13.5 16.5 ", fill: "white" })
|
|
53
|
+
] });
|
|
54
|
+
}
|
|
55
|
+
function L({
|
|
56
|
+
...r
|
|
57
|
+
}) {
|
|
58
|
+
return /* @__PURE__ */ n(o, { ...r, viewBox: "0 0 24 24", "aria-hidden": "true", fill: i.gray400, children: [
|
|
59
|
+
/* @__PURE__ */ t("path", { d: "M 0 12 C 0 5.371094 5.371094 0 12 0 C 18.628906 0 24 5.371094 24 12 C 24 18.628906 18.628906 24 12 24 C 5.371094 24 0 18.628906 0 12 Z M 0 12 " }),
|
|
60
|
+
/* @__PURE__ */ t("path", { d: "M 7.5 10.5 C 6.671875 10.5 6 11.171875 6 12 C 6 12.828125 6.671875 13.5 7.5 13.5 C 8.328125 13.5 9 12.828125 9 12 C 9 11.171875 8.328125 10.5 7.5 10.5 Z M 10.5 12 C 10.5 11.171875 11.171875 10.5 12 10.5 C 12.828125 10.5 13.5 11.171875 13.5 12 C 13.5 12.828125 12.828125 13.5 12 13.5 C 11.171875 13.5 10.5 12.828125 10.5 12 Z M 15 12 C 15 11.171875 15.671875 10.5 16.5 10.5 C 17.328125 10.5 18 11.171875 18 12 C 18 12.828125 17.328125 13.5 16.5 13.5 C 15.671875 13.5 15 12.828125 15 12 Z M 15 12 ", fill: "white" })
|
|
61
|
+
] });
|
|
62
|
+
}
|
|
63
|
+
function v({
|
|
64
|
+
...r
|
|
65
|
+
}) {
|
|
66
|
+
return /* @__PURE__ */ t(o, { ...r, viewBox: "0 0 14 14", "aria-hidden": "true", fill: i.gray400, children: /* @__PURE__ */ t(k, { cx: "7", cy: "7", r: "5", fill: "transparent", strokeWidth: "2" }) });
|
|
67
|
+
}
|
|
68
|
+
const w = s(["0%{transform:rotate(0deg);stroke-dashoffset:6.6;}50%{transform:rotate(720deg);stroke-dashoffset:31.4;}100%{transform:rotate(1080deg);stroke-dashoffset:6.6;}"]), k = f.circle.withConfig({
|
|
69
|
+
displayName: "SvgSpinner",
|
|
70
|
+
componentId: "sc-chqga5-0"
|
|
71
|
+
})(["stroke:", ";transform-origin:center;animation:", " 2s linear infinite;stroke-dasharray:31.4;stroke-linecap:round;"], (r) => r.$color || i.gray400, w);
|
|
72
|
+
export {
|
|
73
|
+
B as Indicator
|
|
74
|
+
};
|
package/InfiniteScroll.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as o, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect as
|
|
3
|
-
import { useInView as
|
|
4
|
-
import
|
|
5
|
-
import { Spinner as
|
|
2
|
+
import { useEffect as a } from "react";
|
|
3
|
+
import { useInView as f } from "react-intersection-observer";
|
|
4
|
+
import l from "./styled-components.browser.esm.js";
|
|
5
|
+
import { Spinner as s } from "./Spinner.js";
|
|
6
6
|
function u(e) {
|
|
7
|
-
const [n, i] =
|
|
8
|
-
return
|
|
7
|
+
const [n, i] = f();
|
|
8
|
+
return a(() => {
|
|
9
9
|
i && !e.isLoading && e.hasNextPage && e.loadMore();
|
|
10
10
|
}, [i]), /* @__PURE__ */ r(o, { children: [
|
|
11
11
|
e.children,
|
|
12
|
-
e.hasNextPage && /* @__PURE__ */ t(d, { ref: n, "data-testid": "loading-element", children: /* @__PURE__ */ t(
|
|
12
|
+
e.hasNextPage && /* @__PURE__ */ t(d, { ref: n, "data-testid": "loading-element", children: /* @__PURE__ */ t(s, { isHidden: !i, isRelative: !0 }) })
|
|
13
13
|
] });
|
|
14
14
|
}
|
|
15
|
-
const d =
|
|
15
|
+
const d = l.div`
|
|
16
16
|
display: flex;
|
|
17
17
|
justify-content: center;
|
|
18
18
|
align-items: center;
|
|
@@ -23,4 +23,3 @@ const d = a.div`
|
|
|
23
23
|
export {
|
|
24
24
|
u as InfiniteScroll
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=InfiniteScroll.js.map
|
package/InlineBanner.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import n, { css as e } from "./styled-components.browser.esm.js";
|
|
3
|
+
import { IconError as u, IconWarning as m, IconInfo as v } from "./index4.js";
|
|
4
|
+
import { textStyles as l } from "./textStyles.js";
|
|
5
|
+
import { token as o } from "./token.js";
|
|
6
|
+
const f = {
|
|
7
|
+
info: /* @__PURE__ */ r(v, {}),
|
|
8
|
+
warning: /* @__PURE__ */ r(m, {}),
|
|
9
|
+
error: /* @__PURE__ */ r(u, {}),
|
|
10
|
+
neutral: null
|
|
11
|
+
};
|
|
12
|
+
function N({
|
|
13
|
+
children: i,
|
|
14
|
+
title: c,
|
|
15
|
+
icon: g,
|
|
16
|
+
link: a,
|
|
17
|
+
variant: t = "neutral",
|
|
18
|
+
...p
|
|
19
|
+
}) {
|
|
20
|
+
const d = g || f[t];
|
|
21
|
+
return /* @__PURE__ */ s(h, { $variant: t, ...p, children: [
|
|
22
|
+
d && /* @__PURE__ */ r(b, { children: d }),
|
|
23
|
+
/* @__PURE__ */ s(k, { children: [
|
|
24
|
+
c && /* @__PURE__ */ r(x, { children: c }),
|
|
25
|
+
/* @__PURE__ */ r(y, { children: i }),
|
|
26
|
+
a && /* @__PURE__ */ r(I, { children: a })
|
|
27
|
+
] })
|
|
28
|
+
] });
|
|
29
|
+
}
|
|
30
|
+
const h = n.div.withConfig({
|
|
31
|
+
displayName: "InlineBannerStyled",
|
|
32
|
+
componentId: "sc-7vi6cq-0"
|
|
33
|
+
})(["", " display:flex;align-items:flex-start;padding:", " ", ";border-radius:", ";background:var(--background-color);"], (i) => i.$variant === "info" ? e(["--background-color:", ";--icon-color:", ";--link-color:", ";--link-color-hover:", ";"], o.blue500a10, o.blue500, o.blue600, o.blue700) : i.$variant === "warning" ? e(["--background-color:", ";--icon-color:", ";--link-color:", ";--link-color-hover:", ";"], o.yellow500a10, o.yellow500, o.orange900, o.orange1000) : i.$variant === "error" ? e(["--background-color:", ";--icon-color:", ";--link-color:", ";--link-color-hover:", ";"], o.red500a10, o.red500, o.red600, o.red700) : e(["--background-color:", ";--icon-color:", ";--link-color:", ";--link-color-hover:", ";"], o.gray50, o.gray500, o.blue600, o.blue700), o.spacing4, o.spacing4, o.radiusMedium), b = n.div.withConfig({
|
|
34
|
+
displayName: "IconHolder",
|
|
35
|
+
componentId: "sc-7vi6cq-1"
|
|
36
|
+
})(["display:flex;width:24px;height:24px;margin-right:", ";color:var(--icon-color);"], o.spacing3), k = n.div.withConfig({
|
|
37
|
+
displayName: "TextWrapper",
|
|
38
|
+
componentId: "sc-7vi6cq-2"
|
|
39
|
+
})(["align-self:center;"]), x = n.div.withConfig({
|
|
40
|
+
displayName: "TitleHolder",
|
|
41
|
+
componentId: "sc-7vi6cq-3"
|
|
42
|
+
})(["", " margin-bottom:", ";color:", ";"], l.uiTextM, o.spacing2, o.gray1000), y = n.div.withConfig({
|
|
43
|
+
displayName: "DescriptionHolder",
|
|
44
|
+
componentId: "sc-7vi6cq-4"
|
|
45
|
+
})(["", " color:", ";"], l.uiTextS, o.gray800), I = n.div.withConfig({
|
|
46
|
+
displayName: "LinkHolder",
|
|
47
|
+
componentId: "sc-7vi6cq-5"
|
|
48
|
+
})(["", " margin-top:", ";a{color:var(--link-color);text-decoration:none;}a:hover{color:var(--link-color-hover);}a:focus-visible{border-radius:2px;box-shadow:0 0 0 2px ", ";outline:none;}"], l.uiTextS, o.spacing2, o.blue500);
|
|
49
|
+
export {
|
|
50
|
+
N as InlineBanner
|
|
51
|
+
};
|