@descope/web-components-ui 1.0.161 → 1.0.162

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/web-components-ui",
3
- "version": "1.0.161",
3
+ "version": "1.0.162",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -6,9 +6,9 @@ import {
6
6
  import { createHelperVars, getThemeRefs } from '../../../helpers/themeHelpers';
7
7
 
8
8
  const globalRefs = getThemeRefs(globals);
9
- const vars = LoaderRadialClass.cssVarList;
9
+ const compVars = LoaderRadialClass.cssVarList;
10
10
 
11
- const [helperTheme, helperRefs] = createHelperVars(
11
+ const [helperTheme, helperRefs, helperVars] = createHelperVars(
12
12
  {
13
13
  spinnerColor: globalRefs.colors.surface.contrast,
14
14
  mode: {
@@ -26,29 +26,32 @@ const [helperTheme, helperRefs] = createHelperVars(
26
26
  const loaderRadial = {
27
27
  ...helperTheme,
28
28
 
29
- [vars.animationDuration]: '2s',
30
- [vars.animationTimingFunction]: 'linear',
31
- [vars.animationIterationCount]: 'infinite',
32
- [vars.spinnerBorderStyle]: 'solid',
33
- [vars.spinnerBorderWidth]: '0.2em',
34
- [vars.spinnerBorderRadius]: '50%',
35
- [vars.spinnerQuadrant1Color]: helperRefs.spinnerColor,
36
- [vars.spinnerQuadrant2Color]: 'transparent',
37
- [vars.spinnerQuadrant3Color]: helperRefs.spinnerColor,
38
- [vars.spinnerQuadrant4Color]: 'transparent',
29
+ [compVars.animationDuration]: '2s',
30
+ [compVars.animationTimingFunction]: 'linear',
31
+ [compVars.animationIterationCount]: 'infinite',
32
+ [compVars.spinnerBorderStyle]: 'solid',
33
+ [compVars.spinnerBorderWidth]: '0.2em',
34
+ [compVars.spinnerBorderRadius]: '50%',
35
+ [compVars.spinnerQuadrant1Color]: helperRefs.spinnerColor,
36
+ [compVars.spinnerQuadrant2Color]: 'transparent',
37
+ [compVars.spinnerQuadrant3Color]: helperRefs.spinnerColor,
38
+ [compVars.spinnerQuadrant4Color]: 'transparent',
39
39
 
40
40
  size: {
41
- xs: { [vars.spinnerSize]: '20px' },
42
- sm: { [vars.spinnerSize]: '30px' },
43
- md: { [vars.spinnerSize]: '40px' },
44
- lg: { [vars.spinnerSize]: '60px' },
45
- xl: { [vars.spinnerSize]: '80px' },
41
+ xs: { [compVars.spinnerSize]: '20px' },
42
+ sm: { [compVars.spinnerSize]: '30px' },
43
+ md: { [compVars.spinnerSize]: '40px' },
44
+ lg: { [compVars.spinnerSize]: '60px' },
45
+ xl: { [compVars.spinnerSize]: '80px' },
46
46
  },
47
47
 
48
48
  _hidden: {
49
- [vars.hostDisplay]: 'none',
49
+ [compVars.hostDisplay]: 'none',
50
50
  },
51
51
  };
52
52
 
53
53
  export default loaderRadial;
54
- export { vars };
54
+ export const vars = {
55
+ ...compVars,
56
+ ...helperVars,
57
+ };