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,26 @@
1
+ .layout-transparent-menu {
2
+ --logo-color: var(--primary-color);
3
+ --menu-bg: var(--surface-overlay);
4
+ --root-menuitem-text-color: var(--primary-color);
5
+ --menuitem-text-color: var(--text-color);
6
+ --menuitem-icon-color: var(--primary-color);
7
+ --menuitem-hover-bg-color: var(--surface-hover);
8
+ --popup-submenu-item-text-color: var(--text-color);
9
+ --popup-submenu-item-icon-color: var(--primary-color);
10
+ --popup-submenu-item-hover-bg-color: var(--surface-hover);
11
+ }
12
+
13
+ @media screen and (min-width: $breakpoint) {
14
+ .layout-container.layout-transparent-menu {
15
+ &.layout-static,
16
+ &.layout-slim,
17
+ &.layout-slim-plus,
18
+ &.layout-horizontal {
19
+ .layout-sidebar {
20
+ background-color: transparent;
21
+ border-right: 1px solid transparent;
22
+ box-shadow: none;
23
+ }
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,84 @@
1
+ .layout-preloader-container {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ height: 100vh;
6
+ width: 100vw;
7
+ background-color: #111417;
8
+
9
+ .layout-preloader {
10
+ position: relative;
11
+ width: 75px;
12
+ height: 75px;
13
+ background: transparent;
14
+ border: 3px solid #161a1f;
15
+ border-radius: 50%;
16
+ text-align: center;
17
+ line-height: 150px;
18
+ font-family: sans-serif;
19
+ font-size: 20px;
20
+ color: #6366F1;
21
+ letter-spacing: 4px;
22
+ text-transform: uppercase;
23
+ text-shadow: 0 0 10px #6366F1;
24
+ box-shadow: 0 0 20px rgba(0, 0, 0, .5);
25
+
26
+ &:before {
27
+ content: '';
28
+ position: absolute;
29
+ top: -3px;
30
+ left: -3px;
31
+ width: 100%;
32
+ height: 100%;
33
+ border: 3px solid transparent;
34
+ border-top: 3px solid #6366F1;
35
+ border-right: 3px solid #6366F1;
36
+ border-radius: 50%;
37
+ animation: preloader-rotate-c 1s linear infinite;
38
+ }
39
+
40
+ span {
41
+ display: block;
42
+ position: absolute;
43
+ top: calc(50% - 2px);
44
+ left: 50%;
45
+ width: 50%;
46
+ height: 4px;
47
+ background: transparent;
48
+ transform-origin: left;
49
+ animation: preloader-rotate 1s linear infinite;
50
+ }
51
+
52
+ span:before {
53
+ content: '';
54
+ position: absolute;
55
+ width: 16px;
56
+ height: 16px;
57
+ border-radius: 50%;
58
+ background: #6366F1;
59
+ top: -6px;
60
+ right: -8px;
61
+ box-shadow: 0 0 20px #6366F1;
62
+ }
63
+ }
64
+ }
65
+
66
+ @keyframes preloader-rotate-c {
67
+ 0% {
68
+ transform: rotate(0deg);
69
+ }
70
+
71
+ 100% {
72
+ transform: rotate(360deg);
73
+ }
74
+ }
75
+
76
+ @keyframes preloader-rotate {
77
+ 0% {
78
+ transform: rotate(45deg);
79
+ }
80
+
81
+ 100% {
82
+ transform: rotate(405deg);
83
+ }
84
+ }
@@ -0,0 +1,18 @@
1
+ :root {
2
+ @if variable-exists(colors) {
3
+ @each $name, $color in $colors {
4
+ @for $i from 0 through 5 {
5
+ @if ($i == 0) {
6
+ --#{$name}-50:#{tint($color, (5 - $i) * 19%)};
7
+ }
8
+ @else {
9
+ --#{$name}-#{$i * 100}:#{tint($color, (5 - $i) * 19%)};
10
+ }
11
+ }
12
+
13
+ @for $i from 1 through 4 {
14
+ --#{$name}-#{($i + 5) * 100}:#{shade($color, $i * 15%)};
15
+ }
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,75 @@
1
+ * {
2
+ box-sizing: border-box;
3
+ }
4
+
5
+ .p-component {
6
+ font-family: var(--font-family);
7
+ font-feature-settings: var(--font-feature-settings, normal);
8
+ font-size: $fontSize;
9
+ font-weight: $fontWeight;
10
+ }
11
+
12
+ .p-component-overlay {
13
+ background-color: $maskBg;
14
+ transition-duration: $transitionDuration;
15
+ }
16
+
17
+ .p-disabled, .p-component:disabled {
18
+ opacity: $disabledOpacity;
19
+ }
20
+
21
+ .p-error {
22
+ color: $errorColor;
23
+ }
24
+
25
+ .p-text-secondary {
26
+ color: $textSecondaryColor;
27
+ }
28
+
29
+ .pi {
30
+ font-size: $primeIconFontSize;
31
+ }
32
+
33
+ .p-icon {
34
+ width: $primeIconFontSize;
35
+ height: $primeIconFontSize;
36
+ }
37
+
38
+ .p-link {
39
+ font-family: var(--font-family);
40
+ font-feature-settings: var(--font-feature-settings, normal);
41
+ font-size: $fontSize;
42
+ border-radius: $borderRadius;
43
+
44
+ &:focus-visible {
45
+ @include focused();
46
+ }
47
+ }
48
+
49
+ .p-component-overlay-enter {
50
+ animation: p-component-overlay-enter-animation 150ms forwards;
51
+ }
52
+
53
+ .p-component-overlay-leave {
54
+ animation: p-component-overlay-leave-animation 150ms forwards;
55
+ }
56
+
57
+ .p-component-overlay {
58
+ @keyframes p-component-overlay-enter-animation {
59
+ from {
60
+ background-color: transparent;
61
+ }
62
+ to {
63
+ background-color: var(--maskbg);
64
+ }
65
+ }
66
+
67
+ @keyframes p-component-overlay-leave-animation {
68
+ from {
69
+ background-color: var(--maskbg);
70
+ }
71
+ to {
72
+ background-color: transparent;
73
+ }
74
+ }
75
+ }
@@ -0,0 +1,106 @@
1
+ @import '_mixins';
2
+ @import '_colors';
3
+
4
+ @import './components/input/_editor';
5
+
6
+ @layer primeng {
7
+ @import '_common';
8
+
9
+ //Input
10
+ @import './components/input/_autocomplete';
11
+ @import './components/input/_calendar';
12
+ @import './components/input/_cascadeselect';
13
+ @import './components/input/_checkbox';
14
+ @import './components/input/_chips';
15
+ @import './components/input/_colorpicker';
16
+ @import './components/input/_dropdown';
17
+
18
+ @import './components/input/_inputgroup';
19
+ @import './components/input/_inputmask';
20
+ @import './components/input/_inputnumber';
21
+ @import './components/input/_inputswitch';
22
+ @import './components/input/_inputtext';
23
+ @import './components/input/_listbox';
24
+ @import './components/input/_multiselect';
25
+ @import './components/input/_password';
26
+ @import './components/input/_radiobutton';
27
+ @import './components/input/_rating';
28
+ @import './components/input/_selectbutton';
29
+ @import './components/input/_slider';
30
+ @import './components/input/_togglebutton';
31
+ @import './components/input/_treeselect';
32
+
33
+ //Button
34
+ @import './components/button/_button';
35
+ @import './components/button/_speeddial';
36
+ @import './components/button/_splitbutton';
37
+
38
+ //Data
39
+ @import './components/data/_carousel';
40
+ @import './components/data/_datatable';
41
+ @import './components/data/_dataview';
42
+ @import './components/data/_filter';
43
+ @import './components/data/_orderlist';
44
+ @import './components/data/_organizationchart';
45
+ @import './components/data/_paginator';
46
+ @import './components/data/_picklist';
47
+ @import './components/data/_timeline';
48
+ @import './components/data/_tree';
49
+ @import './components/data/_treetable';
50
+ @import './components/data/_virtualscroller';
51
+
52
+ //Panel
53
+ @import './components/panel/_accordion';
54
+ @import './components/panel/_card';
55
+ @import './components/panel/_divider';
56
+ @import './components/panel/_fieldset';
57
+ @import './components/panel/_panel';
58
+ @import './components/panel/_scrollpanel';
59
+ @import './components/panel/_splitter';
60
+ @import './components/panel/_tabview';
61
+ @import './components/panel/_toolbar';
62
+
63
+ //Overlay
64
+ @import './components/overlay/_confirmpopup';
65
+ @import './components/overlay/_dialog';
66
+ @import './components/overlay/_overlaypanel';
67
+ @import './components/overlay/_sidebar';
68
+ @import './components/overlay/_tooltip';
69
+
70
+ //File
71
+ @import './components/file/_fileupload';
72
+
73
+ //Menu
74
+ @import './components/menu/_breadcrumb';
75
+ @import './components/menu/_contextmenu';
76
+ @import './components/menu/_dock';
77
+ @import './components/menu/_megamenu';
78
+ @import './components/menu/_menu';
79
+ @import './components/menu/_menubar';
80
+ @import './components/menu/_panelmenu';
81
+ @import './components/menu/_slidemenu';
82
+ @import './components/menu/_steps';
83
+ @import './components/menu/_tabmenu';
84
+ @import './components/menu/_tieredmenu';
85
+
86
+ //Messages
87
+ @import './components/messages/_inlinemessage';
88
+ @import './components/messages/_message';
89
+ @import 'components/messages/toast';
90
+
91
+ //MultiMedia
92
+ @import './components/multimedia/_galleria';
93
+ @import './components/multimedia/_image';
94
+
95
+ //Misc
96
+ @import './components/misc/_avatar';
97
+ @import './components/misc/_badge';
98
+ @import './components/misc/_blockui';
99
+ @import './components/misc/_chip';
100
+ @import './components/misc/_inplace';
101
+ @import './components/misc/_progressbar';
102
+ @import './components/misc/_scrolltop';
103
+ @import './components/misc/_skeleton';
104
+ @import './components/misc/_tag';
105
+ @import './components/misc/_terminal';
106
+ }
@@ -0,0 +1,337 @@
1
+ @mixin icon-override($icon) {
2
+ &:before {
3
+ content: $icon;
4
+ }
5
+ }
6
+
7
+ @mixin focused() {
8
+ outline: $focusOutline;
9
+ outline-offset: $focusOutlineOffset;
10
+ box-shadow: $focusShadow;
11
+ }
12
+
13
+ @mixin focused-inset() {
14
+ outline: $focusOutline;
15
+ outline-offset: $focusOutlineOffset;
16
+ box-shadow: inset $focusShadow;
17
+ }
18
+
19
+ @mixin focused-input() {
20
+ @include focused();
21
+ border-color: $inputFocusBorderColor;
22
+ }
23
+
24
+ @mixin focused-listitem() {
25
+ outline: $focusOutline;
26
+ outline-offset: $focusOutlineOffset;
27
+ box-shadow: $inputListItemFocusShadow;
28
+ }
29
+
30
+ @mixin invalid-input() {
31
+ border-color: $inputErrorBorderColor;
32
+ }
33
+
34
+ @mixin menuitem-link {
35
+ padding: $menuitemPadding;
36
+ color: $menuitemTextColor;
37
+ border-radius: $menuitemBorderRadius;
38
+ transition: $listItemTransition;
39
+ user-select: none;
40
+
41
+ .p-menuitem-text {
42
+ color: $menuitemTextColor;
43
+ }
44
+
45
+ .p-menuitem-icon {
46
+ color: $menuitemIconColor;
47
+ margin-right: $inlineSpacing;
48
+ }
49
+
50
+ .p-submenu-icon {
51
+ color: $menuitemIconColor;
52
+ }
53
+
54
+ &:not(.p-disabled):hover {
55
+ background: $menuitemHoverBg;
56
+
57
+ .p-menuitem-text {
58
+ color: $menuitemTextHoverColor;
59
+ }
60
+
61
+ .p-menuitem-icon {
62
+ color: $menuitemIconHoverColor;
63
+ }
64
+
65
+ .p-submenu-icon {
66
+ color: $menuitemIconHoverColor;
67
+ }
68
+ }
69
+
70
+ &:focus {
71
+ @include focused-listitem();
72
+ }
73
+ }
74
+
75
+ @mixin menuitem {
76
+ > .p-menuitem-content {
77
+ color: $menuitemTextColor;
78
+ transition: $listItemTransition;
79
+ border-radius: $menuitemBorderRadius;
80
+
81
+ .p-menuitem-link {
82
+ color: $menuitemTextColor;
83
+ padding: $menuitemPadding;
84
+ user-select: none;
85
+
86
+ .p-menuitem-text {
87
+ color: $menuitemTextColor;
88
+ }
89
+
90
+ .p-menuitem-icon {
91
+ color: $menuitemIconColor;
92
+ margin-right: $inlineSpacing;
93
+ }
94
+
95
+ .p-submenu-icon {
96
+ color: $menuitemIconColor;
97
+ }
98
+ }
99
+ }
100
+
101
+ &.p-highlight {
102
+ > .p-menuitem-content {
103
+ color: $menuitemTextActiveColor;
104
+ background: $menuitemActiveBg;
105
+
106
+ .p-menuitem-link {
107
+ .p-menuitem-text {
108
+ color: $menuitemTextActiveColor;
109
+ }
110
+
111
+ .p-menuitem-icon,
112
+ .p-submenu-icon {
113
+ color: $menuitemIconActiveColor;
114
+ }
115
+ }
116
+ }
117
+
118
+ &.p-focus {
119
+ > .p-menuitem-content {
120
+ background: $menuitemActiveFocusBg;
121
+ }
122
+ }
123
+ }
124
+
125
+ &:not(.p-highlight):not(.p-disabled) {
126
+ &.p-focus {
127
+ > .p-menuitem-content {
128
+ color: $menuitemTextFocusColor;
129
+ background: $menuitemFocusBg;
130
+
131
+ .p-menuitem-link {
132
+ .p-menuitem-text {
133
+ color: $menuitemTextFocusColor;
134
+ }
135
+
136
+ .p-menuitem-icon,
137
+ .p-submenu-icon {
138
+ color: $menuitemIconFocusColor;
139
+ }
140
+ }
141
+ }
142
+ }
143
+
144
+ > .p-menuitem-content {
145
+ &:hover {
146
+ color: $menuitemTextHoverColor;
147
+ background: $menuitemHoverBg;
148
+
149
+ .p-menuitem-link {
150
+ .p-menuitem-text {
151
+ color: $menuitemTextHoverColor;
152
+ }
153
+
154
+ .p-menuitem-icon,
155
+ .p-submenu-icon {
156
+ color: $menuitemIconHoverColor;
157
+ }
158
+ }
159
+ }
160
+ }
161
+ }
162
+ }
163
+
164
+ @mixin horizontal-rootmenuitem-link {
165
+ padding: $horizontalMenuRootMenuitemPadding;
166
+ color: $horizontalMenuRootMenuitemTextColor;
167
+ border-radius: $horizontalMenuRootMenuitemBorderRadius;
168
+ transition: $listItemTransition;
169
+ user-select: none;
170
+
171
+ .p-menuitem-text {
172
+ color: $horizontalMenuRootMenuitemTextColor;
173
+ }
174
+
175
+ .p-menuitem-icon {
176
+ color: $horizontalMenuRootMenuitemIconColor;
177
+ margin-right: $inlineSpacing;
178
+ }
179
+
180
+ .p-submenu-icon {
181
+ color: $horizontalMenuRootMenuitemIconColor;
182
+ margin-left: $inlineSpacing;
183
+ }
184
+
185
+ &:not(.p-disabled):hover {
186
+ background: $horizontalMenuRootMenuitemHoverBg;
187
+
188
+ .p-menuitem-text {
189
+ color: $horizontalMenuRootMenuitemTextHoverColor;
190
+ }
191
+
192
+ .p-menuitem-icon {
193
+ color: $horizontalMenuRootMenuitemIconHoverColor;
194
+ }
195
+
196
+ .p-submenu-icon {
197
+ color: $horizontalMenuRootMenuitemIconHoverColor;
198
+ }
199
+ }
200
+
201
+ &:focus {
202
+ @include focused-listitem();
203
+ }
204
+ }
205
+
206
+ @mixin horizontal-rootmenuitem {
207
+ > .p-menuitem-content {
208
+ color: $horizontalMenuRootMenuitemTextColor;
209
+ transition: $listItemTransition;
210
+ border-radius: $horizontalMenuRootMenuitemBorderRadius;
211
+
212
+ .p-menuitem-link {
213
+ padding: $horizontalMenuRootMenuitemPadding;
214
+ user-select: none;
215
+
216
+ .p-menuitem-text {
217
+ color: $horizontalMenuRootMenuitemTextColor;
218
+ }
219
+
220
+ .p-menuitem-icon {
221
+ color: $horizontalMenuRootMenuitemIconColor;
222
+ margin-right: $inlineSpacing;
223
+ }
224
+
225
+ .p-submenu-icon {
226
+ color: $horizontalMenuRootMenuitemIconColor;
227
+ margin-left: $inlineSpacing;
228
+ }
229
+ }
230
+ }
231
+
232
+ &:not(.p-highlight):not(.p-disabled) {
233
+ > .p-menuitem-content {
234
+ &:hover {
235
+ color: $horizontalMenuRootMenuitemTextHoverColor;
236
+ background: $horizontalMenuRootMenuitemHoverBg;
237
+
238
+ .p-menuitem-link {
239
+ .p-menuitem-text {
240
+ color: $horizontalMenuRootMenuitemTextHoverColor;
241
+ }
242
+
243
+ .p-menuitem-icon,
244
+ .p-submenu-icon {
245
+ color: $horizontalMenuRootMenuitemIconHoverColor;
246
+ }
247
+ }
248
+ }
249
+ }
250
+ }
251
+ }
252
+
253
+ @mixin placeholder {
254
+ ::-webkit-input-placeholder {
255
+ @content;
256
+ }
257
+ :-moz-placeholder {
258
+ @content;
259
+ }
260
+ ::-moz-placeholder {
261
+ @content;
262
+ }
263
+ :-ms-input-placeholder {
264
+ @content;
265
+ }
266
+ }
267
+
268
+ @mixin scaledPadding($val, $scale) {
269
+ padding: nth($val, 1) * $scale nth($val, 2) * $scale;
270
+ }
271
+
272
+ @mixin scaledFontSize($val, $scale) {
273
+ font-size: $val * $scale;
274
+ }
275
+
276
+ @mixin nested-submenu-indents($val, $index, $length) {
277
+ .p-submenu-list {
278
+ .p-menuitem {
279
+ .p-menuitem-content {
280
+ .p-menuitem-link {
281
+ padding-left: $val * ($index + 1);
282
+ }
283
+ }
284
+ @if $index < $length {
285
+ @include nested-submenu-indents($val, $index + 2, $length);
286
+ }
287
+ }
288
+ }
289
+ }
290
+
291
+ @mixin action-icon($enabled: true) {
292
+ width: $actionIconWidth;
293
+ height: $actionIconHeight;
294
+ color: $actionIconColor;
295
+ border: $actionIconBorder;
296
+ background: $actionIconBg;
297
+ border-radius: $actionIconBorderRadius;
298
+ transition: $actionIconTransition;
299
+
300
+ &:enabled:hover {
301
+ color: $actionIconHoverColor;
302
+ border-color: $actionIconHoverBorderColor;
303
+ background: $actionIconHoverBg;
304
+ }
305
+
306
+ &:focus-visible {
307
+ @include focused();
308
+ }
309
+ }
310
+
311
+ @function tint($color, $percentage) {
312
+ @return mix(#fff, $color, $percentage);
313
+ }
314
+
315
+ @function shade($color, $percentage) {
316
+ @return mix(#000, $color, $percentage);
317
+ }
318
+
319
+ @mixin focused-inset() {
320
+ outline: $focusOutline;
321
+ outline-offset: $focusOutlineOffset;
322
+ box-shadow: inset $focusShadow;
323
+ }
324
+
325
+ @mixin menuitem-badge {
326
+ background: $badgeBg;
327
+ color: $badgeTextColor;
328
+ font-size: $badgeFontSize;
329
+ font-weight: $badgeFontWeight;
330
+ min-width: $badgeMinWidth;
331
+ height: $badgeHeight;
332
+ line-height: $badgeHeight;
333
+ border-radius: $borderRadius;
334
+ margin-left: $inlineSpacing;
335
+ padding-left: $inlineSpacing;
336
+ padding-right: $inlineSpacing;
337
+ }