-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
852 lines (756 loc) · 53.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
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
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
<!--
Copyright (c) 2010-2024 Eclipse Dirigible contributors
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
SPDX-FileCopyrightText: Eclipse Dirigible contributors
SPDX-License-Identifier: EPL-2.0
-->
<!DOCTYPE HTML>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" ng-app="widgets" ng-controller="WidgetsViewController">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" sizes="any" href="./logo/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="./logo/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./logo/favicon-16x16.png">
<title>BlimpKit Documentation</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/angular.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/angular-aria.min.js"></script>
<script type="text/javascript" src="./src/blimpkit.js"></script>
<script type="text/javascript" src="./src/avatar.js"></script>
<script type="text/javascript" src="./src/badge.js"></script>
<script type="text/javascript" src="./src/bar.js"></script>
<script type="text/javascript" src="./src/breadcrumb.js"></script>
<script type="text/javascript" src="./src/busy-indicator.js"></script>
<script type="text/javascript" src="./src/button.js"></script>
<script type="text/javascript" src="./src/card.js"></script>
<script type="text/javascript" src="./src/checkbox.js"></script>
<script type="text/javascript" src="./src/combobox.js"></script>
<script type="text/javascript" src="./src/dialog.js"></script>
<script type="text/javascript" src="./src/forms.js"></script>
<script type="text/javascript" src="./src/input.js"></script>
<script type="text/javascript" src="./src/link.js"></script>
<script type="text/javascript" src="./src/radio.js"></script>
<script type="text/javascript" src="./src/icon-tab-bar.js"></script>
<script type="text/javascript" src="./src/list.js"></script>
<script type="text/javascript" src="./src/loader.js"></script>
<script type="text/javascript" src="./src/menu.js"></script>
<script type="text/javascript" src="./src/message-box.js"></script>
<script type="text/javascript" src="./src/message-page.js"></script>
<script type="text/javascript" src="./src/notification.js"></script>
<script type="text/javascript" src="./src/object-status.js"></script>
<script type="text/javascript" src="./src/pagination.js"></script>
<script type="text/javascript" src="./src/panel.js"></script>
<script type="text/javascript" src="./src/popover.js"></script>
<script type="text/javascript" src="./src/product-switch.js"></script>
<script type="text/javascript" src="./src/progress-indicator.js"></script>
<script type="text/javascript" src="./src/scrollbar.js"></script>
<script type="text/javascript" src="./src/select.js"></script>
<script type="text/javascript" src="./src/shellbar.js"></script>
<script type="text/javascript" src="./src/step-input.js"></script>
<script type="text/javascript" src="./src/switch.js"></script>
<script type="text/javascript" src="./src/table.js"></script>
<script type="text/javascript" src="./src/textarea.js"></script>
<script type="text/javascript" src="./src/tile.js"></script>
<script type="text/javascript" src="./src/title.js"></script>
<script type="text/javascript" src="./src/token.js"></script>
<script type="text/javascript" src="./src/tokenizer.js"></script>
<script type="text/javascript" src="./src/tool-header.js"></script>
<script type="text/javascript" src="./src/toolbar.js"></script>
<script type="text/javascript" src="./src/upload-collection.js"></script>
<script type="text/javascript" src="./src/vertical-navigation.js"></script>
<script type="text/javascript" src="./src/wizard.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/fundamental-styles.css" rel="stylesheet">
<link href="./css/blimpkit.css" rel="stylesheet">
<link href="./docs/css/documentation.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/@highlightjs/[email protected]/highlight.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/js/lib/beautify-css.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/js/lib/beautify-html.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/js/lib/beautify.min.js"></script>
<script type="text/javascript" src="./docs/js/documentation.js"></script>
</head>
<body class="bk-vbox">
<bk-shellbar>
<bk-shellbar-group position="left">
<span bk-shellbar-logo><img src="./logo/blimpkit.svg" width="32" height="32" alt="BlimpKit"></span>
<span bk-shellbar-title>BlimpKit</span>
</bk-shellbar-group>
<bk-shellbar-group position="right">
<bk-shellbar-action>
<bk-popover>
<bk-popover-control>
<bk-button bk-shellbar-button label="Theme" is-menu="true">
</bk-button>
</bk-popover-control>
<bk-popover-body align="bottom-right">
<bk-menu aria-label="theme popover items" has-icons="true">
<bk-menu-item title="BlimpKit" ng-click="setTheme('blimpkit-auto')"
left-icon-class="{{isTheme('blimpkit-auto') ? 'sap-icon--accept' : ''}}"></bk-menu-item>
<bk-menu-item title="BlimpKit (Light)" ng-click="setTheme('blimpkit-light')"
left-icon-class="{{isTheme('blimpkit-light') ? 'sap-icon--accept' : ''}}"></bk-menu-item>
<bk-menu-item title="BlimpKit (Dark)" ng-click="setTheme('blimpkit-dark')"
left-icon-class="{{isTheme('blimpkit-dark') ? 'sap-icon--accept' : ''}}"></bk-menu-item>
<bk-menu-item title="Classic" ng-click="setTheme('classic-auto')"
left-icon-class="{{isTheme('classic-auto') ? 'sap-icon--accept' : ''}}"></bk-menu-item>
<bk-menu-item title="Classic (Light)" ng-click="setTheme('classic-light')"
left-icon-class="{{isTheme('classic-light') ? 'sap-icon--accept' : ''}}"></bk-menu-item>
<bk-menu-item title="Classic (Dark)" ng-click="setTheme('classic-dark')"
left-icon-class="{{isTheme('classic-dark') ? 'sap-icon--accept' : ''}}"></bk-menu-item>
</bk-menu>
</bk-popover-body>
</bk-popover>
</bk-shellbar-action>
<bk-shellbar-action>
<a bk-button bk-shellbar-button href="https://github.com/dirigiblelabs/BlimpKit" label="{{version}}"
icon-path="./docs/icons/github-mark.svg">
</a>
</bk-shellbar-action>
</bk-shellbar-group>
</bk-shellbar>
<div class="doc-main-container bk-hbox">
<bk-vertical-nav can-scroll="true">
<bk-vertical-nav-main-section aria-label="main navigation">
<bk-list>
<bk-list-navigation-item ng-click="switchPage('introduction')"
indicated="selectedPage === 'introduction'">
<bk-list-navigation-item-text>Introduction</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'introduction'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-group-header>Common</bk-list-navigation-group-header>
<bk-list-navigation-item ng-click="switchPage('icons')" indicated="selectedPage === 'icons'">
<bk-list-navigation-item-text>Icons</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'icons'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('code')" indicated="selectedPage === 'code'">
<bk-list-navigation-item-text>Code</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'code'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('focus')" indicated="selectedPage === 'focus'">
<bk-list-navigation-item-text>Focus</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'focus'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('input-rules')"
indicated="selectedPage === 'input-rules'">
<bk-list-navigation-item-text>Form Input Rules</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'input-rules'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-group-header>Components</bk-list-navigation-group-header>
<bk-list-navigation-item ng-click="switchPage('avatar')" indicated="selectedPage === 'avatar'">
<bk-list-navigation-item-text>Avatar</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'avatar'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('bar')" indicated="selectedPage === 'bar'">
<bk-list-navigation-item-text>Bar</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'bar'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('breadcrumb')"
indicated="selectedPage === 'breadcrumb'">
<bk-list-navigation-item-text>Breadcrumb</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'breadcrumb'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('busy')" indicated="selectedPage === 'busy'">
<bk-list-navigation-item-text>Busy Indicator</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'busy'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('button')" indicated="selectedPage === 'button'">
<bk-list-navigation-item-text>Button</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'button'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('badge')" indicated="selectedPage === 'badge'">
<bk-list-navigation-item-text>Badge</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'badge'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('card')" indicated="selectedPage === 'card'">
<bk-list-navigation-item-text>Card</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'card'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('dialog')" indicated="selectedPage === 'dialog'">
<bk-list-navigation-item-text>Dialog</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'dialog'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('checkbox')" indicated="selectedPage === 'checkbox'">
<bk-list-navigation-item-text>Checkbox</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'checkbox'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('combobox')" indicated="selectedPage === 'combobox'">
<bk-list-navigation-item-text>ComboBox</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'combobox'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('fieldset')" indicated="selectedPage === 'fieldset'">
<bk-list-navigation-item-text>Field Set</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'fieldset'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('input')" indicated="selectedPage === 'input'">
<bk-list-navigation-item-text>Inputs</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'input'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('input-group')"
indicated="selectedPage === 'input-group'">
<bk-list-navigation-item-text>Input Group</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'input-group'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('radio')" indicated="selectedPage === 'radio'">
<bk-list-navigation-item-text>Radio</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'radio'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('icon-tab-bar')"
indicated="selectedPage === 'icon-tab-bar'">
<bk-list-navigation-item-text>Icon Tab Bar</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'icon-tab-bar'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('link')" indicated="selectedPage === 'link'">
<bk-list-navigation-item-text>Link</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'link'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('list')" indicated="selectedPage === 'list'">
<bk-list-navigation-item-text>List</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'list'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('loader')" indicated="selectedPage === 'loader'">
<bk-list-navigation-item-text>Loader</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'loader'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('menu')" indicated="selectedPage === 'menu'">
<bk-list-navigation-item-text>Menu</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'menu'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('message-box')"
indicated="selectedPage === 'message-box'">
<bk-list-navigation-item-text>Message Box</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'message-box'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('message-page')"
indicated="selectedPage === 'message-page'">
<bk-list-navigation-item-text>Message Page</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'message-page'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('notification')"
indicated="selectedPage === 'notification'">
<bk-list-navigation-item-text>Notification</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'notification'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('object-status')"
indicated="selectedPage === 'object-status'">
<bk-list-navigation-item-text>Object Status</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'object-status'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('pagination')"
indicated="selectedPage === 'pagination'">
<bk-list-navigation-item-text>Pagination</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'pagination'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('panel')" indicated="selectedPage === 'panel'">
<bk-list-navigation-item-text>Panel</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'panel'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('popover')" indicated="selectedPage === 'popover'">
<bk-list-navigation-item-text>Popover</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'popover'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('product-switch')"
indicated="selectedPage === 'product-switch'">
<bk-list-navigation-item-text>Product Switch</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'product-switch'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('progress-indicator')"
indicated="selectedPage === 'progress-indicator'">
<bk-list-navigation-item-text>Progress Indicator</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'progress-indicator'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('scrollbar')"
indicated="selectedPage === 'scrollbar'">
<bk-list-navigation-item-text>Scrollbar</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'scrollbar'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('shellbar')" indicated="selectedPage === 'shellbar'">
<bk-list-navigation-item-text>Shellbar</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'shellbar'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('switch')" indicated="selectedPage === 'switch'">
<bk-list-navigation-item-text>Switch</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'switch'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('select')" indicated="selectedPage === 'select'">
<bk-list-navigation-item-text>Select</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'select'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('table')" indicated="selectedPage === 'table'">
<bk-list-navigation-item-text>Table</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'table'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('tile')" indicated="selectedPage === 'tile'">
<bk-list-navigation-item-text>Tile</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'tile'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('title')" indicated="selectedPage === 'title'">
<bk-list-navigation-item-text>Title</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'title'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('token')" indicated="selectedPage === 'token'">
<bk-list-navigation-item-text>Token</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'token'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('tool-header')"
indicated="selectedPage === 'tool-header'">
<bk-list-navigation-item-text>Tool header</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'tool-header'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('toolbar')" indicated="selectedPage === 'toolbar'">
<bk-list-navigation-item-text>Toolbar</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'toolbar'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('upload-collection')"
indicated="selectedPage === 'upload-collection'">
<bk-list-navigation-item-text>Upload collection</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'upload-collection'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('vertical-navigation')"
indicated="selectedPage === 'vertical-navigation'">
<bk-list-navigation-item-text>Vertical Navigation</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'vertical-navigation'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('wizard')" indicated="selectedPage === 'wizard'">
<bk-list-navigation-item-text>Wizard</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'wizard'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-group-header>Common CSS</bk-list-navigation-group-header>
<bk-list-navigation-item ng-click="switchPage('css-box')" indicated="selectedPage === 'css-box'">
<bk-list-navigation-item-text>Box</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'css-box'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('css-grid')" indicated="selectedPage === 'css-grid'">
<bk-list-navigation-item-text>Grid</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'css-grid'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('css-text')" indicated="selectedPage === 'css-text'">
<bk-list-navigation-item-text>Text</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'css-text'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('css-borders')"
indicated="selectedPage === 'css-borders'">
<bk-list-navigation-item-text>Borders</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'css-borders'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('css-pad-mar')"
indicated="selectedPage === 'css-pad-mar'">
<bk-list-navigation-item-text>Paddings & Margins</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'css-pad-mar'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
<bk-list-navigation-item ng-click="switchPage('css-size')" indicated="selectedPage === 'css-size'">
<bk-list-navigation-item-text>Width & Height</bk-list-navigation-item-text>
<bk-list-navigation-item-indicator ng-if="selectedPage === 'css-size'">
</bk-list-navigation-item-indicator>
</bk-list-navigation-item>
</bk-list>
</bk-vertical-nav-main-section>
</bk-vertical-nav>
<div class="bk-vbox bk-fill-parent" bk-scrollbar style="padding: 2rem;">
<!-- Introduction -->
<div ng-if="selectedPage === 'introduction'">
<img src="./logo/blimpkit-full.svg" alt="BlimpKit" height="240">
<h1>What is BlimpKit?</h1>
<p>BlimpKit is an AngularJS directive/component UI library based on the <a
href="https://sap.github.io/fundamental-styles/">fundamental-styles</a> CSS library.
<p>While it mostly follows the fundamental-styles style guides, it deviates in some places and some of
the widgets are modified and/or removed, therefore it should not be viewed as an official
implementation.</p>
<p>BlimpKit is its own library and contains some extra components that are unique to it.</p>
<h2>Getting Started</h2>
<p>The library is modular, so you can use as little or as much as you need.</p>
<h3>Dependencies</h3>
<p>Besides BlimpKit, you will also need AngularJS, jQuery, fundamental-styles and SAP Theming:
</p>
<code-block type="text-html">
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.8.3/angular.min.js"></script>
<script
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.8.3/angular-aria.js"></script>
</code-block>
<h3>Base styles and themes</h3>
<p>Themes are supported. Officially, there are two themes availabe - <b>BlimpKit</b> and <b>Classic</b>.
Both of those have a light, dark and auto modes. You can replace 'themeName' with the name
of the theme that you want. The available options are:
<ul>
<li><b>blimpkit-auto</b></li>
<li><b>blimpkit-light</b></li>
<li><b>blimpkit-dark</b></li>
<li><b>classic-auto</b></li>
<li><b>classic-light</b></li>
<li><b>classic-dark</b></li>
</ul>
</p>
<p>For light or dark:</p>
<code-block type="text-html">
<link href="https://unpkg.com/[email protected]/dist/fundamental-styles.css"
rel="stylesheet">
<link href="/css/themes/{themeName}.css" rel="stylesheet">
<link href="/css/themes/{themeName}-variables.css" rel="stylesheet">
<link href="/css/blimpkit.css" rel="stylesheet">
</code-block>
<p>For auto:</p>
<code-block type="text-html">
<link href="https://unpkg.com/[email protected]/dist/fundamental-styles.css"
rel="stylesheet">
<link href="/css/themes/{themeName}.css" rel="stylesheet">
<link href="/css/blimpkit.css" rel="stylesheet">
</code-block>
<p>There are other themes available from the base CSS library. You can replace 'themeName' with the name
of the theme that you want. The available options are:
<ul>
<li><b>sap_horizon</b></li>
<li><b>sap_horizon_dark</b></li>
<li><b>sap_horizon_hcb</b></li>
<li><b>sap_horizon_hcw</b></li>
<li><b>sap_fiori_3</b></li>
<li><b>sap_fiori_3_dark</b></li>
<li><b>sap_fiori_3_hcb</b></li>
<li><b>sap_fiori_3_hcw</b></li>
<li><b>sap_fiori_3_light_dark</b></li>
</ul>
</p>
<code-block type="text-html">
<link href="https://unpkg.com/[email protected]/dist/fundamental-styles.css"
rel="stylesheet">
<link href="https://unpkg.com/[email protected]/dist/theming/{themeName}.css"
rel="stylesheet">
<link
href="https://unpkg.com/@sap-theming/[email protected]/content/Base/baseLib/{themeName}/css_variables.css"
rel="stylesheet">
<link href="/css/blimpkit.css" rel="stylesheet">
</code-block>
<h3>Fonts and icons</h3>
<p>Fonts and icons are not included or configured by default. You must create you own CSS file and
configure the fonts from the <b>@sap-theming</b> package.</p>
<code-block type="css">
@font-face {
font-family: "72";
src:url("https://www.unpkg.com/@sap-theming/[email protected]/content/Base/baseLib/baseTheme/fonts/72-Regular-full.woff")
format("woff");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "72";
src:url("https://www.unpkg.com/@sap-theming/[email protected]/content/Base/baseLib/baseTheme/fonts/72-Light-full.woff")
format("woff");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "72-Light";
src:url("https://www.unpkg.com/@sap-theming/[email protected]/content/Base/baseLib/baseTheme/fonts/72-Light-full.woff")
format("woff");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "72";
src:url("https://www.unpkg.com/@sap-theming/[email protected]/content/Base/baseLib/baseTheme/fonts/72-Bold-full.woff")
format("woff");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "72-Bold";
src:url("https://www.unpkg.com/@sap-theming/[email protected]/content/Base/baseLib/baseTheme/fonts/72-Bold-full.woff")
format("woff");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "72Mono-Regular";
src:url("https://www.unpkg.com/@sap-theming/[email protected]/content/Base/baseLib/baseTheme/fonts/72Mono-Regular-full.woff")
format("woff");
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "72Mono-Bold";
src:url("https://www.unpkg.com/@sap-theming/[email protected]/content/Base/baseLib/baseTheme/fonts/72Mono-Bold-full.woff")
format("woff");
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "SAP-icons";
src:url("https://www.unpkg.com/@sap-theming/[email protected]/content/Base/baseLib/sap_horizon/fonts/SAP-icons.woff")
format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "BusinessSuiteInAppSymbols";
src:url("https://www.unpkg.com/@sap-theming/[email protected]/content/Base/baseLib/sap_horizon/fonts/BusinessSuiteInAppSymbols.woff")
format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "SAP-icons-TNT";
src:url("https://www.unpkg.com/@sap-theming/[email protected]/content/Base/baseLib/sap_horizon/fonts/SAP-icons-TNT.woff")
format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}
</code-block>
<h3>Initialization and use</h3>
<p>Include the base BlimpKit module:</p>
<code-block type="text-html">
<script type="text/javascript"
src="/src/blimpkit.js"></script>
</code-block>
<p>Add the BlimpKit module to your module as a dependency:</p>
<code-block type="js">
angular.module('yourModuleName', ['blimpKit']);
</code-block>
<p>In order to use a component, you will need to include it. You can include only the components that
you need or you can include everything:</p>
<code-block type="text-html">
<script type="text/javascript" src="/src/avatar.js"></script>
<script type="text/javascript" src="/src/badge.js"></script>
<script type="text/javascript" src="/src/bar.js"></script>
<script type="text/javascript" src="/src/breadcrumb.js"></script>
<script type="text/javascript"
src="/src/busy-indicator.js"></script>
<script type="text/javascript" src="/src/button.js"></script>
<script type="text/javascript" src="/src/card.js"></script>
<script type="text/javascript" src="/src/checkbox.js"></script>
<script type="text/javascript" src="/src/combobox.js"></script>
<script type="text/javascript" src="/src/dialog.js"></script>
<script type="text/javascript" src="/src/forms.js"></script>
<script type="text/javascript" src="/src/input.js"></script>
<script type="text/javascript" src="/src/link.js"></script>
<script type="text/javascript" src="/src/radio.js"></script>
<script type="text/javascript" src="/src/icon-tab-bar.js"></script>
<script type="text/javascript" src="/src/list.js"></script>
<script type="text/javascript" src="/src/loader.js"></script>
<script type="text/javascript" src="/src/menu.js"></script>
<script type="text/javascript" src="/src/message-box.js"></script>
<script type="text/javascript" src="/src/message-page.js"></script>
<script type="text/javascript" src="/src/notification.js"></script>
<script type="text/javascript" src="/src/object-status.js"></script>
<script type="text/javascript" src="/src/pagination.js"></script>
<script type="text/javascript" src="/src/panel.js"></script>
<script type="text/javascript" src="/src/popover.js"></script>
<script type="text/javascript"
src="/src/product-switch.js"></script>
<script type="text/javascript"
src="/src/progress-indicator.js"></script>
<script type="text/javascript" src="/src/scrollbar.js"></script>
<script type="text/javascript" src="/src/select.js"></script>
<script type="text/javascript" src="/src/shellbar.js"></script>
<script type="text/javascript" src="/src/switch.js"></script>
<script type="text/javascript" src="/src/step-input.js"></script>
<script type="text/javascript" src="/src/table.js"></script>
<script type="text/javascript" src="/src/textarea.js"></script>
<script type="text/javascript" src="/src/tile.js"></script>
<script type="text/javascript" src="/src/title.js"></script>
<script type="text/javascript" src="/src/token.js"></script>
<script type="text/javascript" src="/src/tokenizer.js"></script>
<script type="text/javascript" src="/src/tool-header.js"></script>
<script type="text/javascript" src="/src/toolbar.js"></script>
<script type="text/javascript"
src="/src/upload-collection.js"></script>
<script type="text/javascript"
src="/src/vertical-navigation.js"></script>
<script type="text/javascript" src="/src/wizard.js"></script>
</code-block>
<p>That's it! You can now use BlimpKit components. For examples on how to use them, look under the
"Components" section in the sidebar.</p>
</div>
<!-- Icons -->
<div ng-if="selectedPage === 'icons'" ng-include="'docs/icons.html'"></div>
<!-- Code -->
<div ng-if="selectedPage === 'code'" ng-include="'docs/code.html'"></div>
<!-- Focus -->
<div ng-if="selectedPage === 'focus'" ng-include="'docs/focus.html'"></div>
<!-- Input Rules -->
<div ng-if="selectedPage === 'input-rules'" ng-include="'docs/input-rules.html'"></div>
<!-- Avatar -->
<div ng-if="selectedPage === 'avatar'" ng-include="'docs/avatar.html'"></div>
<!-- Bar -->
<div ng-if="selectedPage === 'bar'" ng-include="'docs/bar.html'"></div>
<!-- Breadcrumb -->
<div ng-if="selectedPage === 'breadcrumb'" ng-include="'docs/breadcrumb.html'"></div>
<!-- Busy indicator -->
<div ng-if="selectedPage === 'busy'" ng-include="'docs/busy-indicator.html'"></div>
<!-- Button -->
<div ng-show="selectedPage === 'button'" ng-include="'docs/button.html'"></div>
<!-- Badge -->
<div ng-if="selectedPage === 'badge'" ng-include="'docs/badge.html'"></div>
<!-- Card -->
<div ng-if="selectedPage === 'card'" ng-include="'docs/card.html'"></div>
<!-- Dialog -->
<div ng-if="selectedPage === 'dialog'" ng-include="'docs/dialog.html'"></div>
<!-- Checkbox -->
<div ng-if="selectedPage === 'checkbox'" ng-include="'docs/checkbox.html'"></div>
<!-- ComboBox -->
<div ng-if="selectedPage === 'combobox'" ng-include="'docs/combobox.html'"></div>
<!-- Field Set -->
<div ng-if="selectedPage === 'fieldset'" ng-include="'docs/fieldset.html'"></div>
<!-- Inputs -->
<div ng-if="selectedPage === 'input'" ng-include="'docs/input.html'"></div>
<!-- Input Group -->
<div ng-if="selectedPage === 'input-group'" ng-include="'docs/input-group.html'"></div>
<!-- Radio -->
<div ng-if="selectedPage === 'radio'" ng-include="'docs/radio.html'"></div>
<!-- Icon Tab Bar -->
<div ng-if="selectedPage === 'icon-tab-bar'" ng-include="'docs/icon-tab-bar.html'"></div>
<!-- Link -->
<div ng-if="selectedPage === 'link'" ng-include="'docs/link.html'"></div>
<!-- List -->
<div ng-if="selectedPage === 'list'" ng-include="'docs/list.html'"></div>
<!-- Loader -->
<div ng-if="selectedPage === 'loader'" ng-include="'docs/loader.html'"></div>
<!-- Menu -->
<div ng-if="selectedPage === 'menu'" ng-include="'docs/menu.html'"></div>
<!-- Message Box -->
<div ng-if="selectedPage === 'message-box'" ng-include="'docs/message-box.html'"></div>
<!-- Message Page -->
<div ng-if="selectedPage === 'message-page'" ng-include="'docs/message-page.html'"></div>
<!-- Notification -->
<div ng-if="selectedPage === 'notification'" ng-include="'docs/notification.html'"></div>
<!-- Object Status -->
<div ng-if="selectedPage === 'object-status'" ng-include="'docs/object-status.html'"></div>
<!-- Pagination -->
<div ng-if="selectedPage === 'pagination'" ng-include="'docs/pagination.html'"></div>
<!-- Panel -->
<div ng-if="selectedPage === 'panel'" ng-include="'docs/panel.html'"></div>
<!-- Popover -->
<div ng-show="selectedPage === 'popover'" ng-include="'docs/popover.html'"></div>
<!-- Product Switch -->
<div ng-if="selectedPage === 'product-switch'" ng-include="'docs/product-switch.html'"></div>
<!-- Progress Indicator. -->
<div ng-if="selectedPage === 'progress-indicator'" ng-include="'docs/progress-indicator.html'"></div>
<!-- Scrollbar -->
<div ng-if="selectedPage === 'scrollbar'" ng-include="'docs/scrollbar.html'"></div>
<!-- Shellbar -->
<div ng-if="selectedPage === 'shellbar'" ng-include="'docs/shellbar.html'"></div>
<!-- Switch -->
<div ng-if="selectedPage === 'switch'" ng-include="'docs/switch.html'"></div>
<!-- Select -->
<div ng-if="selectedPage === 'select'" ng-include="'docs/select.html'"></div>
<!-- Table -->
<div ng-if="selectedPage === 'table'" ng-include="'docs/table.html'"></div>
<!-- Tile -->
<div ng-if="selectedPage === 'tile'" ng-include="'docs/tile.html'"></div>
<!-- Title -->
<div ng-if="selectedPage === 'title'" ng-include="'docs/title.html'"></div>
<!-- Token -->
<div ng-if="selectedPage === 'token'" ng-include="'docs/token.html'"></div>
<!-- Tool header -->
<div ng-if="selectedPage === 'tool-header'" ng-include="'docs/tool-header.html'"></div>
<!-- Toolbar -->
<div ng-if="selectedPage === 'toolbar'" ng-include="'docs/toolbar.html'"></div>
<!-- Upload collection -->
<div ng-if="selectedPage === 'upload-collection'" ng-include="'docs/upload-collection.html'"></div>
<!-- Vertical Navigation -->
<div ng-if="selectedPage === 'vertical-navigation'" ng-include="'docs/vertical-navigation.html'"></div>
<!-- Wizard -->
<div ng-if="selectedPage === 'wizard'" ng-include="'docs/wizard.html'"></div>
<!-- CSS Layout -->
<div ng-if="selectedPage === 'css-pad-mar'" ng-include="'docs/css-pad-mar.html'"></div>
<!-- CSS Grid -->
<div ng-if="selectedPage === 'css-grid'" ng-include="'docs/css-grid.html'"></div>
<!-- CSS Text -->
<div ng-if="selectedPage === 'css-text'" ng-include="'docs/css-text.html'"></div>
<!-- CSS Box -->
<div ng-if="selectedPage === 'css-box'" ng-include="'docs/css-box.html'"></div>
<!-- CSS Size -->
<div ng-if="selectedPage === 'css-size'" ng-include="'docs/css-size.html'"></div>
<!-- CSS Borders -->
<div ng-if="selectedPage === 'css-borders'" ng-include="'docs/css-borders.html'"></div>
</div>
</div>
<!-- BlimpKit auto theme -->
<link ng-if="isTheme('blimpkit-auto')" href="./css/themes/blimpkit-auto.css" rel="stylesheet">
<link ng-if="isTheme('blimpkit-auto')" href="./docs/css/highlightjs-auto.css" rel="stylesheet">
<!-- BlimpKit light theme -->
<link ng-if="isTheme('blimpkit-light')" href="./css/themes/blimpkit-light-variables.css" rel="stylesheet">
<link ng-if="isTheme('blimpkit-light')" href="./css/themes/blimpkit-light.css" rel="stylesheet">
<link ng-if="isTheme('blimpkit-light')" rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@highlightjs/[email protected]/styles/github-dark.min.css" />
<!-- BlimpKit dark theme -->
<link ng-if="isTheme('blimpkit-dark')" href="./css/themes/blimpkit-dark-variables.css" rel="stylesheet">
<link ng-if="isTheme('blimpkit-dark')" href="./css/themes/blimpkit-dark.css" rel="stylesheet">
<link ng-if="isTheme('blimpkit-dark')" rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@highlightjs/[email protected]/styles/github-dark-dimmed.min.css" />
<!-- Classic auto theme -->
<link ng-if="isTheme('classic-auto')" href="./css/themes/classic-auto.css" rel="stylesheet">
<link ng-if="isTheme('classic-auto')" href="./docs/css/highlightjs-auto.css" rel="stylesheet">
<!-- Classic light theme -->
<link ng-if="isTheme('classic-light')" href="./css/themes/classic-light-variables.css" rel="stylesheet">
<link ng-if="isTheme('classic-light')" href="./css/themes/classic-light.css" rel="stylesheet">
<link ng-if="isTheme('classic-light')" rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@highlightjs/[email protected]/styles/github-dark.min.css" />
<!-- Classic light theme -->
<link ng-if="isTheme('classic-dark')" href="./css/themes/classic-dark-variables.css" rel="stylesheet">
<link ng-if="isTheme('classic-dark')" href="./css/themes/classic-dark.css" rel="stylesheet">
<link ng-if="isTheme('classic-dark')" rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@highlightjs/[email protected]/styles/github-dark.min.css" />
</body>
</html>