@maliardic/ma-ui 0.1.2 → 0.2.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.
- package/CHANGELOG.md +56 -0
- package/README.md +5 -3
- package/fesm2022/maliardic-ma-ui-editor.mjs +4 -4
- package/fesm2022/maliardic-ma-ui-editor.mjs.map +1 -1
- package/fesm2022/maliardic-ma-ui.mjs +225 -111
- package/fesm2022/maliardic-ma-ui.mjs.map +1 -1
- package/package.json +3 -3
- package/styles/components/_button.scss +2 -2
- package/styles/components/_checkbox.scss +1 -1
- package/styles/components/_file-upload.scss +1 -1
- package/styles/components/_icon.scss +17 -0
- package/styles/components/_menu-search.scss +1 -1
- package/styles/components/_table.scss +3 -3
- package/styles/components/_tiered-menu.scss +14 -0
- package/styles/components.scss +1 -0
- package/styles/index.scss +0 -1
- package/styles/ma-ui.css +1 -5
- package/types/maliardic-ma-ui.d.ts +53 -23
- package/FONT_AWESOME_LICENSE.txt +0 -165
- package/webfonts/fa-brands-400.ttf +0 -0
- package/webfonts/fa-brands-400.woff2 +0 -0
- package/webfonts/fa-regular-400.ttf +0 -0
- package/webfonts/fa-regular-400.woff2 +0 -0
- package/webfonts/fa-solid-900.ttf +0 -0
- package/webfonts/fa-solid-900.woff2 +0 -0
- package/webfonts/fa-v4compatibility.ttf +0 -0
- package/webfonts/fa-v4compatibility.woff2 +0 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import * as _maliardic_ma_icon from '@maliardic/ma-icon';
|
|
2
|
+
import { MaiconName, MaiconGlyph } from '@maliardic/ma-icon';
|
|
1
3
|
import * as _angular_core from '@angular/core';
|
|
2
4
|
import { TemplateRef, Type, Provider, OnDestroy, OnInit, PipeTransform, AfterViewInit, AfterViewChecked, WritableSignal, InputSignal } from '@angular/core';
|
|
3
5
|
import { ControlValueAccessor } from '@angular/forms';
|
|
@@ -68,7 +70,7 @@ interface MAccordionHeaderTemplateContext {
|
|
|
68
70
|
declare class MAccordionPanel {
|
|
69
71
|
readonly value: _angular_core.InputSignal<string>;
|
|
70
72
|
readonly header: _angular_core.InputSignal<string>;
|
|
71
|
-
readonly icon: _angular_core.InputSignal<
|
|
73
|
+
readonly icon: _angular_core.InputSignal<"" | _maliardic_ma_icon.MaiconName>;
|
|
72
74
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
73
75
|
readonly headerTemplate: _angular_core.Signal<TemplateRef<MAccordionHeaderTemplateContext> | undefined>;
|
|
74
76
|
readonly panelId: string;
|
|
@@ -77,7 +79,6 @@ declare class MAccordionPanel {
|
|
|
77
79
|
readonly expanded: _angular_core.WritableSignal<boolean>;
|
|
78
80
|
private readonly accordion;
|
|
79
81
|
setExpanded(expanded: boolean): void;
|
|
80
|
-
protected iconClass(): string;
|
|
81
82
|
protected headerContext(): MAccordionHeaderTemplateContext;
|
|
82
83
|
protected toggle(): void;
|
|
83
84
|
protected onHeaderKeydown(event: KeyboardEvent): void;
|
|
@@ -123,7 +124,7 @@ declare class MBadge {
|
|
|
123
124
|
|
|
124
125
|
type MButtonType = "button" | "submit" | "reset";
|
|
125
126
|
declare class MButton {
|
|
126
|
-
readonly icon: _angular_core.InputSignal<
|
|
127
|
+
readonly icon: _angular_core.InputSignal<"" | _maliardic_ma_icon.MaiconName>;
|
|
127
128
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
128
129
|
readonly size: _angular_core.InputSignal<MControlSize>;
|
|
129
130
|
readonly type: _angular_core.InputSignal<MButtonType>;
|
|
@@ -421,7 +422,7 @@ declare class MFileList<T = unknown> {
|
|
|
421
422
|
file: T;
|
|
422
423
|
name: string;
|
|
423
424
|
size: string;
|
|
424
|
-
icon:
|
|
425
|
+
icon: _maliardic_ma_icon.MaiconName;
|
|
425
426
|
disabled: boolean;
|
|
426
427
|
}[]>;
|
|
427
428
|
protected requestDownload(file: T, disabled: boolean): void;
|
|
@@ -430,10 +431,43 @@ declare class MFileList<T = unknown> {
|
|
|
430
431
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MFileList<any>, "m-file-list", never, { "files": { "alias": "files"; "required": false; "isSignal": true; }; "nameField": { "alias": "nameField"; "required": false; "isSignal": true; }; "sizeField": { "alias": "sizeField"; "required": false; "isSignal": true; }; "typeField": { "alias": "typeField"; "required": false; "isSignal": true; }; "disabledField": { "alias": "disabledField"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "downloadable": { "alias": "downloadable"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "unnamedLabel": { "alias": "unnamedLabel"; "required": false; "isSignal": true; }; "downloadLabel": { "alias": "downloadLabel"; "required": false; "isSignal": true; }; "removeLabel": { "alias": "removeLabel"; "required": false; "isSignal": true; }; }, { "download": "download"; "remove": "remove"; }, never, never, true, never>;
|
|
431
432
|
}
|
|
432
433
|
|
|
434
|
+
/** Name of an icon in the maicon set (`@maliardic/ma-icon`). */
|
|
435
|
+
type MIconName = MaiconName;
|
|
436
|
+
/** Every icon name in the maicon set (`@maliardic/ma-icon`), alphabetical. */
|
|
437
|
+
declare const M_ICON_NAMES: readonly MIconName[];
|
|
438
|
+
/** Returns the glyph for a name, or `null` for unknown / empty names. */
|
|
439
|
+
declare function mIconGlyph(name: string | null | undefined): MaiconGlyph | null;
|
|
440
|
+
/** True when `name` is an icon in the maicon set (`@maliardic/ma-icon`). */
|
|
441
|
+
declare function isMIconName(name: unknown): name is MIconName;
|
|
442
|
+
/**
|
|
443
|
+
* Builds the `<svg>` that `<m-icon>` renders (with the `m-icon` class on the svg itself), for places that
|
|
444
|
+
* create DOM imperatively (e.g. directives). Returns `null` for unknown names.
|
|
445
|
+
*/
|
|
446
|
+
declare function createMIconSvg(document: Document, name: string | null | undefined): SVGSVGElement | null;
|
|
447
|
+
/**
|
|
448
|
+
* Inline SVG icon from the maicon set (`@maliardic/ma-icon`). Size follows `font-size`, colour follows `color`.
|
|
449
|
+
*
|
|
450
|
+
* ```html
|
|
451
|
+
* <m-icon name="search" />
|
|
452
|
+
* <button mButton aria-label="Ara"><m-icon name="search" /></button>
|
|
453
|
+
* <m-icon name="alert-triangle" label="Uyarı" />
|
|
454
|
+
* ```
|
|
455
|
+
*/
|
|
456
|
+
declare class MIcon {
|
|
457
|
+
/** Icon name. Unknown names render nothing. */
|
|
458
|
+
readonly name: _angular_core.InputSignal<"" | MaiconName | null | undefined>;
|
|
459
|
+
/** Accessible name. Empty means decorative (`aria-hidden`). */
|
|
460
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
461
|
+
protected readonly strokeWidth = 1.5;
|
|
462
|
+
protected readonly glyph: _angular_core.Signal<MaiconGlyph | null>;
|
|
463
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MIcon, never>;
|
|
464
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MIcon, "m-icon", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
465
|
+
}
|
|
466
|
+
|
|
433
467
|
declare class MInput implements ControlValueAccessor {
|
|
434
468
|
readonly inputId: _angular_core.InputSignal<string>;
|
|
435
469
|
readonly type: _angular_core.InputSignal<MInputType>;
|
|
436
|
-
readonly icon: _angular_core.InputSignal<
|
|
470
|
+
readonly icon: _angular_core.InputSignal<"" | _maliardic_ma_icon.MaiconName>;
|
|
437
471
|
readonly mask: _angular_core.InputSignal<string>;
|
|
438
472
|
readonly rawValue: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
439
473
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
@@ -450,8 +484,6 @@ declare class MInput implements ControlValueAccessor {
|
|
|
450
484
|
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
451
485
|
protected readonly isPassword: _angular_core.Signal<boolean>;
|
|
452
486
|
protected readonly inputType: _angular_core.Signal<MInputType>;
|
|
453
|
-
protected readonly iconClass: _angular_core.Signal<string>;
|
|
454
|
-
protected readonly passwordToggleIconClass: _angular_core.Signal<string>;
|
|
455
487
|
protected readonly passwordToggleLabel: _angular_core.Signal<"Hide password" | "Show password">;
|
|
456
488
|
private usingValueAccessor;
|
|
457
489
|
private onChange;
|
|
@@ -470,7 +502,7 @@ declare class MInput implements ControlValueAccessor {
|
|
|
470
502
|
|
|
471
503
|
declare class MInputNumber implements ControlValueAccessor {
|
|
472
504
|
readonly inputId: _angular_core.InputSignal<string>;
|
|
473
|
-
readonly icon: _angular_core.InputSignal<
|
|
505
|
+
readonly icon: _angular_core.InputSignal<"" | _maliardic_ma_icon.MaiconName>;
|
|
474
506
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
475
507
|
readonly value: _angular_core.InputSignal<string | number | null>;
|
|
476
508
|
readonly name: _angular_core.InputSignal<string>;
|
|
@@ -494,7 +526,6 @@ declare class MInputNumber implements ControlValueAccessor {
|
|
|
494
526
|
protected readonly disabledFromControl: _angular_core.WritableSignal<boolean>;
|
|
495
527
|
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
496
528
|
protected readonly displayValue: _angular_core.Signal<string>;
|
|
497
|
-
protected readonly iconClass: _angular_core.Signal<string>;
|
|
498
529
|
private usingValueAccessor;
|
|
499
530
|
private onChange;
|
|
500
531
|
private onTouched;
|
|
@@ -575,7 +606,7 @@ interface MMenuItem {
|
|
|
575
606
|
id?: string;
|
|
576
607
|
label?: string;
|
|
577
608
|
value: string;
|
|
578
|
-
icon?:
|
|
609
|
+
icon?: MIconName;
|
|
579
610
|
disabled?: boolean;
|
|
580
611
|
items?: readonly MMenuItem[];
|
|
581
612
|
routerLink?: string | readonly unknown[];
|
|
@@ -601,7 +632,6 @@ declare class MMenu {
|
|
|
601
632
|
protected hasChildren(item: MMenuItem): boolean;
|
|
602
633
|
protected isExpanded(item: MMenuItem): boolean;
|
|
603
634
|
protected isSelected(item: MMenuItem): boolean;
|
|
604
|
-
protected iconClass(item: MMenuItem): string;
|
|
605
635
|
protected handleItem(item: MMenuItem, siblings: readonly MMenuItem[]): void;
|
|
606
636
|
protected onItemKeydown(event: KeyboardEvent, item: MMenuItem, siblings: readonly MMenuItem[]): void;
|
|
607
637
|
private toggleItem;
|
|
@@ -920,7 +950,7 @@ declare class MSelect implements ControlValueAccessor, OnDestroy {
|
|
|
920
950
|
private overlayRef;
|
|
921
951
|
private outsideSubscription;
|
|
922
952
|
readonly inputId: _angular_core.InputSignal<string>;
|
|
923
|
-
readonly icon: _angular_core.InputSignal<
|
|
953
|
+
readonly icon: _angular_core.InputSignal<"" | _maliardic_ma_icon.MaiconName>;
|
|
924
954
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
925
955
|
readonly value: _angular_core.InputSignal<unknown>;
|
|
926
956
|
readonly name: _angular_core.InputSignal<string>;
|
|
@@ -956,7 +986,6 @@ declare class MSelect implements ControlValueAccessor, OnDestroy {
|
|
|
956
986
|
protected readonly triggerLabel: _angular_core.Signal<string>;
|
|
957
987
|
protected readonly triggerLabelIsPlaceholder: _angular_core.Signal<boolean>;
|
|
958
988
|
protected readonly canClear: _angular_core.Signal<boolean>;
|
|
959
|
-
protected readonly iconClass: _angular_core.Signal<string>;
|
|
960
989
|
protected readonly viewportHeight: _angular_core.Signal<string>;
|
|
961
990
|
private usingValueAccessor;
|
|
962
991
|
private onControlChange;
|
|
@@ -1307,7 +1336,7 @@ declare class MTable implements OnInit {
|
|
|
1307
1336
|
protected columnTrack(column: MTableResolvedColumn): string;
|
|
1308
1337
|
protected rowTrack(row: MTableRow): unknown;
|
|
1309
1338
|
protected sortBy(column: MTableResolvedColumn): void;
|
|
1310
|
-
protected sortIcon(column: MTableResolvedColumn):
|
|
1339
|
+
protected sortIcon(column: MTableResolvedColumn): MIconName;
|
|
1311
1340
|
protected sortLabel(column: MTableResolvedColumn): string;
|
|
1312
1341
|
protected previousPage(): void;
|
|
1313
1342
|
protected changePageSize(value: unknown): void;
|
|
@@ -1393,7 +1422,7 @@ interface MTabHeaderTemplateContext {
|
|
|
1393
1422
|
declare class MTab {
|
|
1394
1423
|
readonly value: _angular_core.InputSignal<string>;
|
|
1395
1424
|
readonly label: _angular_core.InputSignal<string>;
|
|
1396
|
-
readonly icon: _angular_core.InputSignal<
|
|
1425
|
+
readonly icon: _angular_core.InputSignal<"" | _maliardic_ma_icon.MaiconName>;
|
|
1397
1426
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1398
1427
|
readonly lazy: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1399
1428
|
readonly headerTemplate: _angular_core.Signal<TemplateRef<MTabHeaderTemplateContext> | undefined>;
|
|
@@ -1420,7 +1449,6 @@ declare class MTabs {
|
|
|
1420
1449
|
constructor();
|
|
1421
1450
|
protected tabTrack(tab: MTab): string;
|
|
1422
1451
|
protected isActive(tab: MTab): boolean;
|
|
1423
|
-
protected tabIconClass(tab: MTab): string;
|
|
1424
1452
|
protected headerContext(tab: MTab): MTabHeaderTemplateContext;
|
|
1425
1453
|
protected selectTab(tab: MTab): void;
|
|
1426
1454
|
protected onTabKeydown(event: KeyboardEvent, tab: MTab): void;
|
|
@@ -1469,7 +1497,8 @@ interface MToastOptions {
|
|
|
1469
1497
|
type?: MToastType;
|
|
1470
1498
|
sticky?: boolean;
|
|
1471
1499
|
life?: number;
|
|
1472
|
-
|
|
1500
|
+
/** maicon name. Empty string hides the icon; omitted uses the type default. */
|
|
1501
|
+
icon?: MIconName | "";
|
|
1473
1502
|
closable?: boolean;
|
|
1474
1503
|
styleClass?: string;
|
|
1475
1504
|
}
|
|
@@ -1480,7 +1509,7 @@ interface MToastMessage {
|
|
|
1480
1509
|
type: MToastType;
|
|
1481
1510
|
sticky: boolean;
|
|
1482
1511
|
life: number;
|
|
1483
|
-
icon:
|
|
1512
|
+
icon: MIconName | "";
|
|
1484
1513
|
closable: boolean;
|
|
1485
1514
|
styleClass: string;
|
|
1486
1515
|
closing: boolean;
|
|
@@ -1514,7 +1543,6 @@ declare class MToast {
|
|
|
1514
1543
|
protected readonly messages: _angular_core.Signal<readonly MToastMessage[]>;
|
|
1515
1544
|
protected toastClass(): string;
|
|
1516
1545
|
protected messageClass(message: MToastMessage): string;
|
|
1517
|
-
protected iconClass(message: MToastMessage): string;
|
|
1518
1546
|
protected messageRole(message: MToastMessage): "alert" | "status";
|
|
1519
1547
|
protected remove(id: string): void;
|
|
1520
1548
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MToast, never>;
|
|
@@ -1562,9 +1590,11 @@ declare class MBadgeDirective {
|
|
|
1562
1590
|
declare class MButtonDirective {
|
|
1563
1591
|
private readonly elementRef;
|
|
1564
1592
|
private readonly renderer;
|
|
1593
|
+
private readonly document;
|
|
1565
1594
|
private iconElement;
|
|
1566
1595
|
readonly size: _angular_core.InputSignal<MControlSize>;
|
|
1567
|
-
|
|
1596
|
+
/** maicon name rendered before the content. */
|
|
1597
|
+
readonly icon: _angular_core.InputSignal<"" | _maliardic_ma_icon.MaiconName>;
|
|
1568
1598
|
readonly block: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1569
1599
|
readonly iconOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1570
1600
|
constructor();
|
|
@@ -1662,7 +1692,7 @@ declare function syncMThemeToOverlay(hostEl: HTMLElement, overlayPaneEl: HTMLEle
|
|
|
1662
1692
|
interface MConfirmation {
|
|
1663
1693
|
header?: string;
|
|
1664
1694
|
message: string;
|
|
1665
|
-
icon?:
|
|
1695
|
+
icon?: MIconName;
|
|
1666
1696
|
acceptLabel?: string;
|
|
1667
1697
|
rejectLabel?: string;
|
|
1668
1698
|
acceptVisible?: boolean;
|
|
@@ -1700,5 +1730,5 @@ declare class Confirmation {
|
|
|
1700
1730
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Confirmation, "m-confirmationDialog", never, { "acceptLabel": { "alias": "acceptLabel"; "required": false; "isSignal": true; }; "rejectLabel": { "alias": "rejectLabel"; "required": false; "isSignal": true; }; "acceptButtonStyle": { "alias": "acceptButtonStyle"; "required": false; "isSignal": true; }; "rejectButtonStyle": { "alias": "rejectButtonStyle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1701
1731
|
}
|
|
1702
1732
|
|
|
1703
|
-
export { Confirmation, MAccordion, MAccordionPanel, MBadge, MBadgeDirective, MButton, MButtonDirective, MCheckbox, MCommandMenu, MConfirmationService, MDatePicker, MDialog, MDrawer, MFieldValuePipe, MFileList, MFileUpload, MInput, MInputDirective, MInputNumber, MInputNumberDirective, MListbox, MMenu, MMenuSearch, MMultiSelect, MPopover, MProgressBar, MProgressSpinner, MRadio, MRadioGroup, MSelect, MSwitch, MTab, MTable, MTableColumn, MTabs, MTextarea, MTieredMenu, MToast, MToastService, MTooltipDirective, getFieldValue, noopTouched, provideValueAccessor, resolveFieldDisplayValue, resolveFieldRawValue, syncMThemeToOverlay };
|
|
1704
|
-
export type { MBadgePosition, MBadgeSeverity, MBadgeSize, MCheckboxChangeEvent, MChoiceOption, MChoiceOptionInput, MConfirmation, MControlChangeFn, MControlSize, MControlTouchedFn, MDrawerPosition, MFieldValueFormatter, MFieldValuePipeName, MFieldValueRow, MFieldValueSource, MInputType, MListboxItemContext, MMenuItem, MMultiSelectChangeEvent, MPopoverPosition, MProgressBarMode, MProgressBarSeverity, MProgressBarSize, MProgressSpinnerMode, MProgressSpinnerSeverity, MProgressSpinnerSize, MSelectChangeEvent, MSelectOption, MSelectOptionInput, MSwitchChangeEvent, MTableColumnAlign, MTableColumnDef, MTableColumnState, MTableFilterMatchMode, MTableLazyLoadEvent, MTableRow, MTableSelectionMode, MTableSortDirection, MToastMessage, MToastOptions, MToastPosition, MToastType, MTooltipPosition, MaFieldData, MaFieldType, MaFieldValidations, MaFields };
|
|
1733
|
+
export { Confirmation, MAccordion, MAccordionPanel, MBadge, MBadgeDirective, MButton, MButtonDirective, MCheckbox, MCommandMenu, MConfirmationService, MDatePicker, MDialog, MDrawer, MFieldValuePipe, MFileList, MFileUpload, MIcon, MInput, MInputDirective, MInputNumber, MInputNumberDirective, MListbox, MMenu, MMenuSearch, MMultiSelect, MPopover, MProgressBar, MProgressSpinner, MRadio, MRadioGroup, MSelect, MSwitch, MTab, MTable, MTableColumn, MTabs, MTextarea, MTieredMenu, MToast, MToastService, MTooltipDirective, M_ICON_NAMES, createMIconSvg, getFieldValue, isMIconName, mIconGlyph, noopTouched, provideValueAccessor, resolveFieldDisplayValue, resolveFieldRawValue, syncMThemeToOverlay };
|
|
1734
|
+
export type { MBadgePosition, MBadgeSeverity, MBadgeSize, MCheckboxChangeEvent, MChoiceOption, MChoiceOptionInput, MConfirmation, MControlChangeFn, MControlSize, MControlTouchedFn, MDrawerPosition, MFieldValueFormatter, MFieldValuePipeName, MFieldValueRow, MFieldValueSource, MIconName, MInputType, MListboxItemContext, MMenuItem, MMultiSelectChangeEvent, MPopoverPosition, MProgressBarMode, MProgressBarSeverity, MProgressBarSize, MProgressSpinnerMode, MProgressSpinnerSeverity, MProgressSpinnerSize, MSelectChangeEvent, MSelectOption, MSelectOptionInput, MSwitchChangeEvent, MTableColumnAlign, MTableColumnDef, MTableColumnState, MTableFilterMatchMode, MTableLazyLoadEvent, MTableRow, MTableSelectionMode, MTableSortDirection, MToastMessage, MToastOptions, MToastPosition, MToastType, MTooltipPosition, MaFieldData, MaFieldType, MaFieldValidations, MaFields };
|
package/FONT_AWESOME_LICENSE.txt
DELETED
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
Fonticons, Inc. (https://fontawesome.com)
|
|
2
|
-
|
|
3
|
-
--------------------------------------------------------------------------------
|
|
4
|
-
|
|
5
|
-
Font Awesome Free License
|
|
6
|
-
|
|
7
|
-
Font Awesome Free is free, open source, and GPL friendly. You can use it for
|
|
8
|
-
commercial projects, open source projects, or really almost whatever you want.
|
|
9
|
-
Full Font Awesome Free license: https://fontawesome.com/license/free.
|
|
10
|
-
|
|
11
|
-
--------------------------------------------------------------------------------
|
|
12
|
-
|
|
13
|
-
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
|
|
14
|
-
|
|
15
|
-
The Font Awesome Free download is licensed under a Creative Commons
|
|
16
|
-
Attribution 4.0 International License and applies to all icons packaged
|
|
17
|
-
as SVG and JS file types.
|
|
18
|
-
|
|
19
|
-
--------------------------------------------------------------------------------
|
|
20
|
-
|
|
21
|
-
# Fonts: SIL OFL 1.1 License
|
|
22
|
-
|
|
23
|
-
In the Font Awesome Free download, the SIL OFL license applies to all icons
|
|
24
|
-
packaged as web and desktop font files.
|
|
25
|
-
|
|
26
|
-
Copyright (c) 2024 Fonticons, Inc. (https://fontawesome.com)
|
|
27
|
-
with Reserved Font Name: "Font Awesome".
|
|
28
|
-
|
|
29
|
-
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
30
|
-
This license is copied below, and is also available with a FAQ at:
|
|
31
|
-
http://scripts.sil.org/OFL
|
|
32
|
-
|
|
33
|
-
SIL OPEN FONT LICENSE
|
|
34
|
-
Version 1.1 - 26 February 2007
|
|
35
|
-
|
|
36
|
-
PREAMBLE
|
|
37
|
-
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
38
|
-
development of collaborative font projects, to support the font creation
|
|
39
|
-
efforts of academic and linguistic communities, and to provide a free and
|
|
40
|
-
open framework in which fonts may be shared and improved in partnership
|
|
41
|
-
with others.
|
|
42
|
-
|
|
43
|
-
The OFL allows the licensed fonts to be used, studied, modified and
|
|
44
|
-
redistributed freely as long as they are not sold by themselves. The
|
|
45
|
-
fonts, including any derivative works, can be bundled, embedded,
|
|
46
|
-
redistributed and/or sold with any software provided that any reserved
|
|
47
|
-
names are not used by derivative works. The fonts and derivatives,
|
|
48
|
-
however, cannot be released under any other type of license. The
|
|
49
|
-
requirement for fonts to remain under this license does not apply
|
|
50
|
-
to any document created using the fonts or their derivatives.
|
|
51
|
-
|
|
52
|
-
DEFINITIONS
|
|
53
|
-
"Font Software" refers to the set of files released by the Copyright
|
|
54
|
-
Holder(s) under this license and clearly marked as such. This may
|
|
55
|
-
include source files, build scripts and documentation.
|
|
56
|
-
|
|
57
|
-
"Reserved Font Name" refers to any names specified as such after the
|
|
58
|
-
copyright statement(s).
|
|
59
|
-
|
|
60
|
-
"Original Version" refers to the collection of Font Software components as
|
|
61
|
-
distributed by the Copyright Holder(s).
|
|
62
|
-
|
|
63
|
-
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
64
|
-
or substituting — in part or in whole — any of the components of the
|
|
65
|
-
Original Version, by changing formats or by porting the Font Software to a
|
|
66
|
-
new environment.
|
|
67
|
-
|
|
68
|
-
"Author" refers to any designer, engineer, programmer, technical
|
|
69
|
-
writer or other person who contributed to the Font Software.
|
|
70
|
-
|
|
71
|
-
PERMISSION & CONDITIONS
|
|
72
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
73
|
-
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
74
|
-
redistribute, and sell modified and unmodified copies of the Font
|
|
75
|
-
Software, subject to the following conditions:
|
|
76
|
-
|
|
77
|
-
1) Neither the Font Software nor any of its individual components,
|
|
78
|
-
in Original or Modified Versions, may be sold by itself.
|
|
79
|
-
|
|
80
|
-
2) Original or Modified Versions of the Font Software may be bundled,
|
|
81
|
-
redistributed and/or sold with any software, provided that each copy
|
|
82
|
-
contains the above copyright notice and this license. These can be
|
|
83
|
-
included either as stand-alone text files, human-readable headers or
|
|
84
|
-
in the appropriate machine-readable metadata fields within text or
|
|
85
|
-
binary files as long as those fields can be easily viewed by the user.
|
|
86
|
-
|
|
87
|
-
3) No Modified Version of the Font Software may use the Reserved Font
|
|
88
|
-
Name(s) unless explicit written permission is granted by the corresponding
|
|
89
|
-
Copyright Holder. This restriction only applies to the primary font name as
|
|
90
|
-
presented to the users.
|
|
91
|
-
|
|
92
|
-
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
93
|
-
Software shall not be used to promote, endorse or advertise any
|
|
94
|
-
Modified Version, except to acknowledge the contribution(s) of the
|
|
95
|
-
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
96
|
-
permission.
|
|
97
|
-
|
|
98
|
-
5) The Font Software, modified or unmodified, in part or in whole,
|
|
99
|
-
must be distributed entirely under this license, and must not be
|
|
100
|
-
distributed under any other license. The requirement for fonts to
|
|
101
|
-
remain under this license does not apply to any document created
|
|
102
|
-
using the Font Software.
|
|
103
|
-
|
|
104
|
-
TERMINATION
|
|
105
|
-
This license becomes null and void if any of the above conditions are
|
|
106
|
-
not met.
|
|
107
|
-
|
|
108
|
-
DISCLAIMER
|
|
109
|
-
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
110
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
111
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
112
|
-
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
113
|
-
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
114
|
-
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
115
|
-
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
116
|
-
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
117
|
-
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
118
|
-
|
|
119
|
-
--------------------------------------------------------------------------------
|
|
120
|
-
|
|
121
|
-
# Code: MIT License (https://opensource.org/licenses/MIT)
|
|
122
|
-
|
|
123
|
-
In the Font Awesome Free download, the MIT license applies to all non-font and
|
|
124
|
-
non-icon files.
|
|
125
|
-
|
|
126
|
-
Copyright 2024 Fonticons, Inc.
|
|
127
|
-
|
|
128
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
129
|
-
this software and associated documentation files (the "Software"), to deal in the
|
|
130
|
-
Software without restriction, including without limitation the rights to use, copy,
|
|
131
|
-
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
|
|
132
|
-
and to permit persons to whom the Software is furnished to do so, subject to the
|
|
133
|
-
following conditions:
|
|
134
|
-
|
|
135
|
-
The above copyright notice and this permission notice shall be included in all
|
|
136
|
-
copies or substantial portions of the Software.
|
|
137
|
-
|
|
138
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
|
139
|
-
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
140
|
-
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
141
|
-
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
142
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
143
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
144
|
-
|
|
145
|
-
--------------------------------------------------------------------------------
|
|
146
|
-
|
|
147
|
-
# Attribution
|
|
148
|
-
|
|
149
|
-
Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font
|
|
150
|
-
Awesome Free files already contain embedded comments with sufficient
|
|
151
|
-
attribution, so you shouldn't need to do anything additional when using these
|
|
152
|
-
files normally.
|
|
153
|
-
|
|
154
|
-
We've kept attribution comments terse, so we ask that you do not actively work
|
|
155
|
-
to remove them from files, especially code. They're a great way for folks to
|
|
156
|
-
learn about Font Awesome.
|
|
157
|
-
|
|
158
|
-
--------------------------------------------------------------------------------
|
|
159
|
-
|
|
160
|
-
# Brand Icons
|
|
161
|
-
|
|
162
|
-
All brand icons are trademarks of their respective owners. The use of these
|
|
163
|
-
trademarks does not indicate endorsement of the trademark holder by Font
|
|
164
|
-
Awesome, nor vice versa. **Please do not use brand logos for any purpose except
|
|
165
|
-
to represent the company, product, or service to which they refer.**
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|