trepur_components 2.3.7 → 2.3.9
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/.eslintrc.cjs +33 -4
- package/.prettierignore +10 -0
- package/README.md +1 -1
- package/package.json +9 -5
- package/src/components/Accordion/Accordion.stories.tsx +21 -98
- package/src/components/Accordion/const.tsx +34 -0
- package/src/components/Accordion/index.tsx +19 -25
- package/src/components/AlertBar/AlertBar.stories.tsx +78 -84
- package/src/components/AlertBar/index.tsx +69 -100
- package/src/components/Avatar/Avatar.stories.tsx +2 -7
- package/src/components/Avatar/index.tsx +4 -7
- package/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +29 -0
- package/src/components/Breadcrumbs/index.tsx +89 -0
- package/src/components/Button/Button.stories.tsx +24 -0
- package/src/components/Button/index.tsx +59 -0
- package/src/components/Calendar/Calendar.stories.tsx +21 -0
- package/src/components/Calendar/index.tsx +92 -0
- package/src/components/Card/Card.stories.tsx +14 -0
- package/src/components/Card/index.tsx +39 -0
- package/src/components/Carousel/Carousel.stories.tsx +44 -0
- package/src/components/Carousel/index.tsx +301 -0
- package/src/components/Carousel/utils.ts +53 -0
- package/src/components/CarouselThumbnail/CarouselThumbnail.stories.tsx +29 -0
- package/src/components/CarouselThumbnail/const.ts +17 -0
- package/src/components/CarouselThumbnail/index.tsx +169 -0
- package/src/components/CarouselThumbnail/utils.ts +87 -0
- package/src/components/Checkbox/Checkbox.stories.tsx +27 -0
- package/src/components/Checkbox/index.tsx +44 -0
- package/src/components/Collapsible/Collapsible.stories.tsx +67 -0
- package/src/components/Collapsible/index.tsx +169 -0
- package/src/components/Counter/Counter.stories.tsx +20 -0
- package/src/components/Counter/index.tsx +98 -0
- package/src/components/DetailUpdater/DetailUpdater.stories.tsx +37 -0
- package/{archive → src/components}/DetailUpdater/index.tsx +20 -25
- package/src/components/Dialog/Dialog.stories.tsx +65 -0
- package/src/components/Dialog/index.tsx +29 -0
- package/src/components/Dropdown/Dropdown.stories.tsx +22 -0
- package/src/components/Dropdown/index.tsx +117 -0
- package/src/components/Dropdown/utils.ts +15 -0
- package/{archive → src/components}/FileUploader/FilePreview.tsx +11 -14
- package/src/components/FileUploader/FileUploader.stories.tsx +28 -0
- package/src/components/FileUploader/index.tsx +177 -0
- package/src/components/Footer/Footer.stories.tsx +47 -0
- package/src/components/Footer/index.tsx +96 -0
- package/src/components/FooterNav/FooterNav.stories.tsx +32 -0
- package/src/components/FooterNav/index.tsx +75 -0
- package/{archive → src/components}/Form/Form.stories.tsx +2 -2
- package/src/components/Form/index.tsx +41 -0
- package/src/components/Gallery/Gallery.stories.tsx +39 -0
- package/src/components/Gallery/index.tsx +31 -0
- package/src/components/Greeting/Greeting.stories.tsx +16 -0
- package/src/components/Greeting/index.tsx +49 -0
- package/src/components/HamburgerIcon/HamburgerIcon.stories.tsx +14 -0
- package/src/components/HamburgerIcon/index.tsx +75 -0
- package/src/components/Icon/Icon.stories.tsx +41 -0
- package/src/components/Icon/index.tsx +33 -0
- package/src/components/Image/Image.stories.tsx +17 -0
- package/src/components/Image/index.tsx +25 -0
- package/src/components/ImageCard/ImageCard.stories.tsx +29 -0
- package/src/components/ImageCard/index.tsx +75 -0
- package/src/components/Input/Input.stories.tsx +25 -0
- package/src/components/Input/index.tsx +139 -0
- package/{archive → src/components}/MenuButton/MenuButton.stories.tsx +2 -2
- package/src/components/MenuButton/index.tsx +66 -0
- package/{archive → src/components}/Modal/Modal.stories.tsx +4 -8
- package/{archive → src/components}/Modal/index.tsx +9 -12
- package/src/components/Nav/Nav.stories.tsx +80 -0
- package/src/components/Nav/index.tsx +171 -0
- package/src/components/NavItem/NavItem.stories.tsx +17 -0
- package/src/components/NavItem/index.tsx +39 -0
- package/src/components/Pill/Pill.stories.tsx +51 -0
- package/src/components/Pill/index.tsx +69 -0
- package/{archive → src/components}/Search/Search.stories.tsx +2 -2
- package/{archive → src/components}/Search/index.tsx +12 -16
- package/{archive → src/components}/Select/Select.stories.tsx +2 -3
- package/{archive → src/components}/Select/index.tsx +21 -30
- package/{archive → src/components}/Showcase/Showcase.stories.tsx +4 -3
- package/src/components/Showcase/index.tsx +62 -0
- package/{archive → src/components}/SideNav/SideNav.stories.tsx +2 -2
- package/{archive → src/components}/SideNav/index.tsx +8 -15
- package/{archive → src/components}/SocialButton/SocialButton.stories.tsx +2 -2
- package/{archive → src/components}/SocialButton/index.tsx +14 -22
- package/src/components/SplitCard/SplitCard.stories.tsx +34 -0
- package/src/components/SplitCard/index.tsx +132 -0
- package/src/components/Stars/Star.stories.tsx +18 -0
- package/src/components/Stars/index.tsx +38 -0
- package/src/components/Testimonial/Testimonial.stories.tsx +37 -0
- package/src/components/Testimonial/index.tsx +123 -0
- package/src/components/TextArea/TextArea.stories.tsx +24 -0
- package/src/components/TextArea/index.tsx +133 -0
- package/src/components/Timeline/Timeline.stories.tsx +45 -0
- package/src/components/Timeline/index.tsx +65 -0
- package/src/components/Tubestops/Tubestops.stories.tsx +22 -0
- package/src/components/Tubestops/index.tsx +132 -0
- package/src/components/Video/Video.stories.tsx +58 -0
- package/src/components/Video/assets/example.mp4 +0 -0
- package/src/components/Video/assets/example.ogv +0 -0
- package/src/components/Video/assets/example.webm +0 -0
- package/src/components/Video/index.tsx +92 -0
- package/src/components/index.ts +66 -112
- package/src/custom.d.ts +14 -0
- package/src/documentation/Colours.mdx +34 -34
- package/src/documentation/Introduction.mdx +9 -5
- package/src/documentation/assets/index.ts +3 -0
- package/src/documentation/assets/trepurComponentsLogo.svg +32 -0
- package/src/documentation/typography/Fonts/Fonts.stories.tsx +14 -0
- package/src/documentation/typography/Fonts/Fonts.tsx +73 -0
- package/src/styles/global.css +1 -1
- package/src/styles/themes/local.css +91 -39
- package/src/styles/themes/test.css +28 -0
- package/src/utils/screens.ts +1 -1
- package/tailwind/colors.ts +53 -385
- package/tailwind/preset.ts +4 -0
- package/tailwind.config.ts +12 -80
- package/tsconfig.json +8 -2
- package/archive/Breadcrumbs/Breadcrumbs.stories.tsx +0 -46
- package/archive/Breadcrumbs/index.tsx +0 -42
- package/archive/BreadcrumbsBordered/BreadcrumbsBordered.stories.tsx +0 -52
- package/archive/BreadcrumbsBordered/index.tsx +0 -44
- package/archive/BreadcrumbsItem/BreadcrumbsItem.stories.tsx +0 -40
- package/archive/BreadcrumbsItem/index.tsx +0 -149
- package/archive/Button/Button.stories.tsx +0 -150
- package/archive/Button/index.tsx +0 -111
- package/archive/Button/style.module.css +0 -76
- package/archive/Calendar/Calendar.stories.tsx +0 -82
- package/archive/Calendar/index.tsx +0 -76
- package/archive/Card/Card.stories.tsx +0 -75
- package/archive/Card/index.tsx +0 -102
- package/archive/Card/style.module.css +0 -75
- package/archive/CardWithTopImage/CardWithTopImage.stories.tsx +0 -50
- package/archive/CardWithTopImage/index.tsx +0 -39
- package/archive/CardWithTopImage/style.module.css +0 -11
- package/archive/Carousel/Carousel.stories.tsx +0 -451
- package/archive/Carousel/index.tsx +0 -388
- package/archive/Carousel/style.module.css +0 -99
- package/archive/CarouselThumbnail/CarouselThumbnail.stories.tsx +0 -350
- package/archive/CarouselThumbnail/index.tsx +0 -302
- package/archive/CarouselThumbnail/style.module.css +0 -67
- package/archive/Checkbox/Checkbox.stories.tsx +0 -34
- package/archive/Checkbox/index.tsx +0 -51
- package/archive/Checkbox/style.module.css +0 -15
- package/archive/Collapsible/Collapsible.stories.tsx +0 -67
- package/archive/Collapsible/index.tsx +0 -116
- package/archive/Collapsible/style.module.css +0 -47
- package/archive/Column/Column.stories.tsx +0 -89
- package/archive/Column/index.tsx +0 -119
- package/archive/Column/style.module.css +0 -151
- package/archive/ComponentWrapper/ComponentWrapper.stories.tsx +0 -40
- package/archive/ComponentWrapper/index.tsx +0 -55
- package/archive/ComponentWrapper/style.module.css +0 -40
- package/archive/Container/Container.stories.tsx +0 -40
- package/archive/Container/index.tsx +0 -24
- package/archive/Container/style.module.css +0 -4
- package/archive/Counter/Counter.stories.tsx +0 -19
- package/archive/Counter/index.tsx +0 -66
- package/archive/Counter/style.module.css +0 -19
- package/archive/DetailUpdater/DetailUpdater.stories.tsx +0 -96
- package/archive/DetailUpdater/style.module.css +0 -31
- package/archive/Dialog/Dialog.stories.tsx +0 -131
- package/archive/Dialog/index.tsx +0 -91
- package/archive/Dialog/style.module.css +0 -44
- package/archive/DropdownMenu/DropdownMenu.stories.tsx +0 -59
- package/archive/DropdownMenu/index.tsx +0 -51
- package/archive/DropdownMenu/style.module.css +0 -38
- package/archive/DynamicTextSection/DynamicTextSection.stories.tsx +0 -74
- package/archive/DynamicTextSection/index.tsx +0 -36
- package/archive/DynamicTextSection/style.module.css +0 -0
- package/archive/FileUploader/FileUploader.stories.tsx +0 -28
- package/archive/FileUploader/index.tsx +0 -135
- package/archive/FileUploader/style.module.css +0 -54
- package/archive/FilterItem/FilterItem.stories.tsx +0 -33
- package/archive/FilterItem/index.tsx +0 -101
- package/archive/FilterItem/style.module.css +0 -27
- package/archive/Footer/Footer.stories.tsx +0 -59
- package/archive/Footer/index.tsx +0 -50
- package/archive/Footer/style.module.css +0 -19
- package/archive/FooterNav/FooterNav.stories.tsx +0 -125
- package/archive/FooterNav/index.tsx +0 -57
- package/archive/FooterNav/style.module.css +0 -32
- package/archive/FooterNavItem/FooterNavItem.stories.tsx +0 -53
- package/archive/FooterNavItem/index.tsx +0 -80
- package/archive/FooterNavItem/style.module.css +0 -139
- package/archive/Form/index.tsx +0 -61
- package/archive/Form/style.module.css +0 -0
- package/archive/FyreCard/FyreCard.stories.tsx +0 -31
- package/archive/FyreCard/index.tsx +0 -52
- package/archive/FyreCard/style.module.css +0 -19
- package/archive/Greeting/Greeting.stories.tsx +0 -41
- package/archive/Greeting/index.tsx +0 -32
- package/archive/HamburgerIcon/HamburgerIcon.stories.tsx +0 -32
- package/archive/HamburgerIcon/index.tsx +0 -103
- package/archive/HamburgerIcon/style.module.css +0 -85
- package/archive/HorizontalLine/HorizontalLine.stories.tsx +0 -54
- package/archive/HorizontalLine/index.tsx +0 -40
- package/archive/HorizontalLine/style.module.css +0 -55
- package/archive/Icon/Icon.stories.tsx +0 -164
- package/archive/Icon/index.tsx +0 -115
- package/archive/Icon/style.module.css +0 -253
- package/archive/IconCard/IconCard.stories.tsx +0 -46
- package/archive/IconCard/index.tsx +0 -57
- package/archive/IconCard/style.module.css +0 -18
- package/archive/Image/Image.stories.tsx +0 -87
- package/archive/Image/index.tsx +0 -132
- package/archive/Image/style.module.css +0 -109
- package/archive/ImageInfo/ImageInfo.stories.tsx +0 -39
- package/archive/ImageInfo/index.tsx +0 -95
- package/archive/ImageInfo/style.module.css +0 -47
- package/archive/ImageLink/ImageLink.stories.tsx +0 -37
- package/archive/ImageLink/index.tsx +0 -49
- package/archive/ImageLink/style.module.css +0 -23
- package/archive/ImageLinkList/ImageLinkList.stories.tsx +0 -34
- package/archive/ImageLinkList/index.tsx +0 -33
- package/archive/ImageLinkList/style.module.css +0 -3
- package/archive/InformationIcon/InformationIcon.stories.tsx +0 -83
- package/archive/InformationIcon/index.tsx +0 -128
- package/archive/InformationIcon/style.module.css +0 -71
- package/archive/InformationIconBlock/InformationIconBlock.stories.tsx +0 -32
- package/archive/InformationIconBlock/index.tsx +0 -63
- package/archive/InformationIconBlock/style.module.css +0 -7
- package/archive/Input/Input.stories.tsx +0 -84
- package/archive/Input/index.tsx +0 -131
- package/archive/Input/style.module.css +0 -60
- package/archive/Jumbotron/Jumbotron.stories.tsx +0 -21
- package/archive/Jumbotron/index.tsx +0 -31
- package/archive/Jumbotron/style.module.css +0 -8
- package/archive/MenuButton/index.tsx +0 -82
- package/archive/MenuButton/style.module.css +0 -45
- package/archive/Modal/style.module.css +0 -35
- package/archive/NavItem/NavItem.stories.tsx +0 -90
- package/archive/NavItem/index.tsx +0 -65
- package/archive/NavItem/style.module.css +0 -71
- package/archive/NavOld/NavOld.stories.tsx +0 -193
- package/archive/NavOld/StickyNav.tsx +0 -191
- package/archive/NavOld/index.tsx +0 -273
- package/archive/NavOld/style.module.css +0 -156
- package/archive/NavTwo/Dropdown.tsx +0 -35
- package/archive/NavTwo/Nav.stories.tsx +0 -38
- package/archive/NavTwo/Sidebar.tsx +0 -34
- package/archive/NavTwo/StickyNav.tsx +0 -34
- package/archive/NavTwo/index.tsx +0 -45
- package/archive/NavTwo/style.module.css +0 -35
- package/archive/NewsCard/NewsCard.stories.tsx +0 -72
- package/archive/NewsCard/index.tsx +0 -57
- package/archive/NewsCard/style.module.css +0 -15
- package/archive/Pill/Pill.stories.tsx +0 -44
- package/archive/Pill/index.tsx +0 -64
- package/archive/Pill/style.module.css +0 -32
- package/archive/ProductCard/ProductCard.stories.tsx +0 -61
- package/archive/ProductCard/index.tsx +0 -111
- package/archive/ProductCard/style.module.css +0 -53
- package/archive/ProductCardV2/ProductCardV2.stories.tsx +0 -50
- package/archive/ProductCardV2/index.tsx +0 -119
- package/archive/ProductCardV2/style.module.css +0 -59
- package/archive/Proficiencies/Proficiencies.stories.tsx +0 -50
- package/archive/Proficiencies/index.tsx +0 -63
- package/archive/Proficiencies/style.module.css +0 -31
- package/archive/Profile/Profile.stories.tsx +0 -49
- package/archive/Profile/index.tsx +0 -103
- package/archive/Profile/style.module.css +0 -47
- package/archive/Row/Row.stories.tsx +0 -53
- package/archive/Row/index.tsx +0 -23
- package/archive/Row/style.module.css +0 -3
- package/archive/Search/style.module.css +0 -23
- package/archive/Select/style.module.css +0 -52
- package/archive/Showcase/index.tsx +0 -75
- package/archive/Showcase/style.module.css +0 -47
- package/archive/SideNav/style.module.css +0 -43
- package/archive/SocialBlock/SocialBlock.stories.tsx +0 -58
- package/archive/SocialBlock/index.tsx +0 -63
- package/archive/SocialButton/style.module.css +0 -77
- package/archive/StarRating/StarRating.stories.tsx +0 -23
- package/archive/StarRating/index.tsx +0 -71
- package/archive/Testimonial/Testimonial.stories.tsx +0 -110
- package/archive/Testimonial/index.tsx +0 -61
- package/archive/Testimonial/style.module.css +0 -27
- package/archive/TextAndTitle/TextAndTitle.stories.tsx +0 -70
- package/archive/TextAndTitle/index.tsx +0 -123
- package/archive/TextAndTitle/style.module.css +0 -75
- package/archive/TextArea/TextArea.stories.tsx +0 -55
- package/archive/TextArea/index.tsx +0 -125
- package/archive/TextArea/style.module.css +0 -60
- package/archive/Timeline/Timeline.stories.tsx +0 -92
- package/archive/Timeline/index.tsx +0 -254
- package/archive/Timeline/style.module.css +0 -134
- package/archive/TimelineV2/TimelineV2.stories.tsx +0 -95
- package/archive/TimelineV2/index.tsx +0 -70
- package/archive/TimelineV2/style.module.css +0 -28
- package/archive/Tubestops/Tubestops.stories.tsx +0 -42
- package/archive/Tubestops/index.tsx +0 -58
- package/archive/Tubestops/style.module.css +0 -54
- package/archive/UserIcon/UserIcon.stories.tsx +0 -52
- package/archive/UserIcon/index.tsx +0 -46
- package/archive/UserIcon/style.module.css +0 -19
- package/archive/Video/Video.stories.tsx +0 -23
- package/archive/Video/index.tsx +0 -47
- package/archive/theme.ts +0 -39
- package/archive/typography/Fonts/Fonts.stories.tsx +0 -14
- package/archive/typography/Fonts/Fonts.tsx +0 -181
- package/lib/components/Accordion/Accordion.stories.d.ts +0 -94
- package/lib/components/Accordion/index.d.ts +0 -8
- package/lib/components/Accordion/index.js +0 -15
- package/lib/components/AlertBar/AlertBar.stories.d.ts +0 -162
- package/lib/components/AlertBar/index.d.ts +0 -12
- package/lib/components/AlertBar/index.js +0 -49
- package/lib/components/Avatar/Avatar.stories.d.ts +0 -44
- package/lib/components/Avatar/index.d.ts +0 -4
- package/lib/components/index.d.ts +0 -4
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -6
- package/lib/styles/global.css +0 -75
- package/lib/styles/themes/local.css +0 -40
- package/lib/styles/themes/palette.css +0 -131
- package/lib/tailwind/boxShadow.ts +0 -9
- package/lib/tailwind/colors.ts +0 -410
- package/lib/tailwind/container.ts +0 -11
- package/lib/tailwind/preset.ts +0 -88
- package/lib/tailwind/spacing.ts +0 -14
- package/lib/utils/controls.d.ts +0 -36
- package/lib/utils/matchMedia.d.ts +0 -2
- package/lib/utils/screens.d.ts +0 -7
- package/src/styles/themes/palette.css +0 -131
- package/svg.d.ts +0 -4
- /package/{archive → src/components}/Calendar/style.css +0 -0
- /package/{archive → src/components}/Checkbox/Checkbox.mdx +0 -0
- /package/{archive → src}/fonts/Sora/OFL.txt +0 -0
- /package/{archive → src}/fonts/Sora/README.txt +0 -0
- /package/{archive → src}/fonts/Sora/Sora-VariableFont_wght.ttf +0 -0
- /package/{archive → src}/fonts/Sora/static/Sora-Bold.ttf +0 -0
- /package/{archive → src}/fonts/Sora/static/Sora-ExtraBold.ttf +0 -0
- /package/{archive → src}/fonts/Sora/static/Sora-ExtraLight.ttf +0 -0
- /package/{archive → src}/fonts/Sora/static/Sora-Light.ttf +0 -0
- /package/{archive → src}/fonts/Sora/static/Sora-Medium.ttf +0 -0
- /package/{archive → src}/fonts/Sora/static/Sora-Regular.ttf +0 -0
- /package/{archive → src}/fonts/Sora/static/Sora-SemiBold.ttf +0 -0
- /package/{archive → src}/fonts/Sora/static/Sora-Thin.ttf +0 -0
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
.classList {
|
|
2
|
-
@apply rounded-2xl text-center sm:flex sm:text-left;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.large {
|
|
6
|
-
@apply py-8;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.small {
|
|
10
|
-
@apply pb-4;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.icon {
|
|
14
|
-
@apply sm:h-full;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.large .icon {
|
|
18
|
-
@apply px-4 md:px-8;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.small .icon {
|
|
22
|
-
@apply pr-2 md:pr-4;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.text {
|
|
26
|
-
@apply mt-8 flex flex-col-reverse sm:mt-0 sm:block sm:pr-4 md:pr-8;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.title {
|
|
30
|
-
@apply font-light sm:font-semiBold;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.subtitle {
|
|
34
|
-
@apply text-xxl font-medium sm:text-xs sm:font-regular;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.primary {
|
|
38
|
-
@apply bg-primary text-white;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.secondary {
|
|
42
|
-
@apply bg-secondary text-white;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.white {
|
|
46
|
-
@apply bg-white text-black;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.grey {
|
|
50
|
-
@apply bg-lightest-grey text-black;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.black {
|
|
54
|
-
@apply bg-black text-white;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.success {
|
|
58
|
-
@apply bg-success text-white;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.error {
|
|
62
|
-
@apply bg-error text-white;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.facebook {
|
|
66
|
-
@apply bg-facebook text-white;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.gold {
|
|
70
|
-
@apply bg-gold text-white;
|
|
71
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { idAndClassName } from '@utils/controls';
|
|
3
|
-
|
|
4
|
-
import InformationIconBlock from '.';
|
|
5
|
-
|
|
6
|
-
const icons = [
|
|
7
|
-
{ name: 'Current Age', value: '27', type: 'calendar' },
|
|
8
|
-
{ name: 'Countries Visited', value: '20', type: 'globe' },
|
|
9
|
-
{ name: 'Projects', value: '27', type: 'list' },
|
|
10
|
-
{ name: 'Years in industry', value: '4', type: 'university' },
|
|
11
|
-
];
|
|
12
|
-
|
|
13
|
-
const meta = {
|
|
14
|
-
title: 'Components/Information Icon Block',
|
|
15
|
-
component: InformationIconBlock,
|
|
16
|
-
parameters: {},
|
|
17
|
-
argTypes: {
|
|
18
|
-
...idAndClassName,
|
|
19
|
-
},
|
|
20
|
-
args: {
|
|
21
|
-
title: 'Information Icon Block',
|
|
22
|
-
description: 'What do you recon to this? Prob needs a refurb right?',
|
|
23
|
-
icons,
|
|
24
|
-
bgColour: 'primary',
|
|
25
|
-
},
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export default meta;
|
|
29
|
-
|
|
30
|
-
type Story = StoryObj<typeof meta>;
|
|
31
|
-
|
|
32
|
-
export const Default: Story = {};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
import ComponentWrapper from '@components/ComponentWrapper';
|
|
4
|
-
import Container from '@components/Container';
|
|
5
|
-
import { type Props as iconProps } from '@components/Icon';
|
|
6
|
-
import InformationIcon from '@components/InformationIcon';
|
|
7
|
-
import { type Colours } from '@utils/controls';
|
|
8
|
-
import classNames from 'classnames';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export interface Props {
|
|
13
|
-
id?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
title?: string;
|
|
16
|
-
description?: string;
|
|
17
|
-
bgColour?: Colours;
|
|
18
|
-
icons?: iconProps[];
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const InformationIconBlock = ({
|
|
22
|
-
id,
|
|
23
|
-
className,
|
|
24
|
-
title,
|
|
25
|
-
description,
|
|
26
|
-
bgColour,
|
|
27
|
-
icons,
|
|
28
|
-
}: Props): JSX.Element => {
|
|
29
|
-
const classList = classNames(className, 'theme-local');
|
|
30
|
-
return (
|
|
31
|
-
<ComponentWrapper
|
|
32
|
-
id={id}
|
|
33
|
-
className={classList}
|
|
34
|
-
title={title}
|
|
35
|
-
description={description}
|
|
36
|
-
bgColour={bgColour}
|
|
37
|
-
>
|
|
38
|
-
<Container className={style.iconWrapper} withPadding={false}>
|
|
39
|
-
{icons?.map((icon: any, i: number) => {
|
|
40
|
-
return (
|
|
41
|
-
<InformationIcon
|
|
42
|
-
key={i}
|
|
43
|
-
iconProps={{
|
|
44
|
-
size: 2,
|
|
45
|
-
type: icon.type,
|
|
46
|
-
colour: 'primary',
|
|
47
|
-
bgColour: 'white',
|
|
48
|
-
hoverColour: 'primary',
|
|
49
|
-
hoverBgColour: 'white',
|
|
50
|
-
}}
|
|
51
|
-
id={icon.name.replace(/\s+/g, '')}
|
|
52
|
-
title={icon.name}
|
|
53
|
-
subtitle={icon.value}
|
|
54
|
-
withAnimation
|
|
55
|
-
/>
|
|
56
|
-
);
|
|
57
|
-
})}
|
|
58
|
-
</Container>
|
|
59
|
-
</ComponentWrapper>
|
|
60
|
-
);
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
export default InformationIconBlock;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { idAndClassName } from '@utils/controls';
|
|
3
|
-
|
|
4
|
-
import Input from '.';
|
|
5
|
-
|
|
6
|
-
const meta = {
|
|
7
|
-
title: 'Components/Input',
|
|
8
|
-
component: Input,
|
|
9
|
-
parameters: {},
|
|
10
|
-
argTypes: {
|
|
11
|
-
...idAndClassName,
|
|
12
|
-
|
|
13
|
-
label: {
|
|
14
|
-
description: '',
|
|
15
|
-
control: 'text',
|
|
16
|
-
table: {
|
|
17
|
-
category: '',
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
placeholder: {
|
|
21
|
-
description: '',
|
|
22
|
-
control: 'text',
|
|
23
|
-
table: {
|
|
24
|
-
category: '',
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
bold: {
|
|
28
|
-
description: '',
|
|
29
|
-
control: 'boolean',
|
|
30
|
-
table: {
|
|
31
|
-
category: '',
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
required: {
|
|
35
|
-
description: '',
|
|
36
|
-
control: 'boolean',
|
|
37
|
-
table: {
|
|
38
|
-
category: '',
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
withValidation: {
|
|
42
|
-
description: '',
|
|
43
|
-
control: 'boolean',
|
|
44
|
-
table: {
|
|
45
|
-
category: '',
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
errors: {
|
|
49
|
-
description: 'An array of errors to display',
|
|
50
|
-
control: 'array',
|
|
51
|
-
table: {
|
|
52
|
-
category: '',
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
value: {
|
|
56
|
-
description: 'The default value of the input',
|
|
57
|
-
control: 'text',
|
|
58
|
-
table: {
|
|
59
|
-
category: '',
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
bgColour: {
|
|
63
|
-
type: { name: 'string', required: false },
|
|
64
|
-
options: ['primary', 'secondary', 'white', 'black', 'gold'],
|
|
65
|
-
description: 'The background colour of the component',
|
|
66
|
-
table: {
|
|
67
|
-
type: { summary: 'string' },
|
|
68
|
-
},
|
|
69
|
-
defaultValue: 'primary',
|
|
70
|
-
control: 'select',
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
args: {
|
|
74
|
-
label: 'This is a label',
|
|
75
|
-
placeholder: 'This is a placeholder',
|
|
76
|
-
errors: [],
|
|
77
|
-
},
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
export default meta;
|
|
81
|
-
|
|
82
|
-
type Story = StoryObj<typeof meta>;
|
|
83
|
-
|
|
84
|
-
export const Default: Story = {};
|
package/archive/Input/index.tsx
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import React, { useRef } from 'react';
|
|
2
|
-
|
|
3
|
-
import { type Colours } from '@utils/controls';
|
|
4
|
-
import classNames from 'classnames';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export interface Props {
|
|
9
|
-
id?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
autoComplete?: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
formId?: string;
|
|
14
|
-
height?: string;
|
|
15
|
-
maxLength?: number;
|
|
16
|
-
minLength?: number;
|
|
17
|
-
pattern?: string;
|
|
18
|
-
required?: boolean;
|
|
19
|
-
readOnly?: boolean;
|
|
20
|
-
label?: string;
|
|
21
|
-
type?: string;
|
|
22
|
-
name?: string;
|
|
23
|
-
placeholder?: string;
|
|
24
|
-
withValidation?: boolean;
|
|
25
|
-
onChange?: (e: any) => void;
|
|
26
|
-
onBlur?: () => void;
|
|
27
|
-
onFocus?: () => void;
|
|
28
|
-
onClick?: () => void;
|
|
29
|
-
errors?: string[];
|
|
30
|
-
errorState?: boolean;
|
|
31
|
-
value?: string;
|
|
32
|
-
bgColour?: Colours;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
const Input = ({
|
|
36
|
-
id,
|
|
37
|
-
className,
|
|
38
|
-
autoComplete,
|
|
39
|
-
disabled,
|
|
40
|
-
formId,
|
|
41
|
-
height,
|
|
42
|
-
maxLength,
|
|
43
|
-
minLength,
|
|
44
|
-
pattern,
|
|
45
|
-
required = false,
|
|
46
|
-
readOnly,
|
|
47
|
-
label,
|
|
48
|
-
type,
|
|
49
|
-
name,
|
|
50
|
-
placeholder,
|
|
51
|
-
onChange,
|
|
52
|
-
onBlur,
|
|
53
|
-
onFocus,
|
|
54
|
-
onClick,
|
|
55
|
-
withValidation,
|
|
56
|
-
errors,
|
|
57
|
-
errorState = false,
|
|
58
|
-
value,
|
|
59
|
-
}: Props): JSX.Element => {
|
|
60
|
-
const newId = id !== undefined ? `-${id}` : '';
|
|
61
|
-
|
|
62
|
-
const valueClassList = classNames(
|
|
63
|
-
{
|
|
64
|
-
[style.errorState]: errors != null || errorState,
|
|
65
|
-
},
|
|
66
|
-
style.value,
|
|
67
|
-
);
|
|
68
|
-
|
|
69
|
-
const labelClassList = classNames(
|
|
70
|
-
{
|
|
71
|
-
[style.labelError]: errors != null || errorState,
|
|
72
|
-
},
|
|
73
|
-
style.label,
|
|
74
|
-
);
|
|
75
|
-
|
|
76
|
-
const headerClassList = classNames(style.classList, className, 'theme-local');
|
|
77
|
-
|
|
78
|
-
const btnRef = useRef<any>(null);
|
|
79
|
-
|
|
80
|
-
const handleClick = (): void => {
|
|
81
|
-
btnRef.current?.focus();
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
return (
|
|
85
|
-
<>
|
|
86
|
-
<div id={id} className={headerClassList} onClick={handleClick}>
|
|
87
|
-
<div className={style.labelWrapper}>
|
|
88
|
-
<p className={labelClassList}>{label}</p>
|
|
89
|
-
{required && <p className={style.required}> *</p>}
|
|
90
|
-
</div>
|
|
91
|
-
<input
|
|
92
|
-
ref={btnRef}
|
|
93
|
-
id={`input${newId}`}
|
|
94
|
-
className={valueClassList}
|
|
95
|
-
autoComplete={autoComplete}
|
|
96
|
-
disabled={disabled}
|
|
97
|
-
form={formId}
|
|
98
|
-
height={height}
|
|
99
|
-
maxLength={maxLength}
|
|
100
|
-
minLength={minLength}
|
|
101
|
-
pattern={pattern}
|
|
102
|
-
required={required}
|
|
103
|
-
readOnly={readOnly}
|
|
104
|
-
type={type}
|
|
105
|
-
name={name}
|
|
106
|
-
value={value}
|
|
107
|
-
placeholder={placeholder}
|
|
108
|
-
onChange={(e) => {
|
|
109
|
-
onChange?.(e);
|
|
110
|
-
}}
|
|
111
|
-
onBlur={onBlur}
|
|
112
|
-
onFocus={onFocus}
|
|
113
|
-
onClick={onClick}
|
|
114
|
-
/>
|
|
115
|
-
</div>
|
|
116
|
-
{withValidation && (
|
|
117
|
-
<div id={`errors${newId}`} className={classNames(style.errors)}>
|
|
118
|
-
{errors?.map((error, i) => {
|
|
119
|
-
return (
|
|
120
|
-
<p key={`error-msg-${i + 0}`} className={style.errorText}>
|
|
121
|
-
{error}
|
|
122
|
-
</p>
|
|
123
|
-
);
|
|
124
|
-
})}
|
|
125
|
-
</div>
|
|
126
|
-
)}
|
|
127
|
-
</>
|
|
128
|
-
);
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
export default Input;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
.classList {
|
|
2
|
-
@apply mt-4 w-full bg-white;
|
|
3
|
-
@apply cursor-pointer;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
/* .classList:active p {
|
|
7
|
-
@apply hidden;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.classList:active .value {
|
|
11
|
-
@apply pt-3 pb-4;
|
|
12
|
-
} */
|
|
13
|
-
|
|
14
|
-
.fullWidth {
|
|
15
|
-
@apply w-full;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.notFullWidth {
|
|
19
|
-
@apply sm:w-72;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.labelWrapper {
|
|
23
|
-
@apply absolute -mt-3 ml-3 px-1;
|
|
24
|
-
@apply flex rounded-2xl bg-white text-sm font-regular;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.required {
|
|
28
|
-
@apply font-semiBold text-error;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.value {
|
|
32
|
-
@apply w-full rounded-md bg-white py-2 pl-4 text-ink;
|
|
33
|
-
@apply cursor-pointer;
|
|
34
|
-
@apply border border-black;
|
|
35
|
-
@apply text-md;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/* .value:focus {
|
|
39
|
-
@apply pt-3 pb-4;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.value:focus ~ label {
|
|
43
|
-
@apply text-xl;
|
|
44
|
-
} */
|
|
45
|
-
|
|
46
|
-
.errors {
|
|
47
|
-
@apply text-sm font-regular text-error;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.errorState {
|
|
51
|
-
@apply border-2 border-error;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.labelError {
|
|
55
|
-
@apply text-error;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.errorText {
|
|
59
|
-
@apply mt-1 border-l-4 border-error pl-3;
|
|
60
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { idAndClassName } from '@utils/controls';
|
|
3
|
-
|
|
4
|
-
import Jumbotron from '.';
|
|
5
|
-
|
|
6
|
-
const meta = {
|
|
7
|
-
title: 'Components/Jumbotron',
|
|
8
|
-
component: Jumbotron,
|
|
9
|
-
parameters: {},
|
|
10
|
-
argTypes: {
|
|
11
|
-
...idAndClassName,
|
|
12
|
-
},
|
|
13
|
-
args: {
|
|
14
|
-
image: 'https://picsum.photos/1000/1000',
|
|
15
|
-
},
|
|
16
|
-
};
|
|
17
|
-
export default meta;
|
|
18
|
-
|
|
19
|
-
type Story = StoryObj<typeof meta>;
|
|
20
|
-
|
|
21
|
-
export const Default: Story = {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export interface Props {
|
|
8
|
-
id?: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
image?: string;
|
|
11
|
-
altText?: string;
|
|
12
|
-
title?: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
const Jumbotron = ({
|
|
16
|
-
id,
|
|
17
|
-
className,
|
|
18
|
-
image,
|
|
19
|
-
altText,
|
|
20
|
-
title,
|
|
21
|
-
}: Props): JSX.Element => {
|
|
22
|
-
const classList = classNames(style.classes, className, 'theme-local');
|
|
23
|
-
const imageClassList = classNames(style.imageClasses);
|
|
24
|
-
return (
|
|
25
|
-
<div id={id} className={classList}>
|
|
26
|
-
<img className={imageClassList} src={image} alt={altText} title={title} />
|
|
27
|
-
</div>
|
|
28
|
-
);
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export default Jumbotron;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import React, { useState } from 'react';
|
|
2
|
-
|
|
3
|
-
import DropdownMenu from '@components/DropdownMenu';
|
|
4
|
-
import Image from '@components/Image';
|
|
5
|
-
import { type Colours } from '@utils/controls';
|
|
6
|
-
import classNames from 'classnames';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export interface Props {
|
|
11
|
-
id?: string;
|
|
12
|
-
className?: string;
|
|
13
|
-
backgroundColour?: Colours;
|
|
14
|
-
|
|
15
|
-
menuItems: Array<{ name: string; href: string }>;
|
|
16
|
-
onClick?: React.MouseEventHandler;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
const MenuButton = ({
|
|
20
|
-
id,
|
|
21
|
-
className,
|
|
22
|
-
backgroundColour = 'white',
|
|
23
|
-
|
|
24
|
-
menuItems,
|
|
25
|
-
onClick,
|
|
26
|
-
}: Props): JSX.Element => {
|
|
27
|
-
const [showMenu, setShowMenu] = useState(false);
|
|
28
|
-
const classList = classNames(
|
|
29
|
-
className,
|
|
30
|
-
style.classList,
|
|
31
|
-
style[backgroundColour],
|
|
32
|
-
'theme-local',
|
|
33
|
-
);
|
|
34
|
-
|
|
35
|
-
if (!menuItems) return <></>;
|
|
36
|
-
|
|
37
|
-
return (
|
|
38
|
-
<div>
|
|
39
|
-
<div
|
|
40
|
-
id={id}
|
|
41
|
-
className={classList}
|
|
42
|
-
onClick={() => {
|
|
43
|
-
setShowMenu(!showMenu);
|
|
44
|
-
}}
|
|
45
|
-
>
|
|
46
|
-
<div className={style.menuClasses} onClick={(e) => onClick?.(e)}>
|
|
47
|
-
<svg
|
|
48
|
-
className={style.svg}
|
|
49
|
-
width="18"
|
|
50
|
-
height="24"
|
|
51
|
-
viewBox="0 0 24 15"
|
|
52
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
53
|
-
>
|
|
54
|
-
<path
|
|
55
|
-
className={style.lineOneClassList}
|
|
56
|
-
d="M0 1.5C0 0.947715 0.447715 0.5 1 0.5H21C21.5523 0.5 22 0.947715 22 1.5C22 2.05228 21.5523 2.5 21 2.5H1C0.447716 2.5 0 2.05228 0 1.5Z"
|
|
57
|
-
/>
|
|
58
|
-
<path
|
|
59
|
-
className={style.lineTwoClassList}
|
|
60
|
-
d="M0 7.5C0 6.94772 0.447715 6.5 1 6.5H21C21.5523 6.5 22 6.94772 22 7.5C22 8.05228 21.5523 8.5 21 8.5H1C0.447716 8.5 0 8.05228 0 7.5Z"
|
|
61
|
-
/>
|
|
62
|
-
<path
|
|
63
|
-
className={style.lineThreeClassList}
|
|
64
|
-
d="M0 13.5C0 12.9477 0.447715 12.5 1 12.5H21C21.5523 12.5 22 12.9477 22 13.5C22 14.0523 21.5523 14.5 21 14.5H1C0.447716 14.5 0 14.0523 0 13.5Z"
|
|
65
|
-
/>
|
|
66
|
-
</svg>
|
|
67
|
-
</div>
|
|
68
|
-
<Image
|
|
69
|
-
src="https://picsum.photos/300/300"
|
|
70
|
-
className={style.imageClasses}
|
|
71
|
-
/>
|
|
72
|
-
</div>
|
|
73
|
-
{showMenu && (
|
|
74
|
-
<div>
|
|
75
|
-
<DropdownMenu menuItems={menuItems} />
|
|
76
|
-
</div>
|
|
77
|
-
)}
|
|
78
|
-
</div>
|
|
79
|
-
);
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
export default MenuButton;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
.classList {
|
|
2
|
-
width: 80px;
|
|
3
|
-
height: 45px;
|
|
4
|
-
@apply overflow-hidden rounded-full border-2 border-lightest-grey;
|
|
5
|
-
@apply my-auto flex cursor-pointer justify-between pl-2 text-center;
|
|
6
|
-
@apply hover:shadow-md;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.menuClasses {
|
|
10
|
-
@apply mx-auto my-auto;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.imageClasses {
|
|
14
|
-
width: 34px;
|
|
15
|
-
height: 34px;
|
|
16
|
-
@apply mx-auto my-auto rounded-full object-contain;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.primary {
|
|
20
|
-
@apply bg-primary text-white;
|
|
21
|
-
}
|
|
22
|
-
.secondary {
|
|
23
|
-
@apply bg-secondary text-white;
|
|
24
|
-
}
|
|
25
|
-
.white {
|
|
26
|
-
@apply bg-white text-black;
|
|
27
|
-
}
|
|
28
|
-
.grey {
|
|
29
|
-
@apply bg-lightest-grey text-black;
|
|
30
|
-
}
|
|
31
|
-
.black {
|
|
32
|
-
@apply bg-black text-white;
|
|
33
|
-
}
|
|
34
|
-
.success {
|
|
35
|
-
@apply bg-success text-white;
|
|
36
|
-
}
|
|
37
|
-
.error {
|
|
38
|
-
@apply bg-error text-white;
|
|
39
|
-
}
|
|
40
|
-
.facebook {
|
|
41
|
-
@apply bg-facebook text-white;
|
|
42
|
-
}
|
|
43
|
-
.gold {
|
|
44
|
-
@apply bg-gold text-white;
|
|
45
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
.overlay {
|
|
2
|
-
@apply block h-screen w-screen;
|
|
3
|
-
@apply fixed right-0 top-0 z-50;
|
|
4
|
-
background: rgba(0, 0, 0, 0.6);
|
|
5
|
-
@apply opacity-0;
|
|
6
|
-
@apply transition-opacity duration-300 ease-linear ease-out;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.children {
|
|
10
|
-
@apply mx-auto flex w-full md:w-auto;
|
|
11
|
-
@apply fixed left-1/2 top-1/2 z-50 block -translate-x-1/2 -translate-y-1/2 transform;
|
|
12
|
-
@apply opacity-0 transition-opacity duration-300 ease-linear ease-out;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.mobileGutter {
|
|
16
|
-
@apply px-4 md:px-0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.visible {
|
|
20
|
-
@apply opacity-100;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.hide {
|
|
24
|
-
@apply hidden;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.children.slideBottom {
|
|
28
|
-
@apply transition-transform duration-300 ease-linear ease-out;
|
|
29
|
-
@apply opacity-100;
|
|
30
|
-
@apply translate-y-full;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.children.slideBottom.visible {
|
|
34
|
-
@apply -translate-y-1/2;
|
|
35
|
-
}
|