@smartsoft001/react 2.193.0 → 2.194.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +99 -7
- package/package.json +5 -5
- package/src/lib/components/accordion/accordion.d.ts +3 -4
- package/src/lib/components/accordion/accordion.js +3 -4
- package/src/lib/components/accordion/accordion.js.map +1 -1
- package/src/lib/components/accordion/accordion.types.d.ts +5 -6
- package/src/lib/components/accordion/body/accordion-body.d.ts +1 -1
- package/src/lib/components/accordion/body/accordion-body.js +1 -1
- package/src/lib/components/accordion/body/accordion-body.js.map +1 -1
- package/src/lib/components/accordion/default/accordion-default.d.ts +3 -3
- package/src/lib/components/accordion/default/accordion-default.js +3 -3
- package/src/lib/components/accordion/header/accordion-header.d.ts +2 -3
- package/src/lib/components/accordion/header/accordion-header.js +2 -3
- package/src/lib/components/accordion/header/accordion-header.js.map +1 -1
- package/src/lib/components/accordion/preset/accordion-preset.d.ts +6 -6
- package/src/lib/components/accordion/preset/accordion-preset.js +6 -6
- package/src/lib/components/accordion/use-accordion.d.ts +8 -9
- package/src/lib/components/accordion/use-accordion.js +9 -10
- package/src/lib/components/accordion/use-accordion.js.map +1 -1
- package/src/lib/components/action-panel/action-panel.d.ts +3 -4
- package/src/lib/components/action-panel/action-panel.js +3 -4
- package/src/lib/components/action-panel/action-panel.js.map +1 -1
- package/src/lib/components/action-panel/action-panel.types.d.ts +1 -1
- package/src/lib/components/action-panel/standard/action-panel-standard.d.ts +4 -5
- package/src/lib/components/action-panel/standard/action-panel-standard.js +4 -5
- package/src/lib/components/action-panel/standard/action-panel-standard.js.map +1 -1
- package/src/lib/components/alert/alert.d.ts +3 -5
- package/src/lib/components/alert/alert.js +3 -5
- package/src/lib/components/alert/alert.js.map +1 -1
- package/src/lib/components/alert/alert.types.d.ts +4 -4
- package/src/lib/components/alert/standard/alert-standard.d.ts +3 -3
- package/src/lib/components/alert/standard/alert-standard.js +3 -3
- package/src/lib/components/alert/use-alert.d.ts +4 -5
- package/src/lib/components/alert/use-alert.js +4 -5
- package/src/lib/components/alert/use-alert.js.map +1 -1
- package/src/lib/components/app/app.d.ts +3 -3
- package/src/lib/components/app/app.js +3 -3
- package/src/lib/components/app/app.types.d.ts +1 -1
- package/src/lib/components/app/standard/app-standard.d.ts +1 -2
- package/src/lib/components/app/standard/app-standard.js +1 -2
- package/src/lib/components/app/standard/app-standard.js.map +1 -1
- package/src/lib/components/app/use-app.d.ts +2 -3
- package/src/lib/components/app/use-app.js +2 -3
- package/src/lib/components/app/use-app.js.map +1 -1
- package/src/lib/components/avatar/avatar.d.ts +2 -3
- package/src/lib/components/avatar/avatar.js +2 -3
- package/src/lib/components/avatar/avatar.js.map +1 -1
- package/src/lib/components/avatar/preset/avatar-preset.d.ts +2 -3
- package/src/lib/components/avatar/preset/avatar-preset.js +2 -3
- package/src/lib/components/avatar/preset/avatar-preset.js.map +1 -1
- package/src/lib/components/avatar/standard/avatar-standard.d.ts +3 -3
- package/src/lib/components/avatar/standard/avatar-standard.js +3 -3
- package/src/lib/components/avatar/use-avatar.d.ts +2 -2
- package/src/lib/components/avatar/use-avatar.js +2 -2
- package/src/lib/components/badge/badge.d.ts +2 -3
- package/src/lib/components/badge/badge.js +2 -3
- package/src/lib/components/badge/badge.js.map +1 -1
- package/src/lib/components/badge/badge.types.d.ts +1 -1
- package/src/lib/components/badge/preset/badge-preset.d.ts +2 -3
- package/src/lib/components/badge/preset/badge-preset.js +2 -3
- package/src/lib/components/badge/preset/badge-preset.js.map +1 -1
- package/src/lib/components/badge/standard/badge-standard.d.ts +3 -3
- package/src/lib/components/badge/standard/badge-standard.js +3 -3
- package/src/lib/components/badge/use-badge.d.ts +2 -3
- package/src/lib/components/badge/use-badge.js +2 -3
- package/src/lib/components/badge/use-badge.js.map +1 -1
- package/src/lib/components/breadcrumbs/breadcrumbs.d.ts +2 -4
- package/src/lib/components/breadcrumbs/breadcrumbs.js +2 -4
- package/src/lib/components/breadcrumbs/breadcrumbs.js.map +1 -1
- package/src/lib/components/breadcrumbs/breadcrumbs.types.d.ts +1 -1
- package/src/lib/components/breadcrumbs/preset/breadcrumbs-preset.d.ts +2 -2
- package/src/lib/components/breadcrumbs/preset/breadcrumbs-preset.js +2 -2
- package/src/lib/components/breadcrumbs/standard/breadcrumbs-standard.d.ts +3 -3
- package/src/lib/components/breadcrumbs/standard/breadcrumbs-standard.js +3 -3
- package/src/lib/components/breadcrumbs/use-breadcrumbs.d.ts +2 -4
- package/src/lib/components/breadcrumbs/use-breadcrumbs.js +2 -4
- package/src/lib/components/breadcrumbs/use-breadcrumbs.js.map +1 -1
- package/src/lib/components/button/button.d.ts +2 -3
- package/src/lib/components/button/button.js +2 -3
- package/src/lib/components/button/button.js.map +1 -1
- package/src/lib/components/button/standard/button-standard.d.ts +1 -1
- package/src/lib/components/button/standard/button-standard.js +1 -1
- package/src/lib/components/button/standard/button-standard.js.map +1 -1
- package/src/lib/components/button/use-button.d.ts +3 -4
- package/src/lib/components/button/use-button.js +3 -4
- package/src/lib/components/button/use-button.js.map +1 -1
- package/src/lib/components/button-group/button-group.d.ts +2 -4
- package/src/lib/components/button-group/button-group.js +2 -4
- package/src/lib/components/button-group/button-group.js.map +1 -1
- package/src/lib/components/button-group/button-group.types.d.ts +4 -4
- package/src/lib/components/button-group/standard/button-group-standard.d.ts +2 -2
- package/src/lib/components/button-group/standard/button-group-standard.js +2 -2
- package/src/lib/components/button-group/use-button-group.d.ts +3 -4
- package/src/lib/components/button-group/use-button-group.js +3 -4
- package/src/lib/components/button-group/use-button-group.js.map +1 -1
- package/src/lib/components/calendar/calendar.d.ts +4 -5
- package/src/lib/components/calendar/calendar.js +4 -5
- package/src/lib/components/calendar/calendar.js.map +1 -1
- package/src/lib/components/calendar/calendar.types.d.ts +9 -13
- package/src/lib/components/calendar/preset/calendar-preset.d.ts +4 -4
- package/src/lib/components/calendar/preset/calendar-preset.js +4 -4
- package/src/lib/components/calendar/standard/calendar-standard.d.ts +5 -5
- package/src/lib/components/calendar/standard/calendar-standard.js +5 -5
- package/src/lib/components/calendar/use-calendar.d.ts +5 -6
- package/src/lib/components/calendar/use-calendar.js +9 -10
- package/src/lib/components/calendar/use-calendar.js.map +1 -1
- package/src/lib/components/card/card.d.ts +4 -6
- package/src/lib/components/card/card.js +4 -6
- package/src/lib/components/card/card.js.map +1 -1
- package/src/lib/components/card/card.types.d.ts +6 -7
- package/src/lib/components/card/standard/card-standard.d.ts +2 -2
- package/src/lib/components/card/standard/card-standard.js +2 -2
- package/src/lib/components/card/use-card.d.ts +2 -3
- package/src/lib/components/card/use-card.js +2 -3
- package/src/lib/components/card/use-card.js.map +1 -1
- package/src/lib/components/card-heading/card-heading.d.ts +2 -4
- package/src/lib/components/card-heading/card-heading.js +2 -4
- package/src/lib/components/card-heading/card-heading.js.map +1 -1
- package/src/lib/components/card-heading/standard/card-heading-standard.d.ts +3 -3
- package/src/lib/components/card-heading/standard/card-heading-standard.js +3 -3
- package/src/lib/components/command-palette/command-palette.d.ts +4 -5
- package/src/lib/components/command-palette/command-palette.js +4 -5
- package/src/lib/components/command-palette/command-palette.js.map +1 -1
- package/src/lib/components/command-palette/command-palette.types.d.ts +5 -7
- package/src/lib/components/command-palette/standard/command-palette-standard.d.ts +4 -4
- package/src/lib/components/command-palette/standard/command-palette-standard.js +4 -4
- package/src/lib/components/command-palette/use-command-palette.d.ts +4 -5
- package/src/lib/components/command-palette/use-command-palette.js +5 -7
- package/src/lib/components/command-palette/use-command-palette.js.map +1 -1
- package/src/lib/components/container/container.d.ts +2 -3
- package/src/lib/components/container/container.js +2 -3
- package/src/lib/components/container/container.js.map +1 -1
- package/src/lib/components/container/standard/container-standard.d.ts +3 -3
- package/src/lib/components/container/standard/container-standard.js +3 -3
- package/src/lib/components/date-edit/date-edit.d.ts +3 -4
- package/src/lib/components/date-edit/date-edit.js +6 -7
- package/src/lib/components/date-edit/date-edit.js.map +1 -1
- package/src/lib/components/date-edit/date-edit.types.d.ts +10 -12
- package/src/lib/components/date-edit/preset/date-edit-preset.d.ts +2 -3
- package/src/lib/components/date-edit/preset/date-edit-preset.js +8 -10
- package/src/lib/components/date-edit/preset/date-edit-preset.js.map +1 -1
- package/src/lib/components/date-edit/standard/date-edit-standard.d.ts +2 -3
- package/src/lib/components/date-edit/standard/date-edit-standard.js +3 -4
- package/src/lib/components/date-edit/standard/date-edit-standard.js.map +1 -1
- package/src/lib/components/date-edit/use-date-edit.d.ts +4 -5
- package/src/lib/components/date-edit/use-date-edit.js +18 -19
- package/src/lib/components/date-edit/use-date-edit.js.map +1 -1
- package/src/lib/components/date-range/date-range.d.ts +3 -4
- package/src/lib/components/date-range/date-range.js +5 -7
- package/src/lib/components/date-range/date-range.js.map +1 -1
- package/src/lib/components/date-range/date-range.types.d.ts +8 -14
- package/src/lib/components/date-range/preset/date-range-preset.d.ts +2 -2
- package/src/lib/components/date-range/preset/date-range-preset.js +2 -2
- package/src/lib/components/date-range/standard/date-range-modal-standard.d.ts +3 -4
- package/src/lib/components/date-range/standard/date-range-modal-standard.js +3 -4
- package/src/lib/components/date-range/standard/date-range-modal-standard.js.map +1 -1
- package/src/lib/components/date-range/standard/date-range-standard.d.ts +2 -3
- package/src/lib/components/date-range/standard/date-range-standard.js +2 -3
- package/src/lib/components/date-range/standard/date-range-standard.js.map +1 -1
- package/src/lib/components/date-range/use-date-range-modal.d.ts +2 -3
- package/src/lib/components/date-range/use-date-range-modal.js +9 -14
- package/src/lib/components/date-range/use-date-range-modal.js.map +1 -1
- package/src/lib/components/date-range/use-date-range.d.ts +2 -3
- package/src/lib/components/date-range/use-date-range.js +20 -21
- package/src/lib/components/date-range/use-date-range.js.map +1 -1
- package/src/lib/components/description-list/description-list.d.ts +2 -4
- package/src/lib/components/description-list/description-list.js +2 -4
- package/src/lib/components/description-list/description-list.js.map +1 -1
- package/src/lib/components/description-list/preset/description-list-preset.d.ts +3 -4
- package/src/lib/components/description-list/preset/description-list-preset.js +3 -4
- package/src/lib/components/description-list/preset/description-list-preset.js.map +1 -1
- package/src/lib/components/description-list/standard/description-list-standard.d.ts +3 -4
- package/src/lib/components/description-list/standard/description-list-standard.js +3 -4
- package/src/lib/components/description-list/standard/description-list-standard.js.map +1 -1
- package/src/lib/components/detail/address/detail-address.d.ts +2 -2
- package/src/lib/components/detail/address/detail-address.js +2 -2
- package/src/lib/components/detail/address/preset/detail-address-preset.d.ts +1 -2
- package/src/lib/components/detail/address/preset/detail-address-preset.js +1 -2
- package/src/lib/components/detail/address/preset/detail-address-preset.js.map +1 -1
- package/src/lib/components/detail/address/use-detail-address.d.ts +2 -2
- package/src/lib/components/detail/address/use-detail-address.js +2 -2
- package/src/lib/components/detail/array/detail-array.d.ts +2 -3
- package/src/lib/components/detail/array/detail-array.js +2 -3
- package/src/lib/components/detail/array/detail-array.js.map +1 -1
- package/src/lib/components/detail/array/preset/detail-array-preset.d.ts +2 -2
- package/src/lib/components/detail/array/preset/detail-array-preset.js +2 -2
- package/src/lib/components/detail/array/use-detail-array.d.ts +2 -3
- package/src/lib/components/detail/array/use-detail-array.js +2 -3
- package/src/lib/components/detail/array/use-detail-array.js.map +1 -1
- package/src/lib/components/detail/attachment/detail-attachment.d.ts +1 -1
- package/src/lib/components/detail/attachment/detail-attachment.js +1 -1
- package/src/lib/components/detail/attachment/detail-attachment.js.map +1 -1
- package/src/lib/components/detail/attachment/preset/detail-attachment-preset.d.ts +2 -2
- package/src/lib/components/detail/attachment/preset/detail-attachment-preset.js +2 -2
- package/src/lib/components/detail/attachment/use-detail-attachment.d.ts +3 -4
- package/src/lib/components/detail/attachment/use-detail-attachment.js +3 -4
- package/src/lib/components/detail/attachment/use-detail-attachment.js.map +1 -1
- package/src/lib/components/detail/color/detail-color.d.ts +1 -1
- package/src/lib/components/detail/color/detail-color.js +1 -1
- package/src/lib/components/detail/color/detail-color.js.map +1 -1
- package/src/lib/components/detail/color/preset/detail-color-preset.d.ts +1 -2
- package/src/lib/components/detail/color/preset/detail-color-preset.js +1 -2
- package/src/lib/components/detail/color/preset/detail-color-preset.js.map +1 -1
- package/src/lib/components/detail/date-range/detail-date-range.d.ts +1 -1
- package/src/lib/components/detail/date-range/detail-date-range.js +1 -1
- package/src/lib/components/detail/date-range/detail-date-range.js.map +1 -1
- package/src/lib/components/detail/date-range/preset/detail-date-range-preset.d.ts +1 -2
- package/src/lib/components/detail/date-range/preset/detail-date-range-preset.js +1 -2
- package/src/lib/components/detail/date-range/preset/detail-date-range-preset.js.map +1 -1
- package/src/lib/components/detail/default-field-components.d.ts +4 -5
- package/src/lib/components/detail/default-field-components.js +4 -5
- package/src/lib/components/detail/default-field-components.js.map +1 -1
- package/src/lib/components/detail/detail.d.ts +6 -7
- package/src/lib/components/detail/detail.js +6 -7
- package/src/lib/components/detail/detail.js.map +1 -1
- package/src/lib/components/detail/detail.types.d.ts +2 -5
- package/src/lib/components/detail/email/detail-email.d.ts +1 -1
- package/src/lib/components/detail/email/detail-email.js +1 -1
- package/src/lib/components/detail/email/detail-email.js.map +1 -1
- package/src/lib/components/detail/email/preset/detail-email-preset.d.ts +1 -2
- package/src/lib/components/detail/email/preset/detail-email-preset.js +1 -2
- package/src/lib/components/detail/email/preset/detail-email-preset.js.map +1 -1
- package/src/lib/components/detail/enum/detail-enum.d.ts +1 -2
- package/src/lib/components/detail/enum/detail-enum.js +1 -2
- package/src/lib/components/detail/enum/detail-enum.js.map +1 -1
- package/src/lib/components/detail/enum/preset/detail-enum-preset.d.ts +1 -2
- package/src/lib/components/detail/enum/preset/detail-enum-preset.js +1 -2
- package/src/lib/components/detail/enum/preset/detail-enum-preset.js.map +1 -1
- package/src/lib/components/detail/enum/use-detail-enum.d.ts +2 -2
- package/src/lib/components/detail/enum/use-detail-enum.js +2 -2
- package/src/lib/components/detail/flag/detail-flag.d.ts +1 -2
- package/src/lib/components/detail/flag/detail-flag.js +1 -2
- package/src/lib/components/detail/flag/detail-flag.js.map +1 -1
- package/src/lib/components/detail/flag/preset/detail-flag-preset.d.ts +2 -2
- package/src/lib/components/detail/flag/preset/detail-flag-preset.js +2 -2
- package/src/lib/components/detail/image/detail-image.d.ts +1 -1
- package/src/lib/components/detail/image/detail-image.js +1 -1
- package/src/lib/components/detail/image/detail-image.js.map +1 -1
- package/src/lib/components/detail/image/preset/detail-image-preset.d.ts +1 -2
- package/src/lib/components/detail/image/preset/detail-image-preset.js +1 -2
- package/src/lib/components/detail/image/preset/detail-image-preset.js.map +1 -1
- package/src/lib/components/detail/image/use-detail-image.d.ts +2 -2
- package/src/lib/components/detail/image/use-detail-image.js +2 -2
- package/src/lib/components/detail/logo/detail-logo.d.ts +1 -1
- package/src/lib/components/detail/logo/detail-logo.js +1 -1
- package/src/lib/components/detail/logo/detail-logo.js.map +1 -1
- package/src/lib/components/detail/logo/preset/detail-logo-preset.d.ts +1 -1
- package/src/lib/components/detail/logo/preset/detail-logo-preset.js +1 -1
- package/src/lib/components/detail/logo/preset/detail-logo-preset.js.map +1 -1
- package/src/lib/components/detail/object/detail-object.d.ts +2 -3
- package/src/lib/components/detail/object/detail-object.js +2 -3
- package/src/lib/components/detail/object/detail-object.js.map +1 -1
- package/src/lib/components/detail/object/preset/detail-object-preset.d.ts +2 -2
- package/src/lib/components/detail/object/preset/detail-object-preset.js +2 -2
- package/src/lib/components/detail/object/use-detail-object.d.ts +3 -3
- package/src/lib/components/detail/object/use-detail-object.js +3 -3
- package/src/lib/components/detail/pdf/detail-pdf.d.ts +1 -1
- package/src/lib/components/detail/pdf/detail-pdf.js +1 -1
- package/src/lib/components/detail/pdf/detail-pdf.js.map +1 -1
- package/src/lib/components/detail/pdf/preset/detail-pdf-preset.d.ts +2 -2
- package/src/lib/components/detail/pdf/preset/detail-pdf-preset.js +2 -2
- package/src/lib/components/detail/pdf/use-detail-pdf.d.ts +3 -3
- package/src/lib/components/detail/pdf/use-detail-pdf.js +3 -3
- package/src/lib/components/detail/phone-number-pl/detail-phone-number-pl.d.ts +2 -3
- package/src/lib/components/detail/phone-number-pl/detail-phone-number-pl.js +2 -3
- package/src/lib/components/detail/phone-number-pl/detail-phone-number-pl.js.map +1 -1
- package/src/lib/components/detail/phone-number-pl/preset/detail-phone-number-pl-preset.d.ts +1 -2
- package/src/lib/components/detail/phone-number-pl/preset/detail-phone-number-pl-preset.js +1 -2
- package/src/lib/components/detail/phone-number-pl/preset/detail-phone-number-pl-preset.js.map +1 -1
- package/src/lib/components/detail/preset-fields.d.ts +2 -2
- package/src/lib/components/detail/preset-fields.js +2 -2
- package/src/lib/components/detail/text/detail-text.d.ts +3 -3
- package/src/lib/components/detail/text/detail-text.js +3 -3
- package/src/lib/components/detail/text/preset/detail-text-preset.d.ts +2 -2
- package/src/lib/components/detail/text/preset/detail-text-preset.js +2 -2
- package/src/lib/components/detail/use-detail.d.ts +4 -4
- package/src/lib/components/detail/use-detail.js +4 -4
- package/src/lib/components/detail/video/detail-video.d.ts +1 -1
- package/src/lib/components/detail/video/detail-video.js +1 -1
- package/src/lib/components/detail/video/detail-video.js.map +1 -1
- package/src/lib/components/detail/video/preset/detail-video-preset.d.ts +1 -2
- package/src/lib/components/detail/video/preset/detail-video-preset.js +1 -2
- package/src/lib/components/detail/video/preset/detail-video-preset.js.map +1 -1
- package/src/lib/components/detail/video/use-detail-video.d.ts +2 -2
- package/src/lib/components/detail/video/use-detail-video.js +2 -2
- package/src/lib/components/details/details.d.ts +3 -5
- package/src/lib/components/details/details.js +3 -5
- package/src/lib/components/details/details.js.map +1 -1
- package/src/lib/components/details/standard/details-standard.d.ts +3 -3
- package/src/lib/components/details/standard/details-standard.js +3 -3
- package/src/lib/components/details/use-details-modal.d.ts +6 -7
- package/src/lib/components/details/use-details-modal.js +2 -3
- package/src/lib/components/details/use-details-modal.js.map +1 -1
- package/src/lib/components/details/use-details.d.ts +1 -1
- package/src/lib/components/details/use-details.js +1 -1
- package/src/lib/components/divider/divider.d.ts +2 -3
- package/src/lib/components/divider/divider.js +2 -3
- package/src/lib/components/divider/divider.js.map +1 -1
- package/src/lib/components/divider/divider.types.d.ts +1 -1
- package/src/lib/components/divider/standard/divider-standard.d.ts +2 -2
- package/src/lib/components/divider/standard/divider-standard.js +2 -2
- package/src/lib/components/drawer/drawer.d.ts +4 -5
- package/src/lib/components/drawer/drawer.js +4 -5
- package/src/lib/components/drawer/drawer.js.map +1 -1
- package/src/lib/components/drawer/drawer.types.d.ts +3 -3
- package/src/lib/components/drawer/standard/drawer-standard.d.ts +1 -1
- package/src/lib/components/drawer/standard/drawer-standard.js +1 -1
- package/src/lib/components/drawer/standard/drawer-standard.js.map +1 -1
- package/src/lib/components/drawer/use-drawer.d.ts +3 -4
- package/src/lib/components/drawer/use-drawer.js +3 -4
- package/src/lib/components/drawer/use-drawer.js.map +1 -1
- package/src/lib/components/dropdown/dropdown.d.ts +4 -5
- package/src/lib/components/dropdown/dropdown.js +4 -5
- package/src/lib/components/dropdown/dropdown.js.map +1 -1
- package/src/lib/components/dropdown/dropdown.types.d.ts +4 -4
- package/src/lib/components/dropdown/preset/dropdown-preset.d.ts +6 -7
- package/src/lib/components/dropdown/preset/dropdown-preset.js +6 -7
- package/src/lib/components/dropdown/preset/dropdown-preset.js.map +1 -1
- package/src/lib/components/dropdown/standard/dropdown-standard.d.ts +1 -1
- package/src/lib/components/dropdown/standard/dropdown-standard.js +1 -1
- package/src/lib/components/dropdown/standard/dropdown-standard.js.map +1 -1
- package/src/lib/components/dropdown/use-dropdown.d.ts +4 -5
- package/src/lib/components/dropdown/use-dropdown.js +4 -5
- package/src/lib/components/dropdown/use-dropdown.js.map +1 -1
- package/src/lib/components/empty-state/empty-state.d.ts +3 -5
- package/src/lib/components/empty-state/empty-state.js +3 -5
- package/src/lib/components/empty-state/empty-state.js.map +1 -1
- package/src/lib/components/empty-state/empty-state.types.d.ts +2 -2
- package/src/lib/components/empty-state/standard/empty-state-standard.d.ts +4 -4
- package/src/lib/components/empty-state/standard/empty-state-standard.js +4 -4
- package/src/lib/components/export/export.d.ts +4 -5
- package/src/lib/components/export/export.js +4 -5
- package/src/lib/components/export/export.js.map +1 -1
- package/src/lib/components/export/export.types.d.ts +1 -1
- package/src/lib/components/export/use-export.d.ts +2 -2
- package/src/lib/components/export/use-export.js +2 -2
- package/src/lib/components/feed/feed.d.ts +2 -3
- package/src/lib/components/feed/feed.js +2 -3
- package/src/lib/components/feed/feed.js.map +1 -1
- package/src/lib/components/feed/standard/feed-standard.d.ts +4 -4
- package/src/lib/components/feed/standard/feed-standard.js +4 -4
- package/src/lib/components/form/form.d.ts +10 -14
- package/src/lib/components/form/form.js +20 -26
- package/src/lib/components/form/form.js.map +1 -1
- package/src/lib/components/form/form.types.d.ts +6 -7
- package/src/lib/components/form/preset/form-preset.d.ts +1 -1
- package/src/lib/components/form/preset/form-preset.js +1 -1
- package/src/lib/components/form/standard/form-standard.d.ts +1 -1
- package/src/lib/components/form/standard/form-standard.js +1 -1
- package/src/lib/components/form/standard/form-standard.js.map +1 -1
- package/src/lib/components/form/use-form-base.d.ts +5 -6
- package/src/lib/components/form/use-form-base.js +9 -13
- package/src/lib/components/form/use-form-base.js.map +1 -1
- package/src/lib/components/grid-list/grid-list.d.ts +2 -3
- package/src/lib/components/grid-list/grid-list.js +2 -3
- package/src/lib/components/grid-list/grid-list.js.map +1 -1
- package/src/lib/components/grid-list/preset/grid-list-preset.d.ts +2 -3
- package/src/lib/components/grid-list/preset/grid-list-preset.js +2 -3
- package/src/lib/components/grid-list/preset/grid-list-preset.js.map +1 -1
- package/src/lib/components/grid-list/standard/grid-list-standard.d.ts +3 -4
- package/src/lib/components/grid-list/standard/grid-list-standard.js +3 -4
- package/src/lib/components/grid-list/standard/grid-list-standard.js.map +1 -1
- package/src/lib/components/icon/icon.d.ts +1 -1
- package/src/lib/components/icon/icon.js +1 -1
- package/src/lib/components/icon/icon.js.map +1 -1
- package/src/lib/components/icon/icon.types.d.ts +1 -1
- package/src/lib/components/icon/preset/preset-classes.d.ts +1 -1
- package/src/lib/components/icon/preset/preset-classes.js +2 -2
- package/src/lib/components/icon/preset/preset-classes.js.map +1 -1
- package/src/lib/components/import/import.d.ts +4 -5
- package/src/lib/components/import/import.js +4 -5
- package/src/lib/components/import/import.js.map +1 -1
- package/src/lib/components/import/import.types.d.ts +2 -2
- package/src/lib/components/import/use-import.d.ts +3 -3
- package/src/lib/components/import/use-import.js +4 -4
- package/src/lib/components/import/use-import.js.map +1 -1
- package/src/lib/components/info/info.d.ts +2 -3
- package/src/lib/components/info/info.js +2 -3
- package/src/lib/components/info/info.js.map +1 -1
- package/src/lib/components/info/standard/info-standard.d.ts +3 -3
- package/src/lib/components/info/standard/info-standard.js +3 -3
- package/src/lib/components/info/use-info.d.ts +2 -2
- package/src/lib/components/info/use-info.js +2 -2
- package/src/lib/components/input/address/input-address.d.ts +4 -4
- package/src/lib/components/input/address/input-address.js +4 -4
- package/src/lib/components/input/address/preset/input-address-preset.d.ts +4 -5
- package/src/lib/components/input/address/preset/input-address-preset.js +4 -5
- package/src/lib/components/input/address/preset/input-address-preset.js.map +1 -1
- package/src/lib/components/input/address/use-input-address.d.ts +4 -5
- package/src/lib/components/input/address/use-input-address.js +4 -5
- package/src/lib/components/input/address/use-input-address.js.map +1 -1
- package/src/lib/components/input/array/input-array.d.ts +4 -5
- package/src/lib/components/input/array/input-array.js +4 -5
- package/src/lib/components/input/array/input-array.js.map +1 -1
- package/src/lib/components/input/array/preset/input-array-preset.d.ts +3 -3
- package/src/lib/components/input/array/preset/input-array-preset.js +3 -3
- package/src/lib/components/input/array/use-input-array.d.ts +3 -5
- package/src/lib/components/input/array/use-input-array.js +9 -11
- package/src/lib/components/input/array/use-input-array.js.map +1 -1
- package/src/lib/components/input/attachment/input-attachment.d.ts +2 -3
- package/src/lib/components/input/attachment/input-attachment.js +2 -3
- package/src/lib/components/input/attachment/input-attachment.js.map +1 -1
- package/src/lib/components/input/attachment/preset/input-attachment-preset.d.ts +1 -2
- package/src/lib/components/input/attachment/preset/input-attachment-preset.js +1 -2
- package/src/lib/components/input/attachment/preset/input-attachment-preset.js.map +1 -1
- package/src/lib/components/input/base/use-input-file.d.ts +4 -5
- package/src/lib/components/input/base/use-input-file.js +4 -5
- package/src/lib/components/input/base/use-input-file.js.map +1 -1
- package/src/lib/components/input/base/use-input-possibilities.d.ts +1 -2
- package/src/lib/components/input/base/use-input-possibilities.js +1 -2
- package/src/lib/components/input/base/use-input-possibilities.js.map +1 -1
- package/src/lib/components/input/base/use-input.d.ts +4 -5
- package/src/lib/components/input/base/use-input.js +6 -7
- package/src/lib/components/input/base/use-input.js.map +1 -1
- package/src/lib/components/input/check/input-check.d.ts +3 -4
- package/src/lib/components/input/check/input-check.js +3 -4
- package/src/lib/components/input/check/input-check.js.map +1 -1
- package/src/lib/components/input/check/preset/input-check-preset.d.ts +2 -3
- package/src/lib/components/input/check/preset/input-check-preset.js +2 -3
- package/src/lib/components/input/check/preset/input-check-preset.js.map +1 -1
- package/src/lib/components/input/check/use-input-check.d.ts +9 -12
- package/src/lib/components/input/check/use-input-check.js +9 -12
- package/src/lib/components/input/check/use-input-check.js.map +1 -1
- package/src/lib/components/input/color/input-color.d.ts +2 -4
- package/src/lib/components/input/color/input-color.js +2 -4
- package/src/lib/components/input/color/input-color.js.map +1 -1
- package/src/lib/components/input/color/preset/input-color-preset.d.ts +2 -3
- package/src/lib/components/input/color/preset/input-color-preset.js +2 -3
- package/src/lib/components/input/color/preset/input-color-preset.js.map +1 -1
- package/src/lib/components/input/color/use-input-color.d.ts +4 -4
- package/src/lib/components/input/color/use-input-color.js +5 -5
- package/src/lib/components/input/color/use-input-color.js.map +1 -1
- package/src/lib/components/input/currency/input-currency.d.ts +2 -4
- package/src/lib/components/input/currency/input-currency.js +2 -4
- package/src/lib/components/input/currency/input-currency.js.map +1 -1
- package/src/lib/components/input/currency/preset/input-currency-preset.d.ts +2 -3
- package/src/lib/components/input/currency/preset/input-currency-preset.js +2 -3
- package/src/lib/components/input/currency/preset/input-currency-preset.js.map +1 -1
- package/src/lib/components/input/date/input-date.d.ts +4 -7
- package/src/lib/components/input/date/input-date.js +4 -7
- package/src/lib/components/input/date/input-date.js.map +1 -1
- package/src/lib/components/input/date/preset/input-date-preset.d.ts +4 -5
- package/src/lib/components/input/date/preset/input-date-preset.js +4 -5
- package/src/lib/components/input/date/preset/input-date-preset.js.map +1 -1
- package/src/lib/components/input/date-range/input-date-range.d.ts +5 -8
- package/src/lib/components/input/date-range/input-date-range.js +5 -8
- package/src/lib/components/input/date-range/input-date-range.js.map +1 -1
- package/src/lib/components/input/date-range/preset/input-date-range-preset.d.ts +6 -8
- package/src/lib/components/input/date-range/preset/input-date-range-preset.js +6 -8
- package/src/lib/components/input/date-range/preset/input-date-range-preset.js.map +1 -1
- package/src/lib/components/input/date-with-edit/input-date-with-edit.d.ts +6 -9
- package/src/lib/components/input/date-with-edit/input-date-with-edit.js +6 -9
- package/src/lib/components/input/date-with-edit/input-date-with-edit.js.map +1 -1
- package/src/lib/components/input/date-with-edit/preset/input-date-with-edit-preset.d.ts +7 -8
- package/src/lib/components/input/date-with-edit/preset/input-date-with-edit-preset.js +7 -8
- package/src/lib/components/input/date-with-edit/preset/input-date-with-edit-preset.js.map +1 -1
- package/src/lib/components/input/default-field-components.js +4 -5
- package/src/lib/components/input/default-field-components.js.map +1 -1
- package/src/lib/components/input/email/input-email.d.ts +2 -3
- package/src/lib/components/input/email/input-email.js +2 -3
- package/src/lib/components/input/email/input-email.js.map +1 -1
- package/src/lib/components/input/email/preset/input-email-preset.d.ts +2 -3
- package/src/lib/components/input/email/preset/input-email-preset.js +2 -3
- package/src/lib/components/input/email/preset/input-email-preset.js.map +1 -1
- package/src/lib/components/input/enum/input-enum.d.ts +3 -4
- package/src/lib/components/input/enum/input-enum.js +3 -4
- package/src/lib/components/input/enum/input-enum.js.map +1 -1
- package/src/lib/components/input/enum/preset/input-enum-preset.d.ts +4 -5
- package/src/lib/components/input/enum/preset/input-enum-preset.js +4 -5
- package/src/lib/components/input/enum/preset/input-enum-preset.js.map +1 -1
- package/src/lib/components/input/error/input-error-messages.d.ts +3 -3
- package/src/lib/components/input/error/input-error-messages.js +3 -3
- package/src/lib/components/input/error/input-error.d.ts +1 -1
- package/src/lib/components/input/error/input-error.js +1 -1
- package/src/lib/components/input/error/input-error.js.map +1 -1
- package/src/lib/components/input/field-options.d.ts +2 -3
- package/src/lib/components/input/field-options.js +2 -3
- package/src/lib/components/input/field-options.js.map +1 -1
- package/src/lib/components/input/file/input-file.d.ts +4 -5
- package/src/lib/components/input/file/input-file.js +4 -5
- package/src/lib/components/input/file/input-file.js.map +1 -1
- package/src/lib/components/input/file/preset/input-file-preset.d.ts +4 -5
- package/src/lib/components/input/file/preset/input-file-preset.js +4 -5
- package/src/lib/components/input/file/preset/input-file-preset.js.map +1 -1
- package/src/lib/components/input/file/use-input-file-drop-zone.d.ts +4 -6
- package/src/lib/components/input/file/use-input-file-drop-zone.js +4 -6
- package/src/lib/components/input/file/use-input-file-drop-zone.js.map +1 -1
- package/src/lib/components/input/flag/input-flag.d.ts +1 -2
- package/src/lib/components/input/flag/input-flag.js +1 -2
- package/src/lib/components/input/flag/input-flag.js.map +1 -1
- package/src/lib/components/input/flag/preset/input-flag-preset.d.ts +2 -2
- package/src/lib/components/input/flag/preset/input-flag-preset.js +2 -2
- package/src/lib/components/input/float/input-float.d.ts +1 -2
- package/src/lib/components/input/float/input-float.js +1 -2
- package/src/lib/components/input/float/input-float.js.map +1 -1
- package/src/lib/components/input/float/preset/input-float-preset.d.ts +2 -3
- package/src/lib/components/input/float/preset/input-float-preset.js +2 -3
- package/src/lib/components/input/float/preset/input-float-preset.js.map +1 -1
- package/src/lib/components/input/image/input-image.d.ts +4 -5
- package/src/lib/components/input/image/input-image.js +4 -5
- package/src/lib/components/input/image/input-image.js.map +1 -1
- package/src/lib/components/input/image/preset/input-image-preset.d.ts +3 -4
- package/src/lib/components/input/image/preset/input-image-preset.js +3 -4
- package/src/lib/components/input/image/preset/input-image-preset.js.map +1 -1
- package/src/lib/components/input/image/use-input-image.d.ts +3 -4
- package/src/lib/components/input/image/use-input-image.js +3 -4
- package/src/lib/components/input/image/use-input-image.js.map +1 -1
- package/src/lib/components/input/input.d.ts +6 -8
- package/src/lib/components/input/input.js +6 -8
- package/src/lib/components/input/input.js.map +1 -1
- package/src/lib/components/input/input.types.d.ts +4 -5
- package/src/lib/components/input/int/input-int.d.ts +2 -3
- package/src/lib/components/input/int/input-int.js +2 -3
- package/src/lib/components/input/int/input-int.js.map +1 -1
- package/src/lib/components/input/int/number-value.d.ts +2 -3
- package/src/lib/components/input/int/number-value.js +2 -3
- package/src/lib/components/input/int/number-value.js.map +1 -1
- package/src/lib/components/input/int/preset/input-int-preset.d.ts +2 -2
- package/src/lib/components/input/int/preset/input-int-preset.js +2 -2
- package/src/lib/components/input/ints/input-ints.d.ts +2 -3
- package/src/lib/components/input/ints/input-ints.js +2 -3
- package/src/lib/components/input/ints/input-ints.js.map +1 -1
- package/src/lib/components/input/ints/preset/input-ints-preset.d.ts +3 -4
- package/src/lib/components/input/ints/preset/input-ints-preset.js +3 -4
- package/src/lib/components/input/ints/preset/input-ints-preset.js.map +1 -1
- package/src/lib/components/input/ints/use-input-ints.d.ts +6 -7
- package/src/lib/components/input/ints/use-input-ints.js +4 -5
- package/src/lib/components/input/ints/use-input-ints.js.map +1 -1
- package/src/lib/components/input/logo/input-logo.d.ts +5 -7
- package/src/lib/components/input/logo/input-logo.js +5 -7
- package/src/lib/components/input/logo/input-logo.js.map +1 -1
- package/src/lib/components/input/logo/preset/input-logo-preset.d.ts +5 -6
- package/src/lib/components/input/logo/preset/input-logo-preset.js +5 -6
- package/src/lib/components/input/logo/preset/input-logo-preset.js.map +1 -1
- package/src/lib/components/input/long-text/input-long-text.d.ts +3 -5
- package/src/lib/components/input/long-text/input-long-text.js +3 -5
- package/src/lib/components/input/long-text/input-long-text.js.map +1 -1
- package/src/lib/components/input/long-text/preset/input-long-text-preset.d.ts +3 -4
- package/src/lib/components/input/long-text/preset/input-long-text-preset.js +3 -4
- package/src/lib/components/input/long-text/preset/input-long-text-preset.js.map +1 -1
- package/src/lib/components/input/long-text/rich-text-commands.d.ts +3 -4
- package/src/lib/components/input/long-text/rich-text-commands.js +3 -4
- package/src/lib/components/input/long-text/rich-text-commands.js.map +1 -1
- package/src/lib/components/input/long-text/rich-text-editor.d.ts +3 -5
- package/src/lib/components/input/long-text/rich-text-editor.js +5 -7
- package/src/lib/components/input/long-text/rich-text-editor.js.map +1 -1
- package/src/lib/components/input/long-text/rich-text-menu.d.ts +4 -5
- package/src/lib/components/input/long-text/rich-text-menu.js +5 -6
- package/src/lib/components/input/long-text/rich-text-menu.js.map +1 -1
- package/src/lib/components/input/long-text/rich-text-popups.d.ts +7 -9
- package/src/lib/components/input/long-text/rich-text-popups.js +7 -9
- package/src/lib/components/input/long-text/rich-text-popups.js.map +1 -1
- package/src/lib/components/input/long-text/rich-text-toolbar.d.ts +9 -17
- package/src/lib/components/input/long-text/rich-text-toolbar.js +8 -16
- package/src/lib/components/input/long-text/rich-text-toolbar.js.map +1 -1
- package/src/lib/components/input/nip/input-nip.d.ts +3 -4
- package/src/lib/components/input/nip/input-nip.js +3 -4
- package/src/lib/components/input/nip/input-nip.js.map +1 -1
- package/src/lib/components/input/nip/preset/input-nip-preset.d.ts +3 -3
- package/src/lib/components/input/nip/preset/input-nip-preset.js +3 -3
- package/src/lib/components/input/nip/use-input-nip.d.ts +6 -6
- package/src/lib/components/input/nip/use-input-nip.js +6 -6
- package/src/lib/components/input/object/input-object.d.ts +1 -3
- package/src/lib/components/input/object/input-object.js +1 -3
- package/src/lib/components/input/object/input-object.js.map +1 -1
- package/src/lib/components/input/object/preset/input-object-preset.d.ts +2 -2
- package/src/lib/components/input/object/preset/input-object-preset.js +2 -2
- package/src/lib/components/input/object/use-input-object.d.ts +3 -3
- package/src/lib/components/input/object/use-input-object.js +3 -3
- package/src/lib/components/input/password/input-password.d.ts +4 -5
- package/src/lib/components/input/password/input-password.js +4 -5
- package/src/lib/components/input/password/input-password.js.map +1 -1
- package/src/lib/components/input/password/preset/input-password-preset.d.ts +4 -6
- package/src/lib/components/input/password/preset/input-password-preset.js +4 -6
- package/src/lib/components/input/password/preset/input-password-preset.js.map +1 -1
- package/src/lib/components/input/password/use-input-password.d.ts +4 -5
- package/src/lib/components/input/password/use-input-password.js +4 -5
- package/src/lib/components/input/password/use-input-password.js.map +1 -1
- package/src/lib/components/input/pdf/input-pdf.d.ts +4 -5
- package/src/lib/components/input/pdf/input-pdf.js +4 -5
- package/src/lib/components/input/pdf/input-pdf.js.map +1 -1
- package/src/lib/components/input/pdf/preset/input-pdf-preset.d.ts +5 -6
- package/src/lib/components/input/pdf/preset/input-pdf-preset.js +5 -6
- package/src/lib/components/input/pdf/preset/input-pdf-preset.js.map +1 -1
- package/src/lib/components/input/pesel/input-pesel.d.ts +3 -5
- package/src/lib/components/input/pesel/input-pesel.js +3 -5
- package/src/lib/components/input/pesel/input-pesel.js.map +1 -1
- package/src/lib/components/input/pesel/preset/input-pesel-preset.d.ts +4 -6
- package/src/lib/components/input/pesel/preset/input-pesel-preset.js +4 -6
- package/src/lib/components/input/pesel/preset/input-pesel-preset.js.map +1 -1
- package/src/lib/components/input/phone-number/input-phone-number.d.ts +3 -4
- package/src/lib/components/input/phone-number/input-phone-number.js +3 -4
- package/src/lib/components/input/phone-number/input-phone-number.js.map +1 -1
- package/src/lib/components/input/phone-number/preset/input-phone-number-preset.d.ts +1 -2
- package/src/lib/components/input/phone-number/preset/input-phone-number-preset.js +1 -2
- package/src/lib/components/input/phone-number/preset/input-phone-number-preset.js.map +1 -1
- package/src/lib/components/input/phone-number-pl/input-phone-number-pl.d.ts +2 -3
- package/src/lib/components/input/phone-number-pl/input-phone-number-pl.js +2 -3
- package/src/lib/components/input/phone-number-pl/input-phone-number-pl.js.map +1 -1
- package/src/lib/components/input/phone-number-pl/preset/input-phone-number-pl-preset.d.ts +3 -4
- package/src/lib/components/input/phone-number-pl/preset/input-phone-number-pl-preset.js +3 -4
- package/src/lib/components/input/phone-number-pl/preset/input-phone-number-pl-preset.js.map +1 -1
- package/src/lib/components/input/phone-number-pl/use-input-phone-number-pl.d.ts +7 -7
- package/src/lib/components/input/phone-number-pl/use-input-phone-number-pl.js +7 -7
- package/src/lib/components/input/preset-fields.d.ts +3 -4
- package/src/lib/components/input/preset-fields.js +3 -4
- package/src/lib/components/input/preset-fields.js.map +1 -1
- package/src/lib/components/input/radio/input-radio.d.ts +2 -3
- package/src/lib/components/input/radio/input-radio.js +2 -3
- package/src/lib/components/input/radio/input-radio.js.map +1 -1
- package/src/lib/components/input/radio/preset/input-radio-preset.d.ts +3 -3
- package/src/lib/components/input/radio/preset/input-radio-preset.js +3 -3
- package/src/lib/components/input/radio/use-input-radio.d.ts +8 -9
- package/src/lib/components/input/radio/use-input-radio.js +8 -9
- package/src/lib/components/input/radio/use-input-radio.js.map +1 -1
- package/src/lib/components/input/strings/input-strings.d.ts +6 -7
- package/src/lib/components/input/strings/input-strings.js +6 -7
- package/src/lib/components/input/strings/input-strings.js.map +1 -1
- package/src/lib/components/input/strings/preset/input-strings-preset.d.ts +4 -5
- package/src/lib/components/input/strings/preset/input-strings-preset.js +4 -5
- package/src/lib/components/input/strings/preset/input-strings-preset.js.map +1 -1
- package/src/lib/components/input/text/input-text.d.ts +2 -3
- package/src/lib/components/input/text/input-text.js +2 -3
- package/src/lib/components/input/text/input-text.js.map +1 -1
- package/src/lib/components/input/text/preset/input-text-preset.d.ts +2 -3
- package/src/lib/components/input/text/preset/input-text-preset.js +2 -3
- package/src/lib/components/input/text/preset/input-text-preset.js.map +1 -1
- package/src/lib/components/input/video/input-video.d.ts +4 -6
- package/src/lib/components/input/video/input-video.js +4 -6
- package/src/lib/components/input/video/input-video.js.map +1 -1
- package/src/lib/components/input/video/preset/input-video-preset.d.ts +6 -6
- package/src/lib/components/input/video/preset/input-video-preset.js +6 -6
- package/src/lib/components/input/video/use-input-video.d.ts +3 -5
- package/src/lib/components/input/video/use-input-video.js +4 -6
- package/src/lib/components/input/video/use-input-video.js.map +1 -1
- package/src/lib/components/list/desktop/list-desktop.d.ts +4 -5
- package/src/lib/components/list/desktop/list-desktop.js +4 -5
- package/src/lib/components/list/desktop/list-desktop.js.map +1 -1
- package/src/lib/components/list/desktop/preset/list-desktop-preset.d.ts +6 -7
- package/src/lib/components/list/desktop/preset/list-desktop-preset.js +6 -7
- package/src/lib/components/list/desktop/preset/list-desktop-preset.js.map +1 -1
- package/src/lib/components/list/desktop/use-list-desktop.d.ts +4 -8
- package/src/lib/components/list/desktop/use-list-desktop.js +4 -8
- package/src/lib/components/list/desktop/use-list-desktop.js.map +1 -1
- package/src/lib/components/list/list-title-key.d.ts +2 -3
- package/src/lib/components/list/list-title-key.js +2 -3
- package/src/lib/components/list/list-title-key.js.map +1 -1
- package/src/lib/components/list/list.d.ts +8 -10
- package/src/lib/components/list/list.js +8 -10
- package/src/lib/components/list/list.js.map +1 -1
- package/src/lib/components/list/list.types.d.ts +3 -4
- package/src/lib/components/list/masonry-grid/list-masonry-grid.d.ts +3 -5
- package/src/lib/components/list/masonry-grid/list-masonry-grid.js +3 -5
- package/src/lib/components/list/masonry-grid/list-masonry-grid.js.map +1 -1
- package/src/lib/components/list/masonry-grid/preset/list-masonry-grid-preset.d.ts +5 -6
- package/src/lib/components/list/masonry-grid/preset/list-masonry-grid-preset.js +5 -6
- package/src/lib/components/list/masonry-grid/preset/list-masonry-grid-preset.js.map +1 -1
- package/src/lib/components/list/masonry-grid/use-list-masonry-grid.d.ts +1 -2
- package/src/lib/components/list/masonry-grid/use-list-masonry-grid.js +1 -2
- package/src/lib/components/list/masonry-grid/use-list-masonry-grid.js.map +1 -1
- package/src/lib/components/list/mobile/list-mobile.d.ts +2 -3
- package/src/lib/components/list/mobile/list-mobile.js +2 -3
- package/src/lib/components/list/mobile/list-mobile.js.map +1 -1
- package/src/lib/components/list/mobile/preset/list-mobile-preset.d.ts +5 -6
- package/src/lib/components/list/mobile/preset/list-mobile-preset.js +5 -6
- package/src/lib/components/list/mobile/preset/list-mobile-preset.js.map +1 -1
- package/src/lib/components/list/preset-modes.d.ts +1 -2
- package/src/lib/components/list/preset-modes.js +1 -2
- package/src/lib/components/list/preset-modes.js.map +1 -1
- package/src/lib/components/list/use-list.d.ts +6 -6
- package/src/lib/components/list/use-list.js +9 -9
- package/src/lib/components/list/use-list.js.map +1 -1
- package/src/lib/components/list-container/list-container.d.ts +3 -5
- package/src/lib/components/list-container/list-container.js +3 -5
- package/src/lib/components/list-container/list-container.js.map +1 -1
- package/src/lib/components/list-container/list-container.types.d.ts +1 -1
- package/src/lib/components/list-container/standard/list-container-standard.d.ts +2 -3
- package/src/lib/components/list-container/standard/list-container-standard.js +2 -3
- package/src/lib/components/list-container/standard/list-container-standard.js.map +1 -1
- package/src/lib/components/loader/loader.d.ts +2 -3
- package/src/lib/components/loader/loader.js +2 -3
- package/src/lib/components/loader/loader.js.map +1 -1
- package/src/lib/components/loader/standard/loader-standard.d.ts +1 -1
- package/src/lib/components/loader/standard/loader-standard.js +1 -1
- package/src/lib/components/loader/standard/loader-standard.js.map +1 -1
- package/src/lib/components/loader/use-loader.d.ts +2 -3
- package/src/lib/components/loader/use-loader.js +4 -5
- package/src/lib/components/loader/use-loader.js.map +1 -1
- package/src/lib/components/media-object/media-object.d.ts +3 -5
- package/src/lib/components/media-object/media-object.js +3 -5
- package/src/lib/components/media-object/media-object.js.map +1 -1
- package/src/lib/components/media-object/media-object.types.d.ts +1 -1
- package/src/lib/components/media-object/standard/media-object-standard.d.ts +4 -4
- package/src/lib/components/media-object/standard/media-object-standard.js +4 -4
- package/src/lib/components/modal/modal.d.ts +5 -6
- package/src/lib/components/modal/modal.js +5 -6
- package/src/lib/components/modal/modal.js.map +1 -1
- package/src/lib/components/modal/modal.types.d.ts +4 -4
- package/src/lib/components/modal/standard/modal-standard.d.ts +3 -3
- package/src/lib/components/modal/standard/modal-standard.js +3 -3
- package/src/lib/components/modal/use-modal.d.ts +4 -5
- package/src/lib/components/modal/use-modal.js +4 -5
- package/src/lib/components/modal/use-modal.js.map +1 -1
- package/src/lib/components/multi-column-layout/multi-column-layout.d.ts +3 -5
- package/src/lib/components/multi-column-layout/multi-column-layout.js +3 -5
- package/src/lib/components/multi-column-layout/multi-column-layout.js.map +1 -1
- package/src/lib/components/multi-column-layout/multi-column-layout.types.d.ts +1 -1
- package/src/lib/components/multi-column-layout/standard/multi-column-layout-standard.d.ts +3 -3
- package/src/lib/components/multi-column-layout/standard/multi-column-layout-standard.js +3 -3
- package/src/lib/components/navbar/nav-link.d.ts +5 -5
- package/src/lib/components/navbar/nav-link.js +5 -5
- package/src/lib/components/navbar/navbar.d.ts +2 -3
- package/src/lib/components/navbar/navbar.js +2 -3
- package/src/lib/components/navbar/navbar.js.map +1 -1
- package/src/lib/components/navbar/navbar.types.d.ts +2 -2
- package/src/lib/components/navbar/standard/navbar-standard.d.ts +1 -1
- package/src/lib/components/navbar/standard/navbar-standard.js +1 -1
- package/src/lib/components/navbar/standard/navbar-standard.js.map +1 -1
- package/src/lib/components/navbar/use-navbar.d.ts +3 -4
- package/src/lib/components/navbar/use-navbar.js +3 -4
- package/src/lib/components/navbar/use-navbar.js.map +1 -1
- package/src/lib/components/notification/notification.d.ts +4 -5
- package/src/lib/components/notification/notification.js +4 -5
- package/src/lib/components/notification/notification.js.map +1 -1
- package/src/lib/components/notification/notification.types.d.ts +1 -1
- package/src/lib/components/notification/preset/notification-preset.d.ts +4 -5
- package/src/lib/components/notification/preset/notification-preset.js +4 -5
- package/src/lib/components/notification/preset/notification-preset.js.map +1 -1
- package/src/lib/components/notification/standard/notification-standard.d.ts +1 -1
- package/src/lib/components/notification/standard/notification-standard.js +1 -1
- package/src/lib/components/notification/standard/notification-standard.js.map +1 -1
- package/src/lib/components/notification/use-notification.d.ts +3 -4
- package/src/lib/components/notification/use-notification.js +3 -4
- package/src/lib/components/notification/use-notification.js.map +1 -1
- package/src/lib/components/page/page.d.ts +7 -8
- package/src/lib/components/page/page.js +7 -8
- package/src/lib/components/page/page.js.map +1 -1
- package/src/lib/components/page/page.types.d.ts +4 -4
- package/src/lib/components/page/preset/page-preset.d.ts +2 -2
- package/src/lib/components/page/preset/page-preset.js +2 -2
- package/src/lib/components/page/preset-variants.d.ts +3 -4
- package/src/lib/components/page/preset-variants.js +3 -4
- package/src/lib/components/page/preset-variants.js.map +1 -1
- package/src/lib/components/page/standard/page-standard.d.ts +5 -5
- package/src/lib/components/page/standard/page-standard.js +5 -5
- package/src/lib/components/page/use-page.d.ts +3 -4
- package/src/lib/components/page/use-page.js +3 -4
- package/src/lib/components/page/use-page.js.map +1 -1
- package/src/lib/components/page-heading/page-heading.d.ts +2 -4
- package/src/lib/components/page-heading/page-heading.js +2 -4
- package/src/lib/components/page-heading/page-heading.js.map +1 -1
- package/src/lib/components/page-heading/preset/page-heading-preset.d.ts +3 -4
- package/src/lib/components/page-heading/preset/page-heading-preset.js +3 -4
- package/src/lib/components/page-heading/preset/page-heading-preset.js.map +1 -1
- package/src/lib/components/page-heading/standard/page-heading-standard.d.ts +3 -3
- package/src/lib/components/page-heading/standard/page-heading-standard.js +3 -3
- package/src/lib/components/paging/paging.d.ts +3 -4
- package/src/lib/components/paging/paging.js +3 -4
- package/src/lib/components/paging/paging.js.map +1 -1
- package/src/lib/components/paging/paging.types.d.ts +1 -1
- package/src/lib/components/paging/preset/paging-preset.d.ts +3 -3
- package/src/lib/components/paging/preset/paging-preset.js +3 -3
- package/src/lib/components/paging/standard/paging-standard.d.ts +3 -3
- package/src/lib/components/paging/standard/paging-standard.js +3 -3
- package/src/lib/components/paging/use-paging.d.ts +5 -6
- package/src/lib/components/paging/use-paging.js +5 -6
- package/src/lib/components/paging/use-paging.js.map +1 -1
- package/src/lib/components/password-strength/password-strength.d.ts +2 -4
- package/src/lib/components/password-strength/password-strength.js +2 -4
- package/src/lib/components/password-strength/password-strength.js.map +1 -1
- package/src/lib/components/password-strength/password-strength.types.d.ts +2 -5
- package/src/lib/components/password-strength/standard/password-strength-standard.d.ts +1 -1
- package/src/lib/components/password-strength/standard/password-strength-standard.js +1 -1
- package/src/lib/components/password-strength/standard/password-strength-standard.js.map +1 -1
- package/src/lib/components/password-strength/use-password-strength.d.ts +1 -2
- package/src/lib/components/password-strength/use-password-strength.js +3 -4
- package/src/lib/components/password-strength/use-password-strength.js.map +1 -1
- package/src/lib/components/presets/presets.d.ts +3 -5
- package/src/lib/components/presets/presets.js +3 -5
- package/src/lib/components/presets/presets.js.map +1 -1
- package/src/lib/components/progress-bars/progress-bars.d.ts +2 -4
- package/src/lib/components/progress-bars/progress-bars.js +2 -4
- package/src/lib/components/progress-bars/progress-bars.js.map +1 -1
- package/src/lib/components/progress-bars/standard/progress-bars-standard.d.ts +2 -2
- package/src/lib/components/progress-bars/standard/progress-bars-standard.js +3 -3
- package/src/lib/components/progress-bars/standard/progress-bars-standard.js.map +1 -1
- package/src/lib/components/searchbar/searchbar.d.ts +2 -3
- package/src/lib/components/searchbar/searchbar.js +2 -3
- package/src/lib/components/searchbar/searchbar.js.map +1 -1
- package/src/lib/components/searchbar/searchbar.types.d.ts +7 -7
- package/src/lib/components/searchbar/standard/searchbar-standard.d.ts +3 -5
- package/src/lib/components/searchbar/standard/searchbar-standard.js +3 -5
- package/src/lib/components/searchbar/standard/searchbar-standard.js.map +1 -1
- package/src/lib/components/searchbar/use-searchbar.d.ts +1 -2
- package/src/lib/components/searchbar/use-searchbar.js +1 -2
- package/src/lib/components/searchbar/use-searchbar.js.map +1 -1
- package/src/lib/components/section-heading/preset/section-heading-preset.d.ts +1 -2
- package/src/lib/components/section-heading/preset/section-heading-preset.js +1 -2
- package/src/lib/components/section-heading/preset/section-heading-preset.js.map +1 -1
- package/src/lib/components/section-heading/section-heading.d.ts +2 -4
- package/src/lib/components/section-heading/section-heading.js +2 -4
- package/src/lib/components/section-heading/section-heading.js.map +1 -1
- package/src/lib/components/section-heading/standard/section-heading-standard.d.ts +3 -3
- package/src/lib/components/section-heading/standard/section-heading-standard.js +3 -3
- package/src/lib/components/select-menu/select-menu.d.ts +2 -4
- package/src/lib/components/select-menu/select-menu.js +2 -4
- package/src/lib/components/select-menu/select-menu.js.map +1 -1
- package/src/lib/components/select-menu/select-menu.types.d.ts +3 -3
- package/src/lib/components/select-menu/standard/select-menu-standard.d.ts +2 -3
- package/src/lib/components/select-menu/standard/select-menu-standard.js +2 -3
- package/src/lib/components/select-menu/standard/select-menu-standard.js.map +1 -1
- package/src/lib/components/select-menu/use-select-menu.d.ts +3 -4
- package/src/lib/components/select-menu/use-select-menu.js +3 -4
- package/src/lib/components/select-menu/use-select-menu.js.map +1 -1
- package/src/lib/components/sidebar-layout/preset/sidebar-layout-preset.d.ts +1 -1
- package/src/lib/components/sidebar-layout/preset/sidebar-layout-preset.js +1 -1
- package/src/lib/components/sidebar-layout/sidebar-layout.d.ts +3 -4
- package/src/lib/components/sidebar-layout/sidebar-layout.js +3 -4
- package/src/lib/components/sidebar-layout/sidebar-layout.js.map +1 -1
- package/src/lib/components/sidebar-layout/sidebar-layout.types.d.ts +1 -1
- package/src/lib/components/sidebar-layout/standard/sidebar-layout-standard.d.ts +3 -4
- package/src/lib/components/sidebar-layout/standard/sidebar-layout-standard.js +3 -4
- package/src/lib/components/sidebar-layout/standard/sidebar-layout-standard.js.map +1 -1
- package/src/lib/components/sidebar-navigation/sidebar-navigation.d.ts +2 -4
- package/src/lib/components/sidebar-navigation/sidebar-navigation.js +2 -4
- package/src/lib/components/sidebar-navigation/sidebar-navigation.js.map +1 -1
- package/src/lib/components/sidebar-navigation/standard/sidebar-navigation-standard.d.ts +1 -1
- package/src/lib/components/sidebar-navigation/standard/sidebar-navigation-standard.js +1 -1
- package/src/lib/components/sidebar-navigation/standard/sidebar-navigation-standard.js.map +1 -1
- package/src/lib/components/sidebar-navigation/use-sidebar-navigation.d.ts +5 -5
- package/src/lib/components/sidebar-navigation/use-sidebar-navigation.js +5 -5
- package/src/lib/components/sign-in-form/sign-in-form.d.ts +2 -4
- package/src/lib/components/sign-in-form/sign-in-form.js +2 -4
- package/src/lib/components/sign-in-form/sign-in-form.js.map +1 -1
- package/src/lib/components/sign-in-form/sign-in-form.types.d.ts +2 -2
- package/src/lib/components/sign-in-form/standard/sign-in-form-standard.d.ts +1 -1
- package/src/lib/components/sign-in-form/standard/sign-in-form-standard.js +1 -1
- package/src/lib/components/sign-in-form/standard/sign-in-form-standard.js.map +1 -1
- package/src/lib/components/sign-in-form/use-sign-in-form.d.ts +3 -4
- package/src/lib/components/sign-in-form/use-sign-in-form.js +3 -4
- package/src/lib/components/sign-in-form/use-sign-in-form.js.map +1 -1
- package/src/lib/components/stacked-layout/stacked-layout.d.ts +3 -4
- package/src/lib/components/stacked-layout/stacked-layout.js +3 -4
- package/src/lib/components/stacked-layout/stacked-layout.js.map +1 -1
- package/src/lib/components/stacked-layout/stacked-layout.types.d.ts +1 -1
- package/src/lib/components/stacked-layout/standard/stacked-layout-standard.d.ts +1 -1
- package/src/lib/components/stacked-layout/standard/stacked-layout-standard.js +1 -1
- package/src/lib/components/stacked-list/stacked-list.d.ts +2 -4
- package/src/lib/components/stacked-list/stacked-list.js +2 -4
- package/src/lib/components/stacked-list/stacked-list.js.map +1 -1
- package/src/lib/components/stacked-list/standard/stacked-list-standard.d.ts +5 -5
- package/src/lib/components/stacked-list/standard/stacked-list-standard.js +5 -5
- package/src/lib/components/stats/preset/stats-preset.d.ts +2 -3
- package/src/lib/components/stats/preset/stats-preset.js +2 -3
- package/src/lib/components/stats/preset/stats-preset.js.map +1 -1
- package/src/lib/components/stats/standard/stats-standard.d.ts +3 -3
- package/src/lib/components/stats/standard/stats-standard.js +3 -3
- package/src/lib/components/stats/stats.d.ts +2 -3
- package/src/lib/components/stats/stats.js +2 -3
- package/src/lib/components/stats/stats.js.map +1 -1
- package/src/lib/components/table/preset/table-preset.d.ts +3 -4
- package/src/lib/components/table/preset/table-preset.js +5 -6
- package/src/lib/components/table/preset/table-preset.js.map +1 -1
- package/src/lib/components/table/standard/table-standard.d.ts +5 -5
- package/src/lib/components/table/standard/table-standard.js +5 -5
- package/src/lib/components/table/table-cell.d.ts +1 -1
- package/src/lib/components/table/table-cell.js +1 -1
- package/src/lib/components/table/table.d.ts +2 -3
- package/src/lib/components/table/table.js +2 -3
- package/src/lib/components/table/table.js.map +1 -1
- package/src/lib/components/table/table.types.d.ts +3 -7
- package/src/lib/components/tabs/standard/tabs-standard.d.ts +2 -2
- package/src/lib/components/tabs/standard/tabs-standard.js +2 -2
- package/src/lib/components/tabs/tabs.d.ts +2 -3
- package/src/lib/components/tabs/tabs.js +2 -3
- package/src/lib/components/tabs/tabs.js.map +1 -1
- package/src/lib/components/tabs/tabs.types.d.ts +2 -2
- package/src/lib/components/tabs/use-tabs.d.ts +1 -2
- package/src/lib/components/tabs/use-tabs.js +1 -2
- package/src/lib/components/tabs/use-tabs.js.map +1 -1
- package/src/lib/components/textarea/preset/textarea-preset.js +1 -1
- package/src/lib/components/textarea/preset/textarea-preset.js.map +1 -1
- package/src/lib/components/textarea/standard/textarea-standard.d.ts +1 -1
- package/src/lib/components/textarea/standard/textarea-standard.js +1 -1
- package/src/lib/components/textarea/standard/textarea-standard.js.map +1 -1
- package/src/lib/components/textarea/textarea.d.ts +2 -3
- package/src/lib/components/textarea/textarea.js +2 -3
- package/src/lib/components/textarea/textarea.js.map +1 -1
- package/src/lib/components/textarea/textarea.types.d.ts +5 -5
- package/src/lib/components/textarea/use-textarea.d.ts +4 -5
- package/src/lib/components/textarea/use-textarea.js +4 -5
- package/src/lib/components/textarea/use-textarea.js.map +1 -1
- package/src/lib/components/toggle/standard/toggle-standard.d.ts +2 -3
- package/src/lib/components/toggle/standard/toggle-standard.js +2 -3
- package/src/lib/components/toggle/standard/toggle-standard.js.map +1 -1
- package/src/lib/components/toggle/toggle.d.ts +2 -3
- package/src/lib/components/toggle/toggle.js +2 -3
- package/src/lib/components/toggle/toggle.js.map +1 -1
- package/src/lib/components/toggle/toggle.types.d.ts +3 -3
- package/src/lib/components/toggle/use-toggle.d.ts +3 -4
- package/src/lib/components/toggle/use-toggle.js +3 -4
- package/src/lib/components/toggle/use-toggle.js.map +1 -1
- package/src/lib/components/vertical-navigation/standard/vertical-navigation-standard.d.ts +1 -1
- package/src/lib/components/vertical-navigation/standard/vertical-navigation-standard.js +1 -1
- package/src/lib/components/vertical-navigation/standard/vertical-navigation-standard.js.map +1 -1
- package/src/lib/components/vertical-navigation/use-vertical-navigation.d.ts +3 -3
- package/src/lib/components/vertical-navigation/use-vertical-navigation.js +3 -3
- package/src/lib/components/vertical-navigation/vertical-navigation.d.ts +2 -4
- package/src/lib/components/vertical-navigation/vertical-navigation.js +2 -4
- package/src/lib/components/vertical-navigation/vertical-navigation.js.map +1 -1
- package/src/lib/factories/form/form.factory.d.ts +1 -2
- package/src/lib/factories/form/form.factory.js +5 -6
- package/src/lib/factories/form/form.factory.js.map +1 -1
- package/src/lib/forms/abstract-control.d.ts +14 -8
- package/src/lib/forms/abstract-control.js +14 -8
- package/src/lib/forms/abstract-control.js.map +1 -1
- package/src/lib/forms/emitter.d.ts +4 -3
- package/src/lib/forms/emitter.js +4 -3
- package/src/lib/forms/emitter.js.map +1 -1
- package/src/lib/forms/form-control.d.ts +2 -3
- package/src/lib/forms/form-control.js +2 -3
- package/src/lib/forms/form-control.js.map +1 -1
- package/src/lib/forms/form-group.d.ts +5 -3
- package/src/lib/forms/form-group.js +5 -3
- package/src/lib/forms/form-group.js.map +1 -1
- package/src/lib/forms/hooks.d.ts +2 -3
- package/src/lib/forms/hooks.js +5 -6
- package/src/lib/forms/hooks.js.map +1 -1
- package/src/lib/forms/validators.d.ts +7 -6
- package/src/lib/forms/validators.js +8 -7
- package/src/lib/forms/validators.js.map +1 -1
- package/src/lib/i18n/translate.d.ts +9 -4
- package/src/lib/i18n/translate.js +5 -1
- package/src/lib/i18n/translate.js.map +1 -1
- package/src/lib/i18n/translations-default.d.ts +3 -3
- package/src/lib/models/interfaces.d.ts +22 -20
- package/src/lib/models/interfaces.js.map +1 -1
- package/src/lib/pages/details/details-page.d.ts +5 -5
- package/src/lib/pages/details/details-page.js +3 -3
- package/src/lib/pages/details/use-details-page-options.d.ts +2 -2
- package/src/lib/pages/details/use-details-page-options.js +2 -2
- package/src/lib/providers/hooks.d.ts +1 -1
- package/src/lib/providers/hooks.js +1 -1
- package/src/lib/providers/hooks.js.map +1 -1
- package/src/lib/providers/smart-context.d.ts +7 -8
- package/src/lib/providers/smart-context.js.map +1 -1
- package/src/lib/providers/smart-provider.d.ts +3 -3
- package/src/lib/providers/smart-provider.js +3 -3
- package/src/lib/services/alert/alert.service.d.ts +2 -3
- package/src/lib/services/alert/alert.service.js +2 -3
- package/src/lib/services/alert/alert.service.js.map +1 -1
- package/src/lib/services/app/app.service.d.ts +3 -2
- package/src/lib/services/app/app.service.js +3 -2
- package/src/lib/services/app/app.service.js.map +1 -1
- package/src/lib/services/http/http.client.d.ts +1 -1
- package/src/lib/services/style/style.service.d.ts +2 -2
- package/src/lib/services/style/style.service.js +2 -2
- package/src/lib/store/store.d.ts +3 -2
- package/src/lib/store/store.js +3 -2
- package/src/lib/store/store.js.map +1 -1
- package/src/lib/utils/class-names.d.ts +2 -2
- package/src/lib/utils/class-names.js +2 -2
- package/src/lib/utils/hooks.d.ts +3 -3
- package/src/lib/utils/hooks.js +3 -3
- package/src/lib/utils/hooks.js.map +1 -1
- package/src/lib/utils/html.d.ts +4 -5
- package/src/lib/utils/html.js +2 -3
- package/src/lib/utils/html.js.map +1 -1
- package/src/lib/utils/model.d.ts +7 -7
- package/src/lib/utils/model.js +9 -9
- package/src/lib/utils/model.js.map +1 -1
|
@@ -5,11 +5,9 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const details_standard_1 = require("./standard/details-standard");
|
|
6
6
|
const hooks_1 = require("../../providers/hooks");
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* `
|
|
10
|
-
*
|
|
11
|
-
* The object and array details render nested objects through it too (the
|
|
12
|
-
* Angular `DETAILS_COMPONENT_TOKEN`).
|
|
8
|
+
* Renders the implementation registered as `components.details` on
|
|
9
|
+
* `SmartProvider`, `SmartDetailsStandard` by default. The object and array
|
|
10
|
+
* details render nested objects through it too.
|
|
13
11
|
*/
|
|
14
12
|
function SmartDetails(props) {
|
|
15
13
|
const Component = (0, hooks_1.useSmartComponent)('details', details_standard_1.SmartDetailsStandard);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/details/details.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"details.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/details/details.tsx"],"names":[],"mappings":";;AAWA,oCASC;;AAjBD,kEAAmE;AACnE,iDAA0D;AAE1D;;;;GAIG;AACH,SAAgB,YAAY,CAC1B,KAA2B;IAE3B,MAAM,SAAS,GAAG,IAAA,yBAAiB,EACjC,SAAS,EACT,uCAAoB,CACrB,CAAC;IAEF,OAAO,uBAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IEntity } from '@smartsoft001/domain-core';
|
|
2
2
|
import { SmartDetailsProps } from '../details.types';
|
|
3
3
|
/**
|
|
4
|
-
* The default details rendering
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* The default details rendering: a description list with a `<SmartDetail>` per
|
|
5
|
+
* field, between the `componentFactories.top` and `componentFactories.bottom`
|
|
6
|
+
* components.
|
|
7
7
|
*/
|
|
8
8
|
export declare function SmartDetailsStandard<T extends IEntity<string>>(props: SmartDetailsProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,9 +6,9 @@ const class_names_1 = require("../../../utils/class-names");
|
|
|
6
6
|
const detail_1 = require("../../detail/detail");
|
|
7
7
|
const use_details_1 = require("../use-details");
|
|
8
8
|
/**
|
|
9
|
-
* The default details rendering
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* The default details rendering: a description list with a `<SmartDetail>` per
|
|
10
|
+
* field, between the `componentFactories.top` and `componentFactories.bottom`
|
|
11
|
+
* components.
|
|
12
12
|
*/
|
|
13
13
|
function SmartDetailsStandard(props) {
|
|
14
14
|
const { className } = props;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentType } from 'react';
|
|
2
|
-
/**
|
|
2
|
+
/** What `useDetailsModal` opens: a component and its params. */
|
|
3
3
|
export interface IDetailsModalOptions {
|
|
4
4
|
/** Rendered in the modal, with `params` as its `value` prop. */
|
|
5
5
|
component: ComponentType<any>;
|
|
@@ -7,17 +7,16 @@ export interface IDetailsModalOptions {
|
|
|
7
7
|
/** Default `'bottom'`. */
|
|
8
8
|
mode?: 'bottom' | 'default';
|
|
9
9
|
}
|
|
10
|
-
/** The
|
|
10
|
+
/** The callbacks of `useDetailsModal`. */
|
|
11
11
|
export interface UseDetailsModalCallbacks {
|
|
12
|
-
/** Once the modal is open
|
|
12
|
+
/** Once the modal is open. */
|
|
13
13
|
onShowed?: () => void;
|
|
14
|
-
/** Once the modal is closed
|
|
14
|
+
/** Once the modal is closed. */
|
|
15
15
|
onDismissed?: () => void;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* modal with `{ value: options.params }` as props (e.g. `SmartDetailsPage`
|
|
18
|
+
* Returns a handler for an element's `onClick` that opens `options.component`
|
|
19
|
+
* in a modal with `{ value: options.params }` as props (e.g. `SmartDetailsPage`
|
|
21
20
|
* with `IDetailsOptions`), and resolves once the modal is closed.
|
|
22
21
|
*
|
|
23
22
|
* Without `options` or `options.component` it does nothing.
|
|
@@ -4,9 +4,8 @@ exports.useDetailsModal = useDetailsModal;
|
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
const hooks_1 = require("../../providers/hooks");
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* modal with `{ value: options.params }` as props (e.g. `SmartDetailsPage`
|
|
7
|
+
* Returns a handler for an element's `onClick` that opens `options.component`
|
|
8
|
+
* in a modal with `{ value: options.params }` as props (e.g. `SmartDetailsPage`
|
|
10
9
|
* with `IDetailsOptions`), and resolves once the modal is closed.
|
|
11
10
|
*
|
|
12
11
|
* Without `options` or `options.component` it does nothing.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-details-modal.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/details/use-details-modal.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"use-details-modal.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/details/use-details-modal.ts"],"names":[],"mappings":";;AA6BA,0CAsBC;AAnDD,iCAAoC;AAGpC,iDAAwD;AAmBxD;;;;;;GAMG;AACH,SAAgB,eAAe,CAC7B,OAAgD,EAChD,EAAE,QAAQ,EAAE,WAAW,KAA+B,EAAE;IAExD,MAAM,YAAY,GAAG,IAAA,uBAAe,GAAE,CAAC;IAEvC,OAAO,IAAA,mBAAW,EAAC,KAAK,IAAI,EAAE;QAC5B,IAAI,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS;YAAE,OAAO;QAE3C,MAAM,KAAK,GAAG,MAAM,YAAY,CAAC,IAAI,CAAC;YACpC,SAAS,EAAE,OAAO,CAAC,SAAS;YAC5B,KAAK,EAAE;gBACL,KAAK,EAAE,OAAO,CAAC,MAAM;aACtB;YACD,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ;SAC7C,CAAC,CAAC;QACH,QAAQ,EAAE,EAAE,CAAC;QAEb,MAAM,KAAK,CAAC,YAAY,EAAE,CAAC;QAE3B,WAAW,EAAE,EAAE,CAAC;IAClB,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC;AACrD,CAAC"}
|
|
@@ -6,7 +6,7 @@ export interface SmartDetailsField {
|
|
|
6
6
|
options: IFieldOptions;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
|
-
* The logic every details variant shares
|
|
9
|
+
* The logic every details variant shares:
|
|
10
10
|
*
|
|
11
11
|
* - `fields`: the fields of `options.type` marked `@Field({ details })`,
|
|
12
12
|
* without those whose `details.permissions` the user lacks and those whose
|
|
@@ -39,7 +39,7 @@ function toItemOfType(item, type) {
|
|
|
39
39
|
return item;
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
-
* The logic every details variant shares
|
|
42
|
+
* The logic every details variant shares:
|
|
43
43
|
*
|
|
44
44
|
* - `fields`: the fields of `options.type` marked `@Field({ details })`,
|
|
45
45
|
* without those whose `details.permissions` the user lacks and those whose
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SmartDividerProps } from './divider.types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* `
|
|
5
|
-
* `DIVIDER_STANDARD_COMPONENT_TOKEN`), `SmartDividerStandard` by default.
|
|
3
|
+
* Renders the implementation registered as `components.divider` on
|
|
4
|
+
* `SmartProvider`, `SmartDividerStandard` by default.
|
|
6
5
|
*/
|
|
7
6
|
export declare function SmartDivider(props: SmartDividerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,9 +5,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const divider_standard_1 = require("./standard/divider-standard");
|
|
6
6
|
const hooks_1 = require("../../providers/hooks");
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* `
|
|
10
|
-
* `DIVIDER_STANDARD_COMPONENT_TOKEN`), `SmartDividerStandard` by default.
|
|
8
|
+
* Renders the implementation registered as `components.divider` on
|
|
9
|
+
* `SmartProvider`, `SmartDividerStandard` by default.
|
|
11
10
|
*/
|
|
12
11
|
function SmartDivider(props) {
|
|
13
12
|
const Component = (0, hooks_1.useSmartComponent)('divider', divider_standard_1.SmartDividerStandard);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divider.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/divider/divider.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"divider.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/divider/divider.tsx"],"names":[],"mappings":";;AAQA,oCAIC;;AAXD,kEAAmE;AACnE,iDAA0D;AAE1D;;;GAGG;AACH,SAAgB,YAAY,CAAC,KAAwB;IACnD,MAAM,SAAS,GAAG,IAAA,yBAAiB,EAAC,SAAS,EAAE,uCAAoB,CAAC,CAAC;IAErE,OAAO,uBAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SmartDividerProps } from '../divider.types';
|
|
2
2
|
/**
|
|
3
|
-
* The default divider rendering
|
|
4
|
-
*
|
|
3
|
+
* The default divider rendering: the title, the label and the action button, or
|
|
4
|
+
* an `<hr />` when there is none of them.
|
|
5
5
|
*/
|
|
6
6
|
export declare function SmartDividerStandard({ label, title, actionLabel, options, className, onActionClick, }: SmartDividerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SmartDividerStandard = SmartDividerStandard;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
/**
|
|
6
|
-
* The default divider rendering
|
|
7
|
-
*
|
|
6
|
+
* The default divider rendering: the title, the label and the action button, or
|
|
7
|
+
* an `<hr />` when there is none of them.
|
|
8
8
|
*/
|
|
9
9
|
function SmartDividerStandard({ label, title, actionLabel, options, className, onActionClick, }) {
|
|
10
10
|
return ((0, jsx_runtime_1.jsxs)("div", { role: "separator", className: className || undefined, "data-position": options?.position ?? 'center', children: [title && (0, jsx_runtime_1.jsx)("h3", { className: "smart-divider-title", children: title }), label && (0, jsx_runtime_1.jsx)("span", { className: "smart-divider-label", children: label }), !title && !label && !actionLabel && (0, jsx_runtime_1.jsx)("hr", {}), actionLabel && ((0, jsx_runtime_1.jsx)("button", { type: "button", className: "smart-divider-action", onClick: () => onActionClick?.(), children: actionLabel }))] }));
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { SmartDrawerProps } from './drawer.types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* `
|
|
5
|
-
* `DRAWER_STANDARD_COMPONENT_TOKEN`), `SmartDrawerStandard` by default.
|
|
3
|
+
* Renders the implementation registered as `components.drawer` on
|
|
4
|
+
* `SmartProvider`, `SmartDrawerStandard` by default.
|
|
6
5
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
* Control it with `open` + `onOpenChange`, or leave `open` undefined for an
|
|
7
|
+
* uncontrolled drawer (initial state from `defaultOpen`).
|
|
9
8
|
*/
|
|
10
9
|
export declare function SmartDrawer(props: SmartDrawerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,12 +5,11 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const drawer_standard_1 = require("./standard/drawer-standard");
|
|
6
6
|
const hooks_1 = require("../../providers/hooks");
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* `
|
|
10
|
-
* `DRAWER_STANDARD_COMPONENT_TOKEN`), `SmartDrawerStandard` by default.
|
|
8
|
+
* Renders the implementation registered as `components.drawer` on
|
|
9
|
+
* `SmartProvider`, `SmartDrawerStandard` by default.
|
|
11
10
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* Control it with `open` + `onOpenChange`, or leave `open` undefined for an
|
|
12
|
+
* uncontrolled drawer (initial state from `defaultOpen`).
|
|
14
13
|
*/
|
|
15
14
|
function SmartDrawer(props) {
|
|
16
15
|
const Component = (0, hooks_1.useSmartComponent)('drawer', drawer_standard_1.SmartDrawerStandard);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/drawer/drawer.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"drawer.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/drawer/drawer.tsx"],"names":[],"mappings":";;AAWA,kCAIC;;AAdD,gEAAiE;AACjE,iDAA0D;AAE1D;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,KAAuB;IACjD,MAAM,SAAS,GAAG,IAAA,yBAAiB,EAAC,QAAQ,EAAE,qCAAmB,CAAC,CAAC;IAEnE,OAAO,uBAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC"}
|
|
@@ -2,13 +2,13 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
import { IDrawerOptions } from '../../models';
|
|
3
3
|
export interface SmartDrawerProps {
|
|
4
4
|
/**
|
|
5
|
-
* Whether the drawer is shown
|
|
6
|
-
*
|
|
5
|
+
* Whether the drawer is shown. Leave it `undefined` for an uncontrolled
|
|
6
|
+
* drawer that starts from `defaultOpen`.
|
|
7
7
|
*/
|
|
8
8
|
open?: boolean;
|
|
9
9
|
/** Initial `open` of an uncontrolled drawer. */
|
|
10
10
|
defaultOpen?: boolean;
|
|
11
|
-
/**
|
|
11
|
+
/** Called when the drawer opens or closes. */
|
|
12
12
|
onOpenChange?: (open: boolean) => void;
|
|
13
13
|
title?: string;
|
|
14
14
|
options?: IDrawerOptions;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SmartDrawerProps } from '../drawer.types';
|
|
2
|
-
/** The default drawer rendering
|
|
2
|
+
/** The default drawer rendering. */
|
|
3
3
|
export declare function SmartDrawerStandard(props: SmartDrawerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SmartDrawerStandard = SmartDrawerStandard;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const use_drawer_1 = require("../use-drawer");
|
|
6
|
-
/** The default drawer rendering
|
|
6
|
+
/** The default drawer rendering. */
|
|
7
7
|
function SmartDrawerStandard(props) {
|
|
8
8
|
const { title, options, className, children } = props;
|
|
9
9
|
const { open, close } = (0, use_drawer_1.useDrawer)(props);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer-standard.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/drawer/standard/drawer-standard.tsx"],"names":[],"mappings":";;AAIA,kDA8BC;;AAjCD,8CAA0C;AAE1C,
|
|
1
|
+
{"version":3,"file":"drawer-standard.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/drawer/standard/drawer-standard.tsx"],"names":[],"mappings":";;AAIA,kDA8BC;;AAjCD,8CAA0C;AAE1C,oCAAoC;AACpC,SAAgB,mBAAmB,CAAC,KAAuB;IACzD,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACtD,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,IAAA,sBAAS,EAAC,KAAK,CAAC,CAAC;IAEzC,IAAI,CAAC,IAAI;QAAE,OAAO,IAAI,CAAC;IAEvB,OAAO,CACL,6DACG,OAAO,EAAE,WAAW,IAAI,CACvB,gCAAK,SAAS,EAAC,gBAAgB,EAAC,OAAO,EAAE,KAAK,GAAI,CACnD,EACD,mCACE,IAAI,EAAC,QAAQ,gBACF,MAAM,EACjB,SAAS,EAAE,SAAS,mBACL,OAAO,EAAE,QAAQ,IAAI,OAAO,qBAC1B,KAAK,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,aAExD,KAAK,IAAI,CACR,+CACE,+BAAI,EAAE,EAAC,oBAAoB,YAAE,KAAK,GAAM,EACxC,mCAAQ,IAAI,EAAC,QAAQ,gBAAY,OAAO,EAAC,OAAO,EAAE,KAAK,uBAE9C,IACF,CACV,EACA,QAAQ,IACH,IACP,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { SmartDrawerProps } from './drawer.types';
|
|
2
2
|
/**
|
|
3
|
-
* The behaviour every drawer variant shares
|
|
4
|
-
* `
|
|
5
|
-
* `
|
|
6
|
-
* hides the drawer and reports `onClosed`.
|
|
3
|
+
* The behaviour every drawer variant shares: the `open` state, controlled
|
|
4
|
+
* through `open` / `onOpenChange` or kept internally from `defaultOpen`, and
|
|
5
|
+
* `close()`, which hides the drawer and reports `onClosed`.
|
|
7
6
|
*/
|
|
8
7
|
export declare function useDrawer({ open: openProp, defaultOpen, onOpenChange, onClosed, }: SmartDrawerProps): {
|
|
9
8
|
open: boolean;
|
|
@@ -3,10 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.useDrawer = useDrawer;
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
/**
|
|
6
|
-
* The behaviour every drawer variant shares
|
|
7
|
-
* `
|
|
8
|
-
* `
|
|
9
|
-
* hides the drawer and reports `onClosed`.
|
|
6
|
+
* The behaviour every drawer variant shares: the `open` state, controlled
|
|
7
|
+
* through `open` / `onOpenChange` or kept internally from `defaultOpen`, and
|
|
8
|
+
* `close()`, which hides the drawer and reports `onClosed`.
|
|
10
9
|
*/
|
|
11
10
|
function useDrawer({ open: openProp, defaultOpen = false, onOpenChange, onClosed, }) {
|
|
12
11
|
const [innerOpen, setInnerOpen] = (0, react_1.useState)(defaultOpen);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-drawer.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/drawer/use-drawer.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"use-drawer.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/drawer/use-drawer.ts"],"names":[],"mappings":";;AASA,8BAyBC;AAlCD,iCAA8C;AAI9C;;;;GAIG;AACH,SAAgB,SAAS,CAAC,EACxB,IAAI,EAAE,QAAQ,EACd,WAAW,GAAG,KAAK,EACnB,YAAY,EACZ,QAAQ,GACS;IACjB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,WAAW,CAAC,CAAC;IACxD,MAAM,UAAU,GAAG,QAAQ,KAAK,SAAS,CAAC;IAC1C,MAAM,IAAI,GAAG,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;IAE/C,MAAM,OAAO,GAAG,IAAA,mBAAW,EACzB,CAAC,KAAc,EAAE,EAAE;QACjB,IAAI,KAAK,KAAK,IAAI;YAAE,OAAO;QAC3B,IAAI,CAAC,UAAU;YAAE,YAAY,CAAC,KAAK,CAAC,CAAC;QACrC,YAAY,EAAE,CAAC,KAAK,CAAC,CAAC;IACxB,CAAC,EACD,CAAC,IAAI,EAAE,UAAU,EAAE,YAAY,CAAC,CACjC,CAAC;IAEF,MAAM,KAAK,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE;QAC7B,OAAO,CAAC,KAAK,CAAC,CAAC;QACf,QAAQ,EAAE,EAAE,CAAC;IACf,CAAC,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC;IAExB,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;AAClC,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { SmartDropdownProps } from './dropdown.types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* `
|
|
5
|
-
* `DROPDOWN_STANDARD_COMPONENT_TOKEN`), `SmartDropdownStandard` by default.
|
|
3
|
+
* Renders the implementation registered as `components.dropdown` on
|
|
4
|
+
* `SmartProvider`, `SmartDropdownStandard` by default.
|
|
6
5
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
* Control it with `open` + `onOpenChange`, or leave `open` undefined for an
|
|
7
|
+
* uncontrolled dropdown (initial state from `defaultOpen`).
|
|
9
8
|
*/
|
|
10
9
|
export declare function SmartDropdown(props: SmartDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,12 +5,11 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const dropdown_standard_1 = require("./standard/dropdown-standard");
|
|
6
6
|
const hooks_1 = require("../../providers/hooks");
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* `
|
|
10
|
-
* `DROPDOWN_STANDARD_COMPONENT_TOKEN`), `SmartDropdownStandard` by default.
|
|
8
|
+
* Renders the implementation registered as `components.dropdown` on
|
|
9
|
+
* `SmartProvider`, `SmartDropdownStandard` by default.
|
|
11
10
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* Control it with `open` + `onOpenChange`, or leave `open` undefined for an
|
|
12
|
+
* uncontrolled dropdown (initial state from `defaultOpen`).
|
|
14
13
|
*/
|
|
15
14
|
function SmartDropdown(props) {
|
|
16
15
|
const Component = (0, hooks_1.useSmartComponent)('dropdown', dropdown_standard_1.SmartDropdownStandard);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/dropdown/dropdown.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"dropdown.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/dropdown/dropdown.tsx"],"names":[],"mappings":";;AAWA,sCAIC;;AAdD,oEAAqE;AACrE,iDAA0D;AAE1D;;;;;;GAMG;AACH,SAAgB,aAAa,CAAC,KAAyB;IACrD,MAAM,SAAS,GAAG,IAAA,yBAAiB,EAAC,UAAU,EAAE,yCAAqB,CAAC,CAAC;IAEvE,OAAO,uBAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC"}
|
|
@@ -5,17 +5,17 @@ export interface SmartDropdownProps {
|
|
|
5
5
|
/** Trigger text; without it the standard trigger renders `children`. */
|
|
6
6
|
triggerLabel?: string;
|
|
7
7
|
/**
|
|
8
|
-
* Whether the menu is shown
|
|
9
|
-
*
|
|
8
|
+
* Whether the menu is shown. Leave it `undefined` for an uncontrolled
|
|
9
|
+
* dropdown that starts from `defaultOpen`.
|
|
10
10
|
*/
|
|
11
11
|
open?: boolean;
|
|
12
12
|
/** Initial `open` of an uncontrolled dropdown. */
|
|
13
13
|
defaultOpen?: boolean;
|
|
14
|
-
/**
|
|
14
|
+
/** Called when the menu opens or closes. */
|
|
15
15
|
onOpenChange?: (open: boolean) => void;
|
|
16
16
|
options?: IDropdownOptions;
|
|
17
17
|
className?: string;
|
|
18
|
-
/**
|
|
18
|
+
/** An item was selected; the menu closes afterwards. */
|
|
19
19
|
onSelectedItem?: (value: {
|
|
20
20
|
itemId: string;
|
|
21
21
|
}) => void;
|
|
@@ -3,12 +3,11 @@ import { SmartDropdownProps } from '../dropdown.types';
|
|
|
3
3
|
* Styled dropdown variation (preset). Register it as `components.dropdown` on
|
|
4
4
|
* `SmartProvider` to restyle every `<SmartDropdown>`, or render it directly.
|
|
5
5
|
*
|
|
6
|
-
* Open/close is driven by the shared `open` state and a click toggle;
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* `
|
|
11
|
-
*
|
|
12
|
-
* rendered, as in Angular.
|
|
6
|
+
* Open/close is driven by the shared `open` state and a click toggle; Preline's
|
|
7
|
+
* JS plugin is NOT used, but its visual classes and ARIA (`aria-haspopup` /
|
|
8
|
+
* `aria-expanded`) are preserved. Supports the shared `SmartDropdownVariant`
|
|
9
|
+
* set: `simple`, `with-dividers`, `with-icons`, `with-header` and a borderless
|
|
10
|
+
* `minimal` trigger (defaults to `simple`). The trigger shows `triggerLabel`
|
|
11
|
+
* (`Actions` without it); `children` are not rendered.
|
|
13
12
|
*/
|
|
14
13
|
export declare function SmartDropdownPreset(props: SmartDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -34,13 +34,12 @@ function toGroups(items, variant) {
|
|
|
34
34
|
* Styled dropdown variation (preset). Register it as `components.dropdown` on
|
|
35
35
|
* `SmartProvider` to restyle every `<SmartDropdown>`, or render it directly.
|
|
36
36
|
*
|
|
37
|
-
* Open/close is driven by the shared `open` state and a click toggle;
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* `
|
|
42
|
-
*
|
|
43
|
-
* rendered, as in Angular.
|
|
37
|
+
* Open/close is driven by the shared `open` state and a click toggle; Preline's
|
|
38
|
+
* JS plugin is NOT used, but its visual classes and ARIA (`aria-haspopup` /
|
|
39
|
+
* `aria-expanded`) are preserved. Supports the shared `SmartDropdownVariant`
|
|
40
|
+
* set: `simple`, `with-dividers`, `with-icons`, `with-header` and a borderless
|
|
41
|
+
* `minimal` trigger (defaults to `simple`). The trigger shows `triggerLabel`
|
|
42
|
+
* (`Actions` without it); `children` are not rendered.
|
|
44
43
|
*/
|
|
45
44
|
function SmartDropdownPreset(props) {
|
|
46
45
|
const { items = [], triggerLabel, options, className } = props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-preset.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/dropdown/preset/dropdown-preset.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"dropdown-preset.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/dropdown/preset/dropdown-preset.tsx"],"names":[],"mappings":";;AAwDA,kDAuEC;;AA/HD,iCAAgC;AAGhC,4DAAgD;AAEhD,kDAA8C;AAC9C,qDAW0B;AAE1B;;;GAGG;AACH,SAAS,QAAQ,CACf,KAAsB,EACtB,OAAmC;IAEnC,IAAI,OAAO,KAAK,eAAe,EAAE,CAAC;QAChC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IACjD,CAAC;IAED,MAAM,MAAM,GAAsB,EAAE,CAAC;IACrC,IAAI,OAAO,GAAoB,EAAE,CAAC;IAClC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,IAAI,OAAO,CAAC,MAAM;gBAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACzC,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;IACD,IAAI,OAAO,CAAC,MAAM;QAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzC,OAAO,MAAM,CAAC;AAChB,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,mBAAmB,CAAC,KAAyB;IAC3D,MAAM,EAAE,KAAK,GAAG,EAAE,EAAE,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC/D,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,IAAA,0BAAW,EAAC,KAAK,CAAC,CAAC;IAExD,MAAM,OAAO,GAAG,OAAO,EAAE,OAAO,IAAI,QAAQ,CAAC;IAC7C,MAAM,WAAW,GAAG,OAAO,EAAE,WAAW,CAAC;IACzC,MAAM,SAAS,GAAG,OAAO,KAAK,YAAY,IAAI,OAAO,KAAK,aAAa,CAAC;IACxE,MAAM,MAAM,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;IAEzE,OAAO,CACL,iCAAK,SAAS,EAAE,IAAA,gBAAE,EAAC,mCAAkB,EAAE,SAAS,CAAC,aAC/C,oCACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,IAAA,0CAAyB,EAAC,OAAO,CAAC,mBAC/B,MAAM,mBACL,IAAI,gBACP,YAAY,IAAI,UAAU,EACtC,OAAO,EAAE,MAAM,aAEd,YAAY,IAAI,SAAS,EAC1B,gCACE,SAAS,EAAE,IAAA,0CAAyB,EAAC,IAAI,CAAC,EAC1C,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,iBACV,MAAM,YAElB,iCAAM,CAAC,EAAC,cAAc,GAAG,GACrB,IACC,EAER,IAAI,IAAI,CACP,iCACE,SAAS,EAAE,IAAA,uCAAsB,EAAC,OAAO,CAAC,EAC1C,IAAI,EAAC,MAAM,sBACM,UAAU,aAE1B,OAAO,KAAK,aAAa,IAAI,WAAW,IAAI,CAC3C,gCAAK,SAAS,EAAE,gCAAe,YAC7B,8BAAG,SAAS,EAAE,qCAAoB,YAAG,WAAW,GAAK,GACjD,CACP,EACA,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5B,6CAA2B,OAAO,EAAC,SAAS,EAAE,+BAAc,YACzD,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,oCAEE,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,UAAU,EACf,SAAS,EAAE,8BAAa,EACxB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC,aAEjC,SAAS,IAAI,IAAI,CAAC,IAAI,IAAI,CACzB,iCAAM,SAAS,EAAE,8BAAa,iBAAc,MAAM,YAC/C,IAAI,CAAC,IAAI,GACL,CACR,EACA,IAAI,CAAC,KAAK,KAZN,IAAI,CAAC,EAAE,CAaL,CACV,CAAC,IAjBM,KAAK,CAkBT,CACP,CAAC,IACE,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SmartDropdownProps } from '../dropdown.types';
|
|
2
|
-
/** The default dropdown rendering
|
|
2
|
+
/** The default dropdown rendering. */
|
|
3
3
|
export declare function SmartDropdownStandard(props: SmartDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SmartDropdownStandard = SmartDropdownStandard;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const use_dropdown_1 = require("../use-dropdown");
|
|
6
|
-
/** The default dropdown rendering
|
|
6
|
+
/** The default dropdown rendering. */
|
|
7
7
|
function SmartDropdownStandard(props) {
|
|
8
8
|
const { items = [], triggerLabel, options, className, children } = props;
|
|
9
9
|
const { open, toggle, selectItem } = (0, use_dropdown_1.useDropdown)(props);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-standard.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/dropdown/standard/dropdown-standard.tsx"],"names":[],"mappings":";;AAIA,sDAwCC;;AA3CD,kDAA8C;AAE9C,
|
|
1
|
+
{"version":3,"file":"dropdown-standard.js","sourceRoot":"","sources":["../../../../../../../../../packages/shared/react/src/lib/components/dropdown/standard/dropdown-standard.tsx"],"names":[],"mappings":";;AAIA,sDAwCC;;AA3CD,kDAA8C;AAE9C,sCAAsC;AACtC,SAAgB,qBAAqB,CAAC,KAAyB;IAC7D,MAAM,EAAE,KAAK,GAAG,EAAE,EAAE,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACzE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,IAAA,0BAAW,EAAC,KAAK,CAAC,CAAC;IAExD,OAAO,CACL,iCAAK,SAAS,EAAE,SAAS,aACvB,mCACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,wBAAwB,mBACnB,IAAI,EACnB,OAAO,EAAE,MAAM,YAEd,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,GAChC,EACR,IAAI,IAAI,CACP,gCAAI,IAAI,EAAC,MAAM,aACZ,OAAO,EAAE,OAAO,KAAK,aAAa,IAAI,OAAO,EAAE,WAAW,IAAI,CAC7D,+BAAI,IAAI,EAAC,cAAc,EAAC,SAAS,EAAC,uBAAuB,YACtD,OAAO,CAAC,WAAW,GACjB,CACN,EACA,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAClB,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CACb,+BAAkB,IAAI,EAAC,WAAW,IAAzB,IAAI,CAAC,EAAE,CAAqB,CACtC,CAAC,CAAC,CAAC,CACF,+BAAkB,IAAI,EAAC,UAAU,YAC/B,mCACE,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC,YAEjC,IAAI,CAAC,KAAK,GACJ,IAPF,IAAI,CAAC,EAAE,CAQX,CACN,CACF,IACE,CACN,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { SmartDropdownProps } from './dropdown.types';
|
|
2
2
|
/**
|
|
3
|
-
* The behaviour every dropdown variant shares
|
|
4
|
-
* `
|
|
5
|
-
* `
|
|
6
|
-
*
|
|
7
|
-
* the menu.
|
|
3
|
+
* The behaviour every dropdown variant shares: the `open` state, controlled
|
|
4
|
+
* through `open` / `onOpenChange` or kept internally from `defaultOpen`;
|
|
5
|
+
* `toggle()`, `close()`, and `selectItem(id)`, which reports `onSelectedItem`
|
|
6
|
+
* and closes the menu.
|
|
8
7
|
*/
|
|
9
8
|
export declare function useDropdown({ open: openProp, defaultOpen, onOpenChange, onSelectedItem, }: SmartDropdownProps): {
|
|
10
9
|
open: boolean;
|
|
@@ -3,11 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.useDropdown = useDropdown;
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
/**
|
|
6
|
-
* The behaviour every dropdown variant shares
|
|
7
|
-
* `
|
|
8
|
-
* `
|
|
9
|
-
*
|
|
10
|
-
* the menu.
|
|
6
|
+
* The behaviour every dropdown variant shares: the `open` state, controlled
|
|
7
|
+
* through `open` / `onOpenChange` or kept internally from `defaultOpen`;
|
|
8
|
+
* `toggle()`, `close()`, and `selectItem(id)`, which reports `onSelectedItem`
|
|
9
|
+
* and closes the menu.
|
|
11
10
|
*/
|
|
12
11
|
function useDropdown({ open: openProp, defaultOpen = false, onOpenChange, onSelectedItem, }) {
|
|
13
12
|
const [innerOpen, setInnerOpen] = (0, react_1.useState)(defaultOpen);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-dropdown.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/dropdown/use-dropdown.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"use-dropdown.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/dropdown/use-dropdown.ts"],"names":[],"mappings":";;AAUA,kCAgCC;AA1CD,iCAA8C;AAI9C;;;;;GAKG;AACH,SAAgB,WAAW,CAAC,EAC1B,IAAI,EAAE,QAAQ,EACd,WAAW,GAAG,KAAK,EACnB,YAAY,EACZ,cAAc,GACK;IACnB,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,WAAW,CAAC,CAAC;IACxD,MAAM,UAAU,GAAG,QAAQ,KAAK,SAAS,CAAC;IAC1C,MAAM,IAAI,GAAG,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;IAE/C,MAAM,OAAO,GAAG,IAAA,mBAAW,EACzB,CAAC,KAAc,EAAE,EAAE;QACjB,IAAI,KAAK,KAAK,IAAI;YAAE,OAAO;QAC3B,IAAI,CAAC,UAAU;YAAE,YAAY,CAAC,KAAK,CAAC,CAAC;QACrC,YAAY,EAAE,CAAC,KAAK,CAAC,CAAC;IACxB,CAAC,EACD,CAAC,IAAI,EAAE,UAAU,EAAE,YAAY,CAAC,CACjC,CAAC;IAEF,MAAM,MAAM,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAElE,MAAM,KAAK,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAE3D,MAAM,UAAU,GAAG,IAAA,mBAAW,EAC5B,CAAC,MAAc,EAAE,EAAE;QACjB,cAAc,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC;QAC7B,OAAO,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC,EACD,CAAC,cAAc,EAAE,OAAO,CAAC,CAC1B,CAAC;IAEF,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;AACtD,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { SmartEmptyStateProps } from './empty-state.types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* `
|
|
5
|
-
* `
|
|
6
|
-
* default. `onActionClick` / `onItemClick` reach the registered implementation
|
|
7
|
-
* with the other props.
|
|
3
|
+
* Renders the implementation registered as `components['empty-state']` on
|
|
4
|
+
* `SmartProvider`, `SmartEmptyStateStandard` by default. `onActionClick` /
|
|
5
|
+
* `onItemClick` reach the registered implementation with the other props.
|
|
8
6
|
*/
|
|
9
7
|
export declare function SmartEmptyState(props: SmartEmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,11 +5,9 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const empty_state_standard_1 = require("./standard/empty-state-standard");
|
|
6
6
|
const hooks_1 = require("../../providers/hooks");
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* `
|
|
10
|
-
* `
|
|
11
|
-
* default. `onActionClick` / `onItemClick` reach the registered implementation
|
|
12
|
-
* with the other props.
|
|
8
|
+
* Renders the implementation registered as `components['empty-state']` on
|
|
9
|
+
* `SmartProvider`, `SmartEmptyStateStandard` by default. `onActionClick` /
|
|
10
|
+
* `onItemClick` reach the registered implementation with the other props.
|
|
13
11
|
*/
|
|
14
12
|
function SmartEmptyState(props) {
|
|
15
13
|
const Component = (0, hooks_1.useSmartComponent)('empty-state', empty_state_standard_1.SmartEmptyStateStandard);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty-state.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/empty-state/empty-state.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"empty-state.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/empty-state/empty-state.tsx"],"names":[],"mappings":";;AASA,0CAIC;;AAZD,0EAA0E;AAC1E,iDAA0D;AAE1D;;;;GAIG;AACH,SAAgB,eAAe,CAAC,KAA2B;IACzD,MAAM,SAAS,GAAG,IAAA,yBAAiB,EAAC,aAAa,EAAE,8CAAuB,CAAC,CAAC;IAE5E,OAAO,uBAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IEmptyStateOptions } from '../../models';
|
|
2
|
-
/** Payload of `onActionClick
|
|
2
|
+
/** Payload of `onActionClick`. */
|
|
3
3
|
export interface IEmptyStateActionClick {
|
|
4
4
|
actionId: string;
|
|
5
5
|
}
|
|
6
|
-
/** Payload of `onItemClick
|
|
6
|
+
/** Payload of `onItemClick`. */
|
|
7
7
|
export interface IEmptyStateItemClick {
|
|
8
8
|
itemId: string;
|
|
9
9
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SmartEmptyStateProps } from '../empty-state.types';
|
|
2
2
|
/**
|
|
3
|
-
* The default empty-state rendering
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
3
|
+
* The default empty-state rendering: icon, title, description, form slot,
|
|
4
|
+
* actions (anchors when `href` is set, otherwise buttons calling
|
|
5
|
+
* `onActionClick`), an optional items list (anchors or buttons calling
|
|
6
|
+
* `onItemClick`) and a footer link.
|
|
7
7
|
*/
|
|
8
8
|
export declare function SmartEmptyStateStandard({ options, className, onActionClick, onItemClick, }: SmartEmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,10 +12,10 @@ function EmptyStateStandardItemContent({ item }) {
|
|
|
12
12
|
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [item.iconTpl && (0, jsx_runtime_1.jsx)("span", { className: "item-icon", children: item.iconTpl }), item.imageUrl && ((0, jsx_runtime_1.jsx)("img", { src: item.imageUrl, alt: item.imageAlt ?? '', className: "item-image" })), (0, jsx_runtime_1.jsxs)("span", { className: "item-content", children: [item.title && (0, jsx_runtime_1.jsx)("span", { className: "item-title", children: item.title }), item.description && ((0, jsx_runtime_1.jsx)("span", { className: "item-description", children: item.description })), item.meta && (0, jsx_runtime_1.jsx)("span", { className: "item-meta", children: item.meta })] })] }));
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* The default empty-state rendering
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
15
|
+
* The default empty-state rendering: icon, title, description, form slot,
|
|
16
|
+
* actions (anchors when `href` is set, otherwise buttons calling
|
|
17
|
+
* `onActionClick`), an optional items list (anchors or buttons calling
|
|
18
|
+
* `onItemClick`) and a footer link.
|
|
19
19
|
*/
|
|
20
20
|
function SmartEmptyStateStandard({ options, className, onActionClick, onItemClick, }) {
|
|
21
21
|
const actions = options?.actions ?? [];
|