@ship-ui/core 0.17.7 → 0.17.9

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.
@@ -66,9 +66,12 @@ $shipPopover: true !default;
66
66
  }
67
67
 
68
68
  .popover-content {
69
- position: absolute;
69
+ position: fixed;
70
70
  margin: 0;
71
71
  min-width: p2r(180);
72
+ max-width: calc(100vw - #{p2r(8)});
73
+ max-height: calc(100vh - #{p2r(8)});
74
+ overflow: auto;
72
75
  z-index: 0;
73
76
  background-color: var(--base-1);
74
77
  border: 1px solid var(--base-4);
@@ -82,6 +85,9 @@ $shipPopover: true !default;
82
85
  top: p2r(4);
83
86
  position: fixed;
84
87
  position-area: bottom span-right;
88
+ max-width: unset;
89
+ max-height: unset;
90
+ overflow: visible;
85
91
  position-try-fallbacks:
86
92
  --top-span-right, --bottom-span-left, --top-span-left, --right-span-bottom, --left-span-bottom,
87
93
  --right-center, --left-center, --right-span-top, --left-span-top;
@@ -9,14 +9,17 @@ $shipToggleCard: true !default;
9
9
  border-radius: var(--shape-3);
10
10
  background-color: var(--base-2);
11
11
 
12
+ &.type-a {
13
+ background-color: transparent;
14
+ border: 1px solid var(--base-4);
15
+ }
16
+
12
17
  &.active {
13
18
  .collapsable {
14
19
  grid-template-rows: 1fr;
15
20
  }
16
21
 
17
22
  .content {
18
- // grid-template-rows: 1fr;
19
- // transition: max-height 1s linear;
20
23
  padding: p2r(0 16 16);
21
24
 
22
25
  &:empty {
@@ -835,14 +835,13 @@ declare class ShipThemeToggle {
835
835
 
836
836
  declare class ShipToggleCard {
837
837
  isActive: _angular_core.ModelSignal<boolean>;
838
- disallowToggle: _angular_core.InputSignal<boolean>;
838
+ disableToggle: _angular_core.InputSignal<boolean>;
839
839
  color: _angular_core.InputSignal<ShipColor | null>;
840
840
  variant: _angular_core.InputSignal<ShipCardVariant | null>;
841
841
  hostClasses: _angular_core.Signal<string>;
842
- ngOnInit(): void;
843
842
  toggle(): void;
844
843
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipToggleCard, never>;
845
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShipToggleCard, "sh-toggle-card", never, { "isActive": { "alias": "isActive"; "required": false; "isSignal": true; }; "disallowToggle": { "alias": "disallowToggle"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, { "isActive": "isActiveChange"; }, never, ["[title]", "*"], true, never>;
844
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShipToggleCard, "sh-toggle-card", never, { "isActive": { "alias": "isActive"; "required": false; "isSignal": true; }; "disableToggle": { "alias": "disableToggle"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, { "isActive": "isActiveChange"; }, never, ["[title]", "*"], true, never>;
846
845
  }
847
846
 
848
847
  declare class ShipToggle {