@radix-ng/primitives 0.43.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 +7 -4
- package/fesm2022/radix-ng-primitives-focus-guards.mjs.map +1 -1
- 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 +86 -86
- 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 +29 -27
- package/fesm2022/radix-ng-primitives-visually-hidden.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives.mjs.map +1 -1
- package/focus-guards/index.d.ts +15 -1
- 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 +22 -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-guards/src/focus-guards.d.ts +0 -12
- 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 -34
- 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 -24
- package/visually-hidden/src/visually-hidden-input.directive.d.ts +0 -23
- package/visually-hidden/src/visually-hidden.directive.d.ts +0 -18
package/calendar/index.d.ts
CHANGED
|
@@ -1,30 +1,311 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AfterViewInit, WritableSignal, InputSignal, ModelSignal, Signal } from '@angular/core';
|
|
3
|
+
import { DateValue } from '@internationalized/date';
|
|
4
|
+
import { DateMatcher, Formatter, Month } from '@radix-ng/primitives/core';
|
|
5
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
6
|
+
|
|
7
|
+
declare class RdxCalendarCellTriggerDirective implements AfterViewInit {
|
|
8
|
+
private readonly rootContext;
|
|
9
|
+
private readonly elementRef;
|
|
10
|
+
/**
|
|
11
|
+
* The date value provided to the cell trigger
|
|
12
|
+
*/
|
|
13
|
+
readonly day: _angular_core.InputSignal<DateValue | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* The month in which the cell is rendered
|
|
16
|
+
*/
|
|
17
|
+
readonly month: _angular_core.InputSignal<DateValue | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* Current day
|
|
20
|
+
*/
|
|
21
|
+
readonly dayValue: _angular_core.Signal<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Current today state
|
|
24
|
+
*/
|
|
25
|
+
readonly isDateToday: _angular_core.Signal<boolean>;
|
|
26
|
+
/**
|
|
27
|
+
* Current selected state
|
|
28
|
+
*/
|
|
29
|
+
readonly isSelectedDate: _angular_core.Signal<boolean>;
|
|
30
|
+
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
31
|
+
readonly isOutsideView: _angular_core.Signal<boolean>;
|
|
32
|
+
readonly isFocusedDate: _angular_core.Signal<boolean>;
|
|
33
|
+
readonly isUnavailable: _angular_core.Signal<boolean>;
|
|
34
|
+
readonly labelText: _angular_core.Signal<string>;
|
|
35
|
+
/**
|
|
36
|
+
* @ignore
|
|
37
|
+
*/
|
|
38
|
+
currentElement: HTMLElement;
|
|
39
|
+
ngAfterViewInit(): void;
|
|
40
|
+
protected onClick(): void;
|
|
41
|
+
protected onArrowKey(event: KeyboardEvent): void;
|
|
42
|
+
private shiftFocus;
|
|
43
|
+
/**
|
|
44
|
+
* @ignore
|
|
45
|
+
*/
|
|
46
|
+
SELECTOR: string;
|
|
47
|
+
/**
|
|
48
|
+
* @ignore
|
|
49
|
+
*/
|
|
50
|
+
getSelectableCells(calendar: HTMLElement): HTMLElement[];
|
|
51
|
+
/**
|
|
52
|
+
* @ignore
|
|
53
|
+
*/
|
|
54
|
+
changeDate(date: DateValue): void;
|
|
55
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCalendarCellTriggerDirective, never>;
|
|
56
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCalendarCellTriggerDirective, "[rdxCalendarCellTrigger]", ["rdxCalendarCellTrigger"], { "day": { "alias": "day"; "required": false; "isSignal": true; }; "month": { "alias": "month"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
30
57
|
}
|
|
58
|
+
|
|
59
|
+
interface CalendarRootContextToken {
|
|
60
|
+
nextPage?: (nextPageFunc?: (date: DateValue) => DateValue) => void;
|
|
61
|
+
prevPage?: (nextPageFunc?: (date: DateValue) => DateValue) => void;
|
|
62
|
+
isNextButtonDisabled: (nextPageFunc?: (date: DateValue) => DateValue) => boolean;
|
|
63
|
+
isPrevButtonDisabled: (nextPageFunc?: (date: DateValue) => DateValue) => boolean;
|
|
64
|
+
headingValue: WritableSignal<string>;
|
|
65
|
+
dir: InputSignal<'ltr' | 'rtl'>;
|
|
66
|
+
readonly: boolean;
|
|
67
|
+
numberOfMonths: InputSignal<number>;
|
|
68
|
+
placeholder: ModelSignal<DateValue>;
|
|
69
|
+
pagedNavigation: boolean;
|
|
70
|
+
disabled: InputSignal<boolean>;
|
|
71
|
+
isDateSelected?: DateMatcher;
|
|
72
|
+
isDateDisabled?: DateMatcher;
|
|
73
|
+
isDateUnavailable: DateMatcher;
|
|
74
|
+
formatter: Formatter;
|
|
75
|
+
onDateChange: (date: DateValue) => void;
|
|
76
|
+
currentElement: HTMLElement;
|
|
77
|
+
startingWeekNumber: Signal<number[]>;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
declare class RdxCalendarCellDirective {
|
|
81
|
+
protected readonly rootContext: CalendarRootContextToken;
|
|
82
|
+
/**
|
|
83
|
+
* The date of the cell
|
|
84
|
+
*/
|
|
85
|
+
readonly date: _angular_core.InputSignal<DateValue | undefined>;
|
|
86
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCalendarCellDirective, never>;
|
|
87
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCalendarCellDirective, "td[rdxCalendarCell]", never, { "date": { "alias": "date"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
declare class RdxCalendarGridBodyDirective {
|
|
91
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCalendarGridBodyDirective, never>;
|
|
92
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCalendarGridBodyDirective, "tbody[rdxCalendarGridBody]", never, {}, {}, never, never, true, never>;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
declare class RdxCalendarGridHeadDirective {
|
|
96
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCalendarGridHeadDirective, never>;
|
|
97
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCalendarGridHeadDirective, "thead[rdxCalendarGridHead]", never, {}, {}, never, never, true, never>;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
declare class RdxCalendarGridRowDirective {
|
|
101
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCalendarGridRowDirective, never>;
|
|
102
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCalendarGridRowDirective, "tr[rdxCalendarGridRow]", never, {}, {}, never, never, true, never>;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
declare class RdxCalendarGridDirective {
|
|
106
|
+
private readonly rootContext;
|
|
107
|
+
readonly disabled: _angular_core.Signal<true | undefined>;
|
|
108
|
+
readonly readonly: _angular_core.Signal<true | undefined>;
|
|
109
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCalendarGridDirective, never>;
|
|
110
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCalendarGridDirective, "table[rdxCalendarGrid]", never, {}, {}, never, never, true, never>;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
declare class RdxCalendarHeadCellDirective {
|
|
114
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCalendarHeadCellDirective, never>;
|
|
115
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCalendarHeadCellDirective, "th[rdxCalendarHeadCell]", never, {}, {}, never, never, true, never>;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
declare class RdxCalendarHeaderDirective {
|
|
119
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCalendarHeaderDirective, never>;
|
|
120
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCalendarHeaderDirective, "div[rdxCalendarHeader]", never, {}, {}, never, never, true, never>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
declare class RdxCalendarPrevDirective {
|
|
124
|
+
protected readonly rootContext: CalendarRootContextToken;
|
|
125
|
+
/**
|
|
126
|
+
* The function to be used for the `prev page`. Overwrites the prevPage function set on the `CalendarRoot`.
|
|
127
|
+
*/
|
|
128
|
+
readonly prevPage: _angular_core.InputSignal<((placeholder: DateValue) => DateValue) | undefined>;
|
|
129
|
+
/**
|
|
130
|
+
* @ignore
|
|
131
|
+
*/
|
|
132
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
133
|
+
protected onClick(): void;
|
|
134
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCalendarPrevDirective, never>;
|
|
135
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCalendarPrevDirective, "button[rdxCalendarPrev]", ["rdxCalendarPrev"], { "prevPage": { "alias": "prevPage"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
declare class RdxCalendarRootDirective implements AfterViewInit {
|
|
139
|
+
private readonly elementRef;
|
|
140
|
+
/**
|
|
141
|
+
* The controlled checked state of the calendar
|
|
142
|
+
*/
|
|
143
|
+
readonly value: _angular_core.ModelSignal<DateValue | DateValue[] | undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* The default placeholder date
|
|
146
|
+
*/
|
|
147
|
+
readonly defaultPlaceholder: _angular_core.ModelSignal<DateValue | undefined>;
|
|
148
|
+
readonly locale: _angular_core.InputSignal<string>;
|
|
149
|
+
readonly defaultDate: DateValue;
|
|
150
|
+
/**
|
|
151
|
+
* The placeholder date, which is used to determine what month to display when no date is selected.
|
|
152
|
+
* This updates as the user navigates the calendar and can be used to programmatically control the calendar view
|
|
153
|
+
*/
|
|
154
|
+
readonly placeholder: _angular_core.ModelSignal<DateValue>;
|
|
155
|
+
readonly multiple: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
156
|
+
/**
|
|
157
|
+
* Whether to always display 6 weeks in the calendar
|
|
158
|
+
*/
|
|
159
|
+
readonly fixedWeeks: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
160
|
+
/**
|
|
161
|
+
* Whether the calendar is disabled
|
|
162
|
+
*/
|
|
163
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
164
|
+
/**
|
|
165
|
+
* Whether to prevent the user from deselecting a date without selecting another date first
|
|
166
|
+
*/
|
|
167
|
+
readonly preventDeselect: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
168
|
+
/**
|
|
169
|
+
* The day of the week to start the calendar on
|
|
170
|
+
*/
|
|
171
|
+
readonly weekStartsOn: _angular_core.InputSignal<0 | 1 | 2 | 3 | 4 | 5 | 6>;
|
|
172
|
+
/**
|
|
173
|
+
* The number of months to display at once
|
|
174
|
+
*/
|
|
175
|
+
readonly numberOfMonths: _angular_core.InputSignal<number>;
|
|
176
|
+
/**
|
|
177
|
+
* The reading direction of the calendar when applicable.
|
|
178
|
+
*/
|
|
179
|
+
readonly dir: _angular_core.InputSignal<"ltr" | "rtl">;
|
|
180
|
+
/**
|
|
181
|
+
* The minimum date that can be selected
|
|
182
|
+
*/
|
|
183
|
+
readonly minValue: _angular_core.InputSignal<DateValue | undefined>;
|
|
184
|
+
/**
|
|
185
|
+
* The maximum date that can be selected
|
|
186
|
+
*/
|
|
187
|
+
readonly maxValue: _angular_core.InputSignal<DateValue | undefined>;
|
|
188
|
+
/**
|
|
189
|
+
* The format to use for the weekday strings provided via the weekdays slot prop
|
|
190
|
+
*/
|
|
191
|
+
readonly weekdayFormat: _angular_core.InputSignal<"long" | "short" | "narrow" | undefined>;
|
|
192
|
+
/**
|
|
193
|
+
* The accessible label for the calendar
|
|
194
|
+
*/
|
|
195
|
+
readonly calendarLabel: _angular_core.InputSignal<string | undefined>;
|
|
196
|
+
/**
|
|
197
|
+
* Whether the calendar is readonly
|
|
198
|
+
*/
|
|
199
|
+
readonly readonly: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
200
|
+
/**
|
|
201
|
+
* This property causes the previous and next buttons to navigate by the number of months displayed at once, rather than one month
|
|
202
|
+
*/
|
|
203
|
+
readonly pagedNavigation: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
204
|
+
readonly propsNextPage: _angular_core.InputSignal<((placeholder: DateValue) => DateValue) | undefined>;
|
|
205
|
+
readonly propsPrevPage: _angular_core.InputSignal<((placeholder: DateValue) => DateValue) | undefined>;
|
|
206
|
+
/**
|
|
207
|
+
* A function that returns whether a date is disabled
|
|
208
|
+
*/
|
|
209
|
+
readonly isDateDisabled: _angular_core.InputSignal<DateMatcher | undefined>;
|
|
210
|
+
/**
|
|
211
|
+
* A function that returns whether a date is unavailable
|
|
212
|
+
*/
|
|
213
|
+
readonly isDateUnavailable: _angular_core.InputSignal<DateMatcher | undefined>;
|
|
214
|
+
readonly initialFocus: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
215
|
+
readonly months: _angular_core.ModelSignal<Month<DateValue>[] | undefined>;
|
|
216
|
+
/**
|
|
217
|
+
* The days of the week
|
|
218
|
+
*/
|
|
219
|
+
readonly weekDays: _angular_core.ModelSignal<string[] | undefined>;
|
|
220
|
+
protected readonly _fixedWeeks: _angular_core.WritableSignal<boolean>;
|
|
221
|
+
protected readonly _disabled: _angular_core.WritableSignal<boolean>;
|
|
222
|
+
protected readonly _pagedNavigation: _angular_core.WritableSignal<boolean>;
|
|
223
|
+
readonly startingWeekNumber: _angular_core.Signal<number[]>;
|
|
224
|
+
/**
|
|
225
|
+
* @ignore
|
|
226
|
+
*/
|
|
227
|
+
readonly headingValue: _angular_core.WritableSignal<string>;
|
|
228
|
+
/**
|
|
229
|
+
* @ignore
|
|
230
|
+
*/
|
|
231
|
+
readonly fullCalendarLabel: _angular_core.WritableSignal<string>;
|
|
232
|
+
/**
|
|
233
|
+
* @ignore
|
|
234
|
+
*/
|
|
235
|
+
nextPage: (nextPageFunc?: (date: DateValue) => DateValue) => void;
|
|
236
|
+
/**
|
|
237
|
+
* @ignore
|
|
238
|
+
*/
|
|
239
|
+
prevPage: (nextPageFunc?: (date: DateValue) => DateValue) => void;
|
|
240
|
+
/**
|
|
241
|
+
* @ignore
|
|
242
|
+
*/
|
|
243
|
+
isNextButtonDisabled: (nextPageFunc?: (date: DateValue) => DateValue) => boolean;
|
|
244
|
+
/**
|
|
245
|
+
* @ignore
|
|
246
|
+
*/
|
|
247
|
+
isPrevButtonDisabled: (nextPageFunc?: (date: DateValue) => DateValue) => boolean;
|
|
248
|
+
/**
|
|
249
|
+
* @ignore
|
|
250
|
+
*/
|
|
251
|
+
isDateSelected: DateMatcher;
|
|
252
|
+
/**
|
|
253
|
+
* @ignore
|
|
254
|
+
*/
|
|
255
|
+
isInvalid: boolean;
|
|
256
|
+
/**
|
|
257
|
+
* @ignore
|
|
258
|
+
*/
|
|
259
|
+
isOutsideVisibleView: (date: DateValue) => boolean;
|
|
260
|
+
/**
|
|
261
|
+
* @ignore
|
|
262
|
+
*/
|
|
263
|
+
formatter: Formatter;
|
|
264
|
+
/**
|
|
265
|
+
* @ignore
|
|
266
|
+
*/
|
|
267
|
+
currentElement: HTMLElement;
|
|
268
|
+
private readonly calendar;
|
|
269
|
+
constructor();
|
|
270
|
+
ngAfterViewInit(): void;
|
|
271
|
+
/**
|
|
272
|
+
* @ignore
|
|
273
|
+
*/
|
|
274
|
+
onPlaceholderChange(value: DateValue): void;
|
|
275
|
+
/**
|
|
276
|
+
* @ignore
|
|
277
|
+
*/
|
|
278
|
+
onDateChange(date: DateValue): void;
|
|
279
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCalendarRootDirective, never>;
|
|
280
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCalendarRootDirective, "[rdxCalendarRoot]", ["rdxCalendarRoot"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultPlaceholder": { "alias": "defaultPlaceholder"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "fixedWeeks": { "alias": "fixedWeeks"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "preventDeselect": { "alias": "preventDeselect"; "required": false; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; "isSignal": true; }; "numberOfMonths": { "alias": "numberOfMonths"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "weekdayFormat": { "alias": "weekdayFormat"; "required": false; "isSignal": true; }; "calendarLabel": { "alias": "calendarLabel"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "pagedNavigation": { "alias": "pagedNavigation"; "required": false; "isSignal": true; }; "propsNextPage": { "alias": "propsNextPage"; "required": false; "isSignal": true; }; "propsPrevPage": { "alias": "propsPrevPage"; "required": false; "isSignal": true; }; "isDateDisabled": { "alias": "isDateDisabled"; "required": false; "isSignal": true; }; "isDateUnavailable": { "alias": "isDateUnavailable"; "required": false; "isSignal": true; }; "initialFocus": { "alias": "initialFocus"; "required": false; "isSignal": true; }; "months": { "alias": "months"; "required": false; "isSignal": true; }; "weekDays": { "alias": "weekDays"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "defaultPlaceholder": "defaultPlaceholderChange"; "placeholder": "placeholderChange"; "months": "monthsChange"; "weekDays": "weekDaysChange"; }, never, never, true, never>;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
declare class RdxCalendarHeadingDirective {
|
|
284
|
+
protected readonly rootContext: CalendarRootContextToken;
|
|
285
|
+
readonly headingValue: _angular_core.Signal<string>;
|
|
286
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCalendarHeadingDirective, never>;
|
|
287
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCalendarHeadingDirective, "div[rdxCalendarHeading]", ["rdxCalendarHeading"], {}, {}, never, never, true, never>;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
declare class RdxCalendarNextDirective {
|
|
291
|
+
protected readonly rootContext: CalendarRootContextToken;
|
|
292
|
+
/**
|
|
293
|
+
* The function to be used for the `next page`. Overwrites the nextPage function set on the `CalendarRoot`.
|
|
294
|
+
*/
|
|
295
|
+
readonly nextPage: _angular_core.InputSignal<((placeholder: DateValue) => DateValue) | undefined>;
|
|
296
|
+
/**
|
|
297
|
+
* @ignore
|
|
298
|
+
*/
|
|
299
|
+
readonly disabled: _angular_core.Signal<boolean>;
|
|
300
|
+
protected onClick(): void;
|
|
301
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCalendarNextDirective, never>;
|
|
302
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCalendarNextDirective, "button[rdxCalendarNext]", ["rdxCalendarNext"], { "nextPage": { "alias": "nextPage"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
declare class RdxCalendarModule {
|
|
306
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCalendarModule, never>;
|
|
307
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<RdxCalendarModule, never, [typeof RdxCalendarCellTriggerDirective, typeof RdxCalendarCellDirective, typeof RdxCalendarGridBodyDirective, typeof RdxCalendarGridHeadDirective, typeof RdxCalendarGridRowDirective, typeof RdxCalendarGridDirective, typeof RdxCalendarHeadCellDirective, typeof RdxCalendarHeaderDirective, typeof RdxCalendarPrevDirective, typeof RdxCalendarRootDirective, typeof RdxCalendarHeadingDirective, typeof RdxCalendarNextDirective], [typeof RdxCalendarCellTriggerDirective, typeof RdxCalendarCellDirective, typeof RdxCalendarGridBodyDirective, typeof RdxCalendarGridHeadDirective, typeof RdxCalendarGridRowDirective, typeof RdxCalendarGridDirective, typeof RdxCalendarHeadCellDirective, typeof RdxCalendarHeaderDirective, typeof RdxCalendarPrevDirective, typeof RdxCalendarRootDirective, typeof RdxCalendarHeadingDirective, typeof RdxCalendarNextDirective]>;
|
|
308
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<RdxCalendarModule>;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export { RdxCalendarCellDirective, RdxCalendarCellTriggerDirective, RdxCalendarGridBodyDirective, RdxCalendarGridDirective, RdxCalendarGridHeadDirective, RdxCalendarGridRowDirective, RdxCalendarHeadCellDirective, RdxCalendarHeaderDirective, RdxCalendarHeadingDirective, RdxCalendarModule, RdxCalendarNextDirective, RdxCalendarPrevDirective, RdxCalendarRootDirective };
|
package/checkbox/index.d.ts
CHANGED
|
@@ -1,16 +1,164 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as i1 from
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
import * as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export type { CheckboxState } from './src/checkbox.directive';
|
|
11
|
-
export * from './src/checkbox.token';
|
|
12
|
-
export declare class RdxCheckboxModule {
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RdxCheckboxModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RdxCheckboxModule, never, [typeof i1.RdxCheckboxInputDirective, typeof i2.RdxCheckboxRootDirective, typeof i3.RdxCheckboxButtonDirective, typeof i4.RdxCheckboxIndicatorDirective], [typeof i1.RdxCheckboxInputDirective, typeof i2.RdxCheckboxRootDirective, typeof i3.RdxCheckboxButtonDirective, typeof i4.RdxCheckboxIndicatorDirective]>;
|
|
15
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<RdxCheckboxModule>;
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import * as i1 from '@radix-ng/primitives/presence';
|
|
3
|
+
import * as _angular_cdk_coercion from '@angular/cdk/coercion';
|
|
4
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
5
|
+
import * as i1$1 from '@radix-ng/primitives/core';
|
|
6
|
+
|
|
7
|
+
declare class RdxCheckboxIndicatorPresenceDirective {
|
|
8
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCheckboxIndicatorPresenceDirective, never>;
|
|
9
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCheckboxIndicatorPresenceDirective, "ng-template[rdxCheckboxIndicatorPresence]", never, {}, {}, never, never, true, [{ directive: typeof i1.RdxPresenceDirective; inputs: {}; outputs: {}; }]>;
|
|
16
10
|
}
|
|
11
|
+
|
|
12
|
+
type CheckedState = boolean | 'indeterminate';
|
|
13
|
+
declare const rootContext: () => {
|
|
14
|
+
checked: _angular_core.Signal<CheckedState | undefined>;
|
|
15
|
+
disabled: _angular_core.Signal<boolean>;
|
|
16
|
+
required: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
17
|
+
value: _angular_core.InputSignal<string>;
|
|
18
|
+
name: _angular_core.InputSignal<string | undefined>;
|
|
19
|
+
form: _angular_core.InputSignal<string | undefined>;
|
|
20
|
+
readonly: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
21
|
+
state: _angular_core.Signal<"indeterminate" | "checked" | "unchecked">;
|
|
22
|
+
toggle(): void;
|
|
23
|
+
};
|
|
24
|
+
type CheckboxRootContext = ReturnType<typeof rootContext>;
|
|
25
|
+
declare const injectCheckboxRootContext: (optional?: boolean) => {
|
|
26
|
+
checked: _angular_core.Signal<CheckedState | undefined>;
|
|
27
|
+
disabled: _angular_core.Signal<boolean>;
|
|
28
|
+
required: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
29
|
+
value: _angular_core.InputSignal<string>;
|
|
30
|
+
name: _angular_core.InputSignal<string | undefined>;
|
|
31
|
+
form: _angular_core.InputSignal<string | undefined>;
|
|
32
|
+
readonly: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
33
|
+
state: _angular_core.Signal<"indeterminate" | "checked" | "unchecked">;
|
|
34
|
+
toggle(): void;
|
|
35
|
+
} | null;
|
|
36
|
+
declare const provideCheckboxRootContext: (useFactory: () => {
|
|
37
|
+
checked: _angular_core.Signal<CheckedState | undefined>;
|
|
38
|
+
disabled: _angular_core.Signal<boolean>;
|
|
39
|
+
required: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
40
|
+
value: _angular_core.InputSignal<string>;
|
|
41
|
+
name: _angular_core.InputSignal<string | undefined>;
|
|
42
|
+
form: _angular_core.InputSignal<string | undefined>;
|
|
43
|
+
readonly: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
44
|
+
state: _angular_core.Signal<"indeterminate" | "checked" | "unchecked">;
|
|
45
|
+
toggle(): void;
|
|
46
|
+
}) => _angular_core.Provider;
|
|
47
|
+
/**
|
|
48
|
+
* @group Components
|
|
49
|
+
*/
|
|
50
|
+
declare class RdxCheckboxRootDirective {
|
|
51
|
+
private readonly controlValueAccessor;
|
|
52
|
+
/**
|
|
53
|
+
* The controlled checked state of the checkbox. Must be used in conjunction with onCheckedChange.
|
|
54
|
+
* @group Props
|
|
55
|
+
*/
|
|
56
|
+
readonly checked: _angular_core.InputSignalWithTransform<CheckedState, BooleanInput>;
|
|
57
|
+
/**
|
|
58
|
+
* The value of the checkbox. This is what is submitted with the form when the checkbox is checked.
|
|
59
|
+
* @group Props
|
|
60
|
+
*/
|
|
61
|
+
readonly value: _angular_core.InputSignal<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Whether or not the checkbox button is disabled. This prevents the user from interacting with it.
|
|
64
|
+
* @group Props
|
|
65
|
+
*/
|
|
66
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
67
|
+
/**
|
|
68
|
+
* Whether the user should be unable to tick or untick the checkbox.
|
|
69
|
+
* @group Props
|
|
70
|
+
*/
|
|
71
|
+
readonly readonly: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
72
|
+
/**
|
|
73
|
+
* Whether or not the checkbox is required.
|
|
74
|
+
* @group Props
|
|
75
|
+
*/
|
|
76
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
77
|
+
/**
|
|
78
|
+
* Name of the form control. Submitted with the form as part of a name/value pair.
|
|
79
|
+
* @group Props
|
|
80
|
+
*/
|
|
81
|
+
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* Associates the control with a form element.
|
|
84
|
+
* @group Props
|
|
85
|
+
*/
|
|
86
|
+
readonly form: _angular_core.InputSignal<string | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Event emitted when the checkbox checked state changes.
|
|
89
|
+
* @group Emits
|
|
90
|
+
*/
|
|
91
|
+
readonly onCheckedChange: _angular_core.OutputRef<any>;
|
|
92
|
+
toggle(): void;
|
|
93
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCheckboxRootDirective, never>;
|
|
94
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCheckboxRootDirective, "[rdxCheckboxRoot]", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; }, { "onCheckedChange": "onCheckedChange"; }, never, never, true, [{ directive: typeof i1$1.RdxControlValueAccessor; inputs: { "value": "checked"; "disabled": "disabled"; }; outputs: {}; }]>;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
declare class RdxCheckboxInputDirective {
|
|
98
|
+
protected readonly rootContext: {
|
|
99
|
+
checked: _angular_core.Signal<CheckedState | undefined>;
|
|
100
|
+
disabled: _angular_core.Signal<boolean>;
|
|
101
|
+
required: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
|
|
102
|
+
value: _angular_core.InputSignal<string>;
|
|
103
|
+
name: _angular_core.InputSignal<string | undefined>;
|
|
104
|
+
form: _angular_core.InputSignal<string | undefined>;
|
|
105
|
+
readonly: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
|
|
106
|
+
state: _angular_core.Signal<"indeterminate" | "checked" | "unchecked">;
|
|
107
|
+
toggle(): void;
|
|
108
|
+
};
|
|
109
|
+
private readonly elementRef;
|
|
110
|
+
private readonly destroyRef;
|
|
111
|
+
constructor();
|
|
112
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCheckboxInputDirective, never>;
|
|
113
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCheckboxInputDirective, "input[rdxCheckboxInput]", never, {}, {}, never, never, true, never>;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Directive: rdxCheckboxButton
|
|
118
|
+
* Purpose: Turns a native <button> into an accessible checkbox control bound to the Radix Checkbox context.
|
|
119
|
+
* It mirrors the checkbox state via ARIA/data attributes, toggles on click, and prevents Enter activation per WAI-ARIA.
|
|
120
|
+
* In forms, it stops the button's click from bubbling so only the hidden input emits the native event used for form/validator integration.
|
|
121
|
+
*/
|
|
122
|
+
declare class RdxCheckboxButtonDirective {
|
|
123
|
+
protected readonly rootContext: {
|
|
124
|
+
checked: _angular_core.Signal<CheckedState | undefined>;
|
|
125
|
+
disabled: _angular_core.Signal<boolean>;
|
|
126
|
+
required: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
|
|
127
|
+
value: _angular_core.InputSignal<string>;
|
|
128
|
+
name: _angular_core.InputSignal<string | undefined>;
|
|
129
|
+
form: _angular_core.InputSignal<string | undefined>;
|
|
130
|
+
readonly: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
|
|
131
|
+
state: _angular_core.Signal<"indeterminate" | "checked" | "unchecked">;
|
|
132
|
+
toggle(): void;
|
|
133
|
+
};
|
|
134
|
+
private readonly elementRef;
|
|
135
|
+
protected clicked(event: MouseEvent): void;
|
|
136
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCheckboxButtonDirective, never>;
|
|
137
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCheckboxButtonDirective, "button[rdxCheckboxButton]", never, {}, {}, never, never, true, never>;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
declare class RdxCheckboxIndicatorDirective {
|
|
141
|
+
protected readonly rootContext: {
|
|
142
|
+
checked: _angular_core.Signal<CheckedState | undefined>;
|
|
143
|
+
disabled: _angular_core.Signal<boolean>;
|
|
144
|
+
required: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
|
|
145
|
+
value: _angular_core.InputSignal<string>;
|
|
146
|
+
name: _angular_core.InputSignal<string | undefined>;
|
|
147
|
+
form: _angular_core.InputSignal<string | undefined>;
|
|
148
|
+
readonly: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
|
|
149
|
+
state: _angular_core.Signal<"indeterminate" | "checked" | "unchecked">;
|
|
150
|
+
toggle(): void;
|
|
151
|
+
};
|
|
152
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCheckboxIndicatorDirective, never>;
|
|
153
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RdxCheckboxIndicatorDirective, "[rdxCheckboxIndicator]", never, {}, {}, never, never, true, never>;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
declare const checkboxImports: (typeof RdxCheckboxIndicatorPresenceDirective)[];
|
|
157
|
+
declare class RdxCheckboxModule {
|
|
158
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RdxCheckboxModule, never>;
|
|
159
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<RdxCheckboxModule, never, [typeof RdxCheckboxInputDirective, typeof RdxCheckboxRootDirective, typeof RdxCheckboxButtonDirective, typeof RdxCheckboxIndicatorDirective, typeof RdxCheckboxIndicatorPresenceDirective], [typeof RdxCheckboxInputDirective, typeof RdxCheckboxRootDirective, typeof RdxCheckboxButtonDirective, typeof RdxCheckboxIndicatorDirective, typeof RdxCheckboxIndicatorPresenceDirective]>;
|
|
160
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<RdxCheckboxModule>;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export { RdxCheckboxButtonDirective, RdxCheckboxIndicatorDirective, RdxCheckboxIndicatorPresenceDirective, RdxCheckboxInputDirective, RdxCheckboxModule, RdxCheckboxRootDirective, checkboxImports, injectCheckboxRootContext, provideCheckboxRootContext };
|
|
164
|
+
export type { CheckboxRootContext, CheckedState };
|
package/collapsible/index.d.ts
CHANGED
|
@@ -1,14 +1,85 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import * as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InputSignal, ModelSignal, Signal } from '@angular/core';
|
|
3
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
|
+
import * as i1 from '@radix-ng/primitives/presence';
|
|
5
|
+
|
|
6
|
+
type RdxCollapsibleState = 'open' | 'closed';
|
|
7
|
+
interface CollapsibleRootContext {
|
|
8
|
+
contentId: InputSignal<string>;
|
|
9
|
+
open: ModelSignal<boolean>;
|
|
10
|
+
toggle: () => void;
|
|
11
|
+
disabled: Signal<boolean>;
|
|
12
|
+
}
|
|
13
|
+
declare const injectCollapsibleRootContext: (optional?: boolean) => CollapsibleRootContext | null;
|
|
14
|
+
declare const provideCollapsibleRootContext: (useFactory: () => CollapsibleRootContext) => i0.Provider;
|
|
15
|
+
/**
|
|
16
|
+
* @group Components
|
|
17
|
+
*/
|
|
18
|
+
declare class RdxCollapsibleRootDirective {
|
|
19
|
+
/**
|
|
20
|
+
* The controlled open state of the collapsible.
|
|
21
|
+
* Sets the state of the directive. `true` - expanded, `false` - collapsed
|
|
22
|
+
*
|
|
23
|
+
* @group Props
|
|
24
|
+
* @defaultValue false
|
|
25
|
+
*/
|
|
26
|
+
readonly open: ModelSignal<boolean>;
|
|
27
|
+
readonly contentId: InputSignal<string>;
|
|
28
|
+
/**
|
|
29
|
+
* Determines whether a directive is available for interaction.
|
|
30
|
+
* When true, prevents the user from interacting with the collapsible.
|
|
31
|
+
*
|
|
32
|
+
* @group Props
|
|
33
|
+
*/
|
|
34
|
+
readonly disabled: i0.InputSignalWithTransform<boolean, BooleanInput>;
|
|
35
|
+
readonly _disabled: i0.WritableSignal<boolean>;
|
|
36
|
+
readonly isDisabled: Signal<boolean>;
|
|
37
|
+
readonly isOpen: Signal<boolean>;
|
|
38
|
+
/**
|
|
39
|
+
* Emitted with new value when directive state changed.
|
|
40
|
+
* Event handler called when the open state of the collapsible changes.
|
|
41
|
+
*
|
|
42
|
+
* @group Emits
|
|
43
|
+
*/
|
|
44
|
+
readonly onOpenChange: i0.OutputEmitterRef<boolean>;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxCollapsibleRootDirective, never>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCollapsibleRootDirective, "[rdxCollapsibleRoot]", ["rdxCollapsibleRoot"], { "open": { "alias": "open"; "required": false; "isSignal": true; }; "contentId": { "alias": "contentId"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "onOpenChange": "onOpenChange"; }, never, never, true, never>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare class RdxCollapsibleContentDirective {
|
|
50
|
+
private readonly elementRef;
|
|
51
|
+
private readonly platformId;
|
|
52
|
+
protected readonly rootContext: CollapsibleRootContext;
|
|
53
|
+
readonly isOpen: i0.Signal<boolean>;
|
|
54
|
+
readonly height: i0.WritableSignal<number | null>;
|
|
55
|
+
readonly width: i0.WritableSignal<number | null>;
|
|
56
|
+
readonly shouldHide: i0.WritableSignal<boolean>;
|
|
57
|
+
private isMountAnimationPrevented;
|
|
58
|
+
private currentStyle;
|
|
59
|
+
private firstRender;
|
|
60
|
+
constructor();
|
|
61
|
+
onAnimationEnd(): void;
|
|
62
|
+
private updateDimensions;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxCollapsibleContentDirective, never>;
|
|
64
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCollapsibleContentDirective, "[rdxCollapsibleContent]", never, {}, {}, never, never, true, never>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
declare class RdxCollapsibleTriggerDirective {
|
|
68
|
+
protected readonly rootContext: CollapsibleRootContext;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxCollapsibleTriggerDirective, never>;
|
|
70
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCollapsibleTriggerDirective, "[rdxCollapsibleTrigger]", never, {}, {}, never, never, true, never>;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
declare class RdxCollapsibleContentPresenceDirective {
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxCollapsibleContentPresenceDirective, never>;
|
|
75
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxCollapsibleContentPresenceDirective, "ng-template[rdxCollapsibleContentPresence]", never, {}, {}, never, never, true, [{ directive: typeof i1.RdxPresenceDirective; inputs: {}; outputs: {}; }]>;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
declare class RdxCollapsibleModule {
|
|
11
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxCollapsibleModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RdxCollapsibleModule, never, [typeof
|
|
80
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RdxCollapsibleModule, never, [typeof RdxCollapsibleContentDirective, typeof RdxCollapsibleRootDirective, typeof RdxCollapsibleTriggerDirective, typeof RdxCollapsibleContentPresenceDirective], [typeof RdxCollapsibleContentDirective, typeof RdxCollapsibleRootDirective, typeof RdxCollapsibleTriggerDirective, typeof RdxCollapsibleContentPresenceDirective]>;
|
|
13
81
|
static ɵinj: i0.ɵɵInjectorDeclaration<RdxCollapsibleModule>;
|
|
14
82
|
}
|
|
83
|
+
|
|
84
|
+
export { RdxCollapsibleContentDirective, RdxCollapsibleContentPresenceDirective, RdxCollapsibleModule, RdxCollapsibleRootDirective, RdxCollapsibleTriggerDirective, injectCollapsibleRootContext, provideCollapsibleRootContext };
|
|
85
|
+
export type { CollapsibleRootContext, RdxCollapsibleState };
|