@orangelogic/design-system 2.0.0-29DUO2-beta-2 → 2.0.0-29IORR-beta-1
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.BoVb3qVt.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.CKP1W_u1.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.C-0PQZX9.js → list-editor.xBvtJqdy.js} +58 -372
- package/library/chunks/{map.BHmZ4Crx.js → map.CqM2O6LB.js} +2 -2
- package/library/chunks/{modal.CG-kZq41.js → modal.U1QltQKe.js} +1 -1
- 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/{tabbable.BwnZBHrm.js → tabbable.CcMz3mIL.js} +2 -2
- package/library/chunks/{table.DNTm_GMS.js → table.Cs5a0duW.js} +2903 -4591
- 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 +7 -7
- 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 +12 -243
- package/library/components/dropdown.js +50 -152
- package/library/components/dynamic-select.js +10 -75
- package/library/components/e-chart.js +493 -534
- 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 +35172 -45146
- 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 +42 -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/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/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 +289 -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.DlN4hgLS.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.DZtadqgL.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.CwrqgSke.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
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "./space.js";
|
|
2
|
-
import "../chunks/table.
|
|
3
|
-
import "../chunks/typography.
|
|
2
|
+
import "../chunks/table.Cs5a0duW.js";
|
|
3
|
+
import "../chunks/typography.DJC_UXgs.js";
|
|
4
4
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
5
|
-
import "../chunks/color-swatch.
|
|
6
|
-
import "../chunks/component.styles.
|
|
7
|
-
import { C as w } from "../chunks/color-swatch-group.
|
|
8
|
-
import "../chunks/
|
|
5
|
+
import "../chunks/color-swatch.2HS4bc3N.js";
|
|
6
|
+
import "../chunks/component.styles.CRO4Odto.js";
|
|
7
|
+
import { C as w } from "../chunks/color-swatch-group.BoVb3qVt.js";
|
|
8
|
+
import "../chunks/toast.B2cJgW5u.js";
|
|
9
9
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
10
10
|
import "../chunks/debounce.DaHuiSGU.js";
|
|
11
|
-
import "../chunks/i18n.
|
|
12
|
-
import "../chunks/watch.
|
|
13
|
-
import "../chunks/responsive.
|
|
11
|
+
import "../chunks/i18n.BFqTRDCA.js";
|
|
12
|
+
import "../chunks/watch.BCJD77bD.js";
|
|
13
|
+
import "../chunks/responsive.BndCeSg0.js";
|
|
14
14
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
15
15
|
import "../chunks/state.CSDxrqLd.js";
|
|
16
16
|
import "../chunks/query.BBf1UFkC.js";
|
|
@@ -2,15 +2,15 @@ import "./copy-button.js";
|
|
|
2
2
|
import "./line-clamp.js";
|
|
3
3
|
import "./resize-observer.js";
|
|
4
4
|
import "./space.js";
|
|
5
|
-
import "../chunks/typography.
|
|
5
|
+
import "../chunks/typography.DJC_UXgs.js";
|
|
6
6
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
7
|
-
import "../chunks/component.styles.
|
|
8
|
-
import { C as q } from "../chunks/color-swatch.
|
|
7
|
+
import "../chunks/component.styles.CRO4Odto.js";
|
|
8
|
+
import { C as q } from "../chunks/color-swatch.2HS4bc3N.js";
|
|
9
9
|
import "../chunks/color.vLD2sNTs.js";
|
|
10
10
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
11
11
|
import "../chunks/debounce.DaHuiSGU.js";
|
|
12
|
-
import "../chunks/i18n.
|
|
13
|
-
import "../chunks/watch.
|
|
12
|
+
import "../chunks/i18n.BFqTRDCA.js";
|
|
13
|
+
import "../chunks/watch.BCJD77bD.js";
|
|
14
14
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
15
15
|
import "../chunks/state.CSDxrqLd.js";
|
|
16
16
|
import "../chunks/query.BBf1UFkC.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../chunks/button.
|
|
2
|
-
import "../chunks/dialog.
|
|
1
|
+
import "../chunks/button.CauAHfdl.js";
|
|
2
|
+
import "../chunks/dialog.2UW1LNm1.js";
|
|
3
3
|
import "./dropdown.js";
|
|
4
|
-
import "../chunks/typography.
|
|
4
|
+
import "../chunks/typography.DJC_UXgs.js";
|
|
5
5
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
|
-
import "../chunks/component.styles.
|
|
7
|
-
import { C as x } from "../chunks/confirm-popover.
|
|
6
|
+
import "../chunks/component.styles.CRO4Odto.js";
|
|
7
|
+
import { C as x } from "../chunks/confirm-popover.DmGAMS8X.js";
|
|
8
8
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
9
|
-
import "../chunks/i18n.
|
|
9
|
+
import "../chunks/i18n.BFqTRDCA.js";
|
|
10
10
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
11
11
|
import "../chunks/query.BBf1UFkC.js";
|
|
12
12
|
import "../chunks/class-map.BiVq-cVR.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as r, C as y } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c as m } from "../chunks/component.styles.
|
|
2
|
+
import { c as m } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as f } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as g } from "../chunks/i18n.
|
|
4
|
+
import { L as g } from "../chunks/i18n.BFqTRDCA.js";
|
|
5
5
|
import { H as x } from "../chunks/slot.j5oheLJC.js";
|
|
6
|
-
import { w as v } from "../chunks/watch.
|
|
6
|
+
import { w as v } from "../chunks/watch.BCJD77bD.js";
|
|
7
7
|
import { i as _, x as b } from "../chunks/lit-element.jLBm65_O.js";
|
|
8
8
|
import { r as u } from "../chunks/state.CSDxrqLd.js";
|
|
9
9
|
import { e as p } from "../chunks/query.BBf1UFkC.js";
|
|
@@ -12,205 +12,9 @@ import { n as C } from "../chunks/when.Dr1es41R.js";
|
|
|
12
12
|
import { s as d, g as h } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
13
13
|
import z from "./icon.js";
|
|
14
14
|
import k from "./tooltip.js";
|
|
15
|
-
const I = _
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
--success-color: var(--cx-color-success);
|
|
19
|
-
|
|
20
|
-
--background-color: light-dark(
|
|
21
|
-
var(--cx-color-primary),
|
|
22
|
-
var(--cx-color-primary)
|
|
23
|
-
);
|
|
24
|
-
--color: light-dark(
|
|
25
|
-
var(--cx-color-neutral-0),
|
|
26
|
-
var(--cx-color-neutral-1000)
|
|
27
|
-
);
|
|
28
|
-
display: inline-block;
|
|
29
|
-
position: relative;
|
|
30
|
-
width: auto;
|
|
31
|
-
cursor: pointer;
|
|
32
|
-
line-height: normal;
|
|
33
|
-
max-width: 100%;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.copy-button {
|
|
37
|
-
display: inline-flex;
|
|
38
|
-
align-items: stretch;
|
|
39
|
-
justify-content: center;
|
|
40
|
-
width: 100%;
|
|
41
|
-
max-width: 100%;
|
|
42
|
-
border-style: solid;
|
|
43
|
-
border-width: var(--cx-input-border-width);
|
|
44
|
-
font-family: var(--cx-input-font-family);
|
|
45
|
-
font-weight: var(--cx-font-weight-regular);
|
|
46
|
-
text-decoration: none;
|
|
47
|
-
text-transform: var(--cx-button-text-transform, none);
|
|
48
|
-
user-select: none;
|
|
49
|
-
-webkit-user-select: none;
|
|
50
|
-
white-space: nowrap;
|
|
51
|
-
vertical-align: middle;
|
|
52
|
-
padding: 0;
|
|
53
|
-
transition:
|
|
54
|
-
var(--cx-transition-x-fast) background-color,
|
|
55
|
-
var(--cx-transition-x-fast) color,
|
|
56
|
-
var(--cx-transition-x-fast) border,
|
|
57
|
-
var(--cx-transition-x-fast) box-shadow;
|
|
58
|
-
cursor: inherit;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.copy-button__label {
|
|
62
|
-
max-width: 100%;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.copy-button::-moz-focus-inner {
|
|
66
|
-
border: 0;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.copy-button:focus-visible {
|
|
70
|
-
outline: var(--cx-focus-ring);
|
|
71
|
-
outline-offset: var(--cx-focus-ring-offset);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.copy-button {
|
|
75
|
-
background-color: transparent;
|
|
76
|
-
border-color: transparent;
|
|
77
|
-
color: var(--cx-color-neutral);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.copy-button.copy-button--has-label:hover:not(.copy-button--disabled),
|
|
81
|
-
.copy-button.copy-button--has-label.copy-button--focused:not(
|
|
82
|
-
.copy-button--disabled
|
|
83
|
-
) {
|
|
84
|
-
background-color: var(--cx-color-neutral-100);
|
|
85
|
-
border-color: var(--cx-color-neutral-100);
|
|
86
|
-
color: var(--cx-color-neutral);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.copy-button.copy-button--has-label:active:not(.copy-button--disabled) {
|
|
90
|
-
background-color: var(--cx-color-neutral-200);
|
|
91
|
-
border-color: var(--cx-color-neutral-200);
|
|
92
|
-
color: var(--cx-color-neutral);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.copy-button--disabled {
|
|
96
|
-
opacity: 0.5;
|
|
97
|
-
cursor: default;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/* When disabled, prevent mouse events from bubbling up from children */
|
|
101
|
-
.copy-button--disabled * {
|
|
102
|
-
pointer-events: none;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/* make icon slots overlapped each other using grid */
|
|
106
|
-
.copy-button__icon-wrapper {
|
|
107
|
-
display: inline-grid;
|
|
108
|
-
grid-template-columns: 1fr;
|
|
109
|
-
background: none;
|
|
110
|
-
border: none;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.copy-button__icon-wrapper slot {
|
|
114
|
-
grid-row-start: 1;
|
|
115
|
-
grid-column-start: 1;
|
|
116
|
-
display: inline-flex;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.copy-button__icon {
|
|
120
|
-
flex: 0 0 auto;
|
|
121
|
-
display: flex;
|
|
122
|
-
align-items: center;
|
|
123
|
-
pointer-events: none;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.copy-button--copy-success .copy-button__icon {
|
|
127
|
-
color: var(--success-color);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.copy-button--copy-error .copy-button__icon {
|
|
131
|
-
color: var(--error-color);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.copy-button__label {
|
|
135
|
-
display: inline-flex;
|
|
136
|
-
align-items: center;
|
|
137
|
-
justify-content: center;
|
|
138
|
-
line-height: 1;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/*
|
|
142
|
-
* Size modifiers
|
|
143
|
-
*/
|
|
144
|
-
|
|
145
|
-
.copy-button {
|
|
146
|
-
background-color: var(--button-background-color, unset);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.copy-button--small {
|
|
150
|
-
height: auto;
|
|
151
|
-
min-height: var(--cx-input-height-small);
|
|
152
|
-
font-size: var(--button-font-size, var(--cx-button-font-size-medium));
|
|
153
|
-
border-radius: var(--cx-button-border-radius-small);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.copy-button--small .copy-button__icon {
|
|
157
|
-
--font-size: var(--button-font-size, var(--cx-font-size-medium));
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.copy-button--medium {
|
|
161
|
-
height: auto;
|
|
162
|
-
min-height: var(--cx-input-height-medium);
|
|
163
|
-
font-size: var(--button-font-size, var(--cx-button-font-size-medium));
|
|
164
|
-
border-radius: var(--cx-button-border-radius-medium);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.copy-button--large {
|
|
168
|
-
height: auto;
|
|
169
|
-
min-height: var(--cx-input-height-large);
|
|
170
|
-
font-size: var(--button-font-size, var(--cx-button-font-size-medium));
|
|
171
|
-
border-radius: var(--cx-button-border-radius-large);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.copy-button--x-large {
|
|
175
|
-
height: auto;
|
|
176
|
-
min-height: var(--cx-input-height-x-large);
|
|
177
|
-
font-size: var(--button-font-size, var(--cx-button-font-size-medium));
|
|
178
|
-
border-radius: var(--cx-button-border-radius-large);
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/*
|
|
182
|
-
* Button spacing
|
|
183
|
-
*/
|
|
184
|
-
|
|
185
|
-
.copy-button--small {
|
|
186
|
-
padding: var(--button-padding, 0 var(--cx-spacing-x-small));
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.copy-button--medium {
|
|
190
|
-
padding: var(--button-padding, 0 var(--cx-spacing-medium));
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.copy-button--large {
|
|
194
|
-
padding: var(--button-padding, 0 var(--cx-spacing-large));
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.copy-button--x-large {
|
|
198
|
-
padding: var(--button-padding, 0 var(--cx-spacing-x-large));
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.copy-button--has-label:not(.copy-button--no-icon).copy-button--small
|
|
202
|
-
.copy-button__label,
|
|
203
|
-
.copy-button--has-label:not(.copy-button--no-icon).copy-button--medium
|
|
204
|
-
.copy-button__label,
|
|
205
|
-
.copy-button--has-label:not(.copy-button--no-icon).copy-button--large
|
|
206
|
-
.copy-button__label,
|
|
207
|
-
.copy-button--has-label:not(.copy-button--no-icon).copy-button--x-large
|
|
208
|
-
.copy-button__label {
|
|
209
|
-
padding-inline-start: var(--cx-spacing-x-small);
|
|
210
|
-
}
|
|
211
|
-
`;
|
|
212
|
-
var L = Object.defineProperty, S = Object.getOwnPropertyDescriptor, o = (e, a, c, n) => {
|
|
213
|
-
for (var i = n > 1 ? void 0 : n ? S(a, c) : a, s = e.length - 1, l; s >= 0; s--)
|
|
15
|
+
const I = _`:host{--error-color:var(--cx-color-danger);--success-color:var(--cx-color-success);--background-color:light-dark(var(--cx-color-primary),var(--cx-color-primary));--color:light-dark(var(--cx-color-neutral-0),var(--cx-color-neutral-1000));cursor:pointer;width:auto;max-width:100%;line-height:normal;display:inline-block;position:relative}.copy-button{border-style:solid;border-width:var(--cx-input-border-width);width:100%;max-width:100%;font-family:var(--cx-input-font-family);font-weight:var(--cx-font-weight-regular);text-transform:var(--cx-button-text-transform,none);-webkit-user-select:none;user-select:none;white-space:nowrap;vertical-align:middle;transition:var(--cx-transition-x-fast) background-color, var(--cx-transition-x-fast) color, var(--cx-transition-x-fast) border, var(--cx-transition-x-fast) box-shadow;cursor:inherit;justify-content:center;align-items:stretch;padding:0;text-decoration:none;display:inline-flex}.copy-button__label{max-width:100%}.copy-button::-moz-focus-inner{border:0}.copy-button:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.copy-button{color:var(--cx-color-neutral);background-color:#0000;border-color:#0000}.copy-button.copy-button--has-label:hover:not(.copy-button--disabled),.copy-button.copy-button--has-label.copy-button--focused:not(.copy-button--disabled){background-color:var(--cx-color-neutral-100);border-color:var(--cx-color-neutral-100);color:var(--cx-color-neutral)}.copy-button.copy-button--has-label:active:not(.copy-button--disabled){background-color:var(--cx-color-neutral-200);border-color:var(--cx-color-neutral-200);color:var(--cx-color-neutral)}.copy-button--disabled{opacity:.5;cursor:default}.copy-button--disabled *{pointer-events:none}.copy-button__icon-wrapper{background:0 0;border:none;grid-template-columns:1fr;display:inline-grid}.copy-button__icon-wrapper slot{grid-row-start:1;grid-column-start:1;display:inline-flex}.copy-button__icon{pointer-events:none;flex:none;align-items:center;display:flex}.copy-button--copy-success .copy-button__icon{color:var(--success-color)}.copy-button--copy-error .copy-button__icon{color:var(--error-color)}.copy-button__label{justify-content:center;align-items:center;line-height:1;display:inline-flex}.copy-button{background-color:var(--button-background-color,unset)}.copy-button--small{height:auto;min-height:var(--cx-input-height-small);font-size:var(--button-font-size,var(--cx-button-font-size-medium));border-radius:var(--cx-button-border-radius-small)}.copy-button--small .copy-button__icon{--font-size:var(--button-font-size,var(--cx-font-size-medium))}.copy-button--medium{height:auto;min-height:var(--cx-input-height-medium);font-size:var(--button-font-size,var(--cx-button-font-size-medium));border-radius:var(--cx-button-border-radius-medium)}.copy-button--large{height:auto;min-height:var(--cx-input-height-large);font-size:var(--button-font-size,var(--cx-button-font-size-medium));border-radius:var(--cx-button-border-radius-large)}.copy-button--x-large{height:auto;min-height:var(--cx-input-height-x-large);font-size:var(--button-font-size,var(--cx-button-font-size-medium));border-radius:var(--cx-button-border-radius-large)}.copy-button--small{padding:var(--button-padding,0 var(--cx-spacing-x-small))}.copy-button--medium{padding:var(--button-padding,0 var(--cx-spacing-medium))}.copy-button--large{padding:var(--button-padding,0 var(--cx-spacing-large))}.copy-button--x-large{padding:var(--button-padding,0 var(--cx-spacing-x-large))}.copy-button--has-label:not(.copy-button--no-icon).copy-button--small .copy-button__label,.copy-button--has-label:not(.copy-button--no-icon).copy-button--medium .copy-button__label,.copy-button--has-label:not(.copy-button--no-icon).copy-button--large .copy-button__label,.copy-button--has-label:not(.copy-button--no-icon).copy-button--x-large .copy-button__label{padding-inline-start:var(--cx-spacing-x-small)}`;
|
|
16
|
+
var L = Object.defineProperty, F = Object.getOwnPropertyDescriptor, o = (e, a, c, n) => {
|
|
17
|
+
for (var i = n > 1 ? void 0 : n ? F(a, c) : a, s = e.length - 1, l; s >= 0; s--)
|
|
214
18
|
(l = e[s]) && (i = (n ? l(a, c, i) : l(i)) || i);
|
|
215
19
|
return n && i && L(a, c, i), i;
|
|
216
20
|
};
|
|
@@ -276,21 +80,12 @@ let t = class extends y {
|
|
|
276
80
|
await this.updateComplete, this.tooltip.content = this.getTooltipContent();
|
|
277
81
|
}
|
|
278
82
|
render() {
|
|
279
|
-
return b
|
|
280
|
-
<cx-tooltip
|
|
281
|
-
placement=${this.tooltipPlacement}
|
|
282
|
-
distance=${this.tooltipDistance}
|
|
283
|
-
?disabled=${this.disabled}
|
|
284
|
-
?hoist=${this.hoist}
|
|
285
|
-
exportparts="
|
|
83
|
+
return b`<cx-tooltip placement=${this.tooltipPlacement} distance=${this.tooltipDistance} ?disabled=${this.disabled} ?hoist=${this.hoist} exportparts="
|
|
286
84
|
base:tooltip__base,
|
|
287
85
|
base__popup:tooltip__base__popup,
|
|
288
86
|
base__arrow:tooltip__base__arrow,
|
|
289
87
|
body:tooltip__body
|
|
290
|
-
"
|
|
291
|
-
>
|
|
292
|
-
<button
|
|
293
|
-
class=${w({
|
|
88
|
+
"><button class=${w({
|
|
294
89
|
"copy-button": !0,
|
|
295
90
|
"copy-button--copy-error": this.status === "error",
|
|
296
91
|
"copy-button--copy-success": this.status === "success",
|
|
@@ -302,50 +97,10 @@ let t = class extends y {
|
|
|
302
97
|
"copy-button--no-icon": this.noIcon,
|
|
303
98
|
"copy-button--small": this.size === "small",
|
|
304
99
|
"copy-button--x-large": this.size === "x-large"
|
|
305
|
-
})}
|
|
306
|
-
aria-label=${this.label}
|
|
307
|
-
part="button"
|
|
308
|
-
type="button"
|
|
309
|
-
?disabled=${this.disabled}
|
|
310
|
-
@click=${this.handleCopy}
|
|
311
|
-
@keydown=${this.handleKeyDown}
|
|
312
|
-
@blur=${this.handleBlur}
|
|
313
|
-
@focus=${this.handleFocus}
|
|
314
|
-
>
|
|
315
|
-
${C(
|
|
100
|
+
})} aria-label=${this.label} part="button" type="button" ?disabled=${this.disabled} @click=${this.handleCopy} @keydown=${this.handleKeyDown} @blur=${this.handleBlur} @focus=${this.handleFocus}>${C(
|
|
316
101
|
!this.noIcon,
|
|
317
|
-
() => b
|
|
318
|
-
|
|
319
|
-
<slot
|
|
320
|
-
part="copy-icon"
|
|
321
|
-
name="copy-icon"
|
|
322
|
-
class="copy-button__icon"
|
|
323
|
-
>
|
|
324
|
-
<cx-icon name="content_copy"></cx-icon>
|
|
325
|
-
</slot>
|
|
326
|
-
<slot
|
|
327
|
-
part="success-icon"
|
|
328
|
-
name="success-icon"
|
|
329
|
-
hidden
|
|
330
|
-
class="copy-button__icon"
|
|
331
|
-
>
|
|
332
|
-
<cx-icon name="check"></cx-icon>
|
|
333
|
-
</slot>
|
|
334
|
-
<slot
|
|
335
|
-
part="error-icon"
|
|
336
|
-
name="error-icon"
|
|
337
|
-
hidden
|
|
338
|
-
class="copy-button__icon"
|
|
339
|
-
>
|
|
340
|
-
<cx-icon name="close"></cx-icon>
|
|
341
|
-
</slot>
|
|
342
|
-
</div>
|
|
343
|
-
`
|
|
344
|
-
)}
|
|
345
|
-
<slot part="label" class="copy-button__label"></slot>
|
|
346
|
-
</button>
|
|
347
|
-
</cx-tooltip>
|
|
348
|
-
`;
|
|
102
|
+
() => b`<div part="icon-wrapper" class="copy-button__icon-wrapper"><slot part="copy-icon" name="copy-icon" class="copy-button__icon"><cx-icon name="content_copy"></cx-icon></slot><slot part="success-icon" name="success-icon" hidden class="copy-button__icon"><cx-icon name="check"></cx-icon></slot><slot part="error-icon" name="error-icon" hidden class="copy-button__icon"><cx-icon name="close"></cx-icon></slot></div>`
|
|
103
|
+
)}<slot part="label" class="copy-button__label"></slot></button></cx-tooltip>`;
|
|
349
104
|
}
|
|
350
105
|
};
|
|
351
106
|
t.styles = [m, I];
|
|
@@ -1,27 +1,14 @@
|
|
|
1
1
|
import u from "./input.js";
|
|
2
|
-
import { C as h } from "../chunks/option.
|
|
2
|
+
import { C as h } from "../chunks/option.COnEtd3X.js";
|
|
3
3
|
import m from "./select.js";
|
|
4
4
|
import x from "./space.js";
|
|
5
5
|
import { n as l, C as g } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
6
|
-
import { c as C } from "../chunks/component.styles.
|
|
6
|
+
import { c as C } from "../chunks/component.styles.CRO4Odto.js";
|
|
7
7
|
import { C as o } from "../chunks/index.Cpamj0jB.js";
|
|
8
8
|
import { c as d } from "../chunks/custom-element.L4WJXn1j.js";
|
|
9
|
-
import { L as _ } from "../chunks/i18n.
|
|
9
|
+
import { L as _ } from "../chunks/i18n.BFqTRDCA.js";
|
|
10
10
|
import { i as v, x as y } from "../chunks/lit-element.jLBm65_O.js";
|
|
11
|
-
const $ = v
|
|
12
|
-
:host {
|
|
13
|
-
display: block;
|
|
14
|
-
width: 100%;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.corner-position-input-group__inputs {
|
|
18
|
-
width: 100%;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.corner-position-input-group__input {
|
|
22
|
-
flex: 1;
|
|
23
|
-
}
|
|
24
|
-
`;
|
|
11
|
+
const $ = v`:host{width:100%;display:block}.corner-position-input-group__inputs{width:100%}.corner-position-input-group__input{flex:1}`;
|
|
25
12
|
var X = Object.defineProperty, Y = Object.getOwnPropertyDescriptor, r = (e, t, f, n) => {
|
|
26
13
|
for (var i = n > 1 ? void 0 : n ? Y(t, f) : t, c = e.length - 1, a; c >= 0; c--)
|
|
27
14
|
(a = e[c]) && (i = (n ? a(t, f, i) : a(i)) || i);
|
|
@@ -79,47 +66,7 @@ let s = class extends g {
|
|
|
79
66
|
});
|
|
80
67
|
}
|
|
81
68
|
render() {
|
|
82
|
-
return y`<cx-space
|
|
83
|
-
class="corner-position-input-group"
|
|
84
|
-
direction="vertical"
|
|
85
|
-
>
|
|
86
|
-
<cx-select
|
|
87
|
-
class="corner-position-input-group__select"
|
|
88
|
-
value=${this.position}
|
|
89
|
-
label="Position"
|
|
90
|
-
name="position"
|
|
91
|
-
hoist
|
|
92
|
-
@cx-change=${this.handlePositionChange}
|
|
93
|
-
>
|
|
94
|
-
<cx-option value=${o.TopLeft}>Top Left</cx-option>
|
|
95
|
-
<cx-option value=${o.TopRight}>Top Right</cx-option>
|
|
96
|
-
<cx-option value=${o.BottomLeft}>Bottom Left</cx-option>
|
|
97
|
-
<cx-option value=${o.BottomRight}>Bottom Right</cx-option>
|
|
98
|
-
</cx-select>
|
|
99
|
-
<cx-space
|
|
100
|
-
class="corner-position-input-group__inputs"
|
|
101
|
-
direction="horizontal"
|
|
102
|
-
>
|
|
103
|
-
<cx-input
|
|
104
|
-
class="corner-position-input-group__input"
|
|
105
|
-
value=${this.offsetY}
|
|
106
|
-
label=${this.localize.term(this.offsetYKey)}
|
|
107
|
-
name="offset-y"
|
|
108
|
-
mask=${p.mask}
|
|
109
|
-
.maskBlocks=${p.maskBlocks}
|
|
110
|
-
@cx-change=${this.handleOffsetYChange}
|
|
111
|
-
></cx-input>
|
|
112
|
-
<cx-input
|
|
113
|
-
class="corner-position-input-group__input"
|
|
114
|
-
value=${this.offsetX}
|
|
115
|
-
label=${this.localize.term(this.offsetXKey)}
|
|
116
|
-
name="offset-x"
|
|
117
|
-
mask=${p.mask}
|
|
118
|
-
.maskBlocks=${p.maskBlocks}
|
|
119
|
-
@cx-change=${this.handleOffsetXChange}
|
|
120
|
-
></cx-input>
|
|
121
|
-
</cx-space>
|
|
122
|
-
</cx-space>`;
|
|
69
|
+
return y`<cx-space class="corner-position-input-group" direction="vertical"><cx-select class="corner-position-input-group__select" value=${this.position} label="Position" name="position" hoist @cx-change=${this.handlePositionChange}><cx-option value=${o.TopLeft}>Top Left</cx-option><cx-option value=${o.TopRight}>Top Right</cx-option><cx-option value=${o.BottomLeft}>Bottom Left</cx-option><cx-option value=${o.BottomRight}>Bottom Right</cx-option></cx-select><cx-space class="corner-position-input-group__inputs" direction="horizontal"><cx-input class="corner-position-input-group__input" value=${this.offsetY} label=${this.localize.term(this.offsetYKey)} name="offset-y" mask=${p.mask} .maskBlocks=${p.maskBlocks} @cx-change=${this.handleOffsetYChange}></cx-input><cx-input class="corner-position-input-group__input" value=${this.offsetX} label=${this.localize.term(this.offsetXKey)} name="offset-x" mask=${p.mask} .maskBlocks=${p.maskBlocks} @cx-change=${this.handleOffsetXChange}></cx-input></cx-space></cx-space>`;
|
|
123
70
|
}
|
|
124
71
|
};
|
|
125
72
|
s.styles = [C, $];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import "../chunks/component.styles.
|
|
2
|
+
import "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import "../chunks/asset-link-format.BSRDqHg7.js";
|
|
4
4
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
5
5
|
import "../chunks/lit-element.jLBm65_O.js";
|
|
6
6
|
import "../chunks/state.CSDxrqLd.js";
|
|
7
7
|
import "../chunks/query.BBf1UFkC.js";
|
|
8
8
|
import "../chunks/when.Dr1es41R.js";
|
|
9
|
-
import { C as l } from "../chunks/cropper.
|
|
9
|
+
import { C as l } from "../chunks/cropper.ZU2Dy-MM.js";
|
|
10
10
|
export {
|
|
11
11
|
l as default
|
|
12
12
|
};
|
|
@@ -1,125 +1,16 @@
|
|
|
1
1
|
import { n as c, C as b } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c as v } from "../chunks/component.styles.
|
|
2
|
+
import { c as v } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { s as h, a as p, b as m } from "../chunks/animate.El-MpOws.js";
|
|
4
4
|
import { c as x } from "../chunks/custom-element.L4WJXn1j.js";
|
|
5
5
|
import { w as u } from "../chunks/event.mFzZi4sr.js";
|
|
6
|
-
import { L as g } from "../chunks/i18n.
|
|
7
|
-
import { w as _ } from "../chunks/watch.
|
|
6
|
+
import { L as g } from "../chunks/i18n.BFqTRDCA.js";
|
|
7
|
+
import { w as _ } from "../chunks/watch.BCJD77bD.js";
|
|
8
8
|
import { i as w, x as k } from "../chunks/lit-element.jLBm65_O.js";
|
|
9
9
|
import { e as l } from "../chunks/query.BBf1UFkC.js";
|
|
10
10
|
import { e as C } from "../chunks/class-map.BiVq-cVR.js";
|
|
11
11
|
import { s as y, g as f } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
12
12
|
import D from "./icon.js";
|
|
13
|
-
const O = w
|
|
14
|
-
:host {
|
|
15
|
-
display: block;
|
|
16
|
-
--details-background-color: inherit;
|
|
17
|
-
--details-border: inherit;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
::slotted(cx-column) {
|
|
21
|
-
padding: var(--cx-spacing-3x-small);
|
|
22
|
-
min-height: max(var(--min-height), 100px);
|
|
23
|
-
max-height: var(--max-height, 100%);
|
|
24
|
-
overflow: auto;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.details {
|
|
28
|
-
border: var(--details-border, solid 1px var(--cx-color-neutral-200));
|
|
29
|
-
background-color: var(--details-background-color, --cx-color-neutral-0);
|
|
30
|
-
overflow-anchor: none;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.details--disabled {
|
|
34
|
-
opacity: 0.5;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.details__header {
|
|
38
|
-
display: flex;
|
|
39
|
-
align-items: center;
|
|
40
|
-
border-radius: var(--header-border-radius, var(--cx-border-radius-small));
|
|
41
|
-
padding: var(--header-padding, var(--cx-spacing-small));
|
|
42
|
-
user-select: none;
|
|
43
|
-
-webkit-user-select: none;
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
color: var(--header-color, var(--cx-color-neutral));
|
|
46
|
-
font-weight: var(--cx-font-weight-semibold);
|
|
47
|
-
font-size: var(--header-font-size, var(--cx-font-size-medium));
|
|
48
|
-
background-color: var(--header-background-color, var(--cx-color-neutral-0));
|
|
49
|
-
border: var(--header-border) solid;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.details--open .details__header {
|
|
53
|
-
background-color: var(
|
|
54
|
-
--header-active-background-color,
|
|
55
|
-
var(--cx-color-neutral-0)
|
|
56
|
-
);
|
|
57
|
-
color: var(--header-active-color, var(--cx-color-neutral));
|
|
58
|
-
border: var(--header-active-border) solid;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.details__header::-webkit-details-marker {
|
|
62
|
-
display: none;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.details__header:focus {
|
|
66
|
-
outline: none;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.details__header:focus-visible {
|
|
70
|
-
outline: var(--cx-focus-ring);
|
|
71
|
-
outline-offset: calc(1px + var(--cx-focus-ring-offset));
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.details--disabled .details__header {
|
|
75
|
-
cursor: default;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.details--disabled .details__header:focus-visible {
|
|
79
|
-
outline: none;
|
|
80
|
-
box-shadow: none;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.details__summary {
|
|
84
|
-
flex: 1 1 auto;
|
|
85
|
-
display: flex;
|
|
86
|
-
align-items: center;
|
|
87
|
-
font: var(--cx-font-label-medium);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.details__summary-icon {
|
|
91
|
-
flex: 0 0 auto;
|
|
92
|
-
display: flex;
|
|
93
|
-
align-items: center;
|
|
94
|
-
transition: var(--cx-transition-medium) rotate ease;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.details--open .details__summary-icon {
|
|
98
|
-
rotate: 90deg;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.details--open.details--rtl .details__summary-icon {
|
|
102
|
-
rotate: -90deg;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.details--open slot[name='expand-icon'],
|
|
106
|
-
.details:not(.details--open) slot[name='collapse-icon'] {
|
|
107
|
-
display: none;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.details__body {
|
|
111
|
-
overflow: hidden;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.details__content {
|
|
115
|
-
display: block;
|
|
116
|
-
padding: var(
|
|
117
|
-
--content-padding,
|
|
118
|
-
var(--cx-spacing-small) var(--cx-spacing-medium) var(--cx-spacing-small)
|
|
119
|
-
var(--cx-spacing-medium)
|
|
120
|
-
);
|
|
121
|
-
}
|
|
122
|
-
`;
|
|
13
|
+
const O = w`:host{--details-background-color:inherit;--details-border:inherit;display:block}::slotted(cx-column){padding:var(--cx-spacing-3x-small);min-height:max(var(--min-height), 100px);max-height:var(--max-height,100%);overflow:auto}.details{border:var(--details-border,solid 1px var(--cx-color-neutral-200));border-width:var(--details-border-width,1px);background-color:var(--details-background-color,--cx-color-neutral-0);overflow-anchor:none}.details--disabled{opacity:.5}.details__header{border-radius:var(--header-border-radius,var(--cx-border-radius-small));padding:var(--header-padding,var(--cx-spacing-small));-webkit-user-select:none;user-select:none;cursor:pointer;color:var(--header-color,var(--cx-color-neutral));font-weight:var(--cx-font-weight-semibold);font-size:var(--header-font-size,var(--cx-font-size-medium));background-color:var(--header-background-color,var(--cx-color-neutral-0));border:var(--header-border) solid;align-items:center;display:flex}.details--open .details__header{background-color:var(--header-active-background-color,var(--cx-color-neutral-0));color:var(--header-active-color,var(--cx-color-neutral));border:var(--header-active-border) solid}.details__header::-webkit-details-marker{display:none}.details__header:focus{outline:none}.details__header:focus-visible{outline:var(--cx-focus-ring);outline-offset:calc(1px + var(--cx-focus-ring-offset))}.details--disabled .details__header{cursor:default}.details--disabled .details__header:focus-visible{box-shadow:none;outline:none}.details__summary{font:var(--cx-font-label-medium);flex:auto;align-items:center;display:flex}.details__summary-icon{transition:var(--cx-transition-medium) rotate ease;flex:none;align-items:center;display:flex}.details--open .details__summary-icon{rotate:90deg}.details--open.details--rtl .details__summary-icon{rotate:-90deg}.details--open slot[name=expand-icon],.details:not(.details--open) slot[name=collapse-icon]{display:none}.details__body{overflow:hidden}.details__content{padding:var(--content-padding,var(--cx-spacing-small) var(--cx-spacing-medium) var(--cx-spacing-small) var(--cx-spacing-medium));display:block}`;
|
|
123
14
|
var $ = Object.defineProperty, z = Object.getOwnPropertyDescriptor, i = (e, a, s, r) => {
|
|
124
15
|
for (var o = r > 1 ? void 0 : r ? z(a, s) : a, d = e.length - 1, n; d >= 0; d--)
|
|
125
16
|
(n = e[d]) && (o = (r ? n(a, s, o) : n(o)) || o);
|
|
@@ -190,49 +81,12 @@ let t = class extends b {
|
|
|
190
81
|
}
|
|
191
82
|
render() {
|
|
192
83
|
const e = this.localize.dir() === "rtl";
|
|
193
|
-
return k
|
|
194
|
-
<details
|
|
195
|
-
part="base"
|
|
196
|
-
class=${C({
|
|
84
|
+
return k`<details part="base" class=${C({
|
|
197
85
|
details: !0,
|
|
198
86
|
"details--disabled": this.disabled,
|
|
199
87
|
"details--open": this.open,
|
|
200
88
|
"details--rtl": e
|
|
201
|
-
})}
|
|
202
|
-
>
|
|
203
|
-
<summary
|
|
204
|
-
part="header"
|
|
205
|
-
id="header"
|
|
206
|
-
class="details__header"
|
|
207
|
-
role="button"
|
|
208
|
-
aria-expanded=${this.open ? "true" : "false"}
|
|
209
|
-
aria-controls="content"
|
|
210
|
-
aria-disabled=${this.disabled ? "true" : "false"}
|
|
211
|
-
tabindex=${this.disabled ? "-1" : "0"}
|
|
212
|
-
@click=${this.handleSummaryClick}
|
|
213
|
-
@keydown=${this.handleSummaryKeyDown}
|
|
214
|
-
>
|
|
215
|
-
<slot name="summary" part="summary" class="details__summary">
|
|
216
|
-
${this.summary}
|
|
217
|
-
</slot>
|
|
218
|
-
<span part="summary-icon" class="details__summary-icon">
|
|
219
|
-
<slot name="expand-icon">
|
|
220
|
-
<cx-icon
|
|
221
|
-
name=${e ? "chevron_left" : "chevron_right"}
|
|
222
|
-
></cx-icon>
|
|
223
|
-
</slot>
|
|
224
|
-
<slot name="collapse-icon">
|
|
225
|
-
<cx-icon
|
|
226
|
-
name=${e ? "chevron_left" : "chevron_right"}
|
|
227
|
-
></cx-icon>
|
|
228
|
-
</slot>
|
|
229
|
-
</span>
|
|
230
|
-
</summary>
|
|
231
|
-
<div class="details__body" role="region" aria-labelledby="header">
|
|
232
|
-
<slot part="content" id="content" class="details__content"></slot>
|
|
233
|
-
</div>
|
|
234
|
-
</details>
|
|
235
|
-
`;
|
|
89
|
+
})}><summary part="header" id="header" class="details__header" role="button" aria-expanded=${this.open ? "true" : "false"} aria-controls="content" aria-disabled=${this.disabled ? "true" : "false"} tabindex=${this.disabled ? "-1" : "0"} @click=${this.handleSummaryClick} @keydown=${this.handleSummaryKeyDown}><slot name="summary" part="summary" class="details__summary">${this.summary}</slot><span part="summary-icon" class="details__summary-icon"><slot name="expand-icon"><cx-icon name=${e ? "chevron_left" : "chevron_right"}></cx-icon></slot><slot name="collapse-icon"><cx-icon name=${e ? "chevron_left" : "chevron_right"}></cx-icon></slot></span></summary><div class="details__body" role="region" aria-labelledby="header"><slot part="content" id="content" class="details__content"></slot></div></details>`;
|
|
236
90
|
}
|
|
237
91
|
};
|
|
238
92
|
t.styles = [v, O];
|