kritzel-stencil 0.4.30 → 0.4.31
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/LICENSE +21 -21
- package/LICENSE.md +49 -49
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kritzel-active-users_46.cjs.entry.js +112 -112
- package/dist/cjs/kritzel-brush-style.cjs.entry.js +1 -1
- package/dist/cjs/{schema.constants-CcvqL5nJ.js → schema.constants-0ySX0cg3.js} +6 -6
- package/dist/collection/components/core/kritzel-awareness-cursors/kritzel-awareness-cursors.css +115 -115
- package/dist/collection/components/core/kritzel-awareness-cursors/kritzel-awareness-cursors.js +1 -1
- package/dist/collection/components/core/kritzel-cursor-trail/kritzel-cursor-trail.css +10 -10
- package/dist/collection/components/core/kritzel-cursor-trail/kritzel-cursor-trail.js +1 -1
- package/dist/collection/components/core/kritzel-editor/kritzel-editor.css +160 -160
- package/dist/collection/components/core/kritzel-editor/kritzel-editor.js +18 -18
- package/dist/collection/components/core/kritzel-engine/kritzel-engine.css +80 -80
- package/dist/collection/components/core/kritzel-engine/kritzel-engine.js +21 -21
- package/dist/collection/components/core/kritzel-watermark/kritzel-watermark.css +29 -29
- package/dist/collection/components/core/kritzel-watermark/kritzel-watermark.js +2 -2
- package/dist/collection/components/shared/kritzel-avatar/kritzel-avatar.css +58 -58
- package/dist/collection/components/shared/kritzel-avatar/kritzel-avatar.js +3 -3
- package/dist/collection/components/shared/kritzel-brush-style/kritzel-brush-style.css +42 -42
- package/dist/collection/components/shared/kritzel-brush-style/kritzel-brush-style.js +3 -3
- package/dist/collection/components/shared/kritzel-button/kritzel-button.css +73 -73
- package/dist/collection/components/shared/kritzel-button/kritzel-button.js +2 -2
- package/dist/collection/components/shared/kritzel-color/kritzel-color.css +24 -24
- package/dist/collection/components/shared/kritzel-color/kritzel-color.js +2 -2
- package/dist/collection/components/shared/kritzel-color-palette/kritzel-color-palette.css +46 -46
- package/dist/collection/components/shared/kritzel-color-palette/kritzel-color-palette.js +1 -1
- package/dist/collection/components/shared/kritzel-dialog/kritzel-dialog.css +209 -209
- package/dist/collection/components/shared/kritzel-dropdown/kritzel-dropdown.css +190 -190
- package/dist/collection/components/shared/kritzel-dropdown/kritzel-dropdown.js +2 -2
- package/dist/collection/components/shared/kritzel-font/kritzel-font.css +10 -10
- package/dist/collection/components/shared/kritzel-font/kritzel-font.js +1 -1
- package/dist/collection/components/shared/kritzel-font-family/kritzel-font-family.css +48 -48
- package/dist/collection/components/shared/kritzel-font-family/kritzel-font-family.js +2 -2
- package/dist/collection/components/shared/kritzel-font-size/kritzel-font-size.css +30 -30
- package/dist/collection/components/shared/kritzel-font-size/kritzel-font-size.js +1 -1
- package/dist/collection/components/shared/kritzel-icon/kritzel-icon.css +18 -18
- package/dist/collection/components/shared/kritzel-input/kritzel-input.css +69 -69
- package/dist/collection/components/shared/kritzel-input/kritzel-input.js +1 -1
- package/dist/collection/components/shared/kritzel-line-endings/kritzel-line-endings.css +60 -60
- package/dist/collection/components/shared/kritzel-line-endings/kritzel-line-endings.js +3 -3
- package/dist/collection/components/shared/kritzel-master-detail/kritzel-master-detail.css +190 -190
- package/dist/collection/components/shared/kritzel-master-detail/kritzel-master-detail.js +3 -3
- package/dist/collection/components/shared/kritzel-menu/kritzel-menu.css +34 -34
- package/dist/collection/components/shared/kritzel-menu/kritzel-menu.js +1 -1
- package/dist/collection/components/shared/kritzel-menu-item/kritzel-menu-item.css +166 -166
- package/dist/collection/components/shared/kritzel-menu-item/kritzel-menu-item.js +2 -2
- package/dist/collection/components/shared/kritzel-numeric-input/kritzel-numeric-input.css +102 -102
- package/dist/collection/components/shared/kritzel-numeric-input/kritzel-numeric-input.js +1 -1
- package/dist/collection/components/shared/kritzel-opacity-slider/kritzel-opacity-slider.css +85 -85
- package/dist/collection/components/shared/kritzel-opacity-slider/kritzel-opacity-slider.js +1 -1
- package/dist/collection/components/shared/kritzel-pill-tabs/kritzel-pill-tabs.css +68 -68
- package/dist/collection/components/shared/kritzel-pill-tabs/kritzel-pill-tabs.js +2 -2
- package/dist/collection/components/shared/kritzel-portal/kritzel-portal.js +1 -1
- package/dist/collection/components/shared/kritzel-shape-fill/kritzel-shape-fill.css +47 -47
- package/dist/collection/components/shared/kritzel-shape-fill/kritzel-shape-fill.js +4 -4
- package/dist/collection/components/shared/kritzel-slide-toggle/kritzel-slide-toggle.css +48 -48
- package/dist/collection/components/shared/kritzel-slide-toggle/kritzel-slide-toggle.js +1 -1
- package/dist/collection/components/shared/kritzel-split-button/kritzel-split-button.css +78 -78
- package/dist/collection/components/shared/kritzel-split-button/kritzel-split-button.js +1 -1
- package/dist/collection/components/shared/kritzel-stroke-size/kritzel-stroke-size.css +37 -37
- package/dist/collection/components/shared/kritzel-stroke-size/kritzel-stroke-size.js +1 -1
- package/dist/collection/components/shared/kritzel-tooltip/kritzel-tooltip.css +18 -18
- package/dist/collection/components/shared/kritzel-tooltip/kritzel-tooltip.js +2 -2
- package/dist/collection/components/ui/kritzel-active-users/kritzel-active-users.css +65 -65
- package/dist/collection/components/ui/kritzel-back-to-content/kritzel-back-to-content.css +42 -42
- package/dist/collection/components/ui/kritzel-back-to-content/kritzel-back-to-content.js +1 -1
- package/dist/collection/components/ui/kritzel-context-menu/kritzel-context-menu.css +112 -112
- package/dist/collection/components/ui/kritzel-controls/kritzel-controls.css +331 -331
- package/dist/collection/components/ui/kritzel-controls/kritzel-controls.js +6 -6
- package/dist/collection/components/ui/kritzel-current-user/kritzel-current-user.css +11 -11
- package/dist/collection/components/ui/kritzel-current-user/kritzel-current-user.js +1 -1
- package/dist/collection/components/ui/kritzel-current-user-dialog/kritzel-current-user-dialog.css +39 -39
- package/dist/collection/components/ui/kritzel-current-user-dialog/kritzel-current-user-dialog.js +1 -1
- package/dist/collection/components/ui/kritzel-export/kritzel-export.css +89 -89
- package/dist/collection/components/ui/kritzel-export/kritzel-export.js +1 -1
- package/dist/collection/components/ui/kritzel-loading-overlay/kritzel-loading-overlay.css +54 -54
- package/dist/collection/components/ui/kritzel-loading-overlay/kritzel-loading-overlay.js +1 -1
- package/dist/collection/components/ui/kritzel-login-dialog/kritzel-login-dialog.css +98 -98
- package/dist/collection/components/ui/kritzel-login-dialog/kritzel-login-dialog.js +1 -1
- package/dist/collection/components/ui/kritzel-more-menu/kritzel-more-menu.css +58 -58
- package/dist/collection/components/ui/kritzel-more-menu/kritzel-more-menu.js +2 -2
- package/dist/collection/components/ui/kritzel-notification-card/kritzel-notification-card.css +101 -101
- package/dist/collection/components/ui/kritzel-settings/kritzel-settings.css +137 -137
- package/dist/collection/components/ui/kritzel-settings/kritzel-settings.js +1 -1
- package/dist/collection/components/ui/kritzel-share-dialog/kritzel-share-dialog.css +150 -150
- package/dist/collection/components/ui/kritzel-share-dialog/kritzel-share-dialog.js +2 -2
- package/dist/collection/components/ui/kritzel-tool-config/kritzel-tool-config.css +38 -38
- package/dist/collection/components/ui/kritzel-utility-panel/kritzel-utility-panel.css +45 -45
- package/dist/collection/components/ui/kritzel-utility-panel/kritzel-utility-panel.js +1 -1
- package/dist/collection/components/ui/kritzel-workspace-manager/kritzel-workspace-manager.css +16 -16
- package/dist/collection/components/ui/kritzel-zoom-panel/kritzel-zoom-panel.css +72 -72
- package/dist/collection/components/ui/kritzel-zoom-panel/kritzel-zoom-panel.js +1 -1
- package/dist/collection/constants/version.js +1 -1
- package/dist/collection/helpers/cursor.helper.js +6 -6
- package/dist/collection/helpers/svg-export.helper.js +41 -41
- package/dist/components/index.js +2 -2
- package/dist/components/kritzel-active-users.js +1 -1
- package/dist/components/kritzel-avatar.js +1 -1
- package/dist/components/kritzel-awareness-cursors.js +1 -1
- package/dist/components/kritzel-back-to-content.js +1 -1
- package/dist/components/kritzel-brush-style.js +2 -2
- package/dist/components/kritzel-button.js +1 -1
- package/dist/components/kritzel-color-palette.js +1 -1
- package/dist/components/kritzel-color.js +1 -1
- package/dist/components/kritzel-controls.js +1 -1
- package/dist/components/kritzel-current-user-dialog.js +1 -1
- package/dist/components/kritzel-current-user.js +1 -1
- package/dist/components/kritzel-cursor-trail.js +1 -1
- package/dist/components/kritzel-dialog.js +1 -1
- package/dist/components/kritzel-dropdown.js +1 -1
- package/dist/components/kritzel-editor.js +51 -51
- package/dist/components/kritzel-engine.js +1 -1
- package/dist/components/kritzel-export.js +1 -1
- package/dist/components/kritzel-font-family.js +1 -1
- package/dist/components/kritzel-font-size.js +1 -1
- package/dist/components/kritzel-font.js +1 -1
- package/dist/components/kritzel-input.js +1 -1
- package/dist/components/kritzel-line-endings.js +1 -1
- package/dist/components/kritzel-loading-overlay.js +1 -1
- package/dist/components/kritzel-login-dialog.js +1 -1
- package/dist/components/kritzel-master-detail.js +1 -1
- package/dist/components/kritzel-menu-item.js +1 -1
- package/dist/components/kritzel-menu.js +1 -1
- package/dist/components/kritzel-more-menu.js +1 -1
- package/dist/components/kritzel-numeric-input.js +1 -1
- package/dist/components/kritzel-opacity-slider.js +1 -1
- package/dist/components/kritzel-pill-tabs.js +1 -1
- package/dist/components/kritzel-portal.js +1 -1
- package/dist/components/kritzel-settings.js +1 -1
- package/dist/components/kritzel-shape-fill.js +1 -1
- package/dist/components/kritzel-share-dialog.js +1 -1
- package/dist/components/kritzel-slide-toggle.js +1 -1
- package/dist/components/kritzel-split-button.js +1 -1
- package/dist/components/kritzel-stroke-size.js +1 -1
- package/dist/components/kritzel-tool-config.js +1 -1
- package/dist/components/kritzel-tooltip.js +1 -1
- package/dist/components/kritzel-utility-panel.js +1 -1
- package/dist/components/kritzel-watermark.js +1 -1
- package/dist/components/kritzel-workspace-manager.js +1 -1
- package/dist/components/kritzel-zoom-panel.js +1 -1
- package/dist/components/{p-DTB3ykgO.js → p-B65Z2K81.js} +1 -1
- package/dist/components/{p-4uoSa0Xl.js → p-B6cwfdo3.js} +2 -2
- package/dist/components/{p-ChPs27Fd.js → p-BBA9F6Bi.js} +4 -4
- package/dist/components/{p-Dvn6ad4a.js → p-BCrNNQKI.js} +1 -1
- package/dist/components/{p-CoXN583u.js → p-BGJ-1pXX.js} +3 -3
- package/dist/components/{p-CBrn5AIB.js → p-BTRiw0VC.js} +1 -1
- package/dist/components/{p-DoxFuOy1.js → p-Bu6TjCs0.js} +2 -2
- package/dist/components/{p-Ce1j1-Hg.js → p-BvpI1eL4.js} +3 -3
- package/dist/components/{p-CAXR5-S9.js → p-BwC3bHai.js} +4 -4
- package/dist/components/{p-DX2nriaq.js → p-C2NV0SgA.js} +1 -1
- package/dist/components/{p-BPzdPKWE.js → p-CAGey5Xt.js} +3 -3
- package/dist/components/{p-C0FEC_gS.js → p-C_4J10HD.js} +2 -2
- package/dist/components/{p-NOWtUeeQ.js → p-C_fBqaep.js} +1 -1
- package/dist/components/{p-Ba0c-tu2.js → p-CzibK3BJ.js} +2 -2
- package/dist/components/{p-Cm33td2O.js → p-D0SKmg_J.js} +1 -1
- package/dist/components/{p-OUl5CA4Y.js → p-D497dAd-.js} +1 -1
- package/dist/components/{p-BmBebQMI.js → p-DC7noKZD.js} +7 -7
- package/dist/components/{p-CXpv9Rxe.js → p-DGcug5rp.js} +2 -2
- package/dist/components/{p-DkHYY72B.js → p-DIE74Wkf.js} +2 -2
- package/dist/components/{p-DOTdJ3JQ.js → p-DKkQMbfN.js} +3 -3
- package/dist/components/{p-DnmVD1Mz.js → p-DKuxmP3T.js} +2 -2
- package/dist/components/{p-bAacqNHq.js → p-DQX5iqJB.js} +2 -2
- package/dist/components/{p-DUmLsjKb.js → p-DTzNzE9j.js} +1 -1
- package/dist/components/{p-Df3BwVGy.js → p-D_XWdMC3.js} +2 -2
- package/dist/components/{p-B38_9BJg.js → p-Da56LiC2.js} +1 -1
- package/dist/components/{p-CeffYwAK.js → p-DaE8xcJ8.js} +19 -19
- package/dist/components/{p-CYwoBiqy.js → p-DcG-UAoL.js} +50 -50
- package/dist/components/{p-BeSKOETx.js → p-Dm6TZsys.js} +2 -2
- package/dist/components/{p-DhabvHJM.js → p-DuyNKEne.js} +3 -3
- package/dist/components/{p-DFMZEarE.js → p-DyWg1f0y.js} +1 -1
- package/dist/components/{p-DN9p3G9K.js → p-FDwfHj3U.js} +3 -3
- package/dist/components/{p-DK0anxtL.js → p-P70dtHet.js} +1 -1
- package/dist/components/{p-CucCT7Qn.js → p-R6NeY_RA.js} +2 -2
- package/dist/components/{p-BFYtCsZu.js → p-XOXeNvvd.js} +2 -2
- package/dist/components/{p-jIKskj3S.js → p-ZwkkxMNZ.js} +1 -1
- package/dist/components/{p-BprEDRpA.js → p-auUCvUOc.js} +2 -2
- package/dist/components/{p-D0Ed8epW.js → p-b5XSApfh.js} +4 -4
- package/dist/components/{p-djJSnjAX.js → p-fp1y_eAN.js} +2 -2
- package/dist/components/{p-Dpm75DfV.js → p-mCRS0Vii.js} +5 -5
- package/dist/components/{p-DOl-95VY.js → p-ml3LLPFB.js} +10 -10
- package/dist/components/{p-D_cyY7Nd.js → p-xFCFDper.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/kritzel-active-users_46.entry.js +112 -112
- package/dist/esm/kritzel-brush-style.entry.js +1 -1
- package/dist/esm/{schema.constants-De_S50eB.js → schema.constants-D3OqvrMh.js} +6 -6
- package/dist/stencil/index.esm.js +2 -2
- package/dist/stencil/{p-1a398b42.entry.js → p-307b09bd.entry.js} +112 -112
- package/dist/stencil/{p-fb32cd8f.entry.js → p-905f7ab4.entry.js} +1 -1
- package/dist/stencil/{p-De_S50eB.js → p-D3OqvrMh.js} +6 -6
- package/dist/stencil/stencil.esm.js +1 -1
- package/dist/types/constants/version.d.ts +1 -1
- package/package.json +2 -1
- package/readme.md +10 -10
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
position: relative;
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
font-family: sans-serif;
|
|
6
|
-
z-index: 1;
|
|
7
|
-
padding: var(--kritzel-split-button-padding, 4px);
|
|
8
|
-
background-color: var(--kritzel-split-button-background-color, #ffffff);
|
|
9
|
-
border-radius: var(--kritzel-split-button-border-radius, 12px);
|
|
10
|
-
box-shadow: var(--kritzel-split-button-box-shadow, 0 0 3px rgba(0, 0, 0, 0.08));
|
|
11
|
-
border: var(--kritzel-split-button-border, 1px solid #ebebeb);
|
|
12
|
-
gap: var(--kritzel-split-button-gap, 4px);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
:host(.mobile){
|
|
16
|
-
--kritzel-split-button-hover-background-color: transparent;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
button {
|
|
20
|
-
border: none;
|
|
21
|
-
background-color: transparent;
|
|
22
|
-
padding: 0;
|
|
23
|
-
margin: 0;
|
|
24
|
-
font-family: inherit;
|
|
25
|
-
font-size: inherit;
|
|
26
|
-
color: var(--kritzel-split-button-color, #000000);
|
|
27
|
-
-webkit-appearance: none;
|
|
28
|
-
-moz-appearance: none;
|
|
29
|
-
appearance: none;
|
|
30
|
-
cursor: var(--kritzel-global-pointer-cursor, pointer);
|
|
31
|
-
text-align: center;
|
|
32
|
-
display: flex;
|
|
33
|
-
align-items: center;
|
|
34
|
-
justify-content: center;
|
|
35
|
-
pointer-events: all;
|
|
36
|
-
-webkit-tap-highlight-color: transparent;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.split-main-button,
|
|
40
|
-
.split-menu-button {
|
|
41
|
-
height: auto;
|
|
42
|
-
display: flex;
|
|
43
|
-
align-items: center;
|
|
44
|
-
padding: var(--kritzel-split-button-padding, 8px);
|
|
45
|
-
background-color: var(--kritzel-split-button-background-color, #ffffff);
|
|
46
|
-
border-radius: var(--kritzel-split-button-border-radius, 12px);
|
|
47
|
-
font-size: var(--kritzel-split-button-font-size, 14px);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.split-main-button:hover,
|
|
51
|
-
.split-menu-button:hover {
|
|
52
|
-
background-color: var(--kritzel-split-button-hover-background-color, hsl(0, 0%, 0%, 4.3%));
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.split-main-button:focus,
|
|
56
|
-
.split-menu-button:focus {
|
|
57
|
-
background-color: var(--kritzel-split-button-hover-background-color, hsl(0, 0%, 0%, 4.3%));
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.split-main-button {
|
|
61
|
-
gap: var(--kritzel-split-button-gap, 4px);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.split-menu-button {
|
|
65
|
-
border-left: none;
|
|
66
|
-
justify-content: center;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.split-divider {
|
|
70
|
-
width: var(--kritzel-split-button-divider-width, 1px);
|
|
71
|
-
height: 24px;
|
|
72
|
-
background-color: var(--kritzel-split-button-divider-background-color, hsl(0, 0%, 0%, 4.3%));
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
:disabled {
|
|
76
|
-
pointer-events: none;
|
|
77
|
-
opacity: 0.5;
|
|
78
|
-
}
|
|
1
|
+
:host {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
font-family: sans-serif;
|
|
6
|
+
z-index: 1;
|
|
7
|
+
padding: var(--kritzel-split-button-padding, 4px);
|
|
8
|
+
background-color: var(--kritzel-split-button-background-color, #ffffff);
|
|
9
|
+
border-radius: var(--kritzel-split-button-border-radius, 12px);
|
|
10
|
+
box-shadow: var(--kritzel-split-button-box-shadow, 0 0 3px rgba(0, 0, 0, 0.08));
|
|
11
|
+
border: var(--kritzel-split-button-border, 1px solid #ebebeb);
|
|
12
|
+
gap: var(--kritzel-split-button-gap, 4px);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:host(.mobile){
|
|
16
|
+
--kritzel-split-button-hover-background-color: transparent;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
button {
|
|
20
|
+
border: none;
|
|
21
|
+
background-color: transparent;
|
|
22
|
+
padding: 0;
|
|
23
|
+
margin: 0;
|
|
24
|
+
font-family: inherit;
|
|
25
|
+
font-size: inherit;
|
|
26
|
+
color: var(--kritzel-split-button-color, #000000);
|
|
27
|
+
-webkit-appearance: none;
|
|
28
|
+
-moz-appearance: none;
|
|
29
|
+
appearance: none;
|
|
30
|
+
cursor: var(--kritzel-global-pointer-cursor, pointer);
|
|
31
|
+
text-align: center;
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
pointer-events: all;
|
|
36
|
+
-webkit-tap-highlight-color: transparent;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.split-main-button,
|
|
40
|
+
.split-menu-button {
|
|
41
|
+
height: auto;
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
padding: var(--kritzel-split-button-padding, 8px);
|
|
45
|
+
background-color: var(--kritzel-split-button-background-color, #ffffff);
|
|
46
|
+
border-radius: var(--kritzel-split-button-border-radius, 12px);
|
|
47
|
+
font-size: var(--kritzel-split-button-font-size, 14px);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.split-main-button:hover,
|
|
51
|
+
.split-menu-button:hover {
|
|
52
|
+
background-color: var(--kritzel-split-button-hover-background-color, hsl(0, 0%, 0%, 4.3%));
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.split-main-button:focus,
|
|
56
|
+
.split-menu-button:focus {
|
|
57
|
+
background-color: var(--kritzel-split-button-hover-background-color, hsl(0, 0%, 0%, 4.3%));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.split-main-button {
|
|
61
|
+
gap: var(--kritzel-split-button-gap, 4px);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.split-menu-button {
|
|
65
|
+
border-left: none;
|
|
66
|
+
justify-content: center;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.split-divider {
|
|
70
|
+
width: var(--kritzel-split-button-divider-width, 1px);
|
|
71
|
+
height: 24px;
|
|
72
|
+
background-color: var(--kritzel-split-button-divider-background-color, hsl(0, 0%, 0%, 4.3%));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
:disabled {
|
|
76
|
+
pointer-events: none;
|
|
77
|
+
opacity: 0.5;
|
|
78
|
+
}
|
|
@@ -82,7 +82,7 @@ export class KritzelSplitButton {
|
|
|
82
82
|
this.menuScrollTop = event.target.scrollTop;
|
|
83
83
|
};
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '3c22426ef12446aa3424d6b4a103edc02bc631f0', class: { mobile: this.isTouchDevice } }, h("button", { key: '5be967c991f55fa6f11f90fb4c5ccd6ada7f7266', class: "split-main-button", tabIndex: 0, onClick: this.handleButtonClick, disabled: this.mainButtonDisabled, "aria-label": "Main action" }, this.buttonIcon && h("kritzel-icon", { key: 'c055ff3ba358ef2a1d7dac254b7ba8007b463901', name: this.buttonIcon })), h("div", { key: '1d9a060ecdeba49c49762399216709a573481cb3', class: "split-divider" }), h("button", { key: 'ab4fe9d216ccfe2f4418e461c1bd5f5800113125', ref: el => (this.splitMenuButtonRef = el), class: "split-menu-button", tabIndex: 0, onClick: this.toggleMenu, disabled: this.menuButtonDisabled, "aria-label": "Open menu" }, h("kritzel-icon", { key: '88d6617385a697781eb12ae24a75eb2f4f14f790', name: this.dropdownIcon })), h("kritzel-portal", { key: '88a6164d40ecda76541bcb36f946aa4fd239a64d', anchor: this.anchorElement, offsetY: 4, onClose: this.closeMenu }, h("kritzel-menu", { key: '6cb950b17f81864490bdfa0095debd4a7f48b1c0', ref: el => (this.menuRef = el), items: this.items, onItemSelect: this.handleItemSelect, onItemSave: this.handleItemSave, onItemCancel: this.handleItemCancel, onItemToggleChildMenu: this.handleItemToggleChildMenu, onItemCloseChildMenu: this.handleItemCloseChildMenu, onClose: this.closeMenu, onScroll: this.handleScroll }))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "kritzel-split-button"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: flex-start;
|
|
4
|
-
gap: 0;
|
|
5
|
-
padding: 0;
|
|
6
|
-
width: 100%;
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.size-grid {
|
|
11
|
-
width: 100%;
|
|
12
|
-
display: grid;
|
|
13
|
-
grid-template-columns: repeat(auto-fill, 32px);
|
|
14
|
-
gap: 8px;
|
|
15
|
-
justify-items: center;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.size-container {
|
|
19
|
-
display: flex;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
align-items: center;
|
|
22
|
-
width: 32px;
|
|
23
|
-
height: 32px;
|
|
24
|
-
border-radius: 50%;
|
|
25
|
-
cursor: var(--kritzel-global-pointer-cursor, pointer);
|
|
26
|
-
border: 2px solid transparent;
|
|
27
|
-
box-sizing: border-box;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.size-container:hover {
|
|
31
|
-
background-color: var(--kritzel-stroke-size-hover-background-color, #ebebeb);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.size-container.selected {
|
|
35
|
-
border-color: var(--kritzel-selection-border-color, #007AFF);
|
|
36
|
-
background-color: var(--kritzel-stroke-size-selected-background-color, #ebebeb);
|
|
37
|
-
}
|
|
1
|
+
:host {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: flex-start;
|
|
4
|
+
gap: 0;
|
|
5
|
+
padding: 0;
|
|
6
|
+
width: 100%;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.size-grid {
|
|
11
|
+
width: 100%;
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: repeat(auto-fill, 32px);
|
|
14
|
+
gap: 8px;
|
|
15
|
+
justify-items: center;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.size-container {
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
align-items: center;
|
|
22
|
+
width: 32px;
|
|
23
|
+
height: 32px;
|
|
24
|
+
border-radius: 50%;
|
|
25
|
+
cursor: var(--kritzel-global-pointer-cursor, pointer);
|
|
26
|
+
border: 2px solid transparent;
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.size-container:hover {
|
|
31
|
+
background-color: var(--kritzel-stroke-size-hover-background-color, #ebebeb);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.size-container.selected {
|
|
35
|
+
border-color: var(--kritzel-selection-border-color, #007AFF);
|
|
36
|
+
background-color: var(--kritzel-stroke-size-selected-background-color, #ebebeb);
|
|
37
|
+
}
|
|
@@ -9,7 +9,7 @@ export class KritzelStrokeSize {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
const sizes = this.sizes ?? [];
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '8218bc595e5cc22f45519cb607a20c5375b15004' }, h("div", { key: '2e3d44c1b9b07d49e5da2ea58188bc570b7f8b58', class: "size-grid" }, sizes.map(size => (h("div", { tabIndex: 0, class: {
|
|
13
13
|
'size-container': true,
|
|
14
14
|
'selected': this.selectedSize === size,
|
|
15
15
|
}, onClick: () => this.handleSizeClick(size) }, h("kritzel-color", { value: 'var(--kritzel-global-text-primary)', size: size })))))));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
width: auto;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.tooltip-content {
|
|
6
|
-
position: relative;
|
|
7
|
-
padding: 8px 12px;
|
|
8
|
-
border-radius: 4px;
|
|
9
|
-
width: fit-content;
|
|
10
|
-
background-color: var(--kritzel-tooltip-background-color, #ffffff);
|
|
11
|
-
color: var(--kritzel-tooltip-color, #000000);
|
|
12
|
-
padding: var(--kritzel-tooltip-padding, 12px);
|
|
13
|
-
border: var(--kritzel-tooltip-border, 1px solid #ebebeb);
|
|
14
|
-
border-radius: var(--kritzel-tooltip-border-radius, 16px);
|
|
15
|
-
white-space: nowrap;
|
|
16
|
-
box-shadow: var(--kritzel-tooltip-box-shadow, 0 1px 6px rgba(0, 0, 0, 0.12));
|
|
17
|
-
}
|
|
18
|
-
|
|
1
|
+
:host {
|
|
2
|
+
width: auto;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.tooltip-content {
|
|
6
|
+
position: relative;
|
|
7
|
+
padding: 8px 12px;
|
|
8
|
+
border-radius: 4px;
|
|
9
|
+
width: fit-content;
|
|
10
|
+
background-color: var(--kritzel-tooltip-background-color, #ffffff);
|
|
11
|
+
color: var(--kritzel-tooltip-color, #000000);
|
|
12
|
+
padding: var(--kritzel-tooltip-padding, 12px);
|
|
13
|
+
border: var(--kritzel-tooltip-border, 1px solid #ebebeb);
|
|
14
|
+
border-radius: var(--kritzel-tooltip-border-radius, 16px);
|
|
15
|
+
white-space: nowrap;
|
|
16
|
+
box-shadow: var(--kritzel-tooltip-box-shadow, 0 1px 6px rgba(0, 0, 0, 0.12));
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -128,14 +128,14 @@ export class KritzelTooltip {
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
render() {
|
|
131
|
-
return (h(Host, { key: '
|
|
131
|
+
return (h(Host, { key: 'e887f507f89031ebe7a6bfc1c66bd7c5613fea64', style: {
|
|
132
132
|
position: 'fixed',
|
|
133
133
|
zIndex: '9999',
|
|
134
134
|
transition: 'opacity 0.3s ease-in-out, transform 0.3s ease-in-out',
|
|
135
135
|
visibility: this.isVisible ? 'visible' : 'hidden',
|
|
136
136
|
left: `${this.positionX}px`,
|
|
137
137
|
bottom: `${this.positionY}px`,
|
|
138
|
-
} }, h("div", { key: '
|
|
138
|
+
} }, h("div", { key: 'b9e5efe7bdef3f8c9cd709e19220322b91f37415', class: "tooltip-content", onClick: event => event.stopPropagation(), onPointerDown: event => event.stopPropagation(), onMouseDown: event => event.stopPropagation() }, h("slot", { key: 'f36dd5791f0a4996d0a1b488798bb3504ab471f6' }))));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "kritzel-tooltip"; }
|
|
141
141
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.avatars {
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.avatar-wrapper {
|
|
12
|
-
position: relative;
|
|
13
|
-
transition: margin-left 200ms ease;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.avatar-wrapper kritzel-avatar {
|
|
17
|
-
border-radius: 50%;
|
|
18
|
-
box-shadow: 0 0 0 2px var(--kritzel-active-users-avatar-border-color, #ffffff);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.avatars:hover .avatar-wrapper {
|
|
22
|
-
margin-left: -6px !important;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.avatar-tooltip {
|
|
26
|
-
position: absolute;
|
|
27
|
-
top: 100%;
|
|
28
|
-
left: 50%;
|
|
29
|
-
transform: translateX(-50%);
|
|
30
|
-
margin-top: 12px;
|
|
31
|
-
padding: 4px 8px;
|
|
32
|
-
background-color: var(--kritzel-active-users-tooltip-background, #333333);
|
|
33
|
-
color: var(--kritzel-active-users-tooltip-color, #ffffff);
|
|
34
|
-
font-family: sans-serif;
|
|
35
|
-
font-size: 12px;
|
|
36
|
-
font-weight: 500;
|
|
37
|
-
border-radius: 4px;
|
|
38
|
-
white-space: nowrap;
|
|
39
|
-
width: max-content;
|
|
40
|
-
pointer-events: none;
|
|
41
|
-
opacity: 0;
|
|
42
|
-
transition: opacity 150ms ease;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.avatar-wrapper:hover .avatar-tooltip,
|
|
46
|
-
.overflow-count:hover .avatar-tooltip {
|
|
47
|
-
opacity: 1;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.overflow-count {
|
|
51
|
-
position: relative;
|
|
52
|
-
margin-left: 8px;
|
|
53
|
-
font-family: sans-serif;
|
|
54
|
-
font-size: var(--kritzel-active-users-overflow-font-size, 14px);
|
|
55
|
-
font-weight: 500;
|
|
56
|
-
color: var(--kritzel-active-users-overflow-color, #666666);
|
|
57
|
-
white-space: nowrap;
|
|
58
|
-
cursor: default;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.overflow-count .avatar-tooltip {
|
|
62
|
-
white-space: nowrap;
|
|
63
|
-
text-align: left;
|
|
64
|
-
margin-top: 20px;
|
|
65
|
-
}
|
|
1
|
+
:host {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.avatars {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.avatar-wrapper {
|
|
12
|
+
position: relative;
|
|
13
|
+
transition: margin-left 200ms ease;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.avatar-wrapper kritzel-avatar {
|
|
17
|
+
border-radius: 50%;
|
|
18
|
+
box-shadow: 0 0 0 2px var(--kritzel-active-users-avatar-border-color, #ffffff);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.avatars:hover .avatar-wrapper {
|
|
22
|
+
margin-left: -6px !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.avatar-tooltip {
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: 100%;
|
|
28
|
+
left: 50%;
|
|
29
|
+
transform: translateX(-50%);
|
|
30
|
+
margin-top: 12px;
|
|
31
|
+
padding: 4px 8px;
|
|
32
|
+
background-color: var(--kritzel-active-users-tooltip-background, #333333);
|
|
33
|
+
color: var(--kritzel-active-users-tooltip-color, #ffffff);
|
|
34
|
+
font-family: sans-serif;
|
|
35
|
+
font-size: 12px;
|
|
36
|
+
font-weight: 500;
|
|
37
|
+
border-radius: 4px;
|
|
38
|
+
white-space: nowrap;
|
|
39
|
+
width: max-content;
|
|
40
|
+
pointer-events: none;
|
|
41
|
+
opacity: 0;
|
|
42
|
+
transition: opacity 150ms ease;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.avatar-wrapper:hover .avatar-tooltip,
|
|
46
|
+
.overflow-count:hover .avatar-tooltip {
|
|
47
|
+
opacity: 1;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.overflow-count {
|
|
51
|
+
position: relative;
|
|
52
|
+
margin-left: 8px;
|
|
53
|
+
font-family: sans-serif;
|
|
54
|
+
font-size: var(--kritzel-active-users-overflow-font-size, 14px);
|
|
55
|
+
font-weight: 500;
|
|
56
|
+
color: var(--kritzel-active-users-overflow-color, #666666);
|
|
57
|
+
white-space: nowrap;
|
|
58
|
+
cursor: default;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.overflow-count .avatar-tooltip {
|
|
62
|
+
white-space: nowrap;
|
|
63
|
+
text-align: left;
|
|
64
|
+
margin-top: 20px;
|
|
65
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: block;
|
|
3
|
-
z-index: var(--kritzel-back-to-content-z-index, 1000);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.back-to-content-button {
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
height: var(--kritzel-back-to-content-height, 50px);
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
gap: var(--kritzel-back-to-content-gap, 6px);
|
|
13
|
-
padding: var(--kritzel-back-to-content-padding, 0 16px);
|
|
14
|
-
border: var(--kritzel-back-to-content-border, 1px solid #ebebeb);
|
|
15
|
-
border-radius: var(--kritzel-back-to-content-border-radius, 12px);
|
|
16
|
-
background-color: var(--kritzel-back-to-content-background-color, #ffffff);
|
|
17
|
-
color: var(--kritzel-back-to-content-color, #000000);
|
|
18
|
-
font-size: var(--kritzel-back-to-content-font-size, 14px);
|
|
19
|
-
font-weight: var(--kritzel-back-to-content-font-weight, 500);
|
|
20
|
-
cursor: var(--kritzel-global-pointer-cursor, pointer);
|
|
21
|
-
box-shadow: var(--kritzel-back-to-content-box-shadow, 0 0 3px rgba(0, 0, 0, 0.08));
|
|
22
|
-
opacity: 0;
|
|
23
|
-
pointer-events: none;
|
|
24
|
-
transition: opacity 0.2s ease-out, transform 0.2s ease-out, background-color 0.15s ease-out;
|
|
25
|
-
-webkit-tap-highlight-color: transparent;
|
|
26
|
-
user-select: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.back-to-content-button.visible {
|
|
30
|
-
opacity: 1;
|
|
31
|
-
pointer-events: auto;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@media (hover: hover) {
|
|
35
|
-
.back-to-content-button:hover {
|
|
36
|
-
background-color: var(--kritzel-back-to-content-hover-background-color, hsl(0, 0%, 0%, 4.3%));
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.back-to-content-button:active {
|
|
41
|
-
background-color: var(--kritzel-back-to-content-active-background-color, hsl(0, 0%, 0%, 8.6%));
|
|
42
|
-
}
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
z-index: var(--kritzel-back-to-content-z-index, 1000);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.back-to-content-button {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
height: var(--kritzel-back-to-content-height, 50px);
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
gap: var(--kritzel-back-to-content-gap, 6px);
|
|
13
|
+
padding: var(--kritzel-back-to-content-padding, 0 16px);
|
|
14
|
+
border: var(--kritzel-back-to-content-border, 1px solid #ebebeb);
|
|
15
|
+
border-radius: var(--kritzel-back-to-content-border-radius, 12px);
|
|
16
|
+
background-color: var(--kritzel-back-to-content-background-color, #ffffff);
|
|
17
|
+
color: var(--kritzel-back-to-content-color, #000000);
|
|
18
|
+
font-size: var(--kritzel-back-to-content-font-size, 14px);
|
|
19
|
+
font-weight: var(--kritzel-back-to-content-font-weight, 500);
|
|
20
|
+
cursor: var(--kritzel-global-pointer-cursor, pointer);
|
|
21
|
+
box-shadow: var(--kritzel-back-to-content-box-shadow, 0 0 3px rgba(0, 0, 0, 0.08));
|
|
22
|
+
opacity: 0;
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
transition: opacity 0.2s ease-out, transform 0.2s ease-out, background-color 0.15s ease-out;
|
|
25
|
+
-webkit-tap-highlight-color: transparent;
|
|
26
|
+
user-select: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.back-to-content-button.visible {
|
|
30
|
+
opacity: 1;
|
|
31
|
+
pointer-events: auto;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media (hover: hover) {
|
|
35
|
+
.back-to-content-button:hover {
|
|
36
|
+
background-color: var(--kritzel-back-to-content-hover-background-color, hsl(0, 0%, 0%, 4.3%));
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.back-to-content-button:active {
|
|
41
|
+
background-color: var(--kritzel-back-to-content-active-background-color, hsl(0, 0%, 0%, 8.6%));
|
|
42
|
+
}
|
|
@@ -16,7 +16,7 @@ export class KritzelBackToContent {
|
|
|
16
16
|
this.backToContent.emit();
|
|
17
17
|
};
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '4ce5b0f5458c6bf86537a13cdfe6018cc170ea75' }, h("button", { key: 'b5df62731d6cb4a0834e6962707d84a4ffc1556a', class: { 'back-to-content-button': true, visible: this.visible }, onClick: this.handleClick, "aria-label": this.text }, h("kritzel-icon", { key: '32e02064526f17fe0f3b52078ee681e60f3cd7e5', name: "chevrons-left" }))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "kritzel-back-to-content"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|