@orangesk/orange-design-system 1.11.0 → 2.0.0-alpha.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/README.md +29 -10
- package/build/404.html +1 -0
- package/build/_next/static/chunks/4bd1b696-67ee12fb04071d3b.js +1 -0
- package/build/_next/static/chunks/684-2d117c50cbadadca.js +1 -0
- package/build/_next/static/chunks/app/_not-found/page-f08302ee705a96b1.js +1 -0
- package/build/_next/static/chunks/app/components/badge/page-bbcffd5558aeab06.js +1 -0
- package/build/_next/static/chunks/app/layout-69efc42b1696abf9.js +1 -0
- package/build/_next/static/chunks/app/page-687dfdffc8d1b6e5.js +1 -0
- package/build/_next/static/chunks/framework-f593a28cde54158e.js +1 -0
- package/build/_next/static/chunks/main-43608b6b4bb05f8f.js +1 -0
- package/build/_next/static/chunks/main-app-ce2a2222e012907f.js +1 -0
- package/build/_next/static/chunks/pages/_app-da15c11dea942c36.js +1 -0
- package/build/_next/static/chunks/pages/_error-cc3f077a18ea1793.js +1 -0
- package/build/_next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
- package/build/_next/static/chunks/webpack-778f3ec87f8d2826.js +1 -0
- package/build/_next/static/css/08a2fcd6f5aac3e0.css +1 -0
- package/build/_next/static/css/d2fc2f581fe4b371.css +1 -0
- package/build/_next/static/rsiMOOYAxBtOjvpzBN4vJ/_buildManifest.js +1 -0
- package/build/_next/static/rsiMOOYAxBtOjvpzBN4vJ/_ssgManifest.js +1 -0
- package/build/components/Badge/index.js +616 -3
- package/build/components/Badge/index.js.map +1 -1
- package/build/components/Badge/style.css +1 -1
- package/build/components/Badge/style.css.map +1 -1
- package/build/components/badge.html +1 -0
- package/build/components/badge.txt +19 -0
- package/build/components/index.css +2 -0
- package/build/components/index.css.map +1 -0
- package/build/components/index.js +616 -3
- package/build/components/index.js.map +1 -1
- package/build/components/static.js +1200 -3
- package/build/components/static.js.map +1 -1
- package/build/components/types/Badge/Badge.d.ts +12 -0
- package/build/components/types/Badge/index.d.ts +2 -0
- package/build/components/types/index.d.ts +4 -0
- package/build/index.html +46 -1
- package/build/index.txt +18 -0
- package/build/lib/after-components.css +1 -1
- package/build/lib/after-components.css.map +1 -1
- package/build/lib/after-components.js +3 -2
- package/build/lib/before-components.css +1 -1
- package/build/lib/before-components.css.map +1 -1
- package/build/lib/before-components.js +3 -2
- package/build/lib/breadcrumbs.css +2 -2
- package/build/lib/breadcrumbs.css.map +1 -1
- package/build/lib/breadcrumbs.js +3 -2
- package/build/lib/components.css +1 -1
- package/build/lib/components.css.map +1 -1
- package/build/lib/components.js +3 -2
- package/build/lib/fonts.css +1 -1
- package/build/lib/fonts.css.map +1 -1
- package/build/lib/fonts.js +3 -2
- package/build/lib/scripts.js +1202 -3
- package/build/lib/scripts.js.map +1 -1
- package/build/lib/style.css +1 -1
- package/build/lib/style.css.map +1 -1
- package/build/lib/style.js +3 -2
- package/package.json +50 -130
- package/src/components/Badge/Badge.test.js +16 -20
- package/src/components/Badge/Badge.tsx +45 -0
- package/src/components/Badge/index.ts +3 -0
- package/src/components/Badge/styles/config.scss +11 -11
- package/src/components/Badge/styles/mixins.scss +5 -5
- package/src/components/Badge/styles/style.scss +3 -4
- package/src/components/Badge/tests/Badge.unit.test.js +18 -22
- package/src/components/Typography/styles/style.scss +9 -9
- package/src/components/index.ts +7 -0
- package/src/components/static.ts +1 -0
- package/build/app.css +0 -3
- package/build/app.css.map +0 -1
- package/build/app.js +0 -3
- package/build/app.js.LICENSE.txt +0 -78
- package/build/app.js.map +0 -1
- package/build/asset-manifest.json +0 -442
- package/build/components/Accordion/Accordion.static.js +0 -2
- package/build/components/Accordion/Accordion.static.js.map +0 -1
- package/build/components/Accordion/index.js +0 -3
- package/build/components/Accordion/index.js.LICENSE.txt +0 -5
- package/build/components/Accordion/index.js.map +0 -1
- package/build/components/Accordion/style.css +0 -2
- package/build/components/Accordion/style.css.map +0 -1
- package/build/components/Alert/index.js +0 -3
- package/build/components/Alert/index.js.LICENSE.txt +0 -5
- package/build/components/Alert/index.js.map +0 -1
- package/build/components/Alert/style.css +0 -2
- package/build/components/Alert/style.css.map +0 -1
- package/build/components/Badge/index.js.LICENSE.txt +0 -5
- package/build/components/Bar/index.js +0 -3
- package/build/components/Bar/index.js.LICENSE.txt +0 -5
- package/build/components/Bar/index.js.map +0 -1
- package/build/components/Bar/style.css +0 -2
- package/build/components/Bar/style.css.map +0 -1
- package/build/components/BlockAction/BlockAction.static.js +0 -2
- package/build/components/BlockAction/BlockAction.static.js.map +0 -1
- package/build/components/BlockAction/index.js +0 -3
- package/build/components/BlockAction/index.js.LICENSE.txt +0 -5
- package/build/components/BlockAction/index.js.map +0 -1
- package/build/components/BlockAction/style.css +0 -2
- package/build/components/BlockAction/style.css.map +0 -1
- package/build/components/Breadcrumbs/index.js +0 -3
- package/build/components/Breadcrumbs/index.js.LICENSE.txt +0 -5
- package/build/components/Breadcrumbs/index.js.map +0 -1
- package/build/components/Breadcrumbs/style.css +0 -2
- package/build/components/Breadcrumbs/style.css.map +0 -1
- package/build/components/Button/index.js +0 -3
- package/build/components/Button/index.js.LICENSE.txt +0 -5
- package/build/components/Button/index.js.map +0 -1
- package/build/components/Button/style.css +0 -2
- package/build/components/Button/style.css.map +0 -1
- package/build/components/Buttons/index.js +0 -3
- package/build/components/Buttons/index.js.LICENSE.txt +0 -5
- package/build/components/Buttons/index.js.map +0 -1
- package/build/components/Buttons/style.css +0 -2
- package/build/components/Buttons/style.css.map +0 -1
- package/build/components/Card/index.js +0 -3
- package/build/components/Card/index.js.LICENSE.txt +0 -5
- package/build/components/Card/index.js.map +0 -1
- package/build/components/Card/style.css +0 -2
- package/build/components/Card/style.css.map +0 -1
- package/build/components/Carousel/Carousel.static.css +0 -2
- package/build/components/Carousel/Carousel.static.css.map +0 -1
- package/build/components/Carousel/Carousel.static.js +0 -3
- package/build/components/Carousel/Carousel.static.js.LICENSE.txt +0 -15
- package/build/components/Carousel/Carousel.static.js.map +0 -1
- package/build/components/Carousel/index.js +0 -3
- package/build/components/Carousel/index.js.LICENSE.txt +0 -21
- package/build/components/Carousel/index.js.map +0 -1
- package/build/components/Carousel/style.css +0 -2
- package/build/components/Carousel/style.css.map +0 -1
- package/build/components/CarouselPromotions/CarouselPromotions.static.js +0 -3
- package/build/components/CarouselPromotions/CarouselPromotions.static.js.LICENSE.txt +0 -15
- package/build/components/CarouselPromotions/CarouselPromotions.static.js.map +0 -1
- package/build/components/CarouselPromotions/index.js +0 -3
- package/build/components/CarouselPromotions/index.js.LICENSE.txt +0 -21
- package/build/components/CarouselPromotions/index.js.map +0 -1
- package/build/components/CarouselPromotions/style.css +0 -2
- package/build/components/CarouselPromotions/style.css.map +0 -1
- package/build/components/CartTable/index.js +0 -3
- package/build/components/CartTable/index.js.LICENSE.txt +0 -5
- package/build/components/CartTable/index.js.map +0 -1
- package/build/components/CartTable/style.css +0 -2
- package/build/components/CartTable/style.css.map +0 -1
- package/build/components/Container/index.js +0 -3
- package/build/components/Container/index.js.LICENSE.txt +0 -5
- package/build/components/Container/index.js.map +0 -1
- package/build/components/Container/style.css +0 -2
- package/build/components/Container/style.css.map +0 -1
- package/build/components/ContentBlock/index.js +0 -3
- package/build/components/ContentBlock/index.js.LICENSE.txt +0 -5
- package/build/components/ContentBlock/index.js.map +0 -1
- package/build/components/ContentBlock/style.css +0 -2
- package/build/components/ContentBlock/style.css.map +0 -1
- package/build/components/Cover/index.js +0 -3
- package/build/components/Cover/index.js.LICENSE.txt +0 -5
- package/build/components/Cover/index.js.map +0 -1
- package/build/components/Cover/style.css +0 -2
- package/build/components/Cover/style.css.map +0 -1
- package/build/components/Divider/index.js +0 -3
- package/build/components/Divider/index.js.LICENSE.txt +0 -5
- package/build/components/Divider/index.js.map +0 -1
- package/build/components/Divider/style.css +0 -2
- package/build/components/Divider/style.css.map +0 -1
- package/build/components/Dropdown/Dropdown.static.css +0 -2
- package/build/components/Dropdown/Dropdown.static.css.map +0 -1
- package/build/components/Dropdown/Dropdown.static.js +0 -2
- package/build/components/Dropdown/Dropdown.static.js.map +0 -1
- package/build/components/Dropdown/index.js +0 -3
- package/build/components/Dropdown/index.js.LICENSE.txt +0 -5
- package/build/components/Dropdown/index.js.map +0 -1
- package/build/components/Dropdown/style.css +0 -2
- package/build/components/Dropdown/style.css.map +0 -1
- package/build/components/Expander/Expander.static.js +0 -2
- package/build/components/Expander/Expander.static.js.map +0 -1
- package/build/components/Expander/index.js +0 -3
- package/build/components/Expander/index.js.LICENSE.txt +0 -5
- package/build/components/Expander/index.js.map +0 -1
- package/build/components/Expander/style.css +0 -2
- package/build/components/Expander/style.css.map +0 -1
- package/build/components/Forms/Autocomplete/Autocomplete.static.js +0 -2
- package/build/components/Forms/Autocomplete/Autocomplete.static.js.map +0 -1
- package/build/components/Forms/Autocomplete/index.js +0 -3
- package/build/components/Forms/Autocomplete/index.js.LICENSE.txt +0 -5
- package/build/components/Forms/Autocomplete/index.js.map +0 -1
- package/build/components/Forms/Autocomplete/style.css +0 -2
- package/build/components/Forms/Autocomplete/style.css.map +0 -1
- package/build/components/Forms/Checkbox/index.js +0 -3
- package/build/components/Forms/Checkbox/index.js.LICENSE.txt +0 -5
- package/build/components/Forms/Checkbox/index.js.map +0 -1
- package/build/components/Forms/Checkbox/style.css +0 -2
- package/build/components/Forms/Checkbox/style.css.map +0 -1
- package/build/components/Forms/DatePicker/DatePicker.static.css +0 -2
- package/build/components/Forms/DatePicker/DatePicker.static.css.map +0 -1
- package/build/components/Forms/DatePicker/DatePicker.static.js +0 -2
- package/build/components/Forms/DatePicker/DatePicker.static.js.map +0 -1
- package/build/components/Forms/DatePicker/index.js +0 -2
- package/build/components/Forms/DatePicker/index.js.map +0 -1
- package/build/components/Forms/DatePicker/style.css +0 -2
- package/build/components/Forms/DatePicker/style.css.map +0 -1
- package/build/components/Forms/Field/index.js +0 -3
- package/build/components/Forms/Field/index.js.LICENSE.txt +0 -7
- package/build/components/Forms/Field/index.js.map +0 -1
- package/build/components/Forms/Field/style.css +0 -2
- package/build/components/Forms/Field/style.css.map +0 -1
- package/build/components/Forms/Fieldset/index.js +0 -3
- package/build/components/Forms/Fieldset/index.js.LICENSE.txt +0 -5
- package/build/components/Forms/Fieldset/index.js.map +0 -1
- package/build/components/Forms/Fieldset/style.css +0 -2
- package/build/components/Forms/Fieldset/style.css.map +0 -1
- package/build/components/Forms/File/File.static.js +0 -3
- package/build/components/Forms/File/File.static.js.LICENSE.txt +0 -1
- package/build/components/Forms/File/File.static.js.map +0 -1
- package/build/components/Forms/File/index.js +0 -3
- package/build/components/Forms/File/index.js.LICENSE.txt +0 -7
- package/build/components/Forms/File/index.js.map +0 -1
- package/build/components/Forms/File/style.css +0 -2
- package/build/components/Forms/File/style.css.map +0 -1
- package/build/components/Forms/Group/index.js +0 -3
- package/build/components/Forms/Group/index.js.LICENSE.txt +0 -5
- package/build/components/Forms/Group/index.js.map +0 -1
- package/build/components/Forms/Group/style.css +0 -2
- package/build/components/Forms/Group/style.css.map +0 -1
- package/build/components/Forms/Hint/index.js +0 -3
- package/build/components/Forms/Hint/index.js.LICENSE.txt +0 -5
- package/build/components/Forms/Hint/index.js.map +0 -1
- package/build/components/Forms/Hint/style.css +0 -2
- package/build/components/Forms/Hint/style.css.map +0 -1
- package/build/components/Forms/InputStepper/InputStepper.static.js +0 -2
- package/build/components/Forms/InputStepper/InputStepper.static.js.map +0 -1
- package/build/components/Forms/InputStepper/index.js +0 -3
- package/build/components/Forms/InputStepper/index.js.LICENSE.txt +0 -5
- package/build/components/Forms/InputStepper/index.js.map +0 -1
- package/build/components/Forms/InputStepper/style.css +0 -2
- package/build/components/Forms/InputStepper/style.css.map +0 -1
- package/build/components/Forms/Label/index.js +0 -3
- package/build/components/Forms/Label/index.js.LICENSE.txt +0 -5
- package/build/components/Forms/Label/index.js.map +0 -1
- package/build/components/Forms/Label/style.css +0 -2
- package/build/components/Forms/Label/style.css.map +0 -1
- package/build/components/Forms/Message/index.js +0 -3
- package/build/components/Forms/Message/index.js.LICENSE.txt +0 -5
- package/build/components/Forms/Message/index.js.map +0 -1
- package/build/components/Forms/Message/style.css +0 -2
- package/build/components/Forms/Message/style.css.map +0 -1
- package/build/components/Forms/Radio/index.js +0 -3
- package/build/components/Forms/Radio/index.js.LICENSE.txt +0 -5
- package/build/components/Forms/Radio/index.js.map +0 -1
- package/build/components/Forms/Radio/style.css +0 -2
- package/build/components/Forms/Radio/style.css.map +0 -1
- package/build/components/Forms/RangeSlider/RangeSlider.static.js +0 -2
- package/build/components/Forms/RangeSlider/RangeSlider.static.js.map +0 -1
- package/build/components/Forms/RangeSlider/index.js +0 -3
- package/build/components/Forms/RangeSlider/index.js.LICENSE.txt +0 -5
- package/build/components/Forms/RangeSlider/index.js.map +0 -1
- package/build/components/Forms/RangeSlider/style.css +0 -2
- package/build/components/Forms/RangeSlider/style.css.map +0 -1
- package/build/components/Forms/Select/index.js +0 -3
- package/build/components/Forms/Select/index.js.LICENSE.txt +0 -5
- package/build/components/Forms/Select/index.js.map +0 -1
- package/build/components/Forms/Select/style.css +0 -2
- package/build/components/Forms/Select/style.css.map +0 -1
- package/build/components/Forms/TextArea/index.js +0 -3
- package/build/components/Forms/TextArea/index.js.LICENSE.txt +0 -5
- package/build/components/Forms/TextArea/index.js.map +0 -1
- package/build/components/Forms/TextArea/style.css +0 -2
- package/build/components/Forms/TextArea/style.css.map +0 -1
- package/build/components/Forms/TextInput/index.js +0 -3
- package/build/components/Forms/TextInput/index.js.LICENSE.txt +0 -5
- package/build/components/Forms/TextInput/index.js.map +0 -1
- package/build/components/Forms/TextInput/style.css +0 -2
- package/build/components/Forms/TextInput/style.css.map +0 -1
- package/build/components/Forms/index.js +0 -3
- package/build/components/Forms/index.js.LICENSE.txt +0 -7
- package/build/components/Forms/index.js.map +0 -1
- package/build/components/Forms/style.css +0 -2
- package/build/components/Forms/style.css.map +0 -1
- package/build/components/Gauge/index.js +0 -3
- package/build/components/Gauge/index.js.LICENSE.txt +0 -5
- package/build/components/Gauge/index.js.map +0 -1
- package/build/components/Gauge/style.css +0 -2
- package/build/components/Gauge/style.css.map +0 -1
- package/build/components/Grid/index.js +0 -3
- package/build/components/Grid/index.js.LICENSE.txt +0 -5
- package/build/components/Grid/index.js.map +0 -1
- package/build/components/Grid/style.css +0 -2
- package/build/components/Grid/style.css.map +0 -1
- package/build/components/Heading/index.js +0 -2
- package/build/components/Heading/index.js.map +0 -1
- package/build/components/Hero/index.js +0 -3
- package/build/components/Hero/index.js.LICENSE.txt +0 -5
- package/build/components/Hero/index.js.map +0 -1
- package/build/components/Hero/style.css +0 -2
- package/build/components/Hero/style.css.map +0 -1
- package/build/components/Icon/index.js +0 -3
- package/build/components/Icon/index.js.LICENSE.txt +0 -5
- package/build/components/Icon/index.js.map +0 -1
- package/build/components/Icon/style.css +0 -2
- package/build/components/Icon/style.css.map +0 -1
- package/build/components/IconList/index.js +0 -3
- package/build/components/IconList/index.js.LICENSE.txt +0 -5
- package/build/components/IconList/index.js.map +0 -1
- package/build/components/IconList/style.css +0 -2
- package/build/components/IconList/style.css.map +0 -1
- package/build/components/Image/index.js +0 -3
- package/build/components/Image/index.js.LICENSE.txt +0 -5
- package/build/components/Image/index.js.map +0 -1
- package/build/components/Image/style.css +0 -2
- package/build/components/Image/style.css.map +0 -1
- package/build/components/Link/index.js +0 -3
- package/build/components/Link/index.js.LICENSE.txt +0 -5
- package/build/components/Link/index.js.map +0 -1
- package/build/components/Link/style.css +0 -2
- package/build/components/Link/style.css.map +0 -1
- package/build/components/List/index.js +0 -3
- package/build/components/List/index.js.LICENSE.txt +0 -5
- package/build/components/List/index.js.map +0 -1
- package/build/components/List/style.css +0 -2
- package/build/components/List/style.css.map +0 -1
- package/build/components/Loader/Loader.static.js +0 -2
- package/build/components/Loader/Loader.static.js.map +0 -1
- package/build/components/Loader/index.js +0 -3
- package/build/components/Loader/index.js.LICENSE.txt +0 -5
- package/build/components/Loader/index.js.map +0 -1
- package/build/components/Loader/style.css +0 -2
- package/build/components/Loader/style.css.map +0 -1
- package/build/components/Modal/Modal.static.js +0 -3
- package/build/components/Modal/Modal.static.js.LICENSE.txt +0 -4
- package/build/components/Modal/Modal.static.js.map +0 -1
- package/build/components/Modal/index.js +0 -3
- package/build/components/Modal/index.js.LICENSE.txt +0 -10
- package/build/components/Modal/index.js.map +0 -1
- package/build/components/Modal/style.css +0 -2
- package/build/components/Modal/style.css.map +0 -1
- package/build/components/PageTitle/index.js +0 -3
- package/build/components/PageTitle/index.js.LICENSE.txt +0 -5
- package/build/components/PageTitle/index.js.map +0 -1
- package/build/components/PageTitle/style.css +0 -2
- package/build/components/PageTitle/style.css.map +0 -1
- package/build/components/Pagination/index.js +0 -3
- package/build/components/Pagination/index.js.LICENSE.txt +0 -5
- package/build/components/Pagination/index.js.map +0 -1
- package/build/components/Pagination/style.css +0 -2
- package/build/components/Pagination/style.css.map +0 -1
- package/build/components/Pill/index.js +0 -3
- package/build/components/Pill/index.js.LICENSE.txt +0 -5
- package/build/components/Pill/index.js.map +0 -1
- package/build/components/Pill/style.css +0 -2
- package/build/components/Pill/style.css.map +0 -1
- package/build/components/Progress/index.js +0 -3
- package/build/components/Progress/index.js.LICENSE.txt +0 -5
- package/build/components/Progress/index.js.map +0 -1
- package/build/components/Progress/style.css +0 -2
- package/build/components/Progress/style.css.map +0 -1
- package/build/components/PromotionCard/index.js +0 -3
- package/build/components/PromotionCard/index.js.LICENSE.txt +0 -5
- package/build/components/PromotionCard/index.js.map +0 -1
- package/build/components/PromotionCard/style.css +0 -2
- package/build/components/PromotionCard/style.css.map +0 -1
- package/build/components/Section/index.js +0 -3
- package/build/components/Section/index.js.LICENSE.txt +0 -5
- package/build/components/Section/index.js.map +0 -1
- package/build/components/Section/style.css +0 -2
- package/build/components/Section/style.css.map +0 -1
- package/build/components/Skeleton/index.js +0 -3
- package/build/components/Skeleton/index.js.LICENSE.txt +0 -5
- package/build/components/Skeleton/index.js.map +0 -1
- package/build/components/Skeleton/style.css +0 -2
- package/build/components/Skeleton/style.css.map +0 -1
- package/build/components/SkipLink/index.js +0 -3
- package/build/components/SkipLink/index.js.LICENSE.txt +0 -5
- package/build/components/SkipLink/index.js.map +0 -1
- package/build/components/SkipLink/style.css +0 -2
- package/build/components/SkipLink/style.css.map +0 -1
- package/build/components/Stepbar/index.js +0 -3
- package/build/components/Stepbar/index.js.LICENSE.txt +0 -5
- package/build/components/Stepbar/index.js.map +0 -1
- package/build/components/Stepbar/style.css +0 -2
- package/build/components/Stepbar/style.css.map +0 -1
- package/build/components/Sticker/index.js +0 -3
- package/build/components/Sticker/index.js.LICENSE.txt +0 -5
- package/build/components/Sticker/index.js.map +0 -1
- package/build/components/Sticker/style.css +0 -2
- package/build/components/Sticker/style.css.map +0 -1
- package/build/components/Table/Table.static.js +0 -2
- package/build/components/Table/Table.static.js.map +0 -1
- package/build/components/Table/index.js +0 -3
- package/build/components/Table/index.js.LICENSE.txt +0 -5
- package/build/components/Table/index.js.map +0 -1
- package/build/components/Table/style.css +0 -2
- package/build/components/Table/style.css.map +0 -1
- package/build/components/Tabs/Tabs.static.js +0 -2
- package/build/components/Tabs/Tabs.static.js.map +0 -1
- package/build/components/Tabs/index.js +0 -3
- package/build/components/Tabs/index.js.LICENSE.txt +0 -5
- package/build/components/Tabs/index.js.map +0 -1
- package/build/components/Tabs/style.css +0 -2
- package/build/components/Tabs/style.css.map +0 -1
- package/build/components/Testimonial/index.js +0 -3
- package/build/components/Testimonial/index.js.LICENSE.txt +0 -5
- package/build/components/Testimonial/index.js.map +0 -1
- package/build/components/Testimonial/style.css +0 -2
- package/build/components/Testimonial/style.css.map +0 -1
- package/build/components/Tile/index.js +0 -3
- package/build/components/Tile/index.js.LICENSE.txt +0 -5
- package/build/components/Tile/index.js.map +0 -1
- package/build/components/Tile/style.css +0 -2
- package/build/components/Tile/style.css.map +0 -1
- package/build/components/Tooltip/Tooltip.static.css +0 -2
- package/build/components/Tooltip/Tooltip.static.css.map +0 -1
- package/build/components/Tooltip/Tooltip.static.js +0 -2
- package/build/components/Tooltip/Tooltip.static.js.map +0 -1
- package/build/components/Tooltip/index.js +0 -3
- package/build/components/Tooltip/index.js.LICENSE.txt +0 -5
- package/build/components/Tooltip/index.js.map +0 -1
- package/build/components/Tooltip/style.css +0 -2
- package/build/components/Tooltip/style.css.map +0 -1
- package/build/components/index.js.LICENSE.txt +0 -28
- package/build/components/static.css +0 -2
- package/build/components/static.css.map +0 -1
- package/build/components/static.js.LICENSE.txt +0 -22
- package/build/components/style.css +0 -2
- package/build/components/style.css.map +0 -1
- package/build/index.css +0 -2
- package/build/index.css.map +0 -1
- package/build/index.js +0 -3
- package/build/index.js.LICENSE.txt +0 -150
- package/build/index.js.map +0 -1
- package/build/lib/after-components.js.map +0 -1
- package/build/lib/before-components.js.map +0 -1
- package/build/lib/breadcrumbs.js.map +0 -1
- package/build/lib/components.js.map +0 -1
- package/build/lib/fonts.js.map +0 -1
- package/build/lib/scripts.css +0 -2
- package/build/lib/scripts.css.map +0 -1
- package/build/lib/scripts.js.LICENSE.txt +0 -22
- package/build/lib/style.js.map +0 -1
- package/build/lib/testAutocomplete.js +0 -2
- package/build/lib/testAutocomplete.js.map +0 -1
- package/build/media/hands-with-phones.2646b120f1bbbbbdf4b4105fad34c34d.svg +0 -90
- package/build/media/logo-small.abe814cc06cf7383d3769293d27f8895.svg +0 -45
- package/build/media/logo.086916e9e2d8f8c38d2ecfba359ab991.svg +0 -1
- package/build/media/phones.a022d93942179e66616ee71d4e37e532.png +0 -0
- package/build/pages/hello-react-world.html +0 -1
- package/build/pages/hello-world.html +0 -1
- package/build/pages/hero-playground.html +0 -1
- package/build/pages/index.html +0 -1
- package/build/pages/test-autocomplete.html +0 -1
- package/build/precache-manifest.bcec161b6e91c0dcdd3c56db0841babe.js +0 -842
- package/build/precache-manifest.bf99fc5050abfcf4f6af584e5a612315.js +0 -146
- package/build/service-worker.js +0 -39
- package/build/sprite.svg +0 -1
- package/build/static.css +0 -2
- package/build/static.css.map +0 -1
- package/build/static.js +0 -3
- package/build/static.js.LICENSE.txt +0 -22
- package/build/static.js.map +0 -1
- package/build/tests/index.html +0 -1
- package/src/assets/icons/4g.svg +0 -1
- package/src/assets/icons/5g.svg +0 -1
- package/src/assets/icons/accessibility-mobility.svg +0 -1
- package/src/assets/icons/accessibility-motor.svg +0 -1
- package/src/assets/icons/accessibility-vision.svg +0 -1
- package/src/assets/icons/accessibility.svg +0 -1
- package/src/assets/icons/add.svg +0 -1
- package/src/assets/icons/advertising.svg +0 -1
- package/src/assets/icons/aeroplane.svg +0 -1
- package/src/assets/icons/age-rating-3.svg +0 -1
- package/src/assets/icons/airbox-auto.svg +0 -1
- package/src/assets/icons/alias-numbers.svg +0 -1
- package/src/assets/icons/android-manage.svg +0 -1
- package/src/assets/icons/antenna.svg +0 -1
- package/src/assets/icons/apartment-building.svg +0 -1
- package/src/assets/icons/apps.svg +0 -1
- package/src/assets/icons/assistance.svg +0 -1
- package/src/assets/icons/assistent.svg +0 -1
- package/src/assets/icons/at.svg +0 -1
- package/src/assets/icons/avatar.svg +0 -1
- package/src/assets/icons/backup-internet.svg +0 -1
- package/src/assets/icons/bank.svg +0 -1
- package/src/assets/icons/battery-charging.svg +0 -1
- package/src/assets/icons/battery-full.svg +0 -1
- package/src/assets/icons/battery-status-1-3.svg +0 -1
- package/src/assets/icons/battery-status-charging.svg +0 -1
- package/src/assets/icons/battery-status-full.svg +0 -1
- package/src/assets/icons/bed.svg +0 -1
- package/src/assets/icons/birth.svg +0 -1
- package/src/assets/icons/birthday.svg +0 -1
- package/src/assets/icons/bluetooth.svg +0 -1
- package/src/assets/icons/boarding-pass.svg +0 -1
- package/src/assets/icons/book-award.svg +0 -1
- package/src/assets/icons/book.svg +0 -1
- package/src/assets/icons/boxes.svg +0 -1
- package/src/assets/icons/briefcase.svg +0 -1
- package/src/assets/icons/browser-plug-in.svg +0 -1
- package/src/assets/icons/business-advisor.svg +0 -1
- package/src/assets/icons/business-consultant.svg +0 -1
- package/src/assets/icons/business-lounge.svg +0 -1
- package/src/assets/icons/buy.svg +0 -1
- package/src/assets/icons/calendar-30.svg +0 -1
- package/src/assets/icons/calendar-alarm.svg +0 -1
- package/src/assets/icons/calendar-day.svg +0 -1
- package/src/assets/icons/calendar-month.svg +0 -1
- package/src/assets/icons/call-in.svg +0 -1
- package/src/assets/icons/call-out.svg +0 -1
- package/src/assets/icons/call.svg +0 -1
- package/src/assets/icons/camera.svg +0 -1
- package/src/assets/icons/car-park.svg +0 -1
- package/src/assets/icons/car.svg +0 -1
- package/src/assets/icons/card-reader.svg +0 -1
- package/src/assets/icons/casting.svg +0 -1
- package/src/assets/icons/cest-ici.svg +0 -1
- package/src/assets/icons/charger.svg +0 -1
- package/src/assets/icons/chatbot.svg +0 -1
- package/src/assets/icons/check-your-balance.svg +0 -1
- package/src/assets/icons/checked.svg +0 -1
- package/src/assets/icons/chevron-down.svg +0 -1
- package/src/assets/icons/chevron-end.svg +0 -1
- package/src/assets/icons/chevron-left.svg +0 -1
- package/src/assets/icons/chevron-right.svg +0 -1
- package/src/assets/icons/chevron-start.svg +0 -1
- package/src/assets/icons/chevron-up.svg +0 -1
- package/src/assets/icons/child.svg +0 -1
- package/src/assets/icons/children-channel.svg +0 -1
- package/src/assets/icons/childrens-content.svg +0 -1
- package/src/assets/icons/christmas-tree.svg +0 -1
- package/src/assets/icons/cinema-ticket-2-for-1.svg +0 -1
- package/src/assets/icons/cle-pc.svg +0 -1
- package/src/assets/icons/clock.svg +0 -1
- package/src/assets/icons/closed-captions.svg +0 -1
- package/src/assets/icons/cloud-backup.svg +0 -1
- package/src/assets/icons/cloud-security.svg +0 -1
- package/src/assets/icons/collective-class-training.svg +0 -1
- package/src/assets/icons/community-sms.svg +0 -1
- package/src/assets/icons/company-structure.svg +0 -1
- package/src/assets/icons/connections.svg +0 -1
- package/src/assets/icons/control-centre.svg +0 -1
- package/src/assets/icons/control-my-data.svg +0 -3
- package/src/assets/icons/cpu.svg +0 -1
- package/src/assets/icons/currency-euro.svg +0 -1
- package/src/assets/icons/cyber-shield.svg +0 -1
- package/src/assets/icons/dashboard-display.svg +0 -1
- package/src/assets/icons/data-analytics.svg +0 -1
- package/src/assets/icons/data-centre.svg +0 -1
- package/src/assets/icons/data-services.svg +0 -1
- package/src/assets/icons/data-traffic.svg +0 -1
- package/src/assets/icons/data.svg +0 -1
- package/src/assets/icons/delete.svg +0 -1
- package/src/assets/icons/desk-phone.svg +0 -1
- package/src/assets/icons/desktop-pc.svg +0 -1
- package/src/assets/icons/device-fixed-line-phone.svg +0 -1
- package/src/assets/icons/device-laptop-computer-connected.svg +0 -1
- package/src/assets/icons/device-laptop-computer.svg +0 -1
- package/src/assets/icons/device-smart-phone.svg +0 -1
- package/src/assets/icons/device-tablet.svg +0 -1
- package/src/assets/icons/device-tv.svg +0 -1
- package/src/assets/icons/diagnostic.svg +0 -1
- package/src/assets/icons/digital-frame.svg +0 -1
- package/src/assets/icons/discussion-more.svg +0 -1
- package/src/assets/icons/doctor.svg +0 -1
- package/src/assets/icons/documentary.svg +0 -1
- package/src/assets/icons/donation.svg +0 -1
- package/src/assets/icons/download-file.svg +0 -1
- package/src/assets/icons/download.svg +0 -1
- package/src/assets/icons/e-reader.svg +0 -1
- package/src/assets/icons/e-shop.svg +0 -1
- package/src/assets/icons/easy-internet.svg +0 -1
- package/src/assets/icons/eco-mode.svg +0 -1
- package/src/assets/icons/edit.svg +0 -1
- package/src/assets/icons/electrcar.svg +0 -1
- package/src/assets/icons/email.svg +0 -1
- package/src/assets/icons/employees.svg +0 -1
- package/src/assets/icons/empty-trash.svg +0 -1
- package/src/assets/icons/entertainment.svg +0 -1
- package/src/assets/icons/epg.svg +0 -1
- package/src/assets/icons/error-severe.svg +0 -1
- package/src/assets/icons/ethernet.svg +0 -1
- package/src/assets/icons/euro.svg +0 -1
- package/src/assets/icons/exit.svg +0 -1
- package/src/assets/icons/facebook-2.svg +0 -1
- package/src/assets/icons/facebook.svg +0 -1
- package/src/assets/icons/factory.svg +0 -1
- package/src/assets/icons/family-place.svg +0 -1
- package/src/assets/icons/fashion.svg +0 -1
- package/src/assets/icons/fast-delivery.svg +0 -1
- package/src/assets/icons/file-compressed.svg +0 -1
- package/src/assets/icons/file-copy.svg +0 -1
- package/src/assets/icons/file-document-compose.svg +0 -1
- package/src/assets/icons/file-download.svg +0 -1
- package/src/assets/icons/file-draft-edit.svg +0 -1
- package/src/assets/icons/file-pdf.svg +0 -1
- package/src/assets/icons/file-terms-and-conditions.svg +0 -1
- package/src/assets/icons/files.svg +0 -1
- package/src/assets/icons/film.svg +0 -1
- package/src/assets/icons/filter.svg +0 -1
- package/src/assets/icons/finance.svg +0 -1
- package/src/assets/icons/firewall.svg +0 -1
- package/src/assets/icons/flag.svg +0 -1
- package/src/assets/icons/flashlight.svg +0 -1
- package/src/assets/icons/flexible-storage.svg +0 -1
- package/src/assets/icons/folder.svg +0 -1
- package/src/assets/icons/football-match.svg +0 -1
- package/src/assets/icons/football-quiz.svg +0 -1
- package/src/assets/icons/football.svg +0 -1
- package/src/assets/icons/form-tick.svg +0 -1
- package/src/assets/icons/front-end-dashboard.svg +0 -1
- package/src/assets/icons/funny.svg +0 -1
- package/src/assets/icons/futher-education.svg +0 -1
- package/src/assets/icons/games.svg +0 -1
- package/src/assets/icons/garage-closed.svg +0 -1
- package/src/assets/icons/gauge-rate.svg +0 -1
- package/src/assets/icons/gears.svg +0 -1
- package/src/assets/icons/geolocation.svg +0 -1
- package/src/assets/icons/guide-info.svg +0 -1
- package/src/assets/icons/hammer.svg +0 -1
- package/src/assets/icons/hand-shake.svg +0 -1
- package/src/assets/icons/hard-drive.svg +0 -1
- package/src/assets/icons/hdmi-key.svg +0 -1
- package/src/assets/icons/headphones.svg +0 -1
- package/src/assets/icons/health-app.svg +0 -1
- package/src/assets/icons/health-monitor.svg +0 -1
- package/src/assets/icons/health-patient.svg +0 -1
- package/src/assets/icons/heart.svg +0 -1
- package/src/assets/icons/home-appliance.svg +0 -1
- package/src/assets/icons/home.svg +0 -1
- package/src/assets/icons/homelive.svg +0 -1
- package/src/assets/icons/hourglass.svg +0 -1
- package/src/assets/icons/house.svg +0 -1
- package/src/assets/icons/id-card.svg +0 -1
- package/src/assets/icons/image.svg +0 -1
- package/src/assets/icons/important.svg +0 -1
- package/src/assets/icons/improvement.svg +0 -1
- package/src/assets/icons/inbox.svg +0 -1
- package/src/assets/icons/info.svg +0 -1
- package/src/assets/icons/information-data.svg +0 -1
- package/src/assets/icons/instagram.svg +0 -1
- package/src/assets/icons/international-globe.svg +0 -1
- package/src/assets/icons/internet-browser.svg +0 -1
- package/src/assets/icons/internet-security-desktop.svg +0 -1
- package/src/assets/icons/internet-security-mobile.svg +0 -1
- package/src/assets/icons/internet-security-password.svg +0 -1
- package/src/assets/icons/internet-usage.svg +0 -1
- package/src/assets/icons/internet.svg +0 -1
- package/src/assets/icons/invoice-euro.svg +0 -1
- package/src/assets/icons/invoices-euro.svg +0 -1
- package/src/assets/icons/iso.svg +0 -1
- package/src/assets/icons/it-infrastructure.svg +0 -1
- package/src/assets/icons/keyboard.svg +0 -1
- package/src/assets/icons/la-cle-tv.svg +0 -1
- package/src/assets/icons/laptop-connected.svg +0 -1
- package/src/assets/icons/laptop.svg +0 -1
- package/src/assets/icons/le-vote.svg +0 -1
- package/src/assets/icons/link.svg +0 -1
- package/src/assets/icons/linkedin-2.svg +0 -1
- package/src/assets/icons/linkedin.svg +0 -1
- package/src/assets/icons/location-on-map.svg +0 -1
- package/src/assets/icons/location-pin.svg +0 -1
- package/src/assets/icons/lock-open.svg +0 -1
- package/src/assets/icons/lock.svg +0 -1
- package/src/assets/icons/logistics.svg +0 -1
- package/src/assets/icons/love-logo.svg +0 -1
- package/src/assets/icons/mahali.svg +0 -1
- package/src/assets/icons/maintenance-man.svg +0 -1
- package/src/assets/icons/map-pin.svg +0 -1
- package/src/assets/icons/map.svg +0 -1
- package/src/assets/icons/medal.svg +0 -1
- package/src/assets/icons/medical-app.svg +0 -1
- package/src/assets/icons/medical-chart.svg +0 -1
- package/src/assets/icons/medicine.svg +0 -1
- package/src/assets/icons/menu-arrow.svg +0 -1
- package/src/assets/icons/menu-grid.svg +0 -1
- package/src/assets/icons/menu.svg +0 -1
- package/src/assets/icons/message-alert.svg +0 -1
- package/src/assets/icons/messages.svg +0 -1
- package/src/assets/icons/micro-sd-card.svg +0 -1
- package/src/assets/icons/microphone-mute.svg +0 -1
- package/src/assets/icons/microphone.svg +0 -1
- package/src/assets/icons/mini-games.svg +0 -1
- package/src/assets/icons/mobile-applications.svg +0 -1
- package/src/assets/icons/mobile-data-toggle.svg +0 -1
- package/src/assets/icons/mobile-insurance.svg +0 -1
- package/src/assets/icons/mobile-network-coverage.svg +0 -1
- package/src/assets/icons/mobile-payment.svg +0 -1
- package/src/assets/icons/mobile-security.svg +0 -1
- package/src/assets/icons/mobile-setup.svg +0 -1
- package/src/assets/icons/modem.svg +0 -1
- package/src/assets/icons/modifier-delete.svg +0 -1
- package/src/assets/icons/modifier-done.svg +0 -1
- package/src/assets/icons/modifier-download.svg +0 -1
- package/src/assets/icons/modifier-upload.svg +0 -1
- package/src/assets/icons/money-box.svg +0 -1
- package/src/assets/icons/more-dots.svg +0 -1
- package/src/assets/icons/multi-sim.svg +0 -1
- package/src/assets/icons/music.svg +0 -1
- package/src/assets/icons/my-account.svg +0 -1
- package/src/assets/icons/my-orange.svg +0 -1
- package/src/assets/icons/my-skills.svg +0 -1
- package/src/assets/icons/my-vacation.svg +0 -1
- package/src/assets/icons/network-dslam.svg +0 -1
- package/src/assets/icons/network-gatekeeper.svg +0 -1
- package/src/assets/icons/network-gateway.svg +0 -1
- package/src/assets/icons/network-optical-amplifier.svg +0 -1
- package/src/assets/icons/network-optical-transport.svg +0 -1
- package/src/assets/icons/network-wan-optimisation-engine.svg +0 -1
- package/src/assets/icons/networks.svg +0 -1
- package/src/assets/icons/newspaper.svg +0 -1
- package/src/assets/icons/not-checked.svg +0 -1
- package/src/assets/icons/notification-alert.svg +0 -1
- package/src/assets/icons/office.svg +0 -1
- package/src/assets/icons/online-help.svg +0 -1
- package/src/assets/icons/orange-assistant.svg +0 -1
- package/src/assets/icons/orange-cash.svg +0 -1
- package/src/assets/icons/orange-detente.svg +0 -1
- package/src/assets/icons/orange-dialler.svg +0 -1
- package/src/assets/icons/orange-events.svg +0 -1
- package/src/assets/icons/orange-experts-expert.svg +0 -1
- package/src/assets/icons/orange-experts-insurance.svg +0 -1
- package/src/assets/icons/orange-experts-orange-business-consultant.svg +0 -1
- package/src/assets/icons/orange-experts-recycle.svg +0 -1
- package/src/assets/icons/orange-experts-repair.svg +0 -1
- package/src/assets/icons/orange-football-club.svg +0 -1
- package/src/assets/icons/orange-games.svg +0 -1
- package/src/assets/icons/orange-messenger.svg +0 -1
- package/src/assets/icons/orange-money-nfc.svg +0 -1
- package/src/assets/icons/orange-reflect.svg +0 -1
- package/src/assets/icons/orange-rewards.svg +0 -1
- package/src/assets/icons/orange-tv.svg +0 -1
- package/src/assets/icons/orange-vr-experience.svg +0 -1
- package/src/assets/icons/outbox.svg +0 -1
- package/src/assets/icons/package-content.svg +0 -1
- package/src/assets/icons/package-services.svg +0 -1
- package/src/assets/icons/package.svg +0 -1
- package/src/assets/icons/packaging-icon-hd.svg +0 -1
- package/src/assets/icons/parabole-tv.svg +0 -1
- package/src/assets/icons/parental-control.svg +0 -1
- package/src/assets/icons/pause.svg +0 -1
- package/src/assets/icons/payment-card.svg +0 -1
- package/src/assets/icons/payment-euro.svg +0 -1
- package/src/assets/icons/pda.svg +0 -1
- package/src/assets/icons/pdf-file.svg +0 -1
- package/src/assets/icons/pencil.svg +0 -1
- package/src/assets/icons/personal-hotspot.svg +0 -1
- package/src/assets/icons/personal-smartphone-trainer.svg +0 -1
- package/src/assets/icons/phone-advisor.svg +0 -1
- package/src/assets/icons/play-and-win.svg +0 -1
- package/src/assets/icons/play.svg +0 -1
- package/src/assets/icons/plug-socket.svg +0 -1
- package/src/assets/icons/power.svg +0 -1
- package/src/assets/icons/powerstation.svg +0 -1
- package/src/assets/icons/presentation.svg +0 -1
- package/src/assets/icons/print.svg +0 -1
- package/src/assets/icons/printer.svg +0 -1
- package/src/assets/icons/real-time.svg +0 -1
- package/src/assets/icons/recycle-device.svg +0 -1
- package/src/assets/icons/recycle.svg +0 -1
- package/src/assets/icons/reduction.svg +0 -1
- package/src/assets/icons/reload.svg +0 -1
- package/src/assets/icons/reminders.svg +0 -1
- package/src/assets/icons/remote-desktop-protocol.svg +0 -1
- package/src/assets/icons/remove.svg +0 -1
- package/src/assets/icons/repair.svg +0 -1
- package/src/assets/icons/reseau.svg +0 -1
- package/src/assets/icons/restaurant.svg +0 -1
- package/src/assets/icons/rewards.svg +0 -1
- package/src/assets/icons/running.svg +0 -1
- package/src/assets/icons/safety.svg +0 -1
- package/src/assets/icons/satallite.svg +0 -1
- package/src/assets/icons/save.svg +0 -1
- package/src/assets/icons/school.svg +0 -1
- package/src/assets/icons/science.svg +0 -1
- package/src/assets/icons/sd-card.svg +0 -1
- package/src/assets/icons/search.svg +0 -1
- package/src/assets/icons/security-status-good.svg +0 -1
- package/src/assets/icons/send.svg +0 -1
- package/src/assets/icons/senior-person.svg +0 -1
- package/src/assets/icons/server-storage-array.svg +0 -1
- package/src/assets/icons/server-tower.svg +0 -1
- package/src/assets/icons/session-enter.svg +0 -1
- package/src/assets/icons/session-leave.svg +0 -1
- package/src/assets/icons/settings.svg +0 -1
- package/src/assets/icons/share.svg +0 -1
- package/src/assets/icons/shop-pin.svg +0 -1
- package/src/assets/icons/shop.svg +0 -1
- package/src/assets/icons/showroom-mobile-pro.svg +0 -1
- package/src/assets/icons/signal-5-5.svg +0 -1
- package/src/assets/icons/silence.svg +0 -1
- package/src/assets/icons/sim-e.svg +0 -1
- package/src/assets/icons/sim.svg +0 -1
- package/src/assets/icons/simple-mode.svg +0 -1
- package/src/assets/icons/simplicity.svg +0 -1
- package/src/assets/icons/siren.svg +0 -1
- package/src/assets/icons/skiing.svg +0 -1
- package/src/assets/icons/skip-to-end.svg +0 -1
- package/src/assets/icons/skip-to-start.svg +0 -1
- package/src/assets/icons/sleep.svg +0 -1
- package/src/assets/icons/smart-care.svg +0 -1
- package/src/assets/icons/smart-home.svg +0 -1
- package/src/assets/icons/smart-tap.svg +0 -1
- package/src/assets/icons/smart-watch.svg +0 -1
- package/src/assets/icons/sms-alert.svg +0 -1
- package/src/assets/icons/sms-message-compose.svg +0 -1
- package/src/assets/icons/sms-message.svg +0 -1
- package/src/assets/icons/social-network.svg +0 -1
- package/src/assets/icons/sofa.svg +0 -1
- package/src/assets/icons/sort.svg +0 -1
- package/src/assets/icons/stadium.svg +0 -1
- package/src/assets/icons/star-empty.svg +0 -1
- package/src/assets/icons/star-favourite-half.svg +0 -1
- package/src/assets/icons/star-favourite.svg +0 -1
- package/src/assets/icons/startover.svg +0 -1
- package/src/assets/icons/statistics.svg +0 -1
- package/src/assets/icons/stop-secret.svg +0 -1
- package/src/assets/icons/storage-cloud.svg +0 -1
- package/src/assets/icons/store-locator.svg +0 -1
- package/src/assets/icons/street.svg +0 -1
- package/src/assets/icons/subscription-package.svg +0 -1
- package/src/assets/icons/suitcase.svg +0 -1
- package/src/assets/icons/support.svg +0 -1
- package/src/assets/icons/surveillance-camera.svg +0 -1
- package/src/assets/icons/syncronise.svg +0 -1
- package/src/assets/icons/tag-advertising.svg +0 -1
- package/src/assets/icons/tag.svg +0 -1
- package/src/assets/icons/target-location.svg +0 -1
- package/src/assets/icons/tarif.svg +0 -1
- package/src/assets/icons/task-list.svg +0 -1
- package/src/assets/icons/team-connect.svg +0 -1
- package/src/assets/icons/thumb-up.svg +0 -1
- package/src/assets/icons/tick.svg +0 -1
- package/src/assets/icons/ticket.svg +0 -1
- package/src/assets/icons/top-up-card-euro.svg +0 -1
- package/src/assets/icons/top-up-euro.svg +0 -1
- package/src/assets/icons/top-up-time.svg +0 -1
- package/src/assets/icons/town.svg +0 -1
- package/src/assets/icons/townhall.svg +0 -1
- package/src/assets/icons/train.svg +0 -1
- package/src/assets/icons/training-session.svg +0 -1
- package/src/assets/icons/tranquility.svg +0 -1
- package/src/assets/icons/transfer-data.svg +0 -1
- package/src/assets/icons/transfers.svg +0 -1
- package/src/assets/icons/trash.svg +0 -1
- package/src/assets/icons/tv-channel-list.svg +0 -1
- package/src/assets/icons/tv-commande.svg +0 -1
- package/src/assets/icons/unlimited-calls.svg +0 -1
- package/src/assets/icons/upload.svg +0 -1
- package/src/assets/icons/usb-hard-drive.svg +0 -1
- package/src/assets/icons/usb-key.svg +0 -1
- package/src/assets/icons/user-manual.svg +0 -1
- package/src/assets/icons/user.svg +0 -1
- package/src/assets/icons/video-call.svg +0 -1
- package/src/assets/icons/video-live.svg +0 -1
- package/src/assets/icons/video-phone.svg +0 -1
- package/src/assets/icons/video-record.svg +0 -1
- package/src/assets/icons/video.svg +0 -1
- package/src/assets/icons/vip-contact.svg +0 -1
- package/src/assets/icons/virtual-gamepad.svg +0 -1
- package/src/assets/icons/vod-portrait.svg +0 -1
- package/src/assets/icons/volte.svg +0 -1
- package/src/assets/icons/volume-status-4-4.svg +0 -1
- package/src/assets/icons/vowifi.svg +0 -1
- package/src/assets/icons/wallet.svg +0 -1
- package/src/assets/icons/warning-important.svg +0 -1
- package/src/assets/icons/washroom.svg +0 -1
- package/src/assets/icons/watch.svg +0 -1
- package/src/assets/icons/water.svg +0 -1
- package/src/assets/icons/weather.svg +0 -1
- package/src/assets/icons/web-browser.svg +0 -1
- package/src/assets/icons/web-camera.svg +0 -1
- package/src/assets/icons/weighing-scales.svg +0 -1
- package/src/assets/icons/widget.svg +0 -1
- package/src/assets/icons/wifi-home.svg +0 -1
- package/src/assets/icons/wifi.svg +0 -1
- package/src/assets/icons/x.svg +0 -1
- package/src/assets/icons/your-balance.svg +0 -1
- package/src/assets/icons/youtube.svg +0 -1
- package/src/assets/icons/zoom-in.svg +0 -1
- package/src/assets/icons/zoom-out.svg +0 -1
- package/src/assets/images/developers/hands-with-phones.svg +0 -90
- package/src/assets/images/developers/iphone-size-2x.png +0 -0
- package/src/assets/images/developers/iphone-xr-white-select.png +0 -0
- package/src/assets/images/developers/phones.png +0 -0
- package/src/assets/images/developers/router.png +0 -0
- package/src/assets/images/developers/rule-component-block.png +0 -0
- package/src/assets/images/developers/rule-component-inline.png +0 -0
- package/src/assets/images/developers/rule-container.png +0 -0
- package/src/assets/images/developers/rule-content.png +0 -0
- package/src/assets/images/developers/two-phones.png +0 -0
- package/src/assets/images/styleguide/all-other-brand-guidelines.png +0 -0
- package/src/assets/images/styleguide/components.png +0 -0
- package/src/assets/images/styleguide/core-guidelines.png +0 -0
- package/src/assets/images/styleguide/foundation.png +0 -0
- package/src/assets/images/styleguide/icons.png +0 -0
- package/src/assets/images/styleguide/illustrations.png +0 -0
- package/src/assets/images/styleguide/orange-logo.png +0 -0
- package/src/assets/images/styleguide/patterns.png +0 -0
- package/src/assets/images/styleguide/photos.png +0 -0
- package/src/assets/images/styleguide/principles.png +0 -0
- package/src/assets/images/styleguide/promo-posters.png +0 -0
- package/src/assets/images/styleguide/sketch-ui-kit.png +0 -0
- package/src/assets/logo/logo-small.svg +0 -45
- package/src/assets/logo/logo-white.svg +0 -66
- package/src/assets/logo/logo-with-tagline-white.svg +0 -84
- package/src/assets/logo/logo-with-tagline.svg +0 -84
- package/src/assets/logo/logo.svg +0 -1
- package/src/components/Accordion/Accordion.js +0 -67
- package/src/components/Accordion/Accordion.mdx +0 -222
- package/src/components/Accordion/Accordion.static.js +0 -96
- package/src/components/Accordion/AccordionHeader.js +0 -46
- package/src/components/Accordion/AccordionItem.js +0 -60
- package/src/components/Accordion/HeadingContext.js +0 -3
- package/src/components/Accordion/index.js +0 -4
- package/src/components/Accordion/styles/config.scss +0 -8
- package/src/components/Accordion/styles/mixins.scss +0 -91
- package/src/components/Accordion/styles/style.scss +0 -47
- package/src/components/Accordion/tests/Accordion.conformance.test.js +0 -37
- package/src/components/Accordion/tests/Accordion.unit.test.js +0 -164
- package/src/components/Accordion/tests/AccordionHeader.unit.test.js +0 -118
- package/src/components/Accordion/tests/AccordionItem.unit.test.js +0 -153
- package/src/components/Accordion/tests/data.js +0 -18
- package/src/components/Alert/Alert.js +0 -96
- package/src/components/Alert/Alert.mdx +0 -141
- package/src/components/Alert/data.js +0 -6
- package/src/components/Alert/index.js +0 -5
- package/src/components/Alert/styles/config.scss +0 -26
- package/src/components/Alert/styles/mixins.scss +0 -38
- package/src/components/Alert/styles/style.scss +0 -34
- package/src/components/Alert/tests/Alert.conformance.test.js +0 -24
- package/src/components/Alert/tests/Alert.test.js +0 -69
- package/src/components/Badge/Badge.js +0 -37
- package/src/components/Badge/index.js +0 -3
- package/src/components/Bar/Bar.js +0 -59
- package/src/components/Bar/Bar.mdx +0 -203
- package/src/components/Bar/BarBreak.js +0 -28
- package/src/components/Bar/BarItem.js +0 -38
- package/src/components/Bar/index.js +0 -8
- package/src/components/Bar/styles/config.scss +0 -10
- package/src/components/Bar/styles/mixins.scss +0 -84
- package/src/components/Bar/styles/style.scss +0 -60
- package/src/components/Bar/tests/Bar.conformance.test.js +0 -30
- package/src/components/Bar/tests/Bar.unit.test.js +0 -59
- package/src/components/Bar/tests/BarBreak.unit.test.js +0 -33
- package/src/components/Bar/tests/BarItem.unit.test.js +0 -52
- package/src/components/BlockAction/BlockAction.js +0 -27
- package/src/components/BlockAction/BlockAction.mdx +0 -244
- package/src/components/BlockAction/BlockAction.static.js +0 -88
- package/src/components/BlockAction/BlockActionControl.js +0 -30
- package/src/components/BlockAction/BlockActionIndicator.js +0 -30
- package/src/components/BlockAction/CloneElementWithClassName.js +0 -9
- package/src/components/BlockAction/Context.js +0 -26
- package/src/components/BlockAction/index.js +0 -29
- package/src/components/BlockAction/styles/config.scss +0 -10
- package/src/components/BlockAction/styles/mixins.scss +0 -27
- package/src/components/BlockAction/styles/style.scss +0 -33
- package/src/components/BlockAction/tests/BlockAction.conformance.test.js +0 -115
- package/src/components/BlockAction/tests/BlockAction.unit.test.js +0 -45
- package/src/components/BlockAction/tests/BlockActionControl.unit.test.js +0 -147
- package/src/components/BlockAction/tests/BlockActionIndicator.unit.test.js +0 -69
- package/src/components/BlockAction/tests/CloneElementWithClassName.unit.test.js +0 -34
- package/src/components/Breadcrumbs/BreadcrumbItem.js +0 -43
- package/src/components/Breadcrumbs/Breadcrumbs.js +0 -56
- package/src/components/Breadcrumbs/Breadcrumbs.mdx +0 -84
- package/src/components/Breadcrumbs/index.js +0 -5
- package/src/components/Breadcrumbs/styles/config.scss +0 -2
- package/src/components/Breadcrumbs/styles/mixins.scss +0 -105
- package/src/components/Breadcrumbs/styles/style.scss +0 -37
- package/src/components/Breadcrumbs/tests/BreadcrumbItem.unit.test.js +0 -57
- package/src/components/Breadcrumbs/tests/Breadcrumbs.conformance.test.js +0 -53
- package/src/components/Breadcrumbs/tests/Breadcrumbs.unit.test.js +0 -80
- package/src/components/Button/Button.js +0 -93
- package/src/components/Button/Button.mdx +0 -273
- package/src/components/Button/IconButton.js +0 -75
- package/src/components/Button/index.js +0 -19
- package/src/components/Button/styles/config.scss +0 -250
- package/src/components/Button/styles/mixins.scss +0 -120
- package/src/components/Button/styles/style.scss +0 -54
- package/src/components/Button/tests/Button.conformance.test.js +0 -35
- package/src/components/Button/tests/Button.test.js +0 -114
- package/src/components/Button/tests/IconButton.unit.test.js +0 -107
- package/src/components/Buttons/Buttons.js +0 -30
- package/src/components/Buttons/Buttons.mdx +0 -39
- package/src/components/Buttons/index.js +0 -5
- package/src/components/Buttons/styles/config.scss +0 -3
- package/src/components/Buttons/styles/mixins.scss +0 -33
- package/src/components/Buttons/styles/style.scss +0 -10
- package/src/components/Buttons/tests/Buttons.conformance.test.js +0 -23
- package/src/components/Buttons/tests/Buttons.unit.test.js +0 -27
- package/src/components/Card/Card.js +0 -37
- package/src/components/Card/Card.mdx +0 -334
- package/src/components/Card/CardHeader.js +0 -50
- package/src/components/Card/CardSection.js +0 -30
- package/src/components/Card/index.js +0 -7
- package/src/components/Card/styles/config.scss +0 -31
- package/src/components/Card/styles/mixins.scss +0 -54
- package/src/components/Card/styles/style.scss +0 -33
- package/src/components/Card/tests/Card.conformance.test.js +0 -32
- package/src/components/Card/tests/Card.unit.test.js +0 -48
- package/src/components/Card/tests/CardHeader.unit.test.js +0 -41
- package/src/components/Card/tests/CardSection.unit.test.js +0 -50
- package/src/components/Card/tests/data.js +0 -42
- package/src/components/Carousel/Carousel.js +0 -92
- package/src/components/Carousel/Carousel.mdx +0 -163
- package/src/components/Carousel/Carousel.static.js +0 -188
- package/src/components/Carousel/CarouselItem.js +0 -20
- package/src/components/Carousel/constants.js +0 -18
- package/src/components/Carousel/index.js +0 -7
- package/src/components/Carousel/styles/config.scss +0 -63
- package/src/components/Carousel/styles/mixins.scss +0 -241
- package/src/components/Carousel/styles/style.scss +0 -71
- package/src/components/Carousel/tests/Carousel.conformance.test.js +0 -27
- package/src/components/Carousel/tests/Carousel.unit.test.js +0 -153
- package/src/components/Carousel/tests/CarouselItem.unit.test.js +0 -28
- package/src/components/CarouselPromotions/CarouselPromotions.js +0 -74
- package/src/components/CarouselPromotions/CarouselPromotions.mdx +0 -246
- package/src/components/CarouselPromotions/CarouselPromotions.static.js +0 -233
- package/src/components/CarouselPromotions/CarouselPromotionsItem.js +0 -55
- package/src/components/CarouselPromotions/constants.js +0 -21
- package/src/components/CarouselPromotions/index.js +0 -7
- package/src/components/CarouselPromotions/styles/config.scss +0 -112
- package/src/components/CarouselPromotions/styles/mixins.scss +0 -321
- package/src/components/CarouselPromotions/styles/style.scss +0 -57
- package/src/components/CarouselPromotions/tests/CarouselPromotions.conformance.test.js +0 -31
- package/src/components/CarouselPromotions/tests/CarouselPromotions.unit.test.js +0 -94
- package/src/components/CarouselPromotions/tests/CarouselPromotionsItem.unit.test.js +0 -34
- package/src/components/CartTable/CartTable.js +0 -144
- package/src/components/CartTable/CartTable.mdx +0 -129
- package/src/components/CartTable/FooterNameColumn.js +0 -32
- package/src/components/CartTable/FooterPriceColumn.js +0 -52
- package/src/components/CartTable/Price.js +0 -46
- package/src/components/CartTable/data.js +0 -118
- package/src/components/CartTable/generateFooter.js +0 -71
- package/src/components/CartTable/generateRow.js +0 -171
- package/src/components/CartTable/generateTotal.js +0 -134
- package/src/components/CartTable/index.js +0 -4
- package/src/components/CartTable/styles/config.scss +0 -19
- package/src/components/CartTable/styles/mixins.scss +0 -141
- package/src/components/CartTable/styles/style.scss +0 -37
- package/src/components/CartTable/tests/CartTable.conformance.test.js +0 -17
- package/src/components/Container/Container.js +0 -17
- package/src/components/Container/Container.mdx +0 -18
- package/src/components/Container/index.js +0 -5
- package/src/components/Container/styles/config.scss +0 -11
- package/src/components/Container/styles/mixins.scss +0 -22
- package/src/components/Container/styles/style.scss +0 -5
- package/src/components/Container/tests/Container.conformance.test.js +0 -17
- package/src/components/Container/tests/Container.unit.test.js +0 -27
- package/src/components/ContentBlock/ContentBlock.js +0 -102
- package/src/components/ContentBlock/ContentBlock.mdx +0 -140
- package/src/components/ContentBlock/index.js +0 -3
- package/src/components/ContentBlock/styles/config.scss +0 -15
- package/src/components/ContentBlock/styles/mixins.scss +0 -37
- package/src/components/ContentBlock/styles/style.scss +0 -39
- package/src/components/ContentBlock/tests/ContentBlock.conformance.test.js +0 -27
- package/src/components/ContentBlock/tests/ContentBlock.unit.test.js +0 -123
- package/src/components/Cover/Cover.js +0 -80
- package/src/components/Cover/Cover.mdx +0 -87
- package/src/components/Cover/index.js +0 -5
- package/src/components/Cover/styles/config.scss +0 -55
- package/src/components/Cover/styles/mixins.scss +0 -43
- package/src/components/Cover/styles/style.scss +0 -32
- package/src/components/Cover/tests/Cover.conformance.test.js +0 -28
- package/src/components/Cover/tests/Cover.unit.test.js +0 -116
- package/src/components/Divider/Divider.js +0 -51
- package/src/components/Divider/Divider.mdx +0 -65
- package/src/components/Divider/index.js +0 -5
- package/src/components/Divider/styles/config.scss +0 -22
- package/src/components/Divider/styles/mixins.scss +0 -38
- package/src/components/Divider/styles/style.scss +0 -31
- package/src/components/Divider/tests/Divider.conformance.test.js +0 -24
- package/src/components/Divider/tests/Divider.unit.test.js +0 -81
- package/src/components/Dropdown/Dropdown.js +0 -111
- package/src/components/Dropdown/Dropdown.mdx +0 -260
- package/src/components/Dropdown/Dropdown.static.js +0 -182
- package/src/components/Dropdown/DropdownDivider.js +0 -17
- package/src/components/Dropdown/DropdownItem.js +0 -37
- package/src/components/Dropdown/DropdownToggleButton.js +0 -33
- package/src/components/Dropdown/index.js +0 -6
- package/src/components/Dropdown/styles/config.scss +0 -41
- package/src/components/Dropdown/styles/mixins.scss +0 -82
- package/src/components/Dropdown/styles/style.scss +0 -31
- package/src/components/Dropdown/tests/Dropdown.conformance.test.js +0 -49
- package/src/components/Expander/Expander.js +0 -86
- package/src/components/Expander/Expander.mdx +0 -153
- package/src/components/Expander/Expander.static.js +0 -46
- package/src/components/Expander/index.js +0 -3
- package/src/components/Expander/styles/style.scss +0 -65
- package/src/components/Expander/tests/Expander.conformance.test.js +0 -59
- package/src/components/Expander/tests/Expander.unit.test.js +0 -124
- package/src/components/Forms/Autocomplete/Autocomplete.js +0 -70
- package/src/components/Forms/Autocomplete/Autocomplete.mdx +0 -198
- package/src/components/Forms/Autocomplete/Autocomplete.static.js +0 -65
- package/src/components/Forms/Autocomplete/index.js +0 -3
- package/src/components/Forms/Autocomplete/styles/config.scss +0 -7
- package/src/components/Forms/Autocomplete/styles/mixins.scss +0 -77
- package/src/components/Forms/Autocomplete/styles/style.scss +0 -64
- package/src/components/Forms/Checkbox/Checkbox.js +0 -74
- package/src/components/Forms/Checkbox/Checkbox.mdx +0 -139
- package/src/components/Forms/Checkbox/index.js +0 -3
- package/src/components/Forms/Checkbox/styles/config.scss +0 -26
- package/src/components/Forms/Checkbox/styles/mixins.scss +0 -2
- package/src/components/Forms/Checkbox/styles/style.scss +0 -80
- package/src/components/Forms/Checkbox/tests/Checkbox.unit.test.js +0 -96
- package/src/components/Forms/DatePicker/DatePicker.js +0 -39
- package/src/components/Forms/DatePicker/DatePicker.mdx +0 -149
- package/src/components/Forms/DatePicker/DatePicker.static.js +0 -136
- package/src/components/Forms/DatePicker/index.js +0 -3
- package/src/components/Forms/DatePicker/styles/style.scss +0 -159
- package/src/components/Forms/DatePicker/tests/DatePicker.unit.test.js +0 -263
- package/src/components/Forms/Field/Control.js +0 -111
- package/src/components/Forms/Field/Description.js +0 -27
- package/src/components/Forms/Field/Field.js +0 -137
- package/src/components/Forms/Field/Field.mdx +0 -383
- package/src/components/Forms/Field/FieldContext.js +0 -3
- package/src/components/Forms/Field/Label.js +0 -41
- package/src/components/Forms/Field/Messages.js +0 -22
- package/src/components/Forms/Field/Tooltip.js +0 -29
- package/src/components/Forms/Field/index.js +0 -3
- package/src/components/Forms/Field/styles/config.scss +0 -25
- package/src/components/Forms/Field/styles/mixins.scss +0 -43
- package/src/components/Forms/Field/styles/style.scss +0 -35
- package/src/components/Forms/Field/tests/Autocomplete.Field.conformance.test.js +0 -52
- package/src/components/Forms/Field/tests/Checkbox.Field.conformance.test.js +0 -43
- package/src/components/Forms/Field/tests/Field.unit.test.js +0 -12
- package/src/components/Forms/Field/tests/File.Field.conformance.test.js +0 -47
- package/src/components/Forms/Field/tests/Group.Field.conformance.test.js +0 -47
- package/src/components/Forms/Field/tests/Label.unit.test.js +0 -164
- package/src/components/Forms/Field/tests/Messages.unit.test.js +0 -104
- package/src/components/Forms/Field/tests/Radio.Field.conformance.test.js +0 -43
- package/src/components/Forms/Field/tests/Rangeslider.Field.test.js +0 -60
- package/src/components/Forms/Field/tests/Select.Field.conformance.test.js +0 -45
- package/src/components/Forms/Field/tests/Text.Field.conformance.test.js +0 -43
- package/src/components/Forms/Field/tests/Textarea.Field.conformance.test.js +0 -43
- package/src/components/Forms/Field/tests/Tooltip.unit.test.js +0 -39
- package/src/components/Forms/Field/utils.js +0 -14
- package/src/components/Forms/Fieldset/Fieldset.js +0 -51
- package/src/components/Forms/Fieldset/Fieldset.mdx +0 -178
- package/src/components/Forms/Fieldset/FieldsetContext.js +0 -3
- package/src/components/Forms/Fieldset/docsData.js +0 -75
- package/src/components/Forms/Fieldset/index.js +0 -5
- package/src/components/Forms/Fieldset/styles/mixins.scss +0 -6
- package/src/components/Forms/Fieldset/styles/style.scss +0 -6
- package/src/components/Forms/Fieldset/tests/Fieldset.unit.test.js +0 -64
- package/src/components/Forms/File/File.js +0 -90
- package/src/components/Forms/File/File.mdx +0 -88
- package/src/components/Forms/File/File.static.js +0 -154
- package/src/components/Forms/File/index.js +0 -3
- package/src/components/Forms/File/styles/config.scss +0 -12
- package/src/components/Forms/File/styles/mixins.scss +0 -87
- package/src/components/Forms/File/styles/style.scss +0 -49
- package/src/components/Forms/FormTooltip.mdx +0 -51
- package/src/components/Forms/Forms.mdx +0 -48
- package/src/components/Forms/Group/Group.js +0 -59
- package/src/components/Forms/Group/Group.mdx +0 -146
- package/src/components/Forms/Group/Item.js +0 -31
- package/src/components/Forms/Group/index.js +0 -3
- package/src/components/Forms/Group/styles/config.scss +0 -9
- package/src/components/Forms/Group/styles/mixins.scss +0 -38
- package/src/components/Forms/Group/styles/style.scss +0 -17
- package/src/components/Forms/Group/tests/Group.unit.test.js +0 -172
- package/src/components/Forms/Group/tests/Item.unit.test.js +0 -32
- package/src/components/Forms/Hint/Hint.js +0 -16
- package/src/components/Forms/Hint/Hint.mdx +0 -40
- package/src/components/Forms/Hint/index.js +0 -3
- package/src/components/Forms/Hint/styles/config.scss +0 -5
- package/src/components/Forms/Hint/styles/mixins.scss +0 -6
- package/src/components/Forms/Hint/styles/style.scss +0 -5
- package/src/components/Forms/Hint/tests/Hint.unit.test.js +0 -36
- package/src/components/Forms/InputStepper/InputStepper.js +0 -83
- package/src/components/Forms/InputStepper/InputStepper.mdx +0 -147
- package/src/components/Forms/InputStepper/InputStepper.static.js +0 -162
- package/src/components/Forms/InputStepper/index.js +0 -3
- package/src/components/Forms/InputStepper/styles/style.scss +0 -206
- package/src/components/Forms/InputStepper/tests/InputStepper.unit.test.js +0 -59
- package/src/components/Forms/Label/Label.js +0 -20
- package/src/components/Forms/Label/Label.mdx +0 -95
- package/src/components/Forms/Label/index.js +0 -3
- package/src/components/Forms/Label/styles/config.scss +0 -4
- package/src/components/Forms/Label/styles/mixins.scss +0 -6
- package/src/components/Forms/Label/styles/style.scss +0 -9
- package/src/components/Forms/Label/tests/Label.unit.test.js +0 -43
- package/src/components/Forms/Message/Message.js +0 -58
- package/src/components/Forms/Message/Message.mdx +0 -40
- package/src/components/Forms/Message/index.js +0 -3
- package/src/components/Forms/Message/styles/config.scss +0 -20
- package/src/components/Forms/Message/styles/mixins.scss +0 -23
- package/src/components/Forms/Message/styles/style.scss +0 -10
- package/src/components/Forms/Message/tests/Message.unit.test.js +0 -84
- package/src/components/Forms/Radio/Radio.js +0 -67
- package/src/components/Forms/Radio/Radio.mdx +0 -98
- package/src/components/Forms/Radio/index.js +0 -3
- package/src/components/Forms/Radio/styles/config.scss +0 -26
- package/src/components/Forms/Radio/styles/mixins.scss +0 -6
- package/src/components/Forms/Radio/styles/style.scss +0 -20
- package/src/components/Forms/Radio/tests/Radio.unit.test.js +0 -110
- package/src/components/Forms/RangeSlider/RangeSlider.js +0 -106
- package/src/components/Forms/RangeSlider/RangeSlider.mdx +0 -304
- package/src/components/Forms/RangeSlider/RangeSlider.static.js +0 -90
- package/src/components/Forms/RangeSlider/data.js +0 -48
- package/src/components/Forms/RangeSlider/index.js +0 -4
- package/src/components/Forms/RangeSlider/styles/config.scss +0 -32
- package/src/components/Forms/RangeSlider/styles/mixins.scss +0 -139
- package/src/components/Forms/RangeSlider/styles/style.scss +0 -95
- package/src/components/Forms/Select/Select.js +0 -101
- package/src/components/Forms/Select/Select.mdx +0 -106
- package/src/components/Forms/Select/index.js +0 -10
- package/src/components/Forms/Select/styles/config.scss +0 -53
- package/src/components/Forms/Select/styles/mixins.scss +0 -34
- package/src/components/Forms/Select/styles/style.scss +0 -20
- package/src/components/Forms/Select/tests/Select.unit.test.js +0 -103
- package/src/components/Forms/TextArea/TextArea.js +0 -79
- package/src/components/Forms/TextArea/TextArea.mdx +0 -109
- package/src/components/Forms/TextArea/index.js +0 -3
- package/src/components/Forms/TextArea/styles/config.scss +0 -35
- package/src/components/Forms/TextArea/styles/mixins.scss +0 -48
- package/src/components/Forms/TextArea/styles/style.scss +0 -20
- package/src/components/Forms/TextArea/tests/TextArea.unit.test.js +0 -132
- package/src/components/Forms/TextInput/TextInput.js +0 -96
- package/src/components/Forms/TextInput/TextInput.mdx +0 -153
- package/src/components/Forms/TextInput/index.js +0 -3
- package/src/components/Forms/TextInput/styles/config.scss +0 -60
- package/src/components/Forms/TextInput/styles/mixins.scss +0 -80
- package/src/components/Forms/TextInput/styles/style.scss +0 -28
- package/src/components/Forms/TextInput/tests/TextInput.unit.test.js +0 -109
- package/src/components/Forms/index.js +0 -16
- package/src/components/Forms/styles/config.scss +0 -41
- package/src/components/Forms/styles/mixins.scss +0 -44
- package/src/components/Gauge/Gauge.js +0 -68
- package/src/components/Gauge/Gauge.mdx +0 -35
- package/src/components/Gauge/GaugeMaker.js +0 -82
- package/src/components/Gauge/index.js +0 -5
- package/src/components/Gauge/styles/style.scss +0 -32
- package/src/components/Gauge/tests/Gauge.unit.test.js +0 -35
- package/src/components/Grid/Grid.js +0 -53
- package/src/components/Grid/Grid.mdx +0 -245
- package/src/components/Grid/GridCol.js +0 -38
- package/src/components/Grid/index.js +0 -9
- package/src/components/Grid/styles/config.scss +0 -10
- package/src/components/Grid/styles/mixins.scss +0 -126
- package/src/components/Grid/styles/style.scss +0 -41
- package/src/components/Grid/tests/Grid.conformance.test.js +0 -26
- package/src/components/Grid/tests/Grid.unit.test.js +0 -72
- package/src/components/Grid/tests/GridCol.unit.test.js +0 -62
- package/src/components/Grid/tests/testData.js +0 -24
- package/src/components/Heading/Heading.js +0 -23
- package/src/components/Heading/Heading.mdx +0 -17
- package/src/components/Heading/index.js +0 -1
- package/src/components/Heading/tests/Heading.conformance.test.js +0 -26
- package/src/components/Heading/tests/Heading.unit.test.js +0 -41
- package/src/components/Hero/Hero.js +0 -181
- package/src/components/Hero/Hero.mdx +0 -168
- package/src/components/Hero/HeroPlayground.js +0 -297
- package/src/components/Hero/IframePreview.js +0 -40
- package/src/components/Hero/index.js +0 -3
- package/src/components/Hero/styles/config.scss +0 -13
- package/src/components/Hero/styles/mixins.scss +0 -185
- package/src/components/Hero/styles/style.scss +0 -65
- package/src/components/Hero/tests/Hero.conformance.test.js +0 -29
- package/src/components/Hero/tests/Hero.unit.test.js +0 -271
- package/src/components/Hero/tests/data.js +0 -40
- package/src/components/Icon/Icon.js +0 -59
- package/src/components/Icon/Icon.mdx +0 -172
- package/src/components/Icon/IconSearch.js +0 -234
- package/src/components/Icon/SpritePathContext.js +0 -3
- package/src/components/Icon/iconSearchTags.js +0 -437
- package/src/components/Icon/icons.js +0 -1
- package/src/components/Icon/index.js +0 -6
- package/src/components/Icon/styles/config.scss +0 -26
- package/src/components/Icon/styles/export/color.scss +0 -8
- package/src/components/Icon/styles/export/size.scss +0 -13
- package/src/components/Icon/styles/mixins.scss +0 -31
- package/src/components/Icon/styles/style.scss +0 -13
- package/src/components/Icon/tests/Icon.conformance.test.js +0 -22
- package/src/components/Icon/tests/Icon.unit.test.js +0 -108
- package/src/components/IconList/IconList.js +0 -33
- package/src/components/IconList/IconList.mdx +0 -53
- package/src/components/IconList/Item.js +0 -41
- package/src/components/IconList/index.js +0 -3
- package/src/components/IconList/styles/config.scss +0 -3
- package/src/components/IconList/styles/mixins.scss +0 -33
- package/src/components/IconList/styles/style.scss +0 -21
- package/src/components/IconList/tests/IconList.conformance.test.js +0 -45
- package/src/components/IconList/tests/IconList.unit.test.js +0 -74
- package/src/components/IconList/tests/Item.unit.test.js +0 -131
- package/src/components/Image/Image.js +0 -80
- package/src/components/Image/Image.mdx +0 -98
- package/src/components/Image/index.js +0 -7
- package/src/components/Image/styles/mixins.scss +0 -12
- package/src/components/Image/styles/style.scss +0 -9
- package/src/components/Image/tests/Image.conformance.test.js +0 -46
- package/src/components/Image/tests/Image.unit.test.js +0 -138
- package/src/components/Link/Link.js +0 -59
- package/src/components/Link/Link.mdx +0 -153
- package/src/components/Link/index.js +0 -3
- package/src/components/Link/styles/config.scss +0 -85
- package/src/components/Link/styles/mixins.scss +0 -42
- package/src/components/Link/styles/style.scss +0 -59
- package/src/components/Link/tests/Link.conformance.test.js +0 -24
- package/src/components/Link/tests/Link.unit.test.js +0 -58
- package/src/components/List/ClickableControl.js +0 -29
- package/src/components/List/List.js +0 -37
- package/src/components/List/List.mdx +0 -216
- package/src/components/List/ListItem.js +0 -34
- package/src/components/List/index.js +0 -5
- package/src/components/List/styles/config.scss +0 -38
- package/src/components/List/styles/mixins.scss +0 -99
- package/src/components/List/styles/style.scss +0 -46
- package/src/components/List/tests/ClickableControl.unit.test.js +0 -100
- package/src/components/List/tests/List.conformance.test.js +0 -69
- package/src/components/List/tests/List.unit.test.js +0 -56
- package/src/components/List/tests/ListItem.unit.test.js +0 -104
- package/src/components/Loader/Loader.js +0 -86
- package/src/components/Loader/Loader.mdx +0 -148
- package/src/components/Loader/Loader.static.js +0 -67
- package/src/components/Loader/index.js +0 -4
- package/src/components/Loader/styles/config.scss +0 -16
- package/src/components/Loader/styles/mixins.scss +0 -66
- package/src/components/Loader/styles/style.scss +0 -36
- package/src/components/Loader/tests/Loader.conformance.test.js +0 -23
- package/src/components/Loader/tests/Loader.unit.test.js +0 -60
- package/src/components/Loader/tests/test.scss +0 -5
- package/src/components/Modal/Body.js +0 -37
- package/src/components/Modal/CloseButton.js +0 -18
- package/src/components/Modal/Modal.js +0 -138
- package/src/components/Modal/Modal.mdx +0 -449
- package/src/components/Modal/Modal.static.js +0 -198
- package/src/components/Modal/Title.js +0 -24
- package/src/components/Modal/index.js +0 -7
- package/src/components/Modal/styles/config.scss +0 -42
- package/src/components/Modal/styles/mixins.scss +0 -199
- package/src/components/Modal/styles/style.scss +0 -97
- package/src/components/Modal/tests/Body.unit.test.js +0 -40
- package/src/components/Modal/tests/CloseButton.unit.test.js +0 -81
- package/src/components/Modal/tests/Modal.conformance.test.js +0 -41
- package/src/components/Modal/tests/Modal.unit.test.js +0 -56
- package/src/components/Modal/tests/Title.unit.test.js +0 -25
- package/src/components/PageTitle/PageTitle.js +0 -94
- package/src/components/PageTitle/PageTitle.mdx +0 -185
- package/src/components/PageTitle/index.js +0 -1
- package/src/components/PageTitle/tests/PageTitle.conformance.test.js +0 -39
- package/src/components/PageTitle/tests/PageTitle.unit.test.js +0 -208
- package/src/components/PageTitle/tests/data.js +0 -26
- package/src/components/Pagination/Item.js +0 -63
- package/src/components/Pagination/Pagination.js +0 -70
- package/src/components/Pagination/Pagination.mdx +0 -45
- package/src/components/Pagination/Separator.js +0 -18
- package/src/components/Pagination/helpers.js +0 -47
- package/src/components/Pagination/index.js +0 -3
- package/src/components/Pagination/styles/mixins.scss +0 -38
- package/src/components/Pagination/styles/style.scss +0 -27
- package/src/components/Pagination/tests/Item.unit.test.js +0 -96
- package/src/components/Pagination/tests/Pagination.conformance.test.js +0 -41
- package/src/components/Pagination/tests/Pagination.unit.test.js +0 -108
- package/src/components/Pagination/tests/Separator.unit.test.js +0 -25
- package/src/components/Pagination/tests/utils.js +0 -12
- package/src/components/Pill/Pill.js +0 -14
- package/src/components/Pill/Pill.mdx +0 -41
- package/src/components/Pill/index.js +0 -3
- package/src/components/Pill/styles/config.scss +0 -8
- package/src/components/Pill/styles/mixins.scss +0 -19
- package/src/components/Pill/styles/style.scss +0 -7
- package/src/components/Pill/tests/Pill.conformance.test.js +0 -32
- package/src/components/Pill/tests/Pill.unit.test.js +0 -39
- package/src/components/Progress/Progress.js +0 -52
- package/src/components/Progress/Progress.mdx +0 -119
- package/src/components/Progress/index.js +0 -5
- package/src/components/Progress/styles/config.scss +0 -19
- package/src/components/Progress/styles/mixins.scss +0 -40
- package/src/components/Progress/styles/style.scss +0 -29
- package/src/components/Progress/tests/Progress.conformance.test.js +0 -27
- package/src/components/Progress/tests/Progress.unit.test.js +0 -108
- package/src/components/PromotionCard/PromotionCard.js +0 -32
- package/src/components/PromotionCard/PromotionCard.mdx +0 -148
- package/src/components/PromotionCard/PromotionCardContent.js +0 -23
- package/src/components/PromotionCard/PromotionCardImageWrapper.js +0 -23
- package/src/components/PromotionCard/PromotionCardSection.js +0 -31
- package/src/components/PromotionCard/PromotionCardTitle.js +0 -19
- package/src/components/PromotionCard/constants.js +0 -5
- package/src/components/PromotionCard/index.js +0 -9
- package/src/components/PromotionCard/styles/config.scss +0 -4
- package/src/components/PromotionCard/styles/mixins.scss +0 -83
- package/src/components/PromotionCard/styles/style.scss +0 -23
- package/src/components/Section/Section.js +0 -52
- package/src/components/Section/Section.mdx +0 -254
- package/src/components/Section/index.js +0 -4
- package/src/components/Section/styles/config.scss +0 -38
- package/src/components/Section/styles/mixins.scss +0 -30
- package/src/components/Section/styles/style.scss +0 -35
- package/src/components/Section/tests/Section.conformance.test.js +0 -17
- package/src/components/Section/tests/Section.unit.test.js +0 -57
- package/src/components/Skeleton/Skeleton.js +0 -18
- package/src/components/Skeleton/Skeleton.mdx +0 -90
- package/src/components/Skeleton/index.js +0 -4
- package/src/components/Skeleton/styles/config.scss +0 -29
- package/src/components/Skeleton/styles/mixins.scss +0 -22
- package/src/components/Skeleton/styles/style.scss +0 -5
- package/src/components/Skeleton/tests/Skeleton.conformance.test.js +0 -17
- package/src/components/Skeleton/tests/Skeleton.unit.test.js +0 -23
- package/src/components/SkipLink/SkipLink.js +0 -25
- package/src/components/SkipLink/SkipLink.mdx +0 -23
- package/src/components/SkipLink/index.js +0 -3
- package/src/components/SkipLink/styles/style.scss +0 -18
- package/src/components/SkipLink/tests/SkipLink.unit.test.js +0 -74
- package/src/components/Stepbar/Stepbar.js +0 -96
- package/src/components/Stepbar/Stepbar.mdx +0 -137
- package/src/components/Stepbar/index.js +0 -3
- package/src/components/Stepbar/styles/config.scss +0 -106
- package/src/components/Stepbar/styles/mixins.scss +0 -140
- package/src/components/Stepbar/styles/style.scss +0 -76
- package/src/components/Stepbar/tests/Stepbar.conformance.test.js +0 -35
- package/src/components/Stepbar/tests/Stepbar.unit.test.js +0 -93
- package/src/components/Sticker/Sticker.js +0 -32
- package/src/components/Sticker/Sticker.mdx +0 -50
- package/src/components/Sticker/index.js +0 -4
- package/src/components/Sticker/styles/config.scss +0 -31
- package/src/components/Sticker/styles/mixins.scss +0 -25
- package/src/components/Sticker/styles/style.scss +0 -20
- package/src/components/Sticker/tests/Sticker.conformance.test.js +0 -17
- package/src/components/Sticker/tests/Sticker.unit.test.js +0 -35
- package/src/components/Table/Cell.js +0 -23
- package/src/components/Table/Footer.js +0 -17
- package/src/components/Table/Header.js +0 -60
- package/src/components/Table/Row.js +0 -52
- package/src/components/Table/Rows.js +0 -29
- package/src/components/Table/Table.js +0 -153
- package/src/components/Table/Table.mdx +0 -199
- package/src/components/Table/Table.static.js +0 -129
- package/src/components/Table/TableContext.js +0 -3
- package/src/components/Table/docsData.js +0 -189
- package/src/components/Table/index.js +0 -5
- package/src/components/Table/styles/config.scss +0 -4
- package/src/components/Table/styles/mixins.scss +0 -115
- package/src/components/Table/styles/style.scss +0 -101
- package/src/components/Table/tests/Cell.unit.test.js +0 -60
- package/src/components/Table/tests/Footer.unit.test.js +0 -71
- package/src/components/Table/tests/Header.unit.test.js +0 -121
- package/src/components/Table/tests/Row.unit.test.js +0 -207
- package/src/components/Table/tests/Rows.unit.test.js +0 -93
- package/src/components/Table/tests/Table.conformance.test.js +0 -77
- package/src/components/Table/tests/Table.unit.test.js +0 -276
- package/src/components/Tabs/Tab.js +0 -55
- package/src/components/Tabs/TabPanel.js +0 -51
- package/src/components/Tabs/Tabs.js +0 -128
- package/src/components/Tabs/Tabs.mdx +0 -373
- package/src/components/Tabs/Tabs.static.js +0 -164
- package/src/components/Tabs/index.js +0 -5
- package/src/components/Tabs/styles/config.scss +0 -78
- package/src/components/Tabs/styles/mixins.scss +0 -107
- package/src/components/Tabs/styles/style.scss +0 -64
- package/src/components/Tabs/tests/Tab.unit.test.js +0 -90
- package/src/components/Tabs/tests/TabPanel.unit.test.js +0 -58
- package/src/components/Tabs/tests/Tabs.unit.test.js +0 -264
- package/src/components/Testimonial/Testimonial.js +0 -37
- package/src/components/Testimonial/Testimonial.mdx +0 -41
- package/src/components/Testimonial/index.js +0 -5
- package/src/components/Testimonial/styles/config.scss +0 -39
- package/src/components/Testimonial/styles/mixins.scss +0 -40
- package/src/components/Testimonial/styles/style.scss +0 -14
- package/src/components/Testimonial/tests/Testimonial.conformance.test.js +0 -17
- package/src/components/Testimonial/tests/Testimonial.unit.test.js +0 -44
- package/src/components/Tile/Tile.js +0 -69
- package/src/components/Tile/Tile.mdx +0 -163
- package/src/components/Tile/index.js +0 -5
- package/src/components/Tile/styles/config.scss +0 -19
- package/src/components/Tile/styles/style.scss +0 -49
- package/src/components/Tile/tests/Tile.conformance.test.js +0 -17
- package/src/components/Tile/tests/Tile.unit.test.js +0 -164
- package/src/components/Tooltip/InfoTooltip.js +0 -29
- package/src/components/Tooltip/Tooltip.js +0 -107
- package/src/components/Tooltip/Tooltip.mdx +0 -227
- package/src/components/Tooltip/Tooltip.static.js +0 -252
- package/src/components/Tooltip/index.js +0 -4
- package/src/components/Tooltip/styles/config.scss +0 -47
- package/src/components/Tooltip/styles/mixins.scss +0 -94
- package/src/components/Tooltip/styles/style.scss +0 -28
- package/src/components/Tooltip/tests/BaseWrapper.js +0 -10
- package/src/components/Tooltip/tests/InfoTooltip.unit.test.js +0 -99
- package/src/components/Tooltip/tests/Tooltip.conformance.test.js +0 -43
- package/src/components/Tooltip/tests/Tooltip.unit.test.js +0 -298
- package/src/components/Typography/docs/BodyCopy.mdx +0 -95
- package/src/components/Typography/docs/DisplayHeadings.mdx +0 -124
- package/src/components/Typography/docs/Headings.mdx +0 -162
- package/src/components/Typography/docs/Lists.mdx +0 -205
- package/src/components/Typography/docs/Typeface.mdx +0 -14
- package/src/components/_templates/component/new/Component.docs.ejs.t +0 -127
- package/src/components/_templates/component/new/Component.ejs.t +0 -68
- package/src/components/_templates/component/new/Component.static.ejs.t +0 -21
- package/src/components/_templates/component/new/config.ejs.t +0 -5
- package/src/components/_templates/component/new/index.ejs.t +0 -7
- package/src/components/_templates/component/new/prompt.js +0 -34
- package/src/components/_templates/component/new/style.ejs.t +0 -5
- package/src/components/index.js +0 -155
- package/src/components/static.js +0 -1
|
@@ -1,449 +0,0 @@
|
|
|
1
|
-
import { loremIpsum } from 'lorem-ipsum';
|
|
2
|
-
import parse from 'html-react-parser';
|
|
3
|
-
import {
|
|
4
|
-
Note,
|
|
5
|
-
ComponentDocs,
|
|
6
|
-
Preview,
|
|
7
|
-
DocsTable,
|
|
8
|
-
Code,
|
|
9
|
-
Link,
|
|
10
|
-
} from '@lighting-beetle/lighter-styleguide';
|
|
11
|
-
|
|
12
|
-
import Button, { ButtonSecondary } from '../Button';
|
|
13
|
-
import Buttons from '../Buttons';
|
|
14
|
-
import Grid, { GridCol } from '../Grid';
|
|
15
|
-
import Icon from '../Icon';
|
|
16
|
-
import IconList from '../IconList';
|
|
17
|
-
import Image from '../Image';
|
|
18
|
-
import Modal, { ModalHeader, ModalBody, ModalFooter } from '.';
|
|
19
|
-
|
|
20
|
-
export const actionButtons = [
|
|
21
|
-
<Button type="primary" data-a11y-dialog-hide key="1">
|
|
22
|
-
Potvrdiť
|
|
23
|
-
</Button>,
|
|
24
|
-
<Button data-a11y-dialog-hide key="2">
|
|
25
|
-
Zatvoriť
|
|
26
|
-
</Button>,
|
|
27
|
-
];
|
|
28
|
-
|
|
29
|
-
export const Checkmarks = ({ count, icon, content, ...other }) => (
|
|
30
|
-
<Grid className="mb-xlarge" {...other}>
|
|
31
|
-
{[...Array(count)].map((_, i) => (
|
|
32
|
-
<GridCol key={i.toString()} size={{ md: 4 }}>
|
|
33
|
-
<Icon name={icon} size="large" className="mb-small" />
|
|
34
|
-
{content}
|
|
35
|
-
</GridCol>
|
|
36
|
-
))}
|
|
37
|
-
</Grid>
|
|
38
|
-
);
|
|
39
|
-
|
|
40
|
-
export const PopulatedIconList = () => (
|
|
41
|
-
<IconList
|
|
42
|
-
items={[
|
|
43
|
-
{
|
|
44
|
-
icon: 'money-box',
|
|
45
|
-
content: loremIpsum({ count: 1, units: 'sentence' }),
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
icon: 'antenna',
|
|
49
|
-
content: loremIpsum({ count: 1, units: 'sentence' }),
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
icon: 'buy',
|
|
53
|
-
content: loremIpsum({ count: 1, units: 'sentence' }),
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
icon: 'cinema-ticket-2-for-1',
|
|
57
|
-
content: loremIpsum({ count: 1, units: 'sentence' }),
|
|
58
|
-
},
|
|
59
|
-
]}
|
|
60
|
-
/>
|
|
61
|
-
);
|
|
62
|
-
|
|
63
|
-
# Modal
|
|
64
|
-
|
|
65
|
-
Additional layer floating above the main content which temporarily interrupts current task.
|
|
66
|
-
Requires user interaction before they can proceed.
|
|
67
|
-
|
|
68
|
-
<Preview>
|
|
69
|
-
<Button data-a11y-dialog-show="modal">Open Modal</Button>
|
|
70
|
-
<Modal id="modal" title="Example modal">
|
|
71
|
-
{parse(loremIpsum({ count: 10, units: 'paragraph', format: 'html' }))}
|
|
72
|
-
</Modal>
|
|
73
|
-
</Preview>
|
|
74
|
-
|
|
75
|
-
## Sizes
|
|
76
|
-
|
|
77
|
-
Adjust spacing and maximum width. Each size comes with a default title size, which can
|
|
78
|
-
be customized when required.
|
|
79
|
-
|
|
80
|
-
### Small
|
|
81
|
-
|
|
82
|
-
<Preview>
|
|
83
|
-
<Button data-a11y-dialog-show="modal-small">Open small Modal</Button>
|
|
84
|
-
<Modal
|
|
85
|
-
id="modal-small"
|
|
86
|
-
size="small"
|
|
87
|
-
title="Small modal"
|
|
88
|
-
actions={actionButtons}
|
|
89
|
-
>
|
|
90
|
-
{parse(loremIpsum({ count: 1, units: 'paragraph', format: 'html' }))}
|
|
91
|
-
</Modal>
|
|
92
|
-
</Preview>
|
|
93
|
-
|
|
94
|
-
### Default
|
|
95
|
-
|
|
96
|
-
<Preview>
|
|
97
|
-
<Button data-a11y-dialog-show="modal-default">Open default Modal</Button>
|
|
98
|
-
<Modal id="modal-default" title="Default modal" actions={actionButtons}>
|
|
99
|
-
<Checkmarks
|
|
100
|
-
count={3}
|
|
101
|
-
icon="checked"
|
|
102
|
-
content={parse(
|
|
103
|
-
loremIpsum({ count: 1, units: 'sentence', format: 'html' })
|
|
104
|
-
)}
|
|
105
|
-
/>
|
|
106
|
-
<PopulatedIconList />
|
|
107
|
-
</Modal>
|
|
108
|
-
</Preview>
|
|
109
|
-
|
|
110
|
-
### Large
|
|
111
|
-
|
|
112
|
-
<Preview>
|
|
113
|
-
<Button data-a11y-dialog-show="modal-large">Open large Modal</Button>
|
|
114
|
-
<Modal
|
|
115
|
-
id="modal-large"
|
|
116
|
-
title="Large modal"
|
|
117
|
-
actions={actionButtons}
|
|
118
|
-
size="large"
|
|
119
|
-
>
|
|
120
|
-
<p className="mb-xlarge">{loremIpsum({ count: 1, units: 'paragraph' })}</p>
|
|
121
|
-
<Checkmarks
|
|
122
|
-
count={5}
|
|
123
|
-
icon="checked"
|
|
124
|
-
content={parse(
|
|
125
|
-
loremIpsum({ count: 1, units: 'sentence', format: 'html' })
|
|
126
|
-
)}
|
|
127
|
-
/>
|
|
128
|
-
<PopulatedIconList />
|
|
129
|
-
</Modal>
|
|
130
|
-
</Preview>
|
|
131
|
-
|
|
132
|
-
## Custom title
|
|
133
|
-
|
|
134
|
-
Customize the title and other content inside header.
|
|
135
|
-
|
|
136
|
-
<Preview>
|
|
137
|
-
<Button data-a11y-dialog-show="modal-custom-title">
|
|
138
|
-
Open Modal with custom title
|
|
139
|
-
</Button>
|
|
140
|
-
<Modal
|
|
141
|
-
id="modal-custom-title"
|
|
142
|
-
actions={actionButtons}
|
|
143
|
-
renderTitle={() => (
|
|
144
|
-
<>
|
|
145
|
-
<a href="/" className="mb">
|
|
146
|
-
<Icon className="link__icon-left" name="chevron-left" />
|
|
147
|
-
Return to previous step
|
|
148
|
-
</a>
|
|
149
|
-
<h2>Modal with custom title and content.</h2>
|
|
150
|
-
<p className="mb-none">{loremIpsum({ count: 1, units: 'sentence' })}</p>
|
|
151
|
-
</>
|
|
152
|
-
)}
|
|
153
|
-
>
|
|
154
|
-
{parse(loremIpsum({ count: 10, units: 'paragraph', format: 'html' }))}
|
|
155
|
-
</Modal>
|
|
156
|
-
</Preview>
|
|
157
|
-
|
|
158
|
-
## Custom footer
|
|
159
|
-
|
|
160
|
-
Customize the footer. Should be primary used for specific action button cases.
|
|
161
|
-
|
|
162
|
-
<Preview>
|
|
163
|
-
<Button data-a11y-dialog-show="modal-custom-footer">
|
|
164
|
-
Open Modal with custom footer
|
|
165
|
-
</Button>
|
|
166
|
-
<Modal
|
|
167
|
-
id="modal-custom-footer"
|
|
168
|
-
actions={actionButtons}
|
|
169
|
-
title="Modal with custom footer and content"
|
|
170
|
-
renderFooter={() => (
|
|
171
|
-
<>
|
|
172
|
-
<Buttons isStackedOnXs>
|
|
173
|
-
<Button type="primary">Log in</Button>
|
|
174
|
-
<Button>Continue as new customer</Button>
|
|
175
|
-
</Buttons>
|
|
176
|
-
<button className="link">Other action button</button>
|
|
177
|
-
</>
|
|
178
|
-
)}
|
|
179
|
-
>
|
|
180
|
-
{parse(loremIpsum({ count: 1, units: 'paragraph', format: 'html' }))}
|
|
181
|
-
</Modal>
|
|
182
|
-
</Preview>
|
|
183
|
-
|
|
184
|
-
## Full height on XS
|
|
185
|
-
|
|
186
|
-
On XS screens (mobile devices), the modal will take the full height of the viewport to maintain a consistent height when the modal contains a flow or multiple steps.
|
|
187
|
-
|
|
188
|
-
<Preview>
|
|
189
|
-
<Button data-a11y-dialog-show="modal-full-height">
|
|
190
|
-
Open full height Modal on XS screen
|
|
191
|
-
</Button>
|
|
192
|
-
<Modal
|
|
193
|
-
id="modal-full-height"
|
|
194
|
-
title="Full height modal on XS screen"
|
|
195
|
-
fullHeight
|
|
196
|
-
actions={actionButtons}
|
|
197
|
-
>
|
|
198
|
-
{parse(loremIpsum({ count: 1, units: 'paragraph', format: 'html' }))}
|
|
199
|
-
</Modal>
|
|
200
|
-
</Preview>
|
|
201
|
-
|
|
202
|
-
## Sticky footer
|
|
203
|
-
|
|
204
|
-
Sticky footers do not stick in IE, as it [does not support `position: sticky`](https://caniuse.com/css-sticky).
|
|
205
|
-
|
|
206
|
-
<Preview>
|
|
207
|
-
<Button data-a11y-dialog-show="modal-sticky-footer">
|
|
208
|
-
Open Modal with sticky footer
|
|
209
|
-
</Button>
|
|
210
|
-
<Modal
|
|
211
|
-
id="modal-sticky-footer"
|
|
212
|
-
size="large"
|
|
213
|
-
title="Sticky footer"
|
|
214
|
-
hasStickyFooter
|
|
215
|
-
actions={actionButtons}
|
|
216
|
-
>
|
|
217
|
-
<p className="mb-xlarge">{loremIpsum({ count: 1, units: 'paragraph' })}</p>
|
|
218
|
-
<Grid className="mb-xlarge">
|
|
219
|
-
<GridCol size="auto">
|
|
220
|
-
<Image alt="" src="https://placehold.co/300x300" />
|
|
221
|
-
</GridCol>
|
|
222
|
-
<GridCol size="fill">
|
|
223
|
-
<h3 className="h2" hasMdxLink={false}>
|
|
224
|
-
{loremIpsum({ count: 4, units: 'word' })}
|
|
225
|
-
</h3>
|
|
226
|
-
<IconList
|
|
227
|
-
items={[...Array(4)].map(i => ({
|
|
228
|
-
icon: 'tick',
|
|
229
|
-
content: loremIpsum({ count: 5, units: 'word' }),
|
|
230
|
-
}))}
|
|
231
|
-
/>
|
|
232
|
-
</GridCol>
|
|
233
|
-
</Grid>
|
|
234
|
-
<h3>{loremIpsum({ count: 3, units: 'word' })}</h3>
|
|
235
|
-
<Checkmarks
|
|
236
|
-
count={5}
|
|
237
|
-
icon="checked"
|
|
238
|
-
content={parse(
|
|
239
|
-
loremIpsum({ count: 1, units: 'sentence', format: 'html' })
|
|
240
|
-
)}
|
|
241
|
-
/>
|
|
242
|
-
<h3>{loremIpsum({ count: 3, units: 'word' })}</h3>
|
|
243
|
-
<Checkmarks
|
|
244
|
-
count={3}
|
|
245
|
-
icon="battery-charging"
|
|
246
|
-
content={
|
|
247
|
-
<React.Fragment>
|
|
248
|
-
<h4 hasMdxLink={false}>{loremIpsum({ count: 3, units: 'word' })}</h4>
|
|
249
|
-
<ul>
|
|
250
|
-
{[...Array(3)].map((_, i) => (
|
|
251
|
-
<li key={i.toString()}>
|
|
252
|
-
{loremIpsum({ count: 1, units: 'sentence' })}
|
|
253
|
-
</li>
|
|
254
|
-
))}
|
|
255
|
-
</ul>
|
|
256
|
-
</React.Fragment>
|
|
257
|
-
}
|
|
258
|
-
/>
|
|
259
|
-
<PopulatedIconList />
|
|
260
|
-
</Modal>
|
|
261
|
-
</Preview>
|
|
262
|
-
|
|
263
|
-
## Colorful body
|
|
264
|
-
|
|
265
|
-
A modal can contain multiple body containers to divide it's content into multiple colorful sections.
|
|
266
|
-
Colorful body provides vertical spacing needed to visually divide each section. Color is added using
|
|
267
|
-
[background color utilities](utilities/color#background-color). Make sure to pick an
|
|
268
|
-
[accessible color combination](http://localhost:3000/fundamentals/color-palette#accessible-combinations).
|
|
269
|
-
|
|
270
|
-
Use [spacing utilities](/utilities/spacing#resets) to remove top/bottom padding
|
|
271
|
-
when the first/last body element is using default color (white).
|
|
272
|
-
|
|
273
|
-
<Preview>
|
|
274
|
-
<Button data-a11y-dialog-show="modal-colorful">
|
|
275
|
-
Open Modal with colorful body
|
|
276
|
-
</Button>
|
|
277
|
-
<Modal
|
|
278
|
-
id="modal-colorful"
|
|
279
|
-
title="Colorful modal"
|
|
280
|
-
size="large"
|
|
281
|
-
renderBody={title => (
|
|
282
|
-
<>
|
|
283
|
-
<ModalBody color="white" className="pt-none">
|
|
284
|
-
{title}
|
|
285
|
-
<p className="mb-xlarge">
|
|
286
|
-
{loremIpsum({ count: 1, units: 'paragraph' })}
|
|
287
|
-
</p>
|
|
288
|
-
<Grid className="mb-large">
|
|
289
|
-
<GridCol size="auto">
|
|
290
|
-
<Image alt="" src="https://placehold.co/300x300" />
|
|
291
|
-
</GridCol>
|
|
292
|
-
<GridCol size="fill">
|
|
293
|
-
<h3 className="h2" hasMdxLink={false}>
|
|
294
|
-
{loremIpsum({ count: 4, units: 'word' })}
|
|
295
|
-
</h3>
|
|
296
|
-
<IconList
|
|
297
|
-
items={[...Array(4)].map(i => ({
|
|
298
|
-
icon: 'tick',
|
|
299
|
-
content: loremIpsum({ count: 5, units: 'word' }),
|
|
300
|
-
}))}
|
|
301
|
-
/>
|
|
302
|
-
</GridCol>
|
|
303
|
-
</Grid>
|
|
304
|
-
</ModalBody>
|
|
305
|
-
<ModalBody color="gray">
|
|
306
|
-
<Checkmarks
|
|
307
|
-
count={3}
|
|
308
|
-
icon="battery-charging"
|
|
309
|
-
className=""
|
|
310
|
-
content={
|
|
311
|
-
<React.Fragment>
|
|
312
|
-
<h4 hasMdxLink={false}>
|
|
313
|
-
{loremIpsum({ count: 3, units: 'word' })}
|
|
314
|
-
</h4>
|
|
315
|
-
<ul>
|
|
316
|
-
{[...Array(3)].map((_, i) => (
|
|
317
|
-
<li key={i.toString()}>
|
|
318
|
-
{loremIpsum({ count: 1, units: 'sentence' })}
|
|
319
|
-
</li>
|
|
320
|
-
))}
|
|
321
|
-
</ul>
|
|
322
|
-
</React.Fragment>
|
|
323
|
-
}
|
|
324
|
-
/>
|
|
325
|
-
</ModalBody>
|
|
326
|
-
</>
|
|
327
|
-
)}
|
|
328
|
-
/>
|
|
329
|
-
</Preview>
|
|
330
|
-
|
|
331
|
-
## Props
|
|
332
|
-
|
|
333
|
-
<ComponentDocs title="<Modal />" component={Modal} />
|
|
334
|
-
|
|
335
|
-
## JS module reference
|
|
336
|
-
|
|
337
|
-
Modal is backed with [a11y-dialog | see docs](https://github.com/edenspiekermann/a11y-dialog)
|
|
338
|
-
|
|
339
|
-
If you omit `data-modal` attribute on `<div class="modal" />` element, modal
|
|
340
|
-
won't be initialized and you need to initialize it manually. Then you will have
|
|
341
|
-
access to instance and you can handle modals programatically.
|
|
342
|
-
|
|
343
|
-
```js
|
|
344
|
-
const instance = new window.ODS.modules.Modal(
|
|
345
|
-
document.getElementById('my-modal'),
|
|
346
|
-
config
|
|
347
|
-
);
|
|
348
|
-
```
|
|
349
|
-
|
|
350
|
-
### Config
|
|
351
|
-
|
|
352
|
-
<DocsTable
|
|
353
|
-
data={[
|
|
354
|
-
{
|
|
355
|
-
prop: 'classModalIsOpen',
|
|
356
|
-
type: 'string',
|
|
357
|
-
default: 'is-active',
|
|
358
|
-
description: 'Class which indicates that modal is open.',
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
prop: 'classModalIsOpenBody',
|
|
362
|
-
type: 'string',
|
|
363
|
-
default: 'has-modal',
|
|
364
|
-
description: 'Class on body which indicates that modal is open.',
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
prop: 'root',
|
|
368
|
-
type: 'string',
|
|
369
|
-
default: '#root',
|
|
370
|
-
description:
|
|
371
|
-
'Root of page content which should be hidden when modal is open.',
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
prop: 'modalsRoot',
|
|
375
|
-
type: 'string',
|
|
376
|
-
default: '#root-modals',
|
|
377
|
-
description:
|
|
378
|
-
"Element on page where modal is to be placed. This elements should placed outside main content (`'root'` option) and usually at the and of body tag.",
|
|
379
|
-
},
|
|
380
|
-
]}
|
|
381
|
-
/>
|
|
382
|
-
|
|
383
|
-
### Methods
|
|
384
|
-
|
|
385
|
-
```js
|
|
386
|
-
const instance = document.querySelector(elementSelector).ODS_Modal;
|
|
387
|
-
instance.method();
|
|
388
|
-
```
|
|
389
|
-
|
|
390
|
-
<DocsTable
|
|
391
|
-
data={[
|
|
392
|
-
{
|
|
393
|
-
prop: 'init',
|
|
394
|
-
type: 'func',
|
|
395
|
-
default: '() => {}',
|
|
396
|
-
description:
|
|
397
|
-
'Initialize instance. This is called automatically on `new Plugin(el, config)`',
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
prop: 'destroy',
|
|
401
|
-
type: 'func',
|
|
402
|
-
default: '() => {}',
|
|
403
|
-
description: 'Destroy the instance - removes all listeners',
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
prop: 'update',
|
|
407
|
-
type: 'func',
|
|
408
|
-
default: '() => {}',
|
|
409
|
-
description: 'Updates an instance.',
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
prop: 'show',
|
|
413
|
-
type: 'func',
|
|
414
|
-
default: '() => {}',
|
|
415
|
-
description: 'Shows modal programmatically.',
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
prop: 'hide',
|
|
419
|
-
type: 'func',
|
|
420
|
-
default: '() => {}',
|
|
421
|
-
description: 'Hides modal programmatically.',
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
prop: 'static getInstance',
|
|
425
|
-
type: 'func',
|
|
426
|
-
default: 'element => {}',
|
|
427
|
-
description:
|
|
428
|
-
'Get instance of `Modal` attached to specific DOM element (usually `[data-modal]`).',
|
|
429
|
-
},
|
|
430
|
-
]}
|
|
431
|
-
/>
|
|
432
|
-
<Note title="Modal triggers">
|
|
433
|
-
<strong>a11y-dialog</strong> collects all modal openers/triggers with
|
|
434
|
-
querySelector and add them event listeners after page is loaded. Because of
|
|
435
|
-
that, is important to keep in mind, that every new opener/trigger added to DOM
|
|
436
|
-
programatically after page load <strong>will not work</strong>. Workaround is
|
|
437
|
-
to use instance of Modal component and call <strong>show()</strong> method to
|
|
438
|
-
open Modal window.
|
|
439
|
-
</Note>
|
|
440
|
-
|
|
441
|
-
## Accessibility
|
|
442
|
-
|
|
443
|
-
- Modals should only be opened by activating a `button` element.
|
|
444
|
-
- Opening a modal sets focus on element with `data-a11y-modal-initial-focus`
|
|
445
|
-
attribute (modal title by default). When not present, focus is set on first
|
|
446
|
-
focusable element, usually the close button.
|
|
447
|
-
- An open modal traps focus. It must always contain a close button.
|
|
448
|
-
- Pressing ESC or clicking the overlay closes the modal.
|
|
449
|
-
- Closing a modal sets focus back on the activating `button` element.
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
import A11yDialog from 'a11y-dialog';
|
|
2
|
-
import { isTabbable } from 'tabbable';
|
|
3
|
-
|
|
4
|
-
const defaultConfig = () => ({
|
|
5
|
-
/** Class which indicates that modal is open */
|
|
6
|
-
classModalIsOpen: 'is-active',
|
|
7
|
-
/** Class on body which indicates that modal is open */
|
|
8
|
-
classModalIsOpenBody: 'has-modal',
|
|
9
|
-
/** Root of page content which should be hidden when modal is open */
|
|
10
|
-
root: '#root',
|
|
11
|
-
/** Move modal into this element selector (must be unique in DOM) */
|
|
12
|
-
modalsRoot: '#root-modals',
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
export default class Modal {
|
|
16
|
-
constructor(element, config) {
|
|
17
|
-
this.element = element;
|
|
18
|
-
this.config = { ...defaultConfig(), ...config };
|
|
19
|
-
|
|
20
|
-
this.handleShow = this.handleShow.bind(this);
|
|
21
|
-
this.handleHide = this.handleHide.bind(this);
|
|
22
|
-
this.show = this.show.bind(this);
|
|
23
|
-
this.hide = this.hide.bind(this);
|
|
24
|
-
this.headerFirstItemSpacing = this.headerFirstItemSpacing.bind(this);
|
|
25
|
-
|
|
26
|
-
Modal.moveToModalRoot = Modal.moveToModalRoot.bind(this);
|
|
27
|
-
Modal.lockBody = Modal.lockBody.bind(this);
|
|
28
|
-
Modal.unlockBody = Modal.unlockBody.bind(this);
|
|
29
|
-
|
|
30
|
-
this.element.ODS_Modal = this;
|
|
31
|
-
|
|
32
|
-
this.init();
|
|
33
|
-
|
|
34
|
-
return this;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
static getInstance(el) {
|
|
38
|
-
return el && el.ODS_Modal ? el.ODS_Modal : null;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
handleShow(el) {
|
|
42
|
-
this.constructor.lockBody();
|
|
43
|
-
if (el) el.classList.add(this.config.classModalIsOpen);
|
|
44
|
-
|
|
45
|
-
// Long modals can have first focusabble element under the fold, so static content above the fold should be focused instead to prevent undesirable scrolling
|
|
46
|
-
const initialFocusEl = el.querySelector('[data-a11y-dialog-initial-focus]');
|
|
47
|
-
|
|
48
|
-
if (!initialFocusEl) {
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// set tabindex to -1 so element can't be focused via keyboard
|
|
53
|
-
if (!isTabbable(initialFocusEl)) {
|
|
54
|
-
initialFocusEl.setAttribute('tabindex', '-1');
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
initialFocusEl.focus();
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
handleHide(el) {
|
|
61
|
-
this.constructor.unlockBody();
|
|
62
|
-
if (el) el.classList.remove(this.config.classModalIsOpen);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
show() {
|
|
66
|
-
this.instance.show();
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
hide() {
|
|
70
|
-
this.instance.hide();
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
headerFirstItemSpacing() {
|
|
74
|
-
/**
|
|
75
|
-
* Target the first element which is not .btn inside .modal__header and add margin-right 40px.
|
|
76
|
-
* css has its limitations and it is not possible with pseudo selectors
|
|
77
|
-
*/
|
|
78
|
-
const modalHeader = this.element.querySelector('.modal__header');
|
|
79
|
-
if (modalHeader) {
|
|
80
|
-
const firstNonBtnElement = Array.from(modalHeader.children).find(
|
|
81
|
-
child => !child.classList.contains('btn')
|
|
82
|
-
);
|
|
83
|
-
if (firstNonBtnElement) {
|
|
84
|
-
firstNonBtnElement.style.marginRight = '40px';
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
init() {
|
|
90
|
-
if (this.config.modalsRoot) {
|
|
91
|
-
Modal.moveToModalRoot(
|
|
92
|
-
this.element,
|
|
93
|
-
document.querySelector(this.config.modalsRoot)
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
this.instance = new A11yDialog(
|
|
98
|
-
this.element,
|
|
99
|
-
document.querySelector(this.config.root)
|
|
100
|
-
);
|
|
101
|
-
|
|
102
|
-
this.instance.on('show', this.handleShow);
|
|
103
|
-
|
|
104
|
-
this.instance.on('hide', this.handleHide);
|
|
105
|
-
|
|
106
|
-
this.headerFirstItemSpacing();
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
destroy() {
|
|
110
|
-
this.instance.destroy();
|
|
111
|
-
this.element.ODS_Modal = this;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
update() {
|
|
115
|
-
this.destroy();
|
|
116
|
-
this.init();
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
static moveToModalRoot(el, container) {
|
|
120
|
-
if (container) {
|
|
121
|
-
container.appendChild(el);
|
|
122
|
-
} else {
|
|
123
|
-
// eslint-disable-next-line no-console
|
|
124
|
-
console.warn(
|
|
125
|
-
`\`modalsRoot: ${this.config.modalsRoot}\` element is not present in DOM. Modal will be placed inside content which can affect it's styling. Please provide \`modalsRoot\` selector (should be placed outside of main contant, usualy in end of <body /> tag)`
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
static lockBody(
|
|
131
|
-
className = this.config.classModalIsOpenBody,
|
|
132
|
-
root = this.config.root
|
|
133
|
-
) {
|
|
134
|
-
const container = document.querySelector(root);
|
|
135
|
-
// store current scrollTop value
|
|
136
|
-
const scrollTop =
|
|
137
|
-
document.documentElement.scrollTop || document.body.scrollTop;
|
|
138
|
-
document.body.setAttribute('data-lock-scrolltop', scrollTop);
|
|
139
|
-
|
|
140
|
-
// add locking styles to body
|
|
141
|
-
document.body.style.height = '100%';
|
|
142
|
-
document.body.style.width = '100%';
|
|
143
|
-
document.body.style.overflow = 'hidden';
|
|
144
|
-
document.body.style.position = 'fixed';
|
|
145
|
-
|
|
146
|
-
// add locking styles to scrollTop
|
|
147
|
-
if (container) {
|
|
148
|
-
/* eslint-disable no-param-reassign */
|
|
149
|
-
container.style.height = '100%';
|
|
150
|
-
container.style.width = '100%';
|
|
151
|
-
container.style.overflow = 'hidden';
|
|
152
|
-
container.style.position = 'fixed';
|
|
153
|
-
// scroll page-container to scrollTop position
|
|
154
|
-
container.scrollTop = scrollTop;
|
|
155
|
-
/* eslint-enable no-param-reassign */
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
// add modal class
|
|
159
|
-
document.body.classList.add(className);
|
|
160
|
-
|
|
161
|
-
// attempt to scroll top fixed position
|
|
162
|
-
window.requestAnimationFrame(() => {
|
|
163
|
-
window.scrollTo(0, scrollTop);
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
static unlockBody(
|
|
168
|
-
className = this.config.classModalIsOpenBody,
|
|
169
|
-
root = this.config.root
|
|
170
|
-
) {
|
|
171
|
-
const container = document.querySelector(root);
|
|
172
|
-
const scrollTop = document.body.getAttribute('data-lock-scrolltop');
|
|
173
|
-
|
|
174
|
-
// remove locking styles from body
|
|
175
|
-
document.body.style.height = '';
|
|
176
|
-
document.body.style.width = '';
|
|
177
|
-
document.body.style.overflow = '';
|
|
178
|
-
document.body.style.position = '';
|
|
179
|
-
|
|
180
|
-
// add modal class
|
|
181
|
-
document.body.classList.remove(className);
|
|
182
|
-
|
|
183
|
-
// remove locking styles from page-container
|
|
184
|
-
if (container) {
|
|
185
|
-
/* eslint-disable no-param-reassign */
|
|
186
|
-
container.style.height = '';
|
|
187
|
-
container.style.width = '';
|
|
188
|
-
container.style.overflow = '';
|
|
189
|
-
container.style.position = '';
|
|
190
|
-
/* eslint-enable no-param-reassign */
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
// set scroll position back
|
|
194
|
-
window.requestAnimationFrame(() => {
|
|
195
|
-
window.scrollTo({ left: 0, top: scrollTop, behavior: 'instant' });
|
|
196
|
-
});
|
|
197
|
-
}
|
|
198
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import cx from 'classnames';
|
|
3
|
-
import { oneOf } from 'prop-types';
|
|
4
|
-
|
|
5
|
-
const propTypes = {
|
|
6
|
-
size: oneOf(['small', 'large']),
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
const ModalTitle = ({ size, children, ...other }) => (
|
|
10
|
-
<h2
|
|
11
|
-
className={cx({
|
|
12
|
-
'display-3': size === 'large',
|
|
13
|
-
h2: size === 'small',
|
|
14
|
-
})}
|
|
15
|
-
{...other}
|
|
16
|
-
>
|
|
17
|
-
{children}
|
|
18
|
-
</h2>
|
|
19
|
-
);
|
|
20
|
-
|
|
21
|
-
ModalTitle.propTypes = propTypes;
|
|
22
|
-
ModalTitle.displayName = 'ModalTitle';
|
|
23
|
-
|
|
24
|
-
export default ModalTitle;
|