@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,164 +0,0 @@
|
|
|
1
|
-
// ---------------------------------------------------
|
|
2
|
-
// Tabs
|
|
3
|
-
// module for handling tabs
|
|
4
|
-
|
|
5
|
-
import { RovingTabindex } from '../../utils/keyboard';
|
|
6
|
-
|
|
7
|
-
export const defaultConfig = {
|
|
8
|
-
tabSelector: '[role="tab"]',
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export const configDocs = {
|
|
12
|
-
tabSelector: 'Tab element selector',
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export default class Tabs {
|
|
16
|
-
constructor(element, config) {
|
|
17
|
-
this.element = element;
|
|
18
|
-
this.config = { ...defaultConfig, ...config };
|
|
19
|
-
|
|
20
|
-
this.tabs = [];
|
|
21
|
-
this.tabPanels = [];
|
|
22
|
-
this.activeTabIndex = null;
|
|
23
|
-
|
|
24
|
-
this.rovingTabindex = null;
|
|
25
|
-
|
|
26
|
-
this.handleClick = this.handleClick.bind(this);
|
|
27
|
-
this.handleTabFocus = this.handleTabFocus.bind(this);
|
|
28
|
-
|
|
29
|
-
this.element.ODS_Tabs = this;
|
|
30
|
-
|
|
31
|
-
this.init();
|
|
32
|
-
|
|
33
|
-
return this;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
static getInstance(el) {
|
|
37
|
-
return el && el.ODS_Tabs ? el.ODS_Tabs : null;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
init() {
|
|
41
|
-
this.tabs = Array.from(
|
|
42
|
-
this.element.querySelectorAll(this.config.tabSelector)
|
|
43
|
-
);
|
|
44
|
-
|
|
45
|
-
this.tabs.map((tab, index) => {
|
|
46
|
-
this.tabPanels.push(
|
|
47
|
-
document.getElementById(tab.getAttribute('aria-controls'))
|
|
48
|
-
);
|
|
49
|
-
tab.addEventListener('click', this.handleClick);
|
|
50
|
-
tab.addEventListener('focus', this.handleTabFocus);
|
|
51
|
-
|
|
52
|
-
if (this.isSelected(tab)) {
|
|
53
|
-
this.activeTabIndex = index;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
return tab;
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
if (!this.rovingTabindex) {
|
|
60
|
-
this.rovingTabindex = new RovingTabindex(this.tabs, {
|
|
61
|
-
direction: 'any',
|
|
62
|
-
});
|
|
63
|
-
} else {
|
|
64
|
-
this.rovingTabindex.update(this.tabs);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
destroy() {
|
|
69
|
-
this.tabs.map(tab => {
|
|
70
|
-
tab.removeEventListener('click', this.handleClick);
|
|
71
|
-
tab.removeEventListener('focus', this.onFocus);
|
|
72
|
-
return tab;
|
|
73
|
-
});
|
|
74
|
-
|
|
75
|
-
this.tabs = [];
|
|
76
|
-
this.tabPanels = [];
|
|
77
|
-
this.rovingTabindex.destroy();
|
|
78
|
-
this.element.ODS_Tabs = null;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
update() {
|
|
82
|
-
this.destroy();
|
|
83
|
-
this.init();
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
isActive = el => !el.hasAttribute('hidden');
|
|
87
|
-
|
|
88
|
-
isSelected = el => el.getAttribute('aria-selected') === 'true';
|
|
89
|
-
|
|
90
|
-
handleClick(e) {
|
|
91
|
-
const clickedTab = e.currentTarget;
|
|
92
|
-
|
|
93
|
-
if (e.currentTarget.hasAttribute('aria-disabled')) {
|
|
94
|
-
e.preventDefault();
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
this.tabs.map((tab, i) => {
|
|
99
|
-
if (tab === clickedTab) {
|
|
100
|
-
this.activeTabIndex = i;
|
|
101
|
-
return this.toggleTab(tab, 'on');
|
|
102
|
-
}
|
|
103
|
-
return this.toggleTab(tab, 'off');
|
|
104
|
-
});
|
|
105
|
-
|
|
106
|
-
this.tabPanels.map(tabPanel => {
|
|
107
|
-
if (
|
|
108
|
-
tabPanel.getAttribute('id') === clickedTab.getAttribute('aria-controls')
|
|
109
|
-
) {
|
|
110
|
-
return this.toggleTabPanel(tabPanel, 'on');
|
|
111
|
-
}
|
|
112
|
-
return this.toggleTabPanel(tabPanel, 'off');
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
toggleTab(el, state) {
|
|
117
|
-
const isActive = this.isSelected(el);
|
|
118
|
-
|
|
119
|
-
if (state === 'on' && !isActive) {
|
|
120
|
-
el.setAttribute('aria-selected', 'true');
|
|
121
|
-
el.setAttribute('tabindex', '0');
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
if (state === 'off' && isActive) {
|
|
125
|
-
el.setAttribute('aria-selected', 'false');
|
|
126
|
-
el.setAttribute('tabindex', '-1');
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
toggleTabPanel(el, state) {
|
|
131
|
-
const isActive = this.isActive(el);
|
|
132
|
-
|
|
133
|
-
if (state === 'on' && !isActive) {
|
|
134
|
-
el.removeAttribute('hidden');
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
if (state === 'off' && isActive) {
|
|
138
|
-
el.setAttribute('hidden', '');
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
activateNthTab(index) {
|
|
143
|
-
this.tabs.map((tab, i) => {
|
|
144
|
-
if (i === index) {
|
|
145
|
-
this.activeTabIndex = i;
|
|
146
|
-
return this.toggleTab(tab, 'on');
|
|
147
|
-
}
|
|
148
|
-
return this.toggleTab(tab, 'off');
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
this.tabPanels.map((tabPanel, i) => {
|
|
152
|
-
if (i === index) {
|
|
153
|
-
return this.toggleTabPanel(tabPanel, 'on');
|
|
154
|
-
}
|
|
155
|
-
return this.toggleTabPanel(tabPanel, 'off');
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
handleTabFocus() {
|
|
160
|
-
if (!this.rovingTabindex.isActive) {
|
|
161
|
-
this.rovingTabindex.init();
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/tokens/color';
|
|
2
|
-
@use '../../../styles/tokens/space';
|
|
3
|
-
@use '../../../styles/tools/convert';
|
|
4
|
-
|
|
5
|
-
$outline-width: convert.to-rem(2px);
|
|
6
|
-
$negative-outline-width: $outline-width * -1;
|
|
7
|
-
|
|
8
|
-
$tablist-spacing: (
|
|
9
|
-
margin: $negative-outline-width $negative-outline-width (space.get() + $negative-outline-width) $negative-outline-width,
|
|
10
|
-
padding: $outline-width,
|
|
11
|
-
);
|
|
12
|
-
|
|
13
|
-
$tab: (
|
|
14
|
-
'default': (
|
|
15
|
-
default: (
|
|
16
|
-
color: color.$black,
|
|
17
|
-
box-shadow: inset 0 -2px 0 0 color.$black,
|
|
18
|
-
),
|
|
19
|
-
active: (
|
|
20
|
-
color: color.$orange,
|
|
21
|
-
box-shadow: (
|
|
22
|
-
inset -2px 0 0 0 color.$black,
|
|
23
|
-
inset 0 2px 0 0 color.$black,
|
|
24
|
-
inset 2px 0 0 0 color.$black,
|
|
25
|
-
),
|
|
26
|
-
),
|
|
27
|
-
hover: (
|
|
28
|
-
color: color.$orange,
|
|
29
|
-
),
|
|
30
|
-
disabled: (
|
|
31
|
-
color: color.$gray-500,
|
|
32
|
-
)
|
|
33
|
-
),
|
|
34
|
-
'inverse': (
|
|
35
|
-
default: (
|
|
36
|
-
color: color.$white,
|
|
37
|
-
box-shadow: inset 0 -2px 0 0 color.$white,
|
|
38
|
-
),
|
|
39
|
-
active: (
|
|
40
|
-
color: color.$orange,
|
|
41
|
-
box-shadow: (
|
|
42
|
-
inset -2px 0 0 0 color.$white,
|
|
43
|
-
inset 0 2px 0 0 color.$white,
|
|
44
|
-
inset 2px 0 0 0 color.$white,
|
|
45
|
-
),
|
|
46
|
-
),
|
|
47
|
-
hover: (
|
|
48
|
-
color: color.$orange,
|
|
49
|
-
),
|
|
50
|
-
disabled: (
|
|
51
|
-
color: color.$gray-600,
|
|
52
|
-
)
|
|
53
|
-
),
|
|
54
|
-
);
|
|
55
|
-
|
|
56
|
-
$tab-light: (
|
|
57
|
-
default: (
|
|
58
|
-
box-shadow: none !important,
|
|
59
|
-
),
|
|
60
|
-
active: (
|
|
61
|
-
box-shadow: inset 0 -4px 0 0 color.$orange !important,
|
|
62
|
-
),
|
|
63
|
-
hover: (
|
|
64
|
-
box-shadow: none !important,
|
|
65
|
-
),
|
|
66
|
-
disabled: (
|
|
67
|
-
box-shadow: none !important,
|
|
68
|
-
)
|
|
69
|
-
);
|
|
70
|
-
|
|
71
|
-
$tab-sizes: (
|
|
72
|
-
default: (
|
|
73
|
-
padding: space.get('small') space.get(),
|
|
74
|
-
),
|
|
75
|
-
large: (
|
|
76
|
-
padding: space.get('small') space.get(),
|
|
77
|
-
),
|
|
78
|
-
);
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
@use './config';
|
|
2
|
-
@use '../../../styles/tokens/base';
|
|
3
|
-
@use '../../../styles/tokens/space';
|
|
4
|
-
@use '../../../styles/tokens/color';
|
|
5
|
-
@use '../../../styles/tools/generate';
|
|
6
|
-
|
|
7
|
-
@mixin list-base($spacing: config.$tablist-spacing) {
|
|
8
|
-
position: relative;
|
|
9
|
-
display: flex;
|
|
10
|
-
overflow-x: auto;
|
|
11
|
-
overflow-y: visible;
|
|
12
|
-
margin-bottom: space.get();
|
|
13
|
-
align-items: stretch;
|
|
14
|
-
|
|
15
|
-
@include generate.css-map($spacing);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@mixin list-equal {
|
|
19
|
-
flex-grow: 1;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@mixin list-item {
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-flow: column;
|
|
25
|
-
max-width: 66.66666%;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@mixin tab {
|
|
29
|
-
flex: 1 1 auto;
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-flow: column;
|
|
32
|
-
height: initial;
|
|
33
|
-
position: relative;
|
|
34
|
-
font-weight: 600;
|
|
35
|
-
background: transparent;
|
|
36
|
-
border-width: 0;
|
|
37
|
-
text-align: left;
|
|
38
|
-
|
|
39
|
-
&:focus {
|
|
40
|
-
z-index: 1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@include base.focusring-flush;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@mixin color-variant($variant, $config: config.$tab) {
|
|
47
|
-
@include generate.css-map($config, $variant, 'default');
|
|
48
|
-
|
|
49
|
-
&[aria-selected='true'] {
|
|
50
|
-
@include generate.css-map($config, $variant, 'active');
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&:hover {
|
|
54
|
-
@include generate.css-map(config.$tab, $variant, 'hover');
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&[aria-disabled='true'] {
|
|
58
|
-
@include generate.css-map(config.$tab, $variant, 'disabled');
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@mixin inverse-variant {
|
|
63
|
-
@include generate.css-map(config.$tab-light, 'default');
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@mixin tab-light {
|
|
67
|
-
@include generate.css-map(config.$tab-light, 'default');
|
|
68
|
-
|
|
69
|
-
&:hover {
|
|
70
|
-
@include generate.css-map(config.$tab-light, 'hover');
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&[aria-selected='true'] {
|
|
74
|
-
@include generate.css-map(config.$tab-light, 'active');
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&[aria-disabled='true'] {
|
|
78
|
-
@include generate.css-map(config.$tab-light, 'disabled');
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@mixin tab-centered {
|
|
83
|
-
align-items: center;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@mixin tab-size($size, $config: config.$tab-sizes) {
|
|
87
|
-
@include generate.css-map($config, $size);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@mixin underline {
|
|
91
|
-
flex: 1 1 auto;
|
|
92
|
-
max-width: none;
|
|
93
|
-
box-shadow: inset 0 -2px 0 0 color.$black;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
@mixin underline-inverse {
|
|
97
|
-
box-shadow: inset 0 -2px 0 0 color.$white;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@mixin underline-light {
|
|
101
|
-
box-shadow: inset 0 -1px 0 0 color.$gray-500;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@mixin list-equal-item {
|
|
105
|
-
flex-grow: 1;
|
|
106
|
-
flex-basis: 0;
|
|
107
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
@use './config';
|
|
2
|
-
@use './mixins';
|
|
3
|
-
@use '../../../styles/tokens/color';
|
|
4
|
-
@use '../../../styles/tools/generate';
|
|
5
|
-
@use '../../../styles/tokens/breakpoint';
|
|
6
|
-
@use '../../Typography/styles/mixins' as typography;
|
|
7
|
-
|
|
8
|
-
.tab-list {
|
|
9
|
-
$this: &;
|
|
10
|
-
|
|
11
|
-
@include typography.list-unstyled;
|
|
12
|
-
@include mixins.list-base;
|
|
13
|
-
|
|
14
|
-
&--equal {
|
|
15
|
-
@include mixins.list-equal;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&__item {
|
|
19
|
-
@include mixins.list-item;
|
|
20
|
-
|
|
21
|
-
#{$this}--equal & {
|
|
22
|
-
@include mixins.list-equal-item;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
#{$this}--light &{
|
|
26
|
-
@include mixins.underline-light;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&__tab {
|
|
31
|
-
@include mixins.tab;
|
|
32
|
-
@include mixins.color-variant('default');
|
|
33
|
-
|
|
34
|
-
@each $size, $props in config.$tab-sizes {
|
|
35
|
-
&#{generate.variant-name($size)} {
|
|
36
|
-
@include mixins.tab-size($size);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
#{$this}--light &{
|
|
40
|
-
@include mixins.tab-light;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
#{$this}--light#{$this}--equal & {
|
|
44
|
-
@include mixins.tab-centered;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.bg-black &,
|
|
48
|
-
#{$this}--inverse & {
|
|
49
|
-
@include mixins.color-variant('inverse');
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&__hr {
|
|
54
|
-
@include mixins.underline;
|
|
55
|
-
|
|
56
|
-
#{$this}--light & {
|
|
57
|
-
@include mixins.underline-light;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
#{$this}--inverse & {
|
|
61
|
-
@include mixins.underline-inverse;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jest-environment jsdom
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { render } from '@testing-library/react';
|
|
7
|
-
|
|
8
|
-
import Tab from '../Tab';
|
|
9
|
-
|
|
10
|
-
describe('rendering Tab', () => {
|
|
11
|
-
describe('initial state', () => {
|
|
12
|
-
it('list element has class tab-list__item', () => {
|
|
13
|
-
const { container } = render(<Tab />);
|
|
14
|
-
expect(container.querySelector('li')).toBeInTheDocument();
|
|
15
|
-
expect(container.querySelector('li')).toHaveClass('tab-list__item');
|
|
16
|
-
});
|
|
17
|
-
it('list element has role presentation', () => {
|
|
18
|
-
const { container } = render(<Tab />);
|
|
19
|
-
expect(container.querySelector('li')).toBeInTheDocument();
|
|
20
|
-
expect(container.querySelector('li').getAttribute('role')).toBe(
|
|
21
|
-
'presentation'
|
|
22
|
-
);
|
|
23
|
-
});
|
|
24
|
-
it('button element has class tab-list__tab', () => {
|
|
25
|
-
const { container } = render(<Tab />);
|
|
26
|
-
expect(container.querySelector('button')).toBeInTheDocument();
|
|
27
|
-
expect(container.querySelector('button')).toHaveClass('tab-list__tab');
|
|
28
|
-
});
|
|
29
|
-
it('button element has role tab', () => {
|
|
30
|
-
const { container } = render(<Tab />);
|
|
31
|
-
expect(container.querySelector('button')).toBeInTheDocument();
|
|
32
|
-
expect(container.querySelector('button').getAttribute('role')).toBe(
|
|
33
|
-
'tab'
|
|
34
|
-
);
|
|
35
|
-
});
|
|
36
|
-
it('button element has type button', () => {
|
|
37
|
-
const { container } = render(<Tab />);
|
|
38
|
-
expect(container.querySelector('button')).toBeInTheDocument();
|
|
39
|
-
expect(container.querySelector('button').getAttribute('type')).toBe(
|
|
40
|
-
'button'
|
|
41
|
-
);
|
|
42
|
-
});
|
|
43
|
-
it('button attribute tabIndex is set to -1', () => {
|
|
44
|
-
const { container } = render(<Tab />);
|
|
45
|
-
expect(container.querySelector('button')).toBeInTheDocument();
|
|
46
|
-
expect(container.querySelector('button').getAttribute('tabIndex')).toBe(
|
|
47
|
-
'-1'
|
|
48
|
-
);
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
describe('passed props', () => {
|
|
52
|
-
it('passes other props', () => {
|
|
53
|
-
const { getByTestId } = render(<Tab data-testid="test-id" />);
|
|
54
|
-
expect(getByTestId('test-id')).toBeInTheDocument();
|
|
55
|
-
});
|
|
56
|
-
it('renders children', () => {
|
|
57
|
-
const { getByText } = render(<Tab>test</Tab>);
|
|
58
|
-
expect(getByText('test')).toBeInTheDocument();
|
|
59
|
-
});
|
|
60
|
-
it('has additional class when className is set', () => {
|
|
61
|
-
const { container } = render(<Tab className="test-class" />);
|
|
62
|
-
expect(container.querySelector('button')).toHaveClass('tab-list__tab');
|
|
63
|
-
expect(container.querySelector('button')).toHaveClass('test-class');
|
|
64
|
-
});
|
|
65
|
-
it("button has aria-selected attribute set to 'true' when isActive is passed", () => {
|
|
66
|
-
const { container } = render(<Tab isActive />);
|
|
67
|
-
expect(
|
|
68
|
-
container.querySelector('button').getAttribute('aria-selected')
|
|
69
|
-
).toBe('true');
|
|
70
|
-
});
|
|
71
|
-
it("button has tabIndex attribute set to '0' when isActive is passed", () => {
|
|
72
|
-
const { container } = render(<Tab isActive />);
|
|
73
|
-
expect(container.querySelector('button').getAttribute('tabIndex')).toBe(
|
|
74
|
-
'0'
|
|
75
|
-
);
|
|
76
|
-
});
|
|
77
|
-
it('button has aria-controls attribute set to controls prop value', () => {
|
|
78
|
-
const { container } = render(<Tab controls="test" />);
|
|
79
|
-
expect(
|
|
80
|
-
container.querySelector('button').getAttribute('aria-controls')
|
|
81
|
-
).toBe('test');
|
|
82
|
-
});
|
|
83
|
-
it("button has aria-disabled attribute set to 'true' when isDisables is passed", () => {
|
|
84
|
-
const { container } = render(<Tab isDisabled />);
|
|
85
|
-
expect(
|
|
86
|
-
container.querySelector('button').getAttribute('aria-disabled')
|
|
87
|
-
).toBe('true');
|
|
88
|
-
});
|
|
89
|
-
});
|
|
90
|
-
});
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jest-environment jsdom
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { render } from '@testing-library/react';
|
|
7
|
-
|
|
8
|
-
import TabPanel from '../TabPanel';
|
|
9
|
-
|
|
10
|
-
describe('rendering TabPanel', () => {
|
|
11
|
-
describe('initial state', () => {
|
|
12
|
-
it('has generated id', () => {
|
|
13
|
-
const { getByTestId } = render(<TabPanel data-testid="test-id" />);
|
|
14
|
-
const pattern = /id-\d+/;
|
|
15
|
-
expect(
|
|
16
|
-
pattern.test(getByTestId('test-id').getAttribute('id'))
|
|
17
|
-
).toBeTruthy();
|
|
18
|
-
});
|
|
19
|
-
it('has role set to tabpanel', () => {
|
|
20
|
-
const { getByTestId } = render(<TabPanel data-testid="test-id" />);
|
|
21
|
-
expect(getByTestId('test-id').getAttribute('role')).toBe('tabpanel');
|
|
22
|
-
});
|
|
23
|
-
it("has tabIndex set to '0'", () => {
|
|
24
|
-
const { getByTestId } = render(<TabPanel data-testid="test-id" />);
|
|
25
|
-
expect(getByTestId('test-id').getAttribute('tabIndex')).toBe('0');
|
|
26
|
-
});
|
|
27
|
-
it('has hidden attribute set to true', () => {
|
|
28
|
-
const { getByTestId } = render(<TabPanel data-testid="test-id" />);
|
|
29
|
-
expect(getByTestId('test-id').hidden).toBe(true);
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
describe('passed props', () => {
|
|
33
|
-
it('renders children', () => {
|
|
34
|
-
const { getByTestId } = render(
|
|
35
|
-
<TabPanel data-testid="test-id">test</TabPanel>
|
|
36
|
-
);
|
|
37
|
-
expect(getByTestId('test-id').textContent).toBe('test');
|
|
38
|
-
});
|
|
39
|
-
it('has class when className is set', () => {
|
|
40
|
-
const { getByTestId } = render(
|
|
41
|
-
<TabPanel data-testid="test-id" className="test-class" />
|
|
42
|
-
);
|
|
43
|
-
expect(getByTestId('test-id')).toHaveClass('test-class');
|
|
44
|
-
});
|
|
45
|
-
it('has id set to id prop when this prop is passsed', () => {
|
|
46
|
-
const { getByTestId } = render(
|
|
47
|
-
<TabPanel data-testid="test-id" id="id-test" />
|
|
48
|
-
);
|
|
49
|
-
expect(getByTestId('test-id').getAttribute('id')).toBe('id-test');
|
|
50
|
-
});
|
|
51
|
-
it('has hidden attribute set to false when isActive prop is passed', () => {
|
|
52
|
-
const { getByTestId } = render(
|
|
53
|
-
<TabPanel data-testid="test-id" isActive />
|
|
54
|
-
);
|
|
55
|
-
expect(getByTestId('test-id').hidden).toBe(false);
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
});
|