@purpur/library 10.1.0 → 10.2.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/CHANGELOG.json +57 -0
- package/CHANGELOG.md +26 -1
- package/dist/LICENSE.txt +14 -7
- package/dist/{RichText-B865Qkzj.js → RichText-CeYecUFV.js} +2 -2
- package/dist/{RichText-B865Qkzj.js.map → RichText-CeYecUFV.js.map} +1 -1
- package/dist/{RichText-CPkBwXNI.mjs → RichText-CwQfDo_S.mjs} +2 -2
- package/dist/{RichText-CPkBwXNI.mjs.map → RichText-CwQfDo_S.mjs.map} +1 -1
- package/dist/{ThemeProvider-BJGm3zai.js → ThemeProvider-BGep6X_i.js} +2 -2
- package/dist/{ThemeProvider-BJGm3zai.js.map → ThemeProvider-BGep6X_i.js.map} +1 -1
- package/dist/{ThemeProvider-BJ25_asg.mjs → ThemeProvider-BrAZhasG.mjs} +13 -13
- package/dist/{ThemeProvider-BJ25_asg.mjs.map → ThemeProvider-BrAZhasG.mjs.map} +1 -1
- package/dist/components/accordion/src/accordion-item.d.ts +3 -3
- package/dist/components/accordion/src/accordion.d.ts +1 -1
- package/dist/components/alert-badge/src/alert-badge.d.ts +1 -1
- package/dist/components/avatar/src/avatar.d.ts +1 -1
- package/dist/components/breadcrumbs/src/breadcrumbs.d.ts +1 -1
- package/dist/components/card/src/card-badge.d.ts +1 -1
- package/dist/components/card/src/card-content.d.ts +2 -2
- package/dist/components/card/src/card-cta.d.ts +2 -2
- package/dist/components/card/src/card-media-layout.d.ts +1 -1
- package/dist/components/card/src/card-root.d.ts +2 -2
- package/dist/components/comparison-table/src/components/OptionCard/option-card.d.ts +1 -1
- package/dist/components/container/src/container.d.ts +2 -2
- package/dist/components/container/src/container.visual.fixtures.d.ts +14 -0
- package/dist/components/container/src/container.visual.fixtures.d.ts.map +1 -0
- package/dist/components/content-block/src/content-block-group.d.ts +2 -2
- package/dist/components/content-block/src/content-block.d.ts +2 -2
- package/dist/components/countdown/src/countdown.d.ts +1 -1
- package/dist/components/countdown/src/countdown.d.ts.map +1 -1
- package/dist/components/countdown/src/countdown.types.d.ts +19 -3
- package/dist/components/countdown/src/countdown.types.d.ts.map +1 -1
- package/dist/components/counter-badge/src/counter-badge.d.ts +1 -1
- package/dist/components/cta-link/src/cta-link.d.ts +10 -10
- package/dist/components/date-field/src/date-field.d.ts +14 -6
- package/dist/components/date-field/src/date-field.d.ts.map +1 -1
- package/dist/components/date-field/src/utils.d.ts +40 -2
- package/dist/components/date-field/src/utils.d.ts.map +1 -1
- package/dist/components/date-picker/src/date-picker.d.ts +4 -4
- package/dist/components/date-range-field/src/date-range-field.d.ts +4 -2
- package/dist/components/date-range-field/src/date-range-field.d.ts.map +1 -1
- package/dist/components/dismissable-chip-group/src/dismissable-chip-group.d.ts +2 -2
- package/dist/components/drawer/src/drawer-container.d.ts +2 -2
- package/dist/components/drawer/src/drawer-scroll-area.d.ts +1 -1
- package/dist/components/drawer/src/drawer-trigger.d.ts +2 -2
- package/dist/components/drawer/src/drawer.d.ts +1 -1
- package/dist/components/dropdown/src/dropdown-combobox.d.ts.map +1 -1
- package/dist/components/dropdown/src/dropdown-shared.d.ts +3 -1
- package/dist/components/dropdown/src/dropdown-shared.d.ts.map +1 -1
- package/dist/components/dropdown/src/dropdown.types.d.ts +3 -0
- package/dist/components/dropdown/src/dropdown.types.d.ts.map +1 -1
- package/dist/components/dropdown/src/useDropdown.d.ts +1 -1
- package/dist/components/file-upload/src/file-upload-types.d.ts +1 -1
- package/dist/components/footer/src/footer-navigation.d.ts +2 -2
- package/dist/components/footer/src/footer-social-link.d.ts +3 -3
- package/dist/components/footer/src/footer.d.ts +1 -1
- package/dist/components/grid/src/grid.d.ts +1 -1
- package/dist/components/grid/src/grid.item.d.ts +1 -1
- package/dist/components/heading/src/heading.d.ts +1 -1
- package/dist/components/label/src/label.d.ts +1 -1
- package/dist/components/link/src/link.d.ts +1 -1
- package/dist/components/loading/src/loading-illustrative.d.ts +1 -1
- package/dist/components/logo/src/logo.types.d.ts +1 -1
- package/dist/components/modal/src/modal-content.d.ts +2 -2
- package/dist/components/modal/src/modal-trigger.d.ts +2 -2
- package/dist/components/notification/src/notification.d.ts +2 -2
- package/dist/components/pagination/src/pagination-page-selector.d.ts +1 -1
- package/dist/components/pagination/src/pagination-page-size-selector.d.ts +2 -2
- package/dist/components/pagination/src/pagination-pages.d.ts +1 -1
- package/dist/components/pagination/src/pagination-step-trigger.d.ts +1 -1
- package/dist/components/pagination/src/use-page-size-options.hook.d.ts +2 -2
- package/dist/components/password-field/src/password-field.d.ts +1 -1
- package/dist/components/password-field/src/password-strength-indicator.d.ts +2 -2
- package/dist/components/popover/src/popover-button.d.ts +2 -2
- package/dist/components/radio-card-group/src/radio-card-group.d.ts +2 -2
- package/dist/components/radio-card-group/src/radio-card-item.d.ts +1 -1
- package/dist/components/search-field/src/search-field-autocomplete.d.ts +7 -4
- package/dist/components/search-field/src/search-field-autocomplete.d.ts.map +1 -1
- package/dist/components/search-field/src/search-field-base.d.ts +4 -2
- package/dist/components/search-field/src/search-field-base.d.ts.map +1 -1
- package/dist/components/search-field/src/search-field.d.ts +6 -0
- package/dist/components/search-field/src/search-field.d.ts.map +1 -1
- package/dist/components/select/src/select.d.ts +2 -2
- package/dist/components/spacer/src/spacer.d.ts +1 -1
- package/dist/components/spinner/src/spinner.d.ts +1 -1
- package/dist/components/stepper/src/stepper-container.d.ts +1 -1
- package/dist/components/stepper/src/stepper-link.d.ts +1 -1
- package/dist/components/table/src/story-utils/table-data.d.ts +4 -4
- package/dist/components/table/src/test-utils/table-data.d.ts +3 -3
- package/dist/components/table/src/types.d.ts +3 -3
- package/dist/components/tabs/src/tab-content.d.ts +1 -1
- package/dist/components/text-area/src/text-area.d.ts +1 -1
- package/dist/components/text-spacing/src/text-spacing.d.ts +1 -1
- package/dist/components/toggle/src/toggle.d.ts +1 -1
- package/dist/components/tooltip/src/tooltip.d.ts +3 -3
- package/dist/components-metadata.js +1 -0
- package/dist/countdown-CdGFNLZq.js +2 -0
- package/dist/countdown-CdGFNLZq.js.map +1 -0
- package/dist/countdown-G7eg3CZj.mjs +188 -0
- package/dist/countdown-G7eg3CZj.mjs.map +1 -0
- package/dist/countdown.cjs.js +1 -1
- package/dist/countdown.es.js +1 -1
- package/dist/country-flag-icon/LICENSE.txt +0 -11
- package/dist/date-field-D8yGH1mw.js +2 -0
- package/dist/{date-field-CtpWDaSh.js.map → date-field-D8yGH1mw.js.map} +1 -1
- package/dist/{date-field-_rCuf15v.mjs → date-field-DVMPYoLT.mjs} +361 -311
- package/dist/{date-field-_rCuf15v.mjs.map → date-field-DVMPYoLT.mjs.map} +1 -1
- package/dist/date-field.cjs.js +1 -1
- package/dist/date-field.es.js +1 -1
- package/dist/{date-picker-sqcNAplg.mjs → date-picker-Ban9DLsx.mjs} +6 -6
- package/dist/{date-picker-sqcNAplg.mjs.map → date-picker-Ban9DLsx.mjs.map} +1 -1
- package/dist/{date-picker-BYlszX1W.js → date-picker-re3cPV_Z.js} +2 -2
- package/dist/{date-picker-BYlszX1W.js.map → date-picker-re3cPV_Z.js.map} +1 -1
- package/dist/date-picker.cjs.js +1 -1
- package/dist/date-picker.es.js +1 -1
- package/dist/date-range-field-8JmPw-Ei.js +2 -0
- package/dist/date-range-field-8JmPw-Ei.js.map +1 -0
- package/dist/{date-range-field-BmjQeiOv.mjs → date-range-field-dmJO66U_.mjs} +64 -61
- package/dist/date-range-field-dmJO66U_.mjs.map +1 -0
- package/dist/date-range-field.cjs.js +1 -1
- package/dist/date-range-field.es.js +1 -1
- package/dist/dismissable-chip-group-CVo3CS8K.js +2 -0
- package/dist/dismissable-chip-group-CVo3CS8K.js.map +1 -0
- package/dist/dismissable-chip-group-Dov2-9Fe.mjs +95 -0
- package/dist/dismissable-chip-group-Dov2-9Fe.mjs.map +1 -0
- package/dist/dismissable-chip-group.cjs.js +1 -1
- package/dist/dismissable-chip-group.es.js +1 -1
- package/dist/{drawer-oFJcxW58.js → drawer-CSagTJjN.js} +2 -2
- package/dist/{drawer-oFJcxW58.js.map → drawer-CSagTJjN.js.map} +1 -1
- package/dist/{drawer-Chx3H8EU.mjs → drawer-Cw-Y9XH9.mjs} +3 -3
- package/dist/{drawer-Chx3H8EU.mjs.map → drawer-Cw-Y9XH9.mjs.map} +1 -1
- package/dist/drawer.cjs.js +1 -1
- package/dist/drawer.es.js +1 -1
- package/dist/dropdown-BAM4nQhd.mjs +955 -0
- package/dist/dropdown-BAM4nQhd.mjs.map +1 -0
- package/dist/dropdown-Cr8DVw2T.js +2 -0
- package/dist/dropdown-Cr8DVw2T.js.map +1 -0
- package/dist/dropdown.cjs.js +1 -1
- package/dist/dropdown.es.js +1 -1
- package/dist/{file-upload-MvNuX4ks.js → file-upload-CdlYkCg8.js} +2 -2
- package/dist/{file-upload-MvNuX4ks.js.map → file-upload-CdlYkCg8.js.map} +1 -1
- package/dist/{file-upload-Ctw6LCTU.mjs → file-upload-ih5NqF67.mjs} +2 -2
- package/dist/{file-upload-Ctw6LCTU.mjs.map → file-upload-ih5NqF67.mjs.map} +1 -1
- package/dist/file-upload.cjs.js +1 -1
- package/dist/file-upload.es.js +1 -1
- package/dist/{footer-DkVmTd-f.mjs → footer-CVVt8hUE.mjs} +3 -3
- package/dist/{footer-DkVmTd-f.mjs.map → footer-CVVt8hUE.mjs.map} +1 -1
- package/dist/{footer-Bbemct3Z.js → footer-Cat9-v7l.js} +2 -2
- package/dist/{footer-Bbemct3Z.js.map → footer-Cat9-v7l.js.map} +1 -1
- package/dist/footer.cjs.js +1 -1
- package/dist/footer.es.js +1 -1
- package/dist/{hero-banner-Mag1OwL4.js → hero-banner-BNw3eNTs.js} +2 -2
- package/dist/{hero-banner-Mag1OwL4.js.map → hero-banner-BNw3eNTs.js.map} +1 -1
- package/dist/{hero-banner-ChDoFRhq.mjs → hero-banner-MnKuFSku.mjs} +2 -2
- package/dist/{hero-banner-ChDoFRhq.mjs.map → hero-banner-MnKuFSku.mjs.map} +1 -1
- package/dist/hero-banner.cjs.js +1 -1
- package/dist/hero-banner.es.js +1 -1
- package/dist/libraries/library/src/container.d.ts +1 -1
- package/dist/libraries/library/src/content-block.d.ts +1 -1
- package/dist/libraries/library/src/quantity-selector.d.ts +2 -2
- package/dist/libraries/theme/src/ThemeProvider.d.ts +1 -1
- package/dist/libraries/theme/src/theme-props.d.ts +1 -0
- package/dist/libraries/theme/src/theme-props.d.ts.map +1 -1
- package/dist/libraries/tokens/dist/color/variables.d.ts +1 -0
- package/dist/libraries/tokens/dist/color/variables.dark.d.ts +1 -0
- package/dist/library.cjs.js +1 -1
- package/dist/library.es.js +293 -292
- package/dist/{modal-CXOYUsJm.js → modal-BSN-wIcN.js} +2 -2
- package/dist/{modal-CXOYUsJm.js.map → modal-BSN-wIcN.js.map} +1 -1
- package/dist/{modal-Pwvhrzn-.mjs → modal-CnzUgU97.mjs} +3 -3
- package/dist/{modal-Pwvhrzn-.mjs.map → modal-CnzUgU97.mjs.map} +1 -1
- package/dist/modal.cjs.js +1 -1
- package/dist/modal.es.js +1 -1
- package/dist/{popover-B6ntmuEK.mjs → popover-B-oWzP-0.mjs} +3 -3
- package/dist/{popover-B6ntmuEK.mjs.map → popover-B-oWzP-0.mjs.map} +1 -1
- package/dist/{popover-DJHMEFXP.js → popover-BzoAQW0i.js} +2 -2
- package/dist/{popover-DJHMEFXP.js.map → popover-BzoAQW0i.js.map} +1 -1
- package/dist/popover.cjs.js +1 -1
- package/dist/popover.es.js +1 -1
- package/dist/{promotion-card-B3mz__m7.js → promotion-card-B8bnNVZ-.js} +2 -2
- package/dist/{promotion-card-B3mz__m7.js.map → promotion-card-B8bnNVZ-.js.map} +1 -1
- package/dist/{promotion-card-Co6qAkTZ.mjs → promotion-card-DwNbzSK3.mjs} +2 -2
- package/dist/{promotion-card-Co6qAkTZ.mjs.map → promotion-card-DwNbzSK3.mjs.map} +1 -1
- package/dist/promotion-card.cjs.js +1 -1
- package/dist/promotion-card.es.js +1 -1
- package/dist/purpur.css +1 -1
- package/dist/rich-text.cjs.js +1 -1
- package/dist/rich-text.es.js +1 -1
- package/dist/search-field-BR4gETPP.js +2 -0
- package/dist/search-field-BR4gETPP.js.map +1 -0
- package/dist/search-field-DyBcoB9g.mjs +186 -0
- package/dist/search-field-DyBcoB9g.mjs.map +1 -0
- package/dist/search-field.cjs.js +1 -1
- package/dist/search-field.es.js +1 -1
- package/dist/{stepper-D59T-Y2_.mjs → stepper-CGBjyjVw.mjs} +2 -2
- package/dist/{stepper-D59T-Y2_.mjs.map → stepper-CGBjyjVw.mjs.map} +1 -1
- package/dist/{stepper-Dao4XaDV.js → stepper-CbcFVE3v.js} +2 -2
- package/dist/{stepper-Dao4XaDV.js.map → stepper-CbcFVE3v.js.map} +1 -1
- package/dist/stepper.cjs.js +1 -1
- package/dist/stepper.es.js +1 -1
- package/dist/{table-BkXNxvjW.js → table-CFBK5Gv4.js} +3 -3
- package/dist/{table-BkXNxvjW.js.map → table-CFBK5Gv4.js.map} +1 -1
- package/dist/{table-CY8rjMoR.mjs → table-PdfWMFks.mjs} +8 -8
- package/dist/{table-CY8rjMoR.mjs.map → table-PdfWMFks.mjs.map} +1 -1
- package/dist/table.cjs.js +1 -1
- package/dist/table.es.js +1 -1
- package/dist/{text-area-9RUldq6W.js → text-area-AHqUSmEE.js} +2 -2
- package/dist/{text-area-9RUldq6W.js.map → text-area-AHqUSmEE.js.map} +1 -1
- package/dist/{text-area-C58aZEPa.mjs → text-area-DabB5eo_.mjs} +3 -3
- package/dist/{text-area-C58aZEPa.mjs.map → text-area-DabB5eo_.mjs.map} +1 -1
- package/dist/text-area.cjs.js +1 -1
- package/dist/text-area.es.js +1 -1
- package/dist/{text-spacing-BU0mkEf9.mjs → text-spacing-Bmkv_rmc.mjs} +3 -3
- package/dist/{text-spacing-BU0mkEf9.mjs.map → text-spacing-Bmkv_rmc.mjs.map} +1 -1
- package/dist/{text-spacing-CiGPZHuB.js → text-spacing-CdnbUO6z.js} +2 -2
- package/dist/{text-spacing-CiGPZHuB.js.map → text-spacing-CdnbUO6z.js.map} +1 -1
- package/dist/text-spacing.cjs.js +1 -1
- package/dist/text-spacing.es.js +1 -1
- package/dist/theme.cjs.js +1 -1
- package/dist/theme.es.js +3 -3
- package/dist/tokens/color/variables.css +1 -0
- package/dist/tokens/color/variables.d.ts +1 -0
- package/dist/tokens/color/variables.dark.css +1 -0
- package/dist/tokens/color/variables.dark.d.ts +1 -0
- package/dist/tokens/color/variables.dark.js +1 -0
- package/dist/tokens/color/variables.dark.json +1 -0
- package/dist/tokens/color/variables.dark.scss +1 -0
- package/dist/tokens/color/variables.js +1 -0
- package/dist/tokens/color/variables.json +1 -0
- package/dist/tokens/color/variables.scss +1 -0
- package/dist/tokens.cjs.js +1 -1
- package/dist/tokens.es.js +167 -166
- package/dist/{tooltip-DeP1UsPW.js → tooltip-DRW4N9Z-.js} +2 -2
- package/dist/{tooltip-DeP1UsPW.js.map → tooltip-DRW4N9Z-.js.map} +1 -1
- package/dist/{tooltip-bqdd2lJL.mjs → tooltip-DzY9olpb.mjs} +3 -3
- package/dist/{tooltip-bqdd2lJL.mjs.map → tooltip-DzY9olpb.mjs.map} +1 -1
- package/dist/tooltip.cjs.js +1 -1
- package/dist/tooltip.es.js +1 -1
- package/dist/use-autocomplete.es-CoAeiJiu.mjs +155 -0
- package/dist/use-autocomplete.es-CoAeiJiu.mjs.map +1 -0
- package/dist/use-autocomplete.es-Djt1u2i8.js +2 -0
- package/dist/use-autocomplete.es-Djt1u2i8.js.map +1 -0
- package/dist/useColorScheme-BtOgJUTy.js +2 -0
- package/dist/{useColorScheme-BHhPgv9q.js.map → useColorScheme-BtOgJUTy.js.map} +1 -1
- package/dist/{useColorScheme-B7lGBSe4.mjs → useColorScheme-DXAxJPXW.mjs} +2 -2
- package/dist/{useColorScheme-B7lGBSe4.mjs.map → useColorScheme-DXAxJPXW.mjs.map} +1 -1
- package/dist/useThemePortalContainer-Cs1c-2AI.js +2 -0
- package/dist/{useThemePortalContainer-CUcqV327.js.map → useThemePortalContainer-Cs1c-2AI.js.map} +1 -1
- package/dist/useThemePortalContainer-DeKoE-E_.mjs +9 -0
- package/dist/{useThemePortalContainer-D13Xx24N.mjs.map → useThemePortalContainer-DeKoE-E_.mjs.map} +1 -1
- package/dist/variables-CTBx79yI.js +2 -0
- package/dist/{variables-D1vNo1lO.js.map → variables-CTBx79yI.js.map} +1 -1
- package/dist/variables-Do6SfyT0.mjs +258 -0
- package/dist/{variables-BrsAsWIF.mjs.map → variables-Do6SfyT0.mjs.map} +1 -1
- package/package.json +18 -18
- package/src/library.ts +72 -2
- package/tokens/color/variables.css +1 -0
- package/tokens/color/variables.d.ts +1 -0
- package/tokens/color/variables.dark.css +1 -0
- package/tokens/color/variables.dark.d.ts +1 -0
- package/tokens/color/variables.dark.js +1 -0
- package/tokens/color/variables.dark.json +1 -0
- package/tokens/color/variables.dark.scss +1 -0
- package/tokens/color/variables.js +1 -0
- package/tokens/color/variables.json +1 -0
- package/tokens/color/variables.scss +1 -0
- package/dist/countdown-5Ni6OlVY.mjs +0 -189
- package/dist/countdown-5Ni6OlVY.mjs.map +0 -1
- package/dist/countdown-CGXJyzB2.js +0 -2
- package/dist/countdown-CGXJyzB2.js.map +0 -1
- package/dist/date-field-CtpWDaSh.js +0 -2
- package/dist/date-range-field-B33XeBW8.js +0 -2
- package/dist/date-range-field-B33XeBW8.js.map +0 -1
- package/dist/date-range-field-BmjQeiOv.mjs.map +0 -1
- package/dist/dismissable-chip-group-5ALErhD2.js +0 -2
- package/dist/dismissable-chip-group-5ALErhD2.js.map +0 -1
- package/dist/dismissable-chip-group-DMNU7g5e.mjs +0 -94
- package/dist/dismissable-chip-group-DMNU7g5e.mjs.map +0 -1
- package/dist/dropdown-DJr5COdU.mjs +0 -945
- package/dist/dropdown-DJr5COdU.mjs.map +0 -1
- package/dist/dropdown-s8FhNU5N.js +0 -2
- package/dist/dropdown-s8FhNU5N.js.map +0 -1
- package/dist/search-field-BTJtRyw5.mjs +0 -184
- package/dist/search-field-BTJtRyw5.mjs.map +0 -1
- package/dist/search-field-nzVXak1a.js +0 -2
- package/dist/search-field-nzVXak1a.js.map +0 -1
- package/dist/use-autocomplete.es-BwAzMcau.js +0 -2
- package/dist/use-autocomplete.es-BwAzMcau.js.map +0 -1
- package/dist/use-autocomplete.es-CKb0RHKG.mjs +0 -144
- package/dist/use-autocomplete.es-CKb0RHKG.mjs.map +0 -1
- package/dist/useColorScheme-BHhPgv9q.js +0 -2
- package/dist/useThemePortalContainer-CUcqV327.js +0 -2
- package/dist/useThemePortalContainer-D13Xx24N.mjs +0 -9
- package/dist/variables-BrsAsWIF.mjs +0 -257
- package/dist/variables-D1vNo1lO.js +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ActionProps } from '../../../libraries/action/src/action';
|
|
3
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { ActionProps } from '../../../libraries/action/src/action.tsx';
|
|
3
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
4
4
|
export declare const ctaLinkIcons: readonly ["forward", "external", "back", "phone"];
|
|
5
5
|
export type CtaLinkIcon = (typeof ctaLinkIcons)[number];
|
|
6
6
|
type CtaLinkBaseProps = {
|
|
@@ -18,8 +18,8 @@ export declare const CtaLink: React.ForwardRefExoticComponent<(Omit<CtaLinkBaseP
|
|
|
18
18
|
className?: string;
|
|
19
19
|
fullWidth?: boolean;
|
|
20
20
|
negative?: boolean;
|
|
21
|
-
size?: import('../../../libraries/action/src/action').Size;
|
|
22
|
-
variant: import('../../../libraries/action/src/action').Variant;
|
|
21
|
+
size?: import('../../../libraries/action/src/action.tsx').Size;
|
|
22
|
+
variant: import('../../../libraries/action/src/action.tsx').Variant;
|
|
23
23
|
} & {
|
|
24
24
|
iconOnly: true;
|
|
25
25
|
"aria-label": string;
|
|
@@ -33,8 +33,8 @@ export declare const CtaLink: React.ForwardRefExoticComponent<(Omit<CtaLinkBaseP
|
|
|
33
33
|
className?: string;
|
|
34
34
|
fullWidth?: boolean;
|
|
35
35
|
negative?: boolean;
|
|
36
|
-
size?: import('../../../libraries/action/src/action').Size;
|
|
37
|
-
variant: import('../../../libraries/action/src/action').Variant;
|
|
36
|
+
size?: import('../../../libraries/action/src/action.tsx').Size;
|
|
37
|
+
variant: import('../../../libraries/action/src/action.tsx').Variant;
|
|
38
38
|
} & {
|
|
39
39
|
iconOnly?: false;
|
|
40
40
|
"aria-label"?: string;
|
|
@@ -48,8 +48,8 @@ export declare const CtaLink: React.ForwardRefExoticComponent<(Omit<CtaLinkBaseP
|
|
|
48
48
|
className?: string;
|
|
49
49
|
fullWidth?: boolean;
|
|
50
50
|
negative?: boolean;
|
|
51
|
-
size?: import('../../../libraries/action/src/action').Size;
|
|
52
|
-
variant: import('../../../libraries/action/src/action').Variant;
|
|
51
|
+
size?: import('../../../libraries/action/src/action.tsx').Size;
|
|
52
|
+
variant: import('../../../libraries/action/src/action.tsx').Variant;
|
|
53
53
|
} & {
|
|
54
54
|
iconOnly: true;
|
|
55
55
|
"aria-label": string;
|
|
@@ -61,8 +61,8 @@ export declare const CtaLink: React.ForwardRefExoticComponent<(Omit<CtaLinkBaseP
|
|
|
61
61
|
className?: string;
|
|
62
62
|
fullWidth?: boolean;
|
|
63
63
|
negative?: boolean;
|
|
64
|
-
size?: import('../../../libraries/action/src/action').Size;
|
|
65
|
-
variant: import('../../../libraries/action/src/action').Variant;
|
|
64
|
+
size?: import('../../../libraries/action/src/action.tsx').Size;
|
|
65
|
+
variant: import('../../../libraries/action/src/action.tsx').Variant;
|
|
66
66
|
} & {
|
|
67
67
|
iconOnly?: false;
|
|
68
68
|
"aria-label"?: string;
|
|
@@ -1,18 +1,26 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { TextFieldProps } from '../../text-field/src/text-field.tsx';
|
|
3
|
+
import { DateChars, DateFieldFormat } from './utils';
|
|
3
4
|
type DateFieldPropsTemp = Omit<TextFieldProps, "type" | "value" | "onChange" | "clearButtonAriaLabel" | "clearButtonLabel" | "onClear">;
|
|
4
|
-
export type DateChars
|
|
5
|
-
yearChar: string;
|
|
6
|
-
monthChar: string;
|
|
7
|
-
dayChar: string;
|
|
8
|
-
};
|
|
5
|
+
export type { DateChars, DateFieldFormat } from './utils';
|
|
9
6
|
export type DateFieldProps = DateFieldPropsTemp & {
|
|
10
7
|
["data-testid"]?: string;
|
|
11
8
|
formatLabel: string;
|
|
9
|
+
/** Placeholder characters. Pairs with `format`, which sets the order. */
|
|
12
10
|
dateChars?: DateChars;
|
|
11
|
+
/**
|
|
12
|
+
* Field order and separator, as `YYYY`, `MM` and `DD` joined by a separator,
|
|
13
|
+
* e.g. `DD.MM.YYYY`. Each part once, one separator throughout. Drives the
|
|
14
|
+
* mask, the placeholder and the parsed value. An unusable format falls back
|
|
15
|
+
* to `YYYY-MM-DD`.
|
|
16
|
+
*/
|
|
17
|
+
format?: DateFieldFormat;
|
|
18
|
+
/** Shown when the field holds a complete but impossible date, e.g. `99.99.2026`. */
|
|
19
|
+
invalidDateErrorText?: string;
|
|
20
|
+
/** Called when the input changes between a usable date and incomplete or invalid text. */
|
|
21
|
+
onInputValidityChange?: (isValid: boolean) => void;
|
|
13
22
|
value?: Date | undefined;
|
|
14
23
|
onChange?: (date: Date | undefined) => void;
|
|
15
24
|
};
|
|
16
25
|
export declare const DateField: React.ForwardRefExoticComponent<Omit<DateFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
17
|
-
export {};
|
|
18
26
|
//# sourceMappingURL=date-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-field.d.ts","sourceRoot":"","sources":["../../../../../../components/date-field/src/date-field.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"date-field.d.ts","sourceRoot":"","sources":["../../../../../../components/date-field/src/date-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KASN,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAKpE,OAAO,2BAA2B,CAAC;AAEnC,OAAO,EACL,KAAK,SAAS,EACd,KAAK,eAAe,EAYrB,MAAM,SAAS,CAAC;AAIjB,KAAK,kBAAkB,GAAG,IAAI,CAC5B,cAAc,EACd,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,sBAAsB,GAAG,kBAAkB,GAAG,SAAS,CACxF,CAAC;AAEF,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1D,MAAM,MAAM,cAAc,GAAG,kBAAkB,GAAG;IAChD,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,yEAAyE;IACzE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,oFAAoF;IACpF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,0FAA0F;IAC1F,qBAAqB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACnD,KAAK,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;CAC7C,CAAC;AAIF,eAAO,MAAM,SAAS,sGAsNrB,CAAC"}
|
|
@@ -1,4 +1,42 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
1
|
+
export type DateChars = {
|
|
2
|
+
yearChar: string;
|
|
3
|
+
monthChar: string;
|
|
4
|
+
dayChar: string;
|
|
5
|
+
};
|
|
6
|
+
type DateToken = "YYYY" | "MM" | "DD";
|
|
7
|
+
/** `YYYY`, `MM` and `DD` in any order, joined by any non-alphanumeric separator. */
|
|
8
|
+
export type DateFieldFormat = `${DateToken}${string}${DateToken}${string}${DateToken}`;
|
|
9
|
+
type DatePart = "year" | "month" | "day";
|
|
10
|
+
export type DateFormatSpec = {
|
|
11
|
+
/** Field order, left to right. */
|
|
12
|
+
parts: DatePart[];
|
|
13
|
+
separator: string;
|
|
14
|
+
/** date-fns pattern used to parse and serialize the value. */
|
|
15
|
+
pattern: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const DEFAULT_DATE_FORMAT: DateFieldFormat;
|
|
18
|
+
export declare const DEFAULT_DATE_CHARS: DateChars;
|
|
19
|
+
export declare const DEFAULT_DATE_FORMAT_SPEC: DateFormatSpec;
|
|
20
|
+
export declare const parseToDate: (date: string, pattern: string) => Date;
|
|
21
|
+
export declare const parseToString: (date: Date | undefined, pattern: string) => string;
|
|
22
|
+
/**
|
|
23
|
+
* Turn a format such as "DD.MM.YYYY" into the spec driving the mask, the
|
|
24
|
+
* placeholder and the parse and serialize patterns. Undefined when the format
|
|
25
|
+
* is not three distinct parts joined by one separator.
|
|
26
|
+
*/
|
|
27
|
+
export declare const parseDateFormat: (format: string) => DateFormatSpec | undefined;
|
|
28
|
+
/** Length of a complete date in the given format, separators included. */
|
|
29
|
+
export declare const toDateFormatLength: (spec: DateFormatSpec) => number;
|
|
30
|
+
export declare const toDateFormatPlaceholder: (spec: DateFormatSpec, dateChars?: DateChars) => string;
|
|
31
|
+
/** Place the separators of the given format between the typed digits. */
|
|
32
|
+
export declare const toMaskedValue: (digits: string, spec: DateFormatSpec) => string;
|
|
33
|
+
/**
|
|
34
|
+
* Pad single-digit day and month groups the user typed a separator after, so
|
|
35
|
+
* "1.8.2026" becomes "01.08.2026". The group still being typed is left alone.
|
|
36
|
+
*/
|
|
37
|
+
export declare const toPaddedDigits: (value: string, spec: DateFormatSpec) => string;
|
|
38
|
+
/** Convert a raw digit index back to a cursor position in the formatted value. */
|
|
39
|
+
export declare const rawToFormattedCursor: (rawPos: number, formattedValue: string, spec: DateFormatSpec) => number;
|
|
3
40
|
export declare const mergeRefs: <T>(...inputRefs: (React.Ref<T> | undefined)[]) => React.Ref<T> | React.RefCallback<T>;
|
|
41
|
+
export {};
|
|
4
42
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../components/date-field/src/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../components/date-field/src/utils.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,SAAS,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;AAEtC,oFAAoF;AACpF,MAAM,MAAM,eAAe,GAAG,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,EAAE,CAAC;AAEvF,KAAK,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;AAEzC,MAAM,MAAM,cAAc,GAAG;IAC3B,kCAAkC;IAClC,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,eAA8B,CAAC;AAEjE,eAAO,MAAM,kBAAkB,EAAE,SAIhC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,cAItC,CAAC;AAcF,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,EAAE,SAAS,MAAM,SAExD,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,MAAM,IAAI,GAAG,SAAS,EAAE,SAAS,MAAM,WAEpE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,QAAQ,MAAM,KAAG,cAAc,GAAG,SAcjE,CAAC;AAEF,0EAA0E;AAC1E,eAAO,MAAM,kBAAkB,GAAI,MAAM,cAAc,KAAG,MAC8B,CAAC;AAEzF,eAAO,MAAM,uBAAuB,GAAI,MAAM,cAAc,EAAE,YAAY,SAAS,KAAG,MAMrF,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM,EAAE,MAAM,cAAc,KAAG,MAYpE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,EAAE,MAAM,cAAc,KAAG,MAUpE,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,oBAAoB,GAC/B,QAAQ,MAAM,EACd,gBAAgB,MAAM,EACtB,MAAM,cAAc,KACnB,MAYF,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,CAAC,EACzB,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,EAAE,KACzC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,CAiBpC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as React, ComponentProps } from 'react';
|
|
2
|
-
import { CalendarProps } from '../../calendar/src/calendar';
|
|
3
|
-
import { DateFieldProps } from '../../date-field/src/date-field';
|
|
4
|
-
import { DateRangeFieldProps } from '../../date-range-field/src/date-range-field';
|
|
5
|
-
import { Drawer } from '../../drawer/src/drawer';
|
|
2
|
+
import { CalendarProps } from '../../calendar/src/calendar.tsx';
|
|
3
|
+
import { DateFieldProps } from '../../date-field/src/date-field.tsx';
|
|
4
|
+
import { DateRangeFieldProps } from '../../date-range-field/src/date-range-field.tsx';
|
|
5
|
+
import { Drawer } from '../../drawer/src/drawer.tsx';
|
|
6
6
|
type CommonDatePickerProps = {
|
|
7
7
|
calendarProps?: CalendarProps;
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { DateFieldProps } from '../../date-field/src/date-field
|
|
3
|
-
type IndividualFieldProps = Omit<DateFieldProps, "value" | "onChange" | "disabled" | "readOnly" | "required" | "negative" | "formatLabel" | "dateChars" | "aria-labelledby" | "aria-describedby" | "data-testid" | "startAdornment" | "className" | "ref">;
|
|
2
|
+
import { DateFieldProps } from '../../date-field/src/date-field';
|
|
3
|
+
type IndividualFieldProps = Omit<DateFieldProps, "value" | "onChange" | "disabled" | "readOnly" | "required" | "negative" | "formatLabel" | "dateChars" | "format" | "aria-labelledby" | "aria-describedby" | "data-testid" | "startAdornment" | "className" | "ref">;
|
|
4
4
|
export type DateRangeFieldProps = {
|
|
5
5
|
label?: string;
|
|
6
6
|
fromLabel: string;
|
|
@@ -9,6 +9,8 @@ export type DateRangeFieldProps = {
|
|
|
9
9
|
errorText?: string;
|
|
10
10
|
formatLabel: string;
|
|
11
11
|
dateChars?: DateFieldProps["dateChars"];
|
|
12
|
+
/** Field order and separator of both fields, e.g. `DD.MM.YYYY`. Defaults to `YYYY-MM-DD`. */
|
|
13
|
+
format?: DateFieldProps["format"];
|
|
12
14
|
disabled?: boolean;
|
|
13
15
|
readOnly?: boolean;
|
|
14
16
|
required?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-range-field.d.ts","sourceRoot":"","sources":["../../../../../../components/date-range-field/src/date-range-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAC5E,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAQpE,OAAO,2BAA2B,CAAC;AACnC,OAAO,iCAAiC,CAAC;AACzC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,qBAAqB,CAAC;AAC7B,OAAO,sBAAsB,CAAC;AAM9B,KAAK,oBAAoB,GAAG,IAAI,CAC9B,cAAc,EACZ,OAAO,GACP,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,aAAa,GACb,WAAW,GACX,iBAAiB,GACjB,kBAAkB,GAClB,aAAa,GACb,gBAAgB,GAChB,WAAW,GACX,KAAK,CACR,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAChD,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAE9C,cAAc,CAAC,EAAE,oBAAoB,CAAC;IACtC,YAAY,CAAC,EAAE,oBAAoB,CAAC;IAEpC,YAAY,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAC3C,UAAU,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAEzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"date-range-field.d.ts","sourceRoot":"","sources":["../../../../../../components/date-range-field/src/date-range-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuD,MAAM,OAAO,CAAC;AA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AAC;IAEpC,YAAY,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAC3C,UAAU,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAEzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,CAAC,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,cAAc,iGA8I1B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
3
|
-
import { HeadingTagType } from '../../heading/src/heading
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
|
+
import { HeadingTagType } from '../../heading/src/heading';
|
|
4
4
|
export declare const sizes: readonly ["sm", "md"];
|
|
5
5
|
export declare const DEFAULT_SIZE: "md";
|
|
6
6
|
export type Size = (typeof sizes)[number];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
3
|
import { DrawerVariant } from './types';
|
|
4
4
|
export type DrawerContainerProps = Omit<BaseProps, "children"> & {
|
|
5
5
|
children: ReactNode;
|
|
@@ -8,4 +8,4 @@ export type DrawerContainerProps = Omit<BaseProps, "children"> & {
|
|
|
8
8
|
variant?: "header" | "body" | "footer";
|
|
9
9
|
};
|
|
10
10
|
export declare const DrawerContainer: React.ForwardRefExoticComponent<Omit<DrawerContainerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
//# sourceMappingURL=drawer-container.d.ts.
|
|
11
|
+
//# sourceMappingURL=drawer-container.d.ts.mapmap
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
3
|
import { DrawerVariant } from './types';
|
|
4
4
|
export type DrawerScrollAreaProps = Omit<BaseProps, "children"> & {
|
|
5
5
|
children: ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
export type DrawerTriggerProps = Omit<BaseProps<"button">, "children"> & {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
};
|
|
6
6
|
export declare const DrawerTrigger: React.ForwardRefExoticComponent<Omit<DrawerTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
//# sourceMappingURL=drawer-trigger.d.ts.
|
|
7
|
+
//# sourceMappingURL=drawer-trigger.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
import { DrawerContent } from './drawer-content';
|
|
4
4
|
import { DrawerTrigger } from './drawer-trigger';
|
|
5
5
|
import { DrawerVariant } from './types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-combobox.d.ts","sourceRoot":"","sources":["../../../../../../components/dropdown/src/dropdown-combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"dropdown-combobox.d.ts","sourceRoot":"","sources":["../../../../../../components/dropdown/src/dropdown-combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAKjD,OAAO,KAAK,EAAE,qBAAqB,EAAkB,MAAM,kBAAkB,CAAC;AAgB9E,eAAO,MAAM,gBAAgB,8FAwU3B,CAAC"}
|
|
@@ -59,7 +59,9 @@ type DropdownListboxItemsProps = {
|
|
|
59
59
|
noOptionsText?: React.ReactNode;
|
|
60
60
|
selectAllLabel?: string;
|
|
61
61
|
selectedItems?: DropdownOption[];
|
|
62
|
+
/** Renders an option's label. Defaults to the raw `option.label`. */
|
|
63
|
+
renderLabel?: (option: DropdownOption) => React.ReactNode;
|
|
62
64
|
};
|
|
63
|
-
export declare const DropdownListboxItems: ({ optionsToShow, getListboxItemProps, multiple, negative, fieldId, noOptionsText, selectAllLabel, selectedItems, }: DropdownListboxItemsProps) => React.JSX.Element | React.JSX.Element[];
|
|
65
|
+
export declare const DropdownListboxItems: ({ optionsToShow, getListboxItemProps, multiple, negative, fieldId, noOptionsText, selectAllLabel, selectedItems, renderLabel, }: DropdownListboxItemsProps) => React.JSX.Element | React.JSX.Element[];
|
|
64
66
|
export { cx };
|
|
65
67
|
//# sourceMappingURL=dropdown-shared.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-shared.d.ts","sourceRoot":"","sources":["../../../../../../components/dropdown/src/dropdown-shared.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGvD,QAAA,MAAM,EAAE,yDAAiB,CAAC;AAC1B,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAE/C,KAAK,SAAS,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;AAEtD,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAA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C;CACjC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,uDAKjC,uBAAuB,KAAG,OAU5B,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,aAAa,EAAE,cAAc,EAAE,CAAC;IAChC,mBAAmB,EAAE,CAAC,MAAM,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,cAAc,EAAE,CAAC;IACjC,qEAAqE;IACrE,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,KAAK,CAAC,SAAS,CAAC;CAC3D,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,iIAUlC,yBAAyB,4CAmF3B,CAAC;AAEF,OAAO,EAAE,EAAE,EAAE,CAAC"}
|
|
@@ -78,6 +78,7 @@ type DropdownSelectSharedProps = {
|
|
|
78
78
|
defaultInputValue?: never;
|
|
79
79
|
noOptionsText?: never;
|
|
80
80
|
highlightFirstOption?: never;
|
|
81
|
+
formatOption?: never;
|
|
81
82
|
};
|
|
82
83
|
type DropdownComboboxSharedProps = {
|
|
83
84
|
combobox: true;
|
|
@@ -104,6 +105,8 @@ type DropdownComboboxSharedProps = {
|
|
|
104
105
|
openOnFocus?: boolean;
|
|
105
106
|
/** Maximum height of the listbox popup. */
|
|
106
107
|
listboxMaxHeight?: string | number;
|
|
108
|
+
/** Custom renderer for an option's label in the listbox, given the current input value. Defaults to bolding the matched text. */
|
|
109
|
+
formatOption?: (option: DropdownOption, inputValue: string) => React.ReactNode;
|
|
107
110
|
};
|
|
108
111
|
export type DropdownSelectProps = (DropdownMultipleProps & DropdownSelectSharedProps) | (DropdownSingleProps & DropdownSelectSharedProps);
|
|
109
112
|
export type DropdownComboboxProps = (DropdownMultipleProps & DropdownComboboxSharedProps) | (DropdownSingleProps & DropdownComboboxSharedProps);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.types.d.ts","sourceRoot":"","sources":["../../../../../../components/dropdown/src/dropdown.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;;OAKG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,iGAAiG;AACjG,eAAO,MAAM,kBAAkB,GAAI,QAAQ,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,OAAO,CAAC,KAAG,MACf,CAAC;AAEvE,uCAAuC;AACvC,KAAK,iBAAiB,GAAG;IACvB,oDAAoD;IACpD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yBAAyB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;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38
|
};
|
|
39
39
|
export declare const useDropdown: ({ id, variant, options, listboxLabel, multiple, selectedOption, selectedOptions, onSelect, filterOption, inputValue: controlledInputValue, defaultInputValue, onInputChange, noOptionsText, highlightFirstOption, openOnFocus, listboxMaxHeight, negative, disabled, readOnly, ["data-testid"]: dataTestId, }: UseDropdownParams) => UseDropdownReturn;
|
|
40
|
-
//# sourceMappingURL=useDropdown.d.ts.map
|
|
40
|
+
//# sourceMappingURL=useDropdown.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, AnchorHTMLAttributes, ForwardRefExoticComponent } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
3
|
export type FooterNavigationItemLink = Omit<BaseProps<"a">, "href"> & {
|
|
4
4
|
text: string;
|
|
5
5
|
href: string;
|
|
@@ -16,4 +16,4 @@ type FooterNavigationProps = {
|
|
|
16
16
|
};
|
|
17
17
|
export declare const FooterNavigation: ({ navigationLinks, sectionProps, customLink, }: FooterNavigationProps) => React.JSX.Element;
|
|
18
18
|
export {};
|
|
19
|
-
//# sourceMappingURL=footer-navigation.d.ts.
|
|
19
|
+
//# sourceMappingURL=footer-navigation.d.ts.mapmap
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
3
|
-
import { IconProps } from '
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
|
+
import { IconProps } from '../../../icon/icon';
|
|
4
4
|
export type FooterSocialLinkProps = Omit<BaseProps<"a">, "aria-label" | "href" | "children"> & {
|
|
5
5
|
"aria-label": string;
|
|
6
6
|
icon: IconProps["svg"];
|
|
7
7
|
href: string;
|
|
8
8
|
};
|
|
9
9
|
export declare const FooterSocialLink: ({ icon, href, ...props }: FooterSocialLinkProps) => React.JSX.Element;
|
|
10
|
-
//# sourceMappingURL=footer-social-link.d.ts.
|
|
10
|
+
//# sourceMappingURL=footer-social-link.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
import { Item } from './grid.item';
|
|
4
4
|
export type GridProps = Omit<BaseProps, "children"> & {
|
|
5
5
|
children: ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
export type ItemProps = Omit<BaseProps, "children"> & {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
/** The number of columns that the item spans on small screens. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
3
|
export declare const HeadingTag: {
|
|
4
4
|
readonly H1: "h1";
|
|
5
5
|
readonly H2: "h2";
|
|
@@ -6,4 +6,4 @@ export type LabelProps = Omit<BaseProps<"label">, "children"> & {
|
|
|
6
6
|
negative?: boolean;
|
|
7
7
|
};
|
|
8
8
|
export declare const Label: ({ children, className, disabled, negative, ...props }: LabelProps) => React.JSX.Element;
|
|
9
|
-
//# sourceMappingURL=label.d.ts.
|
|
9
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ComponentProps, HTMLAttributeAnchorTarget, MouseEventHandler, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
3
|
export declare const LINK_VARIANT: {
|
|
4
4
|
readonly TEXT: "text";
|
|
5
5
|
readonly STANDALONE: "standalone";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, AriaAttributes, AriaRole } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
3
|
export type LoadingIllustrativeVariant = "man" | "woman";
|
|
4
4
|
export type LoadingIllustrativeProps = BaseProps<"div"> & {
|
|
5
5
|
className?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
1
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
2
|
export type LogoBaseProps = Omit<BaseProps<"span">, "children" | "color"> & {
|
|
3
3
|
/**
|
|
4
4
|
* Color variant of the logo.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
3
|
export type DefaultProps = Omit<BaseProps, "children"> & {
|
|
4
4
|
/**
|
|
5
5
|
* One or several CTA links or buttons
|
|
@@ -177,4 +177,4 @@ export declare const ModalContent: React.ForwardRefExoticComponent<(Omit<Omit<Re
|
|
|
177
177
|
export declare const MAX_NUMBER_OF_ACTIONS = 3;
|
|
178
178
|
export declare const ModalActions: ({ actions, notification, }: Pick<ModalContentProps, "actions" | "notification">) => React.JSX.Element | null;
|
|
179
179
|
export {};
|
|
180
|
-
//# sourceMappingURL=modal-content.d.ts.
|
|
180
|
+
//# sourceMappingURL=modal-content.d.ts.mapmap
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
3
|
export type ModalTriggerProps = Omit<BaseProps<"button">, "children"> & {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
};
|
|
6
6
|
export declare const ModalTrigger: React.ForwardRefExoticComponent<Omit<ModalTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
//# sourceMappingURL=modal-trigger.d.ts.
|
|
7
|
+
//# sourceMappingURL=modal-trigger.d.ts.mapmap
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
|
-
import { HeadingTagType } from '../../heading/src/heading';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
|
+
import { HeadingTagType } from '../../heading/src/heading.tsx';
|
|
4
4
|
export declare const NOTIFICATION_STATUS: {
|
|
5
5
|
readonly SUCCESS: "success";
|
|
6
6
|
readonly WARNING: "warning";
|
|
@@ -31,4 +31,4 @@ export declare const PaginationPageSelector: React.ForwardRefExoticComponent<(Om
|
|
|
31
31
|
pageSelectorId?: string;
|
|
32
32
|
pageSelectorLabel: string;
|
|
33
33
|
} & InternalNoLinkProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
-
//# sourceMappingURL=pagination-page-selector.d.ts.
|
|
34
|
+
//# sourceMappingURL=pagination-page-selector.d.ts.mapmap
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
import { LinkProps, NoLinkProps } from './types';
|
|
4
4
|
export type PaginationPageSizeSelectorProps = Omit<BaseProps, "children"> & {
|
|
5
5
|
availablePageSizes: number[];
|
|
@@ -22,4 +22,4 @@ export declare const PaginationPageSizeSelector: React.ForwardRefExoticComponent
|
|
|
22
22
|
pageSize: number;
|
|
23
23
|
pageSizeLabel: string;
|
|
24
24
|
} & Omit<NoLinkProps, "onPageChange">, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
-
//# sourceMappingURL=pagination-page-size-selector.d.ts.
|
|
25
|
+
//# sourceMappingURL=pagination-page-size-selector.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
import { InternalLinkProps, InternalNoLinkProps, Link } from './types';
|
|
4
4
|
export type PaginationPagesProps = Omit<BaseProps<"ol">, "children"> & {
|
|
5
5
|
linkElement: Link;
|
|
@@ -28,4 +28,4 @@ export declare const PaginationStepTrigger: React.ForwardRefExoticComponent<(Omi
|
|
|
28
28
|
pageToNavigateTo: number;
|
|
29
29
|
isIconOnly: boolean;
|
|
30
30
|
} & InternalNoLinkProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
-
//# sourceMappingURL=pagination-step-trigger.d.ts.
|
|
31
|
+
//# sourceMappingURL=pagination-step-trigger.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SelectOption } from '../../select/src/select
|
|
1
|
+
import { SelectOption } from '../../select/src/select';
|
|
2
2
|
type UsePageSizeOptionsHook = {
|
|
3
3
|
options: SelectOption[];
|
|
4
4
|
};
|
|
5
5
|
export declare const usePageSizeOptions: (availablePageSizes: number[]) => UsePageSizeOptionsHook;
|
|
6
6
|
export {};
|
|
7
|
-
//# sourceMappingURL=use-page-size-options.hook.d.ts.map
|
|
7
|
+
//# sourceMappingURL=use-page-size-options.hook.d.ts.map.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ChangeEvent, ReactElement, ReactNode, ReactPortal } from 'react';
|
|
2
|
-
import { TextFieldProps } from '../../text-field/src/text-field';
|
|
2
|
+
import { TextFieldProps } from '../../text-field/src/text-field.tsx';
|
|
3
3
|
import { PasswordStrength } from './password-strength';
|
|
4
4
|
export type PasswordFieldDefaultProps = {
|
|
5
5
|
["data-testid"]?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
3
|
import { PasswordStrengthValue } from './types';
|
|
4
4
|
export type PasswordStrengthIndicatorProps = Omit<BaseProps, "children"> & {
|
|
5
5
|
active: boolean;
|
|
6
6
|
passwordStrength?: PasswordStrengthValue;
|
|
7
7
|
};
|
|
8
8
|
export declare const PasswordStrengthIndicator: React.ForwardRefExoticComponent<Omit<PasswordStrengthIndicatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
//# sourceMappingURL=password-strength-indicator.d.ts.
|
|
9
|
+
//# sourceMappingURL=password-strength-indicator.d.ts.mapmap
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { ButtonProps } from '../../button/src/button
|
|
2
|
+
import { ButtonProps } from '../../button/src/button';
|
|
3
3
|
import * as RadixPopover from "@radix-ui/react-popover";
|
|
4
4
|
export type PopoverButtonProps = RadixPopover.PopoverCloseProps & {
|
|
5
5
|
/**
|
|
@@ -34,4 +34,4 @@ export declare const PopoverButton: {
|
|
|
34
34
|
({ children, asChild, onClick, variant, dismiss, fullWidth, }: PopoverButtonProps): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | React.JSX.Element | null | undefined;
|
|
35
35
|
displayName: string;
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=popover-button.d.ts.map
|
|
37
|
+
//# sourceMappingURL=popover-button.d.ts.map.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode, Ref } from 'react';
|
|
2
|
-
import { HeadingTagType } from '../../heading/src/heading';
|
|
2
|
+
import { HeadingTagType } from '../../heading/src/heading.tsx';
|
|
3
3
|
import { RadioCardGroupOrientation, RadioPosition } from './radio-card-group.constants';
|
|
4
4
|
import { RadioCardItemProps } from './radio-card-item';
|
|
5
5
|
export type RadioCardGroupItem = RadioCardItemProps & {
|
|
@@ -142,4 +142,4 @@ export declare const RadioCardGroup: React.ForwardRefExoticComponent<StylingProp
|
|
|
142
142
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
143
143
|
export type { RadioCardItemProps } from './radio-card-item';
|
|
144
144
|
export { RadioCardItem } from './radio-card-item';
|
|
145
|
-
//# sourceMappingURL=radio-card-group.d.ts.map
|
|
145
|
+
//# sourceMappingURL=radio-card-group.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
3
|
import { RadioCardImageProps } from './radio-card-item-image';
|
|
4
4
|
type CustomElement = ((props: {
|
|
5
5
|
disabled?: boolean;
|
|
@@ -21,10 +21,11 @@ export declare const SearchFieldAutocomplete: React.ForwardRefExoticComponent<(O
|
|
|
21
21
|
iconOnlySearchButton?: false;
|
|
22
22
|
searchButtonLabel: string;
|
|
23
23
|
variant: "button-attached";
|
|
24
|
-
} & Omit<import('../../text-field/src/text-field
|
|
24
|
+
} & Omit<import('../../text-field/src/text-field').TextFieldProps, "onChange" | "variant" | "afterField" | "endAdornment" | "startAdornment"> & {
|
|
25
25
|
onSelectSuggestion?: (option: AutocompleteOption) => void;
|
|
26
26
|
openSuggestionsOnFocus?: boolean;
|
|
27
27
|
suggestionsMaxHeight?: string | number;
|
|
28
|
+
formatOption?: (option: AutocompleteOption, inputValue: string) => React.ReactNode;
|
|
28
29
|
} & {
|
|
29
30
|
suggestions: AutocompleteOption[];
|
|
30
31
|
suggestionsLabel: string;
|
|
@@ -45,10 +46,11 @@ export declare const SearchFieldAutocomplete: React.ForwardRefExoticComponent<(O
|
|
|
45
46
|
iconOnlySearchButton: true;
|
|
46
47
|
searchButtonLabel: string;
|
|
47
48
|
variant: "button-attached";
|
|
48
|
-
} & Omit<import('../../text-field/src/text-field
|
|
49
|
+
} & Omit<import('../../text-field/src/text-field').TextFieldProps, "onChange" | "variant" | "afterField" | "endAdornment" | "startAdornment"> & {
|
|
49
50
|
onSelectSuggestion?: (option: AutocompleteOption) => void;
|
|
50
51
|
openSuggestionsOnFocus?: boolean;
|
|
51
52
|
suggestionsMaxHeight?: string | number;
|
|
53
|
+
formatOption?: (option: AutocompleteOption, inputValue: string) => React.ReactNode;
|
|
52
54
|
} & {
|
|
53
55
|
suggestions: AutocompleteOption[];
|
|
54
56
|
suggestionsLabel: string;
|
|
@@ -68,12 +70,13 @@ export declare const SearchFieldAutocomplete: React.ForwardRefExoticComponent<(O
|
|
|
68
70
|
} & {
|
|
69
71
|
searchButtonLabel?: never;
|
|
70
72
|
variant: "no-button";
|
|
71
|
-
} & Omit<import('../../text-field/src/text-field
|
|
73
|
+
} & Omit<import('../../text-field/src/text-field').TextFieldProps, "onChange" | "variant" | "afterField" | "endAdornment" | "startAdornment"> & {
|
|
72
74
|
onSelectSuggestion?: (option: AutocompleteOption) => void;
|
|
73
75
|
openSuggestionsOnFocus?: boolean;
|
|
74
76
|
suggestionsMaxHeight?: string | number;
|
|
77
|
+
formatOption?: (option: AutocompleteOption, inputValue: string) => React.ReactNode;
|
|
75
78
|
} & {
|
|
76
79
|
suggestions: AutocompleteOption[];
|
|
77
80
|
suggestionsLabel: string;
|
|
78
81
|
}, "ref">) & React.RefAttributes<HTMLInputElement>>;
|
|
79
|
-
//# sourceMappingURL=search-field-autocomplete.d.ts.map
|
|
82
|
+
//# sourceMappingURL=search-field-autocomplete.d.ts.mapete.d.ts.map
|