@uploadcare/file-uploader 1.30.0 → 1.30.1

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.
Files changed (66) hide show
  1. package/dist/abstract/loadFileUploaderFrom.js +2 -2
  2. package/dist/env.js +3 -3
  3. package/dist/index.css +3 -3
  4. package/dist/index.d.ts +13 -13
  5. package/dist/index.js +4 -4
  6. package/dist/index.layered.css +3 -3
  7. package/dist/index.ssr.js +54 -54
  8. package/dist/locales/file-uploader/ar.js +2 -2
  9. package/dist/locales/file-uploader/az.js +2 -2
  10. package/dist/locales/file-uploader/ca.js +2 -2
  11. package/dist/locales/file-uploader/cs.js +2 -2
  12. package/dist/locales/file-uploader/da.js +2 -2
  13. package/dist/locales/file-uploader/de.js +2 -2
  14. package/dist/locales/file-uploader/el.js +2 -2
  15. package/dist/locales/file-uploader/en.js +2 -2
  16. package/dist/locales/file-uploader/es.js +2 -2
  17. package/dist/locales/file-uploader/et.js +2 -2
  18. package/dist/locales/file-uploader/fi.js +2 -2
  19. package/dist/locales/file-uploader/fr.js +2 -2
  20. package/dist/locales/file-uploader/he.js +2 -2
  21. package/dist/locales/file-uploader/hy.js +2 -2
  22. package/dist/locales/file-uploader/is.js +2 -2
  23. package/dist/locales/file-uploader/it.js +2 -2
  24. package/dist/locales/file-uploader/ja.js +2 -2
  25. package/dist/locales/file-uploader/ka.js +2 -2
  26. package/dist/locales/file-uploader/kk.js +2 -2
  27. package/dist/locales/file-uploader/ko.js +2 -2
  28. package/dist/locales/file-uploader/lv.js +2 -2
  29. package/dist/locales/file-uploader/nb.js +2 -2
  30. package/dist/locales/file-uploader/nl.js +2 -2
  31. package/dist/locales/file-uploader/pl.js +2 -2
  32. package/dist/locales/file-uploader/pt.js +2 -2
  33. package/dist/locales/file-uploader/ro.js +2 -2
  34. package/dist/locales/file-uploader/ru.js +2 -2
  35. package/dist/locales/file-uploader/sk.js +2 -2
  36. package/dist/locales/file-uploader/sr.js +2 -2
  37. package/dist/locales/file-uploader/sv.js +2 -2
  38. package/dist/locales/file-uploader/tr.js +2 -2
  39. package/dist/locales/file-uploader/uk.js +2 -2
  40. package/dist/locales/file-uploader/vi.js +2 -2
  41. package/dist/locales/file-uploader/zh-TW.js +2 -2
  42. package/dist/locales/file-uploader/zh.js +2 -2
  43. package/package.json +1 -1
  44. package/web/file-uploader.iife.min.d.ts +13 -13
  45. package/web/file-uploader.iife.min.js +4 -4
  46. package/web/file-uploader.min.d.ts +13 -13
  47. package/web/file-uploader.min.js +4 -4
  48. package/web/uc-basic.layered.min.css +3 -3
  49. package/web/uc-basic.min.css +3 -3
  50. package/web/uc-cloud-image-editor.layered.min.css +2 -2
  51. package/web/uc-cloud-image-editor.min.css +2 -2
  52. package/web/uc-cloud-image-editor.min.d.ts +12 -12
  53. package/web/uc-cloud-image-editor.min.js +3 -3
  54. package/web/uc-file-uploader-inline.layered.min.css +3 -3
  55. package/web/uc-file-uploader-inline.min.css +3 -3
  56. package/web/uc-file-uploader-inline.min.d.ts +13 -13
  57. package/web/uc-file-uploader-inline.min.js +4 -4
  58. package/web/uc-file-uploader-minimal.layered.min.css +3 -3
  59. package/web/uc-file-uploader-minimal.min.css +3 -3
  60. package/web/uc-file-uploader-minimal.min.d.ts +13 -13
  61. package/web/uc-file-uploader-minimal.min.js +4 -4
  62. package/web/uc-file-uploader-regular.layered.min.css +3 -3
  63. package/web/uc-file-uploader-regular.min.css +3 -3
  64. package/web/uc-file-uploader-regular.min.d.ts +13 -13
  65. package/web/uc-file-uploader-regular.min.js +4 -4
  66. package/web/uc-img.min.js +3 -3
@@ -1897,17 +1897,17 @@ declare global {
1897
1897
  }
1898
1898
  }
1899
1899
 
1900
- declare class NoWrapModeSmartBtn extends LitUploaderBlock {
1900
+ declare class NoWrapModeDynamicBtn extends LitUploaderBlock {
1901
1901
  static styleAttrs: string[];
1902
1902
  }
1903
1903
  declare global {
1904
1904
  interface HTMLElementTagNameMap {
1905
- 'uc-no-wrap-mode-smart-btn': NoWrapModeSmartBtn;
1905
+ 'uc-no-wrap-mode-dynamic-btn': NoWrapModeDynamicBtn;
1906
1906
  }
1907
1907
  }
1908
1908
 
1909
- type SmartButtonMode = 'auto' | 'menu' | 'toolbar' | 'compact';
1910
- declare class SmartBtn extends LitUploaderBlock {
1909
+ type DynamicButtonMode = 'auto' | 'menu' | 'toolbar' | 'compact';
1910
+ declare class DynamicBtn extends LitUploaderBlock {
1911
1911
  static styleAttrs: string[];
1912
1912
  couldBeCtxOwner: boolean;
1913
1913
  private _unregisterAfterFileAddHook?;
@@ -1948,7 +1948,7 @@ declare class SmartBtn extends LitUploaderBlock {
1948
1948
  }
1949
1949
  declare global {
1950
1950
  interface HTMLElementTagNameMap {
1951
- 'uc-smart-btn': SmartBtn;
1951
+ 'uc-dynamic-btn': DynamicBtn;
1952
1952
  }
1953
1953
  }
1954
1954
 
@@ -2253,8 +2253,8 @@ type ConfigType = {
2253
2253
  * Define the clipboard paste scope.
2254
2254
  */
2255
2255
  pasteScope: PasteScope;
2256
- smartButtonViewMode: SmartButtonMode;
2257
- smartButtonShowFirstIcon: boolean;
2256
+ dynamicButtonViewMode: DynamicButtonMode;
2257
+ dynamicButtonShowFirstIcon: boolean;
2258
2258
  };
2259
2259
  type ConfigComplexType = Pick<ConfigType, (typeof complexConfigKeys)[number]>;
2260
2260
  type ConfigPlainType = Omit<ConfigType, keyof ConfigComplexType>;
@@ -3319,19 +3319,19 @@ declare class FileUploaderRegular extends LitSolutionBlock {
3319
3319
  static lazyPlugins: LazyPluginEntry[];
3320
3320
  attributesMeta: {
3321
3321
  headless?: boolean;
3322
- 'smart-button'?: boolean;
3322
+ 'dynamic-button'?: boolean;
3323
3323
  'ctx-name': string;
3324
3324
  };
3325
3325
  static styleAttrs: string[];
3326
3326
  headless: boolean;
3327
- smartButton: boolean;
3327
+ dynamicButton: boolean;
3328
3328
  constructor();
3329
3329
  initCallback(): void;
3330
3330
  /**
3331
- * Exposes whether SmartBtn is active for non-Lit classes that can't use context
3331
+ * Exposes whether the dynamic button is active for non-Lit classes that can't use context
3332
3332
  */
3333
- get isSmartBtnActive(): boolean;
3334
- private _renderSmartButton;
3333
+ get isDynamicButtonActive(): boolean;
3334
+ private _renderDynamicButton;
3335
3335
  private _renderStaticButton;
3336
3336
  private _renderButton;
3337
3337
  render(): lit_html.TemplateResult<1>;
@@ -3391,4 +3391,4 @@ declare global {
3391
3391
  declare const PACKAGE_NAME = "blocks";
3392
3392
  declare const PACKAGE_VERSION: string;
3393
3393
 
3394
- export { LitActivityBlock as ActivityBlock, ActivityHeader, type ActivityType, type ApiAddFileCommonOptions, BaseComponent, LitBlock as Block, BtnUi, CameraSource, CloudImageEditor, CloudImageEditorActivity, CloudImageEditorBlock, type CollectionValidators, Config, type ConfigAttributesType, type ConfigComplexType, type ConfigPlainType, type ConfigType, Copyright, CropFrame, type CustomActivities, type CustomConfig, type CustomConfigDefinition, PubSub as Data, DropArea, DropDown, EditorAspectRatioButtonControl, EditorCropButtonControl, EditorFilterControl, EditorFreeformButtonControl, EditorImageCropper, EditorImageFader, EditorOperationControl, EditorScroller, EditorSlider, EditorToolbar, type EventMap, type EventPayload, EventType, ExternalSource, ExternalUploadSource, FileActionButton, FileItem, FileUploaderInline, FileUploaderMinimal, FileUploaderRegular, type FileValidator, type FileValidatorDescriptor, type FileValidators, FormInput, type FuncCollectionValidator, type FuncFileValidator, type GroupFlag, Icon, type IconHrefResolver, Img, type KebabCase$1 as KebabCase, type KebabCaseKeys, LineLoaderUi, type LocaleDefinitionOverride, type LowerCase, type LowerCaseKeys, type MetadataCallback, Modal, ModalEvents, type ModalId, NoWrapModeSmartBtn, type OutputCollectionErrorType, type OutputCollectionState, type OutputCollectionStatus, type OutputCustomErrorType, type OutputError, type OutputErrorCollection, type OutputErrorFile, type OutputErrorTypePayload, type OutputFileEntry, type OutputFileErrorPayload, type OutputFileErrorType, type OutputFileStatus, type Owned, PACKAGE_NAME, PACKAGE_VERSION, type PluginActivityApi, PluginActivityHost, type PluginActivityRegistration, PluginActivityRenderer, type PluginApi, type PluginConfigApi, type PluginFileActionRegistration, type PluginFileEntryUpdate, type PluginFileHookContext, type PluginFileHookRegistration, type PluginFileHookResult, type PluginFilesApi, type PluginIconRegistration, type PluginL10nRegistration, type PluginRegistryApi, type PluginRegistrySnapshot, type PluginRender, type PluginRenderDispose, type PluginSetupParams, type PluginSetupResult, type PluginSourceRegistration, type PluginUploaderApi, PresenceToggle, PrimaryAction, ProgressBar, ProgressBarCommon, type SecureDeliveryProxyUrlResolver, type SecureUploadsSignatureAndExpire, type SecureUploadsSignatureResolver, Select, SimpleBtn, SliderUi, SmartBtn, LitSolutionBlock as SolutionBlock, SourceBtn, SourceList, type SourceTypes, Spinner, StartFrom, Thumb, UID, UploadCtxProvider, UploadList, UploadSource, LitUploaderBlock as UploaderBlock, type UploaderPlugin, UploaderPublicApi, UrlSource, defineComponents, defineLocale, loadFileUploaderFrom, toKebabCase };
3394
+ export { LitActivityBlock as ActivityBlock, ActivityHeader, type ActivityType, type ApiAddFileCommonOptions, BaseComponent, LitBlock as Block, BtnUi, CameraSource, CloudImageEditor, CloudImageEditorActivity, CloudImageEditorBlock, type CollectionValidators, Config, type ConfigAttributesType, type ConfigComplexType, type ConfigPlainType, type ConfigType, Copyright, CropFrame, type CustomActivities, type CustomConfig, type CustomConfigDefinition, PubSub as Data, DropArea, DropDown, DynamicBtn, EditorAspectRatioButtonControl, EditorCropButtonControl, EditorFilterControl, EditorFreeformButtonControl, EditorImageCropper, EditorImageFader, EditorOperationControl, EditorScroller, EditorSlider, EditorToolbar, type EventMap, type EventPayload, EventType, ExternalSource, ExternalUploadSource, FileActionButton, FileItem, FileUploaderInline, FileUploaderMinimal, FileUploaderRegular, type FileValidator, type FileValidatorDescriptor, type FileValidators, FormInput, type FuncCollectionValidator, type FuncFileValidator, type GroupFlag, Icon, type IconHrefResolver, Img, type KebabCase$1 as KebabCase, type KebabCaseKeys, LineLoaderUi, type LocaleDefinitionOverride, type LowerCase, type LowerCaseKeys, type MetadataCallback, Modal, ModalEvents, type ModalId, NoWrapModeDynamicBtn, type OutputCollectionErrorType, type OutputCollectionState, type OutputCollectionStatus, type OutputCustomErrorType, type OutputError, type OutputErrorCollection, type OutputErrorFile, type OutputErrorTypePayload, type OutputFileEntry, type OutputFileErrorPayload, type OutputFileErrorType, type OutputFileStatus, type Owned, PACKAGE_NAME, PACKAGE_VERSION, type PluginActivityApi, PluginActivityHost, type PluginActivityRegistration, PluginActivityRenderer, type PluginApi, type PluginConfigApi, type PluginFileActionRegistration, type PluginFileEntryUpdate, type PluginFileHookContext, type PluginFileHookRegistration, type PluginFileHookResult, type PluginFilesApi, type PluginIconRegistration, type PluginL10nRegistration, type PluginRegistryApi, type PluginRegistrySnapshot, type PluginRender, type PluginRenderDispose, type PluginSetupParams, type PluginSetupResult, type PluginSourceRegistration, type PluginUploaderApi, PresenceToggle, PrimaryAction, ProgressBar, ProgressBarCommon, type SecureDeliveryProxyUrlResolver, type SecureUploadsSignatureAndExpire, type SecureUploadsSignatureResolver, Select, SimpleBtn, SliderUi, LitSolutionBlock as SolutionBlock, SourceBtn, SourceList, type SourceTypes, Spinner, StartFrom, Thumb, UID, UploadCtxProvider, UploadList, UploadSource, LitUploaderBlock as UploaderBlock, type UploaderPlugin, UploaderPublicApi, UrlSource, defineComponents, defineLocale, loadFileUploaderFrom, toKebabCase };