@covalent/components 11.5.9 → 11.5.11
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/action-ribbon.js +2 -2
- package/action-ribbon.mjs +15 -15
- package/alert.js +1 -1
- package/alert.mjs +8 -8
- package/app-shell.js +3 -3
- package/app-shell.mjs +8 -8
- package/button.js +1 -1
- package/button.mjs +1 -1
- package/card.js +1 -1
- package/card.mjs +10 -10
- package/{chip-BjFvUMom.js → chip-DiYsniRL.js} +1 -1
- package/{chip-vV-teZYv.mjs → chip-S-9zvyg8.mjs} +1 -1
- package/chip-set.js +2 -2
- package/chip-set.mjs +19 -19
- package/chip.js +1 -1
- package/chip.mjs +1 -1
- package/{code-editor-BFsO7exo.mjs → code-editor-BiWYnbVV.mjs} +8593 -8672
- package/{code-editor-BzGE1EMG.js → code-editor-CWb0CzUr.js} +109 -111
- package/code-editor.js +1 -1
- package/code-editor.mjs +1 -1
- package/{html-Q7PUI9YS.js → html-BAAAKI1Z.js} +1 -1
- package/{html-_lRwbb85.mjs → html-jiUCJAJI.mjs} +1 -1
- package/icon-button.js +3 -3
- package/icon-button.mjs +13 -13
- package/index.js +1 -1
- package/index.mjs +2 -2
- package/{javascript-DGxrm2dq.mjs → javascript-BGXXRdWE.mjs} +1 -1
- package/{javascript-BdPXpoHG.js → javascript-CqulNpXi.js} +1 -1
- package/nav-list-item.js +1 -1
- package/nav-list-item.mjs +1 -1
- package/notebook-cell.js +1 -1
- package/notebook-cell.mjs +1 -1
- package/package.json +1 -1
- package/{python-DzCY183v.mjs → python-Cshpx36W.mjs} +1 -1
- package/{python-D7R1fGvN.js → python-CtCeod6D.js} +1 -1
- package/select.js +1 -1
- package/select.mjs +35 -35
- package/theme/prebuilt/dark-theme.css +1 -1
- package/theme/prebuilt/light-theme.css +1 -1
- package/toolbar.js +1 -1
- package/toolbar.mjs +3 -3
- package/tooltip.js +1 -1
- package/tooltip.mjs +1 -1
- package/{typescript-COsV2CwR.mjs → typescript-BguWSdTR.mjs} +1 -1
- package/{typescript-CrZoSsEg.js → typescript-DzR6t9e9.js} +1 -1
package/chip-set.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as M, x as D, r as L, i as O, e as w } from "./query-assigned-elements-D930kELM.mjs";
|
|
2
|
-
import { M as E, a as A, b as T, C as _, c as v } from "./chip-
|
|
2
|
+
import { M as E, a as A, b as T, C as _, c as v } from "./chip-S-9zvyg8.mjs";
|
|
3
3
|
import { a as B, b as F, c as I } from "./tslib.es6-pPsSiLLK.mjs";
|
|
4
4
|
import { M as P } from "./foundation-PL3XY-m_.mjs";
|
|
5
|
-
import { K as
|
|
5
|
+
import { K as u } from "./keyboard-BLpVBEDM.mjs";
|
|
6
6
|
import { n as y } from "./property-DJzm_oB9.mjs";
|
|
7
7
|
import { i as U } from "./query-CDOd1Kwm.mjs";
|
|
8
8
|
/**
|
|
@@ -136,29 +136,29 @@ var k = (
|
|
|
136
136
|
chipID: n
|
|
137
137
|
}), o && this.setSelection(p, r, !h);
|
|
138
138
|
}, i.prototype.handleChipNavigation = function(t) {
|
|
139
|
-
var e = t.detail, r = e.chipID, n = e.key, o = e.isRTL, h = e.source, s = this.adapter.getChipIndexById(r), p = n ===
|
|
139
|
+
var e = t.detail, r = e.chipID, n = e.key, o = e.isRTL, h = e.source, s = this.adapter.getChipIndexById(r), p = n === u.ARROW_RIGHT && !o || n === u.ARROW_LEFT && o;
|
|
140
140
|
if (p) {
|
|
141
141
|
this.focusNextChipFrom(s + 1);
|
|
142
142
|
return;
|
|
143
143
|
}
|
|
144
|
-
var c = n ===
|
|
144
|
+
var c = n === u.ARROW_LEFT && !o || n === u.ARROW_RIGHT && o;
|
|
145
145
|
if (c) {
|
|
146
146
|
this.focusPrevChipFrom(s - 1);
|
|
147
147
|
return;
|
|
148
148
|
}
|
|
149
|
-
if (n ===
|
|
149
|
+
if (n === u.ARROW_DOWN) {
|
|
150
150
|
this.focusNextChipFrom(s + 1, h);
|
|
151
151
|
return;
|
|
152
152
|
}
|
|
153
|
-
if (n ===
|
|
153
|
+
if (n === u.ARROW_UP) {
|
|
154
154
|
this.focusPrevChipFrom(s - 1, h);
|
|
155
155
|
return;
|
|
156
156
|
}
|
|
157
|
-
if (n ===
|
|
157
|
+
if (n === u.HOME) {
|
|
158
158
|
this.focusNextChipFrom(0, h);
|
|
159
159
|
return;
|
|
160
160
|
}
|
|
161
|
-
if (n ===
|
|
161
|
+
if (n === u.END) {
|
|
162
162
|
this.focusPrevChipFrom(this.adapter.getChipCount() - 1, h);
|
|
163
163
|
return;
|
|
164
164
|
}
|
|
@@ -170,8 +170,8 @@ var k = (
|
|
|
170
170
|
var c = p.value;
|
|
171
171
|
this.adapter.isChipSelectedAtIndex(o, c) && r.add(o);
|
|
172
172
|
}
|
|
173
|
-
} catch (
|
|
174
|
-
t = { error:
|
|
173
|
+
} catch (l) {
|
|
174
|
+
t = { error: l };
|
|
175
175
|
} finally {
|
|
176
176
|
try {
|
|
177
177
|
p && !p.done && (e = s.return) && e.call(s);
|
|
@@ -238,8 +238,8 @@ var k = (
|
|
|
238
238
|
if (this.adapter.isChipFocusableAtIndex(t, c) && (h = c), h === r)
|
|
239
239
|
return h;
|
|
240
240
|
}
|
|
241
|
-
} catch (
|
|
242
|
-
n = { error:
|
|
241
|
+
} catch (l) {
|
|
242
|
+
n = { error: l };
|
|
243
243
|
} finally {
|
|
244
244
|
try {
|
|
245
245
|
p && !p.done && (o = s.return) && o.call(s);
|
|
@@ -254,15 +254,15 @@ var k = (
|
|
|
254
254
|
for (var h = this.adapter.getChipCount(), s = 0; s < h; s++) {
|
|
255
255
|
var p = this.adapter.getChipActionsAtIndex(s);
|
|
256
256
|
try {
|
|
257
|
-
for (var c = (n = void 0, I(p)),
|
|
258
|
-
var m =
|
|
257
|
+
for (var c = (n = void 0, I(p)), l = c.next(); !l.done; l = c.next()) {
|
|
258
|
+
var m = l.value;
|
|
259
259
|
m === e && s === t || this.adapter.setChipFocusAtIndex(s, m, A.NOT_FOCUSABLE);
|
|
260
260
|
}
|
|
261
261
|
} catch (b) {
|
|
262
262
|
n = { error: b };
|
|
263
263
|
} finally {
|
|
264
264
|
try {
|
|
265
|
-
|
|
265
|
+
l && !l.done && (o = c.return) && o.call(c);
|
|
266
266
|
} finally {
|
|
267
267
|
if (n) throw n.error;
|
|
268
268
|
}
|
|
@@ -280,15 +280,15 @@ var k = (
|
|
|
280
280
|
for (var h = this.adapter.getChipCount(), s = 0; s < h; s++) {
|
|
281
281
|
var p = this.adapter.getChipActionsAtIndex(s);
|
|
282
282
|
try {
|
|
283
|
-
for (var c = (n = void 0, I(p)),
|
|
284
|
-
var m =
|
|
283
|
+
for (var c = (n = void 0, I(p)), l = c.next(); !l.done; l = c.next()) {
|
|
284
|
+
var m = l.value;
|
|
285
285
|
m === e && s === t || this.adapter.setChipSelectedAtIndex(s, m, !1);
|
|
286
286
|
}
|
|
287
287
|
} catch (b) {
|
|
288
288
|
n = { error: b };
|
|
289
289
|
} finally {
|
|
290
290
|
try {
|
|
291
|
-
|
|
291
|
+
l && !l.done && (o = c.return) && o.call(c);
|
|
292
292
|
} finally {
|
|
293
293
|
if (n) throw n.error;
|
|
294
294
|
}
|
|
@@ -502,7 +502,7 @@ g([
|
|
|
502
502
|
g([
|
|
503
503
|
y({ type: Number })
|
|
504
504
|
], C.prototype, "activeIndex");
|
|
505
|
-
const H = ".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}::slotted(cv-chip){margin:
|
|
505
|
+
const H = ".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}::slotted(cv-chip){margin-left:8px;margin-right:0}[dir=rtl] ::slotted(cv-chip),::slotted(cv-chip[dir=rtl]){margin-left:0;margin-right:8px}::slotted(cv-chip){margin-top:4px;margin-bottom:4px}";
|
|
506
506
|
var j = Object.getOwnPropertyDescriptor, K = (a, i, t, e) => {
|
|
507
507
|
for (var r = e > 1 ? void 0 : e ? j(i, t) : i, n = a.length - 1, o; n >= 0; n--)
|
|
508
508
|
(o = a[n]) && (r = o(r) || r);
|
package/chip.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-8EurZY45.js");const e=require("./chip-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-8EurZY45.js");const e=require("./chip-DiYsniRL.js");Object.defineProperty(exports,"CovalentChip",{enumerable:!0,get:()=>e.CovalentChip});exports.default=e.CovalentChip$1;
|
package/chip.mjs
CHANGED