@fluid-topics/ft-modal 1.3.54 → 1.3.55

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.
@@ -18,5 +18,6 @@ export declare const FtModalCssVariables: {
18
18
  overlayBackgroundColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
19
19
  overlayOpacity: import("@fluid-topics/ft-wc-utils").FtCssVariable;
20
20
  closingButtonColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
21
+ contentOverflow: import("@fluid-topics/ft-wc-utils").FtCssVariable;
21
22
  };
22
23
  export declare const ftmodalStyles: import("lit").CSSResult;
@@ -20,6 +20,7 @@ export const FtModalCssVariables = {
20
20
  overlayBackgroundColor: FtCssVariableFactory.create("--ft-modal-overlay-background-color", "", "COLOR", "rgb(10, 10, 13)"),
21
21
  overlayOpacity: FtCssVariableFactory.create("--ft-modal-overlay-opacity", "", "NUMBER", "0.4"),
22
22
  closingButtonColor: FtCssVariableFactory.extend("--ft-modal-closing-button-color", "", designSystemVariables.colorOnSurfaceMedium),
23
+ contentOverflow: FtCssVariableFactory.create("--ft-modal-content-overflow", "", "UNKNOWN", "visible"),
23
24
  };
24
25
  // language=CSS
25
26
  export const ftmodalStyles = css `
@@ -127,12 +128,12 @@ export const ftmodalStyles = css `
127
128
  color: ${FtModalCssVariables.contentColor};
128
129
  background-color: ${FtModalCssVariables.contentBackgroundColor};
129
130
  border-radius: 0px 0px ${FtModalCssVariables.borderRadius} ${FtModalCssVariables.borderRadius};
130
- overflow: auto;
131
+ overflow: ${FtModalCssVariables.contentOverflow};
131
132
  }
132
133
 
133
134
  [part=content] {
134
135
  flex-grow: 1;
135
- overflow: auto;
136
+ overflow: ${FtModalCssVariables.contentOverflow};
136
137
  }
137
138
 
138
139
  [part=actions] {
@@ -173,8 +174,4 @@ export const ftmodalStyles = css `
173
174
  .drawer [part=body] {
174
175
  border-radius: 0;
175
176
  }
176
-
177
- .drawer [part=header] {
178
- flex-direction: row-reverse;
179
- }
180
177
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-modal",
3
- "version": "1.3.54",
3
+ "version": "1.3.55",
4
4
  "description": "Modal for Design System V2",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,11 +19,11 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "1.3.54",
22
+ "@fluid-topics/ft-wc-utils": "1.3.55",
23
23
  "lit": "3.1.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@fluid-topics/ft-wc-test-utils": "1.3.54"
26
+ "@fluid-topics/ft-wc-test-utils": "1.3.55"
27
27
  },
28
- "gitHead": "cf94f6196c0b97b6f3ee585302a0ffe35c442f32"
28
+ "gitHead": "4b1a60c10c8b8d68e0b9075038c0508a94ff7d38"
29
29
  }