@radix-ng/primitives 0.42.0 → 0.44.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/accordion/index.d.ts +160 -15
- package/alert-dialog/index.d.ts +54 -14
- package/arrow/README.md +1 -0
- package/arrow/index.d.ts +11 -0
- package/aspect-ratio/index.d.ts +35 -1
- package/avatar/index.d.ts +81 -11
- package/calendar/index.d.ts +310 -29
- package/checkbox/index.d.ts +163 -15
- package/collapsible/index.d.ts +82 -11
- package/config/index.d.ts +35 -2
- package/context-menu/index.d.ts +126 -23
- package/core/index.d.ts +898 -27
- package/cropper/index.d.ts +134 -14
- package/date-field/index.d.ts +209 -10
- package/dialog/index.d.ts +202 -20
- package/dismissable-layer/README.md +1 -0
- package/dismissable-layer/index.d.ts +126 -0
- package/dropdown-menu/index.d.ts +168 -23
- package/editable/index.d.ts +70 -1
- package/fesm2022/radix-ng-primitives-accordion.mjs +36 -36
- package/fesm2022/radix-ng-primitives-accordion.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-alert-dialog.mjs +28 -28
- package/fesm2022/radix-ng-primitives-alert-dialog.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-arrow.mjs +38 -0
- package/fesm2022/radix-ng-primitives-arrow.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-aspect-ratio.mjs +5 -5
- package/fesm2022/radix-ng-primitives-aspect-ratio.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-avatar.mjs +20 -20
- package/fesm2022/radix-ng-primitives-avatar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-calendar.mjs +110 -95
- package/fesm2022/radix-ng-primitives-calendar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-checkbox.mjs +219 -209
- package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-collapsible.mjs +27 -27
- package/fesm2022/radix-ng-primitives-collapsible.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-config.mjs +5 -5
- package/fesm2022/radix-ng-primitives-config.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-context-menu.mjs +34 -34
- package/fesm2022/radix-ng-primitives-context-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-core.mjs +72 -24
- package/fesm2022/radix-ng-primitives-core.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-cropper.mjs +51 -51
- package/fesm2022/radix-ng-primitives-cropper.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-date-field.mjs +48 -48
- package/fesm2022/radix-ng-primitives-date-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dialog.mjs +33 -33
- package/fesm2022/radix-ng-primitives-dialog.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-dismissable-layer.mjs +418 -0
- package/fesm2022/radix-ng-primitives-dismissable-layer.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-dropdown-menu.mjs +37 -37
- package/fesm2022/radix-ng-primitives-dropdown-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-editable.mjs +21 -21
- package/fesm2022/radix-ng-primitives-editable.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-focus-guards.mjs +53 -0
- package/fesm2022/radix-ng-primitives-focus-guards.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-focus-scope.mjs +17 -9
- package/fesm2022/radix-ng-primitives-focus-scope.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-hover-card.mjs +74 -74
- package/fesm2022/radix-ng-primitives-hover-card.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-label.mjs +8 -8
- package/fesm2022/radix-ng-primitives-label.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-menu.mjs +65 -65
- package/fesm2022/radix-ng-primitives-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-menubar.mjs +31 -31
- package/fesm2022/radix-ng-primitives-menubar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-navigation-menu.mjs +91 -88
- package/fesm2022/radix-ng-primitives-navigation-menu.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-number-field.mjs +56 -43
- package/fesm2022/radix-ng-primitives-number-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-pagination.mjs +45 -45
- package/fesm2022/radix-ng-primitives-pagination.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-popover.mjs +68 -68
- package/fesm2022/radix-ng-primitives-popover.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-popper.mjs +418 -0
- package/fesm2022/radix-ng-primitives-popper.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-portal.mjs +51 -0
- package/fesm2022/radix-ng-primitives-portal.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-presence.mjs +4 -4
- package/fesm2022/radix-ng-primitives-presence.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-progress.mjs +15 -15
- package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-radio.mjs +30 -30
- package/fesm2022/radix-ng-primitives-radio.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-roving-focus.mjs +179 -163
- package/fesm2022/radix-ng-primitives-roving-focus.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-select.mjs +37 -37
- package/fesm2022/radix-ng-primitives-select.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-separator.mjs +16 -14
- package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-slider.mjs +75 -75
- package/fesm2022/radix-ng-primitives-slider.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-stepper.mjs +45 -45
- package/fesm2022/radix-ng-primitives-stepper.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-switch.mjs +28 -28
- package/fesm2022/radix-ng-primitives-switch.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tabs.mjs +33 -33
- package/fesm2022/radix-ng-primitives-tabs.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-time-field.mjs +78 -66
- package/fesm2022/radix-ng-primitives-time-field.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toggle-group.mjs +22 -22
- package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toggle.mjs +9 -9
- package/fesm2022/radix-ng-primitives-toggle.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-toolbar.mjs +28 -28
- package/fesm2022/radix-ng-primitives-toolbar.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tooltip.mjs +74 -74
- package/fesm2022/radix-ng-primitives-tooltip.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tooltip2.mjs +740 -0
- package/fesm2022/radix-ng-primitives-tooltip2.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-visually-hidden.mjs +93 -98
- package/fesm2022/radix-ng-primitives-visually-hidden.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives.mjs.map +1 -1
- package/focus-guards/README.md +1 -0
- package/focus-guards/index.d.ts +15 -0
- package/focus-scope/index.d.ts +65 -1
- package/hover-card/index.d.ts +471 -19
- package/index.d.ts +2 -1
- package/label/index.d.ts +27 -1
- package/menu/index.d.ts +136 -26
- package/menubar/index.d.ts +53 -21
- package/navigation-menu/index.d.ts +402 -25
- package/number-field/index.d.ts +202 -16
- package/package.json +26 -5
- package/pagination/index.d.ts +96 -20
- package/popover/index.d.ts +402 -19
- package/popper/README.md +3 -0
- package/popper/index.d.ts +206 -0
- package/portal/README.md +1 -0
- package/portal/index.d.ts +22 -0
- package/presence/index.d.ts +103 -5
- package/progress/index.d.ts +76 -8
- package/radio/index.d.ts +118 -4
- package/roving-focus/index.d.ts +174 -3
- package/select/index.d.ts +211 -23
- package/separator/index.d.ts +63 -1
- package/slider/index.d.ts +262 -17
- package/stepper/index.d.ts +122 -21
- package/switch/index.d.ts +102 -9
- package/tabs/index.d.ts +111 -13
- package/time-field/index.d.ts +211 -10
- package/toggle/index.d.ts +75 -3
- package/toggle-group/index.d.ts +194 -5
- package/toolbar/index.d.ts +52 -16
- package/tooltip/index.d.ts +432 -19
- package/tooltip2/README.md +3 -0
- package/tooltip2/index.d.ts +325 -0
- package/visually-hidden/index.d.ts +65 -3
- package/accordion/src/accordion-content-presence.directive.d.ts +0 -6
- package/accordion/src/accordion-content.directive.d.ts +0 -8
- package/accordion/src/accordion-header.directive.d.ts +0 -7
- package/accordion/src/accordion-item.directive.d.ts +0 -43
- package/accordion/src/accordion-root.directive.d.ts +0 -83
- package/accordion/src/accordion-trigger.directive.d.ts +0 -10
- package/alert-dialog/src/alert-dialog-cancel.directive.d.ts +0 -7
- package/alert-dialog/src/alert-dialog-content.directive.d.ts +0 -9
- package/alert-dialog/src/alert-dialog-root.directive.d.ts +0 -9
- package/alert-dialog/src/alert-dialog-title.directive.d.ts +0 -5
- package/alert-dialog/src/alert-dialog-trigger.directive.d.ts +0 -7
- package/alert-dialog/src/alert-dialog.service.d.ts +0 -14
- package/aspect-ratio/src/aspect-ratio.directive.d.ts +0 -32
- package/avatar/src/avatar-context.token.d.ts +0 -7
- package/avatar/src/avatar-fallback.directive.d.ts +0 -20
- package/avatar/src/avatar-image.directive.d.ts +0 -29
- package/avatar/src/avatar-root.directive.d.ts +0 -8
- package/avatar/src/avatar.config.d.ts +0 -13
- package/avatar/src/types.d.ts +0 -2
- package/calendar/src/calendar-cell-trigger.directive.d.ts +0 -54
- package/calendar/src/calendar-cell.directive.d.ts +0 -11
- package/calendar/src/calendar-grid-body.directive.d.ts +0 -5
- package/calendar/src/calendar-grid-head.directive.d.ts +0 -5
- package/calendar/src/calendar-grid-row.directive.d.ts +0 -5
- package/calendar/src/calendar-grid.directive.d.ts +0 -8
- package/calendar/src/calendar-head-cell.directive.d.ts +0 -5
- package/calendar/src/calendar-header.directive.d.ts +0 -5
- package/calendar/src/calendar-heading.directive.d.ts +0 -7
- package/calendar/src/calendar-next.directive.d.ts +0 -16
- package/calendar/src/calendar-prev.directive.d.ts +0 -16
- package/calendar/src/calendar-root.directive.d.ts +0 -148
- package/calendar/src/calendar.d.ts +0 -44
- package/calendar/src//321/201alendar-/321/201ontext.token.d.ts +0 -24
- package/checkbox/src/checkbox-button.directive.d.ts +0 -8
- package/checkbox/src/checkbox-indicator.directive.d.ts +0 -6
- package/checkbox/src/checkbox-input.directive.d.ts +0 -10
- package/checkbox/src/checkbox.directive.d.ts +0 -86
- package/checkbox/src/checkbox.token.d.ts +0 -4
- package/collapsible/src/collapsible-content-presence.directive.d.ts +0 -6
- package/collapsible/src/collapsible-content.directive.d.ts +0 -18
- package/collapsible/src/collapsible-root.directive.d.ts +0 -44
- package/collapsible/src/collapsible-trigger.directive.d.ts +0 -6
- package/config/src/config.d.ts +0 -21
- package/config/src/config.provider.d.ts +0 -10
- package/context-menu/src/context-menu-content.directive.d.ts +0 -15
- package/context-menu/src/context-menu-item-checkbox.directive.d.ts +0 -9
- package/context-menu/src/context-menu-item-indicator.directive.d.ts +0 -7
- package/context-menu/src/context-menu-item-radio-group.directive.d.ts +0 -12
- package/context-menu/src/context-menu-item-radio.directive.d.ts +0 -19
- package/context-menu/src/context-menu-item-selectable.d.ts +0 -12
- package/context-menu/src/context-menu-item.directive.d.ts +0 -17
- package/context-menu/src/context-menu-label.directive.d.ts +0 -5
- package/context-menu/src/context-menu-separator.directive.d.ts +0 -6
- package/context-menu/src/context-menu-trigger.directive.d.ts +0 -31
- package/core/src/accessor/control-value-accessor.d.ts +0 -67
- package/core/src/accessor/provide-value-accessor.d.ts +0 -12
- package/core/src/auto-focus.directive.d.ts +0 -14
- package/core/src/chunk.d.ts +0 -12
- package/core/src/clamp.d.ts +0 -38
- package/core/src/create-context.d.ts +0 -10
- package/core/src/date-time/calendar.d.ts +0 -33
- package/core/src/date-time/comparators.d.ts +0 -98
- package/core/src/date-time/formatter.d.ts +0 -30
- package/core/src/date-time/index.d.ts +0 -9
- package/core/src/date-time/parser.d.ts +0 -37
- package/core/src/date-time/parts.d.ts +0 -12
- package/core/src/date-time/placeholders.d.ts +0 -8
- package/core/src/date-time/segment.d.ts +0 -4
- package/core/src/date-time/types.d.ts +0 -58
- package/core/src/date-time/useDateField.d.ts +0 -142
- package/core/src/date-time/utils.d.ts +0 -7
- package/core/src/document.d.ts +0 -1
- package/core/src/focus-initial.directive.d.ts +0 -9
- package/core/src/getActiveElement.d.ts +0 -1
- package/core/src/id-generator.d.ts +0 -12
- package/core/src/inject-ng-control.d.ts +0 -8
- package/core/src/is-client.d.ts +0 -1
- package/core/src/is-equal.d.ts +0 -7
- package/core/src/is-inside-form.d.ts +0 -2
- package/core/src/is-nullish.d.ts +0 -1
- package/core/src/is-number.d.ts +0 -1
- package/core/src/isValueEqualOrExist.d.ts +0 -10
- package/core/src/kbd-constants.d.ts +0 -41
- package/core/src/positioning/constants.d.ts +0 -3
- package/core/src/positioning/types.d.ts +0 -42
- package/core/src/positioning/utils.d.ts +0 -12
- package/core/src/provide-token.d.ts +0 -22
- package/core/src/serialize.d.ts +0 -11
- package/core/src/types.d.ts +0 -25
- package/core/src/useArrowNavigation.d.ts +0 -65
- package/core/src/useResizeObserver.d.ts +0 -15
- package/core/src/watch.d.ts +0 -41
- package/core/src/window.d.ts +0 -3
- package/cropper/src/cropper-context.token.d.ts +0 -12
- package/cropper/src/cropper-crop-area.directive.d.ts +0 -6
- package/cropper/src/cropper-description.directive.d.ts +0 -6
- package/cropper/src/cropper-image.component.d.ts +0 -10
- package/cropper/src/cropper-root.directive.d.ts +0 -91
- package/date-field/src/date-field-context.token.d.ts +0 -19
- package/date-field/src/date-field-input.directive.d.ts +0 -53
- package/date-field/src/date-field-root.directive.d.ts +0 -131
- package/dialog/src/dialog-close.directive.d.ts +0 -7
- package/dialog/src/dialog-content.directive.d.ts +0 -21
- package/dialog/src/dialog-description.directive.d.ts +0 -5
- package/dialog/src/dialog-dismiss.directive.d.ts +0 -7
- package/dialog/src/dialog-ref.d.ts +0 -40
- package/dialog/src/dialog-title.directive.d.ts +0 -5
- package/dialog/src/dialog-trigger.directive.d.ts +0 -28
- package/dialog/src/dialog.config.d.ts +0 -41
- package/dialog/src/dialog.injectors.d.ts +0 -4
- package/dialog/src/dialog.providers.d.ts +0 -19
- package/dialog/src/dialog.service.d.ts +0 -26
- package/dismissible-layer/README.md +0 -1
- package/dismissible-layer/index.d.ts +0 -1
- package/dismissible-layer/src/utils.d.ts +0 -38
- package/dropdown-menu/src/dropdown-menu-content.directive.d.ts +0 -15
- package/dropdown-menu/src/dropdown-menu-item-checkbox.directive.d.ts +0 -9
- package/dropdown-menu/src/dropdown-menu-item-indicator.directive.d.ts +0 -7
- package/dropdown-menu/src/dropdown-menu-item-radio-group.directive.d.ts +0 -12
- package/dropdown-menu/src/dropdown-menu-item-radio.directive.d.ts +0 -19
- package/dropdown-menu/src/dropdown-menu-item-selectable.d.ts +0 -12
- package/dropdown-menu/src/dropdown-menu-item.directive.d.ts +0 -17
- package/dropdown-menu/src/dropdown-menu-label.directive.d.ts +0 -6
- package/dropdown-menu/src/dropdown-menu-separator.directive.d.ts +0 -6
- package/dropdown-menu/src/dropdown-menu-trigger.directive.d.ts +0 -73
- package/editable/src/editable-root.d.ts +0 -67
- package/fesm2022/radix-ng-primitives-dismissible-layer.mjs +0 -211
- package/fesm2022/radix-ng-primitives-dismissible-layer.mjs.map +0 -1
- package/focus-scope/src/focus-scope.d.ts +0 -53
- package/focus-scope/src/stack.d.ts +0 -13
- package/focus-scope/src/utils.d.ts +0 -46
- package/hover-card/src/hover-card-anchor.directive.d.ts +0 -28
- package/hover-card/src/hover-card-anchor.token.d.ts +0 -3
- package/hover-card/src/hover-card-arrow.directive.d.ts +0 -45
- package/hover-card/src/hover-card-arrow.token.d.ts +0 -3
- package/hover-card/src/hover-card-close.directive.d.ts +0 -18
- package/hover-card/src/hover-card-close.token.d.ts +0 -3
- package/hover-card/src/hover-card-content-attributes.component.d.ts +0 -25
- package/hover-card/src/hover-card-content-attributes.token.d.ts +0 -3
- package/hover-card/src/hover-card-content.directive.d.ts +0 -124
- package/hover-card/src/hover-card-root.directive.d.ts +0 -182
- package/hover-card/src/hover-card-root.inject.d.ts +0 -3
- package/hover-card/src/hover-card-trigger.directive.d.ts +0 -26
- package/hover-card/src/hover-card.types.d.ts +0 -18
- package/hover-card/src/utils/cdk-event.service.d.ts +0 -30
- package/hover-card/src/utils/constants.d.ts +0 -1
- package/hover-card/src/utils/types.d.ts +0 -7
- package/label/src/label.directive.d.ts +0 -24
- package/menu/src/menu-content.directive.d.ts +0 -6
- package/menu/src/menu-directive.d.ts +0 -6
- package/menu/src/menu-group.directive.d.ts +0 -6
- package/menu/src/menu-item-checkbox.directive.d.ts +0 -21
- package/menu/src/menu-item-indicator.directive.d.ts +0 -10
- package/menu/src/menu-item-radio.directive.d.ts +0 -20
- package/menu/src/menu-item.directive.d.ts +0 -18
- package/menu/src/menu-label.directive.d.ts +0 -5
- package/menu/src/menu-radio-group.directive.d.ts +0 -6
- package/menu/src/menu-separator.directive.d.ts +0 -5
- package/menu/src/menu-trigger.directive.d.ts +0 -35
- package/menu/src/utils.d.ts +0 -3
- package/menubar/src/menubar-content.directive.d.ts +0 -6
- package/menubar/src/menubar-item-checkbox.directive.d.ts +0 -6
- package/menubar/src/menubar-item-indicator.directive.d.ts +0 -6
- package/menubar/src/menubar-item-radio.directive.d.ts +0 -6
- package/menubar/src/menubar-item.directive.d.ts +0 -6
- package/menubar/src/menubar-radio-group.directive.d.ts +0 -6
- package/menubar/src/menubar-root.directive.d.ts +0 -6
- package/menubar/src/menubar-separator.directive.d.ts +0 -6
- package/menubar/src/menubar-trigger.directive.d.ts +0 -6
- package/navigation-menu/src/navigation-menu-a11y.component.d.ts +0 -15
- package/navigation-menu/src/navigation-menu-content.directive.d.ts +0 -31
- package/navigation-menu/src/navigation-menu-indicator.directive.d.ts +0 -29
- package/navigation-menu/src/navigation-menu-item.directive.d.ts +0 -44
- package/navigation-menu/src/navigation-menu-link.directive.d.ts +0 -17
- package/navigation-menu/src/navigation-menu-list.directive.d.ts +0 -38
- package/navigation-menu/src/navigation-menu-sub.directive.d.ts +0 -19
- package/navigation-menu/src/navigation-menu-trigger.directive.d.ts +0 -33
- package/navigation-menu/src/navigation-menu-viewport.directive.d.ts +0 -61
- package/navigation-menu/src/navigation-menu.directive.d.ts +0 -76
- package/navigation-menu/src/navigation-menu.token.d.ts +0 -36
- package/navigation-menu/src/navigation-menu.types.d.ts +0 -13
- package/navigation-menu/src/utils.d.ts +0 -44
- package/number-field/src/number-field-context.token.d.ts +0 -24
- package/number-field/src/number-field-decrement.directive.d.ts +0 -23
- package/number-field/src/number-field-increment.directive.d.ts +0 -23
- package/number-field/src/number-field-input.directive.d.ts +0 -22
- package/number-field/src/number-field-root.directive.d.ts +0 -86
- package/number-field/src/types.d.ts +0 -1
- package/number-field/src/utils.d.ts +0 -18
- package/pagination/src/pagination-context.token.d.ts +0 -11
- package/pagination/src/pagination-ellipsis.directive.d.ts +0 -5
- package/pagination/src/pagination-first.directive.d.ts +0 -8
- package/pagination/src/pagination-last.directive.d.ts +0 -8
- package/pagination/src/pagination-list-item.directive.d.ts +0 -10
- package/pagination/src/pagination-list.directive.d.ts +0 -12
- package/pagination/src/pagination-next.directive.d.ts +0 -8
- package/pagination/src/pagination-prev.directive.d.ts +0 -8
- package/pagination/src/pagination-root.directive.d.ts +0 -18
- package/pagination/src/utils.d.ts +0 -9
- package/popover/src/popover-anchor.directive.d.ts +0 -28
- package/popover/src/popover-anchor.token.d.ts +0 -3
- package/popover/src/popover-arrow.directive.d.ts +0 -40
- package/popover/src/popover-arrow.token.d.ts +0 -3
- package/popover/src/popover-close.directive.d.ts +0 -15
- package/popover/src/popover-close.token.d.ts +0 -3
- package/popover/src/popover-content-attributes.component.d.ts +0 -23
- package/popover/src/popover-content-attributes.token.d.ts +0 -3
- package/popover/src/popover-content.directive.d.ts +0 -104
- package/popover/src/popover-root.directive.d.ts +0 -155
- package/popover/src/popover-root.inject.d.ts +0 -3
- package/popover/src/popover-trigger.directive.d.ts +0 -18
- package/popover/src/popover.types.d.ts +0 -14
- package/popover/src/utils/cdk-event.service.d.ts +0 -30
- package/popover/src/utils/constants.d.ts +0 -1
- package/popover/src/utils/types.d.ts +0 -7
- package/presence/src/presence.d.ts +0 -42
- package/presence/src/presence.directive.d.ts +0 -27
- package/presence/src/transitions/transition.collapse.d.ts +0 -15
- package/presence/src/transitions/transition.toast.d.ts +0 -3
- package/presence/src/types.d.ts +0 -15
- package/presence/src/utils.d.ts +0 -42
- package/progress/src/progress-indicator.directive.d.ts +0 -15
- package/progress/src/progress-root.directive.d.ts +0 -54
- package/radio/src/radio-indicator.directive.d.ts +0 -9
- package/radio/src/radio-item-input.directive.d.ts +0 -12
- package/radio/src/radio-item.directive.d.ts +0 -30
- package/radio/src/radio-root.directive.d.ts +0 -57
- package/radio/src/radio-tokens.d.ts +0 -14
- package/roving-focus/src/roving-focus-group.directive.d.ts +0 -50
- package/roving-focus/src/roving-focus-item.directive.d.ts +0 -50
- package/roving-focus/src/utils.d.ts +0 -19
- package/select/src/select-content.directive.d.ts +0 -20
- package/select/src/select-group.directive.d.ts +0 -5
- package/select/src/select-icon.directive.d.ts +0 -5
- package/select/src/select-item-indicator.directive.d.ts +0 -7
- package/select/src/select-item.directive.d.ts +0 -53
- package/select/src/select-label.directive.d.ts +0 -5
- package/select/src/select-separator.directive.d.ts +0 -5
- package/select/src/select-trigger.directive.d.ts +0 -17
- package/select/src/select-value.directive.d.ts +0 -8
- package/select/src/select.component.d.ts +0 -98
- package/separator/src/separator.directive.d.ts +0 -60
- package/slider/src/slider-horizontal.component.d.ts +0 -28
- package/slider/src/slider-impl.directive.d.ts +0 -17
- package/slider/src/slider-orientation-context.service.d.ts +0 -14
- package/slider/src/slider-range.component.d.ts +0 -13
- package/slider/src/slider-root.component.d.ts +0 -123
- package/slider/src/slider-thumb-impl.directive.d.ts +0 -27
- package/slider/src/slider-thumb.component.d.ts +0 -6
- package/slider/src/slider-track.component.d.ts +0 -7
- package/slider/src/slider-vertical.component.d.ts +0 -28
- package/slider/src/utils.d.ts +0 -52
- package/stepper/src/stepper-description.directive.d.ts +0 -6
- package/stepper/src/stepper-indicator.directive.d.ts +0 -6
- package/stepper/src/stepper-item-context.token.d.ts +0 -13
- package/stepper/src/stepper-item.directive.d.ts +0 -21
- package/stepper/src/stepper-root-context.token.d.ts +0 -12
- package/stepper/src/stepper-root.directive.d.ts +0 -33
- package/stepper/src/stepper-separator.directive.d.ts +0 -10
- package/stepper/src/stepper-title.directive.d.ts +0 -6
- package/stepper/src/stepper-trigger.directive.d.ts +0 -14
- package/stepper/src/types.d.ts +0 -1
- package/switch/src/switch-input.directive.d.ts +0 -11
- package/switch/src/switch-root.directive.d.ts +0 -74
- package/switch/src/switch-thumb.directive.d.ts +0 -9
- package/tabs/src/tabs-content.directive.d.ts +0 -13
- package/tabs/src/tabs-list.directive.d.ts +0 -10
- package/tabs/src/tabs-root.directive.d.ts +0 -53
- package/tabs/src/tabs-trigger.directive.d.ts +0 -29
- package/tabs/src/utils.d.ts +0 -2
- package/time-field/src/time-field-context.token.d.ts +0 -20
- package/time-field/src/time-field-input.directive.d.ts +0 -53
- package/time-field/src/time-field-root.directive.d.ts +0 -130
- package/toggle/src/toggle-visually-hidden-input.directive.d.ts +0 -6
- package/toggle/src/toggle.directive.d.ts +0 -65
- package/toggle-group/src/toggle-group-item.directive.d.ts +0 -37
- package/toggle-group/src/toggle-group-item.token.d.ts +0 -4
- package/toggle-group/src/toggle-group-without-focus.directive.d.ts +0 -69
- package/toggle-group/src/toggle-group.directive.d.ts +0 -74
- package/toggle-group/src/toggle-group.token.d.ts +0 -10
- package/toolbar/src/toolbar-button.directive.d.ts +0 -11
- package/toolbar/src/toolbar-link.directive.d.ts +0 -7
- package/toolbar/src/toolbar-root.directive.d.ts +0 -8
- package/toolbar/src/toolbar-root.token.d.ts +0 -5
- package/toolbar/src/toolbar-separator.directive.d.ts +0 -6
- package/toolbar/src/toolbar-toggle-group.directive.d.ts +0 -6
- package/toolbar/src/toolbar-toggle-item.directive.d.ts +0 -6
- package/tooltip/src/tooltip-anchor.directive.d.ts +0 -28
- package/tooltip/src/tooltip-anchor.token.d.ts +0 -3
- package/tooltip/src/tooltip-arrow.directive.d.ts +0 -40
- package/tooltip/src/tooltip-arrow.token.d.ts +0 -3
- package/tooltip/src/tooltip-close.directive.d.ts +0 -18
- package/tooltip/src/tooltip-close.token.d.ts +0 -3
- package/tooltip/src/tooltip-content-attributes.component.d.ts +0 -25
- package/tooltip/src/tooltip-content-attributes.token.d.ts +0 -3
- package/tooltip/src/tooltip-content.directive.d.ts +0 -104
- package/tooltip/src/tooltip-root.directive.d.ts +0 -168
- package/tooltip/src/tooltip-root.inject.d.ts +0 -3
- package/tooltip/src/tooltip-trigger.directive.d.ts +0 -26
- package/tooltip/src/tooltip.types.d.ts +0 -18
- package/tooltip/src/utils/cdk-event.service.d.ts +0 -30
- package/tooltip/src/utils/constants.d.ts +0 -1
- package/tooltip/src/utils/types.d.ts +0 -7
- package/visually-hidden/src/visually-hidden-input-bubble.directive.d.ts +0 -23
- package/visually-hidden/src/visually-hidden-input.directive.d.ts +0 -19
- package/visually-hidden/src/visually-hidden.directive.d.ts +0 -17
package/roving-focus/index.d.ts
CHANGED
|
@@ -1,3 +1,174 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
+
|
|
4
|
+
type Orientation = 'horizontal' | 'vertical';
|
|
5
|
+
type Direction = 'ltr' | 'rtl';
|
|
6
|
+
|
|
7
|
+
declare const rootContext: () => {
|
|
8
|
+
loop: _angular_core.Signal<boolean>;
|
|
9
|
+
dir: _angular_core.Signal<Direction>;
|
|
10
|
+
orientation: _angular_core.Signal<Orientation>;
|
|
11
|
+
currentTabStopId: _angular_core.ModelSignal<string | undefined>;
|
|
12
|
+
focusableItems: _angular_core.WritableSignal<HTMLElement[]>;
|
|
13
|
+
onItemFocus: (tabStopId: string) => void;
|
|
14
|
+
onItemShiftTab: () => void;
|
|
15
|
+
onFocusableItemAdd: () => void;
|
|
16
|
+
onFocusableItemRemove: () => void;
|
|
17
|
+
registerItem: (item: HTMLElement) => void;
|
|
18
|
+
unregisterItem: (item: HTMLElement) => void;
|
|
19
|
+
};
|
|
20
|
+
type RovingFocusGroupContext = ReturnType<typeof rootContext>;
|
|
21
|
+
declare const injectRovingFocusGroupContext: (optional?: boolean) => {
|
|
22
|
+
loop: _angular_core.Signal<boolean>;
|
|
23
|
+
dir: _angular_core.Signal<Direction>;
|
|
24
|
+
orientation: _angular_core.Signal<Orientation>;
|
|
25
|
+
currentTabStopId: _angular_core.ModelSignal<string | undefined>;
|
|
26
|
+
focusableItems: _angular_core.WritableSignal<HTMLElement[]>;
|
|
27
|
+
onItemFocus: (tabStopId: string) => void;
|
|
28
|
+
onItemShiftTab: () => void;
|
|
29
|
+
onFocusableItemAdd: () => void;
|
|
30
|
+
onFocusableItemRemove: () => void;
|
|
31
|
+
registerItem: (item: HTMLElement) => void;
|
|
32
|
+
unregisterItem: (item: HTMLElement) => void;
|
|
33
|
+
} | null;
|
|
34
|
+
declare const provideRovingFocusGroupContext: (useFactory: () => {
|
|
35
|
+
loop: _angular_core.Signal<boolean>;
|
|
36
|
+
dir: _angular_core.Signal<Direction>;
|
|
37
|
+
orientation: _angular_core.Signal<Orientation>;
|
|
38
|
+
currentTabStopId: _angular_core.ModelSignal<string | undefined>;
|
|
39
|
+
focusableItems: _angular_core.WritableSignal<HTMLElement[]>;
|
|
40
|
+
onItemFocus: (tabStopId: string) => void;
|
|
41
|
+
onItemShiftTab: () => void;
|
|
42
|
+
onFocusableItemAdd: () => void;
|
|
43
|
+
onFocusableItemRemove: () => void;
|
|
44
|
+
registerItem: (item: HTMLElement) => void;
|
|
45
|
+
unregisterItem: (item: HTMLElement) => void;
|
|
46
|
+
}) => _angular_core.Provider;
|
|
47
|
+
/**
|
|
48
|
+
* @group Components
|
|
49
|
+
*/
|
|
50
|
+
declare class RdxRovingFocusGroupDirective {
|
|
51
|
+
private readonly isBrowser;
|
|
52
|
+
private readonly elementRef;
|
|
53
|
+
/**
|
|
54
|
+
* The orientation of the group. Mainly so arrow navigation is done accordingly (left & right vs. up & down)
|
|
55
|
+
*/
|
|
56
|
+
readonly orientationInput: _angular_core.InputSignal<Orientation>;
|
|
57
|
+
/**
|
|
58
|
+
* The direction of navigation between items.
|
|
59
|
+
*/
|
|
60
|
+
readonly dirInput: _angular_core.InputSignal<Direction>;
|
|
61
|
+
/**
|
|
62
|
+
* Whether keyboard navigation should loop around
|
|
63
|
+
*/
|
|
64
|
+
readonly loopInput: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
65
|
+
/**
|
|
66
|
+
* When `true`, will prevent scrolling to the focus item when focused.
|
|
67
|
+
* @group Props
|
|
68
|
+
*/
|
|
69
|
+
readonly preventScrollOnEntryFocus: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
70
|
+
/**
|
|
71
|
+
* The value of the current stop item.
|
|
72
|
+
*
|
|
73
|
+
* Use when you do not need to control the state of the stop item.
|
|
74
|
+
* @group Props
|
|
75
|
+
*/
|
|
76
|
+
readonly defaultCurrentTabStopId: _angular_core.InputSignal<string | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* The controlled value of the current stop item. Can be binded as `model`.
|
|
79
|
+
* @group Props
|
|
80
|
+
*/
|
|
81
|
+
readonly currentTabStopId: _angular_core.ModelSignal<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* Event handler called when container is being focused. Can be prevented.
|
|
84
|
+
* @group Emits
|
|
85
|
+
*/
|
|
86
|
+
readonly entryFocus: _angular_core.OutputEmitterRef<Event>;
|
|
87
|
+
private readonly _orientation;
|
|
88
|
+
readonly orientation: _angular_core.Signal<Orientation>;
|
|
89
|
+
private readonly _dir;
|
|
90
|
+
readonly dir: _angular_core.Signal<Direction>;
|
|
91
|
+
private readonly _loop;
|
|
92
|
+
readonly loop: _angular_core.Signal<boolean>;
|
|
93
|
+
readonly focusableItems: _angular_core.WritableSignal<HTMLElement[]>;
|
|
94
|
+
protected readonly isClickFocus: _angular_core.WritableSignal<boolean>;
|
|
95
|
+
readonly isTabbingBackOut: _angular_core.WritableSignal<boolean>;
|
|
96
|
+
readonly focusableItemsCount: _angular_core.WritableSignal<number>;
|
|
97
|
+
constructor();
|
|
98
|
+
setOrientation(value: Orientation): void;
|
|
99
|
+
setDir(value: Direction): void;
|
|
100
|
+
setLoop(value: boolean): void;
|
|
101
|
+
/** @ignore */
|
|
102
|
+
handleMouseUp(): void;
|
|
103
|
+
/** @ignore */
|
|
104
|
+
handleFocus(event: FocusEvent): void;
|
|
105
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxRovingFocusGroupDirective, never>;
|
|
106
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxRovingFocusGroupDirective, "[rdxRovingFocusGroup]", never, { "orientationInput": { "alias": "orientation"; "required": false; "isSignal": true; }; "dirInput": { "alias": "dir"; "required": false; "isSignal": true; }; "loopInput": { "alias": "loop"; "required": false; "isSignal": true; }; "preventScrollOnEntryFocus": { "alias": "preventScrollOnEntryFocus"; "required": false; "isSignal": true; }; "defaultCurrentTabStopId": { "alias": "defaultCurrentTabStopId"; "required": false; "isSignal": true; }; "currentTabStopId": { "alias": "currentTabStopId"; "required": false; "isSignal": true; }; }, { "currentTabStopId": "currentTabStopIdChange"; "entryFocus": "entryFocus"; }, never, never, true, never>;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @group Components
|
|
111
|
+
*/
|
|
112
|
+
declare class RdxRovingFocusItemDirective {
|
|
113
|
+
private readonly isBrowser;
|
|
114
|
+
private readonly destroyRef;
|
|
115
|
+
private readonly elementRef;
|
|
116
|
+
protected readonly rootContext: {
|
|
117
|
+
loop: _angular_core.Signal<boolean>;
|
|
118
|
+
dir: _angular_core.Signal<Direction>;
|
|
119
|
+
orientation: _angular_core.Signal<Orientation>;
|
|
120
|
+
currentTabStopId: _angular_core.ModelSignal<string | undefined>;
|
|
121
|
+
focusableItems: _angular_core.WritableSignal<HTMLElement[]>;
|
|
122
|
+
onItemFocus: (tabStopId: string) => void;
|
|
123
|
+
onItemShiftTab: () => void;
|
|
124
|
+
onFocusableItemAdd: () => void;
|
|
125
|
+
onFocusableItemRemove: () => void;
|
|
126
|
+
registerItem: (item: HTMLElement) => void;
|
|
127
|
+
unregisterItem: (item: HTMLElement) => void;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* When false, item will not be focusable.
|
|
131
|
+
* @group Props
|
|
132
|
+
*/
|
|
133
|
+
readonly focusableInput: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
134
|
+
/**
|
|
135
|
+
* When `true`, item will be initially focused.
|
|
136
|
+
* @group Props
|
|
137
|
+
*/
|
|
138
|
+
readonly activeInput: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
139
|
+
/**
|
|
140
|
+
* @group Props
|
|
141
|
+
*/
|
|
142
|
+
readonly tabStopIdInput: _angular_core.InputSignal<string | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* When true, shift + arrow key will allow focusing on next/previous item.
|
|
145
|
+
* @group Props
|
|
146
|
+
*/
|
|
147
|
+
readonly allowShiftKey: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
148
|
+
protected readonly id: _angular_core.Signal<string>;
|
|
149
|
+
protected readonly isCurrentTabStop: _angular_core.Signal<boolean>;
|
|
150
|
+
protected readonly focusable: _angular_core.WritableSignal<boolean>;
|
|
151
|
+
protected readonly active: _angular_core.WritableSignal<boolean>;
|
|
152
|
+
private readonly tabStopId;
|
|
153
|
+
constructor();
|
|
154
|
+
setFocusable(value: boolean): void;
|
|
155
|
+
setActive(value: boolean): void;
|
|
156
|
+
setTabStopId(value: string): void;
|
|
157
|
+
/** @ignore */
|
|
158
|
+
handleMouseDown(event: MouseEvent): void;
|
|
159
|
+
/**
|
|
160
|
+
* Handles the `keydown` event for keyboard navigation within the roving focus group.
|
|
161
|
+
* Supports navigation based on orientation and direction, and focuses appropriate elements.
|
|
162
|
+
*
|
|
163
|
+
* @param event The `KeyboardEvent` object.
|
|
164
|
+
* @ignore
|
|
165
|
+
*/
|
|
166
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
167
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxRovingFocusItemDirective, never>;
|
|
168
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxRovingFocusItemDirective, "[rdxRovingFocusItem]", never, { "focusableInput": { "alias": "focusable"; "required": false; "isSignal": true; }; "activeInput": { "alias": "active"; "required": false; "isSignal": true; }; "tabStopIdInput": { "alias": "tabStopId"; "required": false; "isSignal": true; }; "allowShiftKey": { "alias": "allowShiftKey"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
declare const rovingFocusImports: (typeof RdxRovingFocusGroupDirective | typeof RdxRovingFocusItemDirective)[];
|
|
172
|
+
|
|
173
|
+
export { RdxRovingFocusGroupDirective, RdxRovingFocusItemDirective, injectRovingFocusGroupContext, provideRovingFocusGroupContext, rovingFocusImports };
|
|
174
|
+
export type { Direction, Orientation, RovingFocusGroupContext };
|
package/select/index.d.ts
CHANGED
|
@@ -1,26 +1,214 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { AfterViewInit, OnDestroy, NgZone, OnInit, AfterContentInit, ElementRef, ChangeDetectorRef, EventEmitter, DestroyRef, QueryList } from '@angular/core';
|
|
3
|
+
import { ActiveDescendantKeyManager, Highlightable } from '@angular/cdk/a11y';
|
|
4
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
5
|
+
import { Observable, Subject } from 'rxjs';
|
|
6
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
7
|
+
import { Overlay, CdkConnectedOverlay, ConnectedPosition } from '@angular/cdk/overlay';
|
|
8
|
+
|
|
9
|
+
declare class RdxSelectValueDirective {
|
|
10
|
+
select: RdxSelectComponent;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectValueDirective, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RdxSelectValueDirective, "[rdxSelectValue]", ["rdxSelectValue"], { "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare class RdxSelectTriggerDirective implements AfterViewInit, OnDestroy {
|
|
17
|
+
readonly ngZone: NgZone;
|
|
18
|
+
protected nativeElement: any;
|
|
19
|
+
protected select: RdxSelectComponent;
|
|
20
|
+
protected readonly value: i0.Signal<RdxSelectValueDirective>;
|
|
21
|
+
private resizeObserver;
|
|
22
|
+
ngAfterViewInit(): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
focus(): void;
|
|
25
|
+
private observeTriggerResize;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectTriggerDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectTriggerDirective, "[rdxSelectTrigger]", never, {}, {}, ["value"], never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class RdxSelectComponent implements OnInit, AfterContentInit {
|
|
31
|
+
protected overlay: Overlay;
|
|
32
|
+
protected elementRef: ElementRef<any>;
|
|
33
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
34
|
+
private readonly destroyRef;
|
|
35
|
+
private readonly ngZone;
|
|
36
|
+
protected readonly trigger: i0.Signal<RdxSelectTriggerDirective>;
|
|
37
|
+
protected readonly content: i0.Signal<RdxSelectContentDirective>;
|
|
38
|
+
readonly items: i0.Signal<readonly RdxSelectItemDirective[]>;
|
|
39
|
+
readonly overlayDir: i0.Signal<CdkConnectedOverlay>;
|
|
40
|
+
/**
|
|
41
|
+
* Tuple type for the trigger element size. Set by the trigger element itself.
|
|
42
|
+
* The first element is the width and the second element is the height.
|
|
43
|
+
* @returns The size of the trigger element.
|
|
44
|
+
*/
|
|
45
|
+
readonly triggerSize: i0.WritableSignal<[number, number]>;
|
|
46
|
+
/**
|
|
47
|
+
* The width of the trigger element.
|
|
48
|
+
* @returns The width of the trigger element.
|
|
49
|
+
*/
|
|
50
|
+
readonly triggerWidth: i0.Signal<number>;
|
|
51
|
+
/** Deals with the selection logic. */
|
|
52
|
+
selectionModel: SelectionModel<RdxSelectItemDirective>;
|
|
53
|
+
/**
|
|
54
|
+
* This position config ensures that the top "start" corner of the overlay
|
|
55
|
+
* is aligned with the top "start" of the origin by default (overlapping
|
|
56
|
+
* the trigger completely). If the panel cannot fit below the trigger, it
|
|
57
|
+
* will fall back to a position above the trigger.
|
|
58
|
+
*/
|
|
59
|
+
positions: ConnectedPosition[];
|
|
60
|
+
private closeSubscription;
|
|
61
|
+
/**
|
|
62
|
+
* @ignore
|
|
63
|
+
*/
|
|
64
|
+
readonly dir: Directionality | null;
|
|
65
|
+
/**
|
|
66
|
+
* @ignore
|
|
67
|
+
*/
|
|
68
|
+
protected keyManager: ActiveDescendantKeyManager<RdxSelectItemDirective>;
|
|
69
|
+
/**
|
|
70
|
+
* @ignore
|
|
71
|
+
*/
|
|
72
|
+
readonly id: string;
|
|
73
|
+
defaultValue: string;
|
|
74
|
+
name: string;
|
|
75
|
+
defaultOpen: boolean;
|
|
76
|
+
open: boolean;
|
|
77
|
+
/** Whether the Select is disabled. */
|
|
78
|
+
disabled: boolean;
|
|
79
|
+
required: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* The overlay width will be set to the trigger width if this is true.
|
|
82
|
+
* Otherwise, the overlay width will be set to the width of the content.
|
|
83
|
+
*/
|
|
84
|
+
matchTriggerWidth: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* The controlled value of the item to expand
|
|
87
|
+
*/
|
|
88
|
+
set value(value: string);
|
|
89
|
+
get value(): string | null;
|
|
90
|
+
private _value?;
|
|
91
|
+
readonly onValueChange: EventEmitter<string>;
|
|
92
|
+
readonly onOpenChange: EventEmitter<boolean>;
|
|
93
|
+
readonly optionSelectionChanges: Observable<RdxSelectItemChange>;
|
|
94
|
+
get selected(): string | null;
|
|
95
|
+
ngOnInit(): void;
|
|
96
|
+
ngAfterContentInit(): void;
|
|
97
|
+
/**
|
|
98
|
+
* Callback that is invoked when the overlay panel has been attached.
|
|
99
|
+
*/
|
|
100
|
+
onAttached(): void;
|
|
101
|
+
onDetach(): void;
|
|
102
|
+
/** Toggles the overlay panel open or closed. */
|
|
103
|
+
toggle(): void;
|
|
104
|
+
openPanel(): void;
|
|
105
|
+
close(): void;
|
|
106
|
+
updateActiveItem(item: RdxSelectItemDirective): void;
|
|
107
|
+
private selectDefaultValue;
|
|
108
|
+
private selectValue;
|
|
109
|
+
private closingActions;
|
|
110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectComponent, never>;
|
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RdxSelectComponent, "[rdxSelect]", never, { "defaultValue": { "alias": "defaultValue"; "required": false; }; "name": { "alias": "name"; "required": false; }; "defaultOpen": { "alias": "defaultOpen"; "required": false; }; "open": { "alias": "open"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "matchTriggerWidth": { "alias": "matchTriggerWidth"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onValueChange": "onValueChange"; "onOpenChange": "onOpenChange"; }, ["trigger", "content", "items"], ["[rdxSelectTrigger]", "[rdxSelectContent]"], true, never>;
|
|
112
|
+
static ngAcceptInputType_defaultOpen: unknown;
|
|
113
|
+
static ngAcceptInputType_open: unknown;
|
|
114
|
+
static ngAcceptInputType_disabled: unknown;
|
|
115
|
+
static ngAcceptInputType_required: unknown;
|
|
116
|
+
static ngAcceptInputType_matchTriggerWidth: unknown;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
declare class RdxSelectItemChange<T = RdxSelectItemDirective> {
|
|
120
|
+
source: T;
|
|
121
|
+
constructor(source: T);
|
|
122
|
+
}
|
|
123
|
+
declare class RdxSelectItemDirective implements Highlightable {
|
|
124
|
+
protected readonly select: RdxSelectComponent;
|
|
125
|
+
protected readonly content: RdxSelectContentDirective;
|
|
126
|
+
readonly onSelectionChange: EventEmitter<RdxSelectItemChange<RdxSelectItemDirective>>;
|
|
127
|
+
protected readonly nativeElement: any;
|
|
128
|
+
highlighted: boolean;
|
|
129
|
+
selected: boolean;
|
|
130
|
+
get dataState(): string;
|
|
131
|
+
/**
|
|
132
|
+
* The unique SelectItem id.
|
|
133
|
+
* @ignore
|
|
134
|
+
*/
|
|
135
|
+
readonly id: string;
|
|
136
|
+
set value(value: string);
|
|
137
|
+
get value(): string;
|
|
138
|
+
private _value?;
|
|
139
|
+
textValue: string | null;
|
|
140
|
+
/** Whether the SelectItem is disabled. */
|
|
141
|
+
set disabled(value: boolean);
|
|
142
|
+
get disabled(): boolean;
|
|
143
|
+
private _disabled;
|
|
144
|
+
get viewValue(): string;
|
|
145
|
+
constructor();
|
|
146
|
+
/** Gets the label to be used when determining whether the option should be focused.
|
|
147
|
+
* @ignore
|
|
148
|
+
*/
|
|
149
|
+
getLabel(): string;
|
|
150
|
+
/**
|
|
151
|
+
* `Selects the option while indicating the selection came from the user. Used to
|
|
152
|
+
* determine if the select's view -> model callback should be invoked.`
|
|
153
|
+
* @ignore
|
|
154
|
+
*/
|
|
155
|
+
selectViaInteraction(): void;
|
|
156
|
+
/** @ignore */
|
|
157
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
158
|
+
/** @ignore */
|
|
159
|
+
setActiveStyles(): void;
|
|
160
|
+
/** @ignore */
|
|
161
|
+
setInactiveStyles(): void;
|
|
162
|
+
protected onPointerMove(): void;
|
|
163
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectItemDirective, never>;
|
|
164
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectItemDirective, "[rdxSelectItem]", ["rdxSelectItem"], { "value": { "alias": "value"; "required": false; }; "textValue": { "alias": "textValue"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
165
|
+
static ngAcceptInputType_disabled: unknown;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
declare class RdxSelectContentDirective implements AfterContentInit {
|
|
169
|
+
protected readonly destroyRef: DestroyRef;
|
|
170
|
+
protected readonly dir: Directionality | null;
|
|
171
|
+
protected select: RdxSelectComponent;
|
|
172
|
+
readonly highlighted: Subject<RdxSelectItemDirective>;
|
|
173
|
+
keyManager: ActiveDescendantKeyManager<RdxSelectItemDirective>;
|
|
174
|
+
options: QueryList<RdxSelectItemDirective>;
|
|
175
|
+
constructor();
|
|
176
|
+
initKeyManager(): ActiveDescendantKeyManager<RdxSelectItemDirective>;
|
|
177
|
+
ngAfterContentInit(): void;
|
|
178
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectContentDirective, never>;
|
|
179
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectContentDirective, "[rdxSelectContent]", ["rdxSelectContent"], {}, {}, ["options"], never, true, never>;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
declare class RdxSelectGroupDirective {
|
|
183
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectGroupDirective, never>;
|
|
184
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectGroupDirective, "[rdxSelectGroup]", ["rdxSelectGroup"], {}, {}, never, never, true, never>;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
declare class RdxSelectItemIndicatorDirective {
|
|
188
|
+
protected item: RdxSelectItemDirective;
|
|
189
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectItemIndicatorDirective, never>;
|
|
190
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectItemIndicatorDirective, "[rdxSelectItemIndicator]", ["rdxSelectItemIndicator"], {}, {}, never, never, true, never>;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
declare class RdxSelectLabelDirective {
|
|
194
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectLabelDirective, never>;
|
|
195
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectLabelDirective, "[rdxSelectLabel]", ["rdxSelectLabel"], {}, {}, never, never, true, never>;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
declare class RdxSelectSeparatorDirective {
|
|
199
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectSeparatorDirective, never>;
|
|
200
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectSeparatorDirective, "[rdxSelectSeparator]", ["rdxSelectSeparator"], {}, {}, never, never, true, never>;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
declare class RdxSelectIconDirective {
|
|
204
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectIconDirective, never>;
|
|
205
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectIconDirective, "[rdxSelectIcon]", ["rdxSelectIcon"], {}, {}, never, never, true, never>;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
declare class RdxSelectModule {
|
|
23
209
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectModule, never>;
|
|
24
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RdxSelectModule, never, [typeof
|
|
210
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RdxSelectModule, never, [typeof RdxSelectContentDirective, typeof RdxSelectGroupDirective, typeof RdxSelectItemDirective, typeof RdxSelectItemIndicatorDirective, typeof RdxSelectLabelDirective, typeof RdxSelectComponent, typeof RdxSelectSeparatorDirective, typeof RdxSelectTriggerDirective, typeof RdxSelectValueDirective, typeof RdxSelectIconDirective], [typeof RdxSelectContentDirective, typeof RdxSelectGroupDirective, typeof RdxSelectItemDirective, typeof RdxSelectItemIndicatorDirective, typeof RdxSelectLabelDirective, typeof RdxSelectComponent, typeof RdxSelectSeparatorDirective, typeof RdxSelectTriggerDirective, typeof RdxSelectValueDirective, typeof RdxSelectIconDirective]>;
|
|
25
211
|
static ɵinj: i0.ɵɵInjectorDeclaration<RdxSelectModule>;
|
|
26
212
|
}
|
|
213
|
+
|
|
214
|
+
export { RdxSelectComponent, RdxSelectContentDirective, RdxSelectGroupDirective, RdxSelectIconDirective, RdxSelectItemChange, RdxSelectItemDirective, RdxSelectItemIndicatorDirective, RdxSelectLabelDirective, RdxSelectModule, RdxSelectSeparatorDirective, RdxSelectTriggerDirective, RdxSelectValueDirective };
|
package/separator/index.d.ts
CHANGED
|
@@ -1 +1,63 @@
|
|
|
1
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
+
|
|
4
|
+
declare const ORIENTATIONS: readonly ["horizontal", "vertical"];
|
|
5
|
+
type Orientation = (typeof ORIENTATIONS)[number];
|
|
6
|
+
interface SeparatorProps {
|
|
7
|
+
/**
|
|
8
|
+
* Either `vertical` or `horizontal`. Defaults to `horizontal`.
|
|
9
|
+
*/
|
|
10
|
+
orientation?: Orientation;
|
|
11
|
+
/**
|
|
12
|
+
* Whether the component is purely decorative. When true, accessibility-related attributes
|
|
13
|
+
* are updated so that the rendered element is removed from the accessibility tree.
|
|
14
|
+
*/
|
|
15
|
+
decorative?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Directive that adds accessible and configurable separator element to the DOM.
|
|
19
|
+
* This can be either horizontal or vertical and optionally decorative (which removes
|
|
20
|
+
* it from the accessibility tree).
|
|
21
|
+
*
|
|
22
|
+
* @group Components
|
|
23
|
+
*/
|
|
24
|
+
declare class RdxSeparatorRootDirective {
|
|
25
|
+
/**
|
|
26
|
+
* Orientation of the separator, can be either 'horizontal' or 'vertical'.
|
|
27
|
+
*
|
|
28
|
+
* @defaultValue 'horizontal'
|
|
29
|
+
* @group Props
|
|
30
|
+
*/
|
|
31
|
+
readonly orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
32
|
+
/**
|
|
33
|
+
* If true, the separator will be considered decorative and removed from
|
|
34
|
+
* the accessibility tree. Defaults to false.
|
|
35
|
+
*
|
|
36
|
+
* @defaultValue false
|
|
37
|
+
* @group Props
|
|
38
|
+
*/
|
|
39
|
+
readonly decorative: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
40
|
+
/**
|
|
41
|
+
* Computes the `role` attribute for the separator. If `decorative` is true,
|
|
42
|
+
* the role is set to "none", otherwise it is "separator".
|
|
43
|
+
*
|
|
44
|
+
* @ignore
|
|
45
|
+
*/
|
|
46
|
+
protected readonly decorativeEffect: _angular_core.WritableSignal<boolean>;
|
|
47
|
+
protected readonly orientationEffect: _angular_core.WritableSignal<"horizontal" | "vertical">;
|
|
48
|
+
/**
|
|
49
|
+
* Computes the `aria-orientation` attribute. It is set to "vertical" only if
|
|
50
|
+
* the separator is not decorative and the orientation is set to "vertical".
|
|
51
|
+
* For horizontal orientation, the attribute is omitted.
|
|
52
|
+
*
|
|
53
|
+
* @ignore
|
|
54
|
+
*/
|
|
55
|
+
protected readonly computedAriaOrientation: _angular_core.Signal<"vertical" | undefined>;
|
|
56
|
+
updateOrientation(value: Orientation): void;
|
|
57
|
+
updateDecorative(value: boolean): void;
|
|
58
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxSeparatorRootDirective, never>;
|
|
59
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxSeparatorRootDirective, "div[rdxSeparatorRoot]", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "decorative": { "alias": "decorative"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export { RdxSeparatorRootDirective };
|
|
63
|
+
export type { Orientation, SeparatorProps };
|