@atelier-ui/angular 0.3.8 → 0.3.9
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.
|
@@ -304,10 +304,16 @@ const ATL_ICON_GEOMETRY = {
|
|
|
304
304
|
* ```
|
|
305
305
|
*/
|
|
306
306
|
class AtlIcon {
|
|
307
|
+
/** The icon to render. Required. */
|
|
307
308
|
name = input.required(/* @ts-ignore */
|
|
308
309
|
...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
310
|
+
/** Icon size: `sm` 16px, `md` 20px, `lg` 24px. The same 24-unit geometry is scaled. */
|
|
309
311
|
size = input('md', /* @ts-ignore */
|
|
310
312
|
...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
313
|
+
/**
|
|
314
|
+
* Accessible label. When provided, the icon is announced as an image with
|
|
315
|
+
* this label. When omitted, the icon is hidden from assistive tech.
|
|
316
|
+
*/
|
|
311
317
|
label = input(/* @ts-ignore */
|
|
312
318
|
...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
|
|
313
319
|
viewBox = ATL_ICON_VIEWBOX;
|
|
@@ -3955,6 +3961,7 @@ const ATL_BREADCRUMBS = new InjectionToken('ATL_BREADCRUMBS');
|
|
|
3955
3961
|
* ```
|
|
3956
3962
|
*/
|
|
3957
3963
|
class AtlBreadcrumbs {
|
|
3964
|
+
/** Separator character shown between breadcrumb items. Default `/`. */
|
|
3958
3965
|
separator = input('/', /* @ts-ignore */
|
|
3959
3966
|
...(ngDevMode ? [{ debugName: "separator" }] : /* istanbul ignore next */ []));
|
|
3960
3967
|
separatorCssVar = computed(() => `'${this.separator()}'`, /* @ts-ignore */
|