@descope/web-components-ui 1.0.233 → 1.0.235

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. package/dist/cjs/index.cjs.js +133 -15
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +212 -84
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/umd/{4513.js → 1721.js} +1 -1
  6. package/dist/umd/2481.js +1 -1
  7. package/dist/umd/3003.js +1 -1
  8. package/dist/umd/3092.js +23 -18
  9. package/dist/umd/322.js +90 -0
  10. package/dist/umd/4201.js +1 -1
  11. package/dist/umd/4226.js +1 -1
  12. package/dist/umd/4447.js +1 -2
  13. package/dist/umd/4803.js +1 -1
  14. package/dist/umd/5345.js +1 -1
  15. package/dist/umd/5517.js +2 -0
  16. package/dist/umd/5806.js +3 -3
  17. package/dist/umd/5977.js +18 -13
  18. package/dist/umd/6091.js +1 -1
  19. package/dist/umd/6542.js +22 -22
  20. package/dist/umd/6770.js +2 -2
  21. package/dist/umd/7531.js +77 -6
  22. package/dist/umd/849.js +744 -0
  23. package/dist/umd/849.js.LICENSE.txt +11 -0
  24. package/dist/umd/8623.js +2 -0
  25. package/dist/umd/8725.js +2 -2
  26. package/dist/umd/{1990.js → 9092.js} +21 -17
  27. package/dist/umd/9211.js +33 -19
  28. package/dist/umd/{7514.js → 9558.js} +128 -110
  29. package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -1
  30. package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
  31. package/dist/umd/descope-button-index-js.js +1 -1
  32. package/dist/umd/descope-button-selection-group-descope-button-selection-group-item-index-js.js +1 -1
  33. package/dist/umd/descope-button-selection-group-index-js.js +1 -1
  34. package/dist/umd/descope-combo-box-index-js.js +1 -1
  35. package/dist/umd/descope-date-picker-index-js.js +1 -1
  36. package/dist/umd/descope-divider-index-js.js +1 -1
  37. package/dist/umd/descope-email-field-index-js.js +1 -1
  38. package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +1 -1
  39. package/dist/umd/descope-grid-descope-grid-status-column-index-js.js +1 -1
  40. package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +1 -1
  41. package/dist/umd/descope-grid-index-js.js +1 -1
  42. package/dist/umd/descope-link-index-js.js +1 -1
  43. package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
  44. package/dist/umd/descope-number-field-index-js.js +1 -1
  45. package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -1
  46. package/dist/umd/descope-passcode-index-js.js +1 -1
  47. package/dist/umd/descope-text-area-index-js.js +1 -1
  48. package/dist/umd/descope-text-field-index-js.js +1 -1
  49. package/dist/umd/descope-text-index-js.js +1 -1
  50. package/dist/umd/descope-upload-file-index-js.js +1 -1
  51. package/dist/umd/index.js +1 -1
  52. package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
  53. package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
  54. package/package.json +14 -13
  55. package/src/components/boolean-fields/commonStyles.js +1 -1
  56. package/src/components/boolean-fields/descope-checkbox/CheckboxClass.js +7 -2
  57. package/src/components/boolean-fields/descope-switch-toggle/SwitchToggleClass.js +6 -1
  58. package/src/components/descope-button/ButtonClass.js +5 -1
  59. package/src/components/descope-button-selection-group/ButtonSelectionGroupClass.js +3 -0
  60. package/src/components/descope-button-selection-group/descope-button-selection-group-item/ButtonSelectionGroupItemClass.js +4 -0
  61. package/src/components/descope-combo-box/ComboBoxClass.js +14 -0
  62. package/src/components/descope-divider/DividerClass.js +4 -0
  63. package/src/components/descope-email-field/EmailFieldClass.js +3 -1
  64. package/src/components/descope-link/LinkClass.js +1 -0
  65. package/src/components/descope-new-password/NewPasswordClass.js +10 -2
  66. package/src/components/descope-new-password/descope-new-password-internal/NewPasswordInternal.js +6 -1
  67. package/src/components/descope-number-field/NumberFieldClass.js +2 -0
  68. package/src/components/descope-passcode/PasscodeClass.js +3 -0
  69. package/src/components/descope-passcode/descope-passcode-internal/PasscodeInternal.js +5 -0
  70. package/src/components/descope-password/PasswordClass.js +8 -2
  71. package/src/components/descope-text/TextClass.js +1 -0
  72. package/src/components/descope-text-area/TextAreaClass.js +4 -1
  73. package/src/components/descope-text-field/TextFieldClass.js +3 -1
  74. package/src/components/descope-text-field/textFieldMappings.js +1 -0
  75. package/src/components/descope-upload-file/UploadFileClass.js +6 -0
  76. package/src/components/phone-fields/descope-phone-field/PhoneFieldClass.js +4 -2
  77. package/src/components/phone-fields/descope-phone-input-box-field/PhoneFieldInputBoxClass.js +4 -2
  78. package/src/helpers/themeHelpers/resetHelpers.js +28 -0
  79. package/src/theme/components/button.js +1 -0
  80. package/src/theme/components/buttonSelectionGroup/buttonSelectionGroup.js +1 -0
  81. package/src/theme/components/buttonSelectionGroup/buttonSelectionGroupItem.js +1 -0
  82. package/src/theme/components/checkbox.js +1 -0
  83. package/src/theme/components/comboBox.js +3 -0
  84. package/src/theme/components/divider.js +2 -0
  85. package/src/theme/components/emailField.js +1 -0
  86. package/src/theme/components/inputWrapper.js +2 -0
  87. package/src/theme/components/link.js +1 -0
  88. package/src/theme/components/newPassword.js +1 -0
  89. package/src/theme/components/numberField.js +1 -0
  90. package/src/theme/components/passcode.js +1 -0
  91. package/src/theme/components/password.js +1 -0
  92. package/src/theme/components/phoneField.js +1 -0
  93. package/src/theme/components/phoneInputBoxField.js +1 -0
  94. package/src/theme/components/switchToggle.js +1 -0
  95. package/src/theme/components/text.js +1 -0
  96. package/src/theme/components/textArea.js +1 -0
  97. package/src/theme/components/textField.js +1 -0
  98. package/src/theme/components/uploadFile.js +1 -0
  99. package/src/theme/globals.js +3 -0
  100. package/dist/umd/2873.js +0 -738
  101. package/dist/umd/2873.js.LICENSE.txt +0 -21
  102. package/dist/umd/446.js +0 -92
  103. package/dist/umd/729.js +0 -1
  104. package/dist/umd/9629.js +0 -2
  105. package/dist/umd/9671.js +0 -1
  106. /package/dist/umd/{4447.js.LICENSE.txt → 322.js.LICENSE.txt} +0 -0
  107. /package/dist/umd/{446.js.LICENSE.txt → 5517.js.LICENSE.txt} +0 -0
  108. /package/dist/umd/{9629.js.LICENSE.txt → 8623.js.LICENSE.txt} +0 -0
  109. /package/dist/umd/{1990.js.LICENSE.txt → 9092.js.LICENSE.txt} +0 -0
  110. /package/dist/umd/{7514.js.LICENSE.txt → 9558.js.LICENSE.txt} +0 -0
@@ -6,6 +6,7 @@ const vars = PhoneFieldInputBoxClass.cssVarList;
6
6
  const phoneInputBoxField = {
7
7
  [vars.hostWidth]: '16em',
8
8
  [vars.hostMinWidth]: refs.minWidth,
9
+ [vars.hostDirection]: refs.direction,
9
10
  [vars.fontSize]: refs.fontSize,
10
11
  [vars.fontFamily]: refs.fontFamily,
11
12
  [vars.labelTextColor]: refs.labelTextColor,
@@ -11,6 +11,7 @@ const vars = SwitchToggleClass.cssVarList;
11
11
 
12
12
  const switchToggle = {
13
13
  [vars.hostWidth]: refs.width,
14
+ [vars.hostDirection]: refs.direction,
14
15
  [vars.fontSize]: refs.fontSize,
15
16
  [vars.fontFamily]: refs.fontFamily,
16
17
 
@@ -6,6 +6,7 @@ const globalRefs = getThemeRefs(globals);
6
6
  const vars = TextClass.cssVarList;
7
7
 
8
8
  const text = {
9
+ [vars.hostDirection]: globalRefs.direction,
9
10
  [vars.textLineHeight]: '1.35em',
10
11
  [vars.textAlign]: 'left',
11
12
  [vars.textColor]: globalRefs.colors.surface.dark,
@@ -9,6 +9,7 @@ const vars = TextAreaClass.cssVarList;
9
9
  const textArea = {
10
10
  [vars.hostWidth]: refs.width,
11
11
  [vars.hostMinWidth]: refs.minWidth,
12
+ [vars.hostDirection]: refs.direction,
12
13
  [vars.fontSize]: refs.fontSize,
13
14
  [vars.fontFamily]: refs.fontFamily,
14
15
  [vars.labelTextColor]: refs.labelTextColor,
@@ -6,6 +6,7 @@ const vars = TextFieldClass.cssVarList;
6
6
  export const textField = {
7
7
  [vars.hostWidth]: refs.width,
8
8
  [vars.hostMinWidth]: refs.minWidth,
9
+ [vars.hostDirection]: refs.direction,
9
10
  [vars.fontSize]: refs.fontSize,
10
11
  [vars.fontFamily]: refs.fontFamily,
11
12
  [vars.labelTextColor]: refs.labelTextColor,
@@ -4,6 +4,7 @@ import { refs } from './inputWrapper';
4
4
  const vars = UploadFileClass.cssVarList;
5
5
 
6
6
  const uploadFile = {
7
+ [vars.hostDirection]: refs.direction,
7
8
  [vars.labelTextColor]: refs.labelTextColor,
8
9
  [vars.fontFamily]: refs.fontFamily,
9
10
 
@@ -1,6 +1,8 @@
1
1
  import { getThemeRefs, getThemeVars } from '../helpers/themeHelpers';
2
2
  import { genColors } from '../helpers/themeHelpers/colorsHelpers';
3
3
 
4
+ const direction = 'ltr';
5
+
4
6
  export const colors = genColors({
5
7
  surface: {
6
8
  main: 'lightgray',
@@ -146,6 +148,7 @@ const globals = {
146
148
  radius,
147
149
  shadow,
148
150
  fonts,
151
+ direction,
149
152
  };
150
153
 
151
154
  export default globals;