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,576 @@
1
+ .p-button {
2
+ color: $buttonTextColor;
3
+ background: $buttonBg;
4
+ border: $buttonBorder;
5
+ padding: $buttonPadding;
6
+ font-size: $fontSize;
7
+ transition: $formElementTransition;
8
+ border-radius: $borderRadius;
9
+
10
+ &:not(:disabled):hover {
11
+ background: $buttonHoverBg;
12
+ color: $buttonTextHoverColor;
13
+ border-color: $buttonHoverBorderColor;
14
+ }
15
+
16
+ &:not(:disabled):active {
17
+ background: $buttonActiveBg;
18
+ color: $buttonTextActiveColor;
19
+ border-color: $buttonActiveBorderColor;
20
+ }
21
+
22
+ &.p-button-outlined {
23
+ background-color: transparent;
24
+ color: $buttonBg;
25
+ border: $outlinedButtonBorder;
26
+
27
+ &:not(:disabled):hover {
28
+ background: rgba($buttonBg, $textButtonHoverBgOpacity);
29
+ color: $buttonBg;
30
+ border: $outlinedButtonBorder;
31
+ }
32
+
33
+ &:not(:disabled):active {
34
+ background: rgba($buttonBg, $textButtonActiveBgOpacity);
35
+ color: $buttonBg;
36
+ border: $outlinedButtonBorder;
37
+ }
38
+
39
+ &.p-button-plain {
40
+ color: $plainButtonTextColor;
41
+ border-color: $plainButtonTextColor;
42
+
43
+ &:not(:disabled):hover {
44
+ background: $plainButtonHoverBgColor;
45
+ color: $plainButtonTextColor;
46
+ }
47
+
48
+ &:not(:disabled):active {
49
+ background: $plainButtonActiveBgColor;
50
+ color: $plainButtonTextColor;
51
+ }
52
+ }
53
+ }
54
+
55
+ &.p-button-text {
56
+ background-color: transparent;
57
+ color: $buttonBg;
58
+ border-color: transparent;
59
+
60
+ &:not(:disabled):hover {
61
+ background: rgba($buttonBg, $textButtonHoverBgOpacity);
62
+ color: $buttonBg;
63
+ border-color: transparent;
64
+ }
65
+
66
+ &:not(:disabled):active {
67
+ background: rgba($buttonBg, $textButtonActiveBgOpacity);
68
+ color: $buttonBg;
69
+ border-color: transparent;
70
+ }
71
+
72
+ &.p-button-plain {
73
+ color: $plainButtonTextColor;
74
+
75
+ &:not(:disabled):hover {
76
+ background: $plainButtonHoverBgColor;
77
+ color: $plainButtonTextColor;
78
+ }
79
+
80
+ &:not(:disabled):active {
81
+ background: $plainButtonActiveBgColor;
82
+ color: $plainButtonTextColor;
83
+ }
84
+ }
85
+ }
86
+
87
+ &:focus {
88
+ @include focused();
89
+ }
90
+
91
+ .p-button-label {
92
+ transition-duration: $transitionDuration;
93
+ }
94
+
95
+ .p-button-icon-left {
96
+ margin-right: $inlineSpacing;
97
+ }
98
+
99
+ .p-button-icon-right {
100
+ margin-left: $inlineSpacing;
101
+ }
102
+
103
+ .p-button-icon-bottom {
104
+ margin-top: $inlineSpacing;
105
+ }
106
+
107
+ .p-button-icon-top {
108
+ margin-bottom: $inlineSpacing;
109
+ }
110
+
111
+ .p-badge {
112
+ margin-left: $inlineSpacing;
113
+ min-width: $fontSize;
114
+ height: $fontSize;
115
+ line-height: $fontSize;
116
+ color: $buttonBg;
117
+ background-color: $buttonTextColor;
118
+ }
119
+
120
+ &.p-button-raised {
121
+ box-shadow: $raisedButtonShadow;
122
+ }
123
+
124
+ &.p-button-rounded {
125
+ border-radius: $roundedButtonBorderRadius;
126
+ }
127
+
128
+ &.p-button-icon-only {
129
+ width: $buttonIconOnlyWidth;
130
+ padding: $buttonIconOnlyPadding;
131
+
132
+ .p-button-icon-left,
133
+ .p-button-icon-right {
134
+ margin: 0;
135
+ }
136
+
137
+ &.p-button-rounded {
138
+ border-radius: 50%;
139
+ height: $buttonIconOnlyWidth;
140
+ }
141
+ }
142
+
143
+ &.p-button-sm {
144
+ @include scaledFontSize($fontSize, $scaleSM);
145
+ @include scaledPadding($buttonPadding, $scaleSM);
146
+
147
+ .p-button-icon {
148
+ @include scaledFontSize($primeIconFontSize, $scaleSM);
149
+ }
150
+ }
151
+
152
+ &.p-button-lg {
153
+ @include scaledFontSize($fontSize, $scaleLG);
154
+ @include scaledPadding($buttonPadding, $scaleLG);
155
+
156
+ .p-button-icon {
157
+ @include scaledFontSize($primeIconFontSize, $scaleLG);
158
+ }
159
+ }
160
+
161
+ &.p-button-loading-label-only {
162
+ .p-button-label {
163
+ margin-left: $inlineSpacing;
164
+ }
165
+
166
+ .p-button-loading-icon {
167
+ margin-right: 0;
168
+ }
169
+ }
170
+ }
171
+
172
+ .p-fluid {
173
+ .p-button {
174
+ width: 100%;
175
+ }
176
+
177
+ .p-button-icon-only {
178
+ width: $buttonIconOnlyWidth;
179
+ }
180
+
181
+ .p-buttonset {
182
+ display: flex;
183
+
184
+ .p-button {
185
+ flex: 1;
186
+ }
187
+ }
188
+ }
189
+
190
+ .p-button.p-button-secondary,
191
+ .p-buttonset.p-button-secondary > .p-button,
192
+ .p-splitbutton.p-button-secondary > .p-button {
193
+ color: $secondaryButtonTextColor;
194
+ background: $secondaryButtonBg;
195
+ border: $secondaryButtonBorder;
196
+
197
+ &:not(:disabled):hover {
198
+ background: $secondaryButtonHoverBg;
199
+ color: $secondaryButtonTextHoverColor;
200
+ border-color: $secondaryButtonHoverBorderColor;
201
+ }
202
+
203
+ &:not(:disabled):focus {
204
+ box-shadow: $secondaryButtonFocusShadow;
205
+ }
206
+
207
+ &:not(:disabled):active {
208
+ background: $secondaryButtonActiveBg;
209
+ color: $secondaryButtonTextActiveColor;
210
+ border-color: $secondaryButtonActiveBorderColor;
211
+ }
212
+
213
+ &.p-button-outlined {
214
+ background-color: transparent;
215
+ color: $secondaryButtonBg;
216
+ border: $outlinedButtonBorder;
217
+
218
+ &:not(:disabled):hover {
219
+ background: rgba($secondaryButtonBg, $textButtonHoverBgOpacity);
220
+ color: $secondaryButtonBg;
221
+ border: $outlinedButtonBorder;
222
+ }
223
+
224
+ &:not(:disabled):active {
225
+ background: rgba($secondaryButtonBg, $textButtonActiveBgOpacity);
226
+ color: $secondaryButtonBg;
227
+ border: $outlinedButtonBorder;
228
+ }
229
+ }
230
+
231
+ &.p-button-text {
232
+ background-color: transparent;
233
+ color: $secondaryButtonBg;
234
+ border-color: transparent;
235
+
236
+ &:not(:disabled):hover {
237
+ background: rgba($secondaryButtonBg, $textButtonHoverBgOpacity);
238
+ border-color: transparent;
239
+ color: $secondaryButtonBg;
240
+ }
241
+
242
+ &:not(:disabled):active {
243
+ background: rgba($secondaryButtonBg, $textButtonActiveBgOpacity);
244
+ border-color: transparent;
245
+ color: $secondaryButtonBg;
246
+ }
247
+ }
248
+ }
249
+
250
+ .p-button.p-button-info,
251
+ .p-buttonset.p-button-info > .p-button,
252
+ .p-splitbutton.p-button-info > .p-button {
253
+ color: $infoButtonTextColor;
254
+ background: $infoButtonBg;
255
+ border: $infoButtonBorder;
256
+
257
+ &:not(:disabled):hover {
258
+ background: $infoButtonHoverBg;
259
+ color: $infoButtonTextHoverColor;
260
+ border-color: $infoButtonHoverBorderColor;
261
+ }
262
+
263
+ &:not(:disabled):focus {
264
+ box-shadow: $infoButtonFocusShadow;
265
+ }
266
+
267
+ &:not(:disabled):active {
268
+ background: $infoButtonActiveBg;
269
+ color: $infoButtonTextActiveColor;
270
+ border-color: $infoButtonActiveBorderColor;
271
+ }
272
+
273
+ &.p-button-outlined {
274
+ background-color: transparent;
275
+ color: $infoButtonBg;
276
+ border: $outlinedButtonBorder;
277
+
278
+ &:not(:disabled):hover {
279
+ background: rgba($infoButtonBg, $textButtonHoverBgOpacity);
280
+ color: $infoButtonBg;
281
+ border: $outlinedButtonBorder;
282
+ }
283
+
284
+ &:not(:disabled):active {
285
+ background: rgba($infoButtonBg, $textButtonActiveBgOpacity);
286
+ color: $infoButtonBg;
287
+ border: $outlinedButtonBorder;
288
+ }
289
+ }
290
+
291
+ &.p-button-text {
292
+ background-color: transparent;
293
+ color: $infoButtonBg;
294
+ border-color: transparent;
295
+
296
+ &:not(:disabled):hover {
297
+ background: rgba($infoButtonBg, $textButtonHoverBgOpacity);
298
+ border-color: transparent;
299
+ color: $infoButtonBg;
300
+ }
301
+
302
+ &:not(:disabled):active {
303
+ background: rgba($infoButtonBg, $textButtonActiveBgOpacity);
304
+ border-color: transparent;
305
+ color: $infoButtonBg;
306
+ }
307
+ }
308
+ }
309
+
310
+ .p-button.p-button-success,
311
+ .p-buttonset.p-button-success > .p-button,
312
+ .p-splitbutton.p-button-success > .p-button {
313
+ color: $successButtonTextColor;
314
+ background: $successButtonBg;
315
+ border: $successButtonBorder;
316
+
317
+ &:not(:disabled):hover {
318
+ background: $successButtonHoverBg;
319
+ color: $successButtonTextHoverColor;
320
+ border-color: $successButtonHoverBorderColor;
321
+ }
322
+
323
+ &:not(:disabled):focus {
324
+ box-shadow: $successButtonFocusShadow;
325
+ }
326
+
327
+ &:not(:disabled):active {
328
+ background: $successButtonActiveBg;
329
+ color: $successButtonTextActiveColor;
330
+ border-color: $successButtonActiveBorderColor;
331
+ }
332
+
333
+ &.p-button-outlined {
334
+ background-color: transparent;
335
+ color: $successButtonBg;
336
+ border: $outlinedButtonBorder;
337
+
338
+ &:not(:disabled):hover {
339
+ background: rgba($successButtonBg, $textButtonHoverBgOpacity);
340
+ color: $successButtonBg;
341
+ border: $outlinedButtonBorder;
342
+ }
343
+
344
+ &:not(:disabled):active {
345
+ background: rgba($successButtonBg, $textButtonActiveBgOpacity);
346
+ color: $successButtonBg;
347
+ border: $outlinedButtonBorder;
348
+ }
349
+ }
350
+
351
+ &.p-button-text {
352
+ background-color: transparent;
353
+ color: $successButtonBg;
354
+ border-color: transparent;
355
+
356
+ &:not(:disabled):hover {
357
+ background: rgba($successButtonBg, $textButtonHoverBgOpacity);
358
+ border-color: transparent;
359
+ color: $successButtonBg;
360
+ }
361
+
362
+ &:not(:disabled):active {
363
+ background: rgba($successButtonBg, $textButtonActiveBgOpacity);
364
+ border-color: transparent;
365
+ color: $successButtonBg;
366
+ }
367
+ }
368
+ }
369
+
370
+ .p-button.p-button-warning,
371
+ .p-buttonset.p-button-warning > .p-button,
372
+ .p-splitbutton.p-button-warning > .p-button {
373
+ color: $warningButtonTextColor;
374
+ background: $warningButtonBg;
375
+ border: $warningButtonBorder;
376
+
377
+ &:not(:disabled):hover {
378
+ background: $warningButtonHoverBg;
379
+ color: $warningButtonTextHoverColor;
380
+ border-color: $warningButtonHoverBorderColor;
381
+ }
382
+
383
+ &:not(:disabled):focus {
384
+ box-shadow: $warningButtonFocusShadow;
385
+ }
386
+
387
+ &:not(:disabled):active {
388
+ background: $warningButtonActiveBg;
389
+ color: $warningButtonTextActiveColor;
390
+ border-color: $warningButtonActiveBorderColor;
391
+ }
392
+
393
+ &.p-button-outlined {
394
+ background-color: transparent;
395
+ color: $warningButtonBg;
396
+ border: $outlinedButtonBorder;
397
+
398
+ &:not(:disabled):hover {
399
+ background: rgba($warningButtonBg, $textButtonHoverBgOpacity);
400
+ color: $warningButtonBg;
401
+ border: $outlinedButtonBorder;
402
+ }
403
+
404
+ &:not(:disabled):active {
405
+ background: rgba($warningButtonBg, $textButtonActiveBgOpacity);
406
+ color: $warningButtonBg;
407
+ border: $outlinedButtonBorder;
408
+ }
409
+ }
410
+
411
+ &.p-button-text {
412
+ background-color: transparent;
413
+ color: $warningButtonBg;
414
+ border-color: transparent;
415
+
416
+ &:not(:disabled):hover {
417
+ background: rgba($warningButtonBg, $textButtonHoverBgOpacity);
418
+ border-color: transparent;
419
+ color: $warningButtonBg;
420
+ }
421
+
422
+ &:not(:disabled):active {
423
+ background: rgba($warningButtonBg, $textButtonActiveBgOpacity);
424
+ border-color: transparent;
425
+ color: $warningButtonBg;
426
+ }
427
+ }
428
+ }
429
+
430
+ .p-button.p-button-help,
431
+ .p-buttonset.p-button-help > .p-button,
432
+ .p-splitbutton.p-button-help > .p-button {
433
+ color: $helpButtonTextColor;
434
+ background: $helpButtonBg;
435
+ border: $helpButtonBorder;
436
+
437
+ &:not(:disabled):hover {
438
+ background: $helpButtonHoverBg;
439
+ color: $helpButtonTextHoverColor;
440
+ border-color: $helpButtonHoverBorderColor;
441
+ }
442
+
443
+ &:not(:disabled):focus {
444
+ box-shadow: $helpButtonFocusShadow;
445
+ }
446
+
447
+ &:not(:disabled):active {
448
+ background: $helpButtonActiveBg;
449
+ color: $helpButtonTextActiveColor;
450
+ border-color: $helpButtonActiveBorderColor;
451
+ }
452
+
453
+ &.p-button-outlined {
454
+ background-color: transparent;
455
+ color: $helpButtonBg;
456
+ border: $outlinedButtonBorder;
457
+
458
+ &:not(:disabled):hover {
459
+ background: rgba($helpButtonBg, $textButtonHoverBgOpacity);
460
+ color: $helpButtonBg;
461
+ border: $outlinedButtonBorder;
462
+ }
463
+
464
+ &:not(:disabled):active {
465
+ background: rgba($helpButtonBg, $textButtonActiveBgOpacity);
466
+ color: $helpButtonBg;
467
+ border: $outlinedButtonBorder;
468
+ }
469
+ }
470
+
471
+ &.p-button-text {
472
+ background-color: transparent;
473
+ color: $helpButtonBg;
474
+ border-color: transparent;
475
+
476
+ &:not(:disabled):hover {
477
+ background: rgba($helpButtonBg, $textButtonHoverBgOpacity);
478
+ border-color: transparent;
479
+ color: $helpButtonBg;
480
+ }
481
+
482
+ &:not(:disabled):active {
483
+ background: rgba($helpButtonBg, $textButtonActiveBgOpacity);
484
+ border-color: transparent;
485
+ color: $helpButtonBg;
486
+ }
487
+ }
488
+ }
489
+
490
+ .p-button.p-button-danger,
491
+ .p-buttonset.p-button-danger > .p-button,
492
+ .p-splitbutton.p-button-danger > .p-button {
493
+ color: $dangerButtonTextColor;
494
+ background: $dangerButtonBg;
495
+ border: $dangerButtonBorder;
496
+
497
+ &:not(:disabled):hover {
498
+ background: $dangerButtonHoverBg;
499
+ color: $dangerButtonTextHoverColor;
500
+ border-color: $dangerButtonHoverBorderColor;
501
+ }
502
+
503
+ &:not(:disabled):focus {
504
+ box-shadow: $dangerButtonFocusShadow;
505
+ }
506
+
507
+ &:not(:disabled):active {
508
+ background: $dangerButtonActiveBg;
509
+ color: $dangerButtonTextActiveColor;
510
+ border-color: $dangerButtonActiveBorderColor;
511
+ }
512
+
513
+ &.p-button-outlined {
514
+ background-color: transparent;
515
+ color: $dangerButtonBg;
516
+ border: $outlinedButtonBorder;
517
+
518
+ &:not(:disabled):hover {
519
+ background: rgba($dangerButtonBg, $textButtonHoverBgOpacity);
520
+ color: $dangerButtonBg;
521
+ border: $outlinedButtonBorder;
522
+ }
523
+
524
+ &:not(:disabled):active {
525
+ background: rgba($dangerButtonBg, $textButtonActiveBgOpacity);
526
+ color: $dangerButtonBg;
527
+ border: $outlinedButtonBorder;
528
+ }
529
+ }
530
+
531
+ &.p-button-text {
532
+ background-color: transparent;
533
+ color: $dangerButtonBg;
534
+ border-color: transparent;
535
+
536
+ &:not(:disabled):hover {
537
+ background: rgba($dangerButtonBg, $textButtonHoverBgOpacity);
538
+ border-color: transparent;
539
+ color: $dangerButtonBg;
540
+ }
541
+
542
+ &:not(:disabled):active {
543
+ background: rgba($dangerButtonBg, $textButtonActiveBgOpacity);
544
+ border-color: transparent;
545
+ color: $dangerButtonBg;
546
+ }
547
+ }
548
+ }
549
+
550
+ .p-button.p-button-link {
551
+ color: $linkButtonColor;
552
+ background: transparent;
553
+ border: transparent;
554
+
555
+ &:not(:disabled):hover {
556
+ background: transparent;
557
+ color: $linkButtonHoverColor;
558
+ border-color: transparent;
559
+
560
+ .p-button-label {
561
+ text-decoration: $linkButtonTextHoverDecoration;
562
+ }
563
+ }
564
+
565
+ &:not(:disabled):focus {
566
+ background: transparent;
567
+ box-shadow: $linkButtonFocusShadow;
568
+ border-color: transparent;
569
+ }
570
+
571
+ &:not(:disabled):active {
572
+ background: transparent;
573
+ color: $linkButtonColor;
574
+ border-color: transparent;
575
+ }
576
+ }
@@ -0,0 +1,96 @@
1
+ @use 'sass:math';
2
+
3
+ .p-speeddial-button {
4
+ &.p-button.p-button-icon-only {
5
+ width: $speedDialButtonWidth;
6
+ height: $speedDialButtonHeight;
7
+
8
+ .p-button-icon {
9
+ font-size: $speedDialButtonIconFontSize;
10
+ }
11
+
12
+ .p-icon {
13
+ width: $speedDialButtonIconFontSize;
14
+ height: $speedDialButtonIconFontSize;
15
+ }
16
+ }
17
+ }
18
+
19
+ .p-speeddial-list {
20
+ outline: 0 none;
21
+ }
22
+
23
+ .p-speeddial-item {
24
+ &.p-focus > .p-speeddial-action {
25
+ @include focused();
26
+ }
27
+ }
28
+
29
+ .p-speeddial-action {
30
+ width: $speedDialActionWidth;
31
+ height: $speedDialActionHeight;
32
+ background: $speedDialActionBg;
33
+ color: $speedDialActionTextColor;
34
+
35
+ &:hover {
36
+ background: $speedDialActionHoverBg;
37
+ color: $speedDialActionTextHoverColor;
38
+ }
39
+ }
40
+
41
+ .p-speeddial-direction-up {
42
+ .p-speeddial-item {
43
+ margin: math.div($inlineSpacing, 2) 0;
44
+
45
+ &:first-child {
46
+ margin-bottom: $inlineSpacing;
47
+ }
48
+ }
49
+ }
50
+
51
+ .p-speeddial-direction-down {
52
+ .p-speeddial-item {
53
+ margin: math.div($inlineSpacing, 2) 0;
54
+
55
+ &:first-child {
56
+ margin-top: $inlineSpacing;
57
+ }
58
+ }
59
+ }
60
+
61
+ .p-speeddial-direction-left {
62
+ .p-speeddial-item {
63
+ margin: 0 math.div($inlineSpacing, 2);
64
+
65
+ &:first-child {
66
+ margin-right: $inlineSpacing;
67
+ }
68
+ }
69
+ }
70
+
71
+ .p-speeddial-direction-right {
72
+ .p-speeddial-item {
73
+ margin: 0 math.div($inlineSpacing, 2);
74
+
75
+ &:first-child {
76
+ margin-left: $inlineSpacing;
77
+ }
78
+ }
79
+ }
80
+
81
+ .p-speeddial-circle,
82
+ .p-speeddial-semi-circle,
83
+ .p-speeddial-quarter-circle {
84
+ .p-speeddial-item {
85
+ margin: 0;
86
+
87
+ &:first-child,
88
+ &:last-child {
89
+ margin: 0;
90
+ }
91
+ }
92
+ }
93
+
94
+ .p-speeddial-mask {
95
+ background-color: $maskBg;
96
+ }