aril 0.0.3 → 0.0.4

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 (263) hide show
  1. package/README.md +10 -1
  2. package/esm2022/ui/badge/src/badge.component.mjs +8 -8
  3. package/esm2022/ui/button/src/button.component.mjs +3 -4
  4. package/esm2022/ui/button/src/split-button.component.mjs +9 -8
  5. package/esm2022/ui/calendar/src/calendar.component.mjs +55 -33
  6. package/esm2022/ui/checkbox/index.mjs +2 -1
  7. package/esm2022/ui/checkbox/src/check-box.component.mjs +7 -9
  8. package/esm2022/ui/checkbox/src/tri-state-checkbox.component.mjs +24 -0
  9. package/esm2022/ui/confirmPopup/src/confirm-popup.component.mjs +8 -20
  10. package/esm2022/ui/dxField/src/dx-field.component.mjs +4 -1
  11. package/esm2022/ui/field/src/field.component.mjs +1 -1
  12. package/esm2022/ui/fileUpload/src/file-upload.component.mjs +9 -6
  13. package/esm2022/ui/form/index.mjs +2 -1
  14. package/esm2022/ui/form/src/form-submit-button.component.mjs +6 -3
  15. package/esm2022/ui/form/src/form.component.mjs +4 -1
  16. package/esm2022/ui/lib/src/form/form-error-message.component.mjs +5 -1
  17. package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +4 -1
  18. package/esm2022/ui/lib/src/form/form-field-builder.mjs +2 -2
  19. package/esm2022/ui/lib/src/form/form-validation.mjs +1 -1
  20. package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +5 -1
  21. package/esm2022/ui/mask/src/mask.component.mjs +11 -20
  22. package/esm2022/ui/number/src/number.component.mjs +7 -8
  23. package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +10 -24
  24. package/esm2022/ui/panel/src/panel.component.mjs +7 -12
  25. package/esm2022/ui/password/src/password.component.mjs +8 -3
  26. package/esm2022/ui/radioButton/src/radio-button.component.mjs +5 -3
  27. package/esm2022/ui/selectBox/src/select-box.component.mjs +5 -3
  28. package/esm2022/ui/switch/src/switch.component.mjs +10 -5
  29. package/esm2022/ui/table/aril-ui-table.mjs +5 -0
  30. package/esm2022/ui/table/index.mjs +4 -0
  31. package/esm2022/ui/table/src/i18n.mjs +93 -0
  32. package/esm2022/ui/table/src/table-column.component.mjs +35 -0
  33. package/esm2022/ui/table/src/table.component.mjs +78 -0
  34. package/esm2022/ui/tagBox/src/tag-box.component.mjs +8 -3
  35. package/esm2022/ui/text/src/text.component.mjs +26 -9
  36. package/esm2022/ui/textArea/src/text-area.component.mjs +7 -4
  37. package/esm2022/ui/tree/src/tree.component.mjs +4 -13
  38. package/esm2022/ui/treeTable/src/tree-table.component.mjs +18 -11
  39. package/esm2022/ui/value/aril-ui-value.mjs +5 -0
  40. package/esm2022/ui/value/index.mjs +2 -0
  41. package/esm2022/ui/value/src/value.component.mjs +51 -0
  42. package/esm2022/util/lib/src/types.mjs +2 -1
  43. package/esm2022/util/primitive-extensions/src/string.extensions.mjs +7 -1
  44. package/fesm2022/aril-ui-badge.mjs +7 -7
  45. package/fesm2022/aril-ui-badge.mjs.map +1 -1
  46. package/fesm2022/aril-ui-button.mjs +10 -10
  47. package/fesm2022/aril-ui-button.mjs.map +1 -1
  48. package/fesm2022/aril-ui-calendar.mjs +54 -31
  49. package/fesm2022/aril-ui-calendar.mjs.map +1 -1
  50. package/fesm2022/aril-ui-checkbox.mjs +23 -9
  51. package/fesm2022/aril-ui-checkbox.mjs.map +1 -1
  52. package/fesm2022/aril-ui-confirmPopup.mjs +7 -19
  53. package/fesm2022/aril-ui-confirmPopup.mjs.map +1 -1
  54. package/fesm2022/aril-ui-dxField.mjs +3 -0
  55. package/fesm2022/aril-ui-dxField.mjs.map +1 -1
  56. package/fesm2022/aril-ui-field.mjs.map +1 -1
  57. package/fesm2022/aril-ui-fileUpload.mjs +8 -5
  58. package/fesm2022/aril-ui-fileUpload.mjs.map +1 -1
  59. package/fesm2022/aril-ui-form.mjs +10 -2
  60. package/fesm2022/aril-ui-form.mjs.map +1 -1
  61. package/fesm2022/aril-ui-lib.mjs +12 -1
  62. package/fesm2022/aril-ui-lib.mjs.map +1 -1
  63. package/fesm2022/aril-ui-mask.mjs +10 -19
  64. package/fesm2022/aril-ui-mask.mjs.map +1 -1
  65. package/fesm2022/aril-ui-number.mjs +6 -7
  66. package/fesm2022/aril-ui-number.mjs.map +1 -1
  67. package/fesm2022/aril-ui-overlayPanel.mjs +9 -23
  68. package/fesm2022/aril-ui-overlayPanel.mjs.map +1 -1
  69. package/fesm2022/aril-ui-panel.mjs +6 -11
  70. package/fesm2022/aril-ui-panel.mjs.map +1 -1
  71. package/fesm2022/aril-ui-password.mjs +7 -2
  72. package/fesm2022/aril-ui-password.mjs.map +1 -1
  73. package/fesm2022/aril-ui-radioButton.mjs +4 -2
  74. package/fesm2022/aril-ui-radioButton.mjs.map +1 -1
  75. package/fesm2022/aril-ui-selectBox.mjs +4 -2
  76. package/fesm2022/aril-ui-selectBox.mjs.map +1 -1
  77. package/fesm2022/aril-ui-switch.mjs +9 -4
  78. package/fesm2022/aril-ui-switch.mjs.map +1 -1
  79. package/fesm2022/aril-ui-table.mjs +211 -0
  80. package/fesm2022/aril-ui-table.mjs.map +1 -0
  81. package/fesm2022/aril-ui-tagBox.mjs +7 -2
  82. package/fesm2022/aril-ui-tagBox.mjs.map +1 -1
  83. package/fesm2022/aril-ui-text.mjs +25 -8
  84. package/fesm2022/aril-ui-text.mjs.map +1 -1
  85. package/fesm2022/aril-ui-textArea.mjs +6 -3
  86. package/fesm2022/aril-ui-textArea.mjs.map +1 -1
  87. package/fesm2022/aril-ui-tree.mjs +3 -12
  88. package/fesm2022/aril-ui-tree.mjs.map +1 -1
  89. package/fesm2022/aril-ui-treeTable.mjs +17 -10
  90. package/fesm2022/aril-ui-treeTable.mjs.map +1 -1
  91. package/fesm2022/aril-ui-value.mjs +58 -0
  92. package/fesm2022/aril-ui-value.mjs.map +1 -0
  93. package/fesm2022/aril-util-lib.mjs +1 -0
  94. package/fesm2022/aril-util-lib.mjs.map +1 -1
  95. package/fesm2022/aril-util-primitive-extensions.mjs +6 -0
  96. package/fesm2022/aril-util-primitive-extensions.mjs.map +1 -1
  97. package/package.json +22 -13
  98. package/theme/fonts/poppins-v20-latin-500.woff +0 -0
  99. package/theme/fonts/poppins-v20-latin-500.woff2 +0 -0
  100. package/theme/fonts/poppins-v20-latin-600.woff +0 -0
  101. package/theme/fonts/poppins-v20-latin-600.woff2 +0 -0
  102. package/theme/fonts/poppins-v20-latin-700.woff +0 -0
  103. package/theme/fonts/poppins-v20-latin-700.woff2 +0 -0
  104. package/theme/fonts/poppins-v20-latin-regular.woff +0 -0
  105. package/theme/fonts/poppins-v20-latin-regular.woff2 +0 -0
  106. package/theme/images/avatar.png +0 -0
  107. package/theme/styles/layout/_animation.scss +53 -0
  108. package/theme/styles/layout/_breadcrumb.scss +21 -0
  109. package/theme/styles/layout/_config.scss +42 -0
  110. package/theme/styles/layout/_content.scss +3 -0
  111. package/theme/styles/layout/_fonts.scss +36 -0
  112. package/theme/styles/layout/_layout_dark.scss +5 -0
  113. package/theme/styles/layout/_layout_dim.scss +5 -0
  114. package/theme/styles/layout/_layout_light.scss +5 -0
  115. package/theme/styles/layout/_main.scss +28 -0
  116. package/theme/styles/layout/_profile.scss +10 -0
  117. package/theme/styles/layout/_responsive.scss +113 -0
  118. package/theme/styles/layout/_sidebar_drawer.scss +236 -0
  119. package/theme/styles/layout/_sidebar_horizontal.scss +163 -0
  120. package/theme/styles/layout/_sidebar_reveal.scss +203 -0
  121. package/theme/styles/layout/_sidebar_slim.scss +145 -0
  122. package/theme/styles/layout/_sidebar_slim_plus.scss +163 -0
  123. package/theme/styles/layout/_sidebar_vertical.scss +153 -0
  124. package/theme/styles/layout/_topbar.scss +78 -0
  125. package/theme/styles/layout/_typography.scss +63 -0
  126. package/theme/styles/layout/_utils.scss +24 -0
  127. package/theme/styles/layout/layout.scss +24 -0
  128. package/theme/styles/layout/menutheme/_colorscheme.scss +11 -0
  129. package/theme/styles/layout/menutheme/_menutheme.scss +3 -0
  130. package/theme/styles/layout/menutheme/_primarycolor.scss +16 -0
  131. package/theme/styles/layout/menutheme/_transparent.scss +26 -0
  132. package/theme/styles/layout/preloading.scss +84 -0
  133. package/theme/styles/theme/base/_colors.scss +18 -0
  134. package/theme/styles/theme/base/_common.scss +75 -0
  135. package/theme/styles/theme/base/_components.scss +106 -0
  136. package/theme/styles/theme/base/_mixins.scss +337 -0
  137. package/theme/styles/theme/base/components/button/_button.scss +576 -0
  138. package/theme/styles/theme/base/components/button/_speeddial.scss +96 -0
  139. package/theme/styles/theme/base/components/button/_splitbutton.scss +354 -0
  140. package/theme/styles/theme/base/components/data/_carousel.scss +37 -0
  141. package/theme/styles/theme/base/components/data/_datatable.scss +338 -0
  142. package/theme/styles/theme/base/components/data/_dataview.scss +46 -0
  143. package/theme/styles/theme/base/components/data/_filter.scss +138 -0
  144. package/theme/styles/theme/base/components/data/_orderlist.scss +114 -0
  145. package/theme/styles/theme/base/components/data/_organizationchart.scss +50 -0
  146. package/theme/styles/theme/base/components/data/_paginator.scss +92 -0
  147. package/theme/styles/theme/base/components/data/_picklist.scss +114 -0
  148. package/theme/styles/theme/base/components/data/_timeline.scss +38 -0
  149. package/theme/styles/theme/base/components/data/_tree.scss +150 -0
  150. package/theme/styles/theme/base/components/data/_treetable.scss +256 -0
  151. package/theme/styles/theme/base/components/data/_virtualscroller.scss +28 -0
  152. package/theme/styles/theme/base/components/file/_fileupload.scss +64 -0
  153. package/theme/styles/theme/base/components/input/_autocomplete.scss +136 -0
  154. package/theme/styles/theme/base/components/input/_calendar.scss +267 -0
  155. package/theme/styles/theme/base/components/input/_cascadeselect.scss +136 -0
  156. package/theme/styles/theme/base/components/input/_checkbox.scss +94 -0
  157. package/theme/styles/theme/base/components/input/_chips.scss +65 -0
  158. package/theme/styles/theme/base/components/input/_colorpicker.scss +19 -0
  159. package/theme/styles/theme/base/components/input/_dropdown.scss +151 -0
  160. package/theme/styles/theme/base/components/input/_editor.scss +122 -0
  161. package/theme/styles/theme/base/components/input/_inputgroup.scss +75 -0
  162. package/theme/styles/theme/base/components/input/_inputmask.scss +16 -0
  163. package/theme/styles/theme/base/components/input/_inputnumber.scss +28 -0
  164. package/theme/styles/theme/base/components/input/_inputswitch.scss +60 -0
  165. package/theme/styles/theme/base/components/input/_inputtext.scss +100 -0
  166. package/theme/styles/theme/base/components/input/_listbox.scss +97 -0
  167. package/theme/styles/theme/base/components/input/_multiselect.scss +179 -0
  168. package/theme/styles/theme/base/components/input/_password.scss +52 -0
  169. package/theme/styles/theme/base/components/input/_radiobutton.scss +78 -0
  170. package/theme/styles/theme/base/components/input/_rating.scss +60 -0
  171. package/theme/styles/theme/base/components/input/_selectbutton.scss +50 -0
  172. package/theme/styles/theme/base/components/input/_slider.scss +71 -0
  173. package/theme/styles/theme/base/components/input/_togglebutton.scss +48 -0
  174. package/theme/styles/theme/base/components/input/_treeselect.scss +139 -0
  175. package/theme/styles/theme/base/components/menu/_breadcrumb.scss +42 -0
  176. package/theme/styles/theme/base/components/menu/_contextmenu.scss +39 -0
  177. package/theme/styles/theme/base/components/menu/_dock.scss +95 -0
  178. package/theme/styles/theme/base/components/menu/_megamenu.scss +55 -0
  179. package/theme/styles/theme/base/components/menu/_menu.scss +37 -0
  180. package/theme/styles/theme/base/components/menu/_menubar.scss +141 -0
  181. package/theme/styles/theme/base/components/menu/_panelmenu.scss +153 -0
  182. package/theme/styles/theme/base/components/menu/_slidemenu.scss +59 -0
  183. package/theme/styles/theme/base/components/menu/_steps.scss +56 -0
  184. package/theme/styles/theme/base/components/menu/_tabmenu.scss +74 -0
  185. package/theme/styles/theme/base/components/menu/_tieredmenu.scss +43 -0
  186. package/theme/styles/theme/base/components/messages/_inlinemessage.scss +69 -0
  187. package/theme/styles/theme/base/components/messages/_message.scss +107 -0
  188. package/theme/styles/theme/base/components/messages/_toast.scss +100 -0
  189. package/theme/styles/theme/base/components/misc/_avatar.scss +30 -0
  190. package/theme/styles/theme/base/components/misc/_badge.scss +48 -0
  191. package/theme/styles/theme/base/components/misc/_blockui.scss +0 -0
  192. package/theme/styles/theme/base/components/misc/_chip.scss +42 -0
  193. package/theme/styles/theme/base/components/misc/_inplace.scss +17 -0
  194. package/theme/styles/theme/base/components/misc/_progressbar.scss +17 -0
  195. package/theme/styles/theme/base/components/misc/_scrolltop.scss +25 -0
  196. package/theme/styles/theme/base/components/misc/_skeleton.scss +8 -0
  197. package/theme/styles/theme/base/components/misc/_tag.scss +40 -0
  198. package/theme/styles/theme/base/components/misc/_terminal.scss +12 -0
  199. package/theme/styles/theme/base/components/multimedia/_galleria.scss +155 -0
  200. package/theme/styles/theme/base/components/multimedia/_image.scss +49 -0
  201. package/theme/styles/theme/base/components/overlay/_confirmpopup.scss +72 -0
  202. package/theme/styles/theme/base/components/overlay/_dialog.scss +69 -0
  203. package/theme/styles/theme/base/components/overlay/_overlaypanel.scss +64 -0
  204. package/theme/styles/theme/base/components/overlay/_sidebar.scss +27 -0
  205. package/theme/styles/theme/base/components/overlay/_tooltip.scss +33 -0
  206. package/theme/styles/theme/base/components/panel/_accordion.scss +119 -0
  207. package/theme/styles/theme/base/components/panel/_card.scss +30 -0
  208. package/theme/styles/theme/base/components/panel/_divider.scss +31 -0
  209. package/theme/styles/theme/base/components/panel/_fieldset.scss +47 -0
  210. package/theme/styles/theme/base/components/panel/_panel.scss +63 -0
  211. package/theme/styles/theme/base/components/panel/_scrollpanel.scss +6 -0
  212. package/theme/styles/theme/base/components/panel/_splitter.scss +19 -0
  213. package/theme/styles/theme/base/components/panel/_tabview.scss +82 -0
  214. package/theme/styles/theme/base/components/panel/_toolbar.scss +11 -0
  215. package/theme/styles/theme/dark/_extensions.scss +120 -0
  216. package/theme/styles/theme/dark/_variables.scss +896 -0
  217. package/theme/styles/theme/dark/blue/theme.scss +14 -0
  218. package/theme/styles/theme/dark/indigo/theme.scss +14 -0
  219. package/theme/styles/theme/light/_extensions.scss +102 -0
  220. package/theme/styles/theme/light/_variables.scss +898 -0
  221. package/theme/styles/theme/light/blue/theme.scss +13 -0
  222. package/theme/styles/theme/light/indigo/theme.scss +14 -0
  223. package/ui/badge/src/badge.component.d.ts +4 -4
  224. package/ui/button/src/button.component.d.ts +7 -5
  225. package/ui/button/src/split-button.component.d.ts +2 -2
  226. package/ui/calendar/src/calendar.component.d.ts +13 -9
  227. package/ui/checkbox/index.d.ts +1 -0
  228. package/ui/checkbox/src/check-box.component.d.ts +3 -2
  229. package/ui/checkbox/src/tri-state-checkbox.component.d.ts +9 -0
  230. package/ui/confirmPopup/src/confirm-popup.component.d.ts +1 -7
  231. package/ui/field/src/field.component.d.ts +3 -2
  232. package/ui/fileUpload/src/file-upload.component.d.ts +3 -1
  233. package/ui/form/src/form-submit-button.component.d.ts +1 -1
  234. package/ui/lib/src/form/form-field-builder.d.ts +1 -0
  235. package/ui/mask/src/mask.component.d.ts +7 -7
  236. package/ui/number/src/number.component.d.ts +5 -4
  237. package/ui/overlayPanel/src/overlay-panel.component.d.ts +3 -10
  238. package/ui/panel/src/panel.component.d.ts +3 -4
  239. package/ui/password/src/password.component.d.ts +2 -1
  240. package/ui/radioButton/src/radio-button.component.d.ts +2 -1
  241. package/ui/selectBox/src/select-box.component.d.ts +4 -2
  242. package/ui/switch/src/switch.component.d.ts +2 -1
  243. package/ui/table/index.d.ts +2 -0
  244. package/ui/table/src/i18n.d.ts +42 -0
  245. package/ui/table/src/table-column.component.d.ts +22 -0
  246. package/ui/table/src/table.component.d.ts +30 -0
  247. package/ui/tagBox/src/tag-box.component.d.ts +2 -1
  248. package/ui/text/src/text.component.d.ts +6 -4
  249. package/ui/textArea/src/text-area.component.d.ts +2 -2
  250. package/ui/tree/src/tree.component.d.ts +3 -7
  251. package/ui/treeTable/src/tree-table.component.d.ts +10 -8
  252. package/ui/value/index.d.ts +1 -0
  253. package/ui/value/src/value.component.d.ts +15 -0
  254. package/util/lib/src/types.d.ts +7 -0
  255. package/util/primitive-extensions/src/string.extensions.d.ts +1 -0
  256. package/esm2022/ui/dialog/aril-ui-dialog.mjs +0 -5
  257. package/esm2022/ui/dialog/index.mjs +0 -2
  258. package/esm2022/ui/dialog/src/dialog.component.mjs +0 -56
  259. package/fesm2022/aril-ui-dialog.mjs +0 -63
  260. package/fesm2022/aril-ui-dialog.mjs.map +0 -1
  261. package/ui/dialog/index.d.ts +0 -1
  262. package/ui/dialog/src/dialog.component.d.ts +0 -20
  263. /package/styles/ui/{ui.styles.css → ui.common.scss} +0 -0
@@ -0,0 +1,97 @@
1
+ .p-listbox {
2
+ background: $inputListBg;
3
+ color: $inputListTextColor;
4
+ border: $inputListBorder;
5
+ border-radius: $borderRadius;
6
+ transition: $formElementTransition;
7
+
8
+ .p-listbox-header {
9
+ padding: $inputListHeaderPadding;
10
+ border-bottom: $inputListHeaderBorder;
11
+ color: $inputListHeaderTextColor;
12
+ background: $inputListHeaderBg;
13
+ margin: $inputListHeaderMargin;
14
+ border-top-right-radius: $borderRadius;
15
+ border-top-left-radius: $borderRadius;
16
+
17
+ .p-listbox-filter {
18
+ padding-right: nth($inputPadding, 2) + $primeIconFontSize;
19
+ }
20
+
21
+ .p-listbox-filter-icon {
22
+ right: nth($inputPadding, 2);
23
+ color: $inputIconColor;
24
+ }
25
+
26
+ .p-checkbox {
27
+ margin-right: $inlineSpacing;
28
+ }
29
+ }
30
+
31
+ .p-listbox-list {
32
+ padding: $inputListPadding;
33
+ outline: 0 none;
34
+
35
+ .p-listbox-item {
36
+ margin: $inputListItemMargin;
37
+ padding: $inputListItemPadding;
38
+ border: $inputListItemBorder;
39
+ color: $inputListItemTextColor;
40
+ transition: $listItemTransition;
41
+ border-radius: $inputListItemBorderRadius;
42
+
43
+ &.p-highlight {
44
+ color: $highlightTextColor;
45
+ background: $highlightBg;
46
+ }
47
+
48
+ .p-checkbox {
49
+ margin-right: $inlineSpacing;
50
+ }
51
+ }
52
+
53
+ .p-listbox-item-group {
54
+ margin: $submenuHeaderMargin;
55
+ padding: $submenuHeaderPadding;
56
+ color: $submenuHeaderTextColor;
57
+ background: $submenuHeaderBg;
58
+ font-weight: $submenuHeaderFontWeight;
59
+ }
60
+
61
+ .p-listbox-empty-message {
62
+ padding: $inputListItemPadding;
63
+ color: $inputListItemTextColor;
64
+ background: $inputListItemBg;
65
+ }
66
+ }
67
+
68
+ &:not(.p-disabled) {
69
+ .p-listbox-item {
70
+ &.p-highlight {
71
+ &.p-focus {
72
+ background: $highlightFocusBg;
73
+ }
74
+ }
75
+
76
+ &:not(.p-highlight):not(.p-disabled) {
77
+ &.p-focus {
78
+ color: $inputListItemTextFocusColor;
79
+ background: $inputListItemFocusBg;
80
+ }
81
+
82
+ &:hover {
83
+ color: $inputListItemTextHoverColor;
84
+ background: $inputListItemHoverBg;
85
+ }
86
+ }
87
+ }
88
+ }
89
+
90
+ &.p-focus {
91
+ @include focused-input();
92
+ }
93
+ }
94
+
95
+ p-listbox.ng-dirty.ng-invalid > .p-listbox {
96
+ @include invalid-input();
97
+ }
@@ -0,0 +1,179 @@
1
+ @use 'sass:math';
2
+
3
+ .p-multiselect {
4
+ background: $inputBg;
5
+ border: $inputBorder;
6
+ transition: $formElementTransition;
7
+ border-radius: $borderRadius;
8
+
9
+ &:not(.p-disabled):hover {
10
+ border-color: $inputHoverBorderColor;
11
+ }
12
+
13
+ &:not(.p-disabled).p-focus {
14
+ @include focused-input();
15
+ }
16
+
17
+ .p-multiselect-label {
18
+ padding: $inputPadding;
19
+ transition: $formElementTransition;
20
+
21
+ &.p-placeholder {
22
+ color: $inputPlaceholderTextColor;
23
+ }
24
+ }
25
+
26
+ &.p-multiselect-chip {
27
+ .p-multiselect-token {
28
+ padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
29
+ margin-right: $inlineSpacing;
30
+ background: $chipBg;
31
+ color: $chipTextColor;
32
+ border-radius: $chipBorderRadius;
33
+
34
+ .p-multiselect-token-icon {
35
+ margin-left: $inlineSpacing;
36
+ }
37
+ }
38
+ }
39
+
40
+ .p-multiselect-trigger {
41
+ background: transparent;
42
+ color: $inputIconColor;
43
+ width: $inputGroupAddOnMinWidth;
44
+ border-top-right-radius: $borderRadius;
45
+ border-bottom-right-radius: $borderRadius;
46
+ }
47
+
48
+ }
49
+
50
+ .p-inputwrapper-filled {
51
+ &.p-multiselect {
52
+ &.p-multiselect-chip {
53
+ .p-multiselect-label {
54
+ padding: math.div(nth($inputPadding, 1), 2) nth($inputPadding, 2);
55
+ }
56
+ }
57
+ }
58
+ }
59
+
60
+ .p-multiselect-clearable {
61
+ .p-multiselect-label-container {
62
+ padding-right: nth($inputPadding, 2) + $primeIconFontSize;
63
+ }
64
+
65
+ .p-multiselect-clear-icon {
66
+ color: $inputIconColor;
67
+ right: $inputGroupAddOnMinWidth;
68
+ }
69
+ }
70
+
71
+ .p-multiselect-panel {
72
+ background: $inputOverlayBg;
73
+ color: $inputListTextColor;
74
+ border: $inputOverlayBorder;
75
+ border-radius: $borderRadius;
76
+ box-shadow: $inputOverlayShadow;
77
+
78
+ .p-multiselect-header {
79
+ padding: $inputListHeaderPadding;
80
+ border-bottom: $inputListHeaderBorder;
81
+ color: $inputListHeaderTextColor;
82
+ background: $inputOverlayHeaderBg;
83
+ margin: $inputListHeaderMargin;
84
+ border-top-right-radius: $borderRadius;
85
+ border-top-left-radius: $borderRadius;
86
+
87
+ .p-multiselect-filter-container {
88
+ .p-inputtext {
89
+ padding-right: nth($inputPadding, 2) + $primeIconFontSize;
90
+ }
91
+
92
+ .p-multiselect-filter-icon {
93
+ right: nth($inputPadding, 2);
94
+ color: $inputIconColor;
95
+ }
96
+ }
97
+
98
+ .p-checkbox {
99
+ margin-right: $inlineSpacing;
100
+ }
101
+
102
+ .p-multiselect-close {
103
+ margin-left: $inlineSpacing;
104
+ @include action-icon();
105
+ }
106
+ }
107
+
108
+ .p-multiselect-items {
109
+ padding: $inputListPadding;
110
+
111
+ .p-multiselect-item {
112
+ margin: $inputListItemMargin;
113
+ padding: $inputListItemPadding;
114
+ border: $inputListItemBorder;
115
+ color: $inputListItemTextColor;
116
+ background: $inputListItemBg;
117
+ transition: $listItemTransition;
118
+ border-radius: $inputListItemBorderRadius;
119
+
120
+ &.p-highlight {
121
+ color: $highlightTextColor;
122
+ background: $highlightBg;
123
+
124
+ &.p-focus {
125
+ background: $highlightFocusBg;
126
+ }
127
+ }
128
+
129
+ &:not(.p-highlight):not(.p-disabled) {
130
+ &.p-focus {
131
+ color: $inputListItemTextFocusColor;
132
+ background: $inputListItemFocusBg;
133
+ }
134
+
135
+ &:hover {
136
+ color: $inputListItemTextHoverColor;
137
+ background: $inputListItemHoverBg;
138
+ }
139
+ }
140
+
141
+ .p-checkbox {
142
+ margin-right: $inlineSpacing;
143
+ }
144
+ }
145
+
146
+ .p-multiselect-item-group {
147
+ margin: $submenuHeaderMargin;
148
+ padding: $submenuHeaderPadding;
149
+ color: $submenuHeaderTextColor;
150
+ background: $submenuHeaderBg;
151
+ font-weight: $submenuHeaderFontWeight;
152
+ }
153
+
154
+ .p-multiselect-empty-message {
155
+ padding: $inputListItemPadding;
156
+ color: $inputListItemTextColor;
157
+ background: $inputListItemBg;
158
+ }
159
+ }
160
+ }
161
+
162
+ .p-input-filled {
163
+ .p-multiselect {
164
+ background: $inputFilledBg;
165
+
166
+ &:not(.p-disabled):hover {
167
+ background-color: $inputFilledHoverBg;
168
+ }
169
+
170
+ &:not(.p-disabled).p-focus {
171
+ background-color: $inputFilledFocusBg;
172
+ }
173
+ }
174
+
175
+ }
176
+
177
+ p-multiselect.ng-dirty.ng-invalid > .p-multiselect {
178
+ @include invalid-input();
179
+ }
@@ -0,0 +1,52 @@
1
+ p-password.ng-invalid.ng-dirty > .p-password > .p-inputtext {
2
+ @include invalid-input();
3
+ }
4
+
5
+ .p-password-panel {
6
+ padding: $panelContentPadding;
7
+ background: $panelContentBg;
8
+ color: $panelContentTextColor;
9
+ border: $overlayContentBorder;
10
+ box-shadow: $inputOverlayShadow;
11
+ border-radius: $borderRadius;
12
+
13
+ .p-password-meter {
14
+ margin-bottom: $inlineSpacing;
15
+ background: $passwordMeterBg;
16
+
17
+ .p-password-strength {
18
+ &.weak {
19
+ background: $passwordWeakBg;
20
+ }
21
+
22
+ &.medium {
23
+ background: $passwordMediumBg;
24
+ }
25
+
26
+ &.strong {
27
+ background: $passwordStrongBg;
28
+ }
29
+ }
30
+ }
31
+ }
32
+
33
+ p-password.p-password-clearable {
34
+ .p-password-input {
35
+ padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
36
+ }
37
+ .p-password-clear-icon {
38
+ color: $inputIconColor;
39
+ right: nth($inputPadding, 2);
40
+ }
41
+ }
42
+
43
+ p-password.p-password-clearable.p-password-mask{
44
+ .p-password-input {
45
+ padding-right: nth($inputPadding, 2) * 3 + $primeIconFontSize * 2;
46
+ }
47
+
48
+ .p-password-clear-icon {
49
+ color: $inputIconColor;
50
+ right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
51
+ }
52
+ }
@@ -0,0 +1,78 @@
1
+ .p-radiobutton {
2
+ width: $radiobuttonWidth;
3
+ height: $radiobuttonHeight;
4
+
5
+ .p-radiobutton-box {
6
+ border: $radiobuttonBorder;
7
+ background: $inputBg;
8
+ width: $radiobuttonWidth;
9
+ height: $radiobuttonHeight;
10
+ color: $textColor;
11
+ border-radius: 50%;
12
+ transition: $formElementTransition;
13
+
14
+ &:not(.p-disabled):not(.p-highlight):hover {
15
+ border-color: $inputHoverBorderColor;
16
+ }
17
+
18
+ &:not(.p-disabled).p-focus {
19
+ @include focused-input();
20
+ }
21
+
22
+ .p-radiobutton-icon {
23
+ width: $radiobuttonIconSize;
24
+ height: $radiobuttonIconSize;
25
+ transition-duration: $transitionDuration;
26
+ background-color: $radiobuttonIconActiveColor;
27
+ }
28
+
29
+ &.p-highlight {
30
+ border-color: $radiobuttonActiveBorderColor;
31
+ background: $radiobuttonActiveBg;
32
+
33
+ &:not(.p-disabled):hover {
34
+ border-color: $radiobuttonActiveHoverBorderColor;
35
+ background: $radiobuttonActiveHoverBg;
36
+ color: $radiobuttonIconActiveHoverColor;
37
+ }
38
+ }
39
+ }
40
+ }
41
+
42
+ p-radiobutton.ng-dirty.ng-invalid > .p-radiobutton > .p-radiobutton-box {
43
+ @include invalid-input();
44
+ }
45
+
46
+ .p-input-filled {
47
+ .p-radiobutton {
48
+ .p-radiobutton-box {
49
+ background-color: $inputFilledBg;
50
+
51
+ &:not(.p-disabled):hover {
52
+ background-color: $inputFilledHoverBg;
53
+ }
54
+
55
+ &.p-highlight {
56
+ background: $radiobuttonActiveBg;
57
+
58
+ &:not(.p-disabled):hover {
59
+ background: $radiobuttonActiveHoverBg;
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+
66
+ .p-radiobutton-label {
67
+ margin-left: $inlineSpacing;
68
+ }
69
+
70
+ @if ($highlightBg == $radiobuttonActiveBg) {
71
+ .p-highlight {
72
+ .p-radiobutton {
73
+ .p-radiobutton-box {
74
+ border-color: $radiobuttonIconActiveColor;
75
+ }
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,60 @@
1
+ @use 'sass:math';
2
+
3
+ .p-rating {
4
+ gap: $inlineSpacing;
5
+
6
+ .p-rating-item {
7
+ .p-rating-icon {
8
+ color: $ratingStarIconOffColor;
9
+ transition: $formElementTransition;
10
+ font-size: $ratingIconFontSize;
11
+
12
+ &.p-icon {
13
+ width: $ratingIconFontSize;
14
+ height: $ratingIconFontSize;
15
+ }
16
+
17
+ &.p-rating-cancel {
18
+ color: $ratingCancelIconColor;
19
+ }
20
+ }
21
+
22
+ &.p-focus {
23
+ @include focused-input();
24
+ }
25
+
26
+ &.p-rating-item-active {
27
+ .p-rating-icon {
28
+ color: $ratingStarIconOnColor;
29
+ }
30
+ }
31
+ }
32
+
33
+ &:not(.p-disabled):not(.p-readonly) {
34
+ .p-rating-item {
35
+ &:hover {
36
+ .p-rating-icon {
37
+ color: $ratingStarIconHoverColor;
38
+
39
+ &.p-rating-cancel {
40
+ color: $ratingCancelIconHoverColor;
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+
48
+ @if ($highlightBg == $ratingStarIconOnColor) {
49
+ .p-highlight {
50
+ .p-rating {
51
+ .p-rating-item {
52
+ &.p-rating-item-active {
53
+ .p-rating-icon {
54
+ color: $highlightTextColor;
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
@@ -0,0 +1,50 @@
1
+ .p-selectbutton {
2
+ .p-button {
3
+ background: $toggleButtonBg;
4
+ border: $toggleButtonBorder;
5
+ color: $toggleButtonTextColor;
6
+ transition: $formElementTransition;
7
+
8
+ .p-button-icon-left,
9
+ .p-button-icon-right {
10
+ color: $toggleButtonIconColor;
11
+ }
12
+
13
+ &:not(.p-disabled):not(.p-highlight):hover {
14
+ background: $toggleButtonHoverBg;
15
+ border-color: $toggleButtonHoverBorderColor;
16
+ color: $toggleButtonTextHoverColor;
17
+
18
+ .p-button-icon-left,
19
+ .p-button-icon-right {
20
+ color: $toggleButtonIconHoverColor;
21
+ }
22
+ }
23
+
24
+ &.p-highlight {
25
+ background: $toggleButtonActiveBg;
26
+ border-color: $toggleButtonActiveBorderColor;
27
+ color: $toggleButtonTextActiveColor;
28
+
29
+ .p-button-icon-left,
30
+ .p-button-icon-right {
31
+ color: $toggleButtonIconActiveColor;
32
+ }
33
+
34
+ &:hover {
35
+ background: $toggleButtonActiveHoverBg;
36
+ border-color: $toggleButtonActiveHoverBorderColor;
37
+ color: $toggleButtonTextActiveHoverColor;
38
+
39
+ .p-button-icon-left,
40
+ .p-button-icon-right {
41
+ color: $toggleButtonIconActiveHoverColor;
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+
48
+ p-selectbutton.ng-dirty.ng-invalid > .p-selectbutton > .p-button {
49
+ @include invalid-input();
50
+ }
@@ -0,0 +1,71 @@
1
+ @use 'sass:math';
2
+
3
+ .p-slider {
4
+ background: $sliderBg;
5
+ border: $sliderBorder;
6
+ border-radius: $borderRadius;
7
+
8
+ &.p-slider-horizontal {
9
+ height: $sliderHorizontalHeight;
10
+
11
+ .p-slider-handle {
12
+ margin-top: math.div(-1 * $sliderHandleHeight, 2);
13
+ margin-left: math.div(-1 * $sliderHandleWidth, 2);
14
+ }
15
+ }
16
+
17
+ &.p-slider-vertical {
18
+ width: $sliderVerticalWidth;
19
+
20
+ .p-slider-handle {
21
+ margin-left: math.div(-1 * $sliderHandleWidth, 2);
22
+ margin-bottom: math.div(-1 * $sliderHandleHeight, 2);
23
+ }
24
+ }
25
+
26
+ .p-slider-handle {
27
+ height: $sliderHandleHeight;
28
+ width: $sliderHandleWidth;
29
+ background: $sliderHandleBg;
30
+ border: $sliderHandleBorder;
31
+ border-radius: $sliderHandleBorderRadius;
32
+ transition: $formElementTransition;
33
+
34
+ &:focus {
35
+ @include focused();
36
+ }
37
+ }
38
+
39
+ .p-slider-range {
40
+ background: $sliderRangeBg;
41
+ }
42
+
43
+ &:not(.p-disabled) {
44
+ .p-slider-handle:hover {
45
+ background: $sliderHandleHoverBg;
46
+ border-color: $sliderHandleHoverBorderColor;
47
+ }
48
+ }
49
+
50
+ &.p-slider-animate {
51
+ &.p-slider-horizontal {
52
+ .p-slider-handle {
53
+ transition: $formElementTransition, left $transitionDuration;
54
+ }
55
+
56
+ .p-slider-range {
57
+ transition: width $transitionDuration;
58
+ }
59
+ }
60
+
61
+ &.p-slider-vertical {
62
+ .p-slider-handle {
63
+ transition: $formElementTransition, bottom $transitionDuration;
64
+ }
65
+
66
+ .p-slider-range {
67
+ transition: height $transitionDuration;
68
+ }
69
+ }
70
+ }
71
+ }
@@ -0,0 +1,48 @@
1
+ .p-togglebutton.p-button {
2
+ background: $toggleButtonBg;
3
+ border: $toggleButtonBorder;
4
+ color: $toggleButtonTextColor;
5
+ transition: $formElementTransition;
6
+
7
+ .p-button-icon-left,
8
+ .p-button-icon-right {
9
+ color: $toggleButtonIconColor;
10
+ }
11
+
12
+ &:not(.p-disabled):not(.p-highlight):hover {
13
+ background: $toggleButtonHoverBg;
14
+ border-color: $toggleButtonHoverBorderColor;
15
+ color: $toggleButtonTextHoverColor;
16
+
17
+ .p-button-icon-left,
18
+ .p-button-icon-right {
19
+ color: $toggleButtonIconHoverColor;
20
+ }
21
+ }
22
+
23
+ &.p-highlight {
24
+ background: $toggleButtonActiveBg;
25
+ border-color: $toggleButtonActiveBorderColor;
26
+ color: $toggleButtonTextActiveColor;
27
+
28
+ .p-button-icon-left,
29
+ .p-button-icon-right {
30
+ color: $toggleButtonIconActiveColor;
31
+ }
32
+
33
+ &:hover {
34
+ background: $toggleButtonActiveHoverBg;
35
+ border-color: $toggleButtonActiveHoverBorderColor;
36
+ color: $toggleButtonTextActiveHoverColor;
37
+
38
+ .p-button-icon-left,
39
+ .p-button-icon-right {
40
+ color: $toggleButtonIconActiveHoverColor;
41
+ }
42
+ }
43
+ }
44
+ }
45
+
46
+ p-togglebutton.ng-dirty.ng-invalid > .p-togglebutton.p-button {
47
+ @include invalid-input();
48
+ }