@asgardeo/javascript 0.14.0 → 0.15.0

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/cjs/index.js CHANGED
@@ -3891,11 +3891,13 @@ var lightTheme = {
3891
3891
  error: {
3892
3892
  contrastText: "#d52828",
3893
3893
  dark: "#b71c1c",
3894
+ light: "#fef2f2",
3894
3895
  main: "#d32f2f"
3895
3896
  },
3896
3897
  info: {
3897
3898
  contrastText: "#43aeda",
3898
3899
  dark: "#01579b",
3900
+ light: "#eff6ff",
3899
3901
  main: "#bbebff"
3900
3902
  },
3901
3903
  primary: {
@@ -3906,11 +3908,13 @@ var lightTheme = {
3906
3908
  secondary: {
3907
3909
  contrastText: "#ffffff",
3908
3910
  dark: "#212121",
3911
+ light: "#f3f4f6",
3909
3912
  main: "#424242"
3910
3913
  },
3911
3914
  success: {
3912
3915
  contrastText: "#00a807",
3913
3916
  dark: "#388e3c",
3917
+ light: "#f0fdf4",
3914
3918
  main: "#4caf50"
3915
3919
  },
3916
3920
  text: {
@@ -3921,6 +3925,7 @@ var lightTheme = {
3921
3925
  warning: {
3922
3926
  contrastText: "#be7100",
3923
3927
  dark: "#f57c00",
3928
+ light: "#fffbeb",
3924
3929
  main: "#ff9800"
3925
3930
  }
3926
3931
  },
@@ -4000,11 +4005,13 @@ var darkTheme = {
4000
4005
  error: {
4001
4006
  contrastText: "#d52828",
4002
4007
  dark: "#b71c1c",
4008
+ light: "#2d1515",
4003
4009
  main: "#d32f2f"
4004
4010
  },
4005
4011
  info: {
4006
4012
  contrastText: "#43aeda",
4007
4013
  dark: "#01579b",
4014
+ light: "#0f1f35",
4008
4015
  main: "#bbebff"
4009
4016
  },
4010
4017
  primary: {
@@ -4015,11 +4022,13 @@ var darkTheme = {
4015
4022
  secondary: {
4016
4023
  contrastText: "#ffffff",
4017
4024
  dark: "#212121",
4025
+ light: "#2a2a2a",
4018
4026
  main: "#8b8b8b"
4019
4027
  },
4020
4028
  success: {
4021
4029
  contrastText: "#00a807",
4022
4030
  dark: "#388e3c",
4031
+ light: "#132d1a",
4023
4032
  main: "#4caf50"
4024
4033
  },
4025
4034
  text: {
@@ -4030,6 +4039,7 @@ var darkTheme = {
4030
4039
  warning: {
4031
4040
  contrastText: "#be7100",
4032
4041
  dark: "#f57c00",
4042
+ light: "#2d2310",
4033
4043
  main: "#ff9800"
4034
4044
  }
4035
4045
  },
@@ -4124,6 +4134,9 @@ var toCssVariables = (theme) => {
4124
4134
  if (theme.colors?.secondary?.contrastText) {
4125
4135
  cssVars[`--${prefix}-color-secondary-contrastText`] = theme.colors.secondary.contrastText;
4126
4136
  }
4137
+ if (theme.colors?.secondary?.light) {
4138
+ cssVars[`--${prefix}-color-secondary-light`] = theme.colors.secondary.light;
4139
+ }
4127
4140
  if (theme.colors?.background?.surface) {
4128
4141
  cssVars[`--${prefix}-color-background-surface`] = theme.colors.background.surface;
4129
4142
  }
@@ -4139,24 +4152,36 @@ var toCssVariables = (theme) => {
4139
4152
  if (theme.colors?.error?.contrastText) {
4140
4153
  cssVars[`--${prefix}-color-error-contrastText`] = theme.colors.error.contrastText;
4141
4154
  }
4155
+ if (theme.colors?.error?.light) {
4156
+ cssVars[`--${prefix}-color-error-light`] = theme.colors.error.light;
4157
+ }
4142
4158
  if (theme.colors?.success?.main) {
4143
4159
  cssVars[`--${prefix}-color-success-main`] = theme.colors.success.main;
4144
4160
  }
4145
4161
  if (theme.colors?.success?.contrastText) {
4146
4162
  cssVars[`--${prefix}-color-success-contrastText`] = theme.colors.success.contrastText;
4147
4163
  }
4164
+ if (theme.colors?.success?.light) {
4165
+ cssVars[`--${prefix}-color-success-light`] = theme.colors.success.light;
4166
+ }
4148
4167
  if (theme.colors?.warning?.main) {
4149
4168
  cssVars[`--${prefix}-color-warning-main`] = theme.colors.warning.main;
4150
4169
  }
4151
4170
  if (theme.colors?.warning?.contrastText) {
4152
4171
  cssVars[`--${prefix}-color-warning-contrastText`] = theme.colors.warning.contrastText;
4153
4172
  }
4173
+ if (theme.colors?.warning?.light) {
4174
+ cssVars[`--${prefix}-color-warning-light`] = theme.colors.warning.light;
4175
+ }
4154
4176
  if (theme.colors?.info?.main) {
4155
4177
  cssVars[`--${prefix}-color-info-main`] = theme.colors.info.main;
4156
4178
  }
4157
4179
  if (theme.colors?.info?.contrastText) {
4158
4180
  cssVars[`--${prefix}-color-info-contrastText`] = theme.colors.info.contrastText;
4159
4181
  }
4182
+ if (theme.colors?.info?.light) {
4183
+ cssVars[`--${prefix}-color-info-light`] = theme.colors.info.light;
4184
+ }
4160
4185
  if (theme.colors?.text?.primary) {
4161
4186
  cssVars[`--${prefix}-color-text-primary`] = theme.colors.text.primary;
4162
4187
  }