@duyluonganduin/acl-web-components 0.0.57 → 0.0.59
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/dist/acl-web-components.cjs +1 -1
- package/dist/acl-web-components.d.ts +24 -0
- package/dist/acl-web-components.iife.js +188 -148
- package/dist/acl-web-components.js +1 -1
- package/dist/{anduin-table-DGYmi5iv.js → anduin-table-DRPTUmAM.js} +635 -563
- package/dist/{anduin-table-CgbMyPrV.cjs → anduin-table-X2lYnMwn.cjs} +74 -34
- package/dist/react.cjs +1 -1
- package/dist/react.d.ts +24 -0
- package/dist/react.js +2 -2
- package/package.json +1 -1
package/dist/react.d.ts
CHANGED
|
@@ -532,6 +532,13 @@ declare class AnduinDropdown extends LitElement {
|
|
|
532
532
|
clearable: boolean;
|
|
533
533
|
private _open;
|
|
534
534
|
private _query;
|
|
535
|
+
/**
|
|
536
|
+
* Index into the *filtered* options of the row the arrow keys have reached;
|
|
537
|
+
* -1 when none. Reset whenever the list it indexes changes (open, close,
|
|
538
|
+
* query), so it can never point at a row it was not set on. Disabled rows are
|
|
539
|
+
* never assigned: _moveActive steps over them.
|
|
540
|
+
*/
|
|
541
|
+
private _activeIndex;
|
|
535
542
|
private _triggerEl;
|
|
536
543
|
private _panelEl;
|
|
537
544
|
private _searchEl;
|
|
@@ -542,6 +549,8 @@ declare class AnduinDropdown extends LitElement {
|
|
|
542
549
|
private _onScrollOrResize;
|
|
543
550
|
private _onTriggerClick;
|
|
544
551
|
private _onKeyDown;
|
|
552
|
+
/** Step the highlight by `dir`, skipping disabled rows; stays put at either end. */
|
|
553
|
+
private _moveActive;
|
|
545
554
|
private _onClear;
|
|
546
555
|
private _selectOption;
|
|
547
556
|
private _updatePosition;
|
|
@@ -1776,6 +1785,21 @@ declare interface DropdownOption {
|
|
|
1776
1785
|
value: string;
|
|
1777
1786
|
label: string;
|
|
1778
1787
|
icon?: string;
|
|
1788
|
+
/**
|
|
1789
|
+
* Shown, dimmed, but never selectable: a click does nothing (no value change,
|
|
1790
|
+
* no `anduin-dropdown:change`, the panel stays open) and arrow keys step over
|
|
1791
|
+
* it. For an option that exists but is not available yet. Mirrors
|
|
1792
|
+
* `anduin-select-item[disabled]` in the Anduin design system. Default false.
|
|
1793
|
+
*/
|
|
1794
|
+
disabled?: boolean;
|
|
1795
|
+
/**
|
|
1796
|
+
* A secondary line under the label, smaller and lighter (part
|
|
1797
|
+
* `option-description`). Only the panel shows it; the trigger shows `label`
|
|
1798
|
+
* alone, and search matches `label` alone. Mirrors
|
|
1799
|
+
* `anduin-select-item[description]`. Default: none, and an option without one
|
|
1800
|
+
* renders exactly as it did before the field existed.
|
|
1801
|
+
*/
|
|
1802
|
+
description?: string;
|
|
1779
1803
|
}
|
|
1780
1804
|
|
|
1781
1805
|
declare type DropdownVariant = 'gray0' | 'gray9' | 'primary' | 'danger' | 'success' | 'warning';
|
package/dist/react.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import a from "react";
|
|
2
2
|
import { createComponent as e } from "@lit/react";
|
|
3
|
-
import { a5 as n, a4 as t, A as s, z as i, b as l, c as o, d, f as r, o as u, p as m, O as c, a3 as g, C, t as A, x as N, u as E, v as T, w as b, aT as p, P as _, aU as S, Q as G, ay as L, g as R, aJ as I, aI as D, B as v, bc as O, af as P, aS as h, M as H, N as M, D as B, E as f, aL as w, aM as F, F as k, G as U, b8 as W, ab as z, ac as V, a9 as x, a8 as K, ad as X, bb as Z, ae as j, bd as q, ao as y, bg as J, bh as Y, be as $, ap as Q, aq as aa, as as ea, ar as na, at as ta, bo as sa, au as ia, a as la, y as oa, am as da, an as ra, aE as ua, s as ma, aC as ca, aD as ga, q as Ca, r as Aa, a_ as Na, a7 as Ea, aY as Ta, aZ as ba, aX as pa, a6 as _a, aN as Sa, H as Ga, I as La, T as Ra, S as Ia, aV as Da, R as va, aP as Oa, J as Pa, K as ha, L as Ha, U as Ma, X as Ba, $ as fa, Y as wa, Z as Fa, _ as ka, a0 as Ua, aW as Wa, a1 as za, V as Va, W as xa, a2 as Ka, ag as Xa, aj as Za, ah as ja, al as qa, ai as ya, ak as Ja, aw as Ya, e as $a, aB as Qa, j as ae, k as ee, n as ne, l as te, az as se, h as ie, aA as le, i as oe, b1 as de, b2 as re, b4 as ue, b5 as me, a$ as ce, b6 as ge, b3 as Ce, b0 as Ae, b7 as Ne, aa as Ee } from "./anduin-table-
|
|
4
|
-
import { aK as at } from "./anduin-table-
|
|
3
|
+
import { a5 as n, a4 as t, A as s, z as i, b as l, c as o, d, f as r, o as u, p as m, O as c, a3 as g, C, t as A, x as N, u as E, v as T, w as b, aT as p, P as _, aU as S, Q as G, ay as L, g as R, aJ as I, aI as D, B as v, bc as O, af as P, aS as h, M as H, N as M, D as B, E as f, aL as w, aM as F, F as k, G as U, b8 as W, ab as z, ac as V, a9 as x, a8 as K, ad as X, bb as Z, ae as j, bd as q, ao as y, bg as J, bh as Y, be as $, ap as Q, aq as aa, as as ea, ar as na, at as ta, bo as sa, au as ia, a as la, y as oa, am as da, an as ra, aE as ua, s as ma, aC as ca, aD as ga, q as Ca, r as Aa, a_ as Na, a7 as Ea, aY as Ta, aZ as ba, aX as pa, a6 as _a, aN as Sa, H as Ga, I as La, T as Ra, S as Ia, aV as Da, R as va, aP as Oa, J as Pa, K as ha, L as Ha, U as Ma, X as Ba, $ as fa, Y as wa, Z as Fa, _ as ka, a0 as Ua, aW as Wa, a1 as za, V as Va, W as xa, a2 as Ka, ag as Xa, aj as Za, ah as ja, al as qa, ai as ya, ak as Ja, aw as Ya, e as $a, aB as Qa, j as ae, k as ee, n as ne, l as te, az as se, h as ie, aA as le, i as oe, b1 as de, b2 as re, b4 as ue, b5 as me, a$ as ce, b6 as ge, b3 as Ce, b0 as Ae, b7 as Ne, aa as Ee } from "./anduin-table-DRPTUmAM.js";
|
|
4
|
+
import { aK as at } from "./anduin-table-DRPTUmAM.js";
|
|
5
5
|
const _e = e({ react: a, tagName: "anduin-spinner", elementClass: n }), Se = e({ react: a, tagName: "anduin-sparkle-spinner", elementClass: t }), Ge = e({ react: a, tagName: "anduin-ai-spinner", elementClass: s }), Le = e({ react: a, tagName: "anduin-icon", elementClass: i }), Re = e({ react: a, tagName: "anduin-badge", elementClass: l }), Ie = e({ react: a, tagName: "anduin-badge-count", elementClass: o }), De = e({ react: a, tagName: "anduin-button", elementClass: d }), ve = e({ react: a, tagName: "anduin-callout", elementClass: r }), Oe = e({ react: a, tagName: "anduin-divider", elementClass: u }), Pe = e({ react: a, tagName: "anduin-dot", elementClass: m }), he = e({ react: a, tagName: "anduin-progress", elementClass: c }), He = e({ react: a, tagName: "anduin-skeleton", elementClass: g }), Me = e({ react: a, tagName: "anduin-loading-state", elementClass: C }), Be = e({ react: a, tagName: "anduin-field", elementClass: A }), fe = e({ react: a, tagName: "anduin-field-label", elementClass: N }), we = e({ react: a, tagName: "anduin-field-description", elementClass: E }), Fe = e({ react: a, tagName: "anduin-field-error", elementClass: T }), ke = e({ react: a, tagName: "anduin-field-group", elementClass: b }), Ue = e({
|
|
6
6
|
react: a,
|
|
7
7
|
tagName: "anduin-radio",
|