@salutejs/plasma-new-hope 0.68.0-canary.1148.8452223133.0 → 0.68.0-canary.1151.8450920847.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/index.css +0 -4
- package/cjs/index.js +0 -14
- package/cjs/index.js.map +1 -1
- package/es/index.css +0 -4
- package/es/index.js +0 -6
- package/es/index.js.map +1 -1
- package/package.json +4 -4
- package/styled-components/cjs/index.js +0 -11
- package/styled-components/es/index.js +0 -1
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +2 -2
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +2 -2
- package/types/index.d.ts +0 -1
- package/types/index.d.ts.map +1 -1
- package/cjs/components/Cell/Cell.css +0 -3
- package/cjs/components/Cell/Cell.js +0 -71
- package/cjs/components/Cell/Cell.js.map +0 -1
- package/cjs/components/Cell/Cell.styles.js +0 -36
- package/cjs/components/Cell/Cell.styles.js.map +0 -1
- package/cjs/components/Cell/Cell.tokens.js +0 -50
- package/cjs/components/Cell/Cell.tokens.js.map +0 -1
- package/cjs/components/Cell/Textbox/Textbox.js +0 -20
- package/cjs/components/Cell/Textbox/Textbox.js.map +0 -1
- package/cjs/components/Cell/Textbox/Textbox.styles.js +0 -13
- package/cjs/components/Cell/Textbox/Textbox.styles.js.map +0 -1
- package/cjs/components/Cell/Textbox/ui/TextLabel.js +0 -17
- package/cjs/components/Cell/Textbox/ui/TextLabel.js.map +0 -1
- package/cjs/components/Cell/Textbox/ui/TextSubtitle.js +0 -17
- package/cjs/components/Cell/Textbox/ui/TextSubtitle.js.map +0 -1
- package/cjs/components/Cell/Textbox/ui/TextTitle.js +0 -17
- package/cjs/components/Cell/Textbox/ui/TextTitle.js.map +0 -1
- package/cjs/components/Cell/variations/_size/base.js +0 -9
- package/cjs/components/Cell/variations/_size/base.js.map +0 -1
- package/cjs/components/Cell/variations/_size/base_x642ct.css +0 -1
- package/cjs/components/Cell/variations/_stretching/base.js +0 -9
- package/cjs/components/Cell/variations/_stretching/base.js.map +0 -1
- package/cjs/components/Cell/variations/_stretching/base_1ryz4br.css +0 -1
- package/cjs/components/Cell/variations/_view/base.js +0 -9
- package/cjs/components/Cell/variations/_view/base.js.map +0 -1
- package/cjs/components/Cell/variations/_view/base_2qgj2i.css +0 -1
- package/es/components/Cell/Cell.css +0 -3
- package/es/components/Cell/Cell.js +0 -66
- package/es/components/Cell/Cell.js.map +0 -1
- package/es/components/Cell/Cell.styles.js +0 -29
- package/es/components/Cell/Cell.styles.js.map +0 -1
- package/es/components/Cell/Cell.tokens.js +0 -45
- package/es/components/Cell/Cell.tokens.js.map +0 -1
- package/es/components/Cell/Textbox/Textbox.js +0 -16
- package/es/components/Cell/Textbox/Textbox.js.map +0 -1
- package/es/components/Cell/Textbox/Textbox.styles.js +0 -9
- package/es/components/Cell/Textbox/Textbox.styles.js.map +0 -1
- package/es/components/Cell/Textbox/ui/TextLabel.js +0 -13
- package/es/components/Cell/Textbox/ui/TextLabel.js.map +0 -1
- package/es/components/Cell/Textbox/ui/TextSubtitle.js +0 -13
- package/es/components/Cell/Textbox/ui/TextSubtitle.js.map +0 -1
- package/es/components/Cell/Textbox/ui/TextTitle.js +0 -13
- package/es/components/Cell/Textbox/ui/TextTitle.js.map +0 -1
- package/es/components/Cell/variations/_size/base.js +0 -5
- package/es/components/Cell/variations/_size/base.js.map +0 -1
- package/es/components/Cell/variations/_size/base_x642ct.css +0 -1
- package/es/components/Cell/variations/_stretching/base.js +0 -5
- package/es/components/Cell/variations/_stretching/base.js.map +0 -1
- package/es/components/Cell/variations/_stretching/base_1ryz4br.css +0 -1
- package/es/components/Cell/variations/_view/base.js +0 -5
- package/es/components/Cell/variations/_view/base.js.map +0 -1
- package/es/components/Cell/variations/_view/base_2qgj2i.css +0 -1
- package/styled-components/cjs/components/Cell/Cell.js +0 -71
- package/styled-components/cjs/components/Cell/Cell.styles.js +0 -32
- package/styled-components/cjs/components/Cell/Cell.tokens.js +0 -48
- package/styled-components/cjs/components/Cell/Cell.types.js +0 -5
- package/styled-components/cjs/components/Cell/Textbox/Textbox.js +0 -19
- package/styled-components/cjs/components/Cell/Textbox/Textbox.styles.js +0 -12
- package/styled-components/cjs/components/Cell/Textbox/Textbox.types.js +0 -5
- package/styled-components/cjs/components/Cell/Textbox/ui/TextLabel.js +0 -16
- package/styled-components/cjs/components/Cell/Textbox/ui/TextSubtitle.js +0 -16
- package/styled-components/cjs/components/Cell/Textbox/ui/TextTitle.js +0 -16
- package/styled-components/cjs/components/Cell/index.js +0 -59
- package/styled-components/cjs/components/Cell/variations/_size/base.js +0 -8
- package/styled-components/cjs/components/Cell/variations/_size/tokens.json +0 -1
- package/styled-components/cjs/components/Cell/variations/_stretching/base.js +0 -9
- package/styled-components/cjs/components/Cell/variations/_stretching/tokens.json +0 -1
- package/styled-components/cjs/components/Cell/variations/_view/base.js +0 -9
- package/styled-components/cjs/components/Cell/variations/_view/tokens.json +0 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.config.js +0 -31
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.js +0 -35
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +0 -131
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.config.js +0 -31
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.js +0 -35
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +0 -131
- package/styled-components/es/components/Cell/Cell.js +0 -62
- package/styled-components/es/components/Cell/Cell.styles.js +0 -25
- package/styled-components/es/components/Cell/Cell.tokens.js +0 -42
- package/styled-components/es/components/Cell/Cell.types.js +0 -1
- package/styled-components/es/components/Cell/Textbox/Textbox.js +0 -12
- package/styled-components/es/components/Cell/Textbox/Textbox.styles.js +0 -5
- package/styled-components/es/components/Cell/Textbox/Textbox.types.js +0 -1
- package/styled-components/es/components/Cell/Textbox/ui/TextLabel.js +0 -9
- package/styled-components/es/components/Cell/Textbox/ui/TextSubtitle.js +0 -9
- package/styled-components/es/components/Cell/Textbox/ui/TextTitle.js +0 -9
- package/styled-components/es/components/Cell/index.js +0 -6
- package/styled-components/es/components/Cell/variations/_size/base.js +0 -2
- package/styled-components/es/components/Cell/variations/_size/tokens.json +0 -1
- package/styled-components/es/components/Cell/variations/_stretching/base.js +0 -3
- package/styled-components/es/components/Cell/variations/_stretching/tokens.json +0 -1
- package/styled-components/es/components/Cell/variations/_view/base.js +0 -3
- package/styled-components/es/components/Cell/variations/_view/tokens.json +0 -1
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.config.js +0 -25
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.js +0 -6
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +0 -131
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.config.js +0 -25
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.js +0 -6
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.stories.tsx +0 -131
- package/types/components/Cell/Cell.d.ts +0 -27
- package/types/components/Cell/Cell.d.ts.map +0 -1
- package/types/components/Cell/Cell.styles.d.ts +0 -10
- package/types/components/Cell/Cell.styles.d.ts.map +0 -1
- package/types/components/Cell/Cell.tokens.d.ts +0 -43
- package/types/components/Cell/Cell.tokens.d.ts.map +0 -1
- package/types/components/Cell/Cell.types.d.ts +0 -46
- package/types/components/Cell/Cell.types.d.ts.map +0 -1
- package/types/components/Cell/Textbox/Textbox.d.ts +0 -4
- package/types/components/Cell/Textbox/Textbox.d.ts.map +0 -1
- package/types/components/Cell/Textbox/Textbox.styles.d.ts +0 -2
- package/types/components/Cell/Textbox/Textbox.styles.d.ts.map +0 -1
- package/types/components/Cell/Textbox/Textbox.types.d.ts +0 -35
- package/types/components/Cell/Textbox/Textbox.types.d.ts.map +0 -1
- package/types/components/Cell/Textbox/ui/TextLabel.d.ts +0 -5
- package/types/components/Cell/Textbox/ui/TextLabel.d.ts.map +0 -1
- package/types/components/Cell/Textbox/ui/TextSubtitle.d.ts +0 -5
- package/types/components/Cell/Textbox/ui/TextSubtitle.d.ts.map +0 -1
- package/types/components/Cell/Textbox/ui/TextTitle.d.ts +0 -5
- package/types/components/Cell/Textbox/ui/TextTitle.d.ts.map +0 -1
- package/types/components/Cell/index.d.ts +0 -9
- package/types/components/Cell/index.d.ts.map +0 -1
- package/types/components/Cell/variations/_size/base.d.ts +0 -2
- package/types/components/Cell/variations/_size/base.d.ts.map +0 -1
- package/types/components/Cell/variations/_stretching/base.d.ts +0 -2
- package/types/components/Cell/variations/_stretching/base.d.ts.map +0 -1
- package/types/components/Cell/variations/_view/base.d.ts +0 -2
- package/types/components/Cell/variations/_view/base.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts +0 -24
- package/types/examples/plasma_b2c/components/Cell/Cell.config.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +0 -48
- package/types/examples/plasma_b2c/components/Cell/Cell.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Cell/Cell.config.d.ts +0 -24
- package/types/examples/plasma_web/components/Cell/Cell.config.d.ts.map +0 -1
- package/types/examples/plasma_web/components/Cell/Cell.d.ts +0 -48
- package/types/examples/plasma_web/components/Cell/Cell.d.ts.map +0 -1
package/cjs/index.css
CHANGED
@@ -46,10 +46,6 @@
|
|
46
46
|
.Chip_styles_1mwwhiw_swddmyi__07da4d18{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-chip-right-content-margin-left);margin-right:var(--plasma-chip-right-content-margin-right);}
|
47
47
|
.Chip_styles_1mwwhiw_s1pcflhj__07da4d18{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-chip-clear-content-margin-left);margin-right:var(--plasma-chip-clear-content-margin-right);color:var(--plasma-chip-close-icon-color);}
|
48
48
|
|
49
|
-
.base_2qgj2i_b1sr9i7l__db33292d{color:var(--plasma-cell-color);background-color:var(--plasma-cell-background-color);width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-cell-gap);}.base_2qgj2i_b1sr9i7l__db33292d:focus{outline:0 none;}
|
50
|
-
|
51
|
-
.base_1ryz4br_b1ppwsal__56529027.base_1ryz4br_cellStretchingFixed__56529027{width:var(--plasma-cell-width);}.base_1ryz4br_b1ppwsal__56529027.base_1ryz4br_cellStretchingFilled__56529027{width:100%;}.base_1ryz4br_b1ppwsal__56529027.base_1ryz4br_cellStretchingAuto__56529027{width:auto;}
|
52
|
-
|
53
49
|
.base_1vy4dme_bcchm3r__d3e4eaba{font-family:var(--plasma-link-font-family);color:var(--plasma-link-color);}.base_1vy4dme_bcchm3r__d3e4eaba::before{border-bottom:var(--plasma-link-underline-border) solid currentColor;}.base_1vy4dme_bcchm3r__d3e4eaba:hover{color:var(--plasma-link-color-hover,var(--plasma-link-color));}.base_1vy4dme_bcchm3r__d3e4eaba:hover::before{opacity:1;}.base_1vy4dme_bcchm3r__d3e4eaba:active{color:var(--plasma-link-color-active,var(--plasma-link-color));}.base_1vy4dme_bcchm3r__d3e4eaba:active::before{opacity:1;}.base_1vy4dme_bcchm3r__d3e4eaba:visited{color:var(--plasma-link-color-visited,var(--plasma-link-color));}.base_1vy4dme_bcchm3r__d3e4eaba:visited::before{opacity:1;}.base_1vy4dme_bcchm3r__d3e4eaba:visited:hover{color:var(--plasma-link-color-visited-hover,var(--plasma-link-color));}.base_1vy4dme_bcchm3r__d3e4eaba:visited:hover::before{opacity:1;}.base_1vy4dme_bcchm3r__d3e4eaba:visited:active{color:var(--plasma-link-color-visited-active,var(--plasma-link-color));}.base_1vy4dme_bcchm3r__d3e4eaba:visited:active::before{opacity:1;}
|
54
50
|
|
55
51
|
.base_1w750p8_b1j3f4f__d44baab5[disabled]{opacity:var(--plasma-link-disabled-opacity);cursor:not-allowed;}.base_1w750p8_b1j3f4f__d44baab5[disabled]:hover,.base_1w750p8_b1j3f4f__d44baab5[disabled]:active{color:var(--plasma-link-color);}.base_1w750p8_b1j3f4f__d44baab5[disabled]::before{opacity:1;}
|
package/cjs/index.js
CHANGED
@@ -23,12 +23,6 @@ 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 TextLabel = require('./components/Cell/Textbox/ui/TextLabel.js');
|
27
|
-
var TextTitle = require('./components/Cell/Textbox/ui/TextTitle.js');
|
28
|
-
var TextSubtitle = require('./components/Cell/Textbox/ui/TextSubtitle.js');
|
29
|
-
var Cell = require('./components/Cell/Cell.js');
|
30
|
-
var Cell_tokens = require('./components/Cell/Cell.tokens.js');
|
31
|
-
var Textbox = require('./components/Cell/Textbox/Textbox.js');
|
32
26
|
var Link = require('./components/Link/Link.js');
|
33
27
|
var Spinner = require('./components/Spinner/Spinner.js');
|
34
28
|
var Spinner_tokens = require('./components/Spinner/Spinner.tokens.js');
|
@@ -244,14 +238,6 @@ exports.buttonGroupTokens = ButtonGroup_tokens.tokens;
|
|
244
238
|
exports.chipConfig = Chip.chipConfig;
|
245
239
|
exports.chipRoot = Chip.chipRoot;
|
246
240
|
exports.chipTokens = Chip_tokens.tokens;
|
247
|
-
exports.TextLabel = TextLabel.TextLabel;
|
248
|
-
exports.TextTitle = TextTitle.TextTitle;
|
249
|
-
exports.TextSubtitle = TextSubtitle.TextSubtitle;
|
250
|
-
exports.cellConfig = Cell.cellConfig;
|
251
|
-
exports.cellRoot = Cell.cellRoot;
|
252
|
-
exports.cellClasses = Cell_tokens.classes;
|
253
|
-
exports.cellTokens = Cell_tokens.tokens;
|
254
|
-
exports.Textbox = Textbox.Textbox;
|
255
241
|
exports.linkConfig = Link.linkConfig;
|
256
242
|
exports.linkRoot = Link.linkRoot;
|
257
243
|
exports.spinnerConfig = Spinner.spinnerConfig;
|
package/cjs/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/es/index.css
CHANGED
@@ -46,10 +46,6 @@
|
|
46
46
|
.Chip_styles_1mwwhiw_swddmyi__07da4d18{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-chip-right-content-margin-left);margin-right:var(--plasma-chip-right-content-margin-right);}
|
47
47
|
.Chip_styles_1mwwhiw_s1pcflhj__07da4d18{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-chip-clear-content-margin-left);margin-right:var(--plasma-chip-clear-content-margin-right);color:var(--plasma-chip-close-icon-color);}
|
48
48
|
|
49
|
-
.base_2qgj2i_b1sr9i7l__db33292d{color:var(--plasma-cell-color);background-color:var(--plasma-cell-background-color);width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-cell-gap);}.base_2qgj2i_b1sr9i7l__db33292d:focus{outline:0 none;}
|
50
|
-
|
51
|
-
.base_1ryz4br_b1ppwsal__56529027.base_1ryz4br_cellStretchingFixed__56529027{width:var(--plasma-cell-width);}.base_1ryz4br_b1ppwsal__56529027.base_1ryz4br_cellStretchingFilled__56529027{width:100%;}.base_1ryz4br_b1ppwsal__56529027.base_1ryz4br_cellStretchingAuto__56529027{width:auto;}
|
52
|
-
|
53
49
|
.base_1vy4dme_bcchm3r__d3e4eaba{font-family:var(--plasma-link-font-family);color:var(--plasma-link-color);}.base_1vy4dme_bcchm3r__d3e4eaba::before{border-bottom:var(--plasma-link-underline-border) solid currentColor;}.base_1vy4dme_bcchm3r__d3e4eaba:hover{color:var(--plasma-link-color-hover,var(--plasma-link-color));}.base_1vy4dme_bcchm3r__d3e4eaba:hover::before{opacity:1;}.base_1vy4dme_bcchm3r__d3e4eaba:active{color:var(--plasma-link-color-active,var(--plasma-link-color));}.base_1vy4dme_bcchm3r__d3e4eaba:active::before{opacity:1;}.base_1vy4dme_bcchm3r__d3e4eaba:visited{color:var(--plasma-link-color-visited,var(--plasma-link-color));}.base_1vy4dme_bcchm3r__d3e4eaba:visited::before{opacity:1;}.base_1vy4dme_bcchm3r__d3e4eaba:visited:hover{color:var(--plasma-link-color-visited-hover,var(--plasma-link-color));}.base_1vy4dme_bcchm3r__d3e4eaba:visited:hover::before{opacity:1;}.base_1vy4dme_bcchm3r__d3e4eaba:visited:active{color:var(--plasma-link-color-visited-active,var(--plasma-link-color));}.base_1vy4dme_bcchm3r__d3e4eaba:visited:active::before{opacity:1;}
|
54
50
|
|
55
51
|
.base_1w750p8_b1j3f4f__d44baab5[disabled]{opacity:var(--plasma-link-disabled-opacity);cursor:not-allowed;}.base_1w750p8_b1j3f4f__d44baab5[disabled]:hover,.base_1w750p8_b1j3f4f__d44baab5[disabled]:active{color:var(--plasma-link-color);}.base_1w750p8_b1j3f4f__d44baab5[disabled]::before{opacity:1;}
|
package/es/index.js
CHANGED
@@ -19,12 +19,6 @@ 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 { TextLabel } from './components/Cell/Textbox/ui/TextLabel.js';
|
23
|
-
export { TextTitle } from './components/Cell/Textbox/ui/TextTitle.js';
|
24
|
-
export { TextSubtitle } from './components/Cell/Textbox/ui/TextSubtitle.js';
|
25
|
-
export { cellConfig, cellRoot } from './components/Cell/Cell.js';
|
26
|
-
export { classes as cellClasses, tokens as cellTokens } from './components/Cell/Cell.tokens.js';
|
27
|
-
export { Textbox } from './components/Cell/Textbox/Textbox.js';
|
28
22
|
export { linkConfig, linkRoot } from './components/Link/Link.js';
|
29
23
|
export { spinnerConfig, spinnerRoot } from './components/Spinner/Spinner.js';
|
30
24
|
export { tokens as spinnerTokens } from './components/Spinner/Spinner.tokens.js';
|
package/es/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
3
|
-
"version": "0.68.0-canary.
|
3
|
+
"version": "0.68.0-canary.1151.8450920847.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.
|
70
|
+
"@salutejs/plasma-sb-utils": "0.154.0-canary.1151.8450920847.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.
|
100
|
+
"@salutejs/plasma-core": "1.156.0-canary.1151.8450920847.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": "
|
105
|
+
"gitHead": "a527569031da7e27e75935fa527abd7f93a28476"
|
106
106
|
}
|
@@ -69,17 +69,6 @@ Object.keys(_Chip).forEach(function (key) {
|
|
69
69
|
}
|
70
70
|
});
|
71
71
|
});
|
72
|
-
var _Cell = /*#__PURE__*/require("./components/Cell");
|
73
|
-
Object.keys(_Cell).forEach(function (key) {
|
74
|
-
if (key === "default" || key === "__esModule") return;
|
75
|
-
if (key in exports && exports[key] === _Cell[key]) return;
|
76
|
-
Object.defineProperty(exports, key, {
|
77
|
-
enumerable: true,
|
78
|
-
get: function get() {
|
79
|
-
return _Cell[key];
|
80
|
-
}
|
81
|
-
});
|
82
|
-
});
|
83
72
|
var _Link = /*#__PURE__*/require("./components/Link");
|
84
73
|
Object.keys(_Link).forEach(function (key) {
|
85
74
|
if (key === "default" || key === "__esModule") return;
|
@@ -6,7 +6,6 @@ export * from './hooks';
|
|
6
6
|
export * from './components/Button';
|
7
7
|
export * from './components/ButtonGroup';
|
8
8
|
export * from './components/Chip';
|
9
|
-
export * from './components/Cell';
|
10
9
|
export * from './components/Link';
|
11
10
|
export * from './components/Spinner';
|
12
11
|
export * from './components/Checkbox';
|
@@ -9,11 +9,11 @@ export declare const Combobox: import("react").FunctionComponent<import("../../.
|
|
9
9
|
view: {
|
10
10
|
default: import("@linaria/core").LinariaClassName;
|
11
11
|
};
|
12
|
-
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "
|
12
|
+
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
|
13
13
|
valueType?: "single" | undefined;
|
14
14
|
value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined;
|
15
15
|
onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined) => void) | undefined;
|
16
|
-
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "
|
16
|
+
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
|
17
17
|
valueType: "multiple";
|
18
18
|
value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined;
|
19
19
|
onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
|
@@ -9,11 +9,11 @@ export declare const Combobox: import("react").FunctionComponent<import("../../.
|
|
9
9
|
view: {
|
10
10
|
default: import("@linaria/core").LinariaClassName;
|
11
11
|
};
|
12
|
-
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "
|
12
|
+
}> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
|
13
13
|
valueType?: "single" | undefined;
|
14
14
|
value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined;
|
15
15
|
onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined) => void) | undefined;
|
16
|
-
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "
|
16
|
+
} & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "minLength" | "maxLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
|
17
17
|
valueType: "multiple";
|
18
18
|
value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined;
|
19
19
|
onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
|
package/types/index.d.ts
CHANGED
@@ -4,7 +4,6 @@ export * from './hooks';
|
|
4
4
|
export * from './components/Button';
|
5
5
|
export * from './components/ButtonGroup';
|
6
6
|
export * from './components/Chip';
|
7
|
-
export * from './components/Cell';
|
8
7
|
export * from './components/Link';
|
9
8
|
export * from './components/Spinner';
|
10
9
|
export * from './components/Checkbox';
|
package/types/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
|
@@ -1,3 +0,0 @@
|
|
1
|
-
.base_2qgj2i_b1sr9i7l__db33292d{color:var(--plasma-cell-color);background-color:var(--plasma-cell-background-color);width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-cell-gap);}.base_2qgj2i_b1sr9i7l__db33292d:focus{outline:0 none;}
|
2
|
-
|
3
|
-
.base_1ryz4br_b1ppwsal__56529027.base_1ryz4br_cellStretchingFixed__56529027{width:var(--plasma-cell-width);}.base_1ryz4br_b1ppwsal__56529027.base_1ryz4br_cellStretchingFilled__56529027{width:100%;}.base_1ryz4br_b1ppwsal__56529027.base_1ryz4br_cellStretchingAuto__56529027{width:auto;}
|
@@ -1,71 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var React = require('react');
|
6
|
-
var index = require('../../utils/index.js');
|
7
|
-
var Cell_styles = require('./Cell.styles.js');
|
8
|
-
var Cell_tokens = require('./Cell.tokens.js');
|
9
|
-
var base = require('./variations/_view/base.js');
|
10
|
-
var base$1 = require('./variations/_size/base.js');
|
11
|
-
var base$2 = require('./variations/_stretching/base.js');
|
12
|
-
var Textbox = require('./Textbox/Textbox.js');
|
13
|
-
|
14
|
-
var cellRoot = function cellRoot(Root) {
|
15
|
-
return /*#__PURE__*/React.forwardRef(function (_ref, outerRootRef) {
|
16
|
-
var size = _ref.size,
|
17
|
-
view = _ref.view,
|
18
|
-
contentLeft = _ref.contentLeft,
|
19
|
-
contentRight = _ref.contentRight,
|
20
|
-
_ref$alignLeft = _ref.alignLeft,
|
21
|
-
alignLeft = _ref$alignLeft === void 0 ? 'center' : _ref$alignLeft,
|
22
|
-
_ref$alignRight = _ref.alignRight,
|
23
|
-
alignRight = _ref$alignRight === void 0 ? 'center' : _ref$alignRight,
|
24
|
-
children = _ref.children,
|
25
|
-
title = _ref.title,
|
26
|
-
subtitle = _ref.subtitle,
|
27
|
-
label = _ref.label,
|
28
|
-
stretching = _ref.stretching;
|
29
|
-
var stretchingClass = Cell_tokens.classes["".concat(stretching, "Stretching")];
|
30
|
-
return /*#__PURE__*/React.createElement(Root, {
|
31
|
-
ref: outerRootRef,
|
32
|
-
size: size,
|
33
|
-
view: view,
|
34
|
-
className: index.cx(stretchingClass, Cell_tokens.classes.cellRoot)
|
35
|
-
}, contentLeft && /*#__PURE__*/React.createElement(Cell_styles.CellLeft, {
|
36
|
-
align: alignLeft
|
37
|
-
}, contentLeft), /*#__PURE__*/React.createElement(Cell_styles.CellContentWrapper, null, /*#__PURE__*/React.createElement(Cell_styles.CellContent, null, title || subtitle || label ? /*#__PURE__*/React.createElement(Textbox.Textbox, {
|
38
|
-
label: label,
|
39
|
-
title: title,
|
40
|
-
subtitle: subtitle
|
41
|
-
}) : children && children), contentRight && /*#__PURE__*/React.createElement(Cell_styles.CellRight, {
|
42
|
-
align: alignRight
|
43
|
-
}, contentRight)));
|
44
|
-
});
|
45
|
-
};
|
46
|
-
var cellConfig = {
|
47
|
-
name: 'Cell',
|
48
|
-
tag: 'div',
|
49
|
-
layout: cellRoot,
|
50
|
-
base: '',
|
51
|
-
variations: {
|
52
|
-
view: {
|
53
|
-
css: base.base
|
54
|
-
},
|
55
|
-
size: {
|
56
|
-
css: base$1.base
|
57
|
-
},
|
58
|
-
stretching: {
|
59
|
-
css: base$2.base
|
60
|
-
}
|
61
|
-
},
|
62
|
-
defaults: {
|
63
|
-
view: 'default',
|
64
|
-
size: 'm',
|
65
|
-
stretching: 'filled'
|
66
|
-
}
|
67
|
-
};
|
68
|
-
|
69
|
-
exports.cellConfig = cellConfig;
|
70
|
-
exports.cellRoot = cellRoot;
|
71
|
-
//# sourceMappingURL=Cell.js.map
|
@@ -1 +0,0 @@
|
|
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 { 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 { base as stretchingCSS } from './variations/_stretching/base';\nimport { Textbox } from './Textbox/Textbox';\n\nexport const cellRoot = (Root: RootProps<HTMLSelectElement, CellProps>) =>\n forwardRef<HTMLSelectElement, CellProps>(\n (\n {\n size,\n view,\n contentLeft,\n contentRight,\n alignLeft = 'center',\n alignRight = 'center',\n children,\n title,\n subtitle,\n label,\n stretching,\n },\n outerRootRef,\n ) => {\n const stretchingClass = classes[`${stretching}Stretching` as keyof typeof classes];\n\n return (\n <Root ref={outerRootRef} size={size} view={view} className={cx(stretchingClass, classes.cellRoot)}>\n {contentLeft && <CellLeft align={alignLeft}>{contentLeft}</CellLeft>}\n <CellContentWrapper>\n <CellContent>\n {title || subtitle || label ? (\n <Textbox label={label} title={title} subtitle={subtitle} />\n ) : (\n children && children\n )}\n </CellContent>\n {contentRight && <CellRight align={alignRight}>{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 stretching: {\n css: stretchingCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n stretching: 'filled',\n },\n};\n"],"names":["cellRoot","Root","forwardRef","_ref","outerRootRef","size","view","contentLeft","contentRight","_ref$alignLeft","alignLeft","_ref$alignRight","alignRight","children","title","subtitle","label","stretching","stretchingClass","classes","concat","React","createElement","ref","className","cx","CellLeft","align","CellContentWrapper","CellContent","Textbox","CellRight","cellConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","stretchingCSS","defaults"],"mappings":";;;;;;;;;;;;;IAaaA,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,IAA6C,EAAA;AAAA,EAAA,oBAClEC,gBAAU,CACN,UAAAC,IAAA,EAcIC,YAAY,EACX;AAAA,IAAA,IAbGC,IAAI,GAAAF,IAAA,CAAJE,IAAI;MACJC,IAAI,GAAAH,IAAA,CAAJG,IAAI;MACJC,WAAW,GAAAJ,IAAA,CAAXI,WAAW;MACXC,YAAY,GAAAL,IAAA,CAAZK,YAAY;MAAAC,cAAA,GAAAN,IAAA,CACZO,SAAS;AAATA,MAAAA,SAAS,GAAAD,cAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,cAAA;MAAAE,eAAA,GAAAR,IAAA,CACpBS,UAAU;AAAVA,MAAAA,UAAU,GAAAD,eAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,eAAA;MACrBE,QAAQ,GAAAV,IAAA,CAARU,QAAQ;MACRC,KAAK,GAAAX,IAAA,CAALW,KAAK;MACLC,QAAQ,GAAAZ,IAAA,CAARY,QAAQ;MACRC,KAAK,GAAAb,IAAA,CAALa,KAAK;MACLC,UAAU,GAAAd,IAAA,CAAVc,UAAU,CAAA;AAId,IAAA,IAAMC,eAAe,GAAGC,mBAAO,IAAAC,MAAA,CAAIH,UAAU,EAAqC,YAAA,CAAA,CAAA,CAAA;AAElF,IAAA,oBACII,KAAA,CAAAC,aAAA,CAACrB,IAAI,EAAA;AAACsB,MAAAA,GAAG,EAAEnB,YAAa;AAACC,MAAAA,IAAI,EAAEA,IAAK;AAACC,MAAAA,IAAI,EAAEA,IAAK;AAACkB,MAAAA,SAAS,EAAEC,QAAE,CAACP,eAAe,EAAEC,mBAAO,CAACnB,QAAQ,CAAA;AAAE,KAAA,EAC7FO,WAAW,iBAAIc,KAAA,CAAAC,aAAA,CAACI,oBAAQ,EAAA;AAACC,MAAAA,KAAK,EAAEjB,SAAAA;KAAYH,EAAAA,WAAsB,CAAC,eACpEc,KAAA,CAAAC,aAAA,CAACM,8BAAkB,EACfP,IAAAA,eAAAA,KAAA,CAAAC,aAAA,CAACO,uBAAW,EAAA,IAAA,EACPf,KAAK,IAAIC,QAAQ,IAAIC,KAAK,gBACvBK,KAAA,CAAAC,aAAA,CAACQ,eAAO,EAAA;AAACd,MAAAA,KAAK,EAAEA,KAAM;AAACF,MAAAA,KAAK,EAAEA,KAAM;AAACC,MAAAA,QAAQ,EAAEA,QAAAA;AAAS,KAAE,CAAC,GAE3DF,QAAQ,IAAIA,QAEP,CAAC,EACbL,YAAY,iBAAIa,KAAA,CAAAC,aAAA,CAACS,qBAAS,EAAA;AAACJ,MAAAA,KAAK,EAAEf,UAAAA;KAAaJ,EAAAA,YAAwB,CACxD,CAClB,CAAC,CAAA;AAEf,GACJ,CAAC,CAAA;AAAA,EAAA;AAEE,IAAMwB,UAAU,GAAG;AACtBC,EAAAA,IAAI,EAAE,MAAM;AACZC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEnC,QAAQ;AAChBoC,EAAAA,IAAI,EAAE,EAAE;AACRC,EAAAA,UAAU,EAAE;AACR/B,IAAAA,IAAI,EAAE;AACFgC,MAAAA,GAAG,EAAEC,SAAAA;KACR;AACDlC,IAAAA,IAAI,EAAE;AACFiC,MAAAA,GAAG,EAAEE,WAAAA;KACR;AACDvB,IAAAA,UAAU,EAAE;AACRqB,MAAAA,GAAG,EAAEG,WAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNpC,IAAAA,IAAI,EAAE,SAAS;AACfD,IAAAA,IAAI,EAAE,GAAG;AACTY,IAAAA,UAAU,EAAE,QAAA;AAChB,GAAA;AACJ;;;;;"}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var styled = require('styled-components');
|
6
|
-
var Cell_tokens = require('./Cell.tokens.js');
|
7
|
-
|
8
|
-
var alignToFlex = {
|
9
|
-
center: 'center',
|
10
|
-
top: 'flex-start',
|
11
|
-
bottom: 'flex-end'
|
12
|
-
};
|
13
|
-
var CellContentWrapper = /*#__PURE__*/styled.div.withConfig({
|
14
|
-
componentId: "plasma-new-hope__sc-taup5i-0"
|
15
|
-
})(["display:flex;flex:auto;justify-content:space-between;gap:var(", ");"], Cell_tokens.tokens.cellGap);
|
16
|
-
var CellContent = /*#__PURE__*/styled.div.withConfig({
|
17
|
-
componentId: "plasma-new-hope__sc-taup5i-1"
|
18
|
-
})(["display:flex;align-items:center;"]);
|
19
|
-
var CellLeft = /*#__PURE__*/styled.div.withConfig({
|
20
|
-
componentId: "plasma-new-hope__sc-taup5i-2"
|
21
|
-
})(["display:flex;align-items:", ";"], function (_ref) {
|
22
|
-
var align = _ref.align;
|
23
|
-
return alignToFlex[align];
|
24
|
-
});
|
25
|
-
var CellRight = /*#__PURE__*/styled.div.withConfig({
|
26
|
-
componentId: "plasma-new-hope__sc-taup5i-3"
|
27
|
-
})(["display:flex;align-items:", ";text-align:right;"], function (_ref2) {
|
28
|
-
var align = _ref2.align;
|
29
|
-
return alignToFlex[align];
|
30
|
-
});
|
31
|
-
|
32
|
-
exports.CellContent = CellContent;
|
33
|
-
exports.CellContentWrapper = CellContentWrapper;
|
34
|
-
exports.CellLeft = CellLeft;
|
35
|
-
exports.CellRight = CellRight;
|
36
|
-
//# sourceMappingURL=Cell.styles.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Cell.styles.js","sources":["../../../src/components/Cell/Cell.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport type { AlignLeftProp, AlignRightProp } from './Cell.types';\nimport { tokens } from './Cell.tokens';\n\nconst alignToFlex = {\n center: 'center',\n top: 'flex-start',\n bottom: 'flex-end',\n};\n\nexport const CellContentWrapper = styled.div`\n display: flex;\n flex: auto;\n justify-content: space-between;\n gap: var(${tokens.cellGap});\n`;\n\nexport const CellContent = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const CellLeft = styled.div<{ align: AlignLeftProp }>`\n display: flex;\n align-items: ${({ align }) => alignToFlex[align]};\n`;\n\nexport const CellRight = styled.div<{ align: AlignRightProp }>`\n display: flex;\n align-items: ${({ align }) => alignToFlex[align]};\n text-align: right;\n`;\n"],"names":["alignToFlex","center","top","bottom","CellContentWrapper","styled","div","withConfig","componentId","tokens","cellGap","CellContent","CellLeft","_ref","align","CellRight","_ref2"],"mappings":";;;;;;;AAKA,IAAMA,WAAW,GAAG;AAChBC,EAAAA,MAAM,EAAE,QAAQ;AAChBC,EAAAA,GAAG,EAAE,YAAY;AACjBC,EAAAA,MAAM,EAAE,UAAA;AACZ,CAAC,CAAA;IAEYC,kBAAkB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CAI7BC,CAAAA,CAAAA,CAAAA,+DAAAA,EAAAA,IAAAA,CAAAA,EAAAA,kBAAM,CAACC,OAAO,EAC5B;IAEYC,WAAW,gBAAGN,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CAGpC,CAAA,CAAA,CAAA,kCAAA,CAAA,EAAA;IAEYI,QAAQ,gBAAGP,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CAAA,CAAA,CAAA,CAAA,2BAAA,EAAA,GAAA,CAAA,EAEf,UAAAK,IAAA,EAAA;AAAA,EAAA,IAAGC,KAAK,GAAAD,IAAA,CAALC,KAAK,CAAA;EAAA,OAAOd,WAAW,CAACc,KAAK,CAAC,CAAA;AAAA,CACnD,EAAA;IAEYC,SAAS,gBAAGV,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CAAA,CAAA,CAAA,CAAA,2BAAA,EAAA,oBAAA,CAAA,EAEhB,UAAAQ,KAAA,EAAA;AAAA,EAAA,IAAGF,KAAK,GAAAE,KAAA,CAALF,KAAK,CAAA;EAAA,OAAOd,WAAW,CAACc,KAAK,CAAC,CAAA;AAAA,CAEnD;;;;;;;"}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var tokens = {
|
6
|
-
cellColor: '--plasma-cell-color',
|
7
|
-
cellBackgroundColor: '--plasma-cell-background-color',
|
8
|
-
cellPadding: '--plasma-cell-padding',
|
9
|
-
cellPaddingLeftContent: '--plasma-cell-padding-left-content',
|
10
|
-
cellPaddingContent: '--plasma-cell-padding-content',
|
11
|
-
cellPaddingRightContent: '--plasma-cell-padding-right-content',
|
12
|
-
cellTextboxGap: '--plasma-cell-textbox-gap',
|
13
|
-
cellGap: '--plasma-cell-gap',
|
14
|
-
cellWidth: '--plasma-cell-width',
|
15
|
-
cellLabelColor: '--plasma-cell-label-color',
|
16
|
-
cellLabelFontFamily: '--plasma-cell-label-font-family',
|
17
|
-
cellLabelFontSize: '--plasma-cell-label-font-size',
|
18
|
-
cellLabelFontStyle: '--plasma-cell-label-font-style',
|
19
|
-
cellLabelFontWeight: '--plasma-cell-label-font-weight',
|
20
|
-
cellLabelLetterSpacing: '--plasma-cell-label-letter-spacing',
|
21
|
-
cellLabelLineHeight: '--plasma-cell-label-line-height',
|
22
|
-
cellTitleColor: '--plasma-cell-title-color',
|
23
|
-
cellTitleFontFamily: '--plasma-cell-title-font-family',
|
24
|
-
cellTitleFontSize: '--plasma-cell-title-font-size',
|
25
|
-
cellTitleFontStyle: '--plasma-cell-title-font-style',
|
26
|
-
cellTitleFontWeight: '--plasma-cell-title-font-weight',
|
27
|
-
cellTitleLetterSpacing: '--plasma-cell-title-letter-spacing',
|
28
|
-
cellTitleLineHeight: '--plasma-cell-title-line-height',
|
29
|
-
cellSubtitleColor: '--plasma-cell-subtitle-color',
|
30
|
-
cellSubtitleFontFamily: '--plasma-cell-subtitle-font-family',
|
31
|
-
cellSubtitleFontSize: '--plasma-cell-subtitle-font-size',
|
32
|
-
cellSubtitleFontStyle: '--plasma-cell-subtitle-font-style',
|
33
|
-
cellSubtitleFontWeight: '--plasma-cell-subtitle-font-weight',
|
34
|
-
cellSubtitleLetterSpacing: '--plasma-cell-subtitle-letter-spacing',
|
35
|
-
cellSubtitleLineHeight: '--plasma-cell-subtitle-line-height'
|
36
|
-
};
|
37
|
-
var classes = {
|
38
|
-
autoStretching: 'cell-stretching-auto',
|
39
|
-
filledStretching: 'cell-stretching-filled',
|
40
|
-
fixedStretching: 'cell-stretching-fixed',
|
41
|
-
cellWrapper: 'cell-wrapper',
|
42
|
-
cellRoot: 'cell-root',
|
43
|
-
cellContent: 'cell-content',
|
44
|
-
cellLeftContent: 'cell-left-content',
|
45
|
-
cellRightContent: 'cell-right-content'
|
46
|
-
};
|
47
|
-
|
48
|
-
exports.classes = classes;
|
49
|
-
exports.tokens = tokens;
|
50
|
-
//# sourceMappingURL=Cell.tokens.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Cell.tokens.js","sources":["../../../src/components/Cell/Cell.tokens.ts"],"sourcesContent":["export const tokens = {\n cellColor: '--plasma-cell-color',\n cellBackgroundColor: '--plasma-cell-background-color',\n\n cellPadding: '--plasma-cell-padding',\n cellPaddingLeftContent: '--plasma-cell-padding-left-content',\n cellPaddingContent: '--plasma-cell-padding-content',\n cellPaddingRightContent: '--plasma-cell-padding-right-content',\n\n cellTextboxGap: '--plasma-cell-textbox-gap',\n cellGap: '--plasma-cell-gap',\n\n cellWidth: '--plasma-cell-width',\n\n cellLabelColor: '--plasma-cell-label-color',\n cellLabelFontFamily: '--plasma-cell-label-font-family',\n cellLabelFontSize: '--plasma-cell-label-font-size',\n cellLabelFontStyle: '--plasma-cell-label-font-style',\n cellLabelFontWeight: '--plasma-cell-label-font-weight',\n cellLabelLetterSpacing: '--plasma-cell-label-letter-spacing',\n cellLabelLineHeight: '--plasma-cell-label-line-height',\n\n cellTitleColor: '--plasma-cell-title-color',\n cellTitleFontFamily: '--plasma-cell-title-font-family',\n cellTitleFontSize: '--plasma-cell-title-font-size',\n cellTitleFontStyle: '--plasma-cell-title-font-style',\n cellTitleFontWeight: '--plasma-cell-title-font-weight',\n cellTitleLetterSpacing: '--plasma-cell-title-letter-spacing',\n cellTitleLineHeight: '--plasma-cell-title-line-height',\n\n cellSubtitleColor: '--plasma-cell-subtitle-color',\n cellSubtitleFontFamily: '--plasma-cell-subtitle-font-family',\n cellSubtitleFontSize: '--plasma-cell-subtitle-font-size',\n cellSubtitleFontStyle: '--plasma-cell-subtitle-font-style',\n cellSubtitleFontWeight: '--plasma-cell-subtitle-font-weight',\n cellSubtitleLetterSpacing: '--plasma-cell-subtitle-letter-spacing',\n cellSubtitleLineHeight: '--plasma-cell-subtitle-line-height',\n};\n\nexport const classes = {\n autoStretching: 'cell-stretching-auto',\n filledStretching: 'cell-stretching-filled',\n fixedStretching: 'cell-stretching-fixed',\n\n cellWrapper: 'cell-wrapper',\n cellRoot: 'cell-root',\n cellContent: 'cell-content',\n cellLeftContent: 'cell-left-content',\n cellRightContent: 'cell-right-content',\n};\n"],"names":["tokens","cellColor","cellBackgroundColor","cellPadding","cellPaddingLeftContent","cellPaddingContent","cellPaddingRightContent","cellTextboxGap","cellGap","cellWidth","cellLabelColor","cellLabelFontFamily","cellLabelFontSize","cellLabelFontStyle","cellLabelFontWeight","cellLabelLetterSpacing","cellLabelLineHeight","cellTitleColor","cellTitleFontFamily","cellTitleFontSize","cellTitleFontStyle","cellTitleFontWeight","cellTitleLetterSpacing","cellTitleLineHeight","cellSubtitleColor","cellSubtitleFontFamily","cellSubtitleFontSize","cellSubtitleFontStyle","cellSubtitleFontWeight","cellSubtitleLetterSpacing","cellSubtitleLineHeight","classes","autoStretching","filledStretching","fixedStretching","cellWrapper","cellRoot","cellContent","cellLeftContent","cellRightContent"],"mappings":";;;;AAAO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,SAAS,EAAE,qBAAqB;AAChCC,EAAAA,mBAAmB,EAAE,gCAAgC;AAErDC,EAAAA,WAAW,EAAE,uBAAuB;AACpCC,EAAAA,sBAAsB,EAAE,oCAAoC;AAC5DC,EAAAA,kBAAkB,EAAE,+BAA+B;AACnDC,EAAAA,uBAAuB,EAAE,qCAAqC;AAE9DC,EAAAA,cAAc,EAAE,2BAA2B;AAC3CC,EAAAA,OAAO,EAAE,mBAAmB;AAE5BC,EAAAA,SAAS,EAAE,qBAAqB;AAEhCC,EAAAA,cAAc,EAAE,2BAA2B;AAC3CC,EAAAA,mBAAmB,EAAE,iCAAiC;AACtDC,EAAAA,iBAAiB,EAAE,+BAA+B;AAClDC,EAAAA,kBAAkB,EAAE,gCAAgC;AACpDC,EAAAA,mBAAmB,EAAE,iCAAiC;AACtDC,EAAAA,sBAAsB,EAAE,oCAAoC;AAC5DC,EAAAA,mBAAmB,EAAE,iCAAiC;AAEtDC,EAAAA,cAAc,EAAE,2BAA2B;AAC3CC,EAAAA,mBAAmB,EAAE,iCAAiC;AACtDC,EAAAA,iBAAiB,EAAE,+BAA+B;AAClDC,EAAAA,kBAAkB,EAAE,gCAAgC;AACpDC,EAAAA,mBAAmB,EAAE,iCAAiC;AACtDC,EAAAA,sBAAsB,EAAE,oCAAoC;AAC5DC,EAAAA,mBAAmB,EAAE,iCAAiC;AAEtDC,EAAAA,iBAAiB,EAAE,8BAA8B;AACjDC,EAAAA,sBAAsB,EAAE,oCAAoC;AAC5DC,EAAAA,oBAAoB,EAAE,kCAAkC;AACxDC,EAAAA,qBAAqB,EAAE,mCAAmC;AAC1DC,EAAAA,sBAAsB,EAAE,oCAAoC;AAC5DC,EAAAA,yBAAyB,EAAE,uCAAuC;AAClEC,EAAAA,sBAAsB,EAAE,oCAAA;AAC5B,EAAC;AAEM,IAAMC,OAAO,GAAG;AACnBC,EAAAA,cAAc,EAAE,sBAAsB;AACtCC,EAAAA,gBAAgB,EAAE,wBAAwB;AAC1CC,EAAAA,eAAe,EAAE,uBAAuB;AAExCC,EAAAA,WAAW,EAAE,cAAc;AAC3BC,EAAAA,QAAQ,EAAE,WAAW;AACrBC,EAAAA,WAAW,EAAE,cAAc;AAC3BC,EAAAA,eAAe,EAAE,mBAAmB;AACpCC,EAAAA,gBAAgB,EAAE,oBAAA;AACtB;;;;;"}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var React = require('react');
|
6
|
-
var Textbox_styles = require('./Textbox.styles.js');
|
7
|
-
var TextLabel = require('./ui/TextLabel.js');
|
8
|
-
var TextTitle = require('./ui/TextTitle.js');
|
9
|
-
var TextSubtitle = require('./ui/TextSubtitle.js');
|
10
|
-
|
11
|
-
var Textbox = function Textbox(_ref) {
|
12
|
-
var label = _ref.label,
|
13
|
-
title = _ref.title,
|
14
|
-
subtitle = _ref.subtitle,
|
15
|
-
children = _ref.children;
|
16
|
-
return /*#__PURE__*/React.createElement(Textbox_styles.TextboxStyled, null, label || title || subtitle ? /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement(TextLabel.TextLabel, null, label), title && /*#__PURE__*/React.createElement(TextTitle.TextTitle, null, title), subtitle && /*#__PURE__*/React.createElement(TextSubtitle.TextSubtitle, null, subtitle)) : children);
|
17
|
-
};
|
18
|
-
|
19
|
-
exports.Textbox = Textbox;
|
20
|
-
//# sourceMappingURL=Textbox.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Textbox.js","sources":["../../../../src/components/Cell/Textbox/Textbox.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nimport type { TextboxProps } from './Textbox.types';\nimport { TextboxStyled } from './Textbox.styles';\nimport { TextLabel } from './ui/TextLabel';\nimport { TextTitle } from './ui/TextTitle';\nimport { TextSubtitle } from './ui/TextSubtitle';\n\nexport const Textbox: React.FC<HTMLAttributes<HTMLDivElement> & TextboxProps> = ({\n label,\n title,\n subtitle,\n children,\n}) => {\n return (\n <TextboxStyled>\n {label || title || subtitle ? (\n <>\n {label && <TextLabel>{label}</TextLabel>}\n {title && <TextTitle>{title}</TextTitle>}\n {subtitle && <TextSubtitle>{subtitle}</TextSubtitle>}\n </>\n ) : (\n children\n )}\n </TextboxStyled>\n );\n};\n"],"names":["Textbox","_ref","label","title","subtitle","children","React","createElement","TextboxStyled","Fragment","TextLabel","TextTitle","TextSubtitle"],"mappings":";;;;;;;;;;IAQaA,OAAgE,GAAG,SAAnEA,OAAgEA,CAAAC,IAAA,EAKvE;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,4BAAa,QACTN,KAAK,IAAIC,KAAK,IAAIC,QAAQ,gBACvBE,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAG,QAAA,EACKP,IAAAA,EAAAA,KAAK,iBAAII,KAAA,CAAAC,aAAA,CAACG,mBAAS,QAAER,KAAiB,CAAC,EACvCC,KAAK,iBAAIG,KAAA,CAAAC,aAAA,CAACI,mBAAS,EAAER,IAAAA,EAAAA,KAAiB,CAAC,EACvCC,QAAQ,iBAAIE,KAAA,CAAAC,aAAA,CAACK,yBAAY,EAAER,IAAAA,EAAAA,QAAuB,CACrD,CAAC,GAEHC,QAEO,CAAC,CAAA;AAExB;;;;"}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var styled = require('styled-components');
|
6
|
-
var Cell_tokens = require('../Cell.tokens.js');
|
7
|
-
|
8
|
-
var TextboxStyled = /*#__PURE__*/styled.div.withConfig({
|
9
|
-
componentId: "plasma-new-hope__sc-18k78d7-0"
|
10
|
-
})(["display:flex;flex-direction:column;gap:var(", ");"], Cell_tokens.tokens.cellTextboxGap);
|
11
|
-
|
12
|
-
exports.TextboxStyled = TextboxStyled;
|
13
|
-
//# sourceMappingURL=Textbox.styles.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Textbox.styles.js","sources":["../../../../src/components/Cell/Textbox/Textbox.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { tokens } from '../Cell.tokens';\n\nexport const TextboxStyled = styled.div`\n display: flex;\n flex-direction: column;\n gap: var(${tokens.cellTextboxGap});\n`;\n"],"names":["TextboxStyled","styled","div","withConfig","componentId","tokens","cellTextboxGap"],"mappings":";;;;;;;IAIaA,aAAa,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CAGxBC,CAAAA,CAAAA,CAAAA,6CAAAA,EAAAA,IAAAA,CAAAA,EAAAA,kBAAM,CAACC,cAAc;;;;"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var React = require('react');
|
6
|
-
var styled = require('styled-components');
|
7
|
-
var Cell_tokens = require('../../Cell.tokens.js');
|
8
|
-
|
9
|
-
var StyledTextLabel = /*#__PURE__*/styled.div.withConfig({
|
10
|
-
componentId: "plasma-new-hope__sc-102c6vv-0"
|
11
|
-
})(["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 TextLabel = function TextLabel(props) {
|
13
|
-
return /*#__PURE__*/React.createElement(StyledTextLabel, null, props.children);
|
14
|
-
};
|
15
|
-
|
16
|
-
exports.TextLabel = TextLabel;
|
17
|
-
//# sourceMappingURL=TextLabel.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"TextLabel.js","sources":["../../../../../src/components/Cell/Textbox/ui/TextLabel.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextLabel = 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\ntype TextLabelProps = {};\n\nexport const TextLabel: React.FC<HTMLAttributes<HTMLDivElement> & TextLabelProps> = (props) => {\n return <StyledTextLabel>{props.children}</StyledTextLabel>;\n};\n"],"names":["StyledTextLabel","styled","div","withConfig","componentId","tokens","cellLabelColor","cellLabelFontSize","cellLabelFontWeight","cellLabelFontFamily","cellLabelFontStyle","cellLabelLineHeight","cellLabelLetterSpacing","TextLabel","props","React","createElement","children"],"mappings":";;;;;;;;AAKA,IAAMA,eAAe,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CACjBC,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,CACtD,CAAA;IAIYC,SAAoE,GAAG,SAAvEA,SAAoEA,CAAIC,KAAK,EAAK;EAC3F,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,eAAe,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA0B,CAAC,CAAA;AAC9D;;;;"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var React = require('react');
|
6
|
-
var styled = require('styled-components');
|
7
|
-
var Cell_tokens = require('../../Cell.tokens.js');
|
8
|
-
|
9
|
-
var StyledTextSubtitle = /*#__PURE__*/styled.div.withConfig({
|
10
|
-
componentId: "plasma-new-hope__sc-1tsgki4-0"
|
11
|
-
})(["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 TextSubtitle = function TextSubtitle(props) {
|
13
|
-
return /*#__PURE__*/React.createElement(StyledTextSubtitle, null, props.children);
|
14
|
-
};
|
15
|
-
|
16
|
-
exports.TextSubtitle = TextSubtitle;
|
17
|
-
//# sourceMappingURL=TextSubtitle.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"TextSubtitle.js","sources":["../../../../../src/components/Cell/Textbox/ui/TextSubtitle.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextSubtitle = 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\ntype TextSubtitleProps = {};\n\nexport const TextSubtitle: React.FC<HTMLAttributes<HTMLDivElement> & TextSubtitleProps> = (props) => {\n return <StyledTextSubtitle>{props.children}</StyledTextSubtitle>;\n};\n"],"names":["StyledTextSubtitle","styled","div","withConfig","componentId","tokens","cellSubtitleColor","cellSubtitleFontSize","cellSubtitleFontWeight","cellSubtitleFontFamily","cellSubtitleFontStyle","cellSubtitleLineHeight","cellSubtitleLetterSpacing","TextSubtitle","props","React","createElement","children"],"mappings":";;;;;;;;AAKA,IAAMA,kBAAkB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CACpBC,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,CACzD,CAAA;IAIYC,YAA0E,GAAG,SAA7EA,YAA0EA,CAAIC,KAAK,EAAK;EACjG,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,kBAAkB,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA6B,CAAC,CAAA;AACpE;;;;"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var React = require('react');
|
6
|
-
var styled = require('styled-components');
|
7
|
-
var Cell_tokens = require('../../Cell.tokens.js');
|
8
|
-
|
9
|
-
var StyledTextTitle = /*#__PURE__*/styled.div.withConfig({
|
10
|
-
componentId: "plasma-new-hope__sc-flfrmq-0"
|
11
|
-
})(["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 TextTitle = function TextTitle(props) {
|
13
|
-
return /*#__PURE__*/React.createElement(StyledTextTitle, null, props.children);
|
14
|
-
};
|
15
|
-
|
16
|
-
exports.TextTitle = TextTitle;
|
17
|
-
//# sourceMappingURL=TextTitle.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"TextTitle.js","sources":["../../../../../src/components/Cell/Textbox/ui/TextTitle.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextTitle = 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\ntype TextTitleProps = {};\n\nexport const TextTitle: React.FC<HTMLAttributes<HTMLDivElement> & TextTitleProps> = (props) => {\n return <StyledTextTitle>{props.children}</StyledTextTitle>;\n};\n"],"names":["StyledTextTitle","styled","div","withConfig","componentId","tokens","cellTitleColor","cellTitleFontSize","cellTitleFontWeight","cellTitleFontFamily","cellTitleFontStyle","cellTitleLineHeight","cellTitleLetterSpacing","TextTitle","props","React","createElement","children"],"mappings":";;;;;;;;AAKA,IAAMA,eAAe,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CACjBC,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,CACtD,CAAA;IAIYC,SAAoE,GAAG,SAAvEA,SAAoEA,CAAIC,KAAK,EAAK;EAC3F,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,eAAe,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA0B,CAAC,CAAA;AAC9D;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"base.js","sources":["../../../../../src/components/Cell/variations/_size/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css``;\n"],"names":["base"],"mappings":";;;;AAEO,IAAMA,IAAI,GAAQ;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"base.js","sources":["../../../../../src/components/Cell/variations/_stretching/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../Cell.tokens';\n\nexport const base = css`\n &.${classes.fixedStretching} {\n width: var(${tokens.cellWidth});\n }\n &.${classes.filledStretching} {\n width: 100%;\n }\n &.${classes.autoStretching} {\n width: auto;\n }\n`;\n"],"names":["base"],"mappings":";;;;AAIO,IAAMA,IAAI,GAUhB;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
.b1ppwsal.cell-stretching-fixed{width:var(--plasma-cell-width);}.b1ppwsal.cell-stretching-filled{width:100%;}.b1ppwsal.cell-stretching-auto{width:auto;}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"base.js","sources":["../../../../../src/components/Cell/variations/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../../Cell.tokens';\n\nexport const base = css`\n color: var(${tokens.cellColor});\n background-color: var(${tokens.cellBackgroundColor});\n\n width: 100%;\n display: flex;\n gap: var(${tokens.cellGap});\n\n &:focus {\n outline: 0 none;\n }\n`;\n"],"names":["base"],"mappings":";;;;AAIO,IAAMA,IAAI,GAWhB;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
.b1sr9i7l{color:var(--plasma-cell-color);background-color:var(--plasma-cell-background-color);width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-cell-gap);}.b1sr9i7l:focus{outline:0 none;}
|
@@ -1,3 +0,0 @@
|
|
1
|
-
.base_2qgj2i_b1sr9i7l__db33292d{color:var(--plasma-cell-color);background-color:var(--plasma-cell-background-color);width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-cell-gap);}.base_2qgj2i_b1sr9i7l__db33292d:focus{outline:0 none;}
|
2
|
-
|
3
|
-
.base_1ryz4br_b1ppwsal__56529027.base_1ryz4br_cellStretchingFixed__56529027{width:var(--plasma-cell-width);}.base_1ryz4br_b1ppwsal__56529027.base_1ryz4br_cellStretchingFilled__56529027{width:100%;}.base_1ryz4br_b1ppwsal__56529027.base_1ryz4br_cellStretchingAuto__56529027{width:auto;}
|