@ape.swap/bonds-sdk 1.0.655 → 1.0.657

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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import './styles.scss';
2
+ import '../../scss/ProgressBar.scss';
3
3
  interface ProgressBarProps {
4
4
  value: number;
5
5
  color?: string;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "theme-ui/jsx-runtime";
2
2
  import { Box, Flex } from 'theme-ui';
3
- import './styles.scss';
3
+ import '../../scss/ProgressBar.scss';
4
4
  var ProgressBar = function (_a) {
5
5
  var value = _a.value, _b = _a.color, color = _b === void 0 ? 'text' : _b;
6
6
  return (_jsx(Flex, { sx: { width: ['100px', '100px', '100px', '100%'], alignItems: 'center', flexDirection: 'row', mt: '5px' }, children: _jsx(Box, { className: "progressbar-background", children: _jsx(Box, { className: "progressbar-completed", style: {
@@ -0,0 +1,12 @@
1
+ .progressbar-background {
2
+ width: 100%;
3
+ height: 5px;
4
+ background-color: $white4; // Assuming you have a variable for white4, otherwise use the color code directly
5
+ border-radius: 10px;
6
+ overflow: hidden;
7
+ }
8
+
9
+ .progressbar-completed {
10
+ border-radius: 10px;
11
+ height: 100%;
12
+ }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Ape Bond SDK",
4
4
  "author": "Ape Bond",
5
5
  "license": "MIT",
6
- "version": "1.0.655",
6
+ "version": "1.0.657",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",