koval-ui 0.15.4 → 0.15.6
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/README.md +1 -1
- package/dist/index.d.ts +19 -20
- package/dist/index.js +542 -525
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +2 -2
- package/dist/index.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
[](#)
|
|
12
12
|
|
|
13
|
-
Koval UI is component library built for modern browsers. Each component tries to utilize built
|
|
13
|
+
Koval UI is a React component library built for modern browsers. Each component tries to utilize built-in browser APIs to full extent.
|
|
14
14
|
|
|
15
15
|
## Features
|
|
16
16
|
|
package/dist/index.d.ts
CHANGED
|
@@ -537,7 +537,7 @@ loading?: IframeHTMLAttributes<unknown>['loading'];
|
|
|
537
537
|
* @see SandboxConfig
|
|
538
538
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/sandbox
|
|
539
539
|
*/
|
|
540
|
-
|
|
540
|
+
sandboxConfig?: SandboxConfig | undefined;
|
|
541
541
|
/**
|
|
542
542
|
* Provide a callback to capture iframe loaded event.
|
|
543
543
|
*/
|
|
@@ -547,7 +547,7 @@ onLoad?: ((event: SyntheticEvent<HTMLIFrameElement>) => void) | undefined;
|
|
|
547
547
|
* @see PermissionsConfig
|
|
548
548
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allow
|
|
549
549
|
*/
|
|
550
|
-
|
|
550
|
+
permissionsConfig?: PermissionsConfig | undefined;
|
|
551
551
|
} & RefAttributes<HTMLIFrameElement>>;
|
|
552
552
|
|
|
553
553
|
export declare const InputCheckbox: ForwardRefExoticComponent<DataAttributes & AriaAttributes & {
|
|
@@ -1022,7 +1022,7 @@ showNavigation?: boolean | undefined;
|
|
|
1022
1022
|
showPageButtons?: boolean | undefined;
|
|
1023
1023
|
} & RefAttributes<HTMLDivElement>>;
|
|
1024
1024
|
|
|
1025
|
-
declare type Permission = `https://${string}` | 'self' | '*' | 'src' | 'none' |
|
|
1025
|
+
declare type Permission = `https://${string}` | 'self' | '*' | 'src' | 'none' | boolean;
|
|
1026
1026
|
|
|
1027
1027
|
export declare type PermissionsConfig = {
|
|
1028
1028
|
/**
|
|
@@ -1038,7 +1038,7 @@ export declare type PermissionsConfig = {
|
|
|
1038
1038
|
*/
|
|
1039
1039
|
'ambient-light-sensor'?: Permission | Permission[];
|
|
1040
1040
|
/**
|
|
1041
|
-
*
|
|
1041
|
+
* Responsible for the Attribution Reporting API.
|
|
1042
1042
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/attribution-reporting
|
|
1043
1043
|
*/
|
|
1044
1044
|
'attribution-reporting'?: Permission | Permission[];
|
|
@@ -1081,7 +1081,7 @@ export declare type PermissionsConfig = {
|
|
|
1081
1081
|
*/
|
|
1082
1082
|
'document-domain'?: Permission | Permission[];
|
|
1083
1083
|
/**
|
|
1084
|
-
*
|
|
1084
|
+
* Responsible for the Encrypted Media Extensions API (EME).
|
|
1085
1085
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/encrypted-media
|
|
1086
1086
|
*/
|
|
1087
1087
|
'encrypted-media'?: Permission | Permission[];
|
|
@@ -1091,12 +1091,12 @@ export declare type PermissionsConfig = {
|
|
|
1091
1091
|
*/
|
|
1092
1092
|
fullscreen?: Permission | Permission[];
|
|
1093
1093
|
/**
|
|
1094
|
-
*
|
|
1094
|
+
* Responsible for the Gamepad API.
|
|
1095
1095
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/gamepad
|
|
1096
1096
|
*/
|
|
1097
1097
|
gamepad?: Permission | Permission[];
|
|
1098
1098
|
/**
|
|
1099
|
-
*
|
|
1099
|
+
* Responsible for the Geolocation Interface.
|
|
1100
1100
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/geolocation
|
|
1101
1101
|
*/
|
|
1102
1102
|
geolocation?: Permission | Permission[];
|
|
@@ -1107,20 +1107,19 @@ export declare type PermissionsConfig = {
|
|
|
1107
1107
|
*/
|
|
1108
1108
|
gyroscope?: Permission | Permission[];
|
|
1109
1109
|
/**
|
|
1110
|
-
*
|
|
1110
|
+
* Responsible for the WebHID API
|
|
1111
1111
|
* to connect to uncommon or exotic human interface devices such as alternative keyboards or gamepads.
|
|
1112
1112
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/hid
|
|
1113
1113
|
*/
|
|
1114
1114
|
hid?: Permission | Permission[];
|
|
1115
1115
|
/**
|
|
1116
|
-
*
|
|
1117
|
-
* and more specifically the navigator.credentials.get() method with an identity option.
|
|
1116
|
+
* Responsible for the Federated Credential Management API (FedCM),
|
|
1117
|
+
* and more specifically, the navigator.credentials.get() method with an identity option.
|
|
1118
1118
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/identity-credentials-get
|
|
1119
1119
|
*/
|
|
1120
1120
|
'identity-credentials-get'?: Permission | Permission[];
|
|
1121
1121
|
/**
|
|
1122
|
-
*
|
|
1123
|
-
* to use the Idle Detection API to detect when users are interacting with their devices,
|
|
1122
|
+
* Responsible for the Idle Detection API to detect when users are interacting with their devices,
|
|
1124
1123
|
* for example, to report "available"/"away" status in chat applications.
|
|
1125
1124
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/idle-detection
|
|
1126
1125
|
*/
|
|
@@ -1144,18 +1143,18 @@ export declare type PermissionsConfig = {
|
|
|
1144
1143
|
*/
|
|
1145
1144
|
microphone?: Permission | Permission[];
|
|
1146
1145
|
/**
|
|
1147
|
-
*
|
|
1146
|
+
* Responsible for the Web MIDI API.
|
|
1148
1147
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/midi
|
|
1149
1148
|
*/
|
|
1150
1149
|
midi?: Permission | Permission[];
|
|
1151
1150
|
/**
|
|
1152
|
-
*
|
|
1151
|
+
* Responsible for the WebOTP API to request a one-time password
|
|
1153
1152
|
* (OTP) from a specially formatted SMS message sent by the app's server
|
|
1154
1153
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/otp-credentials
|
|
1155
1154
|
*/
|
|
1156
1155
|
'otp-credentials'?: Permission | Permission[];
|
|
1157
1156
|
/**
|
|
1158
|
-
*
|
|
1157
|
+
* Responsible for the Payment Request API.
|
|
1159
1158
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/payment
|
|
1160
1159
|
*/
|
|
1161
1160
|
payment?: Permission | Permission[];
|
|
@@ -1184,14 +1183,14 @@ export declare type PermissionsConfig = {
|
|
|
1184
1183
|
*/
|
|
1185
1184
|
'screen-wake-lock'?: Permission | Permission[];
|
|
1186
1185
|
/**
|
|
1187
|
-
*
|
|
1186
|
+
* Responsible for the Web Serial API to communicate with serial devices,
|
|
1188
1187
|
* either directly connected via a serial port, or via USB or Bluetooth devices emulating a serial port.
|
|
1189
1188
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/serial
|
|
1190
1189
|
*/
|
|
1191
1190
|
serial?: Permission | Permission[];
|
|
1192
1191
|
/**
|
|
1193
|
-
*
|
|
1194
|
-
* @see
|
|
1192
|
+
* Responsible for the Audio Output Devices API to list and select speakers.
|
|
1193
|
+
* @see Responsible for the Audio Output Devices API to list and select speakers.
|
|
1195
1194
|
*/
|
|
1196
1195
|
'speaker-selection'?: Permission | Permission[];
|
|
1197
1196
|
/**
|
|
@@ -1200,12 +1199,12 @@ export declare type PermissionsConfig = {
|
|
|
1200
1199
|
*/
|
|
1201
1200
|
'storage-access'?: Permission | Permission[];
|
|
1202
1201
|
/**
|
|
1203
|
-
*
|
|
1202
|
+
* Responsible for the WebUSB API.
|
|
1204
1203
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/usb
|
|
1205
1204
|
*/
|
|
1206
1205
|
usb?: Permission | Permission[];
|
|
1207
1206
|
/**
|
|
1208
|
-
*
|
|
1207
|
+
* Responsible for the Navigator.share() of Web Share API
|
|
1209
1208
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/web-share
|
|
1210
1209
|
*/
|
|
1211
1210
|
'web-share'?: Permission | Permission[];
|