@salutejs/plasma-new-hope 0.69.0-canary.1148.8507402029.0 → 0.69.0-canary.1148.8535928735.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. package/cjs/components/Cell/Cell.js +7 -6
  2. package/cjs/components/Cell/Cell.js.map +1 -1
  3. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +20 -0
  4. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -0
  5. package/cjs/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.js +2 -2
  6. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.styles.js.map +1 -0
  7. package/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +13 -0
  8. package/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js.map +1 -0
  9. package/cjs/components/Cell/{CellTextbox/ui/CellTextLabel.js → ui/CellTextboxLabel/CellTextboxLabel.styles.js} +4 -8
  10. package/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js.map +1 -0
  11. package/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +13 -0
  12. package/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js.map +1 -0
  13. package/cjs/components/Cell/{CellTextbox/ui/CellTextSubtitle.js → ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js} +4 -8
  14. package/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js.map +1 -0
  15. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +13 -0
  16. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -0
  17. package/cjs/components/Cell/{CellTextbox/ui/CellTextTitle.js → ui/CellTextboxTitle/CellTextboxTitle.styles.js} +4 -8
  18. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js.map +1 -0
  19. package/cjs/index.js +7 -7
  20. package/es/components/Cell/Cell.js +7 -6
  21. package/es/components/Cell/Cell.js.map +1 -1
  22. package/es/components/Cell/ui/CellTextbox/CellTextbox.js +16 -0
  23. package/es/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -0
  24. package/es/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.js +2 -2
  25. package/es/components/Cell/ui/CellTextbox/CellTextbox.styles.js.map +1 -0
  26. package/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +9 -0
  27. package/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js.map +1 -0
  28. package/es/components/Cell/{CellTextbox/ui/CellTextLabel.js → ui/CellTextboxLabel/CellTextboxLabel.styles.js} +4 -8
  29. package/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js.map +1 -0
  30. package/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +9 -0
  31. package/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js.map +1 -0
  32. package/es/components/Cell/{CellTextbox/ui/CellTextSubtitle.js → ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js} +4 -8
  33. package/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js.map +1 -0
  34. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +9 -0
  35. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -0
  36. package/es/components/Cell/{CellTextbox/ui/CellTextTitle.js → ui/CellTextboxTitle/CellTextboxTitle.styles.js} +4 -8
  37. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js.map +1 -0
  38. package/es/index.js +4 -4
  39. package/package.json +4 -4
  40. package/styled-components/cjs/components/Cell/Cell.js +7 -6
  41. package/styled-components/cjs/components/Cell/index.js +7 -7
  42. package/styled-components/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +19 -0
  43. package/styled-components/cjs/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.js +2 -2
  44. package/styled-components/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +12 -0
  45. package/styled-components/cjs/components/Cell/{CellTextbox/ui/CellTextLabel.js → ui/CellTextboxLabel/CellTextboxLabel.styles.js} +4 -8
  46. package/styled-components/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +12 -0
  47. package/styled-components/cjs/components/Cell/{CellTextbox/ui/CellTextSubtitle.js → ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js} +4 -8
  48. package/styled-components/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +12 -0
  49. package/styled-components/cjs/components/Cell/{CellTextbox/ui/CellTextTitle.js → ui/CellTextboxTitle/CellTextboxTitle.styles.js} +4 -8
  50. package/styled-components/es/components/Cell/Cell.js +7 -6
  51. package/styled-components/es/components/Cell/index.js +4 -4
  52. package/styled-components/es/components/Cell/ui/CellTextbox/CellTextbox.js +12 -0
  53. package/styled-components/es/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.js +2 -2
  54. package/styled-components/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +5 -0
  55. package/styled-components/es/components/Cell/{CellTextbox/ui/CellTextLabel.js → ui/CellTextboxLabel/CellTextboxLabel.styles.js} +3 -7
  56. package/styled-components/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +5 -0
  57. package/styled-components/es/components/Cell/{CellTextbox/ui/CellTextSubtitle.js → ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js} +3 -7
  58. package/styled-components/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +5 -0
  59. package/styled-components/es/components/Cell/{CellTextbox/ui/CellTextTitle.js → ui/CellTextboxTitle/CellTextboxTitle.styles.js} +3 -7
  60. package/types/components/Cell/Cell.d.ts +2 -2
  61. package/types/components/Cell/Cell.d.ts.map +1 -1
  62. package/types/components/Cell/Cell.types.d.ts +6 -1
  63. package/types/components/Cell/Cell.types.d.ts.map +1 -1
  64. package/types/components/Cell/index.d.ts +5 -5
  65. package/types/components/Cell/index.d.ts.map +1 -1
  66. package/types/components/Cell/ui/CellTextbox/CellTextbox.d.ts.map +1 -0
  67. package/types/components/Cell/ui/CellTextbox/CellTextbox.styles.d.ts.map +1 -0
  68. package/types/components/Cell/ui/CellTextbox/CellTextbox.types.d.ts +33 -0
  69. package/types/components/Cell/ui/CellTextbox/CellTextbox.types.d.ts.map +1 -0
  70. package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.d.ts +3 -0
  71. package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.d.ts.map +1 -0
  72. package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.d.ts +2 -0
  73. package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.d.ts.map +1 -0
  74. package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.d.ts +3 -0
  75. package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.d.ts.map +1 -0
  76. package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.d.ts +2 -0
  77. package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.d.ts.map +1 -0
  78. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.d.ts +3 -0
  79. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.d.ts.map +1 -0
  80. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.d.ts +2 -0
  81. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.d.ts.map +1 -0
  82. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +9 -9
  83. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts.map +1 -1
  84. package/types/examples/plasma_web/components/Cell/Cell.d.ts +9 -9
  85. package/types/examples/plasma_web/components/Cell/Cell.d.ts.map +1 -1
  86. package/cjs/components/Cell/CellTextbox/CellTextbox.js +0 -21
  87. package/cjs/components/Cell/CellTextbox/CellTextbox.js.map +0 -1
  88. package/cjs/components/Cell/CellTextbox/CellTextbox.styles.js.map +0 -1
  89. package/cjs/components/Cell/CellTextbox/ui/CellTextLabel.js.map +0 -1
  90. package/cjs/components/Cell/CellTextbox/ui/CellTextSubtitle.js.map +0 -1
  91. package/cjs/components/Cell/CellTextbox/ui/CellTextTitle.js.map +0 -1
  92. package/es/components/Cell/CellTextbox/CellTextbox.js +0 -17
  93. package/es/components/Cell/CellTextbox/CellTextbox.js.map +0 -1
  94. package/es/components/Cell/CellTextbox/CellTextbox.styles.js.map +0 -1
  95. package/es/components/Cell/CellTextbox/ui/CellTextLabel.js.map +0 -1
  96. package/es/components/Cell/CellTextbox/ui/CellTextSubtitle.js.map +0 -1
  97. package/es/components/Cell/CellTextbox/ui/CellTextTitle.js.map +0 -1
  98. package/styled-components/cjs/components/Cell/CellTextbox/CellTextbox.js +0 -20
  99. package/styled-components/es/components/Cell/CellTextbox/CellTextbox.js +0 -13
  100. package/types/components/Cell/CellTextbox/CellTextbox.d.ts.map +0 -1
  101. package/types/components/Cell/CellTextbox/CellTextbox.styles.d.ts.map +0 -1
  102. package/types/components/Cell/CellTextbox/CellTextbox.types.d.ts +0 -43
  103. package/types/components/Cell/CellTextbox/CellTextbox.types.d.ts.map +0 -1
  104. package/types/components/Cell/CellTextbox/ui/CellTextLabel.d.ts +0 -5
  105. package/types/components/Cell/CellTextbox/ui/CellTextLabel.d.ts.map +0 -1
  106. package/types/components/Cell/CellTextbox/ui/CellTextSubtitle.d.ts +0 -5
  107. package/types/components/Cell/CellTextbox/ui/CellTextSubtitle.d.ts.map +0 -1
  108. package/types/components/Cell/CellTextbox/ui/CellTextTitle.d.ts +0 -5
  109. package/types/components/Cell/CellTextbox/ui/CellTextTitle.d.ts.map +0 -1
  110. /package/styled-components/cjs/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.types.js +0 -0
  111. /package/styled-components/es/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.types.js +0 -0
  112. /package/types/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.d.ts +0 -0
  113. /package/types/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.d.ts +0 -0
@@ -8,7 +8,7 @@ var Cell_styles = require('./Cell.styles.js');
8
8
  var Cell_tokens = require('./Cell.tokens.js');
9
9
  var base = require('./variations/_view/base.js');
10
10
  var base$1 = require('./variations/_size/base.js');
11
- var CellTextbox = require('./CellTextbox/CellTextbox.js');
11
+ var CellTextbox = require('./ui/CellTextbox/CellTextbox.js');
12
12
 
13
13
  var cellRoot = function cellRoot(Root) {
14
14
  return /*#__PURE__*/React.forwardRef(function (_ref, outerRootRef) {
@@ -29,19 +29,20 @@ var cellRoot = function cellRoot(Root) {
29
29
  _ref$stretching = _ref.stretching,
30
30
  stretching = _ref$stretching === void 0 ? 'filled' : _ref$stretching;
31
31
  var stretchingClass = Cell_tokens.classes["".concat(stretching, "Stretching")];
32
+ var titleText = title || description;
33
+ var contentLeftDeprecated = contentLeft || content;
32
34
  return /*#__PURE__*/React.createElement(Root, {
33
35
  ref: outerRootRef,
34
36
  size: size,
35
37
  view: view,
36
38
  className: index.cx(stretchingClass, Cell_tokens.classes.cellRoot)
37
- }, contentLeft && /*#__PURE__*/React.createElement(Cell_styles.CellLeft, {
39
+ }, contentLeftDeprecated && /*#__PURE__*/React.createElement(Cell_styles.CellLeft, {
38
40
  align: alignContentLeft
39
- }, contentLeft), /*#__PURE__*/React.createElement(Cell_styles.CellContentWrapper, null, /*#__PURE__*/React.createElement(Cell_styles.CellContent, null, title || description || subtitle || label ? /*#__PURE__*/React.createElement(CellTextbox.CellTextbox, {
41
+ }, contentLeftDeprecated), /*#__PURE__*/React.createElement(Cell_styles.CellContentWrapper, null, /*#__PURE__*/React.createElement(Cell_styles.CellContent, null, titleText || subtitle || label ? /*#__PURE__*/React.createElement(CellTextbox.CellTextbox, {
40
42
  label: label,
41
- description: description,
42
- title: title,
43
+ title: titleText,
43
44
  subtitle: subtitle
44
- }) : children || content), contentRight && /*#__PURE__*/React.createElement(Cell_styles.CellRight, {
45
+ }) : children), contentRight && /*#__PURE__*/React.createElement(Cell_styles.CellRight, {
45
46
  align: alignContentRight
46
47
  }, contentRight)));
47
48
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Cell.js","sources":["../../../src/components/Cell/Cell.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport type { CellProps } from './Cell.types';\nimport { base, CellLeft, CellRight, CellContentWrapper, CellContent } from './Cell.styles';\nimport { classes } from './Cell.tokens';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { CellTextbox } from './CellTextbox/CellTextbox';\n\nexport const cellRoot = (Root: RootProps<HTMLSelectElement, CellProps>) =>\n forwardRef<HTMLSelectElement, CellProps>(\n (\n {\n size,\n view,\n contentLeft,\n contentRight,\n alignContentLeft = 'center',\n alignContentRight = 'center',\n children,\n title,\n subtitle,\n label,\n description,\n content,\n stretching = 'filled',\n },\n outerRootRef,\n ) => {\n const stretchingClass = classes[`${stretching}Stretching` as keyof typeof classes];\n return (\n <Root ref={outerRootRef} size={size} view={view} className={cx(stretchingClass, classes.cellRoot)}>\n {contentLeft && <CellLeft align={alignContentLeft}>{contentLeft}</CellLeft>}\n <CellContentWrapper>\n <CellContent>\n {title || description || subtitle || label ? (\n <CellTextbox\n label={label}\n description={description}\n title={title}\n subtitle={subtitle}\n />\n ) : (\n children || content\n )}\n </CellContent>\n {contentRight && <CellRight align={alignContentRight}>{contentRight}</CellRight>}\n </CellContentWrapper>\n </Root>\n );\n },\n );\n\nexport const cellConfig = {\n name: 'Cell',\n tag: 'div',\n layout: cellRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["cellRoot","Root","forwardRef","_ref","outerRootRef","size","view","contentLeft","contentRight","_ref$alignContentLeft","alignContentLeft","_ref$alignContentRigh","alignContentRight","children","title","subtitle","label","description","content","_ref$stretching","stretching","stretchingClass","classes","concat","React","createElement","ref","className","cx","CellLeft","align","CellContentWrapper","CellContent","CellTextbox","CellRight","cellConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;IAYaA,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,IAA6C,EAAA;AAAA,EAAA,oBAClEC,gBAAU,CACN,UAAAC,IAAA,EAgBIC,YAAY,EACX;AAAA,IAAA,IAfGC,IAAI,GAAAF,IAAA,CAAJE,IAAI;MACJC,IAAI,GAAAH,IAAA,CAAJG,IAAI;MACJC,WAAW,GAAAJ,IAAA,CAAXI,WAAW;MACXC,YAAY,GAAAL,IAAA,CAAZK,YAAY;MAAAC,qBAAA,GAAAN,IAAA,CACZO,gBAAgB;AAAhBA,MAAAA,gBAAgB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,qBAAA;MAAAE,qBAAA,GAAAR,IAAA,CAC3BS,iBAAiB;AAAjBA,MAAAA,iBAAiB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,qBAAA;MAC5BE,QAAQ,GAAAV,IAAA,CAARU,QAAQ;MACRC,KAAK,GAAAX,IAAA,CAALW,KAAK;MACLC,QAAQ,GAAAZ,IAAA,CAARY,QAAQ;MACRC,KAAK,GAAAb,IAAA,CAALa,KAAK;MACLC,WAAW,GAAAd,IAAA,CAAXc,WAAW;MACXC,OAAO,GAAAf,IAAA,CAAPe,OAAO;MAAAC,eAAA,GAAAhB,IAAA,CACPiB,UAAU;AAAVA,MAAAA,UAAU,GAAAD,eAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,eAAA,CAAA;AAIzB,IAAA,IAAME,eAAe,GAAGC,mBAAO,IAAAC,MAAA,CAAIH,UAAU,EAAqC,YAAA,CAAA,CAAA,CAAA;AAClF,IAAA,oBACII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GAAG,EAAEE,WAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNtC,IAAAA,IAAI,EAAE,SAAS;AACfD,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
1
+ {"version":3,"file":"Cell.js","sources":["../../../src/components/Cell/Cell.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport type { CellProps } from './Cell.types';\nimport { base, CellLeft, CellRight, CellContentWrapper, CellContent } from './Cell.styles';\nimport { classes } from './Cell.tokens';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { CellTextbox } from './ui/CellTextbox/CellTextbox';\n\nexport const cellRoot = (Root: RootProps<HTMLDivElement, CellProps>) =>\n forwardRef<HTMLDivElement, CellProps>(\n (\n {\n size,\n view,\n contentLeft,\n contentRight,\n alignContentLeft = 'center',\n alignContentRight = 'center',\n children,\n title,\n subtitle,\n label,\n description,\n content,\n stretching = 'filled',\n },\n outerRootRef,\n ) => {\n const stretchingClass = classes[`${stretching}Stretching` as keyof typeof classes];\n const titleText = title || description;\n const contentLeftDeprecated = contentLeft || content;\n\n return (\n <Root ref={outerRootRef} size={size} view={view} className={cx(stretchingClass, classes.cellRoot)}>\n {contentLeftDeprecated && <CellLeft align={alignContentLeft}>{contentLeftDeprecated}</CellLeft>}\n <CellContentWrapper>\n <CellContent>\n {titleText || subtitle || label ? (\n <CellTextbox label={label} title={titleText} subtitle={subtitle} />\n ) : (\n children\n )}\n </CellContent>\n {contentRight && <CellRight align={alignContentRight}>{contentRight}</CellRight>}\n </CellContentWrapper>\n </Root>\n );\n },\n );\n\nexport const cellConfig = {\n name: 'Cell',\n tag: 'div',\n layout: cellRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["cellRoot","Root","forwardRef","_ref","outerRootRef","size","view","contentLeft","contentRight","_ref$alignContentLeft","alignContentLeft","_ref$alignContentRigh","alignContentRight","children","title","subtitle","label","description","content","_ref$stretching","stretching","stretchingClass","classes","concat","titleText","contentLeftDeprecated","React","createElement","ref","className","cx","CellLeft","align","CellContentWrapper","CellContent","CellTextbox","CellRight","cellConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;IAYaA,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,IAA0C,EAAA;AAAA,EAAA,oBAC/DC,gBAAU,CACN,UAAAC,IAAA,EAgBIC,YAAY,EACX;AAAA,IAAA,IAfGC,IAAI,GAAAF,IAAA,CAAJE,IAAI;MACJC,IAAI,GAAAH,IAAA,CAAJG,IAAI;MACJC,WAAW,GAAAJ,IAAA,CAAXI,WAAW;MACXC,YAAY,GAAAL,IAAA,CAAZK,YAAY;MAAAC,qBAAA,GAAAN,IAAA,CACZO,gBAAgB;AAAhBA,MAAAA,gBAAgB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,qBAAA;MAAAE,qBAAA,GAAAR,IAAA,CAC3BS,iBAAiB;AAAjBA,MAAAA,iBAAiB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,qBAAA;MAC5BE,QAAQ,GAAAV,IAAA,CAARU,QAAQ;MACRC,KAAK,GAAAX,IAAA,CAALW,KAAK;MACLC,QAAQ,GAAAZ,IAAA,CAARY,QAAQ;MACRC,KAAK,GAAAb,IAAA,CAALa,KAAK;MACLC,WAAW,GAAAd,IAAA,CAAXc,WAAW;MACXC,OAAO,GAAAf,IAAA,CAAPe,OAAO;MAAAC,eAAA,GAAAhB,IAAA,CACPiB,UAAU;AAAVA,MAAAA,UAAU,GAAAD,eAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,eAAA,CAAA;AAIzB,IAAA,IAAME,eAAe,GAAGC,mBAAO,IAAAC,MAAA,CA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,UAAU,EAAE;AACRpC,IAAAA,IAAI,EAAE;AACFqC,MAAAA,GAAG,EAAEC,SAAAA;KACR;AACDvC,IAAAA,IAAI,EAAE;AACFsC,MAAAA,GAAG,EAAEE,WAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNxC,IAAAA,IAAI,EAAE,SAAS;AACfD,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+ var CellTextboxLabel = require('../CellTextboxLabel/CellTextboxLabel.js');
7
+ var CellTextboxTitle = require('../CellTextboxTitle/CellTextboxTitle.js');
8
+ var CellTextboxSubtitle = require('../CellTextboxSubtitle/CellTextboxSubtitle.js');
9
+ var CellTextbox_styles = require('./CellTextbox.styles.js');
10
+
11
+ var CellTextbox = function CellTextbox(_ref) {
12
+ var label = _ref.label,
13
+ title = _ref.title,
14
+ subtitle = _ref.subtitle,
15
+ children = _ref.children;
16
+ return /*#__PURE__*/React.createElement(CellTextbox_styles.CellTextboxStyled, null, label || title || subtitle ? /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement(CellTextboxLabel.CellTextboxLabel, null, label), title && /*#__PURE__*/React.createElement(CellTextboxTitle.CellTextboxTitle, null, title), subtitle && /*#__PURE__*/React.createElement(CellTextboxSubtitle.CellTextboxSubtitle, null, subtitle)) : children);
17
+ };
18
+
19
+ exports.CellTextbox = CellTextbox;
20
+ //# sourceMappingURL=CellTextbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.js","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nimport { CellTextboxLabel } from '../CellTextboxLabel/CellTextboxLabel';\nimport { CellTextboxTitle } from '../CellTextboxTitle/CellTextboxTitle';\nimport { CellTextboxSubtitle } from '../CellTextboxSubtitle/CellTextboxSubtitle';\n\nimport { CellTextboxStyled } from './CellTextbox.styles';\nimport type { CellTextboxProps } from './CellTextbox.types';\n\nexport const CellTextbox: React.FC<HTMLAttributes<HTMLDivElement> & CellTextboxProps> = ({\n label,\n title,\n subtitle,\n children,\n}) => {\n return (\n <CellTextboxStyled>\n {label || title || subtitle ? (\n <>\n {label && <CellTextboxLabel>{label}</CellTextboxLabel>}\n {title && <CellTextboxTitle>{title}</CellTextboxTitle>}\n {subtitle && <CellTextboxSubtitle>{subtitle}</CellTextboxSubtitle>}\n </>\n ) : (\n children\n )}\n </CellTextboxStyled>\n );\n};\n"],"names":["CellTextbox","_ref","label","title","subtitle","children","React","createElement","CellTextboxStyled","Fragment","CellTextboxLabel","CellTextboxTitle","CellTextboxSubtitle"],"mappings":";;;;;;;;;;IASaA,WAAwE,GAAG,SAA3EA,WAAwEA,CAAAC,IAAA,EAK/E;AAAA,EAAA,IAJFC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,KAAK,GAAAF,IAAA,CAALE,KAAK;IACLC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;IACRC,QAAQ,GAAAJ,IAAA,CAARI,QAAQ,CAAA;EAER,oBACIC,KAAA,CAAAC,aAAA,CAACC,oCAAiB,QACbN,KAAK,IAAIC,KAAK,IAAIC,QAAQ,gBACvBE,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAG,QAAA,EACKP,IAAAA,EAAAA,KAAK,iBAAII,KAAA,CAAAC,aAAA,CAACG,iCAAgB,QAAER,KAAwB,CAAC,EACrDC,KAAK,iBAAIG,KAAA,CAAAC,aAAA,CAACI,iCAAgB,EAAER,IAAAA,EAAAA,KAAwB,CAAC,EACrDC,QAAQ,iBAAIE,KAAA,CAAAC,aAAA,CAACK,uCAAmB,EAAER,IAAAA,EAAAA,QAA8B,CACnE,CAAC,GAEHC,QAEW,CAAC,CAAA;AAE5B;;;;"}
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var styled = require('styled-components');
6
- var Cell_tokens = require('../Cell.tokens.js');
6
+ var Cell_tokens = require('../../Cell.tokens.js');
7
7
 
8
8
  var CellTextboxStyled = /*#__PURE__*/styled.div.withConfig({
9
- componentId: "plasma-new-hope__sc-1t9f5dx-0"
9
+ componentId: "plasma-new-hope__sc-gn95dc-0"
10
10
  })(["display:flex;flex-direction:column;gap:var(", ");"], Cell_tokens.tokens.cellTextboxGap);
11
11
 
12
12
  exports.CellTextboxStyled = CellTextboxStyled;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.styles.js","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nexport const CellTextboxStyled = styled.div`\n display: flex;\n flex-direction: column;\n gap: var(${tokens.cellTextboxGap});\n`;\n"],"names":["CellTextboxStyled","styled","div","withConfig","componentId","tokens","cellTextboxGap"],"mappings":";;;;;;;IAIaA,iBAAiB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CAG5BC,CAAAA,CAAAA,CAAAA,6CAAAA,EAAAA,IAAAA,CAAAA,EAAAA,kBAAM,CAACC,cAAc;;;;"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+ var CellTextboxLabel_styles = require('./CellTextboxLabel.styles.js');
7
+
8
+ var CellTextboxLabel = function CellTextboxLabel(props) {
9
+ return /*#__PURE__*/React.createElement(CellTextboxLabel_styles.StyledTextboxLabel, null, props.children);
10
+ };
11
+
12
+ exports.CellTextboxLabel = CellTextboxLabel;
13
+ //# sourceMappingURL=CellTextboxLabel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxLabel.js","sources":["../../../../../src/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nimport { StyledTextboxLabel } from './CellTextboxLabel.styles';\n\nexport const CellTextboxLabel: React.FC<HTMLAttributes<HTMLDivElement>> = (props) => {\n return <StyledTextboxLabel>{props.children}</StyledTextboxLabel>;\n};\n"],"names":["CellTextboxLabel","props","React","createElement","StyledTextboxLabel","children"],"mappings":";;;;;;;IAIaA,gBAA0D,GAAG,SAA7DA,gBAA0DA,CAAIC,KAAK,EAAK;EACjF,oBAAOC,KAAA,CAAAC,aAAA,CAACC,0CAAkB,EAAEH,IAAAA,EAAAA,KAAK,CAACI,QAA6B,CAAC,CAAA;AACpE;;;;"}
@@ -2,16 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var React = require('react');
6
5
  var styled = require('styled-components');
7
6
  var Cell_tokens = require('../../Cell.tokens.js');
8
7
 
9
- var StyledTextLabel = /*#__PURE__*/styled.div.withConfig({
10
- componentId: "plasma-new-hope__sc-2pgst1-0"
8
+ var StyledTextboxLabel = /*#__PURE__*/styled.div.withConfig({
9
+ componentId: "plasma-new-hope__sc-1mmt0od-0"
11
10
  })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], Cell_tokens.tokens.cellLabelColor, Cell_tokens.tokens.cellLabelFontSize, Cell_tokens.tokens.cellLabelFontWeight, Cell_tokens.tokens.cellLabelFontFamily, Cell_tokens.tokens.cellLabelFontStyle, Cell_tokens.tokens.cellLabelLineHeight, Cell_tokens.tokens.cellLabelLetterSpacing);
12
- var CellTextboxLabel = function CellTextboxLabel(props) {
13
- return /*#__PURE__*/React.createElement(StyledTextLabel, null, props.children);
14
- };
15
11
 
16
- exports.CellTextboxLabel = CellTextboxLabel;
17
- //# sourceMappingURL=CellTextLabel.js.map
12
+ exports.StyledTextboxLabel = StyledTextboxLabel;
13
+ //# sourceMappingURL=CellTextboxLabel.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxLabel.styles.js","sources":["../../../../../src/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nexport const StyledTextboxLabel = styled.div`\n color: var(${tokens.cellLabelColor});\n font-size: var(${tokens.cellLabelFontSize});\n font-weight: var(${tokens.cellLabelFontWeight});\n font-family: var(${tokens.cellLabelFontFamily});\n font-style: var(${tokens.cellLabelFontStyle});\n line-height: var(${tokens.cellLabelLineHeight});\n letter-spacing: var(${tokens.cellLabelLetterSpacing});\n`;\n"],"names":["StyledTextboxLabel","styled","div","withConfig","componentId","tokens","cellLabelColor","cellLabelFontSize","cellLabelFontWeight","cellLabelFontFamily","cellLabelFontStyle","cellLabelLineHeight","cellLabelLetterSpacing"],"mappings":";;;;;;;IAIaA,kBAAkB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CAC3BC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,kBAAM,CAACC,cAAc,EACjBD,kBAAM,CAACE,iBAAiB,EACtBF,kBAAM,CAACG,mBAAmB,EAC1BH,kBAAM,CAACI,mBAAmB,EAC3BJ,kBAAM,CAACK,kBAAkB,EACxBL,kBAAM,CAACM,mBAAmB,EACvBN,kBAAM,CAACO,sBAAsB;;;;"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+ var CellTextboxSubtitle_styles = require('./CellTextboxSubtitle.styles.js');
7
+
8
+ var CellTextboxSubtitle = function CellTextboxSubtitle(props) {
9
+ return /*#__PURE__*/React.createElement(CellTextboxSubtitle_styles.StyledTextboxSubtitle, null, props.children);
10
+ };
11
+
12
+ exports.CellTextboxSubtitle = CellTextboxSubtitle;
13
+ //# sourceMappingURL=CellTextboxSubtitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxSubtitle.js","sources":["../../../../../src/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nimport { StyledTextboxSubtitle } from './CellTextboxSubtitle.styles';\n\nexport const CellTextboxSubtitle: React.FC<HTMLAttributes<HTMLDivElement>> = (props) => {\n return <StyledTextboxSubtitle>{props.children}</StyledTextboxSubtitle>;\n};\n"],"names":["CellTextboxSubtitle","props","React","createElement","StyledTextboxSubtitle","children"],"mappings":";;;;;;;IAIaA,mBAA6D,GAAG,SAAhEA,mBAA6DA,CAAIC,KAAK,EAAK;EACpF,oBAAOC,KAAA,CAAAC,aAAA,CAACC,gDAAqB,EAAEH,IAAAA,EAAAA,KAAK,CAACI,QAAgC,CAAC,CAAA;AAC1E;;;;"}
@@ -2,16 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var React = require('react');
6
5
  var styled = require('styled-components');
7
6
  var Cell_tokens = require('../../Cell.tokens.js');
8
7
 
9
- var StyledTextSubtitle = /*#__PURE__*/styled.div.withConfig({
10
- componentId: "plasma-new-hope__sc-12wzp7p-0"
8
+ var StyledTextboxSubtitle = /*#__PURE__*/styled.div.withConfig({
9
+ componentId: "plasma-new-hope__sc-1kug7tk-0"
11
10
  })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], Cell_tokens.tokens.cellSubtitleColor, Cell_tokens.tokens.cellSubtitleFontSize, Cell_tokens.tokens.cellSubtitleFontWeight, Cell_tokens.tokens.cellSubtitleFontFamily, Cell_tokens.tokens.cellSubtitleFontStyle, Cell_tokens.tokens.cellSubtitleLineHeight, Cell_tokens.tokens.cellSubtitleLetterSpacing);
12
- var CellTextboxSubtitle = function CellTextboxSubtitle(props) {
13
- return /*#__PURE__*/React.createElement(StyledTextSubtitle, null, props.children);
14
- };
15
11
 
16
- exports.CellTextboxSubtitle = CellTextboxSubtitle;
17
- //# sourceMappingURL=CellTextSubtitle.js.map
12
+ exports.StyledTextboxSubtitle = StyledTextboxSubtitle;
13
+ //# sourceMappingURL=CellTextboxSubtitle.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxSubtitle.styles.js","sources":["../../../../../src/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nexport const StyledTextboxSubtitle = styled.div`\n color: var(${tokens.cellSubtitleColor});\n font-size: var(${tokens.cellSubtitleFontSize});\n font-weight: var(${tokens.cellSubtitleFontWeight});\n font-family: var(${tokens.cellSubtitleFontFamily});\n font-style: var(${tokens.cellSubtitleFontStyle});\n line-height: var(${tokens.cellSubtitleLineHeight});\n letter-spacing: var(${tokens.cellSubtitleLetterSpacing});\n`;\n"],"names":["StyledTextboxSubtitle","styled","div","withConfig","componentId","tokens","cellSubtitleColor","cellSubtitleFontSize","cellSubtitleFontWeight","cellSubtitleFontFamily","cellSubtitleFontStyle","cellSubtitleLineHeight","cellSubtitleLetterSpacing"],"mappings":";;;;;;;IAIaA,qBAAqB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CAC9BC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,kBAAM,CAACC,iBAAiB,EACpBD,kBAAM,CAACE,oBAAoB,EACzBF,kBAAM,CAACG,sBAAsB,EAC7BH,kBAAM,CAACI,sBAAsB,EAC9BJ,kBAAM,CAACK,qBAAqB,EAC3BL,kBAAM,CAACM,sBAAsB,EAC1BN,kBAAM,CAACO,yBAAyB;;;;"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+ var CellTextboxTitle_styles = require('./CellTextboxTitle.styles.js');
7
+
8
+ var CellTextboxTitle = function CellTextboxTitle(props) {
9
+ return /*#__PURE__*/React.createElement(CellTextboxTitle_styles.StyledTextboxTitle, null, props.children);
10
+ };
11
+
12
+ exports.CellTextboxTitle = CellTextboxTitle;
13
+ //# sourceMappingURL=CellTextboxTitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxTitle.js","sources":["../../../../../src/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nimport { StyledTextboxTitle } from './CellTextboxTitle.styles';\n\nexport const CellTextboxTitle: React.FC<HTMLAttributes<HTMLDivElement>> = (props) => {\n return <StyledTextboxTitle>{props.children}</StyledTextboxTitle>;\n};\n"],"names":["CellTextboxTitle","props","React","createElement","StyledTextboxTitle","children"],"mappings":";;;;;;;IAIaA,gBAA0D,GAAG,SAA7DA,gBAA0DA,CAAIC,KAAK,EAAK;EACjF,oBAAOC,KAAA,CAAAC,aAAA,CAACC,0CAAkB,EAAEH,IAAAA,EAAAA,KAAK,CAACI,QAA6B,CAAC,CAAA;AACpE;;;;"}
@@ -2,16 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var React = require('react');
6
5
  var styled = require('styled-components');
7
6
  var Cell_tokens = require('../../Cell.tokens.js');
8
7
 
9
- var StyledTextTitle = /*#__PURE__*/styled.div.withConfig({
10
- componentId: "plasma-new-hope__sc-xt8zbj-0"
8
+ var StyledTextboxTitle = /*#__PURE__*/styled.div.withConfig({
9
+ componentId: "plasma-new-hope__sc-h92q43-0"
11
10
  })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], Cell_tokens.tokens.cellTitleColor, Cell_tokens.tokens.cellTitleFontSize, Cell_tokens.tokens.cellTitleFontWeight, Cell_tokens.tokens.cellTitleFontFamily, Cell_tokens.tokens.cellTitleFontStyle, Cell_tokens.tokens.cellTitleLineHeight, Cell_tokens.tokens.cellTitleLetterSpacing);
12
- var CellTextboxTitle = function CellTextboxTitle(props) {
13
- return /*#__PURE__*/React.createElement(StyledTextTitle, null, props.children);
14
- };
15
11
 
16
- exports.CellTextboxTitle = CellTextboxTitle;
17
- //# sourceMappingURL=CellTextTitle.js.map
12
+ exports.StyledTextboxTitle = StyledTextboxTitle;
13
+ //# sourceMappingURL=CellTextboxTitle.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxTitle.styles.js","sources":["../../../../../src/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nexport const StyledTextboxTitle = styled.div`\n color: var(${tokens.cellTitleColor});\n font-size: var(${tokens.cellTitleFontSize});\n font-weight: var(${tokens.cellTitleFontWeight});\n font-family: var(${tokens.cellTitleFontFamily});\n font-style: var(${tokens.cellTitleFontStyle});\n line-height: var(${tokens.cellTitleLineHeight});\n letter-spacing: var(${tokens.cellTitleLetterSpacing});\n`;\n"],"names":["StyledTextboxTitle","styled","div","withConfig","componentId","tokens","cellTitleColor","cellTitleFontSize","cellTitleFontWeight","cellTitleFontFamily","cellTitleFontStyle","cellTitleLineHeight","cellTitleLetterSpacing"],"mappings":";;;;;;;IAIaA,kBAAkB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CAC3BC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,kBAAM,CAACC,cAAc,EACjBD,kBAAM,CAACE,iBAAiB,EACtBF,kBAAM,CAACG,mBAAmB,EAC1BH,kBAAM,CAACI,mBAAmB,EAC3BJ,kBAAM,CAACK,kBAAkB,EACxBL,kBAAM,CAACM,mBAAmB,EACvBN,kBAAM,CAACO,sBAAsB;;;;"}
package/cjs/index.js CHANGED
@@ -23,12 +23,12 @@ var ButtonGroup = require('./components/ButtonGroup/ButtonGroup.js');
23
23
  var ButtonGroup_tokens = require('./components/ButtonGroup/ButtonGroup.tokens.js');
24
24
  var Chip = require('./components/Chip/Chip.js');
25
25
  var Chip_tokens = require('./components/Chip/Chip.tokens.js');
26
- var CellTextLabel = require('./components/Cell/CellTextbox/ui/CellTextLabel.js');
27
- var CellTextTitle = require('./components/Cell/CellTextbox/ui/CellTextTitle.js');
28
- var CellTextSubtitle = require('./components/Cell/CellTextbox/ui/CellTextSubtitle.js');
26
+ var CellTextboxLabel = require('./components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js');
27
+ var CellTextboxTitle = require('./components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js');
28
+ var CellTextboxSubtitle = require('./components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js');
29
29
  var Cell = require('./components/Cell/Cell.js');
30
30
  var Cell_tokens = require('./components/Cell/Cell.tokens.js');
31
- var CellTextbox = require('./components/Cell/CellTextbox/CellTextbox.js');
31
+ var CellTextbox = require('./components/Cell/ui/CellTextbox/CellTextbox.js');
32
32
  var Link = require('./components/Link/Link.js');
33
33
  var Spinner = require('./components/Spinner/Spinner.js');
34
34
  var Spinner_tokens = require('./components/Spinner/Spinner.tokens.js');
@@ -244,9 +244,9 @@ exports.buttonGroupTokens = ButtonGroup_tokens.tokens;
244
244
  exports.chipConfig = Chip.chipConfig;
245
245
  exports.chipRoot = Chip.chipRoot;
246
246
  exports.chipTokens = Chip_tokens.tokens;
247
- exports.CellTextboxLabel = CellTextLabel.CellTextboxLabel;
248
- exports.CellTextboxTitle = CellTextTitle.CellTextboxTitle;
249
- exports.CellTextboxSubtitle = CellTextSubtitle.CellTextboxSubtitle;
247
+ exports.CellTextboxLabel = CellTextboxLabel.CellTextboxLabel;
248
+ exports.CellTextboxTitle = CellTextboxTitle.CellTextboxTitle;
249
+ exports.CellTextboxSubtitle = CellTextboxSubtitle.CellTextboxSubtitle;
250
250
  exports.cellConfig = Cell.cellConfig;
251
251
  exports.cellRoot = Cell.cellRoot;
252
252
  exports.cellClasses = Cell_tokens.classes;
@@ -4,7 +4,7 @@ import { CellLeft, CellContentWrapper, CellContent, CellRight, base } from './Ce
4
4
  import { classes } from './Cell.tokens.js';
5
5
  import { base as base$1 } from './variations/_view/base.js';
6
6
  import { base as base$2 } from './variations/_size/base.js';
7
- import { CellTextbox } from './CellTextbox/CellTextbox.js';
7
+ import { CellTextbox } from './ui/CellTextbox/CellTextbox.js';
8
8
 
9
9
  var cellRoot = function cellRoot(Root) {
10
10
  return /*#__PURE__*/forwardRef(function (_ref, outerRootRef) {
@@ -25,19 +25,20 @@ var cellRoot = function cellRoot(Root) {
25
25
  _ref$stretching = _ref.stretching,
26
26
  stretching = _ref$stretching === void 0 ? 'filled' : _ref$stretching;
27
27
  var stretchingClass = classes["".concat(stretching, "Stretching")];
28
+ var titleText = title || description;
29
+ var contentLeftDeprecated = contentLeft || content;
28
30
  return /*#__PURE__*/React.createElement(Root, {
29
31
  ref: outerRootRef,
30
32
  size: size,
31
33
  view: view,
32
34
  className: cx(stretchingClass, classes.cellRoot)
33
- }, contentLeft && /*#__PURE__*/React.createElement(CellLeft, {
35
+ }, contentLeftDeprecated && /*#__PURE__*/React.createElement(CellLeft, {
34
36
  align: alignContentLeft
35
- }, contentLeft), /*#__PURE__*/React.createElement(CellContentWrapper, null, /*#__PURE__*/React.createElement(CellContent, null, title || description || subtitle || label ? /*#__PURE__*/React.createElement(CellTextbox, {
37
+ }, contentLeftDeprecated), /*#__PURE__*/React.createElement(CellContentWrapper, null, /*#__PURE__*/React.createElement(CellContent, null, titleText || subtitle || label ? /*#__PURE__*/React.createElement(CellTextbox, {
36
38
  label: label,
37
- description: description,
38
- title: title,
39
+ title: titleText,
39
40
  subtitle: subtitle
40
- }) : children || content), contentRight && /*#__PURE__*/React.createElement(CellRight, {
41
+ }) : children), contentRight && /*#__PURE__*/React.createElement(CellRight, {
41
42
  align: alignContentRight
42
43
  }, contentRight)));
43
44
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Cell.js","sources":["../../../src/components/Cell/Cell.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport type { CellProps } from './Cell.types';\nimport { base, CellLeft, CellRight, CellContentWrapper, CellContent } from './Cell.styles';\nimport { classes } from './Cell.tokens';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { CellTextbox } from './CellTextbox/CellTextbox';\n\nexport const cellRoot = (Root: RootProps<HTMLSelectElement, CellProps>) =>\n forwardRef<HTMLSelectElement, CellProps>(\n (\n {\n size,\n view,\n contentLeft,\n contentRight,\n alignContentLeft = 'center',\n alignContentRight = 'center',\n children,\n title,\n subtitle,\n label,\n description,\n content,\n stretching = 'filled',\n },\n outerRootRef,\n ) => {\n const stretchingClass = classes[`${stretching}Stretching` as keyof typeof classes];\n return (\n <Root ref={outerRootRef} size={size} view={view} className={cx(stretchingClass, classes.cellRoot)}>\n {contentLeft && <CellLeft align={alignContentLeft}>{contentLeft}</CellLeft>}\n <CellContentWrapper>\n <CellContent>\n {title || description || subtitle || label ? (\n <CellTextbox\n label={label}\n description={description}\n title={title}\n subtitle={subtitle}\n />\n ) : (\n children || content\n )}\n </CellContent>\n {contentRight && <CellRight align={alignContentRight}>{contentRight}</CellRight>}\n </CellContentWrapper>\n </Root>\n );\n },\n );\n\nexport const cellConfig = {\n name: 'Cell',\n tag: 'div',\n layout: cellRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["cellRoot","Root","forwardRef","_ref","outerRootRef","size","view","contentLeft","contentRight","_ref$alignContentLeft","alignContentLeft","_ref$alignContentRigh","alignContentRight","children","title","subtitle","label","description","content","_ref$stretching","stretching","stretchingClass","classes","concat","React","createElement","ref","className","cx","CellLeft","align","CellContentWrapper","CellContent","CellTextbox","CellRight","cellConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","defaults"],"mappings":";;;;;;;;IAYaA,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,IAA6C,EAAA;AAAA,EAAA,oBAClEC,UAAU,CACN,UAAAC,IAAA,EAgBIC,YAAY,EACX;AAAA,IAAA,IAfGC,IAAI,GAAAF,IAAA,CAAJE,IAAI;MACJC,IAAI,GAAAH,IAAA,CAAJG,IAAI;MACJC,WAAW,GAAAJ,IAAA,CAAXI,WAAW;MACXC,YAAY,GAAAL,IAAA,CAAZK,YAAY;MAAAC,qBAAA,GAAAN,IAAA,CACZO,gBAAgB;AAAhBA,MAAAA,gBAAgB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,qBAAA;MAAAE,qBAAA,GAAAR,IAAA,CAC3BS,iBAAiB;AAAjBA,MAAAA,iBAAiB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,qBAAA;MAC5BE,QAAQ,GAAAV,IAAA,CAARU,QAAQ;MACRC,KAAK,GAAAX,IAAA,CAALW,KAAK;MACLC,QAAQ,GAAAZ,IAAA,CAARY,QAAQ;MACRC,KAAK,GAAAb,IAAA,CAALa,KAAK;MACLC,WAAW,GAAAd,IAAA,CAAXc,WAAW;MACXC,OAAO,GAAAf,IAAA,CAAPe,OAAO;MAAAC,eAAA,GAAAhB,IAAA,CACPiB,UAAU;AAAVA,MAAAA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C,QAAQ;AAChBuC,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRlC,IAAAA,IAAI,EAAE;AACFmC,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDrC,IAAAA,IAAI,EAAE;AACFoC,MAAAA,GAAG,EAAEE,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNtC,IAAAA,IAAI,EAAE,SAAS;AACfD,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Cell.js","sources":["../../../src/components/Cell/Cell.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport type { CellProps } from './Cell.types';\nimport { base, CellLeft, CellRight, CellContentWrapper, CellContent } from './Cell.styles';\nimport { classes } from './Cell.tokens';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { CellTextbox } from './ui/CellTextbox/CellTextbox';\n\nexport const cellRoot = (Root: RootProps<HTMLDivElement, CellProps>) =>\n forwardRef<HTMLDivElement, CellProps>(\n (\n {\n size,\n view,\n contentLeft,\n contentRight,\n alignContentLeft = 'center',\n alignContentRight = 'center',\n children,\n title,\n subtitle,\n label,\n description,\n content,\n stretching = 'filled',\n },\n outerRootRef,\n ) => {\n const stretchingClass = classes[`${stretching}Stretching` as keyof typeof classes];\n const titleText = title || description;\n const contentLeftDeprecated = contentLeft || content;\n\n return (\n <Root ref={outerRootRef} size={size} view={view} className={cx(stretchingClass, classes.cellRoot)}>\n {contentLeftDeprecated && <CellLeft align={alignContentLeft}>{contentLeftDeprecated}</CellLeft>}\n <CellContentWrapper>\n <CellContent>\n {titleText || subtitle || label ? (\n <CellTextbox label={label} title={titleText} subtitle={subtitle} />\n ) : (\n children\n )}\n </CellContent>\n {contentRight && <CellRight align={alignContentRight}>{contentRight}</CellRight>}\n </CellContentWrapper>\n </Root>\n );\n },\n );\n\nexport const cellConfig = {\n name: 'Cell',\n tag: 'div',\n layout: cellRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["cellRoot","Root","forwardRef","_ref","outerRootRef","size","view","contentLeft","contentRight","_ref$alignContentLeft","alignContentLeft","_ref$alignContentRigh","alignContentRight","children","title","subtitle","label","description","content","_ref$stretching","stretching","stretchingClass","classes","concat","titleText","contentLeftDeprecated","React","createElement","ref","className","cx","CellLeft","align","CellContentWrapper","CellContent","CellTextbox","CellRight","cellConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","defaults"],"mappings":";;;;;;;;IAYaA,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,IAA0C,EAAA;AAAA,EAAA,oBAC/DC,UAAU,CACN,UAAAC,IAAA,EAgBIC,YAAY,EACX;AAAA,IAAA,IAfGC,IAAI,GAAAF,IAAA,CAAJE,IAAI;MACJC,IAAI,GAAAH,IAAA,CAAJG,IAAI;MACJC,WAAW,GAAAJ,IAAA,CAAXI,WAAW;MACXC,YAAY,GAAAL,IAAA,CAAZK,YAAY;MAAAC,qBAAA,GAAAN,IAAA,CACZO,gBAAgB;AAAhBA,MAAAA,gBAAgB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,qBAAA;MAAAE,qBAAA,GAAAR,IAAA,CAC3BS,iBAAiB;AAAjBA,MAAAA,iBAAiB,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,qBAAA;MAC5BE,QAAQ,GAAAV,IAAA,CAARU,QAAQ;MACRC,KAAK,GAAAX,IAAA,CAALW,KAAK;MACLC,QAAQ,GAAAZ,IAAA,CAARY,QAAQ;MACRC,KAAK,GAAAb,IAAA,CAALa,KAAK;MACLC,WAAW,GAAAd,IAAA,CAAXc,WAAW;MACXC,OAAO,GAAAf,IAAA,CAAPe,OAAO;MAAAC,eAA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AM6B,UAAU,GAAG;AACtBC,EAAAA,IAAI,EAAE,MAAM;AACZC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAExC,QAAQ;AAChByC,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRpC,IAAAA,IAAI,EAAE;AACFqC,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDvC,IAAAA,IAAI,EAAE;AACFsC,MAAAA,GAAG,EAAEE,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNxC,IAAAA,IAAI,EAAE,SAAS;AACfD,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { CellTextboxLabel } from '../CellTextboxLabel/CellTextboxLabel.js';
3
+ import { CellTextboxTitle } from '../CellTextboxTitle/CellTextboxTitle.js';
4
+ import { CellTextboxSubtitle } from '../CellTextboxSubtitle/CellTextboxSubtitle.js';
5
+ import { CellTextboxStyled } from './CellTextbox.styles.js';
6
+
7
+ var CellTextbox = function CellTextbox(_ref) {
8
+ var label = _ref.label,
9
+ title = _ref.title,
10
+ subtitle = _ref.subtitle,
11
+ children = _ref.children;
12
+ return /*#__PURE__*/React.createElement(CellTextboxStyled, null, label || title || subtitle ? /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement(CellTextboxLabel, null, label), title && /*#__PURE__*/React.createElement(CellTextboxTitle, null, title), subtitle && /*#__PURE__*/React.createElement(CellTextboxSubtitle, null, subtitle)) : children);
13
+ };
14
+
15
+ export { CellTextbox };
16
+ //# sourceMappingURL=CellTextbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.js","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nimport { CellTextboxLabel } from '../CellTextboxLabel/CellTextboxLabel';\nimport { CellTextboxTitle } from '../CellTextboxTitle/CellTextboxTitle';\nimport { CellTextboxSubtitle } from '../CellTextboxSubtitle/CellTextboxSubtitle';\n\nimport { CellTextboxStyled } from './CellTextbox.styles';\nimport type { CellTextboxProps } from './CellTextbox.types';\n\nexport const CellTextbox: React.FC<HTMLAttributes<HTMLDivElement> & CellTextboxProps> = ({\n label,\n title,\n subtitle,\n children,\n}) => {\n return (\n <CellTextboxStyled>\n {label || title || subtitle ? (\n <>\n {label && <CellTextboxLabel>{label}</CellTextboxLabel>}\n {title && <CellTextboxTitle>{title}</CellTextboxTitle>}\n {subtitle && <CellTextboxSubtitle>{subtitle}</CellTextboxSubtitle>}\n </>\n ) : (\n children\n )}\n </CellTextboxStyled>\n );\n};\n"],"names":["CellTextbox","_ref","label","title","subtitle","children","React","createElement","CellTextboxStyled","Fragment","CellTextboxLabel","CellTextboxTitle","CellTextboxSubtitle"],"mappings":";;;;;;IASaA,WAAwE,GAAG,SAA3EA,WAAwEA,CAAAC,IAAA,EAK/E;AAAA,EAAA,IAJFC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,KAAK,GAAAF,IAAA,CAALE,KAAK;IACLC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;IACRC,QAAQ,GAAAJ,IAAA,CAARI,QAAQ,CAAA;EAER,oBACIC,KAAA,CAAAC,aAAA,CAACC,iBAAiB,QACbN,KAAK,IAAIC,KAAK,IAAIC,QAAQ,gBACvBE,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAG,QAAA,EACKP,IAAAA,EAAAA,KAAK,iBAAII,KAAA,CAAAC,aAAA,CAACG,gBAAgB,QAAER,KAAwB,CAAC,EACrDC,KAAK,iBAAIG,KAAA,CAAAC,aAAA,CAACI,gBAAgB,EAAER,IAAAA,EAAAA,KAAwB,CAAC,EACrDC,QAAQ,iBAAIE,KAAA,CAAAC,aAAA,CAACK,mBAAmB,EAAER,IAAAA,EAAAA,QAA8B,CACnE,CAAC,GAEHC,QAEW,CAAC,CAAA;AAE5B;;;;"}
@@ -1,8 +1,8 @@
1
1
  import styled from 'styled-components';
2
- import { tokens } from '../Cell.tokens.js';
2
+ import { tokens } from '../../Cell.tokens.js';
3
3
 
4
4
  var CellTextboxStyled = /*#__PURE__*/styled.div.withConfig({
5
- componentId: "plasma-new-hope__sc-1t9f5dx-0"
5
+ componentId: "plasma-new-hope__sc-gn95dc-0"
6
6
  })(["display:flex;flex-direction:column;gap:var(", ");"], tokens.cellTextboxGap);
7
7
 
8
8
  export { CellTextboxStyled };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.styles.js","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nexport const CellTextboxStyled = styled.div`\n display: flex;\n flex-direction: column;\n gap: var(${tokens.cellTextboxGap});\n`;\n"],"names":["CellTextboxStyled","styled","div","withConfig","componentId","tokens","cellTextboxGap"],"mappings":";;;IAIaA,iBAAiB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CAG5BC,CAAAA,CAAAA,CAAAA,6CAAAA,EAAAA,IAAAA,CAAAA,EAAAA,MAAM,CAACC,cAAc;;;;"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { StyledTextboxLabel } from './CellTextboxLabel.styles.js';
3
+
4
+ var CellTextboxLabel = function CellTextboxLabel(props) {
5
+ return /*#__PURE__*/React.createElement(StyledTextboxLabel, null, props.children);
6
+ };
7
+
8
+ export { CellTextboxLabel };
9
+ //# sourceMappingURL=CellTextboxLabel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxLabel.js","sources":["../../../../../src/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nimport { StyledTextboxLabel } from './CellTextboxLabel.styles';\n\nexport const CellTextboxLabel: React.FC<HTMLAttributes<HTMLDivElement>> = (props) => {\n return <StyledTextboxLabel>{props.children}</StyledTextboxLabel>;\n};\n"],"names":["CellTextboxLabel","props","React","createElement","StyledTextboxLabel","children"],"mappings":";;;IAIaA,gBAA0D,GAAG,SAA7DA,gBAA0DA,CAAIC,KAAK,EAAK;EACjF,oBAAOC,KAAA,CAAAC,aAAA,CAACC,kBAAkB,EAAEH,IAAAA,EAAAA,KAAK,CAACI,QAA6B,CAAC,CAAA;AACpE;;;;"}
@@ -1,13 +1,9 @@
1
- import React from 'react';
2
1
  import styled from 'styled-components';
3
2
  import { tokens } from '../../Cell.tokens.js';
4
3
 
5
- var StyledTextLabel = /*#__PURE__*/styled.div.withConfig({
6
- componentId: "plasma-new-hope__sc-2pgst1-0"
4
+ var StyledTextboxLabel = /*#__PURE__*/styled.div.withConfig({
5
+ componentId: "plasma-new-hope__sc-1mmt0od-0"
7
6
  })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], tokens.cellLabelColor, tokens.cellLabelFontSize, tokens.cellLabelFontWeight, tokens.cellLabelFontFamily, tokens.cellLabelFontStyle, tokens.cellLabelLineHeight, tokens.cellLabelLetterSpacing);
8
- var CellTextboxLabel = function CellTextboxLabel(props) {
9
- return /*#__PURE__*/React.createElement(StyledTextLabel, null, props.children);
10
- };
11
7
 
12
- export { CellTextboxLabel };
13
- //# sourceMappingURL=CellTextLabel.js.map
8
+ export { StyledTextboxLabel };
9
+ //# sourceMappingURL=CellTextboxLabel.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxLabel.styles.js","sources":["../../../../../src/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nexport const StyledTextboxLabel = styled.div`\n color: var(${tokens.cellLabelColor});\n font-size: var(${tokens.cellLabelFontSize});\n font-weight: var(${tokens.cellLabelFontWeight});\n font-family: var(${tokens.cellLabelFontFamily});\n font-style: var(${tokens.cellLabelFontStyle});\n line-height: var(${tokens.cellLabelLineHeight});\n letter-spacing: var(${tokens.cellLabelLetterSpacing});\n`;\n"],"names":["StyledTextboxLabel","styled","div","withConfig","componentId","tokens","cellLabelColor","cellLabelFontSize","cellLabelFontWeight","cellLabelFontFamily","cellLabelFontStyle","cellLabelLineHeight","cellLabelLetterSpacing"],"mappings":";;;IAIaA,kBAAkB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CAC3BC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,MAAM,CAACC,cAAc,EACjBD,MAAM,CAACE,iBAAiB,EACtBF,MAAM,CAACG,mBAAmB,EAC1BH,MAAM,CAACI,mBAAmB,EAC3BJ,MAAM,CAACK,kBAAkB,EACxBL,MAAM,CAACM,mBAAmB,EACvBN,MAAM,CAACO,sBAAsB;;;;"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { StyledTextboxSubtitle } from './CellTextboxSubtitle.styles.js';
3
+
4
+ var CellTextboxSubtitle = function CellTextboxSubtitle(props) {
5
+ return /*#__PURE__*/React.createElement(StyledTextboxSubtitle, null, props.children);
6
+ };
7
+
8
+ export { CellTextboxSubtitle };
9
+ //# sourceMappingURL=CellTextboxSubtitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxSubtitle.js","sources":["../../../../../src/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nimport { StyledTextboxSubtitle } from './CellTextboxSubtitle.styles';\n\nexport const CellTextboxSubtitle: React.FC<HTMLAttributes<HTMLDivElement>> = (props) => {\n return <StyledTextboxSubtitle>{props.children}</StyledTextboxSubtitle>;\n};\n"],"names":["CellTextboxSubtitle","props","React","createElement","StyledTextboxSubtitle","children"],"mappings":";;;IAIaA,mBAA6D,GAAG,SAAhEA,mBAA6DA,CAAIC,KAAK,EAAK;EACpF,oBAAOC,KAAA,CAAAC,aAAA,CAACC,qBAAqB,EAAEH,IAAAA,EAAAA,KAAK,CAACI,QAAgC,CAAC,CAAA;AAC1E;;;;"}
@@ -1,13 +1,9 @@
1
- import React from 'react';
2
1
  import styled from 'styled-components';
3
2
  import { tokens } from '../../Cell.tokens.js';
4
3
 
5
- var StyledTextSubtitle = /*#__PURE__*/styled.div.withConfig({
6
- componentId: "plasma-new-hope__sc-12wzp7p-0"
4
+ var StyledTextboxSubtitle = /*#__PURE__*/styled.div.withConfig({
5
+ componentId: "plasma-new-hope__sc-1kug7tk-0"
7
6
  })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], tokens.cellSubtitleColor, tokens.cellSubtitleFontSize, tokens.cellSubtitleFontWeight, tokens.cellSubtitleFontFamily, tokens.cellSubtitleFontStyle, tokens.cellSubtitleLineHeight, tokens.cellSubtitleLetterSpacing);
8
- var CellTextboxSubtitle = function CellTextboxSubtitle(props) {
9
- return /*#__PURE__*/React.createElement(StyledTextSubtitle, null, props.children);
10
- };
11
7
 
12
- export { CellTextboxSubtitle };
13
- //# sourceMappingURL=CellTextSubtitle.js.map
8
+ export { StyledTextboxSubtitle };
9
+ //# sourceMappingURL=CellTextboxSubtitle.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxSubtitle.styles.js","sources":["../../../../../src/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nexport const StyledTextboxSubtitle = styled.div`\n color: var(${tokens.cellSubtitleColor});\n font-size: var(${tokens.cellSubtitleFontSize});\n font-weight: var(${tokens.cellSubtitleFontWeight});\n font-family: var(${tokens.cellSubtitleFontFamily});\n font-style: var(${tokens.cellSubtitleFontStyle});\n line-height: var(${tokens.cellSubtitleLineHeight});\n letter-spacing: var(${tokens.cellSubtitleLetterSpacing});\n`;\n"],"names":["StyledTextboxSubtitle","styled","div","withConfig","componentId","tokens","cellSubtitleColor","cellSubtitleFontSize","cellSubtitleFontWeight","cellSubtitleFontFamily","cellSubtitleFontStyle","cellSubtitleLineHeight","cellSubtitleLetterSpacing"],"mappings":";;;IAIaA,qBAAqB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CAC9BC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,MAAM,CAACC,iBAAiB,EACpBD,MAAM,CAACE,oBAAoB,EACzBF,MAAM,CAACG,sBAAsB,EAC7BH,MAAM,CAACI,sBAAsB,EAC9BJ,MAAM,CAACK,qBAAqB,EAC3BL,MAAM,CAACM,sBAAsB,EAC1BN,MAAM,CAACO,yBAAyB;;;;"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { StyledTextboxTitle } from './CellTextboxTitle.styles.js';
3
+
4
+ var CellTextboxTitle = function CellTextboxTitle(props) {
5
+ return /*#__PURE__*/React.createElement(StyledTextboxTitle, null, props.children);
6
+ };
7
+
8
+ export { CellTextboxTitle };
9
+ //# sourceMappingURL=CellTextboxTitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxTitle.js","sources":["../../../../../src/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nimport { StyledTextboxTitle } from './CellTextboxTitle.styles';\n\nexport const CellTextboxTitle: React.FC<HTMLAttributes<HTMLDivElement>> = (props) => {\n return <StyledTextboxTitle>{props.children}</StyledTextboxTitle>;\n};\n"],"names":["CellTextboxTitle","props","React","createElement","StyledTextboxTitle","children"],"mappings":";;;IAIaA,gBAA0D,GAAG,SAA7DA,gBAA0DA,CAAIC,KAAK,EAAK;EACjF,oBAAOC,KAAA,CAAAC,aAAA,CAACC,kBAAkB,EAAEH,IAAAA,EAAAA,KAAK,CAACI,QAA6B,CAAC,CAAA;AACpE;;;;"}
@@ -1,13 +1,9 @@
1
- import React from 'react';
2
1
  import styled from 'styled-components';
3
2
  import { tokens } from '../../Cell.tokens.js';
4
3
 
5
- var StyledTextTitle = /*#__PURE__*/styled.div.withConfig({
6
- componentId: "plasma-new-hope__sc-xt8zbj-0"
4
+ var StyledTextboxTitle = /*#__PURE__*/styled.div.withConfig({
5
+ componentId: "plasma-new-hope__sc-h92q43-0"
7
6
  })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], tokens.cellTitleColor, tokens.cellTitleFontSize, tokens.cellTitleFontWeight, tokens.cellTitleFontFamily, tokens.cellTitleFontStyle, tokens.cellTitleLineHeight, tokens.cellTitleLetterSpacing);
8
- var CellTextboxTitle = function CellTextboxTitle(props) {
9
- return /*#__PURE__*/React.createElement(StyledTextTitle, null, props.children);
10
- };
11
7
 
12
- export { CellTextboxTitle };
13
- //# sourceMappingURL=CellTextTitle.js.map
8
+ export { StyledTextboxTitle };
9
+ //# sourceMappingURL=CellTextboxTitle.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxTitle.styles.js","sources":["../../../../../src/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nexport const StyledTextboxTitle = styled.div`\n color: var(${tokens.cellTitleColor});\n font-size: var(${tokens.cellTitleFontSize});\n font-weight: var(${tokens.cellTitleFontWeight});\n font-family: var(${tokens.cellTitleFontFamily});\n font-style: var(${tokens.cellTitleFontStyle});\n line-height: var(${tokens.cellTitleLineHeight});\n letter-spacing: var(${tokens.cellTitleLetterSpacing});\n`;\n"],"names":["StyledTextboxTitle","styled","div","withConfig","componentId","tokens","cellTitleColor","cellTitleFontSize","cellTitleFontWeight","cellTitleFontFamily","cellTitleFontStyle","cellTitleLineHeight","cellTitleLetterSpacing"],"mappings":";;;IAIaA,kBAAkB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CAC3BC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,MAAM,CAACC,cAAc,EACjBD,MAAM,CAACE,iBAAiB,EACtBF,MAAM,CAACG,mBAAmB,EAC1BH,MAAM,CAACI,mBAAmB,EAC3BJ,MAAM,CAACK,kBAAkB,EACxBL,MAAM,CAACM,mBAAmB,EACvBN,MAAM,CAACO,sBAAsB;;;;"}
package/es/index.js CHANGED
@@ -19,12 +19,12 @@ export { buttonGroupConfig, buttonGroupRoot } from './components/ButtonGroup/But
19
19
  export { classes as buttonGroupClasses, tokens as buttonGroupTokens } from './components/ButtonGroup/ButtonGroup.tokens.js';
20
20
  export { chipConfig, chipRoot } from './components/Chip/Chip.js';
21
21
  export { tokens as chipTokens } from './components/Chip/Chip.tokens.js';
22
- export { CellTextboxLabel } from './components/Cell/CellTextbox/ui/CellTextLabel.js';
23
- export { CellTextboxTitle } from './components/Cell/CellTextbox/ui/CellTextTitle.js';
24
- export { CellTextboxSubtitle } from './components/Cell/CellTextbox/ui/CellTextSubtitle.js';
22
+ export { CellTextboxLabel } from './components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js';
23
+ export { CellTextboxTitle } from './components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js';
24
+ export { CellTextboxSubtitle } from './components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js';
25
25
  export { cellConfig, cellRoot } from './components/Cell/Cell.js';
26
26
  export { classes as cellClasses, tokens as cellTokens } from './components/Cell/Cell.tokens.js';
27
- export { CellTextbox } from './components/Cell/CellTextbox/CellTextbox.js';
27
+ export { CellTextbox } from './components/Cell/ui/CellTextbox/CellTextbox.js';
28
28
  export { linkConfig, linkRoot } from './components/Link/Link.js';
29
29
  export { spinnerConfig, spinnerRoot } from './components/Spinner/Spinner.js';
30
30
  export { tokens as spinnerTokens } from './components/Spinner/Spinner.tokens.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-new-hope",
3
- "version": "0.69.0-canary.1148.8507402029.0",
3
+ "version": "0.69.0-canary.1148.8535928735.0",
4
4
  "description": "Salute Design System blueprint",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -67,7 +67,7 @@
67
67
  "@rollup/plugin-babel": "^6.0.3",
68
68
  "@rollup/plugin-commonjs": "^25.0.4",
69
69
  "@rollup/plugin-node-resolve": "^15.1.0",
70
- "@salutejs/plasma-sb-utils": "0.154.0-dev.0",
70
+ "@salutejs/plasma-sb-utils": "0.155.0-canary.1148.8535928735.0",
71
71
  "@storybook/addon-docs": "^7.6.17",
72
72
  "@storybook/addon-essentials": "^7.6.17",
73
73
  "@storybook/addons": "^7.6.17",
@@ -97,10 +97,10 @@
97
97
  "@linaria/core": "5.0.2",
98
98
  "@linaria/react": "5.0.3",
99
99
  "@popperjs/core": "2.11.8",
100
- "@salutejs/plasma-core": "1.156.0-dev.0",
100
+ "@salutejs/plasma-core": "1.157.0-canary.1148.8535928735.0",
101
101
  "focus-visible": "5.2.0",
102
102
  "react-popper": "2.3.0",
103
103
  "storeon": "3.1.5"
104
104
  },
105
- "gitHead": "e179741d491562000569f61de63c9b2e2aa0e84a"
105
+ "gitHead": "e11e7f7d29679048b750983f256a8d48a1f95a53"
106
106
  }