@easypost/easy-ui 1.0.0-alpha.86 → 1.0.0-alpha.88

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.
Files changed (137) hide show
  1. package/Badge/index.js +1 -1
  2. package/Badge/index.mjs +1 -1
  3. package/Banner/index.js +1 -1
  4. package/Banner/index.mjs +1 -1
  5. package/CHANGELOG.md +13 -0
  6. package/Calendar/index.js +1 -1
  7. package/Calendar/index.mjs +1 -1
  8. package/CheckableCard/index.js +2 -2
  9. package/CheckableCard/index.mjs +2 -2
  10. package/Checkbox/index.js +1 -1
  11. package/Checkbox/index.mjs +1 -1
  12. package/CodeBlock/index.js +3 -3
  13. package/CodeBlock/index.mjs +3 -3
  14. package/DataGrid/index.js +5 -5
  15. package/DataGrid/index.mjs +5 -5
  16. package/DatePicker/index.js +3 -3
  17. package/DatePicker/index.mjs +3 -3
  18. package/DateRangePicker/index.js +3 -3
  19. package/DateRangePicker/index.mjs +3 -3
  20. package/Drawer/index.js +1 -1
  21. package/Drawer/index.mjs +1 -1
  22. package/EmptyStateCard/index.js +1 -1
  23. package/EmptyStateCard/index.mjs +1 -1
  24. package/FocusedProductLayout/index.js +2 -2
  25. package/FocusedProductLayout/index.mjs +2 -2
  26. package/ForgeLayout/index.js +4 -4
  27. package/ForgeLayout/index.mjs +4 -4
  28. package/FormLayout/index.js +1 -1
  29. package/FormLayout/index.mjs +1 -1
  30. package/HostedUILayout/index.js +2 -2
  31. package/HostedUILayout/index.mjs +2 -2
  32. package/IconButton/index.js +1 -1
  33. package/IconButton/index.mjs +1 -1
  34. package/InputField/index.js +1 -1
  35. package/InputField/index.mjs +1 -1
  36. package/KebabButton/index.js +1 -1
  37. package/KebabButton/index.mjs +1 -1
  38. package/Menu/index.js +1 -1
  39. package/Menu/index.mjs +1 -1
  40. package/Modal/index.js +1 -1
  41. package/Modal/index.mjs +1 -1
  42. package/MultiSelect/index.js +3 -3
  43. package/MultiSelect/index.mjs +4 -4
  44. package/MultipageSection/index.js +1 -1
  45. package/MultipageSection/index.mjs +1 -1
  46. package/NexusLayout/index.js +2 -2
  47. package/NexusLayout/index.mjs +2 -2
  48. package/Notification/index.js +1 -1
  49. package/Notification/index.mjs +1 -1
  50. package/Pagination/index.js +2 -2
  51. package/Pagination/index.mjs +2 -2
  52. package/PillGroup/index.js +1 -1
  53. package/PillGroup/index.mjs +1 -1
  54. package/PlanCard/index.js +1 -1
  55. package/PlanCard/index.mjs +1 -1
  56. package/ProductLayout/index.js +2 -2
  57. package/ProductLayout/index.mjs +2 -2
  58. package/Provider/index.js +1 -1
  59. package/Provider/index.mjs +1 -1
  60. package/RadioButtonGroup/index.js +1 -1
  61. package/RadioButtonGroup/index.mjs +1 -1
  62. package/RadioGroup/index.js +1 -1
  63. package/RadioGroup/index.mjs +1 -1
  64. package/RangeCalendar/index.js +1 -1
  65. package/RangeCalendar/index.mjs +1 -1
  66. package/SearchNav/index.js +3 -3
  67. package/SearchNav/index.mjs +3 -3
  68. package/SectionCard/index.js +1 -1
  69. package/SectionCard/index.mjs +1 -1
  70. package/Select/index.js +3 -3
  71. package/Select/index.mjs +3 -3
  72. package/SelectorErrorTooltip/index.js +1 -1
  73. package/SelectorErrorTooltip/index.mjs +1 -1
  74. package/Spinner/index.js +1 -1
  75. package/Spinner/index.mjs +1 -1
  76. package/SplitToggleCard/index.js +1 -1
  77. package/SplitToggleCard/index.mjs +1 -1
  78. package/Text/Text.d.ts +4 -1
  79. package/Text/Text.d.ts.map +1 -1
  80. package/Text/Text.stories.d.ts +1 -0
  81. package/Text/Text.stories.d.ts.map +1 -1
  82. package/Text/index.js +1 -1
  83. package/Text/index.mjs +1 -1
  84. package/TextField/index.js +1 -1
  85. package/TextField/index.mjs +1 -1
  86. package/Textarea/index.js +1 -1
  87. package/Textarea/index.mjs +1 -1
  88. package/Toggle/index.js +1 -1
  89. package/Toggle/index.mjs +1 -1
  90. package/Tooltip/index.js +1 -1
  91. package/Tooltip/index.mjs +1 -1
  92. package/VerticalNav/index.js +1 -1
  93. package/VerticalNav/index.mjs +1 -1
  94. package/__chunks__/{Calendar-joo_8vqm.js → Calendar-B5vygFsi.js} +1 -1
  95. package/__chunks__/{Calendar-B8v6TkXp.mjs → Calendar-gsUZ4Ouw.mjs} +1 -1
  96. package/__chunks__/{CalendarBase-adL7KcVi.mjs → CalendarBase-DdQhuGNt.mjs} +1 -1
  97. package/__chunks__/{CalendarBase-B1T_Rybe.js → CalendarBase-uhGc8AVV.js} +1 -1
  98. package/__chunks__/{Checkbox-DwkJKuPC.js → Checkbox-DRiYZLsh.js} +2 -2
  99. package/__chunks__/{Checkbox-DJAFG_mm.mjs → Checkbox-qpqqY9LH.mjs} +2 -2
  100. package/__chunks__/{DatePickerBase-DRR0aOm4.js → DatePickerBase-CNWUovPI.js} +2 -2
  101. package/__chunks__/{DatePickerBase-Bg4YQMAj.mjs → DatePickerBase-ybPQnjX-.mjs} +2 -2
  102. package/__chunks__/{HelpMenu-LZ_ky28u.js → HelpMenu-B2V5jMQp.js} +2 -2
  103. package/__chunks__/{HelpMenu-DHNd3X_S.mjs → HelpMenu-wJ8eKahi.mjs} +2 -2
  104. package/__chunks__/{InputCaption-G9D1cPnP.js → InputCaption-DXmr8j5G.js} +1 -1
  105. package/__chunks__/{InputCaption-aU5qZQlo.mjs → InputCaption-DcmpIrex.mjs} +1 -1
  106. package/__chunks__/{InputField-CH28zjUK.js → InputField-Bs95nClb.js} +2 -2
  107. package/__chunks__/{InputField-D4Arfzdz.mjs → InputField-CVYymiyI.mjs} +2 -2
  108. package/__chunks__/{KebabButton-BF8hfPrB.js → KebabButton-C1m6nOIu.js} +1 -1
  109. package/__chunks__/{KebabButton-D5KhH0qQ.mjs → KebabButton-DBFzY1Rq.mjs} +1 -1
  110. package/__chunks__/{Menu-CfHK_0Sr.mjs → Menu-O33j8u7r.mjs} +2 -2
  111. package/__chunks__/{Menu-CivAepFq.js → Menu-y5owPz-O.js} +2 -2
  112. package/__chunks__/{Notification-D7ceWiZq.js → Notification-CLnVLOaw.js} +1 -1
  113. package/__chunks__/{Notification-CRi-0D3f.mjs → Notification-DbzTJzSE.mjs} +1 -1
  114. package/__chunks__/{PillGroup-BWNzHd3P.js → PillGroup-D5gTBzKy.js} +1 -1
  115. package/__chunks__/{PillGroup-D0TUV_Qh.mjs → PillGroup-QTB5sJER.mjs} +1 -1
  116. package/__chunks__/{RadioGroup-yg8Gtbol.js → RadioGroup-CPapXJZH.js} +2 -2
  117. package/__chunks__/{RadioGroup-B5o5aPT-.mjs → RadioGroup-R6mEgxdk.mjs} +2 -2
  118. package/__chunks__/{RangeCalendar-CNLF6YQu.mjs → RangeCalendar-Ce46gNnr.mjs} +1 -1
  119. package/__chunks__/{RangeCalendar-BgB6xU9q.js → RangeCalendar-DPThKM4W.js} +1 -1
  120. package/__chunks__/{SelectOverlay-BaATkSsw.js → SelectOverlay-CwRhbg9F.js} +1 -1
  121. package/__chunks__/{SelectOverlay-DkEL-0O_.mjs → SelectOverlay-DT4LOSDh.mjs} +1 -1
  122. package/__chunks__/{SelectorErrorTooltip-b5pE6hY-.js → SelectorErrorTooltip-BT5gU6Pn.js} +2 -2
  123. package/__chunks__/{SelectorErrorTooltip-BPLk3N_Q.mjs → SelectorErrorTooltip-DlXOZjmQ.mjs} +2 -2
  124. package/__chunks__/{Spinner-CNAJknx9.mjs → Spinner-CVdzIrmm.mjs} +1 -1
  125. package/__chunks__/{Spinner-CipzStjn.js → Spinner-Cyc2JsYB.js} +1 -1
  126. package/__chunks__/Text-BWjD7__Y.mjs +123 -0
  127. package/__chunks__/Text-BXsuDbqc.js +122 -0
  128. package/__chunks__/{TextField-C6qMiNmy.js → TextField-BPZ6niGw.js} +1 -1
  129. package/__chunks__/{TextField-CUOz6ZUe.mjs → TextField-BVpSTQw-.mjs} +1 -1
  130. package/__chunks__/{Toggle-BQqjvn6Z.mjs → Toggle-Cr_Myw_x.mjs} +1 -1
  131. package/__chunks__/{Toggle-CTUk7LSy.js → Toggle-O9F7R6RR.js} +1 -1
  132. package/__chunks__/{Tooltip-BIfmWjfP.js → Tooltip-CNKZl6De.js} +1 -1
  133. package/__chunks__/{Tooltip-BcHfMDtC.mjs → Tooltip-DMBtRdkk.mjs} +1 -1
  134. package/package.json +2 -2
  135. package/style.css +65 -45
  136. package/__chunks__/Text-B1xglKFU.js +0 -112
  137. package/__chunks__/Text-CX5GoBTS.mjs +0 -113
package/style.css CHANGED
@@ -77,7 +77,7 @@
77
77
  }/**
78
78
  * Do not edit directly, this file was auto-generated.
79
79
  */
80
- ._Text_hj77l_4 {
80
+ ._Text_ljnz4_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
- ._heading1_hj77l_12 {
88
+ ._heading1_ljnz4_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
- ._heading1_hj77l_12 {
96
+ ._heading1_ljnz4_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
- ._heading2_hj77l_29 {
105
+ ._heading2_ljnz4_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
- ._heading2_hj77l_29 {
113
+ ._heading2_ljnz4_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
- ._heading3_hj77l_46 {
122
+ ._heading3_ljnz4_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
- ._heading3_hj77l_46 {
130
+ ._heading3_ljnz4_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
- ._heading4_hj77l_63 {
139
+ ._heading4_ljnz4_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
- ._heading5_hj77l_71 {
147
+ ._heading5_ljnz4_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
- ._subtitle1_hj77l_79 {
155
+ ._subtitle1_ljnz4_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
- ._subtitle2_hj77l_87 {
163
+ ._subtitle2_ljnz4_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
- ._body1_hj77l_95 {
171
+ ._body1_ljnz4_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
- ._body2_hj77l_103 {
179
+ ._body2_ljnz4_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
- ._caption_hj77l_111 {
187
+ ._caption_ljnz4_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
- ._caption2_hj77l_119 {
195
+ ._caption2_ljnz4_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
- ._caption3_hj77l_127 {
203
+ ._caption3_ljnz4_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
- ._overline_hj77l_135 {
211
+ ._overline_ljnz4_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
- ._overline2_hj77l_143 {
219
+ ._overline2_ljnz4_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
- ._button_hj77l_151 {
227
+ ._button_ljnz4_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-button_hj77l_159 {
235
+ ._small-button_ljnz4_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
- ._normal_hj77l_167 {
243
+ ._normal_ljnz4_167 {
244
244
  font-weight: var(--ezui-font-weight-normal);
245
245
  }
246
246
 
247
- ._medium_hj77l_171 {
247
+ ._medium_ljnz4_171 {
248
248
  font-weight: var(--ezui-font-weight-medium);
249
249
  }
250
250
 
251
- ._semibold_hj77l_175 {
251
+ ._semibold_ljnz4_175 {
252
252
  font-weight: var(--ezui-font-weight-semibold);
253
253
  }
254
254
 
255
- ._bold_hj77l_179 {
255
+ ._bold_ljnz4_179 {
256
256
  font-weight: var(--ezui-font-weight-bold);
257
257
  }
258
258
 
259
- ._truncate_hj77l_183 {
259
+ ._truncate_ljnz4_183 {
260
260
  overflow: hidden;
261
261
  white-space: nowrap;
262
262
  text-overflow: ellipsis;
263
263
  }
264
264
 
265
- ._block_hj77l_189 {
265
+ ._block_ljnz4_189 {
266
266
  display: block;
267
267
  }
268
268
 
269
- ._visuallyHidden_hj77l_193 {
269
+ ._visuallyHidden_ljnz4_193 {
270
270
  position: absolute !important;
271
271
  top: 0;
272
272
  width: 1px !important;
@@ -279,76 +279,96 @@
279
279
  white-space: nowrap !important;
280
280
  }
281
281
 
282
- ._start_hj77l_206 {
282
+ ._start_ljnz4_206 {
283
283
  text-align: start;
284
284
  }
285
285
 
286
- ._center_hj77l_210 {
286
+ ._center_ljnz4_210 {
287
287
  text-align: center;
288
288
  }
289
289
 
290
- ._end_hj77l_214 {
290
+ ._end_ljnz4_214 {
291
291
  text-align: end;
292
292
  }
293
293
 
294
- ._justify_hj77l_218 {
294
+ ._justify_ljnz4_218 {
295
295
  text-align: justify;
296
296
  }
297
297
 
298
- ._break_hj77l_222 {
298
+ ._break_ljnz4_222 {
299
299
  overflow-wrap: break-word;
300
300
  }
301
301
 
302
- ._numeric_hj77l_226 {
302
+ ._numeric_ljnz4_226 {
303
303
  font-variant-numeric: tabular-nums lining-nums;
304
304
  }
305
305
 
306
- ._transformNone_hj77l_230 {
306
+ ._transformNone_ljnz4_230 {
307
307
  text-transform: none;
308
308
  }
309
309
 
310
- ._transformCapitalize_hj77l_234 {
310
+ ._transformCapitalize_ljnz4_234 {
311
311
  text-transform: capitalize;
312
312
  }
313
313
 
314
- ._transformUppercase_hj77l_238 {
314
+ ._transformUppercase_ljnz4_238 {
315
315
  text-transform: uppercase;
316
316
  }
317
317
 
318
- ._transformLowercase_hj77l_242 {
318
+ ._transformLowercase_ljnz4_242 {
319
319
  text-transform: lowercase;
320
320
  }
321
321
 
322
- ._whiteSpaceNormal_hj77l_246 {
322
+ ._whiteSpaceNormal_ljnz4_246 {
323
323
  white-space: normal;
324
324
  }
325
325
 
326
- ._whiteSpacePre_hj77l_250 {
326
+ ._whiteSpacePre_ljnz4_250 {
327
327
  white-space: pre;
328
328
  }
329
329
 
330
- ._whiteSpaceNowrap_hj77l_254 {
330
+ ._whiteSpaceNowrap_ljnz4_254 {
331
331
  white-space: nowrap;
332
332
  }
333
333
 
334
- ._whiteSpacePre-wrap_hj77l_258 {
334
+ ._whiteSpacePre-wrap_ljnz4_258 {
335
335
  white-space: pre-wrap;
336
336
  }
337
337
 
338
- ._whiteSpaceBreak-spaces_hj77l_262 {
338
+ ._whiteSpaceBreak-spaces_ljnz4_262 {
339
339
  white-space: break-spaces;
340
340
  }
341
341
 
342
- ._whiteSpacePre-line_hj77l_266 {
342
+ ._whiteSpacePre-line_ljnz4_266 {
343
343
  white-space: pre-line;
344
344
  }
345
345
 
346
- ._fontVariantNumericNormal_hj77l_270 {
346
+ ._fontVariantNumericNormal_ljnz4_270 {
347
347
  font-variant-numeric: normal;
348
348
  }
349
349
 
350
- ._fontVariantNumericTabular-nums_hj77l_274 {
350
+ ._fontVariantNumericTabular-nums_ljnz4_274 {
351
351
  font-variant-numeric: tabular-nums;
352
+ }
353
+
354
+ ._textWrapWrap_ljnz4_278 {
355
+ text-wrap: wrap;
356
+ }
357
+
358
+ ._textWrapNoWrap_ljnz4_282 {
359
+ text-wrap: nowrap;
360
+ }
361
+
362
+ ._textWrapBalance_ljnz4_286 {
363
+ text-wrap: balance;
364
+ }
365
+
366
+ ._textWrapPretty_ljnz4_290 {
367
+ text-wrap: pretty;
368
+ }
369
+
370
+ ._textWrapStable_ljnz4_294 {
371
+ text-wrap: stable;
352
372
  }/**
353
373
  * Do not edit directly, this file was auto-generated.
354
374
  */
@@ -1,112 +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_hj77l_4";
21
- const heading1 = "_heading1_hj77l_12";
22
- const heading2 = "_heading2_hj77l_29";
23
- const heading3 = "_heading3_hj77l_46";
24
- const heading4 = "_heading4_hj77l_63";
25
- const heading5 = "_heading5_hj77l_71";
26
- const subtitle1 = "_subtitle1_hj77l_79";
27
- const subtitle2 = "_subtitle2_hj77l_87";
28
- const body1 = "_body1_hj77l_95";
29
- const body2 = "_body2_hj77l_103";
30
- const caption = "_caption_hj77l_111";
31
- const caption2 = "_caption2_hj77l_119";
32
- const caption3 = "_caption3_hj77l_127";
33
- const overline = "_overline_hj77l_135";
34
- const overline2 = "_overline2_hj77l_143";
35
- const button = "_button_hj77l_151";
36
- const normal = "_normal_hj77l_167";
37
- const medium = "_medium_hj77l_171";
38
- const semibold = "_semibold_hj77l_175";
39
- const bold = "_bold_hj77l_179";
40
- const truncate = "_truncate_hj77l_183";
41
- const block = "_block_hj77l_189";
42
- const visuallyHidden = "_visuallyHidden_hj77l_193";
43
- const start = "_start_hj77l_206";
44
- const center = "_center_hj77l_210";
45
- const end = "_end_hj77l_214";
46
- const justify = "_justify_hj77l_218";
47
- const numeric = "_numeric_hj77l_226";
48
- const transformNone = "_transformNone_hj77l_230";
49
- const transformCapitalize = "_transformCapitalize_hj77l_234";
50
- const transformUppercase = "_transformUppercase_hj77l_238";
51
- const transformLowercase = "_transformLowercase_hj77l_242";
52
- const whiteSpaceNormal = "_whiteSpaceNormal_hj77l_246";
53
- const whiteSpacePre = "_whiteSpacePre_hj77l_250";
54
- const whiteSpaceNowrap = "_whiteSpaceNowrap_hj77l_254";
55
- const fontVariantNumericNormal = "_fontVariantNumericNormal_hj77l_270";
56
- const styles = {
57
- Text: Text$1,
58
- heading1,
59
- heading2,
60
- heading3,
61
- heading4,
62
- heading5,
63
- subtitle1,
64
- subtitle2,
65
- body1,
66
- body2,
67
- caption,
68
- caption2,
69
- caption3,
70
- overline,
71
- overline2,
72
- button,
73
- "small-button": "_small-button_hj77l_159",
74
- normal,
75
- medium,
76
- semibold,
77
- bold,
78
- truncate,
79
- block,
80
- visuallyHidden,
81
- start,
82
- center,
83
- end,
84
- justify,
85
- "break": "_break_hj77l_222",
86
- numeric,
87
- transformNone,
88
- transformCapitalize,
89
- transformUppercase,
90
- transformLowercase,
91
- whiteSpaceNormal,
92
- whiteSpacePre,
93
- whiteSpaceNowrap,
94
- "whiteSpacePre-wrap": "_whiteSpacePre-wrap_hj77l_258",
95
- "whiteSpaceBreak-spaces": "_whiteSpaceBreak-spaces_hj77l_262",
96
- "whiteSpacePre-line": "_whiteSpacePre-line_hj77l_266",
97
- fontVariantNumericNormal,
98
- "fontVariantNumericTabular-nums": "_fontVariantNumericTabular-nums_hj77l_274"
99
- };
100
- function Text({ alignment, as: Component = "span", breakWord = false, children, color, fontVariantNumeric, id, transform = "none", truncate: truncate2 = false, variant, visuallyHidden: visuallyHidden2 = false, weight, whiteSpace }) {
101
- 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)], fontVariantNumeric && styles[utilities_css.variationName("fontVariantNumeric", fontVariantNumeric)]);
102
- const style = __spreadValues({}, utilities_css.getComponentThemeToken("text", "color", "color", utilities_css.backwardsCompatibleColorToken(color)));
103
- return React.createElement(Component, {
104
- className,
105
- style,
106
- id: id ? id : void 0
107
- }, children);
108
- }
109
- function cleanVariant(variant) {
110
- return variant.replace(/_/, "-");
111
- }
112
- exports.Text = Text;
@@ -1,113 +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_hj77l_4";
20
- const heading1 = "_heading1_hj77l_12";
21
- const heading2 = "_heading2_hj77l_29";
22
- const heading3 = "_heading3_hj77l_46";
23
- const heading4 = "_heading4_hj77l_63";
24
- const heading5 = "_heading5_hj77l_71";
25
- const subtitle1 = "_subtitle1_hj77l_79";
26
- const subtitle2 = "_subtitle2_hj77l_87";
27
- const body1 = "_body1_hj77l_95";
28
- const body2 = "_body2_hj77l_103";
29
- const caption = "_caption_hj77l_111";
30
- const caption2 = "_caption2_hj77l_119";
31
- const caption3 = "_caption3_hj77l_127";
32
- const overline = "_overline_hj77l_135";
33
- const overline2 = "_overline2_hj77l_143";
34
- const button = "_button_hj77l_151";
35
- const normal = "_normal_hj77l_167";
36
- const medium = "_medium_hj77l_171";
37
- const semibold = "_semibold_hj77l_175";
38
- const bold = "_bold_hj77l_179";
39
- const truncate = "_truncate_hj77l_183";
40
- const block = "_block_hj77l_189";
41
- const visuallyHidden = "_visuallyHidden_hj77l_193";
42
- const start = "_start_hj77l_206";
43
- const center = "_center_hj77l_210";
44
- const end = "_end_hj77l_214";
45
- const justify = "_justify_hj77l_218";
46
- const numeric = "_numeric_hj77l_226";
47
- const transformNone = "_transformNone_hj77l_230";
48
- const transformCapitalize = "_transformCapitalize_hj77l_234";
49
- const transformUppercase = "_transformUppercase_hj77l_238";
50
- const transformLowercase = "_transformLowercase_hj77l_242";
51
- const whiteSpaceNormal = "_whiteSpaceNormal_hj77l_246";
52
- const whiteSpacePre = "_whiteSpacePre_hj77l_250";
53
- const whiteSpaceNowrap = "_whiteSpaceNowrap_hj77l_254";
54
- const fontVariantNumericNormal = "_fontVariantNumericNormal_hj77l_270";
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_hj77l_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_hj77l_222",
85
- numeric,
86
- transformNone,
87
- transformCapitalize,
88
- transformUppercase,
89
- transformLowercase,
90
- whiteSpaceNormal,
91
- whiteSpacePre,
92
- whiteSpaceNowrap,
93
- "whiteSpacePre-wrap": "_whiteSpacePre-wrap_hj77l_258",
94
- "whiteSpaceBreak-spaces": "_whiteSpaceBreak-spaces_hj77l_262",
95
- "whiteSpacePre-line": "_whiteSpacePre-line_hj77l_266",
96
- fontVariantNumericNormal,
97
- "fontVariantNumericTabular-nums": "_fontVariantNumericTabular-nums_hj77l_274"
98
- };
99
- function Text({ alignment, as: Component = "span", breakWord = false, children, color, fontVariantNumeric, id, transform = "none", truncate: truncate2 = false, variant, visuallyHidden: visuallyHidden2 = false, weight, whiteSpace }) {
100
- 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)], fontVariantNumeric && styles[variationName("fontVariantNumeric", fontVariantNumeric)]);
101
- const style = __spreadValues({}, getComponentThemeToken("text", "color", "color", backwardsCompatibleColorToken(color)));
102
- return React__default.createElement(Component, {
103
- className,
104
- style,
105
- id: id ? id : void 0
106
- }, children);
107
- }
108
- function cleanVariant(variant) {
109
- return variant.replace(/_/, "-");
110
- }
111
- export {
112
- Text as T
113
- };