@keenmate/pure-admin-core 2.3.0 → 2.3.2
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.
- package/README.md +7 -5
- package/dist/css/main.css +207 -181
- package/package.json +1 -1
- package/snippets/buttons.html +375 -365
- package/src/scss/_base-css-variables.scss +8 -0
- package/src/scss/_core.scss +121 -121
- package/src/scss/core-components/_alerts.scss +227 -227
- package/src/scss/core-components/_badges.scss +16 -16
- package/src/scss/core-components/_base.scss +125 -125
- package/src/scss/core-components/_buttons.scss +580 -548
- package/src/scss/core-components/_callouts.scss +152 -152
- package/src/scss/core-components/_cards.scss +488 -488
- package/src/scss/core-components/_checkbox-lists.scss +289 -289
- package/src/scss/core-components/_code.scss +141 -141
- package/src/scss/core-components/_command-palette.scss +509 -509
- package/src/scss/core-components/_comparison.scss +172 -172
- package/src/scss/core-components/_data-display.scss +9 -9
- package/src/scss/core-components/_data-viz.scss +9 -9
- package/src/scss/core-components/_detail-panel.scss +1 -1
- package/src/scss/core-components/_file-selector.scss +780 -780
- package/src/scss/core-components/_filter-card.scss +58 -58
- package/src/scss/core-components/_forms.scss +16 -16
- package/src/scss/core-components/_grid.scss +293 -293
- package/src/scss/core-components/_layout.scss +15 -15
- package/src/scss/core-components/_lists.scss +211 -211
- package/src/scss/core-components/_loaders.scss +277 -277
- package/src/scss/core-components/_logic-tree.scss +280 -280
- package/src/scss/core-components/_modals.scss +203 -203
- package/src/scss/core-components/_notifications.scss +320 -320
- package/src/scss/core-components/_pagers.scss +141 -141
- package/src/scss/core-components/_popconfirm.scss +170 -170
- package/src/scss/core-components/_profile.scss +405 -405
- package/src/scss/core-components/_scrollbars.scss +40 -40
- package/src/scss/core-components/_settings-panel.scss +141 -141
- package/src/scss/core-components/_statistics.scss +200 -201
- package/src/scss/core-components/_tables.scss +900 -900
- package/src/scss/core-components/_tabs.scss +504 -504
- package/src/scss/core-components/_timeline.scss +589 -589
- package/src/scss/core-components/_toasts.scss +425 -425
- package/src/scss/core-components/_tooltips.scss +605 -605
- package/src/scss/core-components/_utilities.scss +1 -1
- package/src/scss/core-components/_web-components-theme.scss +21 -21
- package/src/scss/core-components/badges/_badge-base.scss +121 -121
- package/src/scss/core-components/badges/_badge-group.scss +25 -25
- package/src/scss/core-components/badges/_composite-badge-variants.scss +396 -396
- package/src/scss/core-components/badges/_composite-badge.scss +70 -70
- package/src/scss/core-components/badges/_index.scss +10 -10
- package/src/scss/core-components/badges/_labels.scss +155 -155
- package/src/scss/core-components/forms/_checkboxes-radios.scss +205 -205
- package/src/scss/core-components/forms/_form-inputs.scss +136 -135
- package/src/scss/core-components/forms/_form-layout.scss +66 -66
- package/src/scss/core-components/forms/_form-states.scss +115 -115
- package/src/scss/core-components/forms/_index.scss +12 -12
- package/src/scss/core-components/forms/_input-groups.scss +154 -154
- package/src/scss/core-components/forms/_input-wrapper.scss +89 -89
- package/src/scss/core-components/forms/_query-editor.scss +313 -313
- package/src/scss/core-components/layout/_index.scss +11 -11
- package/src/scss/core-components/layout/_layout-container.scss +168 -168
- package/src/scss/core-components/layout/_layout-responsive.scss +99 -99
- package/src/scss/core-components/layout/_navbar-elements.scss +250 -250
- package/src/scss/core-components/layout/_navbar.scss +83 -83
- package/src/scss/core-components/layout/_sidebar-states.scss +237 -237
- package/src/scss/core-components/layout/_sidebar.scss +234 -234
- package/src/scss/main.scss +7 -7
- package/src/scss/utilities.scss +740 -740
- package/src/scss/variables/_base.scss +228 -228
- package/src/scss/variables/_components.scss +748 -748
- package/src/scss/variables/_layout.scss +65 -65
- package/src/scss/variables/_typography.scss +37 -37
package/snippets/buttons.html
CHANGED
|
@@ -1,365 +1,375 @@
|
|
|
1
|
-
<!-- ================================
|
|
2
|
-
BUTTON SNIPPETS
|
|
3
|
-
Pure Admin Visual Framework
|
|
4
|
-
================================ -->
|
|
5
|
-
|
|
6
|
-
<!-- BASIC BUTTONS - Variants -->
|
|
7
|
-
|
|
8
|
-
<!-- Primary Button -->
|
|
9
|
-
<button class="pa-btn pa-btn--primary">Primary</button>
|
|
10
|
-
|
|
11
|
-
<!-- Secondary Button -->
|
|
12
|
-
<button class="pa-btn pa-btn--secondary">Secondary</button>
|
|
13
|
-
|
|
14
|
-
<!-- Success Button -->
|
|
15
|
-
<button class="pa-btn pa-btn--success">Success</button>
|
|
16
|
-
|
|
17
|
-
<!-- Warning Button -->
|
|
18
|
-
<button class="pa-btn pa-btn--warning">Warning</button>
|
|
19
|
-
|
|
20
|
-
<!-- Danger Button -->
|
|
21
|
-
<button class="pa-btn pa-btn--danger">Danger</button>
|
|
22
|
-
|
|
23
|
-
<!-- Info Button -->
|
|
24
|
-
<button class="pa-btn pa-btn--info">Info</button>
|
|
25
|
-
|
|
26
|
-
<!-- Light Button -->
|
|
27
|
-
<button class="pa-btn pa-btn--light">Light</button>
|
|
28
|
-
|
|
29
|
-
<!-- Dark Button -->
|
|
30
|
-
<button class="pa-btn pa-btn--dark">Dark</button>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
<!-- BUTTON SIZES -->
|
|
34
|
-
|
|
35
|
-
<!-- Extra Small Button -->
|
|
36
|
-
<button class="pa-btn pa-btn--primary pa-btn--xs">Extra Small</button>
|
|
37
|
-
|
|
38
|
-
<!-- Small Button -->
|
|
39
|
-
<button class="pa-btn pa-btn--primary pa-btn--sm">Small</button>
|
|
40
|
-
|
|
41
|
-
<!-- Default Button -->
|
|
42
|
-
<button class="pa-btn pa-btn--primary">Default</button>
|
|
43
|
-
|
|
44
|
-
<!-- Large Button -->
|
|
45
|
-
<button class="pa-btn pa-btn--primary pa-btn--lg">Large</button>
|
|
46
|
-
|
|
47
|
-
<!-- Extra Large Button -->
|
|
48
|
-
<button class="pa-btn pa-btn--primary pa-btn--xl">Extra Large</button>
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
<!-- OUTLINE BUTTONS -->
|
|
52
|
-
|
|
53
|
-
<!-- Outline Primary -->
|
|
54
|
-
<button class="pa-btn pa-btn--outline-primary">Primary</button>
|
|
55
|
-
|
|
56
|
-
<!-- Outline Secondary -->
|
|
57
|
-
<button class="pa-btn pa-btn--outline-secondary">Secondary</button>
|
|
58
|
-
|
|
59
|
-
<!-- Outline Success -->
|
|
60
|
-
<button class="pa-btn pa-btn--outline-success">Success</button>
|
|
61
|
-
|
|
62
|
-
<!-- Outline Warning -->
|
|
63
|
-
<button class="pa-btn pa-btn--outline-warning">Warning</button>
|
|
64
|
-
|
|
65
|
-
<!-- Outline Danger -->
|
|
66
|
-
<button class="pa-btn pa-btn--outline-danger">Danger</button>
|
|
67
|
-
|
|
68
|
-
<!-- Outline Info -->
|
|
69
|
-
<button class="pa-btn pa-btn--outline-info">Info</button>
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
<!-- BUTTON STATES -->
|
|
73
|
-
|
|
74
|
-
<!-- Normal Button -->
|
|
75
|
-
<button class="pa-btn pa-btn--primary">Normal</button>
|
|
76
|
-
|
|
77
|
-
<!-- Disabled Button -->
|
|
78
|
-
<button class="pa-btn pa-btn--primary" disabled>Disabled</button>
|
|
79
|
-
|
|
80
|
-
<!-- Loading Button -->
|
|
81
|
-
<button class="pa-btn pa-btn--primary pa-btn--loading">
|
|
82
|
-
<span class="pa-btn__spinner"></span>
|
|
83
|
-
Loading...
|
|
84
|
-
</button>
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
<!-- BLOCK BUTTONS -->
|
|
88
|
-
|
|
89
|
-
<!-- Block Level Button -->
|
|
90
|
-
<button class="pa-btn pa-btn--primary pa-btn--block">Block Level Button</button>
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
<!-- BUTTON GROUPS -->
|
|
94
|
-
|
|
95
|
-
<!-- Horizontal Button Group (default) -->
|
|
96
|
-
<div class="pa-btn-group">
|
|
97
|
-
<button class="pa-btn pa-btn--secondary">Left</button>
|
|
98
|
-
<button class="pa-btn pa-btn--secondary">Middle</button>
|
|
99
|
-
<button class="pa-btn pa-btn--secondary">Right</button>
|
|
100
|
-
</div>
|
|
101
|
-
|
|
102
|
-
<!-- Vertical Button Group -->
|
|
103
|
-
<div class="pa-btn-group pa-btn-group--vertical">
|
|
104
|
-
<button class="pa-btn pa-btn--secondary">Top</button>
|
|
105
|
-
<button class="pa-btn pa-btn--secondary">Middle</button>
|
|
106
|
-
<button class="pa-btn pa-btn--secondary">Bottom</button>
|
|
107
|
-
</div>
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
<!-- BUTTON GROUP GAP VARIANTS -->
|
|
111
|
-
<!-- Use gap-* utility classes to adjust spacing -->
|
|
112
|
-
|
|
113
|
-
<!-- Compact Gap (2px) -->
|
|
114
|
-
<div class="pa-btn-group gap-2">
|
|
115
|
-
<button class="pa-btn pa-btn--primary">A</button>
|
|
116
|
-
<button class="pa-btn pa-btn--primary">B</button>
|
|
117
|
-
<button class="pa-btn pa-btn--primary">C</button>
|
|
118
|
-
</div>
|
|
119
|
-
|
|
120
|
-
<!-- Default Gap (3px) -->
|
|
121
|
-
<div class="pa-btn-group">
|
|
122
|
-
<button class="pa-btn pa-btn--primary">A</button>
|
|
123
|
-
<button class="pa-btn pa-btn--primary">B</button>
|
|
124
|
-
<button class="pa-btn pa-btn--primary">C</button>
|
|
125
|
-
</div>
|
|
126
|
-
|
|
127
|
-
<!-- Loose Gap (8px) -->
|
|
128
|
-
<div class="pa-btn-group gap-8">
|
|
129
|
-
<button class="pa-btn pa-btn--primary">A</button>
|
|
130
|
-
<button class="pa-btn pa-btn--primary">B</button>
|
|
131
|
-
<button class="pa-btn pa-btn--primary">C</button>
|
|
132
|
-
</div>
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
<!-- BUTTON GROUP VERTICAL ALIGNMENT -->
|
|
136
|
-
|
|
137
|
-
<!-- Vertical Left (default) -->
|
|
138
|
-
<div class="pa-btn-group pa-btn-group--vertical">
|
|
139
|
-
<button class="pa-btn pa-btn--secondary">Short</button>
|
|
140
|
-
<button class="pa-btn pa-btn--secondary">Medium Button</button>
|
|
141
|
-
<button class="pa-btn pa-btn--secondary">Longer Button Text</button>
|
|
142
|
-
</div>
|
|
143
|
-
|
|
144
|
-
<!-- Vertical Center -->
|
|
145
|
-
<div class="pa-btn-group pa-btn-group--vertical pa-btn-group--center">
|
|
146
|
-
<button class="pa-btn pa-btn--secondary">Short</button>
|
|
147
|
-
<button class="pa-btn pa-btn--secondary">Medium Button</button>
|
|
148
|
-
<button class="pa-btn pa-btn--secondary">Longer Button Text</button>
|
|
149
|
-
</div>
|
|
150
|
-
|
|
151
|
-
<!-- Vertical End (right) -->
|
|
152
|
-
<div class="pa-btn-group pa-btn-group--vertical pa-btn-group--end">
|
|
153
|
-
<button class="pa-btn pa-btn--secondary">Short</button>
|
|
154
|
-
<button class="pa-btn pa-btn--secondary">Medium Button</button>
|
|
155
|
-
<button class="pa-btn pa-btn--secondary">Longer Button Text</button>
|
|
156
|
-
</div>
|
|
157
|
-
|
|
158
|
-
<!-- Vertical Stretch (full-width) -->
|
|
159
|
-
<div class="pa-btn-group pa-btn-group--vertical pa-btn-group--stretch">
|
|
160
|
-
<button class="pa-btn pa-btn--primary">Save</button>
|
|
161
|
-
<button class="pa-btn pa-btn--secondary">Cancel</button>
|
|
162
|
-
<button class="pa-btn pa-btn--danger">Delete</button>
|
|
163
|
-
</div>
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
<!-- BUTTON GROUP RESPONSIVE DIRECTION -->
|
|
167
|
-
|
|
168
|
-
<!-- Horizontal on mobile, Vertical on md+ -->
|
|
169
|
-
<div class="pa-btn-group pa-btn-group--md-vertical">
|
|
170
|
-
<button class="pa-btn pa-btn--primary">Save</button>
|
|
171
|
-
<button class="pa-btn pa-btn--secondary">Cancel</button>
|
|
172
|
-
</div>
|
|
173
|
-
|
|
174
|
-
<!-- Vertical on mobile/tablet, Horizontal on lg+ -->
|
|
175
|
-
<div class="pa-btn-group pa-btn-group--vertical pa-btn-group--lg-horizontal">
|
|
176
|
-
<button class="pa-btn pa-btn--primary">Save</button>
|
|
177
|
-
<button class="pa-btn pa-btn--secondary">Cancel</button>
|
|
178
|
-
</div>
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
<!-- BUTTON GROUP NO-WRAP -->
|
|
182
|
-
|
|
183
|
-
<!-- Prevent wrapping (single line, may overflow) -->
|
|
184
|
-
<div class="pa-btn-group pa-btn-group--nowrap">
|
|
185
|
-
<button class="pa-btn pa-btn--primary">One</button>
|
|
186
|
-
<button class="pa-btn pa-btn--primary">Two</button>
|
|
187
|
-
<button class="pa-btn pa-btn--primary">Three</button>
|
|
188
|
-
<button class="pa-btn pa-btn--primary">Four</button>
|
|
189
|
-
<button class="pa-btn pa-btn--primary">Five</button>
|
|
190
|
-
</div>
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
<!-- SPLIT BUTTONS -->
|
|
194
|
-
|
|
195
|
-
<!-- Basic Split Button (chevron rotates on open) -->
|
|
196
|
-
<div class="pa-btn-split">
|
|
197
|
-
<button class="pa-btn pa-btn--primary">Save</button>
|
|
198
|
-
<button class="pa-btn pa-btn--primary pa-btn-split__toggle" onclick="toggleSplitMenu(event)">
|
|
199
|
-
<i class="fas fa-chevron-down text-2xs pa-btn-split__chevron"></i>
|
|
200
|
-
</button>
|
|
201
|
-
<div class="pa-btn-split__menu">
|
|
202
|
-
<
|
|
203
|
-
<button class="pa-btn-split__item">Save
|
|
204
|
-
|
|
205
|
-
</div>
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
<
|
|
217
|
-
|
|
218
|
-
</
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
<
|
|
227
|
-
|
|
228
|
-
<
|
|
229
|
-
</
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
<
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
<div class="pa-btn-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
</
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
</
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
<button class="pa-btn pa-btn--
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
</
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
<!-- Icon Only -
|
|
285
|
-
<button class="pa-btn pa-btn--primary pa-btn--icon-only
|
|
286
|
-
<i class="fa-solid fa-
|
|
287
|
-
</button>
|
|
288
|
-
|
|
289
|
-
<!-- Icon Only -
|
|
290
|
-
<button class="pa-btn pa-btn--primary pa-btn--icon-only pa-btn--
|
|
291
|
-
|
|
292
|
-
</button>
|
|
293
|
-
|
|
294
|
-
<!-- Icon Only -
|
|
295
|
-
<button class="pa-btn pa-btn--primary pa-btn--icon-only pa-btn--
|
|
296
|
-
<i class="fa-solid fa-
|
|
297
|
-
</button>
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
</button>
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
</
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
<
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
1
|
+
<!-- ================================
|
|
2
|
+
BUTTON SNIPPETS
|
|
3
|
+
Pure Admin Visual Framework
|
|
4
|
+
================================ -->
|
|
5
|
+
|
|
6
|
+
<!-- BASIC BUTTONS - Variants -->
|
|
7
|
+
|
|
8
|
+
<!-- Primary Button -->
|
|
9
|
+
<button class="pa-btn pa-btn--primary">Primary</button>
|
|
10
|
+
|
|
11
|
+
<!-- Secondary Button -->
|
|
12
|
+
<button class="pa-btn pa-btn--secondary">Secondary</button>
|
|
13
|
+
|
|
14
|
+
<!-- Success Button -->
|
|
15
|
+
<button class="pa-btn pa-btn--success">Success</button>
|
|
16
|
+
|
|
17
|
+
<!-- Warning Button -->
|
|
18
|
+
<button class="pa-btn pa-btn--warning">Warning</button>
|
|
19
|
+
|
|
20
|
+
<!-- Danger Button -->
|
|
21
|
+
<button class="pa-btn pa-btn--danger">Danger</button>
|
|
22
|
+
|
|
23
|
+
<!-- Info Button -->
|
|
24
|
+
<button class="pa-btn pa-btn--info">Info</button>
|
|
25
|
+
|
|
26
|
+
<!-- Light Button -->
|
|
27
|
+
<button class="pa-btn pa-btn--light">Light</button>
|
|
28
|
+
|
|
29
|
+
<!-- Dark Button -->
|
|
30
|
+
<button class="pa-btn pa-btn--dark">Dark</button>
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
<!-- BUTTON SIZES -->
|
|
34
|
+
|
|
35
|
+
<!-- Extra Small Button -->
|
|
36
|
+
<button class="pa-btn pa-btn--primary pa-btn--xs">Extra Small</button>
|
|
37
|
+
|
|
38
|
+
<!-- Small Button -->
|
|
39
|
+
<button class="pa-btn pa-btn--primary pa-btn--sm">Small</button>
|
|
40
|
+
|
|
41
|
+
<!-- Default Button -->
|
|
42
|
+
<button class="pa-btn pa-btn--primary">Default</button>
|
|
43
|
+
|
|
44
|
+
<!-- Large Button -->
|
|
45
|
+
<button class="pa-btn pa-btn--primary pa-btn--lg">Large</button>
|
|
46
|
+
|
|
47
|
+
<!-- Extra Large Button -->
|
|
48
|
+
<button class="pa-btn pa-btn--primary pa-btn--xl">Extra Large</button>
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
<!-- OUTLINE BUTTONS -->
|
|
52
|
+
|
|
53
|
+
<!-- Outline Primary -->
|
|
54
|
+
<button class="pa-btn pa-btn--outline-primary">Primary</button>
|
|
55
|
+
|
|
56
|
+
<!-- Outline Secondary -->
|
|
57
|
+
<button class="pa-btn pa-btn--outline-secondary">Secondary</button>
|
|
58
|
+
|
|
59
|
+
<!-- Outline Success -->
|
|
60
|
+
<button class="pa-btn pa-btn--outline-success">Success</button>
|
|
61
|
+
|
|
62
|
+
<!-- Outline Warning -->
|
|
63
|
+
<button class="pa-btn pa-btn--outline-warning">Warning</button>
|
|
64
|
+
|
|
65
|
+
<!-- Outline Danger -->
|
|
66
|
+
<button class="pa-btn pa-btn--outline-danger">Danger</button>
|
|
67
|
+
|
|
68
|
+
<!-- Outline Info -->
|
|
69
|
+
<button class="pa-btn pa-btn--outline-info">Info</button>
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
<!-- BUTTON STATES -->
|
|
73
|
+
|
|
74
|
+
<!-- Normal Button -->
|
|
75
|
+
<button class="pa-btn pa-btn--primary">Normal</button>
|
|
76
|
+
|
|
77
|
+
<!-- Disabled Button -->
|
|
78
|
+
<button class="pa-btn pa-btn--primary" disabled>Disabled</button>
|
|
79
|
+
|
|
80
|
+
<!-- Loading Button -->
|
|
81
|
+
<button class="pa-btn pa-btn--primary pa-btn--loading">
|
|
82
|
+
<span class="pa-btn__spinner"></span>
|
|
83
|
+
Loading...
|
|
84
|
+
</button>
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
<!-- BLOCK BUTTONS -->
|
|
88
|
+
|
|
89
|
+
<!-- Block Level Button -->
|
|
90
|
+
<button class="pa-btn pa-btn--primary pa-btn--block">Block Level Button</button>
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
<!-- BUTTON GROUPS -->
|
|
94
|
+
|
|
95
|
+
<!-- Horizontal Button Group (default) -->
|
|
96
|
+
<div class="pa-btn-group">
|
|
97
|
+
<button class="pa-btn pa-btn--secondary">Left</button>
|
|
98
|
+
<button class="pa-btn pa-btn--secondary">Middle</button>
|
|
99
|
+
<button class="pa-btn pa-btn--secondary">Right</button>
|
|
100
|
+
</div>
|
|
101
|
+
|
|
102
|
+
<!-- Vertical Button Group -->
|
|
103
|
+
<div class="pa-btn-group pa-btn-group--vertical">
|
|
104
|
+
<button class="pa-btn pa-btn--secondary">Top</button>
|
|
105
|
+
<button class="pa-btn pa-btn--secondary">Middle</button>
|
|
106
|
+
<button class="pa-btn pa-btn--secondary">Bottom</button>
|
|
107
|
+
</div>
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
<!-- BUTTON GROUP GAP VARIANTS -->
|
|
111
|
+
<!-- Use gap-* utility classes to adjust spacing -->
|
|
112
|
+
|
|
113
|
+
<!-- Compact Gap (2px) -->
|
|
114
|
+
<div class="pa-btn-group gap-2">
|
|
115
|
+
<button class="pa-btn pa-btn--primary">A</button>
|
|
116
|
+
<button class="pa-btn pa-btn--primary">B</button>
|
|
117
|
+
<button class="pa-btn pa-btn--primary">C</button>
|
|
118
|
+
</div>
|
|
119
|
+
|
|
120
|
+
<!-- Default Gap (3px) -->
|
|
121
|
+
<div class="pa-btn-group">
|
|
122
|
+
<button class="pa-btn pa-btn--primary">A</button>
|
|
123
|
+
<button class="pa-btn pa-btn--primary">B</button>
|
|
124
|
+
<button class="pa-btn pa-btn--primary">C</button>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
127
|
+
<!-- Loose Gap (8px) -->
|
|
128
|
+
<div class="pa-btn-group gap-8">
|
|
129
|
+
<button class="pa-btn pa-btn--primary">A</button>
|
|
130
|
+
<button class="pa-btn pa-btn--primary">B</button>
|
|
131
|
+
<button class="pa-btn pa-btn--primary">C</button>
|
|
132
|
+
</div>
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
<!-- BUTTON GROUP VERTICAL ALIGNMENT -->
|
|
136
|
+
|
|
137
|
+
<!-- Vertical Left (default) -->
|
|
138
|
+
<div class="pa-btn-group pa-btn-group--vertical">
|
|
139
|
+
<button class="pa-btn pa-btn--secondary">Short</button>
|
|
140
|
+
<button class="pa-btn pa-btn--secondary">Medium Button</button>
|
|
141
|
+
<button class="pa-btn pa-btn--secondary">Longer Button Text</button>
|
|
142
|
+
</div>
|
|
143
|
+
|
|
144
|
+
<!-- Vertical Center -->
|
|
145
|
+
<div class="pa-btn-group pa-btn-group--vertical pa-btn-group--center">
|
|
146
|
+
<button class="pa-btn pa-btn--secondary">Short</button>
|
|
147
|
+
<button class="pa-btn pa-btn--secondary">Medium Button</button>
|
|
148
|
+
<button class="pa-btn pa-btn--secondary">Longer Button Text</button>
|
|
149
|
+
</div>
|
|
150
|
+
|
|
151
|
+
<!-- Vertical End (right) -->
|
|
152
|
+
<div class="pa-btn-group pa-btn-group--vertical pa-btn-group--end">
|
|
153
|
+
<button class="pa-btn pa-btn--secondary">Short</button>
|
|
154
|
+
<button class="pa-btn pa-btn--secondary">Medium Button</button>
|
|
155
|
+
<button class="pa-btn pa-btn--secondary">Longer Button Text</button>
|
|
156
|
+
</div>
|
|
157
|
+
|
|
158
|
+
<!-- Vertical Stretch (full-width) -->
|
|
159
|
+
<div class="pa-btn-group pa-btn-group--vertical pa-btn-group--stretch">
|
|
160
|
+
<button class="pa-btn pa-btn--primary">Save</button>
|
|
161
|
+
<button class="pa-btn pa-btn--secondary">Cancel</button>
|
|
162
|
+
<button class="pa-btn pa-btn--danger">Delete</button>
|
|
163
|
+
</div>
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
<!-- BUTTON GROUP RESPONSIVE DIRECTION -->
|
|
167
|
+
|
|
168
|
+
<!-- Horizontal on mobile, Vertical on md+ -->
|
|
169
|
+
<div class="pa-btn-group pa-btn-group--md-vertical">
|
|
170
|
+
<button class="pa-btn pa-btn--primary">Save</button>
|
|
171
|
+
<button class="pa-btn pa-btn--secondary">Cancel</button>
|
|
172
|
+
</div>
|
|
173
|
+
|
|
174
|
+
<!-- Vertical on mobile/tablet, Horizontal on lg+ -->
|
|
175
|
+
<div class="pa-btn-group pa-btn-group--vertical pa-btn-group--lg-horizontal">
|
|
176
|
+
<button class="pa-btn pa-btn--primary">Save</button>
|
|
177
|
+
<button class="pa-btn pa-btn--secondary">Cancel</button>
|
|
178
|
+
</div>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
<!-- BUTTON GROUP NO-WRAP -->
|
|
182
|
+
|
|
183
|
+
<!-- Prevent wrapping (single line, may overflow) -->
|
|
184
|
+
<div class="pa-btn-group pa-btn-group--nowrap">
|
|
185
|
+
<button class="pa-btn pa-btn--primary">One</button>
|
|
186
|
+
<button class="pa-btn pa-btn--primary">Two</button>
|
|
187
|
+
<button class="pa-btn pa-btn--primary">Three</button>
|
|
188
|
+
<button class="pa-btn pa-btn--primary">Four</button>
|
|
189
|
+
<button class="pa-btn pa-btn--primary">Five</button>
|
|
190
|
+
</div>
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
<!-- SPLIT BUTTONS -->
|
|
194
|
+
|
|
195
|
+
<!-- Basic Split Button (chevron rotates on open) -->
|
|
196
|
+
<div class="pa-btn-split">
|
|
197
|
+
<button class="pa-btn pa-btn--primary">Save</button>
|
|
198
|
+
<button class="pa-btn pa-btn--primary pa-btn-split__toggle" onclick="toggleSplitMenu(event)">
|
|
199
|
+
<i class="fas fa-chevron-down text-2xs pa-btn-split__chevron"></i>
|
|
200
|
+
</button>
|
|
201
|
+
<div class="pa-btn-split__menu">
|
|
202
|
+
<div class="pa-btn-split__menu-inner">
|
|
203
|
+
<button class="pa-btn-split__item">Save as Draft</button>
|
|
204
|
+
<button class="pa-btn-split__item">Save & Close</button>
|
|
205
|
+
</div>
|
|
206
|
+
</div>
|
|
207
|
+
</div>
|
|
208
|
+
|
|
209
|
+
<!-- Split Button with Danger Item -->
|
|
210
|
+
<div class="pa-btn-split">
|
|
211
|
+
<button class="pa-btn pa-btn--primary">Export</button>
|
|
212
|
+
<button class="pa-btn pa-btn--primary pa-btn-split__toggle" onclick="toggleSplitMenu(event)">
|
|
213
|
+
<i class="fas fa-chevron-down text-2xs pa-btn-split__chevron"></i>
|
|
214
|
+
</button>
|
|
215
|
+
<div class="pa-btn-split__menu">
|
|
216
|
+
<div class="pa-btn-split__menu-inner">
|
|
217
|
+
<button class="pa-btn-split__item">Export as CSV</button>
|
|
218
|
+
<button class="pa-btn-split__item">Export as PDF</button>
|
|
219
|
+
<button class="pa-btn-split__item pa-btn-split__item--danger">Delete All</button>
|
|
220
|
+
</div>
|
|
221
|
+
</div>
|
|
222
|
+
</div>
|
|
223
|
+
|
|
224
|
+
<!-- Split Button - Upward Placement -->
|
|
225
|
+
<div class="pa-btn-split" data-placement="top-end">
|
|
226
|
+
<button class="pa-btn pa-btn--primary">Upload</button>
|
|
227
|
+
<button class="pa-btn pa-btn--primary pa-btn-split__toggle" onclick="toggleSplitMenu(event)">
|
|
228
|
+
<i class="fas fa-chevron-up text-2xs pa-btn-split__chevron"></i>
|
|
229
|
+
</button>
|
|
230
|
+
<div class="pa-btn-split__menu">
|
|
231
|
+
<div class="pa-btn-split__menu-inner">
|
|
232
|
+
<button class="pa-btn-split__item">Upload File</button>
|
|
233
|
+
<button class="pa-btn-split__item">Upload Folder</button>
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
|
|
238
|
+
<!-- Split Button - Custom Icon (no rotation) -->
|
|
239
|
+
<div class="pa-btn-split">
|
|
240
|
+
<button class="pa-btn pa-btn--secondary">Share</button>
|
|
241
|
+
<button class="pa-btn pa-btn--secondary pa-btn-split__toggle" onclick="toggleSplitMenu(event)">
|
|
242
|
+
<i class="fas fa-ellipsis-vertical"></i>
|
|
243
|
+
</button>
|
|
244
|
+
<div class="pa-btn-split__menu">
|
|
245
|
+
<div class="pa-btn-split__menu-inner">
|
|
246
|
+
<button class="pa-btn-split__item">Share via Email</button>
|
|
247
|
+
<button class="pa-btn-split__item">Share via Link</button>
|
|
248
|
+
</div>
|
|
249
|
+
</div>
|
|
250
|
+
</div>
|
|
251
|
+
|
|
252
|
+
<!-- Split Button - Caret Icon (rotates) -->
|
|
253
|
+
<div class="pa-btn-split">
|
|
254
|
+
<button class="pa-btn pa-btn--danger">Delete</button>
|
|
255
|
+
<button class="pa-btn pa-btn--danger pa-btn-split__toggle" onclick="toggleSplitMenu(event)">
|
|
256
|
+
<i class="fas fa-caret-down pa-btn-split__chevron"></i>
|
|
257
|
+
</button>
|
|
258
|
+
<div class="pa-btn-split__menu">
|
|
259
|
+
<div class="pa-btn-split__menu-inner">
|
|
260
|
+
<button class="pa-btn-split__item pa-btn-split__item--danger">Delete Permanently</button>
|
|
261
|
+
<button class="pa-btn-split__item">Move to Trash</button>
|
|
262
|
+
</div>
|
|
263
|
+
</div>
|
|
264
|
+
</div>
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
<!-- BUTTONS WITH ICONS -->
|
|
268
|
+
|
|
269
|
+
<!-- Button with Icon (Text Icon) -->
|
|
270
|
+
<button class="pa-btn pa-btn--primary">
|
|
271
|
+
<span class="pa-btn__icon">→</span>
|
|
272
|
+
Next
|
|
273
|
+
</button>
|
|
274
|
+
|
|
275
|
+
<!-- Button with Icon (Font Awesome) -->
|
|
276
|
+
<button class="pa-btn pa-btn--primary">
|
|
277
|
+
<span class="pa-btn__icon"><i class="fa-solid fa-floppy-disk"></i></span>
|
|
278
|
+
Save
|
|
279
|
+
</button>
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
<!-- ICON-ONLY BUTTONS -->
|
|
283
|
+
|
|
284
|
+
<!-- Icon Only - Default Size -->
|
|
285
|
+
<button class="pa-btn pa-btn--primary pa-btn--icon-only" title="Save">
|
|
286
|
+
<i class="fa-solid fa-floppy-disk"></i>
|
|
287
|
+
</button>
|
|
288
|
+
|
|
289
|
+
<!-- Icon Only - XS (for tables) -->
|
|
290
|
+
<button class="pa-btn pa-btn--primary pa-btn--icon-only pa-btn--xs" title="View">
|
|
291
|
+
👁️
|
|
292
|
+
</button>
|
|
293
|
+
|
|
294
|
+
<!-- Icon Only - SM -->
|
|
295
|
+
<button class="pa-btn pa-btn--primary pa-btn--icon-only pa-btn--sm" title="Edit">
|
|
296
|
+
<i class="fa-solid fa-pen"></i>
|
|
297
|
+
</button>
|
|
298
|
+
|
|
299
|
+
<!-- Icon Only - LG -->
|
|
300
|
+
<button class="pa-btn pa-btn--primary pa-btn--icon-only pa-btn--lg" title="Delete">
|
|
301
|
+
<i class="fa-solid fa-trash"></i>
|
|
302
|
+
</button>
|
|
303
|
+
|
|
304
|
+
<!-- Icon Only - XL -->
|
|
305
|
+
<button class="pa-btn pa-btn--primary pa-btn--icon-only pa-btn--xl" title="Info">
|
|
306
|
+
<i class="fa-solid fa-circle-info"></i>
|
|
307
|
+
</button>
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
<!-- FIXED WIDTH BUTTONS -->
|
|
311
|
+
<!-- Use minwr-* utilities for min-width in rem -->
|
|
312
|
+
|
|
313
|
+
<!-- Fixed Width 6rem -->
|
|
314
|
+
<button class="pa-btn pa-btn--primary minwr-6">
|
|
315
|
+
<span class="pa-btn__icon">✓</span>
|
|
316
|
+
OK
|
|
317
|
+
</button>
|
|
318
|
+
|
|
319
|
+
<!-- Fixed Width 8rem -->
|
|
320
|
+
<button class="pa-btn pa-btn--success minwr-8">
|
|
321
|
+
<span class="pa-btn__icon">→</span>
|
|
322
|
+
Continue
|
|
323
|
+
</button>
|
|
324
|
+
|
|
325
|
+
<!-- Fixed Width with Truncation -->
|
|
326
|
+
<!-- Use minwr-* + maxwr-* to constrain width, text-truncate on inner span for ellipsis -->
|
|
327
|
+
<button class="pa-btn pa-btn--primary minwr-10 maxwr-10">
|
|
328
|
+
<span class="pa-btn__icon">✓</span>
|
|
329
|
+
<span class="text-truncate">Save All Changes</span>
|
|
330
|
+
</button>
|
|
331
|
+
|
|
332
|
+
<button class="pa-btn pa-btn--secondary minwr-10 maxwr-10">
|
|
333
|
+
<span class="pa-btn__icon">×</span>
|
|
334
|
+
<span class="text-truncate">Cancel and Go Back</span>
|
|
335
|
+
</button>
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
<!-- BUTTON ALIGNMENT -->
|
|
339
|
+
|
|
340
|
+
<!-- Start Aligned (icon flush to inline-start) -->
|
|
341
|
+
<button class="pa-btn pa-btn--primary minwr-8 pa-btn--align-start">
|
|
342
|
+
<span class="pa-btn__icon">✓</span>
|
|
343
|
+
Save
|
|
344
|
+
</button>
|
|
345
|
+
|
|
346
|
+
<!-- End Aligned (icon flush to inline-end) -->
|
|
347
|
+
<button class="pa-btn pa-btn--primary minwr-8 pa-btn--align-end">
|
|
348
|
+
Save
|
|
349
|
+
<span class="pa-btn__icon">✓</span>
|
|
350
|
+
</button>
|
|
351
|
+
|
|
352
|
+
<!-- Center Aligned -->
|
|
353
|
+
<button class="pa-btn pa-btn--primary minwr-8 pa-btn--align-center">
|
|
354
|
+
<span class="pa-btn__icon">✓</span>
|
|
355
|
+
Save
|
|
356
|
+
</button>
|
|
357
|
+
|
|
358
|
+
<!-- Justified (space-between) -->
|
|
359
|
+
<button class="pa-btn pa-btn--primary minwr-8 pa-btn--align-justify">
|
|
360
|
+
<span class="pa-btn__icon">✓</span>
|
|
361
|
+
Save
|
|
362
|
+
</button>
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
<!-- INTERACTIVE BUTTONS -->
|
|
366
|
+
|
|
367
|
+
<!-- Ripple Effect Button -->
|
|
368
|
+
<button class="pa-btn pa-btn--primary pa-btn--ripple" data-ripple>
|
|
369
|
+
Primary Ripple
|
|
370
|
+
</button>
|
|
371
|
+
|
|
372
|
+
<!-- Button with Loading Demo -->
|
|
373
|
+
<button class="pa-btn pa-btn--primary pa-btn--ripple" data-loading-demo data-ripple>
|
|
374
|
+
Save Changes
|
|
375
|
+
</button>
|