ngx-bsl 0.0.13 → 0.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-bsl",
3
- "version": "0.0.13",
3
+ "version": "0.0.16",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/Viggo97/ngx-bsl.git"
@@ -32,7 +32,7 @@ button {
32
32
  outline-offset: 2px;
33
33
  }
34
34
 
35
- &.button-icon {
35
+ &.bsl-button-icon {
36
36
  padding: .5rem;
37
37
 
38
38
  span {
@@ -42,7 +42,7 @@ button {
42
42
  }
43
43
  }
44
44
 
45
- &.invisible {
45
+ &.bsl-button-invisible {
46
46
  background-color: transparent;
47
47
  border-color: transparent;
48
48
 
@@ -20,35 +20,6 @@ input[type="number"] {
20
20
  }
21
21
  }
22
22
 
23
- .input-with-icon {
24
- position: relative;
25
-
26
- input {
27
- padding-left: 2rem;
28
- }
29
-
30
- [class^="icon-"] {
31
- position: absolute;
32
- top: 50%;
33
- left: .5rem;
34
- transform: translateY(-50%);
35
- font: var(--bsl-font-md);
36
- color: var(--bsl-input-textColor);
37
- }
38
- }
39
-
40
- .input-large {
41
- input {
42
- padding: .75rem 1.5rem .75rem 3rem;
43
- font: var(--bsl-font-lg);
44
- }
45
-
46
- [class^="icon-"] {
47
- left: 1rem;
48
- font: var(--bsl-font-lg);
49
- }
50
- }
51
-
52
23
  /* Remove arrows Chrome */
53
24
  input::-webkit-outer-spin-button,
54
25
  input::-webkit-inner-spin-button {
@@ -20,15 +20,15 @@ declare class ListBoxDirective<TOption> {
20
20
  ariaActiveDescendant: _angular_core.WritableSignal<string | null>;
21
21
  selectOption: Subject<TOption | null>;
22
22
  hasAriaSelected: boolean;
23
- initSelectedOption(value: any): void;
23
+ setVisualMarkups(value: any): boolean;
24
24
  onClick(event: MouseEvent): void;
25
25
  onKeydown(event: KeyboardEvent): void;
26
26
  private handleSelectionKeys;
27
27
  private handleArrowKeys;
28
28
  private getVisuallyFocusedOptionRefIndex;
29
- setVisualFocus(optionIndex: number): void;
29
+ private setVisualFocus;
30
30
  private removeVisualFocus;
31
- clearVisualFocus(): void;
31
+ private clearVisualFocus;
32
32
  private setSelectedAttribute;
33
33
  private removeSelectedAttribute;
34
34
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListBoxDirective<any>, never>;
@@ -71,8 +71,8 @@ declare class ComboboxComponent<TOption> implements ControlValueAccessor, OnInit
71
71
 
72
72
  declare class CheckboxComponent implements ControlValueAccessor {
73
73
  id: _angular_core.InputSignal<string>;
74
+ disabled: _angular_core.ModelSignal<boolean>;
74
75
  protected checked: _angular_core.WritableSignal<boolean>;
75
- protected disabled: _angular_core.WritableSignal<boolean>;
76
76
  onChange: (_value: boolean) => void;
77
77
  onTouch: () => void;
78
78
  registerOnChange(onChange: (value: boolean) => void): void;
@@ -82,7 +82,7 @@ declare class CheckboxComponent implements ControlValueAccessor {
82
82
  onKeydown(event: Event): void;
83
83
  onSelect(): void;
84
84
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CheckboxComponent, never>;
85
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<CheckboxComponent, "ngx-bsl-checkbox", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
85
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<CheckboxComponent, "ngx-bsl-checkbox", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; }, never, ["*"], true, never>;
86
86
  }
87
87
 
88
88
  declare class DrawerComponent {
@@ -108,6 +108,31 @@ declare class ListBoxSeparatorComponent {
108
108
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListBoxSeparatorComponent, "ngx-bsl-list-box-separator", never, {}, {}, never, never, true, never>;
109
109
  }
110
110
 
111
+ declare class IconArrowLeftComponent {
112
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconArrowLeftComponent, never>;
113
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconArrowLeftComponent, "ngx-bsl-icon-arrow-left", never, {}, {}, never, never, true, never>;
114
+ }
115
+
116
+ declare class IconArrowRightComponent {
117
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconArrowRightComponent, never>;
118
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconArrowRightComponent, "ngx-bsl-icon-arrow-right", never, {}, {}, never, never, true, never>;
119
+ }
120
+
121
+ declare class IconArrowLeftDoubleComponent {
122
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconArrowLeftDoubleComponent, never>;
123
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconArrowLeftDoubleComponent, "ngx-bsl-icon-arrow-left-double", never, {}, {}, never, never, true, never>;
124
+ }
125
+
126
+ declare class IconArrowRightDoubleComponent {
127
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconArrowRightDoubleComponent, never>;
128
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconArrowRightDoubleComponent, "ngx-bsl-icon-arrow-right-double", never, {}, {}, never, never, true, never>;
129
+ }
130
+
131
+ declare class IconBurgerComponent {
132
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconBurgerComponent, never>;
133
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconBurgerComponent, "ngx-bsl-icon-burger", never, {}, {}, never, never, true, never>;
134
+ }
135
+
111
136
  declare class IconCheckComponent {
112
137
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconCheckComponent, never>;
113
138
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconCheckComponent, "ngx-bsl-icon-check", never, {}, {}, never, never, true, never>;
@@ -269,12 +294,7 @@ declare class SelectComponent<TOption, TValue> implements ControlValueAccessor,
269
294
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectComponent<any, any>, "ngx-bsl-select", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "iconMode": { "alias": "iconMode"; "required": false; "isSignal": true; }; "customIcon": { "alias": "customIcon"; "required": false; "isSignal": true; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; "isSignal": true; }; "optionValueParse": { "alias": "optionValueParse"; "required": false; "isSignal": true; }; "displayLabel": { "alias": "displayLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["[data-custom-icon]", "[data-custom-icon]", "*"], true, [{ directive: typeof ListBoxDirective; inputs: { "listBoxId": "listBoxId"; "listBoxAriaLabel": "listBoxAriaLabel"; "listBoxAriaLabelledby": "listBoxAriaLabelledby"; "optionValueEquality": "optionValueEquality"; }; outputs: {}; }]>;
270
295
  }
271
296
 
272
- declare enum TooltipPosition {
273
- TOP = "TOP",
274
- BOTTOM = "BOTTOM",
275
- LEFT = "LEFT",
276
- RIGHT = "RIGHT"
277
- }
297
+ type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';
278
298
 
279
299
  declare class TooltipDirective {
280
300
  message: _angular_core.InputSignal<string>;
@@ -289,4 +309,4 @@ declare class TooltipDirective {
289
309
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TooltipDirective, "[ngxBslTooltip]", never, { "message": { "alias": "ngxBslTooltip"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
290
310
  }
291
311
 
292
- export { CheckboxComponent, ComboboxComponent, DrawerComponent, IconCheckComponent, IconChevronDownComponent, IconCompanyComponent, IconLanguageComponent, IconLocationComponent, IconMoonComponent, IconSunComponent, IconXMarkComponent, ListBoxDirective, ListBoxGroupComponent, ListBoxOptionComponent, ListBoxSeparatorComponent, PaginationComponent, RangeComponent, SelectComponent, TooltipDirective };
312
+ export { CheckboxComponent, ComboboxComponent, DrawerComponent, IconArrowLeftComponent, IconArrowLeftDoubleComponent, IconArrowRightComponent, IconArrowRightDoubleComponent, IconBurgerComponent, IconCheckComponent, IconChevronDownComponent, IconCompanyComponent, IconLanguageComponent, IconLocationComponent, IconMoonComponent, IconSunComponent, IconXMarkComponent, ListBoxDirective, ListBoxGroupComponent, ListBoxOptionComponent, ListBoxSeparatorComponent, PaginationComponent, RangeComponent, SelectComponent, TooltipDirective };