@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,23 +1,23 @@
|
|
|
1
1
|
import { default as s } from "./alert.js";
|
|
2
|
-
import { bw as C } from "../chunks/am-chart.
|
|
2
|
+
import { bw as C } from "../chunks/am-chart.H2jnOzFc.js";
|
|
3
3
|
import { default as l } from "./animated-image.js";
|
|
4
|
-
import { a, e as o } from "../chunks/animation.
|
|
5
|
-
import { C as n } from "../chunks/animation.
|
|
4
|
+
import { a, e as o } from "../chunks/animation.7ifl4x2S.js";
|
|
5
|
+
import { C as n } from "../chunks/animation.7ifl4x2S.js";
|
|
6
6
|
import { default as g } from "./array-line-clamp.js";
|
|
7
7
|
import { default as b } from "./avatar.js";
|
|
8
8
|
import { default as T } from "./badge.js";
|
|
9
9
|
import { default as A } from "./breadcrumb.js";
|
|
10
10
|
import { default as D } from "./breadcrumb-item.js";
|
|
11
|
-
import { C as P } from "../chunks/button.
|
|
11
|
+
import { C as P } from "../chunks/button.CauAHfdl.js";
|
|
12
12
|
import { default as G } from "./button-group.js";
|
|
13
13
|
import { default as h } from "./card.js";
|
|
14
14
|
import { default as w } from "./checkbox.js";
|
|
15
15
|
import { default as k } from "./color-picker.js";
|
|
16
16
|
import { default as E } from "./copy-button.js";
|
|
17
17
|
import { default as L } from "./details.js";
|
|
18
|
-
import { C as j } from "../chunks/dialog.
|
|
18
|
+
import { C as j } from "../chunks/dialog.2UW1LNm1.js";
|
|
19
19
|
import { default as z } from "./divider.js";
|
|
20
|
-
import { C as q } from "../chunks/dot-pagination.
|
|
20
|
+
import { C as q } from "../chunks/dot-pagination.DsAfSNzr.js";
|
|
21
21
|
import { default as K } from "./dot-status.js";
|
|
22
22
|
import { default as W } from "./drawer.js";
|
|
23
23
|
import { default as Y } from "./dropdown.js";
|
|
@@ -29,12 +29,12 @@ import { default as fe } from "./format-number.js";
|
|
|
29
29
|
import { default as se } from "./format-time.js";
|
|
30
30
|
import { default as Ce } from "./grid.js";
|
|
31
31
|
import { default as le } from "./grid-item.js";
|
|
32
|
-
import { C as ne } from "../chunks/header.
|
|
33
|
-
import { C as ge } from "../chunks/hub-connection.
|
|
32
|
+
import { C as ne } from "../chunks/header.BePZwMCQ.js";
|
|
33
|
+
import { C as ge } from "../chunks/hub-connection.Ot2odiCz.js";
|
|
34
34
|
import { default as be } from "./icon.js";
|
|
35
|
-
import {
|
|
36
|
-
import { C as Ae } from "../chunks/iframe.
|
|
37
|
-
import { C as De } from "../chunks/image.
|
|
35
|
+
import { C as Te } from "../chunks/icon-button.rKe0N4VB.js";
|
|
36
|
+
import { C as Ae } from "../chunks/iframe.DznmlYpV.js";
|
|
37
|
+
import { C as De } from "../chunks/image.CEtCGsNL.js";
|
|
38
38
|
import { default as Pe } from "./image-comparer.js";
|
|
39
39
|
import { default as Ge } from "./include.js";
|
|
40
40
|
import { default as he } from "./input.js";
|
|
@@ -46,8 +46,8 @@ import { default as je } from "./menu-item.js";
|
|
|
46
46
|
import { default as ze } from "./menu-label.js";
|
|
47
47
|
import { default as qe } from "./menu-section.js";
|
|
48
48
|
import { default as Ke } from "./mutation-observer.js";
|
|
49
|
-
import { C as We } from "../chunks/option.
|
|
50
|
-
import { C as Ye } from "../chunks/pagination.
|
|
49
|
+
import { C as We } from "../chunks/option.COnEtd3X.js";
|
|
50
|
+
import { C as Ye } from "../chunks/pagination.DaD9Yul6.js";
|
|
51
51
|
import { default as _e } from "./popup.js";
|
|
52
52
|
import { default as ea } from "./progress-bar.js";
|
|
53
53
|
import { default as oa } from "./progress-ring.js";
|
|
@@ -69,18 +69,18 @@ import { default as wa } from "./step.js";
|
|
|
69
69
|
import { default as ka } from "./stepper.js";
|
|
70
70
|
import { default as Ea } from "./switch.js";
|
|
71
71
|
import { default as La } from "./tab.js";
|
|
72
|
-
import { C as ja } from "../chunks/tab-group.
|
|
73
|
-
import { C as za } from "../chunks/table.
|
|
72
|
+
import { C as ja } from "../chunks/tab-group.0Po0eoxR.js";
|
|
73
|
+
import { C as za } from "../chunks/table.Cs5a0duW.js";
|
|
74
74
|
import { default as qa } from "./tab-panel.js";
|
|
75
75
|
import { default as Ka } from "./tag.js";
|
|
76
76
|
import { default as Wa } from "./textarea.js";
|
|
77
77
|
import { default as Ya } from "./timecode.js";
|
|
78
78
|
import { default as _a } from "./tooltip.js";
|
|
79
|
-
import { a as eo, C as ao } from "../chunks/tree.
|
|
80
|
-
import { C as ro } from "../chunks/typography.
|
|
79
|
+
import { a as eo, C as ao } from "../chunks/tree.QCQd_cuc.js";
|
|
80
|
+
import { C as ro } from "../chunks/typography.DJC_UXgs.js";
|
|
81
81
|
import { default as xo } from "./video.js";
|
|
82
82
|
import { default as mo } from "./visually-hidden.js";
|
|
83
|
-
import { c as po } from "../chunks/component.styles.
|
|
83
|
+
import { c as po } from "../chunks/component.styles.CRO4Odto.js";
|
|
84
84
|
import { g as uo, a as lo, s as no } from "../chunks/animation-registry.HmpwNuGH.js";
|
|
85
85
|
function t() {
|
|
86
86
|
return Object.entries(a).filter(([e]) => e !== "easings").map(([e]) => e);
|
|
@@ -1,75 +1,12 @@
|
|
|
1
1
|
import { n as i, C as p } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
-
import { c as d } from "../chunks/component.styles.
|
|
2
|
+
import { c as d } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as m } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
|
-
import { w as v } from "../chunks/watch.
|
|
4
|
+
import { w as v } from "../chunks/watch.BCJD77bD.js";
|
|
5
5
|
import { i as g, x as l } from "../chunks/lit-element.jLBm65_O.js";
|
|
6
6
|
import { r as u } from "../chunks/state.CSDxrqLd.js";
|
|
7
7
|
import { e as f } from "../chunks/class-map.BiVq-cVR.js";
|
|
8
8
|
import _ from "./icon.js";
|
|
9
|
-
const x = g
|
|
10
|
-
:host {
|
|
11
|
-
display: inline-block;
|
|
12
|
-
|
|
13
|
-
--size: 3rem;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.avatar {
|
|
17
|
-
display: inline-flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
position: relative;
|
|
21
|
-
width: var(--size);
|
|
22
|
-
height: var(--size);
|
|
23
|
-
background-color: var(--cx-color-neutral-400);
|
|
24
|
-
font-family: var(--cx-font-sans);
|
|
25
|
-
font-size: calc(var(--size) * 0.5);
|
|
26
|
-
font-weight: var(--cx-font-weight-regular);
|
|
27
|
-
color: var(--cx-color-neutral-0);
|
|
28
|
-
user-select: none;
|
|
29
|
-
-webkit-user-select: none;
|
|
30
|
-
vertical-align: middle;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.avatar--circle,
|
|
34
|
-
.avatar--circle .avatar__image {
|
|
35
|
-
border-radius: var(--cx-border-radius-circle);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.avatar--rounded,
|
|
39
|
-
.avatar--rounded .avatar__image {
|
|
40
|
-
border-radius: var(--cx-border-radius-small);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.avatar--square {
|
|
44
|
-
border-radius: 0;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.avatar__icon {
|
|
48
|
-
display: flex;
|
|
49
|
-
align-items: center;
|
|
50
|
-
justify-content: center;
|
|
51
|
-
position: absolute;
|
|
52
|
-
top: 0;
|
|
53
|
-
left: 0;
|
|
54
|
-
width: 100%;
|
|
55
|
-
height: 100%;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.avatar__initials {
|
|
59
|
-
line-height: 1;
|
|
60
|
-
text-transform: uppercase;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.avatar__image {
|
|
64
|
-
position: absolute;
|
|
65
|
-
top: 0;
|
|
66
|
-
left: 0;
|
|
67
|
-
width: 100%;
|
|
68
|
-
height: 100%;
|
|
69
|
-
object-fit: cover;
|
|
70
|
-
overflow: hidden;
|
|
71
|
-
}
|
|
72
|
-
`;
|
|
9
|
+
const x = g`:host{--size:3rem;display:inline-block}.avatar{width:var(--size);height:var(--size);background-color:var(--cx-color-neutral-400);font-family:var(--cx-font-sans);font-size:calc(var(--size) * .5);font-weight:var(--cx-font-weight-regular);color:var(--cx-color-neutral-0);-webkit-user-select:none;user-select:none;vertical-align:middle;justify-content:center;align-items:center;display:inline-flex;position:relative}.avatar--circle,.avatar--circle .avatar__image{border-radius:var(--cx-border-radius-circle)}.avatar--rounded,.avatar--rounded .avatar__image{border-radius:var(--cx-border-radius-small)}.avatar--square{border-radius:0}.avatar__icon{justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.avatar__initials{text-transform:uppercase;line-height:1}.avatar__image{object-fit:cover;width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden}`;
|
|
73
10
|
var b = Object.defineProperty, y = Object.getOwnPropertyDescriptor, e = (o, r, n, s) => {
|
|
74
11
|
for (var t = s > 1 ? void 0 : s ? y(r, n) : r, c = o.length - 1, h; c >= 0; c--)
|
|
75
12
|
(h = o[c]) && (t = (s ? h(r, n, t) : h(t)) || t);
|
|
@@ -86,40 +23,14 @@ let a = class extends p {
|
|
|
86
23
|
this.hasError = !0, this.emit("cx-error");
|
|
87
24
|
}
|
|
88
25
|
render() {
|
|
89
|
-
const o = l
|
|
90
|
-
<img
|
|
91
|
-
part="image"
|
|
92
|
-
class="avatar__image"
|
|
93
|
-
src=${this.image}
|
|
94
|
-
loading=${this.loading}
|
|
95
|
-
alt=""
|
|
96
|
-
@error=${this.handleImageLoadError}
|
|
97
|
-
/>
|
|
98
|
-
`;
|
|
26
|
+
const o = l`<img part="image" class="avatar__image" src=${this.image} loading=${this.loading} alt="" @error=${this.handleImageLoadError}>`;
|
|
99
27
|
let r = null;
|
|
100
|
-
return this.initials ? r = l`<div part="initials" class="avatar__initials"
|
|
101
|
-
${this.initials}
|
|
102
|
-
</div>` : r = l`
|
|
103
|
-
<div part="icon" class="avatar__icon" aria-hidden="true">
|
|
104
|
-
<slot name="icon">
|
|
105
|
-
<cx-icon name="person"></cx-icon>
|
|
106
|
-
</slot>
|
|
107
|
-
</div>
|
|
108
|
-
`, l`
|
|
109
|
-
<div
|
|
110
|
-
part="base"
|
|
111
|
-
class=${f({
|
|
28
|
+
return this.initials ? r = l`<div part="initials" class="avatar__initials">${this.initials}</div>` : r = l`<div part="icon" class="avatar__icon" aria-hidden="true"><slot name="icon"><cx-icon name="person"></cx-icon></slot></div>`, l`<div part="base" class=${f({
|
|
112
29
|
avatar: !0,
|
|
113
30
|
"avatar--circle": this.shape === "circle",
|
|
114
31
|
"avatar--rounded": this.shape === "rounded",
|
|
115
32
|
"avatar--square": this.shape === "square"
|
|
116
|
-
})}
|
|
117
|
-
role="img"
|
|
118
|
-
aria-label=${this.label}
|
|
119
|
-
>
|
|
120
|
-
${this.image && !this.hasError ? o : r}
|
|
121
|
-
</div>
|
|
122
|
-
`;
|
|
33
|
+
})} role="img" aria-label=${this.label}>${this.image && !this.hasError ? o : r}</div>`;
|
|
123
34
|
}
|
|
124
35
|
};
|
|
125
36
|
a.styles = [d, x];
|
|
@@ -1,143 +1,20 @@
|
|
|
1
|
-
import { n as s, C as
|
|
2
|
-
import { c as
|
|
1
|
+
import { n as s, C as g } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
2
|
+
import { c as d } from "../chunks/component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as p } from "../chunks/custom-element.L4WJXn1j.js";
|
|
4
4
|
import { i as u, x as m } from "../chunks/lit-element.jLBm65_O.js";
|
|
5
5
|
import { e as x } from "../chunks/class-map.BiVq-cVR.js";
|
|
6
|
-
const v = u
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.badge {
|
|
12
|
-
display: inline-flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
font-size: var(--font-size, var(--cx-font-size-small));
|
|
16
|
-
font-weight: var(--cx-font-weight-medium);
|
|
17
|
-
letter-spacing: var(--cx-letter-spacing-normal);
|
|
18
|
-
line-height: 1;
|
|
19
|
-
border-radius: var(--cx-border-radius-small);
|
|
20
|
-
border: solid 1px var(--cx-color-neutral-0);
|
|
21
|
-
white-space: nowrap;
|
|
22
|
-
user-select: none;
|
|
23
|
-
-webkit-user-select: none;
|
|
24
|
-
cursor: inherit;
|
|
25
|
-
line-height: normal;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/* Variant modifiers */
|
|
29
|
-
.badge--primary {
|
|
30
|
-
background-color: var(--cx-color-primary);
|
|
31
|
-
border-color: var(--cx-color-primary);
|
|
32
|
-
color: var(--cx-color-neutral-0);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.badge--success {
|
|
36
|
-
background-color: var(--cx-color-success);
|
|
37
|
-
border-color: var(--cx-color-success);
|
|
38
|
-
color: var(--cx-color-neutral-0);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.badge--neutral {
|
|
42
|
-
background-color: var(--cx-color-neutral-100);
|
|
43
|
-
border-color: var(--cx-color-neutral-100);
|
|
44
|
-
color: var(--cx-color-neutral);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.badge--warning {
|
|
48
|
-
background-color: var(--cx-color-warning);
|
|
49
|
-
border-color: var(--cx-color-warning);
|
|
50
|
-
color: var(--cx-color-neutral-0);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.badge--danger {
|
|
54
|
-
background-color: var(--cx-color-danger);
|
|
55
|
-
border-color: var(--cx-color-danger);
|
|
56
|
-
color: var(--cx-color-danger-0);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/* Size modifiers */
|
|
60
|
-
.badge--x-small {
|
|
61
|
-
padding: var(--cx-spacing-2x-small) var(--cx-spacing-x-small);
|
|
62
|
-
height: var(--cx-spacing-x-small);
|
|
63
|
-
min-width: var(--cx-spacing-x-small);
|
|
64
|
-
font-size: var(--font-size, var(--cx-font-size-2x-small));
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.badge--small {
|
|
68
|
-
padding: var(--cx-spacing-2x-small) var(--cx-spacing-x-small);
|
|
69
|
-
height: var(--cx-input-height-small);
|
|
70
|
-
min-width: var(--cx-input-height-small);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.badge--medium {
|
|
74
|
-
padding: var(--cx-spacing-x-small) var(--cx-spacing-small);
|
|
75
|
-
height: var(--cx-input-height-medium);
|
|
76
|
-
min-width: var(--cx-input-height-medium);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.badge--large {
|
|
80
|
-
padding: var(--cx-spacing-small) var(--cx-spacing-medium);
|
|
81
|
-
height: var(--cx-input-height-large);
|
|
82
|
-
min-width: var(--cx-input-height-large);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/* Pill modifier */
|
|
86
|
-
.badge--pill {
|
|
87
|
-
border-radius: var(--cx-border-radius-pill);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/* Pulse modifier */
|
|
91
|
-
.badge--pulse {
|
|
92
|
-
animation: pulse 1.5s infinite;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.badge--pulse.badge--primary {
|
|
96
|
-
--pulse-color: var(--cx-color-primary);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.badge--pulse.badge--success {
|
|
100
|
-
--pulse-color: var(--cx-color-success);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.badge--pulse.badge--neutral {
|
|
104
|
-
--pulse-color: var(--cx-color-neutral-600);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.badge--pulse.badge--warning {
|
|
108
|
-
--pulse-color: var(--cx-color-warning);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.badge--pulse.badge--danger {
|
|
112
|
-
--pulse-color: var(--cx-color-danger);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
@keyframes pulse {
|
|
116
|
-
0% {
|
|
117
|
-
box-shadow: 0 0 0 0 var(--pulse-color);
|
|
118
|
-
}
|
|
119
|
-
70% {
|
|
120
|
-
box-shadow: 0 0 0 0.5rem transparent;
|
|
121
|
-
}
|
|
122
|
-
100% {
|
|
123
|
-
box-shadow: 0 0 0 0 transparent;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
`;
|
|
127
|
-
var b = Object.defineProperty, h = Object.getOwnPropertyDescriptor, a = (n, l, i, o) => {
|
|
128
|
-
for (var r = o > 1 ? void 0 : o ? h(l, i) : l, c = n.length - 1, t; c >= 0; c--)
|
|
129
|
-
(t = n[c]) && (r = (o ? t(l, i, r) : t(r)) || r);
|
|
130
|
-
return o && r && b(l, i, r), r;
|
|
6
|
+
const v = u`:host{display:inline-flex}.badge{font-size:var(--font-size,var(--cx-font-size-small));font-weight:var(--cx-font-weight-medium);letter-spacing:var(--cx-letter-spacing-normal);border-radius:var(--cx-border-radius-small);border:solid 1px var(--cx-color-neutral-0);white-space:nowrap;-webkit-user-select:none;user-select:none;cursor:inherit;justify-content:center;align-items:center;line-height:normal;display:inline-flex}.badge--primary{background-color:var(--cx-color-primary);border-color:var(--cx-color-primary);color:var(--cx-color-neutral-0)}.badge--success{background-color:var(--cx-color-success);border-color:var(--cx-color-success);color:var(--cx-color-neutral-0)}.badge--neutral{background-color:var(--cx-color-neutral-100);border-color:var(--cx-color-neutral-100);color:var(--cx-color-neutral)}.badge--warning{background-color:var(--cx-color-warning);border-color:var(--cx-color-warning);color:var(--cx-color-neutral-0)}.badge--danger{background-color:var(--cx-color-danger);border-color:var(--cx-color-danger);color:var(--cx-color-danger-0)}.badge--x-small{padding:var(--cx-spacing-2x-small) var(--cx-spacing-x-small);height:var(--cx-spacing-x-small);min-width:var(--cx-spacing-x-small);font-size:var(--font-size,var(--cx-font-size-2x-small))}.badge--small{padding:var(--cx-spacing-2x-small) var(--cx-spacing-x-small);height:var(--cx-input-height-small);min-width:var(--cx-input-height-small)}.badge--medium{padding:var(--cx-spacing-x-small) var(--cx-spacing-small);height:var(--cx-input-height-medium);min-width:var(--cx-input-height-medium)}.badge--large{padding:var(--cx-spacing-small) var(--cx-spacing-medium);height:var(--cx-input-height-large);min-width:var(--cx-input-height-large)}.badge--pill{border-radius:var(--cx-border-radius-pill)}.badge--pulse{animation:1.5s infinite pulse}.badge--pulse.badge--primary{--pulse-color:var(--cx-color-primary)}.badge--pulse.badge--success{--pulse-color:var(--cx-color-success)}.badge--pulse.badge--neutral{--pulse-color:var(--cx-color-neutral-600)}.badge--pulse.badge--warning{--pulse-color:var(--cx-color-warning)}.badge--pulse.badge--danger{--pulse-color:var(--cx-color-danger)}@keyframes pulse{0%{box-shadow:0 0 0 0 var(--pulse-color)}70%{box-shadow:0 0 0 .5rem #0000}to{box-shadow:0 0 #0000}}`;
|
|
7
|
+
var b = Object.defineProperty, h = Object.getOwnPropertyDescriptor, a = (n, l, c, o) => {
|
|
8
|
+
for (var r = o > 1 ? void 0 : o ? h(l, c) : l, i = n.length - 1, t; i >= 0; i--)
|
|
9
|
+
(t = n[i]) && (r = (o ? t(l, c, r) : t(r)) || r);
|
|
10
|
+
return o && r && b(l, c, r), r;
|
|
131
11
|
};
|
|
132
|
-
let e = class extends
|
|
12
|
+
let e = class extends g {
|
|
133
13
|
constructor() {
|
|
134
14
|
super(...arguments), this.variant = "primary", this.pill = !1, this.pulse = !1, this.size = "medium";
|
|
135
15
|
}
|
|
136
16
|
render() {
|
|
137
|
-
return m
|
|
138
|
-
<span
|
|
139
|
-
part="base"
|
|
140
|
-
class=${x({
|
|
17
|
+
return m`<span part="base" class=${x({
|
|
141
18
|
badge: !0,
|
|
142
19
|
"badge--danger": this.variant === "danger",
|
|
143
20
|
"badge--large": this.size === "large",
|
|
@@ -150,15 +27,10 @@ let e = class extends d {
|
|
|
150
27
|
"badge--success": this.variant === "success",
|
|
151
28
|
"badge--warning": this.variant === "warning",
|
|
152
29
|
"badge--x-small": this.size === "x-small"
|
|
153
|
-
})}
|
|
154
|
-
role="status"
|
|
155
|
-
>
|
|
156
|
-
<slot></slot>
|
|
157
|
-
</span>
|
|
158
|
-
`;
|
|
30
|
+
})} role="status"><slot></slot></span>`;
|
|
159
31
|
}
|
|
160
32
|
};
|
|
161
|
-
e.styles = [
|
|
33
|
+
e.styles = [d, v];
|
|
162
34
|
a([
|
|
163
35
|
s({ reflect: !0 })
|
|
164
36
|
], e.prototype, "variant", 2);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import h from "./color-picker.js";
|
|
2
2
|
import m from "./space.js";
|
|
3
3
|
import { n as p, C as u } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
4
|
-
import { c as f } from "../chunks/component.styles.
|
|
4
|
+
import { c as f } from "../chunks/component.styles.CRO4Odto.js";
|
|
5
5
|
import { c as v } from "../chunks/custom-element.L4WJXn1j.js";
|
|
6
6
|
import { i as x, x as C } from "../chunks/lit-element.jLBm65_O.js";
|
|
7
7
|
import { o as n } from "../chunks/style-map.llVFPd__.js";
|
|
@@ -32,32 +32,13 @@ let t = class extends u {
|
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return C`<cx-space spacing="x-small" wrap="nowrap"
|
|
36
|
-
<cx-color-picker
|
|
37
|
-
variant="button"
|
|
38
|
-
value=${this.value[0]}
|
|
39
|
-
hoist
|
|
40
|
-
opacity
|
|
41
|
-
.form=${this.form || this.closest("form")}
|
|
42
|
-
@cx-change=${this.handleFirstColorPickerChange}
|
|
43
|
-
style=${n({
|
|
35
|
+
return C`<cx-space spacing="x-small" wrap="nowrap"><cx-color-picker variant="button" value=${this.value[0]} hoist opacity .form=${this.form || this.closest("form")} @cx-change=${this.handleFirstColorPickerChange} style=${n({
|
|
44
36
|
"--control-button-color": "#FFFFFF",
|
|
45
37
|
"--control-caret-color": "#1A1A1E"
|
|
46
|
-
})}
|
|
47
|
-
></cx-color-picker>
|
|
48
|
-
<cx-color-picker
|
|
49
|
-
variant="button"
|
|
50
|
-
value=${this.value[1]}
|
|
51
|
-
hoist
|
|
52
|
-
opacity
|
|
53
|
-
.form=${this.form || this.closest("form")}
|
|
54
|
-
@cx-change=${this.handleSecondColorPickerChange}
|
|
55
|
-
style=${n({
|
|
38
|
+
})}></cx-color-picker><cx-color-picker variant="button" value=${this.value[1]} hoist opacity .form=${this.form || this.closest("form")} @cx-change=${this.handleSecondColorPickerChange} style=${n({
|
|
56
39
|
"--control-button-color": "#1A1A1E",
|
|
57
40
|
"--control-caret-color": "#FFFFFF"
|
|
58
|
-
})}
|
|
59
|
-
></cx-color-picker>
|
|
60
|
-
</cx-space>`;
|
|
41
|
+
})}></cx-color-picker></cx-space>`;
|
|
61
42
|
}
|
|
62
43
|
};
|
|
63
44
|
t.styles = [f, g];
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import n from "./input.js";
|
|
2
2
|
import p from "./space.js";
|
|
3
3
|
import { n as u, C as m } from "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
4
|
-
import { c as h } from "../chunks/component.styles.
|
|
4
|
+
import { c as h } from "../chunks/component.styles.CRO4Odto.js";
|
|
5
5
|
import { c as d } from "../chunks/custom-element.L4WJXn1j.js";
|
|
6
|
-
import { L as x } from "../chunks/i18n.
|
|
6
|
+
import { L as x } from "../chunks/i18n.BFqTRDCA.js";
|
|
7
7
|
import { i as v, x as b } from "../chunks/lit-element.jLBm65_O.js";
|
|
8
8
|
import f from "./bicolor-picker.js";
|
|
9
|
-
const g = v
|
|
10
|
-
.border-width {
|
|
11
|
-
width: 72px;
|
|
12
|
-
}
|
|
13
|
-
`;
|
|
9
|
+
const g = v`.border-width{width:72px}`;
|
|
14
10
|
var C = Object.defineProperty, w = Object.getOwnPropertyDescriptor, c = (r, e, t, o) => {
|
|
15
11
|
for (var a = o > 1 ? void 0 : o ? w(e, t) : e, s = r.length - 1, l; s >= 0; s--)
|
|
16
12
|
(l = r[s]) && (a = (o ? l(e, t, a) : l(a)) || a);
|
|
@@ -39,31 +35,14 @@ let i = class extends m {
|
|
|
39
35
|
});
|
|
40
36
|
}
|
|
41
37
|
render() {
|
|
42
|
-
return b`<cx-space spacing="x-small" wrap="nowrap"
|
|
43
|
-
<cx-bicolor-picker
|
|
44
|
-
part="border-color"
|
|
45
|
-
value=${`${this.value[0]} ${this.value[1]}`}
|
|
46
|
-
.form=${this.closest("form")}
|
|
47
|
-
@cx-bicolor-picker-change=${this.handleBiColorPickerChange}
|
|
48
|
-
></cx-bicolor-picker>
|
|
49
|
-
<cx-input
|
|
50
|
-
part="border-width"
|
|
51
|
-
class="border-width"
|
|
52
|
-
value=${this.value[2]}
|
|
53
|
-
mask="numpx"
|
|
54
|
-
.maskBlocks=${{
|
|
38
|
+
return b`<cx-space spacing="x-small" wrap="nowrap"><cx-bicolor-picker part="border-color" value=${`${this.value[0]} ${this.value[1]}`} .form=${this.closest("form")} @cx-bicolor-picker-change=${this.handleBiColorPickerChange}></cx-bicolor-picker><cx-input part="border-width" class="border-width" value=${this.value[2]} mask="numpx" .maskBlocks=${{
|
|
55
39
|
num: {
|
|
56
40
|
mask: Number,
|
|
57
41
|
min: 0,
|
|
58
42
|
scale: 0,
|
|
59
43
|
thousandsSeparator: ""
|
|
60
44
|
}
|
|
61
|
-
}}
|
|
62
|
-
.form=${this.closest("form")}
|
|
63
|
-
@cx-change=${this.handleBorderWidthInputChange}
|
|
64
|
-
placeholder=${this.localize.term("borderWidth")}
|
|
65
|
-
></cx-input>
|
|
66
|
-
</cx-space>`;
|
|
45
|
+
}} .form=${this.closest("form")} @cx-change=${this.handleBorderWidthInputChange} placeholder=${this.localize.term("borderWidth")}></cx-input></cx-space>`;
|
|
67
46
|
}
|
|
68
47
|
};
|
|
69
48
|
i.styles = [h, g];
|