@4sh/ui-kit 0.3.0 → 0.5.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.
- package/README.fr.md +107 -62
- package/README.md +101 -59
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +4 -4
- package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +7 -6
- package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +4 -4
- package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +7 -7
- package/fesm2022/4sh-ui-kit-base-ui-icon.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs +11 -8
- package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +32 -12
- package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +51 -15
- package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +13 -9
- package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +6 -6
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +5 -5
- package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +6 -6
- package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +8 -4
- package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +24 -9
- package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +4 -4
- package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +3 -3
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +4 -4
- package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +4 -8
- package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +4 -8
- package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +11 -6
- package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +29 -15
- package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +8 -9
- package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +13 -6
- package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +6 -4
- package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-forms.mjs +16 -16
- package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +12 -12
- package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +9 -9
- package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +4 -4
- package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +5 -4
- package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +4 -4
- package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +3 -3
- package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +10 -10
- package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +30 -14
- package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +15 -15
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +4 -4
- package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +4 -4
- package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +23 -7
- package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-motion.mjs +3 -3
- package/fesm2022/4sh-ui-kit-motion.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +10 -5
- package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +3 -3
- package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +79 -14
- package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +15 -13
- package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +29 -21
- package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +15 -15
- package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +4 -4
- package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs +55 -42
- package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
- package/fesm2022/4sh-ui-kit-theming.mjs +7 -7
- package/fesm2022/4sh-ui-kit-theming.mjs.map +1 -1
- package/mcp/LICENSE +201 -0
- package/mcp/data/text-search-docs.json +7016 -0
- package/mcp/data/ui-config.json +16960 -0
- package/mcp/index.js +33018 -0
- package/mcp/package.json +19 -0
- package/package.json +1 -1
- package/schematics/index.cjs +28 -18
- package/styles/base/_base.scss +1 -1
- package/styles/generated/_tokens-semantics.scss +8 -8
- package/styles/generated/_tokens-typography.scss +4 -4
- package/styles/index.scss +4 -1
- package/styles.css +1 -1
|
@@ -131,12 +131,12 @@ class UiButtonSplit {
|
|
|
131
131
|
this.dropdownClick.emit(event);
|
|
132
132
|
this.menu()?.toggle(event);
|
|
133
133
|
}
|
|
134
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.
|
|
135
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.
|
|
134
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiButtonSplit, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
135
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.2", type: UiButtonSplit, isStandalone: true, selector: "ui-button-split", inputs: { model: { classPropertyName: "model", publicName: "model", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconPos: { classPropertyName: "iconPos", publicName: "iconPos", isSignal: true, isRequired: false, transformFunction: null }, dropdownIcon: { classPropertyName: "dropdownIcon", publicName: "dropdownIcon", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, onColor: { classPropertyName: "onColor", publicName: "onColor", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, buttonDisabled: { classPropertyName: "buttonDisabled", publicName: "buttonDisabled", isSignal: true, isRequired: false, transformFunction: null }, menuButtonDisabled: { classPropertyName: "menuButtonDisabled", publicName: "menuButtonDisabled", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, menuButtonAriaLabel: { classPropertyName: "menuButtonAriaLabel", publicName: "menuButtonAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, menuAriaLabel: { classPropertyName: "menuAriaLabel", publicName: "menuAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, menuLevel: { classPropertyName: "menuLevel", publicName: "menuLevel", isSignal: true, isRequired: false, transformFunction: null }, menuStyleClass: { classPropertyName: "menuStyleClass", publicName: "menuStyleClass", isSignal: true, isRequired: false, transformFunction: null }, autoFlip: { classPropertyName: "autoFlip", publicName: "autoFlip", isSignal: true, isRequired: false, transformFunction: null }, motion: { classPropertyName: "motion", publicName: "motion", isSignal: true, isRequired: false, transformFunction: null }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: true, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { buttonClick: "buttonClick", dropdownClick: "dropdownClick", menuShow: "menuShow", menuHide: "menuHide", itemClick: "itemClick" }, viewQueries: [{ propertyName: "actionButton", first: true, predicate: ["action"], descendants: true, isSignal: true }, { propertyName: "menu", first: true, predicate: ["menu"], descendants: true, isSignal: true }], ngImport: i0, template: "<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", styles: [".ui-button-split{display:inline-flex;align-items:stretch}.ui-button-split-action,.ui-button-split-trigger{position:relative}.ui-button-split-action:hover,.ui-button-split-action:focus-within,.ui-button-split-trigger:hover,.ui-button-split-trigger:focus-within{z-index:1}.ui-button-split-action{--ui-button-radius: var(--radius-sm) 0 0 var(--radius-sm)}.ui-button-split-trigger{--ui-button-radius: 0 var(--radius-sm) var(--radius-sm) 0;margin-left:calc(-1 * var(--ui-button-split-stroke-width, var(--ui-control-stroke-width, var(--stroke-default))))}\n"], dependencies: [{ kind: "component", type: UiButton, selector: "ui-button", inputs: ["label", "ariaLabel", "type", "level", "variant", "onColor", "size", "icon", "iconPos", "iconOnly", "loading", "loadingIcon", "expanded", "rounded", "disabled", "tabindex", "buttonProps", "iconTemplate", "loadingIconTemplate", "href", "routerLink", "target", "rel"], outputs: ["buttonClick", "buttonFocus", "buttonBlur"] }, { kind: "component", type: UiMenu, selector: "ui-menu", inputs: ["items", "popup", "expandedKeys", "ariaLabel", "ariaLabelledBy", "styleClass", "level", "size", "submenus", "motion", "autoFlip", "tabindex", "itemTemplate", "submenuHeaderTemplate"], outputs: ["expandedKeysChange", "opened", "closed", "itemClick"] }] }); }
|
|
136
136
|
}
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiButtonSplit, decorators: [{
|
|
138
138
|
type: Component,
|
|
139
|
-
args: [{ selector: 'ui-button-split', imports: [UiButton, UiMenu], template: "<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]=\"{
|
|
139
|
+
args: [{ selector: 'ui-button-split', imports: [UiButton, UiMenu], template: "<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", styles: [".ui-button-split{display:inline-flex;align-items:stretch}.ui-button-split-action,.ui-button-split-trigger{position:relative}.ui-button-split-action:hover,.ui-button-split-action:focus-within,.ui-button-split-trigger:hover,.ui-button-split-trigger:focus-within{z-index:1}.ui-button-split-action{--ui-button-radius: var(--radius-sm) 0 0 var(--radius-sm)}.ui-button-split-trigger{--ui-button-radius: 0 var(--radius-sm) var(--radius-sm) 0;margin-left:calc(-1 * var(--ui-button-split-stroke-width, var(--ui-control-stroke-width, var(--stroke-default))))}\n"] }]
|
|
140
140
|
}], propDecorators: { model: [{ type: i0.Input, args: [{ isSignal: true, alias: "model", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], iconPos: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconPos", required: false }] }], dropdownIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "dropdownIcon", required: false }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], onColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "onColor", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], buttonDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonDisabled", required: false }] }], menuButtonDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuButtonDisabled", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], menuButtonAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuButtonAriaLabel", required: false }] }], menuAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuAriaLabel", required: false }] }], menuLevel: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuLevel", required: false }] }], menuStyleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuStyleClass", required: false }] }], autoFlip: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoFlip", required: false }] }], motion: [{ type: i0.Input, args: [{ isSignal: true, alias: "motion", required: false }] }], tabindex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabindex", required: false }] }], buttonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonProps", required: false }] }], buttonClick: [{ type: i0.Output, args: ["buttonClick"] }], dropdownClick: [{ type: i0.Output, args: ["dropdownClick"] }], menuShow: [{ type: i0.Output, args: ["menuShow"] }], menuHide: [{ type: i0.Output, args: ["menuHide"] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }], actionButton: [{ type: i0.ViewChild, args: ['action', { isSignal: true }] }], menu: [{ type: i0.ViewChild, args: ['menu', { isSignal: true }] }] } });
|
|
141
141
|
|
|
142
142
|
/*
|
|
@@ -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 { booleanAttribute, Component, computed, input, output, signal, viewChild } 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]=\"{ 'aria-haspopup': 'menu', 'aria-expanded': menuOpen() ? 'true' : 'false', 'aria-controls': menu.uid }\"\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":";;;;;AAoBA;;;;;;;;;;;;;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;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AAA,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;;AEpGlD;;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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