@viasat/beam-shared 2.37.0 → 2.38.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/input.BxPkmKmK.js +1 -0
- package/chunks/input.DG5FyEpi.js +16 -0
- package/index.cjs.js +1 -1
- package/index.es.js +133 -131
- package/lib/components/index.cjs.js +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.es.js +38 -36
- package/lib/components/input.cjs.js +1 -0
- package/lib/components/input.d.ts +16 -0
- package/lib/components/input.es.js +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("../lib/utils/constants.cjs.js"),n=[t.allSizes.sm,t.allSizes.md,t.allSizes.lg],l=t.allSizes.md,i=(e=l,o)=>({fieldSize:typeof e=="number"?l:e,nativeSize:o??(typeof e=="number"?e:void 0)}),u=Object.freeze(Object.defineProperty({__proto__:null,INPUT_SIZES:n,defaultInputSize:l,resolveInputSize:i},Symbol.toStringTag,{value:"Module"}));exports.INPUT_SIZES=n;exports.defaultInputSize=l;exports.input=u;exports.resolveInputSize=i;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { allSizes as t } from "../lib/utils/constants.es.js";
|
|
2
|
+
const r = [t.sm, t.md, t.lg], o = t.md, l = (e = o, n) => ({
|
|
3
|
+
fieldSize: typeof e == "number" ? o : e,
|
|
4
|
+
nativeSize: n ?? (typeof e == "number" ? e : void 0)
|
|
5
|
+
}), a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6
|
+
__proto__: null,
|
|
7
|
+
INPUT_SIZES: r,
|
|
8
|
+
defaultInputSize: o,
|
|
9
|
+
resolveInputSize: l
|
|
10
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
11
|
+
export {
|
|
12
|
+
r as I,
|
|
13
|
+
o as d,
|
|
14
|
+
a as i,
|
|
15
|
+
l as r
|
|
16
|
+
};
|
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"),l=require("./chunks/avatar.VNzxbOMa.js"),c=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/dateField.BNJzLmON.js"),g=require("./chunks/dialog.DSxBxP0V.js"),S=require("./chunks/divider.rAzhUMwO.js"),T=require("./chunks/fileUpload.C-l2YXzO.js"),C=require("./chunks/footer.DFaBRxcx.js"),q=require("./chunks/form.CIzlawbr.js"),h=require("./chunks/helperText.C-apoW8Z.js"),A=require("./chunks/icon.SiHuIfL8.js"),v=require("./chunks/inputChoiceGroup.BSousduj.js"),
|
|
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"),l=require("./chunks/avatar.VNzxbOMa.js"),c=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/dateField.BNJzLmON.js"),g=require("./chunks/dialog.DSxBxP0V.js"),S=require("./chunks/divider.rAzhUMwO.js"),T=require("./chunks/fileUpload.C-l2YXzO.js"),C=require("./chunks/footer.DFaBRxcx.js"),q=require("./chunks/form.CIzlawbr.js"),h=require("./chunks/helperText.C-apoW8Z.js"),A=require("./chunks/icon.SiHuIfL8.js"),v=require("./chunks/input.BxPkmKmK.js"),f=require("./chunks/inputChoiceGroup.BSousduj.js"),D=require("./chunks/link.VyBRMFxS.js"),F=require("./chunks/list.D6NIx1OS.js"),x=require("./chunks/logo.CLQZSaVN.js"),P=require("./chunks/nativeSelect.Lz45VyQX.js"),R=require("./chunks/pageHeader.CbDGb6ot.js"),y=require("./chunks/panel.B1cO_Hpy.js"),N=require("./chunks/pagination.Br7vTt5b.js"),L=require("./chunks/progressBar.DcG-X-RY.js"),M=require("./chunks/SegmentedControl.D0l_8a7O.js"),O=require("./chunks/spinner.B6R6yphw.js"),B=require("./chunks/stepper.ByKqsxhz.js"),U=require("./chunks/switch.Dalf8ccu.js"),I=require("./chunks/tabs.CJUp7Ss0.js"),V=require("./chunks/text.CW-ftgoP.js"),w=require("./chunks/textArea.DF76BVU5.js"),Y=require("./chunks/toast.C-h1RUq_.js"),H=require("./chunks/tooltip.DZTJP5dS.js"),G=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"),z=require("./lib/utils/styles.cjs.js"),o=require("./lib/utils/dom.cjs.js"),K=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=l.avatar;exports.badge=c.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.dateField=E.dateField;exports.dialog=g.dialog;exports.divider=S.divider;exports.fileUpload=T.fileUpload;exports.footer=C.footer;exports.form=q.form;exports.helperText=h.helperText;exports.icon=A.icon;exports.input=v.input;exports.inputChoiceGroup=f.inputChoiceGroup;exports.link=D.link;exports.list=F.list;exports.logo=x.logo;exports.nativeSelect=P.nativeSelect;exports.pageHeader=R.pageHeader;exports.panel=y.panel;exports.pagination=N.pagination;exports.progressBar=L.progressBar;exports.segmentedControl=M.SegmentedControl;exports.spinner=O.spinner;exports.stepper=B.stepper;exports.switch=U._switch;exports.tabs=I.tabs;exports.text=V.text;exports.textArea=w.textArea;exports.toast=Y.toast;exports.tooltip=H.tooltip;exports.shared=G.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=z.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=K.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
|
@@ -17,155 +17,157 @@ import { f as L } from "./chunks/footer.BFXnK5l6.js";
|
|
|
17
17
|
import { f as O } from "./chunks/form.CBZyQOaS.js";
|
|
18
18
|
import { h as I } from "./chunks/helperText.CS5sun4r.js";
|
|
19
19
|
import { i as V } from "./chunks/icon.tCAxaKQh.js";
|
|
20
|
-
import { i as w } from "./chunks/
|
|
21
|
-
import {
|
|
22
|
-
import { l as K } from "./chunks/
|
|
23
|
-
import { l as k } from "./chunks/
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { p as Q } from "./chunks/
|
|
27
|
-
import { p as ee } from "./chunks/
|
|
28
|
-
import { p as oe } from "./chunks/
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { s as me } from "./chunks/
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import { t as de } from "./chunks/
|
|
35
|
-
import { t as Se } from "./chunks/
|
|
36
|
-
import { t as Te } from "./chunks/
|
|
37
|
-
import { t as ue } from "./chunks/
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
20
|
+
import { i as w } from "./chunks/input.DG5FyEpi.js";
|
|
21
|
+
import { i as z } from "./chunks/inputChoiceGroup.DkDdA57f.js";
|
|
22
|
+
import { l as K } from "./chunks/link.D_ySgWgk.js";
|
|
23
|
+
import { l as k } from "./chunks/list.BwnGPz2Y.js";
|
|
24
|
+
import { l as Z } from "./chunks/logo.Cl29Chxj.js";
|
|
25
|
+
import { n as q } from "./chunks/nativeSelect.D9HZm9uJ.js";
|
|
26
|
+
import { p as Q } from "./chunks/pageHeader.fsTiHDRc.js";
|
|
27
|
+
import { p as ee } from "./chunks/panel.CBf44fut.js";
|
|
28
|
+
import { p as oe } from "./chunks/pagination.JToJ3to9.js";
|
|
29
|
+
import { p as ae } from "./chunks/progressBar.Bb9NF0G2.js";
|
|
30
|
+
import { S as pe } from "./chunks/SegmentedControl.B9dLCFSF.js";
|
|
31
|
+
import { s as me } from "./chunks/spinner.g2VG2eDa.js";
|
|
32
|
+
import { s as fe } from "./chunks/stepper.FT6nDHjL.js";
|
|
33
|
+
import { _ as xe } from "./chunks/switch.hUukrKTd.js";
|
|
34
|
+
import { t as de } from "./chunks/tabs.C7gorntx.js";
|
|
35
|
+
import { t as Se } from "./chunks/text.J0CEkrH-.js";
|
|
36
|
+
import { t as Te } from "./chunks/textArea.CmtmGm_y.js";
|
|
37
|
+
import { t as ue } from "./chunks/toast.d3ZjZ9JS.js";
|
|
38
|
+
import { t as _e } from "./chunks/tooltip.D1fCHa9d.js";
|
|
39
|
+
import { shared as Ae } from "./lib/shared.es.js";
|
|
40
|
+
import { generateSpacingClasses as Fe, getBEMClassNames as ve } from "./lib/utils/classNames.es.js";
|
|
41
|
+
import { ACCENT as Re, ATTRIBUTE as Ne, BASE_FONT_SIZE as ye, BEAM_INVERSE as Le, DEFAULT_ACCENT as Me, DEFAULT_MODE as Oe, DEFAULT_PRODUCT_TYPE as Be, DEFAULT_THEME as Ie, EXPRESSIVE_THEMES as Ue, FPS_1 as Ve, FPS_120 as Ye, FPS_30 as we, FPS_60 as He, PRODUCT_TYPE as ze, STORAGE_KEY as Ge, SYSTEM_MODE_ENABLED_KEY as Ke, SpacingValues as We, SpacingValuesAsNumbers as ke, StaticAppearances as Xe, accentThemeClassName as Ze, allColors as je, allSizes as qe, appearance as Je, appearances as Qe, consumer as $e, emphases as er, enterprise as rr, expressiveThemeClassName as or, info as tr, infoPrimary as ar, infoSecondary as sr, information as pr, inverse as ir, lg as mr, md as nr, negative as fr, positive as lr, prefix as xr, primary as cr, productTypeThemeClassName as dr, secondary as Er, secondaryInverse as Sr, sizes as gr, sm as Tr, themeClassName as Cr, themeTypeValues as ur, warning as br, xl as _r, xs as hr, xxs as Ar } from "./lib/utils/constants.es.js";
|
|
42
|
+
import { Directions as Fr, attributeDecorator as vr, camelCaseToKebabCase as Pr, capitalizeFirstLetter as Rr, debounce as Nr, doesEventContainElement as yr, doesWebComponentSlotExist as Lr, enrichSVGIcon as Mr, findFirstFocusableElement as Or, getDirection as Br, getRandomArbitrary as Ir, getRandomInt as Ur, getTypedEntries as Vr, getTypedValues as Yr, isAPISupported as wr, isMobileDevice as Hr, nodesHaveContent as zr, partitionProps as Gr, propsChanged as Kr, throttle as Wr } from "./lib/utils/helpers.es.js";
|
|
43
|
+
import { generateCssVarPrefix as Xr } from "./lib/utils/styles.es.js";
|
|
44
|
+
import { addScrollToRect as jr, compareDomOrder as qr, findTopLevelSlottedWrapper as Jr, getElementScrollBoundingClientRect as Qr, getSecureRelAttribute as $r, readStringProp as eo } from "./lib/utils/dom.es.js";
|
|
45
|
+
import { createRafScheduler as oo } from "./lib/utils/raf.es.js";
|
|
46
|
+
import { computeFitCount as ao, hasScrollOverflow as so, isMultiLineClamped as po, isOverFlowing as io, isSingleLineClamped as mo, isTextWrapping as no } from "./lib/utils/overflow.es.js";
|
|
46
47
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
48
|
+
Re as ACCENT,
|
|
49
|
+
Ne as ATTRIBUTE,
|
|
50
|
+
ye as BASE_FONT_SIZE,
|
|
51
|
+
Le as BEAM_INVERSE,
|
|
52
|
+
Me as DEFAULT_ACCENT,
|
|
53
|
+
Oe as DEFAULT_MODE,
|
|
54
|
+
Be as DEFAULT_PRODUCT_TYPE,
|
|
55
|
+
Ie as DEFAULT_THEME,
|
|
56
|
+
Fr as Directions,
|
|
57
|
+
Ue as EXPRESSIVE_THEMES,
|
|
58
|
+
Ve as FPS_1,
|
|
59
|
+
Ye as FPS_120,
|
|
60
|
+
we as FPS_30,
|
|
61
|
+
He as FPS_60,
|
|
62
|
+
ze as PRODUCT_TYPE,
|
|
63
|
+
Ge as STORAGE_KEY,
|
|
64
|
+
Ke as SYSTEM_MODE_ENABLED_KEY,
|
|
65
|
+
We as SpacingValues,
|
|
66
|
+
ke as SpacingValuesAsNumbers,
|
|
67
|
+
Xe as StaticAppearances,
|
|
68
|
+
Ze as accentThemeClassName,
|
|
68
69
|
o as accordion,
|
|
69
70
|
a as actionList,
|
|
70
|
-
|
|
71
|
+
jr as addScrollToRect,
|
|
71
72
|
p as alert,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
je as allColors,
|
|
74
|
+
qe as allSizes,
|
|
75
|
+
Je as appearance,
|
|
76
|
+
Qe as appearances,
|
|
77
|
+
vr as attributeDecorator,
|
|
77
78
|
m as avatar,
|
|
78
79
|
f as badge,
|
|
79
80
|
x as badgeDot,
|
|
80
81
|
d as box,
|
|
81
82
|
S as button,
|
|
82
|
-
|
|
83
|
-
|
|
83
|
+
Pr as camelCaseToKebabCase,
|
|
84
|
+
Rr as capitalizeFirstLetter,
|
|
84
85
|
T as card,
|
|
85
86
|
u as chips,
|
|
86
87
|
_ as closeButton,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
qr as compareDomOrder,
|
|
89
|
+
ao as computeFitCount,
|
|
90
|
+
$e as consumer,
|
|
91
|
+
oo as createRafScheduler,
|
|
91
92
|
A as dateField,
|
|
92
|
-
|
|
93
|
+
Nr as debounce,
|
|
93
94
|
F as dialog,
|
|
94
95
|
P as divider,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
96
|
+
yr as doesEventContainElement,
|
|
97
|
+
Lr as doesWebComponentSlotExist,
|
|
98
|
+
er as emphases,
|
|
99
|
+
Mr as enrichSVGIcon,
|
|
100
|
+
rr as enterprise,
|
|
101
|
+
or as expressiveThemeClassName,
|
|
101
102
|
N as fileUpload,
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
Or as findFirstFocusableElement,
|
|
104
|
+
Jr as findTopLevelSlottedWrapper,
|
|
104
105
|
L as footer,
|
|
105
106
|
O as form,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
107
|
+
Xr as generateCssVarPrefix,
|
|
108
|
+
Fe as generateSpacingClasses,
|
|
109
|
+
ve as getBEMClassNames,
|
|
110
|
+
Br as getDirection,
|
|
111
|
+
Qr as getElementScrollBoundingClientRect,
|
|
112
|
+
Ir as getRandomArbitrary,
|
|
113
|
+
Ur as getRandomInt,
|
|
114
|
+
$r as getSecureRelAttribute,
|
|
115
|
+
Vr as getTypedEntries,
|
|
116
|
+
Yr as getTypedValues,
|
|
117
|
+
so as hasScrollOverflow,
|
|
117
118
|
I as helperText,
|
|
118
119
|
V as icon,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
w as
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
K as
|
|
134
|
-
k as
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
me as
|
|
158
|
-
fe as
|
|
159
|
-
xe as
|
|
160
|
-
de as
|
|
161
|
-
Se as
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
ue as
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
120
|
+
tr as info,
|
|
121
|
+
ar as infoPrimary,
|
|
122
|
+
sr as infoSecondary,
|
|
123
|
+
pr as information,
|
|
124
|
+
w as input,
|
|
125
|
+
z as inputChoiceGroup,
|
|
126
|
+
ir as inverse,
|
|
127
|
+
wr as isAPISupported,
|
|
128
|
+
Hr as isMobileDevice,
|
|
129
|
+
po as isMultiLineClamped,
|
|
130
|
+
io as isOverFlowing,
|
|
131
|
+
mo as isSingleLineClamped,
|
|
132
|
+
no as isTextWrapping,
|
|
133
|
+
mr as lg,
|
|
134
|
+
K as link,
|
|
135
|
+
k as list,
|
|
136
|
+
Z as logo,
|
|
137
|
+
nr as md,
|
|
138
|
+
q as nativeSelect,
|
|
139
|
+
fr as negative,
|
|
140
|
+
zr as nodesHaveContent,
|
|
141
|
+
Q as pageHeader,
|
|
142
|
+
oe as pagination,
|
|
143
|
+
ee as panel,
|
|
144
|
+
Gr as partitionProps,
|
|
145
|
+
lr as positive,
|
|
146
|
+
xr as prefix,
|
|
147
|
+
cr as primary,
|
|
148
|
+
dr as productTypeThemeClassName,
|
|
149
|
+
ae as progressBar,
|
|
150
|
+
Kr as propsChanged,
|
|
151
|
+
eo as readStringProp,
|
|
152
|
+
Er as secondary,
|
|
153
|
+
Sr as secondaryInverse,
|
|
154
|
+
pe as segmentedControl,
|
|
155
|
+
Ae as shared,
|
|
156
|
+
gr as sizes,
|
|
157
|
+
Tr as sm,
|
|
158
|
+
me as spinner,
|
|
159
|
+
fe as stepper,
|
|
160
|
+
xe as switch,
|
|
161
|
+
de as tabs,
|
|
162
|
+
Se as text,
|
|
163
|
+
Te as textArea,
|
|
164
|
+
Cr as themeClassName,
|
|
165
|
+
ur as themeTypeValues,
|
|
166
|
+
Wr as throttle,
|
|
167
|
+
ue as toast,
|
|
168
|
+
_e as tooltip,
|
|
169
|
+
br as warning,
|
|
170
|
+
_r as xl,
|
|
171
|
+
hr as xs,
|
|
172
|
+
Ar as xxs
|
|
171
173
|
};
|
|
@@ -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.BRp1Xa5-.js"),p=require("../../chunks/chips.DKEagIsp.js"),_=require("../../chunks/closeButton.C1A3p88y.js"),a=require("../../chunks/dateField.BNJzLmON.js"),
|
|
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/dateField.BNJzLmON.js"),u=require("../../chunks/dialog.DSxBxP0V.js"),b=require("../../chunks/divider.rAzhUMwO.js"),m=require("../../chunks/fileUpload.C-l2YXzO.js"),d=require("../../chunks/footer.DFaBRxcx.js"),q=require("../../chunks/form.CIzlawbr.js"),g=require("../../chunks/helperText.C-apoW8Z.js"),h=require("../../chunks/icon.SiHuIfL8.js"),x=require("../../chunks/input.BxPkmKmK.js"),f=require("../../chunks/inputChoiceGroup.BSousduj.js"),v=require("../../chunks/link.VyBRMFxS.js"),S=require("../../chunks/list.D6NIx1OS.js"),B=require("../../chunks/logo.CLQZSaVN.js"),C=require("../../chunks/nativeSelect.Lz45VyQX.js"),T=require("../../chunks/pageHeader.CbDGb6ot.js"),k=require("../../chunks/panel.B1cO_Hpy.js"),w=require("../../chunks/pagination.Br7vTt5b.js"),A=require("../../chunks/progressBar.DcG-X-RY.js"),D=require("../../chunks/SegmentedControl.D0l_8a7O.js"),F=require("../../chunks/spinner.B6R6yphw.js"),G=require("../../chunks/stepper.ByKqsxhz.js"),H=require("../../chunks/switch.Dalf8ccu.js"),L=require("../../chunks/tabs.CJUp7Ss0.js"),U=require("../../chunks/text.CW-ftgoP.js"),y=require("../../chunks/textArea.DF76BVU5.js"),j=require("../../chunks/toast.C-h1RUq_.js"),M=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.dateField=a.dateField;exports.dialog=u.dialog;exports.divider=b.divider;exports.fileUpload=m.fileUpload;exports.footer=d.footer;exports.form=q.form;exports.helperText=g.helperText;exports.icon=h.icon;exports.input=x.input;exports.inputChoiceGroup=f.inputChoiceGroup;exports.link=v.link;exports.list=S.list;exports.logo=B.logo;exports.nativeSelect=C.nativeSelect;exports.pageHeader=T.pageHeader;exports.panel=k.panel;exports.pagination=w.pagination;exports.progressBar=A.progressBar;exports.segmentedControl=D.SegmentedControl;exports.spinner=F.spinner;exports.stepper=G.stepper;exports.switch=H._switch;exports.tabs=L.tabs;exports.text=U.text;exports.textArea=y.textArea;exports.toast=j.toast;exports.tooltip=M.tooltip;
|
|
@@ -17,6 +17,7 @@ export * as footer from './footer';
|
|
|
17
17
|
export * as form from './form';
|
|
18
18
|
export * as helperText from './helperText';
|
|
19
19
|
export * as icon from './icon';
|
|
20
|
+
export * as input from './input';
|
|
20
21
|
export * as inputChoiceGroup from './inputChoiceGroup';
|
|
21
22
|
export * as link from './link';
|
|
22
23
|
export * as list from './list';
|
|
@@ -17,24 +17,25 @@ import { f as U } from "../../chunks/footer.BFXnK5l6.js";
|
|
|
17
17
|
import { f as j } from "../../chunks/form.CBZyQOaS.js";
|
|
18
18
|
import { h as y } from "../../chunks/helperText.CS5sun4r.js";
|
|
19
19
|
import { i as E } from "../../chunks/icon.tCAxaKQh.js";
|
|
20
|
-
import { i as J } from "../../chunks/
|
|
21
|
-
import {
|
|
22
|
-
import { l as O } from "../../chunks/
|
|
23
|
-
import { l as Q } from "../../chunks/
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { p as Z } from "../../chunks/
|
|
27
|
-
import { p as oo } from "../../chunks/
|
|
28
|
-
import { p as to } from "../../chunks/
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { s as xo } from "../../chunks/
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import { t as bo } from "../../chunks/
|
|
35
|
-
import { t as ho } from "../../chunks/
|
|
36
|
-
import { t as vo } from "../../chunks/
|
|
37
|
-
import { t as Co } from "../../chunks/
|
|
20
|
+
import { i as J } from "../../chunks/input.DG5FyEpi.js";
|
|
21
|
+
import { i as M } from "../../chunks/inputChoiceGroup.DkDdA57f.js";
|
|
22
|
+
import { l as O } from "../../chunks/link.D_ySgWgk.js";
|
|
23
|
+
import { l as Q } from "../../chunks/list.BwnGPz2Y.js";
|
|
24
|
+
import { l as V } from "../../chunks/logo.Cl29Chxj.js";
|
|
25
|
+
import { n as X } from "../../chunks/nativeSelect.D9HZm9uJ.js";
|
|
26
|
+
import { p as Z } from "../../chunks/pageHeader.fsTiHDRc.js";
|
|
27
|
+
import { p as oo } from "../../chunks/panel.CBf44fut.js";
|
|
28
|
+
import { p as to } from "../../chunks/pagination.JToJ3to9.js";
|
|
29
|
+
import { p as ao } from "../../chunks/progressBar.Bb9NF0G2.js";
|
|
30
|
+
import { S as so } from "../../chunks/SegmentedControl.B9dLCFSF.js";
|
|
31
|
+
import { s as xo } from "../../chunks/spinner.g2VG2eDa.js";
|
|
32
|
+
import { s as io } from "../../chunks/stepper.FT6nDHjL.js";
|
|
33
|
+
import { _ as no } from "../../chunks/switch.hUukrKTd.js";
|
|
34
|
+
import { t as bo } from "../../chunks/tabs.C7gorntx.js";
|
|
35
|
+
import { t as ho } from "../../chunks/text.J0CEkrH-.js";
|
|
36
|
+
import { t as vo } from "../../chunks/textArea.CmtmGm_y.js";
|
|
37
|
+
import { t as Co } from "../../chunks/toast.d3ZjZ9JS.js";
|
|
38
|
+
import { t as ko } from "../../chunks/tooltip.D1fCHa9d.js";
|
|
38
39
|
export {
|
|
39
40
|
t as accordion,
|
|
40
41
|
a as actionList,
|
|
@@ -55,22 +56,23 @@ export {
|
|
|
55
56
|
j as form,
|
|
56
57
|
y as helperText,
|
|
57
58
|
E as icon,
|
|
58
|
-
J as
|
|
59
|
-
M as
|
|
60
|
-
O as
|
|
61
|
-
Q as
|
|
62
|
-
V as
|
|
63
|
-
X as
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
ao as
|
|
68
|
-
so as
|
|
69
|
-
xo as
|
|
70
|
-
io as
|
|
71
|
-
no as
|
|
72
|
-
bo as
|
|
73
|
-
ho as
|
|
74
|
-
vo as
|
|
75
|
-
Co as
|
|
59
|
+
J as input,
|
|
60
|
+
M as inputChoiceGroup,
|
|
61
|
+
O as link,
|
|
62
|
+
Q as list,
|
|
63
|
+
V as logo,
|
|
64
|
+
X as nativeSelect,
|
|
65
|
+
Z as pageHeader,
|
|
66
|
+
to as pagination,
|
|
67
|
+
oo as panel,
|
|
68
|
+
ao as progressBar,
|
|
69
|
+
so as segmentedControl,
|
|
70
|
+
xo as spinner,
|
|
71
|
+
io as stepper,
|
|
72
|
+
no as switch,
|
|
73
|
+
bo as tabs,
|
|
74
|
+
ho as text,
|
|
75
|
+
vo as textArea,
|
|
76
|
+
Co as toast,
|
|
77
|
+
ko as tooltip
|
|
76
78
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../utils/constants.cjs.js");const e=require("../../chunks/input.BxPkmKmK.js");exports.INPUT_SIZES=e.INPUT_SIZES;exports.defaultInputSize=e.defaultInputSize;exports.resolveInputSize=e.resolveInputSize;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared size scale for Beam input components (TextField, NativeSelect, Select,
|
|
3
|
+
* Autocomplete, Search). `md` is the default.
|
|
4
|
+
*/
|
|
5
|
+
export declare const INPUT_SIZES: readonly ["sm", "md", "lg"];
|
|
6
|
+
export type InputSize = typeof INPUT_SIZES[number];
|
|
7
|
+
export declare const defaultInputSize: "md";
|
|
8
|
+
/**
|
|
9
|
+
* Resolve the `size` prop (design size or, for backward compatibility, a native
|
|
10
|
+
* character width) into the field size modifier and the native `size` value.
|
|
11
|
+
* A `number` size routes to the native width; `htmlSize` always wins.
|
|
12
|
+
*/
|
|
13
|
+
export declare const resolveInputSize: (size?: InputSize | number, htmlSize?: number) => {
|
|
14
|
+
fieldSize: InputSize;
|
|
15
|
+
nativeSize: number | undefined;
|
|
16
|
+
};
|