@mcp-b/web-components 0.3.12 → 0.4.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/dist/{accordion-B1Q3kuP_.d.ts → accordion-BapL3z4o.d.ts} +1 -2
- package/dist/{accordion-C0iq5HFu.js → accordion-Dx02tZQ4.js} +2 -2
- package/dist/{accordion-item-bPRIahNn.d.ts → accordion-item-BlrfKEBl.d.ts} +1 -1
- package/dist/{accordion-item-pRZLJCt2.js → accordion-item-eF_QB30m.js} +2 -2
- package/dist/{action-bar-CjN_UcnP.js → action-bar-BItF1Qqv.js} +1 -1
- package/dist/{action-bar-CYsjmhwP.d.ts → action-bar-DemEbOQK.d.ts} +0 -1
- package/dist/{alert-dialog-4CnO3Nb5.d.ts → alert-dialog-CIg9ZIH_.d.ts} +0 -1
- package/dist/{alert-dialog-CGUwj_0U.js → alert-dialog-UxQjrBnX.js} +2 -2
- package/dist/{avatar-DAnSybDZ.js → avatar-B48k3LiT.js} +22 -20
- package/dist/{avatar-Bje_KpZo.d.ts → avatar-C83C4w4P.d.ts} +1 -1
- package/dist/{badge-D1DNQrWn.d.ts → badge-CC9f_O8k.d.ts} +0 -1
- package/dist/{badge-Ct95U4UO.js → badge-iAZqY01j.js} +1 -1
- package/dist/{breadcrumb-BxZ-nQE5.d.ts → breadcrumb-CC44ID_C.d.ts} +0 -1
- package/dist/{breadcrumb-item-BC454oQe.d.ts → breadcrumb-item-Bi1YgKOo.d.ts} +0 -1
- package/dist/{breadcrumb-item-P5pdq_gE.js → breadcrumb-item-vQ1a6T50.js} +5 -3
- package/dist/{button-BbabhtKj.js → button-CpZ9fezn.js} +3 -3
- package/dist/{button-group-BydvJTQy.js → button-group-CQprqgh3.js} +1 -1
- package/dist/{button-group-COodHeuB.d.ts → button-group-LyKB98Gh.d.ts} +0 -1
- package/dist/{button-c5YKsC69.d.ts → button-yMIli_DJ.d.ts} +2 -2
- package/dist/{callout-B8zTf8Go.js → callout-B9ZwX88r.js} +1 -1
- package/dist/{callout-DFwPao36.d.ts → callout-Bia0w-5t.d.ts} +0 -1
- package/dist/{card-BYDzdMAU.d.ts → card-B_IpbOVP.d.ts} +0 -1
- package/dist/{card-DIg1-X2G.js → card-Da8uojIs.js} +1 -1
- package/dist/{carousel-DQITCtEY.d.ts → carousel-CNbPFXDR.d.ts} +2 -1
- package/dist/{carousel-DpIqPTuO.js → carousel-DOUVHtmQ.js} +55 -55
- package/dist/{carousel-item-BB3jL2tk.d.ts → carousel-item-8Am7bwl9.d.ts} +0 -1
- package/dist/{carousel-item-B5-X31Ha.js → carousel-item-BFIu_n7C.js} +1 -1
- package/dist/{checkbox-BtoypUxD.d.ts → checkbox-54zrYlH2.d.ts} +1 -1
- package/dist/{checkbox-C97tlcf2.js → checkbox-6WKlhBIk.js} +2 -2
- package/dist/{checkbox-group-CLvNAO_F.js → checkbox-group-BBKJBH5s.js} +1 -1
- package/dist/{checkbox-group-Cnh8rAn4.d.ts → checkbox-group-rJjrR2jr.d.ts} +0 -1
- package/dist/{color-input-Dtp1v7A-.js → color-input-BrQmgiiT.js} +24 -24
- package/dist/{color-input-S29ZHwHE.d.ts → color-input-zVSxcoTX.d.ts} +1 -1
- package/dist/{color-picker-Mnpc5u6E.js → color-picker-3_-cciTe.js} +59 -61
- package/dist/{color-picker-wQw8bPsq.d.ts → color-picker-5b7YZduP.d.ts} +4 -1
- package/dist/{combobox-item-yM6tDrGG.js → combobox-item-CViFQGaV.js} +1 -1
- package/dist/{combobox-item-BnBtZyhw.d.ts → combobox-item-oeSEcjc2.d.ts} +1 -1
- package/dist/{combobox-Q_WM4JvC.js → combobox-kGpw9282.js} +36 -35
- package/dist/{comparison-CRvbwS7X.d.ts → comparison-C5qs81SW.d.ts} +1 -1
- package/dist/{comparison-DQUpvkmg.js → comparison-Dwhz1Nve.js} +4 -3
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/accordion-item/accordion-item.d.ts +1 -1
- package/dist/components/accordion-item/accordion-item.js +1 -1
- package/dist/components/action-bar/action-bar.d.ts +1 -1
- package/dist/components/action-bar/action-bar.js +1 -1
- package/dist/components/alert-dialog/alert-dialog.d.ts +1 -1
- package/dist/components/alert-dialog/alert-dialog.js +1 -1
- package/dist/components/avatar/avatar.d.ts +1 -1
- package/dist/components/avatar/avatar.js +1 -1
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/button-group/button-group.d.ts +1 -1
- package/dist/components/button-group/button-group.js +1 -1
- package/dist/components/callout/callout.d.ts +1 -1
- package/dist/components/callout/callout.js +1 -1
- package/dist/components/card/card.d.ts +1 -1
- package/dist/components/card/card.js +1 -1
- package/dist/components/carousel/carousel.d.ts +1 -1
- package/dist/components/carousel/carousel.js +1 -1
- package/dist/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist/components/carousel-item/carousel-item.js +1 -1
- package/dist/components/checkbox/checkbox.d.ts +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/components/checkbox-group/checkbox-group.js +1 -1
- package/dist/components/color-input/color-input.d.ts +1 -1
- package/dist/components/color-input/color-input.js +1 -1
- package/dist/components/color-picker/color-picker.d.ts +1 -1
- package/dist/components/color-picker/color-picker.js +1 -1
- package/dist/components/combobox/combobox.d.ts +1 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/combobox-item/combobox-item.d.ts +1 -1
- package/dist/components/combobox-item/combobox-item.js +1 -1
- package/dist/components/comparison/comparison.d.ts +1 -1
- package/dist/components/comparison/comparison.js +1 -1
- package/dist/components/copy/copy.d.ts +1 -1
- package/dist/components/copy/copy.js +3 -3
- package/dist/components/data-table/data-table.d.ts +1 -1
- package/dist/components/data-table/data-table.js +1 -1
- package/dist/components/date/date.d.ts +1 -1
- package/dist/components/date/date.js +1 -1
- package/dist/components/dialog/dialog.d.ts +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/divider/divider.d.ts +1 -1
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/dropdown/dropdown.d.ts +1 -1
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/dropdown-item/dropdown-item.d.ts +1 -1
- package/dist/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/components/empty-result/empty-result.d.ts +1 -1
- package/dist/components/empty-result/empty-result.js +1 -1
- package/dist/components/empty-state/empty-state.d.ts +1 -1
- package/dist/components/expander/expander.d.ts +1 -1
- package/dist/components/expander/expander.js +1 -1
- package/dist/components/field/field.d.ts +1 -1
- package/dist/components/field/field.js +1 -1
- package/dist/components/file-input/file-input.d.ts +1 -1
- package/dist/components/file-input/file-input.js +1 -1
- package/dist/components/filter-bar/filter-bar.d.ts +1 -1
- package/dist/components/filter-bar/filter-bar.js +1 -1
- package/dist/components/form-section/form-section.d.ts +1 -1
- package/dist/components/form-section/form-section.js +1 -1
- package/dist/components/icon/icon.d.ts +1 -1
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/include/include.d.ts +1 -1
- package/dist/components/include/include.js +1 -1
- package/dist/components/index.d.ts +84 -84
- package/dist/components/index.js +81 -81
- package/dist/components/infinite-scroller/infinite-scroller.d.ts +1 -1
- package/dist/components/infinite-scroller/infinite-scroller.js +1 -1
- package/dist/components/intersection-observer/intersection-observer.d.ts +1 -1
- package/dist/components/intersection-observer/intersection-observer.js +1 -1
- package/dist/components/listbox/listbox.d.ts +1 -1
- package/dist/components/listbox/listbox.js +1 -1
- package/dist/components/listbox-item/listbox-item.d.ts +1 -1
- package/dist/components/listbox-item/listbox-item.js +1 -1
- package/dist/components/lorem-ipsum/lorem-ipsum.d.ts +1 -1
- package/dist/components/lorem-ipsum/lorem-ipsum.js +1 -1
- package/dist/components/meter/meter.d.ts +1 -1
- package/dist/components/meter/meter.js +1 -1
- package/dist/components/metric/metric.d.ts +1 -1
- package/dist/components/metric/metric.js +1 -1
- package/dist/components/metric-grid/metric-grid.d.ts +1 -1
- package/dist/components/mutation-observer/mutation-observer.d.ts +1 -1
- package/dist/components/mutation-observer/mutation-observer.js +1 -1
- package/dist/components/navicon/navicon.d.ts +1 -1
- package/dist/components/navicon/navicon.js +1 -1
- package/dist/components/number/number.d.ts +1 -1
- package/dist/components/number/number.js +1 -1
- package/dist/components/number-field/number-field.d.ts +1 -1
- package/dist/components/number-field/number-field.js +1 -1
- package/dist/components/pagination/pagination.d.ts +1 -1
- package/dist/components/pagination/pagination.js +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/popover/popover.js +1 -1
- package/dist/components/preview-card/preview-card.d.ts +1 -1
- package/dist/components/preview-card/preview-card.js +1 -1
- package/dist/components/progress/progress.d.ts +1 -1
- package/dist/components/progress/progress.js +1 -1
- package/dist/components/radio/radio.d.ts +1 -1
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-item/radio-item.d.ts +1 -1
- package/dist/components/radio-item/radio-item.js +1 -1
- package/dist/components/random-content/random-content.d.ts +1 -1
- package/dist/components/random-content/random-content.js +1 -1
- package/dist/components/rating/rating.d.ts +1 -1
- package/dist/components/rating/rating.js +1 -1
- package/dist/components/resize-observer/resize-observer.d.ts +1 -1
- package/dist/components/resize-observer/resize-observer.js +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts +1 -1
- package/dist/components/scroll-area/scroll-area.js +1 -1
- package/dist/components/scroller/scroller.d.ts +1 -1
- package/dist/components/scroller/scroller.js +1 -1
- package/dist/components/search-list/search-list.d.ts +1 -1
- package/dist/components/search-list/search-list.js +1 -1
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/selection-summary/selection-summary.d.ts +1 -1
- package/dist/components/selection-summary/selection-summary.js +1 -1
- package/dist/components/share/share.d.ts +1 -1
- package/dist/components/share/share.js +1 -1
- package/dist/components/slide-activator/slide-activator.d.ts +1 -1
- package/dist/components/slide-activator/slide-activator.js +1 -1
- package/dist/components/slider/slider.d.ts +1 -1
- package/dist/components/slider/slider.js +1 -1
- package/dist/components/sparkline/sparkline.d.ts +1 -1
- package/dist/components/sparkline/sparkline.js +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/spinner/spinner.js +1 -1
- package/dist/components/splitter/splitter.d.ts +1 -1
- package/dist/components/splitter/splitter.js +1 -1
- package/dist/components/switch/switch.d.ts +1 -1
- package/dist/components/switch/switch.js +1 -1
- package/dist/components/tab/tab.d.ts +1 -1
- package/dist/components/tab/tab.js +1 -1
- package/dist/components/tab-list/tab-list.d.ts +1 -1
- package/dist/components/tab-list/tab-list.js +1 -1
- package/dist/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist/components/tab-panel/tab-panel.js +1 -1
- package/dist/components/text-area/text-area.d.ts +1 -1
- package/dist/components/text-area/text-area.js +1 -1
- package/dist/components/text-field/text-field.d.ts +1 -1
- package/dist/components/text-field/text-field.js +1 -1
- package/dist/components/text-mask/text-mask.d.ts +1 -1
- package/dist/components/text-mask/text-mask.js +1 -1
- package/dist/components/timed-content/timed-content.d.ts +1 -1
- package/dist/components/timed-content/timed-content.js +1 -1
- package/dist/components/toast/toast.d.ts +1 -1
- package/dist/components/toast/toast.js +1 -1
- package/dist/components/toast-item/toast-item.d.ts +1 -1
- package/dist/components/toast-item/toast-item.js +1 -1
- package/dist/components/toggle-icon/toggle-icon.d.ts +1 -1
- package/dist/components/toggle-icon/toggle-icon.js +1 -1
- package/dist/components/toggle-tag/toggle-tag.d.ts +1 -1
- package/dist/components/toggle-tag/toggle-tag.js +1 -1
- package/dist/components/toolbar/toolbar.d.ts +1 -1
- package/dist/components/toolbar/toolbar.js +1 -1
- package/dist/components/tooltip/tooltip.d.ts +1 -1
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/components/transition-group/transition-group.d.ts +1 -1
- package/dist/components/transition-group/transition-group.js +1 -1
- package/dist/components/zoomable-frame/zoomable-frame.d.ts +1 -1
- package/dist/components/zoomable-frame/zoomable-frame.js +1 -1
- package/dist/{copy-CvC9vaGw.d.ts → copy-D1Gbzz53.d.ts} +2 -1
- package/dist/{data-table-DL5RhE0d.d.ts → data-table-BaJQOVCb.d.ts} +0 -1
- package/dist/{data-table-CITa8DSn.js → data-table-CXgo10o8.js} +28 -28
- package/dist/{date-CFIR88pX.js → date-Ym_ARCe4.js} +5 -3
- package/dist/{date-DtaTBM71.d.ts → date-p_E3WvRN.d.ts} +0 -1
- package/dist/{decorate-DcF3lt7P.js → decorate-BkO8ArQg.js} +1 -1
- package/dist/{dialog-Ddvyn2d_.js → dialog-C5dL5edP.js} +7 -5
- package/dist/{dialog-N-v0woIy.d.ts → dialog-IfF1PtN7.d.ts} +0 -1
- package/dist/{divider-DWuAxcXv.d.ts → divider-DtJpscYq.d.ts} +0 -1
- package/dist/{divider-9vNsfHW8.js → divider-Dzhkr3oD.js} +1 -1
- package/dist/docs/custom-elements.json +1 -1
- package/dist/{dropdown-C5ldJu4g.d.ts → dropdown-BqyMiDvo.d.ts} +1 -1
- package/dist/{dropdown-BPOpCp59.js → dropdown-BsM5AdlJ.js} +2 -2
- package/dist/{dropdown-item-_lIs-Tfd.d.ts → dropdown-item-B6g3lxiK.d.ts} +1 -1
- package/dist/{dropdown-item-D8cgfO7m.js → dropdown-item-QFfpbklh.js} +34 -32
- package/dist/{empty-result-B2ln1yFL.js → empty-result-AA2Ln0jJ.js} +1 -1
- package/dist/{empty-result-B54x_Ab2.d.ts → empty-result-WdlxQSfN.d.ts} +1 -1
- package/dist/{empty-state-SGKjpwp3.d.ts → empty-state-COyLKkjE.d.ts} +0 -1
- package/dist/{en-ss05iPjS.d.ts → en-DkVJzBCN.d.ts} +0 -1
- package/dist/{expander-BUev0BmM.d.ts → expander-CrOMj--I.d.ts} +0 -1
- package/dist/{expander-CMV4QCha.js → expander-D-3PvXua.js} +1 -1
- package/dist/{field-BEyS909F.js → field-5BLJFjpX.js} +7 -7
- package/dist/{field-ITx0jVw-.d.ts → field-r2feuKIA.d.ts} +0 -1
- package/dist/{file-input-CgsTcC1R.d.ts → file-input-DmHTUlaQ.d.ts} +2 -1
- package/dist/{file-input-B4VfcfTD.js → file-input-IRAfQl41.js} +27 -25
- package/dist/{filter-bar-Bj2QzEn9.d.ts → filter-bar-BVOPU4cs.d.ts} +1 -1
- package/dist/{filter-bar-DhQSMr3S.js → filter-bar-X588pM1j.js} +2 -2
- package/dist/{form-section-xFBTBULQ.d.ts → form-section-Cgzf3pip.d.ts} +0 -1
- package/dist/{form-section-BchPetkj.js → form-section-DH2zWIz1.js} +1 -1
- package/dist/{icon-Ci9CPZJV.d.ts → icon-CTW4Gr4z.d.ts} +0 -1
- package/dist/{icon-Df0H7LYB.js → icon-X-e-QjBp.js} +13 -9
- package/dist/{icon-library-D_if7p2h.d.ts → icon-library--EeClyvj.d.ts} +1 -0
- package/dist/{include-CQHVVtNs.d.ts → include-B-7x8KHx.d.ts} +0 -1
- package/dist/{include-qNUh_6kT.js → include-CHpPiaI3.js} +5 -3
- package/dist/index.d.ts +86 -85
- package/dist/index.js +81 -81
- package/dist/{infinite-scroller-DjeMswwE.js → infinite-scroller-BQv6oMZZ.js} +2 -2
- package/dist/{infinite-scroller-CuUEAlB9.d.ts → infinite-scroller-BRuRZrLw.d.ts} +1 -1
- package/dist/{intersection-observer-Db0-7ZvZ.js → intersection-observer-B92oE9ZW.js} +5 -3
- package/dist/{intersection-observer-B7nmP7Zz.d.ts → intersection-observer-BsPr-rnP.d.ts} +0 -1
- package/dist/{listbox-DKoMIQA6.d.ts → listbox-BzqXZxKE.d.ts} +1 -2
- package/dist/{listbox-BGHw-rUd.js → listbox-CDXFfImW.js} +24 -22
- package/dist/{listbox-item-CwbjHZIu.js → listbox-item-BLsm_RwA.js} +5 -5
- package/dist/{listbox-item-DQEJWp4Z.d.ts → listbox-item-DVJxOQBA.d.ts} +1 -1
- package/dist/{lorem-ipsum-B2x3V-v8.js → lorem-ipsum-BnHbwIAy.js} +1 -1
- package/dist/{lorem-ipsum-CR82CSuJ.d.ts → lorem-ipsum-CjpGYkYA.d.ts} +0 -1
- package/dist/{meter-BC7uaJWf.d.ts → meter-C7N7wCzB.d.ts} +0 -1
- package/dist/{meter-BIDyjwFp.js → meter-CJt12Ti4.js} +1 -1
- package/dist/{metric-CjlLq_VA.d.ts → metric-DCDd8TTL.d.ts} +0 -1
- package/dist/{metric-xGnpnmNP.js → metric-DfsbMzeZ.js} +1 -1
- package/dist/{metric-grid-Zb941OFI.d.ts → metric-grid-Dhlmo3hu.d.ts} +0 -1
- package/dist/{mutation-observer-BmrZ-GER.d.ts → mutation-observer-DtbXtXy8.d.ts} +0 -1
- package/dist/{mutation-observer-DkhonHyD.js → mutation-observer-G0uw8e0h.js} +1 -1
- package/dist/{navicon-Dic5Qjzb.d.ts → navicon-Bf-XjU03.d.ts} +0 -1
- package/dist/{navicon-1PqcQlnS.js → navicon-CX6zbzXm.js} +1 -1
- package/dist/{number-BwbnErlB.d.ts → number-C5B9PzBg.d.ts} +0 -1
- package/dist/{number-BYBxfOGw.js → number-CtaWqDM-.js} +1 -1
- package/dist/{number-field-T0rzObq9.d.ts → number-field-DsxFdXBo.d.ts} +1 -1
- package/dist/{number-field-yME3rRZT.js → number-field-zL-ESKeT.js} +26 -26
- package/dist/{pagination-6z2qcf3U.d.ts → pagination-DbGUe-9M.d.ts} +1 -1
- package/dist/{pagination-VOzVTV8p.js → pagination-LQjhqF8X.js} +4 -3
- package/dist/{popover-D0sxTU6o.d.ts → popover-3t2V-kys.d.ts} +0 -2
- package/dist/{popover-lsI6gqNk.js → popover-DRESszW7.js} +1 -1
- package/dist/{preview-card-DitOCZTD.d.ts → preview-card-CZqV8z5O.d.ts} +0 -1
- package/dist/{preview-card-D1msvOWP.js → preview-card-DM1pdf-b.js} +1 -1
- package/dist/{progress-Db0_axHQ.d.ts → progress-BNSMlrtH.d.ts} +0 -1
- package/dist/{progress-Bk6TnFd5.js → progress-DyVF2ttV.js} +1 -1
- package/dist/{radio-B4fz924Q.d.ts → radio-D4b4uEdl.d.ts} +1 -2
- package/dist/{radio-4Cok4gJI.js → radio-IlmnzANT.js} +2 -2
- package/dist/{radio-item-DpP3GBPV.js → radio-item-CBjMo_7l.js} +2 -2
- package/dist/{radio-item-Xq2U3cMu.d.ts → radio-item-jh8fXdp8.d.ts} +1 -1
- package/dist/{random-content-BwiirXdG.js → random-content-CBW5dCkG.js} +1 -1
- package/dist/{random-content-BhSeJFKz.d.ts → random-content-D4qv2Rr-.d.ts} +0 -1
- package/dist/{rating-8BLXhAVl.d.ts → rating-CPue7ui5.d.ts} +0 -1
- package/dist/{rating-CSn-nU2R.js → rating-DJAjSeHa.js} +1 -1
- package/dist/{resize-observer-Dg9Cm9e5.js → resize-observer-Bhm-mK5o.js} +1 -1
- package/dist/{resize-observer-BseSbVWP.d.ts → resize-observer-D_tAv8pe.d.ts} +0 -1
- package/dist/{scroll-area-COc1857S.js → scroll-area-BipUwjMS.js} +1 -1
- package/dist/{scroll-area-CVYDf5qY.d.ts → scroll-area-p0XNDdvP.d.ts} +0 -1
- package/dist/{scroller-DZATZlDa.js → scroller-TPT8BIjg.js} +4 -4
- package/dist/{scroller-bB2rGs7b.d.ts → scroller-_79O72Ac.d.ts} +0 -1
- package/dist/{search-list-Cd3--X7Q.d.ts → search-list-C2VQXucI.d.ts} +0 -1
- package/dist/{search-list-BffPIgnw.js → search-list-kPKHbtMZ.js} +9 -7
- package/dist/{select-6H_sN4A2.d.ts → select-BPvljHSI.d.ts} +0 -1
- package/dist/{select-B6nkY6E-.js → select-WnwSS-pA.js} +1 -1
- package/dist/{selection-summary-BVnNJ8Lw.js → selection-summary-Dgu9jkkp.js} +3 -2
- package/dist/{selection-summary-DmFkGyZI.d.ts → selection-summary-tDD2Hj8_.d.ts} +0 -1
- package/dist/{share-C7dB9NYf.js → share-B9dnvAMV.js} +1 -1
- package/dist/{share-DPlqP2dc.d.ts → share-BBmoIqPK.d.ts} +0 -1
- package/dist/sigvelo.d.ts +1 -1
- package/dist/sigvelo.loader.d.ts +1 -1
- package/dist/{slide-activator-Dkv5_KPl.js → slide-activator-DcwbiBHy.js} +4 -3
- package/dist/{slide-activator-CB0Ztk_u.d.ts → slide-activator-vl0ET1uK.d.ts} +1 -1
- package/dist/{slider-DY-GuC8T.js → slider-DaxjZLpg.js} +38 -31
- package/dist/{slider-uQQ-T_kn.d.ts → slider-DeL7gU7p.d.ts} +1 -2
- package/dist/{sparkline-CcpTaJ_Z.js → sparkline-BXvsPgxG.js} +1 -1
- package/dist/{sparkline-DlCIt81-.d.ts → sparkline-CwGE5qjU.d.ts} +0 -1
- package/dist/{spinner-C9lQARtQ.js → spinner-CESKShSu.js} +1 -1
- package/dist/{spinner-CZ19x_dC.d.ts → spinner-DIlC--PL.d.ts} +0 -1
- package/dist/{splitter-KQVgGdvP.d.ts → splitter-BbEwV6s0.d.ts} +0 -1
- package/dist/{splitter-DzC0hXGN.js → splitter-DA41FonU.js} +1 -1
- package/dist/{switch-BUfFo074.d.ts → switch-BwqWlXEI.d.ts} +1 -1
- package/dist/{switch-Chij-EaQ.js → switch-Ciq-jBx0.js} +2 -2
- package/dist/{tab-C-FtuNmh.js → tab-BhZKKRoR.js} +1 -1
- package/dist/{tab-BcqYGsuW.d.ts → tab-ChM3KdFB.d.ts} +0 -1
- package/dist/{tab-list-CVOUSpAh.js → tab-list-BNj_EBpY.js} +4 -4
- package/dist/{tab-list-DDvS8qHr.d.ts → tab-list-Sq_3cRFM.d.ts} +3 -1
- package/dist/{tab-panel-BzSJlSfd.d.ts → tab-panel-B5Q5luZP.d.ts} +0 -1
- package/dist/{tab-panel-BaBl6eep.js → tab-panel-tPnrQegL.js} +1 -1
- package/dist/{text-area-DFMKyk8y.d.ts → text-area-H9BYyMx0.d.ts} +0 -1
- package/dist/{text-area-DZVghSkO.js → text-area-cUlTTMH7.js} +1 -1
- package/dist/{text-field-gX5RovkE.js → text-field-C_FmekBM.js} +31 -31
- package/dist/{text-field-DepP1gei.d.ts → text-field-qS_9l48t.d.ts} +1 -1
- package/dist/{text-mask-CNKVKSFp.d.ts → text-mask-2sJkX20c.d.ts} +0 -1
- package/dist/{text-mask-DDEurj90.js → text-mask-uX6EYQSQ.js} +5 -3
- package/dist/{timed-content-D00na-5r.js → timed-content-BoOSTplZ.js} +5 -3
- package/dist/{timed-content-D2mGFamc.d.ts → timed-content-DqoD4JwZ.d.ts} +0 -1
- package/dist/{toast-DfLbSbxq.js → toast-Cf5w5QnG.js} +3 -3
- package/dist/{toast-CpyA3GYM.d.ts → toast-D5NkuYGk.d.ts} +2 -3
- package/dist/{toast-item-BPpJT6vD.d.ts → toast-item-B8LccN__.d.ts} +2 -1
- package/dist/{toast-item-07AJ02XZ.js → toast-item-D9VMsxuo.js} +32 -32
- package/dist/{toggle-icon-B3fZuslO.js → toggle-icon-D4xBQ_fz.js} +1 -1
- package/dist/{toggle-icon-sTLCOruF.d.ts → toggle-icon-Dl_AmHJ0.d.ts} +0 -1
- package/dist/{toggle-tag-DDBa6hAg.d.ts → toggle-tag-Bk-QYWzd.d.ts} +0 -1
- package/dist/{toggle-tag--Gkp-CJJ.js → toggle-tag-BvYdGJj5.js} +1 -1
- package/dist/{toolbar-CEZ0-F-X.js → toolbar-Cfti8PHI.js} +1 -1
- package/dist/{toolbar-CABq0ZL1.d.ts → toolbar-D4DZ9wqr.d.ts} +0 -1
- package/dist/{tooltip-bSXNhG9l.js → tooltip-CGcehVGV.js} +5 -3
- package/dist/{tooltip-ahFthek8.d.ts → tooltip-VyMg30Ew.d.ts} +0 -1
- package/dist/{transition-group-D134iT1k.d.ts → transition-group-DFL626qV.d.ts} +0 -1
- package/dist/{transition-group-8PmQx0A5.js → transition-group-sMtXSeIm.js} +1 -1
- package/dist/translations/en.d.ts +1 -1
- package/dist/translations/es.d.ts +1 -2
- package/dist/types/custom-element-jsx.d.ts +2302 -2020
- package/dist/utilities/anchored-surface.d.ts +3 -13
- package/dist/utilities/copy-feedback.d.ts +3 -4
- package/dist/utilities/form-validity.d.ts +3 -4
- package/dist/utilities/icon-library.d.ts +2 -2
- package/dist/utilities/localize.d.ts +1 -1
- package/dist/{zoomable-frame-C_5fPb_g.js → zoomable-frame-BlLK_Ht_.js} +28 -28
- package/dist/{zoomable-frame-r6S6587z.d.ts → zoomable-frame-CFMaTLgq.d.ts} +1 -1
- package/package.json +17 -17
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./icon-
|
|
2
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import "./icon-X-e-QjBp.js";
|
|
2
|
+
import { t as __decorate } from "./decorate-BkO8ArQg.js";
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { property, state } from "lit/decorators.js";
|
|
5
5
|
import hostStyles from "@mcp-b/wc-support/styles/host.styles";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import { t as __decorate } from "./decorate-BkO8ArQg.js";
|
|
2
2
|
import { Localize } from "./utilities/localize.js";
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { eventOptions, property, query, state } from "lit/decorators.js";
|
|
@@ -553,9 +553,9 @@ var SigveloScroller = class extends SigveloElement {
|
|
|
553
553
|
render() {
|
|
554
554
|
return html`
|
|
555
555
|
${this.withoutShadow ? "" : html`
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
556
|
+
<div id="start-shadow" part="start-shadow" aria-hidden="true"></div>
|
|
557
|
+
<div id="end-shadow" part="end-shadow" aria-hidden="true"></div>
|
|
558
|
+
`}
|
|
559
559
|
|
|
560
560
|
<div
|
|
561
561
|
id="content"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import { t as __decorate } from "./decorate-BkO8ArQg.js";
|
|
2
2
|
import { Localize } from "./utilities/localize.js";
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { property, query, state } from "lit/decorators.js";
|
|
@@ -831,13 +831,15 @@ var SigveloSearchList = class extends SigveloElement {
|
|
|
831
831
|
let isMatch = false;
|
|
832
832
|
if (this.match === "exact") isMatch = exactSearch(this.query, searchableContent);
|
|
833
833
|
if (this.match === "fuzzy") isMatch = fuzzySearch(this.query, searchableContent);
|
|
834
|
-
if (this.match === "custom")
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
834
|
+
if (this.match === "custom") {
|
|
835
|
+
if (typeof this.isMatch === "function") isMatch = this.isMatch(this.query, searchableContent, item);
|
|
836
|
+
else {
|
|
837
|
+
if (!wasWarned) {
|
|
838
|
+
console.warn(`A custom search type was specified but no isMatch function was provided.`, this);
|
|
839
|
+
wasWarned = true;
|
|
840
|
+
}
|
|
841
|
+
isMatch = exactSearch(this.query, searchableContent);
|
|
839
842
|
}
|
|
840
|
-
isMatch = exactSearch(this.query, searchableContent);
|
|
841
843
|
}
|
|
842
844
|
item.toggleAttribute("hidden", !isMatch);
|
|
843
845
|
if (isMatch) numResults++;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import { t as __decorate } from "./decorate-BkO8ArQg.js";
|
|
2
2
|
import { mirrorNativeValidity } from "./utilities/form-validity.js";
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { property, query, state } from "lit/decorators.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import { t as __decorate } from "./decorate-BkO8ArQg.js";
|
|
2
2
|
import { css, html } from "lit";
|
|
3
3
|
import { property } from "lit/decorators.js";
|
|
4
4
|
import hostStyles from "@mcp-b/wc-support/styles/host.styles";
|
|
@@ -36,7 +36,8 @@ var SigveloSelectionSummary = class extends SigveloElement {
|
|
|
36
36
|
this.styles = [hostStyles, selection_summary_styles_default];
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
|
|
39
|
+
const text = this.count === 0 ? this.emptyLabel : `${this.count} ${this.count === 1 ? this.singularLabel : this.pluralLabel}`;
|
|
40
|
+
return html`<span part="text" role="status" aria-live="polite">${text}</span>`;
|
|
40
41
|
}
|
|
41
42
|
};
|
|
42
43
|
__decorate([property({ type: Number })], SigveloSelectionSummary.prototype, "count", void 0);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import { t as __decorate } from "./decorate-BkO8ArQg.js";
|
|
2
2
|
import { Localize } from "./utilities/localize.js";
|
|
3
3
|
import { showCopyFeedback } from "./utilities/copy-feedback.js";
|
|
4
4
|
import { t as copy_styles_default } from "./copy.styles-DWGvGNTP.js";
|
package/dist/sigvelo.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as registerIconLibrary, u as unregisterIconLibrary } from "./icon-library
|
|
1
|
+
import { l as registerIconLibrary, u as unregisterIconLibrary } from "./icon-library--EeClyvj.js";
|
|
2
2
|
import { allDefined } from "@mcp-b/wc-support/utilities/defined";
|
|
3
3
|
import { getLibraryPath, setLibraryPath } from "@mcp-b/wc-support/utilities/library";
|
|
4
4
|
import { discoverElements, preventTurboFouce, startLoader, stopLoader } from "@mcp-b/wc-support/utilities/loader";
|
package/dist/sigvelo.loader.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { l as registerIconLibrary, u as unregisterIconLibrary } from "./icon-library
|
|
1
|
+
import { l as registerIconLibrary, u as unregisterIconLibrary } from "./icon-library--EeClyvj.js";
|
|
2
2
|
import { allDefined, discoverElements, getLibraryPath, preventTurboFouce, setLibraryPath, startLoader, stopLoader } from "./sigvelo.js";
|
|
3
3
|
export { allDefined, discoverElements, getLibraryPath, preventTurboFouce, registerIconLibrary, setLibraryPath, startLoader, stopLoader, unregisterIconLibrary };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./icon-
|
|
2
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import "./icon-X-e-QjBp.js";
|
|
2
|
+
import { t as __decorate } from "./decorate-BkO8ArQg.js";
|
|
3
3
|
import { Localize } from "./utilities/localize.js";
|
|
4
4
|
import { css, html } from "lit";
|
|
5
5
|
import { property, query, state } from "lit/decorators.js";
|
|
@@ -705,7 +705,8 @@ var SigveloSlideActivator = class extends SigveloElement {
|
|
|
705
705
|
if (this.disabled || this.activated) return;
|
|
706
706
|
const isRtl = this.localize.dir() === "rtl";
|
|
707
707
|
const hostWidth = this.hostBoundingClientRect.width - this.thumb.clientWidth;
|
|
708
|
-
const
|
|
708
|
+
const deltaX = isRtl ? this.dragStartX - x : x - this.dragStartX;
|
|
709
|
+
const percentage = clamp(deltaX / hostWidth, 0, 1);
|
|
709
710
|
this.setThumbPosition(percentage);
|
|
710
711
|
}
|
|
711
712
|
handleKeyDown(event) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import { t as __decorate } from "./decorate-BkO8ArQg.js";
|
|
2
2
|
import { Localize } from "./utilities/localize.js";
|
|
3
|
-
import "./tooltip-
|
|
3
|
+
import "./tooltip-CGcehVGV.js";
|
|
4
4
|
import { css, html } from "lit";
|
|
5
5
|
import { property, query, state } from "lit/decorators.js";
|
|
6
6
|
import hostStyles from "@mcp-b/wc-support/styles/host.styles";
|
|
@@ -1169,18 +1169,19 @@ var SigveloSlider = class extends SigveloFormControlElement {
|
|
|
1169
1169
|
const value = this.getValueFromCoordinates(x, y);
|
|
1170
1170
|
const minDistance = Math.abs(value - this.rangeStart);
|
|
1171
1171
|
const maxDistance = Math.abs(value - this.rangeEnd);
|
|
1172
|
-
if (minDistance === maxDistance)
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1172
|
+
if (minDistance === maxDistance) {
|
|
1173
|
+
if (value > this.rangeEnd) this.activeThumb = "max";
|
|
1174
|
+
else if (value < this.rangeStart) this.activeThumb = "min";
|
|
1175
|
+
else {
|
|
1176
|
+
const isRtl = this.localize.dir() === "rtl";
|
|
1177
|
+
const isVertical = this.orientation === "vertical";
|
|
1178
|
+
const position = isVertical ? y : x;
|
|
1179
|
+
const previousPosition = this.lastTrackPosition || position;
|
|
1180
|
+
this.lastTrackPosition = position;
|
|
1181
|
+
const movingForward = position > previousPosition !== isRtl && !isVertical || position < previousPosition && isVertical;
|
|
1182
|
+
this.activeThumb = movingForward ? "max" : "min";
|
|
1183
|
+
}
|
|
1184
|
+
} else this.activeThumb = minDistance <= maxDistance ? "min" : "max";
|
|
1184
1185
|
this.valueWhenDraggingStarted = this.activeThumb === "min" ? this.rangeStart : this.rangeEnd;
|
|
1185
1186
|
}
|
|
1186
1187
|
this.customStates.set("dragging", true);
|
|
@@ -1262,15 +1263,17 @@ var SigveloSlider = class extends SigveloFormControlElement {
|
|
|
1262
1263
|
const previousValue = changedProperties.get("value");
|
|
1263
1264
|
if (previousValue !== void 0 && Array.isArray(previousValue) !== this.isRange) this.setupDragging();
|
|
1264
1265
|
}
|
|
1265
|
-
if (changedProperties.has("value") || changedProperties.has("min") || changedProperties.has("max"))
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1266
|
+
if (changedProperties.has("value") || changedProperties.has("min") || changedProperties.has("max")) {
|
|
1267
|
+
if (this.isRange) {
|
|
1268
|
+
const start = clamp(this.rangeStart, this.min, this.max);
|
|
1269
|
+
const end = clamp(this.rangeEnd, start, this.max);
|
|
1270
|
+
if (start !== this.rangeStart || end !== this.rangeEnd) this.value = [start, end];
|
|
1271
|
+
else this.updateFormValue();
|
|
1272
|
+
} else {
|
|
1273
|
+
const value = clamp(this.singleValue, this.min, this.max);
|
|
1274
|
+
if (value !== this.singleValue) this.singleValue = value;
|
|
1275
|
+
else this.internals.setFormValue(String(value));
|
|
1276
|
+
}
|
|
1274
1277
|
}
|
|
1275
1278
|
if (changedProperties.has("disabled")) this.customStates.set("disabled", this.effectiveDisabled);
|
|
1276
1279
|
if (changedProperties.has("disabled") || changedProperties.has("readonly")) this.updateDragging();
|
|
@@ -1374,9 +1377,10 @@ var SigveloSlider = class extends SigveloFormControlElement {
|
|
|
1374
1377
|
}
|
|
1375
1378
|
if (newValue === current) return;
|
|
1376
1379
|
if (this.isRange) {
|
|
1377
|
-
if (this.activeThumb === "min")
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
+
if (this.activeThumb === "min") {
|
|
1381
|
+
if (newValue > this.rangeEnd) this.value = [newValue, newValue];
|
|
1382
|
+
else this.rangeStart = Math.max(this.min, newValue);
|
|
1383
|
+
} else if (newValue < this.rangeStart) this.value = [newValue, newValue];
|
|
1380
1384
|
else this.rangeEnd = Math.min(this.max, newValue);
|
|
1381
1385
|
this.updateFormValue();
|
|
1382
1386
|
} else this.singleValue = clamp(newValue, this.min, this.max);
|
|
@@ -1394,8 +1398,10 @@ var SigveloSlider = class extends SigveloFormControlElement {
|
|
|
1394
1398
|
}
|
|
1395
1399
|
handleLabelPointerDown(event) {
|
|
1396
1400
|
event.preventDefault();
|
|
1397
|
-
if (!this.effectiveDisabled)
|
|
1398
|
-
|
|
1401
|
+
if (!this.effectiveDisabled) {
|
|
1402
|
+
if (this.isRange) this.thumbMin?.focus();
|
|
1403
|
+
else this.slider.focus();
|
|
1404
|
+
}
|
|
1399
1405
|
}
|
|
1400
1406
|
setValueFromCoordinates(x, y) {
|
|
1401
1407
|
if (this.effectiveDisabled || this.readonly) return;
|
|
@@ -1410,9 +1416,10 @@ var SigveloSlider = class extends SigveloFormControlElement {
|
|
|
1410
1416
|
if (this.effectiveDisabled || this.readonly) return;
|
|
1411
1417
|
const value = this.getValueFromCoordinates(x, y);
|
|
1412
1418
|
const oldValue = thumb === "min" ? this.rangeStart : this.rangeEnd;
|
|
1413
|
-
if (thumb === "min")
|
|
1414
|
-
|
|
1415
|
-
|
|
1419
|
+
if (thumb === "min") {
|
|
1420
|
+
if (value > this.rangeEnd) this.value = [value, value];
|
|
1421
|
+
else this.rangeStart = Math.max(this.min, value);
|
|
1422
|
+
} else if (value < this.rangeStart) this.value = [value, value];
|
|
1416
1423
|
else this.rangeEnd = Math.min(this.max, value);
|
|
1417
1424
|
if (oldValue !== (thumb === "min" ? this.rangeStart : this.rangeEnd)) {
|
|
1418
1425
|
this.dispatchEvent(new SigveloInputEvent());
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as SigveloTooltip } from "./tooltip-
|
|
1
|
+
import { t as SigveloTooltip } from "./tooltip-VyMg30Ew.js";
|
|
2
2
|
import { CSSResultGroup, PropertyValues } from "lit";
|
|
3
3
|
import { SigveloFormControlElement } from "@mcp-b/wc-support/base/sigvelo-element";
|
|
4
|
-
|
|
5
4
|
//#region src/components/slider/slider.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* <sigvelo-slider>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import { t as __decorate } from "./decorate-BkO8ArQg.js";
|
|
2
2
|
import { css, html } from "lit";
|
|
3
3
|
import { property, state } from "lit/decorators.js";
|
|
4
4
|
import hostStyles from "@mcp-b/wc-support/styles/host.styles";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./icon-
|
|
2
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import "./icon-X-e-QjBp.js";
|
|
2
|
+
import { t as __decorate } from "./decorate-BkO8ArQg.js";
|
|
3
3
|
import { mirrorNativeValidity } from "./utilities/form-validity.js";
|
|
4
4
|
import { css, html } from "lit";
|
|
5
5
|
import { property, query, state } from "lit/decorators.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import { t as __decorate } from "./decorate-BkO8ArQg.js";
|
|
2
2
|
import { Localize } from "./utilities/localize.js";
|
|
3
|
-
import "./scroller-
|
|
4
|
-
import "./tab-
|
|
5
|
-
import "./tab-panel-
|
|
3
|
+
import "./scroller-TPT8BIjg.js";
|
|
4
|
+
import "./tab-BhZKKRoR.js";
|
|
5
|
+
import "./tab-panel-tPnrQegL.js";
|
|
6
6
|
import { css, html } from "lit";
|
|
7
7
|
import { property, query } from "lit/decorators.js";
|
|
8
8
|
import hostStyles from "@mcp-b/wc-support/styles/host.styles";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import "./scroller-_79O72Ac.js";
|
|
2
|
+
import "./tab-ChM3KdFB.js";
|
|
3
|
+
import "./tab-panel-B5Q5luZP.js";
|
|
1
4
|
import { CSSResultGroup, PropertyValues } from "lit";
|
|
2
5
|
import { SigveloElement } from "@mcp-b/wc-support/base/sigvelo-element";
|
|
3
|
-
|
|
4
6
|
//#region src/components/tab-list/tab-list.d.ts
|
|
5
7
|
/**
|
|
6
8
|
* <sigvelo-tab-list>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import { t as __decorate } from "./decorate-BkO8ArQg.js";
|
|
2
2
|
import { mirrorNativeValidity } from "./utilities/form-validity.js";
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { property, query, state } from "lit/decorators.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./icon-
|
|
2
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import "./icon-X-e-QjBp.js";
|
|
2
|
+
import { t as __decorate } from "./decorate-BkO8ArQg.js";
|
|
3
3
|
import { Localize } from "./utilities/localize.js";
|
|
4
4
|
import { mirrorNativeValidity } from "./utilities/form-validity.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
@@ -542,36 +542,36 @@ var SigveloTextField = class extends SigveloFormControlElement {
|
|
|
542
542
|
/>
|
|
543
543
|
|
|
544
544
|
${this.type === "password" && this.value?.length > 0 && !this.effectiveDisabled && !this.readonly ? html`
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
545
|
+
<button
|
|
546
|
+
id="password-toggle-button"
|
|
547
|
+
part="toggle-password-button"
|
|
548
|
+
class="text-box-button"
|
|
549
|
+
type="button"
|
|
550
|
+
aria-label=${this.localize.term(this.isPasswordVisible ? "hidePassword" : "showPassword")}
|
|
551
|
+
tabindex="-1"
|
|
552
|
+
@pointerdown=${this.handleTextBoxButtonPointerDown}
|
|
553
|
+
@click=${this.handlePasswordToggleClick}
|
|
554
|
+
>
|
|
555
|
+
<sigvelo-icon
|
|
556
|
+
library="system"
|
|
557
|
+
name=${this.isPasswordVisible ? "eye-off" : "eye"}
|
|
558
|
+
></sigvelo-icon>
|
|
559
|
+
</button>
|
|
560
|
+
` : ""}
|
|
561
561
|
${this.withClear && this.value?.length > 0 && !this.effectiveDisabled && !this.readonly ? html`
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
562
|
+
<button
|
|
563
|
+
id="clear-button"
|
|
564
|
+
part="clear-button"
|
|
565
|
+
class="text-box-button"
|
|
566
|
+
type="button"
|
|
567
|
+
aria-label=${this.localize.term("clearEntry")}
|
|
568
|
+
tabindex="-1"
|
|
569
|
+
@pointerdown=${this.handleTextBoxButtonPointerDown}
|
|
570
|
+
@click=${this.handleClearClick}
|
|
571
|
+
>
|
|
572
|
+
<sigvelo-icon library="system" name="circle-x"></sigvelo-icon>
|
|
573
|
+
</button>
|
|
574
|
+
` : ""}
|
|
575
575
|
|
|
576
576
|
<slot name="end"></slot>
|
|
577
577
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __decorate } from "./decorate-
|
|
1
|
+
import { t as __decorate } from "./decorate-BkO8ArQg.js";
|
|
2
2
|
import { css, html } from "lit";
|
|
3
3
|
import { property } from "lit/decorators.js";
|
|
4
4
|
import hostStyles from "@mcp-b/wc-support/styles/host.styles";
|
|
@@ -352,8 +352,10 @@ var SigveloTextMask = class extends SigveloElement {
|
|
|
352
352
|
this.styles = [hostStyles, text_mask_styles_default];
|
|
353
353
|
}
|
|
354
354
|
updated(changedProperties) {
|
|
355
|
-
if (changedProperties.has("fixed"))
|
|
356
|
-
|
|
355
|
+
if (changedProperties.has("fixed")) {
|
|
356
|
+
if (navigator.userAgent.toLowerCase().indexOf("firefox") > -1) this.style.backgroundAttachment = "scroll";
|
|
357
|
+
else this.style.backgroundAttachment = this.fixed ? "fixed" : "scroll";
|
|
358
|
+
}
|
|
357
359
|
if (changedProperties.has("image")) this.style.backgroundImage = `url(${this.image})`;
|
|
358
360
|
}
|
|
359
361
|
render() {
|