@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
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { SmartButtonProps } from './button.types';
|
|
2
2
|
/**
|
|
3
|
-
* The behaviour every button variant shares
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* `options.click`.
|
|
3
|
+
* The behaviour every button variant shares: the colour classes of the variant,
|
|
4
|
+
* and the confirm mode, where a first click asks for confirmation instead of
|
|
5
|
+
* running `options.click`.
|
|
7
6
|
*/
|
|
8
7
|
export declare function useButton({ options, disabled }: SmartButtonProps): {
|
|
9
8
|
mode: "confirm" | "default";
|
|
@@ -4,10 +4,9 @@ exports.useButton = useButton;
|
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
const models_1 = require("../../models");
|
|
6
6
|
/**
|
|
7
|
-
* The behaviour every button variant shares
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* `options.click`.
|
|
7
|
+
* The behaviour every button variant shares: the colour classes of the variant,
|
|
8
|
+
* and the confirm mode, where a first click asks for confirmation instead of
|
|
9
|
+
* running `options.click`.
|
|
11
10
|
*/
|
|
12
11
|
function useButton({ options, disabled = false }) {
|
|
13
12
|
const [mode, setMode] = (0, react_1.useState)('default');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-button.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/button/use-button.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"use-button.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/button/use-button.ts"],"names":[],"mappings":";;AAUA,8BAiDC;AA3DD,iCAAuD;AAGvD,yCAA8D;AAE9D;;;;GAIG;AACH,SAAgB,SAAS,CAAC,EAAE,OAAO,EAAE,QAAQ,GAAG,KAAK,EAAoB;IACvE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,EAAwB,SAAS,CAAC,CAAC;IAEnE,MAAM,cAAc,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE;QAClC,MAAM,OAAO,GAAiB,OAAO,EAAE,OAAO,IAAI,SAAS,CAAC;QAC5D,MAAM,KAAK,GAAG,OAAO,EAAE,KAAK,IAAI,QAAQ,CAAC;QACzC,MAAM,OAAO,GAAa,CAAC,qBAAqB,EAAE,iBAAiB,CAAC,CAAC;QACrE,MAAM,UAAU,GAAG,yBAAgB,CAAC,KAAK,CAAC,IAAI,yBAAgB,CAAC,QAAQ,CAAC,CAAC;QAEzE,OAAO,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;QAErC,IAAI,QAAQ,EAAE,CAAC;YACb,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,0BAA0B,CAAC,CAAC;QAC/D,CAAC;QAED,OAAO,OAAO,CAAC;IACjB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEjD,MAAM,MAAM,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE;QAC9B,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACpB,OAAO,CAAC,SAAS,CAAC,CAAC;QACrB,CAAC;aAAM,CAAC;YACN,OAAO,CAAC,KAAK,EAAE,CAAC;QAClB,CAAC;IACH,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,MAAM,aAAa,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE;QACrC,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB,OAAO,CAAC,KAAK,EAAE,CAAC;QAChB,OAAO,CAAC,SAAS,CAAC,CAAC;IACrB,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,MAAM,aAAa,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE;QACrC,IAAI,CAAC,OAAO;YAAE,OAAO;QAErB,OAAO,CAAC,SAAS,CAAC,CAAC;IACrB,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,OAAO;QACL,IAAI;QACJ,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,OAAO;QAC3B,cAAc;QACd,MAAM;QACN,aAAa;QACb,aAAa;KACd,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { SmartButtonGroupProps } from './button-group.types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* `
|
|
5
|
-
* `BUTTON_GROUP_STANDARD_COMPONENT_TOKEN`), `SmartButtonGroupStandard` by
|
|
6
|
-
* default.
|
|
3
|
+
* Renders the implementation registered as `components['button-group']` on
|
|
4
|
+
* `SmartProvider`, `SmartButtonGroupStandard` by default.
|
|
7
5
|
*/
|
|
8
6
|
export declare function SmartButtonGroup(props: SmartButtonGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,10 +5,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const button_group_standard_1 = require("./standard/button-group-standard");
|
|
6
6
|
const hooks_1 = require("../../providers/hooks");
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* `
|
|
10
|
-
* `BUTTON_GROUP_STANDARD_COMPONENT_TOKEN`), `SmartButtonGroupStandard` by
|
|
11
|
-
* default.
|
|
8
|
+
* Renders the implementation registered as `components['button-group']` on
|
|
9
|
+
* `SmartProvider`, `SmartButtonGroupStandard` by default.
|
|
12
10
|
*/
|
|
13
11
|
function SmartButtonGroup(props) {
|
|
14
12
|
const Component = (0, hooks_1.useSmartComponent)('button-group', button_group_standard_1.SmartButtonGroupStandard);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/button-group/button-group.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"button-group.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/button-group/button-group.tsx"],"names":[],"mappings":";;AAQA,4CAIC;;AAXD,4EAA4E;AAC5E,iDAA0D;AAE1D;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,KAA4B;IAC3D,MAAM,SAAS,GAAG,IAAA,yBAAiB,EAAC,cAAc,EAAE,gDAAwB,CAAC,CAAC;IAE9E,OAAO,uBAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IButtonGroupButton, IButtonGroupOptions } from '../../models';
|
|
2
|
-
/** Payload of `onButtonClick
|
|
2
|
+
/** Payload of `onButtonClick`. */
|
|
3
3
|
export interface IButtonGroupButtonClick {
|
|
4
4
|
buttonId: string;
|
|
5
5
|
}
|
|
@@ -7,8 +7,8 @@ export interface SmartButtonGroupProps {
|
|
|
7
7
|
buttons?: IButtonGroupButton[];
|
|
8
8
|
options?: IButtonGroupOptions;
|
|
9
9
|
/**
|
|
10
|
-
* The id of the selected button
|
|
11
|
-
*
|
|
10
|
+
* The id of the selected button. Controlled when defined; otherwise the group
|
|
11
|
+
* keeps the selection itself.
|
|
12
12
|
*/
|
|
13
13
|
selected?: string;
|
|
14
14
|
/** The initial selection when `selected` is not controlled. */
|
|
@@ -16,6 +16,6 @@ export interface SmartButtonGroupProps {
|
|
|
16
16
|
/** Called with the id of the button the user selected. */
|
|
17
17
|
onSelectedChange?: (selected: string) => void;
|
|
18
18
|
className?: string;
|
|
19
|
-
/**
|
|
19
|
+
/** A button was clicked. */
|
|
20
20
|
onButtonClick?: (event: IButtonGroupButtonClick) => void;
|
|
21
21
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SmartButtonGroupProps } from '../button-group.types';
|
|
2
2
|
/**
|
|
3
|
-
* The default button group rendering
|
|
4
|
-
*
|
|
3
|
+
* The default button group rendering: an unstyled `role="group"` of toggle
|
|
4
|
+
* buttons with their label and count.
|
|
5
5
|
*/
|
|
6
6
|
export declare function SmartButtonGroupStandard(props: SmartButtonGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,8 +4,8 @@ exports.SmartButtonGroupStandard = SmartButtonGroupStandard;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const use_button_group_1 = require("../use-button-group");
|
|
6
6
|
/**
|
|
7
|
-
* The default button group rendering
|
|
8
|
-
*
|
|
7
|
+
* The default button group rendering: an unstyled `role="group"` of toggle
|
|
8
|
+
* buttons with their label and count.
|
|
9
9
|
*/
|
|
10
10
|
function SmartButtonGroupStandard(props) {
|
|
11
11
|
const { buttons = [], className } = props;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { SmartButtonGroupProps } from './button-group.types';
|
|
2
2
|
/**
|
|
3
|
-
* The behaviour every button group variant shares
|
|
4
|
-
* `
|
|
5
|
-
* `
|
|
6
|
-
* selects a button and emits `onButtonClick`.
|
|
3
|
+
* The behaviour every button group variant shares: the selected button id,
|
|
4
|
+
* controlled through `selected` / `onSelectedChange` or kept internally, and
|
|
5
|
+
* `select(id)`, which selects a button and emits `onButtonClick`.
|
|
7
6
|
*/
|
|
8
7
|
export declare function useButtonGroup({ selected: controlledSelected, defaultSelected, onSelectedChange, onButtonClick, }: SmartButtonGroupProps): {
|
|
9
8
|
selected: string | undefined;
|
|
@@ -3,10 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.useButtonGroup = useButtonGroup;
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
/**
|
|
6
|
-
* The behaviour every button group variant shares
|
|
7
|
-
* `
|
|
8
|
-
* `
|
|
9
|
-
* selects a button and emits `onButtonClick`.
|
|
6
|
+
* The behaviour every button group variant shares: the selected button id,
|
|
7
|
+
* controlled through `selected` / `onSelectedChange` or kept internally, and
|
|
8
|
+
* `select(id)`, which selects a button and emits `onButtonClick`.
|
|
10
9
|
*/
|
|
11
10
|
function useButtonGroup({ selected: controlledSelected, defaultSelected, onSelectedChange, onButtonClick, }) {
|
|
12
11
|
const [internalSelected, setInternalSelected] = (0, react_1.useState)(defaultSelected);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-button-group.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/button-group/use-button-group.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"use-button-group.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/button-group/use-button-group.ts"],"names":[],"mappings":";;AASA,wCAqBC;AA9BD,iCAA8C;AAI9C;;;;GAIG;AACH,SAAgB,cAAc,CAAC,EAC7B,QAAQ,EAAE,kBAAkB,EAC5B,eAAe,EACf,gBAAgB,EAChB,aAAa,GACS;IACtB,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,IAAA,gBAAQ,EAAC,eAAe,CAAC,CAAC;IAC1E,MAAM,YAAY,GAAG,kBAAkB,KAAK,SAAS,CAAC;IACtD,MAAM,QAAQ,GAAG,YAAY,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,gBAAgB,CAAC;IAEtE,MAAM,MAAM,GAAG,IAAA,mBAAW,EACxB,CAAC,EAAU,EAAE,EAAE;QACb,IAAI,CAAC,YAAY;YAAE,mBAAmB,CAAC,EAAE,CAAC,CAAC;QAE3C,gBAAgB,EAAE,CAAC,EAAE,CAAC,CAAC;QACvB,aAAa,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;IACpC,CAAC,EACD,CAAC,YAAY,EAAE,gBAAgB,EAAE,aAAa,CAAC,CAChD,CAAC;IAEF,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;AAC9B,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { SmartCalendarProps } from './calendar.types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* `
|
|
5
|
-
* `
|
|
6
|
-
*
|
|
7
|
-
* wrapper was mounted, so registered implementations always get one.
|
|
3
|
+
* Renders the implementation registered as `components.calendar` on
|
|
4
|
+
* `SmartProvider`, `SmartCalendarStandard` by default. A missing
|
|
5
|
+
* `referenceDate` is replaced with the date the wrapper was mounted, so
|
|
6
|
+
* registered implementations always get one.
|
|
8
7
|
*/
|
|
9
8
|
export declare function SmartCalendar(props: SmartCalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,11 +6,10 @@ const react_1 = require("react");
|
|
|
6
6
|
const calendar_standard_1 = require("./standard/calendar-standard");
|
|
7
7
|
const hooks_1 = require("../../providers/hooks");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
* `
|
|
11
|
-
* `
|
|
12
|
-
*
|
|
13
|
-
* wrapper was mounted, so registered implementations always get one.
|
|
9
|
+
* Renders the implementation registered as `components.calendar` on
|
|
10
|
+
* `SmartProvider`, `SmartCalendarStandard` by default. A missing
|
|
11
|
+
* `referenceDate` is replaced with the date the wrapper was mounted, so
|
|
12
|
+
* registered implementations always get one.
|
|
14
13
|
*/
|
|
15
14
|
function SmartCalendar(props) {
|
|
16
15
|
const Component = (0, hooks_1.useSmartComponent)('calendar', calendar_standard_1.SmartCalendarStandard);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/calendar/calendar.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"calendar.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/calendar/calendar.tsx"],"names":[],"mappings":";;AAYA,sCAKC;;AAjBD,iCAAiC;AAGjC,oEAAqE;AACrE,iDAA0D;AAE1D;;;;;GAKG;AACH,SAAgB,aAAa,CAAC,KAAyB;IACrD,MAAM,SAAS,GAAG,IAAA,yBAAiB,EAAC,UAAU,EAAE,yCAAqB,CAAC,CAAC;IACvE,MAAM,CAAC,KAAK,CAAC,GAAG,IAAA,gBAAQ,EAAC,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IAE3C,OAAO,uBAAC,SAAS,OAAK,KAAK,EAAE,aAAa,EAAE,KAAK,CAAC,aAAa,IAAI,KAAK,GAAI,CAAC;AAC/E,CAAC"}
|
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { ICalendarDayCell, ICalendarEvent, ICalendarOptions } from '../../models';
|
|
3
|
-
/**
|
|
4
|
-
* The context `dayCellTpl` renders with: the Angular template context
|
|
5
|
-
* `{ $implicit: cell, events }`, `$implicit` named `cell`.
|
|
6
|
-
*/
|
|
3
|
+
/** The context `dayCellTpl` renders with: the day `cell` and its `events`. */
|
|
7
4
|
export interface SmartCalendarDayCellContext {
|
|
8
5
|
cell: ICalendarDayCell;
|
|
9
6
|
/** The events starting on `cell.date` (`eventsForDay(cell.date)`). */
|
|
10
7
|
events: ICalendarEvent[];
|
|
11
8
|
}
|
|
12
9
|
/**
|
|
13
|
-
* `ICalendarOptions` with `dayCellTpl` as a render function
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* `
|
|
17
|
-
* parity but, as in Angular, no variant renders them.
|
|
10
|
+
* `ICalendarOptions` with `dayCellTpl` as a render function, called for every
|
|
11
|
+
* day with {@link SmartCalendarDayCellContext}. `toolbarActionsTpl` has no
|
|
12
|
+
* context, so it stays a `ReactNode`. `eventListTpl`, `sidePanelTpl`,
|
|
13
|
+
* `eventTpl` and `monthsCount` are accepted, but no variant renders them.
|
|
18
14
|
*/
|
|
19
15
|
export interface SmartCalendarOptions extends Omit<ICalendarOptions, 'dayCellTpl'> {
|
|
20
16
|
dayCellTpl?: (context: SmartCalendarDayCellContext) => ReactNode;
|
|
@@ -23,14 +19,14 @@ export interface SmartCalendarProps {
|
|
|
23
19
|
options?: SmartCalendarOptions;
|
|
24
20
|
className?: string;
|
|
25
21
|
/**
|
|
26
|
-
* The selected day
|
|
27
|
-
*
|
|
28
|
-
*
|
|
22
|
+
* The selected day. Controlled when defined (`null` = nothing selected);
|
|
23
|
+
* leave it `undefined` to let the calendar keep the selection itself,
|
|
24
|
+
* starting from `defaultValue`.
|
|
29
25
|
*/
|
|
30
26
|
value?: Date | null;
|
|
31
27
|
/** The initial selection of an uncontrolled calendar. */
|
|
32
28
|
defaultValue?: Date | null;
|
|
33
|
-
/** Called with the day the user selects
|
|
29
|
+
/** Called with the day the user selects. */
|
|
34
30
|
onValueChange?: (value: Date | null) => void;
|
|
35
31
|
/**
|
|
36
32
|
* The day whose month is shown first; the calendar navigates from there and
|
|
@@ -4,9 +4,9 @@ import { SmartCalendarProps } from '../calendar.types';
|
|
|
4
4
|
* `components.calendar` on `SmartProvider` to restyle every `<SmartCalendar>`,
|
|
5
5
|
* or render it directly.
|
|
6
6
|
*
|
|
7
|
-
* Reproduces Preline's single date-picker visual with `smart:`-prefixed
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
7
|
+
* Reproduces Preline's single date-picker visual with `smart:`-prefixed vanilla
|
|
8
|
+
* Tailwind; month navigation and day selection are driven by `useCalendar`.
|
|
9
|
+
* Out-of-month days are disabled. The month name, weekday labels and the
|
|
10
|
+
* Previous / Next labels are in English, not translated.
|
|
11
11
|
*/
|
|
12
12
|
export declare function SmartCalendarPreset(props: SmartCalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,10 +11,10 @@ const WEEKDAY_LABELS = ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'];
|
|
|
11
11
|
* `components.calendar` on `SmartProvider` to restyle every `<SmartCalendar>`,
|
|
12
12
|
* or render it directly.
|
|
13
13
|
*
|
|
14
|
-
* Reproduces Preline's single date-picker visual with `smart:`-prefixed
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
14
|
+
* Reproduces Preline's single date-picker visual with `smart:`-prefixed vanilla
|
|
15
|
+
* Tailwind; month navigation and day selection are driven by `useCalendar`.
|
|
16
|
+
* Out-of-month days are disabled. The month name, weekday labels and the
|
|
17
|
+
* Previous / Next labels are in English, not translated.
|
|
18
18
|
*/
|
|
19
19
|
function SmartCalendarPreset(props) {
|
|
20
20
|
const { options, className = '' } = props;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SmartCalendarProps } from '../calendar.types';
|
|
2
2
|
/**
|
|
3
|
-
* Barebones native-HTML month calendar
|
|
3
|
+
* Barebones native-HTML month calendar.
|
|
4
4
|
*
|
|
5
|
-
* Days with events get `data-events="<count>"`, an aria-label that mentions
|
|
6
|
-
*
|
|
7
|
-
* `options.dayCellTpl` renders each day's content from `{ cell, events }`.
|
|
8
|
-
*
|
|
5
|
+
* Days with events get `data-events="<count>"`, an aria-label that mentions the
|
|
6
|
+
* count and, without `options.dayCellTpl`, an `aria-hidden` event marker.
|
|
7
|
+
* `options.dayCellTpl` renders each day's content from `{ cell, events }`. The
|
|
8
|
+
* toolbar labels (Prev / Today / Next) are not translated.
|
|
9
9
|
*/
|
|
10
10
|
export declare function SmartCalendarStandard(props: SmartCalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,12 +4,12 @@ exports.SmartCalendarStandard = SmartCalendarStandard;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const use_calendar_1 = require("../use-calendar");
|
|
6
6
|
/**
|
|
7
|
-
* Barebones native-HTML month calendar
|
|
7
|
+
* Barebones native-HTML month calendar.
|
|
8
8
|
*
|
|
9
|
-
* Days with events get `data-events="<count>"`, an aria-label that mentions
|
|
10
|
-
*
|
|
11
|
-
* `options.dayCellTpl` renders each day's content from `{ cell, events }`.
|
|
12
|
-
*
|
|
9
|
+
* Days with events get `data-events="<count>"`, an aria-label that mentions the
|
|
10
|
+
* count and, without `options.dayCellTpl`, an `aria-hidden` event marker.
|
|
11
|
+
* `options.dayCellTpl` renders each day's content from `{ cell, events }`. The
|
|
12
|
+
* toolbar labels (Prev / Today / Next) are not translated.
|
|
13
13
|
*/
|
|
14
14
|
function SmartCalendarStandard(props) {
|
|
15
15
|
const { options, className = '' } = props;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { SmartCalendarProps } from './calendar.types';
|
|
2
2
|
import { ICalendarDayCell, ICalendarEvent, SmartCalendarView } from '../../models';
|
|
3
3
|
/**
|
|
4
|
-
* The behaviour every calendar variant shares
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* events of a day and the day's accessible name.
|
|
4
|
+
* The behaviour every calendar variant shares: the options with their defaults
|
|
5
|
+
* (month view, Monday week start, toolbar shown), the selected day (`value`,
|
|
6
|
+
* controlled or uncontrolled), the navigated reference date with its 6 x 7
|
|
7
|
+
* `monthGrid`, the events of a day and the day's accessible name.
|
|
9
8
|
*
|
|
10
9
|
* The reference starts at `referenceDate` (today when omitted), moves with
|
|
11
10
|
* `prevPeriod` / `nextPeriod` / `goToToday`, and jumps back to
|
|
@@ -28,6 +27,6 @@ export declare function useCalendar({ options, value: valueProp, defaultValue, o
|
|
|
28
27
|
/**
|
|
29
28
|
* The 6 x 7 day grid of the month of `reference`, starting on `weekStart`
|
|
30
29
|
* (0 = Sunday, 1 = Monday), with the leading / trailing days of the
|
|
31
|
-
* neighbouring months
|
|
30
|
+
* neighbouring months.
|
|
32
31
|
*/
|
|
33
32
|
export declare function buildMonthGrid(reference: Date, weekStart: 0 | 1, selected: Date | null): ICalendarDayCell[][];
|
|
@@ -5,11 +5,10 @@ exports.buildMonthGrid = buildMonthGrid;
|
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const NO_EVENTS = [];
|
|
7
7
|
/**
|
|
8
|
-
* The behaviour every calendar variant shares
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* events of a day and the day's accessible name.
|
|
8
|
+
* The behaviour every calendar variant shares: the options with their defaults
|
|
9
|
+
* (month view, Monday week start, toolbar shown), the selected day (`value`,
|
|
10
|
+
* controlled or uncontrolled), the navigated reference date with its 6 x 7
|
|
11
|
+
* `monthGrid`, the events of a day and the day's accessible name.
|
|
13
12
|
*
|
|
14
13
|
* The reference starts at `referenceDate` (today when omitted), moves with
|
|
15
14
|
* `prevPeriod` / `nextPeriod` / `goToToday`, and jumps back to
|
|
@@ -23,9 +22,9 @@ function useCalendar({ options, value: valueProp, defaultValue = null, onValueCh
|
|
|
23
22
|
const [innerValue, setInnerValue] = (0, react_1.useState)(defaultValue);
|
|
24
23
|
const value = controlled ? valueProp : innerValue;
|
|
25
24
|
const [reference, setReference] = (0, react_1.useState)(() => referenceDate ?? new Date());
|
|
26
|
-
// Sync external input -> internal reference when the input changes
|
|
27
|
-
//
|
|
28
|
-
//
|
|
25
|
+
// Sync external input -> internal reference when the input changes. Compared
|
|
26
|
+
// by time so that a parent re-rendering an equal `new Date(...)` does not
|
|
27
|
+
// undo the navigation.
|
|
29
28
|
const referenceTime = referenceDate?.getTime();
|
|
30
29
|
const [syncedReferenceTime, setSyncedReferenceTime] = (0, react_1.useState)(referenceTime);
|
|
31
30
|
if (!Object.is(referenceTime, syncedReferenceTime)) {
|
|
@@ -84,7 +83,7 @@ function useCalendar({ options, value: valueProp, defaultValue = null, onValueCh
|
|
|
84
83
|
/**
|
|
85
84
|
* `reference` moved one `view` period (a month, 7 days, a day or a year)
|
|
86
85
|
* backwards (`-1`) or forwards (`1`), with the `Date` setters' overflow rules
|
|
87
|
-
* (e.g. Mar 31 minus a month is Mar 3)
|
|
86
|
+
* (e.g. Mar 31 minus a month is Mar 3).
|
|
88
87
|
*/
|
|
89
88
|
function shiftPeriod(reference, view, step) {
|
|
90
89
|
const next = new Date(reference);
|
|
@@ -105,7 +104,7 @@ function shiftPeriod(reference, view, step) {
|
|
|
105
104
|
/**
|
|
106
105
|
* The 6 x 7 day grid of the month of `reference`, starting on `weekStart`
|
|
107
106
|
* (0 = Sunday, 1 = Monday), with the leading / trailing days of the
|
|
108
|
-
* neighbouring months
|
|
107
|
+
* neighbouring months.
|
|
109
108
|
*/
|
|
110
109
|
function buildMonthGrid(reference, weekStart, selected) {
|
|
111
110
|
const year = reference.getFullYear();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-calendar.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/calendar/use-calendar.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"use-calendar.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/calendar/use-calendar.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { SmartCardProps } from './card.types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* `SmartCardStandard` by default.
|
|
3
|
+
* Renders the implementation registered as `components.card` on
|
|
4
|
+
* `SmartProvider`, `SmartCardStandard` by default.
|
|
6
5
|
*
|
|
7
|
-
* `header` and `footer`
|
|
8
|
-
*
|
|
9
|
-
* children as `bodyTpl`. A section is rendered when its content is given,
|
|
6
|
+
* `header` and `footer` reach the implementation as `headerTpl` / `footerTpl`,
|
|
7
|
+
* the children as `bodyTpl`. A section is rendered when its content is given,
|
|
10
8
|
* unless `hasHeader` / `hasFooter` say otherwise.
|
|
11
9
|
*/
|
|
12
10
|
export declare function SmartCard({ options, hasHeader, hasFooter, className, header, footer, children, }: SmartCardProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,13 +6,11 @@ const card_standard_1 = require("./standard/card-standard");
|
|
|
6
6
|
const use_card_1 = require("./use-card");
|
|
7
7
|
const hooks_1 = require("../../providers/hooks");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* `SmartCardStandard` by default.
|
|
9
|
+
* Renders the implementation registered as `components.card` on
|
|
10
|
+
* `SmartProvider`, `SmartCardStandard` by default.
|
|
12
11
|
*
|
|
13
|
-
* `header` and `footer`
|
|
14
|
-
*
|
|
15
|
-
* children as `bodyTpl`. A section is rendered when its content is given,
|
|
12
|
+
* `header` and `footer` reach the implementation as `headerTpl` / `footerTpl`,
|
|
13
|
+
* the children as `bodyTpl`. A section is rendered when its content is given,
|
|
16
14
|
* unless `hasHeader` / `hasFooter` say otherwise.
|
|
17
15
|
*/
|
|
18
16
|
function SmartCard({ options, hasHeader, hasFooter, className, header, footer, children, }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/card/card.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/card/card.tsx"],"names":[],"mappings":";;AAaA,8BAyBC;;AArCD,4DAA6D;AAC7D,yCAAgD;AAChD,iDAA0D;AAE1D;;;;;;;GAOG;AACH,SAAgB,SAAS,CAAC,EACxB,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,EACT,MAAM,EACN,MAAM,EACN,QAAQ,GACO;IACf,MAAM,SAAS,GAAG,IAAA,yBAAiB,EACjC,MAAM,EACN,iCAAiB,CAClB,CAAC;IAEF,OAAO,CACL,uBAAC,SAAS,IACR,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,IAAA,6BAAkB,EAAC,SAAS,EAAE,MAAM,CAAC,EAChD,SAAS,EAAE,IAAA,6BAAkB,EAAC,SAAS,EAAE,MAAM,CAAC,EAChD,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,QAAQ,EACjB,SAAS,EAAE,MAAM,GACjB,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { ICardOptions } from '../../models';
|
|
3
|
-
/** Props of `<SmartCard
|
|
3
|
+
/** Props of `<SmartCard>`. */
|
|
4
4
|
export interface SmartCardProps {
|
|
5
5
|
options?: ICardOptions;
|
|
6
6
|
/** Renders the header section; by default, when `header` is given. */
|
|
@@ -8,18 +8,17 @@ export interface SmartCardProps {
|
|
|
8
8
|
/** Renders the footer section; by default, when `footer` is given. */
|
|
9
9
|
hasFooter?: boolean;
|
|
10
10
|
className?: string;
|
|
11
|
-
/** The header content
|
|
11
|
+
/** The header content. */
|
|
12
12
|
header?: ReactNode;
|
|
13
|
-
/** The footer content
|
|
13
|
+
/** The footer content. */
|
|
14
14
|
footer?: ReactNode;
|
|
15
15
|
/** The body content. */
|
|
16
16
|
children?: ReactNode;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* Props of a card implementation (`SmartCardStandard`, `SmartCardPreset` or
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* `bodyTpl` / `footerTpl`.
|
|
19
|
+
* Props of a card implementation (`SmartCardStandard`, `SmartCardPreset` or one
|
|
20
|
+
* registered as `components.card`): the wrapper passes `header` / `children` /
|
|
21
|
+
* `footer` as `headerTpl` / `bodyTpl` / `footerTpl`.
|
|
23
22
|
*/
|
|
24
23
|
export interface SmartCardVariantProps {
|
|
25
24
|
options?: ICardOptions;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SmartCardVariantProps } from '../card.types';
|
|
2
2
|
/**
|
|
3
|
-
* The default card rendering
|
|
4
|
-
*
|
|
3
|
+
* The default card rendering: a white panel with an optional header (with
|
|
4
|
+
* `options.title`), the body and an optional footer.
|
|
5
5
|
*/
|
|
6
6
|
export declare function SmartCardStandard(props: SmartCardVariantProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,8 +5,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const class_names_1 = require("../../../utils/class-names");
|
|
6
6
|
const use_card_1 = require("../use-card");
|
|
7
7
|
/**
|
|
8
|
-
* The default card rendering
|
|
9
|
-
*
|
|
8
|
+
* The default card rendering: a white panel with an optional header (with
|
|
9
|
+
* `options.title`), the body and an optional footer.
|
|
10
10
|
*/
|
|
11
11
|
function SmartCardStandard(props) {
|
|
12
12
|
const { options, className, headerTpl, bodyTpl, footerTpl } = props;
|
|
@@ -6,9 +6,8 @@ import { SmartCardVariantProps } from './card.types';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare function isCardSectionShown(flag: boolean | undefined, content: ReactNode): boolean;
|
|
8
8
|
/**
|
|
9
|
-
* The behaviour every card variant shares
|
|
10
|
-
*
|
|
11
|
-
* body and footer sections.
|
|
9
|
+
* The behaviour every card variant shares: which sections are shown, and the
|
|
10
|
+
* classes of the container and the header, body and footer sections.
|
|
12
11
|
*/
|
|
13
12
|
export declare function useCard({ options, hasHeader, hasFooter, headerTpl, footerTpl, }: SmartCardVariantProps): {
|
|
14
13
|
showHeader: boolean;
|
|
@@ -15,9 +15,8 @@ function isCardSectionShown(flag, content) {
|
|
|
15
15
|
content !== '');
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* The behaviour every card variant shares
|
|
19
|
-
*
|
|
20
|
-
* body and footer sections.
|
|
18
|
+
* The behaviour every card variant shares: which sections are shown, and the
|
|
19
|
+
* classes of the container and the header, body and footer sections.
|
|
21
20
|
*/
|
|
22
21
|
function useCard({ options, hasHeader, hasFooter, headerTpl, footerTpl, }) {
|
|
23
22
|
const showHeader = isCardSectionShown(hasHeader, headerTpl);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-card.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/card/use-card.ts"],"names":[],"mappings":";;AAQA,gDAYC;
|
|
1
|
+
{"version":3,"file":"use-card.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/card/use-card.ts"],"names":[],"mappings":";;AAQA,gDAYC;AAMD,0BA8CC;AApED;;;GAGG;AACH,SAAgB,kBAAkB,CAChC,IAAyB,EACzB,OAAkB;IAElB,IAAI,IAAI,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC;IAEpC,OAAO,CACL,OAAO,KAAK,SAAS;QACrB,OAAO,KAAK,IAAI;QAChB,OAAO,OAAO,KAAK,SAAS;QAC5B,OAAO,KAAK,EAAE,CACf,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,EACtB,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,GACa;IACtB,MAAM,UAAU,GAAG,kBAAkB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAC5D,MAAM,UAAU,GAAG,kBAAkB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAE5D,MAAM,sBAAsB,GAAG,CAAC,uBAAuB,CAAC,CAAC;IAEzD,IACE,CAAC,UAAU,IAAI,UAAU,CAAC;QAC1B,CAAC,OAAO,EAAE,UAAU;QACpB,CAAC,OAAO,EAAE,QAAQ,EAClB,CAAC;QACD,sBAAsB,CAAC,IAAI,CACzB,gBAAgB,EAChB,uBAAuB,EACvB,4BAA4B,CAC7B,CAAC;IACJ,CAAC;IAED,MAAM,aAAa,GAAG,qCAAqC,CAAC;IAE5D,MAAM,WAAW,GAAG,CAAC,YAAY,EAAE,YAAY,EAAE,cAAc,CAAC,CAAC;IAEjE,IAAI,OAAO,EAAE,QAAQ,EAAE,CAAC;QACtB,WAAW,CAAC,IAAI,CAAC,kBAAkB,EAAE,2BAA2B,CAAC,CAAC;IACpE,CAAC;IAED,MAAM,aAAa,GAAG,CAAC,YAAY,EAAE,YAAY,EAAE,eAAe,CAAC,CAAC;IAEpE,IAAI,OAAO,EAAE,UAAU,EAAE,CAAC;QACxB,aAAa,CAAC,IAAI,CAAC,kBAAkB,EAAE,2BAA2B,CAAC,CAAC;IACtE,CAAC;IAED,OAAO;QACL,UAAU;QACV,UAAU;QACV,sBAAsB;QACtB,aAAa;QACb,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC;QAClC,aAAa,EAAE,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC;KACvC,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { SmartCardHeadingProps } from './card-heading.types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* `
|
|
5
|
-
* `CARD_HEADING_STANDARD_COMPONENT_TOKEN`), `SmartCardHeadingStandard` by
|
|
6
|
-
* default.
|
|
3
|
+
* Renders the implementation registered as `components['card-heading']` on
|
|
4
|
+
* `SmartProvider`, `SmartCardHeadingStandard` by default.
|
|
7
5
|
*/
|
|
8
6
|
export declare function SmartCardHeading(props: SmartCardHeadingProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,10 +5,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const card_heading_standard_1 = require("./standard/card-heading-standard");
|
|
6
6
|
const hooks_1 = require("../../providers/hooks");
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* `
|
|
10
|
-
* `CARD_HEADING_STANDARD_COMPONENT_TOKEN`), `SmartCardHeadingStandard` by
|
|
11
|
-
* default.
|
|
8
|
+
* Renders the implementation registered as `components['card-heading']` on
|
|
9
|
+
* `SmartProvider`, `SmartCardHeadingStandard` by default.
|
|
12
10
|
*/
|
|
13
11
|
function SmartCardHeading(props) {
|
|
14
12
|
const Component = (0, hooks_1.useSmartComponent)('card-heading', card_heading_standard_1.SmartCardHeadingStandard);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-heading.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/card-heading/card-heading.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"card-heading.js","sourceRoot":"","sources":["../../../../../../../../packages/shared/react/src/lib/components/card-heading/card-heading.tsx"],"names":[],"mappings":";;AAQA,4CAIC;;AAXD,4EAA4E;AAC5E,iDAA0D;AAE1D;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,KAA4B;IAC3D,MAAM,SAAS,GAAG,IAAA,yBAAiB,EAAC,cAAc,EAAE,gDAAwB,CAAC,CAAC;IAE9E,OAAO,uBAAC,SAAS,OAAK,KAAK,GAAI,CAAC;AAClC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SmartCardHeadingProps } from '../card-heading.types';
|
|
2
2
|
/**
|
|
3
|
-
* The default card heading rendering
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* The default card heading rendering: the avatar, the title, description and
|
|
4
|
+
* meta, and the actions of `options`, each only when given. Unstyled;
|
|
5
|
+
* `options.presentation` is ignored.
|
|
6
6
|
*/
|
|
7
7
|
export declare function SmartCardHeadingStandard({ options, className, }: SmartCardHeadingProps): import("react/jsx-runtime").JSX.Element;
|