@salutejs/plasma-new-hope 0.336.0-canary.2239.17794430722.0 → 0.336.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 +9 -7
- package/cjs/components/Attach/Attach.js +13 -59
- package/cjs/components/Attach/Attach.js.map +1 -1
- package/cjs/components/Attach/Attach.styles.js +21 -9
- package/cjs/components/Attach/Attach.styles.js.map +1 -1
- package/cjs/components/Attach/Attach.styles_pso18d.css +7 -0
- package/cjs/components/Attach/Attach.tokens.js +1 -0
- package/cjs/components/Attach/Attach.tokens.js.map +1 -1
- package/cjs/components/Attach/utils/getFileicon.js +2 -2
- package/cjs/components/Attach/utils/getFileicon.js.map +1 -1
- package/cjs/components/Attach/variations/_helperTextView/base.js +1 -1
- package/cjs/components/Attach/variations/_helperTextView/base_1tgnvl9.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/cjs/components/Attach/variations/_size/{base_a4eelx.css → base_kpo9at.css} +1 -1
- package/cjs/components/Avatar/Avatar.js +9 -2
- package/cjs/components/Avatar/Avatar.js.map +1 -1
- package/cjs/components/Avatar/Avatar.styles.js +5 -5
- package/cjs/components/Avatar/Avatar.styles.js.map +1 -1
- package/cjs/components/Avatar/{Avatar.styles_131qvfx.css → Avatar.styles_1kvh8pj.css} +3 -3
- package/cjs/components/Avatar/Avatar.tokens.js +3 -0
- package/cjs/components/Avatar/Avatar.tokens.js.map +1 -1
- package/cjs/components/Avatar/variations/_shape/base.js +9 -0
- package/cjs/components/Avatar/variations/_shape/base.js.map +1 -0
- package/cjs/components/Avatar/variations/_shape/base_1qwucc7.css +1 -0
- package/cjs/components/Drawer/Drawer.css +2 -2
- package/cjs/components/Drawer/Drawer.js +10 -7
- package/cjs/components/Drawer/Drawer.js.map +1 -1
- package/cjs/components/Drawer/Drawer.styles.js +17 -2
- package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
- package/cjs/components/Drawer/{Drawer.styles_h5od79.css → Drawer.styles_1gcp61n.css} +1 -1
- package/cjs/components/Drawer/Drawer.tokens.js +10 -0
- 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 +10 -4
- package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
- package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.styles.js +2 -1
- 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_x642ct.css +1 -0
- package/cjs/components/Skeleton/LineSkeleton/variations/_view/base.js +9 -0
- package/cjs/components/Skeleton/LineSkeleton/variations/_view/base.js.map +1 -0
- package/cjs/components/Skeleton/LineSkeleton/variations/_view/base_1it9pjr.css +1 -0
- package/cjs/components/Skeleton/TextSkeleton/TextSkeleton.js +4 -1
- package/cjs/components/Skeleton/TextSkeleton/TextSkeleton.js.map +1 -1
- package/cjs/components/Skeleton/tokens.js +2 -1
- package/cjs/components/Skeleton/tokens.js.map +1 -1
- package/cjs/index.css +22 -18
- package/emotion/cjs/components/Attach/Attach.js +12 -51
- package/emotion/cjs/components/Attach/Attach.styles.js +28 -13
- package/emotion/cjs/components/Attach/Attach.tokens.js +1 -0
- package/emotion/cjs/components/Attach/utils/getFileicon.js +3 -3
- package/emotion/cjs/components/Attach/utils/index.js +2 -10
- package/emotion/cjs/components/Attach/variations/_size/base.js +1 -1
- package/emotion/cjs/components/Avatar/Avatar.js +11 -4
- package/emotion/cjs/components/Avatar/Avatar.styles.js +16 -16
- package/emotion/cjs/components/Avatar/Avatar.tokens.js +3 -0
- package/emotion/cjs/components/Avatar/variations/_shape/base.js +14 -0
- package/emotion/cjs/components/Drawer/Drawer.js +13 -4
- package/emotion/cjs/components/Drawer/Drawer.styles.js +10 -4
- package/emotion/cjs/components/Drawer/Drawer.tokens.js +12 -0
- package/emotion/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +11 -5
- package/emotion/cjs/components/Skeleton/LineSkeleton/LineSkeleton.styles.js +5 -4
- package/emotion/cjs/components/Skeleton/LineSkeleton/variations/_size/base.js +1 -3
- package/emotion/cjs/components/Skeleton/LineSkeleton/variations/_view/base.js +14 -0
- package/emotion/cjs/components/Skeleton/TextSkeleton/TextSkeleton.js +4 -2
- package/emotion/cjs/components/Skeleton/tokens.js +2 -1
- package/emotion/cjs/examples/components/Attach/Attach.config.js +18 -18
- package/emotion/cjs/examples/components/Avatar/Avatar.config.js +27 -22
- package/emotion/cjs/examples/components/Combobox/Combobox.js +15 -0
- package/emotion/cjs/examples/components/Skeleton/LineSkeleton.config.js +23 -18
- package/emotion/es/components/Attach/Attach.js +16 -55
- package/emotion/es/components/Attach/Attach.styles.js +20 -11
- package/emotion/es/components/Attach/Attach.tokens.js +1 -0
- package/emotion/es/components/Attach/utils/getFileicon.js +1 -1
- package/emotion/es/components/Attach/utils/index.js +1 -3
- package/emotion/es/components/Attach/variations/_size/base.js +2 -2
- package/emotion/es/components/Avatar/Avatar.js +13 -6
- package/emotion/es/components/Avatar/Avatar.styles.js +16 -16
- package/emotion/es/components/Avatar/Avatar.tokens.js +3 -0
- package/emotion/es/components/Avatar/variations/_shape/base.js +4 -0
- package/emotion/es/components/Drawer/Drawer.js +9 -5
- package/emotion/es/components/Drawer/Drawer.styles.js +11 -5
- package/emotion/es/components/Drawer/Drawer.tokens.js +9 -0
- package/emotion/es/components/Skeleton/LineSkeleton/LineSkeleton.js +11 -5
- package/emotion/es/components/Skeleton/LineSkeleton/LineSkeleton.styles.js +5 -4
- package/emotion/es/components/Skeleton/LineSkeleton/variations/_size/base.js +1 -3
- package/emotion/es/components/Skeleton/LineSkeleton/variations/_view/base.js +4 -0
- package/emotion/es/components/Skeleton/TextSkeleton/TextSkeleton.js +4 -2
- package/emotion/es/components/Skeleton/tokens.js +2 -1
- package/emotion/es/examples/components/Attach/Attach.config.js +18 -18
- package/emotion/es/examples/components/Avatar/Avatar.config.js +27 -22
- package/emotion/es/examples/components/Skeleton/LineSkeleton.config.js +23 -18
- package/es/components/Attach/Attach.css +9 -7
- package/es/components/Attach/Attach.js +17 -63
- package/es/components/Attach/Attach.js.map +1 -1
- package/es/components/Attach/Attach.styles.js +19 -9
- package/es/components/Attach/Attach.styles.js.map +1 -1
- package/es/components/Attach/Attach.styles_pso18d.css +7 -0
- package/es/components/Attach/Attach.tokens.js +1 -0
- package/es/components/Attach/Attach.tokens.js.map +1 -1
- package/es/components/Attach/utils/getFileicon.js +2 -2
- package/es/components/Attach/utils/getFileicon.js.map +1 -1
- package/es/components/Attach/variations/_helperTextView/base.js +1 -1
- package/es/components/Attach/variations/_helperTextView/base_1tgnvl9.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/es/components/Attach/variations/_size/{base_a4eelx.css → base_kpo9at.css} +1 -1
- package/es/components/Avatar/Avatar.js +9 -2
- package/es/components/Avatar/Avatar.js.map +1 -1
- package/es/components/Avatar/Avatar.styles.js +5 -5
- package/es/components/Avatar/Avatar.styles.js.map +1 -1
- package/es/components/Avatar/{Avatar.styles_131qvfx.css → Avatar.styles_1kvh8pj.css} +3 -3
- package/es/components/Avatar/Avatar.tokens.js +3 -0
- package/es/components/Avatar/Avatar.tokens.js.map +1 -1
- package/es/components/Avatar/variations/_shape/base.js +5 -0
- package/es/components/Avatar/variations/_shape/base.js.map +1 -0
- package/es/components/Avatar/variations/_shape/base_1qwucc7.css +1 -0
- package/es/components/Drawer/Drawer.css +2 -2
- package/es/components/Drawer/Drawer.js +8 -6
- package/es/components/Drawer/Drawer.js.map +1 -1
- package/es/components/Drawer/Drawer.styles.js +17 -2
- package/es/components/Drawer/Drawer.styles.js.map +1 -1
- package/es/components/Drawer/{Drawer.styles_h5od79.css → Drawer.styles_1gcp61n.css} +1 -1
- package/es/components/Drawer/Drawer.tokens.js +10 -1
- 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 +10 -4
- package/es/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
- package/es/components/Skeleton/LineSkeleton/LineSkeleton.styles.js +2 -1
- 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_x642ct.css +1 -0
- package/es/components/Skeleton/LineSkeleton/variations/_view/base.js +5 -0
- package/es/components/Skeleton/LineSkeleton/variations/_view/base.js.map +1 -0
- package/es/components/Skeleton/LineSkeleton/variations/_view/base_1it9pjr.css +1 -0
- package/es/components/Skeleton/TextSkeleton/TextSkeleton.js +4 -1
- package/es/components/Skeleton/TextSkeleton/TextSkeleton.js.map +1 -1
- package/es/components/Skeleton/tokens.js +2 -1
- package/es/components/Skeleton/tokens.js.map +1 -1
- package/es/index.css +22 -18
- package/package.json +5 -5
- package/styled-components/cjs/components/Attach/Attach.js +12 -51
- package/styled-components/cjs/components/Attach/Attach.styles.js +31 -11
- package/styled-components/cjs/components/Attach/Attach.tokens.js +1 -0
- package/styled-components/cjs/components/Attach/utils/getFileicon.js +3 -3
- package/styled-components/cjs/components/Attach/utils/index.js +2 -10
- package/styled-components/cjs/components/Attach/variations/_size/base.js +2 -1
- package/styled-components/cjs/components/Avatar/Avatar.js +10 -3
- package/styled-components/cjs/components/Avatar/Avatar.styles.js +11 -15
- package/styled-components/cjs/components/Avatar/Avatar.tokens.js +3 -0
- package/styled-components/cjs/components/Avatar/variations/_shape/base.js +23 -0
- package/styled-components/cjs/components/Drawer/Drawer.js +13 -4
- package/styled-components/cjs/components/Drawer/Drawer.styles.js +17 -4
- package/styled-components/cjs/components/Drawer/Drawer.tokens.js +12 -0
- package/styled-components/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +11 -5
- package/styled-components/cjs/components/Skeleton/LineSkeleton/LineSkeleton.styles.js +3 -2
- package/styled-components/cjs/components/Skeleton/LineSkeleton/variations/_size/base.js +2 -7
- package/styled-components/cjs/components/Skeleton/LineSkeleton/variations/_view/base.js +19 -0
- package/styled-components/cjs/components/Skeleton/TextSkeleton/TextSkeleton.js +4 -2
- package/styled-components/cjs/components/Skeleton/tokens.js +2 -1
- package/styled-components/cjs/examples/components/Attach/Attach.config.js +8 -4
- package/styled-components/cjs/examples/components/Avatar/Avatar.config.js +34 -7
- package/styled-components/cjs/examples/components/Skeleton/LineSkeleton.config.js +12 -1
- package/styled-components/es/components/Attach/Attach.js +16 -55
- package/styled-components/es/components/Attach/Attach.styles.js +23 -9
- package/styled-components/es/components/Attach/Attach.tokens.js +1 -0
- package/styled-components/es/components/Attach/utils/getFileicon.js +1 -1
- package/styled-components/es/components/Attach/utils/index.js +1 -3
- package/styled-components/es/components/Attach/variations/_size/base.js +3 -2
- package/styled-components/es/components/Avatar/Avatar.js +12 -5
- package/styled-components/es/components/Avatar/Avatar.styles.js +11 -15
- package/styled-components/es/components/Avatar/Avatar.tokens.js +3 -0
- package/styled-components/es/components/Avatar/variations/_shape/base.js +13 -0
- package/styled-components/es/components/Drawer/Drawer.js +9 -5
- package/styled-components/es/components/Drawer/Drawer.styles.js +18 -5
- package/styled-components/es/components/Drawer/Drawer.tokens.js +9 -0
- package/styled-components/es/components/Skeleton/LineSkeleton/LineSkeleton.js +11 -5
- package/styled-components/es/components/Skeleton/LineSkeleton/LineSkeleton.styles.js +3 -2
- package/styled-components/es/components/Skeleton/LineSkeleton/variations/_size/base.js +2 -7
- package/styled-components/es/components/Skeleton/LineSkeleton/variations/_view/base.js +9 -0
- package/styled-components/es/components/Skeleton/TextSkeleton/TextSkeleton.js +4 -2
- package/styled-components/es/components/Skeleton/tokens.js +2 -1
- package/styled-components/es/examples/components/Attach/Attach.config.js +8 -4
- package/styled-components/es/examples/components/Avatar/Avatar.config.js +34 -7
- package/styled-components/es/examples/components/Combobox/Combobox.js +7 -0
- package/styled-components/es/examples/components/Skeleton/LineSkeleton.config.js +12 -1
- package/types/components/Attach/Attach.d.ts.map +1 -1
- package/types/components/Attach/Attach.styles.d.ts +3 -1
- package/types/components/Attach/Attach.styles.d.ts.map +1 -1
- package/types/components/Attach/Attach.tokens.d.ts +1 -0
- package/types/components/Attach/Attach.tokens.d.ts.map +1 -1
- package/types/components/Attach/Attach.types.d.ts +7 -0
- package/types/components/Attach/Attach.types.d.ts.map +1 -1
- package/types/components/Attach/utils/getFileicon.d.ts +1 -1
- package/types/components/Attach/utils/index.d.ts +1 -3
- 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/Avatar/Avatar.d.ts +4 -0
- package/types/components/Avatar/Avatar.d.ts.map +1 -1
- package/types/components/Avatar/Avatar.styles.d.ts.map +1 -1
- package/types/components/Avatar/Avatar.tokens.d.ts +3 -0
- package/types/components/Avatar/Avatar.tokens.d.ts.map +1 -1
- package/types/components/Avatar/Avatar.types.d.ts +1 -0
- package/types/components/Avatar/Avatar.types.d.ts.map +1 -1
- package/types/components/Avatar/variations/_shape/base.d.ts +2 -0
- package/types/components/Avatar/variations/_shape/base.d.ts.map +1 -0
- package/types/components/Drawer/Drawer.d.ts +2 -0
- package/types/components/Drawer/Drawer.d.ts.map +1 -1
- package/types/components/Drawer/Drawer.styles.d.ts +2 -1
- package/types/components/Drawer/Drawer.styles.d.ts.map +1 -1
- package/types/components/Drawer/Drawer.tokens.d.ts +9 -0
- package/types/components/Drawer/Drawer.tokens.d.ts.map +1 -1
- package/types/components/Drawer/Drawer.types.d.ts +16 -0
- package/types/components/Drawer/Drawer.types.d.ts.map +1 -1
- package/types/components/Skeleton/LineSkeleton/LineSkeleton.d.ts +3 -0
- 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/LineSkeleton/variations/_view/base.d.ts +2 -0
- package/types/components/Skeleton/LineSkeleton/variations/_view/base.d.ts.map +1 -0
- package/types/components/Skeleton/Skeleton.types.d.ts +1 -0
- 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 +1 -0
- 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/Avatar/Avatar.config.d.ts +5 -0
- package/types/examples/components/Avatar/Avatar.config.d.ts.map +1 -1
- package/types/examples/components/Avatar/Avatar.d.ts +16 -0
- package/types/examples/components/Avatar/Avatar.d.ts.map +1 -1
- package/types/examples/components/Drawer/Drawer.d.ts +1 -0
- package/types/examples/components/Drawer/Drawer.d.ts.map +1 -1
- package/types/examples/components/Skeleton/LineSkeleton.config.d.ts +5 -0
- package/types/examples/components/Skeleton/LineSkeleton.config.d.ts.map +1 -1
- package/types/examples/components/Skeleton/Skeleton.d.ts +8 -0
- package/types/examples/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/cjs/components/Attach/Attach.styles_1w3ga58.css +0 -5
- package/cjs/components/Attach/utils/addSeparator.js +0 -18
- package/cjs/components/Attach/utils/addSeparator.js.map +0 -1
- package/cjs/components/Attach/utils/index.js +0 -8
- package/cjs/components/Attach/utils/index.js.map +0 -1
- package/cjs/components/Attach/variations/_helperTextView/base_1vgke1p.css +0 -1
- package/cjs/components/Skeleton/LineSkeleton/variations/_size/base_1wf7n5i.css +0 -1
- package/emotion/cjs/components/Attach/utils/addSeparator.js +0 -20
- package/emotion/es/components/Attach/utils/addSeparator.js +0 -10
- package/es/components/Attach/Attach.styles_1w3ga58.css +0 -5
- package/es/components/Attach/utils/addSeparator.js +0 -14
- package/es/components/Attach/utils/addSeparator.js.map +0 -1
- package/es/components/Attach/utils/index.js +0 -4
- package/es/components/Attach/utils/index.js.map +0 -1
- package/es/components/Attach/variations/_helperTextView/base_1vgke1p.css +0 -1
- package/es/components/Skeleton/LineSkeleton/variations/_size/base_1wf7n5i.css +0 -1
- package/styled-components/cjs/components/Attach/utils/addSeparator.js +0 -20
- package/styled-components/es/components/Attach/utils/addSeparator.js +0 -10
- package/types/components/Attach/utils/addSeparator.d.ts +0 -2
- package/types/components/Attach/utils/addSeparator.d.ts.map +0 -1
|
@@ -25,6 +25,7 @@ var _Avatartokens = require("./Avatar.tokens");
|
|
|
25
25
|
var _Avatarstyles = require("./Avatar.styles");
|
|
26
26
|
var _base = require("./variations/_size/base");
|
|
27
27
|
var _base1 = require("./variations/_focused/base");
|
|
28
|
+
var _base2 = require("./variations/_shape/base");
|
|
28
29
|
var _utils1 = require("./utils");
|
|
29
30
|
function _define_property(obj, key, value) {
|
|
30
31
|
if (key in obj) {
|
|
@@ -181,7 +182,7 @@ var mergedConfig = (0, _engines.mergeConfig)(_Indicator.indicatorConfig);
|
|
|
181
182
|
var Indicator = (0, _engines.component)(mergedConfig);
|
|
182
183
|
var StyledIndicator = (0, _styledcomponents.default)(Indicator).withConfig({
|
|
183
184
|
displayName: "Avatar__StyledIndicator",
|
|
184
|
-
componentId: "sc-
|
|
185
|
+
componentId: "sc-76e2f30f-0"
|
|
185
186
|
})([
|
|
186
187
|
"",
|
|
187
188
|
":var(",
|
|
@@ -194,7 +195,7 @@ var StyledIndicator = (0, _styledcomponents.default)(Indicator).withConfig({
|
|
|
194
195
|
});
|
|
195
196
|
var avatarRoot = function(Root) {
|
|
196
197
|
return /*#__PURE__*/ (0, _react.forwardRef)(function(props, ref) {
|
|
197
|
-
var avatarSize = props.size, name = props.name, url = props.url, customText = props.customText, status = props.status, className = props.className, _props_focused = props.focused, focused = _props_focused === void 0 ? true : _props_focused, isScalable = props.isScalable, _props_statusLabels = props.statusLabels, statusLabels = _props_statusLabels === void 0 ? StatusLabelsDefault : _props_statusLabels, hasExtra = props.hasExtra, extraPlacement = props.extraPlacement, type = props.type, counterView = props.counterView, count = props.count, maxCount = props.maxCount, badgeView = props.badgeView, text = props.text, customColor = props.customColor, customBackgroundColor = props.customBackgroundColor, contentLeft = props.contentLeft, contentRight = props.contentRight, pilled = props.pilled, rest = _object_without_properties(props, [
|
|
198
|
+
var avatarSize = props.size, name = props.name, url = props.url, customText = props.customText, status = props.status, className = props.className, _props_focused = props.focused, focused = _props_focused === void 0 ? true : _props_focused, isScalable = props.isScalable, shape = props.shape, _props_statusLabels = props.statusLabels, statusLabels = _props_statusLabels === void 0 ? StatusLabelsDefault : _props_statusLabels, hasExtra = props.hasExtra, extraPlacement = props.extraPlacement, type = props.type, counterView = props.counterView, count = props.count, maxCount = props.maxCount, badgeView = props.badgeView, text = props.text, customColor = props.customColor, customBackgroundColor = props.customBackgroundColor, contentLeft = props.contentLeft, contentRight = props.contentRight, pilled = props.pilled, rest = _object_without_properties(props, [
|
|
198
199
|
"size",
|
|
199
200
|
"name",
|
|
200
201
|
"url",
|
|
@@ -203,6 +204,7 @@ var avatarRoot = function(Root) {
|
|
|
203
204
|
"className",
|
|
204
205
|
"focused",
|
|
205
206
|
"isScalable",
|
|
207
|
+
"shape",
|
|
206
208
|
"statusLabels",
|
|
207
209
|
"hasExtra",
|
|
208
210
|
"extraPlacement",
|
|
@@ -235,6 +237,7 @@ var avatarRoot = function(Root) {
|
|
|
235
237
|
return /*#__PURE__*/ _react.default.createElement(Root, _object_spread({
|
|
236
238
|
ref: ref,
|
|
237
239
|
size: avatarSize,
|
|
240
|
+
shape: shape,
|
|
238
241
|
className: (0, _utils.cx)(_Avatartokens.classes.avatarItem, className),
|
|
239
242
|
"aria-label": ariaLabel,
|
|
240
243
|
focused: focused
|
|
@@ -279,9 +282,13 @@ var avatarConfig = {
|
|
|
279
282
|
},
|
|
280
283
|
focused: {
|
|
281
284
|
css: _base1.base
|
|
285
|
+
},
|
|
286
|
+
shape: {
|
|
287
|
+
css: _base2.base
|
|
282
288
|
}
|
|
283
289
|
},
|
|
284
290
|
defaults: {
|
|
285
|
-
size: 'm'
|
|
291
|
+
size: 'm',
|
|
292
|
+
shape: 'circled'
|
|
286
293
|
}
|
|
287
294
|
};
|
|
@@ -89,9 +89,9 @@ var base = (0, _styledcomponents.css)([
|
|
|
89
89
|
]);
|
|
90
90
|
var Wrapper = _styledcomponents.default.div.withConfig({
|
|
91
91
|
displayName: "Avatar.styles__Wrapper",
|
|
92
|
-
componentId: "sc-
|
|
92
|
+
componentId: "sc-86d30134-0"
|
|
93
93
|
})([
|
|
94
|
-
"display:flex;justify-content:center;align-items:center;width:100%;height:100%;
|
|
94
|
+
"display:flex;justify-content:center;align-items:center;width:100%;height:100%;background:var(",
|
|
95
95
|
");overflow:hidden;&:hover{scale:",
|
|
96
96
|
";cursor:",
|
|
97
97
|
";}"
|
|
@@ -104,23 +104,19 @@ var Wrapper = _styledcomponents.default.div.withConfig({
|
|
|
104
104
|
});
|
|
105
105
|
var StatusIcon = _styledcomponents.default.div.withConfig({
|
|
106
106
|
displayName: "Avatar.styles__StatusIcon",
|
|
107
|
-
componentId: "sc-
|
|
107
|
+
componentId: "sc-86d30134-1"
|
|
108
108
|
})([
|
|
109
|
-
"position:absolute;
|
|
110
|
-
|
|
111
|
-
") / 2);left:calc(1.02 * 0.85 * var(",
|
|
112
|
-
") - var(",
|
|
113
|
-
") / 2);"
|
|
114
|
-
], _Avatartokens.tokens.avatarSize, _Avatartokens.tokens.statusIconSize, _Avatartokens.tokens.avatarSize, _Avatartokens.tokens.statusIconSize);
|
|
109
|
+
"position:absolute;"
|
|
110
|
+
]);
|
|
115
111
|
var Image = _styledcomponents.default.img.withConfig({
|
|
116
112
|
displayName: "Avatar.styles__Image",
|
|
117
|
-
componentId: "sc-
|
|
113
|
+
componentId: "sc-86d30134-2"
|
|
118
114
|
})([
|
|
119
|
-
"width:100%;height:100%;
|
|
115
|
+
"width:100%;height:100%;"
|
|
120
116
|
]);
|
|
121
117
|
var Text = _styledcomponents.default.span.withConfig({
|
|
122
118
|
displayName: "Avatar.styles__Text",
|
|
123
|
-
componentId: "sc-
|
|
119
|
+
componentId: "sc-86d30134-3"
|
|
124
120
|
})([
|
|
125
121
|
"font-size:var(",
|
|
126
122
|
");font-family:var(",
|
|
@@ -132,7 +128,7 @@ var Text = _styledcomponents.default.span.withConfig({
|
|
|
132
128
|
], _Avatartokens.tokens.fontSize, _Avatartokens.tokens.fontFamily, _Avatartokens.tokens.fontWeight, _Avatartokens.tokens.lineHeight, _Avatartokens.tokens.color, _Avatartokens.tokens.color);
|
|
133
129
|
var ExtraContent = _styledcomponents.default.div.withConfig({
|
|
134
130
|
displayName: "Avatar.styles__ExtraContent",
|
|
135
|
-
componentId: "sc-
|
|
131
|
+
componentId: "sc-86d30134-4"
|
|
136
132
|
})([
|
|
137
133
|
"max-width:100%;display:flex;position:absolute;z-index:2;&.",
|
|
138
134
|
"{top:calc(-0.063rem * var(",
|
|
@@ -150,7 +146,7 @@ var ExtraContent = _styledcomponents.default.div.withConfig({
|
|
|
150
146
|
], _Avatartokens.classes.extraPlacementTopLeft, _Avatartokens.tokens.extraPlacementFactor, _Avatartokens.tokens.extraPlacementFactor, _Avatartokens.classes.extraPlacementTopRight, _Avatartokens.tokens.extraPlacementFactor, _Avatartokens.tokens.extraPlacementFactor, _Avatartokens.classes.extraPlacementBottomRight, _Avatartokens.tokens.extraPlacementFactor, _Avatartokens.tokens.extraPlacementFactor, _Avatartokens.classes.extraPlacementBottomLeft, _Avatartokens.tokens.extraPlacementFactor, _Avatartokens.tokens.extraPlacementFactor);
|
|
151
147
|
var ExtraBadge = (0, _styledcomponents.default)(Badge).withConfig({
|
|
152
148
|
displayName: "Avatar.styles__ExtraBadge",
|
|
153
|
-
componentId: "sc-
|
|
149
|
+
componentId: "sc-86d30134-5"
|
|
154
150
|
})([
|
|
155
151
|
"",
|
|
156
152
|
":var(",
|
|
@@ -198,7 +194,7 @@ var ExtraBadge = (0, _styledcomponents.default)(Badge).withConfig({
|
|
|
198
194
|
], _Badge.badgeTokens.background, _Avatartokens.tokens.badgeBackground, _Badge.badgeTokens.color, _Avatartokens.tokens.badgeColor, _Badge.badgeTokens.backgroundTransparent, _Avatartokens.tokens.badgeBackgroundTransparent, _Badge.badgeTokens.colorTransparent, _Avatartokens.tokens.badgeColorTransparent, _Badge.badgeTokens.colorClear, _Avatartokens.tokens.badgeColorClear, _Badge.badgeTokens.backgroundClear, _Avatartokens.tokens.badgeBackgroundClear, _Badge.badgeTokens.borderRadius, _Avatartokens.tokens.badgeBorderRadius, _Badge.badgeTokens.pilledBorderRadius, _Avatartokens.tokens.badgePilledBorderRadius, _Badge.badgeTokens.height, _Avatartokens.tokens.badgeHeight, _Badge.badgeTokens.padding, _Avatartokens.tokens.badgePadding, _Badge.badgeTokens.paddingIconOnly, _Avatartokens.tokens.badgePaddingIconOnly, _Badge.badgeTokens.fontFamily, _Avatartokens.tokens.badgeFontFamily, _Badge.badgeTokens.fontSize, _Avatartokens.tokens.badgeFontSize, _Badge.badgeTokens.fontStyle, _Avatartokens.tokens.badgeFontStyle, _Badge.badgeTokens.fontWeight, _Avatartokens.tokens.badgeFontWeight, _Badge.badgeTokens.letterSpacing, _Avatartokens.tokens.badgeLetterSpacing, _Badge.badgeTokens.lineHeight, _Avatartokens.tokens.badgeLineHeight, _Badge.badgeTokens.leftContentMarginLeft, _Avatartokens.tokens.badgeLeftContentMarginLeft, _Badge.badgeTokens.leftContentMarginRight, _Avatartokens.tokens.badgeLeftContentMarginRight, _Badge.badgeTokens.rightContentMarginLeft, _Avatartokens.tokens.badgeRightContentMarginLeft, _Badge.badgeTokens.rightContentMarginRight, _Avatartokens.tokens.badgeRightContentMarginRight);
|
|
199
195
|
var ExtraCounter = (0, _styledcomponents.default)(Counter).withConfig({
|
|
200
196
|
displayName: "Avatar.styles__ExtraCounter",
|
|
201
|
-
componentId: "sc-
|
|
197
|
+
componentId: "sc-86d30134-6"
|
|
202
198
|
})([
|
|
203
199
|
"",
|
|
204
200
|
":var(",
|
|
@@ -39,6 +39,9 @@ var tokens = {
|
|
|
39
39
|
outlineOffset: '--plasma-avatar-outline-offset',
|
|
40
40
|
scaleHover: '--plasma-avatar-scale-hover',
|
|
41
41
|
extraPlacementFactor: '--plasma-avatar-extra-placement-factor',
|
|
42
|
+
borderRadius: '--plasma-avatar-border-radius',
|
|
43
|
+
statusLeft: '--plasma-avatar-status-left',
|
|
44
|
+
statusTop: '--plasma-avatar-status-top',
|
|
42
45
|
// extra badge tokens
|
|
43
46
|
badgeBackground: '--plasma-avatar-extra-badge-background',
|
|
44
47
|
badgeColor: '--plasma-avatar-extra-badge-color',
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "base", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return base;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
var _styledcomponents = require("styled-components");
|
|
12
|
+
var _Avatartokens = require("../../Avatar.tokens");
|
|
13
|
+
var _Avatarstyles = require("../../Avatar.styles");
|
|
14
|
+
var base = (0, _styledcomponents.css)([
|
|
15
|
+
"",
|
|
16
|
+
"{border-radius:var(",
|
|
17
|
+
");}",
|
|
18
|
+
"{border-radius:var(",
|
|
19
|
+
");}",
|
|
20
|
+
"{top:var(",
|
|
21
|
+
");left:var(",
|
|
22
|
+
");}"
|
|
23
|
+
], _Avatarstyles.Image, _Avatartokens.tokens.borderRadius, _Avatarstyles.Wrapper, _Avatartokens.tokens.borderRadius, _Avatarstyles.StatusIcon, _Avatartokens.tokens.statusTop, _Avatartokens.tokens.statusLeft);
|
|
@@ -17,6 +17,7 @@ _export(exports, {
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
var _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
20
|
+
var _classnames = /*#__PURE__*/ _interop_require_default(require("classnames"));
|
|
20
21
|
var _plasmacore = require("@salutejs/plasma-core");
|
|
21
22
|
var _utils = require("../../utils");
|
|
22
23
|
var _Popup = require("../Popup");
|
|
@@ -43,6 +44,11 @@ function _define_property(obj, key, value) {
|
|
|
43
44
|
}
|
|
44
45
|
return obj;
|
|
45
46
|
}
|
|
47
|
+
function _interop_require_default(obj) {
|
|
48
|
+
return obj && obj.__esModule ? obj : {
|
|
49
|
+
default: obj
|
|
50
|
+
};
|
|
51
|
+
}
|
|
46
52
|
function _getRequireWildcardCache(nodeInterop) {
|
|
47
53
|
if (typeof WeakMap !== "function") return null;
|
|
48
54
|
var cacheBabelInterop = new WeakMap();
|
|
@@ -128,7 +134,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
128
134
|
}
|
|
129
135
|
var drawerRoot = function(Root) {
|
|
130
136
|
return /*#__PURE__*/ (0, _react.forwardRef)(function(_param, outerRef) {
|
|
131
|
-
var id = _param.id, zIndex = _param.zIndex, popupInfo = _param.popupInfo, withBlur = _param.withBlur, children = _param.children, view = _param.view, size = _param.size, width = _param.width, height = _param.height, isOpen = _param.isOpen, opened = _param.opened, initialFocusRef = _param.initialFocusRef, focusAfterRef = _param.focusAfterRef, className = _param.className, customBackgroundColor = _param.customBackgroundColor, customContentBackgroundColor = _param.customContentBackgroundColor, onClose = _param.onClose, onOverlayClick = _param.onOverlayClick, onEscKeyDown = _param.onEscKeyDown, offset = _param.offset, frame = _param.frame, _param_borderRadius = _param.borderRadius, borderRadius = _param_borderRadius === void 0 ? 'none' : _param_borderRadius, _param_placement = _param.placement, placement = _param_placement === void 0 ? 'right' : _param_placement, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, _param_asModal = _param.asModal, asModal = _param_asModal === void 0 ? true : _param_asModal, draggable = _param.draggable, rest = _object_without_properties(_param, [
|
|
137
|
+
var id = _param.id, zIndex = _param.zIndex, popupInfo = _param.popupInfo, withBlur = _param.withBlur, children = _param.children, view = _param.view, size = _param.size, width = _param.width, height = _param.height, isOpen = _param.isOpen, opened = _param.opened, initialFocusRef = _param.initialFocusRef, focusAfterRef = _param.focusAfterRef, animationInfo = _param.animationInfo, className = _param.className, customBackgroundColor = _param.customBackgroundColor, customContentBackgroundColor = _param.customContentBackgroundColor, onClose = _param.onClose, onOverlayClick = _param.onOverlayClick, onEscKeyDown = _param.onEscKeyDown, offset = _param.offset, frame = _param.frame, _param_borderRadius = _param.borderRadius, borderRadius = _param_borderRadius === void 0 ? 'none' : _param_borderRadius, _param_placement = _param.placement, placement = _param_placement === void 0 ? 'right' : _param_placement, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, _param_asModal = _param.asModal, asModal = _param_asModal === void 0 ? true : _param_asModal, draggable = _param.draggable, rest = _object_without_properties(_param, [
|
|
132
138
|
"id",
|
|
133
139
|
"zIndex",
|
|
134
140
|
"popupInfo",
|
|
@@ -142,6 +148,7 @@ var drawerRoot = function(Root) {
|
|
|
142
148
|
"opened",
|
|
143
149
|
"initialFocusRef",
|
|
144
150
|
"focusAfterRef",
|
|
151
|
+
"animationInfo",
|
|
145
152
|
"className",
|
|
146
153
|
"customBackgroundColor",
|
|
147
154
|
"customContentBackgroundColor",
|
|
@@ -191,10 +198,11 @@ var drawerRoot = function(Root) {
|
|
|
191
198
|
onClose();
|
|
192
199
|
}
|
|
193
200
|
};
|
|
201
|
+
var _obj;
|
|
194
202
|
return /*#__PURE__*/ _react.default.createElement(_Drawerstyles.StyledPopup, _object_spread({
|
|
195
203
|
id: innerId,
|
|
196
204
|
ref: asModal ? innerRef : outerRef,
|
|
197
|
-
className: (0,
|
|
205
|
+
className: (0, _classnames.default)(placementClass, className, (_obj = {}, _define_property(_obj, _Drawertokens.classes.enterCustomAnimation, animationInfo === null || animationInfo === void 0 ? void 0 : animationInfo.enter), _define_property(_obj, _Drawertokens.classes.exitCustomAnimation, animationInfo === null || animationInfo === void 0 ? void 0 : animationInfo.exit), _obj)),
|
|
198
206
|
opened: innerIsOpen,
|
|
199
207
|
zIndex: zIndex,
|
|
200
208
|
placement: placement,
|
|
@@ -204,6 +212,7 @@ var drawerRoot = function(Root) {
|
|
|
204
212
|
height: innerHeight,
|
|
205
213
|
offset: offset,
|
|
206
214
|
withAnimation: true,
|
|
215
|
+
drawerAnimationInfo: animationInfo,
|
|
207
216
|
overlay: asModal && /*#__PURE__*/ _react.default.createElement(Root, {
|
|
208
217
|
view: view
|
|
209
218
|
}, /*#__PURE__*/ _react.default.createElement(_Overlay.Overlay, {
|
|
@@ -216,6 +225,7 @@ var drawerRoot = function(Root) {
|
|
|
216
225
|
onOverlayClick: onDrawerOverlayKeyDown
|
|
217
226
|
}))
|
|
218
227
|
}, rest), /*#__PURE__*/ _react.default.createElement(Root, {
|
|
228
|
+
className: _Drawertokens.classes.panel,
|
|
219
229
|
view: view,
|
|
220
230
|
size: size,
|
|
221
231
|
style: {
|
|
@@ -227,8 +237,7 @@ var drawerRoot = function(Root) {
|
|
|
227
237
|
width: innerWidth,
|
|
228
238
|
height: innerHeight,
|
|
229
239
|
customBackgroundColor: customBackgroundColor,
|
|
230
|
-
customContentBackgroundColor: customContentBackgroundColor
|
|
231
|
-
className: className
|
|
240
|
+
customContentBackgroundColor: customContentBackgroundColor
|
|
232
241
|
}, children)));
|
|
233
242
|
});
|
|
234
243
|
};
|
|
@@ -82,7 +82,7 @@ var getAnimationStyles = function() {
|
|
|
82
82
|
};
|
|
83
83
|
var StyledPanel = (0, _styledcomponents.default)(Panel).withConfig({
|
|
84
84
|
displayName: "Drawer.styles__StyledPanel",
|
|
85
|
-
componentId: "sc-
|
|
85
|
+
componentId: "sc-758b0d76-0"
|
|
86
86
|
})([
|
|
87
87
|
"",
|
|
88
88
|
":var(",
|
|
@@ -90,7 +90,7 @@ var StyledPanel = (0, _styledcomponents.default)(Panel).withConfig({
|
|
|
90
90
|
], _Panel.panelTokens.closeColor, _Drawertokens.tokens.closeIconColor);
|
|
91
91
|
var StyledPopup = (0, _styledcomponents.default)(Popup).withConfig({
|
|
92
92
|
displayName: "Drawer.styles__StyledPopup",
|
|
93
|
-
componentId: "sc-
|
|
93
|
+
componentId: "sc-758b0d76-1"
|
|
94
94
|
})([
|
|
95
95
|
"&&.",
|
|
96
96
|
"{animation:fadeIn 0.2s forwards;scrollbar-gutter:stable;}&&.",
|
|
@@ -100,11 +100,24 @@ var StyledPopup = (0, _styledcomponents.default)(Popup).withConfig({
|
|
|
100
100
|
" > div{width:",
|
|
101
101
|
";height:",
|
|
102
102
|
";}",
|
|
103
|
-
""
|
|
103
|
+
" &.",
|
|
104
|
+
"{&& .",
|
|
105
|
+
"{animation:",
|
|
106
|
+
";}}&.",
|
|
107
|
+
"{&&.",
|
|
108
|
+
" .",
|
|
109
|
+
"{animation:",
|
|
110
|
+
";}}"
|
|
104
111
|
], _Drawertokens.classes.overlay, _Popup.popupClasses.endAnimation, _Drawertokens.classes.overlay, _Popup.popupClasses.root, _Popup.popupClasses.root, function(param) {
|
|
105
112
|
var width = param.width;
|
|
106
113
|
return width || 'auto';
|
|
107
114
|
}, function(param) {
|
|
108
115
|
var height = param.height;
|
|
109
116
|
return height || 'auto';
|
|
110
|
-
}, getAnimationStyles())
|
|
117
|
+
}, getAnimationStyles(), _Drawertokens.classes.enterCustomAnimation, _Popup.popupClasses.root, function(param) {
|
|
118
|
+
var drawerAnimationInfo = param.drawerAnimationInfo;
|
|
119
|
+
return (drawerAnimationInfo === null || drawerAnimationInfo === void 0 ? void 0 : drawerAnimationInfo.enter) || "var(".concat(_Drawertokens.privateTokens.enterAnimation, ")");
|
|
120
|
+
}, _Drawertokens.classes.exitCustomAnimation, _Popup.popupClasses.endAnimation, _Popup.popupClasses.root, function(param) {
|
|
121
|
+
var drawerAnimationInfo = param.drawerAnimationInfo;
|
|
122
|
+
return (drawerAnimationInfo === null || drawerAnimationInfo === void 0 ? void 0 : drawerAnimationInfo.exit) || "var(".concat(_Drawertokens.privateTokens.exitAnimation, ")");
|
|
123
|
+
});
|
|
@@ -12,6 +12,9 @@ _export(exports, {
|
|
|
12
12
|
get classes () {
|
|
13
13
|
return classes;
|
|
14
14
|
},
|
|
15
|
+
get privateTokens () {
|
|
16
|
+
return privateTokens;
|
|
17
|
+
},
|
|
15
18
|
get tokens () {
|
|
16
19
|
return tokens;
|
|
17
20
|
}
|
|
@@ -21,6 +24,9 @@ var classes = {
|
|
|
21
24
|
header: 'drawer-header',
|
|
22
25
|
footer: 'drawer-footer',
|
|
23
26
|
overlay: 'drawer-overlay',
|
|
27
|
+
panel: 'drawer-panel',
|
|
28
|
+
enterCustomAnimation: 'drawer-enter-custom-animation',
|
|
29
|
+
exitCustomAnimation: 'drawer-exit-custom-animation',
|
|
24
30
|
horizontal: 'drawer-horizontal',
|
|
25
31
|
hasHeader: 'drawer-has-header',
|
|
26
32
|
isRightClose: 'drawer-right-close-button',
|
|
@@ -29,6 +35,12 @@ var classes = {
|
|
|
29
35
|
rightPlacement: 'drawer-right-placement',
|
|
30
36
|
leftPlacement: 'drawer-left-placement'
|
|
31
37
|
};
|
|
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
|
+
};
|
|
32
44
|
var tokens = {
|
|
33
45
|
drawerOverlayWithBlurColor: '--plasma-drawer-overlay-with-blur-color',
|
|
34
46
|
drawerOverlayColor: '--plasma-drawer-overlay-color',
|
|
@@ -19,6 +19,7 @@ _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");
|
|
22
23
|
var _LineSkeletonstyles = require("./LineSkeleton.styles");
|
|
23
24
|
function _define_property(obj, key, value) {
|
|
24
25
|
if (key in obj) {
|
|
@@ -118,22 +119,24 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
118
119
|
}
|
|
119
120
|
var lineSkeletonRoot = function(Root) {
|
|
120
121
|
return /*#__PURE__*/ (0, _react.forwardRef)(function(_param, outerRootRef) {
|
|
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, [
|
|
122
|
+
var size = _param.size, lighter = _param.lighter, customGradientColor = _param.customGradientColor, _param_roundness = _param.roundness, roundness = _param_roundness === void 0 ? '16' : _param_roundness, view = _param.view, rest = _object_without_properties(_param, [
|
|
122
123
|
"size",
|
|
123
124
|
"lighter",
|
|
124
125
|
"customGradientColor",
|
|
125
|
-
"roundness"
|
|
126
|
+
"roundness",
|
|
127
|
+
"view"
|
|
126
128
|
]);
|
|
127
129
|
var roundnessValue = (0, _mixins.getRoundness)({
|
|
128
130
|
roundness: roundness
|
|
129
131
|
});
|
|
130
|
-
var skeletonGradientColor = (0, _mixins.getSkeletonColor)({
|
|
132
|
+
var skeletonGradientColor = lighter ? (0, _mixins.getSkeletonColor)({
|
|
131
133
|
lighter: lighter,
|
|
132
134
|
customGradientColor: customGradientColor
|
|
133
|
-
});
|
|
135
|
+
}) : undefined;
|
|
134
136
|
return /*#__PURE__*/ _react.default.createElement(Root, _object_spread({
|
|
135
137
|
ref: outerRootRef,
|
|
136
|
-
size: size
|
|
138
|
+
size: size,
|
|
139
|
+
view: view
|
|
137
140
|
}, rest), /*#__PURE__*/ _react.default.createElement(_LineSkeletonstyles.StyledVisibleLine, {
|
|
138
141
|
roundness: roundnessValue,
|
|
139
142
|
gradientColor: skeletonGradientColor
|
|
@@ -148,6 +151,9 @@ var lineSkeletonConfig = {
|
|
|
148
151
|
variations: {
|
|
149
152
|
size: {
|
|
150
153
|
css: _base.base
|
|
154
|
+
},
|
|
155
|
+
view: {
|
|
156
|
+
css: _base1.base
|
|
151
157
|
}
|
|
152
158
|
},
|
|
153
159
|
defaults: {}
|
|
@@ -18,6 +18,7 @@ _export(exports, {
|
|
|
18
18
|
});
|
|
19
19
|
var _styledcomponents = /*#__PURE__*/ _interop_require_wildcard(require("styled-components"));
|
|
20
20
|
var _mixins = require("../../../mixins");
|
|
21
|
+
var _tokens = require("../tokens");
|
|
21
22
|
function _getRequireWildcardCache(nodeInterop) {
|
|
22
23
|
if (typeof WeakMap !== "function") return null;
|
|
23
24
|
var cacheBabelInterop = new WeakMap();
|
|
@@ -64,7 +65,7 @@ var base = (0, _styledcomponents.css)([
|
|
|
64
65
|
]);
|
|
65
66
|
var StyledVisibleLine = _styledcomponents.default.div.withConfig({
|
|
66
67
|
displayName: "LineSkeleton.styles__StyledVisibleLine",
|
|
67
|
-
componentId: "sc-
|
|
68
|
+
componentId: "sc-e66a9562-0"
|
|
68
69
|
})([
|
|
69
70
|
"position:relative;overflow:hidden;width:100%;--plasma_private-line-skeleton-roundness:",
|
|
70
71
|
";",
|
|
@@ -76,5 +77,5 @@ var StyledVisibleLine = _styledcomponents.default.div.withConfig({
|
|
|
76
77
|
return roundness;
|
|
77
78
|
}, (0, _mixins.applyRoundness)('var(--plasma_private-line-skeleton-roundness)'), function(param) {
|
|
78
79
|
var gradientColor = param.gradientColor;
|
|
79
|
-
return gradientColor;
|
|
80
|
+
return gradientColor || "var(".concat(_tokens.tokens.gradientColor, ")");
|
|
80
81
|
}, (0, _mixins.applySkeletonGradient)('var(--plasma_private-line-skeleton-gradient)'));
|
|
@@ -9,11 +9,6 @@ Object.defineProperty(exports, "base", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
var _styledcomponents = require("styled-components");
|
|
12
|
-
var _LineSkeletonstyles = require("../../LineSkeleton.styles");
|
|
13
|
-
var _tokens = require("../../../tokens");
|
|
14
12
|
var base = (0, _styledcomponents.css)([
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
"{height:var(",
|
|
18
|
-
");}"
|
|
19
|
-
], _tokens.tokens.lineHeight, _LineSkeletonstyles.StyledVisibleLine, _tokens.tokens.visibleLineHeight);
|
|
13
|
+
""
|
|
14
|
+
]);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "base", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return base;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
var _styledcomponents = require("styled-components");
|
|
12
|
+
var _LineSkeletonstyles = require("../../LineSkeleton.styles");
|
|
13
|
+
var _tokens = require("../../../tokens");
|
|
14
|
+
var base = (0, _styledcomponents.css)([
|
|
15
|
+
"height:var(",
|
|
16
|
+
");& ",
|
|
17
|
+
"{height:var(",
|
|
18
|
+
");}"
|
|
19
|
+
], _tokens.tokens.lineHeight, _LineSkeletonstyles.StyledVisibleLine, _tokens.tokens.visibleLineHeight);
|
|
@@ -195,13 +195,14 @@ 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, props = _object_without_properties(_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, _param_view = _param.view, view = _param_view === void 0 ? 'default' : _param_view, props = _object_without_properties(_param, [
|
|
199
199
|
"lines",
|
|
200
200
|
"width",
|
|
201
201
|
"roundness",
|
|
202
202
|
"customGradientColor",
|
|
203
203
|
"lighter",
|
|
204
|
-
"size"
|
|
204
|
+
"size",
|
|
205
|
+
"view"
|
|
205
206
|
]);
|
|
206
207
|
var _useState = _sliced_to_array((0, _react.useState)(null), 2), fixedWidth = _useState[0], setFixedWidth = _useState[1];
|
|
207
208
|
var _useState1 = _sliced_to_array((0, _react.useState)([]), 2), linesWidth = _useState1[0], setLinesWidth = _useState1[1];
|
|
@@ -239,6 +240,7 @@ var textSkeleton = function(Component) {
|
|
|
239
240
|
return /*#__PURE__*/ _react.default.createElement(ComponentSkeleton, {
|
|
240
241
|
key: "line:".concat(i),
|
|
241
242
|
size: size,
|
|
243
|
+
view: view,
|
|
242
244
|
roundness: roundness,
|
|
243
245
|
customGradientColor: customGradientColor,
|
|
244
246
|
lighter: lighter,
|
|
@@ -10,5 +10,6 @@ Object.defineProperty(exports, "tokens", {
|
|
|
10
10
|
});
|
|
11
11
|
var tokens = {
|
|
12
12
|
lineHeight: '--plasma-skeleton-line-height',
|
|
13
|
-
visibleLineHeight: '--plasma-skeleton-visible-line-height'
|
|
13
|
+
visibleLineHeight: '--plasma-skeleton-visible-line-height',
|
|
14
|
+
gradientColor: '--plasma-skeleton-gradient-color'
|
|
14
15
|
};
|
|
@@ -463,6 +463,7 @@ var config = {
|
|
|
463
463
|
":0.5rem;",
|
|
464
464
|
":1.625rem;",
|
|
465
465
|
":3.5rem;",
|
|
466
|
+
":3.5rem;",
|
|
466
467
|
":12.5rem;",
|
|
467
468
|
":1.5rem;",
|
|
468
469
|
":0.875rem;",
|
|
@@ -526,13 +527,14 @@ var config = {
|
|
|
526
527
|
":var(--plasma-typo-body-xs-line-height);",
|
|
527
528
|
":1rem;",
|
|
528
529
|
":inherit;"
|
|
529
|
-
], _Attach.attachTokens.horizontalGap, _Attach.attachTokens.verticalGap, _Attach.attachTokens.verticalGapWithHelperText, _Attach.attachTokens.buttonHeight, _Attach.attachTokens.buttonWidth, _Attach.attachTokens.buttonPadding, _Attach.attachTokens.buttonRadius, _Attach.attachTokens.buttonFontFamily, _Attach.attachTokens.buttonFontSize, _Attach.attachTokens.buttonFontStyle, _Attach.attachTokens.buttonFontWeight, _Attach.attachTokens.buttonLetterSpacing, _Attach.attachTokens.buttonLineHeight, _Attach.attachTokens.buttonSpinnerSize, _Attach.attachTokens.buttonSpinnerColor, _Attach.attachTokens.buttonLeftContentMargin, _Attach.attachTokens.buttonRightContentMargin, _Attach.attachTokens.buttonValueMargin, _Attach.attachTokens.cellWidth, _Attach.attachTokens.cellPadding, _Attach.attachTokens.cellPaddingLeftContent, _Attach.attachTokens.cellPaddingContent, _Attach.attachTokens.cellPaddingRightContent, _Attach.attachTokens.cellTextboxGap, _Attach.attachTokens.cellGap, _Attach.attachTokens.cellLabelFontFamily, _Attach.attachTokens.cellLabelFontSize, _Attach.attachTokens.cellLabelFontStyle, _Attach.attachTokens.cellLabelFontWeight, _Attach.attachTokens.cellLabelLetterSpacing, _Attach.attachTokens.cellLabelLineHeight, _Attach.attachTokens.cellTitleFontFamily, _Attach.attachTokens.cellTitleFontSize, _Attach.attachTokens.cellTitleFontStyle, _Attach.attachTokens.cellTitleFontWeight, _Attach.attachTokens.cellTitleLetterSpacing, _Attach.attachTokens.cellTitleLineHeight, _Attach.attachTokens.cellSubtitleFontFamily, _Attach.attachTokens.cellSubtitleFontSize, _Attach.attachTokens.cellSubtitleFontStyle, _Attach.attachTokens.cellSubtitleFontWeight, _Attach.attachTokens.cellSubtitleLetterSpacing, _Attach.attachTokens.cellSubtitleLineHeight, _Attach.attachTokens.iconButtonHeight, _Attach.attachTokens.iconButtonWidth, _Attach.attachTokens.iconButtonPadding, _Attach.attachTokens.iconButtonRadius, _Attach.attachTokens.iconButtonFontFamily, _Attach.attachTokens.iconButtonFontSize, _Attach.attachTokens.iconButtonFontStyle, _Attach.attachTokens.iconButtonFontWeight, _Attach.attachTokens.iconButtonLetterSpacing, _Attach.attachTokens.iconButtonLineHeight, _Attach.attachTokens.iconButtonSpinnerSize, _Attach.attachTokens.iconButtonSpinnerColor, _Attach.attachTokens.iconButtonCancelHeight, _Attach.attachTokens.iconButtonCancelWidth, _Attach.attachTokens.iconButtonCancelPadding, _Attach.attachTokens.iconButtonCancelRadius, _Attach.attachTokens.iconButtonCancelFontFamily, _Attach.attachTokens.iconButtonCancelFontSize, _Attach.attachTokens.iconButtonCancelFontStyle, _Attach.attachTokens.iconButtonCancelFontWeight, _Attach.attachTokens.iconButtonCancelLetterSpacing, _Attach.attachTokens.iconButtonCancelLineHeight, _Attach.attachTokens.iconButtonCancelSpinnerSize, _Attach.attachTokens.iconButtonCancelSpinnerColor),
|
|
530
|
+
], _Attach.attachTokens.horizontalGap, _Attach.attachTokens.verticalGap, _Attach.attachTokens.verticalGapWithHelperText, _Attach.attachTokens.filenameWrapperHeight, _Attach.attachTokens.buttonHeight, _Attach.attachTokens.buttonWidth, _Attach.attachTokens.buttonPadding, _Attach.attachTokens.buttonRadius, _Attach.attachTokens.buttonFontFamily, _Attach.attachTokens.buttonFontSize, _Attach.attachTokens.buttonFontStyle, _Attach.attachTokens.buttonFontWeight, _Attach.attachTokens.buttonLetterSpacing, _Attach.attachTokens.buttonLineHeight, _Attach.attachTokens.buttonSpinnerSize, _Attach.attachTokens.buttonSpinnerColor, _Attach.attachTokens.buttonLeftContentMargin, _Attach.attachTokens.buttonRightContentMargin, _Attach.attachTokens.buttonValueMargin, _Attach.attachTokens.cellWidth, _Attach.attachTokens.cellPadding, _Attach.attachTokens.cellPaddingLeftContent, _Attach.attachTokens.cellPaddingContent, _Attach.attachTokens.cellPaddingRightContent, _Attach.attachTokens.cellTextboxGap, _Attach.attachTokens.cellGap, _Attach.attachTokens.cellLabelFontFamily, _Attach.attachTokens.cellLabelFontSize, _Attach.attachTokens.cellLabelFontStyle, _Attach.attachTokens.cellLabelFontWeight, _Attach.attachTokens.cellLabelLetterSpacing, _Attach.attachTokens.cellLabelLineHeight, _Attach.attachTokens.cellTitleFontFamily, _Attach.attachTokens.cellTitleFontSize, _Attach.attachTokens.cellTitleFontStyle, _Attach.attachTokens.cellTitleFontWeight, _Attach.attachTokens.cellTitleLetterSpacing, _Attach.attachTokens.cellTitleLineHeight, _Attach.attachTokens.cellSubtitleFontFamily, _Attach.attachTokens.cellSubtitleFontSize, _Attach.attachTokens.cellSubtitleFontStyle, _Attach.attachTokens.cellSubtitleFontWeight, _Attach.attachTokens.cellSubtitleLetterSpacing, _Attach.attachTokens.cellSubtitleLineHeight, _Attach.attachTokens.iconButtonHeight, _Attach.attachTokens.iconButtonWidth, _Attach.attachTokens.iconButtonPadding, _Attach.attachTokens.iconButtonRadius, _Attach.attachTokens.iconButtonFontFamily, _Attach.attachTokens.iconButtonFontSize, _Attach.attachTokens.iconButtonFontStyle, _Attach.attachTokens.iconButtonFontWeight, _Attach.attachTokens.iconButtonLetterSpacing, _Attach.attachTokens.iconButtonLineHeight, _Attach.attachTokens.iconButtonSpinnerSize, _Attach.attachTokens.iconButtonSpinnerColor, _Attach.attachTokens.iconButtonCancelHeight, _Attach.attachTokens.iconButtonCancelWidth, _Attach.attachTokens.iconButtonCancelPadding, _Attach.attachTokens.iconButtonCancelRadius, _Attach.attachTokens.iconButtonCancelFontFamily, _Attach.attachTokens.iconButtonCancelFontSize, _Attach.attachTokens.iconButtonCancelFontStyle, _Attach.attachTokens.iconButtonCancelFontWeight, _Attach.attachTokens.iconButtonCancelLetterSpacing, _Attach.attachTokens.iconButtonCancelLineHeight, _Attach.attachTokens.iconButtonCancelSpinnerSize, _Attach.attachTokens.iconButtonCancelSpinnerColor),
|
|
530
531
|
m: (0, _styledcomponents.css)([
|
|
531
532
|
"",
|
|
532
533
|
":1.25rem;",
|
|
533
534
|
":0.5rem;",
|
|
534
535
|
":1.625rem;",
|
|
535
536
|
":3rem;",
|
|
537
|
+
":3rem;",
|
|
536
538
|
":11.25rem;",
|
|
537
539
|
":1.25rem;",
|
|
538
540
|
":0.75rem;",
|
|
@@ -596,13 +598,14 @@ var config = {
|
|
|
596
598
|
":var(--plasma-typo-body-xs-line-height);",
|
|
597
599
|
":1rem;",
|
|
598
600
|
":inherit;"
|
|
599
|
-
], _Attach.attachTokens.horizontalGap, _Attach.attachTokens.verticalGap, _Attach.attachTokens.verticalGapWithHelperText, _Attach.attachTokens.buttonHeight, _Attach.attachTokens.buttonWidth, _Attach.attachTokens.buttonPadding, _Attach.attachTokens.buttonRadius, _Attach.attachTokens.buttonFontFamily, _Attach.attachTokens.buttonFontSize, _Attach.attachTokens.buttonFontStyle, _Attach.attachTokens.buttonFontWeight, _Attach.attachTokens.buttonLetterSpacing, _Attach.attachTokens.buttonLineHeight, _Attach.attachTokens.buttonSpinnerSize, _Attach.attachTokens.buttonSpinnerColor, _Attach.attachTokens.buttonLeftContentMargin, _Attach.attachTokens.buttonRightContentMargin, _Attach.attachTokens.buttonValueMargin, _Attach.attachTokens.cellWidth, _Attach.attachTokens.cellPadding, _Attach.attachTokens.cellPaddingLeftContent, _Attach.attachTokens.cellPaddingContent, _Attach.attachTokens.cellPaddingRightContent, _Attach.attachTokens.cellTextboxGap, _Attach.attachTokens.cellGap, _Attach.attachTokens.cellLabelFontFamily, _Attach.attachTokens.cellLabelFontSize, _Attach.attachTokens.cellLabelFontStyle, _Attach.attachTokens.cellLabelFontWeight, _Attach.attachTokens.cellLabelLetterSpacing, _Attach.attachTokens.cellLabelLineHeight, _Attach.attachTokens.cellTitleFontFamily, _Attach.attachTokens.cellTitleFontSize, _Attach.attachTokens.cellTitleFontStyle, _Attach.attachTokens.cellTitleFontWeight, _Attach.attachTokens.cellTitleLetterSpacing, _Attach.attachTokens.cellTitleLineHeight, _Attach.attachTokens.cellSubtitleFontFamily, _Attach.attachTokens.cellSubtitleFontSize, _Attach.attachTokens.cellSubtitleFontStyle, _Attach.attachTokens.cellSubtitleFontWeight, _Attach.attachTokens.cellSubtitleLetterSpacing, _Attach.attachTokens.cellSubtitleLineHeight, _Attach.attachTokens.iconButtonHeight, _Attach.attachTokens.iconButtonWidth, _Attach.attachTokens.iconButtonPadding, _Attach.attachTokens.iconButtonRadius, _Attach.attachTokens.iconButtonFontFamily, _Attach.attachTokens.iconButtonFontSize, _Attach.attachTokens.iconButtonFontStyle, _Attach.attachTokens.iconButtonFontWeight, _Attach.attachTokens.iconButtonLetterSpacing, _Attach.attachTokens.iconButtonLineHeight, _Attach.attachTokens.iconButtonSpinnerSize, _Attach.attachTokens.iconButtonSpinnerColor, _Attach.attachTokens.iconButtonCancelHeight, _Attach.attachTokens.iconButtonCancelWidth, _Attach.attachTokens.iconButtonCancelPadding, _Attach.attachTokens.iconButtonCancelRadius, _Attach.attachTokens.iconButtonCancelFontFamily, _Attach.attachTokens.iconButtonCancelFontSize, _Attach.attachTokens.iconButtonCancelFontStyle, _Attach.attachTokens.iconButtonCancelFontWeight, _Attach.attachTokens.iconButtonCancelLetterSpacing, _Attach.attachTokens.iconButtonCancelLineHeight, _Attach.attachTokens.iconButtonCancelSpinnerSize, _Attach.attachTokens.iconButtonCancelSpinnerColor),
|
|
601
|
+
], _Attach.attachTokens.horizontalGap, _Attach.attachTokens.verticalGap, _Attach.attachTokens.verticalGapWithHelperText, _Attach.attachTokens.filenameWrapperHeight, _Attach.attachTokens.buttonHeight, _Attach.attachTokens.buttonWidth, _Attach.attachTokens.buttonPadding, _Attach.attachTokens.buttonRadius, _Attach.attachTokens.buttonFontFamily, _Attach.attachTokens.buttonFontSize, _Attach.attachTokens.buttonFontStyle, _Attach.attachTokens.buttonFontWeight, _Attach.attachTokens.buttonLetterSpacing, _Attach.attachTokens.buttonLineHeight, _Attach.attachTokens.buttonSpinnerSize, _Attach.attachTokens.buttonSpinnerColor, _Attach.attachTokens.buttonLeftContentMargin, _Attach.attachTokens.buttonRightContentMargin, _Attach.attachTokens.buttonValueMargin, _Attach.attachTokens.cellWidth, _Attach.attachTokens.cellPadding, _Attach.attachTokens.cellPaddingLeftContent, _Attach.attachTokens.cellPaddingContent, _Attach.attachTokens.cellPaddingRightContent, _Attach.attachTokens.cellTextboxGap, _Attach.attachTokens.cellGap, _Attach.attachTokens.cellLabelFontFamily, _Attach.attachTokens.cellLabelFontSize, _Attach.attachTokens.cellLabelFontStyle, _Attach.attachTokens.cellLabelFontWeight, _Attach.attachTokens.cellLabelLetterSpacing, _Attach.attachTokens.cellLabelLineHeight, _Attach.attachTokens.cellTitleFontFamily, _Attach.attachTokens.cellTitleFontSize, _Attach.attachTokens.cellTitleFontStyle, _Attach.attachTokens.cellTitleFontWeight, _Attach.attachTokens.cellTitleLetterSpacing, _Attach.attachTokens.cellTitleLineHeight, _Attach.attachTokens.cellSubtitleFontFamily, _Attach.attachTokens.cellSubtitleFontSize, _Attach.attachTokens.cellSubtitleFontStyle, _Attach.attachTokens.cellSubtitleFontWeight, _Attach.attachTokens.cellSubtitleLetterSpacing, _Attach.attachTokens.cellSubtitleLineHeight, _Attach.attachTokens.iconButtonHeight, _Attach.attachTokens.iconButtonWidth, _Attach.attachTokens.iconButtonPadding, _Attach.attachTokens.iconButtonRadius, _Attach.attachTokens.iconButtonFontFamily, _Attach.attachTokens.iconButtonFontSize, _Attach.attachTokens.iconButtonFontStyle, _Attach.attachTokens.iconButtonFontWeight, _Attach.attachTokens.iconButtonLetterSpacing, _Attach.attachTokens.iconButtonLineHeight, _Attach.attachTokens.iconButtonSpinnerSize, _Attach.attachTokens.iconButtonSpinnerColor, _Attach.attachTokens.iconButtonCancelHeight, _Attach.attachTokens.iconButtonCancelWidth, _Attach.attachTokens.iconButtonCancelPadding, _Attach.attachTokens.iconButtonCancelRadius, _Attach.attachTokens.iconButtonCancelFontFamily, _Attach.attachTokens.iconButtonCancelFontSize, _Attach.attachTokens.iconButtonCancelFontStyle, _Attach.attachTokens.iconButtonCancelFontWeight, _Attach.attachTokens.iconButtonCancelLetterSpacing, _Attach.attachTokens.iconButtonCancelLineHeight, _Attach.attachTokens.iconButtonCancelSpinnerSize, _Attach.attachTokens.iconButtonCancelSpinnerColor),
|
|
600
602
|
s: (0, _styledcomponents.css)([
|
|
601
603
|
"",
|
|
602
604
|
":1rem;",
|
|
603
605
|
":0.375rem;",
|
|
604
606
|
":1.5rem;",
|
|
605
607
|
":2.5rem;",
|
|
608
|
+
":2.5rem;",
|
|
606
609
|
":11.25rem;",
|
|
607
610
|
":1rem;",
|
|
608
611
|
":0.625rem;",
|
|
@@ -666,13 +669,14 @@ var config = {
|
|
|
666
669
|
":var(--plasma-typo-body-xs-line-height);",
|
|
667
670
|
":1rem;",
|
|
668
671
|
":inherit;"
|
|
669
|
-
], _Attach.attachTokens.horizontalGap, _Attach.attachTokens.verticalGap, _Attach.attachTokens.verticalGapWithHelperText, _Attach.attachTokens.buttonHeight, _Attach.attachTokens.buttonWidth, _Attach.attachTokens.buttonPadding, _Attach.attachTokens.buttonRadius, _Attach.attachTokens.buttonFontFamily, _Attach.attachTokens.buttonFontSize, _Attach.attachTokens.buttonFontStyle, _Attach.attachTokens.buttonFontWeight, _Attach.attachTokens.buttonLetterSpacing, _Attach.attachTokens.buttonLineHeight, _Attach.attachTokens.buttonSpinnerSize, _Attach.attachTokens.buttonSpinnerColor, _Attach.attachTokens.buttonLeftContentMargin, _Attach.attachTokens.buttonRightContentMargin, _Attach.attachTokens.buttonValueMargin, _Attach.attachTokens.cellWidth, _Attach.attachTokens.cellPadding, _Attach.attachTokens.cellPaddingLeftContent, _Attach.attachTokens.cellPaddingContent, _Attach.attachTokens.cellPaddingRightContent, _Attach.attachTokens.cellTextboxGap, _Attach.attachTokens.cellGap, _Attach.attachTokens.cellLabelFontFamily, _Attach.attachTokens.cellLabelFontSize, _Attach.attachTokens.cellLabelFontStyle, _Attach.attachTokens.cellLabelFontWeight, _Attach.attachTokens.cellLabelLetterSpacing, _Attach.attachTokens.cellLabelLineHeight, _Attach.attachTokens.cellTitleFontFamily, _Attach.attachTokens.cellTitleFontSize, _Attach.attachTokens.cellTitleFontStyle, _Attach.attachTokens.cellTitleFontWeight, _Attach.attachTokens.cellTitleLetterSpacing, _Attach.attachTokens.cellTitleLineHeight, _Attach.attachTokens.cellSubtitleFontFamily, _Attach.attachTokens.cellSubtitleFontSize, _Attach.attachTokens.cellSubtitleFontStyle, _Attach.attachTokens.cellSubtitleFontWeight, _Attach.attachTokens.cellSubtitleLetterSpacing, _Attach.attachTokens.cellSubtitleLineHeight, _Attach.attachTokens.iconButtonHeight, _Attach.attachTokens.iconButtonWidth, _Attach.attachTokens.iconButtonPadding, _Attach.attachTokens.iconButtonRadius, _Attach.attachTokens.iconButtonFontFamily, _Attach.attachTokens.iconButtonFontSize, _Attach.attachTokens.iconButtonFontStyle, _Attach.attachTokens.iconButtonFontWeight, _Attach.attachTokens.iconButtonLetterSpacing, _Attach.attachTokens.iconButtonLineHeight, _Attach.attachTokens.iconButtonSpinnerSize, _Attach.attachTokens.iconButtonSpinnerColor, _Attach.attachTokens.iconButtonCancelHeight, _Attach.attachTokens.iconButtonCancelWidth, _Attach.attachTokens.iconButtonCancelPadding, _Attach.attachTokens.iconButtonCancelRadius, _Attach.attachTokens.iconButtonCancelFontFamily, _Attach.attachTokens.iconButtonCancelFontSize, _Attach.attachTokens.iconButtonCancelFontStyle, _Attach.attachTokens.iconButtonCancelFontWeight, _Attach.attachTokens.iconButtonCancelLetterSpacing, _Attach.attachTokens.iconButtonCancelLineHeight, _Attach.attachTokens.iconButtonCancelSpinnerSize, _Attach.attachTokens.iconButtonCancelSpinnerColor),
|
|
672
|
+
], _Attach.attachTokens.horizontalGap, _Attach.attachTokens.verticalGap, _Attach.attachTokens.verticalGapWithHelperText, _Attach.attachTokens.filenameWrapperHeight, _Attach.attachTokens.buttonHeight, _Attach.attachTokens.buttonWidth, _Attach.attachTokens.buttonPadding, _Attach.attachTokens.buttonRadius, _Attach.attachTokens.buttonFontFamily, _Attach.attachTokens.buttonFontSize, _Attach.attachTokens.buttonFontStyle, _Attach.attachTokens.buttonFontWeight, _Attach.attachTokens.buttonLetterSpacing, _Attach.attachTokens.buttonLineHeight, _Attach.attachTokens.buttonSpinnerSize, _Attach.attachTokens.buttonSpinnerColor, _Attach.attachTokens.buttonLeftContentMargin, _Attach.attachTokens.buttonRightContentMargin, _Attach.attachTokens.buttonValueMargin, _Attach.attachTokens.cellWidth, _Attach.attachTokens.cellPadding, _Attach.attachTokens.cellPaddingLeftContent, _Attach.attachTokens.cellPaddingContent, _Attach.attachTokens.cellPaddingRightContent, _Attach.attachTokens.cellTextboxGap, _Attach.attachTokens.cellGap, _Attach.attachTokens.cellLabelFontFamily, _Attach.attachTokens.cellLabelFontSize, _Attach.attachTokens.cellLabelFontStyle, _Attach.attachTokens.cellLabelFontWeight, _Attach.attachTokens.cellLabelLetterSpacing, _Attach.attachTokens.cellLabelLineHeight, _Attach.attachTokens.cellTitleFontFamily, _Attach.attachTokens.cellTitleFontSize, _Attach.attachTokens.cellTitleFontStyle, _Attach.attachTokens.cellTitleFontWeight, _Attach.attachTokens.cellTitleLetterSpacing, _Attach.attachTokens.cellTitleLineHeight, _Attach.attachTokens.cellSubtitleFontFamily, _Attach.attachTokens.cellSubtitleFontSize, _Attach.attachTokens.cellSubtitleFontStyle, _Attach.attachTokens.cellSubtitleFontWeight, _Attach.attachTokens.cellSubtitleLetterSpacing, _Attach.attachTokens.cellSubtitleLineHeight, _Attach.attachTokens.iconButtonHeight, _Attach.attachTokens.iconButtonWidth, _Attach.attachTokens.iconButtonPadding, _Attach.attachTokens.iconButtonRadius, _Attach.attachTokens.iconButtonFontFamily, _Attach.attachTokens.iconButtonFontSize, _Attach.attachTokens.iconButtonFontStyle, _Attach.attachTokens.iconButtonFontWeight, _Attach.attachTokens.iconButtonLetterSpacing, _Attach.attachTokens.iconButtonLineHeight, _Attach.attachTokens.iconButtonSpinnerSize, _Attach.attachTokens.iconButtonSpinnerColor, _Attach.attachTokens.iconButtonCancelHeight, _Attach.attachTokens.iconButtonCancelWidth, _Attach.attachTokens.iconButtonCancelPadding, _Attach.attachTokens.iconButtonCancelRadius, _Attach.attachTokens.iconButtonCancelFontFamily, _Attach.attachTokens.iconButtonCancelFontSize, _Attach.attachTokens.iconButtonCancelFontStyle, _Attach.attachTokens.iconButtonCancelFontWeight, _Attach.attachTokens.iconButtonCancelLetterSpacing, _Attach.attachTokens.iconButtonCancelLineHeight, _Attach.attachTokens.iconButtonCancelSpinnerSize, _Attach.attachTokens.iconButtonCancelSpinnerColor),
|
|
670
673
|
xs: (0, _styledcomponents.css)([
|
|
671
674
|
"",
|
|
672
675
|
":0.75rem;",
|
|
673
676
|
":0.25rem;",
|
|
674
677
|
":1.375rem;",
|
|
675
678
|
":2rem;",
|
|
679
|
+
":2rem;",
|
|
676
680
|
":10rem;",
|
|
677
681
|
":0.75rem;",
|
|
678
682
|
":0.5rem;",
|
|
@@ -736,7 +740,7 @@ var config = {
|
|
|
736
740
|
":var(--plasma-typo-body-xs-line-height);",
|
|
737
741
|
":1rem;",
|
|
738
742
|
":inherit;"
|
|
739
|
-
], _Attach.attachTokens.horizontalGap, _Attach.attachTokens.verticalGap, _Attach.attachTokens.verticalGapWithHelperText, _Attach.attachTokens.buttonHeight, _Attach.attachTokens.buttonWidth, _Attach.attachTokens.buttonPadding, _Attach.attachTokens.buttonRadius, _Attach.attachTokens.buttonFontFamily, _Attach.attachTokens.buttonFontSize, _Attach.attachTokens.buttonFontStyle, _Attach.attachTokens.buttonFontWeight, _Attach.attachTokens.buttonLetterSpacing, _Attach.attachTokens.buttonLineHeight, _Attach.attachTokens.buttonSpinnerSize, _Attach.attachTokens.buttonSpinnerColor, _Attach.attachTokens.buttonLeftContentMargin, _Attach.attachTokens.buttonRightContentMargin, _Attach.attachTokens.buttonValueMargin, _Attach.attachTokens.cellWidth, _Attach.attachTokens.cellPadding, _Attach.attachTokens.cellPaddingLeftContent, _Attach.attachTokens.cellPaddingContent, _Attach.attachTokens.cellPaddingRightContent, _Attach.attachTokens.cellTextboxGap, _Attach.attachTokens.cellGap, _Attach.attachTokens.cellLabelFontFamily, _Attach.attachTokens.cellLabelFontSize, _Attach.attachTokens.cellLabelFontStyle, _Attach.attachTokens.cellLabelFontWeight, _Attach.attachTokens.cellLabelLetterSpacing, _Attach.attachTokens.cellLabelLineHeight, _Attach.attachTokens.cellTitleFontFamily, _Attach.attachTokens.cellTitleFontSize, _Attach.attachTokens.cellTitleFontStyle, _Attach.attachTokens.cellTitleFontWeight, _Attach.attachTokens.cellTitleLetterSpacing, _Attach.attachTokens.cellTitleLineHeight, _Attach.attachTokens.cellSubtitleFontFamily, _Attach.attachTokens.cellSubtitleFontSize, _Attach.attachTokens.cellSubtitleFontStyle, _Attach.attachTokens.cellSubtitleFontWeight, _Attach.attachTokens.cellSubtitleLetterSpacing, _Attach.attachTokens.cellSubtitleLineHeight, _Attach.attachTokens.iconButtonHeight, _Attach.attachTokens.iconButtonWidth, _Attach.attachTokens.iconButtonPadding, _Attach.attachTokens.iconButtonRadius, _Attach.attachTokens.iconButtonFontFamily, _Attach.attachTokens.iconButtonFontSize, _Attach.attachTokens.iconButtonFontStyle, _Attach.attachTokens.iconButtonFontWeight, _Attach.attachTokens.iconButtonLetterSpacing, _Attach.attachTokens.iconButtonLineHeight, _Attach.attachTokens.iconButtonSpinnerSize, _Attach.attachTokens.iconButtonSpinnerColor, _Attach.attachTokens.iconButtonCancelHeight, _Attach.attachTokens.iconButtonCancelWidth, _Attach.attachTokens.iconButtonCancelPadding, _Attach.attachTokens.iconButtonCancelRadius, _Attach.attachTokens.iconButtonCancelFontFamily, _Attach.attachTokens.iconButtonCancelFontSize, _Attach.attachTokens.iconButtonCancelFontStyle, _Attach.attachTokens.iconButtonCancelFontWeight, _Attach.attachTokens.iconButtonCancelLetterSpacing, _Attach.attachTokens.iconButtonCancelLineHeight, _Attach.attachTokens.iconButtonCancelSpinnerSize, _Attach.attachTokens.iconButtonCancelSpinnerColor)
|
|
743
|
+
], _Attach.attachTokens.horizontalGap, _Attach.attachTokens.verticalGap, _Attach.attachTokens.verticalGapWithHelperText, _Attach.attachTokens.filenameWrapperHeight, _Attach.attachTokens.buttonHeight, _Attach.attachTokens.buttonWidth, _Attach.attachTokens.buttonPadding, _Attach.attachTokens.buttonRadius, _Attach.attachTokens.buttonFontFamily, _Attach.attachTokens.buttonFontSize, _Attach.attachTokens.buttonFontStyle, _Attach.attachTokens.buttonFontWeight, _Attach.attachTokens.buttonLetterSpacing, _Attach.attachTokens.buttonLineHeight, _Attach.attachTokens.buttonSpinnerSize, _Attach.attachTokens.buttonSpinnerColor, _Attach.attachTokens.buttonLeftContentMargin, _Attach.attachTokens.buttonRightContentMargin, _Attach.attachTokens.buttonValueMargin, _Attach.attachTokens.cellWidth, _Attach.attachTokens.cellPadding, _Attach.attachTokens.cellPaddingLeftContent, _Attach.attachTokens.cellPaddingContent, _Attach.attachTokens.cellPaddingRightContent, _Attach.attachTokens.cellTextboxGap, _Attach.attachTokens.cellGap, _Attach.attachTokens.cellLabelFontFamily, _Attach.attachTokens.cellLabelFontSize, _Attach.attachTokens.cellLabelFontStyle, _Attach.attachTokens.cellLabelFontWeight, _Attach.attachTokens.cellLabelLetterSpacing, _Attach.attachTokens.cellLabelLineHeight, _Attach.attachTokens.cellTitleFontFamily, _Attach.attachTokens.cellTitleFontSize, _Attach.attachTokens.cellTitleFontStyle, _Attach.attachTokens.cellTitleFontWeight, _Attach.attachTokens.cellTitleLetterSpacing, _Attach.attachTokens.cellTitleLineHeight, _Attach.attachTokens.cellSubtitleFontFamily, _Attach.attachTokens.cellSubtitleFontSize, _Attach.attachTokens.cellSubtitleFontStyle, _Attach.attachTokens.cellSubtitleFontWeight, _Attach.attachTokens.cellSubtitleLetterSpacing, _Attach.attachTokens.cellSubtitleLineHeight, _Attach.attachTokens.iconButtonHeight, _Attach.attachTokens.iconButtonWidth, _Attach.attachTokens.iconButtonPadding, _Attach.attachTokens.iconButtonRadius, _Attach.attachTokens.iconButtonFontFamily, _Attach.attachTokens.iconButtonFontSize, _Attach.attachTokens.iconButtonFontStyle, _Attach.attachTokens.iconButtonFontWeight, _Attach.attachTokens.iconButtonLetterSpacing, _Attach.attachTokens.iconButtonLineHeight, _Attach.attachTokens.iconButtonSpinnerSize, _Attach.attachTokens.iconButtonSpinnerColor, _Attach.attachTokens.iconButtonCancelHeight, _Attach.attachTokens.iconButtonCancelWidth, _Attach.attachTokens.iconButtonCancelPadding, _Attach.attachTokens.iconButtonCancelRadius, _Attach.attachTokens.iconButtonCancelFontFamily, _Attach.attachTokens.iconButtonCancelFontSize, _Attach.attachTokens.iconButtonCancelFontStyle, _Attach.attachTokens.iconButtonCancelFontWeight, _Attach.attachTokens.iconButtonCancelLetterSpacing, _Attach.attachTokens.iconButtonCancelLineHeight, _Attach.attachTokens.iconButtonCancelSpinnerSize, _Attach.attachTokens.iconButtonCancelSpinnerColor)
|
|
740
744
|
}
|
|
741
745
|
}
|
|
742
746
|
};
|