@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 CHANGED
@@ -277,7 +277,6 @@ interface IOpt {
277
277
  color: number[];
278
278
  offset?: number;
279
279
  length: number;
280
- radius: number;
281
280
  }
282
281
 
283
282
  interface LoadingSpiralProps extends IOpt, ISettings {
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
- multiplier,
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
- multiplier,
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 */,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/components",
3
- "version": "1.5.48",
3
+ "version": "1.5.49",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",