@trintel/zooy 1.0.1-beta.0 → 1.0.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/README.md +284 -339
- package/dist/chunks/{16-ChlL35BX.js → 16-BXti8Tu-.js} +6 -6
- package/dist/chunks/16-CMCRqVYz.js +1 -0
- package/dist/chunks/{20-CZPIOG-A.js → 20-CQLnFcRb.js} +9 -9
- package/dist/chunks/20-Df0dXwyx.js +1 -0
- package/dist/chunks/button-B1jzfT-Z.js +272 -0
- package/dist/chunks/button-C-oX8EmF.js +66 -0
- package/dist/chunks/button-skeleton-CK3BHdja.js +21 -0
- package/dist/chunks/{button-skeleton-COf2kCDL.js → button-skeleton-DoCp6sBb.js} +10 -9
- package/dist/chunks/checkbox-CgFjYxQ_.js +201 -0
- package/dist/chunks/checkbox-t3G-H1NN.js +40 -0
- package/dist/chunks/{class-map-BfNAkUL_.js → class-map-D6tjF27Y.js} +2 -2
- package/dist/chunks/{class-map-DEHG4tmw.js → class-map-FWQBIzSx.js} +1 -1
- package/dist/chunks/collection-helpers-Bk68Vaau.js +7 -0
- package/dist/chunks/collection-helpers-afBvMQaC.js +1 -0
- package/dist/chunks/content-switcher-item-CedjjtvP.js +351 -0
- package/dist/chunks/content-switcher-item-c4WBWz31.js +27 -0
- package/dist/chunks/defs-C88lSWuJ.js +1 -0
- package/dist/chunks/defs-Do0OvCKd.js +1165 -0
- package/dist/chunks/dropdown-item-C0SHr4st.js +69 -0
- package/dist/chunks/dropdown-item-Dh5IEXDr.js +621 -0
- package/dist/chunks/{focus-rQSNiwy7.js → focus-B3iymVyL.js} +1 -1
- package/dist/chunks/{focus-B9JYe97T.js → focus-WnKGH_xB.js} +1 -1
- package/dist/chunks/{icon-loader-Dk_AU26w.js → icon-loader-CJxyg-lp.js} +1 -1
- package/dist/chunks/{icon-loader-o_JYDmJX.js → icon-loader-ChKeNR4s.js} +1 -1
- package/dist/chunks/{icon-loader-utils-BEOGXn0q.js → icon-loader-utils-BwViqIXz.js} +23 -23
- package/dist/chunks/icon-loader-utils-DK8DViXt.js +5 -0
- package/dist/chunks/if-defined-DYWhlnlE.js +5 -0
- package/dist/chunks/{if-defined-C0yJsxi2.js → if-defined-eJcDYClo.js} +1 -1
- package/dist/chunks/{if-non-empty-DTGflHtA.js → if-non-empty-COTeEFkK.js} +1 -1
- package/dist/chunks/if-non-empty-CxMysAQW.js +1 -0
- package/dist/chunks/index-0AElqkkj.js +12 -0
- package/dist/chunks/{index-B3mXrMt1.js → index-4WNeLsiw.js} +4 -3
- package/dist/chunks/{index-BXczHDk-.js → index-4XJJobHw.js} +12 -11
- package/dist/chunks/index-7cXLLw89.js +881 -0
- package/dist/chunks/index-9fmHblh5.js +121 -0
- package/dist/chunks/{index-BwIoRMDI.js → index-B0nToMRj.js} +7 -6
- package/dist/chunks/index-B4SxU_Hu.js +87 -0
- package/dist/chunks/index-B5DpS-cb.js +2 -0
- package/dist/chunks/{index-CzTjJ8lP.js → index-B5GB0rQW.js} +47 -37
- package/dist/chunks/index-B8Ze9ISK.js +17 -0
- package/dist/chunks/index-BAAA4wkE.js +45 -0
- package/dist/chunks/index-BBWp83R-.js +160 -0
- package/dist/chunks/index-BBap1uCI.js +1 -0
- package/dist/chunks/index-BGGDxbLL.js +368 -0
- package/dist/chunks/index-BMquNDkd.js +381 -0
- package/dist/chunks/index-BQnyeVHX.js +1 -0
- package/dist/chunks/index-BRnzFxjk.js +25 -0
- package/dist/chunks/index-BbJQIwkY.js +452 -0
- package/dist/chunks/{index-hLI0Bnyb.js → index-Bb_1S0pr.js} +7 -6
- package/dist/chunks/index-BeMnerDj.js +111 -0
- package/dist/chunks/index-Bff6B9vY.js +254 -0
- package/dist/chunks/index-Bi9WliCA.js +683 -0
- package/dist/chunks/{index-D0xRAPD5.js → index-Bls8zdHV.js} +6 -5
- package/dist/chunks/index-Bo2QmpPO.js +1 -0
- package/dist/chunks/index-BseD7Jzt.js +75 -0
- package/dist/chunks/index-Bt7v-zqV.js +77 -0
- package/dist/chunks/index-Bunat0DP.js +337 -0
- package/dist/chunks/index-BvdNKhJw.js +19 -0
- package/dist/chunks/index-BwFE4R87.js +30 -0
- package/dist/chunks/index-BwRxBdeg.js +158 -0
- package/dist/chunks/index-Bymsj9gH.js +1 -0
- package/dist/chunks/index-C-pfDP7B.js +1 -0
- package/dist/chunks/index-C2oV5vU3.js +4 -0
- package/dist/chunks/index-C3n83pM3.js +103 -0
- package/dist/chunks/index-C572_UKV.js +22 -0
- package/dist/chunks/index-C6bOvXSf.js +129 -0
- package/dist/chunks/{index-CByffhPq.js → index-CBICHiFD.js} +147 -134
- package/dist/chunks/index-CEy6bu7P.js +79 -0
- package/dist/chunks/index-CFqKkC5Z.js +36 -0
- package/dist/chunks/index-CIZ3Gnmm.js +8 -0
- package/dist/chunks/index-CIiIAqrQ.js +414 -0
- package/dist/chunks/index-CJdEJ8pY.js +15 -0
- package/dist/chunks/index-CKYRBtLC.js +79 -0
- package/dist/chunks/index-CQl4NaPS.js +65 -0
- package/dist/chunks/index-CR3DrmQi.js +235 -0
- package/dist/chunks/index-CTsGb3mD.js +364 -0
- package/dist/chunks/{index-rwBsdvh6.js → index-CV7TVQ4T.js} +9 -8
- package/dist/chunks/index-CWlg_Hu2.js +150 -0
- package/dist/chunks/{index-Bwix1iwB.js → index-CYIcfuAW.js} +6 -5
- package/dist/chunks/{index-WNXgzThF.js → index-CkxGsCJy.js} +181 -181
- package/dist/chunks/index-ClE0uX_c.js +27 -0
- package/dist/chunks/index-Cnsy7Qk3.js +511 -0
- package/dist/chunks/index-CoAT1iC6.js +12 -0
- package/dist/chunks/index-Cp3P3KaW.js +45 -0
- package/dist/chunks/index-CqQZpHti.js +3 -0
- package/dist/chunks/index-CsjJntyD.js +23 -0
- package/dist/chunks/{index-BIaF1Dfx.js → index-Ctna95NT.js} +5 -4
- package/dist/chunks/index-Cu1u3Mjn.js +150 -0
- package/dist/chunks/index-Cv6qE9qP.js +22 -0
- package/dist/chunks/index-Cwb1pbm9.js +252 -0
- package/dist/chunks/{index-BSgHSOVT.js → index-CzAwJhyQ.js} +4 -3
- package/dist/chunks/index-D8LE8G2j.js +81 -0
- package/dist/chunks/{index-C_K070Kn.js → index-D9sRIKMQ.js} +9 -8
- package/dist/chunks/index-DBsASlZI.js +15 -0
- package/dist/chunks/{index-DurPWBYc.js → index-DGw1TVFB.js} +3 -2
- package/dist/chunks/index-DIsXKJDH.js +4 -0
- package/dist/chunks/{index-CT43RMOu.js → index-DNWjc2SJ.js} +3 -2
- package/dist/chunks/index-DSOPjl5x.js +563 -0
- package/dist/chunks/index-DUtoSCTU.js +455 -0
- package/dist/chunks/index-DWjrCygZ.js +49 -0
- package/dist/chunks/index-DYvD9xjl.js +4 -0
- package/dist/chunks/index-DZabSr3s.js +36 -0
- package/dist/chunks/index-DbAeG1nY.js +1 -0
- package/dist/chunks/index-Dc51G1mo.js +26 -0
- package/dist/chunks/index-Dd9iSSXa.js +260 -0
- package/dist/chunks/{index-C8LyfVmf.js → index-DfFx1Jz3.js} +6 -5
- package/dist/chunks/index-Dh4LYLg5.js +1604 -0
- package/dist/chunks/index-Dk3tlz8Q.js +15 -0
- package/dist/chunks/index-Do1DszoZ.js +1 -0
- package/dist/chunks/index-DrDKdYFJ.js +58 -0
- package/dist/chunks/index-DyO3Wdy_.js +37 -0
- package/dist/chunks/index-DyyLrVDY.js +188 -0
- package/dist/chunks/{index-45EApaFs.js → index-GDVDUQtg.js} +14 -13
- package/dist/chunks/index-GbWz6fuF.js +243 -0
- package/dist/chunks/index-JWULDURW.js +89 -0
- package/dist/chunks/index-MgWriQfr.js +35 -0
- package/dist/chunks/index-OgL1A9Rm.js +42 -0
- package/dist/chunks/{index-DdNZTQw1.js → index-QzojJs5M.js} +3 -2
- package/dist/chunks/index-TJL02uup.js +291 -0
- package/dist/chunks/index-Z4ar01y-.js +259 -0
- package/dist/chunks/{index-BSh7UYcP.js → index-_xRytR0j.js} +3 -3
- package/dist/chunks/index-cuMoh7qn.js +1 -0
- package/dist/chunks/index-du3RQU31.js +62 -0
- package/dist/chunks/{index-DFA4_spk.js → index-hH_m653R.js} +9 -8
- package/dist/chunks/index-hn76Yo-L.js +1 -0
- package/dist/chunks/index-i4heE-wx.js +71 -0
- package/dist/chunks/index-i9jyrFc9.js +19 -0
- package/dist/chunks/index-lFqOe0IJ.js +46 -0
- package/dist/chunks/index-pS6-humH.js +74 -0
- package/dist/chunks/index-pc36PiDY.js +57 -0
- package/dist/chunks/index-qgl9W8eF.js +52 -0
- package/dist/chunks/{index-BUxB7aWd.js → index-uwN33H1P.js} +9 -8
- package/dist/chunks/index-uxZPrL2m.js +406 -0
- package/dist/chunks/index-yzFU-E6F.js +22 -0
- package/dist/chunks/{loading-icon-DhJR6LyV.js → loading-icon-CPvmJvpZ.js} +2 -2
- package/dist/chunks/loading-icon-DdwpAk8-.js +24 -0
- package/dist/chunks/main-BGOPab-5.js +4041 -0
- package/dist/chunks/main-Bx21zlkN.js +65 -0
- package/dist/chunks/{property-pT1z5CCa.js → property-BkjBVRuu.js} +1 -1
- package/dist/chunks/property-DAFv3PCb.js +5 -0
- package/dist/chunks/register-BCEOkbXG.js +1583 -0
- package/dist/chunks/{register-BK21_Wkj.js → register-Bkr1UKav.js} +1 -1
- package/dist/chunks/{register-BMNs2hNG.js → register-DTXmg-gw.js} +1 -1
- package/dist/chunks/register-D_CXtGy1.js +1 -0
- package/dist/chunks/search-DDFN8-Mz.js +30 -0
- package/dist/chunks/search-npG8ywjx.js +240 -0
- package/dist/chunks/select-CFy3MvH6.js +76 -0
- package/dist/chunks/select-DkCpQORs.js +357 -0
- package/dist/chunks/settings-Bgpv8zuU.js +62 -0
- package/dist/chunks/settings-jvP7vP60.js +66 -0
- package/dist/chunks/{state-FnSmMH94.js → state-BdgD82MZ.js} +1 -1
- package/dist/chunks/{state-Bpmgn27B.js → state-uF7CZaP5.js} +1 -1
- package/dist/chunks/text-input-BUdM-ojg.js +68 -0
- package/dist/chunks/text-input-DVdkm07X.js +372 -0
- package/dist/chunks/tooltip-content-BXcBmMsV.js +3 -0
- package/dist/chunks/tooltip-content-CWRE_NqH.js +135 -0
- package/dist/chunks/{unsafe-html-D49sIpJ5.js → unsafe-html-Bg0eM3hS.js} +5 -5
- package/dist/chunks/{unsafe-html-C_MKAcuC.js → unsafe-html-CpAqmPyx.js} +1 -1
- package/dist/zooy.cjs.js +1 -1
- package/dist/zooy.es.js +20 -2
- package/package.json +3 -4
- package/src/sass/carbon.scss +117 -0
- package/src/sass/main.scss +1 -1
- package/src/sass/panels.scss +268 -359
- package/src/sass/split.scss +1 -0
- package/dist/chunks/16-41wFkj7S.js +0 -1
- package/dist/chunks/20-gmyNFvDv.js +0 -1
- package/dist/chunks/button-DdJepOoE.js +0 -271
- package/dist/chunks/button-skeleton-rf3WDPTZ.js +0 -21
- package/dist/chunks/button-zHEPxpXa.js +0 -66
- package/dist/chunks/checkbox-B5mHvx0J.js +0 -200
- package/dist/chunks/checkbox-BRPCg-DN.js +0 -40
- package/dist/chunks/collection-helpers-BwUB2CEz.js +0 -8
- package/dist/chunks/collection-helpers-CYLIiyii.js +0 -1
- package/dist/chunks/content-switcher-item-DeGjVRQY.js +0 -350
- package/dist/chunks/content-switcher-item-DucclV1b.js +0 -27
- package/dist/chunks/defs-DMmigODC.js +0 -1077
- package/dist/chunks/defs-DPD20sPK.js +0 -1
- package/dist/chunks/dropdown-item-BgLQ1VLo.js +0 -69
- package/dist/chunks/dropdown-item-DPdwOION.js +0 -620
- package/dist/chunks/icon-loader-utils-BBjK16O-.js +0 -5
- package/dist/chunks/if-defined-BdZRLDJ6.js +0 -5
- package/dist/chunks/if-non-empty-CEHK-hqx.js +0 -1
- package/dist/chunks/index-16wphaSo.js +0 -4
- package/dist/chunks/index-27oFQaOS.js +0 -37
- package/dist/chunks/index-5jmZyISW.js +0 -1
- package/dist/chunks/index-B1vQ44Hl.js +0 -363
- package/dist/chunks/index-B3CDjjXh.js +0 -214
- package/dist/chunks/index-B7mGUQhz.js +0 -79
- package/dist/chunks/index-BBNaYDog.js +0 -22
- package/dist/chunks/index-BBt9OmO5.js +0 -12
- package/dist/chunks/index-BJAuRs3y.js +0 -75
- package/dist/chunks/index-BJKftWYn.js +0 -89
- package/dist/chunks/index-BLjNrhkN.js +0 -4
- package/dist/chunks/index-BOTu9u-3.js +0 -86
- package/dist/chunks/index-BPVpH8ll.js +0 -160
- package/dist/chunks/index-BRuvyoCz.js +0 -15
- package/dist/chunks/index-BXIxcS00.js +0 -22
- package/dist/chunks/index-BaVyBv2V.js +0 -25
- package/dist/chunks/index-BgbqX0uv.js +0 -234
- package/dist/chunks/index-BjQlt8g2.js +0 -451
- package/dist/chunks/index-BoNLj7PW.js +0 -44
- package/dist/chunks/index-BxVW3p3I.js +0 -258
- package/dist/chunks/index-ByKyGGzb.js +0 -3
- package/dist/chunks/index-ByTSSU1x.js +0 -1
- package/dist/chunks/index-CBbsFlsv.js +0 -290
- package/dist/chunks/index-CIbRjtWm.js +0 -32
- package/dist/chunks/index-CIzeMGQv.js +0 -81
- package/dist/chunks/index-CLGxSjLW.js +0 -62
- package/dist/chunks/index-CMF5Cawn.js +0 -70
- package/dist/chunks/index-CO-A2KY9.js +0 -562
- package/dist/chunks/index-CONgwvp0.js +0 -12
- package/dist/chunks/index-CUgiXqyk.js +0 -4
- package/dist/chunks/index-C_ttE2g9.js +0 -16
- package/dist/chunks/index-CcgnA1uu.js +0 -29
- package/dist/chunks/index-Cd7aoWrX.js +0 -336
- package/dist/chunks/index-Ce-pMzBC.js +0 -19
- package/dist/chunks/index-CgYZ66P_.js +0 -187
- package/dist/chunks/index-ChcHMeAS.js +0 -35
- package/dist/chunks/index-Cixdzvwd.js +0 -682
- package/dist/chunks/index-Clq0Fl19.js +0 -15
- package/dist/chunks/index-CtxTJnIm.js +0 -58
- package/dist/chunks/index-Cv1hWa_y.js +0 -242
- package/dist/chunks/index-D25buhRm.js +0 -79
- package/dist/chunks/index-D4DqJG5_.js +0 -16
- package/dist/chunks/index-D5GGFPcS.js +0 -251
- package/dist/chunks/index-D5kiHJpX.js +0 -413
- package/dist/chunks/index-DEjRiv5B.js +0 -1
- package/dist/chunks/index-DFZsXFsx.js +0 -19
- package/dist/chunks/index-DGauWNwV.js +0 -156
- package/dist/chunks/index-DIR0jr3f.js +0 -127
- package/dist/chunks/index-DNeagy5a.js +0 -65
- package/dist/chunks/index-DO0fmDR9.js +0 -2
- package/dist/chunks/index-DSitHBEh.js +0 -36
- package/dist/chunks/index-DW7ST0tB.js +0 -1
- package/dist/chunks/index-DWfFgEXE.js +0 -110
- package/dist/chunks/index-DX6WAtmo.js +0 -874
- package/dist/chunks/index-DaPfSuLu.js +0 -393
- package/dist/chunks/index-DbKlVm7y.js +0 -74
- package/dist/chunks/index-Dgi-m1K-.js +0 -1
- package/dist/chunks/index-Dh4uigJs.js +0 -454
- package/dist/chunks/index-DnYNK1mz.js +0 -8
- package/dist/chunks/index-DnierBep.js +0 -510
- package/dist/chunks/index-DnpSGM23.js +0 -213
- package/dist/chunks/index-DntY4deR.js +0 -41
- package/dist/chunks/index-Dp4A8k6C.js +0 -103
- package/dist/chunks/index-Dphpk5r2.js +0 -1
- package/dist/chunks/index-DrBrgF-v.js +0 -49
- package/dist/chunks/index-Dr_cqQ-_.js +0 -77
- package/dist/chunks/index-Dt-nBtrQ.js +0 -26
- package/dist/chunks/index-DwTj7cFr.js +0 -57
- package/dist/chunks/index-DyZVAYLv.js +0 -52
- package/dist/chunks/index-Hh597Yu6.js +0 -121
- package/dist/chunks/index-LxkAuMAA.js +0 -1
- package/dist/chunks/index-OaQhvPR1.js +0 -46
- package/dist/chunks/index-UPr2EvBX.js +0 -149
- package/dist/chunks/index-WvrCPen2.js +0 -367
- package/dist/chunks/index-cTXIVcWI.js +0 -45
- package/dist/chunks/index-caLn8cu1.js +0 -1603
- package/dist/chunks/index-jBse-XgU.js +0 -35
- package/dist/chunks/index-oTjafsfN.js +0 -25
- package/dist/chunks/index-qNmuI3RB.js +0 -149
- package/dist/chunks/index-qiqzy9MI.js +0 -23
- package/dist/chunks/index-siqJUhKa.js +0 -1
- package/dist/chunks/index-w-G9CFId.js +0 -1
- package/dist/chunks/index-x6SeA7x7.js +0 -405
- package/dist/chunks/loading-icon-DJQIjg97.js +0 -23
- package/dist/chunks/main-DUusfqrI.js +0 -18
- package/dist/chunks/main-Dp7wHHgP.js +0 -2882
- package/dist/chunks/property-DCYiZTFF.js +0 -5
- package/dist/chunks/register-Cc9zkA5F.js +0 -1
- package/dist/chunks/register-JwwMwdRf.js +0 -1273
- package/dist/chunks/search-C3raqgOD.js +0 -30
- package/dist/chunks/search-CIhxkVjj.js +0 -239
- package/dist/chunks/select-item-4aISXm0r.js +0 -76
- package/dist/chunks/select-item-DjoxYopL.js +0 -356
- package/dist/chunks/settings-BPOpwVkr.js +0 -594
- package/dist/chunks/settings-CK2vhfPu.js +0 -78
- package/dist/chunks/text-input-BygzMjjc.js +0 -371
- package/dist/chunks/text-input-cjcnMXO-.js +0 -68
- package/dist/chunks/tooltip-content-BjdZJ_Ui.js +0 -134
- package/dist/chunks/tooltip-content-DHyDYyOH.js +0 -3
- package/src/sass/carbon-icons.scss +0 -46
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { E as r, T as s } from "./
|
|
2
|
-
import {
|
|
1
|
+
import { E as r, T as s } from "./main-BGOPab-5.js";
|
|
2
|
+
import { i as n, t as o, e as c } from "./directive-kLG6oqUu.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
5
|
* Copyright 2017 Google LLC
|
|
6
6
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7
7
|
*/
|
|
8
|
-
class e extends
|
|
8
|
+
class e extends n {
|
|
9
9
|
constructor(t) {
|
|
10
|
-
if (super(t), this.it = r, t.type !==
|
|
10
|
+
if (super(t), this.it = r, t.type !== o.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
11
11
|
}
|
|
12
12
|
render(t) {
|
|
13
13
|
if (t === r || t == null) return this._t = void 0, this.it = t;
|
|
@@ -20,7 +20,7 @@ class e extends o {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
e.directiveName = "unsafeHTML", e.resultType = 1;
|
|
23
|
-
const l =
|
|
23
|
+
const l = c(e);
|
|
24
24
|
export {
|
|
25
25
|
e,
|
|
26
26
|
l as o
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("./
|
|
1
|
+
"use strict";const s=require("./main-Bx21zlkN.js"),r=require("./directive-Dp4ZTz-F.js");/**
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright 2017 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
package/dist/zooy.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./chunks/main-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./chunks/main-Bx21zlkN.js");exports.Binder=e.Binder;exports.Component=e.Component;exports.ComponentLibraryRegistry=e.ComponentLibraryRegistry;exports.Conductor=e.Conductor;exports.Dragger=e.Dragger;exports.Evt=e.Evt;exports.FormPanel=e.FormPanel;exports.Panel=e.Panel;exports.Split=e.Split;exports.UiEventType=e.UiEventType;exports.UserManager=e.UserManager;exports.View=e.View;exports.default=e.zooy;exports.domUtils=e.domUtils;exports.handlers=e.handlers;exports.registerCarbonLibrary=e.registerCarbonLibrary;exports.registerMdcLibrary=e.registerMdcLibrary;exports.uriUtils=e.uriUtils;exports.zoo=e.zoo;
|
package/dist/zooy.es.js
CHANGED
|
@@ -1,4 +1,22 @@
|
|
|
1
|
-
import { z as
|
|
1
|
+
import { B as r, n as e, C as i, s as n, D as o, m as t, F as l, P as d, S as g, q as m, U as y, V as p, z as C, v as U, y as b, r as u, l as v, w as L, A as P } from "./chunks/main-BGOPab-5.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
r as Binder,
|
|
4
|
+
e as Component,
|
|
5
|
+
i as ComponentLibraryRegistry,
|
|
6
|
+
n as Conductor,
|
|
7
|
+
o as Dragger,
|
|
8
|
+
t as Evt,
|
|
9
|
+
l as FormPanel,
|
|
10
|
+
d as Panel,
|
|
11
|
+
g as Split,
|
|
12
|
+
m as UiEventType,
|
|
13
|
+
y as UserManager,
|
|
14
|
+
p as View,
|
|
15
|
+
C as default,
|
|
16
|
+
U as domUtils,
|
|
17
|
+
b as handlers,
|
|
18
|
+
u as registerCarbonLibrary,
|
|
19
|
+
v as registerMdcLibrary,
|
|
20
|
+
L as uriUtils,
|
|
21
|
+
P as zoo
|
|
4
22
|
};
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trintel/zooy",
|
|
3
3
|
"description": "UI Building Blocks",
|
|
4
|
-
"version": "1.0.1
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"main": "./dist/zooy.cjs.js",
|
|
6
6
|
"module": "./dist/zooy.es.js",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"sideEffects": false,
|
|
8
9
|
"exports": {
|
|
9
10
|
".": {
|
|
10
11
|
"import": "./dist/zooy.es.js",
|
|
@@ -25,9 +26,7 @@
|
|
|
25
26
|
],
|
|
26
27
|
"scripts": {
|
|
27
28
|
"clean": "rm -rf dist",
|
|
28
|
-
"build_css": "sass --load-path=node_modules --style=compressed src/sass/main.scss src/css/main.css",
|
|
29
29
|
"build": "npm run clean && vite build",
|
|
30
|
-
"dev_watch_sass": "sass --watch --load-path=node_modules --style=compressed src/sass/main.scss src/css/main.css",
|
|
31
30
|
"lint": "eslint src/**/*.js",
|
|
32
31
|
"lint:fix": "eslint src/**/*.js --fix",
|
|
33
32
|
"dev": "vite",
|
|
@@ -40,7 +39,7 @@
|
|
|
40
39
|
},
|
|
41
40
|
"dependencies": {
|
|
42
41
|
"@carbon/icons": "^11.70.0",
|
|
43
|
-
"@carbon/web-components": "^2.
|
|
42
|
+
"@carbon/web-components": "^2.42.0",
|
|
44
43
|
"@ibm/plex": "^6.4.1",
|
|
45
44
|
"badu": "^8.6.0",
|
|
46
45
|
"material-components-web": "^14.0.0",
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// Carbon Design System Icon Toggle Support
|
|
3
|
+
// ============================================================================
|
|
4
|
+
// Provides CSS-based icon swapping for toggle buttons when using the
|
|
5
|
+
// django-zooy carbon_icon template tag with toggle_to parameter.
|
|
6
|
+
//
|
|
7
|
+
// Example usage in Django template:
|
|
8
|
+
// {% carbon_icon "favorite" 16 slot="icon" toggle_to="favorite--filled" %}
|
|
9
|
+
//
|
|
10
|
+
// This renders two icons wrapped in .icon-toggle-wrapper, and this CSS
|
|
11
|
+
// controls which icon is visible based on the is-selected attribute.
|
|
12
|
+
// ============================================================================
|
|
13
|
+
|
|
14
|
+
cds-icon-button {
|
|
15
|
+
// Icon toggle wrapper - makes container invisible to layout
|
|
16
|
+
.icon-toggle-wrapper {
|
|
17
|
+
display: contents;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// Icon swap visibility controls (only for toggle_to mode)
|
|
21
|
+
.off-icon {
|
|
22
|
+
display: inline;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.on-icon {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// When button is selected, swap icon visibility
|
|
30
|
+
// Note: The attribute is 'isselected' (no hyphen) in the actual DOM
|
|
31
|
+
&[isselected] {
|
|
32
|
+
// Icon-swap mode: toggle visibility
|
|
33
|
+
.off-icon {
|
|
34
|
+
display: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.on-icon {
|
|
38
|
+
display: inline;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Optional: Color swap on selection (opt-in via data-toggle-color)
|
|
42
|
+
&[data-toggle-color] svg {
|
|
43
|
+
fill: var(--cds-icon-primary, #0f62fe);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
// ============================================================================
|
|
50
|
+
// Carbon Data Table Support
|
|
51
|
+
// ============================================================================
|
|
52
|
+
// Provides styling for Carbon data tables, including numeric column alignment.
|
|
53
|
+
//
|
|
54
|
+
// Example usage in Django template:
|
|
55
|
+
// <cds-table-header-cell class="number">Count</cds-table-header-cell>
|
|
56
|
+
// <cds-table-cell class="number">1,234</cds-table-cell>
|
|
57
|
+
//
|
|
58
|
+
// Per Carbon Design System guidelines, variable numerical values (prices,
|
|
59
|
+
// percentages, counts, etc.) and their column headers should be right-aligned.
|
|
60
|
+
// ============================================================================
|
|
61
|
+
|
|
62
|
+
cds-table {
|
|
63
|
+
// Numeric table cells - right-aligned per Carbon Design guidelines
|
|
64
|
+
cds-table-cell {
|
|
65
|
+
&.number {
|
|
66
|
+
text-align: right;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Numeric column headers - right-aligned to match cell alignment
|
|
71
|
+
cds-table-header-cell {
|
|
72
|
+
&.number {
|
|
73
|
+
text-align: right;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// Batch filter popover - active state styling
|
|
79
|
+
// Matches Carbon's overflow menu behavior when open
|
|
80
|
+
cds-popover.cds--overflow-menu--open {
|
|
81
|
+
box-shadow: 0 2px 6px var(--cds-shadow);
|
|
82
|
+
background-color: var(--cds-background);
|
|
83
|
+
transition: none;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.zoo-datatable-skeleton-wrapper {
|
|
87
|
+
display: grid;
|
|
88
|
+
grid-template-columns: 1fr;
|
|
89
|
+
grid-template-rows: 1fr;
|
|
90
|
+
|
|
91
|
+
cds-table,
|
|
92
|
+
cds-table-skeleton {
|
|
93
|
+
grid-column: 1;
|
|
94
|
+
grid-row: 1;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
cds-table {
|
|
98
|
+
z-index: 2; /* Table always on top */
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
cds-table-skeleton {
|
|
102
|
+
z-index: 1;
|
|
103
|
+
opacity: 1;
|
|
104
|
+
visibility: visible;
|
|
105
|
+
transition: opacity 1s ease, visibility 1s ease;
|
|
106
|
+
|
|
107
|
+
&.hidden {
|
|
108
|
+
opacity: 0;
|
|
109
|
+
visibility: hidden;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.hidden {
|
|
115
|
+
opacity: 0;
|
|
116
|
+
visibility: hidden;
|
|
117
|
+
}
|