@orangelogic/design-system 2.0.0-29DUO2-beta-3 → 2.0.0-29IORR-beta-2
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/library/chunks/{AxisLabelRadial.CgPb7ghO.js → AxisLabelRadial.Bs1P_q_F.js} +1 -1
- package/library/chunks/{BaseColumnSeries.B6rG-Ylz.js → BaseColumnSeries.C7jwOxIJ.js} +1 -1
- package/library/chunks/{CandlestickSeries.C-YfO-57.js → CandlestickSeries.CkXGtRWE.js} +2 -2
- package/library/chunks/{Circle.DhoXSsjo.js → Circle.DBa5Ok8V.js} +1 -1
- package/library/chunks/{ColumnSeries.CZi2LBZ2.js → ColumnSeries.DGazbfza.js} +2 -2
- package/library/chunks/{EditableAxisLabel.CykTMTsG.js → EditableAxisLabel.wN0t_G2B.js} +2 -2
- package/library/chunks/{EditableLabel.BlQ7B4D0.js → EditableLabel.BWeq6fgX.js} +1 -1
- package/library/chunks/{Gradient.BQ0JzFEe.js → Gradient.CdcsPIru.js} +1 -1
- package/library/chunks/{LinearGradient.DuVS2EHe.js → LinearGradient.B1z9AGUt.js} +2 -2
- package/library/chunks/{Picture.DRO0jnR6.js → Picture.YSPC0l0Q.js} +1 -1
- package/library/chunks/{Polygon.DEO3f_qs.js → Polygon.BwMvXN2H.js} +1 -1
- package/library/chunks/{ProgressPie.Bryx2w1J.js → ProgressPie.DlCwXN17.js} +5 -5
- package/library/chunks/{RadialLabel.TyXECvYG.js → RadialLabel.DyVOf2K8.js} +1 -1
- package/library/chunks/{Scrollbar.DK48nKk4.js → Scrollbar.BdZVb_Z-.js} +1 -1
- package/library/chunks/{Slice.DbXRplXx.js → Slice.DiEswWa6.js} +1 -1
- package/library/chunks/{Slider.B27osQYu.js → Slider.C20No2z5.js} +1 -1
- package/library/chunks/{SpriteResizer.C4wFzD_x.js → SpriteResizer.DFnmcy0h.js} +1 -1
- package/library/chunks/{Triangle.BEmFiHyd.js → Triangle.BaOef7HV.js} +1 -1
- package/library/chunks/{ZoomTools.CBqjLDqb.js → ZoomTools.D5JPehoL.js} +1 -1
- package/library/chunks/{_baseUniq.Df-fLIBx.js → _baseUniq.BUihBa8c.js} +56 -53
- package/library/chunks/{am-chart.B_OdX4Q-.js → am-chart.H2jnOzFc.js} +254 -262
- package/library/chunks/{animation.DfUHRQry.js → animation.7ifl4x2S.js} +4 -8
- package/library/chunks/array.DCtvHiLS.js +81 -0
- package/library/chunks/asset.D7E0-cUV.js +460 -0
- package/library/chunks/{button.KnE3mcyM.js → button.CauAHfdl.js} +10 -45
- package/library/chunks/button.styles.CKqn956w.js +5 -0
- package/library/chunks/{capitalize.WSkCXkNE.js → capitalize.CNStXZBq.js} +1 -1
- package/library/chunks/{color-swatch-group.p3Sdqlat.js → color-swatch-group.D5BP2W3P.js} +50 -220
- package/library/chunks/{color-swatch.C0oPHfOu.js → color-swatch.2HS4bc3N.js} +20 -204
- package/library/chunks/{colorPicker.CJwbdhtn.js → colorPicker.06n6P3aK.js} +5 -5
- package/library/chunks/component.styles.CRO4Odto.js +5 -0
- package/library/chunks/confirm-popover.DmGAMS8X.js +121 -0
- package/library/chunks/{cropper.tSDgXKqJ.js → cropper.ZU2Dy-MM.js} +8182 -8540
- package/library/chunks/{dialog.DpZBbTCn.js → dialog.2UW1LNm1.js} +117 -314
- package/library/chunks/{dom.BQVKDNd8.js → dom.BslZF2Y_.js} +1 -1
- package/library/chunks/dot-pagination.DsAfSNzr.js +204 -0
- package/library/chunks/{endpoints.B7lcoc1N.js → endpoints.Fpyb8xvv.js} +214 -203
- package/library/chunks/{exporting.DCqJtW6l.js → exporting.Chnl3UWi.js} +2 -2
- package/library/chunks/file-on-demand.Dig_iVvx.js +1956 -0
- package/library/chunks/{flow.Ch1rU01m.js → flow.D2CqFQa7.js} +5 -5
- package/library/chunks/folder-select.BT1drT8C.js +775 -0
- package/library/chunks/form-control.styles.CaGWmeAS.js +5 -0
- package/library/chunks/{form.DgwYWi0O.js → form.CFc09rKh.js} +1 -1
- package/library/chunks/{gantt.rWdF_jmG.js → gantt.DSHD2gjO.js} +8 -8
- package/library/chunks/header.BePZwMCQ.js +170 -0
- package/library/chunks/{hierarchy.HoRJAu6S.js → hierarchy.DwVsMmsP.js} +5 -5
- package/library/chunks/{hub-connection.CfARlehM.js → hub-connection.Ot2odiCz.js} +1 -1
- package/library/chunks/{i18n.C0iakJkV.js → i18n.BFqTRDCA.js} +19 -12
- package/library/chunks/icon-button.rKe0N4VB.js +149 -0
- package/library/chunks/iframe.DznmlYpV.js +73 -0
- package/library/chunks/{image.C9avagDq.js → image.CEtCGsNL.js} +275 -488
- package/library/chunks/{index.D2JPKXqq.js → index.C9khsiad.js} +17 -17
- package/library/chunks/isObjectLike.z36Fu426.js +34 -0
- package/library/chunks/{isSymbol.huJ_Cvxt.js → isSymbol.L0C2ND_U.js} +1 -1
- package/library/chunks/{json.DHNMAC-m.js → json.zyETMOw-.js} +3 -3
- package/library/chunks/{list-editor.B2mFE9f7.js → list-editor.CJ96S1Np.js} +58 -372
- package/library/chunks/{map.BHmZ4Crx.js → map.CqM2O6LB.js} +2 -2
- package/library/chunks/option.COnEtd3X.js +123 -0
- package/library/chunks/{overlayscrollbars.XhGWx9Zk.js → overlayscrollbars.BMav4RQ4.js} +252 -958
- package/library/chunks/pagination.DaD9Yul6.js +334 -0
- package/library/chunks/{percent.CM9cr1H3.js → percent.DuQwbCCg.js} +3 -3
- package/library/chunks/{radar.CQUnnhGk.js → radar.FpYl3UH5.js} +4 -4
- package/library/chunks/{responsive.CrX-HUow.js → responsive.BndCeSg0.js} +1 -1
- package/library/chunks/{sliceGrouper.iv1p8MAK.js → sliceGrouper.BsE7fGMt.js} +1 -1
- package/library/chunks/{stock.CU0y6a5P.js → stock.BR-ag4Pt.js} +9 -9
- package/library/chunks/string.BigZhczf.js +185 -0
- package/library/chunks/{tab-group.05PY0smt.js → tab-group.0Po0eoxR.js} +33 -584
- package/library/chunks/{table.DNTm_GMS.js → table.WNd284in.js} +3535 -4852
- package/library/chunks/{timeline.yzdwtGKM.js → timeline.DkzkmgEM.js} +5 -5
- package/library/chunks/{toString.CRT5zqEU.js → toString.CL_lYXbK.js} +3 -3
- package/library/chunks/toast.B2cJgW5u.js +71 -0
- package/library/chunks/transformation.CzBptarI.js +140 -0
- package/library/chunks/{tree.CeMLCbs-.js → tree.QCQd_cuc.js} +32 -400
- package/library/chunks/typography.DJC_UXgs.js +52 -0
- package/library/chunks/url.Cj9cIQXJ.js +27 -0
- package/library/chunks/{venn.BOEi13la.js → venn.D739bOV3.js} +1 -1
- package/library/chunks/watch.BCJD77bD.js +547 -0
- package/library/chunks/{wc.V-lq02JF.js → wc.DzW311D-.js} +1 -1
- package/library/chunks/{xy.Df1hy9ac.js → xy.DCRDfTsa.js} +10 -10
- package/library/components/alert.js +11 -179
- package/library/components/am-chart.js +3 -3
- package/library/components/animated-image.js +13 -101
- package/library/components/animation.js +3 -3
- package/library/components/array-line-clamp.js +8 -89
- package/library/components/asset-link-format.js +718 -1380
- package/library/components/atoms.js +18 -18
- package/library/components/avatar.js +6 -95
- package/library/components/badge.js +11 -139
- package/library/components/bicolor-picker.js +4 -23
- package/library/components/border-input-group.js +5 -26
- package/library/components/breadcrumb-item.js +25 -156
- package/library/components/breadcrumb.js +4 -22
- package/library/components/button-group.js +3 -28
- package/library/components/button.js +6 -6
- package/library/components/card.js +4 -126
- package/library/components/checkbox.js +13 -254
- package/library/components/color-picker.js +57 -728
- package/library/components/color-swatch-group.js +9 -9
- package/library/components/color-swatch.js +5 -5
- package/library/components/confirm-popover.js +6 -6
- package/library/components/copy-button.js +11 -256
- package/library/components/corner-position-input-group.js +5 -58
- package/library/components/cropper.js +2 -2
- package/library/components/details.js +6 -152
- package/library/components/dialog.js +6 -6
- package/library/components/divider.js +6 -68
- package/library/components/dot-pagination.js +4 -4
- package/library/components/dot-status.js +25 -95
- package/library/components/drawer.js +11 -242
- package/library/components/dropdown.js +49 -151
- package/library/components/dynamic-select.js +10 -75
- package/library/components/e-chart.js +8 -51
- package/library/components/element-clamp.js +7 -80
- package/library/components/file-on-demand.js +13 -13
- package/library/components/folder-select.js +9 -7
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +3 -7
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +4 -14
- package/library/components/grid-item.js +5 -172
- package/library/components/grid.js +5 -41
- package/library/components/header.js +4 -4
- package/library/components/hub-connection.js +2 -2
- package/library/components/icon-button.js +14 -679
- package/library/components/icon.js +9 -2449
- package/library/components/iframe.js +4 -4
- package/library/components/image-comparer.js +9 -129
- package/library/components/image.js +4 -4
- package/library/components/include.js +3 -7
- package/library/components/input-group.js +4 -29
- package/library/components/input.js +358 -966
- package/library/components/line-clamp.js +7 -83
- package/library/components/list-editor.js +9 -9
- package/library/components/markdown.js +2 -4
- package/library/components/masonry.js +24 -223
- package/library/components/menu-item.js +155 -445
- package/library/components/menu-label.js +3 -20
- package/library/components/menu-section.js +3 -17
- package/library/components/menu.js +5 -113
- package/library/components/molecules.js +5 -5
- package/library/components/mutation-observer.js +3 -7
- package/library/components/option.js +4 -4
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +5 -16
- package/library/components/pagination.js +10 -8
- package/library/components/popup.js +385 -682
- package/library/components/position-picker.js +4 -94
- package/library/components/progress-bar.js +19 -136
- package/library/components/progress-ring.js +4 -95
- package/library/components/qr-code.js +5 -17
- package/library/components/radio-button.js +5 -25
- package/library/components/radio-card.js +8 -176
- package/library/components/radio-group.js +22 -153
- package/library/components/radio.js +14 -171
- package/library/components/range.js +123 -660
- package/library/components/rating.js +58 -238
- package/library/components/relative-time.js +3 -13
- package/library/components/resize-observer.js +4 -8
- package/library/components/select.js +305 -1012
- package/library/components/shadow-input-group.js +5 -24
- package/library/components/share-option-list.js +21 -313
- package/library/components/sidebar.js +15 -221
- package/library/components/size-input-group.js +12 -77
- package/library/components/skeleton.js +7 -80
- package/library/components/space.js +6 -143
- package/library/components/spinner.js +7 -76
- package/library/components/split-panel.js +18 -125
- package/library/components/step.js +21 -272
- package/library/components/stepper-wizard.js +9 -43
- package/library/components/stepper.js +17 -34
- package/library/components/switch.js +13 -276
- package/library/components/tab-group.js +7 -7
- package/library/components/tab-panel.js +5 -32
- package/library/components/tab.js +11 -257
- package/library/components/table.js +8 -8
- package/library/components/tag.js +15 -166
- package/library/components/textarea.js +183 -504
- package/library/components/timecode.js +6 -25
- package/library/components/tooltip.js +10 -94
- package/library/components/tree-item.js +4 -4
- package/library/components/tree.js +4 -4
- package/library/components/typeface.js +24 -123
- package/library/components/types.js +37225 -47339
- package/library/components/typography.js +2 -2
- package/library/components/video.js +3875 -6263
- package/library/components/visually-hidden.js +3 -15
- package/library/package.json +4 -1
- package/library/packages/atoms/src/components/dialog/dialog.d.ts +10 -0
- package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +2 -1
- package/library/packages/atoms/src/components/image/image.d.ts +15 -1
- package/library/packages/atoms/src/components/input/auto-grow-controller.d.ts +23 -0
- package/library/packages/atoms/src/components/input/input.d.ts +10 -2
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +4 -0
- package/library/packages/atoms/src/components/pagination/pagination.d.ts +32 -2
- package/library/packages/atoms/src/components/popup/overlay/Overlay.d.ts +10 -0
- package/library/packages/atoms/src/components/popup/popup.d.ts +1 -1
- package/library/packages/atoms/src/components/select/select.d.ts +11 -0
- package/library/packages/atoms/src/components/table/table.d.ts +49 -8
- package/library/packages/atoms/src/components/table/tabulator-tables/core/Tabulator.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/TabulatorFull.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DataLoader.d.ts +3 -1
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/Ajax.d.ts +1 -1
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/Edit.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/List.d.ts +40 -1
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Filter/Filter.d.ts +10 -3
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Filter/formatter-display-resolvers.d.ts +93 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/Group.d.ts +8 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupComponent.d.ts +3 -1
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupLoadMore.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupRows.d.ts +2 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Page/Page.d.ts +2 -2
- package/library/packages/atoms/src/components/textarea/textarea.d.ts +19 -4
- package/library/packages/atoms/src/components/video/video.d.ts +3 -1
- package/library/packages/events/src/cx-asset-transformation-dialog-cancel.d.ts +6 -0
- package/library/packages/events/src/cx-asset-transformation-dialog-confirm.d.ts +11 -0
- package/library/packages/events/src/cx-asset-transformation-dialog-delete.d.ts +6 -0
- package/library/packages/events/src/cx-bento-range-change.d.ts +9 -0
- package/library/packages/events/src/cx-content-builder-gallery-fetched.d.ts +10 -0
- package/library/packages/events/src/cx-lightbox-close.d.ts +6 -0
- package/library/packages/events/src/cx-lightbox-download.d.ts +11 -0
- package/library/packages/events/src/cx-unauthorized.d.ts +10 -0
- package/library/packages/events/src/cx-video-format-picker-delete.d.ts +6 -0
- package/library/packages/events/src/cx-video-format-picker-select.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +11 -1
- package/library/packages/molecules/src/cropper/cropper.d.ts +2 -0
- package/library/packages/molecules/src/cropper/react/Cropper.d.ts +2 -0
- package/library/packages/molecules/src/estimated-reading-time/estimated-reading-time.d.ts +3 -2
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +26 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree-item/folder-select-tree-item.d.ts +46 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +25 -0
- package/library/packages/molecules/src/index.d.ts +1 -0
- package/library/packages/molecules/src/storybook/storybook.d.ts +60 -23
- package/library/packages/molecules/src/timeline/timeline.d.ts +14 -0
- package/library/packages/molecules/src/video-format-picker/video-format-picker.d.ts +55 -0
- package/library/packages/molecules/src/video-format-picker/video-format-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +9 -1
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-rotation/asset-link-format-rotation.d.ts +7 -7
- package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +95 -0
- package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.styles.d.ts +2 -0
- package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +57 -26
- package/library/packages/organisms/src/bento-grid/bento-layout.d.ts +44 -0
- package/library/packages/organisms/src/carousel/carousel.d.ts +5 -1
- package/library/packages/organisms/src/comment/comment.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/block-picker/block-picker.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +10 -0
- package/library/packages/organisms/src/content-builder/components/folder-picker/folder-picker.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/configs/carousel.d.ts +6 -2
- package/library/packages/organisms/src/content-builder/configs/gallery.d.ts +6 -2
- package/library/packages/organisms/src/content-builder/configs/image.d.ts +7 -4
- package/library/packages/organisms/src/content-builder/configs/timeline.d.ts +5 -2
- package/library/packages/organisms/src/content-builder/configs/video.d.ts +11 -2
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +45 -4
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/plugins/gallery.d.ts +45 -1
- package/library/packages/organisms/src/content-builder/styleController.d.ts +20 -2
- package/library/packages/organisms/src/index.d.ts +2 -0
- package/library/packages/organisms/src/lightbox/lightbox.d.ts +79 -0
- package/library/packages/organisms/src/lightbox/lightbox.styles.d.ts +2 -0
- package/library/packages/services/src/api/asset/asset.d.ts +3 -2
- package/library/packages/services/src/api/asset/asset.types.d.ts +84 -0
- package/library/packages/services/src/api/asset/asset.utils.d.ts +9 -0
- package/library/packages/services/src/api/endpoints.d.ts +1 -1
- package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +2 -1
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +17 -5
- package/library/packages/types/src/asset-click-action.d.ts +3 -1
- package/library/packages/types/src/bento-grid.d.ts +37 -0
- package/library/packages/types/src/content-builder.d.ts +27 -1
- package/library/packages/types/src/gallery.d.ts +0 -6
- package/library/packages/types/src/icon-button.d.ts +7 -0
- package/library/packages/types/src/menu-item.d.ts +33 -0
- package/library/packages/types/src/storybook.d.ts +19 -0
- package/library/packages/types/src/table.d.ts +37 -1
- package/library/packages/types/src/textarea.d.ts +4 -0
- package/library/packages/types/src/video-format-picker.d.ts +11 -0
- package/library/packages/utils/src/actions/asset-click.d.ts +1 -3
- package/library/packages/utils/src/custom-element/i18n.d.ts +10 -3
- package/library/packages/utils/src/index.d.ts +1 -0
- package/library/packages/utils/src/string/string.d.ts +33 -0
- package/library/packages/utils/src/transformation/index.d.ts +1 -0
- package/library/packages/utils/src/url/url.d.ts +9 -0
- package/library/react-web-component.d.ts +293 -29
- package/library/utils.js +483 -178
- package/package.json +4 -1
- package/library/chunks/_baseRest.ClTMQtN1.js +0 -67
- package/library/chunks/asset.CG_yXtWK.js +0 -288
- package/library/chunks/button.styles.Dl5IQLHU.js +0 -718
- package/library/chunks/component.styles.DMSLciL5.js +0 -71
- package/library/chunks/confirm-popover.zmOFI4e-.js +0 -288
- package/library/chunks/content-builder.D_phDrlo.js +0 -127
- package/library/chunks/dot-pagination.COBkyhoJ.js +0 -325
- package/library/chunks/file-on-demand.CbE-qsiP.js +0 -3740
- package/library/chunks/folder-select.Bl_WkhVE.js +0 -844
- package/library/chunks/form-control.styles.CUGhvlfT.js +0 -67
- package/library/chunks/header.BduX6KJP.js +0 -777
- package/library/chunks/identity.ByMq8VxU.js +0 -6
- package/library/chunks/iframe.BPKV2K7z.js +0 -160
- package/library/chunks/index.B3wJT3XS.js +0 -373
- package/library/chunks/isObjectLike.D3cpZO39.js +0 -81
- package/library/chunks/option.DnpkE8Xi.js +0 -296
- package/library/chunks/pagination.C30LoTya.js +0 -341
- package/library/chunks/string.B_rEG27K.js +0 -160
- package/library/chunks/toast.BXNbwZV8.js +0 -25
- package/library/chunks/typography.oDzoLbZS.js +0 -149
- package/library/chunks/url.LjsR2sB5.js +0 -15
- package/library/chunks/watch.q1sEjPWL.js +0 -501
- /package/library/packages/{organisms/src/asset-link-format/asset-link-format.utils.d.ts → utils/src/transformation/transformation.d.ts} +0 -0
|
@@ -3,7 +3,7 @@ import l from "./input-group.js";
|
|
|
3
3
|
import m from "./space.js";
|
|
4
4
|
import { n as h, C as x } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
5
5
|
import f from "./bicolor-picker.js";
|
|
6
|
-
import { c as d } from "../chunks/component.styles.
|
|
6
|
+
import { c as d } from "../chunks/component.styles.CRO4Odto.js";
|
|
7
7
|
import { c as g } from "../chunks/custom-element.L4WJXn1j.js";
|
|
8
8
|
import { i as v, x as c } from "../chunks/lit-element.jLBm65_O.js";
|
|
9
9
|
import { c as b } from "../chunks/repeat.DbF2p5ae.js";
|
|
@@ -52,37 +52,18 @@ let i = class extends x {
|
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return c`<cx-space spacing="x-small" wrap="nowrap" align-items="end"
|
|
56
|
-
<cx-input-group @cx-change=${this.handleInputChange}>
|
|
57
|
-
${b(
|
|
55
|
+
return c`<cx-space spacing="x-small" wrap="nowrap" align-items="end"><cx-input-group @cx-change=${this.handleInputChange}>${b(
|
|
58
56
|
["X", "Y", "Blur", "Spread"],
|
|
59
57
|
(r) => r,
|
|
60
|
-
(r, e) => c`<cx-input
|
|
61
|
-
data-index=${e}
|
|
62
|
-
id=${r}
|
|
63
|
-
label=${r}
|
|
64
|
-
value=${this.value[e] ?? ""}
|
|
65
|
-
mask="numpx"
|
|
66
|
-
.maskBlocks=${{
|
|
58
|
+
(r, e) => c`<cx-input data-index=${e} id=${r} label=${r} value=${this.value[e] ?? ""} mask="numpx" .maskBlocks=${{
|
|
67
59
|
num: {
|
|
68
60
|
mask: Number,
|
|
69
61
|
min: r === "Blur" ? 0 : -1 / 0,
|
|
70
62
|
scale: 0,
|
|
71
63
|
thousandsSeparator: ""
|
|
72
64
|
}
|
|
73
|
-
}}
|
|
74
|
-
|
|
75
|
-
>
|
|
76
|
-
</cx-input>`
|
|
77
|
-
)}
|
|
78
|
-
</cx-input-group>
|
|
79
|
-
<cx-bicolor-picker
|
|
80
|
-
part="border-color"
|
|
81
|
-
value=${`${this.value[4] ?? ""} ${this.value[5] ?? ""}`}
|
|
82
|
-
.form=${this.closest("form")}
|
|
83
|
-
@cx-bicolor-picker-change=${this.handleBicolorPickerChange}
|
|
84
|
-
></cx-bicolor-picker>
|
|
85
|
-
</cx-space>`;
|
|
65
|
+
}} .form=${this.closest("form")}></cx-input>`
|
|
66
|
+
)}</cx-input-group><cx-bicolor-picker part="border-color" value=${`${this.value[4] ?? ""} ${this.value[5] ?? ""}`} .form=${this.closest("form")} @cx-bicolor-picker-change=${this.handleBicolorPickerChange}></cx-bicolor-picker></cx-space>`;
|
|
86
67
|
}
|
|
87
68
|
};
|
|
88
69
|
i.styles = [d, $];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import _ from "./icon.js";
|
|
2
2
|
import I from "./resize-observer.js";
|
|
3
3
|
import { n as h, C as P } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
4
|
-
import { c as C } from "../chunks/component.styles.
|
|
4
|
+
import { c as C } from "../chunks/component.styles.CRO4Odto.js";
|
|
5
5
|
import { c as O } from "../chunks/animate.El-MpOws.js";
|
|
6
6
|
import { c as w } from "../chunks/custom-element.L4WJXn1j.js";
|
|
7
|
-
import { L as E } from "../chunks/i18n.
|
|
7
|
+
import { L as E } from "../chunks/i18n.BFqTRDCA.js";
|
|
8
8
|
import { c as b } from "../chunks/math.DqTA6ya4.js";
|
|
9
|
-
import { w as m } from "../chunks/watch.
|
|
10
|
-
import { c as x } from "../chunks/dom.
|
|
9
|
+
import { w as m } from "../chunks/watch.BCJD77bD.js";
|
|
10
|
+
import { c as x } from "../chunks/dom.BslZF2Y_.js";
|
|
11
11
|
import { i as z, x as g } from "../chunks/lit-element.jLBm65_O.js";
|
|
12
12
|
import { r as v } from "../chunks/state.CSDxrqLd.js";
|
|
13
13
|
import { t as L } from "../chunks/event-options.CYHYGOd8.js";
|
|
@@ -17,7 +17,7 @@ import { c as M } from "../chunks/repeat.DbF2p5ae.js";
|
|
|
17
17
|
import { o as k } from "../chunks/style-map.llVFPd__.js";
|
|
18
18
|
import { n as $ } from "../chunks/when.Dr1es41R.js";
|
|
19
19
|
import T from "./tooltip.js";
|
|
20
|
-
import { C as A } from "../chunks/typography.
|
|
20
|
+
import { C as A } from "../chunks/typography.DJC_UXgs.js";
|
|
21
21
|
import { H as R } from "../chunks/slot.j5oheLJC.js";
|
|
22
22
|
const N = (e, t) => {
|
|
23
23
|
let i = 0;
|
|
@@ -68,49 +68,7 @@ if (!U) {
|
|
|
68
68
|
}
|
|
69
69
|
);
|
|
70
70
|
}
|
|
71
|
-
const D = z
|
|
72
|
-
:host {
|
|
73
|
-
display: block;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.share-option-list-item {
|
|
77
|
-
align-items: center;
|
|
78
|
-
cursor: pointer;
|
|
79
|
-
display: flex;
|
|
80
|
-
flex-direction: column;
|
|
81
|
-
gap: var(--cx-spacing-3x-small);
|
|
82
|
-
justify-content: center;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.share-option-list-item--disabled {
|
|
86
|
-
cursor: not-allowed;
|
|
87
|
-
pointer-events: none;
|
|
88
|
-
opacity: 0.5;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.share-option-list-item__icon {
|
|
92
|
-
align-items: center;
|
|
93
|
-
border-radius: var(--cx-border-radius-medium);
|
|
94
|
-
border: 1px solid var(--cx-color-neutral-200);
|
|
95
|
-
display: flex;
|
|
96
|
-
height: var(--item-size, 3.5rem);
|
|
97
|
-
justify-content: center;
|
|
98
|
-
width: var(--item-size, 3.5rem);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.share-option-list-item--selected .share-option-list-item__icon {
|
|
102
|
-
border-color: var(--cx-color-primary);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.share-option-list-item__icon cx-icon {
|
|
106
|
-
--font-size: var(--item-font-size, 2rem);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.share-option-list-item--selected .share-option-list-item__label {
|
|
110
|
-
--color: var(--cx-color-primary);
|
|
111
|
-
--font-weight: var(--cx-font-weight-semibold);
|
|
112
|
-
}
|
|
113
|
-
`;
|
|
71
|
+
const D = z`:host{display:block}.share-option-list-item{cursor:pointer;align-items:center;gap:var(--cx-spacing-3x-small);flex-direction:column;justify-content:center;display:flex}.share-option-list-item--disabled{cursor:not-allowed;pointer-events:none;opacity:.5}.share-option-list-item__icon{border-radius:var(--cx-border-radius-medium);border:1px solid var(--cx-color-neutral-200);height:var(--item-size,3.5rem);width:var(--item-size,3.5rem);justify-content:center;align-items:center;display:flex}.share-option-list-item--selected .share-option-list-item__icon{border-color:var(--cx-color-primary)}.share-option-list-item__icon cx-icon{--font-size:var(--item-font-size,2rem)}.share-option-list-item--selected .share-option-list-item__label{--color:var(--cx-color-primary);--font-weight:var(--cx-font-weight-semibold)}`;
|
|
114
72
|
var B = Object.defineProperty, j = Object.getOwnPropertyDescriptor, p = (e, t, i, s) => {
|
|
115
73
|
for (var o = s > 1 ? void 0 : s ? j(t, i) : t, n = e.length - 1, r; n >= 0; n--)
|
|
116
74
|
(r = e[n]) && (o = (s ? r(t, i, o) : r(o)) || o);
|
|
@@ -138,31 +96,15 @@ let d = class extends P {
|
|
|
138
96
|
}
|
|
139
97
|
render() {
|
|
140
98
|
const e = this.hasSlotController.test("[default]");
|
|
141
|
-
return g`<div
|
|
142
|
-
part="base"
|
|
143
|
-
class=${u({
|
|
99
|
+
return g`<div part="base" class=${u({
|
|
144
100
|
"share-option-list-item": !0,
|
|
145
101
|
"share-option-list-item--disabled": this.disabled,
|
|
146
102
|
"share-option-list-item--selected": this.selected
|
|
147
|
-
})}
|
|
148
|
-
@click=${this.handleClick}
|
|
149
|
-
>
|
|
150
|
-
<cx-tooltip
|
|
151
|
-
content=${this.tooltip}
|
|
152
|
-
?disabled=${this.disabled || !e}
|
|
153
|
-
>
|
|
154
|
-
<div class="share-option-list-item__icon">
|
|
155
|
-
${$(
|
|
103
|
+
})} @click=${this.handleClick}><cx-tooltip content=${this.tooltip} ?disabled=${this.disabled || !e}><div class="share-option-list-item__icon">${$(
|
|
156
104
|
this.isSVG,
|
|
157
105
|
() => g`<cx-icon src=${this.processedIcon}></cx-icon>`,
|
|
158
106
|
() => g`<cx-icon name=${this.icon}></cx-icon>`
|
|
159
|
-
)}
|
|
160
|
-
</div>
|
|
161
|
-
<cx-typography class="share-option-list-item__label" variant="small">
|
|
162
|
-
<slot></slot>
|
|
163
|
-
</cx-typography>
|
|
164
|
-
</cx-tooltip>
|
|
165
|
-
</div>`;
|
|
107
|
+
)}</div><cx-typography class="share-option-list-item__label" variant="small"><slot></slot></cx-typography></cx-tooltip></div>`;
|
|
166
108
|
}
|
|
167
109
|
};
|
|
168
110
|
d.styles = [C, D];
|
|
@@ -195,173 +137,7 @@ p([
|
|
|
195
137
|
d = p([
|
|
196
138
|
w("cx-share-option-list-item")
|
|
197
139
|
], d);
|
|
198
|
-
const V = z
|
|
199
|
-
:host {
|
|
200
|
-
--border: none;
|
|
201
|
-
--border-radius: var(--cx-border-radius-small);
|
|
202
|
-
--height: 100%;
|
|
203
|
-
--item-size: 3.5rem;
|
|
204
|
-
--item-font-size: 2rem;
|
|
205
|
-
--scroll-hint: 0px;
|
|
206
|
-
--slide-gap: var(--cx-spacing-medium, 1rem);
|
|
207
|
-
|
|
208
|
-
display: flex;
|
|
209
|
-
height: var(--height);
|
|
210
|
-
width: 100%;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.share-option-list {
|
|
214
|
-
display: grid;
|
|
215
|
-
gap: var(--cx-spacing-medium);
|
|
216
|
-
align-items: center;
|
|
217
|
-
min-height: 100%;
|
|
218
|
-
min-width: 100%;
|
|
219
|
-
position: relative;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.share-option-list--horizontal {
|
|
223
|
-
grid-template-columns: minmax(2rem, max-content) 1fr minmax(
|
|
224
|
-
2rem,
|
|
225
|
-
max-content
|
|
226
|
-
);
|
|
227
|
-
grid-template-areas: '. slides .';
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.share-option-list--vertical {
|
|
231
|
-
grid-template-rows: minmax(2rem, max-content) 1fr minmax(2rem, max-content);
|
|
232
|
-
grid-template-areas:
|
|
233
|
-
'.'
|
|
234
|
-
'slides'
|
|
235
|
-
'.';
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.share-option-list__placeholder {
|
|
239
|
-
grid-area: slides;
|
|
240
|
-
width: 100%;
|
|
241
|
-
height: 100%;
|
|
242
|
-
position: absolute;
|
|
243
|
-
opacity: 0;
|
|
244
|
-
pointer-events: none;
|
|
245
|
-
z-index: -1;
|
|
246
|
-
top: 0;
|
|
247
|
-
left: 0;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.share-option-list__slides {
|
|
251
|
-
grid-area: slides;
|
|
252
|
-
display: grid;
|
|
253
|
-
height: 100%;
|
|
254
|
-
width: min(100%, var(--width));
|
|
255
|
-
align-items: center;
|
|
256
|
-
overflow: auto;
|
|
257
|
-
overscroll-behavior-x: contain;
|
|
258
|
-
scrollbar-width: none;
|
|
259
|
-
border-radius: var(--cx-border-radius-small);
|
|
260
|
-
justify-self: start;
|
|
261
|
-
|
|
262
|
-
--slide-size: calc(
|
|
263
|
-
(100% - (var(--slides-per-page) - 1) * var(--slide-gap)) /
|
|
264
|
-
var(--slides-per-page)
|
|
265
|
-
);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.share-option-list__slides--horizontal {
|
|
269
|
-
grid-auto-flow: column;
|
|
270
|
-
grid-auto-columns: var(--slide-size);
|
|
271
|
-
grid-auto-rows: 100%;
|
|
272
|
-
column-gap: var(--slide-gap);
|
|
273
|
-
scroll-snap-type: x mandatory;
|
|
274
|
-
scroll-padding-inline: var(--scroll-hint);
|
|
275
|
-
padding-inline: var(--scroll-hint);
|
|
276
|
-
overflow-y: hidden;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.share-option-list__slides--vertical {
|
|
280
|
-
grid-auto-flow: row;
|
|
281
|
-
grid-auto-columns: 100%;
|
|
282
|
-
grid-auto-rows: var(--slide-size);
|
|
283
|
-
row-gap: var(--slide-gap);
|
|
284
|
-
scroll-snap-type: y mandatory;
|
|
285
|
-
scroll-padding-block: var(--scroll-hint);
|
|
286
|
-
padding-block: var(--scroll-hint);
|
|
287
|
-
overflow-x: hidden;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.share-option-list__navigation {
|
|
291
|
-
--font-size: var(--cx-font-size-x-large);
|
|
292
|
-
|
|
293
|
-
align-items: center;
|
|
294
|
-
display: flex;
|
|
295
|
-
font-size: var(--font-size);
|
|
296
|
-
justify-content: space-between;
|
|
297
|
-
position: absolute;
|
|
298
|
-
z-index: 1;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.share-option-list__navigation--horizontal {
|
|
302
|
-
height: 0;
|
|
303
|
-
left: 0;
|
|
304
|
-
transform: translateY(-50%);
|
|
305
|
-
width: 100%;
|
|
306
|
-
padding: 0 var(--cx-spacing-small);
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.share-option-list__navigation--vertical {
|
|
310
|
-
flex-direction: column;
|
|
311
|
-
height: 100%;
|
|
312
|
-
left: 50%;
|
|
313
|
-
top: 0;
|
|
314
|
-
transform: translateX(-50%);
|
|
315
|
-
width: 0;
|
|
316
|
-
padding: var(--cx-spacing-small) 0;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.share-option-list__navigation-button {
|
|
320
|
-
flex: 0 0 auto;
|
|
321
|
-
display: flex;
|
|
322
|
-
align-items: center;
|
|
323
|
-
background: transparent;
|
|
324
|
-
border: none;
|
|
325
|
-
border-radius: var(--cx-border-radius-circle);
|
|
326
|
-
font-size: inherit;
|
|
327
|
-
color: var(--cx-color-neutral-600);
|
|
328
|
-
padding: 0;
|
|
329
|
-
cursor: pointer;
|
|
330
|
-
transition: var(--cx-transition-medium) color;
|
|
331
|
-
appearance: none;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.share-option-list__navigation-button--disabled {
|
|
335
|
-
opacity: 0.5;
|
|
336
|
-
cursor: default;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.share-option-list__navigation-button--disabled::part(base) {
|
|
340
|
-
pointer-events: none;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
.share-option-list__navigation-button--hidden {
|
|
344
|
-
opacity: 0;
|
|
345
|
-
pointer-events: none;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
.share-option-list__navigation-button--previous {
|
|
349
|
-
grid-column: 1;
|
|
350
|
-
grid-row: 1;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
.share-option-list__navigation-button--next {
|
|
354
|
-
grid-column: 3;
|
|
355
|
-
grid-row: 1;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
/* Focus styles */
|
|
359
|
-
.share-option-list__slides:focus-visible,
|
|
360
|
-
.share-option-list__navigation-button:focus-visible {
|
|
361
|
-
outline: var(--cx-focus-ring);
|
|
362
|
-
outline-offset: var(--cx-focus-ring-offset);
|
|
363
|
-
}
|
|
364
|
-
`;
|
|
140
|
+
const V = z`:host{--border:none;--border-radius:var(--cx-border-radius-small);--height:100%;--item-size:3.5rem;--item-font-size:2rem;--scroll-hint:0px;--slide-gap:var(--cx-spacing-medium,1rem);height:var(--height);width:100%;display:flex}.share-option-list{gap:var(--cx-spacing-medium);align-items:center;min-width:100%;min-height:100%;display:grid;position:relative}.share-option-list--horizontal{grid-template-columns:minmax(2rem,max-content) 1fr minmax(2rem,max-content);grid-template-areas:".slides."}.share-option-list--vertical{grid-template-rows:minmax(2rem,max-content) 1fr minmax(2rem,max-content);grid-template-areas:".""slides""."}.share-option-list__placeholder{opacity:0;pointer-events:none;z-index:-1;grid-area:slides;width:100%;height:100%;position:absolute;top:0;left:0}.share-option-list__slides{height:100%;width:min(100%, var(--width));overscroll-behavior-x:contain;scrollbar-width:none;border-radius:var(--cx-border-radius-small);--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-area:slides;justify-self:start;align-items:center;display:grid;overflow:auto}.share-option-list__slides--horizontal{grid-auto-flow:column;grid-auto-columns:var(--slide-size);column-gap:var(--slide-gap);scroll-snap-type:x mandatory;scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint);grid-auto-rows:100%;overflow-y:hidden}.share-option-list__slides--vertical{grid-auto-columns:100%;grid-auto-flow:row;grid-auto-rows:var(--slide-size);row-gap:var(--slide-gap);scroll-snap-type:y mandatory;scroll-padding-block:var(--scroll-hint);padding-block:var(--scroll-hint);overflow-x:hidden}.share-option-list__navigation{--font-size:var(--cx-font-size-x-large);font-size:var(--font-size);z-index:1;justify-content:space-between;align-items:center;display:flex;position:absolute}.share-option-list__navigation--horizontal{width:100%;height:0;padding:0 var(--cx-spacing-small);left:0;transform:translateY(-50%)}.share-option-list__navigation--vertical{width:0;height:100%;padding:var(--cx-spacing-small) 0;flex-direction:column;top:0;left:50%;transform:translate(-50%)}.share-option-list__navigation-button{border-radius:var(--cx-border-radius-circle);font-size:inherit;color:var(--cx-color-neutral-600);cursor:pointer;transition:var(--cx-transition-medium) color;appearance:none;background:0 0;border:none;flex:none;align-items:center;padding:0;display:flex}.share-option-list__navigation-button--disabled{opacity:.5;cursor:default}.share-option-list__navigation-button--disabled::part(base){pointer-events:none}.share-option-list__navigation-button--hidden{opacity:0;pointer-events:none}.share-option-list__navigation-button--previous{grid-area:1/1}.share-option-list__navigation-button--next{grid-area:1/3}.share-option-list__slides:focus-visible,.share-option-list__navigation-button:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}`;
|
|
365
141
|
var G = Object.defineProperty, H = Object.getOwnPropertyDescriptor, a = (e, t, i, s) => {
|
|
366
142
|
for (var o = s > 1 ? void 0 : s ? H(t, i) : t, n = e.length - 1, r; n >= 0; n--)
|
|
367
143
|
(r = e[n]) && (o = (s ? r(t, i, o) : r(o)) || o);
|
|
@@ -591,111 +367,43 @@ let l = class extends P {
|
|
|
591
367
|
}
|
|
592
368
|
render() {
|
|
593
369
|
const { scrolling: e } = this, t = this.canScrollPrev(), i = this.canScrollNext(), s = this.localize.dir() === "ltr", o = getComputedStyle(this).getPropertyValue("--item-size"), n = getComputedStyle(this).getPropertyValue("--slide-gap");
|
|
594
|
-
return g
|
|
595
|
-
<cx-resize-observer @cx-resize=${this.calculateSlidesPerPage}>
|
|
596
|
-
<div
|
|
597
|
-
part="base"
|
|
598
|
-
class=${u({
|
|
370
|
+
return g`<cx-resize-observer @cx-resize=${this.calculateSlidesPerPage}><div part="base" class=${u({
|
|
599
371
|
"share-option-list": !0,
|
|
600
372
|
"share-option-list--empty": this.data.length === 0,
|
|
601
373
|
"share-option-list--horizontal": this.orientation === "horizontal",
|
|
602
374
|
"share-option-list--vertical": this.orientation === "vertical"
|
|
603
|
-
})}
|
|
604
|
-
@cx-share-option-list-item-selected=${this.handleShareOptionListItemSelected}
|
|
605
|
-
>
|
|
606
|
-
<div class="share-option-list__placeholder"></div>
|
|
607
|
-
<div
|
|
608
|
-
id="scroll-container"
|
|
609
|
-
part="scroll-container"
|
|
610
|
-
class=${u({
|
|
375
|
+
})} @cx-share-option-list-item-selected=${this.handleShareOptionListItemSelected}><div class="share-option-list__placeholder"></div><div id="scroll-container" part="scroll-container" class=${u({
|
|
611
376
|
"share-option-list__slides": !0,
|
|
612
377
|
"share-option-list__slides--horizontal": this.orientation === "horizontal",
|
|
613
378
|
"share-option-list__slides--vertical": this.orientation === "vertical"
|
|
614
|
-
})}
|
|
615
|
-
style=${k({
|
|
379
|
+
})} style=${k({
|
|
616
380
|
"--slides-per-page": this.calculatedSlidesPerPage,
|
|
617
381
|
"--width": `calc(${this.calculatedSlidesPerPage} * ${o} + (${this.calculatedSlidesPerPage - 1} * ${n}))`
|
|
618
|
-
})}
|
|
619
|
-
aria-busy=${e ? "true" : "false"}
|
|
620
|
-
aria-atomic="true"
|
|
621
|
-
tabindex="0"
|
|
622
|
-
@keydown=${this.handleKeyDown}
|
|
623
|
-
@scroll=${this.handleScroll}
|
|
624
|
-
@scrollend=${this.handleScrollEnd}
|
|
625
|
-
>
|
|
626
|
-
${M(
|
|
382
|
+
})} aria-busy=${e ? "true" : "false"} aria-atomic="true" tabindex="0" @keydown=${this.handleKeyDown} @scroll=${this.handleScroll} @scrollend=${this.handleScrollEnd}>${M(
|
|
627
383
|
this.data,
|
|
628
384
|
(r) => r.id,
|
|
629
|
-
(r, c) => g`<cx-share-option-list-item
|
|
630
|
-
|
|
631
|
-
value=${r.id}
|
|
632
|
-
icon=${r.icon}
|
|
633
|
-
tooltip=${r.tooltip}
|
|
634
|
-
?disabled=${r.disabled}
|
|
635
|
-
?selected=${r.id === this.selectedItem}
|
|
636
|
-
>
|
|
637
|
-
${r.name}
|
|
638
|
-
</cx-share-option-list-item>`
|
|
639
|
-
)}
|
|
640
|
-
</div>
|
|
641
|
-
|
|
642
|
-
<slot hidden></slot>
|
|
643
|
-
|
|
644
|
-
${$(
|
|
385
|
+
(r, c) => g`<cx-share-option-list-item data-index=${c} value=${r.id} icon=${r.icon} tooltip=${r.tooltip} ?disabled=${r.disabled} ?selected=${r.id === this.selectedItem}>${r.name}</cx-share-option-list-item>`
|
|
386
|
+
)}</div><slot hidden></slot>${$(
|
|
645
387
|
this.navigation === "arrows" || this.navigation === "both",
|
|
646
388
|
() => {
|
|
647
389
|
let r = s ? "chevron_left" : "chevron_right", c = s ? "chevron_right" : "chevron_left";
|
|
648
|
-
return this.orientation === "vertical" && (r = "expand_less", c = "expand_more"), g
|
|
649
|
-
<div
|
|
650
|
-
part="navigation"
|
|
651
|
-
class=${u({
|
|
390
|
+
return this.orientation === "vertical" && (r = "expand_less", c = "expand_more"), g`<div part="navigation" class=${u({
|
|
652
391
|
"share-option-list__navigation": !0,
|
|
653
392
|
"share-option-list__navigation--horizontal": this.orientation === "horizontal",
|
|
654
393
|
"share-option-list__navigation--vertical": this.orientation === "vertical"
|
|
655
|
-
})}
|
|
656
|
-
>
|
|
657
|
-
<button
|
|
658
|
-
part="navigation-button navigation-button--previous"
|
|
659
|
-
class=${u({
|
|
394
|
+
})}><button part="navigation-button navigation-button--previous" class=${u({
|
|
660
395
|
"share-option-list__navigation-button": !0,
|
|
661
396
|
"share-option-list__navigation-button--disabled": !t,
|
|
662
397
|
"share-option-list__navigation-button--hidden": !t,
|
|
663
398
|
"share-option-list__navigation-button--previous": !0
|
|
664
|
-
})}
|
|
665
|
-
aria-label=${this.localize.term("previousSlide")}
|
|
666
|
-
aria-controls="scroll-container"
|
|
667
|
-
aria-disabled=${String(!t)}
|
|
668
|
-
@click=${t ? this.handlePreviousButtonClick : null}
|
|
669
|
-
>
|
|
670
|
-
<slot name="previous-icon">
|
|
671
|
-
<cx-icon name=${r}></cx-icon>
|
|
672
|
-
</slot>
|
|
673
|
-
</button>
|
|
674
|
-
|
|
675
|
-
<button
|
|
676
|
-
part="navigation-button navigation-button--next"
|
|
677
|
-
class=${u({
|
|
399
|
+
})} aria-label=${this.localize.term("previousSlide")} aria-controls="scroll-container" aria-disabled=${String(!t)} @click=${t ? this.handlePreviousButtonClick : null}><slot name="previous-icon"><cx-icon name=${r}></cx-icon></slot></button><button part="navigation-button navigation-button--next" class=${u({
|
|
678
400
|
"share-option-list__navigation-button": !0,
|
|
679
401
|
"share-option-list__navigation-button--disabled": !i,
|
|
680
402
|
"share-option-list__navigation-button--hidden": !i,
|
|
681
403
|
"share-option-list__navigation-button--next": !0
|
|
682
|
-
})}
|
|
683
|
-
aria-label=${this.localize.term("nextSlide")}
|
|
684
|
-
aria-controls="scroll-container"
|
|
685
|
-
aria-disabled=${String(!i)}
|
|
686
|
-
@click=${i ? this.handleNextButtonClick : null}
|
|
687
|
-
>
|
|
688
|
-
<slot name="next-icon">
|
|
689
|
-
<cx-icon name=${c}></cx-icon>
|
|
690
|
-
</slot>
|
|
691
|
-
</button>
|
|
692
|
-
</div>
|
|
693
|
-
`;
|
|
404
|
+
})} aria-label=${this.localize.term("nextSlide")} aria-controls="scroll-container" aria-disabled=${String(!i)} @click=${i ? this.handleNextButtonClick : null}><slot name="next-icon"><cx-icon name=${c}></cx-icon></slot></button></div>`;
|
|
694
405
|
}
|
|
695
|
-
)}
|
|
696
|
-
</div>
|
|
697
|
-
</cx-resize-observer>
|
|
698
|
-
`;
|
|
406
|
+
)}</div></cx-resize-observer>`;
|
|
699
407
|
}
|
|
700
408
|
};
|
|
701
409
|
l.styles = [C, V];
|