@danske/sapphire-angular 1.24.2 → 1.25.0

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.
@@ -36,7 +36,12 @@ export declare class BasicSelectComponent extends SelectComponentBase {
36
36
  * Size of the button
37
37
  */
38
38
  size: 'small' | 'medium' | 'large';
39
- variant: 'primary' | 'contained' | 'uncontained';
39
+ /**
40
+ * Visual variations
41
+ * TODO(v4): remove 'contained' and 'uncontained'
42
+ * @default 'secondary-ghost'
43
+ */
44
+ variant: 'primary' | 'secondary-fill' | 'secondary-ghost' | 'tertiary-ghost' | 'contained' | 'uncontained';
40
45
  protected triggerRef: PopoverTriggerDirective | undefined;
41
46
  protected triggerElementRef: ElementRef | undefined;
42
47
  protected listbox: ListboxComponent | undefined;
@@ -45,6 +50,8 @@ export declare class BasicSelectComponent extends SelectComponentBase {
45
50
  focus(focusOrigin?: FocusOrigin): void;
46
51
  isFocused(): boolean;
47
52
  _onFocusChange(focusOrigin: FocusOrigin): void;
53
+ getButtonVariant(): "primary" | "secondary" | "tertiary";
54
+ getButtonAppearance(): "fill" | "ghost";
48
55
  static ɵfac: i0.ɵɵFactoryDeclaration<BasicSelectComponent, never>;
49
56
  static ɵcmp: i0.ɵɵComponentDeclaration<BasicSelectComponent, "sp-basic-select", ["spBasicSelect"], { "size": "size"; "variant": "variant"; }, {}, never, ["sp-selection-text"], false, never>;
50
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danske/sapphire-angular",
3
- "version": "1.24.2",
3
+ "version": "1.25.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "The Angular implementation of the Sapphire Design System from Danske Bank A/S",
6
6
  "module": "fesm2015/danske-sapphire-angular.mjs",
@@ -19,7 +19,7 @@
19
19
  "@danske/sapphire-css": "^31.1.2",
20
20
  "tslib": "^2.3.0"
21
21
  },
22
- "gitHead": "554219efb1ef26ea3d7d614d3d1c4986f41b6a44",
22
+ "gitHead": "87e90cf0695521255730150e8ef6e15d84d5f6a6",
23
23
  "es2020": "fesm2020/danske-sapphire-angular.mjs",
24
24
  "esm2020": "esm2020/danske-sapphire-angular.mjs",
25
25
  "fesm2020": "fesm2020/danske-sapphire-angular.mjs",