labsense-ui-kit 1.2.63 → 1.2.65

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.
@@ -3944,6 +3944,74 @@ var Profile_3 = function Profile_3(_ref) {
3944
3944
  }));
3945
3945
  };
3946
3946
 
3947
+ var QR = function QR(_ref) {
3948
+ var size = _ref.size,
3949
+ color = _ref.color,
3950
+ weight = _ref.weight;
3951
+ return React.createElement("svg", {
3952
+ width: size,
3953
+ height: size,
3954
+ strokeWidth: weight,
3955
+ viewBox: '0 0 10 10',
3956
+ fill: 'none',
3957
+ xmlns: 'http://www.w3.org/2000/svg'
3958
+ }, React.createElement("path", {
3959
+ d: 'M0.866585 0.333984C0.725136 0.333984 0.589481 0.390175 0.489462 0.490194C0.389442 0.590214 0.333252 0.725869 0.333252 0.867318V3.00065H2.99992V0.333984H0.866585ZM2.33325 2.33398H0.999919V1.00065H2.33325V2.33398Z',
3960
+ fill: color
3961
+ }), React.createElement("path", {
3962
+ d: 'M0.333252 9.13333C0.333252 9.27478 0.389442 9.41044 0.489462 9.51046C0.589481 9.61048 0.725136 9.66667 0.866585 9.66667H2.99992V7H0.333252V9.13333ZM0.999919 7.66667H2.33325V9H0.999919V7.66667Z',
3963
+ fill: color
3964
+ }), React.createElement("path", {
3965
+ d: 'M7 9.66667H9.13333C9.27478 9.66667 9.41044 9.61048 9.51046 9.51046C9.61048 9.41044 9.66667 9.27478 9.66667 9.13333V7H7V9.66667ZM7.66667 7.66667H9V9H7.66667V7.66667Z',
3966
+ fill: color
3967
+ }), React.createElement("path", {
3968
+ d: 'M9.13333 0.333984H7V3.00065H9.66667V0.867318C9.66667 0.725869 9.61048 0.590214 9.51046 0.490194C9.41044 0.390175 9.27478 0.333984 9.13333 0.333984ZM9 2.33398H7.66667V1.00065H9V2.33398Z',
3969
+ fill: color
3970
+ }), React.createElement("path", {
3971
+ d: 'M5.66659 2.33268V1.66602H4.33325V2.99935H4.99992V2.33268H5.66659Z',
3972
+ fill: color
3973
+ }), React.createElement("path", {
3974
+ d: 'M3 3H3.66667V3.66667H3V3Z',
3975
+ fill: color
3976
+ }), React.createElement("path", {
3977
+ d: 'M3.66675 3.66602H5.00008V4.33268H3.66675V3.66602Z',
3978
+ fill: color
3979
+ }), React.createElement("path", {
3980
+ d: 'M5.66675 1.00065V1.66732H6.33341V0.333984H3.66675V1.66732H4.33341V1.00065H5.66675Z',
3981
+ fill: color
3982
+ }), React.createElement("path", {
3983
+ d: 'M0.333252 3.66602H0.999919V4.99935H0.333252V3.66602Z',
3984
+ fill: color
3985
+ }), React.createElement("path", {
3986
+ d: 'M2.99992 4.33268V4.99935H2.33325V3.66602H1.66659V4.99935H0.999919V5.66602H0.333252V6.33268H1.66659V5.66602H2.33325V6.33268H2.99992V5.66602H3.66658V4.33268H2.99992Z',
3987
+ fill: color
3988
+ }), React.createElement("path", {
3989
+ d: 'M5.66667 4.33398H6.33333V5.00065H7V4.33398H7.66667V3.66732H6.33333V2.33398H5.66667V3.00065H5V3.66732H5.66667V4.33398Z',
3990
+ fill: color
3991
+ }), React.createElement("path", {
3992
+ d: 'M5.00008 9.00065H3.66675V9.66732H6.33341V9.00065H5.66675V8.33398H5.00008V9.00065Z',
3993
+ fill: color
3994
+ }), React.createElement("path", {
3995
+ d: 'M6.33325 5.66732V5.00065H5.66659V4.33398H4.99992V5.00065H4.33325V5.66732H4.99992V6.33398H5.66659V5.66732H6.33325Z',
3996
+ fill: color
3997
+ }), React.createElement("path", {
3998
+ d: 'M9 5.66602H9.66667V6.33268H9V5.66602Z',
3999
+ fill: color
4000
+ }), React.createElement("path", {
4001
+ d: 'M6.33325 5.66602H8.33325V6.33268H6.33325V5.66602Z',
4002
+ fill: color
4003
+ }), React.createElement("path", {
4004
+ d: 'M9.00008 3.66602H8.33341V4.33268H7.66675V4.99935H8.33341V5.66602H9.00008V4.99935H9.66675V4.33268H9.00008V3.66602Z',
4005
+ fill: color
4006
+ }), React.createElement("path", {
4007
+ d: 'M5.66675 6.33398H6.33341V8.33398H5.66675V6.33398Z',
4008
+ fill: color
4009
+ }), React.createElement("path", {
4010
+ d: 'M3.66675 8.33268H4.33341V7.66602H5.00008V6.99935H4.33341V5.66602H3.66675V8.33268Z',
4011
+ fill: color
4012
+ }));
4013
+ };
4014
+
3947
4015
  var Recording_1 = function Recording_1(_ref) {
3948
4016
  var size = _ref.size,
3949
4017
  color = _ref.color,
@@ -5823,6 +5891,7 @@ var IconSVGs = {
5823
5891
  Profile_1: Profile_1,
5824
5892
  Profile_2: Profile_2,
5825
5893
  Profile_3: Profile_3,
5894
+ QR: QR,
5826
5895
  Recording_1: Recording_1,
5827
5896
  Recording_2: KnobController$1,
5828
5897
  Recording_3: Recording_3,
@@ -9033,8 +9102,10 @@ var CircularProgress = function CircularProgress(_ref) {
9033
9102
  var radius = (viewBoxSize - strokeWidth) / 2;
9034
9103
  var circumference = 2 * Math.PI * radius;
9035
9104
  var parseVolumeData = function parseVolumeData(threshold, totalCapacity, usedCapacity) {
9105
+ var total = Number(totalCapacity) || 0;
9106
+ var used = Number(usedCapacity) || 0;
9036
9107
  var thresholdValue = threshold != null ? threshold : 100;
9037
- var progress = usedCapacity / totalCapacity * 100;
9108
+ var progress = total > 0 ? used / total * 100 : 0;
9038
9109
  return {
9039
9110
  progress: Math.min(Math.max(Math.round(progress), 0), 100),
9040
9111
  processedThreshold: Math.min(Math.max(thresholdValue, 0), 100)