@bbki.ng/components 1.5.48 → 1.5.49
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/index.d.ts +0 -1
- package/dist/index.js +3 -9
- package/dist/index.mjs +3 -9
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1157,17 +1157,11 @@ var DEFAULT_OPT = {
|
|
|
1157
1157
|
multiplier: 5e4,
|
|
1158
1158
|
color: [209, 213, 219, 1],
|
|
1159
1159
|
offset: -0.3,
|
|
1160
|
-
length: 0.15
|
|
1161
|
-
radius: 0.028
|
|
1160
|
+
length: 0.15
|
|
1162
1161
|
};
|
|
1163
1162
|
var createOptions = (opt = DEFAULT_OPT) => {
|
|
1164
|
-
const {
|
|
1165
|
-
|
|
1166
|
-
color,
|
|
1167
|
-
length,
|
|
1168
|
-
radius,
|
|
1169
|
-
offset = -1 * 0.3
|
|
1170
|
-
} = opt;
|
|
1163
|
+
const { multiplier, color, length, offset = -1 * 0.3 } = opt;
|
|
1164
|
+
const radius = 0.028 / 0.15 * length;
|
|
1171
1165
|
const attributes = [
|
|
1172
1166
|
{
|
|
1173
1167
|
name: "aPositionStart" /* POSITION_START */,
|
package/dist/index.mjs
CHANGED
|
@@ -1098,17 +1098,11 @@ var DEFAULT_OPT = {
|
|
|
1098
1098
|
multiplier: 5e4,
|
|
1099
1099
|
color: [209, 213, 219, 1],
|
|
1100
1100
|
offset: -0.3,
|
|
1101
|
-
length: 0.15
|
|
1102
|
-
radius: 0.028
|
|
1101
|
+
length: 0.15
|
|
1103
1102
|
};
|
|
1104
1103
|
var createOptions = (opt = DEFAULT_OPT) => {
|
|
1105
|
-
const {
|
|
1106
|
-
|
|
1107
|
-
color,
|
|
1108
|
-
length,
|
|
1109
|
-
radius,
|
|
1110
|
-
offset = -1 * 0.3
|
|
1111
|
-
} = opt;
|
|
1104
|
+
const { multiplier, color, length, offset = -1 * 0.3 } = opt;
|
|
1105
|
+
const radius = 0.028 / 0.15 * length;
|
|
1112
1106
|
const attributes = [
|
|
1113
1107
|
{
|
|
1114
1108
|
name: "aPositionStart" /* POSITION_START */,
|