@tolle_/tolle-ui 0.0.25-beta → 0.0.27-beta

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.
@@ -2,7 +2,7 @@ import { type VariantProps } from 'class-variance-authority';
2
2
  import * as i0 from "@angular/core";
3
3
  declare const buttonVariants: (props?: ({
4
4
  variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
5
- size?: "default" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon" | "icon-lg" | null | undefined;
5
+ size?: "xs" | "sm" | "default" | "lg" | "icon-xs" | "icon-sm" | "icon" | "icon-lg" | null | undefined;
6
6
  busy?: boolean | null | undefined;
7
7
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
8
  export type ButtonProps = VariantProps<typeof buttonVariants>;
package/lib/modal.d.ts CHANGED
@@ -26,4 +26,5 @@ export declare class Modal<T = any> {
26
26
  * Accessed via `let-val` in the HTML.
27
27
  */
28
28
  context?: T;
29
+ showCloseButton?: boolean;
29
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolle_/tolle-ui",
3
- "version": "0.0.25-beta",
3
+ "version": "0.0.27-beta",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/theme.css CHANGED
@@ -194,36 +194,49 @@ tolle-select button:focus {
194
194
  }
195
195
 
196
196
  /* -------------------------------------------------------------------------- */
197
- /* 6. CDK OVERLAY STYLES */
197
+ /* 5. CDK OVERLAY & MODAL SYSTEM (Structural) */
198
198
  /* -------------------------------------------------------------------------- */
199
199
  .cdk-overlay-container {
200
200
  position: fixed;
201
+ z-index: 1000;
201
202
  top: 0;
202
203
  left: 0;
203
- right: 0;
204
- bottom: 0;
205
- z-index: 50;
204
+ width: 100%;
205
+ height: 100%;
206
206
  pointer-events: none;
207
207
  }
208
208
 
209
- .cdk-overlay-backdrop {
210
- position: fixed;
209
+ .cdk-global-overlay-wrapper {
210
+ display: flex;
211
+ position: absolute;
212
+ z-index: 1001;
211
213
  top: 0;
212
214
  left: 0;
213
- right: 0;
214
- bottom: 0;
215
- z-index: 50;
216
- background-color: rgba(0, 0, 0, 0.8);
217
- backdrop-filter: blur(4px);
218
- transition-property: opacity;
219
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
220
- transition-duration: 150ms;
221
- opacity: 0;
215
+ width: 100%;
216
+ height: 100%;
217
+ pointer-events: none;
222
218
  }
223
219
 
224
220
  .cdk-overlay-pane {
225
- position: fixed;
226
- z-index: 50;
221
+ position: absolute;
222
+ pointer-events: auto;
223
+ box-sizing: border-box;
224
+ z-index: 1001;
225
+ display: flex;
226
+ flex-direction: column;
227
+ align-items: center;
228
+ justify-content: center;
229
+ }
230
+
231
+ /* Backdrop Styles */
232
+ .cdk-overlay-backdrop {
233
+ position: absolute;
234
+ top: 0; bottom: 0; left: 0; right: 0;
235
+ z-index: 1000;
236
+ pointer-events: auto;
237
+ -webkit-tap-highlight-color: transparent;
238
+ transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
239
+ opacity: 0;
227
240
  }
228
241
 
229
242
  .cdk-overlay-backdrop-showing {
@@ -233,6 +246,7 @@ tolle-select button:focus {
233
246
  .tolle-modal-backdrop {
234
247
  background-color: rgba(0, 0, 0, 0.8);
235
248
  backdrop-filter: blur(4px);
249
+ z-index: 50;
236
250
  }
237
251
 
238
252
  /* Add these to your theme.css file */