@itcase/ui 1.2.23 → 1.2.25
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/dist/{Button-BLcVDStV.js → Button-C0M-Ap20.js} +1 -1
- package/dist/{Button-DawNa85U.js → Button-COsywjkv.js} +1 -1
- package/dist/{Icon-BeHO7N79.js → Icon-CkynFJm4.js} +3 -3
- package/dist/{Icon-DQWyj5EO.js → Icon-CliIEdbp.js} +3 -3
- package/dist/{Label-B0O9q0E4.js → Label-BPP0om7_.js} +1 -1
- package/dist/{Label-D8DRdqad.js → Label-ukXod6pv.js} +1 -1
- package/dist/{Title-zwP6c2U2.js → Title-B-N0qkn3.js} +9 -1
- package/dist/{Title-BfSFPJtJ.js → Title-CqwqEtm7.js} +9 -1
- package/dist/{Tooltip-aaDRYNWY.js → Tooltip-B2vv4OAX.js} +1 -1
- package/dist/{Tooltip-xGmgUzGr.js → Tooltip-DsTCGS6h.js} +1 -1
- package/dist/cjs/components/Accordion.js +3 -3
- package/dist/cjs/components/Avatar.js +3 -3
- package/dist/cjs/components/Breadcrumbs.js +3 -3
- package/dist/cjs/components/Button.js +4 -4
- package/dist/cjs/components/Cell.js +4 -4
- package/dist/cjs/components/Choice.js +3 -3
- package/dist/cjs/components/ContextMenu.js +3 -3
- package/dist/cjs/components/CookiesWarning.js +4 -4
- package/dist/cjs/components/DatePicker.js +5 -5
- package/dist/cjs/components/Icon.js +3 -3
- package/dist/cjs/components/InputPassword.js +3 -3
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/LanguageSelector.js +3 -3
- package/dist/cjs/components/Notification.js +13 -14
- package/dist/cjs/components/Pagination.js +47 -14
- package/dist/cjs/components/Response.js +4 -4
- package/dist/cjs/components/Search.js +3 -3
- package/dist/cjs/components/Select.js +3 -3
- package/dist/cjs/components/SiteMenu.js +3 -3
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/components/Accordion.js +3 -3
- package/dist/components/Avatar.js +3 -3
- package/dist/components/Breadcrumbs.js +3 -3
- package/dist/components/Button.js +4 -4
- package/dist/components/Cell.js +4 -4
- package/dist/components/Choice.js +3 -3
- package/dist/components/ContextMenu.js +3 -3
- package/dist/components/CookiesWarning.js +4 -4
- package/dist/components/DatePicker.js +5 -5
- package/dist/components/Icon.js +3 -3
- package/dist/components/InputPassword.js +3 -3
- package/dist/components/Label.js +3 -3
- package/dist/components/LanguageSelector.js +3 -3
- package/dist/components/Notification.js +13 -14
- package/dist/components/Pagination.js +47 -15
- package/dist/components/Response.js +4 -4
- package/dist/components/Search.js +3 -3
- package/dist/components/Select.js +3 -3
- package/dist/components/SiteMenu.js +3 -3
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +2 -2
- package/dist/css/components/DatePicker/DatePicker.css +1 -1
- package/dist/css/components/Icon/Icon.css +1 -0
- package/dist/css/components/Swiper/Swiper.css +2 -2
- package/dist/css/mixins/mixin_utils.css +18 -11
- package/dist/css/styles/mediaqueries.css +1 -1
- package/dist/css/tokens/typography.css +3 -0
- package/dist/stories/appearance.mdx +5 -0
- package/dist/stories/colors.mdx +239 -0
- package/dist/stories/elevation.mdx +80 -0
- package/dist/stories/mixins_animation.mdx +5 -0
- package/dist/stories/mixins_dark-light.mdx +54 -0
- package/dist/stories/mixins_elevation.mdx +5 -0
- package/dist/stories/mixins_fill-gradient.mdx +5 -0
- package/dist/stories/mixins_typography.mdx +133 -0
- package/dist/stories/mixins_utils.mdx +5 -0
- package/dist/stories/typography.mdx +82 -0
- package/dist/types/components/Notification/Notification.interface.d.ts +2 -1
- package/dist/types/components/Notification/NotificationItem.d.ts +0 -6
- package/dist/types/components/Pagination/Pagination.d.ts +3 -2
- package/dist/types/components/Pagination/Pagination.interface.d.ts +30 -13
- package/dist/types/components/Pagination/index.d.ts +1 -1
- package/package.json +22 -21
- package/dist/stories/Configure.mdx +0 -364
- package/dist/stories/Header.stories.js +0 -29
- package/dist/stories/Page.stories.js +0 -28
|
@@ -5,7 +5,7 @@ import ceil from 'lodash/ceil';
|
|
|
5
5
|
import ReactPaginate from 'react-paginate';
|
|
6
6
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { D as Dropdown, a as DropdownItem } from '../DropdownItem-D0dOP4NL.js';
|
|
8
|
-
import { I as Icon } from '../Icon-
|
|
8
|
+
import { I as Icon } from '../Icon-CliIEdbp.js';
|
|
9
9
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
10
10
|
import 'lodash/castArray';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -21,11 +21,17 @@ import '../Divider-U5UdY-ef.js';
|
|
|
21
21
|
import '../Link-CeQuavin.js';
|
|
22
22
|
import '../tslib.es6-5FtW-kfi.js';
|
|
23
23
|
import 'react-inlinesvg';
|
|
24
|
-
import '../Tooltip-
|
|
25
|
-
import '../Title-
|
|
24
|
+
import '../Tooltip-B2vv4OAX.js';
|
|
25
|
+
import '../Title-CqwqEtm7.js';
|
|
26
26
|
|
|
27
|
+
var paginationConfig = {
|
|
28
|
+
appearance: undefined,
|
|
29
|
+
setAppearance: function (newComponent) {
|
|
30
|
+
paginationConfig.appearance = newComponent;
|
|
31
|
+
},
|
|
32
|
+
};
|
|
27
33
|
function Pagination(props) {
|
|
28
|
-
var isPageCount = props.isPageCount, _a = props.isPageCountDropdownReversed, isPageCountDropdownReversed = _a === void 0 ? false : _a, _b = props.allItemsCount, allItemsCount = _b === void 0 ? 0 : _b, className = props.className, marginPagesDisplayed = props.marginPagesDisplayed, nextLabel = props.nextLabel, _c = props.pageCountArray, pageCountArray = _c === void 0 ? [10, 20, 50, 100] : _c, pageCountDesc = props.pageCountDesc, pageCountDescTextColor = props.pageCountDescTextColor, pageCountDescTextSize = props.pageCountDescTextSize, pageCountDropdownAlignment = props.pageCountDropdownAlignment, pageCountDropdownElevation = props.pageCountDropdownElevation, pageCountDropdownFill = props.pageCountDropdownFill, pageCountDropdownItemDividerDirection = props.pageCountDropdownItemDividerDirection, pageCountDropdownItemDividerFill = props.pageCountDropdownItemDividerFill, pageCountDropdownItemDividerSize = props.pageCountDropdownItemDividerSize, pageCountDropdownItemFill = props.pageCountDropdownItemFill, pageCountDropdownItemFillActive = props.pageCountDropdownItemFillActive, pageCountDropdownItemFillActiveHover = props.pageCountDropdownItemFillActiveHover, pageCountDropdownItemFillHover = props.pageCountDropdownItemFillHover, pageCountDropdownItemLabelAlign = props.pageCountDropdownItemLabelAlign, pageCountDropdownItemLabelColor = props.pageCountDropdownItemLabelColor, _d = props.pageCountDropdownItemLabelColorActive, pageCountDropdownItemLabelColorActive = _d === void 0 ? '' : _d, pageCountDropdownItemLabelSize = props.pageCountDropdownItemLabelSize, pageCountDropdownItemLabelWrap = props.pageCountDropdownItemLabelWrap, pageCountDropdownItemShowDivider = props.pageCountDropdownItemShowDivider, pageCountDropdownItemSize = props.pageCountDropdownItemSize, pageCountDropdownItemWidth = props.pageCountDropdownItemWidth, pageCountDropdownSet = props.pageCountDropdownSet, pageCountDropdownShape = props.pageCountDropdownShape, pageCountInputIcon = props.pageCountInputIcon, pageCountInputIconColor = props.pageCountInputIconColor, pageCountInputIconFillSize = props.pageCountInputIconFillSize, pageCountInputTextColor = props.pageCountInputTextColor, pageCountInputTextSize = props.pageCountInputTextSize, _e = props.pageNumber, pageNumber = _e === void 0 ? 0 : _e, pageRangeDisplayed = props.pageRangeDisplayed, _f = props.perPageCount, perPageCount = _f === void 0 ? 0 : _f, previousLabel = props.previousLabel, onChangePage = props.onChangePage, onChangePerPageCount = props.onChangePerPageCount,
|
|
34
|
+
var isPageCount = props.isPageCount, _a = props.isPageCountDropdownReversed, isPageCountDropdownReversed = _a === void 0 ? false : _a, _b = props.allItemsCount, allItemsCount = _b === void 0 ? 0 : _b, appearance = props.appearance, className = props.className, marginPagesDisplayed = props.marginPagesDisplayed, nextLabel = props.nextLabel, _c = props.pageCountArray, pageCountArray = _c === void 0 ? [10, 20, 50, 100] : _c, pageCountDesc = props.pageCountDesc, pageCountDescTextColor = props.pageCountDescTextColor, pageCountDescTextSize = props.pageCountDescTextSize, pageCountDropdownAlignment = props.pageCountDropdownAlignment, pageCountDropdownElevation = props.pageCountDropdownElevation, pageCountDropdownFill = props.pageCountDropdownFill, pageCountDropdownItemDividerDirection = props.pageCountDropdownItemDividerDirection, pageCountDropdownItemDividerFill = props.pageCountDropdownItemDividerFill, pageCountDropdownItemDividerSize = props.pageCountDropdownItemDividerSize, pageCountDropdownItemFill = props.pageCountDropdownItemFill, pageCountDropdownItemFillActive = props.pageCountDropdownItemFillActive, pageCountDropdownItemFillActiveHover = props.pageCountDropdownItemFillActiveHover, pageCountDropdownItemFillHover = props.pageCountDropdownItemFillHover, pageCountDropdownItemLabelAlign = props.pageCountDropdownItemLabelAlign, pageCountDropdownItemLabelColor = props.pageCountDropdownItemLabelColor, _d = props.pageCountDropdownItemLabelColorActive, pageCountDropdownItemLabelColorActive = _d === void 0 ? '' : _d, pageCountDropdownItemLabelSize = props.pageCountDropdownItemLabelSize, pageCountDropdownItemLabelWrap = props.pageCountDropdownItemLabelWrap, pageCountDropdownItemShowDivider = props.pageCountDropdownItemShowDivider, pageCountDropdownItemSize = props.pageCountDropdownItemSize, pageCountDropdownItemWidth = props.pageCountDropdownItemWidth, pageCountDropdownSet = props.pageCountDropdownSet, pageCountDropdownShape = props.pageCountDropdownShape, pageCountInputIcon = props.pageCountInputIcon, pageCountInputIconColor = props.pageCountInputIconColor, pageCountInputIconFillSize = props.pageCountInputIconFillSize, pageCountInputTextColor = props.pageCountInputTextColor, pageCountInputTextSize = props.pageCountInputTextSize, _e = props.pageNumber, pageNumber = _e === void 0 ? 0 : _e, pageRangeDisplayed = props.pageRangeDisplayed, _f = props.perPageCount, perPageCount = _f === void 0 ? 0 : _f, previousLabel = props.previousLabel, onChangePage = props.onChangePage, onChangePerPageCount = props.onChangePerPageCount,
|
|
29
35
|
/**
|
|
30
36
|
* @deprecated The method should not be used
|
|
31
37
|
*/
|
|
@@ -96,19 +102,45 @@ function Pagination(props) {
|
|
|
96
102
|
}
|
|
97
103
|
return 0;
|
|
98
104
|
}, [pageNumber]);
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
previousLabel: previousLabel, breakLinkClassName: "pagination__item-link",
|
|
102
|
-
// pages settings
|
|
103
|
-
forcePage: paginationPageIndex, containerClassName: clsx(className, 'pagination__container', justifyContentClass),
|
|
104
|
-
// page item
|
|
105
|
-
pageClassName: "pagination__item", nextLinkClassName: "pagination__item-link",
|
|
105
|
+
var appearanceConfig = appearance && paginationConfig.appearance && paginationConfig.appearance[appearance];
|
|
106
|
+
return (jsxs("div", { className: "pagination", children: [jsx(ReactPaginate, { activeClassName: "pagination__item_state_active cursor_type_default", activeLinkClassName: "pagination__item-link_state_active", breakClassName: "pagination__item pagination__item_break",
|
|
106
107
|
// break element
|
|
107
|
-
breakLabel: "...",
|
|
108
|
+
breakLabel: "...", breakLinkClassName: "pagination__item-link", containerClassName: clsx(className, 'pagination__container', justifyContentClass), disabledClassName: "pagination__item_state_disabled cursor_type_default", disabledLinkClassName: "pagination__item_state_disabled",
|
|
109
|
+
// pages settings
|
|
110
|
+
forcePage: paginationPageIndex, marginPagesDisplayed: marginPagesDisplayed || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.marginPagesDisplayed), nextClassName: "pagination__item pagination__item_next",
|
|
108
111
|
// next button
|
|
109
|
-
nextLabel: nextLabel,
|
|
110
|
-
|
|
112
|
+
nextLabel: nextLabel, nextLinkClassName: "pagination__item-link",
|
|
113
|
+
// page item
|
|
114
|
+
pageClassName: "pagination__item", pageCount: paginationPagesCount, pageLinkClassName: "pagination__item-link", pageRangeDisplayed: pageRangeDisplayed || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageRangeDisplayed), previousClassName: "pagination__item pagination__item_previous",
|
|
115
|
+
// previous button
|
|
116
|
+
previousLabel: previousLabel, previousLinkClassName: "pagination__item-link", onPageChange: _onChangePage }), isPageCount && (jsxs("div", { className: clsx(className, 'pagination__count', gapClass ||
|
|
117
|
+
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.gap) &&
|
|
118
|
+
"gap_".concat(appearanceConfig.gap).replace(/([A-Z])/g, '-$1').toLowerCase())), children: [jsx(Text, { size: pageCountDescTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDescTextSize), textColor: pageCountDescTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDescTextColor), children: pageCountDesc || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDesc) }), jsxs("div", { className: clsx('pagination__input', 'cursor_type_pointer', fillClass ||
|
|
119
|
+
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill) &&
|
|
120
|
+
"fill_".concat(appearanceConfig.fill).replace(/([A-Z])/g, '-$1').toLowerCase()), fillHoverClass ||
|
|
121
|
+
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillHover) &&
|
|
122
|
+
"fill_hover_".concat(appearanceConfig.fillHover)
|
|
123
|
+
.replace(/([A-Z])/g, '-$1')
|
|
124
|
+
.toLowerCase())), onClick: onClickCommandMenuButton, children: [jsx(Text, { size: pageCountInputTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountInputTextSize), textColor: pageCountInputTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountInputTextColor), children: activeDropdownItem }), jsx(Icon, { fillSize: pageCountInputIconFillSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountInputIconFillSize), iconFill: pageCountInputIconColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountInputIconColor), SvgImage: pageCountInputIcon }), jsx(Dropdown, { fill: pageCountDropdownFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownFill), alignment: pageCountDropdownAlignment || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownAlignment), elevation: pageCountDropdownElevation || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownElevation), shape: pageCountDropdownShape || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownShape), isOpen: isOpenDropdown, set: pageCountDropdownSet || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownSet), setIsOpen: setIsOpenDropdown, children: pageCountDropdownArray.map(function (item, index) {
|
|
125
|
+
return activeDropdownItem === item ? (jsx(DropdownItem, { width: pageCountDropdownItemWidth || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemWidth), labelTextColor: pageCountDropdownItemLabelColor ||
|
|
126
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemLabelColor), labelTextSize: pageCountDropdownItemLabelSize ||
|
|
127
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemLabelSize), fill: pageCountDropdownItemFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemFill), fillHover: pageCountDropdownItemFillHover ||
|
|
128
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemFillHover), dividerDirection: pageCountDropdownItemDividerDirection, label: item.toString(), labelTextWrap: pageCountDropdownItemLabelWrap, size: pageCountDropdownItemSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemSize), dividerFill: pageCountDropdownItemDividerFill ||
|
|
129
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemDividerFill), dividerSize: pageCountDropdownItemDividerSize ||
|
|
130
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemDividerSize), fillActive: pageCountDropdownItemFillActive ||
|
|
131
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemFillActive), fillActiveHover: pageCountDropdownItemFillActiveHover ||
|
|
132
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemFillActiveHover), labelTextAlign: pageCountDropdownItemLabelAlign ||
|
|
133
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemLabelAlign), labelTextColorActive: pageCountDropdownItemLabelColorActive ||
|
|
134
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemLabelColorActive), showDivider: index < pageCountArray.length - 1 &&
|
|
135
|
+
(pageCountDropdownItemShowDivider ||
|
|
136
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemShowDivider)), isActive: true, onClick: function (event) { return handleDropdownItemClick(event, item); } }, item)) : (jsx(DropdownItem, { width: pageCountDropdownItemWidth || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemWidth), labelTextColor: pageCountDropdownItemLabelColor ||
|
|
137
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemLabelColor), labelTextSize: pageCountDropdownItemLabelSize ||
|
|
138
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemLabelSize), fill: pageCountDropdownItemFill, fillHover: pageCountDropdownItemFillHover ||
|
|
139
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemFillHover), dividerDirection: pageCountDropdownItemDividerDirection, dividerFill: pageCountDropdownItemDividerFill, label: item.toString(), labelTextWrap: pageCountDropdownItemLabelWrap, size: pageCountDropdownItemSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemSize), dividerSize: pageCountDropdownItemDividerSize ||
|
|
140
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemDividerSize), labelTextAlign: pageCountDropdownItemLabelAlign ||
|
|
141
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemLabelAlign), labelTextColorActive: pageCountDropdownItemLabelColorActive ||
|
|
142
|
+
(appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.pageCountDropdownItemLabelColorActive), showDivider: index < pageCountArray.length - 1 && pageCountDropdownItemShowDivider, isActive: false, onClick: function (event) { return handleDropdownItemClick(event, item); } }, item));
|
|
111
143
|
}) })] })] }))] }));
|
|
112
144
|
}
|
|
113
145
|
|
|
114
|
-
export { Pagination };
|
|
146
|
+
export { Pagination, paginationConfig };
|
|
@@ -4,10 +4,10 @@ import clsx from 'clsx';
|
|
|
4
4
|
import SVG from 'react-inlinesvg';
|
|
5
5
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles.js';
|
|
7
|
-
import { B as Button } from '../Button-
|
|
7
|
+
import { B as Button } from '../Button-C0M-Ap20.js';
|
|
8
8
|
import { G as Group } from '../Group-CVUfaHaS.js';
|
|
9
9
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
10
|
-
import { T as Title } from '../Title-
|
|
10
|
+
import { T as Title } from '../Title-CqwqEtm7.js';
|
|
11
11
|
import 'lodash/castArray';
|
|
12
12
|
import 'lodash/camelCase';
|
|
13
13
|
import '../context/UIContext.js';
|
|
@@ -17,10 +17,10 @@ import 'react-responsive';
|
|
|
17
17
|
import 'lodash/maxBy';
|
|
18
18
|
import 'lodash/upperFirst';
|
|
19
19
|
import '../hooks/styleAttributes.js';
|
|
20
|
-
import '../Icon-
|
|
20
|
+
import '../Icon-CliIEdbp.js';
|
|
21
21
|
import '../Link-CeQuavin.js';
|
|
22
22
|
import '../tslib.es6-5FtW-kfi.js';
|
|
23
|
-
import '../Tooltip-
|
|
23
|
+
import '../Tooltip-B2vv4OAX.js';
|
|
24
24
|
import '../Loader-CJ8ZCdwy.js';
|
|
25
25
|
|
|
26
26
|
var responseConfig = {
|
|
@@ -3,7 +3,7 @@ import React, { useCallback } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles.js';
|
|
6
|
-
import { I as Icon } from '../Icon-
|
|
6
|
+
import { I as Icon } from '../Icon-CliIEdbp.js';
|
|
7
7
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
8
8
|
import { S as Scrollbar } from '../Scrollbar-CrGXCZ_F.js';
|
|
9
9
|
import 'lodash/castArray';
|
|
@@ -18,8 +18,8 @@ import '../hooks/styleAttributes.js';
|
|
|
18
18
|
import 'react-inlinesvg';
|
|
19
19
|
import '../Link-CeQuavin.js';
|
|
20
20
|
import '../tslib.es6-5FtW-kfi.js';
|
|
21
|
-
import '../Tooltip-
|
|
22
|
-
import '../Title-
|
|
21
|
+
import '../Tooltip-B2vv4OAX.js';
|
|
22
|
+
import '../Title-CqwqEtm7.js';
|
|
23
23
|
import 'react-scrollbars-custom';
|
|
24
24
|
|
|
25
25
|
var searchInputConfig = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6-5FtW-kfi.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import Select, { components } from 'react-select';
|
|
4
|
-
import { I as Icon } from '../Icon-
|
|
4
|
+
import { I as Icon } from '../Icon-CliIEdbp.js';
|
|
5
5
|
import React, { useMemo, useRef, useCallback, useEffect } from 'react';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import CreatableSelect from 'react-select/creatable';
|
|
@@ -21,8 +21,8 @@ import '../hooks/useMediaQueries.js';
|
|
|
21
21
|
import 'react-responsive';
|
|
22
22
|
import '../hooks/styleAttributes.js';
|
|
23
23
|
import '../Link-CeQuavin.js';
|
|
24
|
-
import '../Tooltip-
|
|
25
|
-
import '../Title-
|
|
24
|
+
import '../Tooltip-B2vv4OAX.js';
|
|
25
|
+
import '../Title-CqwqEtm7.js';
|
|
26
26
|
import 'lodash/castArray';
|
|
27
27
|
|
|
28
28
|
// interface ClearIndicatorProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>>
|
|
@@ -3,7 +3,7 @@ import { useCallback } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useSiteMenuContext } from '../context/UIContext.js';
|
|
5
5
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
6
|
-
import { I as Icon } from '../Icon-
|
|
6
|
+
import { I as Icon } from '../Icon-CliIEdbp.js';
|
|
7
7
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
import '../hooks/useMediaQueries.js';
|
|
@@ -17,8 +17,8 @@ import 'lodash/upperFirst';
|
|
|
17
17
|
import '../hooks/styleAttributes.js';
|
|
18
18
|
import '../Link-CeQuavin.js';
|
|
19
19
|
import '../tslib.es6-5FtW-kfi.js';
|
|
20
|
-
import '../Tooltip-
|
|
21
|
-
import '../Title-
|
|
20
|
+
import '../Tooltip-B2vv4OAX.js';
|
|
21
|
+
import '../Title-CqwqEtm7.js';
|
|
22
22
|
|
|
23
23
|
function SiteMenu(props) {
|
|
24
24
|
var children = props.children, className = props.className, closeText = props.closeText, closeTextSize = props.closeTextSize, closeTextColor = props.closeTextColor, closeTextColorHover = props.closeTextColorHover, iconCloseBgFill = props.iconCloseBgFill, iconCloseFill = props.iconCloseFill, iconCloseSize = props.iconCloseSize, iconClose = props.iconClose, onClose = props.onClose;
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
|
|
5
5
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles.js';
|
|
7
|
-
import { T as Title } from '../Title-
|
|
7
|
+
import { T as Title } from '../Title-CqwqEtm7.js';
|
|
8
8
|
import 'lodash/castArray';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import '../context/UIContext.js';
|
package/dist/components/Tile.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
|
4
4
|
import { useStyles } from '../hooks/useStyles.js';
|
|
5
5
|
import { B as Badge } from '../Badge-CrhdvxY6.js';
|
|
6
6
|
import { T as Text } from '../Text-CG3xPG27.js';
|
|
7
|
-
import { T as Title } from '../Title-
|
|
7
|
+
import { T as Title } from '../Title-CqwqEtm7.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'lodash/castArray';
|
|
10
10
|
import 'lodash/camelCase';
|
package/dist/components/Title.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as Tooltip, t as tooltipConfig } from '../Tooltip-
|
|
1
|
+
export { T as Tooltip, t as tooltipConfig } from '../Tooltip-B2vv4OAX.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -14,4 +14,4 @@ import 'lodash/maxBy';
|
|
|
14
14
|
import 'lodash/upperFirst';
|
|
15
15
|
import '../hooks/styleAttributes.js';
|
|
16
16
|
import '../Text-CG3xPG27.js';
|
|
17
|
-
import '../Title-
|
|
17
|
+
import '../Title-CqwqEtm7.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Swiper 11.1.
|
|
2
|
+
* Swiper 11.1.15
|
|
3
3
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
4
4
|
* https://swiperjs.com
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on:
|
|
10
|
+
* Released on: November 18, 2024
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/* FONT_START */
|
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
@define-mixin font $fontWeight, $minFontSize, $maxFontSize, $minLetterSpacing, $minLineHeight,
|
|
2
2
|
$maxLineHeight, $maxLetterSpacing, $fontFamily {
|
|
3
|
-
font-size:
|
|
4
|
-
|
|
3
|
+
font-size: fluid(
|
|
4
|
+
$minFontSize,
|
|
5
|
+
$maxFontSize,
|
|
6
|
+
var(--typography-min-viewport, 360px),
|
|
7
|
+
var(--typography-max-viewport, 1920px)
|
|
8
|
+
);
|
|
5
9
|
font-weight: $fontWeight;
|
|
10
|
+
line-height: fluid(
|
|
11
|
+
$minLineHeight,
|
|
12
|
+
$maxLineHeight,
|
|
13
|
+
var(--typography-min-viewport, 360px),
|
|
14
|
+
var(--typography-max-viewport, 1920px)
|
|
15
|
+
);
|
|
16
|
+
letter-spacing: fluid(
|
|
17
|
+
$minLetterSpacing,
|
|
18
|
+
$maxLetterSpacing,
|
|
19
|
+
var(--typography-min-viewport, 360px),
|
|
20
|
+
var(--typography-max-viewport, 1920px)
|
|
21
|
+
);
|
|
6
22
|
font-family: $fontFamily;
|
|
7
|
-
line-height: responsive $minLineHeight $maxLineHeight;
|
|
8
|
-
line-height-range: var(--min-max);
|
|
9
|
-
letter-spacing: responsive $minLetterSpacing $maxLetterSpacing;
|
|
10
|
-
letter-spacing-range: var(--min-max);
|
|
11
|
-
@media (--desktop-super-huge) {
|
|
12
|
-
font-size: $maxFontSize;
|
|
13
|
-
line-height: $maxLineHeight;
|
|
14
|
-
letter-spacing: $maxLetterSpacing;
|
|
15
|
-
}
|
|
16
23
|
}
|
|
17
24
|
|
|
18
25
|
@define-mixin font-fixed $weight, $size, $line, $family {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
--desktop-large: 80em; /* 1280px */
|
|
13
13
|
--desktop-extra-large: 90em; /* 1441px */
|
|
14
14
|
--desktop-super-extra-large: 120em; /* 1920px */
|
|
15
|
-
--desktop-huge: 160em; /*
|
|
15
|
+
--desktop-huge: 160em; /* 2560px */
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
@custom-media --warning (width <= 15em);
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { Meta, ColorPalette, ColorItem } from '@storybook/blocks'
|
|
2
|
+
|
|
3
|
+
<Meta title="Tokens / Colors" />
|
|
4
|
+
|
|
5
|
+
# Colors
|
|
6
|
+
|
|
7
|
+
<ColorPalette>
|
|
8
|
+
<ColorItem
|
|
9
|
+
title="Accent"
|
|
10
|
+
subtitle="--color-accent"
|
|
11
|
+
colors={{
|
|
12
|
+
Primary: 'hsla(92, 49%, 47%, 1)',
|
|
13
|
+
PrimaryHover: 'hsla(92, 29%, 62%, 1)',
|
|
14
|
+
Active: 'hsla(92, 46%, 40%, 1)',
|
|
15
|
+
Secondary: 'hsla(92, 29%, 62%, 1)',
|
|
16
|
+
Tertiary: 'hsla(93, 53%, 93%, 1)',
|
|
17
|
+
Disabled: 'hsla(93, 45%, 80%, 1)',
|
|
18
|
+
}}
|
|
19
|
+
/>
|
|
20
|
+
<ColorItem
|
|
21
|
+
title="Accent Text"
|
|
22
|
+
subtitle="--color-accent-text"
|
|
23
|
+
colors={{
|
|
24
|
+
Primary: 'hsla(0, 0%, 100%, 1)',
|
|
25
|
+
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
26
|
+
Disabled: 'hsla(92, 49%, 47%, 1)',
|
|
27
|
+
}}
|
|
28
|
+
/>
|
|
29
|
+
<ColorItem
|
|
30
|
+
title="Accent Item"
|
|
31
|
+
subtitle="--color-accent-item"
|
|
32
|
+
colors={{
|
|
33
|
+
Primary: 'hsla(0, 0%, 100%, 1)',
|
|
34
|
+
Secondary: 'hsla(92, 49%, 47%, 1)',
|
|
35
|
+
}}
|
|
36
|
+
/>
|
|
37
|
+
<ColorItem
|
|
38
|
+
title="Accent Border"
|
|
39
|
+
subtitle="--color-accent-border"
|
|
40
|
+
colors={{
|
|
41
|
+
Primary: 'hsla(92, 49%, 47%, 1)',
|
|
42
|
+
Secondary: 'hsla(92, 29%, 62%, 1)',
|
|
43
|
+
Quaternary: 'hsla(92, 37%, 35%, 1)',
|
|
44
|
+
}}
|
|
45
|
+
/>
|
|
46
|
+
<ColorItem
|
|
47
|
+
title="Primary"
|
|
48
|
+
subtitle="--color-primary"
|
|
49
|
+
colors={{
|
|
50
|
+
Primary: 'hsla(36, 95%, 45%, 1)',
|
|
51
|
+
PrimaryHover: 'hsla(40, 75%, 58%, 1)',
|
|
52
|
+
Active: 'hsla(36, 95%, 40%, 1)',
|
|
53
|
+
Disabled: 'hsla(36, 13%, 80%, 1)',
|
|
54
|
+
}}
|
|
55
|
+
/>
|
|
56
|
+
<ColorItem
|
|
57
|
+
title="Primary Text"
|
|
58
|
+
subtitle="--color-primary-text"
|
|
59
|
+
colors={{
|
|
60
|
+
Primary: 'hsla(0, 0%, 100%, 1)',
|
|
61
|
+
Disabled: 'hsla(36, 60%, 65%, 1)',
|
|
62
|
+
}}
|
|
63
|
+
/>
|
|
64
|
+
<ColorItem
|
|
65
|
+
title="Primary Item"
|
|
66
|
+
subtitle="--color-primary-item"
|
|
67
|
+
colors={{
|
|
68
|
+
Primary: 'hsla(0, 0%, 100%, 1)',
|
|
69
|
+
}}
|
|
70
|
+
/>
|
|
71
|
+
<ColorItem
|
|
72
|
+
title="Secondary"
|
|
73
|
+
subtitle="--color-secondary"
|
|
74
|
+
colors={{
|
|
75
|
+
Primary: 'hsla(349, 96%, 44%, 1)',
|
|
76
|
+
PrimaryHover: 'hsla(349, 100%, 51%, 1)',
|
|
77
|
+
Active: 'hsla(349, 96%, 34%, 1)',
|
|
78
|
+
Disabled: 'hsla(349, 59%, 90%, 1)',
|
|
79
|
+
}}
|
|
80
|
+
/>
|
|
81
|
+
<ColorItem
|
|
82
|
+
title="Secondary Text"
|
|
83
|
+
subtitle="--color-secondary-text"
|
|
84
|
+
colors={{
|
|
85
|
+
Primary: 'hsla(0, 0%, 100%, 1)',
|
|
86
|
+
Secondary: 'hsla(349, 96%, 44%, 1)',
|
|
87
|
+
Disabled: 'hsla(349, 53%, 68%, 1)',
|
|
88
|
+
}}
|
|
89
|
+
/>
|
|
90
|
+
<ColorItem
|
|
91
|
+
title="Secondary Item"
|
|
92
|
+
subtitle="--color-secondary-item"
|
|
93
|
+
colors={{
|
|
94
|
+
Primary: 'hsla(0, 0%, 100%, 1)',
|
|
95
|
+
}}
|
|
96
|
+
/>
|
|
97
|
+
<ColorItem
|
|
98
|
+
title="Surface"
|
|
99
|
+
subtitle="--color-surface"
|
|
100
|
+
colors={{
|
|
101
|
+
Primary: 'hsla(0, 0%, 100%, 1)',
|
|
102
|
+
PrimaryHover: 'hsla(0, 0%, 83%, 1)',
|
|
103
|
+
Secondary: 'hsla(220, 14%, 96%, 1)',
|
|
104
|
+
SecondaryHover: 'hsla(0, 0%, 78%, 1)',
|
|
105
|
+
Accent: 'hsla(92, 54%, 93%, 1)',
|
|
106
|
+
}}
|
|
107
|
+
/>
|
|
108
|
+
<ColorItem
|
|
109
|
+
title="Surface"
|
|
110
|
+
subtitle="--color-surface"
|
|
111
|
+
colors={{
|
|
112
|
+
Tertiary: 'hsla(0, 0%, 85%, 1)',
|
|
113
|
+
TertiaryHover: 'hsla(0, 0%, 73%, 1)',
|
|
114
|
+
Quaternary: 'hsla(0, 0%, 45%, 1)',
|
|
115
|
+
Active: 'hsla(0, 0%, 64%, 1)',
|
|
116
|
+
Disabled: 'hsla(0, 0%, 79%, 1)',
|
|
117
|
+
}}
|
|
118
|
+
/>
|
|
119
|
+
<ColorItem
|
|
120
|
+
title="Surface Text"
|
|
121
|
+
subtitle="--color-surface-text"
|
|
122
|
+
colors={{
|
|
123
|
+
Primary: 'hsla(0, 0%, 9%, 1)',
|
|
124
|
+
Accent: 'hsla(92, 49%, 47%, 1)',
|
|
125
|
+
Secondary: 'hsla(0, 0%, 45%, 1)',
|
|
126
|
+
Tertiary: 'hsla(213, 5%, 45%, 1)',
|
|
127
|
+
Quaternary: 'hsla(0, 0%, 75%, 1)',
|
|
128
|
+
Disabled: 'hsla(0, 0%, 47%, 1)',
|
|
129
|
+
}}
|
|
130
|
+
/>
|
|
131
|
+
<ColorItem
|
|
132
|
+
title="Surface Item"
|
|
133
|
+
subtitle="--color-surface-item"
|
|
134
|
+
colors={{
|
|
135
|
+
Primary: 'hsla(35, 71%, 13%, 1)',
|
|
136
|
+
Secondary: 'hsla(0, 0%, 93%, 1)',
|
|
137
|
+
Tertiary: 'hsla(0, 0%, 85%, 1)',
|
|
138
|
+
Accent: 'hsla(92, 49%, 47%, 1)',
|
|
139
|
+
Disabled: 'hsla(0, 0%, 61%, 1)',
|
|
140
|
+
}}
|
|
141
|
+
/>
|
|
142
|
+
<ColorItem
|
|
143
|
+
title="Surface Border"
|
|
144
|
+
subtitle="--color-surface-border"
|
|
145
|
+
colors={{
|
|
146
|
+
Primary: 'hsla(36, 71%, 13%, 1)',
|
|
147
|
+
Tertiary: 'hsla(0, 0%, 85%, 1)',
|
|
148
|
+
Quaternary: 'hsla(0, 0%, 45%, 1)',
|
|
149
|
+
Accent: 'hsla(92, 49%, 47%, 1)',
|
|
150
|
+
Active: 'hsla(40, 75%, 58%, 1)',
|
|
151
|
+
Disabled: 'hsla(0, 0%, 61%, 1)',
|
|
152
|
+
}}
|
|
153
|
+
/>
|
|
154
|
+
<ColorItem
|
|
155
|
+
title="Error"
|
|
156
|
+
subtitle="--color-error"
|
|
157
|
+
colors={{
|
|
158
|
+
Primary: 'hsla(0, 100%, 44%, 1)',
|
|
159
|
+
}}
|
|
160
|
+
/>
|
|
161
|
+
<ColorItem
|
|
162
|
+
title="Error Text"
|
|
163
|
+
subtitle="--color-error-text"
|
|
164
|
+
colors={{
|
|
165
|
+
Primary: 'hsla(0, 100%, 44%, 1)',
|
|
166
|
+
PrimaryHover: 'hsla(0, 100%, 60%, 1)',
|
|
167
|
+
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
168
|
+
}}
|
|
169
|
+
/>
|
|
170
|
+
<ColorItem
|
|
171
|
+
title="Error Item"
|
|
172
|
+
subtitle="--color-error-item"
|
|
173
|
+
colors={{
|
|
174
|
+
Primary: 'hsla(0, 100%, 44%, 1)',
|
|
175
|
+
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
176
|
+
}}
|
|
177
|
+
/>
|
|
178
|
+
<ColorItem
|
|
179
|
+
title="Error Border"
|
|
180
|
+
subtitle="--color-error-border"
|
|
181
|
+
colors={{
|
|
182
|
+
Primary: 'hsla(0, 100%, 44%, 1)',
|
|
183
|
+
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
184
|
+
}}
|
|
185
|
+
/>
|
|
186
|
+
<ColorItem
|
|
187
|
+
title="Success"
|
|
188
|
+
subtitle="--color-success"
|
|
189
|
+
colors={{
|
|
190
|
+
Primary: 'hsla(108, 46%, 34%, 1)',
|
|
191
|
+
}}
|
|
192
|
+
/>
|
|
193
|
+
<ColorItem
|
|
194
|
+
title="Success Text"
|
|
195
|
+
subtitle="--color-success-text"
|
|
196
|
+
colors={{
|
|
197
|
+
Primary: 'hsla(108, 46%, 34%, 1)',
|
|
198
|
+
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
199
|
+
}}
|
|
200
|
+
/>
|
|
201
|
+
<ColorItem
|
|
202
|
+
title="Success Item"
|
|
203
|
+
subtitle="--color-success-item"
|
|
204
|
+
colors={{
|
|
205
|
+
Primary: 'hsla(108, 46%, 34%, 1)',
|
|
206
|
+
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
207
|
+
}}
|
|
208
|
+
/>
|
|
209
|
+
<ColorItem
|
|
210
|
+
title="Success Border"
|
|
211
|
+
subtitle="--color-success-border"
|
|
212
|
+
colors={{
|
|
213
|
+
Primary: 'hsla(108, 46%, 34%, 1)',
|
|
214
|
+
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
215
|
+
}}
|
|
216
|
+
/>
|
|
217
|
+
<ColorItem
|
|
218
|
+
title="Active"
|
|
219
|
+
subtitle="--color-active"
|
|
220
|
+
colors={{
|
|
221
|
+
Primary: 'hsla(40, 75%, 58%, 1)',
|
|
222
|
+
}}
|
|
223
|
+
/>
|
|
224
|
+
<ColorItem
|
|
225
|
+
title="Active Text"
|
|
226
|
+
subtitle="--color-active-text"
|
|
227
|
+
colors={{
|
|
228
|
+
Primary: 'hsla(40, 75%, 58%, 1)',
|
|
229
|
+
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
230
|
+
}}
|
|
231
|
+
/>
|
|
232
|
+
<ColorItem
|
|
233
|
+
title="Active Border"
|
|
234
|
+
subtitle="--color-active-border"
|
|
235
|
+
colors={{
|
|
236
|
+
Primary: 'hsla(40, 75%, 58%, 1)',
|
|
237
|
+
}}
|
|
238
|
+
/>
|
|
239
|
+
</ColorPalette>
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Meta, Typeset } from '@storybook/blocks'
|
|
2
|
+
import { Divider } from '@itcase/ui/components/Divider'
|
|
3
|
+
import { Group } from '@itcase/ui/components/Group'
|
|
4
|
+
import { Text } from '@itcase/ui/components/Text'
|
|
5
|
+
|
|
6
|
+
<Meta title="Tokens / Elevation" />
|
|
7
|
+
|
|
8
|
+
# Elevation
|
|
9
|
+
|
|
10
|
+
<Group>
|
|
11
|
+
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
12
|
+
<Group elevation="1" height="64" width="64" />
|
|
13
|
+
<Text>elevation 1</Text>
|
|
14
|
+
<Text>box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.24);</Text>
|
|
15
|
+
</Group>
|
|
16
|
+
<Divider width="fill" />
|
|
17
|
+
</Group>
|
|
18
|
+
|
|
19
|
+
<Group>
|
|
20
|
+
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
21
|
+
<Group elevation="2" height="64" width="64" />
|
|
22
|
+
<Text>elevation 2</Text>
|
|
23
|
+
<Text>box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.24);</Text>
|
|
24
|
+
</Group>
|
|
25
|
+
<Divider width="fill" />
|
|
26
|
+
</Group>
|
|
27
|
+
|
|
28
|
+
<Group>
|
|
29
|
+
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
30
|
+
<Group elevation="4" height="64" width="64" />
|
|
31
|
+
<Text>elevation 4</Text>
|
|
32
|
+
<Text>box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.24);</Text>
|
|
33
|
+
</Group>
|
|
34
|
+
<Divider width="fill" />
|
|
35
|
+
</Group>
|
|
36
|
+
|
|
37
|
+
<Group>
|
|
38
|
+
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
39
|
+
<Group elevation="6" height="64" width="64" />
|
|
40
|
+
<Text>elevation 6</Text>
|
|
41
|
+
<Text>box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.24);</Text>
|
|
42
|
+
</Group>
|
|
43
|
+
<Divider width="fill" />
|
|
44
|
+
</Group>
|
|
45
|
+
|
|
46
|
+
<Group>
|
|
47
|
+
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
48
|
+
<Group elevation="8" height="64" width="64" />
|
|
49
|
+
<Text>elevation 8</Text>
|
|
50
|
+
<Text>box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.16);</Text>
|
|
51
|
+
</Group>
|
|
52
|
+
<Divider width="fill" />
|
|
53
|
+
</Group>
|
|
54
|
+
|
|
55
|
+
<Group>
|
|
56
|
+
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
57
|
+
<Group elevation="12" height="64" width="64" />
|
|
58
|
+
<Text>elevation 12</Text>
|
|
59
|
+
<Text>box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.16);</Text>
|
|
60
|
+
</Group>
|
|
61
|
+
<Divider width="fill" />
|
|
62
|
+
</Group>
|
|
63
|
+
|
|
64
|
+
<Group>
|
|
65
|
+
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
66
|
+
<Group elevation="16" height="64" width="64" />
|
|
67
|
+
<Text>elevation 16</Text>
|
|
68
|
+
<Text>box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.16);</Text>
|
|
69
|
+
</Group>
|
|
70
|
+
<Divider width="fill" />
|
|
71
|
+
</Group>
|
|
72
|
+
|
|
73
|
+
<Group>
|
|
74
|
+
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
75
|
+
<Group elevation="24" height="64" width="64" />
|
|
76
|
+
<Text>elevation 24</Text>
|
|
77
|
+
<Text>box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.12);</Text>
|
|
78
|
+
</Group>
|
|
79
|
+
<Divider width="fill" />
|
|
80
|
+
</Group>
|