@brickclay-org/ui 0.0.63 → 0.0.65

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/index.d.ts CHANGED
@@ -1595,7 +1595,7 @@ declare class BkValidator implements OnInit {
1595
1595
 
1596
1596
  type BkAvatarSize = 'sm' | 'md' | 'lg' | 'xl';
1597
1597
  type BkAvatarFallback = 'auto' | 'initials' | 'icon' | 'camera';
1598
- declare class BkAvatarProfile implements OnDestroy, ControlValueAccessor, Validator {
1598
+ declare class BkAvatarUploader implements OnDestroy, ControlValueAccessor, Validator {
1599
1599
  src: string | null;
1600
1600
  alt: string;
1601
1601
  name: string;
@@ -1663,8 +1663,8 @@ declare class BkAvatarProfile implements OnDestroy, ControlValueAccessor, Valida
1663
1663
  private revokePreview;
1664
1664
  private isFileTypeValid;
1665
1665
  private getInitials;
1666
- static ɵfac: i0.ɵɵFactoryDeclaration<BkAvatarProfile, never>;
1667
- static ɵcmp: i0.ɵɵComponentDeclaration<BkAvatarProfile, "bk-avatar-profile", never, { "src": { "alias": "src"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "fallback": { "alias": "fallback"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "maxFileSizeKB": { "alias": "maxFileSizeKB"; "required": false; }; "uploadLabel": { "alias": "uploadLabel"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "fileSelected": "fileSelected"; "removed": "removed"; "fileError": "fileError"; }, never, never, true, never>;
1666
+ static ɵfac: i0.ɵɵFactoryDeclaration<BkAvatarUploader, never>;
1667
+ static ɵcmp: i0.ɵɵComponentDeclaration<BkAvatarUploader, "bk-avatar-uploader", never, { "src": { "alias": "src"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "fallback": { "alias": "fallback"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "maxFileSizeKB": { "alias": "maxFileSizeKB"; "required": false; }; "uploadLabel": { "alias": "uploadLabel"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "label": { "alias": "label"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "fileSelected": "fileSelected"; "removed": "removed"; "fileError": "fileError"; }, never, never, true, never>;
1668
1668
  }
1669
1669
 
1670
1670
  /** Generic hierarchical node; works with note types and any similar tree. */
@@ -1850,7 +1850,7 @@ type AvatarVariant = 'gray' | 'colored';
1850
1850
  type DotStatus = 'active' | 'inactive' | 'notification' | 'none';
1851
1851
  type DotPosition = 'bottom-right' | 'top-left';
1852
1852
  type AvatarFallback = 'auto' | 'initials' | 'icon';
1853
- declare class BkUiAvatar implements OnChanges, ControlValueAccessor {
1853
+ declare class BkAvatar implements OnChanges, ControlValueAccessor {
1854
1854
  private cdr;
1855
1855
  constructor(cdr: ChangeDetectorRef);
1856
1856
  src: string | null;
@@ -1883,8 +1883,8 @@ declare class BkUiAvatar implements OnChanges, ControlValueAccessor {
1883
1883
  get containerClasses(): string;
1884
1884
  get dotClasses(): string;
1885
1885
  private getInitials;
1886
- static ɵfac: i0.ɵɵFactoryDeclaration<BkUiAvatar, never>;
1887
- static ɵcmp: i0.ɵɵComponentDeclaration<BkUiAvatar, "bk-ui-avatar", never, { "src": { "alias": "src"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "fallback": { "alias": "fallback"; "required": false; }; "dot": { "alias": "dot"; "required": false; }; "dotPosition": { "alias": "dotPosition"; "required": false; }; }, { "imageLoadError": "imageLoadError"; }, never, never, true, never>;
1886
+ static ɵfac: i0.ɵɵFactoryDeclaration<BkAvatar, never>;
1887
+ static ɵcmp: i0.ɵɵComponentDeclaration<BkAvatar, "bk-avatar", never, { "src": { "alias": "src"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "fallback": { "alias": "fallback"; "required": false; }; "dot": { "alias": "dot"; "required": false; }; "dotPosition": { "alias": "dotPosition"; "required": false; }; }, { "imageLoadError": "imageLoadError"; }, never, never, true, never>;
1888
1888
  }
1889
1889
 
1890
1890
  declare class ColumnFilterOption {
@@ -1927,5 +1927,5 @@ declare class BkColumnSelect implements OnInit, OnChanges {
1927
1927
  static ɵcmp: i0.ɵɵComponentDeclaration<BkColumnSelect, "bk-column-select", never, { "searchable": { "alias": "searchable"; "required": false; }; "cacheKey": { "alias": "cacheKey"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "isOpened": { "alias": "isOpened"; "required": false; }; }, { "change": "change"; "isOpenedChange": "isOpenedChange"; }, never, never, true, never>;
1928
1928
  }
1929
1929
 
1930
- export { BKTooltipDirective, BK_DEFAULT_DIALOG_CONFIG, BK_DIALOG_DATA, BK_DIALOG_GLOBAL_CONFIG, BkAvatarProfile, BkBadge, BkButton, BkButtonGroup, BkCheckbox, BkColumnFilterService, BkColumnSelect, BkCustomCalendar, BkDialogActions, BkDialogClose, BkDialogContent, BkDialogModule, BkDialogRef, BkDialogService, BkDialogTitle, BkGrid, BkHierarchicalSelect, BkIconButton, BkInput, BkInputChips, BkPill, BkRadioButton, BkScheduledDatePicker, BkSelect, BkSpinner, BkTabs, BkTextarea, BkTimePicker, BkToastr, BkToastrService, BkToggle, BkUiAvatar, BkValidator, BrickclayIcons, BrickclayLib, CalendarManagerService, CalendarModule, CalendarSelection, ColumnFilterOption, getDialogBackdropAnimation, getDialogPanelAnimation };
1930
+ export { BKTooltipDirective, BK_DEFAULT_DIALOG_CONFIG, BK_DIALOG_DATA, BK_DIALOG_GLOBAL_CONFIG, BkAvatar, BkAvatarUploader, BkBadge, BkButton, BkButtonGroup, BkCheckbox, BkColumnFilterService, BkColumnSelect, BkCustomCalendar, BkDialogActions, BkDialogClose, BkDialogContent, BkDialogModule, BkDialogRef, BkDialogService, BkDialogTitle, BkGrid, BkHierarchicalSelect, BkIconButton, BkInput, BkInputChips, BkPill, BkRadioButton, BkScheduledDatePicker, BkSelect, BkSpinner, BkTabs, BkTextarea, BkTimePicker, BkToastr, BkToastrService, BkToggle, BkValidator, BrickclayIcons, BrickclayLib, CalendarManagerService, CalendarModule, CalendarSelection, ColumnFilterOption, getDialogBackdropAnimation, getDialogPanelAnimation };
1931
1931
  export type { AvatarFallback, AvatarSize, AvatarVariant, BadgeColor, BadgeSize, BadgeVariant, BkAnimationKeyframes, BkAvatarFallback, BkAvatarSize, BkDialogAnimation, BkDialogConfig, BkDialogPosition, BkInputAutoCapitalize, BkInputAutoComplete, BkInputMode, BkInputType, BkTextAreaAutoCapitalize, BkTextAreaAutoComplete, BkTextAreaInputMode, ButtonSize, ButtonVariant, CalendarRange, CountryOption, DotPosition, DotStatus, GroupItem, GroupMode, HierarchicalNode, IconButtonSize, IconButtonVariant, IconOrientation, PillColor, PillSize, PillVariant, ScheduledDateSelection, SortDirection, SpinnerSize, TabItem, TableAction, TableColumn, TimeConfiguration, ToastConfig, ToastMessage, ToastMethodOptions, ToastPosition, ToastSeverity };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brickclay-org/ui",
3
- "version": "0.0.63",
3
+ "version": "0.0.65",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "ng-add": {
6
6
  "save": "dependencies"
@@ -0,0 +1,4 @@
1
+ <svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M7.49967 13.7668V3.2335C7.49967 2.2335 7.07301 1.8335 6.01301 1.8335H3.31967C2.25967 1.8335 1.83301 2.2335 1.83301 3.2335V13.7668C1.83301 14.7668 2.25967 15.1668 3.31967 15.1668H6.01301C7.07301 15.1668 7.49967 14.7668 7.49967 13.7668Z" stroke="#141414" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M15.1667 13.7668V3.2335C15.1667 2.2335 14.74 1.8335 13.68 1.8335H10.9867C9.92667 1.8335 9.5 2.2335 9.5 3.2335V13.7668C9.5 14.7668 9.92667 15.1668 10.9867 15.1668H13.68C14.74 15.1668 15.1667 14.7668 15.1667 13.7668Z" stroke="#141414" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,11 @@
1
+ <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_2839_8792)">
3
+ <path d="M9.58317 17.5C13.9554 17.5 17.4998 13.9556 17.4998 9.58332C17.4998 5.21106 13.9554 1.66666 9.58317 1.66666C5.21091 1.66666 1.6665 5.21106 1.6665 9.58332C1.6665 13.9556 5.21091 17.5 9.58317 17.5Z" stroke="#BBBDC5" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M18.3332 18.3333L15.4165 15.4167" stroke="#BBBDC5" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
5
+ </g>
6
+ <defs>
7
+ <clipPath id="clip0_2839_8792">
8
+ <rect width="20" height="20" fill="white"/>
9
+ </clipPath>
10
+ </defs>
11
+ </svg>