@salutejs/plasma-new-hope 0.336.0-canary.2235.17792261875.0 → 0.336.0-canary.2238.17818313113.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 +18 -16
- 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/components/AttachButton/AttachButton.css +9 -9
- 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/Button/Button.css +9 -9
- package/cjs/components/Button/Button.styles.js +11 -11
- package/cjs/components/Button/Button.styles.js.map +1 -1
- package/cjs/components/Button/{Button.styles_yce5o0.css → Button.styles_wo15lb.css} +1 -1
- package/cjs/components/Calendar/CalendarBase/CalendarBase.css +9 -9
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +9 -9
- package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -9
- package/cjs/components/Carousel/CarouselNew/Carousel.css +9 -9
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +9 -9
- package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +9 -9
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +9 -9
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +9 -9
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +9 -9
- package/cjs/components/Drawer/Drawer.css +11 -11
- 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/Drawer/ui/DrawerContent/DrawerContent.css +9 -9
- package/cjs/components/EmbedIconButton/EmbedIconButton.css +9 -9
- package/cjs/components/EmptyState/EmptyState.css +9 -9
- package/cjs/components/IconButton/IconButton.css +9 -9
- package/cjs/components/Note/Note.css +9 -9
- package/cjs/components/Notification/Notification.css +9 -9
- package/cjs/components/Notification/NotificationsProvider.css +9 -9
- package/cjs/components/NumberInput/NumberInput.css +9 -9
- package/cjs/components/Pagination/Pagination.css +9 -9
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +9 -9
- package/cjs/components/Panel/ui/PanelHeader/PanelHeader.css +9 -9
- package/cjs/components/Select/Select.css +9 -9
- package/cjs/components/Select/ui/Target/Target.css +9 -9
- package/cjs/components/Select/ui/Target/ui/Button/Button.css +9 -9
- 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/components/Table/Table.css +9 -9
- package/cjs/components/Table/ui/Cell/Cell.css +9 -9
- package/cjs/components/Table/ui/EditableCell/EditableCell.css +9 -9
- package/cjs/components/Table/ui/HeadCell/HeadCell.css +9 -9
- package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +9 -9
- package/cjs/components/Toast/Toast.css +9 -9
- package/cjs/components/Toast/ToastController.css +9 -9
- package/cjs/components/Toast/ToastNew/ToastNew.css +9 -9
- package/cjs/index.css +21 -19
- 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/Button/Button.styles.js +17 -17
- 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/Button/Button.config.js +21 -21
- 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/Button/Button.styles.js +17 -17
- 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/Button/Button.config.js +21 -21
- package/emotion/es/examples/components/Combobox/Combobox.js +7 -0
- package/emotion/es/examples/components/Skeleton/LineSkeleton.config.js +23 -18
- package/es/components/Attach/Attach.css +18 -16
- 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/components/AttachButton/AttachButton.css +9 -9
- 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/Button/Button.css +9 -9
- package/es/components/Button/Button.styles.js +11 -11
- package/es/components/Button/Button.styles.js.map +1 -1
- package/es/components/Button/{Button.styles_yce5o0.css → Button.styles_wo15lb.css} +1 -1
- package/es/components/Calendar/CalendarBase/CalendarBase.css +9 -9
- package/es/components/Calendar/CalendarDouble/CalendarDouble.css +9 -9
- package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -9
- package/es/components/Carousel/CarouselNew/Carousel.css +9 -9
- package/es/components/Combobox/ComboboxNew/Combobox.css +9 -9
- package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +9 -9
- package/es/components/DatePicker/RangeDate/RangeDate.css +9 -9
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +9 -9
- package/es/components/DatePicker/SingleDate/SingleDate.css +9 -9
- package/es/components/Drawer/Drawer.css +11 -11
- 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/Drawer/ui/DrawerContent/DrawerContent.css +9 -9
- package/es/components/EmbedIconButton/EmbedIconButton.css +9 -9
- package/es/components/EmptyState/EmptyState.css +9 -9
- package/es/components/IconButton/IconButton.css +9 -9
- package/es/components/Note/Note.css +9 -9
- package/es/components/Notification/Notification.css +9 -9
- package/es/components/Notification/NotificationsProvider.css +9 -9
- package/es/components/NumberInput/NumberInput.css +9 -9
- package/es/components/Pagination/Pagination.css +9 -9
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +9 -9
- package/es/components/Panel/ui/PanelHeader/PanelHeader.css +9 -9
- package/es/components/Select/Select.css +9 -9
- package/es/components/Select/ui/Target/Target.css +9 -9
- package/es/components/Select/ui/Target/ui/Button/Button.css +9 -9
- 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/components/Table/Table.css +9 -9
- package/es/components/Table/ui/Cell/Cell.css +9 -9
- package/es/components/Table/ui/EditableCell/EditableCell.css +9 -9
- package/es/components/Table/ui/HeadCell/HeadCell.css +9 -9
- package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +9 -9
- package/es/components/Toast/Toast.css +9 -9
- package/es/components/Toast/ToastController.css +9 -9
- package/es/components/Toast/ToastNew/ToastNew.css +9 -9
- package/es/index.css +21 -19
- 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/Button/Button.styles.js +11 -10
- 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/Button/Button.config.js +2 -4
- package/styled-components/cjs/examples/components/Combobox/Combobox.js +15 -0
- 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/Button/Button.styles.js +11 -10
- 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/Button/Button.config.js +2 -4
- 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/Button/Button.styles.d.ts.map +1 -1
- 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/Button/Button.config.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
|
@@ -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: {}
|
|
@@ -19,19 +19,20 @@ _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");
|
|
22
23
|
function _interop_require_default(obj) {
|
|
23
24
|
return obj && obj.__esModule ? obj : {
|
|
24
25
|
default: obj
|
|
25
26
|
};
|
|
26
27
|
}
|
|
27
|
-
var base = (0, /*#__PURE__*/ _react.css)("display:flex;align-items:center;width:100%;", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
28
|
+
var base = (0, /*#__PURE__*/ _react.css)("display:flex;align-items:center;width:100%;", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ta2VsZXRvbi9MaW5lU2tlbGV0b24vTGluZVNrZWxldG9uLnN0eWxlcy50cyIsInNvdXJjZXMiOlsic3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ta2VsZXRvbi9MaW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mdyYWRpZW50Q29sb3J9KWB9O1xuICAgICR7YXBwbHlTa2VsZXRvbkdyYWRpZW50KCd2YXIoLS1wbGFzbWFfcHJpdmF0ZS1saW5lLXNrZWxldG9uLWdyYWRpZW50KScpfTtcbmA7XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUW9CIn0= */");
|
|
28
29
|
var StyledVisibleLine = (0, /*#__PURE__*/ _styled.default)("div", {
|
|
29
|
-
target: "
|
|
30
|
+
target: "e4hwyxn0",
|
|
30
31
|
label: "StyledVisibleLine"
|
|
31
32
|
})("position:relative;overflow:hidden;width:100%;--plasma_private-line-skeleton-roundness:", function(param) {
|
|
32
33
|
var roundness = param.roundness;
|
|
33
34
|
return roundness;
|
|
34
35
|
}, ";", (0, _mixins.applyRoundness)('var(--plasma_private-line-skeleton-roundness)'), ";--plasma_private-line-skeleton-gradient:", function(param) {
|
|
35
36
|
var gradientColor = param.gradientColor;
|
|
36
|
-
return gradientColor;
|
|
37
|
-
}, ";", (0, _mixins.applySkeletonGradient)('var(--plasma_private-line-skeleton-gradient)'), ";", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
37
|
+
return gradientColor || "var(".concat(_tokens.tokens.gradientColor, ")");
|
|
38
|
+
}, ";", (0, _mixins.applySkeletonGradient)('var(--plasma_private-line-skeleton-gradient)'), ";", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ta2VsZXRvbi9MaW5lU2tlbGV0b24vTGluZVNrZWxldG9uLnN0eWxlcy50cyIsInNvdXJjZXMiOlsic3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ta2VsZXRvbi9MaW5lU2tlbGV0b24vTGluZVNrZWxldG9uLnN0eWxlcy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQg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7XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZWlDIn0= */");
|
|
@@ -9,6 +9,4 @@ Object.defineProperty(exports, "base", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
var _react = require("@emotion/react");
|
|
12
|
-
var
|
|
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== */");
|
|
12
|
+
var base = (0, /*#__PURE__*/ _react.css)("base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ta2VsZXRvbi9MaW5lU2tlbGV0b24vdmFyaWF0aW9ucy9fc2l6ZS9iYXNlLnRzIiwic291cmNlcyI6WyJzcmMtZW1vdGlvbi9jb21wb25lbnRzL1NrZWxldG9uL0xpbmVTa2VsZXRvbi92YXJpYXRpb25zL19zaXplL2Jhc2UudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BgO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVvQiJ9 */");
|
|
@@ -0,0 +1,14 @@
|
|
|
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 _react = require("@emotion/react");
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ta2VsZXRvbi9MaW5lU2tlbGV0b24vdmFyaWF0aW9ucy9fdmlldy9iYXNlLnRzIiwic291cmNlcyI6WyJzcmMtZW1vdGlvbi9jb21wb25lbnRzL1NrZWxldG9uL0xpbmVTa2VsZXRvbi92YXJpYXRpb25zL192aWV3L2Jhc2UudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBTdHlsZWRWaXNpYmxlTGluZSB9IGZyb20gJy4uLy4uL0xpbmVTa2VsZXRvbi5zdHlsZXMnO1xuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vdG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgaGVpZ2h0OiB2YXIoJHt0b2tlbnMubGluZUhlaWdodH0pO1xuXG4gICAgJiAke1N0eWxlZFZpc2libGVMaW5lfSB7XG4gICAgICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLnZpc2libGVMaW5lSGVpZ2h0fSk7XG4gICAgfVxuYDtcbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLb0IifQ== */");
|
|
@@ -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
|
};
|