@brickclay-org/ui 0.0.81 → 0.0.83
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
|
@@ -540,7 +540,7 @@ declare class BkButton {
|
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
type IconButtonSize = 'xxxsm' | 'xxsm' | 'xsm' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
543
|
-
type IconButtonVariant = 'primary' | 'secondary';
|
|
543
|
+
type IconButtonVariant = 'primary' | 'secondary' | 'none';
|
|
544
544
|
declare class BkIconButton {
|
|
545
545
|
icon: string;
|
|
546
546
|
alt: string;
|
|
@@ -549,10 +549,13 @@ declare class BkIconButton {
|
|
|
549
549
|
disabled: boolean;
|
|
550
550
|
buttonClass: string;
|
|
551
551
|
clicked: EventEmitter<boolean>;
|
|
552
|
+
hovered: EventEmitter<boolean>;
|
|
552
553
|
onClick(event: Event): void;
|
|
554
|
+
onMouseEnter(): void;
|
|
555
|
+
onMouseLeave(): void;
|
|
553
556
|
get buttonClasses(): string;
|
|
554
557
|
static ɵfac: i0.ɵɵFactoryDeclaration<BkIconButton, never>;
|
|
555
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BkIconButton, "bk-icon-button", never, { "icon": { "alias": "icon"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
558
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BkIconButton, "bk-icon-button", never, { "icon": { "alias": "icon"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; }, { "clicked": "clicked"; "hovered": "hovered"; }, never, never, true, never>;
|
|
556
559
|
}
|
|
557
560
|
|
|
558
561
|
interface GroupItem {
|
|
@@ -928,6 +931,7 @@ declare class BkInputChips implements ControlValueAccessor, AfterViewInit {
|
|
|
928
931
|
static ɵcmp: i0.ɵɵComponentDeclaration<BkInputChips, "bk-input-chips", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; }, { "input": "input"; "change": "change"; "focus": "focus"; "blur": "blur"; }, never, never, true, never>;
|
|
929
932
|
}
|
|
930
933
|
|
|
934
|
+
type TabIconDirection = 'left' | 'right';
|
|
931
935
|
interface TabItem {
|
|
932
936
|
id: string;
|
|
933
937
|
label: string;
|
|
@@ -935,6 +939,9 @@ interface TabItem {
|
|
|
935
939
|
iconActive?: string;
|
|
936
940
|
iconAlt?: string;
|
|
937
941
|
disabled?: boolean;
|
|
942
|
+
direction?: TabIconDirection;
|
|
943
|
+
iconTooltip?: string | string[];
|
|
944
|
+
iconTooltipDirection?: 'left' | 'right' | 'top' | 'bottom';
|
|
938
945
|
}
|
|
939
946
|
declare class BkTabs {
|
|
940
947
|
list: TabItem[];
|
|
@@ -1941,6 +1948,7 @@ declare class BkColumnFilterService {
|
|
|
1941
1948
|
declare class BkColumnSelect implements ControlValueAccessor, OnChanges {
|
|
1942
1949
|
columnFilterService: BkColumnFilterService;
|
|
1943
1950
|
searchable: boolean;
|
|
1951
|
+
buttonClass: string;
|
|
1944
1952
|
cacheKey: string;
|
|
1945
1953
|
columns: string[];
|
|
1946
1954
|
isOpened: boolean;
|
|
@@ -1967,7 +1975,7 @@ declare class BkColumnSelect implements ControlValueAccessor, OnChanges {
|
|
|
1967
1975
|
onClick(event: Event): void;
|
|
1968
1976
|
get list(): ColumnFilterOption[];
|
|
1969
1977
|
static ɵfac: i0.ɵɵFactoryDeclaration<BkColumnSelect, never>;
|
|
1970
|
-
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; }; }, { "isOpenedChange": "isOpenedChange"; }, never, never, true, never>;
|
|
1978
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BkColumnSelect, "bk-column-select", never, { "searchable": { "alias": "searchable"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "cacheKey": { "alias": "cacheKey"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "isOpened": { "alias": "isOpened"; "required": false; }; }, { "isOpenedChange": "isOpenedChange"; }, never, never, true, never>;
|
|
1971
1979
|
}
|
|
1972
1980
|
|
|
1973
1981
|
declare class BkFilePicker implements ControlValueAccessor, Validator {
|
|
@@ -2071,4 +2079,4 @@ declare class BkLoader {
|
|
|
2071
2079
|
}
|
|
2072
2080
|
|
|
2073
2081
|
export { BKTooltipDirective, BK_DEFAULT_DIALOG_CONFIG, BK_DIALOG_DATA, BK_DIALOG_GLOBAL_CONFIG, BkAvatar, BkAvatarUploader, BkBadge, BkButton, BkButtonGroup, BkCalendarManagerService, BkCheckbox, BkColumnFilterService, BkColumnSelect, BkCustomCalendar, BkDialogActions, BkDialogClose, BkDialogContent, BkDialogModule, BkDialogRef, BkDialogService, BkDialogTitle, BkFileCard, BkFilePicker, BkGrid, BkHierarchicalSelect, BkIconButton, BkInput, BkInputChips, BkLoader, BkPagination, BkPill, BkRadioButton, BkScheduledDatePicker, BkSelect, BkSpinner, BkTabs, BkTextarea, BkTimePicker, BkToastr, BkToastrService, BkToggle, BkValidator, BrickclayIcons, BrickclayLib, CalendarModule, CalendarSelection, ColumnFilterOption, getDialogBackdropAnimation, getDialogPanelAnimation };
|
|
2074
|
-
export type { AvatarFallback, AvatarSize, AvatarVariant, BadgeColor, BadgeSize, BadgeVariant, BkAnimationKeyframes, BkAvatarFallback, BkAvatarSize, BkDialogAnimation, BkDialogConfig, BkDialogPosition, BkInputAutoCapitalize, BkInputAutoComplete, BkInputMode, BkInputType, BkLoaderVariant, BkPageSize, BkTextAreaAutoCapitalize, BkTextAreaAutoComplete, BkTextAreaInputMode, ButtonSize, ButtonVariant, CalendarRange, CountryOption, DotPosition, DotStatus, FileState, GroupItem, GroupMode, HierarchicalNode, IconButtonSize, IconButtonVariant, IconOrientation, PillColor, PillSize, PillVariant, ScheduledDateSelection, SortDirection, SpinnerSize, TabItem, TableAction, TableBadge, TableColumn, TableIcon, TimeConfiguration, ToastConfig, ToastMessage, ToastMethodOptions, ToastPosition, ToastSeverity };
|
|
2082
|
+
export type { AvatarFallback, AvatarSize, AvatarVariant, BadgeColor, BadgeSize, BadgeVariant, BkAnimationKeyframes, BkAvatarFallback, BkAvatarSize, BkDialogAnimation, BkDialogConfig, BkDialogPosition, BkInputAutoCapitalize, BkInputAutoComplete, BkInputMode, BkInputType, BkLoaderVariant, BkPageSize, BkTextAreaAutoCapitalize, BkTextAreaAutoComplete, BkTextAreaInputMode, ButtonSize, ButtonVariant, CalendarRange, CountryOption, DotPosition, DotStatus, FileState, GroupItem, GroupMode, HierarchicalNode, IconButtonSize, IconButtonVariant, IconOrientation, PillColor, PillSize, PillVariant, ScheduledDateSelection, SortDirection, SpinnerSize, TabIconDirection, TabItem, TableAction, TableBadge, TableColumn, TableIcon, TimeConfiguration, ToastConfig, ToastMessage, ToastMethodOptions, ToastPosition, ToastSeverity };
|
package/package.json
CHANGED
|
@@ -26,6 +26,17 @@
|
|
|
26
26
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
/* 3. None: No background, border, or shadow — icon only */
|
|
30
|
+
.btn-icon.none {
|
|
31
|
+
@apply bg-transparent border-0 shadow-none text-[#6B7080] outline-transparent
|
|
32
|
+
outline-0 focus-visible:outline-none focus-visible:border-0
|
|
33
|
+
active:opacity-80
|
|
34
|
+
disabled:opacity-50 disabled:cursor-not-allowed;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.btn-icon.primary {
|
|
38
|
+
@apply border-0
|
|
39
|
+
}
|
|
29
40
|
|
|
30
41
|
/* --- SIZES (Square Dimensions) --- */
|
|
31
42
|
/* These specific heights match the calculated height of your text buttons */
|