@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.
- package/esm2022/lib/modal.component.mjs +8 -8
- package/esm2022/lib/modal.mjs +2 -1
- package/fesm2022/tolle-ui.mjs +8 -7
- package/fesm2022/tolle-ui.mjs.map +1 -1
- package/lib/button.component.d.ts +1 -1
- package/lib/modal.d.ts +1 -0
- package/package.json +1 -1
- package/theme.css +31 -17
|
@@ -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?: "
|
|
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
package/package.json
CHANGED
package/theme.css
CHANGED
|
@@ -194,36 +194,49 @@ tolle-select button:focus {
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
/* -------------------------------------------------------------------------- */
|
|
197
|
-
/*
|
|
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
|
-
|
|
204
|
-
|
|
205
|
-
z-index: 50;
|
|
204
|
+
width: 100%;
|
|
205
|
+
height: 100%;
|
|
206
206
|
pointer-events: none;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
.cdk-overlay-
|
|
210
|
-
|
|
209
|
+
.cdk-global-overlay-wrapper {
|
|
210
|
+
display: flex;
|
|
211
|
+
position: absolute;
|
|
212
|
+
z-index: 1001;
|
|
211
213
|
top: 0;
|
|
212
214
|
left: 0;
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
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:
|
|
226
|
-
|
|
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 */
|