@almadar/ui 5.5.1 → 5.5.3

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.
@@ -6889,8 +6889,13 @@ var init_Modal = __esm({
6889
6889
  ref: modalRef,
6890
6890
  open: true,
6891
6891
  className: cn(
6892
- // Reset browser-default dialog chrome — we own styling.
6893
- "m-0 p-0 border-0 bg-transparent",
6892
+ // Reset browser-default dialog chrome — we own styling. `static`
6893
+ // overrides the user-agent `position: absolute` so the parent
6894
+ // flex container's `justify-center` actually centers the dialog
6895
+ // (without this, the dialog drops out of flex flow and `m-0`
6896
+ // kills the user-agent's `margin: auto` centering, pinning the
6897
+ // dialog to top-left).
6898
+ "static m-0 p-0 border-0 bg-transparent",
6894
6899
  // Pre-existing dialog frame
6895
6900
  "pointer-events-auto w-full flex flex-col bg-surface border shadow-elevation-dialog rounded-container",
6896
6901
  // Desktop sizing + viewport-aware floor.
package/dist/avl/index.js CHANGED
@@ -6840,8 +6840,13 @@ var init_Modal = __esm({
6840
6840
  ref: modalRef,
6841
6841
  open: true,
6842
6842
  className: cn(
6843
- // Reset browser-default dialog chrome — we own styling.
6844
- "m-0 p-0 border-0 bg-transparent",
6843
+ // Reset browser-default dialog chrome — we own styling. `static`
6844
+ // overrides the user-agent `position: absolute` so the parent
6845
+ // flex container's `justify-center` actually centers the dialog
6846
+ // (without this, the dialog drops out of flex flow and `m-0`
6847
+ // kills the user-agent's `margin: auto` centering, pinning the
6848
+ // dialog to top-left).
6849
+ "static m-0 p-0 border-0 bg-transparent",
6845
6850
  // Pre-existing dialog frame
6846
6851
  "pointer-events-auto w-full flex flex-col bg-surface border shadow-elevation-dialog rounded-container",
6847
6852
  // Desktop sizing + viewport-aware floor.
@@ -6342,8 +6342,13 @@ var init_Modal = __esm({
6342
6342
  ref: modalRef,
6343
6343
  open: true,
6344
6344
  className: cn(
6345
- // Reset browser-default dialog chrome — we own styling.
6346
- "m-0 p-0 border-0 bg-transparent",
6345
+ // Reset browser-default dialog chrome — we own styling. `static`
6346
+ // overrides the user-agent `position: absolute` so the parent
6347
+ // flex container's `justify-center` actually centers the dialog
6348
+ // (without this, the dialog drops out of flex flow and `m-0`
6349
+ // kills the user-agent's `margin: auto` centering, pinning the
6350
+ // dialog to top-left).
6351
+ "static m-0 p-0 border-0 bg-transparent",
6347
6352
  // Pre-existing dialog frame
6348
6353
  "pointer-events-auto w-full flex flex-col bg-surface border shadow-elevation-dialog rounded-container",
6349
6354
  // Desktop sizing + viewport-aware floor.
@@ -6293,8 +6293,13 @@ var init_Modal = __esm({
6293
6293
  ref: modalRef,
6294
6294
  open: true,
6295
6295
  className: cn(
6296
- // Reset browser-default dialog chrome — we own styling.
6297
- "m-0 p-0 border-0 bg-transparent",
6296
+ // Reset browser-default dialog chrome — we own styling. `static`
6297
+ // overrides the user-agent `position: absolute` so the parent
6298
+ // flex container's `justify-center` actually centers the dialog
6299
+ // (without this, the dialog drops out of flex flow and `m-0`
6300
+ // kills the user-agent's `margin: auto` centering, pinning the
6301
+ // dialog to top-left).
6302
+ "static m-0 p-0 border-0 bg-transparent",
6298
6303
  // Pre-existing dialog frame
6299
6304
  "pointer-events-auto w-full flex flex-col bg-surface border shadow-elevation-dialog rounded-container",
6300
6305
  // Desktop sizing + viewport-aware floor.
@@ -2074,8 +2074,13 @@ var init_Modal = __esm({
2074
2074
  ref: modalRef,
2075
2075
  open: true,
2076
2076
  className: cn(
2077
- // Reset browser-default dialog chrome — we own styling.
2078
- "m-0 p-0 border-0 bg-transparent",
2077
+ // Reset browser-default dialog chrome — we own styling. `static`
2078
+ // overrides the user-agent `position: absolute` so the parent
2079
+ // flex container's `justify-center` actually centers the dialog
2080
+ // (without this, the dialog drops out of flex flow and `m-0`
2081
+ // kills the user-agent's `margin: auto` centering, pinning the
2082
+ // dialog to top-left).
2083
+ "static m-0 p-0 border-0 bg-transparent",
2079
2084
  // Pre-existing dialog frame
2080
2085
  "pointer-events-auto w-full flex flex-col bg-surface border shadow-elevation-dialog rounded-container",
2081
2086
  // Desktop sizing + viewport-aware floor.
@@ -2025,8 +2025,13 @@ var init_Modal = __esm({
2025
2025
  ref: modalRef,
2026
2026
  open: true,
2027
2027
  className: cn(
2028
- // Reset browser-default dialog chrome — we own styling.
2029
- "m-0 p-0 border-0 bg-transparent",
2028
+ // Reset browser-default dialog chrome — we own styling. `static`
2029
+ // overrides the user-agent `position: absolute` so the parent
2030
+ // flex container's `justify-center` actually centers the dialog
2031
+ // (without this, the dialog drops out of flex flow and `m-0`
2032
+ // kills the user-agent's `margin: auto` centering, pinning the
2033
+ // dialog to top-left).
2034
+ "static m-0 p-0 border-0 bg-transparent",
2030
2035
  // Pre-existing dialog frame
2031
2036
  "pointer-events-auto w-full flex flex-col bg-surface border shadow-elevation-dialog rounded-container",
2032
2037
  // Desktop sizing + viewport-aware floor.
@@ -2309,8 +2309,13 @@ var init_Modal = __esm({
2309
2309
  ref: modalRef,
2310
2310
  open: true,
2311
2311
  className: cn(
2312
- // Reset browser-default dialog chrome — we own styling.
2313
- "m-0 p-0 border-0 bg-transparent",
2312
+ // Reset browser-default dialog chrome — we own styling. `static`
2313
+ // overrides the user-agent `position: absolute` so the parent
2314
+ // flex container's `justify-center` actually centers the dialog
2315
+ // (without this, the dialog drops out of flex flow and `m-0`
2316
+ // kills the user-agent's `margin: auto` centering, pinning the
2317
+ // dialog to top-left).
2318
+ "static m-0 p-0 border-0 bg-transparent",
2314
2319
  // Pre-existing dialog frame
2315
2320
  "pointer-events-auto w-full flex flex-col bg-surface border shadow-elevation-dialog rounded-container",
2316
2321
  // Desktop sizing + viewport-aware floor.
@@ -2260,8 +2260,13 @@ var init_Modal = __esm({
2260
2260
  ref: modalRef,
2261
2261
  open: true,
2262
2262
  className: cn(
2263
- // Reset browser-default dialog chrome — we own styling.
2264
- "m-0 p-0 border-0 bg-transparent",
2263
+ // Reset browser-default dialog chrome — we own styling. `static`
2264
+ // overrides the user-agent `position: absolute` so the parent
2265
+ // flex container's `justify-center` actually centers the dialog
2266
+ // (without this, the dialog drops out of flex flow and `m-0`
2267
+ // kills the user-agent's `margin: auto` centering, pinning the
2268
+ // dialog to top-left).
2269
+ "static m-0 p-0 border-0 bg-transparent",
2265
2270
  // Pre-existing dialog frame
2266
2271
  "pointer-events-auto w-full flex flex-col bg-surface border shadow-elevation-dialog rounded-container",
2267
2272
  // Desktop sizing + viewport-aware floor.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "5.5.1",
3
+ "version": "5.5.3",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [