@useloops/design-system 1.4.671 → 1.4.672
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/esm/systems/Platform/SliderGraph/utils/useSliderGraphProps.js +1 -1
- package/dist/systems/Platform/SliderGraph/utils/useSliderGraphProps.js +1 -1
- package/dist/systems/WebCore/InputFieldBase/InputFieldBase.d.ts +1 -1
- package/package.json +1 -4
- package/dist/esm/node_modules/uuid/dist/esm-browser/native.js +0 -1
- package/dist/esm/node_modules/uuid/dist/esm-browser/rng.js +0 -1
- package/dist/esm/node_modules/uuid/dist/esm-browser/stringify.js +0 -1
- package/dist/esm/node_modules/uuid/dist/esm-browser/v4.js +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +0 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{a}from"../../../../node_modules/@faker-js/faker/dist/chunk-KZPPZA2C.js";import t from"react";import r from"../../GraphPopoverDataLayout/GraphPopoverDataLayout.js";const o=(t,o=465)=>{const n=Math.max(...t.map((e,a)=>e.percentage));return t.map((i,l)=>({totalBars:t.length,barIndex:l,percentage:i.percentage,amount:i.amount,label:i.name,relativePercentage:i.relativePercentage,id:a.string.uuid(),checked:!0,tickInterval:10,disableTooltip:!1,hideCheckbox:!1,hideLabel:!1,hideValue:!1,animateBar:!0,disabled:!1,loading:!1,onChange:(e,a)=>console.warn(i,a),value:i.percentage,hidePercentageSymbol:i.hidePercentageSymbol,maxDataValue:n,graphMaxHeight:o,tooltipContent:e(r,{primaryHeadlineLabel:i.name,secondarySlot1:`${i.percentage}%`,secondarySlot2:`Selected by ${i.amount} respondents`})}))},n=(e,a=465)=>{const[r,n]=t.useState(()=>o(e,a));return{storedData:r,setStoredData:n,createInitialData:o}};export{o as createInitialData,n as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),a=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),a=require("../../../../node_modules/@faker-js/faker/dist/chunk-KZPPZA2C.js"),t=require("react"),r=require("../../GraphPopoverDataLayout/GraphPopoverDataLayout.js");function n(e){return e&&e.__esModule?e:{default:e}}var o=n(t);const i=(t,n=465)=>{const o=Math.max(...t.map((e,a)=>e.percentage));return t.map((i,l)=>({totalBars:t.length,barIndex:l,percentage:i.percentage,amount:i.amount,label:i.name,relativePercentage:i.relativePercentage,id:a.a.string.uuid(),checked:!0,tickInterval:10,disableTooltip:!1,hideCheckbox:!1,hideLabel:!1,hideValue:!1,animateBar:!0,disabled:!1,loading:!1,onChange:(e,a)=>console.warn(i,a),value:i.percentage,hidePercentageSymbol:i.hidePercentageSymbol,maxDataValue:o,graphMaxHeight:n,tooltipContent:e.jsx(r,{primaryHeadlineLabel:i.name,secondarySlot1:`${i.percentage}%`,secondarySlot2:`Selected by ${i.amount} respondents`})}))};exports.createInitialData=i,exports.default=(e,a=465)=>{const[t,r]=o.default.useState(()=>i(e,a));return{storedData:t,setStoredData:r,createInitialData:i}};
|
|
@@ -6,7 +6,7 @@ import { TextFieldProps } from '@mui/material';
|
|
|
6
6
|
type InputFieldBaseProps = TextFieldProps;
|
|
7
7
|
declare const InputFieldBase: _emotion_styled.StyledComponent<{
|
|
8
8
|
variant?: _mui_material.TextFieldVariants | undefined;
|
|
9
|
-
} & Omit<_mui_material.
|
|
9
|
+
} & Omit<_mui_material.OutlinedTextFieldProps | _mui_material.FilledTextFieldProps | _mui_material.StandardTextFieldProps, "variant"> & (_mui_system.MUIStyledCommonProps<_mui_material.Theme> & InputFieldBaseProps), {}, {}>;
|
|
10
10
|
|
|
11
11
|
export { InputFieldBase as default };
|
|
12
12
|
export type { InputFieldBaseProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useloops/design-system",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.672",
|
|
4
4
|
"description": "The official React based Loops design system",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -170,7 +170,6 @@
|
|
|
170
170
|
"@types/react": "^19.2.17",
|
|
171
171
|
"@types/react-dom": "^19.2.3",
|
|
172
172
|
"@types/stylis": "^4.2.7",
|
|
173
|
-
"@types/uuid": "^10.0.0",
|
|
174
173
|
"@typescript-eslint/eslint-plugin": "^8.60.1",
|
|
175
174
|
"@typescript-eslint/parser": "^8.60.1",
|
|
176
175
|
"@vitejs/plugin-react-swc": "^4.3.1",
|
|
@@ -225,7 +224,6 @@
|
|
|
225
224
|
"@lottiefiles/dotlottie-react": "^0.13.5",
|
|
226
225
|
"@mui/lab": "^7.0.1-beta.25",
|
|
227
226
|
"@number-flow/react": "^0.5.14",
|
|
228
|
-
"@phrase/i18next-backend": "^1.3.3",
|
|
229
227
|
"@tiptap/extension-image": "3.7.0",
|
|
230
228
|
"@tiptap/extension-placeholder": "^3.26.0",
|
|
231
229
|
"@tiptap/extension-table": "^3.26.0",
|
|
@@ -265,7 +263,6 @@
|
|
|
265
263
|
"postcss": "8.5.15",
|
|
266
264
|
"fast-uri": "3.1.2",
|
|
267
265
|
"path-to-regexp": "0.1.13",
|
|
268
|
-
"uuid": "11.1.1",
|
|
269
266
|
"brace-expansion": "5.0.6",
|
|
270
267
|
"ajv": "8.20.0",
|
|
271
268
|
"minimatch": "10.2.5",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const o={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};export{o as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let t;const e=new Uint8Array(16);function o(){if(!t){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(e)}export{o as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const t=[];for(let o=0;o<256;++o)t.push((o+256).toString(16).slice(1));function o(o,e=0){return(t[o[e+0]]+t[o[e+1]]+t[o[e+2]]+t[o[e+3]]+"-"+t[o[e+4]]+t[o[e+5]]+"-"+t[o[e+6]]+t[o[e+7]]+"-"+t[o[e+8]]+t[o[e+9]]+"-"+t[o[e+10]]+t[o[e+11]]+t[o[e+12]]+t[o[e+13]]+t[o[e+14]]+t[o[e+15]]).toLowerCase()}export{o as unsafeStringify};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import r from"./native.js";import n from"./rng.js";import{unsafeStringify as t}from"./stringify.js";function o(o,m,e){if(r.randomUUID&&!o)return r.randomUUID();const i=(o=o||{}).random??o.rng?.()??n();if(i.length<16)throw new Error("Random bytes length must be >= 16");return i[6]=15&i[6]|64,i[8]=63&i[8]|128,t(i)}export{o as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var o={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};module.exports=o;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";let t;const e=new Uint8Array(16);module.exports=function(){if(!t){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(e)};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=[];for(let e=0;e<256;++e)t.push((e+256).toString(16).slice(1));exports.unsafeStringify=function(e,r=0){return(t[e[r+0]]+t[e[r+1]]+t[e[r+2]]+t[e[r+3]]+"-"+t[e[r+4]]+t[e[r+5]]+"-"+t[e[r+6]]+t[e[r+7]]+"-"+t[e[r+8]]+t[e[r+9]]+"-"+t[e[r+10]]+t[e[r+11]]+t[e[r+12]]+t[e[r+13]]+t[e[r+14]]+t[e[r+15]]).toLowerCase()};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var r=require("./native.js"),e=require("./rng.js"),n=require("./stringify.js");module.exports=function(t,i,s){if(r.randomUUID&&!t)return r.randomUUID();const o=(t=t||{}).random??t.rng?.()??e();if(o.length<16)throw new Error("Random bytes length must be >= 16");return o[6]=15&o[6]|64,o[8]=63&o[8]|128,n.unsafeStringify(o)};
|