@hyphen/hyphen-components 2.9.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/LICENSE +21 -0
- package/README.md +70 -0
- package/package.json +138 -0
- package/src/components/Alert/Alert.constants.ts +19 -0
- package/src/components/Alert/Alert.mdx +29 -0
- package/src/components/Alert/Alert.module.scss +74 -0
- package/src/components/Alert/Alert.stories.tsx +102 -0
- package/src/components/Alert/Alert.test.tsx +187 -0
- package/src/components/Alert/Alert.tsx +157 -0
- package/src/components/Alert/Alert.types.ts +14 -0
- package/src/components/Badge/Badge.mdx +28 -0
- package/src/components/Badge/Badge.module.scss +155 -0
- package/src/components/Badge/Badge.stories.tsx +52 -0
- package/src/components/Badge/Badge.test.tsx +74 -0
- package/src/components/Badge/Badge.tsx +70 -0
- package/src/components/Box/Box.mdx +259 -0
- package/src/components/Box/Box.module.scss +16 -0
- package/src/components/Box/Box.stories.tsx +1679 -0
- package/src/components/Box/Box.test.tsx +478 -0
- package/src/components/Box/Box.tsx +636 -0
- package/src/components/Button/Button.constants.ts +10 -0
- package/src/components/Button/Button.mdx +71 -0
- package/src/components/Button/Button.module.scss +312 -0
- package/src/components/Button/Button.stories.tsx +117 -0
- package/src/components/Button/Button.test.tsx +460 -0
- package/src/components/Button/Button.tsx +241 -0
- package/src/components/Card/Card.mdx +46 -0
- package/src/components/Card/Card.module.scss +6 -0
- package/src/components/Card/Card.stories.tsx +101 -0
- package/src/components/Card/Card.test.tsx +11 -0
- package/src/components/Card/Card.tsx +61 -0
- package/src/components/Card/components/CardFooter/CardFooter.test.tsx +11 -0
- package/src/components/Card/components/CardFooter/CardFooter.tsx +35 -0
- package/src/components/Card/components/CardHeader/CardHeader.test.tsx +23 -0
- package/src/components/Card/components/CardHeader/CardHeader.tsx +54 -0
- package/src/components/Card/components/CardSection/CardSection.test.tsx +28 -0
- package/src/components/Card/components/CardSection/CardSection.tsx +102 -0
- package/src/components/Card/components/index.ts +3 -0
- package/src/components/CheckboxInput/CheckboxInput.mdx +98 -0
- package/src/components/CheckboxInput/CheckboxInput.stories.tsx +254 -0
- package/src/components/CheckboxInput/CheckboxInput.test.tsx +436 -0
- package/src/components/CheckboxInput/CheckboxInput.tsx +171 -0
- package/src/components/CheckboxInput/components/Checkbox.module.scss +174 -0
- package/src/components/CheckboxInput/components/Checkbox.test.tsx +201 -0
- package/src/components/CheckboxInput/components/Checkbox.tsx +176 -0
- package/src/components/CheckboxInput/components/CheckboxIcon.tsx +71 -0
- package/src/components/DateInput/DateInput.mdx +61 -0
- package/src/components/DateInput/DateInput.stories.tsx +168 -0
- package/src/components/DateInput/DateInput.test.tsx +258 -0
- package/src/components/DateInput/DateInput.tsx +189 -0
- package/src/components/DatePicker/DatePicker.mdx +52 -0
- package/src/components/DatePicker/DatePicker.module.scss +603 -0
- package/src/components/DatePicker/DatePicker.stories.tsx +199 -0
- package/src/components/DatePicker/DatePicker.test.tsx +26 -0
- package/src/components/DatePicker/DatePicker.tsx +138 -0
- package/src/components/Details/Details.mdx +30 -0
- package/src/components/Details/Details.module.scss +32 -0
- package/src/components/Details/Details.stories.tsx +38 -0
- package/src/components/Details/Details.test.tsx +189 -0
- package/src/components/Details/Details.tsx +51 -0
- package/src/components/Details/DetailsSummary.tsx +65 -0
- package/src/components/Drawer/Drawer.mdx +117 -0
- package/src/components/Drawer/Drawer.module.scss +96 -0
- package/src/components/Drawer/Drawer.stories.tsx +380 -0
- package/src/components/Drawer/Drawer.test.tsx +90 -0
- package/src/components/Drawer/Drawer.tsx +249 -0
- package/src/components/FormControl/FormControl.tsx +78 -0
- package/src/components/FormLabel/FormLabel.mdx +24 -0
- package/src/components/FormLabel/FormLabel.module.scss +19 -0
- package/src/components/FormLabel/FormLabel.stories.tsx +20 -0
- package/src/components/FormLabel/FormLabel.test.tsx +35 -0
- package/src/components/FormLabel/FormLabel.tsx +96 -0
- package/src/components/Formik/Formik.mdx +10 -0
- package/src/components/Formik/Formik.stories.tsx +307 -0
- package/src/components/Formik/FormikCheckboxInput/FormikCheckboxInput.test.tsx +172 -0
- package/src/components/Formik/FormikCheckboxInput/FormikCheckboxInput.tsx +41 -0
- package/src/components/Formik/FormikRadioGroup/FormikRadioGroup.test.tsx +205 -0
- package/src/components/Formik/FormikRadioGroup/FormikRadioGroup.tsx +37 -0
- package/src/components/Formik/FormikSelectInput/FormikSelectInput.test.tsx +210 -0
- package/src/components/Formik/FormikSelectInput/FormikSelectInput.tsx +41 -0
- package/src/components/Formik/FormikSelectInputInset/FormikSelectInputInset.test.tsx +153 -0
- package/src/components/Formik/FormikSelectInputInset/FormikSelectInputInset.tsx +44 -0
- package/src/components/Formik/FormikSelectInputNative/FormikSelectInputNative.test.tsx +161 -0
- package/src/components/Formik/FormikSelectInputNative/FormikSelectInputNative.tsx +46 -0
- package/src/components/Formik/FormikTextInput/FormikTextInput.test.tsx +176 -0
- package/src/components/Formik/FormikTextInput/FormikTextInput.tsx +38 -0
- package/src/components/Formik/FormikTextInputInset/FormikTextInputInset.test.tsx +170 -0
- package/src/components/Formik/FormikTextInputInset/FormikTextInputInset.tsx +42 -0
- package/src/components/Formik/FormikTextareaInput/FormikTextareaInput.test.tsx +186 -0
- package/src/components/Formik/FormikTextareaInput/FormikTextareaInput.tsx +42 -0
- package/src/components/Formik/FormikTextareaInputInset/FormikTextareaInputInset.test.tsx +179 -0
- package/src/components/Formik/FormikTextareaInputInset/FormikTextareaInputInset.tsx +42 -0
- package/src/components/Formik/FormikTimePicker/FormikTimePicker.test.tsx +224 -0
- package/src/components/Formik/FormikTimePicker/FormikTimePicker.tsx +37 -0
- package/src/components/Formik/FormikTimePickerNative/FormikTimePickerNative.test.tsx +175 -0
- package/src/components/Formik/FormikTimePickerNative/FormikTimePickerNative.tsx +38 -0
- package/src/components/Formik/FormikToggle/FormikToggle.test.tsx +172 -0
- package/src/components/Formik/FormikToggle/FormikToggle.tsx +38 -0
- package/src/components/Heading/Heading.constants.ts +19 -0
- package/src/components/Heading/Heading.mdx +35 -0
- package/src/components/Heading/Heading.module.scss +5 -0
- package/src/components/Heading/Heading.stories.tsx +90 -0
- package/src/components/Heading/Heading.test.tsx +67 -0
- package/src/components/Heading/Heading.tsx +67 -0
- package/src/components/HelpText/HelpText.module.scss +14 -0
- package/src/components/HelpText/HelpText.tsx +33 -0
- package/src/components/Icon/Icon.mdx +40 -0
- package/src/components/Icon/Icon.stories.tsx +72 -0
- package/src/components/Icon/Icon.test.tsx +30 -0
- package/src/components/Icon/Icon.tsx +61 -0
- package/src/components/InputValidationMessage/InputValidationMessage.module.scss +3 -0
- package/src/components/InputValidationMessage/InputValidationMessage.tsx +27 -0
- package/src/components/Modal/Modal.mdx +60 -0
- package/src/components/Modal/Modal.module.scss +135 -0
- package/src/components/Modal/Modal.stories.tsx +194 -0
- package/src/components/Modal/Modal.test.tsx +81 -0
- package/src/components/Modal/Modal.tsx +174 -0
- package/src/components/Modal/components/ModalBody/ModalBody.test.tsx +20 -0
- package/src/components/Modal/components/ModalBody/ModalBody.tsx +24 -0
- package/src/components/Modal/components/ModalFooter/ModalFooter.test.tsx +32 -0
- package/src/components/Modal/components/ModalFooter/ModalFooter.tsx +37 -0
- package/src/components/Modal/components/ModalHeader/ModalHeader.test.tsx +29 -0
- package/src/components/Modal/components/ModalHeader/ModalHeader.tsx +58 -0
- package/src/components/Modal/components/index.ts +5 -0
- package/src/components/Pagination/Pagination.mdx +26 -0
- package/src/components/Pagination/Pagination.stories.tsx +55 -0
- package/src/components/Pagination/Pagination.test.tsx +225 -0
- package/src/components/Pagination/Pagination.tsx +162 -0
- package/src/components/Pagination/Pagination.utilities.test.ts +133 -0
- package/src/components/Pagination/Pagination.utilities.ts +101 -0
- package/src/components/Popover/Popover.mdx +104 -0
- package/src/components/Popover/Popover.module.scss +74 -0
- package/src/components/Popover/Popover.stories.tsx +471 -0
- package/src/components/Popover/Popover.test.tsx +128 -0
- package/src/components/Popover/Popover.tsx +277 -0
- package/src/components/RadioGroup/RadioGroup.mdx +81 -0
- package/src/components/RadioGroup/RadioGroup.module.scss +23 -0
- package/src/components/RadioGroup/RadioGroup.stories.tsx +375 -0
- package/src/components/RadioGroup/RadioGroup.test.tsx +282 -0
- package/src/components/RadioGroup/RadioGroup.tsx +145 -0
- package/src/components/RadioGroup/RadioInput/RadioInput.module.scss +114 -0
- package/src/components/RadioGroup/RadioInput/RadioInput.test.tsx +156 -0
- package/src/components/RadioGroup/RadioInput/RadioInput.tsx +148 -0
- package/src/components/RadioGroup/RadioInput/RadioInputIcon.tsx +59 -0
- package/src/components/ResponsiveProvider/ResponsiveProvider.mdx +36 -0
- package/src/components/ResponsiveProvider/ResponsiveProvider.stories.tsx +54 -0
- package/src/components/ResponsiveProvider/ResponsiveProvider.test.tsx +70 -0
- package/src/components/ResponsiveProvider/ResponsiveProvider.tsx +73 -0
- package/src/components/SelectInput/SelectInput.mdx +115 -0
- package/src/components/SelectInput/SelectInput.module.scss +357 -0
- package/src/components/SelectInput/SelectInput.stories.tsx +373 -0
- package/src/components/SelectInput/SelectInput.test.tsx +403 -0
- package/src/components/SelectInput/SelectInput.tsx +245 -0
- package/src/components/SelectInputInset/SelectInputInset.mdx +56 -0
- package/src/components/SelectInputInset/SelectInputInset.module.scss +397 -0
- package/src/components/SelectInputInset/SelectInputInset.stories.tsx +189 -0
- package/src/components/SelectInputInset/SelectInputInset.test.tsx +305 -0
- package/src/components/SelectInputInset/SelectInputInset.tsx +235 -0
- package/src/components/SelectInputNative/SelectInputNative.mdx +87 -0
- package/src/components/SelectInputNative/SelectInputNative.module.scss +356 -0
- package/src/components/SelectInputNative/SelectInputNative.stories.tsx +282 -0
- package/src/components/SelectInputNative/SelectInputNative.test.tsx +341 -0
- package/src/components/SelectInputNative/SelectInputNative.tsx +121 -0
- package/src/components/Spinner/Spinner.mdx +29 -0
- package/src/components/Spinner/Spinner.module.scss +16 -0
- package/src/components/Spinner/Spinner.stories.tsx +48 -0
- package/src/components/Spinner/Spinner.test.tsx +47 -0
- package/src/components/Spinner/Spinner.tsx +116 -0
- package/src/components/Table/Table.mdx +216 -0
- package/src/components/Table/Table.module.scss +61 -0
- package/src/components/Table/Table.stories.tsx +884 -0
- package/src/components/Table/Table.test.tsx +437 -0
- package/src/components/Table/Table.tsx +171 -0
- package/src/components/Table/TableBody/TableBody.module.scss +19 -0
- package/src/components/Table/TableBody/TableBody.test.tsx +38 -0
- package/src/components/Table/TableBody/TableBody.tsx +96 -0
- package/src/components/Table/TableBody/TableBodyCell/TableBodyCell.module.scss +47 -0
- package/src/components/Table/TableBody/TableBodyCell/TableBodyCell.test.tsx +81 -0
- package/src/components/Table/TableBody/TableBodyCell/TableBodyCell.tsx +94 -0
- package/src/components/Table/TableHead/TableHead.test.tsx +20 -0
- package/src/components/Table/TableHead/TableHead.tsx +78 -0
- package/src/components/Table/TableHead/TableHeaderCell/TableHeaderCell.module.scss +72 -0
- package/src/components/Table/TableHead/TableHeaderCell/TableHeaderCell.test.tsx +187 -0
- package/src/components/Table/TableHead/TableHeaderCell/TableHeaderCell.tsx +192 -0
- package/src/components/Table/common/TableRow/TableRow.module.scss +5 -0
- package/src/components/Table/common/TableRow/TableRow.test.tsx +52 -0
- package/src/components/Table/common/TableRow/TableRow.tsx +155 -0
- package/src/components/TextInput/TextInput.mdx +96 -0
- package/src/components/TextInput/TextInput.module.scss +405 -0
- package/src/components/TextInput/TextInput.stories.tsx +268 -0
- package/src/components/TextInput/TextInput.test.tsx +231 -0
- package/src/components/TextInput/TextInput.tsx +263 -0
- package/src/components/TextInputInset/TextInputInset.mdx +62 -0
- package/src/components/TextInputInset/TextInputInset.module.scss +418 -0
- package/src/components/TextInputInset/TextInputInset.stories.tsx +213 -0
- package/src/components/TextInputInset/TextInputInset.test.tsx +222 -0
- package/src/components/TextInputInset/TextInputInset.tsx +261 -0
- package/src/components/TextareaInput/TextareaInput.mdx +117 -0
- package/src/components/TextareaInput/TextareaInput.module.scss +275 -0
- package/src/components/TextareaInput/TextareaInput.stories.tsx +293 -0
- package/src/components/TextareaInput/TextareaInput.test.tsx +195 -0
- package/src/components/TextareaInput/TextareaInput.tsx +182 -0
- package/src/components/TextareaInputInset/TextareaInputInset.mdx +55 -0
- package/src/components/TextareaInputInset/TextareaInputInset.module.scss +337 -0
- package/src/components/TextareaInputInset/TextareaInputInset.stories.tsx +160 -0
- package/src/components/TextareaInputInset/TextareaInputInset.test.tsx +199 -0
- package/src/components/TextareaInputInset/TextareaInputInset.tsx +213 -0
- package/src/components/ThemeProvider/ThemeProvider.mdx +11 -0
- package/src/components/ThemeProvider/ThemeProvider.stories.tsx +56 -0
- package/src/components/ThemeProvider/ThemeProvider.tsx +75 -0
- package/src/components/TimePicker/TimePicker.mdx +75 -0
- package/src/components/TimePicker/TimePicker.stories.tsx +149 -0
- package/src/components/TimePicker/TimePicker.test.tsx +97 -0
- package/src/components/TimePicker/TimePicker.tsx +83 -0
- package/src/components/TimePickerNative/TimePickerNative.mdx +67 -0
- package/src/components/TimePickerNative/TimePickerNative.stories.tsx +151 -0
- package/src/components/TimePickerNative/TimePickerNative.test.tsx +117 -0
- package/src/components/TimePickerNative/TimePickerNative.tsx +93 -0
- package/src/components/Toast/Toast.mdx +134 -0
- package/src/components/Toast/Toast.store.ts +280 -0
- package/src/components/Toast/Toast.stories.tsx +283 -0
- package/src/components/Toast/Toast.test.tsx +784 -0
- package/src/components/Toast/Toast.types.ts +98 -0
- package/src/components/Toast/ToastContainer.tsx +170 -0
- package/src/components/Toast/ToastNotification.module.scss +63 -0
- package/src/components/Toast/ToastNotification.tsx +176 -0
- package/src/components/Toast/index.ts +4 -0
- package/src/components/Toast/toast.ts +102 -0
- package/src/components/Toast/useToasts.ts +102 -0
- package/src/components/Toggle/Toggle.mdx +51 -0
- package/src/components/Toggle/Toggle.module.scss +294 -0
- package/src/components/Toggle/Toggle.stories.tsx +128 -0
- package/src/components/Toggle/Toggle.test.tsx +308 -0
- package/src/components/Toggle/Toggle.tsx +184 -0
- package/src/constants/keyCodes.ts +2 -0
- package/src/docs/Brands.mdx +153 -0
- package/src/docs/Colors.mdx +158 -0
- package/src/docs/DesignTokens.mdx +415 -0
- package/src/docs/GetStarted.mdx +47 -0
- package/src/docs/intro.mdx +12 -0
- package/src/fonts/AvenirBold.otf +0 -0
- package/src/fonts/AvenirBold.woff +0 -0
- package/src/fonts/AvenirBold.woff2 +0 -0
- package/src/fonts/AvenirLight.otf +0 -0
- package/src/fonts/AvenirLight.woff +0 -0
- package/src/fonts/AvenirLight.woff2 +0 -0
- package/src/fonts/AvenirRegular.otf +0 -0
- package/src/fonts/AvenirRegular.woff +0 -0
- package/src/fonts/AvenirRegular.woff2 +0 -0
- package/src/fonts/Geist-Bold.otf +0 -0
- package/src/fonts/Geist-Bold.woff +0 -0
- package/src/fonts/Geist-Bold.woff2 +0 -0
- package/src/fonts/Geist-Medium.otf +0 -0
- package/src/fonts/Geist-Medium.woff +0 -0
- package/src/fonts/Geist-Medium.woff2 +0 -0
- package/src/fonts/Geist-Regular.otf +0 -0
- package/src/fonts/Geist-Regular.woff +0 -0
- package/src/fonts/Geist-Regular.woff2 +0 -0
- package/src/fonts/Geist-SemiBold.otf +0 -0
- package/src/fonts/Geist-SemiBold.woff +0 -0
- package/src/fonts/Geist-SemiBold.woff2 +0 -0
- package/src/fonts/GeistMono-Regular.otf +0 -0
- package/src/fonts/GeistMono-Regular.woff +0 -0
- package/src/fonts/GeistMono-Regular.woff2 +0 -0
- package/src/hooks/index.ts +4 -0
- package/src/hooks/useBreakpoint/useBreakpoint.mdx +26 -0
- package/src/hooks/useBreakpoint/useBreakpoint.stories.tsx +30 -0
- package/src/hooks/useBreakpoint/useBreakpoint.test.tsx +19 -0
- package/src/hooks/useBreakpoint/useBreakpoint.ts +50 -0
- package/src/hooks/useIsomorphicLayoutEffect/useIsomorphicLayouEffect.ts +5 -0
- package/src/hooks/useOpenClose/useOpenClose.mdx +15 -0
- package/src/hooks/useOpenClose/useOpenClose.stories.tsx +41 -0
- package/src/hooks/useOpenClose/useOpenClose.test.tsx +119 -0
- package/src/hooks/useOpenClose/useOpenClose.tsx +95 -0
- package/src/hooks/useWindowSize/useWindowSize.mdx +25 -0
- package/src/hooks/useWindowSize/useWindowSize.stories.tsx +35 -0
- package/src/hooks/useWindowSize/useWindowSize.ts +24 -0
- package/src/index.ts +48 -0
- package/src/lib/cssShorthandToClasses.test.ts +149 -0
- package/src/lib/cssShorthandToClasses.ts +133 -0
- package/src/lib/doesStringIncludeCssUnit.ts +6 -0
- package/src/lib/generateResponsiveClasses.test.ts +24 -0
- package/src/lib/generateResponsiveClasses.ts +30 -0
- package/src/lib/getAutoCompleteValue.test.ts +27 -0
- package/src/lib/getAutoCompleteValue.ts +12 -0
- package/src/lib/getColumnKeys.ts +27 -0
- package/src/lib/getDimensionCss.test.ts +148 -0
- package/src/lib/getDimensionCss.ts +73 -0
- package/src/lib/getElementType.test.tsx +42 -0
- package/src/lib/getElementType.ts +42 -0
- package/src/lib/getFlexCss.test.ts +122 -0
- package/src/lib/getFlexCss.ts +67 -0
- package/src/lib/index.ts +15 -0
- package/src/lib/isFunction.ts +6 -0
- package/src/lib/mergeRefs.ts +15 -0
- package/src/lib/prefersReducedMotion.ts +12 -0
- package/src/lib/react-children-utilities/filter.ts +12 -0
- package/src/lib/react-children-utilities/index.ts +1 -0
- package/src/lib/reactRouterClickHandler.ts +37 -0
- package/src/lib/resolveValue.ts +7 -0
- package/src/lib/tokens.ts +139 -0
- package/src/modes.ts +8 -0
- package/src/styles/animation.scss +152 -0
- package/src/styles/cursor.scss +43 -0
- package/src/styles/display.scss +119 -0
- package/src/styles/flex.scss +453 -0
- package/src/styles/fonts.scss +44 -0
- package/src/styles/globals/utilities.scss +4 -0
- package/src/styles/mixins.scss +14 -0
- package/src/styles/overflow.scss +41 -0
- package/src/styles/position.scss +45 -0
- package/src/styles/reset.scss +108 -0
- package/src/styles/text-align.scss +21 -0
- package/src/styles/utilities.scss +9 -0
- package/src/styles/variables/forms.scss +71 -0
- package/src/styles/variables/index.scss +3 -0
- package/src/styles/white-space.scss +21 -0
- package/src/types/index.ts +201 -0
- package/src/types/lib.types.ts +3 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
@import '@hyphen/hyphen-design-tokens/build/scss/variables.scss';
|
|
2
|
+
|
|
3
|
+
.display-inherit {
|
|
4
|
+
display: inherit;
|
|
5
|
+
}
|
|
6
|
+
.display-inline {
|
|
7
|
+
display: inline;
|
|
8
|
+
}
|
|
9
|
+
.display-block {
|
|
10
|
+
display: block;
|
|
11
|
+
}
|
|
12
|
+
.display-inline-block {
|
|
13
|
+
display: inline-block;
|
|
14
|
+
}
|
|
15
|
+
.display-flex {
|
|
16
|
+
display: flex;
|
|
17
|
+
}
|
|
18
|
+
.display-inline-flex {
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
}
|
|
21
|
+
.display-grid {
|
|
22
|
+
display: grid;
|
|
23
|
+
}
|
|
24
|
+
.display-none {
|
|
25
|
+
display: none;
|
|
26
|
+
}
|
|
27
|
+
.display-table-cell {
|
|
28
|
+
display: table-cell;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media (min-width: $size-breakpoint-tablet) {
|
|
32
|
+
.display-inherit-tablet {
|
|
33
|
+
display: inherit;
|
|
34
|
+
}
|
|
35
|
+
.display-inline-tablet {
|
|
36
|
+
display: inline;
|
|
37
|
+
}
|
|
38
|
+
.display-block-tablet {
|
|
39
|
+
display: block;
|
|
40
|
+
}
|
|
41
|
+
.display-inline-block-tablet {
|
|
42
|
+
display: inline-block;
|
|
43
|
+
}
|
|
44
|
+
.display-flex-tablet {
|
|
45
|
+
display: flex;
|
|
46
|
+
}
|
|
47
|
+
.display-inline-flex-tablet {
|
|
48
|
+
display: inline-flex;
|
|
49
|
+
}
|
|
50
|
+
.display-grid-tablet {
|
|
51
|
+
display: grid;
|
|
52
|
+
}
|
|
53
|
+
.display-none-tablet {
|
|
54
|
+
display: none;
|
|
55
|
+
}
|
|
56
|
+
.display-table-cell-tablet {
|
|
57
|
+
display: table-cell;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@media (min-width: $size-breakpoint-desktop) {
|
|
62
|
+
.display-inherit-desktop {
|
|
63
|
+
display: inherit;
|
|
64
|
+
}
|
|
65
|
+
.display-inline-desktop {
|
|
66
|
+
display: inline;
|
|
67
|
+
}
|
|
68
|
+
.display-block-desktop {
|
|
69
|
+
display: block;
|
|
70
|
+
}
|
|
71
|
+
.display-inline-block-desktop {
|
|
72
|
+
display: inline-block;
|
|
73
|
+
}
|
|
74
|
+
.display-flex-desktop {
|
|
75
|
+
display: flex;
|
|
76
|
+
}
|
|
77
|
+
.display-inline-flex-desktop {
|
|
78
|
+
display: inline-flex;
|
|
79
|
+
}
|
|
80
|
+
.display-grid-desktop {
|
|
81
|
+
display: grid;
|
|
82
|
+
}
|
|
83
|
+
.display-none-desktop {
|
|
84
|
+
display: none;
|
|
85
|
+
}
|
|
86
|
+
.display-table-cell-desktop {
|
|
87
|
+
display: table-cell;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@media (min-width: $size-breakpoint-hd) {
|
|
92
|
+
.display-inherit-hd {
|
|
93
|
+
display: inherit;
|
|
94
|
+
}
|
|
95
|
+
.display-inline-hd {
|
|
96
|
+
display: inline;
|
|
97
|
+
}
|
|
98
|
+
.display-block-hd {
|
|
99
|
+
display: block;
|
|
100
|
+
}
|
|
101
|
+
.display-inline-block-hd {
|
|
102
|
+
display: inline-block;
|
|
103
|
+
}
|
|
104
|
+
.display-flex-hd {
|
|
105
|
+
display: flex;
|
|
106
|
+
}
|
|
107
|
+
.display-inline-flex-hd {
|
|
108
|
+
display: inline-flex;
|
|
109
|
+
}
|
|
110
|
+
.display-grid-hd {
|
|
111
|
+
display: grid;
|
|
112
|
+
}
|
|
113
|
+
.display-none-hd {
|
|
114
|
+
display: none;
|
|
115
|
+
}
|
|
116
|
+
.display-table-cell-hd {
|
|
117
|
+
display: table-cell;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1,453 @@
|
|
|
1
|
+
@import '@hyphen/hyphen-design-tokens/build/scss/variables.scss';
|
|
2
|
+
|
|
3
|
+
// min-width and min-height needed because of this
|
|
4
|
+
// https://stackoverflow.com/questions/36247140/why-doesnt-flex-item-shrink-past-content-size
|
|
5
|
+
.flex-auto {
|
|
6
|
+
flex: 1 1 auto;
|
|
7
|
+
min-width: 0;
|
|
8
|
+
min-height: 0;
|
|
9
|
+
}
|
|
10
|
+
.flex-none {
|
|
11
|
+
flex: none;
|
|
12
|
+
}
|
|
13
|
+
.flex-initial {
|
|
14
|
+
flex: initial;
|
|
15
|
+
}
|
|
16
|
+
.flex-inherit {
|
|
17
|
+
flex: inherit;
|
|
18
|
+
}
|
|
19
|
+
.flex-unset {
|
|
20
|
+
flex: unset;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.flex-direction-column {
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
}
|
|
26
|
+
.flex-direction-row {
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
}
|
|
29
|
+
.flex-direction-column-reverse {
|
|
30
|
+
flex-direction: column-reverse;
|
|
31
|
+
}
|
|
32
|
+
.flex-direction-row-reverse {
|
|
33
|
+
flex-direction: row-reverse;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.flex-wrap {
|
|
37
|
+
flex-wrap: wrap;
|
|
38
|
+
}
|
|
39
|
+
.flex-nowrap {
|
|
40
|
+
flex-wrap: nowrap;
|
|
41
|
+
}
|
|
42
|
+
.flex-wrap-reverse {
|
|
43
|
+
flex-wrap: wrap-reverse;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.justify-content-flex-start {
|
|
47
|
+
justify-content: flex-start;
|
|
48
|
+
}
|
|
49
|
+
.justify-content-flex-end {
|
|
50
|
+
justify-content: flex-end;
|
|
51
|
+
}
|
|
52
|
+
.justify-content-center {
|
|
53
|
+
justify-content: center;
|
|
54
|
+
}
|
|
55
|
+
.justify-content-space-between {
|
|
56
|
+
justify-content: space-between;
|
|
57
|
+
}
|
|
58
|
+
.justify-content-space-around {
|
|
59
|
+
justify-content: space-around;
|
|
60
|
+
}
|
|
61
|
+
.justify-content-space-evenly {
|
|
62
|
+
justify-content: space-evenly;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.align-items-flex-start {
|
|
66
|
+
align-items: flex-start;
|
|
67
|
+
}
|
|
68
|
+
.align-items-flex-end {
|
|
69
|
+
align-items: flex-end;
|
|
70
|
+
}
|
|
71
|
+
.align-items-center {
|
|
72
|
+
align-items: center;
|
|
73
|
+
}
|
|
74
|
+
.align-items-baseline {
|
|
75
|
+
align-items: baseline;
|
|
76
|
+
}
|
|
77
|
+
.align-items-stretch {
|
|
78
|
+
align-items: stretch;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.align-content-flex-start {
|
|
82
|
+
align-content: flex-start;
|
|
83
|
+
}
|
|
84
|
+
.align-content-flex-end {
|
|
85
|
+
align-content: flex-end;
|
|
86
|
+
}
|
|
87
|
+
.align-content-center {
|
|
88
|
+
align-content: center;
|
|
89
|
+
}
|
|
90
|
+
.align-content-stretch {
|
|
91
|
+
align-content: stretch;
|
|
92
|
+
}
|
|
93
|
+
.align-content-space-between {
|
|
94
|
+
align-content: space-between;
|
|
95
|
+
}
|
|
96
|
+
.align-content-space-around {
|
|
97
|
+
align-content: space-around;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.align-self-flex-start {
|
|
101
|
+
align-self: flex-start;
|
|
102
|
+
}
|
|
103
|
+
.align-self-flex-end {
|
|
104
|
+
align-self: flex-end;
|
|
105
|
+
}
|
|
106
|
+
.align-self-center {
|
|
107
|
+
align-self: center;
|
|
108
|
+
}
|
|
109
|
+
.align-self-baseline {
|
|
110
|
+
align-self: baseline;
|
|
111
|
+
}
|
|
112
|
+
.align-self-stretch {
|
|
113
|
+
align-self: stretch;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@media (min-width: $size-breakpoint-tablet) {
|
|
117
|
+
.flex-auto-tablet {
|
|
118
|
+
flex: 1 1 auto;
|
|
119
|
+
min-width: 0;
|
|
120
|
+
min-height: 0;
|
|
121
|
+
}
|
|
122
|
+
.flex-none-tablet {
|
|
123
|
+
flex: none;
|
|
124
|
+
}
|
|
125
|
+
.flex-initial-tablet {
|
|
126
|
+
flex: initial;
|
|
127
|
+
}
|
|
128
|
+
.flex-inherit-tablet {
|
|
129
|
+
flex: inherit;
|
|
130
|
+
}
|
|
131
|
+
.flex-unset-tablet {
|
|
132
|
+
flex: unset;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.flex-direction-column-tablet {
|
|
136
|
+
flex-direction: column;
|
|
137
|
+
}
|
|
138
|
+
.flex-direction-row-tablet {
|
|
139
|
+
flex-direction: row;
|
|
140
|
+
}
|
|
141
|
+
.flex-direction-column-reverse-tablet {
|
|
142
|
+
flex-direction: column-reverse;
|
|
143
|
+
}
|
|
144
|
+
.flex-direction-row-reverse-tablet {
|
|
145
|
+
flex-direction: row-reverse;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.flex-wrap-tablet {
|
|
149
|
+
flex-wrap: wrap;
|
|
150
|
+
}
|
|
151
|
+
.flex-nowrap-tablet {
|
|
152
|
+
flex-wrap: nowrap;
|
|
153
|
+
}
|
|
154
|
+
.flex-wrap-reverse-tablet {
|
|
155
|
+
flex-wrap: wrap-reverse;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.justify-content-flex-start-tablet {
|
|
159
|
+
justify-content: flex-start;
|
|
160
|
+
}
|
|
161
|
+
.justify-content-flex-end-tablet {
|
|
162
|
+
justify-content: flex-end;
|
|
163
|
+
}
|
|
164
|
+
.justify-content-center-tablet {
|
|
165
|
+
justify-content: center;
|
|
166
|
+
}
|
|
167
|
+
.justify-content-space-between-tablet {
|
|
168
|
+
justify-content: space-between;
|
|
169
|
+
}
|
|
170
|
+
.justify-content-space-around-tablet {
|
|
171
|
+
justify-content: space-around;
|
|
172
|
+
}
|
|
173
|
+
.justify-content-space-evenly-tablet {
|
|
174
|
+
justify-content: space-evenly;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.align-items-flex-start-tablet {
|
|
178
|
+
align-items: flex-start;
|
|
179
|
+
}
|
|
180
|
+
.align-items-flex-end-tablet {
|
|
181
|
+
align-items: flex-end;
|
|
182
|
+
}
|
|
183
|
+
.align-items-center-tablet {
|
|
184
|
+
align-items: center;
|
|
185
|
+
}
|
|
186
|
+
.align-items-baseline-tablet {
|
|
187
|
+
align-items: baseline;
|
|
188
|
+
}
|
|
189
|
+
.align-items-stretch-tablet {
|
|
190
|
+
align-items: stretch;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.align-content-flex-start-tablet {
|
|
194
|
+
align-content: flex-start;
|
|
195
|
+
}
|
|
196
|
+
.align-content-flex-end-tablet {
|
|
197
|
+
align-content: flex-end;
|
|
198
|
+
}
|
|
199
|
+
.align-content-center-tablet {
|
|
200
|
+
align-content: center;
|
|
201
|
+
}
|
|
202
|
+
.align-content-stretch-tablet {
|
|
203
|
+
align-content: stretch;
|
|
204
|
+
}
|
|
205
|
+
.align-content-space-between-tablet {
|
|
206
|
+
align-content: space-between;
|
|
207
|
+
}
|
|
208
|
+
.align-content-space-around-tablet {
|
|
209
|
+
align-content: space-around;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.align-self-flex-start-tablet {
|
|
213
|
+
align-self: flex-start;
|
|
214
|
+
}
|
|
215
|
+
.align-self-flex-end-tablet {
|
|
216
|
+
align-self: flex-end;
|
|
217
|
+
}
|
|
218
|
+
.align-self-center-tablet {
|
|
219
|
+
align-self: center;
|
|
220
|
+
}
|
|
221
|
+
.align-self-baseline-tablet {
|
|
222
|
+
align-self: baseline;
|
|
223
|
+
}
|
|
224
|
+
.align-self-stretch-tablet {
|
|
225
|
+
align-self: stretch;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
@media (min-width: $size-breakpoint-desktop) {
|
|
230
|
+
.flex-auto-desktop {
|
|
231
|
+
flex: 1 1 auto;
|
|
232
|
+
min-width: 0;
|
|
233
|
+
min-height: 0;
|
|
234
|
+
}
|
|
235
|
+
.flex-none-desktop {
|
|
236
|
+
flex: none;
|
|
237
|
+
}
|
|
238
|
+
.flex-initial-desktop {
|
|
239
|
+
flex: initial;
|
|
240
|
+
}
|
|
241
|
+
.flex-inherit-desktop {
|
|
242
|
+
flex: inherit;
|
|
243
|
+
}
|
|
244
|
+
.flex-unset-desktop {
|
|
245
|
+
flex: unset;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.flex-direction-column-desktop {
|
|
249
|
+
flex-direction: column;
|
|
250
|
+
}
|
|
251
|
+
.flex-direction-row-desktop {
|
|
252
|
+
flex-direction: row;
|
|
253
|
+
}
|
|
254
|
+
.flex-direction-column-reverse-desktop {
|
|
255
|
+
flex-direction: column-reverse;
|
|
256
|
+
}
|
|
257
|
+
.flex-direction-row-reverse-desktop {
|
|
258
|
+
flex-direction: row-reverse;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.flex-wrap-desktop {
|
|
262
|
+
flex-wrap: wrap;
|
|
263
|
+
}
|
|
264
|
+
.flex-nowrap-desktop {
|
|
265
|
+
flex-wrap: nowrap;
|
|
266
|
+
}
|
|
267
|
+
.flex-wrap-reverse-desktop {
|
|
268
|
+
flex-wrap: wrap-reverse;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.justify-content-flex-start-desktop {
|
|
272
|
+
justify-content: flex-start;
|
|
273
|
+
}
|
|
274
|
+
.justify-content-flex-end-desktop {
|
|
275
|
+
justify-content: flex-end;
|
|
276
|
+
}
|
|
277
|
+
.justify-content-center-desktop {
|
|
278
|
+
justify-content: center;
|
|
279
|
+
}
|
|
280
|
+
.justify-content-space-between-desktop {
|
|
281
|
+
justify-content: space-between;
|
|
282
|
+
}
|
|
283
|
+
.justify-content-space-around-desktop {
|
|
284
|
+
justify-content: space-around;
|
|
285
|
+
}
|
|
286
|
+
.justify-content-space-evenly-desktop {
|
|
287
|
+
justify-content: space-evenly;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.align-items-flex-start-desktop {
|
|
291
|
+
align-items: flex-start;
|
|
292
|
+
}
|
|
293
|
+
.align-items-flex-end-desktop {
|
|
294
|
+
align-items: flex-end;
|
|
295
|
+
}
|
|
296
|
+
.align-items-center-desktop {
|
|
297
|
+
align-items: center;
|
|
298
|
+
}
|
|
299
|
+
.align-items-baseline-desktop {
|
|
300
|
+
align-items: baseline;
|
|
301
|
+
}
|
|
302
|
+
.align-items-stretch-desktop {
|
|
303
|
+
align-items: stretch;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.align-content-flex-start-desktop {
|
|
307
|
+
align-content: flex-start;
|
|
308
|
+
}
|
|
309
|
+
.align-content-flex-end-desktop {
|
|
310
|
+
align-content: flex-end;
|
|
311
|
+
}
|
|
312
|
+
.align-content-center-desktop {
|
|
313
|
+
align-content: center;
|
|
314
|
+
}
|
|
315
|
+
.align-content-stretch-desktop {
|
|
316
|
+
align-content: stretch;
|
|
317
|
+
}
|
|
318
|
+
.align-content-space-between-desktop {
|
|
319
|
+
align-content: space-between;
|
|
320
|
+
}
|
|
321
|
+
.align-content-space-around-desktop {
|
|
322
|
+
align-content: space-around;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.align-self-flex-start-desktop {
|
|
326
|
+
align-self: flex-start;
|
|
327
|
+
}
|
|
328
|
+
.align-self-flex-end-desktop {
|
|
329
|
+
align-self: flex-end;
|
|
330
|
+
}
|
|
331
|
+
.align-self-center-desktop {
|
|
332
|
+
align-self: center;
|
|
333
|
+
}
|
|
334
|
+
.align-self-baseline-desktop {
|
|
335
|
+
align-self: baseline;
|
|
336
|
+
}
|
|
337
|
+
.align-self-stretch-desktop {
|
|
338
|
+
align-self: stretch;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
@media (min-width: $size-breakpoint-hd) {
|
|
343
|
+
.flex-auto-hd {
|
|
344
|
+
flex: 1 1 auto;
|
|
345
|
+
min-width: 0;
|
|
346
|
+
min-height: 0;
|
|
347
|
+
}
|
|
348
|
+
.flex-none-hd {
|
|
349
|
+
flex: none;
|
|
350
|
+
}
|
|
351
|
+
.flex-initial-hd {
|
|
352
|
+
flex: initial;
|
|
353
|
+
}
|
|
354
|
+
.flex-inherit-hd {
|
|
355
|
+
flex: inherit;
|
|
356
|
+
}
|
|
357
|
+
.flex-unset-hd {
|
|
358
|
+
flex: unset;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.flex-direction-column-hd {
|
|
362
|
+
flex-direction: column;
|
|
363
|
+
}
|
|
364
|
+
.flex-direction-row-hd {
|
|
365
|
+
flex-direction: row;
|
|
366
|
+
}
|
|
367
|
+
.flex-direction-column-reverse-hd {
|
|
368
|
+
flex-direction: column-reverse;
|
|
369
|
+
}
|
|
370
|
+
.flex-direction-row-reverse-hd {
|
|
371
|
+
flex-direction: row-reverse;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.flex-wrap-hd {
|
|
375
|
+
flex-wrap: wrap;
|
|
376
|
+
}
|
|
377
|
+
.flex-nowrap-hd {
|
|
378
|
+
flex-wrap: nowrap;
|
|
379
|
+
}
|
|
380
|
+
.flex-wrap-reverse-hd {
|
|
381
|
+
flex-wrap: wrap-reverse;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.justify-content-flex-start-hd {
|
|
385
|
+
justify-content: flex-start;
|
|
386
|
+
}
|
|
387
|
+
.justify-content-flex-end-hd {
|
|
388
|
+
justify-content: flex-end;
|
|
389
|
+
}
|
|
390
|
+
.justify-content-center-hd {
|
|
391
|
+
justify-content: center;
|
|
392
|
+
}
|
|
393
|
+
.justify-content-space-between-hd {
|
|
394
|
+
justify-content: space-between;
|
|
395
|
+
}
|
|
396
|
+
.justify-content-space-around-hd {
|
|
397
|
+
justify-content: space-around;
|
|
398
|
+
}
|
|
399
|
+
.justify-content-space-evenly-hd {
|
|
400
|
+
justify-content: space-evenly;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.align-items-flex-start-hd {
|
|
404
|
+
align-items: flex-start;
|
|
405
|
+
}
|
|
406
|
+
.align-items-flex-end-hd {
|
|
407
|
+
align-items: flex-end;
|
|
408
|
+
}
|
|
409
|
+
.align-items-center-hd {
|
|
410
|
+
align-items: center;
|
|
411
|
+
}
|
|
412
|
+
.align-items-baseline-hd {
|
|
413
|
+
align-items: baseline;
|
|
414
|
+
}
|
|
415
|
+
.align-items-stretch-hd {
|
|
416
|
+
align-items: stretch;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.align-content-flex-start-hd {
|
|
420
|
+
align-content: flex-start;
|
|
421
|
+
}
|
|
422
|
+
.align-content-flex-end-hd {
|
|
423
|
+
align-content: flex-end;
|
|
424
|
+
}
|
|
425
|
+
.align-content-center-hd {
|
|
426
|
+
align-content: center;
|
|
427
|
+
}
|
|
428
|
+
.align-content-stretch-hd {
|
|
429
|
+
align-content: stretch;
|
|
430
|
+
}
|
|
431
|
+
.align-content-space-between-hd {
|
|
432
|
+
align-content: space-between;
|
|
433
|
+
}
|
|
434
|
+
.align-content-space-around-hd {
|
|
435
|
+
align-content: space-around;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.align-self-flex-start-hd {
|
|
439
|
+
align-self: flex-start;
|
|
440
|
+
}
|
|
441
|
+
.align-self-flex-end-hd {
|
|
442
|
+
align-self: flex-end;
|
|
443
|
+
}
|
|
444
|
+
.align-self-center-hd {
|
|
445
|
+
align-self: center;
|
|
446
|
+
}
|
|
447
|
+
.align-self-baseline-hd {
|
|
448
|
+
align-self: baseline;
|
|
449
|
+
}
|
|
450
|
+
.align-self-stretch-hd {
|
|
451
|
+
align-self: stretch;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: geist;
|
|
3
|
+
src: url('../fonts/Geist-Regular.otf') format('opentype'),
|
|
4
|
+
url('../fonts/Geist-Regular.woff') format('woff'),
|
|
5
|
+
url('../fonts/Geist-Regular.woff2') format('woff2');
|
|
6
|
+
font-weight: 400;
|
|
7
|
+
font-style: normal;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: geist;
|
|
12
|
+
src: url('../fonts/Geist-Medium.otf') format('opentype'),
|
|
13
|
+
url('../fonts/Geist-Medium.woff') format('woff'),
|
|
14
|
+
url('../fonts/Geist-Medium.woff2') format('woff2');
|
|
15
|
+
font-weight: 500;
|
|
16
|
+
font-style: normal;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: geist;
|
|
21
|
+
src: url('../fonts/Geist-SemiBold.otf') format('opentype'),
|
|
22
|
+
url('../fonts/Geist-SemiBold.woff') format('woff'),
|
|
23
|
+
url('../fonts/Geist-SemiBold.woff2') format('woff2');
|
|
24
|
+
font-weight: 600;
|
|
25
|
+
font-style: normal;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@font-face {
|
|
29
|
+
font-family: geist;
|
|
30
|
+
src: url('../fonts/Geist-Bold.otf') format('opentype'),
|
|
31
|
+
url('../fonts/Geist-Bold.woff') format('woff'),
|
|
32
|
+
url('../fonts/Geist-Bold.woff2') format('woff2');
|
|
33
|
+
font-weight: 700;
|
|
34
|
+
font-style: normal;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@font-face {
|
|
38
|
+
font-family: geist-mono;
|
|
39
|
+
src: url('../fonts/GeistMono-Regular.otf') format('opentype'),
|
|
40
|
+
url('../fonts/GeistMono-Regular.woff') format('woff'),
|
|
41
|
+
url('../fonts/GeistMono-Regular.woff2') format('woff2');
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
font-style: normal;
|
|
44
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Visually hide any element (mostly text) accessibly.
|
|
2
|
+
// Support includes IE9+
|
|
3
|
+
// Source: https://www.scottohara.me/blog/2017/04/14/inclusively-hidden.html
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@mixin accessible-hidden-element {
|
|
7
|
+
clip: rect(0 0 0 0);
|
|
8
|
+
clip-path: inset(100%);
|
|
9
|
+
height: 1px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
position: absolute;
|
|
12
|
+
width: 1px;
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.overflow-visible { overflow: visible; }
|
|
2
|
+
.overflow-hidden { overflow: hidden; }
|
|
3
|
+
.overflow-clip { overflow: clip; }
|
|
4
|
+
.overflow-scroll { overflow: scroll; }
|
|
5
|
+
.overflow-auto { overflow: auto; }
|
|
6
|
+
.overflow-inherit { overflow: inherit; }
|
|
7
|
+
.overflow-initial { overflow: initial; }
|
|
8
|
+
.overflow-unset { overflow: unset; }
|
|
9
|
+
|
|
10
|
+
@media (min-width: $size-breakpoint-tablet) {
|
|
11
|
+
.overflow-visible-tablet { overflow: visible; }
|
|
12
|
+
.overflow-hidden-tablet { overflow: hidden; }
|
|
13
|
+
.overflow-clip-tablet { overflow: clip; }
|
|
14
|
+
.overflow-scroll-tablet { overflow: scroll; }
|
|
15
|
+
.overflow-auto-tablet { overflow: auto; }
|
|
16
|
+
.overflow-inherit-tablet { overflow: inherit; }
|
|
17
|
+
.overflow-initial-tablet { overflow: initial; }
|
|
18
|
+
.overflow-unset-tablet { overflow: unset; }
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@media (min-width: $size-breakpoint-desktop) {
|
|
22
|
+
.overflow-visible-desktop { overflow: visible; }
|
|
23
|
+
.overflow-hidden-desktop { overflow: hidden; }
|
|
24
|
+
.overflow-clip-desktop { overflow: clip; }
|
|
25
|
+
.overflow-scroll-desktop { overflow: scroll; }
|
|
26
|
+
.overflow-auto-desktop { overflow: auto; }
|
|
27
|
+
.overflow-inherit-desktop { overflow: inherit; }
|
|
28
|
+
.overflow-initial-desktop { overflow: initial; }
|
|
29
|
+
.overflow-unset-desktop { overflow: unset; }
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@media (min-width: $size-breakpoint-hd) {
|
|
33
|
+
.overflow-visible-hd { overflow: visible; }
|
|
34
|
+
.overflow-hidden-hd { overflow: hidden; }
|
|
35
|
+
.overflow-clip-hd { overflow: clip; }
|
|
36
|
+
.overflow-scroll-hd { overflow: scroll; }
|
|
37
|
+
.overflow-auto-hd { overflow: auto; }
|
|
38
|
+
.overflow-inherit-hd { overflow: inherit; }
|
|
39
|
+
.overflow-initial-hd { overflow: initial; }
|
|
40
|
+
.overflow-unset-hd { overflow: unset; }
|
|
41
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
.position-absolute { position: absolute; }
|
|
2
|
+
.position-fixed { position: fixed; }
|
|
3
|
+
.position-relative { position: relative; }
|
|
4
|
+
.position-static { position: static; }
|
|
5
|
+
.position-sticky { position: sticky; }
|
|
6
|
+
.position-inherit { position: inherit; }
|
|
7
|
+
.position-unset { position: unset; }
|
|
8
|
+
.position-revert { position: revert; }
|
|
9
|
+
.position-initial { position: initial; }
|
|
10
|
+
|
|
11
|
+
@media (min-width: $size-breakpoint-tablet) {
|
|
12
|
+
.position-absolute-tablet { position: absolute; }
|
|
13
|
+
.position-fixed-tablet { position: fixed; }
|
|
14
|
+
.position-relative-tablet { position: relative; }
|
|
15
|
+
.position-static-tablet { position: static; }
|
|
16
|
+
.position-sticky-tablet { position: sticky; }
|
|
17
|
+
.position-inherit-tablet { position: inherit; }
|
|
18
|
+
.position-unset-tablet { position: unset; }
|
|
19
|
+
.position-revert-tablet { position: revert; }
|
|
20
|
+
.position-initial-tablet { position: initial; }
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media (min-width: $size-breakpoint-desktop) {
|
|
24
|
+
.position-absolute-desktop { position: absolute; }
|
|
25
|
+
.position-fixed-desktop { position: fixed; }
|
|
26
|
+
.position-relative-desktop { position: relative; }
|
|
27
|
+
.position-static-desktop { position: static; }
|
|
28
|
+
.position-sticky-desktop { position: sticky; }
|
|
29
|
+
.position-inherit-desktop { position: inherit; }
|
|
30
|
+
.position-unset-desktop { position: unset; }
|
|
31
|
+
.position-revert-desktop { position: revert; }
|
|
32
|
+
.position-initial-desktop { position: initial; }
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@media (min-width: $size-breakpoint-hd) {
|
|
36
|
+
.position-absolute-hd { position: absolute; }
|
|
37
|
+
.position-fixed-hd { position: fixed; }
|
|
38
|
+
.position-relative-hd { position: relative; }
|
|
39
|
+
.position-static-hd { position: static; }
|
|
40
|
+
.position-sticky-hd { position: sticky; }
|
|
41
|
+
.position-inherit-hd { position: inherit; }
|
|
42
|
+
.position-unset-hd { position: unset; }
|
|
43
|
+
.position-revert-hd { position: revert; }
|
|
44
|
+
.position-initial-hd { position: initial; }
|
|
45
|
+
}
|