@aziontech/theme 0.1.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 (156) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +466 -0
  3. package/package.json +52 -0
  4. package/src/azion/_custom.scss +3 -0
  5. package/src/azion/_extensions.scss +37 -0
  6. package/src/azion/_fonts.scss +153 -0
  7. package/src/azion/_variables-widget.scss +400 -0
  8. package/src/azion/_variables.scss +407 -0
  9. package/src/azion/custom/_code.scss +11 -0
  10. package/src/azion/custom/_focus.scss +5 -0
  11. package/src/azion/custom/_scrollbehavior.scss +6 -0
  12. package/src/azion/custom/_selection.scss +4 -0
  13. package/src/azion/custom/_special-button.scss +57 -0
  14. package/src/azion/extended-components/_autocomplete.scss +13 -0
  15. package/src/azion/extended-components/_badge.scss +53 -0
  16. package/src/azion/extended-components/_breadcumb.scss +18 -0
  17. package/src/azion/extended-components/_button.scss +134 -0
  18. package/src/azion/extended-components/_calendar.scss +310 -0
  19. package/src/azion/extended-components/_carousel.scss +9 -0
  20. package/src/azion/extended-components/_checkbox.scss +33 -0
  21. package/src/azion/extended-components/_datatable.scss +130 -0
  22. package/src/azion/extended-components/_dialog.scss +45 -0
  23. package/src/azion/extended-components/_divider.scss +37 -0
  24. package/src/azion/extended-components/_dropdown.scss +10 -0
  25. package/src/azion/extended-components/_dropdownitem.scss +13 -0
  26. package/src/azion/extended-components/_inlinemessage.scss +10 -0
  27. package/src/azion/extended-components/_inputnumber.scss +40 -0
  28. package/src/azion/extended-components/_inputpassword.scss +4 -0
  29. package/src/azion/extended-components/_inputswitch.scss +53 -0
  30. package/src/azion/extended-components/_listbox.scss +35 -0
  31. package/src/azion/extended-components/_markdown.scss +135 -0
  32. package/src/azion/extended-components/_menuitem.scss +22 -0
  33. package/src/azion/extended-components/_multiselect.scss +167 -0
  34. package/src/azion/extended-components/_overlaypanel.scss +18 -0
  35. package/src/azion/extended-components/_picklist.scss +25 -0
  36. package/src/azion/extended-components/_progressbar.scss +6 -0
  37. package/src/azion/extended-components/_radiobutton.scss +63 -0
  38. package/src/azion/extended-components/_selectbutton.scss +36 -0
  39. package/src/azion/extended-components/_sidebar.scss +28 -0
  40. package/src/azion/extended-components/_splitbutton.scss +22 -0
  41. package/src/azion/extended-components/_tabmenu.scss +21 -0
  42. package/src/azion/extended-components/_tabview.scss +41 -0
  43. package/src/azion/extended-components/_tag.scss +47 -0
  44. package/src/azion/extended-components/_toast.scss +9 -0
  45. package/src/azion/extended-components/_tooltip.scss +7 -0
  46. package/src/azion/extended-components/_treeselect.scss +10 -0
  47. package/src/azion/extended-components/jsonform/_inputcheckbox.scss +41 -0
  48. package/src/azion/extended-components/jsonform/_inputtext.scss +26 -0
  49. package/src/azion/extended-components/jsonform/_label.scss +185 -0
  50. package/src/azion/extended-components/jsonform/_select.scss +34 -0
  51. package/src/azion/theme-base/_colors.scss +18 -0
  52. package/src/azion/theme-base/_common.scss +75 -0
  53. package/src/azion/theme-base/_components.scss +103 -0
  54. package/src/azion/theme-base/_mixins.scss +250 -0
  55. package/src/azion/theme-base/components/button/_button.scss +567 -0
  56. package/src/azion/theme-base/components/button/_speeddial.scss +97 -0
  57. package/src/azion/theme-base/components/button/_splitbutton.scss +390 -0
  58. package/src/azion/theme-base/components/data/_carousel.scss +37 -0
  59. package/src/azion/theme-base/components/data/_datatable.scss +347 -0
  60. package/src/azion/theme-base/components/data/_dataview.scss +47 -0
  61. package/src/azion/theme-base/components/data/_filter.scss +138 -0
  62. package/src/azion/theme-base/components/data/_orderlist.scss +70 -0
  63. package/src/azion/theme-base/components/data/_organizationchart.scss +50 -0
  64. package/src/azion/theme-base/components/data/_paginator.scss +92 -0
  65. package/src/azion/theme-base/components/data/_picklist.scss +70 -0
  66. package/src/azion/theme-base/components/data/_timeline.scss +38 -0
  67. package/src/azion/theme-base/components/data/_tree.scss +90 -0
  68. package/src/azion/theme-base/components/data/_treetable.scss +251 -0
  69. package/src/azion/theme-base/components/file/_fileupload.scss +82 -0
  70. package/src/azion/theme-base/components/input/_autocomplete.scss +114 -0
  71. package/src/azion/theme-base/components/input/_calendar.scss +251 -0
  72. package/src/azion/theme-base/components/input/_cascadeselect.scss +106 -0
  73. package/src/azion/theme-base/components/input/_checkbox.scss +86 -0
  74. package/src/azion/theme-base/components/input/_chips.scss +53 -0
  75. package/src/azion/theme-base/components/input/_colorpicker.scss +18 -0
  76. package/src/azion/theme-base/components/input/_dropdown.scss +147 -0
  77. package/src/azion/theme-base/components/input/_editor.scss +122 -0
  78. package/src/azion/theme-base/components/input/_inputgroup.scss +74 -0
  79. package/src/azion/theme-base/components/input/_inputnumber.scss +5 -0
  80. package/src/azion/theme-base/components/input/_inputswitch.scss +62 -0
  81. package/src/azion/theme-base/components/input/_inputtext.scss +100 -0
  82. package/src/azion/theme-base/components/input/_listbox.scss +89 -0
  83. package/src/azion/theme-base/components/input/_multiselect.scss +166 -0
  84. package/src/azion/theme-base/components/input/_password.scss +33 -0
  85. package/src/azion/theme-base/components/input/_radiobutton.scss +78 -0
  86. package/src/azion/theme-base/components/input/_rating.scss +60 -0
  87. package/src/azion/theme-base/components/input/_selectbutton.scss +50 -0
  88. package/src/azion/theme-base/components/input/_slider.scss +49 -0
  89. package/src/azion/theme-base/components/input/_togglebutton.scss +52 -0
  90. package/src/azion/theme-base/components/input/_treeselect.scss +91 -0
  91. package/src/azion/theme-base/components/menu/_breadcrumb.scss +42 -0
  92. package/src/azion/theme-base/components/menu/_contextmenu.scss +39 -0
  93. package/src/azion/theme-base/components/menu/_dock.scss +95 -0
  94. package/src/azion/theme-base/components/menu/_megamenu.scss +55 -0
  95. package/src/azion/theme-base/components/menu/_menu.scss +33 -0
  96. package/src/azion/theme-base/components/menu/_menubar.scss +141 -0
  97. package/src/azion/theme-base/components/menu/_panelmenu.scss +153 -0
  98. package/src/azion/theme-base/components/menu/_steps.scss +56 -0
  99. package/src/azion/theme-base/components/menu/_tabmenu.scss +49 -0
  100. package/src/azion/theme-base/components/menu/_tieredmenu.scss +43 -0
  101. package/src/azion/theme-base/components/messages/_inlinemessage.scss +64 -0
  102. package/src/azion/theme-base/components/messages/_message.scss +100 -0
  103. package/src/azion/theme-base/components/messages/_toast.scss +100 -0
  104. package/src/azion/theme-base/components/misc/_avatar.scss +30 -0
  105. package/src/azion/theme-base/components/misc/_badge.scss +48 -0
  106. package/src/azion/theme-base/components/misc/_blockui.scss +0 -0
  107. package/src/azion/theme-base/components/misc/_chip.scss +39 -0
  108. package/src/azion/theme-base/components/misc/_inplace.scss +17 -0
  109. package/src/azion/theme-base/components/misc/_progressbar.scss +17 -0
  110. package/src/azion/theme-base/components/misc/_progressspinner.scss +49 -0
  111. package/src/azion/theme-base/components/misc/_scrolltop.scss +25 -0
  112. package/src/azion/theme-base/components/misc/_skeleton.scss +8 -0
  113. package/src/azion/theme-base/components/misc/_tag.scss +40 -0
  114. package/src/azion/theme-base/components/misc/_terminal.scss +12 -0
  115. package/src/azion/theme-base/components/multimedia/_galleria.scss +151 -0
  116. package/src/azion/theme-base/components/multimedia/_image.scss +54 -0
  117. package/src/azion/theme-base/components/overlay/_confirmpopup.scss +72 -0
  118. package/src/azion/theme-base/components/overlay/_dialog.scss +64 -0
  119. package/src/azion/theme-base/components/overlay/_overlaypanel.scss +38 -0
  120. package/src/azion/theme-base/components/overlay/_sidebar.scss +23 -0
  121. package/src/azion/theme-base/components/overlay/_tooltip.scss +33 -0
  122. package/src/azion/theme-base/components/panel/_accordion.scss +118 -0
  123. package/src/azion/theme-base/components/panel/_card.scss +30 -0
  124. package/src/azion/theme-base/components/panel/_divider.scss +40 -0
  125. package/src/azion/theme-base/components/panel/_fieldset.scss +51 -0
  126. package/src/azion/theme-base/components/panel/_panel.scss +47 -0
  127. package/src/azion/theme-base/components/panel/_scrollpanel.scss +11 -0
  128. package/src/azion/theme-base/components/panel/_splitter.scss +24 -0
  129. package/src/azion/theme-base/components/panel/_tabview.scss +66 -0
  130. package/src/azion/theme-base/components/panel/_toolbar.scss +11 -0
  131. package/src/azion/theme-widget.scss +9 -0
  132. package/src/azion/theme.scss +9 -0
  133. package/src/azion/variables/_button.scss +438 -0
  134. package/src/azion/variables/_data.scss +346 -0
  135. package/src/azion/variables/_form.scss +570 -0
  136. package/src/azion/variables/_general.scss +149 -0
  137. package/src/azion/variables/_media.scss +231 -0
  138. package/src/azion/variables/_menu.scss +287 -0
  139. package/src/azion/variables/_message.scss +145 -0
  140. package/src/azion/variables/_misc.scss +143 -0
  141. package/src/azion/variables/_overlay.scss +67 -0
  142. package/src/azion/variables/_panel.scss +327 -0
  143. package/src/tokens/README.md +345 -0
  144. package/src/tokens/build/css-vars.js +41 -0
  145. package/src/tokens/build/preset.js +69 -0
  146. package/src/tokens/build/refs.js +7 -0
  147. package/src/tokens/build/resolve.js +102 -0
  148. package/src/tokens/build/tailwind-helper.js +12 -0
  149. package/src/tokens/build/tailwind-plugin.js +175 -0
  150. package/src/tokens/colors-brand.js +24 -0
  151. package/src/tokens/index.js +16 -0
  152. package/src/tokens/primitives/brand.js +69 -0
  153. package/src/tokens/primitives/colors.js +133 -0
  154. package/src/tokens/semantic/backgrounds.js +48 -0
  155. package/src/tokens/semantic/borders.js +46 -0
  156. package/src/tokens/semantic/text.js +78 -0
@@ -0,0 +1,390 @@
1
+ .p-splitbutton {
2
+ border-radius: $borderRadius;
3
+
4
+ &.p-button-outlined {
5
+ > .p-button {
6
+ background-color: transparent;
7
+ color: $buttonBg;
8
+ border: $outlinedButtonBorder;
9
+
10
+ @include button-states {
11
+ &:hover {
12
+ background: rgba($buttonBg, $textButtonHoverBgOpacity);
13
+ color: $buttonBg;
14
+ }
15
+
16
+ &:active {
17
+ background: rgba($buttonBg, $textButtonActiveBgOpacity);
18
+ color: $buttonBg;
19
+ }
20
+ }
21
+ }
22
+
23
+ &.p-button-plain {
24
+ > .p-button {
25
+ color: $plainButtonTextColor;
26
+ border-color: $plainButtonTextColor;
27
+
28
+ @include button-states {
29
+ &:hover {
30
+ background: $plainButtonHoverBgColor;
31
+ color: $plainButtonTextColor;
32
+ }
33
+
34
+ &:active {
35
+ background: $plainButtonActiveBgColor;
36
+ color: $plainButtonTextColor;
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+
43
+ &.p-button-text {
44
+ > .p-button {
45
+ background-color: transparent;
46
+ color: $buttonBg;
47
+ border-color: transparent;
48
+
49
+ @include button-states {
50
+ &:hover {
51
+ background: rgba($buttonBg, $textButtonHoverBgOpacity);
52
+ color: $buttonBg;
53
+ border-color: transparent;
54
+ }
55
+
56
+ &:active {
57
+ background: rgba($buttonBg, $textButtonActiveBgOpacity);
58
+ color: $buttonBg;
59
+ border-color: transparent;
60
+ }
61
+ }
62
+ }
63
+
64
+ &.p-button-plain {
65
+ > .p-button {
66
+ color: $plainButtonTextColor;
67
+
68
+ @include button-states {
69
+ &:hover {
70
+ background: $plainButtonHoverBgColor;
71
+ color: $plainButtonTextColor;
72
+ }
73
+
74
+ &:active {
75
+ background: $plainButtonActiveBgColor;
76
+ color: $plainButtonTextColor;
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+
83
+
84
+ &.p-button-raised {
85
+ box-shadow: $raisedButtonShadow;
86
+ }
87
+
88
+ &.p-button-rounded {
89
+ border-radius: $roundedButtonBorderRadius;
90
+
91
+ > .p-button {
92
+ border-radius: $roundedButtonBorderRadius;
93
+ }
94
+ }
95
+
96
+ &.p-button-sm {
97
+ > .p-button {
98
+ @include scaledFontSize($fontSize, $scaleSM);
99
+ @include scaledPadding($buttonPadding, $scaleSM);
100
+
101
+ .p-button-icon {
102
+ @include scaledFontSize($primeIconFontSize, $scaleSM);
103
+ }
104
+ }
105
+ }
106
+
107
+ &.p-button-lg {
108
+ > .p-button {
109
+ @include scaledFontSize($fontSize, $scaleLG);
110
+ @include scaledPadding($buttonPadding, $scaleLG);
111
+
112
+ &.p-button-icon-only {
113
+ width: auto;
114
+ }
115
+
116
+ .p-button-icon {
117
+ @include scaledFontSize($primeIconFontSize, $scaleLG);
118
+ }
119
+
120
+ .p-icon {
121
+ width: $primeIconFontSize * $scaleLG;
122
+ height: $primeIconFontSize * $scaleLG;
123
+ }
124
+ }
125
+ }
126
+ }
127
+
128
+ .p-splitbutton.p-button-secondary {
129
+ &.p-button-outlined {
130
+ > .p-button {
131
+ background-color: transparent;
132
+ color: $secondaryButtonBg;
133
+ border: $outlinedButtonBorder;
134
+
135
+ @include button-states {
136
+ &:hover {
137
+ background: rgba($secondaryButtonBg, $textButtonHoverBgOpacity);
138
+ color: $secondaryButtonBg;
139
+ }
140
+
141
+ &:active {
142
+ background: rgba($secondaryButtonBg, $textButtonActiveBgOpacity);
143
+ color: $secondaryButtonBg;
144
+ }
145
+ }
146
+ }
147
+ }
148
+
149
+ &.p-button-text {
150
+ > .p-button {
151
+ background-color: transparent;
152
+ color: $secondaryButtonBg;
153
+ border-color: transparent;
154
+
155
+ @include button-states {
156
+ &:hover {
157
+ background: rgba($secondaryButtonBg, $textButtonHoverBgOpacity);
158
+ border-color: transparent;
159
+ color: $secondaryButtonBg;
160
+ }
161
+
162
+ &:active {
163
+ background: rgba($secondaryButtonBg, $textButtonActiveBgOpacity);
164
+ border-color: transparent;
165
+ color: $secondaryButtonBg;
166
+ }
167
+ }
168
+ }
169
+ }
170
+ }
171
+
172
+ .p-splitbutton.p-button-info {
173
+ &.p-button-outlined {
174
+ > .p-button {
175
+ background-color: transparent;
176
+ color: $infoButtonBg;
177
+ border: $outlinedButtonBorder;
178
+
179
+ @include button-states {
180
+ &:hover {
181
+ background: rgba($infoButtonBg, $textButtonHoverBgOpacity);
182
+ color: $infoButtonBg;
183
+ }
184
+
185
+ &:active {
186
+ background: rgba($infoButtonBg, $textButtonActiveBgOpacity);
187
+ color: $infoButtonBg;
188
+ }
189
+ }
190
+ }
191
+ }
192
+
193
+ &.p-button-text {
194
+ > .p-button {
195
+ background-color: transparent;
196
+ color: $infoButtonBg;
197
+ border-color: transparent;
198
+
199
+ @include button-states {
200
+ &:hover {
201
+ background: rgba($infoButtonBg, $textButtonHoverBgOpacity);
202
+ border-color: transparent;
203
+ color: $infoButtonBg;
204
+ }
205
+
206
+ &:active {
207
+ background: rgba($infoButtonBg, $textButtonActiveBgOpacity);
208
+ border-color: transparent;
209
+ color: $infoButtonBg;
210
+ }
211
+ }
212
+ }
213
+ }
214
+ }
215
+
216
+ .p-splitbutton.p-button-success {
217
+ &.p-button-outlined {
218
+ > .p-button {
219
+ background-color: transparent;
220
+ color: $successButtonBg;
221
+ border: $outlinedButtonBorder;
222
+
223
+ @include button-states {
224
+ &:hover {
225
+ background: rgba($successButtonBg, $textButtonHoverBgOpacity);
226
+ color: $successButtonBg;
227
+ }
228
+
229
+ &:active {
230
+ background: rgba($successButtonBg, $textButtonActiveBgOpacity);
231
+ color: $successButtonBg;
232
+ }
233
+ }
234
+ }
235
+ }
236
+
237
+ &.p-button-text {
238
+ > .p-button {
239
+ background-color: transparent;
240
+ color: $successButtonBg;
241
+ border-color: transparent;
242
+
243
+ @include button-states {
244
+ &:hover {
245
+ background: rgba($successButtonBg, $textButtonHoverBgOpacity);
246
+ border-color: transparent;
247
+ color: $successButtonBg;
248
+ }
249
+
250
+ &:active {
251
+ background: rgba($successButtonBg, $textButtonActiveBgOpacity);
252
+ border-color: transparent;
253
+ color: $successButtonBg;
254
+ }
255
+ }
256
+ }
257
+ }
258
+ }
259
+
260
+ .p-splitbutton.p-button-warning {
261
+ &.p-button-outlined {
262
+ > .p-button {
263
+ background-color: transparent;
264
+ color: $warningButtonBg;
265
+ border: $outlinedButtonBorder;
266
+
267
+ @include button-states {
268
+ &:hover {
269
+ background: rgba($warningButtonBg, $textButtonHoverBgOpacity);
270
+ color: $warningButtonBg;
271
+ }
272
+
273
+ &:active {
274
+ background: rgba($warningButtonBg, $textButtonActiveBgOpacity);
275
+ color: $warningButtonBg;
276
+ }
277
+ }
278
+ }
279
+ }
280
+
281
+ &.p-button-text {
282
+ > .p-button {
283
+ background-color: transparent;
284
+ color: $warningButtonBg;
285
+ border-color: transparent;
286
+
287
+ @include button-states {
288
+ &:hover {
289
+ background: rgba($warningButtonBg, $textButtonHoverBgOpacity);
290
+ border-color: transparent;
291
+ color: $warningButtonBg;
292
+ }
293
+
294
+ &:active {
295
+ background: rgba($warningButtonBg, $textButtonActiveBgOpacity);
296
+ border-color: transparent;
297
+ color: $warningButtonBg;
298
+ }
299
+ }
300
+ }
301
+ }
302
+ }
303
+
304
+ .p-splitbutton.p-button-help {
305
+ &.p-button-outlined {
306
+ > .p-button {
307
+ background-color: transparent;
308
+ color: $helpButtonBg;
309
+ border: $outlinedButtonBorder;
310
+
311
+ @include button-states {
312
+ &:hover {
313
+ background: rgba($helpButtonBg, $textButtonHoverBgOpacity);
314
+ color: $helpButtonBg;
315
+ }
316
+
317
+ &:active {
318
+ background: rgba($helpButtonBg, $textButtonActiveBgOpacity);
319
+ color: $helpButtonBg;
320
+ }
321
+ }
322
+ }
323
+ }
324
+
325
+ &.p-button-text {
326
+ > .p-button {
327
+ background-color: transparent;
328
+ color: $helpButtonBg;
329
+ border-color: transparent;
330
+
331
+ @include button-states {
332
+ &:hover {
333
+ background: rgba($helpButtonBg, $textButtonHoverBgOpacity);
334
+ border-color: transparent;
335
+ color: $helpButtonBg;
336
+ }
337
+
338
+ &:active {
339
+ background: rgba($helpButtonBg, $textButtonActiveBgOpacity);
340
+ border-color: transparent;
341
+ color: $helpButtonBg;
342
+ }
343
+ }
344
+ }
345
+ }
346
+ }
347
+
348
+ .p-splitbutton.p-button-danger {
349
+ &.p-button-outlined {
350
+ > .p-button {
351
+ background-color: transparent;
352
+ color: $dangerButtonBg;
353
+ border: $outlinedButtonBorder;
354
+
355
+ @include button-states {
356
+ &:hover {
357
+ background: rgba($dangerButtonBg, $textButtonHoverBgOpacity);
358
+ color: $dangerButtonBg;
359
+ }
360
+
361
+ &:active {
362
+ background: rgba($dangerButtonBg, $textButtonActiveBgOpacity);
363
+ color: $dangerButtonBg;
364
+ }
365
+ }
366
+ }
367
+ }
368
+
369
+ &.p-button-text {
370
+ > .p-button {
371
+ background-color: transparent;
372
+ color: $dangerButtonBg;
373
+ border-color: transparent;
374
+
375
+ @include button-states {
376
+ &:hover {
377
+ background: rgba($dangerButtonBg, $textButtonHoverBgOpacity);
378
+ border-color: transparent;
379
+ color: $dangerButtonBg;
380
+ }
381
+
382
+ &:active {
383
+ background: rgba($dangerButtonBg, $textButtonActiveBgOpacity);
384
+ border-color: transparent;
385
+ color: $dangerButtonBg;
386
+ }
387
+ }
388
+ }
389
+ }
390
+ }
@@ -0,0 +1,37 @@
1
+ .p-carousel {
2
+ .p-carousel-content {
3
+ .p-carousel-prev,
4
+ .p-carousel-next {
5
+ @include action-icon();
6
+ margin: $inlineSpacing;
7
+ }
8
+ }
9
+
10
+ .p-carousel-indicators {
11
+ padding: $carouselIndicatorsPadding;
12
+
13
+ .p-carousel-indicator {
14
+ margin-right: $inlineSpacing;
15
+ margin-bottom: $inlineSpacing;
16
+
17
+ button {
18
+ background-color: $carouselIndicatorBg;
19
+ width: $carouselIndicatorWidth;
20
+ height: $carouselIndicatorHeight;
21
+ transition: $actionIconTransition;
22
+ border-radius: $carouselIndicatorBorderRadius;
23
+
24
+ &:hover {
25
+ background: $carouselIndicatorHoverBg;
26
+ }
27
+ }
28
+
29
+ &.p-highlight {
30
+ button {
31
+ background: $highlightBg;
32
+ color: $highlightTextColor;
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }