aio-popup 7.0.0 → 8.0.0

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.
Files changed (3) hide show
  1. package/index.css +1 -4
  2. package/index.d.ts +1 -1
  3. package/package.json +1 -1
package/index.css CHANGED
@@ -22,7 +22,6 @@
22
22
 
23
23
  .aio-popup {
24
24
  border-radius: 4px;
25
- font-size: 14px;
26
25
  transition: .3s;
27
26
  max-width: 100vw;
28
27
  max-height: 100vh;
@@ -149,7 +148,7 @@
149
148
  background: #fff;
150
149
  color: #323130;
151
150
  padding: 6px 12px;
152
- font-size: 14px;
151
+ font-size: 1.2em;
153
152
  min-height: 36px;
154
153
  gap: 12px;
155
154
  align-items: center;
@@ -188,12 +187,10 @@
188
187
  }
189
188
 
190
189
  .aio-popup-body {
191
- background: #fff;
192
190
  flex: 1;
193
191
  width: 100%;
194
192
  overflow-y: auto;
195
193
  box-sizing: border-box;
196
- border-radius:6px;
197
194
  }
198
195
 
199
196
  .aio-popup-body * {
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  import './index.css';
3
3
  export type AP_position = 'fullscreen' | 'center' | 'popover' | 'left' | 'right' | 'top' | 'bottom';
4
4
  export type AP_attrsKey = 'backdrop' | 'modal' | 'header' | 'body' | 'footer';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aio-popup",
3
- "version": "7.0.0",
3
+ "version": "8.0.0",
4
4
  "description": "handle all types of popup and modals in react",
5
5
  "main": "index.js",
6
6
  "scripts": {