@salutejs/plasma-new-hope 0.336.0-canary.2238.17818313113.0 → 0.336.0-canary.2239.17794430722.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/components/Attach/Attach.css +7 -9
- package/cjs/components/Attach/Attach.js +59 -13
- package/cjs/components/Attach/Attach.js.map +1 -1
- package/cjs/components/Attach/Attach.styles.js +9 -21
- package/cjs/components/Attach/Attach.styles.js.map +1 -1
- package/cjs/components/Attach/Attach.styles_1w3ga58.css +5 -0
- package/cjs/components/Attach/Attach.tokens.js +0 -1
- package/cjs/components/Attach/Attach.tokens.js.map +1 -1
- package/cjs/components/Attach/utils/addSeparator.js +18 -0
- package/cjs/components/Attach/utils/addSeparator.js.map +1 -0
- package/cjs/components/Attach/utils/getFileicon.js +2 -2
- package/cjs/components/Attach/utils/getFileicon.js.map +1 -1
- package/cjs/components/Attach/utils/index.js +8 -0
- package/cjs/components/Attach/utils/index.js.map +1 -0
- package/cjs/components/Attach/variations/_helperTextView/base.js +1 -1
- package/cjs/components/Attach/variations/_helperTextView/base_1vgke1p.css +1 -0
- package/cjs/components/Attach/variations/_size/base.js +1 -1
- package/cjs/components/Attach/variations/_size/base.js.map +1 -1
- package/{es/components/Attach/variations/_size/base_kpo9at.css → cjs/components/Attach/variations/_size/base_a4eelx.css} +1 -1
- package/cjs/components/Drawer/Drawer.css +2 -2
- package/cjs/components/Drawer/Drawer.js +7 -10
- package/cjs/components/Drawer/Drawer.js.map +1 -1
- package/cjs/components/Drawer/Drawer.styles.js +2 -17
- package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
- package/{es/components/Drawer/Drawer.styles_1gcp61n.css → cjs/components/Drawer/Drawer.styles_h5od79.css} +1 -1
- package/cjs/components/Drawer/Drawer.tokens.js +0 -10
- package/cjs/components/Drawer/Drawer.tokens.js.map +1 -1
- package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.css +1 -1
- package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +4 -10
- package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
- package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.styles.js +1 -2
- package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.styles.js.map +1 -1
- package/cjs/components/Skeleton/LineSkeleton/variations/_size/base.js +1 -1
- package/cjs/components/Skeleton/LineSkeleton/variations/_size/base.js.map +1 -1
- package/cjs/components/Skeleton/LineSkeleton/variations/_size/base_1wf7n5i.css +1 -0
- package/cjs/components/Skeleton/TextSkeleton/TextSkeleton.js +1 -4
- package/cjs/components/Skeleton/TextSkeleton/TextSkeleton.js.map +1 -1
- package/cjs/components/Skeleton/tokens.js +1 -2
- package/cjs/components/Skeleton/tokens.js.map +1 -1
- package/cjs/index.css +10 -12
- package/emotion/cjs/components/Attach/Attach.js +51 -12
- package/emotion/cjs/components/Attach/Attach.styles.js +13 -28
- package/emotion/cjs/components/Attach/Attach.tokens.js +0 -1
- package/emotion/cjs/components/Attach/utils/addSeparator.js +20 -0
- package/emotion/cjs/components/Attach/utils/getFileicon.js +3 -3
- package/emotion/cjs/components/Attach/utils/index.js +10 -2
- package/emotion/cjs/components/Attach/variations/_size/base.js +1 -1
- package/emotion/cjs/components/Drawer/Drawer.js +4 -13
- package/emotion/cjs/components/Drawer/Drawer.styles.js +4 -10
- package/emotion/cjs/components/Drawer/Drawer.tokens.js +0 -12
- package/emotion/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +5 -11
- package/emotion/cjs/components/Skeleton/LineSkeleton/LineSkeleton.styles.js +4 -5
- package/emotion/cjs/components/Skeleton/LineSkeleton/variations/_size/base.js +3 -1
- package/emotion/cjs/components/Skeleton/TextSkeleton/TextSkeleton.js +2 -4
- package/emotion/cjs/components/Skeleton/tokens.js +1 -2
- package/emotion/cjs/examples/components/Attach/Attach.config.js +18 -18
- package/emotion/cjs/examples/components/Combobox/Combobox.js +0 -15
- package/emotion/cjs/examples/components/Skeleton/LineSkeleton.config.js +18 -23
- package/emotion/es/components/Attach/Attach.js +55 -16
- package/emotion/es/components/Attach/Attach.styles.js +11 -20
- package/emotion/es/components/Attach/Attach.tokens.js +0 -1
- package/emotion/es/components/Attach/utils/addSeparator.js +10 -0
- package/emotion/es/components/Attach/utils/getFileicon.js +1 -1
- package/emotion/es/components/Attach/utils/index.js +3 -1
- package/emotion/es/components/Attach/variations/_size/base.js +2 -2
- package/emotion/es/components/Drawer/Drawer.js +5 -9
- package/emotion/es/components/Drawer/Drawer.styles.js +5 -11
- package/emotion/es/components/Drawer/Drawer.tokens.js +0 -9
- package/emotion/es/components/Skeleton/LineSkeleton/LineSkeleton.js +5 -11
- package/emotion/es/components/Skeleton/LineSkeleton/LineSkeleton.styles.js +4 -5
- package/emotion/es/components/Skeleton/LineSkeleton/variations/_size/base.js +3 -1
- package/emotion/es/components/Skeleton/TextSkeleton/TextSkeleton.js +2 -4
- package/emotion/es/components/Skeleton/tokens.js +1 -2
- package/emotion/es/examples/components/Attach/Attach.config.js +18 -18
- package/emotion/es/examples/components/Skeleton/LineSkeleton.config.js +18 -23
- package/es/components/Attach/Attach.css +7 -9
- package/es/components/Attach/Attach.js +63 -17
- package/es/components/Attach/Attach.js.map +1 -1
- package/es/components/Attach/Attach.styles.js +9 -19
- package/es/components/Attach/Attach.styles.js.map +1 -1
- package/es/components/Attach/Attach.styles_1w3ga58.css +5 -0
- package/es/components/Attach/Attach.tokens.js +0 -1
- package/es/components/Attach/Attach.tokens.js.map +1 -1
- package/es/components/Attach/utils/addSeparator.js +14 -0
- package/es/components/Attach/utils/addSeparator.js.map +1 -0
- package/es/components/Attach/utils/getFileicon.js +2 -2
- package/es/components/Attach/utils/getFileicon.js.map +1 -1
- package/es/components/Attach/utils/index.js +4 -0
- package/es/components/Attach/utils/index.js.map +1 -0
- package/es/components/Attach/variations/_helperTextView/base.js +1 -1
- package/es/components/Attach/variations/_helperTextView/base_1vgke1p.css +1 -0
- package/es/components/Attach/variations/_size/base.js +1 -1
- package/es/components/Attach/variations/_size/base.js.map +1 -1
- package/{cjs/components/Attach/variations/_size/base_kpo9at.css → es/components/Attach/variations/_size/base_a4eelx.css} +1 -1
- package/es/components/Drawer/Drawer.css +2 -2
- package/es/components/Drawer/Drawer.js +6 -8
- package/es/components/Drawer/Drawer.js.map +1 -1
- package/es/components/Drawer/Drawer.styles.js +2 -17
- package/es/components/Drawer/Drawer.styles.js.map +1 -1
- package/{cjs/components/Drawer/Drawer.styles_1gcp61n.css → es/components/Drawer/Drawer.styles_h5od79.css} +1 -1
- package/es/components/Drawer/Drawer.tokens.js +1 -10
- package/es/components/Drawer/Drawer.tokens.js.map +1 -1
- package/es/components/Skeleton/LineSkeleton/LineSkeleton.css +1 -1
- package/es/components/Skeleton/LineSkeleton/LineSkeleton.js +4 -10
- package/es/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
- package/es/components/Skeleton/LineSkeleton/LineSkeleton.styles.js +1 -2
- package/es/components/Skeleton/LineSkeleton/LineSkeleton.styles.js.map +1 -1
- package/es/components/Skeleton/LineSkeleton/variations/_size/base.js +1 -1
- package/es/components/Skeleton/LineSkeleton/variations/_size/base.js.map +1 -1
- package/es/components/Skeleton/LineSkeleton/variations/_size/base_1wf7n5i.css +1 -0
- package/es/components/Skeleton/TextSkeleton/TextSkeleton.js +1 -4
- package/es/components/Skeleton/TextSkeleton/TextSkeleton.js.map +1 -1
- package/es/components/Skeleton/tokens.js +1 -2
- package/es/components/Skeleton/tokens.js.map +1 -1
- package/es/index.css +10 -12
- package/package.json +5 -5
- package/styled-components/cjs/components/Attach/Attach.js +51 -12
- package/styled-components/cjs/components/Attach/Attach.styles.js +11 -31
- package/styled-components/cjs/components/Attach/Attach.tokens.js +0 -1
- package/styled-components/cjs/components/Attach/utils/addSeparator.js +20 -0
- package/styled-components/cjs/components/Attach/utils/getFileicon.js +3 -3
- package/styled-components/cjs/components/Attach/utils/index.js +10 -2
- package/styled-components/cjs/components/Attach/variations/_size/base.js +1 -2
- package/styled-components/cjs/components/Drawer/Drawer.js +4 -13
- package/styled-components/cjs/components/Drawer/Drawer.styles.js +4 -17
- package/styled-components/cjs/components/Drawer/Drawer.tokens.js +0 -12
- package/styled-components/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +5 -11
- package/styled-components/cjs/components/Skeleton/LineSkeleton/LineSkeleton.styles.js +2 -3
- package/styled-components/cjs/components/Skeleton/LineSkeleton/variations/_size/base.js +7 -2
- package/styled-components/cjs/components/Skeleton/TextSkeleton/TextSkeleton.js +2 -4
- package/styled-components/cjs/components/Skeleton/tokens.js +1 -2
- package/styled-components/cjs/examples/components/Attach/Attach.config.js +4 -8
- package/styled-components/cjs/examples/components/Skeleton/LineSkeleton.config.js +1 -12
- package/styled-components/es/components/Attach/Attach.js +55 -16
- package/styled-components/es/components/Attach/Attach.styles.js +9 -23
- package/styled-components/es/components/Attach/Attach.tokens.js +0 -1
- package/styled-components/es/components/Attach/utils/addSeparator.js +10 -0
- package/styled-components/es/components/Attach/utils/getFileicon.js +1 -1
- package/styled-components/es/components/Attach/utils/index.js +3 -1
- package/styled-components/es/components/Attach/variations/_size/base.js +2 -3
- package/styled-components/es/components/Drawer/Drawer.js +5 -9
- package/styled-components/es/components/Drawer/Drawer.styles.js +5 -18
- package/styled-components/es/components/Drawer/Drawer.tokens.js +0 -9
- package/styled-components/es/components/Skeleton/LineSkeleton/LineSkeleton.js +5 -11
- package/styled-components/es/components/Skeleton/LineSkeleton/LineSkeleton.styles.js +2 -3
- package/styled-components/es/components/Skeleton/LineSkeleton/variations/_size/base.js +7 -2
- package/styled-components/es/components/Skeleton/TextSkeleton/TextSkeleton.js +2 -4
- package/styled-components/es/components/Skeleton/tokens.js +1 -2
- package/styled-components/es/examples/components/Attach/Attach.config.js +4 -8
- package/styled-components/es/examples/components/Combobox/Combobox.js +0 -7
- package/styled-components/es/examples/components/Skeleton/LineSkeleton.config.js +1 -12
- package/types/components/Attach/Attach.d.ts.map +1 -1
- package/types/components/Attach/Attach.styles.d.ts +1 -3
- package/types/components/Attach/Attach.styles.d.ts.map +1 -1
- package/types/components/Attach/Attach.tokens.d.ts +0 -1
- package/types/components/Attach/Attach.tokens.d.ts.map +1 -1
- package/types/components/Attach/Attach.types.d.ts +0 -7
- package/types/components/Attach/Attach.types.d.ts.map +1 -1
- package/types/components/Attach/utils/addSeparator.d.ts +2 -0
- package/types/components/Attach/utils/addSeparator.d.ts.map +1 -0
- package/types/components/Attach/utils/getFileicon.d.ts +1 -1
- package/types/components/Attach/utils/index.d.ts +3 -1
- package/types/components/Attach/utils/index.d.ts.map +1 -1
- package/types/components/Attach/variations/_size/base.d.ts.map +1 -1
- package/types/components/Drawer/Drawer.d.ts +0 -2
- package/types/components/Drawer/Drawer.d.ts.map +1 -1
- package/types/components/Drawer/Drawer.styles.d.ts +1 -2
- package/types/components/Drawer/Drawer.styles.d.ts.map +1 -1
- package/types/components/Drawer/Drawer.tokens.d.ts +0 -9
- package/types/components/Drawer/Drawer.tokens.d.ts.map +1 -1
- package/types/components/Drawer/Drawer.types.d.ts +0 -16
- package/types/components/Drawer/Drawer.types.d.ts.map +1 -1
- package/types/components/Skeleton/LineSkeleton/LineSkeleton.d.ts +0 -3
- package/types/components/Skeleton/LineSkeleton/LineSkeleton.d.ts.map +1 -1
- package/types/components/Skeleton/LineSkeleton/LineSkeleton.styles.d.ts.map +1 -1
- package/types/components/Skeleton/LineSkeleton/LineSkeleton.types.d.ts +1 -1
- package/types/components/Skeleton/LineSkeleton/LineSkeleton.types.d.ts.map +1 -1
- package/types/components/Skeleton/LineSkeleton/variations/_size/base.d.ts.map +1 -1
- package/types/components/Skeleton/Skeleton.types.d.ts +0 -1
- package/types/components/Skeleton/Skeleton.types.d.ts.map +1 -1
- package/types/components/Skeleton/TextSkeleton/TextSkeleton.d.ts.map +1 -1
- package/types/components/Skeleton/tokens.d.ts +0 -1
- package/types/components/Skeleton/tokens.d.ts.map +1 -1
- package/types/examples/components/Attach/Attach.config.d.ts.map +1 -1
- package/types/examples/components/Attach/Attach.d.ts.map +1 -1
- package/types/examples/components/Drawer/Drawer.d.ts +0 -1
- package/types/examples/components/Drawer/Drawer.d.ts.map +1 -1
- package/types/examples/components/Skeleton/LineSkeleton.config.d.ts +0 -5
- package/types/examples/components/Skeleton/LineSkeleton.config.d.ts.map +1 -1
- package/types/examples/components/Skeleton/Skeleton.d.ts +0 -8
- package/types/examples/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/cjs/components/Attach/Attach.styles_pso18d.css +0 -7
- package/cjs/components/Attach/variations/_helperTextView/base_1tgnvl9.css +0 -1
- package/cjs/components/Skeleton/LineSkeleton/variations/_size/base_x642ct.css +0 -1
- package/cjs/components/Skeleton/LineSkeleton/variations/_view/base.js +0 -9
- package/cjs/components/Skeleton/LineSkeleton/variations/_view/base.js.map +0 -1
- package/cjs/components/Skeleton/LineSkeleton/variations/_view/base_1it9pjr.css +0 -1
- package/emotion/cjs/components/Skeleton/LineSkeleton/variations/_view/base.js +0 -14
- package/emotion/es/components/Skeleton/LineSkeleton/variations/_view/base.js +0 -4
- package/es/components/Attach/Attach.styles_pso18d.css +0 -7
- package/es/components/Attach/variations/_helperTextView/base_1tgnvl9.css +0 -1
- package/es/components/Skeleton/LineSkeleton/variations/_size/base_x642ct.css +0 -1
- package/es/components/Skeleton/LineSkeleton/variations/_view/base.js +0 -5
- package/es/components/Skeleton/LineSkeleton/variations/_view/base.js.map +0 -1
- package/es/components/Skeleton/LineSkeleton/variations/_view/base_1it9pjr.css +0 -1
- package/styled-components/cjs/components/Skeleton/LineSkeleton/variations/_view/base.js +0 -19
- package/styled-components/es/components/Skeleton/LineSkeleton/variations/_view/base.js +0 -9
- package/types/components/Skeleton/LineSkeleton/variations/_view/base.d.ts +0 -2
- package/types/components/Skeleton/LineSkeleton/variations/_view/base.d.ts.map +0 -1
|
@@ -12,9 +12,6 @@ _export(exports, {
|
|
|
12
12
|
get classes () {
|
|
13
13
|
return classes;
|
|
14
14
|
},
|
|
15
|
-
get privateTokens () {
|
|
16
|
-
return privateTokens;
|
|
17
|
-
},
|
|
18
15
|
get tokens () {
|
|
19
16
|
return tokens;
|
|
20
17
|
}
|
|
@@ -24,9 +21,6 @@ var classes = {
|
|
|
24
21
|
header: 'drawer-header',
|
|
25
22
|
footer: 'drawer-footer',
|
|
26
23
|
overlay: 'drawer-overlay',
|
|
27
|
-
panel: 'drawer-panel',
|
|
28
|
-
enterCustomAnimation: 'drawer-enter-custom-animation',
|
|
29
|
-
exitCustomAnimation: 'drawer-exit-custom-animation',
|
|
30
24
|
horizontal: 'drawer-horizontal',
|
|
31
25
|
hasHeader: 'drawer-has-header',
|
|
32
26
|
isRightClose: 'drawer-right-close-button',
|
|
@@ -35,12 +29,6 @@ var classes = {
|
|
|
35
29
|
rightPlacement: 'drawer-right-placement',
|
|
36
30
|
leftPlacement: 'drawer-left-placement'
|
|
37
31
|
};
|
|
38
|
-
var privateTokens = {
|
|
39
|
-
enterAnimation: '--plasma__private-drawer-enter-animation',
|
|
40
|
-
exitAnimation: '--plasma__private-drawer-exit-animation',
|
|
41
|
-
customEnterAnimation: '--plasma__private-drawer-custom-enter-animation',
|
|
42
|
-
customExitAnimation: '--plasma__private-drawer-custom-exit-animation'
|
|
43
|
-
};
|
|
44
32
|
var tokens = {
|
|
45
33
|
drawerOverlayWithBlurColor: '--plasma-drawer-overlay-with-blur-color',
|
|
46
34
|
drawerOverlayColor: '--plasma-drawer-overlay-color',
|
|
@@ -19,7 +19,6 @@ _export(exports, {
|
|
|
19
19
|
var _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
20
20
|
var _mixins = require("../../../mixins");
|
|
21
21
|
var _base = require("./variations/_size/base");
|
|
22
|
-
var _base1 = require("./variations/_view/base");
|
|
23
22
|
var _LineSkeletonstyles = require("./LineSkeleton.styles");
|
|
24
23
|
function _define_property(obj, key, value) {
|
|
25
24
|
if (key in obj) {
|
|
@@ -119,24 +118,22 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
119
118
|
}
|
|
120
119
|
var lineSkeletonRoot = function(Root) {
|
|
121
120
|
return /*#__PURE__*/ (0, _react.forwardRef)(function(_param, outerRootRef) {
|
|
122
|
-
var size = _param.size, lighter = _param.lighter, customGradientColor = _param.customGradientColor, _param_roundness = _param.roundness, roundness = _param_roundness === void 0 ? '16' : _param_roundness,
|
|
121
|
+
var size = _param.size, lighter = _param.lighter, customGradientColor = _param.customGradientColor, _param_roundness = _param.roundness, roundness = _param_roundness === void 0 ? '16' : _param_roundness, rest = _object_without_properties(_param, [
|
|
123
122
|
"size",
|
|
124
123
|
"lighter",
|
|
125
124
|
"customGradientColor",
|
|
126
|
-
"roundness"
|
|
127
|
-
"view"
|
|
125
|
+
"roundness"
|
|
128
126
|
]);
|
|
129
127
|
var roundnessValue = (0, _mixins.getRoundness)({
|
|
130
128
|
roundness: roundness
|
|
131
129
|
});
|
|
132
|
-
var skeletonGradientColor =
|
|
130
|
+
var skeletonGradientColor = (0, _mixins.getSkeletonColor)({
|
|
133
131
|
lighter: lighter,
|
|
134
132
|
customGradientColor: customGradientColor
|
|
135
|
-
})
|
|
133
|
+
});
|
|
136
134
|
return /*#__PURE__*/ _react.default.createElement(Root, _object_spread({
|
|
137
135
|
ref: outerRootRef,
|
|
138
|
-
size: size
|
|
139
|
-
view: view
|
|
136
|
+
size: size
|
|
140
137
|
}, rest), /*#__PURE__*/ _react.default.createElement(_LineSkeletonstyles.StyledVisibleLine, {
|
|
141
138
|
roundness: roundnessValue,
|
|
142
139
|
gradientColor: skeletonGradientColor
|
|
@@ -151,9 +148,6 @@ var lineSkeletonConfig = {
|
|
|
151
148
|
variations: {
|
|
152
149
|
size: {
|
|
153
150
|
css: _base.base
|
|
154
|
-
},
|
|
155
|
-
view: {
|
|
156
|
-
css: _base1.base
|
|
157
151
|
}
|
|
158
152
|
},
|
|
159
153
|
defaults: {}
|
|
@@ -19,20 +19,19 @@ _export(exports, {
|
|
|
19
19
|
var _react = require("@emotion/react");
|
|
20
20
|
var _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
|
|
21
21
|
var _mixins = require("../../../mixins");
|
|
22
|
-
var _tokens = require("../tokens");
|
|
23
22
|
function _interop_require_default(obj) {
|
|
24
23
|
return obj && obj.__esModule ? obj : {
|
|
25
24
|
default: obj
|
|
26
25
|
};
|
|
27
26
|
}
|
|
28
|
-
var base = (0, /*#__PURE__*/ _react.css)("display:flex;align-items:center;width:100%;", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
27
|
+
var base = (0, /*#__PURE__*/ _react.css)("display:flex;align-items:center;width:100%;", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ta2VsZXRvbi9MaW5lU2tlbGV0b24vTGluZVNrZWxldG9uLnN0eWxlcy50cyIsInNvdXJjZXMiOlsic3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ta2VsZXRvbi9MaW5lU2tlbGV0b24vTGluZVNrZWxldG9uLnN0eWxlcy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGFwcGx5Um91bmRuZXNzLCBhcHBseVNrZWxldG9uR3JhZGllbnQgfSBmcm9tICcuLi8uLi8uLi9taXhpbnMnO1xuXG5pbXBvcnQgdHlwZSB7IFN0eWxlZFZpc2libGVMaW5lUHJvcHMgfSBmcm9tICcuL0xpbmVTa2VsZXRvbi50eXBlcyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcblxuICAgIHdpZHRoOiAxMDAlO1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFZpc2libGVMaW5lID0gc3R5bGVkLmRpdjxTdHlsZWRWaXNpYmxlTGluZVByb3BzPmBcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcblxuICAgIHdpZHRoOiAxMDAlO1xuXG4gICAgLS1wbGFzbWFfcHJpdmF0ZS1saW5lLXNrZWxldG9uLXJvdW5kbmVzczogJHsoeyByb3VuZG5lc3MgfSkgPT4gcm91bmRuZXNzfTtcbiAgICAke2FwcGx5Um91bmRuZXNzKCd2YXIoLS1wbGFzbWFfcHJpdmF0ZS1saW5lLXNrZWxldG9uLXJvdW5kbmVzcyknKX07XG5cbiAgICAtLXBsYXNtYV9wcml2YXRlLWxpbmUtc2tlbGV0b24tZ3JhZGllbnQ6ICR7KHsgZ3JhZGllbnRDb2xvciB9KSA9PiBncmFkaWVudENvbG9yfTtcbiAgICAke2FwcGx5U2tlbGV0b25HcmFkaWVudCgndmFyKC0tcGxhc21hX3ByaXZhdGUtbGluZS1za2VsZXRvbi1ncmFkaWVudCknKX07XG5gO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU9vQiJ9 */");
|
|
29
28
|
var StyledVisibleLine = (0, /*#__PURE__*/ _styled.default)("div", {
|
|
30
|
-
target: "
|
|
29
|
+
target: "e9r372l0",
|
|
31
30
|
label: "StyledVisibleLine"
|
|
32
31
|
})("position:relative;overflow:hidden;width:100%;--plasma_private-line-skeleton-roundness:", function(param) {
|
|
33
32
|
var roundness = param.roundness;
|
|
34
33
|
return roundness;
|
|
35
34
|
}, ";", (0, _mixins.applyRoundness)('var(--plasma_private-line-skeleton-roundness)'), ";--plasma_private-line-skeleton-gradient:", function(param) {
|
|
36
35
|
var gradientColor = param.gradientColor;
|
|
37
|
-
return gradientColor
|
|
38
|
-
}, ";", (0, _mixins.applySkeletonGradient)('var(--plasma_private-line-skeleton-gradient)'), ";", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
36
|
+
return gradientColor;
|
|
37
|
+
}, ";", (0, _mixins.applySkeletonGradient)('var(--plasma_private-line-skeleton-gradient)'), ";", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ta2VsZXRvbi9MaW5lU2tlbGV0b24vTGluZVNrZWxldG9uLnN0eWxlcy50cyIsInNvdXJjZXMiOlsic3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ta2VsZXRvbi9MaW5lU2tlbGV0b24vTGluZVNrZWxldG9uLnN0eWxlcy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGFwcGx5Um91bmRuZXNzLCBhcHBseVNrZWxldG9uR3JhZGllbnQgfSBmcm9tICcuLi8uLi8uLi9taXhpbnMnO1xuXG5pbXBvcnQgdHlwZSB7IFN0eWxlZFZpc2libGVMaW5lUHJvcHMgfSBmcm9tICcuL0xpbmVTa2VsZXRvbi50eXBlcyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcblxuICAgIHdpZHRoOiAxMDAlO1xuYDtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFZpc2libGVMaW5lID0gc3R5bGVkLmRpdjxTdHlsZWRWaXNpYmxlTGluZVByb3BzPmBcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcblxuICAgIHdpZHRoOiAxMDAlO1xuXG4gICAgLS1wbGFzbWFfcHJpdmF0ZS1saW5lLXNrZWxldG9uLXJvdW5kbmVzczogJHsoeyByb3VuZG5lc3MgfSkgPT4gcm91bmRuZXNzfTtcbiAgICAke2FwcGx5Um91bmRuZXNzKCd2YXIoLS1wbGFzbWFfcHJpdmF0ZS1saW5lLXNrZWxldG9uLXJvdW5kbmVzcyknKX07XG5cbiAgICAtLXBsYXNtYV9wcml2YXRlLWxpbmUtc2tlbGV0b24tZ3JhZGllbnQ6ICR7KHsgZ3JhZGllbnRDb2xvciB9KSA9PiBncmFkaWVudENvbG9yfTtcbiAgICAke2FwcGx5U2tlbGV0b25HcmFkaWVudCgndmFyKC0tcGxhc21hX3ByaXZhdGUtbGluZS1za2VsZXRvbi1ncmFkaWVudCknKX07XG5gO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNpQyJ9 */");
|
|
@@ -9,4 +9,6 @@ Object.defineProperty(exports, "base", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
var _react = require("@emotion/react");
|
|
12
|
-
var
|
|
12
|
+
var _LineSkeletonstyles = require("../../LineSkeleton.styles");
|
|
13
|
+
var _tokens = require("../../../tokens");
|
|
14
|
+
var base = (0, /*#__PURE__*/ _react.css)("height:var(", _tokens.tokens.lineHeight, ");& ", _LineSkeletonstyles.StyledVisibleLine, "{height:var(", _tokens.tokens.visibleLineHeight, ");}", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ta2VsZXRvbi9MaW5lU2tlbGV0b24vdmFyaWF0aW9ucy9fc2l6ZS9iYXNlLnRzIiwic291cmNlcyI6WyJzcmMtZW1vdGlvbi9jb21wb25lbnRzL1NrZWxldG9uL0xpbmVTa2VsZXRvbi92YXJpYXRpb25zL19zaXplL2Jhc2UudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBTdHlsZWRWaXNpYmxlTGluZSB9IGZyb20gJy4uLy4uL0xpbmVTa2VsZXRvbi5zdHlsZXMnO1xuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vdG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgaGVpZ2h0OiB2YXIoJHt0b2tlbnMubGluZUhlaWdodH0pO1xuXG4gICAgJiAke1N0eWxlZFZpc2libGVMaW5lfSB7XG4gICAgICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLnZpc2libGVMaW5lSGVpZ2h0fSk7XG4gICAgfVxuYDtcbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLb0IifQ== */");
|
|
@@ -195,14 +195,13 @@ var variousWidth = [
|
|
|
195
195
|
];
|
|
196
196
|
var textSkeleton = function(Component) {
|
|
197
197
|
return function(_param) {
|
|
198
|
-
var lines = _param.lines, width = _param.width, roundness = _param.roundness, customGradientColor = _param.customGradientColor, lighter = _param.lighter, _param_size = _param.size, size = _param_size === void 0 ? 'bodyM' : _param_size,
|
|
198
|
+
var lines = _param.lines, width = _param.width, roundness = _param.roundness, customGradientColor = _param.customGradientColor, lighter = _param.lighter, _param_size = _param.size, size = _param_size === void 0 ? 'bodyM' : _param_size, props = _object_without_properties(_param, [
|
|
199
199
|
"lines",
|
|
200
200
|
"width",
|
|
201
201
|
"roundness",
|
|
202
202
|
"customGradientColor",
|
|
203
203
|
"lighter",
|
|
204
|
-
"size"
|
|
205
|
-
"view"
|
|
204
|
+
"size"
|
|
206
205
|
]);
|
|
207
206
|
var _useState = _sliced_to_array((0, _react.useState)(null), 2), fixedWidth = _useState[0], setFixedWidth = _useState[1];
|
|
208
207
|
var _useState1 = _sliced_to_array((0, _react.useState)([]), 2), linesWidth = _useState1[0], setLinesWidth = _useState1[1];
|
|
@@ -240,7 +239,6 @@ var textSkeleton = function(Component) {
|
|
|
240
239
|
return /*#__PURE__*/ _react.default.createElement(ComponentSkeleton, {
|
|
241
240
|
key: "line:".concat(i),
|
|
242
241
|
size: size,
|
|
243
|
-
view: view,
|
|
244
242
|
roundness: roundness,
|
|
245
243
|
customGradientColor: customGradientColor,
|
|
246
244
|
lighter: lighter,
|
|
@@ -10,6 +10,5 @@ Object.defineProperty(exports, "tokens", {
|
|
|
10
10
|
});
|
|
11
11
|
var tokens = {
|
|
12
12
|
lineHeight: '--plasma-skeleton-line-height',
|
|
13
|
-
visibleLineHeight: '--plasma-skeleton-visible-line-height'
|
|
14
|
-
gradientColor: '--plasma-skeleton-gradient-color'
|
|
13
|
+
visibleLineHeight: '--plasma-skeleton-visible-line-height'
|
|
15
14
|
};
|