cax-design-system 2.7.12 → 2.8.0

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 (285) hide show
  1. package/README.md +46 -46
  2. package/esm2022/accordion/accordion.mjs +3 -3
  3. package/esm2022/autocomplete/autocomplete.mjs +3 -3
  4. package/esm2022/avatar/avatar.mjs +3 -3
  5. package/esm2022/avatargroup/avatargroup.mjs +3 -3
  6. package/esm2022/badge/badge.mjs +3 -3
  7. package/esm2022/breadcrumb/breadcrumb.mjs +3 -3
  8. package/esm2022/button/button.mjs +3 -3
  9. package/esm2022/calendar/calendar.mjs +3 -3
  10. package/esm2022/card/card.mjs +3 -3
  11. package/esm2022/cascadeselect/cascadeselect.mjs +5 -5
  12. package/esm2022/checkbox/checkbox.mjs +3 -3
  13. package/esm2022/chip/chip.mjs +3 -3
  14. package/esm2022/chips/chips.mjs +3 -3
  15. package/esm2022/colorpicker/colorpicker.mjs +3 -3
  16. package/esm2022/commentbox/commentbox.mjs +3 -3
  17. package/esm2022/confirmdialog/confirmdialog.mjs +3 -3
  18. package/esm2022/dialog/dialog.mjs +3 -3
  19. package/esm2022/divider/divider.mjs +3 -3
  20. package/esm2022/dropdown/dropdown-item.mjs +3 -3
  21. package/esm2022/dropdown/dropdown.mjs +3 -3
  22. package/esm2022/editor/editor.mjs +3 -3
  23. package/esm2022/image/image.mjs +3 -3
  24. package/esm2022/inputgroup/inputgroup.mjs +3 -3
  25. package/esm2022/inputgroupaddon/inputgroupaddon.mjs +3 -3
  26. package/esm2022/inputmask/inputmask.mjs +3 -3
  27. package/esm2022/inputnumber/inputnumber.mjs +3 -3
  28. package/esm2022/inputtext/inputtext.component.mjs +3 -3
  29. package/esm2022/inputtextarea/inputtextarea.component.mjs +3 -3
  30. package/esm2022/logo/logo.mjs +3 -3
  31. package/esm2022/menu/menu.mjs +5 -5
  32. package/esm2022/messages/messages.mjs +3 -3
  33. package/esm2022/multiselect/multiselect.mjs +5 -5
  34. package/esm2022/navigation/navigation.mjs +3 -3
  35. package/esm2022/overlay/overlay.mjs +3 -3
  36. package/esm2022/overlaypanel/overlaypanel.mjs +3 -3
  37. package/esm2022/paginator/paginator.mjs +3 -3
  38. package/esm2022/progressbar/progressbar.mjs +3 -3
  39. package/esm2022/progressspinner/progressspinner.mjs +3 -3
  40. package/esm2022/radiobutton/radiobutton.mjs +3 -3
  41. package/esm2022/scroller/scroller.mjs +3 -3
  42. package/esm2022/selectbutton/selectbutton.mjs +3 -3
  43. package/esm2022/sidebar/sidebar.mjs +3 -3
  44. package/esm2022/skeleton/skeleton.mjs +3 -3
  45. package/esm2022/speeddial/speeddial.mjs +3 -3
  46. package/esm2022/splitbutton/splitbutton.mjs +3 -3
  47. package/esm2022/splitter/splitter.mjs +3 -3
  48. package/esm2022/steps/steps.mjs +3 -3
  49. package/esm2022/table/components/cell-editor/cell-editor.mjs +3 -3
  50. package/esm2022/table/components/column-filter/column-filter.mjs +3 -3
  51. package/esm2022/table/components/column-filter-form-element/column-filter-form-element.mjs +3 -3
  52. package/esm2022/table/components/sort-icon/sort-icon.mjs +3 -3
  53. package/esm2022/table/components/table-body/table-body.mjs +3 -3
  54. package/esm2022/table/components/table-checkbox/table-checkbox.mjs +3 -3
  55. package/esm2022/table/components/table-header-checkbox/table-header-checkbox.mjs +3 -3
  56. package/esm2022/table/components/table-radio-button/table-radio-button.mjs +3 -3
  57. package/esm2022/table/table.mjs +3 -3
  58. package/esm2022/tableconfiguration/tableconfiguration.mjs +3 -3
  59. package/esm2022/tabview/tabview.mjs +5 -5
  60. package/esm2022/tag/tag.mjs +3 -3
  61. package/esm2022/timeline/timeline.mjs +3 -3
  62. package/esm2022/toast/toast.mjs +3 -3
  63. package/esm2022/toast/toastitem.mjs +3 -3
  64. package/esm2022/toggleswitch/toggleswitch.mjs +3 -3
  65. package/esm2022/tree/tree.mjs +5 -5
  66. package/esm2022/treeselect/treeselect.mjs +3 -3
  67. package/esm2022/tristatecheckbox/tristatecheckbox.mjs +3 -3
  68. package/esm2022/upload/upload.component.mjs +3 -3
  69. package/fesm2022/cax-design-system-accordion.mjs +2 -2
  70. package/fesm2022/cax-design-system-accordion.mjs.map +1 -1
  71. package/fesm2022/cax-design-system-autocomplete.mjs +2 -2
  72. package/fesm2022/cax-design-system-autocomplete.mjs.map +1 -1
  73. package/fesm2022/cax-design-system-avatar.mjs +2 -2
  74. package/fesm2022/cax-design-system-avatar.mjs.map +1 -1
  75. package/fesm2022/cax-design-system-avatargroup.mjs +2 -2
  76. package/fesm2022/cax-design-system-avatargroup.mjs.map +1 -1
  77. package/fesm2022/cax-design-system-badge.mjs +2 -2
  78. package/fesm2022/cax-design-system-badge.mjs.map +1 -1
  79. package/fesm2022/cax-design-system-breadcrumb.mjs +2 -2
  80. package/fesm2022/cax-design-system-breadcrumb.mjs.map +1 -1
  81. package/fesm2022/cax-design-system-button.mjs +2 -2
  82. package/fesm2022/cax-design-system-button.mjs.map +1 -1
  83. package/fesm2022/cax-design-system-calendar.mjs +2 -2
  84. package/fesm2022/cax-design-system-calendar.mjs.map +1 -1
  85. package/fesm2022/cax-design-system-card.mjs +2 -2
  86. package/fesm2022/cax-design-system-card.mjs.map +1 -1
  87. package/fesm2022/cax-design-system-cascadeselect.mjs +4 -4
  88. package/fesm2022/cax-design-system-cascadeselect.mjs.map +1 -1
  89. package/fesm2022/cax-design-system-checkbox.mjs +2 -2
  90. package/fesm2022/cax-design-system-checkbox.mjs.map +1 -1
  91. package/fesm2022/cax-design-system-chip.mjs +2 -2
  92. package/fesm2022/cax-design-system-chip.mjs.map +1 -1
  93. package/fesm2022/cax-design-system-chips.mjs +2 -2
  94. package/fesm2022/cax-design-system-chips.mjs.map +1 -1
  95. package/fesm2022/cax-design-system-colorpicker.mjs +2 -2
  96. package/fesm2022/cax-design-system-colorpicker.mjs.map +1 -1
  97. package/fesm2022/cax-design-system-commentbox.mjs +2 -2
  98. package/fesm2022/cax-design-system-commentbox.mjs.map +1 -1
  99. package/fesm2022/cax-design-system-confirmdialog.mjs +2 -2
  100. package/fesm2022/cax-design-system-confirmdialog.mjs.map +1 -1
  101. package/fesm2022/cax-design-system-dialog.mjs +2 -2
  102. package/fesm2022/cax-design-system-dialog.mjs.map +1 -1
  103. package/fesm2022/cax-design-system-divider.mjs +2 -2
  104. package/fesm2022/cax-design-system-divider.mjs.map +1 -1
  105. package/fesm2022/cax-design-system-dropdown.mjs +4 -4
  106. package/fesm2022/cax-design-system-dropdown.mjs.map +1 -1
  107. package/fesm2022/cax-design-system-editor.mjs +2 -2
  108. package/fesm2022/cax-design-system-editor.mjs.map +1 -1
  109. package/fesm2022/cax-design-system-image.mjs +2 -2
  110. package/fesm2022/cax-design-system-image.mjs.map +1 -1
  111. package/fesm2022/cax-design-system-inputgroup.mjs +2 -2
  112. package/fesm2022/cax-design-system-inputgroup.mjs.map +1 -1
  113. package/fesm2022/cax-design-system-inputgroupaddon.mjs +2 -2
  114. package/fesm2022/cax-design-system-inputgroupaddon.mjs.map +1 -1
  115. package/fesm2022/cax-design-system-inputmask.mjs +2 -2
  116. package/fesm2022/cax-design-system-inputmask.mjs.map +1 -1
  117. package/fesm2022/cax-design-system-inputnumber.mjs +2 -2
  118. package/fesm2022/cax-design-system-inputnumber.mjs.map +1 -1
  119. package/fesm2022/cax-design-system-inputtext.mjs +2 -2
  120. package/fesm2022/cax-design-system-inputtext.mjs.map +1 -1
  121. package/fesm2022/cax-design-system-inputtextarea.mjs +2 -2
  122. package/fesm2022/cax-design-system-inputtextarea.mjs.map +1 -1
  123. package/fesm2022/cax-design-system-logo.mjs +2 -2
  124. package/fesm2022/cax-design-system-logo.mjs.map +1 -1
  125. package/fesm2022/cax-design-system-menu.mjs +4 -4
  126. package/fesm2022/cax-design-system-menu.mjs.map +1 -1
  127. package/fesm2022/cax-design-system-messages.mjs +2 -2
  128. package/fesm2022/cax-design-system-messages.mjs.map +1 -1
  129. package/fesm2022/cax-design-system-multiselect.mjs +4 -4
  130. package/fesm2022/cax-design-system-multiselect.mjs.map +1 -1
  131. package/fesm2022/cax-design-system-navigation.mjs +2 -2
  132. package/fesm2022/cax-design-system-navigation.mjs.map +1 -1
  133. package/fesm2022/cax-design-system-overlay.mjs +2 -2
  134. package/fesm2022/cax-design-system-overlay.mjs.map +1 -1
  135. package/fesm2022/cax-design-system-overlaypanel.mjs +2 -2
  136. package/fesm2022/cax-design-system-overlaypanel.mjs.map +1 -1
  137. package/fesm2022/cax-design-system-paginator.mjs +2 -2
  138. package/fesm2022/cax-design-system-paginator.mjs.map +1 -1
  139. package/fesm2022/cax-design-system-progressbar.mjs +2 -2
  140. package/fesm2022/cax-design-system-progressbar.mjs.map +1 -1
  141. package/fesm2022/cax-design-system-progressspinner.mjs +2 -2
  142. package/fesm2022/cax-design-system-progressspinner.mjs.map +1 -1
  143. package/fesm2022/cax-design-system-radiobutton.mjs +2 -2
  144. package/fesm2022/cax-design-system-radiobutton.mjs.map +1 -1
  145. package/fesm2022/cax-design-system-scroller.mjs +2 -2
  146. package/fesm2022/cax-design-system-scroller.mjs.map +1 -1
  147. package/fesm2022/cax-design-system-selectbutton.mjs +2 -2
  148. package/fesm2022/cax-design-system-selectbutton.mjs.map +1 -1
  149. package/fesm2022/cax-design-system-sidebar.mjs +2 -2
  150. package/fesm2022/cax-design-system-sidebar.mjs.map +1 -1
  151. package/fesm2022/cax-design-system-skeleton.mjs +2 -2
  152. package/fesm2022/cax-design-system-skeleton.mjs.map +1 -1
  153. package/fesm2022/cax-design-system-speeddial.mjs +2 -2
  154. package/fesm2022/cax-design-system-speeddial.mjs.map +1 -1
  155. package/fesm2022/cax-design-system-splitbutton.mjs +2 -2
  156. package/fesm2022/cax-design-system-splitbutton.mjs.map +1 -1
  157. package/fesm2022/cax-design-system-splitter.mjs +2 -2
  158. package/fesm2022/cax-design-system-splitter.mjs.map +1 -1
  159. package/fesm2022/cax-design-system-steps.mjs +2 -2
  160. package/fesm2022/cax-design-system-steps.mjs.map +1 -1
  161. package/fesm2022/cax-design-system-table.mjs +18 -18
  162. package/fesm2022/cax-design-system-table.mjs.map +1 -1
  163. package/fesm2022/cax-design-system-tableconfiguration.mjs +2 -2
  164. package/fesm2022/cax-design-system-tableconfiguration.mjs.map +1 -1
  165. package/fesm2022/cax-design-system-tabview.mjs +4 -4
  166. package/fesm2022/cax-design-system-tabview.mjs.map +1 -1
  167. package/fesm2022/cax-design-system-tag.mjs +2 -2
  168. package/fesm2022/cax-design-system-tag.mjs.map +1 -1
  169. package/fesm2022/cax-design-system-timeline.mjs +2 -2
  170. package/fesm2022/cax-design-system-timeline.mjs.map +1 -1
  171. package/fesm2022/cax-design-system-toast.mjs +4 -4
  172. package/fesm2022/cax-design-system-toast.mjs.map +1 -1
  173. package/fesm2022/cax-design-system-toggleswitch.mjs +2 -2
  174. package/fesm2022/cax-design-system-toggleswitch.mjs.map +1 -1
  175. package/fesm2022/cax-design-system-tree.mjs +4 -4
  176. package/fesm2022/cax-design-system-tree.mjs.map +1 -1
  177. package/fesm2022/cax-design-system-treeselect.mjs +2 -2
  178. package/fesm2022/cax-design-system-treeselect.mjs.map +1 -1
  179. package/fesm2022/cax-design-system-tristatecheckbox.mjs +2 -2
  180. package/fesm2022/cax-design-system-tristatecheckbox.mjs.map +1 -1
  181. package/fesm2022/cax-design-system-upload.mjs +2 -2
  182. package/fesm2022/cax-design-system-upload.mjs.map +1 -1
  183. package/package.json +138 -138
  184. package/resources/cax.min.scss +1 -1
  185. package/resources/cax.scss +12518 -12488
  186. package/resources/components/accordion/accordion.scss +46 -46
  187. package/resources/components/autocomplete/autocomplete.scss +183 -183
  188. package/resources/components/avatar/avatar.scss +34 -34
  189. package/resources/components/avatargroup/avatargroup.scss +10 -10
  190. package/resources/components/badge/badge.scss +67 -67
  191. package/resources/components/blockui/blockui.css +26 -26
  192. package/resources/components/breadcrumb/breadcrumb.scss +33 -33
  193. package/resources/components/button/button.scss +163 -163
  194. package/resources/components/calendar/calendar.scss +235 -235
  195. package/resources/components/card/card.scss +50 -50
  196. package/resources/components/carousel/carousel.css +71 -71
  197. package/resources/components/cascadeselect/cascadeselect.scss +105 -105
  198. package/resources/components/checkbox/checkbox.scss +30 -30
  199. package/resources/components/chip/chip.scss +6 -6
  200. package/resources/components/chips/chips.scss +205 -205
  201. package/resources/components/colorpicker/colorpicker-images.scss +6 -6
  202. package/resources/components/colorpicker/colorpicker.scss +82 -82
  203. package/resources/components/commentbox/commentbox.scss +611 -611
  204. package/resources/components/common/common.scss +183 -183
  205. package/resources/components/confirmpopup/confirmpopup.css +53 -53
  206. package/resources/components/contextmenu/contextmenu.css +42 -42
  207. package/resources/components/dataview/dataview.css +13 -13
  208. package/resources/components/dialog/dialog.scss +171 -171
  209. package/resources/components/divider/divider.scss +86 -86
  210. package/resources/components/dock/dock.css +107 -107
  211. package/resources/components/dropdown/dropdown.scss +94 -94
  212. package/resources/components/editor/editor.scss +3 -3
  213. package/resources/components/fieldset/fieldset.css +30 -30
  214. package/resources/components/fileupload/fileupload.css +47 -47
  215. package/resources/components/galleria/galleria.css +281 -281
  216. package/resources/components/iconfield/iconfield.css +5 -5
  217. package/resources/components/image/image.scss +92 -92
  218. package/resources/components/inplace/inplace.css +19 -19
  219. package/resources/components/inputicon/inputicon.css +6 -6
  220. package/resources/components/inputmask/inputmask.scss +12 -12
  221. package/resources/components/inputnumber/inputnumber.scss +109 -109
  222. package/resources/components/inputotp/inputotp.css +2 -2
  223. package/resources/components/inputswitch/inputswitch.css +23 -23
  224. package/resources/components/inputtext/inputtext.scss +145 -145
  225. package/resources/components/inputtextarea/inputtextarea.scss +10 -10
  226. package/resources/components/knob/knob.css +20 -20
  227. package/resources/components/listbox/listbox.css +40 -40
  228. package/resources/components/megamenu/megamenu.css +108 -108
  229. package/resources/components/menu/menu.scss +30 -30
  230. package/resources/components/menubar/menubar.css +81 -81
  231. package/resources/components/message/message.css +17 -17
  232. package/resources/components/messages/messages.scss +55 -55
  233. package/resources/components/multiselect/multiselect.scss +132 -132
  234. package/resources/components/navigation/navigation.scss +196 -196
  235. package/resources/components/orderlist/orderlist.css +78 -78
  236. package/resources/components/organizationchart/organizationchart.css +62 -62
  237. package/resources/components/overlay/overlay.scss +80 -80
  238. package/resources/components/overlaypanel/overlaypanel.scss +66 -66
  239. package/resources/components/paginator/paginator.scss +41 -41
  240. package/resources/components/panel/panel.css +29 -29
  241. package/resources/components/panelmenu/panelmenu.css +45 -45
  242. package/resources/components/password/password.css +54 -54
  243. package/resources/components/picklist/picklist.css +60 -60
  244. package/resources/components/progressbar/progressbar.scss +107 -107
  245. package/resources/components/progressspinner/progressspinner.scss +94 -94
  246. package/resources/components/radiobutton/radiobutton.scss +34 -34
  247. package/resources/components/rating/rating.css +15 -15
  248. package/resources/components/ripple/ripple.scss +29 -29
  249. package/resources/components/scroller/scroller.scss +58 -58
  250. package/resources/components/scrollpanel/scrollpanel.css +50 -50
  251. package/resources/components/scrolltop/scrolltop.css +18 -18
  252. package/resources/components/sidebar/sidebar.scss +117 -117
  253. package/resources/components/skeleton/skeleton.scss +24 -24
  254. package/resources/components/slidemenu/slidemenu.css +100 -100
  255. package/resources/components/slider/slider.css +41 -41
  256. package/resources/components/speeddial/speeddial.scss +122 -122
  257. package/resources/components/spinner/spinner.css +63 -63
  258. package/resources/components/splitbutton/splitbutton.scss +53 -53
  259. package/resources/components/splitter/splitter.scss +73 -73
  260. package/resources/components/stepper/stepper.css +9 -9
  261. package/resources/components/steps/steps.scss +50 -50
  262. package/resources/components/table/table.scss +451 -451
  263. package/resources/components/tableconfiguration/tableconfiguration.scss +115 -115
  264. package/resources/components/tabmenu/tabmenu.css +80 -80
  265. package/resources/components/tabview/tabview.scss +198 -198
  266. package/resources/components/tag/tag.scss +23 -23
  267. package/resources/components/terminal/terminal.css +24 -24
  268. package/resources/components/tieredmenu/tieredmenu.scss +55 -55
  269. package/resources/components/timeline/timeline.scss +128 -128
  270. package/resources/components/toast/toast.scss +87 -87
  271. package/resources/components/toggleswitch/toggleswitch.scss +36 -36
  272. package/resources/components/toolbar/toolbar.css +19 -19
  273. package/resources/components/tooltip/tooltip.scss +124 -124
  274. package/resources/components/tree/tree.scss +154 -154
  275. package/resources/components/treeselect/treeselect.scss +114 -114
  276. package/resources/components/treetable/treetable.css +205 -205
  277. package/resources/components/upload/upload.component.scss +145 -145
  278. package/resources/logo/dataX-dark.svg +12 -12
  279. package/resources/logo/dataX-icon-dark.svg +5 -5
  280. package/resources/logo/dataX-icon.svg +5 -5
  281. package/resources/logo/dataX.svg +12 -12
  282. package/resources/styles/colors.scss +397 -397
  283. package/resources/styles/shadow-blur.scss +21 -21
  284. package/resources/styles/space-radius-border.scss +49 -49
  285. package/resources/styles/typography.scss +116 -135
@@ -1,26 +1,26 @@
1
- @layer cax {
2
- .p-blockui {
3
- position: absolute;
4
- top: 0;
5
- left: 0;
6
- width: 100%;
7
- height: 100%;
8
- background-color: transparent;
9
- transition-property: background-color;
10
- display: flex;
11
- align-items: center;
12
- justify-content: center;
13
- }
14
-
15
- .p-blockui.p-component-overlay {
16
- position: absolute;
17
- }
18
-
19
- .p-blockui-document.p-component-overlay {
20
- position: fixed;
21
- }
22
-
23
- .p-blockui-leave.p-component-overlay {
24
- background-color: transparent;
25
- }
26
- }
1
+ @layer cax {
2
+ .p-blockui {
3
+ position: absolute;
4
+ top: 0;
5
+ left: 0;
6
+ width: 100%;
7
+ height: 100%;
8
+ background-color: transparent;
9
+ transition-property: background-color;
10
+ display: flex;
11
+ align-items: center;
12
+ justify-content: center;
13
+ }
14
+
15
+ .p-blockui.p-component-overlay {
16
+ position: absolute;
17
+ }
18
+
19
+ .p-blockui-document.p-component-overlay {
20
+ position: fixed;
21
+ }
22
+
23
+ .p-blockui-leave.p-component-overlay {
24
+ background-color: transparent;
25
+ }
26
+ }
@@ -1,33 +1,33 @@
1
- @layer cax {
2
- .cax-breadcrumb {
3
- overflow-x: auto;
4
- }
5
-
6
- .cax-breadcrumb .cax-breadcrumb-list {
7
- margin: 0;
8
- padding: 0;
9
- list-style-type: none;
10
- display: flex;
11
- align-items: center;
12
- flex-wrap: nowrap;
13
- }
14
-
15
- .cax-breadcrumb .cax-menuitem-text {
16
- line-height: 1;
17
- }
18
-
19
- .cax-breadcrumb .cax-menuitem-link {
20
- text-decoration: none;
21
- display: flex;
22
- align-items: center;
23
- }
24
-
25
- .cax-breadcrumb .cax-menuitem-separator {
26
- display: flex;
27
- align-items: center;
28
- }
29
-
30
- .cax-breadcrumb::-webkit-scrollbar {
31
- display: none;
32
- }
33
- }
1
+ @layer cax {
2
+ .cax-breadcrumb {
3
+ overflow-x: auto;
4
+ }
5
+
6
+ .cax-breadcrumb .cax-breadcrumb-list {
7
+ margin: 0;
8
+ padding: 0;
9
+ list-style-type: none;
10
+ display: flex;
11
+ align-items: center;
12
+ flex-wrap: nowrap;
13
+ }
14
+
15
+ .cax-breadcrumb .cax-menuitem-text {
16
+ line-height: 1;
17
+ }
18
+
19
+ .cax-breadcrumb .cax-menuitem-link {
20
+ text-decoration: none;
21
+ display: flex;
22
+ align-items: center;
23
+ }
24
+
25
+ .cax-breadcrumb .cax-menuitem-separator {
26
+ display: flex;
27
+ align-items: center;
28
+ }
29
+
30
+ .cax-breadcrumb::-webkit-scrollbar {
31
+ display: none;
32
+ }
33
+ }
@@ -1,163 +1,163 @@
1
- @layer cax {
2
- .cax-button {
3
- margin: 0;
4
- display: flex;
5
- justify-content: center;
6
- cursor: pointer;
7
- user-select: none;
8
- align-items: center;
9
- vertical-align: bottom;
10
- text-align: center;
11
- overflow: hidden;
12
- position: relative;
13
- }
14
-
15
- .cax-button-label {
16
- flex: 1 1 auto;
17
- }
18
-
19
- .cax-button-icon-right {
20
- order: 1;
21
- }
22
-
23
- .cax-button:disabled {
24
- cursor: default;
25
- pointer-events: none;
26
- }
27
-
28
- .cax-button-icon-only {
29
- justify-content: center;
30
- }
31
-
32
- .cax-button-icon-only:after {
33
- content: 'p';
34
- visibility: hidden;
35
- clip: rect(0 0 0 0);
36
- width: 0;
37
- }
38
-
39
- .cax-button-vertical {
40
- flex-direction: column;
41
- }
42
-
43
- .cax-button-icon-bottom {
44
- order: 2;
45
- }
46
-
47
- .cax-button-group .cax-button {
48
- margin: 0;
49
- }
50
-
51
- .cax-button.cax-button-loading {
52
- opacity: 1 !important;
53
- }
54
- .cax-button-group .cax-button:focus,
55
- .cax-button-group cax-button:focus .cax-button,
56
- .cax-buttonset .cax-button:focus,
57
- .cax-buttonset .cax-button:focus,
58
- .cax-buttonset cax-button:focus .cax-button,
59
- .cax-buttonset .cax-button:focus {
60
- position: relative;
61
- z-index: 1;
62
- }
63
-
64
- .cax-button-group .cax-button:not(:last-child),
65
- .cax-button-group .cax-button:not(:last-child):hover,
66
- .cax-button-group cax-button:not(:last-child) .cax-button,
67
- .cax-button-group cax-button:not(:last-child) .cax-button:hover,
68
- .cax-buttonset .cax-button:not(:last-child),
69
- .cax-buttonset .cax-button:not(:last-child):hover,
70
- .cax-buttonset cax-button:not(:last-child) .cax-button,
71
- .cax-buttonset cax-button:not(:last-child) .cax-button:hover {
72
- border-right: 0 none;
73
- }
74
-
75
- .cax-button-group .cax-button:not(:first-of-type):not(:last-of-type),
76
- .cax-button-group cax-button:not(:first-of-type):not(:last-of-type) .cax-button,
77
- .cax-buttonset .cax-button:not(:first-of-type):not(:last-of-type),
78
- .cax-buttonset cax-button:not(:first-of-type):not(:last-of-type) .cax-button {
79
- border-radius: 0;
80
- }
81
-
82
- .cax-button-group .cax-button:first-of-type:not(:only-of-type),
83
- .cax-button-group cax-button:first-of-type:not(:only-of-type) .cax-button,
84
- .cax-buttonset .cax-button:first-of-type:not(:only-of-type),
85
- .cax-buttonset cax-button:first-of-type:not(:only-of-type) .cax-button {
86
- border-top-right-radius: 0;
87
- border-bottom-right-radius: 0;
88
- }
89
-
90
- .cax-button-group .cax-button:last-of-type:not(:only-of-type),
91
- .cax-button-group cax-button:last-of-type:not(:only-of-type) .cax-button,
92
- .cax-buttonset .cax-button:last-of-type:not(:only-of-type),
93
- .cax-buttonset cax-button:last-of-type:not(:only-of-type) .cax-button {
94
- border-top-left-radius: 0;
95
- border-bottom-left-radius: 0;
96
- }
97
-
98
- cax-button[iconpos='right'] spinnericon {
99
- order: 1;
100
- }
101
- .cax-button-content-wrapper {
102
- display: inline-flex;
103
- align-items: center;
104
- gap: 1rem;
105
- max-width: fit-content;
106
- position: relative;
107
- }
108
- .cax-button-loading-container {
109
- display: flex;
110
- align-items: center;
111
- justify-content: center;
112
- width: 100%;
113
- position: absolute;
114
- }
115
-
116
- .cax-button-icon-left,
117
- .cax-button-icon-right,
118
- .cax-button-label {
119
- flex: 0 0 auto;
120
- }
121
-
122
- .center-icon {
123
- width: 40px; /* Set a fixed width and height when there's no label */
124
- height: 40px;
125
- display: flex;
126
- align-items: center;
127
- justify-content: center;
128
- }
129
- .cax-main-loader {
130
- display: flex;
131
- justify-content: center;
132
- align-items: center;
133
- background: transparent;
134
- .cax-button-sm {
135
- height: 32px !important;
136
- padding: var(--space-100) var(--space-150) var(--space-100) var(--space-150) !important;
137
- gap: var(--space-75);
138
- }
139
- .cax-button-md {
140
- height: 40px !important;
141
- padding: var(--space-100) var(--space-200) var(--space-100) var(--space-200) !important;
142
- gap: var(--space-100);
143
- }
144
- .cax-button-lg {
145
- height: 48px !important;
146
- padding: var(--space-100) var(--space-200) var(--space-100) var(--space-200) !important;
147
- gap: var(--space-100);
148
- }
149
- }
150
- .spin {
151
- display: inline-block;
152
- animation: spin 1s linear infinite;
153
- }
154
-
155
- @keyframes spin {
156
- 0% {
157
- transform: rotate(0deg);
158
- }
159
- 100% {
160
- transform: rotate(360deg);
161
- }
162
- }
163
- }
1
+ @layer cax {
2
+ .cax-button {
3
+ margin: 0;
4
+ display: flex;
5
+ justify-content: center;
6
+ cursor: pointer;
7
+ user-select: none;
8
+ align-items: center;
9
+ vertical-align: bottom;
10
+ text-align: center;
11
+ overflow: hidden;
12
+ position: relative;
13
+ }
14
+
15
+ .cax-button-label {
16
+ flex: 1 1 auto;
17
+ }
18
+
19
+ .cax-button-icon-right {
20
+ order: 1;
21
+ }
22
+
23
+ .cax-button:disabled {
24
+ cursor: default;
25
+ pointer-events: none;
26
+ }
27
+
28
+ .cax-button-icon-only {
29
+ justify-content: center;
30
+ }
31
+
32
+ .cax-button-icon-only:after {
33
+ content: 'p';
34
+ visibility: hidden;
35
+ clip: rect(0 0 0 0);
36
+ width: 0;
37
+ }
38
+
39
+ .cax-button-vertical {
40
+ flex-direction: column;
41
+ }
42
+
43
+ .cax-button-icon-bottom {
44
+ order: 2;
45
+ }
46
+
47
+ .cax-button-group .cax-button {
48
+ margin: 0;
49
+ }
50
+
51
+ .cax-button.cax-button-loading {
52
+ opacity: 1 !important;
53
+ }
54
+ .cax-button-group .cax-button:focus,
55
+ .cax-button-group cax-button:focus .cax-button,
56
+ .cax-buttonset .cax-button:focus,
57
+ .cax-buttonset .cax-button:focus,
58
+ .cax-buttonset cax-button:focus .cax-button,
59
+ .cax-buttonset .cax-button:focus {
60
+ position: relative;
61
+ z-index: 1;
62
+ }
63
+
64
+ .cax-button-group .cax-button:not(:last-child),
65
+ .cax-button-group .cax-button:not(:last-child):hover,
66
+ .cax-button-group cax-button:not(:last-child) .cax-button,
67
+ .cax-button-group cax-button:not(:last-child) .cax-button:hover,
68
+ .cax-buttonset .cax-button:not(:last-child),
69
+ .cax-buttonset .cax-button:not(:last-child):hover,
70
+ .cax-buttonset cax-button:not(:last-child) .cax-button,
71
+ .cax-buttonset cax-button:not(:last-child) .cax-button:hover {
72
+ border-right: 0 none;
73
+ }
74
+
75
+ .cax-button-group .cax-button:not(:first-of-type):not(:last-of-type),
76
+ .cax-button-group cax-button:not(:first-of-type):not(:last-of-type) .cax-button,
77
+ .cax-buttonset .cax-button:not(:first-of-type):not(:last-of-type),
78
+ .cax-buttonset cax-button:not(:first-of-type):not(:last-of-type) .cax-button {
79
+ border-radius: 0;
80
+ }
81
+
82
+ .cax-button-group .cax-button:first-of-type:not(:only-of-type),
83
+ .cax-button-group cax-button:first-of-type:not(:only-of-type) .cax-button,
84
+ .cax-buttonset .cax-button:first-of-type:not(:only-of-type),
85
+ .cax-buttonset cax-button:first-of-type:not(:only-of-type) .cax-button {
86
+ border-top-right-radius: 0;
87
+ border-bottom-right-radius: 0;
88
+ }
89
+
90
+ .cax-button-group .cax-button:last-of-type:not(:only-of-type),
91
+ .cax-button-group cax-button:last-of-type:not(:only-of-type) .cax-button,
92
+ .cax-buttonset .cax-button:last-of-type:not(:only-of-type),
93
+ .cax-buttonset cax-button:last-of-type:not(:only-of-type) .cax-button {
94
+ border-top-left-radius: 0;
95
+ border-bottom-left-radius: 0;
96
+ }
97
+
98
+ cax-button[iconpos='right'] spinnericon {
99
+ order: 1;
100
+ }
101
+ .cax-button-content-wrapper {
102
+ display: inline-flex;
103
+ align-items: center;
104
+ gap: 1rem;
105
+ max-width: fit-content;
106
+ position: relative;
107
+ }
108
+ .cax-button-loading-container {
109
+ display: flex;
110
+ align-items: center;
111
+ justify-content: center;
112
+ width: 100%;
113
+ position: absolute;
114
+ }
115
+
116
+ .cax-button-icon-left,
117
+ .cax-button-icon-right,
118
+ .cax-button-label {
119
+ flex: 0 0 auto;
120
+ }
121
+
122
+ .center-icon {
123
+ width: 40px; /* Set a fixed width and height when there's no label */
124
+ height: 40px;
125
+ display: flex;
126
+ align-items: center;
127
+ justify-content: center;
128
+ }
129
+ .cax-main-loader {
130
+ display: flex;
131
+ justify-content: center;
132
+ align-items: center;
133
+ background: transparent;
134
+ .cax-button-sm {
135
+ height: 32px !important;
136
+ padding: var(--space-100) var(--space-150) var(--space-100) var(--space-150) !important;
137
+ gap: var(--space-75);
138
+ }
139
+ .cax-button-md {
140
+ height: 40px !important;
141
+ padding: var(--space-100) var(--space-200) var(--space-100) var(--space-200) !important;
142
+ gap: var(--space-100);
143
+ }
144
+ .cax-button-lg {
145
+ height: 48px !important;
146
+ padding: var(--space-100) var(--space-200) var(--space-100) var(--space-200) !important;
147
+ gap: var(--space-100);
148
+ }
149
+ }
150
+ .spin {
151
+ display: inline-block;
152
+ animation: spin 1s linear infinite;
153
+ }
154
+
155
+ @keyframes spin {
156
+ 0% {
157
+ transform: rotate(0deg);
158
+ }
159
+ 100% {
160
+ transform: rotate(360deg);
161
+ }
162
+ }
163
+ }