@viasat/beam-shared 2.0.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/README.md +108 -0
- package/chunks/SegmentedControl.B9dLCFSF.js +9 -0
- package/chunks/SegmentedControl.D0l_8a7O.js +1 -0
- package/chunks/accordion.C1LkPYXv.js +1 -0
- package/chunks/accordion.CCM7ddD5.js +11 -0
- package/chunks/actionList.LFHBSlrg.js +1 -0
- package/chunks/actionList.X99uHmXK.js +26 -0
- package/chunks/alert.B4q5-o6H.js +1 -0
- package/chunks/alert.BZ4L-6bC.js +32 -0
- package/chunks/avatar.BbM_sNXk.js +63 -0
- package/chunks/avatar.VNzxbOMa.js +1 -0
- package/chunks/badge.B_k2GBe6.js +1 -0
- package/chunks/badge.DZN0yrZh.js +44 -0
- package/chunks/badgeDot.ClhZtqzd.js +25 -0
- package/chunks/badgeDot.Dkqfk3zg.js +1 -0
- package/chunks/box.CsO__7hu.js +1 -0
- package/chunks/box._mFtvgTp.js +82 -0
- package/chunks/button.Bbz_mfWv.js +1 -0
- package/chunks/button.Dz8Zhr7J.js +51 -0
- package/chunks/card.CG-SDcm1.js +27 -0
- package/chunks/card.CLwQAceo.js +1 -0
- package/chunks/chips.DKEagIsp.js +1 -0
- package/chunks/chips.GU9UVEOU.js +13 -0
- package/chunks/closeButton.C1A3p88y.js +1 -0
- package/chunks/closeButton.g8_iRoUg.js +15 -0
- package/chunks/dialog.BTq-pLBf.js +28 -0
- package/chunks/dialog.DnkeApRr.js +1 -0
- package/chunks/divider.BYMLu6Wp.js +1 -0
- package/chunks/divider.DgP7kpLb.js +35 -0
- package/chunks/fileUpload.BbSIsjJv.js +240 -0
- package/chunks/fileUpload.C-l2YXzO.js +1 -0
- package/chunks/form.BRWIo59c.js +154 -0
- package/chunks/form.CIzlawbr.js +1 -0
- package/chunks/helperText.C-apoW8Z.js +1 -0
- package/chunks/helperText.CS5sun4r.js +16 -0
- package/chunks/icon.SiHuIfL8.js +1 -0
- package/chunks/icon.tCAxaKQh.js +28 -0
- package/chunks/inputChoiceGroup.BSousduj.js +1 -0
- package/chunks/inputChoiceGroup.DkDdA57f.js +10 -0
- package/chunks/link.DxTb3yhm.js +16 -0
- package/chunks/link.VyBRMFxS.js +1 -0
- package/chunks/list.CCq0lIzm.js +29 -0
- package/chunks/list.D6NIx1OS.js +1 -0
- package/chunks/logo.CLQZSaVN.js +1 -0
- package/chunks/logo.Cl29Chxj.js +11 -0
- package/chunks/nativeSelect.D9HZm9uJ.js +28 -0
- package/chunks/nativeSelect.Lz45VyQX.js +1 -0
- package/chunks/pageHeader.CbDGb6ot.js +1 -0
- package/chunks/pageHeader.fsTiHDRc.js +12 -0
- package/chunks/pagination.Br7vTt5b.js +1 -0
- package/chunks/pagination.DinViL55.js +38 -0
- package/chunks/progressBar.84w2qF8R.js +42 -0
- package/chunks/progressBar.DcG-X-RY.js +1 -0
- package/chunks/spinner.B6R6yphw.js +1 -0
- package/chunks/spinner.oNNLX64f.js +105 -0
- package/chunks/stepper.ByKqsxhz.js +1 -0
- package/chunks/stepper.FT6nDHjL.js +18 -0
- package/chunks/switch.Dalf8ccu.js +1 -0
- package/chunks/switch.hUukrKTd.js +11 -0
- package/chunks/tabs.C7SBQq_R.js +1 -0
- package/chunks/tabs.CIfcdjPn.js +13 -0
- package/chunks/text.CW-ftgoP.js +1 -0
- package/chunks/text.DpbJhMDB.js +152 -0
- package/chunks/textArea.CmtmGm_y.js +22 -0
- package/chunks/textArea.DF76BVU5.js +1 -0
- package/chunks/toast.Bs1t4Urq.js +36 -0
- package/chunks/toast.C-h1RUq_.js +1 -0
- package/chunks/tooltip.D1fCHa9d.js +16 -0
- package/chunks/tooltip.DZTJP5dS.js +1 -0
- package/index.cjs.js +1 -0
- package/index.d.ts +3 -0
- package/index.es.js +164 -0
- package/lib/components/SegmentedControl.cjs.js +1 -0
- package/lib/components/SegmentedControl.d.ts +2 -0
- package/lib/components/SegmentedControl.es.js +5 -0
- package/lib/components/accordion.cjs.js +1 -0
- package/lib/components/accordion.d.ts +3 -0
- package/lib/components/accordion.es.js +6 -0
- package/lib/components/actionList.cjs.js +1 -0
- package/lib/components/actionList.d.ts +15 -0
- package/lib/components/actionList.es.js +13 -0
- package/lib/components/alert.cjs.js +1 -0
- package/lib/components/alert.d.ts +17 -0
- package/lib/components/alert.es.js +11 -0
- package/lib/components/aspectRatio.cjs.js +1 -0
- package/lib/components/aspectRatio.d.ts +16 -0
- package/lib/components/aspectRatio.es.js +14 -0
- package/lib/components/avatar.cjs.js +1 -0
- package/lib/components/avatar.d.ts +17 -0
- package/lib/components/avatar.es.js +23 -0
- package/lib/components/badge.cjs.js +1 -0
- package/lib/components/badge.d.ts +17 -0
- package/lib/components/badge.es.js +15 -0
- package/lib/components/badgeDot.cjs.js +1 -0
- package/lib/components/badgeDot.d.ts +6 -0
- package/lib/components/badgeDot.es.js +7 -0
- package/lib/components/box.cjs.js +1 -0
- package/lib/components/box.d.ts +82 -0
- package/lib/components/box.es.js +8 -0
- package/lib/components/button.cjs.js +1 -0
- package/lib/components/button.d.ts +36 -0
- package/lib/components/button.es.js +16 -0
- package/lib/components/card.cjs.js +1 -0
- package/lib/components/card.d.ts +22 -0
- package/lib/components/card.es.js +7 -0
- package/lib/components/chips.cjs.js +1 -0
- package/lib/components/chips.d.ts +5 -0
- package/lib/components/chips.es.js +7 -0
- package/lib/components/closeButton.cjs.js +1 -0
- package/lib/components/closeButton.d.ts +2 -0
- package/lib/components/closeButton.es.js +5 -0
- package/lib/components/dialog.cjs.js +1 -0
- package/lib/components/dialog.d.ts +5 -0
- package/lib/components/dialog.es.js +7 -0
- package/lib/components/divider.cjs.js +1 -0
- package/lib/components/divider.d.ts +30 -0
- package/lib/components/divider.es.js +9 -0
- package/lib/components/fileUpload.cjs.js +1 -0
- package/lib/components/fileUpload.d.ts +90 -0
- package/lib/components/fileUpload.es.js +22 -0
- package/lib/components/floatingui.cjs.js +1 -0
- package/lib/components/floatingui.d.ts +71 -0
- package/lib/components/floatingui.es.js +608 -0
- package/lib/components/form.cjs.js +1 -0
- package/lib/components/form.d.ts +69 -0
- package/lib/components/form.es.js +9 -0
- package/lib/components/helperText.cjs.js +1 -0
- package/lib/components/helperText.d.ts +4 -0
- package/lib/components/helperText.es.js +6 -0
- package/lib/components/icon.cjs.js +1 -0
- package/lib/components/icon.d.ts +6 -0
- package/lib/components/icon.es.js +7 -0
- package/lib/components/index.cjs.js +1 -0
- package/lib/components/index.d.ts +34 -0
- package/lib/components/index.es.js +70 -0
- package/lib/components/inputChoiceGroup.cjs.js +1 -0
- package/lib/components/inputChoiceGroup.d.ts +10 -0
- package/lib/components/inputChoiceGroup.es.js +5 -0
- package/lib/components/link.cjs.js +1 -0
- package/lib/components/link.d.ts +4 -0
- package/lib/components/link.es.js +6 -0
- package/lib/components/list.cjs.js +1 -0
- package/lib/components/list.d.ts +14 -0
- package/lib/components/list.es.js +10 -0
- package/lib/components/logo.cjs.js +1 -0
- package/lib/components/logo.d.ts +5 -0
- package/lib/components/logo.es.js +6 -0
- package/lib/components/nativeSelect.cjs.js +1 -0
- package/lib/components/nativeSelect.d.ts +5 -0
- package/lib/components/nativeSelect.es.js +7 -0
- package/lib/components/pageHeader.cjs.js +1 -0
- package/lib/components/pageHeader.d.ts +5 -0
- package/lib/components/pageHeader.es.js +5 -0
- package/lib/components/pagination.cjs.js +1 -0
- package/lib/components/pagination.d.ts +69 -0
- package/lib/components/pagination.es.js +13 -0
- package/lib/components/progressBar.cjs.js +1 -0
- package/lib/components/progressBar.d.ts +14 -0
- package/lib/components/progressBar.es.js +11 -0
- package/lib/components/spinner.cjs.js +1 -0
- package/lib/components/spinner.d.ts +82 -0
- package/lib/components/spinner.es.js +19 -0
- package/lib/components/stepper.cjs.js +1 -0
- package/lib/components/stepper.d.ts +12 -0
- package/lib/components/stepper.es.js +5 -0
- package/lib/components/switch.cjs.js +1 -0
- package/lib/components/switch.d.ts +3 -0
- package/lib/components/switch.es.js +6 -0
- package/lib/components/tabs.cjs.js +1 -0
- package/lib/components/tabs.d.ts +6 -0
- package/lib/components/tabs.es.js +7 -0
- package/lib/components/text.cjs.js +1 -0
- package/lib/components/text.d.ts +15 -0
- package/lib/components/text.es.js +13 -0
- package/lib/components/textArea.cjs.js +1 -0
- package/lib/components/textArea.d.ts +2 -0
- package/lib/components/textArea.es.js +4 -0
- package/lib/components/toast.cjs.js +1 -0
- package/lib/components/toast.d.ts +14 -0
- package/lib/components/toast.es.js +9 -0
- package/lib/components/tooltip.cjs.js +1 -0
- package/lib/components/tooltip.d.ts +2 -0
- package/lib/components/tooltip.es.js +5 -0
- package/lib/shared.cjs.js +1 -0
- package/lib/shared.d.ts +4 -0
- package/lib/shared.es.js +6 -0
- package/lib/utils/CSSLookup.cjs.js +1 -0
- package/lib/utils/CSSLookup.d.ts +84 -0
- package/lib/utils/CSSLookup.es.js +110 -0
- package/lib/utils/classNames.cjs.js +1 -0
- package/lib/utils/classNames.d.ts +9 -0
- package/lib/utils/classNames.es.js +18 -0
- package/lib/utils/constants.cjs.js +1 -0
- package/lib/utils/constants.d.ts +174 -0
- package/lib/utils/constants.es.js +151 -0
- package/lib/utils/dom.cjs.js +1 -0
- package/lib/utils/dom.d.ts +18 -0
- package/lib/utils/dom.es.js +34 -0
- package/lib/utils/helpers.cjs.js +1 -0
- package/lib/utils/helpers.d.ts +66 -0
- package/lib/utils/helpers.es.js +154 -0
- package/lib/utils/index.cjs.js +1 -0
- package/lib/utils/index.d.ts +7 -0
- package/lib/utils/index.es.js +94 -0
- package/lib/utils/overflow.cjs.js +1 -0
- package/lib/utils/overflow.d.ts +34 -0
- package/lib/utils/overflow.es.js +34 -0
- package/lib/utils/raf.cjs.js +1 -0
- package/lib/utils/raf.d.ts +8 -0
- package/lib/utils/raf.es.js +14 -0
- package/lib/utils/styles.cjs.js +1 -0
- package/lib/utils/styles.d.ts +1 -0
- package/lib/utils/styles.es.js +5 -0
- package/lib/utils/types.cjs.js +1 -0
- package/lib/utils/types.d.ts +6 -0
- package/lib/utils/types.es.js +1 -0
- package/package.json +60 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const iconColors: readonly ["primary", "secondary", "positive", "warning", "negative", "infoPrimary", "infoSecondary", "positiveStrong", "warningStrong", "negativeStrong", "infoPrimaryStrong", "infoSecondaryStrong", "primaryInverse", "secondaryInverse"];
|
|
2
|
+
export declare const iconSizes: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
3
|
+
export type IconSize = typeof iconSizes[number];
|
|
4
|
+
export type IconColor = typeof iconColors[number];
|
|
5
|
+
export declare const roles: readonly ["presentation", "img", "button", "link", "none"];
|
|
6
|
+
export type IconRoles = typeof roles[number] | undefined;
|
|
@@ -0,0 +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.CLwQAceo.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/form.CIzlawbr.js"),q=require("../../chunks/helperText.C-apoW8Z.js"),d=require("../../chunks/icon.SiHuIfL8.js"),g=require("../../chunks/inputChoiceGroup.BSousduj.js"),h=require("../../chunks/link.VyBRMFxS.js"),x=require("../../chunks/list.D6NIx1OS.js"),v=require("../../chunks/logo.CLQZSaVN.js"),f=require("../../chunks/nativeSelect.Lz45VyQX.js"),S=require("../../chunks/pageHeader.CbDGb6ot.js"),B=require("../../chunks/pagination.Br7vTt5b.js"),C=require("../../chunks/progressBar.DcG-X-RY.js"),T=require("../../chunks/SegmentedControl.D0l_8a7O.js"),k=require("../../chunks/spinner.B6R6yphw.js"),w=require("../../chunks/stepper.ByKqsxhz.js"),A=require("../../chunks/switch.Dalf8ccu.js"),D=require("../../chunks/tabs.C7SBQq_R.js"),G=require("../../chunks/text.CW-ftgoP.js"),H=require("../../chunks/textArea.DF76BVU5.js"),L=require("../../chunks/toast.C-h1RUq_.js"),U=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.form=m.form;exports.helperText=q.helperText;exports.icon=d.icon;exports.inputChoiceGroup=g.inputChoiceGroup;exports.link=h.link;exports.list=x.list;exports.logo=v.logo;exports.nativeSelect=f.nativeSelect;exports.pageHeader=S.pageHeader;exports.pagination=B.pagination;exports.progressBar=C.progressBar;exports.segmentedControl=T.SegmentedControl;exports.spinner=k.spinner;exports.stepper=w.stepper;exports.switch=A._switch;exports.tabs=D.tabs;exports.text=G.text;exports.textArea=H.textArea;exports.toast=L.toast;exports.tooltip=U.tooltip;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export * as accordion from './accordion';
|
|
2
|
+
export * as actionList from './actionList';
|
|
3
|
+
export * as alert from './alert';
|
|
4
|
+
export * as avatar from './avatar';
|
|
5
|
+
export * as badge from './badge';
|
|
6
|
+
export * as badgeDot from './badgeDot';
|
|
7
|
+
export * as box from './box';
|
|
8
|
+
export * as button from './button';
|
|
9
|
+
export * as card from './card';
|
|
10
|
+
export * as chips from './chips';
|
|
11
|
+
export * as closeButton from './closeButton';
|
|
12
|
+
export * as dialog from './dialog';
|
|
13
|
+
export * as divider from './divider';
|
|
14
|
+
export * as fileUpload from './fileUpload';
|
|
15
|
+
export * as form from './form';
|
|
16
|
+
export * as helperText from './helperText';
|
|
17
|
+
export * as icon from './icon';
|
|
18
|
+
export * as inputChoiceGroup from './inputChoiceGroup';
|
|
19
|
+
export * as link from './link';
|
|
20
|
+
export * as list from './list';
|
|
21
|
+
export * as logo from './logo';
|
|
22
|
+
export * as nativeSelect from './nativeSelect';
|
|
23
|
+
export * as pageHeader from './pageHeader';
|
|
24
|
+
export * as pagination from './pagination';
|
|
25
|
+
export * as progressBar from './progressBar';
|
|
26
|
+
export * as segmentedControl from './SegmentedControl';
|
|
27
|
+
export * as spinner from './spinner';
|
|
28
|
+
export * as stepper from './stepper';
|
|
29
|
+
export * as switch from './switch';
|
|
30
|
+
export * as tabs from './tabs';
|
|
31
|
+
export * as text from './text';
|
|
32
|
+
export * as textArea from './textArea';
|
|
33
|
+
export * as toast from './toast';
|
|
34
|
+
export * as tooltip from './tooltip';
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { a as t } from "../../chunks/accordion.CCM7ddD5.js";
|
|
2
|
+
import { a } from "../../chunks/actionList.X99uHmXK.js";
|
|
3
|
+
import { a as s } from "../../chunks/alert.BZ4L-6bC.js";
|
|
4
|
+
import { a as x } from "../../chunks/avatar.BbM_sNXk.js";
|
|
5
|
+
import { b as i } from "../../chunks/badge.DZN0yrZh.js";
|
|
6
|
+
import { b as n } from "../../chunks/badgeDot.ClhZtqzd.js";
|
|
7
|
+
import { b as d } from "../../chunks/box._mFtvgTp.js";
|
|
8
|
+
import { b as g } from "../../chunks/button.Dz8Zhr7J.js";
|
|
9
|
+
import { c as u } from "../../chunks/card.CG-SDcm1.js";
|
|
10
|
+
import { c as B } from "../../chunks/chips.GU9UVEOU.js";
|
|
11
|
+
import { c as S } from "../../chunks/closeButton.g8_iRoUg.js";
|
|
12
|
+
import { d as w } from "../../chunks/dialog.BTq-pLBf.js";
|
|
13
|
+
import { d as D } from "../../chunks/divider.DgP7kpLb.js";
|
|
14
|
+
import { f as H } from "../../chunks/fileUpload.BbSIsjJv.js";
|
|
15
|
+
import { f as T } from "../../chunks/form.BRWIo59c.js";
|
|
16
|
+
import { h as _ } from "../../chunks/helperText.CS5sun4r.js";
|
|
17
|
+
import { i as q } from "../../chunks/icon.tCAxaKQh.js";
|
|
18
|
+
import { i as z } from "../../chunks/inputChoiceGroup.DkDdA57f.js";
|
|
19
|
+
import { l as F } from "../../chunks/link.DxTb3yhm.js";
|
|
20
|
+
import { l as J } from "../../chunks/list.CCq0lIzm.js";
|
|
21
|
+
import { l as M } from "../../chunks/logo.Cl29Chxj.js";
|
|
22
|
+
import { n as O } from "../../chunks/nativeSelect.D9HZm9uJ.js";
|
|
23
|
+
import { p as Q } from "../../chunks/pageHeader.fsTiHDRc.js";
|
|
24
|
+
import { p as V } from "../../chunks/pagination.DinViL55.js";
|
|
25
|
+
import { p as X } from "../../chunks/progressBar.84w2qF8R.js";
|
|
26
|
+
import { S as Z } from "../../chunks/SegmentedControl.B9dLCFSF.js";
|
|
27
|
+
import { s as oo } from "../../chunks/spinner.oNNLX64f.js";
|
|
28
|
+
import { s as to } from "../../chunks/stepper.FT6nDHjL.js";
|
|
29
|
+
import { _ as ao } from "../../chunks/switch.hUukrKTd.js";
|
|
30
|
+
import { t as so } from "../../chunks/tabs.CIfcdjPn.js";
|
|
31
|
+
import { t as xo } from "../../chunks/text.DpbJhMDB.js";
|
|
32
|
+
import { t as io } from "../../chunks/textArea.CmtmGm_y.js";
|
|
33
|
+
import { t as no } from "../../chunks/toast.Bs1t4Urq.js";
|
|
34
|
+
import { t as bo } from "../../chunks/tooltip.D1fCHa9d.js";
|
|
35
|
+
export {
|
|
36
|
+
t as accordion,
|
|
37
|
+
a as actionList,
|
|
38
|
+
s as alert,
|
|
39
|
+
x as avatar,
|
|
40
|
+
i as badge,
|
|
41
|
+
n as badgeDot,
|
|
42
|
+
d as box,
|
|
43
|
+
g as button,
|
|
44
|
+
u as card,
|
|
45
|
+
B as chips,
|
|
46
|
+
S as closeButton,
|
|
47
|
+
w as dialog,
|
|
48
|
+
D as divider,
|
|
49
|
+
H as fileUpload,
|
|
50
|
+
T as form,
|
|
51
|
+
_ as helperText,
|
|
52
|
+
q as icon,
|
|
53
|
+
z as inputChoiceGroup,
|
|
54
|
+
F as link,
|
|
55
|
+
J as list,
|
|
56
|
+
M as logo,
|
|
57
|
+
O as nativeSelect,
|
|
58
|
+
Q as pageHeader,
|
|
59
|
+
V as pagination,
|
|
60
|
+
X as progressBar,
|
|
61
|
+
Z as segmentedControl,
|
|
62
|
+
oo as spinner,
|
|
63
|
+
to as stepper,
|
|
64
|
+
ao as switch,
|
|
65
|
+
so as tabs,
|
|
66
|
+
xo as text,
|
|
67
|
+
io as textArea,
|
|
68
|
+
no as toast,
|
|
69
|
+
bo as tooltip
|
|
70
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../chunks/inputChoiceGroup.BSousduj.js");exports.layouts=o.layouts;exports.orientations=o.orientations;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const orientations: readonly ["vertical", "horizontal"];
|
|
2
|
+
export type InputChoiceGroupOrientation = typeof orientations[number];
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated use `orientations` instead
|
|
5
|
+
*/
|
|
6
|
+
export declare const layouts: readonly ["vertical", "horizontal", "horizontalFluid"];
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated use `InputChoiceGroupOrientation` instead
|
|
9
|
+
*/
|
|
10
|
+
export type InputChoiceGroupLayouts = typeof layouts[number];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../utils/constants.cjs.js");const e=require("../../chunks/link.VyBRMFxS.js");exports.linkAppearance=e.linkAppearance;exports.linkSize=e.linkSize;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../utils/constants.cjs.js");const e=require("../../chunks/list.D6NIx1OS.js");exports.listDensity=e.listDensity;exports.listKind=e.listKind;exports.listKindToElement=e.listKindToElement;exports.listSizes=e.listSizes;exports.orderedListStyles=e.orderedListStyles;exports.unorderedListStyles=e.unorderedListStyles;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const listKind: readonly ["ordered", "unordered", "unstyled", "withIcons"];
|
|
2
|
+
export type ListKind = typeof listKind[number];
|
|
3
|
+
export declare const listKindToElement: {
|
|
4
|
+
readonly ordered: "ol";
|
|
5
|
+
readonly unordered: "ul";
|
|
6
|
+
readonly unstyled: "ul";
|
|
7
|
+
readonly withIcons: "ul";
|
|
8
|
+
};
|
|
9
|
+
export declare const listSizes: readonly ["sm", "md", "lg", "xl"];
|
|
10
|
+
export type ListSize = typeof listSizes[number];
|
|
11
|
+
export declare const listDensity: readonly ["md", "lg"];
|
|
12
|
+
export type ListDensity = typeof listDensity[number];
|
|
13
|
+
export declare const orderedListStyles: readonly ["decimal", "lower-alpha", "lower-roman"];
|
|
14
|
+
export declare const unorderedListStyles: readonly ["disc", "circle"];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "../utils/constants.es.js";
|
|
2
|
+
import { d as i, a, b as d, c as l, o, u as r } from "../../chunks/list.CCq0lIzm.js";
|
|
3
|
+
export {
|
|
4
|
+
i as listDensity,
|
|
5
|
+
a as listKind,
|
|
6
|
+
d as listKindToElement,
|
|
7
|
+
l as listSizes,
|
|
8
|
+
o as orderedListStyles,
|
|
9
|
+
r as unorderedListStyles
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../utils/constants.cjs.js");const e=require("../../chunks/logo.CLQZSaVN.js");exports.logoSizes=e.logoSizes;exports.roles=e.roles;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const logoSizes: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
2
|
+
export type LogoSize = typeof logoSizes[number];
|
|
3
|
+
export type LogoColor = 'primary' | 'secondary' | 'positive' | 'warning' | 'negative' | 'infoPrimary' | 'infoSecondary' | 'positiveStrong' | 'warningStrong' | 'negativeStrong' | 'infoPrimaryStrong' | 'infoSecondaryStrong' | 'primaryInverse' | 'secondaryInverse';
|
|
4
|
+
export declare const roles: readonly ["presentation", "img", "button", "link", "none"];
|
|
5
|
+
export type LogoRoles = typeof roles[number] | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../utils/helpers.cjs.js");const e=require("../../chunks/nativeSelect.Lz45VyQX.js");exports.addOption=e.addOption;exports.hideOptions=e.hideOptions;exports.isManipulateEvent=e.isManipulateEvent;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Nullable, Optional } from '../utils/types';
|
|
2
|
+
export type SelectOption = HTMLOptionElement | HTMLOptGroupElement;
|
|
3
|
+
export declare const hideOptions: (select: Nullable<HTMLSelectElement>, selectMarkedReadOnly: Optional<boolean>) => void;
|
|
4
|
+
export declare const isManipulateEvent: (eventKey: string) => boolean;
|
|
5
|
+
export declare const addOption: (select: HTMLSelectElement) => ((option: SelectOption) => void);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../utils/constants.cjs.js");const e=require("../../chunks/pageHeader.CbDGb6ot.js");exports.HeadingContentSize=e.HeadingContentSize;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/pagination.Br7vTt5b.js");exports.DEFAULT_OFFSET=e.DEFAULT_OFFSET;exports.MAX_END_PAGES=e.MAX_END_PAGES;exports.MAX_INITIAL_PAGES=e.MAX_INITIAL_PAGES;exports.MIDPOINT_START=e.MIDPOINT_START;exports.TRUNCATION_PAGE_MINIMUM=e.TRUNCATION_PAGE_MINIMUM;exports.calculateTotalOffset=e.calculateTotalOffset;exports.compensateOffset=e.compensateOffset;exports.createPageRange=e.createPageRange;exports.generateMiddlePages=e.generateMiddlePages;exports.getAdjustedTotalPages=e.getAdjustedTotalPages;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimum number of pages required before truncation is applied.
|
|
3
|
+
*/
|
|
4
|
+
export declare const TRUNCATION_PAGE_MINIMUM = 5;
|
|
5
|
+
/**
|
|
6
|
+
* Default offset value to be used when no offset is provided.
|
|
7
|
+
*/
|
|
8
|
+
export declare const DEFAULT_OFFSET = 0;
|
|
9
|
+
/**
|
|
10
|
+
* The maximum amount of pages to be displayed initially before applying truncation.
|
|
11
|
+
* This value is calculated based on the minimum number of pages required for truncation.
|
|
12
|
+
*/
|
|
13
|
+
export declare const MAX_INITIAL_PAGES: number;
|
|
14
|
+
/**
|
|
15
|
+
* The maximum amount of pages to display towards the end of the pagination (includes the last page).
|
|
16
|
+
* This ensures that a set number of pages are always visible at the end of the pagination.
|
|
17
|
+
*/
|
|
18
|
+
export declare const MAX_END_PAGES = 3;
|
|
19
|
+
/**
|
|
20
|
+
* The starting point for rendering pages in the middle part of the pagination control.
|
|
21
|
+
* This is typically the second page, as the first page is handled separately.
|
|
22
|
+
*/
|
|
23
|
+
export declare const MIDPOINT_START = 2;
|
|
24
|
+
/**
|
|
25
|
+
* Adjust the total number of pages to account for constant areas like the first page and last page.
|
|
26
|
+
* This function ensures that the pagination properly considers these fixed areas.
|
|
27
|
+
*
|
|
28
|
+
* @param {number} totalPages - The total number of pages available.
|
|
29
|
+
* @returns {number} Adjusted number of pages after accounting for fixed points.
|
|
30
|
+
*/
|
|
31
|
+
export declare const getAdjustedTotalPages: (totalPages: number) => number;
|
|
32
|
+
/**
|
|
33
|
+
* Calculate and return the total pages offset based on the offset and the scalar (2).
|
|
34
|
+
* This determines the number of pages to be displayed before applying truncation.
|
|
35
|
+
*
|
|
36
|
+
* @param {number} offset - The base offset for creating the page range.
|
|
37
|
+
* @returns {number} total offset used in generating the middle page numbers.
|
|
38
|
+
*/
|
|
39
|
+
export declare const calculateTotalOffset: (offset: number) => number;
|
|
40
|
+
/**
|
|
41
|
+
* Compensate the offset for cases where the total number of pages is low,
|
|
42
|
+
* ensuring the offset makes sense based on total available pages and thresholds.
|
|
43
|
+
*
|
|
44
|
+
* @param {number} totalPages - The total number of pages available.
|
|
45
|
+
* @param {number} offset - The user-defined offset to adjust.
|
|
46
|
+
* @returns {number} Adjusted offset value.
|
|
47
|
+
* @throws Will throw an error if totalPages is less than 1.
|
|
48
|
+
*/
|
|
49
|
+
export declare const compensateOffset: (totalPages: number, offset: number) => number;
|
|
50
|
+
/**
|
|
51
|
+
* Create a sequential range of page numbers starting from a specific number.
|
|
52
|
+
*
|
|
53
|
+
* @param {number} start - The starting page number of the range.
|
|
54
|
+
* @param {number} length - The number of pages to include in the range.
|
|
55
|
+
* @returns {number[]} An array of sequential page numbers.
|
|
56
|
+
*/
|
|
57
|
+
export declare const createPageRange: (start: number, length: number) => number[];
|
|
58
|
+
/**
|
|
59
|
+
* Generates a range of middle page numbers for pagination, excluding the initial and final pages.
|
|
60
|
+
* This function handles the middle segment of the pagination and omits the first and last segments
|
|
61
|
+
* if the current page is near the start or end of the total pages.
|
|
62
|
+
*
|
|
63
|
+
* @param {number} totalPages - The total number of pages available.
|
|
64
|
+
* @param {number} currentPage - The currently active page number.
|
|
65
|
+
* @param {number} [offset=DEFAULT_OFFSET] - The number of pages to offset on either side of the current page.
|
|
66
|
+
* @returns {number[]} An array of page numbers representing the middle segment of the pagination.
|
|
67
|
+
* @throws Will throw an error if the currentPage is less than 1 or greater than totalPages.
|
|
68
|
+
*/
|
|
69
|
+
export declare const generateMiddlePages: (totalPages: number, currentPage: number, offset?: number) => number[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { D as s, a as t, M as T, b as A, T as I, c as M, d as _, e as g, f as P, g as f } from "../../chunks/pagination.DinViL55.js";
|
|
2
|
+
export {
|
|
3
|
+
s as DEFAULT_OFFSET,
|
|
4
|
+
t as MAX_END_PAGES,
|
|
5
|
+
T as MAX_INITIAL_PAGES,
|
|
6
|
+
A as MIDPOINT_START,
|
|
7
|
+
I as TRUNCATION_PAGE_MINIMUM,
|
|
8
|
+
M as calculateTotalOffset,
|
|
9
|
+
_ as compensateOffset,
|
|
10
|
+
g as createPageRange,
|
|
11
|
+
P as generateMiddlePages,
|
|
12
|
+
f as getAdjustedTotalPages
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../utils/constants.cjs.js");const e=require("../../chunks/progressBar.DcG-X-RY.js");exports.active=e.active;exports.calculateTrackWidth=e.calculateTrackWidth;exports.error=e.error;exports.getHelperTextProps=e.getHelperTextProps;exports.sizes=e.sizes;exports.states=e.states;exports.success=e.success;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const sizes: readonly ["sm", "md", "lg"];
|
|
2
|
+
export type ProgressBarSize = typeof sizes[number];
|
|
3
|
+
export declare const active: "active";
|
|
4
|
+
export declare const error: "error";
|
|
5
|
+
export declare const success: "success";
|
|
6
|
+
export declare const states: readonly ["active", "error", "success"];
|
|
7
|
+
export type ProgressBarState = typeof states[number];
|
|
8
|
+
export declare function calculateTrackWidth(state: ProgressBarState, value?: number): number | undefined;
|
|
9
|
+
interface ProgressBarHelperTextProps {
|
|
10
|
+
appearance: 'info' | 'positive' | 'negative';
|
|
11
|
+
hideIcon: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function getHelperTextProps(state: ProgressBarState): ProgressBarHelperTextProps;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../utils/constants.es.js";
|
|
2
|
+
import { a as r, d as t, e as c, g as o, s as i, c as p, b as l } from "../../chunks/progressBar.84w2qF8R.js";
|
|
3
|
+
export {
|
|
4
|
+
r as active,
|
|
5
|
+
t as calculateTrackWidth,
|
|
6
|
+
c as error,
|
|
7
|
+
o as getHelperTextProps,
|
|
8
|
+
i as sizes,
|
|
9
|
+
p as states,
|
|
10
|
+
l as success
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../utils/classNames.cjs.js");require("../utils/constants.cjs.js");const e=require("../../chunks/spinner.B6R6yphw.js");exports.baseClassNamePrefix=e.baseClassNamePrefix;exports.checkIfSpinnerIsDetermined=e.checkIfSpinnerIsDetermined;exports.classModifierPrefix=e.classModifierPrefix;exports.classNames=e.classNames;exports.getCircleDimensions=e.getCircleDimensions;exports.spinnerDefaultSize=e.spinnerDefaultSize;exports.spinnerSizeClassModifiers=e.spinnerSizeClassModifiers;exports.spinnerSizes=e.spinnerSizes;exports.spinnerSizesToDimensions=e.spinnerSizesToDimensions;exports.spinnerValueVar=e.spinnerValueVar;exports.spinnerWidths=e.spinnerWidths;exports.spinnerWrapClassName=e.spinnerWrapClassName;exports.strokeMiterlimit=e.strokeMiterlimit;exports.subElementClassPrefix=e.subElementClassPrefix;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export declare const strokeMiterlimit: 10;
|
|
2
|
+
export declare const spinnerSizes: readonly ["xxs", "xs", "sm", "md", "lg"];
|
|
3
|
+
export declare const spinnerDefaultSize: "md";
|
|
4
|
+
export declare const spinnerWidths: {
|
|
5
|
+
readonly xxs: 16;
|
|
6
|
+
readonly xs: 20;
|
|
7
|
+
readonly sm: 40;
|
|
8
|
+
readonly md: 64;
|
|
9
|
+
readonly lg: 88;
|
|
10
|
+
};
|
|
11
|
+
export declare const spinnerSizesToDimensions: {
|
|
12
|
+
readonly xxs: {
|
|
13
|
+
readonly sideLength: 16;
|
|
14
|
+
readonly strokeWidth: 2;
|
|
15
|
+
};
|
|
16
|
+
readonly xs: {
|
|
17
|
+
readonly sideLength: 20;
|
|
18
|
+
readonly strokeWidth: 2;
|
|
19
|
+
};
|
|
20
|
+
readonly sm: {
|
|
21
|
+
readonly sideLength: 40;
|
|
22
|
+
readonly strokeWidth: 4;
|
|
23
|
+
};
|
|
24
|
+
readonly md: {
|
|
25
|
+
readonly sideLength: 64;
|
|
26
|
+
readonly strokeWidth: 6;
|
|
27
|
+
};
|
|
28
|
+
readonly lg: {
|
|
29
|
+
readonly sideLength: 88;
|
|
30
|
+
readonly strokeWidth: 8;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export declare const baseClassNamePrefix: "bm-spinner", subElementClassPrefix: "bm-spinner__", classModifierPrefix: "bm-spinner--";
|
|
34
|
+
export type SIDE_LENGTH = number;
|
|
35
|
+
export type STROKE_WIDTH = number;
|
|
36
|
+
export interface GetCircleDimensionsProps {
|
|
37
|
+
sideLength: SIDE_LENGTH;
|
|
38
|
+
strokeWidth: STROKE_WIDTH;
|
|
39
|
+
}
|
|
40
|
+
export declare const getCircleDimensions: ({ sideLength, strokeWidth, }: GetCircleDimensionsProps) => {
|
|
41
|
+
readonly sideLength: number;
|
|
42
|
+
readonly strokeWidth: number;
|
|
43
|
+
readonly cx: number;
|
|
44
|
+
readonly cy: number;
|
|
45
|
+
readonly diameter: number;
|
|
46
|
+
readonly circumference: number;
|
|
47
|
+
readonly r: number;
|
|
48
|
+
readonly viewBox: string;
|
|
49
|
+
};
|
|
50
|
+
export declare const spinnerWrapClassName: "bm-spinner-wrap";
|
|
51
|
+
export declare const classNames: {
|
|
52
|
+
readonly spinnerWrap: "bm-spinner-wrap";
|
|
53
|
+
readonly spinnerSvgWrap: "bm-spinner";
|
|
54
|
+
readonly spinnerSvgWrapIndeterminate: "bm-spinner--indeterminate";
|
|
55
|
+
readonly spinnerSvgWrapDeterminate: "bm-spinner--determinate";
|
|
56
|
+
readonly spinnerContentWrapper: "bm-spinner__content-wrapper";
|
|
57
|
+
readonly spinnerSvgHeading: "bm-spinner__heading";
|
|
58
|
+
readonly spinnerSvgLabelPercentageIndicator: "bm-spinner__percentage-indicator";
|
|
59
|
+
readonly spinnerSvg: "bm-spinner__svg";
|
|
60
|
+
readonly spinnerSvgCircle: "bm-spinner__circle";
|
|
61
|
+
readonly spinnerSvgCircleBg: "bm-spinner__circle-bg";
|
|
62
|
+
readonly spinnerBody: "bm-spinner__body";
|
|
63
|
+
};
|
|
64
|
+
export declare const spinnerSizeClassModifiers: {
|
|
65
|
+
readonly xxs: "bm-spinner-wrap--xxs";
|
|
66
|
+
readonly xs: "bm-spinner-wrap--xs";
|
|
67
|
+
readonly sm: "bm-spinner-wrap--sm";
|
|
68
|
+
readonly md: "bm-spinner-wrap--md";
|
|
69
|
+
readonly lg: "bm-spinner-wrap--lg";
|
|
70
|
+
};
|
|
71
|
+
export declare const spinnerValueVar: "--bm-spinner-value";
|
|
72
|
+
export type SpinnerValuesAsNumbers = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100;
|
|
73
|
+
export type SpinnerValuesAsStrings = `${SpinnerValuesAsNumbers}`;
|
|
74
|
+
export type SpinnerValues = number | undefined;
|
|
75
|
+
export type SpinnerSizes = typeof spinnerSizes[number];
|
|
76
|
+
export interface SpinnerSvgProps {
|
|
77
|
+
size?: SpinnerSizes;
|
|
78
|
+
value: SpinnerValues;
|
|
79
|
+
}
|
|
80
|
+
export declare const checkIfSpinnerIsDetermined: ({ value }: {
|
|
81
|
+
value: SpinnerValues;
|
|
82
|
+
}) => boolean;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "../utils/classNames.es.js";
|
|
2
|
+
import "../utils/constants.es.js";
|
|
3
|
+
import { f as n, n as r, h as l, k as m, i as p, c as t, l as o, b as f, e as c, m as d, d as C, j as S, a as x, g as z } from "../../chunks/spinner.oNNLX64f.js";
|
|
4
|
+
export {
|
|
5
|
+
n as baseClassNamePrefix,
|
|
6
|
+
r as checkIfSpinnerIsDetermined,
|
|
7
|
+
l as classModifierPrefix,
|
|
8
|
+
m as classNames,
|
|
9
|
+
p as getCircleDimensions,
|
|
10
|
+
t as spinnerDefaultSize,
|
|
11
|
+
o as spinnerSizeClassModifiers,
|
|
12
|
+
f as spinnerSizes,
|
|
13
|
+
c as spinnerSizesToDimensions,
|
|
14
|
+
d as spinnerValueVar,
|
|
15
|
+
C as spinnerWidths,
|
|
16
|
+
S as spinnerWrapClassName,
|
|
17
|
+
x as strokeMiterlimit,
|
|
18
|
+
z as subElementClassPrefix
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/stepper.ByKqsxhz.js");exports.StepperOrientations=e.StepperOrientations;exports.StepperStatuses=e.StepperStatuses;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const StepperOrientations: {
|
|
2
|
+
readonly Horizontal: "horizontal";
|
|
3
|
+
readonly Vertical: "vertical";
|
|
4
|
+
};
|
|
5
|
+
export type StepperOrientation = typeof StepperOrientations[keyof typeof StepperOrientations];
|
|
6
|
+
export declare const StepperStatuses: {
|
|
7
|
+
readonly Incomplete: "incomplete";
|
|
8
|
+
readonly Current: "current";
|
|
9
|
+
readonly Complete: "complete";
|
|
10
|
+
readonly Error: "error";
|
|
11
|
+
};
|
|
12
|
+
export type StepperStatus = typeof StepperStatuses[keyof typeof StepperStatuses];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../utils/CSSLookup.cjs.js");const T=require("../../chunks/switch.Dalf8ccu.js");exports.DEFAULT_SWITCH_HEIGHT_PX=T.DEFAULT_SWITCH_HEIGHT_PX;exports.TEXT_POSITION_VALUES=T.TEXT_POSITION_VALUES;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../utils/constants.cjs.js");const e=require("../../chunks/tabs.C7SBQq_R.js");exports.TabsDividerColors=e.TabsDividerColors;exports.TabsOrientations=e.TabsOrientations;exports.TabsSizes=e.TabsSizes;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const TabsOrientations: readonly ["horizontal", "vertical"];
|
|
2
|
+
export type TabsOrientation = typeof TabsOrientations[number];
|
|
3
|
+
export declare const TabsSizes: readonly ["md", "lg"];
|
|
4
|
+
export type TabsSize = typeof TabsSizes[number];
|
|
5
|
+
export declare const TabsDividerColors: readonly ["00", "00-alt", "01", "02", "03"];
|
|
6
|
+
export type TabsDividerColor = typeof TabsDividerColors[number];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../utils/constants.cjs.js");const E=require("../../chunks/text.CW-ftgoP.js");exports.COMPACT_CLASS_PREFIX=E.COMPACT_CLASS_PREFIX;exports.DEFAULT_KIND_TO_ELEMENT_MAP=E.DEFAULT_KIND_TO_ELEMENT_MAP;exports.TEXT_ALIGNMENT_VALUES=E.TEXT_ALIGNMENT_VALUES;exports.TEXT_COLOR_VALUES=E.TEXT_COLOR_VALUES;exports.TEXT_ELEMENT_VALUES=E.TEXT_ELEMENT_VALUES;exports.TEXT_KIND_VALUES=E.TEXT_KIND_VALUES;exports.TEXT_WEIGHT_VALUES=E.TEXT_WEIGHT_VALUES;exports.TEXT_WORD_BREAK_VALUES=E.TEXT_WORD_BREAK_VALUES;exports.TYPOGRAPHY_CLASS_BASE=E.TYPOGRAPHY_CLASS_BASE;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const TYPOGRAPHY_CLASS_BASE: string;
|
|
2
|
+
export declare const COMPACT_CLASS_PREFIX = "compact-";
|
|
3
|
+
export declare const TEXT_ELEMENT_VALUES: readonly ["h1", "h2", "h3", "h4", "h5", "h6", "p", "span", "strong", "div", "mark", "a", "i", "u", "b", "label", "address", "article", "sub", "sup", "em", "small", "del", "ins", "abbr", "blockquote", "data", "pre"];
|
|
4
|
+
export type TextElement = typeof TEXT_ELEMENT_VALUES[number];
|
|
5
|
+
export declare const TEXT_ALIGNMENT_VALUES: readonly ["start", "center", "end"];
|
|
6
|
+
export type TextAlignment = typeof TEXT_ALIGNMENT_VALUES[number];
|
|
7
|
+
export declare const TEXT_WORD_BREAK_VALUES: readonly ["normal", "breakAll", "breakWord"];
|
|
8
|
+
export type TextWordBreak = typeof TEXT_WORD_BREAK_VALUES[number];
|
|
9
|
+
export declare const TEXT_WEIGHT_VALUES: readonly ["heading-regular", "heading-bold", "body-regular", "body-bold"];
|
|
10
|
+
export type TextWeight = typeof TEXT_WEIGHT_VALUES[number];
|
|
11
|
+
export declare const TEXT_COLOR_VALUES: readonly ["primary", "secondary", "positive", "warning", "negative", "infoPrimary", "infoSecondary", "selected", "disabled", "primaryInverse", "secondaryInverse", "expressive", "expressiveStronger", "expressiveInverse", "expressiveInverseStronger"];
|
|
12
|
+
export type TextColor = typeof TEXT_COLOR_VALUES[number];
|
|
13
|
+
export declare const TEXT_KIND_VALUES: readonly ["heading-6xl", "heading-5xl", "heading-4xl", "heading-3xl", "heading-2xl", "heading-xl", "heading-lg", "heading-md", "heading-sm", "heading-xs", "heading-alt-6xl", "heading-alt-5xl", "heading-alt-4xl", "heading-alt-3xl", "heading-alt-2xl", "heading-alt-xl", "heading-alt-lg", "heading-alt-md", "heading-alt-sm", "heading-alt-xs", "body-2xl", "body-xl", "body-lg", "body-md", "body-sm", "body-xs", "detail-xl", "detail-lg", "detail-md", "detail-sm", "detail-xs", "label-2xl", "label-xl", "label-lg", "label-md", "label-sm", "label-xs"];
|
|
14
|
+
export type TextKind = typeof TEXT_KIND_VALUES[number];
|
|
15
|
+
export declare const DEFAULT_KIND_TO_ELEMENT_MAP: Record<TextKind, TextElement>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "../utils/constants.es.js";
|
|
2
|
+
import { C as A, D as L, b as S, e as a, a as s, f as U, d as X, c as C, T as N } from "../../chunks/text.DpbJhMDB.js";
|
|
3
|
+
export {
|
|
4
|
+
A as COMPACT_CLASS_PREFIX,
|
|
5
|
+
L as DEFAULT_KIND_TO_ELEMENT_MAP,
|
|
6
|
+
S as TEXT_ALIGNMENT_VALUES,
|
|
7
|
+
a as TEXT_COLOR_VALUES,
|
|
8
|
+
s as TEXT_ELEMENT_VALUES,
|
|
9
|
+
U as TEXT_KIND_VALUES,
|
|
10
|
+
X as TEXT_WEIGHT_VALUES,
|
|
11
|
+
C as TEXT_WORD_BREAK_VALUES,
|
|
12
|
+
N as TYPOGRAPHY_CLASS_BASE
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../chunks/textArea.DF76BVU5.js");exports.autoResizeTextArea=e.autoResizeTextArea;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../utils/constants.cjs.js");const t=require("../../chunks/toast.C-h1RUq_.js");exports.DEFAULT_TOAST_TIMEOUT_DURATION=t.DEFAULT_TOAST_TIMEOUT_DURATION;exports.TOAST_ANIMATION_DURATION=t.TOAST_ANIMATION_DURATION;exports.positions=t.positions;exports.toastAppearances=t.toastAppearances;exports.toastContainerPositions=t.toastContainerPositions;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const DEFAULT_TOAST_TIMEOUT_DURATION = 7000;
|
|
2
|
+
export declare const TOAST_ANIMATION_DURATION = 500;
|
|
3
|
+
export declare const positions: {
|
|
4
|
+
readonly topLeft: "top-left";
|
|
5
|
+
readonly topCenter: "top-center";
|
|
6
|
+
readonly topRight: "top-right";
|
|
7
|
+
readonly bottomLeft: "bottom-left";
|
|
8
|
+
readonly bottomCenter: "bottom-center";
|
|
9
|
+
readonly bottomRight: "bottom-right";
|
|
10
|
+
};
|
|
11
|
+
export declare const toastContainerPositions: readonly ["bottom-left", "bottom-center", "bottom-right", "top-left", "top-center", "top-right"];
|
|
12
|
+
export type ToastContainerPositions = typeof toastContainerPositions[number];
|
|
13
|
+
export declare const toastAppearances: readonly ["information", "positive", "warning", "negative"];
|
|
14
|
+
export type ToastAppearances = typeof toastAppearances[number];
|