@loomui-ng/ui 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +46 -2
- package/accordion/README.md +38 -0
- package/alert/README.md +32 -0
- package/alert-dialog/README.md +37 -0
- package/aspect-ratio/README.md +24 -0
- package/attachment/README.md +40 -0
- package/avatar/README.md +34 -0
- package/badge/README.md +29 -0
- package/breadcrumb/README.md +33 -0
- package/bubble/README.md +32 -0
- package/button/README.md +31 -0
- package/button-group/README.md +30 -0
- package/calendar/README.md +35 -0
- package/card/README.md +41 -0
- package/carousel/README.md +41 -0
- package/chart/README.md +25 -0
- package/checkbox/README.md +31 -0
- package/collapsible/README.md +31 -0
- package/combobox/README.md +47 -0
- package/command/README.md +44 -0
- package/context-menu/README.md +36 -0
- package/data-table/README.md +39 -0
- package/date-picker/README.md +23 -0
- package/dialog/README.md +52 -0
- package/direction/README.md +19 -0
- package/drawer/README.md +37 -0
- package/dropdown-menu/README.md +46 -0
- package/empty/README.md +38 -0
- package/fesm2022/loomui-ng-ui-accordion.mjs +555 -0
- package/fesm2022/loomui-ng-ui-accordion.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-alert-dialog.mjs +652 -0
- package/fesm2022/loomui-ng-ui-alert-dialog.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-alert.mjs +286 -0
- package/fesm2022/loomui-ng-ui-alert.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-aspect-ratio.mjs +97 -0
- package/fesm2022/loomui-ng-ui-aspect-ratio.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-attachment.mjs +713 -0
- package/fesm2022/loomui-ng-ui-attachment.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-avatar.mjs +561 -0
- package/fesm2022/loomui-ng-ui-avatar.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-badge.mjs +102 -0
- package/fesm2022/loomui-ng-ui-badge.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-breadcrumb.mjs +520 -0
- package/fesm2022/loomui-ng-ui-breadcrumb.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-bubble.mjs +386 -0
- package/fesm2022/loomui-ng-ui-bubble.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-button-group.mjs +193 -0
- package/fesm2022/loomui-ng-ui-button-group.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-button.mjs +162 -0
- package/fesm2022/loomui-ng-ui-button.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-calendar.mjs +681 -0
- package/fesm2022/loomui-ng-ui-calendar.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-card.mjs +461 -0
- package/fesm2022/loomui-ng-ui-card.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-carousel.mjs +532 -0
- package/fesm2022/loomui-ng-ui-carousel.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-chart.mjs +373 -0
- package/fesm2022/loomui-ng-ui-chart.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-checkbox.mjs +265 -0
- package/fesm2022/loomui-ng-ui-checkbox.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-collapsible.mjs +274 -0
- package/fesm2022/loomui-ng-ui-collapsible.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-combobox.mjs +971 -0
- package/fesm2022/loomui-ng-ui-combobox.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-command.mjs +982 -0
- package/fesm2022/loomui-ng-ui-command.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-context-menu.mjs +1359 -0
- package/fesm2022/loomui-ng-ui-context-menu.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-data-table.mjs +535 -0
- package/fesm2022/loomui-ng-ui-data-table.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-date-picker.mjs +312 -0
- package/fesm2022/loomui-ng-ui-date-picker.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-dialog.mjs +508 -0
- package/fesm2022/loomui-ng-ui-dialog.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-direction.mjs +112 -0
- package/fesm2022/loomui-ng-ui-direction.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-drawer.mjs +590 -0
- package/fesm2022/loomui-ng-ui-drawer.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-dropdown-menu.mjs +1322 -0
- package/fesm2022/loomui-ng-ui-dropdown-menu.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-empty.mjs +408 -0
- package/fesm2022/loomui-ng-ui-empty.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-field.mjs +630 -0
- package/fesm2022/loomui-ng-ui-field.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-hover-card.mjs +230 -0
- package/fesm2022/loomui-ng-ui-hover-card.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-icon.mjs +498 -0
- package/fesm2022/loomui-ng-ui-icon.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-input-group.mjs +463 -0
- package/fesm2022/loomui-ng-ui-input-group.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-input-otp.mjs +586 -0
- package/fesm2022/loomui-ng-ui-input-otp.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-input.mjs +289 -0
- package/fesm2022/loomui-ng-ui-input.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-item.mjs +598 -0
- package/fesm2022/loomui-ng-ui-item.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-kbd.mjs +129 -0
- package/fesm2022/loomui-ng-ui-kbd.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-label.mjs +68 -0
- package/fesm2022/loomui-ng-ui-label.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-marker.mjs +234 -0
- package/fesm2022/loomui-ng-ui-marker.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-menubar.mjs +1523 -0
- package/fesm2022/loomui-ng-ui-menubar.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-message-scroller.mjs +519 -0
- package/fesm2022/loomui-ng-ui-message-scroller.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-message.mjs +408 -0
- package/fesm2022/loomui-ng-ui-message.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-native-select.mjs +389 -0
- package/fesm2022/loomui-ng-ui-native-select.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-navigation-menu.mjs +609 -0
- package/fesm2022/loomui-ng-ui-navigation-menu.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-pagination.mjs +611 -0
- package/fesm2022/loomui-ng-ui-pagination.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-popover.mjs +358 -0
- package/fesm2022/loomui-ng-ui-popover.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-progress.mjs +159 -0
- package/fesm2022/loomui-ng-ui-progress.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-questionnaire.mjs +1012 -0
- package/fesm2022/loomui-ng-ui-questionnaire.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-radio-group.mjs +399 -0
- package/fesm2022/loomui-ng-ui-radio-group.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-resizable.mjs +518 -0
- package/fesm2022/loomui-ng-ui-resizable.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-scroll-area.mjs +135 -0
- package/fesm2022/loomui-ng-ui-scroll-area.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-select.mjs +863 -0
- package/fesm2022/loomui-ng-ui-select.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-separator.mjs +114 -0
- package/fesm2022/loomui-ng-ui-separator.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-sheet.mjs +530 -0
- package/fesm2022/loomui-ng-ui-sheet.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-sidebar.mjs +1918 -0
- package/fesm2022/loomui-ng-ui-sidebar.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-skeleton.mjs +69 -0
- package/fesm2022/loomui-ng-ui-skeleton.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-slider.mjs +390 -0
- package/fesm2022/loomui-ng-ui-slider.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-spinner.mjs +85 -0
- package/fesm2022/loomui-ng-ui-spinner.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-switch.mjs +212 -0
- package/fesm2022/loomui-ng-ui-switch.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-table.mjs +559 -0
- package/fesm2022/loomui-ng-ui-table.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-tabs.mjs +544 -0
- package/fesm2022/loomui-ng-ui-tabs.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-textarea.mjs +206 -0
- package/fesm2022/loomui-ng-ui-textarea.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-toast.mjs +432 -0
- package/fesm2022/loomui-ng-ui-toast.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-toggle-group.mjs +477 -0
- package/fesm2022/loomui-ng-ui-toggle-group.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-toggle.mjs +219 -0
- package/fesm2022/loomui-ng-ui-toggle.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-tooltip.mjs +240 -0
- package/fesm2022/loomui-ng-ui-tooltip.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-typography.mjs +129 -0
- package/fesm2022/loomui-ng-ui-typography.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui-utils.mjs +1533 -0
- package/fesm2022/loomui-ng-ui-utils.mjs.map +1 -0
- package/fesm2022/loomui-ng-ui.mjs +4 -0
- package/fesm2022/loomui-ng-ui.mjs.map +1 -0
- package/field/README.md +43 -0
- package/hover-card/README.md +31 -0
- package/icon/README.md +42 -0
- package/input/README.md +26 -0
- package/input-group/README.md +40 -0
- package/input-otp/README.md +35 -0
- package/item/README.md +33 -0
- package/kbd/README.md +21 -0
- package/label/README.md +24 -0
- package/marker/README.md +24 -0
- package/menubar/README.md +40 -0
- package/message/README.md +32 -0
- package/message-scroller/README.md +40 -0
- package/native-select/README.md +26 -0
- package/navigation-menu/README.md +39 -0
- package/package.json +325 -3
- package/pagination/README.md +37 -0
- package/popover/README.md +37 -0
- package/progress/README.md +25 -0
- package/questionnaire/README.md +52 -0
- package/radio-group/README.md +33 -0
- package/resizable/README.md +37 -0
- package/scroll-area/README.md +25 -0
- package/select/README.md +45 -0
- package/separator/README.md +28 -0
- package/sheet/README.md +38 -0
- package/sidebar/README.md +60 -0
- package/skeleton/README.md +21 -0
- package/slider/README.md +29 -0
- package/spinner/README.md +15 -0
- package/styles/loomui.css +330 -0
- package/switch/README.md +29 -0
- package/table/README.md +31 -0
- package/tabs/README.md +42 -0
- package/textarea/README.md +28 -0
- package/toast/README.md +27 -0
- package/toggle/README.md +27 -0
- package/toggle-group/README.md +37 -0
- package/tooltip/README.md +31 -0
- package/types/loomui-ng-ui-accordion.d.ts +141 -0
- package/types/loomui-ng-ui-alert-dialog.d.ts +175 -0
- package/types/loomui-ng-ui-alert.d.ts +77 -0
- package/types/loomui-ng-ui-aspect-ratio.d.ts +31 -0
- package/types/loomui-ng-ui-attachment.d.ts +192 -0
- package/types/loomui-ng-ui-avatar.d.ts +147 -0
- package/types/loomui-ng-ui-badge.d.ts +32 -0
- package/types/loomui-ng-ui-breadcrumb.d.ts +118 -0
- package/types/loomui-ng-ui-bubble.d.ts +100 -0
- package/types/loomui-ng-ui-button-group.d.ts +51 -0
- package/types/loomui-ng-ui-button.d.ts +57 -0
- package/types/loomui-ng-ui-calendar.d.ts +171 -0
- package/types/loomui-ng-ui-card.d.ts +123 -0
- package/types/loomui-ng-ui-carousel.d.ts +140 -0
- package/types/loomui-ng-ui-chart.d.ts +95 -0
- package/types/loomui-ng-ui-checkbox.d.ts +62 -0
- package/types/loomui-ng-ui-collapsible.d.ts +74 -0
- package/types/loomui-ng-ui-combobox.d.ts +229 -0
- package/types/loomui-ng-ui-command.d.ts +231 -0
- package/types/loomui-ng-ui-context-menu.d.ts +288 -0
- package/types/loomui-ng-ui-data-table.d.ts +111 -0
- package/types/loomui-ng-ui-date-picker.d.ts +63 -0
- package/types/loomui-ng-ui-dialog.d.ts +127 -0
- package/types/loomui-ng-ui-direction.d.ts +42 -0
- package/types/loomui-ng-ui-drawer.d.ts +149 -0
- package/types/loomui-ng-ui-dropdown-menu.d.ts +258 -0
- package/types/loomui-ng-ui-empty.d.ts +109 -0
- package/types/loomui-ng-ui-field.d.ts +169 -0
- package/types/loomui-ng-ui-hover-card.d.ts +62 -0
- package/types/loomui-ng-ui-icon.d.ts +156 -0
- package/types/loomui-ng-ui-input-group.d.ts +130 -0
- package/types/loomui-ng-ui-input-otp.d.ts +149 -0
- package/types/loomui-ng-ui-input.d.ts +89 -0
- package/types/loomui-ng-ui-item.d.ts +157 -0
- package/types/loomui-ng-ui-kbd.d.ts +36 -0
- package/types/loomui-ng-ui-label.d.ts +19 -0
- package/types/loomui-ng-ui-marker.d.ts +61 -0
- package/types/loomui-ng-ui-menubar.d.ts +321 -0
- package/types/loomui-ng-ui-message-scroller.d.ts +138 -0
- package/types/loomui-ng-ui-message.d.ts +109 -0
- package/types/loomui-ng-ui-native-select.d.ts +84 -0
- package/types/loomui-ng-ui-navigation-menu.d.ts +160 -0
- package/types/loomui-ng-ui-pagination.d.ts +130 -0
- package/types/loomui-ng-ui-popover.d.ts +90 -0
- package/types/loomui-ng-ui-progress.d.ts +39 -0
- package/types/loomui-ng-ui-questionnaire.d.ts +274 -0
- package/types/loomui-ng-ui-radio-group.d.ts +109 -0
- package/types/loomui-ng-ui-resizable.d.ts +121 -0
- package/types/loomui-ng-ui-scroll-area.d.ts +44 -0
- package/types/loomui-ng-ui-select.d.ts +204 -0
- package/types/loomui-ng-ui-separator.d.ts +35 -0
- package/types/loomui-ng-ui-sheet.d.ts +124 -0
- package/types/loomui-ng-ui-sidebar.d.ts +485 -0
- package/types/loomui-ng-ui-skeleton.d.ts +20 -0
- package/types/loomui-ng-ui-slider.d.ts +103 -0
- package/types/loomui-ng-ui-spinner.d.ts +19 -0
- package/types/loomui-ng-ui-switch.d.ts +56 -0
- package/types/loomui-ng-ui-table.d.ts +148 -0
- package/types/loomui-ng-ui-tabs.d.ts +148 -0
- package/types/loomui-ng-ui-textarea.d.ts +52 -0
- package/types/loomui-ng-ui-toast.d.ts +97 -0
- package/types/loomui-ng-ui-toggle-group.d.ts +138 -0
- package/types/loomui-ng-ui-toggle.d.ts +63 -0
- package/types/loomui-ng-ui-tooltip.d.ts +63 -0
- package/types/loomui-ng-ui-typography.d.ts +42 -0
- package/types/loomui-ng-ui-utils.d.ts +392 -0
- package/types/loomui-ng-ui.d.ts +5 -0
- package/typography/README.md +29 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { Directive, computed, input } from "@angular/core";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import * as i1 from "@loomui-ng/ui/utils";
|
|
5
|
+
import { UiElementHost, cn } from "@loomui-ng/ui/utils";
|
|
6
|
+
const badgeVariants = cva("group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>ui-icon]:pointer-events-none [&>svg]:size-3! [&>ui-icon]:size-3!", {
|
|
7
|
+
variants: { variant: {
|
|
8
|
+
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
|
|
9
|
+
secondary: "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
|
|
10
|
+
destructive: "bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",
|
|
11
|
+
outline: "border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",
|
|
12
|
+
ghost: "hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50"
|
|
13
|
+
} },
|
|
14
|
+
defaultVariants: { variant: "default" }
|
|
15
|
+
});
|
|
16
|
+
var UiBadge = class UiBadge {
|
|
17
|
+
variant = input("default", ...ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []);
|
|
18
|
+
userClass = input("", {
|
|
19
|
+
...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
|
|
20
|
+
alias: "class"
|
|
21
|
+
});
|
|
22
|
+
classes = computed(() => cn(badgeVariants({ variant: this.variant() }), this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
23
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
24
|
+
minVersion: "12.0.0",
|
|
25
|
+
version: "22.2.2",
|
|
26
|
+
ngImport: i0,
|
|
27
|
+
type: UiBadge,
|
|
28
|
+
deps: [],
|
|
29
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
30
|
+
});
|
|
31
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
32
|
+
minVersion: "17.1.0",
|
|
33
|
+
version: "22.2.2",
|
|
34
|
+
type: UiBadge,
|
|
35
|
+
isStandalone: true,
|
|
36
|
+
selector: "[uiBadge], ui-badge",
|
|
37
|
+
inputs: {
|
|
38
|
+
variant: {
|
|
39
|
+
classPropertyName: "variant",
|
|
40
|
+
publicName: "variant",
|
|
41
|
+
isSignal: true,
|
|
42
|
+
isRequired: false,
|
|
43
|
+
transformFunction: null
|
|
44
|
+
},
|
|
45
|
+
userClass: {
|
|
46
|
+
classPropertyName: "userClass",
|
|
47
|
+
publicName: "class",
|
|
48
|
+
isSignal: true,
|
|
49
|
+
isRequired: false,
|
|
50
|
+
transformFunction: null
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
host: {
|
|
54
|
+
attributes: { "data-slot": "badge" },
|
|
55
|
+
properties: {
|
|
56
|
+
"attr.data-variant": "variant()",
|
|
57
|
+
"attr.class": "classes()"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
hostDirectives: [{ directive: i1.UiElementHost }],
|
|
61
|
+
ngImport: i0
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
65
|
+
minVersion: "12.0.0",
|
|
66
|
+
version: "22.2.2",
|
|
67
|
+
ngImport: i0,
|
|
68
|
+
type: UiBadge,
|
|
69
|
+
decorators: [{
|
|
70
|
+
type: Directive,
|
|
71
|
+
args: [{
|
|
72
|
+
selector: "[uiBadge], ui-badge",
|
|
73
|
+
hostDirectives: [UiElementHost],
|
|
74
|
+
host: {
|
|
75
|
+
"data-slot": "badge",
|
|
76
|
+
"[attr.data-variant]": "variant()",
|
|
77
|
+
"[attr.class]": "classes()"
|
|
78
|
+
}
|
|
79
|
+
}]
|
|
80
|
+
}],
|
|
81
|
+
propDecorators: {
|
|
82
|
+
variant: [{
|
|
83
|
+
type: i0.Input,
|
|
84
|
+
args: [{
|
|
85
|
+
isSignal: true,
|
|
86
|
+
alias: "variant",
|
|
87
|
+
required: false
|
|
88
|
+
}]
|
|
89
|
+
}],
|
|
90
|
+
userClass: [{
|
|
91
|
+
type: i0.Input,
|
|
92
|
+
args: [{
|
|
93
|
+
isSignal: true,
|
|
94
|
+
alias: "class",
|
|
95
|
+
required: false
|
|
96
|
+
}]
|
|
97
|
+
}]
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
export { UiBadge, badgeVariants };
|
|
101
|
+
|
|
102
|
+
//# sourceMappingURL=loomui-ng-ui-badge.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loomui-ng-ui-badge.mjs","names":[],"sources":["../../../libs/ui/badge/badge.ts"],"sourcesContent":["import { computed, Directive, input } from '@angular/core';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { cn } from '@loomui-ng/ui/utils';\nimport { UiElementHost } from '@loomui-ng/ui/utils';\n\n/** Classes copied from live shadcn Badge (docs/behavior-specs/badge.md); pl/pr → ps/pe for RTL. */\nexport const badgeVariants = cva(\n 'group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>ui-icon]:pointer-events-none [&>svg]:size-3! [&>ui-icon]:size-3!',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground [a]:hover:bg-primary/80',\n secondary: 'bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80',\n destructive:\n 'bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20',\n outline: 'border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground',\n ghost: 'hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50',\n },\n },\n defaultVariants: { variant: 'default' },\n },\n);\nexport type BadgeVariants = VariantProps<typeof badgeVariants>;\n\n/** <span uiBadge variant=\"secondary\">New</span> — also valid on <a>. */\n@Directive({\n selector: '[uiBadge], ui-badge', hostDirectives: [UiElementHost],\n host: {\n 'data-slot': 'badge',\n '[attr.data-variant]': 'variant()',\n '[attr.class]': 'classes()',\n },\n})\nexport class UiBadge {\n readonly variant = input<NonNullable<BadgeVariants['variant']>>('default');\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn(badgeVariants({ variant: this.variant() }), this.userClass()));\n}\n"],"mappings":";;;;;AAMA,MAAa,gBAAgB,I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aAAa;GAC/D,MAAM;IACJ,aAAa;IACb,uBAAuB;IACvB,gBAAgB;GACjB;EACF,CAAA"}
|
|
@@ -0,0 +1,520 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Directive, computed, input } from "@angular/core";
|
|
3
|
+
import * as i1 from "@loomui-ng/ui/utils";
|
|
4
|
+
import { UiElementHost, cn } from "@loomui-ng/ui/utils";
|
|
5
|
+
import { UiIconSvg } from "@loomui-ng/ui/icon";
|
|
6
|
+
var UiBreadcrumb = class UiBreadcrumb {
|
|
7
|
+
userClass = input("", {
|
|
8
|
+
...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
|
|
9
|
+
alias: "class"
|
|
10
|
+
});
|
|
11
|
+
classes = computed(() => cn("", this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
13
|
+
minVersion: "12.0.0",
|
|
14
|
+
version: "22.2.2",
|
|
15
|
+
ngImport: i0,
|
|
16
|
+
type: UiBreadcrumb,
|
|
17
|
+
deps: [],
|
|
18
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
19
|
+
});
|
|
20
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
21
|
+
minVersion: "17.1.0",
|
|
22
|
+
version: "22.2.2",
|
|
23
|
+
type: UiBreadcrumb,
|
|
24
|
+
isStandalone: true,
|
|
25
|
+
selector: "nav[uiBreadcrumb], ui-breadcrumb",
|
|
26
|
+
inputs: { userClass: {
|
|
27
|
+
classPropertyName: "userClass",
|
|
28
|
+
publicName: "class",
|
|
29
|
+
isSignal: true,
|
|
30
|
+
isRequired: false,
|
|
31
|
+
transformFunction: null
|
|
32
|
+
} },
|
|
33
|
+
host: {
|
|
34
|
+
attributes: {
|
|
35
|
+
"data-slot": "breadcrumb",
|
|
36
|
+
"aria-label": "breadcrumb"
|
|
37
|
+
},
|
|
38
|
+
properties: { "attr.class": "classes()" }
|
|
39
|
+
},
|
|
40
|
+
hostDirectives: [{ directive: i1.UiElementHost }],
|
|
41
|
+
ngImport: i0
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
45
|
+
minVersion: "12.0.0",
|
|
46
|
+
version: "22.2.2",
|
|
47
|
+
ngImport: i0,
|
|
48
|
+
type: UiBreadcrumb,
|
|
49
|
+
decorators: [{
|
|
50
|
+
type: Directive,
|
|
51
|
+
args: [{
|
|
52
|
+
selector: "nav[uiBreadcrumb], ui-breadcrumb",
|
|
53
|
+
hostDirectives: [UiElementHost],
|
|
54
|
+
host: {
|
|
55
|
+
"data-slot": "breadcrumb",
|
|
56
|
+
"aria-label": "breadcrumb",
|
|
57
|
+
"[attr.class]": "classes()"
|
|
58
|
+
}
|
|
59
|
+
}]
|
|
60
|
+
}],
|
|
61
|
+
propDecorators: { userClass: [{
|
|
62
|
+
type: i0.Input,
|
|
63
|
+
args: [{
|
|
64
|
+
isSignal: true,
|
|
65
|
+
alias: "class",
|
|
66
|
+
required: false
|
|
67
|
+
}]
|
|
68
|
+
}] }
|
|
69
|
+
});
|
|
70
|
+
var UiBreadcrumbList = class UiBreadcrumbList {
|
|
71
|
+
userClass = input("", {
|
|
72
|
+
...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
|
|
73
|
+
alias: "class"
|
|
74
|
+
});
|
|
75
|
+
classes = computed(() => cn("flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground", this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
76
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
77
|
+
minVersion: "12.0.0",
|
|
78
|
+
version: "22.2.2",
|
|
79
|
+
ngImport: i0,
|
|
80
|
+
type: UiBreadcrumbList,
|
|
81
|
+
deps: [],
|
|
82
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
83
|
+
});
|
|
84
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
85
|
+
minVersion: "17.1.0",
|
|
86
|
+
version: "22.2.2",
|
|
87
|
+
type: UiBreadcrumbList,
|
|
88
|
+
isStandalone: true,
|
|
89
|
+
selector: "ol[uiBreadcrumbList], ui-breadcrumb-list",
|
|
90
|
+
inputs: { userClass: {
|
|
91
|
+
classPropertyName: "userClass",
|
|
92
|
+
publicName: "class",
|
|
93
|
+
isSignal: true,
|
|
94
|
+
isRequired: false,
|
|
95
|
+
transformFunction: null
|
|
96
|
+
} },
|
|
97
|
+
host: {
|
|
98
|
+
attributes: { "data-slot": "breadcrumb-list" },
|
|
99
|
+
properties: { "attr.class": "classes()" }
|
|
100
|
+
},
|
|
101
|
+
hostDirectives: [{ directive: i1.UiElementHost }],
|
|
102
|
+
ngImport: i0
|
|
103
|
+
});
|
|
104
|
+
};
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
106
|
+
minVersion: "12.0.0",
|
|
107
|
+
version: "22.2.2",
|
|
108
|
+
ngImport: i0,
|
|
109
|
+
type: UiBreadcrumbList,
|
|
110
|
+
decorators: [{
|
|
111
|
+
type: Directive,
|
|
112
|
+
args: [{
|
|
113
|
+
selector: "ol[uiBreadcrumbList], ui-breadcrumb-list",
|
|
114
|
+
hostDirectives: [UiElementHost],
|
|
115
|
+
host: {
|
|
116
|
+
"data-slot": "breadcrumb-list",
|
|
117
|
+
"[attr.class]": "classes()"
|
|
118
|
+
}
|
|
119
|
+
}]
|
|
120
|
+
}],
|
|
121
|
+
propDecorators: { userClass: [{
|
|
122
|
+
type: i0.Input,
|
|
123
|
+
args: [{
|
|
124
|
+
isSignal: true,
|
|
125
|
+
alias: "class",
|
|
126
|
+
required: false
|
|
127
|
+
}]
|
|
128
|
+
}] }
|
|
129
|
+
});
|
|
130
|
+
var UiBreadcrumbItem = class UiBreadcrumbItem {
|
|
131
|
+
userClass = input("", {
|
|
132
|
+
...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
|
|
133
|
+
alias: "class"
|
|
134
|
+
});
|
|
135
|
+
classes = computed(() => cn("inline-flex items-center gap-1", this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
136
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
137
|
+
minVersion: "12.0.0",
|
|
138
|
+
version: "22.2.2",
|
|
139
|
+
ngImport: i0,
|
|
140
|
+
type: UiBreadcrumbItem,
|
|
141
|
+
deps: [],
|
|
142
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
143
|
+
});
|
|
144
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
145
|
+
minVersion: "17.1.0",
|
|
146
|
+
version: "22.2.2",
|
|
147
|
+
type: UiBreadcrumbItem,
|
|
148
|
+
isStandalone: true,
|
|
149
|
+
selector: "li[uiBreadcrumbItem], ui-breadcrumb-item",
|
|
150
|
+
inputs: { userClass: {
|
|
151
|
+
classPropertyName: "userClass",
|
|
152
|
+
publicName: "class",
|
|
153
|
+
isSignal: true,
|
|
154
|
+
isRequired: false,
|
|
155
|
+
transformFunction: null
|
|
156
|
+
} },
|
|
157
|
+
host: {
|
|
158
|
+
attributes: { "data-slot": "breadcrumb-item" },
|
|
159
|
+
properties: { "attr.class": "classes()" }
|
|
160
|
+
},
|
|
161
|
+
hostDirectives: [{ directive: i1.UiElementHost }],
|
|
162
|
+
ngImport: i0
|
|
163
|
+
});
|
|
164
|
+
};
|
|
165
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
166
|
+
minVersion: "12.0.0",
|
|
167
|
+
version: "22.2.2",
|
|
168
|
+
ngImport: i0,
|
|
169
|
+
type: UiBreadcrumbItem,
|
|
170
|
+
decorators: [{
|
|
171
|
+
type: Directive,
|
|
172
|
+
args: [{
|
|
173
|
+
selector: "li[uiBreadcrumbItem], ui-breadcrumb-item",
|
|
174
|
+
hostDirectives: [UiElementHost],
|
|
175
|
+
host: {
|
|
176
|
+
"data-slot": "breadcrumb-item",
|
|
177
|
+
"[attr.class]": "classes()"
|
|
178
|
+
}
|
|
179
|
+
}]
|
|
180
|
+
}],
|
|
181
|
+
propDecorators: { userClass: [{
|
|
182
|
+
type: i0.Input,
|
|
183
|
+
args: [{
|
|
184
|
+
isSignal: true,
|
|
185
|
+
alias: "class",
|
|
186
|
+
required: false
|
|
187
|
+
}]
|
|
188
|
+
}] }
|
|
189
|
+
});
|
|
190
|
+
var UiBreadcrumbLink = class UiBreadcrumbLink {
|
|
191
|
+
userClass = input("", {
|
|
192
|
+
...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
|
|
193
|
+
alias: "class"
|
|
194
|
+
});
|
|
195
|
+
classes = computed(() => cn("transition-colors hover:text-foreground", this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
196
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
197
|
+
minVersion: "12.0.0",
|
|
198
|
+
version: "22.2.2",
|
|
199
|
+
ngImport: i0,
|
|
200
|
+
type: UiBreadcrumbLink,
|
|
201
|
+
deps: [],
|
|
202
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
203
|
+
});
|
|
204
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
205
|
+
minVersion: "17.1.0",
|
|
206
|
+
version: "22.2.2",
|
|
207
|
+
type: UiBreadcrumbLink,
|
|
208
|
+
isStandalone: true,
|
|
209
|
+
selector: "a[uiBreadcrumbLink], ui-breadcrumb-link",
|
|
210
|
+
inputs: { userClass: {
|
|
211
|
+
classPropertyName: "userClass",
|
|
212
|
+
publicName: "class",
|
|
213
|
+
isSignal: true,
|
|
214
|
+
isRequired: false,
|
|
215
|
+
transformFunction: null
|
|
216
|
+
} },
|
|
217
|
+
host: {
|
|
218
|
+
attributes: { "data-slot": "breadcrumb-link" },
|
|
219
|
+
properties: { "attr.class": "classes()" }
|
|
220
|
+
},
|
|
221
|
+
hostDirectives: [{ directive: i1.UiElementHost }],
|
|
222
|
+
ngImport: i0
|
|
223
|
+
});
|
|
224
|
+
};
|
|
225
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
226
|
+
minVersion: "12.0.0",
|
|
227
|
+
version: "22.2.2",
|
|
228
|
+
ngImport: i0,
|
|
229
|
+
type: UiBreadcrumbLink,
|
|
230
|
+
decorators: [{
|
|
231
|
+
type: Directive,
|
|
232
|
+
args: [{
|
|
233
|
+
selector: "a[uiBreadcrumbLink], ui-breadcrumb-link",
|
|
234
|
+
hostDirectives: [UiElementHost],
|
|
235
|
+
host: {
|
|
236
|
+
"data-slot": "breadcrumb-link",
|
|
237
|
+
"[attr.class]": "classes()"
|
|
238
|
+
}
|
|
239
|
+
}]
|
|
240
|
+
}],
|
|
241
|
+
propDecorators: { userClass: [{
|
|
242
|
+
type: i0.Input,
|
|
243
|
+
args: [{
|
|
244
|
+
isSignal: true,
|
|
245
|
+
alias: "class",
|
|
246
|
+
required: false
|
|
247
|
+
}]
|
|
248
|
+
}] }
|
|
249
|
+
});
|
|
250
|
+
var UiBreadcrumbPage = class UiBreadcrumbPage {
|
|
251
|
+
userClass = input("", {
|
|
252
|
+
...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
|
|
253
|
+
alias: "class"
|
|
254
|
+
});
|
|
255
|
+
classes = computed(() => cn("font-normal text-foreground", this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
256
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
257
|
+
minVersion: "12.0.0",
|
|
258
|
+
version: "22.2.2",
|
|
259
|
+
ngImport: i0,
|
|
260
|
+
type: UiBreadcrumbPage,
|
|
261
|
+
deps: [],
|
|
262
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
263
|
+
});
|
|
264
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
265
|
+
minVersion: "17.1.0",
|
|
266
|
+
version: "22.2.2",
|
|
267
|
+
type: UiBreadcrumbPage,
|
|
268
|
+
isStandalone: true,
|
|
269
|
+
selector: "span[uiBreadcrumbPage], ui-breadcrumb-page",
|
|
270
|
+
inputs: { userClass: {
|
|
271
|
+
classPropertyName: "userClass",
|
|
272
|
+
publicName: "class",
|
|
273
|
+
isSignal: true,
|
|
274
|
+
isRequired: false,
|
|
275
|
+
transformFunction: null
|
|
276
|
+
} },
|
|
277
|
+
host: {
|
|
278
|
+
attributes: {
|
|
279
|
+
"data-slot": "breadcrumb-page",
|
|
280
|
+
"role": "link",
|
|
281
|
+
"aria-disabled": "true",
|
|
282
|
+
"aria-current": "page"
|
|
283
|
+
},
|
|
284
|
+
properties: { "attr.class": "classes()" }
|
|
285
|
+
},
|
|
286
|
+
hostDirectives: [{ directive: i1.UiElementHost }],
|
|
287
|
+
ngImport: i0
|
|
288
|
+
});
|
|
289
|
+
};
|
|
290
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
291
|
+
minVersion: "12.0.0",
|
|
292
|
+
version: "22.2.2",
|
|
293
|
+
ngImport: i0,
|
|
294
|
+
type: UiBreadcrumbPage,
|
|
295
|
+
decorators: [{
|
|
296
|
+
type: Directive,
|
|
297
|
+
args: [{
|
|
298
|
+
selector: "span[uiBreadcrumbPage], ui-breadcrumb-page",
|
|
299
|
+
hostDirectives: [UiElementHost],
|
|
300
|
+
host: {
|
|
301
|
+
"data-slot": "breadcrumb-page",
|
|
302
|
+
"role": "link",
|
|
303
|
+
"aria-disabled": "true",
|
|
304
|
+
"aria-current": "page",
|
|
305
|
+
"[attr.class]": "classes()"
|
|
306
|
+
}
|
|
307
|
+
}]
|
|
308
|
+
}],
|
|
309
|
+
propDecorators: { userClass: [{
|
|
310
|
+
type: i0.Input,
|
|
311
|
+
args: [{
|
|
312
|
+
isSignal: true,
|
|
313
|
+
alias: "class",
|
|
314
|
+
required: false
|
|
315
|
+
}]
|
|
316
|
+
}] }
|
|
317
|
+
});
|
|
318
|
+
const UI_BREADCRUMB_GENERATED = [
|
|
319
|
+
UiBreadcrumb,
|
|
320
|
+
UiBreadcrumbList,
|
|
321
|
+
UiBreadcrumbItem,
|
|
322
|
+
UiBreadcrumbLink,
|
|
323
|
+
UiBreadcrumbPage
|
|
324
|
+
];
|
|
325
|
+
var UiBreadcrumbSeparator = class UiBreadcrumbSeparator {
|
|
326
|
+
userClass = input("", {
|
|
327
|
+
...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
|
|
328
|
+
alias: "class"
|
|
329
|
+
});
|
|
330
|
+
classes = computed(() => cn("[&>svg]:size-3.5 [&>ui-icon]:size-3.5", this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
331
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
332
|
+
minVersion: "12.0.0",
|
|
333
|
+
version: "22.2.2",
|
|
334
|
+
ngImport: i0,
|
|
335
|
+
type: UiBreadcrumbSeparator,
|
|
336
|
+
deps: [],
|
|
337
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
338
|
+
});
|
|
339
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
340
|
+
minVersion: "17.1.0",
|
|
341
|
+
version: "22.2.2",
|
|
342
|
+
type: UiBreadcrumbSeparator,
|
|
343
|
+
isStandalone: true,
|
|
344
|
+
selector: "li[uiBreadcrumbSeparator], ui-breadcrumb-separator",
|
|
345
|
+
inputs: { userClass: {
|
|
346
|
+
classPropertyName: "userClass",
|
|
347
|
+
publicName: "class",
|
|
348
|
+
isSignal: true,
|
|
349
|
+
isRequired: false,
|
|
350
|
+
transformFunction: null
|
|
351
|
+
} },
|
|
352
|
+
host: {
|
|
353
|
+
attributes: {
|
|
354
|
+
"role": "presentation",
|
|
355
|
+
"aria-hidden": "true",
|
|
356
|
+
"data-slot": "breadcrumb-separator"
|
|
357
|
+
},
|
|
358
|
+
properties: { "attr.class": "classes()" }
|
|
359
|
+
},
|
|
360
|
+
hostDirectives: [{ directive: i1.UiElementHost }],
|
|
361
|
+
ngImport: i0,
|
|
362
|
+
template: `
|
|
363
|
+
<ng-content>
|
|
364
|
+
<svg uiIcon="chevron-right" class="rtl:rotate-180"></svg>
|
|
365
|
+
</ng-content>
|
|
366
|
+
`,
|
|
367
|
+
isInline: true,
|
|
368
|
+
dependencies: [{
|
|
369
|
+
kind: "directive",
|
|
370
|
+
type: UiIconSvg,
|
|
371
|
+
selector: "svg[uiIcon]",
|
|
372
|
+
inputs: [
|
|
373
|
+
"uiIcon",
|
|
374
|
+
"icon",
|
|
375
|
+
"size",
|
|
376
|
+
"strokeWidth",
|
|
377
|
+
"absoluteStrokeWidth",
|
|
378
|
+
"color",
|
|
379
|
+
"label",
|
|
380
|
+
"class"
|
|
381
|
+
]
|
|
382
|
+
}],
|
|
383
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
384
|
+
});
|
|
385
|
+
};
|
|
386
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
387
|
+
minVersion: "12.0.0",
|
|
388
|
+
version: "22.2.2",
|
|
389
|
+
ngImport: i0,
|
|
390
|
+
type: UiBreadcrumbSeparator,
|
|
391
|
+
decorators: [{
|
|
392
|
+
type: Component,
|
|
393
|
+
args: [{
|
|
394
|
+
selector: "li[uiBreadcrumbSeparator], ui-breadcrumb-separator",
|
|
395
|
+
hostDirectives: [UiElementHost],
|
|
396
|
+
imports: [UiIconSvg],
|
|
397
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
398
|
+
host: {
|
|
399
|
+
role: "presentation",
|
|
400
|
+
"aria-hidden": "true",
|
|
401
|
+
"data-slot": "breadcrumb-separator",
|
|
402
|
+
"[attr.class]": "classes()"
|
|
403
|
+
},
|
|
404
|
+
template: `
|
|
405
|
+
<ng-content>
|
|
406
|
+
<svg uiIcon="chevron-right" class="rtl:rotate-180"></svg>
|
|
407
|
+
</ng-content>
|
|
408
|
+
`
|
|
409
|
+
}]
|
|
410
|
+
}],
|
|
411
|
+
propDecorators: { userClass: [{
|
|
412
|
+
type: i0.Input,
|
|
413
|
+
args: [{
|
|
414
|
+
isSignal: true,
|
|
415
|
+
alias: "class",
|
|
416
|
+
required: false
|
|
417
|
+
}]
|
|
418
|
+
}] }
|
|
419
|
+
});
|
|
420
|
+
var UiBreadcrumbEllipsis = class UiBreadcrumbEllipsis {
|
|
421
|
+
userClass = input("", {
|
|
422
|
+
...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
|
|
423
|
+
alias: "class"
|
|
424
|
+
});
|
|
425
|
+
classes = computed(() => cn("flex size-5 items-center justify-center [&>svg]:size-4 [&>ui-icon]:size-4", this.userClass()), ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
426
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
427
|
+
minVersion: "12.0.0",
|
|
428
|
+
version: "22.2.2",
|
|
429
|
+
ngImport: i0,
|
|
430
|
+
type: UiBreadcrumbEllipsis,
|
|
431
|
+
deps: [],
|
|
432
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
433
|
+
});
|
|
434
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
435
|
+
minVersion: "17.1.0",
|
|
436
|
+
version: "22.2.2",
|
|
437
|
+
type: UiBreadcrumbEllipsis,
|
|
438
|
+
isStandalone: true,
|
|
439
|
+
selector: "span[uiBreadcrumbEllipsis], ui-breadcrumb-ellipsis",
|
|
440
|
+
inputs: { userClass: {
|
|
441
|
+
classPropertyName: "userClass",
|
|
442
|
+
publicName: "class",
|
|
443
|
+
isSignal: true,
|
|
444
|
+
isRequired: false,
|
|
445
|
+
transformFunction: null
|
|
446
|
+
} },
|
|
447
|
+
host: {
|
|
448
|
+
attributes: {
|
|
449
|
+
"role": "presentation",
|
|
450
|
+
"aria-hidden": "true",
|
|
451
|
+
"data-slot": "breadcrumb-ellipsis"
|
|
452
|
+
},
|
|
453
|
+
properties: { "attr.class": "classes()" }
|
|
454
|
+
},
|
|
455
|
+
hostDirectives: [{ directive: i1.UiElementHost }],
|
|
456
|
+
ngImport: i0,
|
|
457
|
+
template: `
|
|
458
|
+
<svg uiIcon="ellipsis"></svg>
|
|
459
|
+
<span class="sr-only">More</span>
|
|
460
|
+
`,
|
|
461
|
+
isInline: true,
|
|
462
|
+
dependencies: [{
|
|
463
|
+
kind: "directive",
|
|
464
|
+
type: UiIconSvg,
|
|
465
|
+
selector: "svg[uiIcon]",
|
|
466
|
+
inputs: [
|
|
467
|
+
"uiIcon",
|
|
468
|
+
"icon",
|
|
469
|
+
"size",
|
|
470
|
+
"strokeWidth",
|
|
471
|
+
"absoluteStrokeWidth",
|
|
472
|
+
"color",
|
|
473
|
+
"label",
|
|
474
|
+
"class"
|
|
475
|
+
]
|
|
476
|
+
}],
|
|
477
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
478
|
+
});
|
|
479
|
+
};
|
|
480
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
481
|
+
minVersion: "12.0.0",
|
|
482
|
+
version: "22.2.2",
|
|
483
|
+
ngImport: i0,
|
|
484
|
+
type: UiBreadcrumbEllipsis,
|
|
485
|
+
decorators: [{
|
|
486
|
+
type: Component,
|
|
487
|
+
args: [{
|
|
488
|
+
selector: "span[uiBreadcrumbEllipsis], ui-breadcrumb-ellipsis",
|
|
489
|
+
hostDirectives: [UiElementHost],
|
|
490
|
+
imports: [UiIconSvg],
|
|
491
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
492
|
+
host: {
|
|
493
|
+
role: "presentation",
|
|
494
|
+
"aria-hidden": "true",
|
|
495
|
+
"data-slot": "breadcrumb-ellipsis",
|
|
496
|
+
"[attr.class]": "classes()"
|
|
497
|
+
},
|
|
498
|
+
template: `
|
|
499
|
+
<svg uiIcon="ellipsis"></svg>
|
|
500
|
+
<span class="sr-only">More</span>
|
|
501
|
+
`
|
|
502
|
+
}]
|
|
503
|
+
}],
|
|
504
|
+
propDecorators: { userClass: [{
|
|
505
|
+
type: i0.Input,
|
|
506
|
+
args: [{
|
|
507
|
+
isSignal: true,
|
|
508
|
+
alias: "class",
|
|
509
|
+
required: false
|
|
510
|
+
}]
|
|
511
|
+
}] }
|
|
512
|
+
});
|
|
513
|
+
const UI_BREADCRUMB = [
|
|
514
|
+
...UI_BREADCRUMB_GENERATED,
|
|
515
|
+
UiBreadcrumbSeparator,
|
|
516
|
+
UiBreadcrumbEllipsis
|
|
517
|
+
];
|
|
518
|
+
export { UI_BREADCRUMB, UI_BREADCRUMB_GENERATED, UiBreadcrumb, UiBreadcrumbEllipsis, UiBreadcrumbItem, UiBreadcrumbLink, UiBreadcrumbList, UiBreadcrumbPage, UiBreadcrumbSeparator };
|
|
519
|
+
|
|
520
|
+
//# sourceMappingURL=loomui-ng-ui-breadcrumb.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loomui-ng-ui-breadcrumb.mjs","names":[],"sources":["../../../libs/ui/breadcrumb/breadcrumb.ts","../../../libs/ui/breadcrumb/breadcrumb.manual.ts"],"sourcesContent":["// GENERATED by tools/gen-ui.mjs from docs/evidence/slots/breadcrumb.json.\n// Change tools/ui-specs.mjs and regenerate; hand-written parts live in ./breadcrumb.manual.ts.\nimport { Directive, computed, input } from '@angular/core';\nimport { cn } from '@loomui-ng/ui/utils';\nimport { UiElementHost } from '@loomui-ng/ui/utils';\n\n@Directive({\n selector: 'nav[uiBreadcrumb], ui-breadcrumb', hostDirectives: [UiElementHost],\n host: {\n 'data-slot': 'breadcrumb',\n 'aria-label': 'breadcrumb',\n '[attr.class]': 'classes()',\n },\n})\nexport class UiBreadcrumb {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('', this.userClass()));\n}\n\n@Directive({\n selector: 'ol[uiBreadcrumbList], ui-breadcrumb-list', hostDirectives: [UiElementHost],\n host: {\n 'data-slot': 'breadcrumb-list',\n '[attr.class]': 'classes()',\n },\n})\nexport class UiBreadcrumbList {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('flex flex-wrap items-center gap-1.5 text-sm wrap-break-word text-muted-foreground', this.userClass()));\n}\n\n@Directive({\n selector: 'li[uiBreadcrumbItem], ui-breadcrumb-item', hostDirectives: [UiElementHost],\n host: {\n 'data-slot': 'breadcrumb-item',\n '[attr.class]': 'classes()',\n },\n})\nexport class UiBreadcrumbItem {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('inline-flex items-center gap-1', this.userClass()));\n}\n\n@Directive({\n selector: 'a[uiBreadcrumbLink], ui-breadcrumb-link', hostDirectives: [UiElementHost],\n host: {\n 'data-slot': 'breadcrumb-link',\n '[attr.class]': 'classes()',\n },\n})\nexport class UiBreadcrumbLink {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('transition-colors hover:text-foreground', this.userClass()));\n}\n\n@Directive({\n selector: 'span[uiBreadcrumbPage], ui-breadcrumb-page', hostDirectives: [UiElementHost],\n host: {\n 'data-slot': 'breadcrumb-page',\n 'role': 'link',\n 'aria-disabled': 'true',\n 'aria-current': 'page',\n '[attr.class]': 'classes()',\n },\n})\nexport class UiBreadcrumbPage {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('font-normal text-foreground', this.userClass()));\n}\n\nexport const UI_BREADCRUMB_GENERATED = [UiBreadcrumb, UiBreadcrumbList, UiBreadcrumbItem, UiBreadcrumbLink, UiBreadcrumbPage] as const;\n","import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport { cn } from '@loomui-ng/ui/utils';\nimport { UI_BREADCRUMB_GENERATED } from './breadcrumb';\nimport { UiIconSvg } from '@loomui-ng/ui/icon';\nimport { UiElementHost } from '@loomui-ng/ui/utils';\n\n/** <li uiBreadcrumbSeparator></li> — renders a chevron (mirrored in RTL). Pass custom content to replace it. */\n@Component({\n selector: 'li[uiBreadcrumbSeparator], ui-breadcrumb-separator', hostDirectives: [UiElementHost],\n imports: [UiIconSvg],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n role: 'presentation',\n 'aria-hidden': 'true',\n 'data-slot': 'breadcrumb-separator',\n '[attr.class]': 'classes()',\n },\n template: `\n <ng-content>\n <svg uiIcon=\"chevron-right\" class=\"rtl:rotate-180\"></svg>\n </ng-content>\n `,\n})\nexport class UiBreadcrumbSeparator {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() => cn('[&>svg]:size-3.5 [&>ui-icon]:size-3.5', this.userClass()));\n}\n\n/** <span uiBreadcrumbEllipsis></span> — \"…\" with an sr-only \"More\" label. */\n@Component({\n selector: 'span[uiBreadcrumbEllipsis], ui-breadcrumb-ellipsis', hostDirectives: [UiElementHost],\n imports: [UiIconSvg],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n role: 'presentation',\n 'aria-hidden': 'true',\n 'data-slot': 'breadcrumb-ellipsis',\n '[attr.class]': 'classes()',\n },\n template: `\n <svg uiIcon=\"ellipsis\"></svg>\n <span class=\"sr-only\">More</span>\n `,\n})\nexport class UiBreadcrumbEllipsis {\n readonly userClass = input<string>('', { alias: 'class' });\n protected readonly classes = computed(() =>\n cn('flex size-5 items-center justify-center [&>svg]:size-4 [&>ui-icon]:size-4', this.userClass()),\n );\n}\n\nexport const UI_BREADCRUMB = [...UI_BREADCRUMB_GENERATED, UiBreadcrumbSeparator, UiBreadcrumbEllipsis] as const;\n"],"mappings":";;;;;AAcA,IAAa,eAAb,MAAa,aAAY;CACd,YAAY,MAAc,IAAE;EAAA,GAAA,YAAA,EAAA,WAAA,YAAA,+BAAA,CAAA;EAAI,OAAO;CAAO,CAAA;CACpC,UAAU,eAAe,GAAG,IAAI,KAAK,UAAS,CAAE,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAF1D,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAY,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAZ,O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