@viasat/beam-shared 2.2.1 → 2.9.0
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/chunks/card.BRp1Xa5-.js +1 -0
- package/chunks/card.DpZ8M5UF.js +26 -0
- package/chunks/footer.BFXnK5l6.js +13 -0
- package/chunks/footer.DFaBRxcx.js +1 -0
- package/index.cjs.js +1 -1
- package/index.es.js +140 -138
- package/lib/components/card.cjs.js +1 -1
- package/lib/components/card.d.ts +7 -10
- package/lib/components/card.es.js +6 -5
- package/lib/components/footer.cjs.js +1 -0
- package/lib/components/footer.d.ts +7 -0
- package/lib/components/footer.es.js +4 -0
- package/lib/components/index.cjs.js +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.es.js +43 -41
- package/lib/utils/dom.cjs.js +1 -1
- package/lib/utils/dom.d.ts +3 -3
- package/lib/utils/dom.es.js +15 -15
- package/package.json +1 -1
- package/chunks/card.CCV9x_-G.js +0 -29
- package/chunks/card.CNaiyXIu.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("../lib/utils/constants.cjs.js"),c=[e.allSizes.sm,e.allSizes.md,e.allSizes.lg],t=["clickable","selectable"],l=["radio","checkbox","hidden"],o=["single","multiple"],i={BLACK_10:"black-10",BLACK_20:"black-20",BLACK_30:"black-30",BLACK_40:"black-40",WHITE_10:"white-10",WHITE_20:"white-20",WHITE_30:"white-30",WHITE_40:"white-40"},a=Object.freeze(Object.defineProperty({__proto__:null,CARD_BACKDROP_VALUES:i,cardDensity:c,cardGroupSelectionMode:o,cardSelectionControl:l,cardType:t},Symbol.toStringTag,{value:"Module"}));exports.CARD_BACKDROP_VALUES=i;exports.card=a;exports.cardDensity=c;exports.cardGroupSelectionMode=o;exports.cardSelectionControl=l;exports.cardType=t;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { allSizes as e } from "../lib/utils/constants.es.js";
|
|
2
|
+
const c = [e.sm, e.md, e.lg], t = ["clickable", "selectable"], o = ["radio", "checkbox", "hidden"], a = ["single", "multiple"], l = {
|
|
3
|
+
BLACK_10: "black-10",
|
|
4
|
+
BLACK_20: "black-20",
|
|
5
|
+
BLACK_30: "black-30",
|
|
6
|
+
BLACK_40: "black-40",
|
|
7
|
+
WHITE_10: "white-10",
|
|
8
|
+
WHITE_20: "white-20",
|
|
9
|
+
WHITE_30: "white-30",
|
|
10
|
+
WHITE_40: "white-40"
|
|
11
|
+
}, i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12
|
+
__proto__: null,
|
|
13
|
+
CARD_BACKDROP_VALUES: l,
|
|
14
|
+
cardDensity: c,
|
|
15
|
+
cardGroupSelectionMode: a,
|
|
16
|
+
cardSelectionControl: o,
|
|
17
|
+
cardType: t
|
|
18
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
19
|
+
export {
|
|
20
|
+
l as C,
|
|
21
|
+
c as a,
|
|
22
|
+
t as b,
|
|
23
|
+
i as c,
|
|
24
|
+
o as d,
|
|
25
|
+
a as e
|
|
26
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
start: "start",
|
|
3
|
+
end: "end",
|
|
4
|
+
spaceBetween: "spaceBetween",
|
|
5
|
+
stacked: "stacked"
|
|
6
|
+
}, t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7
|
+
__proto__: null,
|
|
8
|
+
FOOTER_ACTION_ALIGNMENT: e
|
|
9
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
10
|
+
export {
|
|
11
|
+
e as F,
|
|
12
|
+
t as f
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e={start:"start",end:"end",spaceBetween:"spaceBetween",stacked:"stacked"},t=Object.freeze(Object.defineProperty({__proto__:null,FOOTER_ACTION_ALIGNMENT:e},Symbol.toStringTag,{value:"Module"}));exports.FOOTER_ACTION_ALIGNMENT=e;exports.footer=t;
|
package/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunks/accordion.C1LkPYXv.js"),s=require("./chunks/actionList.LFHBSlrg.js"),a=require("./chunks/alert.B4q5-o6H.js"),c=require("./chunks/avatar.VNzxbOMa.js"),l=require("./chunks/badge.B_k2GBe6.js"),p=require("./chunks/badgeDot.Dkqfk3zg.js"),_=require("./chunks/box.CsO__7hu.js"),m=require("./chunks/button.Bbz_mfWv.js"),u=require("./chunks/card.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunks/accordion.C1LkPYXv.js"),s=require("./chunks/actionList.LFHBSlrg.js"),a=require("./chunks/alert.B4q5-o6H.js"),c=require("./chunks/avatar.VNzxbOMa.js"),l=require("./chunks/badge.B_k2GBe6.js"),p=require("./chunks/badgeDot.Dkqfk3zg.js"),_=require("./chunks/box.CsO__7hu.js"),m=require("./chunks/button.Bbz_mfWv.js"),u=require("./chunks/card.BRp1Xa5-.js"),d=require("./chunks/chips.DKEagIsp.js"),b=require("./chunks/closeButton.C1A3p88y.js"),E=require("./chunks/dialog.DnkeApRr.js"),g=require("./chunks/divider.BYMLu6Wp.js"),S=require("./chunks/fileUpload.C-l2YXzO.js"),T=require("./chunks/footer.DFaBRxcx.js"),C=require("./chunks/form.CIzlawbr.js"),q=require("./chunks/helperText.C-apoW8Z.js"),h=require("./chunks/icon.SiHuIfL8.js"),A=require("./chunks/inputChoiceGroup.BSousduj.js"),v=require("./chunks/link.VyBRMFxS.js"),f=require("./chunks/list.D6NIx1OS.js"),D=require("./chunks/logo.CLQZSaVN.js"),x=require("./chunks/nativeSelect.Lz45VyQX.js"),P=require("./chunks/pageHeader.CbDGb6ot.js"),F=require("./chunks/pagination.Br7vTt5b.js"),R=require("./chunks/progressBar.DcG-X-RY.js"),y=require("./chunks/SegmentedControl.D0l_8a7O.js"),N=require("./chunks/spinner.B6R6yphw.js"),L=require("./chunks/stepper.ByKqsxhz.js"),M=require("./chunks/switch.Dalf8ccu.js"),O=require("./chunks/tabs.C7SBQq_R.js"),B=require("./chunks/text.CW-ftgoP.js"),U=require("./chunks/textArea.DF76BVU5.js"),I=require("./chunks/toast.C-h1RUq_.js"),V=require("./chunks/tooltip.DZTJP5dS.js"),w=require("./lib/shared.cjs.js"),i=require("./lib/utils/classNames.cjs.js"),e=require("./lib/utils/constants.cjs.js"),t=require("./lib/utils/helpers.cjs.js"),Y=require("./lib/utils/styles.cjs.js"),o=require("./lib/utils/dom.cjs.js"),H=require("./lib/utils/raf.cjs.js"),n=require("./lib/utils/overflow.cjs.js");exports.accordion=r.accordion;exports.actionList=s.actionList;exports.alert=a.alert;exports.avatar=c.avatar;exports.badge=l.badge;exports.badgeDot=p.badgeDot;exports.box=_.box;exports.button=m.button;exports.card=u.card;exports.chips=d.chips;exports.closeButton=b.closeButton;exports.dialog=E.dialog;exports.divider=g.divider;exports.fileUpload=S.fileUpload;exports.footer=T.footer;exports.form=C.form;exports.helperText=q.helperText;exports.icon=h.icon;exports.inputChoiceGroup=A.inputChoiceGroup;exports.link=v.link;exports.list=f.list;exports.logo=D.logo;exports.nativeSelect=x.nativeSelect;exports.pageHeader=P.pageHeader;exports.pagination=F.pagination;exports.progressBar=R.progressBar;exports.segmentedControl=y.SegmentedControl;exports.spinner=N.spinner;exports.stepper=L.stepper;exports.switch=M._switch;exports.tabs=O.tabs;exports.text=B.text;exports.textArea=U.textArea;exports.toast=I.toast;exports.tooltip=V.tooltip;exports.shared=w.shared;exports.generateSpacingClasses=i.generateSpacingClasses;exports.getBEMClassNames=i.getBEMClassNames;exports.ACCENT=e.ACCENT;exports.ATTRIBUTE=e.ATTRIBUTE;exports.BASE_FONT_SIZE=e.BASE_FONT_SIZE;exports.BEAM_INVERSE=e.BEAM_INVERSE;exports.DEFAULT_ACCENT=e.DEFAULT_ACCENT;exports.DEFAULT_MODE=e.DEFAULT_MODE;exports.DEFAULT_PRODUCT_TYPE=e.DEFAULT_PRODUCT_TYPE;exports.DEFAULT_THEME=e.DEFAULT_THEME;exports.EXPRESSIVE_THEMES=e.EXPRESSIVE_THEMES;exports.FPS_1=e.FPS_1;exports.FPS_120=e.FPS_120;exports.FPS_30=e.FPS_30;exports.FPS_60=e.FPS_60;exports.PRODUCT_TYPE=e.PRODUCT_TYPE;exports.STORAGE_KEY=e.STORAGE_KEY;exports.SYSTEM_MODE_ENABLED_KEY=e.SYSTEM_MODE_ENABLED_KEY;exports.SpacingValues=e.SpacingValues;exports.SpacingValuesAsNumbers=e.SpacingValuesAsNumbers;exports.StaticAppearances=e.StaticAppearances;exports.accentThemeClassName=e.accentThemeClassName;exports.allColors=e.allColors;exports.allSizes=e.allSizes;exports.appearance=e.appearance;exports.appearances=e.appearances;exports.consumer=e.consumer;exports.emphases=e.emphases;exports.enterprise=e.enterprise;exports.expressiveThemeClassName=e.expressiveThemeClassName;exports.info=e.info;exports.infoPrimary=e.infoPrimary;exports.infoSecondary=e.infoSecondary;exports.information=e.information;exports.inverse=e.inverse;exports.lg=e.lg;exports.md=e.md;exports.negative=e.negative;exports.positive=e.positive;exports.prefix=e.prefix;exports.primary=e.primary;exports.productTypeThemeClassName=e.productTypeThemeClassName;exports.secondary=e.secondary;exports.secondaryInverse=e.secondaryInverse;exports.sizes=e.sizes;exports.sm=e.sm;exports.themeClassName=e.themeClassName;exports.themeTypeValues=e.themeTypeValues;exports.warning=e.warning;exports.xl=e.xl;exports.xs=e.xs;exports.xxs=e.xxs;exports.Directions=t.Directions;exports.attributeDecorator=t.attributeDecorator;exports.camelCaseToKebabCase=t.camelCaseToKebabCase;exports.capitalizeFirstLetter=t.capitalizeFirstLetter;exports.debounce=t.debounce;exports.doesEventContainElement=t.doesEventContainElement;exports.doesWebComponentSlotExist=t.doesWebComponentSlotExist;exports.enrichSVGIcon=t.enrichSVGIcon;exports.findFirstFocusableElement=t.findFirstFocusableElement;exports.getDirection=t.getDirection;exports.getRandomArbitrary=t.getRandomArbitrary;exports.getRandomInt=t.getRandomInt;exports.getTypedEntries=t.getTypedEntries;exports.getTypedValues=t.getTypedValues;exports.isAPISupported=t.isAPISupported;exports.isMobileDevice=t.isMobileDevice;exports.nodesHaveContent=t.nodesHaveContent;exports.partitionProps=t.partitionProps;exports.propsChanged=t.propsChanged;exports.throttle=t.throttle;exports.generateCssVarPrefix=Y.generateCssVarPrefix;exports.addScrollToRect=o.addScrollToRect;exports.compareDomOrder=o.compareDomOrder;exports.findTopLevelSlottedWrapper=o.findTopLevelSlottedWrapper;exports.getElementScrollBoundingClientRect=o.getElementScrollBoundingClientRect;exports.getSecureRelAttribute=o.getSecureRelAttribute;exports.readStringProp=o.readStringProp;exports.createRafScheduler=H.createRafScheduler;exports.computeFitCount=n.computeFitCount;exports.hasScrollOverflow=n.hasScrollOverflow;exports.isMultiLineClamped=n.isMultiLineClamped;exports.isOverFlowing=n.isOverFlowing;exports.isSingleLineClamped=n.isSingleLineClamped;exports.isTextWrapping=n.isTextWrapping;
|
package/index.es.js
CHANGED
|
@@ -2,164 +2,166 @@ import { a as o } from "./chunks/accordion.CCM7ddD5.js";
|
|
|
2
2
|
import { a } from "./chunks/actionList.X99uHmXK.js";
|
|
3
3
|
import { a as p } from "./chunks/alert.BZ4L-6bC.js";
|
|
4
4
|
import { a as m } from "./chunks/avatar.BbM_sNXk.js";
|
|
5
|
-
import { b as
|
|
5
|
+
import { b as f } from "./chunks/badge.DZN0yrZh.js";
|
|
6
6
|
import { b as x } from "./chunks/badgeDot.ClhZtqzd.js";
|
|
7
7
|
import { b as d } from "./chunks/box._mFtvgTp.js";
|
|
8
8
|
import { b as S } from "./chunks/button.Dz8Zhr7J.js";
|
|
9
|
-
import { c as T } from "./chunks/card.
|
|
9
|
+
import { c as T } from "./chunks/card.DpZ8M5UF.js";
|
|
10
10
|
import { c as u } from "./chunks/chips.GU9UVEOU.js";
|
|
11
11
|
import { c as _ } from "./chunks/closeButton.g8_iRoUg.js";
|
|
12
12
|
import { d as A } from "./chunks/dialog.BTq-pLBf.js";
|
|
13
13
|
import { d as v } from "./chunks/divider.DgP7kpLb.js";
|
|
14
14
|
import { f as P } from "./chunks/fileUpload.BbSIsjJv.js";
|
|
15
|
-
import { f as N } from "./chunks/
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { i as I } from "./chunks/
|
|
19
|
-
import {
|
|
20
|
-
import { l as w } from "./chunks/
|
|
21
|
-
import { l as z } from "./chunks/
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { p as Z } from "./chunks/
|
|
25
|
-
import { p as q } from "./chunks/
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { s as oe } from "./chunks/
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { t as me } from "./chunks/
|
|
32
|
-
import { t as
|
|
33
|
-
import { t as xe } from "./chunks/
|
|
34
|
-
import { t as de } from "./chunks/
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
15
|
+
import { f as N } from "./chunks/footer.BFXnK5l6.js";
|
|
16
|
+
import { f as L } from "./chunks/form.BRWIo59c.js";
|
|
17
|
+
import { h as O } from "./chunks/helperText.CS5sun4r.js";
|
|
18
|
+
import { i as I } from "./chunks/icon.tCAxaKQh.js";
|
|
19
|
+
import { i as V } from "./chunks/inputChoiceGroup.DkDdA57f.js";
|
|
20
|
+
import { l as w } from "./chunks/link.DxTb3yhm.js";
|
|
21
|
+
import { l as z } from "./chunks/list.CCq0lIzm.js";
|
|
22
|
+
import { l as K } from "./chunks/logo.Cl29Chxj.js";
|
|
23
|
+
import { n as k } from "./chunks/nativeSelect.D9HZm9uJ.js";
|
|
24
|
+
import { p as Z } from "./chunks/pageHeader.fsTiHDRc.js";
|
|
25
|
+
import { p as q } from "./chunks/pagination.DinViL55.js";
|
|
26
|
+
import { p as Q } from "./chunks/progressBar.84w2qF8R.js";
|
|
27
|
+
import { S as ee } from "./chunks/SegmentedControl.B9dLCFSF.js";
|
|
28
|
+
import { s as oe } from "./chunks/spinner.oNNLX64f.js";
|
|
29
|
+
import { s as ae } from "./chunks/stepper.FT6nDHjL.js";
|
|
30
|
+
import { _ as pe } from "./chunks/switch.hUukrKTd.js";
|
|
31
|
+
import { t as me } from "./chunks/tabs.CIfcdjPn.js";
|
|
32
|
+
import { t as fe } from "./chunks/text.DpbJhMDB.js";
|
|
33
|
+
import { t as xe } from "./chunks/textArea.CmtmGm_y.js";
|
|
34
|
+
import { t as de } from "./chunks/toast.Bs1t4Urq.js";
|
|
35
|
+
import { t as Se } from "./chunks/tooltip.D1fCHa9d.js";
|
|
36
|
+
import { shared as Te } from "./lib/shared.es.js";
|
|
37
|
+
import { generateSpacingClasses as ue, getBEMClassNames as be } from "./lib/utils/classNames.es.js";
|
|
38
|
+
import { ACCENT as he, ATTRIBUTE as Ae, BASE_FONT_SIZE as De, BEAM_INVERSE as ve, DEFAULT_ACCENT as Fe, DEFAULT_MODE as Pe, DEFAULT_PRODUCT_TYPE as Re, DEFAULT_THEME as Ne, EXPRESSIVE_THEMES as ye, FPS_1 as Le, FPS_120 as Me, FPS_30 as Oe, FPS_60 as Be, PRODUCT_TYPE as Ie, STORAGE_KEY as Ue, SYSTEM_MODE_ENABLED_KEY as Ve, SpacingValues as Ye, SpacingValuesAsNumbers as we, StaticAppearances as He, accentThemeClassName as ze, allColors as Ge, allSizes as Ke, appearance as We, appearances as ke, consumer as Xe, emphases as Ze, enterprise as je, expressiveThemeClassName as qe, info as Je, infoPrimary as Qe, infoSecondary as $e, information as er, inverse as rr, lg as or, md as tr, negative as ar, positive as sr, prefix as pr, primary as ir, productTypeThemeClassName as mr, secondary as nr, secondaryInverse as fr, sizes as lr, sm as xr, themeClassName as cr, themeTypeValues as dr, warning as Er, xl as Sr, xs as gr, xxs as Tr } from "./lib/utils/constants.es.js";
|
|
39
|
+
import { Directions as ur, attributeDecorator as br, camelCaseToKebabCase as _r, capitalizeFirstLetter as hr, debounce as Ar, doesEventContainElement as Dr, doesWebComponentSlotExist as vr, enrichSVGIcon as Fr, findFirstFocusableElement as Pr, getDirection as Rr, getRandomArbitrary as Nr, getRandomInt as yr, getTypedEntries as Lr, getTypedValues as Mr, isAPISupported as Or, isMobileDevice as Br, nodesHaveContent as Ir, partitionProps as Ur, propsChanged as Vr, throttle as Yr } from "./lib/utils/helpers.es.js";
|
|
40
|
+
import { generateCssVarPrefix as Hr } from "./lib/utils/styles.es.js";
|
|
41
|
+
import { addScrollToRect as Gr, compareDomOrder as Kr, findTopLevelSlottedWrapper as Wr, getElementScrollBoundingClientRect as kr, getSecureRelAttribute as Xr, readStringProp as Zr } from "./lib/utils/dom.es.js";
|
|
42
|
+
import { createRafScheduler as qr } from "./lib/utils/raf.es.js";
|
|
43
|
+
import { computeFitCount as Qr, hasScrollOverflow as $r, isMultiLineClamped as eo, isOverFlowing as ro, isSingleLineClamped as oo, isTextWrapping as to } from "./lib/utils/overflow.es.js";
|
|
43
44
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
45
|
+
he as ACCENT,
|
|
46
|
+
Ae as ATTRIBUTE,
|
|
47
|
+
De as BASE_FONT_SIZE,
|
|
48
|
+
ve as BEAM_INVERSE,
|
|
49
|
+
Fe as DEFAULT_ACCENT,
|
|
50
|
+
Pe as DEFAULT_MODE,
|
|
51
|
+
Re as DEFAULT_PRODUCT_TYPE,
|
|
52
|
+
Ne as DEFAULT_THEME,
|
|
53
|
+
ur as Directions,
|
|
54
|
+
ye as EXPRESSIVE_THEMES,
|
|
55
|
+
Le as FPS_1,
|
|
56
|
+
Me as FPS_120,
|
|
57
|
+
Oe as FPS_30,
|
|
58
|
+
Be as FPS_60,
|
|
59
|
+
Ie as PRODUCT_TYPE,
|
|
60
|
+
Ue as STORAGE_KEY,
|
|
61
|
+
Ve as SYSTEM_MODE_ENABLED_KEY,
|
|
62
|
+
Ye as SpacingValues,
|
|
63
|
+
we as SpacingValuesAsNumbers,
|
|
64
|
+
He as StaticAppearances,
|
|
65
|
+
ze as accentThemeClassName,
|
|
65
66
|
o as accordion,
|
|
66
67
|
a as actionList,
|
|
67
|
-
|
|
68
|
+
Gr as addScrollToRect,
|
|
68
69
|
p as alert,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
Ge as allColors,
|
|
71
|
+
Ke as allSizes,
|
|
72
|
+
We as appearance,
|
|
73
|
+
ke as appearances,
|
|
74
|
+
br as attributeDecorator,
|
|
74
75
|
m as avatar,
|
|
75
|
-
|
|
76
|
+
f as badge,
|
|
76
77
|
x as badgeDot,
|
|
77
78
|
d as box,
|
|
78
79
|
S as button,
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
_r as camelCaseToKebabCase,
|
|
81
|
+
hr as capitalizeFirstLetter,
|
|
81
82
|
T as card,
|
|
82
83
|
u as chips,
|
|
83
84
|
_ as closeButton,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
Kr as compareDomOrder,
|
|
86
|
+
Qr as computeFitCount,
|
|
87
|
+
Xe as consumer,
|
|
88
|
+
qr as createRafScheduler,
|
|
89
|
+
Ar as debounce,
|
|
89
90
|
A as dialog,
|
|
90
91
|
v as divider,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
92
|
+
Dr as doesEventContainElement,
|
|
93
|
+
vr as doesWebComponentSlotExist,
|
|
94
|
+
Ze as emphases,
|
|
95
|
+
Fr as enrichSVGIcon,
|
|
96
|
+
je as enterprise,
|
|
97
|
+
qe as expressiveThemeClassName,
|
|
97
98
|
P as fileUpload,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
N as
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
O as
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
w as
|
|
129
|
-
z as
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
Z as
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
lr as
|
|
150
|
-
|
|
151
|
-
oe as
|
|
152
|
-
ae as
|
|
153
|
-
pe as
|
|
154
|
-
me as
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
de as
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
99
|
+
Pr as findFirstFocusableElement,
|
|
100
|
+
Wr as findTopLevelSlottedWrapper,
|
|
101
|
+
N as footer,
|
|
102
|
+
L as form,
|
|
103
|
+
Hr as generateCssVarPrefix,
|
|
104
|
+
ue as generateSpacingClasses,
|
|
105
|
+
be as getBEMClassNames,
|
|
106
|
+
Rr as getDirection,
|
|
107
|
+
kr as getElementScrollBoundingClientRect,
|
|
108
|
+
Nr as getRandomArbitrary,
|
|
109
|
+
yr as getRandomInt,
|
|
110
|
+
Xr as getSecureRelAttribute,
|
|
111
|
+
Lr as getTypedEntries,
|
|
112
|
+
Mr as getTypedValues,
|
|
113
|
+
$r as hasScrollOverflow,
|
|
114
|
+
O as helperText,
|
|
115
|
+
I as icon,
|
|
116
|
+
Je as info,
|
|
117
|
+
Qe as infoPrimary,
|
|
118
|
+
$e as infoSecondary,
|
|
119
|
+
er as information,
|
|
120
|
+
V as inputChoiceGroup,
|
|
121
|
+
rr as inverse,
|
|
122
|
+
Or as isAPISupported,
|
|
123
|
+
Br as isMobileDevice,
|
|
124
|
+
eo as isMultiLineClamped,
|
|
125
|
+
ro as isOverFlowing,
|
|
126
|
+
oo as isSingleLineClamped,
|
|
127
|
+
to as isTextWrapping,
|
|
128
|
+
or as lg,
|
|
129
|
+
w as link,
|
|
130
|
+
z as list,
|
|
131
|
+
K as logo,
|
|
132
|
+
tr as md,
|
|
133
|
+
k as nativeSelect,
|
|
134
|
+
ar as negative,
|
|
135
|
+
Ir as nodesHaveContent,
|
|
136
|
+
Z as pageHeader,
|
|
137
|
+
q as pagination,
|
|
138
|
+
Ur as partitionProps,
|
|
139
|
+
sr as positive,
|
|
140
|
+
pr as prefix,
|
|
141
|
+
ir as primary,
|
|
142
|
+
mr as productTypeThemeClassName,
|
|
143
|
+
Q as progressBar,
|
|
144
|
+
Vr as propsChanged,
|
|
145
|
+
Zr as readStringProp,
|
|
146
|
+
nr as secondary,
|
|
147
|
+
fr as secondaryInverse,
|
|
148
|
+
ee as segmentedControl,
|
|
149
|
+
Te as shared,
|
|
150
|
+
lr as sizes,
|
|
151
|
+
xr as sm,
|
|
152
|
+
oe as spinner,
|
|
153
|
+
ae as stepper,
|
|
154
|
+
pe as switch,
|
|
155
|
+
me as tabs,
|
|
156
|
+
fe as text,
|
|
157
|
+
xe as textArea,
|
|
158
|
+
cr as themeClassName,
|
|
159
|
+
dr as themeTypeValues,
|
|
160
|
+
Yr as throttle,
|
|
161
|
+
de as toast,
|
|
162
|
+
Se as tooltip,
|
|
163
|
+
Er as warning,
|
|
164
|
+
Sr as xl,
|
|
165
|
+
gr as xs,
|
|
166
|
+
Tr as xxs
|
|
165
167
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../utils/constants.cjs.js");const e=require("../../chunks/card.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../utils/constants.cjs.js");const e=require("../../chunks/card.BRp1Xa5-.js");exports.CARD_BACKDROP_VALUES=e.CARD_BACKDROP_VALUES;exports.cardDensity=e.cardDensity;exports.cardGroupSelectionMode=e.cardGroupSelectionMode;exports.cardSelectionControl=e.cardSelectionControl;exports.cardType=e.cardType;
|
package/lib/components/card.d.ts
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
export declare const cardDensity: readonly ["sm", "md", "lg"];
|
|
2
|
-
export type CardDensity =
|
|
2
|
+
export type CardDensity = typeof cardDensity[number];
|
|
3
3
|
export declare const cardType: readonly ["clickable", "selectable"];
|
|
4
|
-
export type CardType =
|
|
5
|
-
export declare const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly stacked: "stacked";
|
|
10
|
-
};
|
|
11
|
-
export type FooterActionLayout = (typeof FOOTER_ACTION_ALIGNMENT)[keyof typeof FOOTER_ACTION_ALIGNMENT];
|
|
4
|
+
export type CardType = typeof cardType[number];
|
|
5
|
+
export declare const cardSelectionControl: readonly ["radio", "checkbox", "hidden"];
|
|
6
|
+
export type CardSelectionControl = typeof cardSelectionControl[number];
|
|
7
|
+
export declare const cardGroupSelectionMode: readonly ["single", "multiple"];
|
|
8
|
+
export type CardGroupSelectionMode = typeof cardGroupSelectionMode[number];
|
|
12
9
|
export declare const CARD_BACKDROP_VALUES: {
|
|
13
10
|
readonly BLACK_10: "black-10";
|
|
14
11
|
readonly BLACK_20: "black-20";
|
|
@@ -20,5 +17,5 @@ export declare const CARD_BACKDROP_VALUES: {
|
|
|
20
17
|
readonly WHITE_40: "white-40";
|
|
21
18
|
};
|
|
22
19
|
type CardBackdropKeys = keyof typeof CARD_BACKDROP_VALUES;
|
|
23
|
-
export type CardBackdrop =
|
|
20
|
+
export type CardBackdrop = typeof CARD_BACKDROP_VALUES[CardBackdropKeys];
|
|
24
21
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import "../utils/constants.es.js";
|
|
2
|
-
import { C as
|
|
2
|
+
import { C as r, a as c, e as d, d as s, b as t } from "../../chunks/card.DpZ8M5UF.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
r as CARD_BACKDROP_VALUES,
|
|
5
|
+
c as cardDensity,
|
|
6
|
+
d as cardGroupSelectionMode,
|
|
7
|
+
s as cardSelectionControl,
|
|
8
|
+
t as cardType
|
|
8
9
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/footer.DFaBRxcx.js");exports.FOOTER_ACTION_ALIGNMENT=e.FOOTER_ACTION_ALIGNMENT;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const FOOTER_ACTION_ALIGNMENT: {
|
|
2
|
+
readonly start: "start";
|
|
3
|
+
readonly end: "end";
|
|
4
|
+
readonly spaceBetween: "spaceBetween";
|
|
5
|
+
readonly stacked: "stacked";
|
|
6
|
+
};
|
|
7
|
+
export type FooterActionLayout = typeof FOOTER_ACTION_ALIGNMENT[keyof typeof FOOTER_ACTION_ALIGNMENT];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/accordion.C1LkPYXv.js"),o=require("../../chunks/actionList.LFHBSlrg.js"),t=require("../../chunks/alert.B4q5-o6H.js"),n=require("../../chunks/avatar.VNzxbOMa.js"),i=require("../../chunks/badge.B_k2GBe6.js"),r=require("../../chunks/badgeDot.Dkqfk3zg.js"),s=require("../../chunks/box.CsO__7hu.js"),c=require("../../chunks/button.Bbz_mfWv.js"),l=require("../../chunks/card.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/accordion.C1LkPYXv.js"),o=require("../../chunks/actionList.LFHBSlrg.js"),t=require("../../chunks/alert.B4q5-o6H.js"),n=require("../../chunks/avatar.VNzxbOMa.js"),i=require("../../chunks/badge.B_k2GBe6.js"),r=require("../../chunks/badgeDot.Dkqfk3zg.js"),s=require("../../chunks/box.CsO__7hu.js"),c=require("../../chunks/button.Bbz_mfWv.js"),l=require("../../chunks/card.BRp1Xa5-.js"),p=require("../../chunks/chips.DKEagIsp.js"),_=require("../../chunks/closeButton.C1A3p88y.js"),a=require("../../chunks/dialog.DnkeApRr.js"),b=require("../../chunks/divider.BYMLu6Wp.js"),u=require("../../chunks/fileUpload.C-l2YXzO.js"),m=require("../../chunks/footer.DFaBRxcx.js"),q=require("../../chunks/form.CIzlawbr.js"),d=require("../../chunks/helperText.C-apoW8Z.js"),g=require("../../chunks/icon.SiHuIfL8.js"),h=require("../../chunks/inputChoiceGroup.BSousduj.js"),x=require("../../chunks/link.VyBRMFxS.js"),f=require("../../chunks/list.D6NIx1OS.js"),v=require("../../chunks/logo.CLQZSaVN.js"),S=require("../../chunks/nativeSelect.Lz45VyQX.js"),B=require("../../chunks/pageHeader.CbDGb6ot.js"),C=require("../../chunks/pagination.Br7vTt5b.js"),T=require("../../chunks/progressBar.DcG-X-RY.js"),k=require("../../chunks/SegmentedControl.D0l_8a7O.js"),w=require("../../chunks/spinner.B6R6yphw.js"),A=require("../../chunks/stepper.ByKqsxhz.js"),D=require("../../chunks/switch.Dalf8ccu.js"),G=require("../../chunks/tabs.C7SBQq_R.js"),H=require("../../chunks/text.CW-ftgoP.js"),L=require("../../chunks/textArea.DF76BVU5.js"),U=require("../../chunks/toast.C-h1RUq_.js"),y=require("../../chunks/tooltip.DZTJP5dS.js");exports.accordion=e.accordion;exports.actionList=o.actionList;exports.alert=t.alert;exports.avatar=n.avatar;exports.badge=i.badge;exports.badgeDot=r.badgeDot;exports.box=s.box;exports.button=c.button;exports.card=l.card;exports.chips=p.chips;exports.closeButton=_.closeButton;exports.dialog=a.dialog;exports.divider=b.divider;exports.fileUpload=u.fileUpload;exports.footer=m.footer;exports.form=q.form;exports.helperText=d.helperText;exports.icon=g.icon;exports.inputChoiceGroup=h.inputChoiceGroup;exports.link=x.link;exports.list=f.list;exports.logo=v.logo;exports.nativeSelect=S.nativeSelect;exports.pageHeader=B.pageHeader;exports.pagination=C.pagination;exports.progressBar=T.progressBar;exports.segmentedControl=k.SegmentedControl;exports.spinner=w.spinner;exports.stepper=A.stepper;exports.switch=D._switch;exports.tabs=G.tabs;exports.text=H.text;exports.textArea=L.textArea;exports.toast=U.toast;exports.tooltip=y.tooltip;
|
|
@@ -12,6 +12,7 @@ export * as closeButton from './closeButton';
|
|
|
12
12
|
export * as dialog from './dialog';
|
|
13
13
|
export * as divider from './divider';
|
|
14
14
|
export * as fileUpload from './fileUpload';
|
|
15
|
+
export * as footer from './footer';
|
|
15
16
|
export * as form from './form';
|
|
16
17
|
export * as helperText from './helperText';
|
|
17
18
|
export * as icon from './icon';
|
|
@@ -6,32 +6,33 @@ import { b as i } from "../../chunks/badge.DZN0yrZh.js";
|
|
|
6
6
|
import { b as n } from "../../chunks/badgeDot.ClhZtqzd.js";
|
|
7
7
|
import { b as d } from "../../chunks/box._mFtvgTp.js";
|
|
8
8
|
import { b as g } from "../../chunks/button.Dz8Zhr7J.js";
|
|
9
|
-
import { c as u } from "../../chunks/card.
|
|
9
|
+
import { c as u } from "../../chunks/card.DpZ8M5UF.js";
|
|
10
10
|
import { c as B } from "../../chunks/chips.GU9UVEOU.js";
|
|
11
11
|
import { c as S } from "../../chunks/closeButton.g8_iRoUg.js";
|
|
12
12
|
import { d as w } from "../../chunks/dialog.BTq-pLBf.js";
|
|
13
13
|
import { d as D } from "../../chunks/divider.DgP7kpLb.js";
|
|
14
14
|
import { f as H } from "../../chunks/fileUpload.BbSIsjJv.js";
|
|
15
|
-
import { f as T } from "../../chunks/
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { i as z } from "../../chunks/
|
|
19
|
-
import {
|
|
20
|
-
import { l as J } from "../../chunks/
|
|
21
|
-
import { l as M } from "../../chunks/
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { p as V } from "../../chunks/
|
|
25
|
-
import { p as X } from "../../chunks/
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { s as to } from "../../chunks/
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { t as xo } from "../../chunks/
|
|
32
|
-
import { t as io } from "../../chunks/
|
|
33
|
-
import { t as no } from "../../chunks/
|
|
34
|
-
import { t as bo } from "../../chunks/
|
|
15
|
+
import { f as T } from "../../chunks/footer.BFXnK5l6.js";
|
|
16
|
+
import { f as _ } from "../../chunks/form.BRWIo59c.js";
|
|
17
|
+
import { h as q } from "../../chunks/helperText.CS5sun4r.js";
|
|
18
|
+
import { i as z } from "../../chunks/icon.tCAxaKQh.js";
|
|
19
|
+
import { i as F } from "../../chunks/inputChoiceGroup.DkDdA57f.js";
|
|
20
|
+
import { l as J } from "../../chunks/link.DxTb3yhm.js";
|
|
21
|
+
import { l as M } from "../../chunks/list.CCq0lIzm.js";
|
|
22
|
+
import { l as O } from "../../chunks/logo.Cl29Chxj.js";
|
|
23
|
+
import { n as Q } from "../../chunks/nativeSelect.D9HZm9uJ.js";
|
|
24
|
+
import { p as V } from "../../chunks/pageHeader.fsTiHDRc.js";
|
|
25
|
+
import { p as X } from "../../chunks/pagination.DinViL55.js";
|
|
26
|
+
import { p as Z } from "../../chunks/progressBar.84w2qF8R.js";
|
|
27
|
+
import { S as oo } from "../../chunks/SegmentedControl.B9dLCFSF.js";
|
|
28
|
+
import { s as to } from "../../chunks/spinner.oNNLX64f.js";
|
|
29
|
+
import { s as ao } from "../../chunks/stepper.FT6nDHjL.js";
|
|
30
|
+
import { _ as so } from "../../chunks/switch.hUukrKTd.js";
|
|
31
|
+
import { t as xo } from "../../chunks/tabs.CIfcdjPn.js";
|
|
32
|
+
import { t as io } from "../../chunks/text.DpbJhMDB.js";
|
|
33
|
+
import { t as no } from "../../chunks/textArea.CmtmGm_y.js";
|
|
34
|
+
import { t as bo } from "../../chunks/toast.Bs1t4Urq.js";
|
|
35
|
+
import { t as ho } from "../../chunks/tooltip.D1fCHa9d.js";
|
|
35
36
|
export {
|
|
36
37
|
t as accordion,
|
|
37
38
|
a as actionList,
|
|
@@ -47,24 +48,25 @@ export {
|
|
|
47
48
|
w as dialog,
|
|
48
49
|
D as divider,
|
|
49
50
|
H as fileUpload,
|
|
50
|
-
T as
|
|
51
|
-
_ as
|
|
52
|
-
q as
|
|
53
|
-
z as
|
|
54
|
-
F as
|
|
55
|
-
J as
|
|
56
|
-
M as
|
|
57
|
-
O as
|
|
58
|
-
Q as
|
|
59
|
-
V as
|
|
60
|
-
X as
|
|
61
|
-
Z as
|
|
62
|
-
oo as
|
|
63
|
-
to as
|
|
64
|
-
ao as
|
|
65
|
-
so as
|
|
66
|
-
xo as
|
|
67
|
-
io as
|
|
68
|
-
no as
|
|
69
|
-
bo as
|
|
51
|
+
T as footer,
|
|
52
|
+
_ as form,
|
|
53
|
+
q as helperText,
|
|
54
|
+
z as icon,
|
|
55
|
+
F as inputChoiceGroup,
|
|
56
|
+
J as link,
|
|
57
|
+
M as list,
|
|
58
|
+
O as logo,
|
|
59
|
+
Q as nativeSelect,
|
|
60
|
+
V as pageHeader,
|
|
61
|
+
X as pagination,
|
|
62
|
+
Z as progressBar,
|
|
63
|
+
oo as segmentedControl,
|
|
64
|
+
to as spinner,
|
|
65
|
+
ao as stepper,
|
|
66
|
+
so as switch,
|
|
67
|
+
xo as tabs,
|
|
68
|
+
io as text,
|
|
69
|
+
no as textArea,
|
|
70
|
+
bo as toast,
|
|
71
|
+
ho as tooltip
|
|
70
72
|
};
|
package/lib/utils/dom.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=(e,n)=>{const t=e,i=t[n];if(typeof i=="string"&&i.length>0)return i;const r=t.getAttribute(n);return r!==null&&r!==""?r:void 0},c=(e,n,t)=>{const i=t==null?void 0:t.assignedElements({flatten:!0}),r=i?new Set(i):void 0;let o=e;for(;o;){if(r!=null&&r.has(o)||o.parentElement===n)return o;o=o.parentElement}return e},s=(e,n)=>{const t=e.compareDocumentPosition(n);return t&Node.DOCUMENT_POSITION_FOLLOWING?-1:t&Node.DOCUMENT_POSITION_PRECEDING?1:0},l=e=>new DOMRect(e.x+window.scrollX,e.y+window.scrollY,e.width,e.height),d=e=>{if(!e)return null;const n=e.getBoundingClientRect();return l(n)},p=(e,n)=>{if(e==="_blank"){const t=n?n.split(/\s+/):[];return t.includes("noopener")||t.push("noopener"),t.includes("noreferrer")||t.push("noreferrer"),t.join(" ")}return n};exports.addScrollToRect=l;exports.compareDomOrder=s;exports.findTopLevelSlottedWrapper=c;exports.getElementScrollBoundingClientRect=d;exports.getSecureRelAttribute=p;exports.readStringProp=u;
|
package/lib/utils/dom.d.ts
CHANGED
|
@@ -17,11 +17,11 @@ export declare const compareDomOrder: (a: Node, b: Node) => number;
|
|
|
17
17
|
export declare const addScrollToRect: (rect: DOMRect) => DOMRect;
|
|
18
18
|
export declare const getElementScrollBoundingClientRect: (element?: HTMLElement | null) => DOMRect | null;
|
|
19
19
|
/**
|
|
20
|
-
* Ensures that `rel="noopener"` is included when `target="_blank"` is set.
|
|
21
|
-
*
|
|
20
|
+
* Ensures that `rel="noopener noreferrer"` is included when `target="_blank"` is set.
|
|
21
|
+
* noopener prevents the new page from accessing `window.opener`; noreferrer omits the Referer header.
|
|
22
22
|
*
|
|
23
23
|
* @param target - The target attribute value (e.g., "_blank")
|
|
24
24
|
* @param rel - The existing rel attribute value (if any)
|
|
25
|
-
* @returns The rel attribute value with "noopener"
|
|
25
|
+
* @returns The rel attribute value with "noopener" and "noreferrer" when target="_blank"
|
|
26
26
|
*/
|
|
27
27
|
export declare const getSecureRelAttribute: (target: string | undefined, rel: string | undefined) => string | undefined;
|
package/lib/utils/dom.es.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
const s = (e,
|
|
2
|
-
const
|
|
1
|
+
const s = (e, t) => {
|
|
2
|
+
const n = e, i = n[t];
|
|
3
3
|
if (typeof i == "string" && i.length > 0) return i;
|
|
4
|
-
const r =
|
|
4
|
+
const r = n.getAttribute(t);
|
|
5
5
|
return r !== null && r !== "" ? r : void 0;
|
|
6
|
-
}, c = (e,
|
|
7
|
-
const i =
|
|
6
|
+
}, c = (e, t, n) => {
|
|
7
|
+
const i = n == null ? void 0 : n.assignedElements({ flatten: !0 }), r = i ? new Set(i) : void 0;
|
|
8
8
|
let o = e;
|
|
9
9
|
for (; o; ) {
|
|
10
|
-
if (r != null && r.has(o) || o.parentElement ===
|
|
10
|
+
if (r != null && r.has(o) || o.parentElement === t) return o;
|
|
11
11
|
o = o.parentElement;
|
|
12
12
|
}
|
|
13
13
|
return e;
|
|
14
|
-
}, l = (e,
|
|
15
|
-
const
|
|
16
|
-
return
|
|
14
|
+
}, l = (e, t) => {
|
|
15
|
+
const n = e.compareDocumentPosition(t);
|
|
16
|
+
return n & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : n & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
|
|
17
17
|
}, u = (e) => new DOMRect(
|
|
18
18
|
e.x + window.scrollX,
|
|
19
19
|
e.y + window.scrollY,
|
|
@@ -22,14 +22,14 @@ const s = (e, n) => {
|
|
|
22
22
|
), d = (e) => {
|
|
23
23
|
if (!e)
|
|
24
24
|
return null;
|
|
25
|
-
const
|
|
26
|
-
return u(
|
|
27
|
-
}, p = (e,
|
|
25
|
+
const t = e.getBoundingClientRect();
|
|
26
|
+
return u(t);
|
|
27
|
+
}, p = (e, t) => {
|
|
28
28
|
if (e === "_blank") {
|
|
29
|
-
const
|
|
30
|
-
return
|
|
29
|
+
const n = t ? t.split(/\s+/) : [];
|
|
30
|
+
return n.includes("noopener") || n.push("noopener"), n.includes("noreferrer") || n.push("noreferrer"), n.join(" ");
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return t;
|
|
33
33
|
};
|
|
34
34
|
export {
|
|
35
35
|
u as addScrollToRect,
|
package/package.json
CHANGED
package/chunks/card.CCV9x_-G.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { allSizes as e } from "../lib/utils/constants.es.js";
|
|
2
|
-
const t = [e.sm, e.md, e.lg], a = ["clickable", "selectable"], c = {
|
|
3
|
-
start: "start",
|
|
4
|
-
end: "end",
|
|
5
|
-
spaceBetween: "spaceBetween",
|
|
6
|
-
stacked: "stacked"
|
|
7
|
-
}, s = {
|
|
8
|
-
BLACK_10: "black-10",
|
|
9
|
-
BLACK_20: "black-20",
|
|
10
|
-
BLACK_30: "black-30",
|
|
11
|
-
BLACK_40: "black-40",
|
|
12
|
-
WHITE_10: "white-10",
|
|
13
|
-
WHITE_20: "white-20",
|
|
14
|
-
WHITE_30: "white-30",
|
|
15
|
-
WHITE_40: "white-40"
|
|
16
|
-
}, _ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17
|
-
__proto__: null,
|
|
18
|
-
CARD_BACKDROP_VALUES: s,
|
|
19
|
-
FOOTER_ACTION_ALIGNMENT: c,
|
|
20
|
-
cardDensity: t,
|
|
21
|
-
cardType: a
|
|
22
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
23
|
-
export {
|
|
24
|
-
s as C,
|
|
25
|
-
c as F,
|
|
26
|
-
t as a,
|
|
27
|
-
a as b,
|
|
28
|
-
_ as c
|
|
29
|
-
};
|
package/chunks/card.CNaiyXIu.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("../lib/utils/constants.cjs.js"),t=[e.allSizes.sm,e.allSizes.md,e.allSizes.lg],c=["clickable","selectable"],a={start:"start",end:"end",spaceBetween:"spaceBetween",stacked:"stacked"},s={BLACK_10:"black-10",BLACK_20:"black-20",BLACK_30:"black-30",BLACK_40:"black-40",WHITE_10:"white-10",WHITE_20:"white-20",WHITE_30:"white-30",WHITE_40:"white-40"},l=Object.freeze(Object.defineProperty({__proto__:null,CARD_BACKDROP_VALUES:s,FOOTER_ACTION_ALIGNMENT:a,cardDensity:t,cardType:c},Symbol.toStringTag,{value:"Module"}));exports.CARD_BACKDROP_VALUES=s;exports.FOOTER_ACTION_ALIGNMENT=a;exports.card=l;exports.cardDensity=t;exports.cardType=c;
|