@4sh/ui-kit 0.6.0 → 0.7.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.
Files changed (127) hide show
  1. package/README.fr.md +46 -22
  2. package/README.md +45 -23
  3. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
  4. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +2 -2
  5. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
  6. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
  7. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +439 -0
  8. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs.map +1 -0
  9. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
  10. package/fesm2022/4sh-ui-kit-base-ui-image.mjs +111 -10
  11. package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
  12. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +10 -4
  13. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
  14. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
  15. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +457 -75
  16. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
  17. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +1107 -0
  18. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -0
  19. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +30 -3
  20. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
  21. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
  22. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
  23. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +8 -2
  24. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
  25. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +15 -2
  26. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
  27. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
  28. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +8 -4
  29. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
  30. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +40 -4
  31. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
  32. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +2 -2
  33. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -1
  34. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
  35. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
  36. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
  37. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
  38. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +5 -2
  39. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
  40. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
  41. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +317 -0
  42. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -0
  43. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +8 -2
  44. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
  45. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +372 -0
  46. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -0
  47. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
  48. package/fesm2022/4sh-ui-kit-forms.mjs +44 -14
  49. package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
  50. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
  51. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
  52. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs.map +1 -1
  53. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -1
  54. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +2 -2
  55. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
  56. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +2 -2
  57. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
  58. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -1
  59. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -1
  60. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
  61. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
  62. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -1
  63. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs.map +1 -1
  64. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
  65. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +2 -2
  66. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
  67. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
  68. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +2 -2
  69. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
  70. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -1
  71. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
  72. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +45 -4
  73. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
  74. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
  75. package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
  76. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +2 -2
  77. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
  78. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
  79. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
  80. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
  81. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +22 -10
  82. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
  83. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +15 -4
  84. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
  85. package/fesm2022/4sh-ui-kit-overlay.mjs.map +1 -1
  86. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
  87. package/fesm2022/4sh-ui-kit-table-ui-table.mjs +2 -2
  88. package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
  89. package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
  90. package/fesm2022/4sh-ui-kit.mjs.map +1 -1
  91. package/mcp/data/text-search-docs.json +712 -92
  92. package/mcp/data/ui-config.json +5908 -3732
  93. package/mcp/index.js +682 -410
  94. package/mcp/package.json +1 -1
  95. package/package.json +17 -1
  96. package/schematics/index.cjs +1 -1
  97. package/styles/component-vars.scss +119 -2
  98. package/styles/generated/_tokens-breakpoint.scss +1 -1
  99. package/styles/generated/_tokens-metrics.scss +1 -1
  100. package/styles/generated/_tokens-primitives.scss +1 -1
  101. package/styles/generated/_tokens-responsive.scss +17 -17
  102. package/styles/generated/_tokens-semantics.scss +15 -15
  103. package/styles/generated/_tokens-styles.scss +1 -1
  104. package/styles/generated/_tokens-transitions.scss +1 -1
  105. package/styles/generated/_tokens-typography.scss +1 -1
  106. package/styles/generated/_tokens.scss +1 -1
  107. package/styles/utils/_helpers.scss +15 -0
  108. package/styles/utils/_mixins.scss +17 -1
  109. package/styles.css +1 -1
  110. package/types/4sh-ui-kit-actions-ui-speed-dial.d.ts +234 -0
  111. package/types/4sh-ui-kit-base-ui-image.d.ts +16 -3
  112. package/types/4sh-ui-kit-forms-ui-autocomplete.d.ts +4 -1
  113. package/types/4sh-ui-kit-forms-ui-datepicker.d.ts +186 -36
  114. package/types/4sh-ui-kit-forms-ui-editor.d.ts +481 -0
  115. package/types/4sh-ui-kit-forms-ui-field.d.ts +20 -2
  116. package/types/4sh-ui-kit-forms-ui-input-mask.d.ts +4 -0
  117. package/types/4sh-ui-kit-forms-ui-input-number.d.ts +9 -0
  118. package/types/4sh-ui-kit-forms-ui-input-tags.d.ts +4 -1
  119. package/types/4sh-ui-kit-forms-ui-input.d.ts +28 -2
  120. package/types/4sh-ui-kit-forms-ui-select.d.ts +2 -0
  121. package/types/4sh-ui-kit-forms-ui-swatch-picker.d.ts +126 -0
  122. package/types/4sh-ui-kit-forms-ui-textarea.d.ts +4 -0
  123. package/types/4sh-ui-kit-forms-ui-toggle-button.d.ts +220 -0
  124. package/types/4sh-ui-kit-forms.d.ts +34 -7
  125. package/types/4sh-ui-kit-layout-ui-modal.d.ts +7 -0
  126. package/types/4sh-ui-kit-navigation-ui-stepper.d.ts +8 -3
  127. package/types/4sh-ui-kit-navigation-ui-tabs.d.ts +14 -3
package/README.fr.md CHANGED
@@ -14,15 +14,15 @@ natif (signals + Angular CDK), style piloté par les design tokens.
14
14
 
15
15
  À choisir **avant** d'installer : la décision conditionne toute la suite.
16
16
 
17
- | | **dépendance** | **starter** |
18
- | ------------------------------ | ---------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
19
- | Installation | `npm install @4sh/ui-kit` | `ng add @4sh/ui-kit-schematics` |
20
- | Ce qui arrive dans votre dépôt | rien — les composants compilés restent dans `node_modules` | les _sources_ des composants, dans `src/app/shared/` |
21
- | Imports | `@4sh/ui-kit/actions/ui-button` | votre propre chemin (`./shared/components/ui/actions/ui-button`) |
22
- | Styles | `node_modules/@4sh/ui-kit/styles.css`, chargée globalement | copiés dans `src/styles/`, avec la chaîne de génération des tokens (`npm run tokens:build`) |
23
- | Documentation | le Storybook lié ci-dessus | la vôtre, sur vos copies (posée par `ng add`) |
24
- | Personnalisation | inputs + variables CSS | modifier le code lui-même |
25
- | Mise à jour | bump de version | `ng generate @4sh/ui-kit-schematics:update` — diff par composant, appliquer ou ignorer |
17
+ | | **dépendance** | **starter** |
18
+ | ------------------------------ | ---------------------------------------------------------- | -------------------------------------------------------------------------------------- |
19
+ | Installation | `pnpm add @4sh/ui-kit` | `ng add @4sh/ui-kit-schematics` |
20
+ | Ce qui arrive dans votre dépôt | rien — les composants compilés restent dans `node_modules` | les _sources_ des composants, dans `src/app/shared/` |
21
+ | Imports | `@4sh/ui-kit/actions/ui-button` | votre propre chemin (`./shared/components/ui/actions/ui-button`) |
22
+ | Styles | `node_modules/@4sh/ui-kit/styles.css`, chargée globalement | copiés dans `src/styles/`, avec la chaîne de génération des tokens (`tokens:build`) |
23
+ | Documentation | le Storybook lié ci-dessus | la vôtre, sur vos copies (posée par `ng add`) |
24
+ | Personnalisation | inputs + variables CSS | modifier le code lui-même |
25
+ | Mise à jour | bump de version | `ng generate @4sh/ui-kit-schematics:update` — diff par composant, appliquer ou ignorer |
26
26
 
27
27
  **dépendance** est le mode par défaut : rien à maintenir, une seule version à
28
28
  suivre, et la garantie que tous les projets affichent le même kit. **starter** —
@@ -39,9 +39,16 @@ mode `dépendance`** ; la voie starter a son propre package et son propre README
39
39
  ## Installation
40
40
 
41
41
  ```bash
42
- npm install @4sh/ui-kit
42
+ pnpm add @4sh/ui-kit
43
43
  ```
44
44
 
45
+ N'importe quel gestionnaire fonctionne : le package est un tarball npm standard,
46
+ avec des `peerDependencies` classiques. `pnpm` est celui que le Design System
47
+ utilise et recommande (sa résolution stricte fait échouer un peer manquant au
48
+ lieu de le masquer, et ses réglages de chaîne de dépendances mettent en
49
+ quarantaine les versions fraîchement publiées) ; `npm install @4sh/ui-kit` ou
50
+ `yarn add @4sh/ui-kit` installent exactement la même chose.
51
+
45
52
  Publié sur le **registre npm public**, organisation **`4sh`** :
46
53
  [npmjs.com/package/@4sh/ui-kit](https://www.npmjs.com/package/@4sh/ui-kit)
47
54
 
@@ -94,7 +101,7 @@ voie n'a pas de hook à l'installation — ajoutez-le vous-même, une fois, dans
94
101
  }
95
102
  ```
96
103
 
97
- `npm install` pose `ui-kit-mcp` dans le `node_modules/.bin/` du projet : cette forme
104
+ L'installation pose `ui-kit-mcp` dans le `node_modules/.bin/` du projet : cette forme
98
105
  se résout donc quel que soit le dossier depuis lequel votre client MCP lance le
99
106
  serveur — un `node node_modules/@4sh/ui-kit/mcp/index.js` en dur est relatif au
100
107
  répertoire courant et casse dès que ce n'est pas la racine du projet. Gardez
@@ -177,22 +184,22 @@ import { UiIcon } from '@4sh/ui-kit/base/ui-icon';
177
184
 
178
185
  ### Entry points disponibles
179
186
 
180
- **53 entry points**, chacun nommé `@4sh/ui-kit/<famille>/<composant>` — la
187
+ **57 entry points**, chacun nommé `@4sh/ui-kit/<famille>/<composant>` — la
181
188
  famille ci-dessous est littéralement le segment de chemin, en minuscules :
182
189
  `@4sh/ui-kit/actions/ui-button`, `@4sh/ui-kit/forms/ui-select`,
183
190
  `@4sh/ui-kit/forms/ui-datepicker`…
184
- (54 composants au total — `ui-file-upload-list` est livré dans
191
+ (58 composants au total — `ui-file-upload-list` est livré dans
185
192
  `ui-file-upload`, dont il consomme le modèle.)
186
193
 
187
- | Famille | Entry points |
188
- | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
189
- | Actions | `ui-button` · `ui-button-split` · `ui-link` |
190
- | Formulaires | `ui-input` · `ui-textarea` · `ui-select` · `ui-autocomplete` · `ui-datepicker` · `ui-checkbox` · `ui-radio` · `ui-toggle` · `ui-slider` · `ui-nudger` · `ui-rating` · `ui-segment-control` · `ui-input-number` · `ui-input-mask` · `ui-input-otp` · `ui-input-tags` · `ui-input-group` · `ui-file-upload` · `ui-field` · `ui-label` |
191
- | Informatif | `ui-alert` · `ui-toast` · `ui-badge` · `ui-chip` · `ui-tag` · `ui-avatar` · `ui-avatar-group` · `ui-accordion` · `ui-tooltip` · `ui-spinner` · `ui-skeleton` · `ui-progress-bar` · `ui-empty-state` · `ui-read-only` · `ui-separator` · `ui-helper` |
192
- | Mise en page | `ui-card` · `ui-modal` · `ui-drawer` · `ui-popover` |
193
- | Navigation | `ui-menu` · `ui-context-menu` · `ui-tabs` · `ui-stepper` · `ui-sidebar` · `ui-breadcrumb` |
194
- | Tableau | `ui-table` · `ui-paginator` |
195
- | Base | `ui-icon` · `ui-image` |
194
+ | Famille | Entry points |
195
+ | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
196
+ | Actions | `ui-button` · `ui-button-split` · `ui-link` · `ui-speed-dial` |
197
+ | Formulaires | `ui-input` · `ui-textarea` · `ui-editor` · `ui-select` · `ui-autocomplete` · `ui-datepicker` · `ui-checkbox` · `ui-radio` · `ui-toggle` · `ui-toggle-button` · `ui-slider` · `ui-nudger` · `ui-rating` · `ui-segment-control` · `ui-input-number` · `ui-input-mask` · `ui-input-otp` · `ui-input-tags` · `ui-input-group` · `ui-file-upload` · `ui-field` · `ui-label` · `ui-swatch-picker` |
198
+ | Informatif | `ui-alert` · `ui-toast` · `ui-badge` · `ui-chip` · `ui-tag` · `ui-avatar` · `ui-avatar-group` · `ui-accordion` · `ui-tooltip` · `ui-spinner` · `ui-skeleton` · `ui-progress-bar` · `ui-empty-state` · `ui-read-only` · `ui-separator` · `ui-helper` |
199
+ | Mise en page | `ui-card` · `ui-modal` · `ui-drawer` · `ui-popover` |
200
+ | Navigation | `ui-menu` · `ui-context-menu` · `ui-tabs` · `ui-stepper` · `ui-sidebar` · `ui-breadcrumb` |
201
+ | Tableau | `ui-table` · `ui-paginator` |
202
+ | Base | `ui-icon` · `ui-image` |
196
203
 
197
204
  Plus les entry points transverses :
198
205
 
@@ -308,6 +315,23 @@ Pour changer une valeur, trois niveaux, du plus large au plus étroit :
308
315
  Référence complète (chaque variable, son rôle, sa valeur mesurée) : Storybook →
309
316
  _Spécifications → Thème & Système de Tokens_.
310
317
 
318
+ ### Motion, et sa désactivation
319
+
320
+ Chaque transition et animation du kit est pilotée par les tokens `--transition-*`
321
+ et les presets `UiMotion` — aucun composant ne code une durée en dur. Désactiver
322
+ le motion est donc un seul interrupteur global, pas un réglage par composant :
323
+
324
+ ```html
325
+ <html data-motion="off"></html>
326
+ ```
327
+
328
+ Ça neutralise d'un coup toutes les animations et transitions du kit — la même
329
+ réinitialisation déjà appliquée automatiquement quand la préférence système
330
+ `prefers-reduced-motion: reduce` est active. Il existe aussi un opt-out par
331
+ élément (`[motionDisabled]` sur la directive `UiMotion`, depuis
332
+ `@4sh/ui-kit/motion`). Référence complète, presets d'animation compris :
333
+ Storybook → **Foundations → Motion**.
334
+
311
335
  ---
312
336
 
313
337
  ## `@4sh/ui-kit/forms` — socle des champs
package/README.md CHANGED
@@ -14,15 +14,15 @@ built in natively (signals + Angular CDK), styling driven by design tokens.
14
14
 
15
15
  Choose **before** installing: the decision shapes everything that follows.
16
16
 
17
- | | **dependency** | **starter** |
18
- | ----------------------- | ------------------------------------------------------ | ----------------------------------------------------------------------------------- |
19
- | Install | `npm install @4sh/ui-kit` | `ng add @4sh/ui-kit-schematics` |
20
- | What lands in your repo | nothing — compiled components stay in `node_modules` | the component _sources_, in `src/app/shared/` |
21
- | Imports | `@4sh/ui-kit/actions/ui-button` | your own path (`./shared/components/ui/actions/ui-button`) |
22
- | Styles | `node_modules/@4sh/ui-kit/styles.css`, loaded globally | copied into `src/styles/`, with the token generation chain (`npm run tokens:build`) |
23
- | Documentation | the Storybook linked above | yours, on your own copies (set up by `ng add`) |
24
- | Customization | inputs + CSS variables | edit the code itself |
25
- | Updating | bump the version | `ng generate @4sh/ui-kit-schematics:update` — per-component diff, accept or skip |
17
+ | | **dependency** | **starter** |
18
+ | ----------------------- | ------------------------------------------------------ | -------------------------------------------------------------------------------- |
19
+ | Install | `pnpm add @4sh/ui-kit` | `ng add @4sh/ui-kit-schematics` |
20
+ | What lands in your repo | nothing — compiled components stay in `node_modules` | the component _sources_, in `src/app/shared/` |
21
+ | Imports | `@4sh/ui-kit/actions/ui-button` | your own path (`./shared/components/ui/actions/ui-button`) |
22
+ | Styles | `node_modules/@4sh/ui-kit/styles.css`, loaded globally | copied into `src/styles/`, with the token generation chain (`tokens:build`) |
23
+ | Documentation | the Storybook linked above | yours, on your own copies (set up by `ng add`) |
24
+ | Customization | inputs + CSS variables | edit the code itself |
25
+ | Updating | bump the version | `ng generate @4sh/ui-kit-schematics:update` — per-component diff, accept or skip |
26
26
 
27
27
  **dependency** is the default: nothing to maintain, one version to follow, and a
28
28
  guarantee that every project renders the same kit. **starter** — the shadcn/ui or
@@ -39,9 +39,15 @@ Both modes describe the same components. **The rest of this page describes the
39
39
  ## Installation
40
40
 
41
41
  ```bash
42
- npm install @4sh/ui-kit
42
+ pnpm add @4sh/ui-kit
43
43
  ```
44
44
 
45
+ Any package manager works — the package is a plain npm tarball with standard
46
+ `peerDependencies`. `pnpm` is what the Design System itself uses and recommends
47
+ (strict resolution catches a missing peer instead of hiding it, and its
48
+ supply-chain settings quarantine freshly published versions); `npm install
49
+ @4sh/ui-kit` or `yarn add @4sh/ui-kit` install exactly the same thing.
50
+
45
51
  Published on the **public npm registry**, under the **`4sh`** organization:
46
52
  [npmjs.com/package/@4sh/ui-kit](https://www.npmjs.com/package/@4sh/ui-kit)
47
53
 
@@ -93,7 +99,7 @@ install-time hook — add it yourself, once, to your `.mcp.json`:
93
99
  }
94
100
  ```
95
101
 
96
- `npm install` links `ui-kit-mcp` into your project's `node_modules/.bin/`, so this
102
+ Installing links `ui-kit-mcp` into your project's `node_modules/.bin/`, so this
97
103
  form resolves no matter which directory your MCP client starts the server from — a
98
104
  hardcoded `node node_modules/@4sh/ui-kit/mcp/index.js` is relative to the working
99
105
  directory and breaks as soon as that isn't the project root. Keep `--no-install`: it
@@ -101,7 +107,7 @@ makes npx fail loudly when the bin is missing, rather than fetching an unrelated
101
107
  package of that name from the registry.
102
108
 
103
109
  Nothing to install beyond `@4sh/ui-kit` itself, and nothing to reach on the npm
104
- registry at run time — the file is already on disk once `npm install` has run. Tools:
110
+ registry at run time — the file is already on disk once the install has run. Tools:
105
111
  `list_components`, `get_component_doc`, `search_docs`, `get_shared_config` — same
106
112
  content as the Storybook doc linked above, and as its per-page **Copy as Markdown**
107
113
  button, for a chat that isn't MCP-aware.
@@ -173,22 +179,22 @@ import { UiIcon } from '@4sh/ui-kit/base/ui-icon';
173
179
 
174
180
  ### Available entry points
175
181
 
176
- **53 entry points**, each named `@4sh/ui-kit/<family>/<component>` — the family
182
+ **57 entry points**, each named `@4sh/ui-kit/<family>/<component>` — the family
177
183
  below is literally the path segment, lowercased:
178
184
  `@4sh/ui-kit/actions/ui-button`, `@4sh/ui-kit/forms/ui-select`,
179
185
  `@4sh/ui-kit/forms/ui-datepicker`…
180
- (54 components in total — `ui-file-upload-list` ships inside `ui-file-upload`,
186
+ (58 components in total — `ui-file-upload-list` ships inside `ui-file-upload`,
181
187
  whose model it consumes.)
182
188
 
183
- | Family | Entry points |
184
- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
185
- | Actions | `ui-button` · `ui-button-split` · `ui-link` |
186
- | Forms | `ui-input` · `ui-textarea` · `ui-select` · `ui-autocomplete` · `ui-datepicker` · `ui-checkbox` · `ui-radio` · `ui-toggle` · `ui-slider` · `ui-nudger` · `ui-rating` · `ui-segment-control` · `ui-input-number` · `ui-input-mask` · `ui-input-otp` · `ui-input-tags` · `ui-input-group` · `ui-file-upload` · `ui-field` · `ui-label` |
187
- | Informative | `ui-alert` · `ui-toast` · `ui-badge` · `ui-chip` · `ui-tag` · `ui-avatar` · `ui-avatar-group` · `ui-accordion` · `ui-tooltip` · `ui-spinner` · `ui-skeleton` · `ui-progress-bar` · `ui-empty-state` · `ui-read-only` · `ui-separator` · `ui-helper` |
188
- | Layout | `ui-card` · `ui-modal` · `ui-drawer` · `ui-popover` |
189
- | Navigation | `ui-menu` · `ui-context-menu` · `ui-tabs` · `ui-stepper` · `ui-sidebar` · `ui-breadcrumb` |
190
- | Table | `ui-table` · `ui-paginator` |
191
- | Base | `ui-icon` · `ui-image` |
189
+ | Family | Entry points |
190
+ | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
191
+ | Actions | `ui-button` · `ui-button-split` · `ui-link` · `ui-speed-dial` |
192
+ | Forms | `ui-input` · `ui-textarea` · `ui-editor` · `ui-select` · `ui-autocomplete` · `ui-datepicker` · `ui-checkbox` · `ui-radio` · `ui-toggle` · `ui-toggle-button` · `ui-slider` · `ui-nudger` · `ui-rating` · `ui-segment-control` · `ui-input-number` · `ui-input-mask` · `ui-input-otp` · `ui-input-tags` · `ui-input-group` · `ui-file-upload` · `ui-field` · `ui-label` · `ui-swatch-picker` |
193
+ | Informative | `ui-alert` · `ui-toast` · `ui-badge` · `ui-chip` · `ui-tag` · `ui-avatar` · `ui-avatar-group` · `ui-accordion` · `ui-tooltip` · `ui-spinner` · `ui-skeleton` · `ui-progress-bar` · `ui-empty-state` · `ui-read-only` · `ui-separator` · `ui-helper` |
194
+ | Layout | `ui-card` · `ui-modal` · `ui-drawer` · `ui-popover` |
195
+ | Navigation | `ui-menu` · `ui-context-menu` · `ui-tabs` · `ui-stepper` · `ui-sidebar` · `ui-breadcrumb` |
196
+ | Table | `ui-table` · `ui-paginator` |
197
+ | Base | `ui-icon` · `ui-image` |
192
198
 
193
199
  Plus the cross-cutting entry points:
194
200
 
@@ -302,6 +308,22 @@ To change a value, three levels, from the broadest to the narrowest:
302
308
  Full reference (every variable, its role and its measured value): Storybook →
303
309
  _Spécifications → Thème & Système de Tokens_.
304
310
 
311
+ ### Motion, and turning it off
312
+
313
+ Every transition and animation in the kit is driven by the `--transition-*`
314
+ tokens and the `UiMotion` presets — no component hardcodes a duration. Turning
315
+ motion off is therefore a single global switch, not a per-component setting:
316
+
317
+ ```html
318
+ <html data-motion="off"></html>
319
+ ```
320
+
321
+ This neutralizes every animation and transition in the kit at once — the same
322
+ reset already applied automatically when the OS-level `prefers-reduced-motion:
323
+ reduce` preference is on. A per-element opt-out also exists (`[motionDisabled]`
324
+ on the `UiMotion` directive, from `@4sh/ui-kit/motion`). Full reference,
325
+ including the animation presets: Storybook → **Foundations → Motion**.
326
+
305
327
  ---
306
328
 
307
329
  ## `@4sh/ui-kit/forms` — form field foundation
@@ -1 +1 @@
1
- {"version":3,"file":"4sh-ui-kit-actions-ui-button-split.mjs","sources":["../../../projects/ui-kit/actions/ui-button-split/src/lib/ui-button-split.ts","../../../projects/ui-kit/actions/ui-button-split/src/lib/ui-button-split.html","../../../projects/ui-kit/actions/ui-button-split/src/public-api.ts","../../../projects/ui-kit/actions/ui-button-split/src/4sh-ui-kit-actions-ui-button-split.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n input,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport { UiLevel } from '@4sh/ui-kit/types';\nimport {\n ButtonIconPos,\n ButtonNativeProps,\n ButtonOnColor,\n ButtonSize,\n ButtonVariant,\n UiButton,\n} from '@4sh/ui-kit/actions/ui-button';\nimport {\n MenuSize,\n UiMenu,\n UiMenuItem,\n UiMenuItemCommandEvent,\n} from '@4sh/ui-kit/navigation/ui-menu';\n\n/** Size of the split button — forwarded to both inner buttons and the menu. */\nexport type ButtonSplitSize = ButtonSize;\n\n/**\n * ui-button-split — a default action button glued to a dropdown trigger that\n * reveals a collection of additional options.\n *\n * The main button fires the default action (`buttonClick`); the caret trigger\n * toggles a {@link UiMenu} popup fed by the declarative `model`\n * ({@link UiMenuItem}: leaves with `command` / `routerLink` / `url`, nested\n * submenus, separators, icons…). Colors come from the `actions.*` tokens (via\n * the composed `ui-button`), the panel from the `navigation.*` tokens (via\n * `ui-menu`).\n *\n * The two buttons can be disabled independently: `buttonDisabled` for the\n * action, `menuButtonDisabled` for the trigger, or `disabled` for both.\n */\n@Component({\n selector: 'ui-button-split',\n imports: [UiButton, UiMenu],\n templateUrl: './ui-button-split.html',\n styleUrl: './ui-button-split.scss',\n})\nexport class UiButtonSplit {\n /** Additional options revealed by the dropdown (see {@link UiMenuItem}). */\n model = input<UiMenuItem[]>([]);\n /** Label of the default action button. */\n label = input<string>();\n /** Leading/trailing FontAwesome icon of the action button. */\n icon = input<string>();\n /** Position of the action button icon relative to its label. */\n iconPos = input<ButtonIconPos>('left');\n /** Icon of the dropdown trigger (the caret). */\n dropdownIcon = input<string>('chevron-down');\n /** Semantic level applied to both buttons. */\n level = input<UiLevel>('high');\n /** Size of the whole control (buttons + menu density). */\n size = input<ButtonSplitSize>('default');\n /** Apparence appliquée aux deux boutons (action + trigger). */\n variant = input<ButtonVariant>('filled');\n /** Luminosité du fond de couleur sur lequel le contrôle est posé (voir `ui-button.onColor`). */\n onColor = input<ButtonOnColor | null>(null);\n\n /** Disable both the action and the dropdown trigger. */\n disabled = input(false, { transform: booleanAttribute });\n /** Disable only the default action button. */\n buttonDisabled = input(false, { transform: booleanAttribute });\n /** Disable only the dropdown trigger button. */\n menuButtonDisabled = input(false, { transform: booleanAttribute });\n\n /** Accessible name of the action button (required when it is icon-only). */\n ariaLabel = input<string>();\n /** Accessible name of the dropdown trigger (icon-only button). */\n menuButtonAriaLabel = input<string>(\"Plus d'options\");\n /** Accessible name of the options list. */\n menuAriaLabel = input<string>();\n /** Color family of the menu panel: `high` (default) or `low`. */\n menuLevel = input<'high' | 'low'>('high');\n /** Extra class(es) applied to the menu panel (scoped custom styling). */\n menuStyleClass = input<string>();\n /** Auto-flip the popup above the trigger when space is lacking below. */\n autoFlip = input(true, { transform: booleanAttribute });\n /** Animate the popup entrance (reduced-motion always wins). */\n motion = input(true, { transform: booleanAttribute });\n /** Native tabindex of the action button. */\n tabindex = input<number>();\n /** Extra native attributes forwarded onto the action `<button>`. */\n buttonProps = input<ButtonNativeProps>();\n\n /** Fired when the default action button is clicked (never when disabled). */\n buttonClick = output<MouseEvent>();\n /** Fired when the dropdown trigger is clicked (never when disabled). */\n dropdownClick = output<MouseEvent>();\n /** Fired when the options popup opens. */\n menuShow = output<void>();\n /** Fired when the options popup closes. */\n menuHide = output<void>();\n /** Fired when an option is activated (click / keyboard). */\n itemClick = output<UiMenuItemCommandEvent>();\n\n /** @ignore Action button (programmatic focus). */\n private readonly actionButton = viewChild<UiButton>('action');\n /** @ignore Embedded options menu (programmatic close). */\n private readonly menu = viewChild<UiMenu>('menu');\n\n /** @ignore Popup open state (drives the trigger's `aria-expanded`). */\n protected readonly menuOpen = signal(false);\n\n /** @ignore Menu density mirrors the control size. */\n protected readonly menuSize = computed<MenuSize>(() => this.size());\n /** @ignore The action button is disabled by its own flag or the global one. */\n protected readonly actionDisabled = computed(() => this.disabled() || this.buttonDisabled());\n /** @ignore The trigger is disabled by its own flag or the global one. */\n protected readonly triggerDisabled = computed(() => this.disabled() || this.menuButtonDisabled());\n\n /** @ignore */\n protected readonly classes = computed(() => {\n const c = ['ui-button-split', `_${this.level()}`];\n if (this.size() !== 'default') c.push(`_${this.size()}`);\n return c.join(' ');\n });\n\n /** Sets focus on the default action button. */\n focus(options?: FocusOptions): void {\n this.actionButton()?.focus(options);\n }\n\n /** Closes the options popup. */\n hide(): void {\n this.menu()?.hide();\n }\n\n /** @ignore */\n protected onButtonClick(event: MouseEvent): void {\n this.buttonClick.emit(event);\n }\n\n /** @ignore Trigger click: re-emit, then toggle the popup anchored to it. */\n protected onDropdownClick(event: MouseEvent): void {\n this.dropdownClick.emit(event);\n this.menu()?.toggle(event);\n }\n}\n","<div [class]=\"classes()\">\n <!-- Default action -->\n <ui-button\n #action\n class=\"ui-button-split-action\"\n [label]=\"label()\"\n [ariaLabel]=\"ariaLabel()\"\n [icon]=\"icon()\"\n [iconPos]=\"iconPos()\"\n [level]=\"level()\"\n [size]=\"size()\"\n [variant]=\"variant()\"\n [onColor]=\"onColor()\"\n [disabled]=\"actionDisabled()\"\n [tabindex]=\"tabindex()\"\n [buttonProps]=\"buttonProps()\"\n (buttonClick)=\"onButtonClick($event)\"\n >\n <ng-content />\n </ui-button>\n\n <!-- Dropdown trigger -->\n <ui-button\n class=\"ui-button-split-trigger\"\n [icon]=\"dropdownIcon()\"\n [ariaLabel]=\"menuButtonAriaLabel()\"\n [level]=\"level()\"\n [size]=\"size()\"\n [variant]=\"variant()\"\n [onColor]=\"onColor()\"\n [disabled]=\"triggerDisabled()\"\n iconOnly\n [buttonProps]=\"{\n 'aria-haspopup': 'menu',\n 'aria-expanded': menuOpen() ? 'true' : 'false',\n 'aria-controls': menu.uid,\n }\"\n (buttonClick)=\"onDropdownClick($event)\"\n />\n\n <!-- Options popup (anchored to the trigger) -->\n <ui-menu\n #menu\n popup\n [items]=\"model()\"\n [level]=\"menuLevel()\"\n [size]=\"menuSize()\"\n [motion]=\"motion()\"\n [autoFlip]=\"autoFlip()\"\n [ariaLabel]=\"menuAriaLabel()\"\n [styleClass]=\"menuStyleClass()\"\n (opened)=\"menuOpen.set(true); menuShow.emit()\"\n (closed)=\"menuOpen.set(false); menuHide.emit()\"\n (itemClick)=\"itemClick.emit($event)\"\n />\n</div>\n","/*\n * Public API Surface of ui-kit/ui-button-split\n */\n\nexport * from './lib/ui-button-split';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AA4BA;;;;;;;;;;;;;AAaG;MAOU,aAAa,CAAA;AAN1B,IAAA,WAAA,GAAA;;QAQE,IAAA,CAAA,KAAK,GAAG,KAAK,CAAe,EAAE;kFAAC;;AAE/B,QAAA,IAAA,CAAA,KAAK,GAAG,KAA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EAAA,WAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,KAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,aAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,WAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,aAAA,CAAA,EAAA,CAAA,EAAA,aAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,eAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,UAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,UAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,WAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,CAAA,QAAQ,8DAElB,MAAM,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AE5GlD;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"4sh-ui-kit-actions-ui-button-split.mjs","sources":["../../../projects/ui-kit/actions/ui-button-split/src/lib/ui-button-split.ts","../../../projects/ui-kit/actions/ui-button-split/src/lib/ui-button-split.html","../../../projects/ui-kit/actions/ui-button-split/src/public-api.ts","../../../projects/ui-kit/actions/ui-button-split/src/4sh-ui-kit-actions-ui-button-split.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n input,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport { UiLevel } from '@4sh/ui-kit/types';\nimport {\n ButtonIconPos,\n ButtonNativeProps,\n ButtonOnColor,\n ButtonSize,\n ButtonVariant,\n UiButton,\n} from '@4sh/ui-kit/actions/ui-button';\nimport {\n MenuSize,\n UiMenu,\n UiMenuItem,\n UiMenuItemCommandEvent,\n} from '@4sh/ui-kit/navigation/ui-menu';\n\n/** Size of the split button — forwarded to both inner buttons and the menu. */\nexport type ButtonSplitSize = ButtonSize;\n\n/**\n * ui-button-split — a default action button glued to a dropdown trigger that\n * reveals a collection of additional options.\n *\n * The main button fires the default action (`buttonClick`); the caret trigger\n * toggles a {@link UiMenu} popup fed by the declarative `model`\n * ({@link UiMenuItem}: leaves with `command` / `routerLink` / `url`, nested\n * submenus, separators, icons…). Colors come from the `actions.*` tokens (via\n * the composed `ui-button`), the panel from the `navigation.*` tokens (via\n * `ui-menu`).\n *\n * The two buttons can be disabled independently: `buttonDisabled` for the\n * action, `menuButtonDisabled` for the trigger, or `disabled` for both.\n */\n@Component({\n selector: 'ui-button-split',\n imports: [UiButton, UiMenu],\n templateUrl: './ui-button-split.html',\n styleUrl: './ui-button-split.scss',\n})\nexport class UiButtonSplit {\n /** Additional options revealed by the dropdown (see {@link UiMenuItem}). */\n model = input<UiMenuItem[]>([]);\n /** Label of the default action button. */\n label = input<string>();\n /** Leading/trailing FontAwesome icon of the action button. */\n icon = input<string>();\n /** Position of the action button icon relative to its label. */\n iconPos = input<ButtonIconPos>('left');\n /** Icon of the dropdown trigger (the caret). */\n dropdownIcon = input<string>('chevron-down');\n /** Semantic level applied to both buttons. */\n level = input<UiLevel>('high');\n /** Size of the whole control (buttons + menu density). */\n size = input<ButtonSplitSize>('default');\n /** Apparence appliquée aux deux boutons (action + trigger). */\n variant = input<ButtonVariant>('filled');\n /** Luminosité du fond de couleur sur lequel le contrôle est posé (voir `ui-button.onColor`). */\n onColor = input<ButtonOnColor | null>(null);\n\n /** Disable both the action and the dropdown trigger. */\n disabled = input(false, { transform: booleanAttribute });\n /** Disable only the default action button. */\n buttonDisabled = input(false, { transform: booleanAttribute });\n /** Disable only the dropdown trigger button. */\n menuButtonDisabled = input(false, { transform: booleanAttribute });\n\n /** Accessible name of the action button (required when it is icon-only). */\n ariaLabel = input<string>();\n /** Accessible name of the dropdown trigger (icon-only button). */\n menuButtonAriaLabel = input<string>(\"Plus d'options\");\n /** Accessible name of the options list. */\n menuAriaLabel = input<string>();\n /** Color family of the menu panel: `high` (default) or `low`. */\n menuLevel = input<'high' | 'low'>('high');\n /** Extra class(es) applied to the menu panel (scoped custom styling). */\n menuStyleClass = input<string>();\n /** Auto-flip the popup above the trigger when space is lacking below. */\n autoFlip = input(true, { transform: booleanAttribute });\n /** Animate the popup entrance (reduced-motion always wins). */\n motion = input(true, { transform: booleanAttribute });\n /** Native tabindex of the action button. */\n tabindex = input<number>();\n /** Extra native attributes forwarded onto the action `<button>`. */\n buttonProps = input<ButtonNativeProps>();\n\n /** Fired when the default action button is clicked (never when disabled). */\n buttonClick = output<MouseEvent>();\n /** Fired when the dropdown trigger is clicked (never when disabled). */\n dropdownClick = output<MouseEvent>();\n /** Fired when the options popup opens. */\n menuShow = output<void>();\n /** Fired when the options popup closes. */\n menuHide = output<void>();\n /** Fired when an option is activated (click / keyboard). */\n itemClick = output<UiMenuItemCommandEvent>();\n\n /** @ignore Action button (programmatic focus). */\n private readonly actionButton = viewChild<UiButton>('action');\n /** @ignore Embedded options menu (programmatic close). */\n private readonly menu = viewChild<UiMenu>('menu');\n\n /** @ignore Popup open state (drives the trigger's `aria-expanded`). */\n protected readonly menuOpen = signal(false);\n\n /** @ignore Menu density mirrors the control size. */\n protected readonly menuSize = computed<MenuSize>(() => this.size());\n /** @ignore The action button is disabled by its own flag or the global one. */\n protected readonly actionDisabled = computed(() => this.disabled() || this.buttonDisabled());\n /** @ignore The trigger is disabled by its own flag or the global one. */\n protected readonly triggerDisabled = computed(() => this.disabled() || this.menuButtonDisabled());\n\n /** @ignore */\n protected readonly classes = computed(() => {\n const c = ['ui-button-split', `_${this.level()}`];\n if (this.size() !== 'default') c.push(`_${this.size()}`);\n return c.join(' ');\n });\n\n /** Sets focus on the default action button. */\n focus(options?: FocusOptions): void {\n this.actionButton()?.focus(options);\n }\n\n /** Closes the options popup. */\n hide(): void {\n this.menu()?.hide();\n }\n\n /** @ignore */\n protected onButtonClick(event: MouseEvent): void {\n this.buttonClick.emit(event);\n }\n\n /** @ignore Trigger click: re-emit, then toggle the popup anchored to it. */\n protected onDropdownClick(event: MouseEvent): void {\n this.dropdownClick.emit(event);\n this.menu()?.toggle(event);\n }\n}\n","<div [class]=\"classes()\">\n <!-- Default action -->\n <ui-button\n #action\n class=\"ui-button-split-action\"\n [label]=\"label()\"\n [ariaLabel]=\"ariaLabel()\"\n [icon]=\"icon()\"\n [iconPos]=\"iconPos()\"\n [level]=\"level()\"\n [size]=\"size()\"\n [variant]=\"variant()\"\n [onColor]=\"onColor()\"\n [disabled]=\"actionDisabled()\"\n [tabindex]=\"tabindex()\"\n [buttonProps]=\"buttonProps()\"\n (buttonClick)=\"onButtonClick($event)\"\n >\n <ng-content />\n </ui-button>\n\n <!-- Dropdown trigger -->\n <ui-button\n class=\"ui-button-split-trigger\"\n [icon]=\"dropdownIcon()\"\n [ariaLabel]=\"menuButtonAriaLabel()\"\n [level]=\"level()\"\n [size]=\"size()\"\n [variant]=\"variant()\"\n [onColor]=\"onColor()\"\n [disabled]=\"triggerDisabled()\"\n iconOnly\n [buttonProps]=\"{\n 'aria-haspopup': 'menu',\n 'aria-expanded': menuOpen() ? 'true' : 'false',\n 'aria-controls': menu.uid,\n }\"\n (buttonClick)=\"onDropdownClick($event)\"\n />\n\n <!-- Options popup (anchored to the trigger) -->\n <ui-menu\n #menu\n popup\n [items]=\"model()\"\n [level]=\"menuLevel()\"\n [size]=\"menuSize()\"\n [motion]=\"motion()\"\n [autoFlip]=\"autoFlip()\"\n [ariaLabel]=\"menuAriaLabel()\"\n [styleClass]=\"menuStyleClass()\"\n (opened)=\"menuOpen.set(true); menuShow.emit()\"\n (closed)=\"menuOpen.set(false); menuHide.emit()\"\n (itemClick)=\"itemClick.emit($event)\"\n />\n</div>\n","/*\n * Public API Surface of ui-kit/ui-button-split\n */\n\nexport * from './lib/ui-button-split';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AA4BA;;;;;;;;;;;;;AAaG;MAOU,aAAa,CAAA;AAN1B,IAAA,WAAA,GAAA;;QAQE,IAAA,CAAA,KAAK,GAAG,KAAK,CAAe,EAAE;kFAAC;;AAE/B,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK;6FAAU;;AAEvB,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK;4FAAU;;QAEtB,IAAA,CAAA,OAAO,GAAG,KAAK,CAAgB,MAAM;oFAAC;;QAEtC,IAAA,CAAA,YAAY,GAAG,KAAK,CAAS,cAAc;yFAAC;;QAE5C,IAAA,CAAA,KAAK,GAAG,KAAK,CAAU,MAAM;kFAAC;;QAE9B,IAAA,CAAA,IAAI,GAAG,KAAK,CAAkB,SAAS;iFAAC;;QAExC,IAAA,CAAA,OAAO,GAAG,KAAK,CAAgB,QAAQ;oFAAC;;QAExC,IAAA,CAAA,OAAO,GAAG,KAAK,CAAuB,IAAI;oFAAC;;QAG3C,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;QAExD,IAAA,CAAA,cAAc,GAAG,KAAK,CAAC,KAAK,sFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;QAE9D,IAAA,CAAA,kBAAkB,GAAG,KAAK,CAAC,KAAK,0FAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;AAGlE,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK;iGAAU;;QAE3B,IAAA,CAAA,mBAAmB,GAAG,KAAK,CAAS,gBAAgB;gGAAC;;AAErD,QAAA,IAAA,CAAA,a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