@oat-sa/tao-core-ui 1.49.2 → 1.49.6

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 (185) hide show
  1. package/dist/animable/absorbable/css/absorb.css +1 -0
  2. package/dist/animable/pulsable/css/pulse.css +1 -0
  3. package/dist/autocomplete/css/autocomplete.css +1 -0
  4. package/dist/badge/css/badge.css +1 -0
  5. package/dist/breadcrumbs/css/breadcrumbs.css +1 -0
  6. package/dist/bulkActionPopup/css/bulkActionPopup.css +1 -0
  7. package/dist/calculator/css/calculator.css +1 -0
  8. package/dist/class/css/selector.css +1 -0
  9. package/dist/component/css/components.css +1 -0
  10. package/dist/component/css/windowComponent.css +1 -0
  11. package/dist/contextualPopup/css/contextualPopup.css +1 -0
  12. package/dist/dashboard/css/dashboard.css +1 -0
  13. package/dist/datalist/css/datalist.css +1 -0
  14. package/dist/datatable/css/datatable.css +1 -0
  15. package/dist/dateRange/css/dateRange.css +1 -0
  16. package/dist/datetime/css/picker.css +1 -0
  17. package/dist/destination/css/selector.css +1 -0
  18. package/dist/documentViewer/css/documentViewer.css +1 -0
  19. package/dist/dropdown/css/dropdown.css +1 -0
  20. package/dist/dynamicComponent/css/dynamicComponent.css +1 -0
  21. package/dist/form/css/dropdownForm.css +1 -0
  22. package/dist/form/css/form.css +1 -0
  23. package/dist/form/validator/css/validator.css +1 -0
  24. package/dist/form/widget/css/widget.css +1 -0
  25. package/dist/generis/form/css/form.css +1 -0
  26. package/dist/generis/validator/css/validator.css +1 -0
  27. package/dist/generis/widget/css/widget.css +1 -0
  28. package/dist/image/ImgStateActive/initHelper.js +1 -1
  29. package/dist/image/ImgStateActive.js +1 -1
  30. package/dist/itemButtonList/css/item-button-list.css +1 -0
  31. package/dist/listbox/css/listbox.css +1 -0
  32. package/dist/loadingButton/css/button.css +1 -0
  33. package/dist/maths/calculator/css/calculator.css +1 -0
  34. package/dist/mediaplayer/css/player.css +1 -0
  35. package/dist/pagination/css/pagination.css +1 -0
  36. package/dist/resource/css/selector.css +1 -0
  37. package/dist/resourcemgr/css/resourcemgr.css +1 -0
  38. package/dist/searchModal/advancedSearch.js +3 -3
  39. package/dist/searchModal/css/advancedSearch.css +1 -0
  40. package/dist/searchModal/css/searchModal.css +1 -0
  41. package/dist/searchModal.js +3 -1
  42. package/dist/switch/css/switch.css +1 -0
  43. package/dist/tabs/css/tabs.css +1 -0
  44. package/dist/taskQueue/css/taskQueue.css +1 -0
  45. package/dist/taskQueueButton/css/taskable.css +1 -0
  46. package/dist/taskQueueButton/css/treeButton.css +1 -0
  47. package/dist/tristateCheckboxGroup/css/tristateCheckboxGroup.css +1 -0
  48. package/dist/waitingDialog/css/waitingDialog.css +1 -0
  49. package/package.json +2 -2
  50. package/scss/inc/_forms.scss +2 -3
  51. package/scss/inc/_functions.scss +11 -0
  52. package/scss/inc/_grid.scss +1 -1
  53. package/src/animable/absorbable/css/absorb.css +1 -0
  54. package/src/animable/pulsable/css/pulse.css +1 -0
  55. package/src/autocomplete/css/autocomplete.css +1 -0
  56. package/src/badge/css/badge.css +1 -0
  57. package/src/breadcrumbs/css/breadcrumbs.css +1 -0
  58. package/src/bulkActionPopup/css/bulkActionPopup.css +1 -0
  59. package/src/calculator/css/calculator.css +1 -0
  60. package/src/class/css/selector.css +1 -0
  61. package/src/component/css/components.css +1 -0
  62. package/src/component/css/windowComponent.css +1 -0
  63. package/src/contextualPopup/css/contextualPopup.css +1 -0
  64. package/src/dashboard/css/dashboard.css +1 -0
  65. package/src/datalist/css/datalist.css +1 -0
  66. package/src/datatable/css/datatable.css +1 -0
  67. package/src/dateRange/css/dateRange.css +1 -0
  68. package/src/datetime/css/picker.css +1 -0
  69. package/src/destination/css/selector.css +1 -0
  70. package/src/documentViewer/css/documentViewer.css +1 -0
  71. package/src/dropdown/css/dropdown.css +1 -0
  72. package/src/dynamicComponent/css/dynamicComponent.css +1 -0
  73. package/src/form/css/dropdownForm.css +1 -0
  74. package/src/form/css/form.css +1 -0
  75. package/src/form/validator/css/validator.css +1 -0
  76. package/src/form/widget/css/widget.css +1 -0
  77. package/src/generis/form/css/form.css +1 -0
  78. package/src/generis/validator/css/validator.css +1 -0
  79. package/src/generis/widget/css/widget.css +1 -0
  80. package/src/image/ImgStateActive/initHelper.js +1 -1
  81. package/src/itemButtonList/css/item-button-list.css +1 -0
  82. package/src/listbox/css/listbox.css +1 -0
  83. package/src/loadingButton/css/button.css +1 -0
  84. package/src/maths/calculator/css/calculator.css +1 -0
  85. package/src/mediaplayer/css/player.css +1 -0
  86. package/src/pagination/css/pagination.css +1 -0
  87. package/src/resource/css/selector.css +1 -0
  88. package/src/resourcemgr/css/resourcemgr.css +1 -0
  89. package/src/searchModal/advancedSearch.js +2 -2
  90. package/src/searchModal/css/advancedSearch.css +1 -0
  91. package/src/searchModal/css/searchModal.css +1 -0
  92. package/src/searchModal.js +3 -1
  93. package/src/switch/css/switch.css +1 -0
  94. package/src/tabs/css/tabs.css +1 -0
  95. package/src/taskQueue/css/taskQueue.css +1 -0
  96. package/src/taskQueueButton/css/taskable.css +1 -0
  97. package/src/taskQueueButton/css/treeButton.css +1 -0
  98. package/src/tristateCheckboxGroup/css/tristateCheckboxGroup.css +1 -0
  99. package/src/waitingDialog/css/waitingDialog.css +1 -0
  100. package/dist/animable/absorbable/css/absorb.css.map +0 -1
  101. package/dist/animable/pulsable/css/pulse.css.map +0 -1
  102. package/dist/autocomplete/css/autocomplete.css.map +0 -1
  103. package/dist/badge/css/badge.css.map +0 -1
  104. package/dist/breadcrumbs/css/breadcrumbs.css.map +0 -1
  105. package/dist/bulkActionPopup/css/bulkActionPopup.css.map +0 -1
  106. package/dist/calculator/css/calculator.css.map +0 -1
  107. package/dist/class/css/selector.css.map +0 -1
  108. package/dist/component/css/components.css.map +0 -1
  109. package/dist/component/css/windowComponent.css.map +0 -1
  110. package/dist/contextualPopup/css/contextualPopup.css.map +0 -1
  111. package/dist/dashboard/css/dashboard.css.map +0 -1
  112. package/dist/datalist/css/datalist.css.map +0 -1
  113. package/dist/datatable/css/datatable.css.map +0 -1
  114. package/dist/dateRange/css/dateRange.css.map +0 -1
  115. package/dist/datetime/css/picker.css.map +0 -1
  116. package/dist/destination/css/selector.css.map +0 -1
  117. package/dist/documentViewer/css/documentViewer.css.map +0 -1
  118. package/dist/dropdown/css/dropdown.css.map +0 -1
  119. package/dist/dynamicComponent/css/dynamicComponent.css.map +0 -1
  120. package/dist/form/css/dropdownForm.css.map +0 -1
  121. package/dist/form/css/form.css.map +0 -1
  122. package/dist/form/validator/css/validator.css.map +0 -1
  123. package/dist/form/widget/css/widget.css.map +0 -1
  124. package/dist/generis/form/css/form.css.map +0 -1
  125. package/dist/generis/validator/css/validator.css.map +0 -1
  126. package/dist/generis/widget/css/widget.css.map +0 -1
  127. package/dist/listbox/css/listbox.css.map +0 -1
  128. package/dist/loadingButton/css/button.css.map +0 -1
  129. package/dist/maths/calculator/css/calculator.css.map +0 -1
  130. package/dist/mediaplayer/css/player.css.map +0 -1
  131. package/dist/pagination/css/pagination.css.map +0 -1
  132. package/dist/resource/css/selector.css.map +0 -1
  133. package/dist/resourcemgr/css/resourcemgr.css.map +0 -1
  134. package/dist/searchModal/css/advancedSearch.css.map +0 -1
  135. package/dist/searchModal/css/searchModal.css.map +0 -1
  136. package/dist/switch/css/switch.css.map +0 -1
  137. package/dist/tabs/css/tabs.css.map +0 -1
  138. package/dist/taskQueue/css/taskQueue.css.map +0 -1
  139. package/dist/taskQueueButton/css/taskable.css.map +0 -1
  140. package/dist/taskQueueButton/css/treeButton.css.map +0 -1
  141. package/dist/tristateCheckboxGroup/css/tristateCheckboxGroup.css.map +0 -1
  142. package/dist/waitingDialog/css/waitingDialog.css.map +0 -1
  143. package/src/animable/absorbable/css/absorb.css.map +0 -1
  144. package/src/animable/pulsable/css/pulse.css.map +0 -1
  145. package/src/autocomplete/css/autocomplete.css.map +0 -1
  146. package/src/badge/css/badge.css.map +0 -1
  147. package/src/breadcrumbs/css/breadcrumbs.css.map +0 -1
  148. package/src/bulkActionPopup/css/bulkActionPopup.css.map +0 -1
  149. package/src/calculator/css/calculator.css.map +0 -1
  150. package/src/class/css/selector.css.map +0 -1
  151. package/src/component/css/components.css.map +0 -1
  152. package/src/component/css/windowComponent.css.map +0 -1
  153. package/src/contextualPopup/css/contextualPopup.css.map +0 -1
  154. package/src/dashboard/css/dashboard.css.map +0 -1
  155. package/src/datalist/css/datalist.css.map +0 -1
  156. package/src/datatable/css/datatable.css.map +0 -1
  157. package/src/dateRange/css/dateRange.css.map +0 -1
  158. package/src/datetime/css/picker.css.map +0 -1
  159. package/src/destination/css/selector.css.map +0 -1
  160. package/src/documentViewer/css/documentViewer.css.map +0 -1
  161. package/src/dropdown/css/dropdown.css.map +0 -1
  162. package/src/dynamicComponent/css/dynamicComponent.css.map +0 -1
  163. package/src/form/css/dropdownForm.css.map +0 -1
  164. package/src/form/css/form.css.map +0 -1
  165. package/src/form/validator/css/validator.css.map +0 -1
  166. package/src/form/widget/css/widget.css.map +0 -1
  167. package/src/generis/form/css/form.css.map +0 -1
  168. package/src/generis/validator/css/validator.css.map +0 -1
  169. package/src/generis/widget/css/widget.css.map +0 -1
  170. package/src/listbox/css/listbox.css.map +0 -1
  171. package/src/loadingButton/css/button.css.map +0 -1
  172. package/src/maths/calculator/css/calculator.css.map +0 -1
  173. package/src/mediaplayer/css/player.css.map +0 -1
  174. package/src/pagination/css/pagination.css.map +0 -1
  175. package/src/resource/css/selector.css.map +0 -1
  176. package/src/resourcemgr/css/resourcemgr.css.map +0 -1
  177. package/src/searchModal/css/advancedSearch.css.map +0 -1
  178. package/src/searchModal/css/searchModal.css.map +0 -1
  179. package/src/switch/css/switch.css.map +0 -1
  180. package/src/tabs/css/tabs.css.map +0 -1
  181. package/src/taskQueue/css/taskQueue.css.map +0 -1
  182. package/src/taskQueueButton/css/taskable.css.map +0 -1
  183. package/src/taskQueueButton/css/treeButton.css.map +0 -1
  184. package/src/tristateCheckboxGroup/css/tristateCheckboxGroup.css.map +0 -1
  185. package/src/waitingDialog/css/waitingDialog.css.map +0 -1
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .absorbable {
10
11
  z-index: 1;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .pulsable {
10
11
  z-index: 1;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .autocomplete-suggestions {
10
11
  border: 1px solid #ddd;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .badge-component {
10
11
  position: relative;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .breadcrumbs {
10
11
  background-color: #f3f1ef;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .bulk-action-popup {
10
11
  padding-bottom: 20px;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  /* Style for the calculator component */
10
11
  /* font size mixin specific to calculator to use em instead of rem unit */
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .class-selector {
10
11
  padding: 5px;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  /* Style of advanced components */
10
11
  /* toggler */
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .window-component {
10
11
  display: flex;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .contextual-popup {
10
11
  position: absolute;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .readiness-dashboard-container .dashboard-header {
10
11
  margin-bottom: 25px;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .datalist {
10
11
  max-width: 1024px;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .datatable-wrapper .datatable-header {
10
11
  display: -ms-flex;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .daterange .datetime-picker {
10
11
  display: inline-block;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .datetime-picker {
10
11
  /* flatpickr theme */
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .destination-selector {
10
11
  position: relative;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .document-viewer .pdf-viewer {
10
11
  position: relative;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .dropdown-container {
10
11
  position: relative;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .dynamic-component-container {
10
11
  display: inline-block;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .dropdown-form {
10
11
  position: relative;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .form-component {
10
11
  border: 1px solid #ddd;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .form-validator {
10
11
  color: #ba122b;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .form-widget {
10
11
  margin: 10px 0;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .ui-generis-form {
10
11
  border: 1px solid #ddd;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .ui-generis-validator {
10
11
  color: #ba122b;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .ui-generis-widget {
10
11
  margin: 10px 0px;
@@ -254,7 +254,7 @@ define(['exports', 'jquery', 'lodash', 'i18n', 'core/mimetype', 'ui/mediaEditor/
254
254
  confirmBox = $('.change-alt-modal-feedback', $form);
255
255
  cancel = confirmBox.find('.cancel');
256
256
  save = confirmBox.find('.save');
257
- $('.alt-text', confirmBox).html("\"".concat($alt.val(), "\"<br>with<br>\"").concat(alt, "\" ?"));
257
+ $('.alt-text', confirmBox).html("\"".concat($alt.val(), "\"<br>").concat(__('with'), "<br>\"").concat(alt, "\" ?"));
258
258
  confirmBox.modal({
259
259
  width: 500
260
260
  });
@@ -255,7 +255,7 @@ define(['jquery', 'nouislider', 'ui/resourcemgr', 'ui/tooltip', 'lodash', 'modul
255
255
  confirmBox = $('.change-alt-modal-feedback', $form);
256
256
  cancel = confirmBox.find('.cancel');
257
257
  save = confirmBox.find('.save');
258
- $('.alt-text', confirmBox).html("\"".concat($alt.val(), "\"<br>with<br>\"").concat(alt, "\" ?"));
258
+ $('.alt-text', confirmBox).html("\"".concat($alt.val(), "\"<br>").concat(__('with'), "<br>\"").concat(alt, "\" ?"));
259
259
  confirmBox.modal({
260
260
  width: 500
261
261
  });
@@ -22,6 +22,7 @@ Usage:
22
22
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
23
23
  first param - color, second - position. Also you can use px or other valid units for set position.
24
24
  */
25
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
25
26
  /* Do not edit */
26
27
  .buttonlist-items {
27
28
  display: flex;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .listbox {
10
11
  max-width: 1024px;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .loading-button [class^="icon-"], .loading-button [class*=" icon-"] {
10
11
  padding: 0;
@@ -6,6 +6,7 @@ Usage:
6
6
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
7
7
  first param - color, second - position. Also you can use px or other valid units for set position.
8
8
  */
9
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
9
10
  /* Do not edit */
10
11
  /* font size mixin specific to calculator to use em instead of rem unit */
11
12
  .calculator {
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .mediaplayer {
10
11
  position: relative;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .pagination .pages {
10
11
  display: -ms-flex;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .resource-selector {
10
11
  position: relative;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  /* tooltip */
10
11
  .resourcemgr {
@@ -1,8 +1,7 @@
1
- define(['jquery', 'lodash', 'context', 'handlebars', 'i18n', 'lib/dompurify/purify', 'css!ui/searchModal/css/advancedSearch.css', 'ui/component', 'ui/modal', 'ui/datatable', 'select2', 'util/url', 'core/dataProvider/request'], function ($$1, _, context, Handlebars, __, DOMPurify, advancedSearch_css, component, modal, datatable, select2, urlUtil, request) { 'use strict';
1
+ define(['jquery', 'lodash', 'handlebars', 'i18n', 'lib/dompurify/purify', 'css!ui/searchModal/css/advancedSearch.css', 'ui/component', 'ui/modal', 'ui/datatable', 'select2', 'util/url', 'core/dataProvider/request'], function ($$1, _, Handlebars, __, DOMPurify, advancedSearch_css, component, modal, datatable, select2, urlUtil, request) { 'use strict';
2
2
 
3
3
  $$1 = $$1 && Object.prototype.hasOwnProperty.call($$1, 'default') ? $$1['default'] : $$1;
4
4
  _ = _ && Object.prototype.hasOwnProperty.call(_, 'default') ? _['default'] : _;
5
- context = context && Object.prototype.hasOwnProperty.call(context, 'default') ? context['default'] : context;
6
5
  Handlebars = Handlebars && Object.prototype.hasOwnProperty.call(Handlebars, 'default') ? Handlebars['default'] : Handlebars;
7
6
  __ = __ && Object.prototype.hasOwnProperty.call(__, 'default') ? __['default'] : __;
8
7
  DOMPurify = DOMPurify && Object.prototype.hasOwnProperty.call(DOMPurify, 'default') ? DOMPurify['default'] : DOMPurify;
@@ -339,6 +338,7 @@ define(['jquery', 'lodash', 'context', 'handlebars', 'i18n', 'lib/dompurify/puri
339
338
  * @param {object} config
340
339
  * @param {object} config.renderTo - DOM element where component will be rendered to
341
340
  * @param {string} config.advancedCriteria - advanced criteria to be set on component creation
341
+ * @param {string} config.rootClassUri - rootClassUri to check for whitelist sections
342
342
  * @returns {advancedSearch}
343
343
  */
344
344
 
@@ -478,7 +478,7 @@ define(['jquery', 'lodash', 'context', 'handlebars', 'i18n', 'lib/dompurify/puri
478
478
  function initAddCriteriaSelector() {
479
479
  var route = urlUtil.route('status', 'AdvancedSearch', 'tao');
480
480
  return request(route).then(function (response) {
481
- if (!response.enabled || context.shownStructure === 'results') {
481
+ if (!response.enabled || response.whitelist.includes(config.rootClassUri)) {
482
482
  isAdvancedSearchStatusEnabled = false;
483
483
  return;
484
484
  }
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .advanced-search-container {
10
11
  flex: 1 1 auto;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .section-container {
10
11
  top: 0 !important;
@@ -246,6 +246,7 @@ define(['jquery', 'lodash', 'i18n', 'context', 'handlebars', 'lib/dompurify/puri
246
246
  var rootClassUri = config.rootClassUri;
247
247
  /**
248
248
  * Creates search modal, inits template selectors, inits search store, and once is created triggers initial search
249
+ * rootClassUri is sent to advancedSearch factory for disabling in whitelisted sections
249
250
  */
250
251
 
251
252
  function renderModal() {
@@ -254,7 +255,8 @@ define(['jquery', 'lodash', 'i18n', 'context', 'handlebars', 'lib/dompurify/puri
254
255
  initUiSelectors();
255
256
  advancedSearch = advancedSearchFactory({
256
257
  renderTo: $$1('.filters-container', $container),
257
- advancedCriteria: instance.config.criterias.advancedCriteria
258
+ advancedCriteria: instance.config.criterias.advancedCriteria,
259
+ rootClassUri: rootClassUri
258
260
  });
259
261
  promises.push(initClassFilter());
260
262
  promises.push(initSearchStore());
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .switch {
10
11
  display: inline-block;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  /** Styles for a group of buttons to be glued together into a tabs-like bar
10
11
  * Intended use:
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .task-queue-status {
10
11
  height: 100%;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  div.task-report-container {
10
11
  width: 100%;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .tree-button-component .spinner-icon {
10
11
  font-size: 17px;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .tristate-checkbox-group li label input:indeterminate[type="checkbox"] ~ .icon-checkbox::before {
10
11
  content: "\e901";
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .modal.has-secondary .message {
10
11
  font-weight: bold;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oat-sa/tao-core-ui",
3
- "version": "1.49.2",
3
+ "version": "1.49.6",
4
4
  "displayName": "TAO Core UI",
5
5
  "description": "UI libraries of TAO",
6
6
  "scripts": {
@@ -51,7 +51,7 @@
51
51
  "@oat-sa/rollup-plugin-wildcard-external": "^0.1.0",
52
52
  "@oat-sa/tao-core-libs": "^0.4.4",
53
53
  "@oat-sa/tao-core-sdk": "^1.8.1",
54
- "@oat-sa/tao-core-shared-libs": "^1.0.4",
54
+ "@oat-sa/tao-core-shared-libs": "^1.0.5",
55
55
  "@oat-sa/tao-qunit-testrunner": "^1.0.3",
56
56
  "async": "^0.2.10",
57
57
  "autoprefixer": "^9.5.1",
@@ -410,11 +410,10 @@ label {
410
410
  left: -1em;
411
411
  }
412
412
  }
413
+
413
414
  input[type="radio"],
414
415
  input[type="checkbox"] {
415
- visibility: hidden;
416
- pointer-events: none;
417
- position: absolute;
416
+ @include visuallyHidden;
418
417
 
419
418
  &:focus ~ [class^="icon-"],
420
419
  &:focus ~ [class*=" icon-"],
@@ -270,3 +270,14 @@ Usage:
270
270
  @mixin disableSelect() {
271
271
  @include vendor-prefix(user-select, none, property);
272
272
  }
273
+
274
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
275
+ @mixin visuallyHidden() {
276
+ position: absolute;
277
+ width: 1px;
278
+ height: 1px;
279
+ overflow: hidden;
280
+ clip: rect(1px, 1px, 1px, 1px);
281
+ margin: 0;
282
+ padding: 0;
283
+ }
@@ -17,7 +17,7 @@
17
17
  overflow-x: hidden;
18
18
  }
19
19
 
20
- .grid-row, .fixed-grid-row {
20
+ .grid-row, .fixed-grid-row, .colrow {
21
21
  @extend .clearfix;
22
22
  width: widthPerc(852, 840);
23
23
  }
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .absorbable {
10
11
  z-index: 1;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .pulsable {
10
11
  z-index: 1;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .autocomplete-suggestions {
10
11
  border: 1px solid #ddd;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .badge-component {
10
11
  position: relative;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .breadcrumbs {
10
11
  background-color: #f3f1ef;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .bulk-action-popup {
10
11
  padding-bottom: 20px;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  /* Style for the calculator component */
10
11
  /* font size mixin specific to calculator to use em instead of rem unit */
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  .class-selector {
10
11
  padding: 5px;
@@ -5,6 +5,7 @@ Usage:
5
5
  - linear-gradient((color1 0%, color2 30%, color3 80%)) - returns linear-gradient with manually distributed colors,
6
6
  first param - color, second - position. Also you can use px or other valid units for set position.
7
7
  */
8
+ /* based on "visually-hidden" mixin in LDS for accessibility goals */
8
9
  /* Do not edit */
9
10
  /* Style of advanced components */
10
11
  /* toggler */