@7shifts/sous-chef 3.74.0 → 3.75.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/dist/index.css +13 -7
- package/dist/index.css.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/typography/Text/constants.d.ts +1 -0
- package/dist/typography/Text/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -7220,7 +7220,8 @@ const TEXT_TYPES = {
|
|
|
7220
7220
|
H3: 'h3',
|
|
7221
7221
|
H4: 'h4',
|
|
7222
7222
|
H5: 'h5',
|
|
7223
|
-
INSIGHT: 'insight'
|
|
7223
|
+
INSIGHT: 'insight',
|
|
7224
|
+
SPAN: 'span'
|
|
7224
7225
|
};
|
|
7225
7226
|
const FONT_EMPHASIS = {
|
|
7226
7227
|
BOLD: 'bold',
|
|
@@ -7237,7 +7238,7 @@ const ALIGNMENTS = {
|
|
|
7237
7238
|
JUSTIFY: 'justify'
|
|
7238
7239
|
};
|
|
7239
7240
|
|
|
7240
|
-
var styles$11 = {"text":"_6SgoN","text__body":"_SF95f","text__caption":"_HHohB","text__insight":"_xdhK0","text--bold":"_i2LHD","text--italic":"_NgSTT","text--underline":"_ouqVK","text--dotted-underline":"_zZ55-","text--monospace":"_Vi-V1","text--line-through":"_psV6T","text--align-left":"_tfSIf","text--align-right":"_AK1Nr","text--align-center":"_N-tR4","text--align-justify":"_LkMr0"};
|
|
7241
|
+
var styles$11 = {"text":"_6SgoN","text__body":"_SF95f","text__caption":"_HHohB","text__insight":"_xdhK0","text__span":"_yZbuO","text--bold":"_i2LHD","text--italic":"_NgSTT","text--underline":"_ouqVK","text--dotted-underline":"_zZ55-","text--monospace":"_Vi-V1","text--line-through":"_psV6T","text--align-left":"_tfSIf","text--align-right":"_AK1Nr","text--align-center":"_N-tR4","text--align-justify":"_LkMr0"};
|
|
7241
7242
|
|
|
7242
7243
|
const _excluded$o = ["children", "as", "emphasis", "alignment", "color", "testId", "textWrap"];
|
|
7243
7244
|
const TextComponent = (_ref, ref) => {
|
|
@@ -7277,7 +7278,8 @@ const TextComponent = (_ref, ref) => {
|
|
|
7277
7278
|
[styles$11['text--align-justify']]: alignment === ALIGNMENTS.JUSTIFY,
|
|
7278
7279
|
[styles$11['text__body']]: as === TEXT_TYPES.BODY,
|
|
7279
7280
|
[styles$11['text__insight']]: as === TEXT_TYPES.INSIGHT,
|
|
7280
|
-
[styles$11['text__caption']]: as === TEXT_TYPES.CAPTION
|
|
7281
|
+
[styles$11['text__caption']]: as === TEXT_TYPES.CAPTION,
|
|
7282
|
+
[styles$11['text__span']]: as === TEXT_TYPES.SPAN
|
|
7281
7283
|
}),
|
|
7282
7284
|
'data-testid': testId
|
|
7283
7285
|
}, dataProps, {
|