@descope/web-components-ui 1.106.0 → 1.107.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.
Files changed (32) hide show
  1. package/dist/cjs/index.cjs.js +27 -27
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +656 -656
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/umd/DescopeDev.js +1 -1
  6. package/dist/umd/DescopeDev.js.map +1 -1
  7. package/dist/umd/descope-alert-index-js.js +1 -1
  8. package/dist/umd/descope-alert-index-js.js.map +1 -1
  9. package/dist/umd/descope-enriched-text.js +2 -0
  10. package/dist/umd/descope-enriched-text.js.map +1 -0
  11. package/dist/umd/descope-link.js +2 -0
  12. package/dist/umd/descope-link.js.map +1 -0
  13. package/dist/umd/index.js +1 -1
  14. package/dist/umd/index.js.map +1 -1
  15. package/package.json +4 -3
  16. package/src/components/descope-alert/AlertClass.js +1 -1
  17. package/src/components/descope-alert/index.js +1 -1
  18. package/src/index.cjs.js +0 -2
  19. package/src/index.js +0 -2
  20. package/src/theme/components/index.js +2 -2
  21. package/dist/umd/descope-enriched-text-index-js.js +0 -2
  22. package/dist/umd/descope-enriched-text-index-js.js.map +0 -1
  23. package/dist/umd/descope-link-index-js.js +0 -2
  24. package/dist/umd/descope-link-index-js.js.map +0 -1
  25. package/src/components/descope-enriched-text/EnrichedTextClass.js +0 -209
  26. package/src/components/descope-enriched-text/consts.js +0 -14
  27. package/src/components/descope-enriched-text/helpers.js +0 -5
  28. package/src/components/descope-enriched-text/index.js +0 -5
  29. package/src/components/descope-link/LinkClass.js +0 -76
  30. package/src/components/descope-link/index.js +0 -6
  31. package/src/theme/components/enrichedText.js +0 -40
  32. package/src/theme/components/link.js +0 -36
@@ -6825,9 +6825,9 @@ const decodeHTML = (html) => {
6825
6825
  /* eslint-disable no-param-reassign */
6826
6826
 
6827
6827
 
6828
- const componentName$X = getComponentName$1('enriched-text');
6828
+ const componentName$X = getComponentName('enriched-text');
6829
6829
 
6830
- class EnrichedText extends createBaseClass({ componentName: componentName$X, baseSelector: ':host > div' }) {
6830
+ class EnrichedText extends createBaseClass$1({ componentName: componentName$X, baseSelector: ':host > div' }) {
6831
6831
  #origLinkRenderer;
6832
6832
 
6833
6833
  #origEmRenderer;
@@ -6879,7 +6879,7 @@ class EnrichedText extends createBaseClass({ componentName: componentName$X, bas
6879
6879
 
6880
6880
  this.#initProcessor();
6881
6881
 
6882
- observeChildren$1(this, this.#parseChildren.bind(this));
6882
+ observeChildren(this, this.#parseChildren.bind(this));
6883
6883
  }
6884
6884
 
6885
6885
  static get observedAttributes() {
@@ -6995,8 +6995,8 @@ class EnrichedText extends createBaseClass({ componentName: componentName$X, bas
6995
6995
  }
6996
6996
  }
6997
6997
 
6998
- const EnrichedTextClass = compose$1(
6999
- createStyleMixin({
6998
+ const EnrichedTextClass = compose(
6999
+ createStyleMixin$1({
7000
7000
  mappings: {
7001
7001
  hostWidth: { selector: () => ':host', property: 'width' },
7002
7002
  hostDisplay: { selector: () => ':host', property: 'display', fallback: 'inline-block' },
@@ -7018,15 +7018,15 @@ const EnrichedTextClass = compose$1(
7018
7018
  minWidth: {},
7019
7019
  },
7020
7020
  }),
7021
- createStyleMixin({ componentNameOverride: getComponentName$1('link') }),
7022
- createStyleMixin({ componentNameOverride: getComponentName$1('text') }),
7023
- draggableMixin,
7024
- componentNameValidationMixin
7021
+ createStyleMixin$1({ componentNameOverride: getComponentName('link') }),
7022
+ createStyleMixin$1({ componentNameOverride: getComponentName('text') }),
7023
+ draggableMixin$1,
7024
+ componentNameValidationMixin$1
7025
7025
  )(EnrichedText);
7026
7026
 
7027
- const componentName$W = getComponentName$1('link');
7027
+ const componentName$W = getComponentName('link');
7028
7028
 
7029
- class RawLink extends createBaseClass({ componentName: componentName$W, baseSelector: ':host a' }) {
7029
+ class RawLink extends createBaseClass$1({ componentName: componentName$W, baseSelector: ':host a' }) {
7030
7030
  constructor() {
7031
7031
  super();
7032
7032
 
@@ -7053,14 +7053,14 @@ class RawLink extends createBaseClass({ componentName: componentName$W, baseSele
7053
7053
  this
7054
7054
  );
7055
7055
 
7056
- forwardAttrs$1(this, this.shadowRoot.querySelector('a'), {
7056
+ forwardAttrs(this, this.shadowRoot.querySelector('a'), {
7057
7057
  includeAttrs: ['href', 'target', 'tooltip'],
7058
7058
  mapAttrs: {
7059
7059
  tooltip: 'title',
7060
7060
  },
7061
7061
  });
7062
7062
 
7063
- forwardAttrs$1(this, this.shadowRoot.querySelector('descope-text'), {
7063
+ forwardAttrs(this, this.shadowRoot.querySelector('descope-text'), {
7064
7064
  includeAttrs: ['mode', 'variant'],
7065
7065
  });
7066
7066
  }
@@ -7076,8 +7076,8 @@ const selectors$3 = {
7076
7076
 
7077
7077
  const { anchor, text: text$2, host: host$n, wrapper: wrapper$1, link: link$3 } = selectors$3;
7078
7078
 
7079
- const LinkClass = compose$1(
7080
- createStyleMixin({
7079
+ const LinkClass = compose(
7080
+ createStyleMixin$1({
7081
7081
  mappings: {
7082
7082
  hostWidth: { ...host$n, property: 'width' },
7083
7083
  hostDirection: { ...text$2, property: 'direction' },
@@ -7090,11 +7090,11 @@ const LinkClass = compose$1(
7090
7090
  cursor: anchor,
7091
7091
  },
7092
7092
  }),
7093
- draggableMixin,
7094
- componentNameValidationMixin
7093
+ draggableMixin$1,
7094
+ componentNameValidationMixin$1
7095
7095
  )(RawLink);
7096
7096
 
7097
- const globalRefs$z = getThemeRefs(globals$1);
7097
+ const globalRefs$z = getThemeRefs$1(globals);
7098
7098
  const vars$N = LinkClass.cssVarList;
7099
7099
 
7100
7100
  const link$1 = {
@@ -7130,22 +7130,22 @@ var link$2 = /*#__PURE__*/Object.freeze({
7130
7130
  vars: vars$N
7131
7131
  });
7132
7132
 
7133
- const globalRefs$y = getThemeRefs(globals$1);
7133
+ const globalRefs$y = getThemeRefs$1(globals);
7134
7134
  const vars$M = EnrichedTextClass.cssVarList;
7135
7135
 
7136
7136
  const enrichedText = {
7137
7137
  [vars$M.hostDirection]: globalRefs$y.direction,
7138
- [vars$M.hostWidth]: useVar(vars$O.hostWidth),
7138
+ [vars$M.hostWidth]: useVar$1(vars$O.hostWidth),
7139
7139
 
7140
- [vars$M.textLineHeight]: useVar(vars$O.textLineHeight),
7141
- [vars$M.textColor]: useVar(vars$O.textColor),
7142
- [vars$M.textAlign]: useVar(vars$O.textAlign),
7140
+ [vars$M.textLineHeight]: useVar$1(vars$O.textLineHeight),
7141
+ [vars$M.textColor]: useVar$1(vars$O.textColor),
7142
+ [vars$M.textAlign]: useVar$1(vars$O.textAlign),
7143
7143
 
7144
- [vars$M.fontSize]: useVar(vars$O.fontSize),
7145
- [vars$M.fontWeight]: useVar(vars$O.fontWeight),
7146
- [vars$M.fontFamily]: useVar(vars$O.fontFamily),
7144
+ [vars$M.fontSize]: useVar$1(vars$O.fontSize),
7145
+ [vars$M.fontWeight]: useVar$1(vars$O.fontWeight),
7146
+ [vars$M.fontFamily]: useVar$1(vars$O.fontFamily),
7147
7147
 
7148
- [vars$M.linkColor]: useVar(vars$N.textColor),
7148
+ [vars$M.linkColor]: useVar$1(vars$N.textColor),
7149
7149
  [vars$M.linkTextDecoration]: 'none',
7150
7150
  [vars$M.linkHoverTextDecoration]: 'underline',
7151
7151