@easypost/easy-ui 1.0.0-alpha.76 → 1.0.0-alpha.78
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/Badge/Badge.d.ts +11 -0
- package/Badge/Badge.d.ts.map +1 -1
- package/Badge/index.js +19 -15
- package/Badge/index.mjs +19 -15
- package/Banner/index.js +1 -1
- package/Banner/index.mjs +1 -1
- package/Button/index.mjs +1 -1
- package/CHANGELOG.md +17 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/Card/Card.d.ts +2 -0
- package/Card/Card.d.ts.map +1 -1
- package/Card/index.js +1 -1
- package/Card/index.mjs +1 -1
- package/CheckableCard/index.js +3 -3
- package/CheckableCard/index.mjs +3 -3
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +4 -4
- package/CodeBlock/index.mjs +7 -7
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/DataGrid.d.ts +2 -2
- package/DataGrid/DataGrid.d.ts.map +1 -1
- package/DataGrid/Table.d.ts +3 -3
- package/DataGrid/Table.d.ts.map +1 -1
- package/DataGrid/index.js +5 -5
- package/DataGrid/index.mjs +17 -17
- package/DataGrid/types.d.ts +24 -21
- package/DataGrid/types.d.ts.map +1 -1
- package/DatePicker/index.js +3 -3
- package/DatePicker/index.mjs +7 -7
- package/DateRangePicker/index.js +3 -3
- package/DateRangePicker/index.mjs +7 -7
- package/Drawer/index.js +1 -1
- package/Drawer/index.mjs +5 -5
- package/DropdownButton/index.mjs +1 -1
- package/EmptyStateCard/index.js +2 -2
- package/EmptyStateCard/index.mjs +2 -2
- package/FocusedProductLayout/index.js +2 -2
- package/FocusedProductLayout/index.mjs +4 -4
- package/ForgeLayout/index.js +4 -4
- package/ForgeLayout/index.mjs +11 -11
- package/FormLayout/index.js +1 -1
- package/FormLayout/index.mjs +1 -1
- package/IconButton/index.js +1 -1
- package/IconButton/index.mjs +2 -2
- package/InputField/index.js +1 -1
- package/InputField/index.mjs +1 -1
- package/KebabButton/index.js +1 -1
- package/KebabButton/index.mjs +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/index.js +1 -1
- package/Modal/index.mjs +6 -6
- package/MultiSelect/index.js +3 -3
- package/MultiSelect/index.mjs +20 -20
- package/NexusLayout/index.js +2 -2
- package/NexusLayout/index.mjs +6 -6
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +2 -2
- package/Pagination/index.mjs +3 -3
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/PlanCard/PlanCard.d.ts +89 -0
- package/PlanCard/PlanCard.d.ts.map +1 -0
- package/PlanCard/PlanCard.stories.d.ts +12 -0
- package/PlanCard/PlanCard.stories.d.ts.map +1 -0
- package/PlanCard/PlanCard.test.d.ts +2 -0
- package/PlanCard/PlanCard.test.d.ts.map +1 -0
- package/PlanCard/illustrations/Building01/Building01.d.ts +3 -0
- package/PlanCard/illustrations/Building01/Building01.d.ts.map +1 -0
- package/PlanCard/illustrations/Building01/index.d.ts +2 -0
- package/PlanCard/illustrations/Building01/index.d.ts.map +1 -0
- package/PlanCard/illustrations/Building01/index.js +540 -0
- package/PlanCard/illustrations/Building01/index.mjs +540 -0
- package/PlanCard/illustrations/Building02/Building02.d.ts +3 -0
- package/PlanCard/illustrations/Building02/Building02.d.ts.map +1 -0
- package/PlanCard/illustrations/Building02/index.d.ts +2 -0
- package/PlanCard/illustrations/Building02/index.d.ts.map +1 -0
- package/PlanCard/illustrations/Building02/index.js +214 -0
- package/PlanCard/illustrations/Building02/index.mjs +214 -0
- package/PlanCard/illustrations/Building03/Building03.d.ts +3 -0
- package/PlanCard/illustrations/Building03/Building03.d.ts.map +1 -0
- package/PlanCard/illustrations/Building03/index.d.ts +2 -0
- package/PlanCard/illustrations/Building03/index.d.ts.map +1 -0
- package/PlanCard/illustrations/Building03/index.js +781 -0
- package/PlanCard/illustrations/Building03/index.mjs +781 -0
- package/PlanCard/illustrations/Building04/Building04.d.ts +3 -0
- package/PlanCard/illustrations/Building04/Building04.d.ts.map +1 -0
- package/PlanCard/illustrations/Building04/index.d.ts +2 -0
- package/PlanCard/illustrations/Building04/index.d.ts.map +1 -0
- package/PlanCard/illustrations/Building04/index.js +1536 -0
- package/PlanCard/illustrations/Building04/index.mjs +1536 -0
- package/PlanCard/index.d.ts +2 -0
- package/PlanCard/index.d.ts.map +1 -0
- package/PlanCard/index.js +146 -0
- package/PlanCard/index.mjs +146 -0
- package/ProductLayout/index.js +3 -3
- package/ProductLayout/index.mjs +10 -10
- package/Provider/index.js +2 -2
- package/Provider/index.mjs +3 -3
- package/RadioButtonGroup/index.js +1 -1
- package/RadioButtonGroup/index.mjs +5 -5
- package/RadioGroup/index.js +1 -1
- package/RadioGroup/index.mjs +1 -1
- package/RangeCalendar/index.js +1 -1
- package/RangeCalendar/index.mjs +1 -1
- package/SearchNav/index.js +3 -3
- package/SearchNav/index.mjs +5 -5
- package/SectionCard/index.js +2 -2
- package/SectionCard/index.mjs +2 -2
- package/Select/index.js +3 -3
- package/Select/index.mjs +4 -4
- package/SelectorErrorTooltip/index.js +1 -1
- package/SelectorErrorTooltip/index.mjs +1 -1
- package/Spinner/index.js +1 -1
- package/Spinner/index.mjs +1 -1
- package/SplitToggleCard/index.js +2 -2
- package/SplitToggleCard/index.mjs +2 -2
- package/Stepper/index.mjs +1 -1
- package/TabNav/index.mjs +1 -1
- package/TabPanels/index.mjs +5 -5
- package/Tabs/index.mjs +1 -1
- package/Text/Text.d.ts +4 -1
- package/Text/Text.d.ts.map +1 -1
- package/Text/index.js +1 -1
- package/Text/index.mjs +1 -1
- package/TextField/index.js +1 -1
- package/TextField/index.mjs +1 -1
- package/Textarea/index.js +1 -1
- package/Textarea/index.mjs +1 -1
- package/Theme/index.js +1 -1
- package/Theme/index.mjs +1 -1
- package/Toggle/index.js +1 -1
- package/Toggle/index.mjs +1 -1
- package/ToggleCard/index.js +1 -1
- package/ToggleCard/index.mjs +1 -1
- package/Tooltip/index.js +1 -1
- package/Tooltip/index.mjs +1 -1
- package/UnstyledButton/index.mjs +1 -1
- package/VerticalNav/index.js +1 -1
- package/VerticalNav/index.mjs +3 -3
- package/__chunks__/{Button-cjD7z6sK.mjs → Button-D-ucl04v.mjs} +1 -1
- package/__chunks__/{Button-CSNMWizI.mjs → Button-UHHZB1DN.mjs} +3 -3
- package/__chunks__/{Calendar-BGIbWVyN.js → Calendar-2o01guc2.js} +1 -1
- package/__chunks__/{Calendar-B4BCW9t8.mjs → Calendar-DjW0E3mk.mjs} +1 -1
- package/__chunks__/{CalendarBase-C_AQ7bu5.mjs → CalendarBase-D8NmV5mS.mjs} +5 -5
- package/__chunks__/{CalendarBase-BgzOdHfS.js → CalendarBase-RcVbhUvM.js} +1 -1
- package/__chunks__/{Card-svNtJnxD.js → Card-BM2DKiVA.js} +2 -2
- package/__chunks__/{Card-DLf_ttOB.mjs → Card-CJug4GMX.mjs} +2 -2
- package/__chunks__/{Checkbox-BMBM6doF.mjs → Checkbox-C8XZu-1F.mjs} +7 -7
- package/__chunks__/{Checkbox-DEmP9BGE.js → Checkbox-sznEdCc0.js} +2 -2
- package/__chunks__/{CodeSnippet-BBZpDbHX.js → CodeSnippet-Bpf7eWjq.js} +2 -2
- package/__chunks__/{CodeSnippet-B6KCRlKQ.mjs → CodeSnippet-DOyQDfxp.mjs} +2 -2
- package/__chunks__/{DatePickerBase-VNenwOmb.mjs → DatePickerBase-BJH3bhGM.mjs} +10 -10
- package/__chunks__/{DatePickerBase-WNWiVJoF.js → DatePickerBase-BWFcyR_m.js} +2 -2
- package/__chunks__/{Dialog-E2U6mUFU.mjs → Dialog-BBt18JUl.mjs} +7 -7
- package/__chunks__/{FocusScope-CQhiv02m.mjs → FocusScope-jG-ZgYgr.mjs} +2 -2
- package/__chunks__/{HelpMenu-CTNmYcKm.js → HelpMenu-B3gwBqqY.js} +2 -2
- package/__chunks__/{HelpMenu-Bed-PzGS.mjs → HelpMenu-DQngktSJ.mjs} +3 -3
- package/__chunks__/{InputCaption-z01Eep0I.js → InputCaption-G9D1cPnP.js} +1 -1
- package/__chunks__/{InputCaption-CRtCXzV7.mjs → InputCaption-aU5qZQlo.mjs} +1 -1
- package/__chunks__/{InputField-Bb98b1MA.js → InputField-CPgMRigD.js} +2 -2
- package/__chunks__/{InputField-Dm5yHcWV.mjs → InputField-D4feGzmR.mjs} +5 -5
- package/__chunks__/{KebabButton-B9eYB6ZD.js → KebabButton-B97kYKaW.js} +1 -1
- package/__chunks__/{KebabButton-gf3gFlb0.mjs → KebabButton-tTikhARu.mjs} +2 -2
- package/__chunks__/{Menu-BVTFMAX-.js → Menu-BjKQfXId.js} +2 -2
- package/__chunks__/{Menu-DJS86zDM.mjs → Menu-L3un-ZpR.mjs} +13 -13
- package/__chunks__/{Notification-C-_hCM1v.mjs → Notification-C22_98O5.mjs} +5 -5
- package/__chunks__/{Notification-B_dzUkJq.js → Notification-eckCE8Jj.js} +1 -1
- package/__chunks__/{Overlay-CG-kKp6T.mjs → Overlay-huXBYY4a.mjs} +2 -2
- package/__chunks__/{PillGroup-DZtHC3NK.mjs → PillGroup-8hng2YcX.mjs} +15 -15
- package/__chunks__/{PillGroup-D-VEy6sn.js → PillGroup-q2LMLV6q.js} +1 -1
- package/__chunks__/{RadioGroup-ppUojVMB.mjs → RadioGroup-CaCZDI4f.mjs} +9 -9
- package/__chunks__/{RadioGroup-CDmT0FW5.js → RadioGroup-Cbzsv5jw.js} +2 -2
- package/__chunks__/{RangeCalendar-rMPxj6HM.mjs → RangeCalendar-DhFnV8j-.mjs} +1 -1
- package/__chunks__/{RangeCalendar-B5UtHhmt.js → RangeCalendar-aUakXSjU.js} +1 -1
- package/__chunks__/{SelectOverlay-DgDBimW8.js → SelectOverlay-BFRRqmYL.js} +1 -1
- package/__chunks__/{SelectOverlay-CG2jyYZ_.mjs → SelectOverlay-CsxfifYV.mjs} +10 -10
- package/__chunks__/{SelectorErrorTooltip-Dkuaiq7N.mjs → SelectorErrorTooltip-C5XJ5swy.mjs} +2 -2
- package/__chunks__/{SelectorErrorTooltip-BfKzfYpQ.js → SelectorErrorTooltip-EwN0tf2g.js} +2 -2
- package/__chunks__/{Spinner-C4B8utkI.mjs → Spinner-BsFJZqxe.mjs} +1 -1
- package/__chunks__/{Spinner-BQg8KbBa.js → Spinner-BsvfYBAO.js} +1 -1
- package/__chunks__/{Stepper-Dbvg5Wn_.mjs → Stepper-F7Czxecp.mjs} +2 -2
- package/__chunks__/{TabNav-CNAVzfBp.mjs → TabNav-DbDaDR6R.mjs} +1 -1
- package/__chunks__/{Tabs-Chw75GHi.mjs → Tabs-DbH5NmIf.mjs} +2 -2
- package/__chunks__/Text-B1xglKFU.js +112 -0
- package/__chunks__/Text-CX5GoBTS.mjs +113 -0
- package/__chunks__/{TextField-HXNCIy4W.mjs → TextField-BwGqzpya.mjs} +1 -1
- package/__chunks__/{TextField-Co8OtDnO.js → TextField-D1YUSD6j.js} +1 -1
- package/__chunks__/{Theme-CctofSlt.mjs → Theme-Bzhg0otp.mjs} +1 -1
- package/__chunks__/{Theme-Ck5K42IR.js → Theme-Cos5kTlc.js} +1 -1
- package/__chunks__/{Toggle-C1cAD3ld.js → Toggle-13H0VeGP.js} +1 -1
- package/__chunks__/{Toggle-Dm0_ZvLs.mjs → Toggle-DqKzs3Y8.mjs} +4 -4
- package/__chunks__/{Tooltip-DzWQUbuB.mjs → Tooltip-By8WH1wI.mjs} +6 -6
- package/__chunks__/{Tooltip-C9bST6SD.js → Tooltip-DP2EYuM4.js} +1 -1
- package/__chunks__/{UnstyledButton-D0_XmlIu.mjs → UnstyledButton-0yreaZnh.mjs} +1 -1
- package/__chunks__/{VisuallyHidden-Buyb8r_B.mjs → VisuallyHidden-DLuOutNi.mjs} +1 -1
- package/__chunks__/{ariaHideOutside-b0UviP2F.mjs → ariaHideOutside-DRsDXtWO.mjs} +3 -3
- package/__chunks__/{focusSafely-psnzsNzD.mjs → focusSafely-BW4_g0fd.mjs} +1 -1
- package/__chunks__/{tokens-CyXKQDx6.mjs → tokens-D4KvbbyC.mjs} +1 -0
- package/__chunks__/{tokens-MDLCVf35.js → tokens-oBdmeeGv.js} +1 -0
- package/__chunks__/{useButton-Doz4-YMS.mjs → useButton-ovH6gI84.mjs} +2 -2
- package/__chunks__/{useDialog-B6qJASRh.mjs → useDialog-zKH03v_d.mjs} +2 -2
- package/__chunks__/{useFocus-BL_s_3zv.mjs → useFocus-BJE6cxrg.mjs} +1 -1
- package/__chunks__/{useFocusRing-4hM0Ggs3.mjs → useFocusRing-Dg_M1jfs.mjs} +3 -3
- package/__chunks__/{useFocusVisible-CQ1e0o7u.mjs → useFocusVisible-DgcLCVnV.mjs} +2 -2
- package/__chunks__/{useFocusWithin-BgSjulWP.mjs → useFocusWithin-BE5KE588.mjs} +1 -1
- package/__chunks__/{useFocusable-C-Ge2Ht4.mjs → useFocusable-B5QcOTFc.mjs} +2 -2
- package/__chunks__/{useFormValidation-Crn66hAu.mjs → useFormValidation-gt5I8m2g.mjs} +1 -1
- package/__chunks__/{useHasTabbableChild-DQC24yLO.mjs → useHasTabbableChild-BBua_oUS.mjs} +1 -1
- package/__chunks__/{useHighlightSelectionDescription-BGq4guwQ.mjs → useHighlightSelectionDescription-Dl5YfxVo.mjs} +1 -1
- package/__chunks__/{useHover-BBXJy5NT.mjs → useHover-mdyQ6kou.mjs} +1 -1
- package/__chunks__/{useLink-Dmu5rS4r.mjs → useLink-Dr9Pjalq.mjs} +2 -2
- package/__chunks__/{useListBoxSection-CpQ4pADf.mjs → useListBoxSection-Bw5OEI4S.mjs} +6 -6
- package/__chunks__/{useMenuTrigger-BlLkvrnl.mjs → useMenuTrigger-C9nRdVJk.mjs} +3 -3
- package/__chunks__/{useMenuTriggerState-C-zvqrX2.mjs → useMenuTriggerState-BHenEvUl.mjs} +1 -1
- package/__chunks__/{useModalOverlay-BlCaGnUr.mjs → useModalOverlay-BLiaW3WH.mjs} +2 -2
- package/__chunks__/{useOverlayPosition-D8MX_oIt.mjs → useOverlayPosition-_GnIrSzW.mjs} +2 -2
- package/__chunks__/{useOverlayTrigger-Coc4zW72.mjs → useOverlayTrigger-BIc8jsUc.mjs} +1 -1
- package/__chunks__/{usePress-BH70cn5g.mjs → usePress-DQ3FxwWo.mjs} +2 -2
- package/__chunks__/{useSelectableItem-Xr4pjjqP.mjs → useSelectableItem-DcveeRN2.mjs} +4 -4
- package/__chunks__/{useSelectableList-D7mL6j6I.mjs → useSelectableList-C_zJw1dp.mjs} +1 -1
- package/__chunks__/{useTextField-Dn8JlzYF.mjs → useTextField-B6vr1ZoD.mjs} +3 -3
- package/__chunks__/{useToggle-BlKdU7Ta.mjs → useToggle-C7k9_K6R.mjs} +2 -2
- package/__chunks__/{utilities-BB2zmROs.mjs → utilities-U5Ql_Myz.mjs} +3 -3
- package/package.json +2 -2
- package/style.css +117 -57
- package/styles/_token-helpers.scss +4 -0
- package/__chunks__/Text-BYGcKHR7.mjs +0 -110
- package/__chunks__/Text-DZ601qf9.js +0 -109
package/style.css
CHANGED
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
}/**
|
|
78
78
|
* Do not edit directly, this file was auto-generated.
|
|
79
79
|
*/
|
|
80
|
-
.
|
|
80
|
+
._Text_hj77l_4 {
|
|
81
81
|
--ezui-c-text-color: inherit;
|
|
82
82
|
margin: 0;
|
|
83
83
|
padding: 0;
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
color: var(--ezui-c-text-color);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
.
|
|
88
|
+
._heading1_hj77l_12 {
|
|
89
89
|
font-family: Poppins, "Poppins Fallback";
|
|
90
90
|
font-weight: 500;
|
|
91
91
|
font-size: 2.875rem;
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
line-height: 3.5rem;
|
|
94
94
|
}
|
|
95
95
|
@media (min-width: 30em) {
|
|
96
|
-
.
|
|
96
|
+
._heading1_hj77l_12 {
|
|
97
97
|
font-family: Poppins, "Poppins Fallback";
|
|
98
98
|
font-weight: 500;
|
|
99
99
|
font-size: 3.625rem;
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
.
|
|
105
|
+
._heading2_hj77l_29 {
|
|
106
106
|
font-family: Poppins, "Poppins Fallback";
|
|
107
107
|
font-weight: 500;
|
|
108
108
|
font-size: 2.0625rem;
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
line-height: 2.5rem;
|
|
111
111
|
}
|
|
112
112
|
@media (min-width: 30em) {
|
|
113
|
-
.
|
|
113
|
+
._heading2_hj77l_29 {
|
|
114
114
|
font-family: Poppins, "Poppins Fallback";
|
|
115
115
|
font-weight: 500;
|
|
116
116
|
font-size: 2.875rem;
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.
|
|
122
|
+
._heading3_hj77l_46 {
|
|
123
123
|
font-family: Poppins, "Poppins Fallback";
|
|
124
124
|
font-weight: 600;
|
|
125
125
|
font-size: 1.4375rem;
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
line-height: 2rem;
|
|
128
128
|
}
|
|
129
129
|
@media (min-width: 30em) {
|
|
130
|
-
.
|
|
130
|
+
._heading3_hj77l_46 {
|
|
131
131
|
font-family: Poppins, "Poppins Fallback";
|
|
132
132
|
font-weight: 500;
|
|
133
133
|
font-size: 2.0625rem;
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.
|
|
139
|
+
._heading4_hj77l_63 {
|
|
140
140
|
font-family: Poppins, "Poppins Fallback";
|
|
141
141
|
font-weight: 600;
|
|
142
142
|
font-size: 1.4375rem;
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
line-height: 2rem;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
.
|
|
147
|
+
._heading5_hj77l_71 {
|
|
148
148
|
font-family: Poppins, "Poppins Fallback";
|
|
149
149
|
font-weight: 600;
|
|
150
150
|
font-size: 1.1875rem;
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
line-height: 1.5rem;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
.
|
|
155
|
+
._subtitle1_hj77l_79 {
|
|
156
156
|
font-family: Poppins, "Poppins Fallback";
|
|
157
157
|
font-weight: 600;
|
|
158
158
|
font-size: 0.9375rem;
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
line-height: 1.5rem;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
.
|
|
163
|
+
._subtitle2_hj77l_87 {
|
|
164
164
|
font-family: Poppins, "Poppins Fallback";
|
|
165
165
|
font-weight: 500;
|
|
166
166
|
font-size: 0.8125rem;
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
line-height: 1rem;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.
|
|
171
|
+
._body1_hj77l_95 {
|
|
172
172
|
font-family: Poppins, "Poppins Fallback";
|
|
173
173
|
font-weight: 400;
|
|
174
174
|
font-size: 0.9375rem;
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
line-height: 1.5rem;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.
|
|
179
|
+
._body2_hj77l_103 {
|
|
180
180
|
font-family: Poppins, "Poppins Fallback";
|
|
181
181
|
font-weight: 400;
|
|
182
182
|
font-size: 0.8125rem;
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
line-height: 1rem;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
.
|
|
187
|
+
._caption_hj77l_111 {
|
|
188
188
|
font-family: Poppins, "Poppins Fallback";
|
|
189
189
|
font-weight: 300;
|
|
190
190
|
font-size: 0.75rem;
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
line-height: 1rem;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
.
|
|
195
|
+
._caption2_hj77l_119 {
|
|
196
196
|
font-family: Poppins, "Poppins Fallback";
|
|
197
197
|
font-weight: 300;
|
|
198
198
|
font-size: 0.6875rem;
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
line-height: 1rem;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
.
|
|
203
|
+
._caption3_hj77l_127 {
|
|
204
204
|
font-family: Poppins, "Poppins Fallback";
|
|
205
205
|
font-weight: 300;
|
|
206
206
|
font-size: 0.5625rem;
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
line-height: 1rem;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
|
-
.
|
|
211
|
+
._overline_hj77l_135 {
|
|
212
212
|
font-family: Poppins, "Poppins Fallback";
|
|
213
213
|
font-weight: 400;
|
|
214
214
|
font-size: 0.75rem;
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
line-height: 1rem;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
.
|
|
219
|
+
._overline2_hj77l_143 {
|
|
220
220
|
font-family: Poppins, "Poppins Fallback";
|
|
221
221
|
font-weight: 400;
|
|
222
222
|
font-size: 0.625rem;
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
line-height: 1rem;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
.
|
|
227
|
+
._button_hj77l_151 {
|
|
228
228
|
font-family: Poppins, "Poppins Fallback";
|
|
229
229
|
font-weight: 500;
|
|
230
230
|
font-size: 0.9375rem;
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
line-height: 1.5rem;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
._small-
|
|
235
|
+
._small-button_hj77l_159 {
|
|
236
236
|
font-family: Poppins, "Poppins Fallback";
|
|
237
237
|
font-weight: 500;
|
|
238
238
|
font-size: 0.75rem;
|
|
@@ -240,33 +240,33 @@
|
|
|
240
240
|
line-height: 1rem;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
.
|
|
243
|
+
._normal_hj77l_167 {
|
|
244
244
|
font-weight: var(--ezui-font-weight-normal);
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
.
|
|
247
|
+
._medium_hj77l_171 {
|
|
248
248
|
font-weight: var(--ezui-font-weight-medium);
|
|
249
249
|
}
|
|
250
250
|
|
|
251
|
-
.
|
|
251
|
+
._semibold_hj77l_175 {
|
|
252
252
|
font-weight: var(--ezui-font-weight-semibold);
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
.
|
|
255
|
+
._bold_hj77l_179 {
|
|
256
256
|
font-weight: var(--ezui-font-weight-bold);
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
.
|
|
259
|
+
._truncate_hj77l_183 {
|
|
260
260
|
overflow: hidden;
|
|
261
261
|
white-space: nowrap;
|
|
262
262
|
text-overflow: ellipsis;
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
.
|
|
265
|
+
._block_hj77l_189 {
|
|
266
266
|
display: block;
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
.
|
|
269
|
+
._visuallyHidden_hj77l_193 {
|
|
270
270
|
position: absolute !important;
|
|
271
271
|
top: 0;
|
|
272
272
|
width: 1px !important;
|
|
@@ -279,68 +279,76 @@
|
|
|
279
279
|
white-space: nowrap !important;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
.
|
|
282
|
+
._start_hj77l_206 {
|
|
283
283
|
text-align: start;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
.
|
|
286
|
+
._center_hj77l_210 {
|
|
287
287
|
text-align: center;
|
|
288
288
|
}
|
|
289
289
|
|
|
290
|
-
.
|
|
290
|
+
._end_hj77l_214 {
|
|
291
291
|
text-align: end;
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
-
.
|
|
294
|
+
._justify_hj77l_218 {
|
|
295
295
|
text-align: justify;
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
-
.
|
|
298
|
+
._break_hj77l_222 {
|
|
299
299
|
overflow-wrap: break-word;
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
.
|
|
302
|
+
._numeric_hj77l_226 {
|
|
303
303
|
font-variant-numeric: tabular-nums lining-nums;
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
.
|
|
306
|
+
._transformNone_hj77l_230 {
|
|
307
307
|
text-transform: none;
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
.
|
|
310
|
+
._transformCapitalize_hj77l_234 {
|
|
311
311
|
text-transform: capitalize;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
.
|
|
314
|
+
._transformUppercase_hj77l_238 {
|
|
315
315
|
text-transform: uppercase;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
.
|
|
318
|
+
._transformLowercase_hj77l_242 {
|
|
319
319
|
text-transform: lowercase;
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
-
.
|
|
322
|
+
._whiteSpaceNormal_hj77l_246 {
|
|
323
323
|
white-space: normal;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
.
|
|
326
|
+
._whiteSpacePre_hj77l_250 {
|
|
327
327
|
white-space: pre;
|
|
328
328
|
}
|
|
329
329
|
|
|
330
|
-
.
|
|
330
|
+
._whiteSpaceNowrap_hj77l_254 {
|
|
331
331
|
white-space: nowrap;
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
-
._whiteSpacePre-
|
|
334
|
+
._whiteSpacePre-wrap_hj77l_258 {
|
|
335
335
|
white-space: pre-wrap;
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
._whiteSpaceBreak-
|
|
338
|
+
._whiteSpaceBreak-spaces_hj77l_262 {
|
|
339
339
|
white-space: break-spaces;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
-
._whiteSpacePre-
|
|
342
|
+
._whiteSpacePre-line_hj77l_266 {
|
|
343
343
|
white-space: pre-line;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
._fontVariantNumericNormal_hj77l_270 {
|
|
347
|
+
font-variant-numeric: normal;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
._fontVariantNumericTabular-nums_hj77l_274 {
|
|
351
|
+
font-variant-numeric: tabular-nums;
|
|
344
352
|
}/**
|
|
345
353
|
* Do not edit directly, this file was auto-generated.
|
|
346
354
|
*/
|
|
@@ -2811,6 +2819,7 @@ button._container_31824_4:not([disabled]) {
|
|
|
2811
2819
|
--ezui-space-0-25: 0.125rem;
|
|
2812
2820
|
--ezui-space-0-5: 0.25rem;
|
|
2813
2821
|
--ezui-space-1-5: 0.75rem;
|
|
2822
|
+
--ezui-space-3-5: 1.75rem;
|
|
2814
2823
|
--ezui-space-4-5: 2.25rem;
|
|
2815
2824
|
--ezui-theme-light-color-primary-900: #000824;
|
|
2816
2825
|
--ezui-theme-light-color-primary-800: #061340;
|
|
@@ -3770,6 +3779,47 @@ textarea {
|
|
|
3770
3779
|
}/**
|
|
3771
3780
|
* Do not edit directly, this file was auto-generated.
|
|
3772
3781
|
*/
|
|
3782
|
+
._link_11zdn_4 {
|
|
3783
|
+
text-decoration: none;
|
|
3784
|
+
}
|
|
3785
|
+
|
|
3786
|
+
._button_11zdn_8 {
|
|
3787
|
+
appearance: none;
|
|
3788
|
+
margin: 0;
|
|
3789
|
+
padding: 0;
|
|
3790
|
+
background: none;
|
|
3791
|
+
border: 0;
|
|
3792
|
+
font-size: inherit;
|
|
3793
|
+
line-height: inherit;
|
|
3794
|
+
color: inherit;
|
|
3795
|
+
}
|
|
3796
|
+
|
|
3797
|
+
._link_11zdn_4,
|
|
3798
|
+
._button_11zdn_8 {
|
|
3799
|
+
cursor: pointer;
|
|
3800
|
+
border-radius: var(--ezui-shape-border-radius-lg);
|
|
3801
|
+
}
|
|
3802
|
+
|
|
3803
|
+
._callout_11zdn_25 {
|
|
3804
|
+
display: flex;
|
|
3805
|
+
flex-direction: column;
|
|
3806
|
+
min-height: var(--ezui-space-3-5);
|
|
3807
|
+
}
|
|
3808
|
+
|
|
3809
|
+
._illustration_11zdn_31 {
|
|
3810
|
+
flex: 1;
|
|
3811
|
+
display: flex;
|
|
3812
|
+
flex-direction: column;
|
|
3813
|
+
justify-content: flex-end;
|
|
3814
|
+
margin-bottom: invert(var(--ezui-space-2));
|
|
3815
|
+
}
|
|
3816
|
+
._illustration_11zdn_31 svg,
|
|
3817
|
+
._illustration_11zdn_31 img {
|
|
3818
|
+
display: block;
|
|
3819
|
+
width: 100%;
|
|
3820
|
+
}/**
|
|
3821
|
+
* Do not edit directly, this file was auto-generated.
|
|
3822
|
+
*/
|
|
3773
3823
|
._IconButton_16fh0_4 {
|
|
3774
3824
|
display: inline-flex;
|
|
3775
3825
|
align-items: center;
|
|
@@ -4084,7 +4134,7 @@ textarea {
|
|
|
4084
4134
|
}/**
|
|
4085
4135
|
* Do not edit directly, this file was auto-generated.
|
|
4086
4136
|
*/
|
|
4087
|
-
.
|
|
4137
|
+
._root_kb4na_4 {
|
|
4088
4138
|
font-family: Poppins, "Poppins Fallback";
|
|
4089
4139
|
font-weight: 500;
|
|
4090
4140
|
font-size: 0.75rem;
|
|
@@ -4095,77 +4145,87 @@ textarea {
|
|
|
4095
4145
|
overflow: hidden;
|
|
4096
4146
|
}
|
|
4097
4147
|
|
|
4098
|
-
.
|
|
4099
|
-
|
|
4148
|
+
._block_kb4na_15 {
|
|
4149
|
+
display: flex;
|
|
4150
|
+
}
|
|
4151
|
+
|
|
4152
|
+
._primary_kb4na_19,
|
|
4153
|
+
._secondary_kb4na_20 {
|
|
4100
4154
|
display: inline-flex;
|
|
4101
4155
|
padding: var(--ezui-space-0-5);
|
|
4102
4156
|
}
|
|
4103
4157
|
|
|
4104
|
-
.
|
|
4158
|
+
._primary_kb4na_19 {
|
|
4105
4159
|
background: var(--ezui-c-badge-primary-color-background);
|
|
4106
4160
|
color: var(--ezui-c-badge-primary-color-text);
|
|
4107
4161
|
}
|
|
4108
4162
|
|
|
4109
|
-
.
|
|
4163
|
+
._secondary_kb4na_20 {
|
|
4110
4164
|
background: var(--ezui-c-badge-secondary-color-background);
|
|
4111
4165
|
color: var(--ezui-c-badge-secondary-color-text);
|
|
4112
4166
|
}
|
|
4113
4167
|
|
|
4114
|
-
.
|
|
4168
|
+
._block_kb4na_15:not(._hasSecondary_kb4na_35) ._primary_kb4na_19,
|
|
4169
|
+
._block_kb4na_15._hasSecondary_kb4na_35 ._secondary_kb4na_20 {
|
|
4170
|
+
flex: 1;
|
|
4171
|
+
justify-content: center;
|
|
4172
|
+
}
|
|
4173
|
+
|
|
4174
|
+
._text_kb4na_41 {
|
|
4115
4175
|
display: inline-flex;
|
|
4116
4176
|
padding: var(--ezui-space-0-25) var(--ezui-space-0-5);
|
|
4117
4177
|
}
|
|
4118
4178
|
|
|
4119
|
-
.
|
|
4179
|
+
._variantPrimary_kb4na_46 {
|
|
4120
4180
|
--ezui-c-badge-primary-color-background: var(--ezui-color-primary-600);
|
|
4121
4181
|
--ezui-c-badge-primary-color-text: var(--ezui-color-neutral-000);
|
|
4122
4182
|
--ezui-c-badge-secondary-color-background: var(--ezui-color-primary-100);
|
|
4123
4183
|
--ezui-c-badge-secondary-color-text: var(--ezui-color-primary-800);
|
|
4124
4184
|
}
|
|
4125
4185
|
|
|
4126
|
-
.
|
|
4186
|
+
._variantSecondary_kb4na_53 {
|
|
4127
4187
|
--ezui-c-badge-primary-color-background: var(--ezui-color-secondary-600);
|
|
4128
4188
|
--ezui-c-badge-primary-color-text: var(--ezui-color-neutral-000);
|
|
4129
4189
|
--ezui-c-badge-secondary-color-background: var(--ezui-color-secondary-100);
|
|
4130
4190
|
--ezui-c-badge-secondary-color-text: var(--ezui-color-primary-800);
|
|
4131
4191
|
}
|
|
4132
4192
|
|
|
4133
|
-
.
|
|
4193
|
+
._variantBlack_kb4na_60 {
|
|
4134
4194
|
--ezui-c-badge-primary-color-background: var(--ezui-color-neutral-800);
|
|
4135
4195
|
--ezui-c-badge-primary-color-text: var(--ezui-color-neutral-000);
|
|
4136
4196
|
--ezui-c-badge-secondary-color-background: var(--ezui-color-neutral-050);
|
|
4137
4197
|
--ezui-c-badge-secondary-color-text: var(--ezui-color-primary-800);
|
|
4138
4198
|
}
|
|
4139
4199
|
|
|
4140
|
-
.
|
|
4200
|
+
._variantInverse_kb4na_67 {
|
|
4141
4201
|
--ezui-c-badge-primary-color-background: var(--ezui-color-neutral-100);
|
|
4142
4202
|
--ezui-c-badge-primary-color-text: var(--ezui-color-neutral-900);
|
|
4143
4203
|
--ezui-c-badge-secondary-color-background: var(--ezui-color-neutral-050);
|
|
4144
4204
|
--ezui-c-badge-secondary-color-text: var(--ezui-color-primary-800);
|
|
4145
4205
|
}
|
|
4146
4206
|
|
|
4147
|
-
.
|
|
4207
|
+
._variantGray_kb4na_74 {
|
|
4148
4208
|
--ezui-c-badge-primary-color-background: var(--ezui-color-neutral-600);
|
|
4149
4209
|
--ezui-c-badge-primary-color-text: var(--ezui-color-neutral-000);
|
|
4150
4210
|
--ezui-c-badge-secondary-color-background: var(--ezui-color-neutral-050);
|
|
4151
4211
|
--ezui-c-badge-secondary-color-text: var(--ezui-color-primary-800);
|
|
4152
4212
|
}
|
|
4153
4213
|
|
|
4154
|
-
.
|
|
4214
|
+
._variantSuccess_kb4na_81 {
|
|
4155
4215
|
--ezui-c-badge-primary-color-background: var(--ezui-color-positive-600);
|
|
4156
4216
|
--ezui-c-badge-primary-color-text: var(--ezui-color-neutral-000);
|
|
4157
4217
|
--ezui-c-badge-secondary-color-background: var(--ezui-color-positive-100);
|
|
4158
4218
|
--ezui-c-badge-secondary-color-text: var(--ezui-color-primary-800);
|
|
4159
4219
|
}
|
|
4160
4220
|
|
|
4161
|
-
.
|
|
4221
|
+
._variantWarning_kb4na_88 {
|
|
4162
4222
|
--ezui-c-badge-primary-color-background: var(--ezui-color-warning-500);
|
|
4163
4223
|
--ezui-c-badge-primary-color-text: var(--ezui-color-neutral-900);
|
|
4164
4224
|
--ezui-c-badge-secondary-color-background: var(--ezui-color-warning-300);
|
|
4165
4225
|
--ezui-c-badge-secondary-color-text: var(--ezui-color-primary-800);
|
|
4166
4226
|
}
|
|
4167
4227
|
|
|
4168
|
-
.
|
|
4228
|
+
._variantDanger_kb4na_95 {
|
|
4169
4229
|
--ezui-c-badge-primary-color-background: var(--ezui-color-negative-600);
|
|
4170
4230
|
--ezui-c-badge-primary-color-text: var(--ezui-color-neutral-000);
|
|
4171
4231
|
--ezui-c-badge-secondary-color-background: var(--ezui-color-negative-100);
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
-
var __spreadValues = (a, b) => {
|
|
7
|
-
for (var prop in b || (b = {}))
|
|
8
|
-
if (__hasOwnProp.call(b, prop))
|
|
9
|
-
__defNormalProp(a, prop, b[prop]);
|
|
10
|
-
if (__getOwnPropSymbols)
|
|
11
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
-
if (__propIsEnum.call(b, prop))
|
|
13
|
-
__defNormalProp(a, prop, b[prop]);
|
|
14
|
-
}
|
|
15
|
-
return a;
|
|
16
|
-
};
|
|
17
|
-
import React__default from "react";
|
|
18
|
-
import { classNames, variationName, getComponentThemeToken, backwardsCompatibleColorToken } from "../utilities/css.mjs";
|
|
19
|
-
const Text$1 = "_Text_plajv_4";
|
|
20
|
-
const heading1 = "_heading1_plajv_12";
|
|
21
|
-
const heading2 = "_heading2_plajv_29";
|
|
22
|
-
const heading3 = "_heading3_plajv_46";
|
|
23
|
-
const heading4 = "_heading4_plajv_63";
|
|
24
|
-
const heading5 = "_heading5_plajv_71";
|
|
25
|
-
const subtitle1 = "_subtitle1_plajv_79";
|
|
26
|
-
const subtitle2 = "_subtitle2_plajv_87";
|
|
27
|
-
const body1 = "_body1_plajv_95";
|
|
28
|
-
const body2 = "_body2_plajv_103";
|
|
29
|
-
const caption = "_caption_plajv_111";
|
|
30
|
-
const caption2 = "_caption2_plajv_119";
|
|
31
|
-
const caption3 = "_caption3_plajv_127";
|
|
32
|
-
const overline = "_overline_plajv_135";
|
|
33
|
-
const overline2 = "_overline2_plajv_143";
|
|
34
|
-
const button = "_button_plajv_151";
|
|
35
|
-
const normal = "_normal_plajv_167";
|
|
36
|
-
const medium = "_medium_plajv_171";
|
|
37
|
-
const semibold = "_semibold_plajv_175";
|
|
38
|
-
const bold = "_bold_plajv_179";
|
|
39
|
-
const truncate = "_truncate_plajv_183";
|
|
40
|
-
const block = "_block_plajv_189";
|
|
41
|
-
const visuallyHidden = "_visuallyHidden_plajv_193";
|
|
42
|
-
const start = "_start_plajv_206";
|
|
43
|
-
const center = "_center_plajv_210";
|
|
44
|
-
const end = "_end_plajv_214";
|
|
45
|
-
const justify = "_justify_plajv_218";
|
|
46
|
-
const numeric = "_numeric_plajv_226";
|
|
47
|
-
const transformNone = "_transformNone_plajv_230";
|
|
48
|
-
const transformCapitalize = "_transformCapitalize_plajv_234";
|
|
49
|
-
const transformUppercase = "_transformUppercase_plajv_238";
|
|
50
|
-
const transformLowercase = "_transformLowercase_plajv_242";
|
|
51
|
-
const whiteSpaceNormal = "_whiteSpaceNormal_plajv_246";
|
|
52
|
-
const whiteSpacePre = "_whiteSpacePre_plajv_250";
|
|
53
|
-
const whiteSpaceNowrap = "_whiteSpaceNowrap_plajv_254";
|
|
54
|
-
const styles = {
|
|
55
|
-
Text: Text$1,
|
|
56
|
-
heading1,
|
|
57
|
-
heading2,
|
|
58
|
-
heading3,
|
|
59
|
-
heading4,
|
|
60
|
-
heading5,
|
|
61
|
-
subtitle1,
|
|
62
|
-
subtitle2,
|
|
63
|
-
body1,
|
|
64
|
-
body2,
|
|
65
|
-
caption,
|
|
66
|
-
caption2,
|
|
67
|
-
caption3,
|
|
68
|
-
overline,
|
|
69
|
-
overline2,
|
|
70
|
-
button,
|
|
71
|
-
"small-button": "_small-button_plajv_159",
|
|
72
|
-
normal,
|
|
73
|
-
medium,
|
|
74
|
-
semibold,
|
|
75
|
-
bold,
|
|
76
|
-
truncate,
|
|
77
|
-
block,
|
|
78
|
-
visuallyHidden,
|
|
79
|
-
start,
|
|
80
|
-
center,
|
|
81
|
-
end,
|
|
82
|
-
justify,
|
|
83
|
-
"break": "_break_plajv_222",
|
|
84
|
-
numeric,
|
|
85
|
-
transformNone,
|
|
86
|
-
transformCapitalize,
|
|
87
|
-
transformUppercase,
|
|
88
|
-
transformLowercase,
|
|
89
|
-
whiteSpaceNormal,
|
|
90
|
-
whiteSpacePre,
|
|
91
|
-
whiteSpaceNowrap,
|
|
92
|
-
"whiteSpacePre-wrap": "_whiteSpacePre-wrap_plajv_258",
|
|
93
|
-
"whiteSpaceBreak-spaces": "_whiteSpaceBreak-spaces_plajv_262",
|
|
94
|
-
"whiteSpacePre-line": "_whiteSpacePre-line_plajv_266"
|
|
95
|
-
};
|
|
96
|
-
function Text({ alignment, as: Component = "span", breakWord = false, children, color, id, transform = "none", truncate: truncate2 = false, variant, visuallyHidden: visuallyHidden2 = false, weight, whiteSpace }) {
|
|
97
|
-
const className = classNames(styles.Text, variant && styles[cleanVariant(variant)], weight && styles[weight], (alignment || truncate2) && styles.block, alignment && styles[alignment], breakWord && styles.break, truncate2 && styles.truncate, visuallyHidden2 && styles.visuallyHidden, transform && styles[variationName("transform", transform)], whiteSpace && styles[variationName("whiteSpace", whiteSpace)]);
|
|
98
|
-
const style = __spreadValues({}, getComponentThemeToken("text", "color", "color", backwardsCompatibleColorToken(color)));
|
|
99
|
-
return React__default.createElement(Component, {
|
|
100
|
-
className,
|
|
101
|
-
style,
|
|
102
|
-
id: id ? id : void 0
|
|
103
|
-
}, children);
|
|
104
|
-
}
|
|
105
|
-
function cleanVariant(variant) {
|
|
106
|
-
return variant.replace(/_/, "-");
|
|
107
|
-
}
|
|
108
|
-
export {
|
|
109
|
-
Text as T
|
|
110
|
-
};
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
6
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7
|
-
var __spreadValues = (a, b) => {
|
|
8
|
-
for (var prop in b || (b = {}))
|
|
9
|
-
if (__hasOwnProp.call(b, prop))
|
|
10
|
-
__defNormalProp(a, prop, b[prop]);
|
|
11
|
-
if (__getOwnPropSymbols)
|
|
12
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
13
|
-
if (__propIsEnum.call(b, prop))
|
|
14
|
-
__defNormalProp(a, prop, b[prop]);
|
|
15
|
-
}
|
|
16
|
-
return a;
|
|
17
|
-
};
|
|
18
|
-
const React = require("react");
|
|
19
|
-
const utilities_css = require("../utilities/css.js");
|
|
20
|
-
const Text$1 = "_Text_plajv_4";
|
|
21
|
-
const heading1 = "_heading1_plajv_12";
|
|
22
|
-
const heading2 = "_heading2_plajv_29";
|
|
23
|
-
const heading3 = "_heading3_plajv_46";
|
|
24
|
-
const heading4 = "_heading4_plajv_63";
|
|
25
|
-
const heading5 = "_heading5_plajv_71";
|
|
26
|
-
const subtitle1 = "_subtitle1_plajv_79";
|
|
27
|
-
const subtitle2 = "_subtitle2_plajv_87";
|
|
28
|
-
const body1 = "_body1_plajv_95";
|
|
29
|
-
const body2 = "_body2_plajv_103";
|
|
30
|
-
const caption = "_caption_plajv_111";
|
|
31
|
-
const caption2 = "_caption2_plajv_119";
|
|
32
|
-
const caption3 = "_caption3_plajv_127";
|
|
33
|
-
const overline = "_overline_plajv_135";
|
|
34
|
-
const overline2 = "_overline2_plajv_143";
|
|
35
|
-
const button = "_button_plajv_151";
|
|
36
|
-
const normal = "_normal_plajv_167";
|
|
37
|
-
const medium = "_medium_plajv_171";
|
|
38
|
-
const semibold = "_semibold_plajv_175";
|
|
39
|
-
const bold = "_bold_plajv_179";
|
|
40
|
-
const truncate = "_truncate_plajv_183";
|
|
41
|
-
const block = "_block_plajv_189";
|
|
42
|
-
const visuallyHidden = "_visuallyHidden_plajv_193";
|
|
43
|
-
const start = "_start_plajv_206";
|
|
44
|
-
const center = "_center_plajv_210";
|
|
45
|
-
const end = "_end_plajv_214";
|
|
46
|
-
const justify = "_justify_plajv_218";
|
|
47
|
-
const numeric = "_numeric_plajv_226";
|
|
48
|
-
const transformNone = "_transformNone_plajv_230";
|
|
49
|
-
const transformCapitalize = "_transformCapitalize_plajv_234";
|
|
50
|
-
const transformUppercase = "_transformUppercase_plajv_238";
|
|
51
|
-
const transformLowercase = "_transformLowercase_plajv_242";
|
|
52
|
-
const whiteSpaceNormal = "_whiteSpaceNormal_plajv_246";
|
|
53
|
-
const whiteSpacePre = "_whiteSpacePre_plajv_250";
|
|
54
|
-
const whiteSpaceNowrap = "_whiteSpaceNowrap_plajv_254";
|
|
55
|
-
const styles = {
|
|
56
|
-
Text: Text$1,
|
|
57
|
-
heading1,
|
|
58
|
-
heading2,
|
|
59
|
-
heading3,
|
|
60
|
-
heading4,
|
|
61
|
-
heading5,
|
|
62
|
-
subtitle1,
|
|
63
|
-
subtitle2,
|
|
64
|
-
body1,
|
|
65
|
-
body2,
|
|
66
|
-
caption,
|
|
67
|
-
caption2,
|
|
68
|
-
caption3,
|
|
69
|
-
overline,
|
|
70
|
-
overline2,
|
|
71
|
-
button,
|
|
72
|
-
"small-button": "_small-button_plajv_159",
|
|
73
|
-
normal,
|
|
74
|
-
medium,
|
|
75
|
-
semibold,
|
|
76
|
-
bold,
|
|
77
|
-
truncate,
|
|
78
|
-
block,
|
|
79
|
-
visuallyHidden,
|
|
80
|
-
start,
|
|
81
|
-
center,
|
|
82
|
-
end,
|
|
83
|
-
justify,
|
|
84
|
-
"break": "_break_plajv_222",
|
|
85
|
-
numeric,
|
|
86
|
-
transformNone,
|
|
87
|
-
transformCapitalize,
|
|
88
|
-
transformUppercase,
|
|
89
|
-
transformLowercase,
|
|
90
|
-
whiteSpaceNormal,
|
|
91
|
-
whiteSpacePre,
|
|
92
|
-
whiteSpaceNowrap,
|
|
93
|
-
"whiteSpacePre-wrap": "_whiteSpacePre-wrap_plajv_258",
|
|
94
|
-
"whiteSpaceBreak-spaces": "_whiteSpaceBreak-spaces_plajv_262",
|
|
95
|
-
"whiteSpacePre-line": "_whiteSpacePre-line_plajv_266"
|
|
96
|
-
};
|
|
97
|
-
function Text({ alignment, as: Component = "span", breakWord = false, children, color, id, transform = "none", truncate: truncate2 = false, variant, visuallyHidden: visuallyHidden2 = false, weight, whiteSpace }) {
|
|
98
|
-
const className = utilities_css.classNames(styles.Text, variant && styles[cleanVariant(variant)], weight && styles[weight], (alignment || truncate2) && styles.block, alignment && styles[alignment], breakWord && styles.break, truncate2 && styles.truncate, visuallyHidden2 && styles.visuallyHidden, transform && styles[utilities_css.variationName("transform", transform)], whiteSpace && styles[utilities_css.variationName("whiteSpace", whiteSpace)]);
|
|
99
|
-
const style = __spreadValues({}, utilities_css.getComponentThemeToken("text", "color", "color", utilities_css.backwardsCompatibleColorToken(color)));
|
|
100
|
-
return React.createElement(Component, {
|
|
101
|
-
className,
|
|
102
|
-
style,
|
|
103
|
-
id: id ? id : void 0
|
|
104
|
-
}, children);
|
|
105
|
-
}
|
|
106
|
-
function cleanVariant(variant) {
|
|
107
|
-
return variant.replace(/_/, "-");
|
|
108
|
-
}
|
|
109
|
-
exports.Text = Text;
|