@viasat/beam-shared 2.49.0 → 2.49.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/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/dataTable.Bah7iKkO.js"),g=require("./chunks/dateField.DhE-ZgeI.js"),S=require("./chunks/dialog.DSxBxP0V.js"),T=require("./chunks/divider.rAzhUMwO.js"),C=require("./chunks/fileUpload.C-l2YXzO.js"),q=require("./chunks/footer.DFaBRxcx.js"),h=require("./chunks/form.CIzlawbr.js"),A=require("./chunks/helperText.C-apoW8Z.js"),v=require("./chunks/icon.SiHuIfL8.js"),f=require("./chunks/input.BxPkmKmK.js"),D=require("./chunks/inputChoiceGroup.BSousduj.js"),F=require("./chunks/link.VyBRMFxS.js"),x=require("./chunks/list.D6NIx1OS.js"),P=require("./chunks/logo.CLQZSaVN.js"),R=require("./chunks/nativeSelect.Lz45VyQX.js"),y=require("./chunks/pageHeader.CbDGb6ot.js"),N=require("./chunks/panel.B1cO_Hpy.js"),L=require("./chunks/pagination.Br7vTt5b.js"),M=require("./chunks/progressBar.DcG-X-RY.js"),O=require("./chunks/SegmentedControl.D0l_8a7O.js"),B=require("./chunks/spinner.B6R6yphw.js"),U=require("./chunks/stepper.ByKqsxhz.js"),I=require("./chunks/switch.Dalf8ccu.js"),V=require("./chunks/tabs.CJUp7Ss0.js"),w=require("./chunks/text.CW-ftgoP.js"),Y=require("./chunks/textArea.DF76BVU5.js"),H=require("./chunks/toast.C-h1RUq_.js"),G=require("./chunks/tooltip.DZTJP5dS.js"),z=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"),K=require("./lib/utils/styles.cjs.js"),o=require("./lib/utils/dom.cjs.js"),W=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.dataTable=E.dataTable;exports.dateField=g.dateField;exports.dialog=S.dialog;exports.divider=T.divider;exports.fileUpload=C.fileUpload;exports.footer=q.footer;exports.form=h.form;exports.helperText=A.helperText;exports.icon=v.icon;exports.input=f.input;exports.inputChoiceGroup=D.inputChoiceGroup;exports.link=F.link;exports.list=x.list;exports.logo=P.logo;exports.nativeSelect=R.nativeSelect;exports.pageHeader=y.pageHeader;exports.panel=N.panel;exports.pagination=L.pagination;exports.progressBar=M.progressBar;exports.segmentedControl=O.SegmentedControl;exports.spinner=B.spinner;exports.stepper=U.stepper;exports.switch=I._switch;exports.tabs=V.tabs;exports.text=w.text;exports.textArea=Y.textArea;exports.toast=H.toast;exports.tooltip=G.tooltip;exports.shared=z.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=K.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=W.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;
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/dataTable.Bah7iKkO.js"),g=require("./chunks/dateField.DhE-ZgeI.js"),S=require("./chunks/dialog.DSxBxP0V.js"),T=require("./chunks/divider.rAzhUMwO.js"),C=require("./chunks/fileUpload.C-l2YXzO.js"),q=require("./chunks/footer.DFaBRxcx.js"),h=require("./chunks/form.CIzlawbr.js"),A=require("./chunks/helperText.C-apoW8Z.js"),v=require("./chunks/icon.SiHuIfL8.js"),f=require("./chunks/input.BxPkmKmK.js"),D=require("./chunks/inputChoiceGroup.BSousduj.js"),F=require("./chunks/link.VyBRMFxS.js"),x=require("./chunks/list.D6NIx1OS.js"),P=require("./chunks/logo.CLQZSaVN.js"),R=require("./chunks/nativeSelect.Lz45VyQX.js"),y=require("./chunks/pageHeader.CbDGb6ot.js"),N=require("./chunks/panel.B1cO_Hpy.js"),L=require("./chunks/pagination.Br7vTt5b.js"),O=require("./chunks/progressBar.DcG-X-RY.js"),M=require("./chunks/SegmentedControl.D0l_8a7O.js"),B=require("./chunks/spinner.B6R6yphw.js"),I=require("./chunks/stepper.ByKqsxhz.js"),U=require("./chunks/switch.Dalf8ccu.js"),V=require("./chunks/tabs.CJUp7Ss0.js"),w=require("./chunks/text.CW-ftgoP.js"),Y=require("./chunks/textArea.DF76BVU5.js"),H=require("./chunks/toast.C-h1RUq_.js"),G=require("./chunks/tooltip.DZTJP5dS.js"),z=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"),K=require("./lib/utils/styles.cjs.js"),o=require("./lib/utils/dom.cjs.js"),W=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.dataTable=E.dataTable;exports.dateField=g.dateField;exports.dialog=S.dialog;exports.divider=T.divider;exports.fileUpload=C.fileUpload;exports.footer=q.footer;exports.form=h.form;exports.helperText=A.helperText;exports.icon=v.icon;exports.input=f.input;exports.inputChoiceGroup=D.inputChoiceGroup;exports.link=F.link;exports.list=x.list;exports.logo=P.logo;exports.nativeSelect=R.nativeSelect;exports.pageHeader=y.pageHeader;exports.panel=N.panel;exports.pagination=L.pagination;exports.progressBar=O.progressBar;exports.segmentedControl=M.SegmentedControl;exports.spinner=B.spinner;exports.stepper=I.stepper;exports.switch=U._switch;exports.tabs=V.tabs;exports.text=w.text;exports.textArea=Y.textArea;exports.toast=H.toast;exports.tooltip=G.tooltip;exports.shared=z.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.isIOS=t.isIOS;exports.isMobileDevice=t.isMobileDevice;exports.nodesHaveContent=t.nodesHaveContent;exports.partitionProps=t.partitionProps;exports.propsChanged=t.propsChanged;exports.throttle=t.throttle;exports.generateCssVarPrefix=K.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=W.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
@@ -14,8 +14,8 @@ import { d as F } from "./chunks/dateField.BIajhbDY.js";
14
14
  import { d as P } from "./chunks/dialog.BuiendSV.js";
15
15
  import { d as N } from "./chunks/divider.D2kuHop2.js";
16
16
  import { f as L } from "./chunks/fileUpload.CzC_CuxM.js";
17
- import { f as O } from "./chunks/footer.BFXnK5l6.js";
18
- import { f as I } from "./chunks/form.CBZyQOaS.js";
17
+ import { f as I } from "./chunks/footer.BFXnK5l6.js";
18
+ import { f as B } from "./chunks/form.CBZyQOaS.js";
19
19
  import { h as V } from "./chunks/helperText.CS5sun4r.js";
20
20
  import { i as w } from "./chunks/icon.tCAxaKQh.js";
21
21
  import { i as z } from "./chunks/input.DG5FyEpi.js";
@@ -39,19 +39,19 @@ import { t as _e } from "./chunks/toast.d3ZjZ9JS.js";
39
39
  import { t as Ae } from "./chunks/tooltip.D1fCHa9d.js";
40
40
  import { shared as Fe } from "./lib/shared.es.js";
41
41
  import { generateSpacingClasses as Pe, getBEMClassNames as Re } from "./lib/utils/classNames.es.js";
42
- import { ACCENT as ye, ATTRIBUTE as Le, BASE_FONT_SIZE as Me, BEAM_INVERSE as Oe, DEFAULT_ACCENT as Be, DEFAULT_MODE as Ie, DEFAULT_PRODUCT_TYPE as Ue, DEFAULT_THEME as Ve, EXPRESSIVE_THEMES as Ye, FPS_1 as we, FPS_120 as He, FPS_30 as ze, FPS_60 as Ge, PRODUCT_TYPE as Ke, STORAGE_KEY as We, SYSTEM_MODE_ENABLED_KEY as ke, SpacingValues as Xe, SpacingValuesAsNumbers as Ze, StaticAppearances as je, accentThemeClassName as qe, allColors as Je, allSizes as Qe, appearance as $e, appearances as er, consumer as rr, emphases as or, enterprise as tr, expressiveThemeClassName as ar, info as sr, infoPrimary as pr, infoSecondary as ir, information as mr, inverse as nr, lg as fr, md as lr, negative as xr, positive as cr, prefix as dr, primary as Er, productTypeThemeClassName as Sr, secondary as Tr, secondaryInverse as gr, sizes as Cr, sm as ur, themeClassName as br, themeTypeValues as _r, warning as hr, xl as Ar, xs as Dr, xxs as Fr } from "./lib/utils/constants.es.js";
43
- import { Directions as Pr, attributeDecorator as Rr, camelCaseToKebabCase as Nr, capitalizeFirstLetter as yr, debounce as Lr, doesEventContainElement as Mr, doesWebComponentSlotExist as Or, enrichSVGIcon as Br, findFirstFocusableElement as Ir, getDirection as Ur, getRandomArbitrary as Vr, getRandomInt as Yr, getTypedEntries as wr, getTypedValues as Hr, isAPISupported as zr, isMobileDevice as Gr, nodesHaveContent as Kr, partitionProps as Wr, propsChanged as kr, throttle as Xr } from "./lib/utils/helpers.es.js";
44
- import { generateCssVarPrefix as jr } from "./lib/utils/styles.es.js";
45
- import { addScrollToRect as Jr, compareDomOrder as Qr, findTopLevelSlottedWrapper as $r, getElementScrollBoundingClientRect as eo, getSecureRelAttribute as ro, readStringProp as oo } from "./lib/utils/dom.es.js";
46
- import { createRafScheduler as ao } from "./lib/utils/raf.es.js";
47
- import { computeFitCount as po, hasScrollOverflow as io, isMultiLineClamped as mo, isOverFlowing as no, isSingleLineClamped as fo, isTextWrapping as lo } from "./lib/utils/overflow.es.js";
42
+ import { ACCENT as ye, ATTRIBUTE as Le, BASE_FONT_SIZE as Oe, BEAM_INVERSE as Ie, DEFAULT_ACCENT as Me, DEFAULT_MODE as Be, DEFAULT_PRODUCT_TYPE as Ue, DEFAULT_THEME as Ve, EXPRESSIVE_THEMES as Ye, FPS_1 as we, FPS_120 as He, FPS_30 as ze, FPS_60 as Ge, PRODUCT_TYPE as Ke, STORAGE_KEY as We, SYSTEM_MODE_ENABLED_KEY as ke, SpacingValues as Xe, SpacingValuesAsNumbers as Ze, StaticAppearances as je, accentThemeClassName as qe, allColors as Je, allSizes as Qe, appearance as $e, appearances as er, consumer as rr, emphases as or, enterprise as tr, expressiveThemeClassName as ar, info as sr, infoPrimary as pr, infoSecondary as ir, information as mr, inverse as nr, lg as fr, md as lr, negative as xr, positive as cr, prefix as dr, primary as Er, productTypeThemeClassName as Sr, secondary as Tr, secondaryInverse as gr, sizes as Cr, sm as ur, themeClassName as br, themeTypeValues as _r, warning as hr, xl as Ar, xs as Dr, xxs as Fr } from "./lib/utils/constants.es.js";
43
+ import { Directions as Pr, attributeDecorator as Rr, camelCaseToKebabCase as Nr, capitalizeFirstLetter as yr, debounce as Lr, doesEventContainElement as Or, doesWebComponentSlotExist as Ir, enrichSVGIcon as Mr, findFirstFocusableElement as Br, getDirection as Ur, getRandomArbitrary as Vr, getRandomInt as Yr, getTypedEntries as wr, getTypedValues as Hr, isAPISupported as zr, isIOS as Gr, isMobileDevice as Kr, nodesHaveContent as Wr, partitionProps as kr, propsChanged as Xr, throttle as Zr } from "./lib/utils/helpers.es.js";
44
+ import { generateCssVarPrefix as qr } from "./lib/utils/styles.es.js";
45
+ import { addScrollToRect as Qr, compareDomOrder as $r, findTopLevelSlottedWrapper as eo, getElementScrollBoundingClientRect as ro, getSecureRelAttribute as oo, readStringProp as to } from "./lib/utils/dom.es.js";
46
+ import { createRafScheduler as so } from "./lib/utils/raf.es.js";
47
+ import { computeFitCount as io, hasScrollOverflow as mo, isMultiLineClamped as no, isOverFlowing as fo, isSingleLineClamped as lo, isTextWrapping as xo } from "./lib/utils/overflow.es.js";
48
48
  export {
49
49
  ye as ACCENT,
50
50
  Le as ATTRIBUTE,
51
- Me as BASE_FONT_SIZE,
52
- Oe as BEAM_INVERSE,
53
- Be as DEFAULT_ACCENT,
54
- Ie as DEFAULT_MODE,
51
+ Oe as BASE_FONT_SIZE,
52
+ Ie as BEAM_INVERSE,
53
+ Me as DEFAULT_ACCENT,
54
+ Be as DEFAULT_MODE,
55
55
  Ue as DEFAULT_PRODUCT_TYPE,
56
56
  Ve as DEFAULT_THEME,
57
57
  Pr as Directions,
@@ -69,7 +69,7 @@ export {
69
69
  qe as accentThemeClassName,
70
70
  o as accordion,
71
71
  a as actionList,
72
- Jr as addScrollToRect,
72
+ Qr as addScrollToRect,
73
73
  p as alert,
74
74
  Je as allColors,
75
75
  Qe as allSizes,
@@ -86,37 +86,37 @@ export {
86
86
  g as card,
87
87
  u as chips,
88
88
  _ as closeButton,
89
- Qr as compareDomOrder,
90
- po as computeFitCount,
89
+ $r as compareDomOrder,
90
+ io as computeFitCount,
91
91
  rr as consumer,
92
- ao as createRafScheduler,
92
+ so as createRafScheduler,
93
93
  A as dataTable,
94
94
  F as dateField,
95
95
  Lr as debounce,
96
96
  P as dialog,
97
97
  N as divider,
98
- Mr as doesEventContainElement,
99
- Or as doesWebComponentSlotExist,
98
+ Or as doesEventContainElement,
99
+ Ir as doesWebComponentSlotExist,
100
100
  or as emphases,
101
- Br as enrichSVGIcon,
101
+ Mr as enrichSVGIcon,
102
102
  tr as enterprise,
103
103
  ar as expressiveThemeClassName,
104
104
  L as fileUpload,
105
- Ir as findFirstFocusableElement,
106
- $r as findTopLevelSlottedWrapper,
107
- O as footer,
108
- I as form,
109
- jr as generateCssVarPrefix,
105
+ Br as findFirstFocusableElement,
106
+ eo as findTopLevelSlottedWrapper,
107
+ I as footer,
108
+ B as form,
109
+ qr as generateCssVarPrefix,
110
110
  Pe as generateSpacingClasses,
111
111
  Re as getBEMClassNames,
112
112
  Ur as getDirection,
113
- eo as getElementScrollBoundingClientRect,
113
+ ro as getElementScrollBoundingClientRect,
114
114
  Vr as getRandomArbitrary,
115
115
  Yr as getRandomInt,
116
- ro as getSecureRelAttribute,
116
+ oo as getSecureRelAttribute,
117
117
  wr as getTypedEntries,
118
118
  Hr as getTypedValues,
119
- io as hasScrollOverflow,
119
+ mo as hasScrollOverflow,
120
120
  V as helperText,
121
121
  w as icon,
122
122
  sr as info,
@@ -127,11 +127,12 @@ export {
127
127
  K as inputChoiceGroup,
128
128
  nr as inverse,
129
129
  zr as isAPISupported,
130
- Gr as isMobileDevice,
131
- mo as isMultiLineClamped,
132
- no as isOverFlowing,
133
- fo as isSingleLineClamped,
134
- lo as isTextWrapping,
130
+ Gr as isIOS,
131
+ Kr as isMobileDevice,
132
+ no as isMultiLineClamped,
133
+ fo as isOverFlowing,
134
+ lo as isSingleLineClamped,
135
+ xo as isTextWrapping,
135
136
  fr as lg,
136
137
  k as link,
137
138
  Z as list,
@@ -139,18 +140,18 @@ export {
139
140
  lr as md,
140
141
  Q as nativeSelect,
141
142
  xr as negative,
142
- Kr as nodesHaveContent,
143
+ Wr as nodesHaveContent,
143
144
  ee as pageHeader,
144
145
  ae as pagination,
145
146
  oe as panel,
146
- Wr as partitionProps,
147
+ kr as partitionProps,
147
148
  cr as positive,
148
149
  dr as prefix,
149
150
  Er as primary,
150
151
  Sr as productTypeThemeClassName,
151
152
  pe as progressBar,
152
- kr as propsChanged,
153
- oo as readStringProp,
153
+ Xr as propsChanged,
154
+ to as readStringProp,
154
155
  Tr as secondary,
155
156
  gr as secondaryInverse,
156
157
  me as segmentedControl,
@@ -165,7 +166,7 @@ export {
165
166
  ue as textArea,
166
167
  br as themeClassName,
167
168
  _r as themeTypeValues,
168
- Xr as throttle,
169
+ Zr as throttle,
169
170
  _e as toast,
170
171
  Ae as tooltip,
171
172
  hr as warning,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("./constants.cjs.js"),v=e=>e.charAt(0).toUpperCase()+e.slice(1),S=e=>Object.values(e),T=e=>Object.entries(e);function E(e,t=w.FPS_120){let o;const r=(...n)=>{o!==void 0&&clearTimeout(o),o=setTimeout(()=>e(...n),t)};return r.cancel=()=>{o!==void 0&&clearTimeout(o)},r}const y=e=>{var o;const t=e.target;try{return t.assignedNodes().length>0||((o=t.assignedNodes()[0].textContent)==null?void 0:o.trim())!==""}catch{return!1}},R=e=>{if(!e||e.length===0)return!1;for(const t of e)if(t.nodeType===Node.ELEMENT_NODE||t.nodeType===Node.TEXT_NODE&&t.data.trim()!=="")return!0;return!1},C=(e,t={})=>{const o=Object.entries(t).reduce((r,[n,a])=>`${r} ${n}='${a}'`,"");return e.replace("<svg",`<svg ${o}`)},x=(e,t)=>t.some(o=>e.has(o)),L=e=>({decorate:t=>{if(!e)return;Object.keys(t).forEach(r=>{e[r]=t[r]})}}),M=e=>{const o=e.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), [contenteditable]:not([contenteditable="false"])');return o||null},B=(e,t)=>!!e.composedPath().find(n=>n===t),A=(e,t)=>{if(!e||Object.keys(e).length===0)return[e,e];const o={},r={};return Object.keys(e).forEach(n=>{t.includes(n)?o[n]=e[n]:r[n]=e[n]}),[o,r]},D=()=>{if(typeof window>"u")return!1;const e=(navigator==null?void 0:navigator.userAgent)||(navigator==null?void 0:navigator.vendor)||(window==null?void 0:window.opera),t=["(android|bb\\d+|meego).+mobile","avantgo|bada\\/","blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)","iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront","opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/","plucker|pocket|psp|series([46])0|symbian|treo|up\\.(browser|link)","vodafone|wap|windows ce|xda|xiino"].join("|"),o=["1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)","ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)","as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)","bl(ac|az)|br([ev])w|bumb|bw-([nu])|c55\\/|capi|ccwa|cdm-","cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi","dica|dmob|do([cp])o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)","esl8|ez([4-7]0|os|wa|ze)|fetc|fly([-_])|g1 u|g560|gene|gf-5|g-mo","go(\\.w|od)|gr(ad|un)|haie|hcit|hd-([mpt])|hei-|hi(pt|ta)","hp( i|ip)|hs-c|ht(c([- _agpst])|tp)|hu(aw|tc)|i-(20|go|ma)","i230|iac([ \\-\\/])"].join("|");return new RegExp(t,"i").test(e)||new RegExp(o,"i").test(e.substr(0,4))};var h=(e=>(e.TOP="top",e.LEFT="left",e.RIGHT="right",e.BOTTOM="bottom",e))(h||{});const F=(e,t=300)=>{let o,r,n;return function(){const a=this,i=arguments;o?(clearTimeout(r),r=setTimeout(()=>{Date.now()-n>=t&&(e.apply(a,i),n=Date.now())},Math.max(t-(Date.now()-n),0))):(e.apply(a,i),n=Date.now(),o=!0)}},P=(e,t,o)=>{const{innerHeight:r,innerWidth:n}=window,{top:a,left:i,right:g,bottom:b}=o;return{top:(d,m)=>{if(m){const c=r-b,u=c<e,f=a>c;return u&&f?"bottom":"top"}const s=r-b,l=a<e,p=s>e;return l&&p?"bottom":"top"},bottom:(d,m)=>{if(m){const c=r-b,u=a<e,f=c>e;return u&&f?"top":"bottom"}const s=r-b,l=s<e,p=a>s;return l&&p?"top":"bottom"},left:d=>{if(d){const p=n-g,c=t>p,u=i>t;return c&&u?"right":"left"}const m=n-g,s=i<t,l=m>t;return s&&l?"right":"left"},right:d=>{if(d){const p=n-g,c=i<t,u=p>t;return c&&u?"left":"right"}const s=n-g<t,l=i>t;return s&&l?"left":"right"}}};function I(e,t){return Math.random()*(t-e)+e}function N(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}function k(e){return typeof window>"u"?!1:window.HTMLElement.prototype.hasOwnProperty(e)}const z=e=>e.replace(/^([A-Z])/,t=>t.toLowerCase()).replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase();exports.Directions=h;exports.attributeDecorator=L;exports.camelCaseToKebabCase=z;exports.capitalizeFirstLetter=v;exports.debounce=E;exports.doesEventContainElement=B;exports.doesWebComponentSlotExist=y;exports.enrichSVGIcon=C;exports.findFirstFocusableElement=M;exports.getDirection=P;exports.getRandomArbitrary=I;exports.getRandomInt=N;exports.getTypedEntries=T;exports.getTypedValues=S;exports.isAPISupported=k;exports.isMobileDevice=D;exports.nodesHaveContent=R;exports.partitionProps=A;exports.propsChanged=x;exports.throttle=F;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./constants.cjs.js"),w=e=>e.charAt(0).toUpperCase()+e.slice(1),S=e=>Object.values(e),T=e=>Object.entries(e);function y(e,t=v.FPS_120){let o;const r=(...n)=>{o!==void 0&&clearTimeout(o),o=setTimeout(()=>e(...n),t)};return r.cancel=()=>{o!==void 0&&clearTimeout(o)},r}const E=e=>{var o;const t=e.target;try{return t.assignedNodes().length>0||((o=t.assignedNodes()[0].textContent)==null?void 0:o.trim())!==""}catch{return!1}},R=e=>{if(!e||e.length===0)return!1;for(const t of e)if(t.nodeType===Node.ELEMENT_NODE||t.nodeType===Node.TEXT_NODE&&t.data.trim()!=="")return!0;return!1},C=(e,t={})=>{const o=Object.entries(t).reduce((r,[n,a])=>`${r} ${n}='${a}'`,"");return e.replace("<svg",`<svg ${o}`)},x=(e,t)=>t.some(o=>e.has(o)),M=e=>({decorate:t=>{if(!e)return;Object.keys(t).forEach(r=>{e[r]=t[r]})}}),L=e=>{const o=e.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), [contenteditable]:not([contenteditable="false"])');return o||null},A=(e,t)=>!!e.composedPath().find(n=>n===t),B=(e,t)=>{if(!e||Object.keys(e).length===0)return[e,e];const o={},r={};return Object.keys(e).forEach(n=>{t.includes(n)?o[n]=e[n]:r[n]=e[n]}),[o,r]},I=()=>typeof window>"u"||typeof navigator>"u"?!1:/iP(ad|hone|od)/.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,P=()=>{if(typeof window>"u")return!1;const e=(navigator==null?void 0:navigator.userAgent)||(navigator==null?void 0:navigator.vendor)||(window==null?void 0:window.opera),t=["(android|bb\\d+|meego).+mobile","avantgo|bada\\/","blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)","iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront","opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/","plucker|pocket|psp|series([46])0|symbian|treo|up\\.(browser|link)","vodafone|wap|windows ce|xda|xiino"].join("|"),o=["1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)","ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)","as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)","bl(ac|az)|br([ev])w|bumb|bw-([nu])|c55\\/|capi|ccwa|cdm-","cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi","dica|dmob|do([cp])o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)","esl8|ez([4-7]0|os|wa|ze)|fetc|fly([-_])|g1 u|g560|gene|gf-5|g-mo","go(\\.w|od)|gr(ad|un)|haie|hcit|hd-([mpt])|hei-|hi(pt|ta)","hp( i|ip)|hs-c|ht(c([- _agpst])|tp)|hu(aw|tc)|i-(20|go|ma)","i230|iac([ \\-\\/])"].join("|");return new RegExp(t,"i").test(e)||new RegExp(o,"i").test(e.substr(0,4))};var h=(e=>(e.TOP="top",e.LEFT="left",e.RIGHT="right",e.BOTTOM="bottom",e))(h||{});const D=(e,t=300)=>{let o,r,n;return function(){const a=this,c=arguments;o?(clearTimeout(r),r=setTimeout(()=>{Date.now()-n>=t&&(e.apply(a,c),n=Date.now())},Math.max(t-(Date.now()-n),0))):(e.apply(a,c),n=Date.now(),o=!0)}},F=(e,t,o)=>{const{innerHeight:r,innerWidth:n}=window,{top:a,left:c,right:g,bottom:b}=o;return{top:(m,d)=>{if(d){const i=r-b,u=i<e,f=a>i;return u&&f?"bottom":"top"}const s=r-b,l=a<e,p=s>e;return l&&p?"bottom":"top"},bottom:(m,d)=>{if(d){const i=r-b,u=a<e,f=i>e;return u&&f?"top":"bottom"}const s=r-b,l=s<e,p=a>s;return l&&p?"top":"bottom"},left:m=>{if(m){const p=n-g,i=t>p,u=c>t;return i&&u?"right":"left"}const d=n-g,s=c<t,l=d>t;return s&&l?"right":"left"},right:m=>{if(m){const p=n-g,i=c<t,u=p>t;return i&&u?"left":"right"}const s=n-g<t,l=c>t;return s&&l?"left":"right"}}};function O(e,t){return Math.random()*(t-e)+e}function N(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}function k(e){return typeof window>"u"?!1:window.HTMLElement.prototype.hasOwnProperty(e)}const z=e=>e.replace(/^([A-Z])/,t=>t.toLowerCase()).replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase();exports.Directions=h;exports.attributeDecorator=M;exports.camelCaseToKebabCase=z;exports.capitalizeFirstLetter=w;exports.debounce=y;exports.doesEventContainElement=A;exports.doesWebComponentSlotExist=E;exports.enrichSVGIcon=C;exports.findFirstFocusableElement=L;exports.getDirection=F;exports.getRandomArbitrary=O;exports.getRandomInt=N;exports.getTypedEntries=T;exports.getTypedValues=S;exports.isAPISupported=k;exports.isIOS=I;exports.isMobileDevice=P;exports.nodesHaveContent=R;exports.partitionProps=B;exports.propsChanged=x;exports.throttle=D;
@@ -31,6 +31,13 @@ export declare const doesEventContainElement: (e: Event, element: HTMLElement) =
31
31
  * @returns
32
32
  */
33
33
  export declare const partitionProps: <T extends Record<string, unknown>, U extends keyof T>(_filteredObj: T, selectedKeys: Readonly<Array<U>>) => [Pick<T, U>, Omit<T, U>];
34
+ /**
35
+ * Checks if the device is iOS (iPhone, iPod, or iPad).
36
+ * SSR-safe: returns false when window/navigator are unavailable.
37
+ * Detects iPhone/iPod/iPad via user agent and iPadOS 13+ (desktop mode) via maxTouchPoints.
38
+ * @returns {boolean}
39
+ */
40
+ export declare const isIOS: () => boolean;
34
41
  /**
35
42
  * Checks if the device is mobile
36
43
  * @returns {boolean}
@@ -1,6 +1,6 @@
1
1
  import { FPS_120 as h } from "./constants.es.js";
2
- const T = (e) => e.charAt(0).toUpperCase() + e.slice(1), S = (e) => Object.values(e), E = (e) => Object.entries(e);
3
- function y(e, t = h) {
2
+ const T = (e) => e.charAt(0).toUpperCase() + e.slice(1), S = (e) => Object.values(e), y = (e) => Object.entries(e);
3
+ function E(e, t = h) {
4
4
  let o;
5
5
  const r = (...n) => {
6
6
  o !== void 0 && clearTimeout(o), o = setTimeout(() => e(...n), t);
@@ -45,7 +45,7 @@ const R = (e) => {
45
45
  return Object.keys(e).forEach((n) => {
46
46
  t.includes(n) ? o[n] = e[n] : r[n] = e[n];
47
47
  }), [o, r];
48
- }, k = () => {
48
+ }, P = () => typeof window > "u" || typeof navigator > "u" ? !1 : /iP(ad|hone|od)/.test(navigator.userAgent) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1, k = () => {
49
49
  if (typeof window > "u") return !1;
50
50
  const e = (navigator == null ? void 0 : navigator.userAgent) || (navigator == null ? void 0 : navigator.vendor) || (window == null ? void 0 : window.opera), t = [
51
51
  "(android|bb\\d+|meego).+mobile",
@@ -70,7 +70,7 @@ const R = (e) => {
70
70
  return new RegExp(t, "i").test(e) || new RegExp(o, "i").test(e.substr(0, 4));
71
71
  };
72
72
  var w = /* @__PURE__ */ ((e) => (e.TOP = "top", e.LEFT = "left", e.RIGHT = "right", e.BOTTOM = "bottom", e))(w || {});
73
- const z = (e, t = 300) => {
73
+ const I = (e, t = 300) => {
74
74
  let o, r, n;
75
75
  return function() {
76
76
  const a = this, i = arguments;
@@ -78,28 +78,28 @@ const z = (e, t = 300) => {
78
78
  Date.now() - n >= t && (e.apply(a, i), n = Date.now());
79
79
  }, Math.max(t - (Date.now() - n), 0))) : (e.apply(a, i), n = Date.now(), o = !0);
80
80
  };
81
- }, D = (e, t, o) => {
81
+ }, O = (e, t, o) => {
82
82
  const { innerHeight: r, innerWidth: n } = window, {
83
83
  top: a,
84
84
  left: i,
85
85
  right: d,
86
- bottom: b
86
+ bottom: f
87
87
  } = o;
88
88
  return {
89
89
  top: (g, m) => {
90
90
  if (m) {
91
- const c = r - b, u = c < e, f = a > c;
92
- return u && f ? "bottom" : "top";
91
+ const c = r - f, u = c < e, b = a > c;
92
+ return u && b ? "bottom" : "top";
93
93
  }
94
- const s = r - b, l = a < e, p = s > e;
94
+ const s = r - f, l = a < e, p = s > e;
95
95
  return l && p ? "bottom" : "top";
96
96
  },
97
97
  bottom: (g, m) => {
98
98
  if (m) {
99
- const c = r - b, u = a < e, f = c > e;
100
- return u && f ? "top" : "bottom";
99
+ const c = r - f, u = a < e, b = c > e;
100
+ return u && b ? "top" : "bottom";
101
101
  }
102
- const s = r - b, l = s < e, p = a > s;
102
+ const s = r - f, l = s < e, p = a > s;
103
103
  return l && p ? "top" : "bottom";
104
104
  },
105
105
  left: (g) => {
@@ -120,13 +120,13 @@ const z = (e, t = 300) => {
120
120
  }
121
121
  };
122
122
  };
123
- function F(e, t) {
123
+ function z(e, t) {
124
124
  return Math.random() * (t - e) + e;
125
125
  }
126
- function O(e, t) {
126
+ function D(e, t) {
127
127
  return e = Math.ceil(e), t = Math.floor(t), Math.floor(Math.random() * (t - e + 1)) + e;
128
128
  }
129
- function P(e) {
129
+ function F(e) {
130
130
  return typeof window > "u" ? !1 : window.HTMLElement.prototype.hasOwnProperty(e);
131
131
  }
132
132
  const $ = (e) => e.replace(/^([A-Z])/, (t) => t.toLowerCase()).replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase();
@@ -135,20 +135,21 @@ export {
135
135
  L as attributeDecorator,
136
136
  $ as camelCaseToKebabCase,
137
137
  T as capitalizeFirstLetter,
138
- y as debounce,
138
+ E as debounce,
139
139
  A as doesEventContainElement,
140
140
  R as doesWebComponentSlotExist,
141
141
  C as enrichSVGIcon,
142
142
  M as findFirstFocusableElement,
143
- D as getDirection,
144
- F as getRandomArbitrary,
145
- O as getRandomInt,
146
- E as getTypedEntries,
143
+ O as getDirection,
144
+ z as getRandomArbitrary,
145
+ D as getRandomInt,
146
+ y as getTypedEntries,
147
147
  S as getTypedValues,
148
- P as isAPISupported,
148
+ F as isAPISupported,
149
+ P as isIOS,
149
150
  k as isMobileDevice,
150
151
  x as nodesHaveContent,
151
152
  N as partitionProps,
152
153
  B as propsChanged,
153
- z as throttle
154
+ I as throttle
154
155
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./classNames.cjs.js"),e=require("./constants.cjs.js"),t=require("./helpers.cjs.js"),i=require("./styles.cjs.js"),s=require("./dom.cjs.js"),n=require("./raf.cjs.js"),r=require("./overflow.cjs.js");exports.generateSpacingClasses=a.generateSpacingClasses;exports.getBEMClassNames=a.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=i.generateCssVarPrefix;exports.addScrollToRect=s.addScrollToRect;exports.compareDomOrder=s.compareDomOrder;exports.findTopLevelSlottedWrapper=s.findTopLevelSlottedWrapper;exports.getElementScrollBoundingClientRect=s.getElementScrollBoundingClientRect;exports.getSecureRelAttribute=s.getSecureRelAttribute;exports.readStringProp=s.readStringProp;exports.createRafScheduler=n.createRafScheduler;exports.computeFitCount=r.computeFitCount;exports.hasScrollOverflow=r.hasScrollOverflow;exports.isMultiLineClamped=r.isMultiLineClamped;exports.isOverFlowing=r.isOverFlowing;exports.isSingleLineClamped=r.isSingleLineClamped;exports.isTextWrapping=r.isTextWrapping;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./classNames.cjs.js"),e=require("./constants.cjs.js"),t=require("./helpers.cjs.js"),a=require("./styles.cjs.js"),s=require("./dom.cjs.js"),n=require("./raf.cjs.js"),r=require("./overflow.cjs.js");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.isIOS=t.isIOS;exports.isMobileDevice=t.isMobileDevice;exports.nodesHaveContent=t.nodesHaveContent;exports.partitionProps=t.partitionProps;exports.propsChanged=t.propsChanged;exports.throttle=t.throttle;exports.generateCssVarPrefix=a.generateCssVarPrefix;exports.addScrollToRect=s.addScrollToRect;exports.compareDomOrder=s.compareDomOrder;exports.findTopLevelSlottedWrapper=s.findTopLevelSlottedWrapper;exports.getElementScrollBoundingClientRect=s.getElementScrollBoundingClientRect;exports.getSecureRelAttribute=s.getSecureRelAttribute;exports.readStringProp=s.readStringProp;exports.createRafScheduler=n.createRafScheduler;exports.computeFitCount=r.computeFitCount;exports.hasScrollOverflow=r.hasScrollOverflow;exports.isMultiLineClamped=r.isMultiLineClamped;exports.isOverFlowing=r.isOverFlowing;exports.isSingleLineClamped=r.isSingleLineClamped;exports.isTextWrapping=r.isTextWrapping;
@@ -1,10 +1,10 @@
1
1
  import { generateSpacingClasses as t, getBEMClassNames as a } from "./classNames.es.js";
2
- import { ACCENT as s, ATTRIBUTE as i, BASE_FONT_SIZE as n, BEAM_INVERSE as p, DEFAULT_ACCENT as l, DEFAULT_MODE as m, DEFAULT_PRODUCT_TYPE as E, DEFAULT_THEME as c, EXPRESSIVE_THEMES as S, FPS_1 as T, FPS_120 as d, FPS_30 as C, FPS_60 as g, PRODUCT_TYPE as u, STORAGE_KEY as _, SYSTEM_MODE_ENABLED_KEY as f, SpacingValues as x, SpacingValuesAsNumbers as A, StaticAppearances as D, accentThemeClassName as F, allColors as P, allSizes as R, appearance as h, appearances as v, consumer as N, emphases as b, enterprise as y, expressiveThemeClassName as L, info as M, infoPrimary as O, infoSecondary as I, information as V, inverse as U, lg as B, md as Y, negative as w, positive as z, prefix as H, primary as K, productTypeThemeClassName as W, secondary as G, secondaryInverse as X, sizes as Z, sm as j, themeClassName as k, themeTypeValues as q, warning as J, xl as Q, xs as $, xxs as ee } from "./constants.es.js";
3
- import { Directions as te, attributeDecorator as ae, camelCaseToKebabCase as oe, capitalizeFirstLetter as se, debounce as ie, doesEventContainElement as ne, doesWebComponentSlotExist as pe, enrichSVGIcon as le, findFirstFocusableElement as me, getDirection as Ee, getRandomArbitrary as ce, getRandomInt as Se, getTypedEntries as Te, getTypedValues as de, isAPISupported as Ce, isMobileDevice as ge, nodesHaveContent as ue, partitionProps as _e, propsChanged as fe, throttle as xe } from "./helpers.es.js";
4
- import { generateCssVarPrefix as De } from "./styles.es.js";
5
- import { addScrollToRect as Pe, compareDomOrder as Re, findTopLevelSlottedWrapper as he, getElementScrollBoundingClientRect as ve, getSecureRelAttribute as Ne, readStringProp as be } from "./dom.es.js";
6
- import { createRafScheduler as Le } from "./raf.es.js";
7
- import { computeFitCount as Oe, hasScrollOverflow as Ie, isMultiLineClamped as Ve, isOverFlowing as Ue, isSingleLineClamped as Be, isTextWrapping as Ye } from "./overflow.es.js";
2
+ import { ACCENT as s, ATTRIBUTE as i, BASE_FONT_SIZE as n, BEAM_INVERSE as p, DEFAULT_ACCENT as l, DEFAULT_MODE as m, DEFAULT_PRODUCT_TYPE as E, DEFAULT_THEME as c, EXPRESSIVE_THEMES as S, FPS_1 as T, FPS_120 as d, FPS_30 as C, FPS_60 as g, PRODUCT_TYPE as u, STORAGE_KEY as _, SYSTEM_MODE_ENABLED_KEY as f, SpacingValues as x, SpacingValuesAsNumbers as A, StaticAppearances as D, accentThemeClassName as F, allColors as P, allSizes as R, appearance as h, appearances as v, consumer as N, emphases as b, enterprise as y, expressiveThemeClassName as O, info as I, infoPrimary as L, infoSecondary as M, information as V, inverse as U, lg as B, md as Y, negative as w, positive as z, prefix as H, primary as K, productTypeThemeClassName as W, secondary as G, secondaryInverse as X, sizes as Z, sm as j, themeClassName as k, themeTypeValues as q, warning as J, xl as Q, xs as $, xxs as ee } from "./constants.es.js";
3
+ import { Directions as te, attributeDecorator as ae, camelCaseToKebabCase as oe, capitalizeFirstLetter as se, debounce as ie, doesEventContainElement as ne, doesWebComponentSlotExist as pe, enrichSVGIcon as le, findFirstFocusableElement as me, getDirection as Ee, getRandomArbitrary as ce, getRandomInt as Se, getTypedEntries as Te, getTypedValues as de, isAPISupported as Ce, isIOS as ge, isMobileDevice as ue, nodesHaveContent as _e, partitionProps as fe, propsChanged as xe, throttle as Ae } from "./helpers.es.js";
4
+ import { generateCssVarPrefix as Fe } from "./styles.es.js";
5
+ import { addScrollToRect as Re, compareDomOrder as he, findTopLevelSlottedWrapper as ve, getElementScrollBoundingClientRect as Ne, getSecureRelAttribute as be, readStringProp as ye } from "./dom.es.js";
6
+ import { createRafScheduler as Ie } from "./raf.es.js";
7
+ import { computeFitCount as Me, hasScrollOverflow as Ve, isMultiLineClamped as Ue, isOverFlowing as Be, isSingleLineClamped as Ye, isTextWrapping as we } from "./overflow.es.js";
8
8
  export {
9
9
  s as ACCENT,
10
10
  i as ATTRIBUTE,
@@ -27,7 +27,7 @@ export {
27
27
  A as SpacingValuesAsNumbers,
28
28
  D as StaticAppearances,
29
29
  F as accentThemeClassName,
30
- Pe as addScrollToRect,
30
+ Re as addScrollToRect,
31
31
  P as allColors,
32
32
  R as allSizes,
33
33
  h as appearance,
@@ -35,59 +35,60 @@ export {
35
35
  ae as attributeDecorator,
36
36
  oe as camelCaseToKebabCase,
37
37
  se as capitalizeFirstLetter,
38
- Re as compareDomOrder,
39
- Oe as computeFitCount,
38
+ he as compareDomOrder,
39
+ Me as computeFitCount,
40
40
  N as consumer,
41
- Le as createRafScheduler,
41
+ Ie as createRafScheduler,
42
42
  ie as debounce,
43
43
  ne as doesEventContainElement,
44
44
  pe as doesWebComponentSlotExist,
45
45
  b as emphases,
46
46
  le as enrichSVGIcon,
47
47
  y as enterprise,
48
- L as expressiveThemeClassName,
48
+ O as expressiveThemeClassName,
49
49
  me as findFirstFocusableElement,
50
- he as findTopLevelSlottedWrapper,
51
- De as generateCssVarPrefix,
50
+ ve as findTopLevelSlottedWrapper,
51
+ Fe as generateCssVarPrefix,
52
52
  t as generateSpacingClasses,
53
53
  a as getBEMClassNames,
54
54
  Ee as getDirection,
55
- ve as getElementScrollBoundingClientRect,
55
+ Ne as getElementScrollBoundingClientRect,
56
56
  ce as getRandomArbitrary,
57
57
  Se as getRandomInt,
58
- Ne as getSecureRelAttribute,
58
+ be as getSecureRelAttribute,
59
59
  Te as getTypedEntries,
60
60
  de as getTypedValues,
61
- Ie as hasScrollOverflow,
62
- M as info,
63
- O as infoPrimary,
64
- I as infoSecondary,
61
+ Ve as hasScrollOverflow,
62
+ I as info,
63
+ L as infoPrimary,
64
+ M as infoSecondary,
65
65
  V as information,
66
66
  U as inverse,
67
67
  Ce as isAPISupported,
68
- ge as isMobileDevice,
69
- Ve as isMultiLineClamped,
70
- Ue as isOverFlowing,
71
- Be as isSingleLineClamped,
72
- Ye as isTextWrapping,
68
+ ge as isIOS,
69
+ ue as isMobileDevice,
70
+ Ue as isMultiLineClamped,
71
+ Be as isOverFlowing,
72
+ Ye as isSingleLineClamped,
73
+ we as isTextWrapping,
73
74
  B as lg,
74
75
  Y as md,
75
76
  w as negative,
76
- ue as nodesHaveContent,
77
- _e as partitionProps,
77
+ _e as nodesHaveContent,
78
+ fe as partitionProps,
78
79
  z as positive,
79
80
  H as prefix,
80
81
  K as primary,
81
82
  W as productTypeThemeClassName,
82
- fe as propsChanged,
83
- be as readStringProp,
83
+ xe as propsChanged,
84
+ ye as readStringProp,
84
85
  G as secondary,
85
86
  X as secondaryInverse,
86
87
  Z as sizes,
87
88
  j as sm,
88
89
  k as themeClassName,
89
90
  q as themeTypeValues,
90
- xe as throttle,
91
+ Ae as throttle,
91
92
  J as warning,
92
93
  Q as xl,
93
94
  $ as xs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viasat/beam-shared",
3
- "version": "2.49.0",
3
+ "version": "2.49.1",
4
4
  "description": "Shared utilities, component definitions, and constants for the Beam Design System",
5
5
  "license": "MIT",
6
6
  "author": "Viasat",