@africanies/angular-web-sdk 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/.nx/cache/run.json +25 -25
  2. package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db +0 -0
  3. package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db-shm +0 -0
  4. package/.nx/workspace-data/0091ABA9-5C90-580D-953C-8C94E763ADB5-v3.db-wal +0 -0
  5. package/.nx/workspace-data/d/daemon.log +852 -0
  6. package/.nx/workspace-data/d/server-process.json +2 -2
  7. package/.nx/workspace-data/file-map.json +1355 -1355
  8. package/.nx/workspace-data/nx_files.nxt +0 -0
  9. package/.nx/workspace-data/project-graph.json +2 -2
  10. package/package.json +1 -1
  11. package/.nx/cache/1275815545780424169/dist/libs/africanies-theme/README.md +0 -46
  12. package/.nx/cache/1275815545780424169/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +0 -215
  13. package/.nx/cache/1275815545780424169/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +0 -1
  14. package/.nx/cache/1275815545780424169/dist/libs/africanies-theme/package.json +0 -36
  15. package/.nx/cache/1275815545780424169/dist/libs/africanies-theme/tailwind-preset.cjs +0 -245
  16. package/.nx/cache/1275815545780424169/dist/libs/africanies-theme/types/africanies-africanies-theme.d.ts +0 -157
  17. package/.nx/cache/13524438527920092277/dist/libs/africanies-core/README.md +0 -85
  18. package/.nx/cache/13524438527920092277/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +0 -4546
  19. package/.nx/cache/13524438527920092277/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +0 -1
  20. package/.nx/cache/13524438527920092277/dist/libs/africanies-core/package.json +0 -31
  21. package/.nx/cache/13524438527920092277/dist/libs/africanies-core/types/africanies-africanies-core.d.ts +0 -2740
  22. package/.nx/cache/14153928176747262656/dist/libs/africanies-theme/README.md +0 -46
  23. package/.nx/cache/14153928176747262656/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs +0 -215
  24. package/.nx/cache/14153928176747262656/dist/libs/africanies-theme/fesm2022/africanies-africanies-theme.mjs.map +0 -1
  25. package/.nx/cache/14153928176747262656/dist/libs/africanies-theme/package.json +0 -35
  26. package/.nx/cache/14153928176747262656/dist/libs/africanies-theme/tailwind-preset.cjs +0 -245
  27. package/.nx/cache/14153928176747262656/dist/libs/africanies-theme/types/africanies-africanies-theme.d.ts +0 -157
  28. package/.nx/cache/18132311043100376919/dist/libs/africanies-ui/README.md +0 -68
  29. package/.nx/cache/18132311043100376919/dist/libs/africanies-ui/assets/brand/africanies-logo-mini.png +0 -0
  30. package/.nx/cache/18132311043100376919/dist/libs/africanies-ui/assets/brand/africanies-logo.png +0 -0
  31. package/.nx/cache/18132311043100376919/dist/libs/africanies-ui/assets/brand/africanies-logo.svg +0 -5
  32. package/.nx/cache/18132311043100376919/dist/libs/africanies-ui/assets/carriers/dhl.svg +0 -7
  33. package/.nx/cache/18132311043100376919/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +0 -19088
  34. package/.nx/cache/18132311043100376919/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +0 -1
  35. package/.nx/cache/18132311043100376919/dist/libs/africanies-ui/package.json +0 -35
  36. package/.nx/cache/18132311043100376919/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +0 -5410
  37. package/.nx/cache/2782605790118376385/dist/libs/africanies-icons/README.md +0 -69
  38. package/.nx/cache/2782605790118376385/dist/libs/africanies-icons/assets/icons.sprite.svg +0 -1844
  39. package/.nx/cache/2782605790118376385/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs +0 -832
  40. package/.nx/cache/2782605790118376385/dist/libs/africanies-icons/fesm2022/africanies-africanies-icons.mjs.map +0 -1
  41. package/.nx/cache/2782605790118376385/dist/libs/africanies-icons/package.json +0 -31
  42. package/.nx/cache/2782605790118376385/dist/libs/africanies-icons/types/africanies-africanies-icons.d.ts +0 -108
  43. package/.nx/cache/3064561615116090625/dist/libs/africanies-storage/README.md +0 -31
  44. package/.nx/cache/3064561615116090625/dist/libs/africanies-storage/fesm2022/africanies-africanies-storage.mjs +0 -243
  45. package/.nx/cache/3064561615116090625/dist/libs/africanies-storage/fesm2022/africanies-africanies-storage.mjs.map +0 -1
  46. package/.nx/cache/3064561615116090625/dist/libs/africanies-storage/package.json +0 -27
  47. package/.nx/cache/3064561615116090625/dist/libs/africanies-storage/types/africanies-africanies-storage.d.ts +0 -210
  48. package/.nx/cache/4011892767661954819/dist/libs/africanies-core/README.md +0 -85
  49. package/.nx/cache/4011892767661954819/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs +0 -4546
  50. package/.nx/cache/4011892767661954819/dist/libs/africanies-core/fesm2022/africanies-africanies-core.mjs.map +0 -1
  51. package/.nx/cache/4011892767661954819/dist/libs/africanies-core/package.json +0 -32
  52. package/.nx/cache/4011892767661954819/dist/libs/africanies-core/types/africanies-africanies-core.d.ts +0 -2740
  53. package/.nx/cache/5741611231803799383/dist/libs/africanies-ui/README.md +0 -68
  54. package/.nx/cache/5741611231803799383/dist/libs/africanies-ui/assets/brand/africanies-logo-mini.png +0 -0
  55. package/.nx/cache/5741611231803799383/dist/libs/africanies-ui/assets/brand/africanies-logo.png +0 -0
  56. package/.nx/cache/5741611231803799383/dist/libs/africanies-ui/assets/brand/africanies-logo.svg +0 -5
  57. package/.nx/cache/5741611231803799383/dist/libs/africanies-ui/assets/carriers/dhl.svg +0 -7
  58. package/.nx/cache/5741611231803799383/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs +0 -19088
  59. package/.nx/cache/5741611231803799383/dist/libs/africanies-ui/fesm2022/africanies-africanies-ui.mjs.map +0 -1
  60. package/.nx/cache/5741611231803799383/dist/libs/africanies-ui/package.json +0 -36
  61. package/.nx/cache/5741611231803799383/dist/libs/africanies-ui/types/africanies-africanies-ui.d.ts +0 -5410
  62. package/.nx/cache/6372470950255467653/dist/libs/africanies-models/README.md +0 -60
  63. package/.nx/cache/6372470950255467653/dist/libs/africanies-models/fesm2022/africanies-africanies-models.mjs +0 -599
  64. package/.nx/cache/6372470950255467653/dist/libs/africanies-models/fesm2022/africanies-africanies-models.mjs.map +0 -1
  65. package/.nx/cache/6372470950255467653/dist/libs/africanies-models/package.json +0 -24
  66. package/.nx/cache/6372470950255467653/dist/libs/africanies-models/types/africanies-africanies-models.d.ts +0 -1452
  67. package/.nx/cache/terminalOutputs/11768036696192889608 +0 -8
  68. package/.nx/cache/terminalOutputs/12148417737220755248 +0 -175
  69. package/.nx/cache/terminalOutputs/1227201614544602906 +0 -23
  70. package/.nx/cache/terminalOutputs/12538607787148205787 +0 -19
  71. package/.nx/cache/terminalOutputs/1275815545780424169 +0 -21
  72. package/.nx/cache/terminalOutputs/13524438527920092277 +0 -196
  73. package/.nx/cache/terminalOutputs/14153928176747262656 +0 -45
  74. package/.nx/cache/terminalOutputs/17404566492103808557 +0 -8
  75. package/.nx/cache/terminalOutputs/18132311043100376919 +0 -315
  76. package/.nx/cache/terminalOutputs/2436781291243085315 +0 -8
  77. package/.nx/cache/terminalOutputs/2782605790118376385 +0 -21
  78. package/.nx/cache/terminalOutputs/3064561615116090625 +0 -21
  79. package/.nx/cache/terminalOutputs/3681975492957101833 +0 -8
  80. package/.nx/cache/terminalOutputs/4011892767661954819 +0 -21
  81. package/.nx/cache/terminalOutputs/5741611231803799383 +0 -21
  82. package/.nx/cache/terminalOutputs/6037166070823946880 +0 -8
  83. package/.nx/cache/terminalOutputs/6372470950255467653 +0 -21
  84. package/.nx/cache/terminalOutputs/665190206482526466 +0 -175
  85. package/.nx/cache/terminalOutputs/7756595539965457927 +0 -23
  86. package/.nx/cache/terminalOutputs/9200013119269230075 +0 -8
@@ -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 |