@bagelink/vue 1.20.80 → 1.20.83
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/dist/{StructuredEditor-B-Vp4pa2.cjs → StructuredEditor-CoeToE0Q.cjs} +1 -1
- package/dist/{StructuredEditor-DWfRtYZa.js → StructuredEditor-DLKqMtTF.js} +1 -1
- package/dist/components/form/inputs/OTP.vue.d.ts +1 -1
- package/dist/components/form/inputs/OTP.vue.d.ts.map +1 -1
- package/dist/core.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{src-DwJEyASG.js → src-BwqmrajQ.js} +2 -2
- package/dist/{src-Uy-ww1Nz.cjs → src-a5H2o8KK.cjs} +2 -2
- package/dist/src.css +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/components/form/inputs/OTP.vue +9 -9
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bagelink/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.20.
|
|
4
|
+
"version": "1.20.83",
|
|
5
5
|
"description": "Bagel core sdk packages",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Bagel Studio",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@types/signature_pad": "^4.0.0",
|
|
64
64
|
"vue": "^3.5.43",
|
|
65
65
|
"vue-component-type-helpers": "^2.2.12",
|
|
66
|
-
"@bagelink/sdk": "1.20.
|
|
66
|
+
"@bagelink/sdk": "1.20.83"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"@bagelink/sdk": "*",
|
|
@@ -12,7 +12,7 @@ const props = defineProps<{
|
|
|
12
12
|
color?: string
|
|
13
13
|
/** Size of each digit box (sets --otp-input-width & --otp-input-height). Accepts any CSS length (e.g. "2.5rem", "40px"). Default: 3rem. */
|
|
14
14
|
size?: string
|
|
15
|
-
/**
|
|
15
|
+
/** Optional mobile-only size below 910px (sets --otp-input-mobile-width & --otp-input-mobile-height). When omitted, mobile uses the desktop size. */
|
|
16
16
|
mobileSize?: string
|
|
17
17
|
} & BagelInputShellProps>()
|
|
18
18
|
|
|
@@ -208,10 +208,10 @@ outline-offset: var(--otp-input-outline-offset);
|
|
|
208
208
|
--otp-input-gap: 5px;
|
|
209
209
|
--otp-input-bg: var(--bgl-gray-light);
|
|
210
210
|
--otp-input-color: var(--bgl-otp-digit-color, inherit);
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
211
|
+
/* Mobile vars are intentionally unset by default — the media query falls
|
|
212
|
+
back to the desktop vars (and the previous 0.25rem padding). Set
|
|
213
|
+
--otp-input-mobile-* (or the mobileSize prop) only when you need a
|
|
214
|
+
mobile-specific override. */
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
.otp-input.frame .digit-box {
|
|
@@ -238,10 +238,10 @@ outline-offset: -1px;
|
|
|
238
238
|
|
|
239
239
|
@media screen and (max-width: 910px) {
|
|
240
240
|
.digit-box {
|
|
241
|
-
width: var(--otp-input-mobile-width);
|
|
242
|
-
height: var(--otp-input-mobile-height);
|
|
243
|
-
font-size: var(--otp-input-mobile-font-size);
|
|
244
|
-
padding: var(--otp-input-mobile-padding);
|
|
241
|
+
width: var(--otp-input-mobile-width, var(--bgl-otp-digit-mobile-size, var(--otp-input-width)));
|
|
242
|
+
height: var(--otp-input-mobile-height, var(--bgl-otp-digit-mobile-size, var(--otp-input-height)));
|
|
243
|
+
font-size: var(--otp-input-mobile-font-size, var(--otp-input-font-size));
|
|
244
|
+
padding: var(--otp-input-mobile-padding, 0.25rem);
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
|