@africanies/angular-web-sdk 0.1.10 → 0.1.12
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/.nx/cache/{14995846848874973576 → 14892813664845064572}/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +1634 -1016
- package/.nx/cache/14892813664845064572/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -0
- package/.nx/cache/{14995846848874973576 → 14892813664845064572}/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +261 -137
- package/.nx/cache/{14876618240301288353 → 7821397806208783174}/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +2641 -1011
- package/.nx/cache/7821397806208783174/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -0
- package/.nx/cache/{14876618240301288353 → 7821397806208783174}/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +460 -147
- package/.nx/cache/run.json +16 -16
- package/.nx/cache/terminalOutputs/{14876618240301288353 → 14892813664845064572} +2 -2
- package/.nx/cache/terminalOutputs/16208231681037145050 +85 -0
- package/.nx/cache/terminalOutputs/{1446890025183346611 → 17909810599991457481} +15 -7
- package/.nx/cache/terminalOutputs/{7978448102466861029 → 2927637324428060203} +41 -31
- package/.nx/cache/terminalOutputs/{17394769338046050914 → 4787481949164239892} +2 -2
- package/.nx/cache/terminalOutputs/{14995846848874973576 → 7821397806208783174} +2 -2
- package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db +0 -0
- package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db-shm +0 -0
- package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db-wal +0 -0
- package/.nx/workspace-data/d/daemon.log +3694 -0
- package/.nx/workspace-data/d/server-process.json +2 -2
- package/.nx/workspace-data/file-map.json +1508 -1478
- package/.nx/workspace-data/nx_files.nxt +0 -0
- package/.nx/workspace-data/project-graph.json +2 -2
- package/README.md +0 -17
- package/apps/playground/src/app/pages/forms-page.ts +70 -14
- package/apps/playground/src/app/snippets/forms.snippets.ts +41 -6
- package/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +1149 -142
- package/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +1 -1
- package/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +205 -18
- package/libs/africanies-ui/src/index.ts +18 -0
- package/libs/africanies-ui/src/lib/forms/index.ts +20 -0
- package/libs/africanies-ui/src/lib/forms/phone-input/index.ts +21 -0
- package/libs/africanies-ui/src/lib/forms/phone-input/phone-codes.ts +264 -0
- package/libs/africanies-ui/src/lib/forms/phone-input/phone-input.component.ts +477 -0
- package/libs/africanies-ui/src/lib/forms/phone-input/phone-input.types.ts +35 -0
- package/libs/africanies-ui/src/lib/forms/phone-input/phone-input.utils.spec.ts +81 -0
- package/libs/africanies-ui/src/lib/forms/phone-input/phone-input.utils.ts +275 -0
- package/libs/africanies-ui/src/lib/modules/africanies-forms.module.ts +2 -0
- package/libs/africanies-ui/src/lib/navigation/segment/segment.component.ts +2 -1
- package/libs/africanies-ui/src/lib/navigation/shipping-mode-switch/shipping-mode-switch.component.spec.ts +15 -0
- package/libs/africanies-ui/src/lib/navigation/shipping-mode-switch/shipping-mode-switch.component.ts +6 -3
- package/libs/africanies-ui/src/lib/table/table.component.ts +70 -65
- package/package.json +1 -1
- package/.nx/cache/13466509747676776487/dist/libs/africanies-core/README.md +0 -85
- package/.nx/cache/13466509747676776487/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +0 -4634
- package/.nx/cache/13466509747676776487/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +0 -1
- package/.nx/cache/13466509747676776487/dist/libs/africanies-core/package.json +0 -31
- package/.nx/cache/13466509747676776487/dist/libs/africanies-core/types/africanies-africanies-core.d.ts +0 -2743
- package/.nx/cache/14416694322692463866/dist/libs/africanies-models/README.md +0 -60
- package/.nx/cache/14416694322692463866/dist/libs/africanies-models/fesm2022/africanies-africanies-models.mjs +0 -599
- package/.nx/cache/14416694322692463866/dist/libs/africanies-models/fesm2022/africanies-africanies-models.mjs.map +0 -1
- package/.nx/cache/14416694322692463866/dist/libs/africanies-models/package.json +0 -23
- package/.nx/cache/14416694322692463866/dist/libs/africanies-models/types/africanies-africanies-models.d.ts +0 -1452
- package/.nx/cache/14876618240301288353/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +0 -1
- package/.nx/cache/14995846848874973576/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +0 -1
- package/.nx/cache/17626862048742598274/dist/libs/africanies-theme/README.md +0 -46
- package/.nx/cache/17626862048742598274/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +0 -221
- package/.nx/cache/17626862048742598274/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +0 -1
- package/.nx/cache/17626862048742598274/dist/libs/africanies-theme/package.json +0 -35
- package/.nx/cache/17626862048742598274/dist/libs/africanies-theme/tailwind-preset.cjs +0 -253
- package/.nx/cache/17626862048742598274/dist/libs/africanies-theme/types/africanies-africanies-theme.d.ts +0 -166
- package/.nx/cache/6664915487114632770/dist/libs/africanies-icons/README.md +0 -69
- package/.nx/cache/6664915487114632770/dist/libs/africanies-icons/assets/icons.sprite.svg +0 -1844
- package/.nx/cache/6664915487114632770/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs +0 -832
- package/.nx/cache/6664915487114632770/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs.map +0 -1
- package/.nx/cache/6664915487114632770/dist/libs/africanies-icons/package.json +0 -30
- package/.nx/cache/6664915487114632770/dist/libs/africanies-icons/types/africanies-africanies-icons.d.ts +0 -108
- package/.nx/cache/6673686859704879504/dist/libs/africanies-theme/README.md +0 -46
- package/.nx/cache/6673686859704879504/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +0 -231
- package/.nx/cache/6673686859704879504/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +0 -1
- package/.nx/cache/6673686859704879504/dist/libs/africanies-theme/package.json +0 -35
- package/.nx/cache/6673686859704879504/dist/libs/africanies-theme/tailwind-preset.cjs +0 -262
- package/.nx/cache/6673686859704879504/dist/libs/africanies-theme/types/africanies-africanies-theme.d.ts +0 -174
- package/.nx/cache/9040451482998546630/dist/libs/africanies-core/README.md +0 -85
- package/.nx/cache/9040451482998546630/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +0 -4511
- package/.nx/cache/9040451482998546630/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +0 -1
- package/.nx/cache/9040451482998546630/dist/libs/africanies-core/package.json +0 -31
- package/.nx/cache/9040451482998546630/dist/libs/africanies-core/types/africanies-africanies-core.d.ts +0 -2741
- package/.nx/cache/terminalOutputs/13466509747676776487 +0 -21
- package/.nx/cache/terminalOutputs/13555699813138069787 +0 -6
- package/.nx/cache/terminalOutputs/14061940909886036014 +0 -173
- package/.nx/cache/terminalOutputs/14416694322692463866 +0 -108
- package/.nx/cache/terminalOutputs/17626862048742598274 +0 -21
- package/.nx/cache/terminalOutputs/6337357866566791975 +0 -6
- package/.nx/cache/terminalOutputs/6664915487114632770 +0 -44
- package/.nx/cache/terminalOutputs/6673686859704879504 +0 -21
- package/.nx/cache/terminalOutputs/783228502946611950 +0 -19
- package/.nx/cache/terminalOutputs/9040451482998546630 +0 -21
- /package/.nx/cache/{14876618240301288353 → 14892813664845064572}/dist/libs/africanies-ui/README.md +0 -0
- /package/.nx/cache/{14876618240301288353 → 14892813664845064572}/dist/libs/africanies-ui/assets/brand/africanies-logo-mini.png +0 -0
- /package/.nx/cache/{14876618240301288353 → 14892813664845064572}/dist/libs/africanies-ui/assets/brand/africanies-logo.png +0 -0
- /package/.nx/cache/{14876618240301288353 → 14892813664845064572}/dist/libs/africanies-ui/assets/brand/africanies-logo.svg +0 -0
- /package/.nx/cache/{14876618240301288353 → 14892813664845064572}/dist/libs/africanies-ui/assets/carriers/dhl.svg +0 -0
- /package/.nx/cache/{14876618240301288353 → 14892813664845064572}/dist/libs/africanies-ui/package.json +0 -0
- /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/README.md +0 -0
- /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/assets/brand/africanies-logo-mini.png +0 -0
- /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/assets/brand/africanies-logo.png +0 -0
- /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/assets/brand/africanies-logo.svg +0 -0
- /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/assets/carriers/dhl.svg +0 -0
- /package/.nx/cache/{14995846848874973576 → 7821397806208783174}/dist/libs/africanies-ui/package.json +0 -0
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Tailwind safelist side-effect for shipping-mode color utilities.
|
|
5
|
-
*
|
|
6
|
-
* WHY this file exists: JIT/content scanning only keeps class names that appear
|
|
7
|
-
* as *literal strings* in scanned sources. {@link ModeColorService} already
|
|
8
|
-
* returns these literals, but keeping a dedicated comment list makes the
|
|
9
|
-
* contract obvious for consumers who configure `safelist` or purge plugins.
|
|
10
|
-
*
|
|
11
|
-
* Do not rename these strings without updating ModeColorService and THEME.md.
|
|
12
|
-
*
|
|
13
|
-
* SFN (export / green):
|
|
14
|
-
* text-export bg-export bg-export-subtle bg-export-light border-export
|
|
15
|
-
* hover:bg-export-light hover:bg-export-subtle dark:bg-export/15 dark:hover:bg-export/15
|
|
16
|
-
* dark:bg-[color-mix(in_srgb,#1cbd5d_15%,#212529)]
|
|
17
|
-
*
|
|
18
|
-
* STN (import / orange):
|
|
19
|
-
* text-import bg-import bg-import-subtle bg-import-light border-import
|
|
20
|
-
* hover:bg-import-light hover:bg-import-subtle dark:bg-import/15 dark:hover:bg-import/15
|
|
21
|
-
* dark:bg-[color-mix(in_srgb,#f08829_15%,#212529)]
|
|
22
|
-
*/
|
|
23
|
-
declare const MODE_COLOR_SAFELIST: readonly ["text-export", "bg-export", "bg-export-subtle", "bg-export-light", "border-export", "hover:bg-export-light", "hover:bg-export-subtle", "dark:bg-export/15", "dark:hover:bg-export/15", "dark:bg-[color-mix(in_srgb,#1cbd5d_15%,#212529)]", "text-import", "bg-import", "bg-import-subtle", "bg-import-light", "border-import", "hover:bg-import-light", "hover:bg-import-subtle", "dark:bg-import/15", "dark:hover:bg-import/15", "dark:bg-[color-mix(in_srgb,#f08829_15%,#212529)]"];
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Tailwind class bundle for the active shipping mode (SFN export / STN import).
|
|
27
|
-
*
|
|
28
|
-
* Use these for **primary** product chrome: CTAs, selected controls, progress,
|
|
29
|
-
* and accent text. Semantic colors (danger / warning) stay mode-independent.
|
|
30
|
-
*/
|
|
31
|
-
interface ModeColorClasses {
|
|
32
|
-
/** Text color utility, e.g. `text-export`. */
|
|
33
|
-
text: string;
|
|
34
|
-
/** Solid background utility, e.g. `bg-export`. */
|
|
35
|
-
bg: string;
|
|
36
|
-
/** Soft background utility, e.g. `bg-export-subtle`. */
|
|
37
|
-
bgSubtle: string;
|
|
38
|
-
/** Border matching the mode accent, e.g. `border-export`. */
|
|
39
|
-
border: string;
|
|
40
|
-
/**
|
|
41
|
-
* Filled primary CTA — `variant="primary"` on buttons.
|
|
42
|
-
* Includes hover utility as a literal so Tailwind keeps it.
|
|
43
|
-
*/
|
|
44
|
-
primary: string;
|
|
45
|
-
/**
|
|
46
|
-
* Transparent / text-only CTA — `variant="ghost-primary"` on buttons.
|
|
47
|
-
* Mode accent text + soft hover fill.
|
|
48
|
-
*/
|
|
49
|
-
ghostPrimary: string;
|
|
50
|
-
/**
|
|
51
|
-
* Soft highlight for selected / active rows (works in dark mode).
|
|
52
|
-
* Dark uses a translucent tint — fine over solid surfaces, not for
|
|
53
|
-
* sticky overlays (see {@link softSolid}).
|
|
54
|
-
*/
|
|
55
|
-
soft: string;
|
|
56
|
-
/**
|
|
57
|
-
* Opaque soft fill — same tint as {@link soft}, but dark mode mixes into
|
|
58
|
-
* ink so scrolled content cannot show through (sticky table headers/cells).
|
|
59
|
-
*/
|
|
60
|
-
softSolid: string;
|
|
61
|
-
/**
|
|
62
|
-
* Soft hover highlight for menus and lists.
|
|
63
|
-
*/
|
|
64
|
-
softHover: string;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Maps {@link ShippingModeService} to mode-accent Tailwind classes.
|
|
68
|
-
*
|
|
69
|
-
* - **SFN** → export green is primary
|
|
70
|
-
* - **STN** → import orange is primary
|
|
71
|
-
*
|
|
72
|
-
* WHY literal class strings: Tailwind's scanner cannot see dynamically built
|
|
73
|
-
* names like `` `text-${token}` ``. Returning full literals (`text-export`, …)
|
|
74
|
-
* keeps utilities in the compiled CSS. See {@link MODE_COLOR_SAFELIST}.
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* ```html
|
|
78
|
-
* @let colors = modeColor.classes();
|
|
79
|
-
* <button type="button" [class]="colors.primary">Save</button>
|
|
80
|
-
* <span [class]="colors.text">Mode accent</span>
|
|
81
|
-
* ```
|
|
82
|
-
*/
|
|
83
|
-
declare class ModeColorService {
|
|
84
|
-
private readonly shippingMode;
|
|
85
|
-
/**
|
|
86
|
-
* Mode-dependent utility classes. Recomputes when shipping mode changes.
|
|
87
|
-
*/
|
|
88
|
-
readonly classes: i0.Signal<ModeColorClasses>;
|
|
89
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModeColorService, never>;
|
|
90
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ModeColorService>;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Supported UI color schemes for {@link ThemeService}.
|
|
95
|
-
*
|
|
96
|
-
* Kept as a closed string union so storage values and DOM class toggles stay
|
|
97
|
-
* aligned — unknown persisted strings are ignored and fall back to system
|
|
98
|
-
* preference / light.
|
|
99
|
-
*/
|
|
100
|
-
type Theme = 'light' | 'dark';
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Application light/dark theme preference.
|
|
104
|
-
*
|
|
105
|
-
* WHY signals (not BehaviorSubject): theme is synchronous UI state read from
|
|
106
|
-
* templates and other services; a signal avoids RxJS subscription boilerplate
|
|
107
|
-
* and matches Angular 22 change detection. Persistence goes through
|
|
108
|
-
* {@link STORAGE_TOKEN} so tests can swap storage without touching `localStorage`.
|
|
109
|
-
*
|
|
110
|
-
* Applies the Tailwind `darkMode: 'class'` contract by toggling `dark` on
|
|
111
|
-
* `document.documentElement`, and sets `color-scheme` so native UI (date
|
|
112
|
-
* pickers, scrollbars, form controls) matches the app theme — class-based
|
|
113
|
-
* dark mode alone does not restyle browser chrome.
|
|
114
|
-
*
|
|
115
|
-
* @example
|
|
116
|
-
* ```ts
|
|
117
|
-
* // app.config.ts
|
|
118
|
-
* import { inject, provideAppInitializer } from '@angular/core';
|
|
119
|
-
* import { ThemeService } from '@africanies/africanies-theme';
|
|
120
|
-
*
|
|
121
|
-
* export const appConfig = {
|
|
122
|
-
* providers: [
|
|
123
|
-
* provideAppInitializer(() => {
|
|
124
|
-
* inject(ThemeService); // applies stored / system theme once
|
|
125
|
-
* }),
|
|
126
|
-
* ],
|
|
127
|
-
* };
|
|
128
|
-
*
|
|
129
|
-
* // In a component
|
|
130
|
-
* const theme = inject(ThemeService);
|
|
131
|
-
* theme.toggle();
|
|
132
|
-
* theme.setTheme('dark');
|
|
133
|
-
* const current = theme.theme(); // 'light' | 'dark'
|
|
134
|
-
* ```
|
|
135
|
-
*/
|
|
136
|
-
declare class ThemeService {
|
|
137
|
-
private readonly storage;
|
|
138
|
-
private readonly document;
|
|
139
|
-
/**
|
|
140
|
-
* Current theme. Prefer reading via `theme()` in templates / computed values
|
|
141
|
-
* rather than caching the string, so dark-class consumers stay in sync.
|
|
142
|
-
*/
|
|
143
|
-
readonly theme: i0.WritableSignal<Theme>;
|
|
144
|
-
constructor();
|
|
145
|
-
/**
|
|
146
|
-
* Sets and persists the theme, updating the `dark` class and `color-scheme`
|
|
147
|
-
* on `<html>`.
|
|
148
|
-
*
|
|
149
|
-
* @param theme - Absolute preference to store.
|
|
150
|
-
*/
|
|
151
|
-
setTheme(theme: Theme): void;
|
|
152
|
-
/**
|
|
153
|
-
* Flips between light and dark.
|
|
154
|
-
*
|
|
155
|
-
* @returns The theme after the toggle.
|
|
156
|
-
*/
|
|
157
|
-
toggle(): Theme;
|
|
158
|
-
private resolveInitialTheme;
|
|
159
|
-
private prefersDark;
|
|
160
|
-
private applyToDocument;
|
|
161
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
|
|
162
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
export { MODE_COLOR_SAFELIST, ModeColorService, ThemeService };
|
|
166
|
-
export type { ModeColorClasses, Theme };
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# @africanies/africanies-icons
|
|
2
|
-
|
|
3
|
-
Typed SVG icon system for AFRICANIES apps. Icons ship as a **single sprite** plus an
|
|
4
|
-
`IconName` union — not one Angular component per glyph.
|
|
5
|
-
|
|
6
|
-
## Why a sprite?
|
|
7
|
-
|
|
8
|
-
There are 600–1000+ icons in `/svg`. Generating a component (or HTTP request)
|
|
9
|
-
per file would hurt bundle size, compile time, and runtime waterfalls. The build
|
|
10
|
-
script packs every SVG into `icons.sprite.svg`; `IconRegistryService` fetches
|
|
11
|
-
that file **once** and inlines it into the DOM so `<africanies-icon>` can use
|
|
12
|
-
`<use href="#name">`.
|
|
13
|
-
|
|
14
|
-
## Usage
|
|
15
|
-
|
|
16
|
-
```ts
|
|
17
|
-
import { AfricaniesIconComponent, AFRICANIES_ICON_SPRITE_URL } from '@africanies/africanies-icons';
|
|
18
|
-
|
|
19
|
-
// Provide the URL where you serve the published sprite asset:
|
|
20
|
-
providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: AFRICANIES_ICON_SPRITE_URL,
|
|
23
|
-
useValue: '/assets/africanies-icons/icons.sprite.svg',
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
```html
|
|
29
|
-
<africanies-icon name="truck" />
|
|
30
|
-
<africanies-icon name="search" [size]="32" />
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Serving the sprite
|
|
34
|
-
|
|
35
|
-
After installing `@africanies/africanies-icons`, copy (or angular.json `assets` map) the
|
|
36
|
-
published file:
|
|
37
|
-
|
|
38
|
-
`node_modules/@africanies/africanies-icons/assets/icons.sprite.svg`
|
|
39
|
-
→ `src/assets/africanies-icons/icons.sprite.svg`
|
|
40
|
-
|
|
41
|
-
Then point {@link AFRICANIES_ICON_SPRITE_URL} at `/assets/africanies-icons/icons.sprite.svg`
|
|
42
|
-
(the package default). Use a leading `/` so the sprite loads on nested routes.
|
|
43
|
-
|
|
44
|
-
## Adding a new icon
|
|
45
|
-
|
|
46
|
-
1. Drop a new `.svg` into the monorepo `/svg` folder (kebab-case filename;
|
|
47
|
-
spaces are normalized to hyphens).
|
|
48
|
-
2. From the repo root run:
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
npm run icons:build
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
3. Commit the regenerated files:
|
|
55
|
-
- `libs/africanies-icons/src/assets/icons.sprite.svg`
|
|
56
|
-
- `libs/africanies-icons/src/lib/icon-name.ts` (`ICON_NAMES` + `IconName`)
|
|
57
|
-
|
|
58
|
-
The new name appears in `ICON_NAMES` / `IconName` for autocomplete, type-checking,
|
|
59
|
-
and the playground gallery.
|
|
60
|
-
|
|
61
|
-
## Public API
|
|
62
|
-
|
|
63
|
-
| Export | Role |
|
|
64
|
-
| --- | --- |
|
|
65
|
-
| `ICON_NAMES` | Generated `as const` array of every icon id (for galleries / iteration) |
|
|
66
|
-
| `IconName` | `typeof ICON_NAMES[number]` — closed union for typed `name` inputs |
|
|
67
|
-
| `AfricaniesIconComponent` | `<africanies-icon name="…">` |
|
|
68
|
-
| `IconRegistryService` | Fetches/inlines the sprite once |
|
|
69
|
-
| `AFRICANIES_ICON_SPRITE_URL` | InjectionToken for the sprite URL |
|