@orangesk/orange-design-system 2.0.0-alpha.0 → 2.0.0-alpha.2
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/build/404.html +1 -1
- package/build/_next/static/BGy4QLZfZPwswIZT7YGE2/_buildManifest.js +1 -0
- package/build/_next/static/chunks/1206-59e86c9be0c6edc8.js +1 -0
- package/build/_next/static/chunks/1684-f3cca2440b2d04c9.js +1 -0
- package/build/_next/static/chunks/1790-42537fde486481dc.js +1 -0
- package/build/_next/static/chunks/1856-87fba6dedcfa51f4.js +1 -0
- package/build/_next/static/chunks/2355.4c3c65d46ce6edf1.js +1 -0
- package/build/_next/static/chunks/2366-ccdf9c167d62c230.js +1 -0
- package/build/_next/static/chunks/2511.d334cb67ac6af21d.js +1 -0
- package/build/_next/static/chunks/2735.7a75728bb235d0d4.js +1 -0
- package/build/_next/static/chunks/3557.53c406667aa62240.js +1 -0
- package/build/_next/static/chunks/4bd1b696-63246a30a5dafad8.js +1 -0
- package/build/_next/static/chunks/5426-60b8df37a33e8cf3.js +1 -0
- package/build/_next/static/chunks/579-22f1eb9ccb4fc983.js +1 -0
- package/build/_next/static/chunks/6729-c9c23d280815e7ae.js +1 -0
- package/build/_next/static/chunks/7916.f1f5aa6f1d094885.js +1 -0
- package/build/_next/static/chunks/7998-4f9ee8dd2d772e13.js +1 -0
- package/build/_next/static/chunks/9186-7ca86a881bc0fae7.js +4 -0
- package/build/_next/static/chunks/app/_not-found/page-a9506bc9a3364319.js +1 -0
- package/build/_next/static/chunks/app/components/accordion/page-aa200fabd855563b.js +1 -0
- package/build/_next/static/chunks/app/components/alert/page-7c67ea9c86227082.js +1 -0
- package/build/_next/static/chunks/app/components/bar/page-c30f8fd11c4651d6.js +1 -0
- package/build/_next/static/chunks/app/components/block-action/page-7274174a43629f9f.js +1 -0
- package/build/_next/static/chunks/app/components/body-banner/page-15ff1f59b2aa843d.js +1 -0
- package/build/_next/static/chunks/app/components/button/page-0e30b9dfcecf1399.js +1 -0
- package/build/_next/static/chunks/app/components/buttons/page-fffd250aa886c49b.js +1 -0
- package/build/_next/static/chunks/app/components/card/page-cd4cf793507e5671.js +1 -0
- package/build/_next/static/chunks/app/components/carousel/page-b365266404937787.js +1 -0
- package/build/_next/static/chunks/app/components/carousel-promotions/page-a44240a70a405853.js +1 -0
- package/build/_next/static/chunks/app/components/cart-table/page-c33464d94e85aacb.js +1 -0
- package/build/_next/static/chunks/app/components/controls/page-ab8a0113b4b2e54b.js +1 -0
- package/build/_next/static/chunks/app/components/cover/page-c5a39a466cf72302.js +1 -0
- package/build/_next/static/chunks/app/components/divider/page-048e0ea7f0f61c9f.js +1 -0
- package/build/_next/static/chunks/app/components/dropdown/page-86dc20ead95d1104.js +1 -0
- package/build/_next/static/chunks/app/components/expander/page-37e9fdf98c038541.js +1 -0
- package/build/_next/static/chunks/app/components/feature-accordion/page-994e106b83948b2a.js +1 -0
- package/build/_next/static/chunks/app/components/footer/page-39f76624a4c5435a.js +1 -0
- package/build/_next/static/chunks/app/components/forms/addons/page-b819ad9999952653.js +1 -0
- package/build/_next/static/chunks/app/components/forms/autocomplete/page-0cfae5a356eefe59.js +1 -0
- package/build/_next/static/chunks/app/components/forms/captions/hint/page-36a64250bd583aca.js +1 -0
- package/build/_next/static/chunks/app/components/forms/captions/label/page-84cb1a7b98fb64c8.js +1 -0
- package/build/_next/static/chunks/app/components/forms/captions/message/page-c22889abedb1d070.js +1 -0
- package/build/_next/static/chunks/app/components/forms/checkbox/page-8428d9a5becd0678.js +1 -0
- package/build/_next/static/chunks/app/components/forms/field/page-3c75a0c1a8f4867a.js +1 -0
- package/build/_next/static/chunks/app/components/forms/fieldset/page-5e7316fdf0310e1e.js +1 -0
- package/build/_next/static/chunks/app/components/forms/file/page-a83e9d5be583038b.js +1 -0
- package/build/_next/static/chunks/app/components/forms/inputstepper/page-2a61408ee3dd66a3.js +1 -0
- package/build/_next/static/chunks/app/components/forms/radio/page-d25e81a49e31fd5f.js +1 -0
- package/build/_next/static/chunks/app/components/forms/rangeslider/page-2b516b597dabcdde.js +1 -0
- package/build/_next/static/chunks/app/components/forms/select/page-28d631ad9ea28a9c.js +1 -0
- package/build/_next/static/chunks/app/components/forms/text-area/page-167de9c3a457c62a.js +1 -0
- package/build/_next/static/chunks/app/components/forms/text-input/page-5798b254c725bec1.js +1 -0
- package/build/_next/static/chunks/app/components/gauge/page-8299bca301ad707b.js +1 -0
- package/build/_next/static/chunks/app/components/icon/page-3d2696eb1415bbb8.js +1 -0
- package/build/_next/static/chunks/app/components/link/page-5691bc96657b379e.js +1 -0
- package/build/_next/static/chunks/app/components/list/page-93428135db5e0f50.js +1 -0
- package/build/_next/static/chunks/app/components/loader/page-60a3331abd258bde.js +1 -0
- package/build/_next/static/chunks/app/components/modal/page-193e4d93ab10dc9a.js +1 -0
- package/build/_next/static/chunks/app/components/pagination/page-dd52f805ef5196de.js +1 -0
- package/build/_next/static/chunks/app/components/progress/page-4ac45801c7ec5663.js +1 -0
- package/build/_next/static/chunks/app/components/skeleton/page-71307720865ef677.js +1 -0
- package/build/_next/static/chunks/app/components/sticker/page-c79c492044c10f40.js +1 -0
- package/build/_next/static/chunks/app/components/table/page-9dc77bc63b3b5895.js +1 -0
- package/build/_next/static/chunks/app/components/tabs/page-dcc36f18992b00f9.js +1 -0
- package/build/_next/static/chunks/app/components/tag/page-ba00a3d16f7f6d11.js +1 -0
- package/build/_next/static/chunks/app/components/testimonial/page-a3615b0a32c32fe1.js +1 -0
- package/build/_next/static/chunks/app/components/tile/page-b354dd7941df8670.js +1 -0
- package/build/_next/static/chunks/app/components/tooltip/page-9861cd4f82830d82.js +1 -0
- package/build/_next/static/chunks/app/javascript/toggle/page-8b83ddce80f9d755.js +1 -0
- package/build/_next/static/chunks/app/layout-41aa6f28da614a69.js +1 -0
- package/build/_next/static/chunks/app/page-e1799527aabeb98a.js +1 -0
- package/build/_next/static/chunks/app/utilities/horizontal-scroll/page-c6ee529373c337f9.js +1 -0
- package/build/_next/static/chunks/framework-fda66049c8bbcca5.js +1 -0
- package/build/_next/static/chunks/main-3e6405259d828a22.js +1 -0
- package/build/_next/static/chunks/main-app-a265e200b32683f1.js +1 -0
- package/build/_next/static/chunks/pages/{_app-da15c11dea942c36.js → _app-eb694f3fd49020c8.js} +1 -1
- package/build/_next/static/chunks/pages/_error-2b3482c094a540b4.js +1 -0
- package/build/_next/static/chunks/webpack-1a128887cf981885.js +1 -0
- package/build/_next/static/css/05453e813192b05b.css +1 -0
- package/build/_next/static/css/05c85c9ea7e2ea58.css +1 -0
- package/build/_next/static/css/0e5de495ff48931f.css +1 -0
- package/build/_next/static/css/1139a47c85362386.css +1 -0
- package/build/_next/static/css/1b3f28cfd13039ad.css +1 -0
- package/build/_next/static/css/1fdf8ee56483471a.css +1 -0
- package/build/_next/static/css/286405eb07784ddd.css +1 -0
- package/build/_next/static/css/2cb6b1436172662a.css +1 -0
- package/build/_next/static/css/33a9af3bd42f0314.css +1 -0
- package/build/_next/static/css/3632d2fdde580dcb.css +1 -0
- package/build/_next/static/css/37365c3a0857a3c5.css +1 -0
- package/build/_next/static/css/412dd278760dc9fc.css +1 -0
- package/build/_next/static/css/417edeeaaadbac4d.css +1 -0
- package/build/_next/static/css/43c66157c59241c2.css +1 -0
- package/build/_next/static/css/57b0c84bbf7d7098.css +1 -0
- package/build/_next/static/css/5b55b50737ef7662.css +1 -0
- package/build/_next/static/css/5ec7df8d7719c810.css +1 -0
- package/build/_next/static/css/62680b6eacd53665.css +1 -0
- package/build/_next/static/css/645dada84db193d4.css +1 -0
- package/build/_next/static/css/7058542e728d5b05.css +1 -0
- package/build/_next/static/css/7108a96a607fe7c5.css +1 -0
- package/build/_next/static/css/7202aa220abab0eb.css +1 -0
- package/build/_next/static/css/75e15d3944ffd4f3.css +1 -0
- package/build/_next/static/css/77590e66868bf291.css +1 -0
- package/build/_next/static/css/7c62e057927bfe3a.css +1 -0
- package/build/_next/static/css/7d4c59347b15c45f.css +1 -0
- package/build/_next/static/css/7f570791ca140154.css +1 -0
- package/build/_next/static/css/8ed102a331809889.css +1 -0
- package/build/_next/static/css/a88042aa83a2c354.css +1 -0
- package/build/_next/static/css/a9a58f4c38bee2fd.css +1 -0
- package/build/_next/static/css/ac1d2e9b77b16926.css +1 -0
- package/build/_next/static/css/ae4b3848536f0c88.css +1 -0
- package/build/_next/static/css/b0ab7f81488aec78.css +1 -0
- package/build/_next/static/css/b853a4f8d045643a.css +1 -0
- package/build/_next/static/css/bcaa5e7fd24949ed.css +1 -0
- package/build/_next/static/css/d38343a4cf5388d8.css +1 -0
- package/build/_next/static/css/d829c1a3f2fcd594.css +1 -0
- package/build/_next/static/css/dbfffa33262d63c5.css +1 -0
- package/build/_next/static/css/dfae3c27eaeb27f7.css +1 -0
- package/build/_next/static/css/e0b468ba3d618325.css +1 -0
- package/build/_next/static/css/e5e018b7f5cf6e41.css +1 -0
- package/build/_next/static/css/e6a4dfa3d63d18c0.css +1 -0
- package/build/_next/static/css/ee49dfd49ae395ac.css +1 -0
- package/build/_next/static/css/ef46db3751d8e999.css +0 -0
- package/build/_next/static/css/f2867b2bd265a443.css +1 -0
- package/build/_next/static/media/671791babd225be4-s.p.woff2 +0 -0
- package/build/_next/static/media/c62d990acddde5f0-s.p.woff2 +0 -0
- package/build/_next/static/media/dfdbb1c4973e0bd7-s.p.woff2 +0 -0
- package/build/_next/static/media/phones.a832cbb3.png +0 -0
- package/build/components/Accordion/index.js +16 -0
- package/build/components/Accordion/index.js.map +1 -0
- package/build/components/Accordion/style.css +2 -0
- package/build/components/Accordion/style.css.map +1 -0
- package/build/components/Alert/index.js +16 -0
- package/build/components/Alert/index.js.map +1 -0
- package/build/components/Alert/style.css +2 -0
- package/build/components/Alert/style.css.map +1 -0
- package/build/components/Bar/index.js +16 -0
- package/build/components/Bar/index.js.map +1 -0
- package/build/components/Bar/style.css +2 -0
- package/build/components/Bar/style.css.map +1 -0
- package/build/components/BlockAction/index.js +16 -0
- package/build/components/BlockAction/index.js.map +1 -0
- package/build/components/BlockAction/style.css +2 -0
- package/build/components/BlockAction/style.css.map +1 -0
- package/build/components/BodyBanner/index.js +16 -0
- package/build/components/BodyBanner/index.js.map +1 -0
- package/build/components/BodyBanner/style.css +2 -0
- package/build/components/BodyBanner/style.css.map +1 -0
- package/build/components/Breadcrumbs/index.js +16 -0
- package/build/components/Breadcrumbs/index.js.map +1 -0
- package/build/components/Breadcrumbs/style.css +2 -0
- package/build/components/Breadcrumbs/style.css.map +1 -0
- package/build/components/Button/index.js +16 -0
- package/build/components/Button/index.js.map +1 -0
- package/build/components/Button/style.css +2 -0
- package/build/components/Button/style.css.map +1 -0
- package/build/components/Buttons/index.js +16 -0
- package/build/components/Buttons/index.js.map +1 -0
- package/build/components/Buttons/style.css +2 -0
- package/build/components/Buttons/style.css.map +1 -0
- package/build/components/Card/index.js +16 -0
- package/build/components/Card/index.js.map +1 -0
- package/build/components/Card/style.css +2 -0
- package/build/components/Card/style.css.map +1 -0
- package/build/components/Carousel/index.js +31 -0
- package/build/components/Carousel/index.js.map +1 -0
- package/build/components/Carousel/style.css +2 -0
- package/build/components/Carousel/style.css.map +1 -0
- package/build/components/CarouselPromotions/index.js +16 -0
- package/build/components/CarouselPromotions/index.js.map +1 -0
- package/build/components/CarouselPromotions/style.css +2 -0
- package/build/components/CarouselPromotions/style.css.map +1 -0
- package/build/components/CartTable/index.js +16 -0
- package/build/components/CartTable/index.js.map +1 -0
- package/build/components/CartTable/style.css +2 -0
- package/build/components/CartTable/style.css.map +1 -0
- package/build/components/Container/index.js +16 -0
- package/build/components/Container/index.js.map +1 -0
- package/build/components/Container/style.css +2 -0
- package/build/components/Container/style.css.map +1 -0
- package/build/components/Controls/index.js +16 -0
- package/build/components/Controls/index.js.map +1 -0
- package/build/components/Controls/style.css +2 -0
- package/build/components/Controls/style.css.map +1 -0
- package/build/components/Cover/index.js +16 -0
- package/build/components/Cover/index.js.map +1 -0
- package/build/components/Cover/style.css +2 -0
- package/build/components/Cover/style.css.map +1 -0
- package/build/components/Divider/index.js +16 -0
- package/build/components/Divider/index.js.map +1 -0
- package/build/components/Divider/style.css +2 -0
- package/build/components/Divider/style.css.map +1 -0
- package/build/components/Dropdown/index.js +16 -0
- package/build/components/Dropdown/index.js.map +1 -0
- package/build/components/Dropdown/style.css +2 -0
- package/build/components/Dropdown/style.css.map +1 -0
- package/build/components/Expander/index.js +16 -0
- package/build/components/Expander/index.js.map +1 -0
- package/build/components/Expander/style.css +2 -0
- package/build/components/Expander/style.css.map +1 -0
- package/build/components/FeatureAccordion/index.js +16 -0
- package/build/components/FeatureAccordion/index.js.map +1 -0
- package/build/components/FeatureAccordion/style.css +2 -0
- package/build/components/FeatureAccordion/style.css.map +1 -0
- package/build/components/Footer/index.js +16 -0
- package/build/components/Footer/index.js.map +1 -0
- package/build/components/Footer/style.css +2 -0
- package/build/components/Footer/style.css.map +1 -0
- package/build/components/Forms/index.js +18 -0
- package/build/components/Forms/index.js.map +1 -0
- package/build/components/Forms/style.css +2 -0
- package/build/components/Forms/style.css.map +1 -0
- package/build/components/Gauge/index.js +16 -0
- package/build/components/Gauge/index.js.map +1 -0
- package/build/components/Gauge/style.css +2 -0
- package/build/components/Gauge/style.css.map +1 -0
- package/build/components/Grid/index.js +16 -0
- package/build/components/Grid/index.js.map +1 -0
- package/build/components/Grid/style.css +2 -0
- package/build/components/Grid/style.css.map +1 -0
- package/build/components/Icon/index.js +11 -0
- package/build/components/Icon/index.js.map +1 -0
- package/build/components/Icon/style.css +2 -0
- package/build/components/Icon/style.css.map +1 -0
- package/build/components/Image/index.js +16 -0
- package/build/components/Image/index.js.map +1 -0
- package/build/components/Image/style.css +2 -0
- package/build/components/Image/style.css.map +1 -0
- package/build/components/Link/index.js +7 -0
- package/build/components/Link/index.js.map +1 -0
- package/build/components/Link/style.css +2 -0
- package/build/components/Link/style.css.map +1 -0
- package/build/components/List/index.js +16 -0
- package/build/components/List/index.js.map +1 -0
- package/build/components/List/style.css +2 -0
- package/build/components/List/style.css.map +1 -0
- package/build/components/Loader/index.js +16 -0
- package/build/components/Loader/index.js.map +1 -0
- package/build/components/Loader/style.css +2 -0
- package/build/components/Loader/style.css.map +1 -0
- package/build/components/Modal/index.js +20 -0
- package/build/components/Modal/index.js.map +1 -0
- package/build/components/Modal/style.css +2 -0
- package/build/components/Modal/style.css.map +1 -0
- package/build/components/Pagination/index.js +16 -0
- package/build/components/Pagination/index.js.map +1 -0
- package/build/components/Pagination/style.css +2 -0
- package/build/components/Pagination/style.css.map +1 -0
- package/build/components/Progress/index.js +16 -0
- package/build/components/Progress/index.js.map +1 -0
- package/build/components/Progress/style.css +2 -0
- package/build/components/Progress/style.css.map +1 -0
- package/build/components/Section/index.js +16 -0
- package/build/components/Section/index.js.map +1 -0
- package/build/components/Section/style.css +2 -0
- package/build/components/Section/style.css.map +1 -0
- package/build/components/Skeleton/index.js +16 -0
- package/build/components/Skeleton/index.js.map +1 -0
- package/build/components/Skeleton/style.css +2 -0
- package/build/components/Skeleton/style.css.map +1 -0
- package/build/components/Sticker/index.js +16 -0
- package/build/components/Sticker/index.js.map +1 -0
- package/build/components/Sticker/style.css +2 -0
- package/build/components/Sticker/style.css.map +1 -0
- package/build/components/Table/index.js +16 -0
- package/build/components/Table/index.js.map +1 -0
- package/build/components/Table/style.css +2 -0
- package/build/components/Table/style.css.map +1 -0
- package/build/components/Tabs/index.js +16 -0
- package/build/components/Tabs/index.js.map +1 -0
- package/build/components/Tabs/style.css +2 -0
- package/build/components/Tabs/style.css.map +1 -0
- package/build/components/Tag/index.js +16 -0
- package/build/components/Tag/index.js.map +1 -0
- package/build/components/Tag/style.css +2 -0
- package/build/components/Tag/style.css.map +1 -0
- package/build/components/Testimonial/index.js +16 -0
- package/build/components/Testimonial/index.js.map +1 -0
- package/build/components/Testimonial/style.css +2 -0
- package/build/components/Testimonial/style.css.map +1 -0
- package/build/components/Tile/index.js +16 -0
- package/build/components/Tile/index.js.map +1 -0
- package/build/components/Tile/style.css +2 -0
- package/build/components/Tile/style.css.map +1 -0
- package/build/components/Tooltip/index.js +16 -0
- package/build/components/Tooltip/index.js.map +1 -0
- package/build/components/Tooltip/style.css +2 -0
- package/build/components/Tooltip/style.css.map +1 -0
- package/build/components/accordion.html +18 -0
- package/build/components/accordion.txt +28 -0
- package/build/components/alert.html +4 -0
- package/build/components/alert.txt +32 -0
- package/build/components/bar.html +10 -0
- package/build/components/bar.txt +27 -0
- package/build/components/block-action.html +4 -0
- package/build/components/block-action.txt +26 -0
- package/build/components/body-banner.html +1 -0
- package/build/components/body-banner.txt +28 -0
- package/build/components/button.html +2 -0
- package/build/components/button.txt +29 -0
- package/build/components/buttons.html +1 -0
- package/build/components/buttons.txt +29 -0
- package/build/components/card.html +20 -0
- package/build/components/card.txt +35 -0
- package/build/components/carousel-promotions.html +20 -0
- package/build/components/carousel-promotions.txt +31 -0
- package/build/components/carousel.html +5 -0
- package/build/components/carousel.txt +32 -0
- package/build/components/cart-table.html +39 -0
- package/build/components/cart-table.txt +35 -0
- package/build/components/controls.html +2 -0
- package/build/components/controls.txt +29 -0
- package/build/components/cover.html +1 -0
- package/build/components/cover.txt +26 -0
- package/build/components/divider.html +6 -0
- package/build/components/divider.txt +29 -0
- package/build/components/dropdown.html +18 -0
- package/build/components/dropdown.txt +36 -0
- package/build/components/expander.html +1 -0
- package/build/components/expander.txt +27 -0
- package/build/components/feature-accordion.html +1 -0
- package/build/components/feature-accordion.txt +31 -0
- package/build/components/footer.html +2 -0
- package/build/components/footer.txt +31 -0
- package/build/components/forms/addons.html +2 -0
- package/build/components/forms/addons.txt +26 -0
- package/build/components/forms/autocomplete.html +2 -0
- package/build/components/forms/autocomplete.txt +27 -0
- package/build/components/forms/captions/hint.html +4 -0
- package/build/components/forms/captions/hint.txt +26 -0
- package/build/components/forms/captions/label.html +4 -0
- package/build/components/forms/captions/label.txt +24 -0
- package/build/components/forms/captions/message.html +1 -0
- package/build/components/forms/captions/message.txt +24 -0
- package/build/components/forms/checkbox.html +2 -0
- package/build/components/forms/checkbox.txt +27 -0
- package/build/components/forms/field.html +3 -0
- package/build/components/forms/field.txt +24 -0
- package/build/components/forms/fieldset.html +2 -0
- package/build/components/forms/fieldset.txt +26 -0
- package/build/components/forms/file.html +1 -0
- package/build/components/forms/file.txt +24 -0
- package/build/components/forms/inputstepper.html +2 -0
- package/build/components/forms/inputstepper.txt +26 -0
- package/build/components/forms/radio.html +1 -0
- package/build/components/forms/radio.txt +37 -0
- package/build/components/forms/rangeslider.html +2 -0
- package/build/components/forms/rangeslider.txt +26 -0
- package/build/components/forms/select.html +1 -0
- package/build/components/forms/select.txt +24 -0
- package/build/components/forms/text-area.html +1 -0
- package/build/components/forms/text-area.txt +24 -0
- package/build/components/forms/text-input.html +1 -0
- package/build/components/forms/text-input.txt +24 -0
- package/build/components/gauge.html +15 -0
- package/build/components/gauge.txt +28 -0
- package/build/components/icon.html +1 -0
- package/build/components/icon.txt +24 -0
- package/build/components/index.css +2 -1
- package/build/components/index.css.map +1 -1
- package/build/components/index.js +24 -603
- package/build/components/index.js.map +1 -1
- package/build/components/link.html +6 -0
- package/build/components/link.txt +29 -0
- package/build/components/list.html +1 -0
- package/build/components/list.txt +30 -0
- package/build/components/loader.html +18 -0
- package/build/components/loader.txt +32 -0
- package/build/components/modal.html +2 -0
- package/build/components/modal.txt +33 -0
- package/build/components/pagination.html +1 -0
- package/build/components/pagination.txt +27 -0
- package/build/components/progress.html +1 -0
- package/build/components/progress.txt +33 -0
- package/build/components/skeleton.html +13 -0
- package/build/components/skeleton.txt +30 -0
- package/build/components/static.css +2 -0
- package/build/components/static.css.map +1 -0
- package/build/components/static.js +7 -1199
- package/build/components/static.js.map +1 -1
- package/build/components/sticker.html +1 -0
- package/build/components/sticker.txt +27 -0
- package/build/components/table.html +2 -0
- package/build/components/table.txt +30 -0
- package/build/components/tabs.html +2 -0
- package/build/components/tabs.txt +29 -0
- package/build/components/tag.html +7 -0
- package/build/components/tag.txt +30 -0
- package/build/components/testimonial.html +1 -0
- package/build/components/testimonial.txt +28 -0
- package/build/components/tile.html +19 -0
- package/build/components/tile.txt +37 -0
- package/build/components/tooltip.html +4 -0
- package/build/components/tooltip.txt +26 -0
- package/build/components/types/components/Accordion/Accordion.d.ts +17 -0
- package/build/components/types/components/Accordion/Accordion.static.d.ts +17 -0
- package/build/components/types/components/Accordion/AccordionHeader.d.ts +15 -0
- package/build/components/types/components/Accordion/AccordionItem.d.ts +19 -0
- package/build/components/types/components/Accordion/HeadingContext.d.ts +2 -0
- package/build/components/types/components/Accordion/index.d.ts +3 -0
- package/build/components/types/components/Alert/Alert.d.ts +25 -0
- package/build/components/types/components/Alert/data.d.ts +7 -0
- package/build/components/types/components/Alert/index.d.ts +2 -0
- package/build/components/types/components/Bar/Bar.d.ts +22 -0
- package/build/components/types/components/Bar/BarBreak.d.ts +12 -0
- package/build/components/types/components/Bar/BarItem.d.ts +16 -0
- package/build/components/types/components/Bar/index.d.ts +4 -0
- package/build/components/types/components/BlockAction/BlockAction.d.ts +9 -0
- package/build/components/types/components/BlockAction/BlockActionControl.d.ts +9 -0
- package/build/components/types/components/BlockAction/BlockActionIndicator.d.ts +9 -0
- package/build/components/types/components/BlockAction/CloneElementWithClassName.d.ts +8 -0
- package/build/components/types/components/BlockAction/Context.d.ts +13 -0
- package/build/components/types/components/BlockAction/index.d.ts +16 -0
- package/build/components/types/components/BodyBanner/BodyBanner.d.ts +20 -0
- package/build/components/types/components/BodyBanner/index.d.ts +2 -0
- package/build/components/types/components/Breadcrumbs/BreadcrumbItem.d.ts +15 -0
- package/build/components/types/components/Breadcrumbs/Breadcrumbs.d.ts +21 -0
- package/build/components/types/components/Breadcrumbs/index.d.ts +2 -0
- package/build/components/types/components/Button/Button.d.ts +25 -0
- package/build/components/types/components/Button/IconButton.d.ts +18 -0
- package/build/components/types/components/Button/index.d.ts +17 -0
- package/build/components/types/components/Buttons/Buttons.d.ts +8 -0
- package/build/components/types/components/Buttons/index.d.ts +2 -0
- package/build/components/types/components/Card/Card.d.ts +13 -0
- package/build/components/types/components/Card/CardProductHeader.d.ts +9 -0
- package/build/components/types/components/Card/CardSection.d.ts +14 -0
- package/build/components/types/components/Card/index.d.ts +4 -0
- package/build/components/types/components/Carousel/Carousel.d.ts +12 -0
- package/build/components/types/components/Carousel/Carousel.static.d.ts +58 -0
- package/build/components/types/components/Carousel/CarouselItem.d.ts +7 -0
- package/build/components/types/components/Carousel/constants.d.ts +16 -0
- package/build/components/types/components/Carousel/index.d.ts +3 -0
- package/build/components/types/components/CarouselPromotions/CarouselPromotions.d.ts +10 -0
- package/build/components/types/components/CarouselPromotions/CarouselPromotions.static.d.ts +47 -0
- package/build/components/types/components/CarouselPromotions/CarouselPromotionsItem.d.ts +12 -0
- package/build/components/types/components/CarouselPromotions/constants.d.ts +18 -0
- package/build/components/types/components/CarouselPromotions/index.d.ts +3 -0
- package/build/components/types/components/CartTable/CartTable.d.ts +13 -0
- package/build/components/types/components/CartTable/FooterNameColumn.d.ts +7 -0
- package/build/components/types/components/CartTable/FooterPriceColumn.d.ts +9 -0
- package/build/components/types/components/CartTable/Price.d.ts +10 -0
- package/build/components/types/components/CartTable/generateFooter.d.ts +22 -0
- package/build/components/types/components/CartTable/generateRow.d.ts +21 -0
- package/build/components/types/components/CartTable/generateTotal.d.ts +45 -0
- package/build/components/types/components/CartTable/index.d.ts +2 -0
- package/build/components/types/components/Container/Container.d.ts +3 -0
- package/build/components/types/components/Container/index.d.ts +2 -0
- package/build/components/types/components/Controls/Controls.d.ts +16 -0
- package/build/components/types/components/Controls/index.d.ts +2 -0
- package/build/components/types/components/Cover/Cover.d.ts +42 -0
- package/build/components/types/components/Cover/index.d.ts +3 -0
- package/build/components/types/components/Divider/Divider.d.ts +13 -0
- package/build/components/types/components/Divider/index.d.ts +2 -0
- package/build/components/types/components/Dropdown/Dropdown.d.ts +20 -0
- package/build/components/types/components/Dropdown/Dropdown.static.d.ts +28 -0
- package/build/components/types/components/Dropdown/DropdownDivider.d.ts +3 -0
- package/build/components/types/components/Dropdown/DropdownItem.d.ts +9 -0
- package/build/components/types/components/Dropdown/DropdownToggleButton.d.ts +7 -0
- package/build/components/types/components/Dropdown/index.d.ts +5 -0
- package/build/components/types/components/Expander/Expander.d.ts +22 -0
- package/build/components/types/components/Expander/Expander.static.d.ts +13 -0
- package/build/components/types/components/FeatureAccordion/FeatureAccordion.d.ts +11 -0
- package/build/components/types/components/FeatureAccordion/FeatureAccordion.static.d.ts +23 -0
- package/build/components/types/components/FeatureAccordion/FeatureAccordionItem.d.ts +11 -0
- package/build/components/types/components/FeatureAccordion/index.d.ts +2 -0
- package/build/components/types/components/Footer/Footer.d.ts +12 -0
- package/build/components/types/components/Footer/data.d.ts +15 -0
- package/build/components/types/components/Footer/index.d.ts +1 -0
- package/build/components/types/components/Forms/Autocomplete/Autocomplete.d.ts +17 -0
- package/build/components/types/components/Forms/Autocomplete/Autocomplete.static.d.ts +21 -0
- package/build/components/types/components/Forms/Autocomplete/index.d.ts +2 -0
- package/build/components/types/components/Forms/Checkbox/Checkbox.d.ts +21 -0
- package/build/components/types/components/Forms/Checkbox/index.d.ts +2 -0
- package/build/components/types/components/Forms/Field/Control.d.ts +6 -0
- package/build/components/types/components/Forms/Field/Description.d.ts +7 -0
- package/build/components/types/components/Forms/Field/Field.d.ts +17 -0
- package/build/components/types/components/Forms/Field/FieldContext.d.ts +18 -0
- package/build/components/types/components/Forms/Field/Label.d.ts +11 -0
- package/build/components/types/components/Forms/Field/Messages.d.ts +12 -0
- package/build/components/types/components/Forms/Field/Tooltip.d.ts +11 -0
- package/build/components/types/components/Forms/Field/index.d.ts +2 -0
- package/build/components/types/components/Forms/Field/utils.d.ts +16 -0
- package/build/components/types/components/Forms/Fieldset/Fieldset.d.ts +16 -0
- package/build/components/types/components/Forms/Fieldset/FieldsetContext.d.ts +7 -0
- package/build/components/types/components/Forms/Fieldset/index.d.ts +2 -0
- package/build/components/types/components/Forms/File/File.d.ts +17 -0
- package/build/components/types/components/Forms/File/File.static.d.ts +27 -0
- package/build/components/types/components/Forms/File/index.d.ts +2 -0
- package/build/components/types/components/Forms/Group/Group.d.ts +14 -0
- package/build/components/types/components/Forms/Group/Item.d.ts +8 -0
- package/build/components/types/components/Forms/Group/index.d.ts +2 -0
- package/build/components/types/components/Forms/Hint/Hint.d.ts +7 -0
- package/build/components/types/components/Forms/Hint/index.d.ts +2 -0
- package/build/components/types/components/Forms/InputStepper/InputStepper.d.ts +20 -0
- package/build/components/types/components/Forms/InputStepper/InputStepper.static.d.ts +24 -0
- package/build/components/types/components/Forms/InputStepper/index.d.ts +2 -0
- package/build/components/types/components/Forms/Label/Label.d.ts +8 -0
- package/build/components/types/components/Forms/Label/index.d.ts +2 -0
- package/build/components/types/components/Forms/Message/Message.d.ts +12 -0
- package/build/components/types/components/Forms/Message/index.d.ts +2 -0
- package/build/components/types/components/Forms/Radio/Radio.d.ts +21 -0
- package/build/components/types/components/Forms/Radio/index.d.ts +2 -0
- package/build/components/types/components/Forms/RangeSlider/RangeSlider.d.ts +38 -0
- package/build/components/types/components/Forms/RangeSlider/RangeSlider.static.d.ts +24 -0
- package/build/components/types/components/Forms/RangeSlider/data.d.ts +49 -0
- package/build/components/types/components/Forms/RangeSlider/index.d.ts +2 -0
- package/build/components/types/components/Forms/Select/Select.d.ts +33 -0
- package/build/components/types/components/Forms/Select/index.d.ts +4 -0
- package/build/components/types/components/Forms/TextArea/TextArea.d.ts +29 -0
- package/build/components/types/components/Forms/TextArea/index.d.ts +2 -0
- package/build/components/types/components/Forms/TextInput/TextInput.d.ts +32 -0
- package/build/components/types/components/Forms/TextInput/index.d.ts +2 -0
- package/build/components/types/components/Forms/index.d.ts +15 -0
- package/build/components/types/components/Gauge/Gauge.d.ts +11 -0
- package/build/components/types/components/Gauge/index.d.ts +2 -0
- package/build/components/types/components/Grid/Grid.d.ts +14 -0
- package/build/components/types/components/Grid/GridCol.d.ts +12 -0
- package/build/components/types/components/Grid/index.d.ts +3 -0
- package/build/components/types/components/Icon/Icon.d.ts +18 -0
- package/build/components/types/components/Icon/SpritePathContext.d.ts +8 -0
- package/build/components/types/components/Icon/index.d.ts +3 -0
- package/build/components/types/components/Image/Image.d.ts +20 -0
- package/build/components/types/components/Image/index.d.ts +2 -0
- package/build/components/types/components/Link/Link.d.ts +18 -0
- package/build/components/types/components/Link/index.d.ts +2 -0
- package/build/components/types/components/List/ClickableControl.d.ts +9 -0
- package/build/components/types/components/List/List.d.ts +13 -0
- package/build/components/types/components/List/ListItem.d.ts +16 -0
- package/build/components/types/components/List/index.d.ts +3 -0
- package/build/components/types/components/Loader/Loader.d.ts +14 -0
- package/build/components/types/components/Loader/Loader.static.d.ts +19 -0
- package/build/components/types/components/Loader/index.d.ts +2 -0
- package/build/components/types/components/Modal/Modal.d.ts +35 -0
- package/build/components/types/components/Modal/Modal.static.d.ts +33 -0
- package/build/components/types/components/Modal/ModalBody.d.ts +10 -0
- package/build/components/types/components/Modal/ModalCloseButton.d.ts +8 -0
- package/build/components/types/components/Modal/ModalTitle.d.ts +9 -0
- package/build/components/types/components/Modal/index.d.ts +5 -0
- package/build/components/types/components/Pagination/Pagination.d.ts +28 -0
- package/build/components/types/components/Pagination/PaginationItem.d.ts +21 -0
- package/build/components/types/components/Pagination/Separator.d.ts +6 -0
- package/build/components/types/components/Pagination/helpers.d.ts +23 -0
- package/build/components/types/components/Pagination/index.d.ts +4 -0
- package/build/components/types/components/Progress/Progress.d.ts +15 -0
- package/build/components/types/components/Progress/index.d.ts +2 -0
- package/build/components/types/components/Section/Section.d.ts +23 -0
- package/build/components/types/components/Section/index.d.ts +2 -0
- package/build/components/types/components/Skeleton/Skeleton.d.ts +3 -0
- package/build/components/types/components/Skeleton/index.d.ts +2 -0
- package/build/components/types/components/Sticker/Sticker.d.ts +10 -0
- package/build/components/types/components/Sticker/index.d.ts +3 -0
- package/build/components/types/components/Table/Cell.d.ts +11 -0
- package/build/components/types/components/Table/Footer.d.ts +3 -0
- package/build/components/types/components/Table/Header.d.ts +3 -0
- package/build/components/types/components/Table/Row.d.ts +10 -0
- package/build/components/types/components/Table/Rows.d.ts +3 -0
- package/build/components/types/components/Table/Table.d.ts +24 -0
- package/build/components/types/components/Table/Table.static.d.ts +23 -0
- package/build/components/types/components/Table/TableContext.d.ts +4 -0
- package/build/components/types/components/Table/index.d.ts +3 -0
- package/build/components/types/components/Table/types.d.ts +34 -0
- package/build/components/types/components/Tabs/Tab.d.ts +13 -0
- package/build/components/types/components/Tabs/TabPanel.d.ts +14 -0
- package/build/components/types/components/Tabs/Tabs.d.ts +31 -0
- package/build/components/types/components/Tabs/Tabs.static.d.ts +28 -0
- package/build/components/types/components/Tabs/index.d.ts +4 -0
- package/build/components/types/components/Tag/Tag.d.ts +24 -0
- package/build/components/types/components/Tag/TagButton.d.ts +12 -0
- package/build/components/types/components/Tag/index.d.ts +4 -0
- package/build/components/types/components/Testimonial/Testimonial.d.ts +10 -0
- package/build/components/types/components/Testimonial/index.d.ts +2 -0
- package/build/components/types/components/Tile/Tile.d.ts +23 -0
- package/build/components/types/components/Tile/index.d.ts +2 -0
- package/build/components/types/components/Tooltip/InfoTooltip.d.ts +8 -0
- package/build/components/types/components/Tooltip/Tooltip.d.ts +25 -0
- package/build/components/types/components/Tooltip/Tooltip.static.d.ts +26 -0
- package/build/components/types/components/Tooltip/index.d.ts +3 -0
- package/build/components/types/components/index.d.ts +43 -0
- package/build/components/types/docs/utils/ToggleButton.d.ts +9 -0
- package/build/components/types/scripts/modules/Toggle.d.ts +39 -0
- package/build/components/types/scripts/modules/toggleUtil.d.ts +13 -0
- package/build/components/types/styles/export/breakpoint.d.ts +9 -0
- package/build/components/types/utils/ConditionalWrapper.d.ts +10 -0
- package/build/components/types/utils/classes.d.ts +5 -0
- package/build/components/types/utils/color.d.ts +20 -0
- package/build/components/types/utils/constants.d.ts +18 -0
- package/build/components/types/utils/generateId.d.ts +6 -0
- package/build/components/types/utils/helpers.d.ts +11 -0
- package/build/components/types/utils/hooks.d.ts +30 -0
- package/build/components/types/utils/index.d.ts +5 -0
- package/build/components/types/utils/keyboard.d.ts +14 -0
- package/build/fonts/HelveticaNeue-Bold.woff2 +0 -0
- package/build/fonts/HelveticaNeue-Light.woff2 +0 -0
- package/build/fonts/HelveticaNeue-Roman.woff2 +0 -0
- package/build/images/product-1.svg +10 -0
- package/build/images/product-2.svg +14 -0
- package/build/images/product-3.svg +9 -0
- package/build/index.html +65 -46
- package/build/index.txt +23 -17
- package/build/javascript/toggle.html +1 -0
- package/build/javascript/toggle.txt +29 -0
- package/build/lib/after-components.css +1 -1
- package/build/lib/after-components.css.map +1 -1
- package/build/lib/before-components.css +2 -1
- package/build/lib/before-components.css.map +1 -1
- package/build/lib/components.css +1 -1
- package/build/lib/components.css.map +1 -1
- package/build/lib/fonts.css +1 -1
- package/build/lib/fonts.css.map +1 -1
- package/build/lib/scripts.css +2 -0
- package/build/lib/scripts.css.map +1 -0
- package/build/lib/scripts.js +7 -1201
- package/build/lib/scripts.js.map +1 -1
- package/build/lib/style.css +2 -1
- package/build/lib/style.css.map +1 -1
- package/build/logo.svg +1 -0
- package/build/sprite.svg +1 -0
- package/build/utilities/horizontal-scroll.html +4 -0
- package/build/utilities/horizontal-scroll.txt +26 -0
- package/package.json +17 -3
- package/public/fonts/HelveticaNeue-Bold.woff2 +0 -0
- package/public/fonts/HelveticaNeue-Light.woff2 +0 -0
- package/public/fonts/HelveticaNeue-Roman.woff2 +0 -0
- package/src/assets/icons/4g.svg +1 -0
- package/src/assets/icons/5g.svg +1 -0
- package/src/assets/icons/accessibility-mobility.svg +1 -0
- package/src/assets/icons/accessibility-motor.svg +1 -0
- package/src/assets/icons/accessibility-vision.svg +1 -0
- package/src/assets/icons/accessibility.svg +1 -0
- package/src/assets/icons/add.svg +1 -0
- package/src/assets/icons/advertising.svg +1 -0
- package/src/assets/icons/aeroplane.svg +1 -0
- package/src/assets/icons/age-rating-3.svg +1 -0
- package/src/assets/icons/airbox-auto.svg +1 -0
- package/src/assets/icons/alias-numbers.svg +1 -0
- package/src/assets/icons/android-manage.svg +1 -0
- package/src/assets/icons/antenna.svg +1 -0
- package/src/assets/icons/apartment-building.svg +1 -0
- package/src/assets/icons/apps.svg +1 -0
- package/src/assets/icons/assistance.svg +1 -0
- package/src/assets/icons/assistent.svg +1 -0
- package/src/assets/icons/at.svg +1 -0
- package/src/assets/icons/avatar.svg +1 -0
- package/src/assets/icons/backup-internet.svg +1 -0
- package/src/assets/icons/bank.svg +1 -0
- package/src/assets/icons/battery-charging.svg +1 -0
- package/src/assets/icons/battery-full.svg +1 -0
- package/src/assets/icons/battery-status-1-3.svg +1 -0
- package/src/assets/icons/battery-status-charging.svg +1 -0
- package/src/assets/icons/battery-status-full.svg +1 -0
- package/src/assets/icons/bed.svg +1 -0
- package/src/assets/icons/birth.svg +1 -0
- package/src/assets/icons/birthday.svg +1 -0
- package/src/assets/icons/bluetooth.svg +1 -0
- package/src/assets/icons/boarding-pass.svg +1 -0
- package/src/assets/icons/book-award.svg +1 -0
- package/src/assets/icons/book.svg +1 -0
- package/src/assets/icons/boxes.svg +1 -0
- package/src/assets/icons/briefcase.svg +1 -0
- package/src/assets/icons/browser-plug-in.svg +1 -0
- package/src/assets/icons/business-advisor.svg +1 -0
- package/src/assets/icons/business-consultant.svg +1 -0
- package/src/assets/icons/business-lounge.svg +1 -0
- package/src/assets/icons/buy.svg +1 -0
- package/src/assets/icons/calendar-30.svg +1 -0
- package/src/assets/icons/calendar-alarm.svg +1 -0
- package/src/assets/icons/calendar-day.svg +1 -0
- package/src/assets/icons/calendar-month.svg +1 -0
- package/src/assets/icons/call-in.svg +1 -0
- package/src/assets/icons/call-out.svg +1 -0
- package/src/assets/icons/call.svg +1 -0
- package/src/assets/icons/camera.svg +1 -0
- package/src/assets/icons/car-park.svg +1 -0
- package/src/assets/icons/car.svg +1 -0
- package/src/assets/icons/card-reader.svg +1 -0
- package/src/assets/icons/casting.svg +1 -0
- package/src/assets/icons/cest-ici.svg +1 -0
- package/src/assets/icons/charger.svg +1 -0
- package/src/assets/icons/chatbot.svg +1 -0
- package/src/assets/icons/check-your-balance.svg +1 -0
- package/src/assets/icons/checked.svg +1 -0
- package/src/assets/icons/chevron-down.svg +1 -0
- package/src/assets/icons/chevron-end.svg +1 -0
- package/src/assets/icons/chevron-left.svg +1 -0
- package/src/assets/icons/chevron-right.svg +1 -0
- package/src/assets/icons/chevron-start.svg +1 -0
- package/src/assets/icons/chevron-up.svg +1 -0
- package/src/assets/icons/child.svg +1 -0
- package/src/assets/icons/children-channel.svg +1 -0
- package/src/assets/icons/childrens-content.svg +1 -0
- package/src/assets/icons/christmas-tree.svg +1 -0
- package/src/assets/icons/cinema-ticket-2-for-1.svg +1 -0
- package/src/assets/icons/cle-pc.svg +1 -0
- package/src/assets/icons/clock.svg +1 -0
- package/src/assets/icons/close.svg +5 -0
- package/src/assets/icons/closed-captions.svg +1 -0
- package/src/assets/icons/cloud-backup.svg +1 -0
- package/src/assets/icons/cloud-security.svg +1 -0
- package/src/assets/icons/collective-class-training.svg +1 -0
- package/src/assets/icons/community-sms.svg +1 -0
- package/src/assets/icons/company-structure.svg +1 -0
- package/src/assets/icons/connections.svg +1 -0
- package/src/assets/icons/control-centre.svg +1 -0
- package/src/assets/icons/control-my-data.svg +3 -0
- package/src/assets/icons/cpu.svg +1 -0
- package/src/assets/icons/currency-euro.svg +1 -0
- package/src/assets/icons/cyber-shield.svg +1 -0
- package/src/assets/icons/dashboard-display.svg +1 -0
- package/src/assets/icons/data-analytics.svg +1 -0
- package/src/assets/icons/data-centre.svg +1 -0
- package/src/assets/icons/data-services.svg +1 -0
- package/src/assets/icons/data-traffic.svg +1 -0
- package/src/assets/icons/data.svg +1 -0
- package/src/assets/icons/delete.svg +1 -0
- package/src/assets/icons/desk-phone.svg +1 -0
- package/src/assets/icons/desktop-pc.svg +1 -0
- package/src/assets/icons/device-fixed-line-phone.svg +1 -0
- package/src/assets/icons/device-laptop-computer-connected.svg +1 -0
- package/src/assets/icons/device-laptop-computer.svg +1 -0
- package/src/assets/icons/device-smart-phone.svg +1 -0
- package/src/assets/icons/device-tablet.svg +1 -0
- package/src/assets/icons/device-tv.svg +1 -0
- package/src/assets/icons/diagnostic.svg +1 -0
- package/src/assets/icons/digital-frame.svg +1 -0
- package/src/assets/icons/discussion-more.svg +1 -0
- package/src/assets/icons/doctor.svg +1 -0
- package/src/assets/icons/documentary.svg +1 -0
- package/src/assets/icons/donation.svg +1 -0
- package/src/assets/icons/download-file.svg +1 -0
- package/src/assets/icons/download.svg +1 -0
- package/src/assets/icons/e-reader.svg +1 -0
- package/src/assets/icons/e-shop.svg +1 -0
- package/src/assets/icons/easy-internet.svg +1 -0
- package/src/assets/icons/eco-mode.svg +1 -0
- package/src/assets/icons/edit.svg +1 -0
- package/src/assets/icons/electrcar.svg +1 -0
- package/src/assets/icons/email.svg +1 -0
- package/src/assets/icons/employees.svg +1 -0
- package/src/assets/icons/empty-trash.svg +1 -0
- package/src/assets/icons/entertainment.svg +1 -0
- package/src/assets/icons/epg.svg +1 -0
- package/src/assets/icons/error-severe.svg +1 -0
- package/src/assets/icons/ethernet.svg +1 -0
- package/src/assets/icons/euro.svg +1 -0
- package/src/assets/icons/exit.svg +1 -0
- package/src/assets/icons/facebook-2.svg +1 -0
- package/src/assets/icons/facebook.svg +1 -0
- package/src/assets/icons/factory.svg +1 -0
- package/src/assets/icons/family-place.svg +1 -0
- package/src/assets/icons/fashion.svg +1 -0
- package/src/assets/icons/fast-delivery.svg +1 -0
- package/src/assets/icons/file-compressed.svg +1 -0
- package/src/assets/icons/file-copy.svg +1 -0
- package/src/assets/icons/file-document-compose.svg +1 -0
- package/src/assets/icons/file-download.svg +1 -0
- package/src/assets/icons/file-draft-edit.svg +1 -0
- package/src/assets/icons/file-pdf.svg +1 -0
- package/src/assets/icons/file-terms-and-conditions.svg +1 -0
- package/src/assets/icons/files.svg +1 -0
- package/src/assets/icons/film.svg +1 -0
- package/src/assets/icons/filter.svg +1 -0
- package/src/assets/icons/finance.svg +1 -0
- package/src/assets/icons/firewall.svg +1 -0
- package/src/assets/icons/flag.svg +1 -0
- package/src/assets/icons/flashlight.svg +1 -0
- package/src/assets/icons/flexible-storage.svg +1 -0
- package/src/assets/icons/folder.svg +1 -0
- package/src/assets/icons/football-match.svg +1 -0
- package/src/assets/icons/football-quiz.svg +1 -0
- package/src/assets/icons/football.svg +1 -0
- package/src/assets/icons/form-tick.svg +1 -0
- package/src/assets/icons/front-end-dashboard.svg +1 -0
- package/src/assets/icons/funny.svg +1 -0
- package/src/assets/icons/futher-education.svg +1 -0
- package/src/assets/icons/games.svg +1 -0
- package/src/assets/icons/garage-closed.svg +1 -0
- package/src/assets/icons/gauge-rate.svg +1 -0
- package/src/assets/icons/gears.svg +1 -0
- package/src/assets/icons/geolocation.svg +1 -0
- package/src/assets/icons/guide-info.svg +1 -0
- package/src/assets/icons/hammer.svg +1 -0
- package/src/assets/icons/hand-shake.svg +1 -0
- package/src/assets/icons/hard-drive.svg +1 -0
- package/src/assets/icons/hdmi-key.svg +1 -0
- package/src/assets/icons/headphones.svg +1 -0
- package/src/assets/icons/health-app.svg +1 -0
- package/src/assets/icons/health-monitor.svg +1 -0
- package/src/assets/icons/health-patient.svg +1 -0
- package/src/assets/icons/heart.svg +1 -0
- package/src/assets/icons/home-appliance.svg +1 -0
- package/src/assets/icons/home.svg +1 -0
- package/src/assets/icons/homelive.svg +1 -0
- package/src/assets/icons/hourglass.svg +1 -0
- package/src/assets/icons/house.svg +1 -0
- package/src/assets/icons/id-card.svg +1 -0
- package/src/assets/icons/image.svg +1 -0
- package/src/assets/icons/important.svg +1 -0
- package/src/assets/icons/improvement.svg +1 -0
- package/src/assets/icons/inbox.svg +1 -0
- package/src/assets/icons/info.svg +1 -0
- package/src/assets/icons/information-data.svg +1 -0
- package/src/assets/icons/instagram.svg +1 -0
- package/src/assets/icons/international-globe.svg +1 -0
- package/src/assets/icons/internet-browser.svg +1 -0
- package/src/assets/icons/internet-security-desktop.svg +1 -0
- package/src/assets/icons/internet-security-mobile.svg +1 -0
- package/src/assets/icons/internet-security-password.svg +1 -0
- package/src/assets/icons/internet-usage.svg +1 -0
- package/src/assets/icons/internet.svg +1 -0
- package/src/assets/icons/invoice-euro.svg +1 -0
- package/src/assets/icons/invoices-euro.svg +1 -0
- package/src/assets/icons/iso.svg +1 -0
- package/src/assets/icons/it-infrastructure.svg +1 -0
- package/src/assets/icons/keyboard.svg +1 -0
- package/src/assets/icons/la-cle-tv.svg +1 -0
- package/src/assets/icons/laptop-connected.svg +1 -0
- package/src/assets/icons/laptop.svg +1 -0
- package/src/assets/icons/le-vote.svg +1 -0
- package/src/assets/icons/link.svg +1 -0
- package/src/assets/icons/linkedin-2.svg +1 -0
- package/src/assets/icons/linkedin.svg +1 -0
- package/src/assets/icons/location-on-map.svg +1 -0
- package/src/assets/icons/location-pin.svg +1 -0
- package/src/assets/icons/lock-open.svg +1 -0
- package/src/assets/icons/lock.svg +1 -0
- package/src/assets/icons/logistics.svg +1 -0
- package/src/assets/icons/love-logo.svg +1 -0
- package/src/assets/icons/mahali.svg +1 -0
- package/src/assets/icons/maintenance-man.svg +1 -0
- package/src/assets/icons/map-pin.svg +1 -0
- package/src/assets/icons/map.svg +1 -0
- package/src/assets/icons/medal.svg +1 -0
- package/src/assets/icons/medical-app.svg +1 -0
- package/src/assets/icons/medical-chart.svg +1 -0
- package/src/assets/icons/medicine.svg +1 -0
- package/src/assets/icons/menu-arrow.svg +1 -0
- package/src/assets/icons/menu-grid.svg +1 -0
- package/src/assets/icons/menu.svg +1 -0
- package/src/assets/icons/message-alert.svg +1 -0
- package/src/assets/icons/messages.svg +1 -0
- package/src/assets/icons/micro-sd-card.svg +1 -0
- package/src/assets/icons/microphone-mute.svg +1 -0
- package/src/assets/icons/microphone.svg +1 -0
- package/src/assets/icons/mini-games.svg +1 -0
- package/src/assets/icons/mobile-applications.svg +1 -0
- package/src/assets/icons/mobile-data-toggle.svg +1 -0
- package/src/assets/icons/mobile-insurance.svg +1 -0
- package/src/assets/icons/mobile-network-coverage.svg +1 -0
- package/src/assets/icons/mobile-payment.svg +1 -0
- package/src/assets/icons/mobile-security.svg +1 -0
- package/src/assets/icons/mobile-setup.svg +1 -0
- package/src/assets/icons/modem.svg +1 -0
- package/src/assets/icons/modifier-delete.svg +1 -0
- package/src/assets/icons/modifier-done.svg +1 -0
- package/src/assets/icons/modifier-download.svg +1 -0
- package/src/assets/icons/modifier-upload.svg +1 -0
- package/src/assets/icons/money-box.svg +1 -0
- package/src/assets/icons/more-dots.svg +1 -0
- package/src/assets/icons/multi-sim.svg +1 -0
- package/src/assets/icons/music.svg +1 -0
- package/src/assets/icons/my-account.svg +1 -0
- package/src/assets/icons/my-orange.svg +1 -0
- package/src/assets/icons/my-skills.svg +1 -0
- package/src/assets/icons/my-vacation.svg +1 -0
- package/src/assets/icons/network-dslam.svg +1 -0
- package/src/assets/icons/network-gatekeeper.svg +1 -0
- package/src/assets/icons/network-gateway.svg +1 -0
- package/src/assets/icons/network-optical-amplifier.svg +1 -0
- package/src/assets/icons/network-optical-transport.svg +1 -0
- package/src/assets/icons/network-wan-optimisation-engine.svg +1 -0
- package/src/assets/icons/networks.svg +1 -0
- package/src/assets/icons/newspaper.svg +1 -0
- package/src/assets/icons/not-checked.svg +1 -0
- package/src/assets/icons/notification-alert.svg +1 -0
- package/src/assets/icons/office.svg +1 -0
- package/src/assets/icons/online-help.svg +1 -0
- package/src/assets/icons/orange-assistant.svg +1 -0
- package/src/assets/icons/orange-cash.svg +1 -0
- package/src/assets/icons/orange-detente.svg +1 -0
- package/src/assets/icons/orange-dialler.svg +1 -0
- package/src/assets/icons/orange-events.svg +1 -0
- package/src/assets/icons/orange-experts-expert.svg +1 -0
- package/src/assets/icons/orange-experts-insurance.svg +1 -0
- package/src/assets/icons/orange-experts-orange-business-consultant.svg +1 -0
- package/src/assets/icons/orange-experts-recycle.svg +1 -0
- package/src/assets/icons/orange-experts-repair.svg +1 -0
- package/src/assets/icons/orange-football-club.svg +1 -0
- package/src/assets/icons/orange-games.svg +1 -0
- package/src/assets/icons/orange-messenger.svg +1 -0
- package/src/assets/icons/orange-money-nfc.svg +1 -0
- package/src/assets/icons/orange-reflect.svg +1 -0
- package/src/assets/icons/orange-rewards.svg +1 -0
- package/src/assets/icons/orange-tv.svg +1 -0
- package/src/assets/icons/orange-vr-experience.svg +1 -0
- package/src/assets/icons/outbox.svg +1 -0
- package/src/assets/icons/package-content.svg +1 -0
- package/src/assets/icons/package-services.svg +1 -0
- package/src/assets/icons/package.svg +1 -0
- package/src/assets/icons/packaging-icon-hd.svg +1 -0
- package/src/assets/icons/parabole-tv.svg +1 -0
- package/src/assets/icons/parental-control.svg +1 -0
- package/src/assets/icons/pause.svg +1 -0
- package/src/assets/icons/payment-card.svg +1 -0
- package/src/assets/icons/payment-euro.svg +1 -0
- package/src/assets/icons/pda.svg +1 -0
- package/src/assets/icons/pdf-file.svg +1 -0
- package/src/assets/icons/pencil.svg +1 -0
- package/src/assets/icons/personal-hotspot.svg +1 -0
- package/src/assets/icons/personal-smartphone-trainer.svg +1 -0
- package/src/assets/icons/phone-advisor.svg +1 -0
- package/src/assets/icons/play-and-win.svg +1 -0
- package/src/assets/icons/play.svg +1 -0
- package/src/assets/icons/plug-socket.svg +1 -0
- package/src/assets/icons/power.svg +1 -0
- package/src/assets/icons/powerstation.svg +1 -0
- package/src/assets/icons/presentation.svg +1 -0
- package/src/assets/icons/print.svg +1 -0
- package/src/assets/icons/printer.svg +1 -0
- package/src/assets/icons/real-time.svg +1 -0
- package/src/assets/icons/recycle-device.svg +1 -0
- package/src/assets/icons/recycle.svg +1 -0
- package/src/assets/icons/reduction.svg +1 -0
- package/src/assets/icons/reload.svg +1 -0
- package/src/assets/icons/reminders.svg +1 -0
- package/src/assets/icons/remote-desktop-protocol.svg +1 -0
- package/src/assets/icons/remove.svg +1 -0
- package/src/assets/icons/repair.svg +1 -0
- package/src/assets/icons/reseau.svg +1 -0
- package/src/assets/icons/restaurant.svg +1 -0
- package/src/assets/icons/rewards.svg +1 -0
- package/src/assets/icons/running.svg +1 -0
- package/src/assets/icons/safety.svg +1 -0
- package/src/assets/icons/satallite.svg +1 -0
- package/src/assets/icons/save.svg +1 -0
- package/src/assets/icons/school.svg +1 -0
- package/src/assets/icons/science.svg +1 -0
- package/src/assets/icons/sd-card.svg +1 -0
- package/src/assets/icons/search.svg +1 -0
- package/src/assets/icons/security-status-good.svg +1 -0
- package/src/assets/icons/send.svg +1 -0
- package/src/assets/icons/senior-person.svg +1 -0
- package/src/assets/icons/server-storage-array.svg +1 -0
- package/src/assets/icons/server-tower.svg +1 -0
- package/src/assets/icons/session-enter.svg +1 -0
- package/src/assets/icons/session-leave.svg +1 -0
- package/src/assets/icons/settings.svg +1 -0
- package/src/assets/icons/share.svg +1 -0
- package/src/assets/icons/shop-pin.svg +1 -0
- package/src/assets/icons/shop.svg +1 -0
- package/src/assets/icons/showroom-mobile-pro.svg +1 -0
- package/src/assets/icons/signal-5-5.svg +1 -0
- package/src/assets/icons/silence.svg +1 -0
- package/src/assets/icons/sim-e.svg +1 -0
- package/src/assets/icons/sim.svg +1 -0
- package/src/assets/icons/simple-mode.svg +1 -0
- package/src/assets/icons/simplicity.svg +1 -0
- package/src/assets/icons/siren.svg +1 -0
- package/src/assets/icons/skiing.svg +1 -0
- package/src/assets/icons/skip-to-end.svg +1 -0
- package/src/assets/icons/skip-to-start.svg +1 -0
- package/src/assets/icons/sleep.svg +1 -0
- package/src/assets/icons/smart-care.svg +1 -0
- package/src/assets/icons/smart-home.svg +1 -0
- package/src/assets/icons/smart-tap.svg +1 -0
- package/src/assets/icons/smart-watch.svg +1 -0
- package/src/assets/icons/sms-alert.svg +1 -0
- package/src/assets/icons/sms-message-compose.svg +1 -0
- package/src/assets/icons/sms-message.svg +1 -0
- package/src/assets/icons/social-network.svg +1 -0
- package/src/assets/icons/sofa.svg +1 -0
- package/src/assets/icons/sort.svg +1 -0
- package/src/assets/icons/stadium.svg +1 -0
- package/src/assets/icons/star-empty.svg +1 -0
- package/src/assets/icons/star-favourite-half.svg +1 -0
- package/src/assets/icons/star-favourite.svg +1 -0
- package/src/assets/icons/startover.svg +1 -0
- package/src/assets/icons/statistics.svg +1 -0
- package/src/assets/icons/stop-secret.svg +1 -0
- package/src/assets/icons/storage-cloud.svg +1 -0
- package/src/assets/icons/store-locator.svg +1 -0
- package/src/assets/icons/street.svg +1 -0
- package/src/assets/icons/subscription-package.svg +1 -0
- package/src/assets/icons/suitcase.svg +1 -0
- package/src/assets/icons/support.svg +1 -0
- package/src/assets/icons/surveillance-camera.svg +1 -0
- package/src/assets/icons/syncronise.svg +1 -0
- package/src/assets/icons/tag-advertising.svg +1 -0
- package/src/assets/icons/tag.svg +1 -0
- package/src/assets/icons/target-location.svg +1 -0
- package/src/assets/icons/tarif.svg +1 -0
- package/src/assets/icons/task-list.svg +1 -0
- package/src/assets/icons/team-connect.svg +1 -0
- package/src/assets/icons/thumb-up.svg +1 -0
- package/src/assets/icons/tick.svg +1 -0
- package/src/assets/icons/ticket.svg +1 -0
- package/src/assets/icons/top-up-card-euro.svg +1 -0
- package/src/assets/icons/top-up-euro.svg +1 -0
- package/src/assets/icons/top-up-time.svg +1 -0
- package/src/assets/icons/town.svg +1 -0
- package/src/assets/icons/townhall.svg +1 -0
- package/src/assets/icons/train.svg +1 -0
- package/src/assets/icons/training-session.svg +1 -0
- package/src/assets/icons/tranquility.svg +1 -0
- package/src/assets/icons/transfer-data.svg +1 -0
- package/src/assets/icons/transfers.svg +1 -0
- package/src/assets/icons/trash.svg +1 -0
- package/src/assets/icons/tv-channel-list.svg +1 -0
- package/src/assets/icons/tv-commande.svg +1 -0
- package/src/assets/icons/unlimited-calls.svg +1 -0
- package/src/assets/icons/upload.svg +1 -0
- package/src/assets/icons/usb-hard-drive.svg +1 -0
- package/src/assets/icons/usb-key.svg +1 -0
- package/src/assets/icons/user-manual.svg +1 -0
- package/src/assets/icons/user.svg +1 -0
- package/src/assets/icons/video-call.svg +1 -0
- package/src/assets/icons/video-live.svg +1 -0
- package/src/assets/icons/video-phone.svg +1 -0
- package/src/assets/icons/video-record.svg +1 -0
- package/src/assets/icons/video.svg +1 -0
- package/src/assets/icons/vip-contact.svg +1 -0
- package/src/assets/icons/virtual-gamepad.svg +1 -0
- package/src/assets/icons/vod-portrait.svg +1 -0
- package/src/assets/icons/volte.svg +1 -0
- package/src/assets/icons/volume-status-4-4.svg +1 -0
- package/src/assets/icons/vowifi.svg +1 -0
- package/src/assets/icons/wallet.svg +1 -0
- package/src/assets/icons/warning-important.svg +1 -0
- package/src/assets/icons/washroom.svg +1 -0
- package/src/assets/icons/watch.svg +1 -0
- package/src/assets/icons/water.svg +1 -0
- package/src/assets/icons/weather.svg +1 -0
- package/src/assets/icons/web-browser.svg +1 -0
- package/src/assets/icons/web-camera.svg +1 -0
- package/src/assets/icons/weighing-scales.svg +1 -0
- package/src/assets/icons/widget.svg +1 -0
- package/src/assets/icons/wifi-home.svg +1 -0
- package/src/assets/icons/wifi.svg +1 -0
- package/src/assets/icons/x.svg +1 -0
- package/src/assets/icons/your-balance.svg +1 -0
- package/src/assets/icons/youtube.svg +1 -0
- package/src/assets/icons/zoom-in.svg +1 -0
- package/src/assets/icons/zoom-out.svg +1 -0
- package/src/assets/images/developers/hands-with-phones.svg +90 -0
- 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/logo/logo.svg +1 -0
- package/src/components/Accordion/Accordion.mdx +222 -0
- package/src/components/Accordion/Accordion.static.ts +104 -0
- package/src/components/Accordion/Accordion.tsx +62 -0
- package/src/components/Accordion/AccordionHeader.tsx +59 -0
- package/src/components/Accordion/AccordionItem.tsx +66 -0
- package/src/components/Accordion/HeadingContext.tsx +5 -0
- package/src/components/Accordion/index.ts +4 -0
- package/src/components/Accordion/styles/config.scss +8 -0
- package/src/components/Accordion/styles/mixins.scss +91 -0
- package/src/components/Accordion/styles/style.scss +49 -0
- package/src/components/Accordion/tests/Accordion.static.test.js +207 -0
- package/src/components/Accordion/tests/Accordion.unit.test.js +822 -0
- package/src/components/Accordion/tests/data.js +18 -0
- package/src/components/Alert/Alert.mdx +141 -0
- package/src/components/Alert/Alert.tsx +120 -0
- package/src/components/Alert/CHANGELOG.md +66 -0
- package/src/components/Alert/data.ts +8 -0
- package/src/components/Alert/index.ts +3 -0
- package/src/components/Alert/styles/config.scss +19 -0
- package/src/components/Alert/styles/mixins.scss +66 -0
- package/src/components/Alert/styles/style.scss +36 -0
- package/src/components/Alert/tests/Alert.conformance.test.js +30 -0
- package/src/components/Alert/tests/Alert.test.js +113 -0
- package/src/components/Bar/Bar.mdx +203 -0
- package/src/components/Bar/Bar.tsx +58 -0
- package/src/components/Bar/BarBreak.tsx +29 -0
- package/src/components/Bar/BarItem.tsx +50 -0
- package/src/components/Bar/index.ts +5 -0
- package/src/components/Bar/styles/config.scss +10 -0
- package/src/components/Bar/styles/mixins.scss +84 -0
- package/src/components/Bar/styles/style.scss +62 -0
- package/src/components/Bar/tests/Bar.conformance.test.js +29 -0
- package/src/components/Bar/tests/Bar.unit.test.js +58 -0
- package/src/components/Bar/tests/BarBreak.unit.test.js +32 -0
- package/src/components/Bar/tests/BarItem.unit.test.js +51 -0
- package/src/components/BlockAction/BlockAction.mdx +244 -0
- package/src/components/BlockAction/BlockAction.static.ts +104 -0
- package/src/components/BlockAction/BlockAction.tsx +27 -0
- package/src/components/BlockAction/BlockActionControl.tsx +32 -0
- package/src/components/BlockAction/BlockActionIndicator.tsx +32 -0
- package/src/components/BlockAction/CloneElementWithClassName.tsx +23 -0
- package/src/components/BlockAction/Context.tsx +39 -0
- package/src/components/BlockAction/index.tsx +29 -0
- package/src/components/BlockAction/styles/config.scss +10 -0
- package/src/components/BlockAction/styles/mixins.scss +33 -0
- package/src/components/BlockAction/styles/style.scss +35 -0
- package/src/components/BlockAction/tests/BlockAction.conformance.test.js +117 -0
- package/src/components/BlockAction/tests/BlockAction.unit.test.js +44 -0
- package/src/components/BlockAction/tests/BlockActionControl.unit.test.js +146 -0
- package/src/components/BlockAction/tests/BlockActionIndicator.unit.test.js +68 -0
- package/src/components/BlockAction/tests/CloneElementWithClassName.unit.test.js +33 -0
- package/src/components/BodyBanner/BodyBanner.mdx +268 -0
- package/src/components/BodyBanner/BodyBanner.tsx +102 -0
- package/src/components/BodyBanner/index.tsx +3 -0
- package/src/components/BodyBanner/styles/mixins.scss +106 -0
- package/src/components/BodyBanner/styles/style.scss +41 -0
- package/src/components/Breadcrumbs/BreadcrumbItem.tsx +54 -0
- package/src/components/Breadcrumbs/Breadcrumbs.mdx +84 -0
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +61 -0
- package/src/components/Breadcrumbs/index.ts +3 -0
- package/src/components/Breadcrumbs/styles/config.scss +2 -0
- package/src/components/Breadcrumbs/styles/mixins.scss +105 -0
- package/src/components/Breadcrumbs/styles/style.scss +39 -0
- package/src/components/Breadcrumbs/tests/BreadcrumbItem.unit.test.js +294 -0
- package/src/components/Breadcrumbs/tests/Breadcrumbs.conformance.test.js +52 -0
- package/src/components/Breadcrumbs/tests/Breadcrumbs.integration.test.js +309 -0
- package/src/components/Breadcrumbs/tests/Breadcrumbs.unit.test.js +279 -0
- package/src/components/Button/Button.mdx +273 -0
- package/src/components/Button/Button.tsx +106 -0
- package/src/components/Button/IconButton.tsx +67 -0
- package/src/components/Button/index.tsx +23 -0
- package/src/components/Button/styles/config.scss +136 -0
- package/src/components/Button/styles/mixins.scss +155 -0
- package/src/components/Button/styles/style.scss +46 -0
- package/src/components/Button/tests/Button.conformance.test.js +37 -0
- package/src/components/Button/tests/Button.test.js +119 -0
- package/src/components/Button/tests/IconButton.unit.test.js +107 -0
- package/src/components/Buttons/Buttons.mdx +39 -0
- package/src/components/Buttons/Buttons.tsx +34 -0
- package/src/components/Buttons/index.ts +3 -0
- package/src/components/Buttons/styles/config.scss +3 -0
- package/src/components/Buttons/styles/mixins.scss +39 -0
- package/src/components/Buttons/styles/style.scss +12 -0
- package/src/components/Buttons/tests/Buttons.conformance.test.js +22 -0
- package/src/components/Buttons/tests/Buttons.unit.test.js +26 -0
- package/src/components/Card/CHANGELOG.md +19 -0
- package/src/components/Card/Card.mdx +334 -0
- package/src/components/Card/Card.tsx +35 -0
- package/src/components/Card/CardProductHeader.tsx +34 -0
- package/src/components/Card/CardSection.tsx +44 -0
- package/src/components/Card/index.ts +5 -0
- package/src/components/Card/styles/config.scss +16 -0
- package/src/components/Card/styles/mixins.scss +68 -0
- package/src/components/Card/styles/style.scss +37 -0
- package/src/components/Card/tests/Card.conformance.test.js +31 -0
- package/src/components/Card/tests/Card.unit.test.js +47 -0
- package/src/components/Card/tests/CardProductHeader.unit.test.js +51 -0
- package/src/components/Card/tests/CardSection.unit.test.js +61 -0
- package/src/components/Card/tests/data.ts +44 -0
- package/src/components/Carousel/Carousel.mdx +163 -0
- package/src/components/Carousel/Carousel.static.ts +227 -0
- package/src/components/Carousel/Carousel.tsx +93 -0
- package/src/components/Carousel/CarouselItem.tsx +29 -0
- package/src/components/Carousel/constants.ts +18 -0
- package/src/components/Carousel/index.ts +4 -0
- package/src/components/Carousel/styles/config.scss +44 -0
- package/src/components/Carousel/styles/mixins.scss +231 -0
- package/src/components/Carousel/styles/style.scss +64 -0
- package/src/components/Carousel/tests/Carousel.conformance.test.js +26 -0
- package/src/components/Carousel/tests/Carousel.unit.test.js +150 -0
- package/src/components/Carousel/tests/CarouselItem.unit.test.js +27 -0
- package/src/components/CarouselPromotions/CarouselPromotions.mdx +246 -0
- package/src/components/CarouselPromotions/CarouselPromotions.static.ts +254 -0
- package/src/components/CarouselPromotions/CarouselPromotions.tsx +63 -0
- package/src/components/CarouselPromotions/CarouselPromotionsItem.tsx +53 -0
- package/src/components/CarouselPromotions/constants.ts +21 -0
- package/src/components/CarouselPromotions/index.ts +4 -0
- package/src/components/CarouselPromotions/styles/config.scss +65 -0
- package/src/components/CarouselPromotions/styles/mixins.scss +286 -0
- package/src/components/CarouselPromotions/styles/style.scss +51 -0
- package/src/components/CarouselPromotions/tests/CarouselPromotions.conformance.test.js +30 -0
- package/src/components/CarouselPromotions/tests/CarouselPromotions.unit.test.js +94 -0
- package/src/components/CarouselPromotions/tests/CarouselPromotionsItem.unit.test.js +33 -0
- package/src/components/CartTable/CartTable.mdx +129 -0
- package/src/components/CartTable/CartTable.tsx +111 -0
- package/src/components/CartTable/FooterNameColumn.tsx +32 -0
- package/src/components/CartTable/FooterPriceColumn.tsx +50 -0
- package/src/components/CartTable/Price.tsx +48 -0
- package/src/components/CartTable/data.ts +147 -0
- package/src/components/CartTable/generateFooter.tsx +97 -0
- package/src/components/CartTable/generateRow.tsx +196 -0
- package/src/components/CartTable/generateTotal.ts +157 -0
- package/src/components/CartTable/index.ts +3 -0
- package/src/components/CartTable/styles/config.scss +19 -0
- package/src/components/CartTable/styles/mixins.scss +141 -0
- package/src/components/CartTable/styles/style.scss +37 -0
- package/src/components/CartTable/tests/CartTable.conformance.test.js +16 -0
- package/src/components/Container/Container.mdx +73 -0
- package/src/components/Container/Container.tsx +17 -0
- package/src/components/Container/index.ts +3 -0
- package/src/components/Container/styles/config.scss +11 -0
- package/src/components/Container/styles/mixins.scss +22 -0
- package/src/components/Container/styles/style.scss +7 -0
- package/src/components/Container/tests/Container.conformance.test.js +215 -0
- package/src/components/Container/tests/Container.unit.test.js +320 -0
- package/src/components/Controls/Controls.mdx +469 -0
- package/src/components/Controls/Controls.tsx +50 -0
- package/src/components/Controls/index.ts +3 -0
- package/src/components/Controls/styles/config.scss +61 -0
- package/src/components/Controls/styles/mixins.scss +70 -0
- package/src/components/Controls/styles/style.scss +16 -0
- package/src/components/Controls/tests/Controls.test.js +479 -0
- package/src/components/Cover/Cover.mdx +87 -0
- package/src/components/Cover/Cover.tsx +81 -0
- package/src/components/Cover/index.ts +5 -0
- package/src/components/Cover/styles/config.scss +55 -0
- package/src/components/Cover/styles/mixins.scss +43 -0
- package/src/components/Cover/styles/style.scss +32 -0
- package/src/components/Cover/tests/Cover.conformance.test.js +28 -0
- package/src/components/Cover/tests/Cover.unit.test.js +116 -0
- package/src/components/Divider/Divider.mdx +65 -0
- package/src/components/Divider/Divider.tsx +57 -0
- package/src/components/Divider/index.ts +3 -0
- package/src/components/Divider/styles/config.scss +27 -0
- package/src/components/Divider/styles/mixins.scss +45 -0
- package/src/components/Divider/styles/style.scss +33 -0
- package/src/components/Divider/tests/Divider.conformance.test.js +23 -0
- package/src/components/Divider/tests/Divider.unit.test.js +80 -0
- package/src/components/Dropdown/Dropdown.mdx +260 -0
- package/src/components/Dropdown/Dropdown.static.ts +198 -0
- package/src/components/Dropdown/Dropdown.tsx +107 -0
- package/src/components/Dropdown/DropdownDivider.tsx +17 -0
- package/src/components/Dropdown/DropdownItem.tsx +43 -0
- package/src/components/Dropdown/DropdownToggleButton.tsx +37 -0
- package/src/components/Dropdown/index.ts +6 -0
- package/src/components/Dropdown/styles/config.scss +43 -0
- package/src/components/Dropdown/styles/mixins.scss +79 -0
- package/src/components/Dropdown/styles/style.scss +33 -0
- package/src/components/Dropdown/tests/Dropdown.conformance.test.js +48 -0
- package/src/components/Dropdown/tests/Dropdown.unit.test.js +69 -0
- package/src/components/Expander/Expander.mdx +153 -0
- package/src/components/Expander/Expander.static.ts +59 -0
- package/src/components/Expander/Expander.tsx +99 -0
- package/src/components/Expander/index.ts +3 -0
- package/src/components/Expander/styles/style.scss +63 -0
- package/src/components/Expander/tests/Expander.conformance.test.js +59 -0
- package/src/components/Expander/tests/Expander.unit.test.js +124 -0
- package/src/components/FeatureAccordion/FeatureAccordion.mdx +33 -0
- package/src/components/FeatureAccordion/FeatureAccordion.static.ts +121 -0
- package/src/components/FeatureAccordion/FeatureAccordion.tsx +116 -0
- package/src/components/FeatureAccordion/FeatureAccordionItem.tsx +31 -0
- package/src/components/FeatureAccordion/index.ts +2 -0
- package/src/components/FeatureAccordion/styles/mixins.scss +74 -0
- package/src/components/FeatureAccordion/styles/style.scss +21 -0
- package/src/components/FeatureAccordion/tests/FeatureAccordion.conformance.test.js +92 -0
- package/src/components/FeatureAccordion/tests/FeatureAccordion.unit.test.js +80 -0
- package/src/components/Footer/Footer.tsx +93 -0
- package/src/components/Footer/data.ts +71 -0
- package/src/components/Footer/index.ts +1 -0
- package/src/components/Footer/tests/Footer.conformance.test.js +13 -0
- package/src/components/Footer/tests/Footer.unit.test.js +66 -0
- package/src/components/Forms/Autocomplete/Autocomplete.mdx +198 -0
- package/src/components/Forms/Autocomplete/Autocomplete.static.ts +90 -0
- package/src/components/Forms/Autocomplete/Autocomplete.tsx +66 -0
- package/src/components/Forms/Autocomplete/index.ts +3 -0
- package/src/components/Forms/Autocomplete/styles/config.scss +7 -0
- package/src/components/Forms/Autocomplete/styles/mixins.scss +77 -0
- package/src/components/Forms/Autocomplete/styles/style.scss +66 -0
- package/src/components/Forms/Checkbox/Checkbox.mdx +139 -0
- package/src/components/Forms/Checkbox/Checkbox.tsx +75 -0
- package/src/components/Forms/Checkbox/index.ts +3 -0
- package/src/components/Forms/Checkbox/styles/config.scss +25 -0
- package/src/components/Forms/Checkbox/styles/mixins.scss +2 -0
- package/src/components/Forms/Checkbox/styles/style.scss +89 -0
- package/src/components/Forms/Checkbox/tests/Checkbox.unit.test.js +95 -0
- package/src/components/Forms/Field/Control.tsx +129 -0
- package/src/components/Forms/Field/Description.tsx +40 -0
- package/src/components/Forms/Field/Field.mdx +383 -0
- package/src/components/Forms/Field/Field.tsx +102 -0
- package/src/components/Forms/Field/FieldContext.tsx +24 -0
- package/src/components/Forms/Field/Label.tsx +71 -0
- package/src/components/Forms/Field/Messages.tsx +36 -0
- package/src/components/Forms/Field/Tooltip.tsx +35 -0
- package/src/components/Forms/Field/index.ts +3 -0
- package/src/components/Forms/Field/styles/config.scss +25 -0
- package/src/components/Forms/Field/styles/mixins.scss +43 -0
- package/src/components/Forms/Field/styles/style.scss +37 -0
- package/src/components/Forms/Field/tests/Autocomplete.Field.conformance.test.js +52 -0
- package/src/components/Forms/Field/tests/Checkbox.Field.conformance.test.js +43 -0
- package/src/components/Forms/Field/tests/Field.unit.test.js +11 -0
- package/src/components/Forms/Field/tests/File.Field.conformance.test.js +47 -0
- package/src/components/Forms/Field/tests/Group.Field.conformance.test.js +47 -0
- package/src/components/Forms/Field/tests/Label.unit.test.js +163 -0
- package/src/components/Forms/Field/tests/Messages.unit.test.js +102 -0
- package/src/components/Forms/Field/tests/Radio.Field.conformance.test.js +43 -0
- package/src/components/Forms/Field/tests/Rangeslider.Field.test.js +60 -0
- package/src/components/Forms/Field/tests/Select.Field.conformance.test.js +45 -0
- package/src/components/Forms/Field/tests/Text.Field.conformance.test.js +43 -0
- package/src/components/Forms/Field/tests/Textarea.Field.conformance.test.js +43 -0
- package/src/components/Forms/Field/tests/Tooltip.unit.test.js +38 -0
- package/src/components/Forms/Field/utils.ts +36 -0
- package/src/components/Forms/Fieldset/Fieldset.mdx +178 -0
- package/src/components/Forms/Fieldset/Fieldset.tsx +62 -0
- package/src/components/Forms/Fieldset/FieldsetContext.ts +13 -0
- package/src/components/Forms/Fieldset/docsData.ts +75 -0
- package/src/components/Forms/Fieldset/index.ts +3 -0
- package/src/components/Forms/Fieldset/styles/mixins.scss +6 -0
- package/src/components/Forms/Fieldset/styles/style.scss +10 -0
- package/src/components/Forms/Fieldset/tests/Fieldset.unit.test.js +63 -0
- package/src/components/Forms/File/File.mdx +88 -0
- package/src/components/Forms/File/File.static.ts +164 -0
- package/src/components/Forms/File/File.tsx +77 -0
- package/src/components/Forms/File/index.ts +3 -0
- package/src/components/Forms/File/styles/config.scss +12 -0
- package/src/components/Forms/File/styles/mixins.scss +87 -0
- package/src/components/Forms/File/styles/style.scss +51 -0
- package/src/components/Forms/FormTooltip.mdx +51 -0
- package/src/components/Forms/Forms.mdx +48 -0
- package/src/components/Forms/Group/CHANGELOG.md +5 -0
- package/src/components/Forms/Group/Group.mdx +146 -0
- package/src/components/Forms/Group/Group.tsx +74 -0
- package/src/components/Forms/Group/Item.tsx +35 -0
- package/src/components/Forms/Group/index.ts +3 -0
- package/src/components/Forms/Group/styles/config.scss +9 -0
- package/src/components/Forms/Group/styles/mixins.scss +54 -0
- package/src/components/Forms/Group/styles/style.scss +19 -0
- package/src/components/Forms/Group/tests/Group.unit.test.js +171 -0
- package/src/components/Forms/Group/tests/Item.unit.test.js +31 -0
- package/src/components/Forms/Hint/Hint.mdx +40 -0
- package/src/components/Forms/Hint/Hint.tsx +21 -0
- package/src/components/Forms/Hint/index.ts +3 -0
- package/src/components/Forms/Hint/styles/config.scss +5 -0
- package/src/components/Forms/Hint/styles/mixins.scss +6 -0
- package/src/components/Forms/Hint/styles/style.scss +7 -0
- package/src/components/Forms/Hint/tests/Hint.unit.test.js +35 -0
- package/src/components/Forms/InputStepper/InputStepper.mdx +147 -0
- package/src/components/Forms/InputStepper/InputStepper.static.ts +187 -0
- package/src/components/Forms/InputStepper/InputStepper.tsx +86 -0
- package/src/components/Forms/InputStepper/index.ts +3 -0
- package/src/components/Forms/InputStepper/styles/style.scss +210 -0
- package/src/components/Forms/InputStepper/tests/InputStepper.unit.test.js +54 -0
- package/src/components/Forms/Label/Label.mdx +95 -0
- package/src/components/Forms/Label/Label.tsx +26 -0
- package/src/components/Forms/Label/index.ts +3 -0
- package/src/components/Forms/Label/styles/config.scss +4 -0
- package/src/components/Forms/Label/styles/mixins.scss +6 -0
- package/src/components/Forms/Label/styles/style.scss +11 -0
- package/src/components/Forms/Label/tests/Label.unit.test.js +42 -0
- package/src/components/Forms/Message/Message.mdx +40 -0
- package/src/components/Forms/Message/Message.tsx +64 -0
- package/src/components/Forms/Message/index.ts +3 -0
- package/src/components/Forms/Message/styles/config.scss +21 -0
- package/src/components/Forms/Message/styles/mixins.scss +20 -0
- package/src/components/Forms/Message/styles/style.scss +12 -0
- package/src/components/Forms/Message/tests/Message.unit.test.js +83 -0
- package/src/components/Forms/Radio/Radio.mdx +98 -0
- package/src/components/Forms/Radio/Radio.tsx +70 -0
- package/src/components/Forms/Radio/index.ts +3 -0
- package/src/components/Forms/Radio/styles/config.scss +25 -0
- package/src/components/Forms/Radio/styles/mixins.scss +6 -0
- package/src/components/Forms/Radio/styles/style.scss +25 -0
- package/src/components/Forms/Radio/tests/Radio.unit.test.js +105 -0
- package/src/components/Forms/RangeSlider/RangeSlider.mdx +304 -0
- package/src/components/Forms/RangeSlider/RangeSlider.static.ts +121 -0
- package/src/components/Forms/RangeSlider/RangeSlider.tsx +98 -0
- package/src/components/Forms/RangeSlider/data.ts +50 -0
- package/src/components/Forms/RangeSlider/index.ts +3 -0
- package/src/components/Forms/RangeSlider/styles/config.scss +32 -0
- package/src/components/Forms/RangeSlider/styles/mixins.scss +139 -0
- package/src/components/Forms/RangeSlider/styles/style.scss +97 -0
- package/src/components/Forms/Select/Select.mdx +106 -0
- package/src/components/Forms/Select/Select.tsx +97 -0
- package/src/components/Forms/Select/index.tsx +9 -0
- package/src/components/Forms/Select/styles/config.scss +53 -0
- package/src/components/Forms/Select/styles/mixins.scss +34 -0
- package/src/components/Forms/Select/styles/style.scss +22 -0
- package/src/components/Forms/Select/tests/Select.unit.test.js +98 -0
- package/src/components/Forms/TextArea/TextArea.mdx +109 -0
- package/src/components/Forms/TextArea/TextArea.tsx +84 -0
- package/src/components/Forms/TextArea/index.ts +3 -0
- package/src/components/Forms/TextArea/styles/config.scss +35 -0
- package/src/components/Forms/TextArea/styles/mixins.scss +48 -0
- package/src/components/Forms/TextArea/styles/style.scss +22 -0
- package/src/components/Forms/TextArea/tests/TextArea.unit.test.js +127 -0
- package/src/components/Forms/TextInput/TextInput.mdx +153 -0
- package/src/components/Forms/TextInput/TextInput.tsx +101 -0
- package/src/components/Forms/TextInput/index.ts +3 -0
- package/src/components/Forms/TextInput/styles/config.scss +60 -0
- package/src/components/Forms/TextInput/styles/mixins.scss +80 -0
- package/src/components/Forms/TextInput/styles/style.scss +30 -0
- package/src/components/Forms/TextInput/tests/TextInput.unit.test.js +108 -0
- package/src/components/Forms/index.ts +16 -0
- package/src/components/Forms/styles/config.scss +41 -0
- package/src/components/Forms/styles/mixins.scss +44 -0
- package/src/components/Gauge/Gauge.mdx +35 -0
- package/src/components/Gauge/Gauge.tsx +72 -0
- package/src/components/Gauge/GaugeMaker.tsx +90 -0
- package/src/components/Gauge/index.ts +3 -0
- package/src/components/Gauge/styles/style.scss +34 -0
- package/src/components/Gauge/tests/Gauge.conformance.test.js +25 -0
- package/src/components/Gauge/tests/Gauge.unit.test.js +35 -0
- package/src/components/Grid/Grid.mdx +320 -0
- package/src/components/Grid/Grid.tsx +56 -0
- package/src/components/Grid/GridCol.tsx +33 -0
- package/src/components/Grid/index.ts +4 -0
- package/src/components/Grid/styles/config.scss +10 -0
- package/src/components/Grid/styles/mixins.scss +126 -0
- package/src/components/Grid/styles/style.scss +43 -0
- package/src/components/Grid/tests/Grid.unit.test.tsx +533 -0
- package/src/components/Grid/tests/GridCol.unit.test.tsx +199 -0
- package/src/components/Icon/Icon.mdx +172 -0
- package/src/components/Icon/Icon.tsx +73 -0
- package/src/components/Icon/IconSearch.jsx +247 -0
- package/src/components/Icon/SpritePathContext.tsx +22 -0
- package/src/components/Icon/iconSearchTags.ts +437 -0
- package/src/components/Icon/index.ts +5 -0
- package/src/components/Icon/styles/config.scss +27 -0
- package/src/components/Icon/styles/export/color.scss +8 -0
- package/src/components/Icon/styles/export/size.scss +13 -0
- package/src/components/Icon/styles/mixins.scss +31 -0
- package/src/components/Icon/styles/style.scss +15 -0
- package/src/components/Icon/tests/Icon.conformance.test.js +22 -0
- package/src/components/Icon/tests/Icon.unit.test.js +112 -0
- package/src/components/Image/Image.mdx +175 -0
- package/src/components/Image/Image.tsx +64 -0
- package/src/components/Image/index.ts +3 -0
- package/src/components/Image/styles/mixins.scss +12 -0
- package/src/components/Image/styles/style.scss +12 -0
- package/src/components/Image/tests/Image.conformance.test.js +264 -0
- package/src/components/Image/tests/Image.unit.test.js +316 -0
- package/src/components/Link/CHANGELOG.md +25 -0
- package/src/components/Link/Link.mdx +224 -0
- package/src/components/Link/Link.tsx +57 -0
- package/src/components/Link/index.ts +3 -0
- package/src/components/Link/styles/mixins.scss +33 -0
- package/src/components/Link/styles/style.scss +42 -0
- package/src/components/Link/tests/Link.conformance.test.js +284 -0
- package/src/components/Link/tests/Link.unit.test.js +295 -0
- package/src/components/List/ClickableControl.tsx +33 -0
- package/src/components/List/List.mdx +216 -0
- package/src/components/List/List.tsx +40 -0
- package/src/components/List/ListItem.tsx +44 -0
- package/src/components/List/index.ts +5 -0
- package/src/components/List/styles/config.scss +38 -0
- package/src/components/List/styles/mixins.scss +99 -0
- package/src/components/List/styles/style.scss +48 -0
- package/src/components/List/tests/ClickableControl.unit.test.js +100 -0
- package/src/components/List/tests/List.conformance.test.js +69 -0
- package/src/components/List/tests/List.unit.test.js +47 -0
- package/src/components/List/tests/ListItem.unit.test.js +104 -0
- package/src/components/Loader/Loader.mdx +148 -0
- package/src/components/Loader/Loader.static.ts +85 -0
- package/src/components/Loader/Loader.tsx +75 -0
- package/src/components/Loader/index.ts +3 -0
- package/src/components/Loader/styles/config.scss +16 -0
- package/src/components/Loader/styles/mixins.scss +66 -0
- package/src/components/Loader/styles/style.scss +38 -0
- package/src/components/Loader/tests/Loader.conformance.test.js +22 -0
- package/src/components/Loader/tests/Loader.unit.test.js +59 -0
- package/src/components/Loader/tests/test.scss +5 -0
- package/src/components/Modal/Modal.mdx +449 -0
- package/src/components/Modal/Modal.static.ts +223 -0
- package/src/components/Modal/Modal.tsx +150 -0
- package/src/components/Modal/ModalBody.tsx +46 -0
- package/src/components/Modal/ModalCloseButton.tsx +26 -0
- package/src/components/Modal/ModalTitle.tsx +32 -0
- package/src/components/Modal/TODO.md +2 -0
- package/src/components/Modal/index.ts +6 -0
- package/src/components/Modal/styles/config.scss +41 -0
- package/src/components/Modal/styles/mixins.scss +200 -0
- package/src/components/Modal/styles/style.scss +99 -0
- package/src/components/Modal/tests/Modal.conformance.test.js +41 -0
- package/src/components/Modal/tests/Modal.unit.test.js +78 -0
- package/src/components/Modal/tests/ModalBody.unit.test.js +39 -0
- package/src/components/Modal/tests/ModalCloseButton.unit.test.js +84 -0
- package/src/components/Modal/tests/ModalTitle.unit.test.js +25 -0
- package/src/components/Pagination/Pagination.mdx +45 -0
- package/src/components/Pagination/Pagination.tsx +86 -0
- package/src/components/Pagination/PaginationItem.tsx +61 -0
- package/src/components/Pagination/Separator.tsx +19 -0
- package/src/components/Pagination/helpers.ts +71 -0
- package/src/components/Pagination/index.ts +5 -0
- package/src/components/Pagination/styles/mixins.scss +43 -0
- package/src/components/Pagination/styles/style.scss +28 -0
- package/src/components/Pagination/tests/Item.unit.test.js +96 -0
- package/src/components/Pagination/tests/Pagination.conformance.test.js +41 -0
- package/src/components/Pagination/tests/Pagination.unit.test.js +108 -0
- package/src/components/Pagination/tests/Separator.unit.test.js +25 -0
- package/src/components/Pagination/tests/utils.js +12 -0
- package/src/components/Progress/Progress.mdx +119 -0
- package/src/components/Progress/Progress.tsx +60 -0
- package/src/components/Progress/index.ts +3 -0
- package/src/components/Progress/styles/config.scss +19 -0
- package/src/components/Progress/styles/mixins.scss +40 -0
- package/src/components/Progress/styles/style.scss +31 -0
- package/src/components/Progress/tests/Progress.conformance.test.js +27 -0
- package/src/components/Progress/tests/Progress.unit.test.js +108 -0
- package/src/components/Section/Section.mdx +397 -0
- package/src/components/Section/Section.tsx +54 -0
- package/src/components/Section/index.ts +3 -0
- package/src/components/Section/styles/config.scss +38 -0
- package/src/components/Section/styles/mixins.scss +30 -0
- package/src/components/Section/styles/style.scss +37 -0
- package/src/components/Section/tests/Section.conformance.test.js +502 -0
- package/src/components/Section/tests/Section.unit.test.js +642 -0
- package/src/components/Skeleton/Skeleton.mdx +90 -0
- package/src/components/Skeleton/Skeleton.tsx +21 -0
- package/src/components/Skeleton/index.ts +3 -0
- package/src/components/Skeleton/styles/config.scss +31 -0
- package/src/components/Skeleton/styles/mixins.scss +22 -0
- package/src/components/Skeleton/styles/style.scss +7 -0
- package/src/components/Skeleton/tests/Skeleton.conformance.test.js +16 -0
- package/src/components/Skeleton/tests/Skeleton.unit.test.js +22 -0
- package/src/components/Sticker/Sticker.mdx +50 -0
- package/src/components/Sticker/Sticker.tsx +31 -0
- package/src/components/Sticker/index.ts +4 -0
- package/src/components/Sticker/styles/config.scss +31 -0
- package/src/components/Sticker/styles/mixins.scss +25 -0
- package/src/components/Sticker/styles/style.scss +22 -0
- package/src/components/{Badge/tests/Badge.conformance.test.js → Sticker/tests/Sticker.conformance.test.js} +2 -11
- package/src/components/Sticker/tests/Sticker.unit.test.js +42 -0
- package/src/components/Table/Cell.tsx +22 -0
- package/src/components/Table/Footer.tsx +25 -0
- package/src/components/Table/Header.tsx +73 -0
- package/src/components/Table/Row.tsx +70 -0
- package/src/components/Table/Rows.tsx +36 -0
- package/src/components/Table/Table.mdx +199 -0
- package/src/components/Table/Table.static.ts +146 -0
- package/src/components/Table/Table.tsx +130 -0
- package/src/components/Table/TableContext.ts +9 -0
- package/src/components/Table/docsData.ts +210 -0
- package/src/components/Table/index.ts +4 -0
- package/src/components/Table/styles/config.scss +4 -0
- package/src/components/Table/styles/mixins.scss +115 -0
- package/src/components/Table/styles/style.scss +103 -0
- package/src/components/Table/tests/Cell.unit.test.js +59 -0
- package/src/components/Table/tests/Footer.unit.test.js +70 -0
- package/src/components/Table/tests/Header.unit.test.js +120 -0
- package/src/components/Table/tests/Row.unit.test.js +206 -0
- package/src/components/Table/tests/Rows.unit.test.js +92 -0
- package/src/components/Table/tests/Table.conformance.test.js +74 -0
- package/src/components/Table/tests/Table.unit.test.js +296 -0
- package/src/components/Table/types.ts +40 -0
- package/src/components/Tabs/TODO.md +2 -0
- package/src/components/Tabs/Tab.tsx +55 -0
- package/src/components/Tabs/TabPanel.tsx +42 -0
- package/src/components/Tabs/Tabs.mdx +373 -0
- package/src/components/Tabs/Tabs.static.ts +185 -0
- package/src/components/Tabs/Tabs.tsx +129 -0
- package/src/components/Tabs/index.ts +5 -0
- package/src/components/Tabs/styles/config.scss +59 -0
- package/src/components/Tabs/styles/mixins.scss +98 -0
- package/src/components/Tabs/styles/style.scss +56 -0
- package/src/components/Tabs/tests/Tab.unit.test.js +85 -0
- package/src/components/Tabs/tests/TabPanel.unit.test.js +53 -0
- package/src/components/Tabs/tests/Tabs.unit.test.js +268 -0
- package/src/components/Tag/CHANGELOG.md +93 -0
- package/src/components/Tag/Tag.mdx +52 -0
- package/src/components/Tag/Tag.tsx +118 -0
- package/src/components/Tag/TagButton.tsx +67 -0
- package/src/components/Tag/index.ts +5 -0
- package/src/components/Tag/styles/config.scss +132 -0
- package/src/components/Tag/styles/mixins.scss +54 -0
- package/src/components/Tag/styles/style.scss +69 -0
- package/src/components/Tag/tests/Tag.conformance.test.js +44 -0
- package/src/components/Tag/tests/Tag.unit.test.js +93 -0
- package/src/components/Tag/tests/TagButton.conformance.test.js +24 -0
- package/src/components/Tag/tests/TagButton.unit.test.js +96 -0
- package/src/components/Testimonial/Testimonial.mdx +41 -0
- package/src/components/Testimonial/Testimonial.tsx +38 -0
- package/src/components/Testimonial/index.ts +3 -0
- package/src/components/Testimonial/styles/config.scss +39 -0
- package/src/components/Testimonial/styles/mixins.scss +40 -0
- package/src/components/Testimonial/styles/style.scss +16 -0
- package/src/components/Testimonial/tests/Testimonial.conformance.test.js +17 -0
- package/src/components/Testimonial/tests/Testimonial.unit.test.js +44 -0
- package/src/components/Tile/CHANGELOG.md +14 -0
- package/src/components/Tile/Tile.mdx +163 -0
- package/src/components/Tile/Tile.tsx +86 -0
- package/src/components/Tile/index.ts +3 -0
- package/src/components/Tile/styles/config.scss +17 -0
- package/src/components/Tile/styles/mixins.scss +78 -0
- package/src/components/Tile/styles/style.scss +55 -0
- package/src/components/Tile/tests/Tile.conformance.test.js +16 -0
- package/src/components/Tile/tests/Tile.unit.test.js +126 -0
- package/src/components/Tooltip/InfoTooltip.tsx +40 -0
- package/src/components/Tooltip/TODO.md +1 -0
- package/src/components/Tooltip/Tooltip.mdx +227 -0
- package/src/components/Tooltip/Tooltip.static.ts +213 -0
- package/src/components/Tooltip/Tooltip.tsx +107 -0
- package/src/components/Tooltip/index.ts +4 -0
- package/src/components/Tooltip/styles/config.scss +58 -0
- package/src/components/Tooltip/styles/mixins.scss +94 -0
- package/src/components/Tooltip/styles/style.scss +30 -0
- package/src/components/Tooltip/tests/BaseWrapper.tsx +10 -0
- package/src/components/Tooltip/tests/InfoTooltip.unit.test.js +98 -0
- package/src/components/Tooltip/tests/Tooltip.conformance.test.js +44 -0
- package/src/components/Tooltip/tests/Tooltip.unit.test.js +326 -0
- package/src/components/index.ts +154 -2
- package/src/components/static.ts +1 -1
- package/src/styles/base/globals-forms.scss +15 -13
- package/src/styles/base/globals.scss +134 -100
- package/src/styles/base/styleguide.scss +1 -1
- package/src/styles/before-components.scss +8 -4
- package/src/styles/export/base.scss +1 -1
- package/src/styles/export/breakpoint.ts +12 -0
- package/src/styles/export/color.scss +23 -23
- package/src/styles/shame.scss +10 -8
- package/src/styles/tokens/base.scss +9 -7
- package/src/styles/tokens/color.scss +127 -25
- package/src/styles/tools/convert.scss +1 -1
- package/src/styles/typography/config.scss +187 -0
- package/src/{components/Typography/styles → styles/typography}/mixins.scss +32 -25
- package/src/styles/typography/style.scss +57 -0
- package/src/styles/utilities/border.scss +16 -15
- package/src/styles/utilities/color.scss +115 -95
- package/src/styles/utilities/horizontal-scroll.scss +40 -36
- package/src/styles/utilities/layout.scss +159 -157
- package/src/styles/utilities/text.scss +98 -84
- package/src/styles/utilities/visibility.scss +66 -62
- package/build/.htaccess +0 -7
- package/build/_next/static/chunks/4bd1b696-67ee12fb04071d3b.js +0 -1
- package/build/_next/static/chunks/684-2d117c50cbadadca.js +0 -1
- package/build/_next/static/chunks/app/_not-found/page-f08302ee705a96b1.js +0 -1
- package/build/_next/static/chunks/app/components/badge/page-bbcffd5558aeab06.js +0 -1
- package/build/_next/static/chunks/app/layout-69efc42b1696abf9.js +0 -1
- package/build/_next/static/chunks/app/page-687dfdffc8d1b6e5.js +0 -1
- package/build/_next/static/chunks/framework-f593a28cde54158e.js +0 -1
- package/build/_next/static/chunks/main-43608b6b4bb05f8f.js +0 -1
- package/build/_next/static/chunks/main-app-ce2a2222e012907f.js +0 -1
- package/build/_next/static/chunks/pages/_error-cc3f077a18ea1793.js +0 -1
- package/build/_next/static/chunks/webpack-778f3ec87f8d2826.js +0 -1
- package/build/_next/static/css/08a2fcd6f5aac3e0.css +0 -1
- package/build/_next/static/css/d2fc2f581fe4b371.css +0 -1
- package/build/_next/static/rsiMOOYAxBtOjvpzBN4vJ/_buildManifest.js +0 -1
- package/build/_redirects +0 -1
- package/build/components/Badge/index.js +0 -616
- package/build/components/Badge/index.js.map +0 -1
- package/build/components/Badge/style.css +0 -2
- package/build/components/Badge/style.css.map +0 -1
- package/build/components/badge.html +0 -1
- package/build/components/badge.txt +0 -19
- package/build/components/types/Badge/Badge.d.ts +0 -12
- package/build/components/types/Badge/index.d.ts +0 -2
- package/build/components/types/index.d.ts +0 -4
- package/build/fonts/HelvNeue55_W1G.eot +0 -0
- package/build/fonts/HelvNeue55_W1G.svg +0 -653
- package/build/fonts/HelvNeue55_W1G.ttf +0 -0
- package/build/fonts/HelvNeue55_W1G.woff +0 -0
- package/build/fonts/HelvNeue55_W1G.woff2 +0 -0
- package/build/fonts/HelvNeue75_W1G.eot +0 -0
- package/build/fonts/HelvNeue75_W1G.svg +0 -653
- package/build/fonts/HelvNeue75_W1G.ttf +0 -0
- package/build/fonts/HelvNeue75_W1G.woff +0 -0
- package/build/fonts/HelvNeue75_W1G.woff2 +0 -0
- package/build/manifest.json +0 -15
- package/build/sprite-sg.svg +0 -1
- package/public/fonts/HelvNeue55_W1G.eot +0 -0
- package/public/fonts/HelvNeue55_W1G.svg +0 -653
- package/public/fonts/HelvNeue55_W1G.ttf +0 -0
- package/public/fonts/HelvNeue55_W1G.woff +0 -0
- package/public/fonts/HelvNeue55_W1G.woff2 +0 -0
- package/public/fonts/HelvNeue75_W1G.eot +0 -0
- package/public/fonts/HelvNeue75_W1G.svg +0 -653
- package/public/fonts/HelvNeue75_W1G.ttf +0 -0
- package/public/fonts/HelvNeue75_W1G.woff +0 -0
- package/public/fonts/HelvNeue75_W1G.woff2 +0 -0
- package/src/components/Badge/Badge.mdx +0 -52
- package/src/components/Badge/Badge.test.js +0 -45
- package/src/components/Badge/Badge.tsx +0 -45
- package/src/components/Badge/index.ts +0 -3
- package/src/components/Badge/styles/config.scss +0 -52
- package/src/components/Badge/styles/mixins.scss +0 -20
- package/src/components/Badge/styles/style.scss +0 -17
- package/src/components/Badge/tests/Badge.unit.test.js +0 -50
- package/src/components/Typography/styles/config.scss +0 -181
- package/src/components/Typography/styles/style.scss +0 -49
- /package/build/_next/static/{rsiMOOYAxBtOjvpzBN4vJ → BGy4QLZfZPwswIZT7YGE2}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ComponentDocs } from '@lighting-beetle/lighter-styleguide';
|
|
2
|
+
|
|
3
|
+
import { Preview } from '../../styleguide/';
|
|
4
|
+
import { Buttons, Button } from '../';
|
|
5
|
+
|
|
6
|
+
# Buttons
|
|
7
|
+
|
|
8
|
+
Help arrange multiple buttons
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
<Preview>
|
|
13
|
+
<Buttons>
|
|
14
|
+
<Button>There are example buttons</Button>
|
|
15
|
+
<Button>They can break into multiple lines</Button>
|
|
16
|
+
<button className="link">And look fabulous doing it</button>
|
|
17
|
+
</Buttons>
|
|
18
|
+
</Preview>
|
|
19
|
+
|
|
20
|
+
## Stack on XS
|
|
21
|
+
|
|
22
|
+
Buttons can be forced to stack and span the available width only on XS viewport when used on crossroads pages with two available actions. For example:
|
|
23
|
+
|
|
24
|
+
- Login prompt: "Login" and "Continue as new customer"
|
|
25
|
+
- Upsell/crossel prompt: "Show offer" and "Skip"
|
|
26
|
+
|
|
27
|
+
Button stacks must not be used in wizards to stack continue/back buttons.
|
|
28
|
+
Button stacks must not be used with only one button. The maximum recommended number of stacked buttons is two.
|
|
29
|
+
|
|
30
|
+
<Preview>
|
|
31
|
+
<Buttons isStackedOnXs>
|
|
32
|
+
<Button type="primary">Log in</Button>
|
|
33
|
+
<Button>Continue as new customer</Button>
|
|
34
|
+
</Buttons>
|
|
35
|
+
</Preview>
|
|
36
|
+
|
|
37
|
+
Button width is always determined by it's content and Button stack scenario is the only exception. If you need vertical navigation, use the [List component](/components/list).
|
|
38
|
+
|
|
39
|
+
<ComponentDocs title="<Buttons />" component={Buttons} />
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import cx from "classnames";
|
|
2
|
+
|
|
3
|
+
interface ButtonsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/** On XS viewport, forces buttons to stack vertically and span the available width. */
|
|
5
|
+
isStackedOnXs?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const CLASS_ROOT = "buttons";
|
|
11
|
+
|
|
12
|
+
const Buttons: React.FC<ButtonsProps> = ({
|
|
13
|
+
isStackedOnXs,
|
|
14
|
+
children,
|
|
15
|
+
className,
|
|
16
|
+
...other
|
|
17
|
+
}) => (
|
|
18
|
+
<div
|
|
19
|
+
className={cx(
|
|
20
|
+
CLASS_ROOT,
|
|
21
|
+
{
|
|
22
|
+
[`${CLASS_ROOT}--stack-on-xs`]: isStackedOnXs,
|
|
23
|
+
},
|
|
24
|
+
className,
|
|
25
|
+
)}
|
|
26
|
+
{...other}
|
|
27
|
+
>
|
|
28
|
+
{children}
|
|
29
|
+
</div>
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
Buttons.displayName = "Buttons";
|
|
33
|
+
|
|
34
|
+
export { Buttons };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@use "../../../styles/tokens/breakpoint";
|
|
2
|
+
@use "../../../styles/tokens/space";
|
|
3
|
+
@use "./config";
|
|
4
|
+
|
|
5
|
+
@mixin layout(
|
|
6
|
+
$spacing: config.$spacing,
|
|
7
|
+
$button-selector: ".btn",
|
|
8
|
+
$link-selector: ".link"
|
|
9
|
+
) {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-flow: row wrap;
|
|
12
|
+
max-width: calc(100% - #{$spacing});
|
|
13
|
+
margin: ($spacing * -1) ($spacing * -1) space.get() 0;
|
|
14
|
+
|
|
15
|
+
#{$button-selector},
|
|
16
|
+
#{$button-selector}:last-child,
|
|
17
|
+
#{$link-selector},
|
|
18
|
+
#{$link-selector}:last-child,
|
|
19
|
+
button#{$link-selector},
|
|
20
|
+
button#{$link-selector}:last-child {
|
|
21
|
+
margin: $spacing $spacing 0 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin stack-on-xs($spacing: config.$spacing, $button-selector: ".btn") {
|
|
26
|
+
@include breakpoint.get("xs", "down") {
|
|
27
|
+
flex-flow: column;
|
|
28
|
+
max-width: 100%;
|
|
29
|
+
margin: 0 0 $spacing 0;
|
|
30
|
+
|
|
31
|
+
#{$button-selector}:not(:last-child),
|
|
32
|
+
#{$button-selector}:last-child,
|
|
33
|
+
button.link:not(:last-child),
|
|
34
|
+
button.link:last-child {
|
|
35
|
+
margin-right: 0;
|
|
36
|
+
margin-bottom: 0;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { render } from "@testing-library/react";
|
|
2
|
+
import { axe } from "jest-axe";
|
|
3
|
+
|
|
4
|
+
import { Button } from "../../Button";
|
|
5
|
+
import { Buttons } from "../";
|
|
6
|
+
|
|
7
|
+
const example = (
|
|
8
|
+
<Buttons>
|
|
9
|
+
<Button>Button 1</Button>
|
|
10
|
+
<Button>Button 2</Button>
|
|
11
|
+
</Buttons>
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
it("is valid html", () => {
|
|
15
|
+
const { container } = render(example);
|
|
16
|
+
expect(container).toHTMLValidate();
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
it("is accessible", async () => {
|
|
20
|
+
const { container } = render(example);
|
|
21
|
+
expect(await axe(container)).toHaveNoViolations();
|
|
22
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { render } from "@testing-library/react";
|
|
2
|
+
|
|
3
|
+
import { Buttons } from "../Buttons";
|
|
4
|
+
|
|
5
|
+
describe("rendering Buttons", () => {
|
|
6
|
+
describe("initial state", () => {
|
|
7
|
+
it("has default class buttons", () => {
|
|
8
|
+
const { getByTestId } = render(<Buttons data-testid="test-id" />);
|
|
9
|
+
expect(getByTestId("test-id")).toHaveClass("buttons");
|
|
10
|
+
});
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
describe("passed props", () => {
|
|
14
|
+
it("renders children", () => {
|
|
15
|
+
const { getByText } = render(<Buttons>test</Buttons>);
|
|
16
|
+
expect(getByText("test")).toBeInTheDocument();
|
|
17
|
+
});
|
|
18
|
+
it("has class buttons--stack-on-xs when isStackedOnXs is passed", () => {
|
|
19
|
+
const { getByTestId } = render(
|
|
20
|
+
<Buttons data-testid="test-id" isStackedOnXs />,
|
|
21
|
+
);
|
|
22
|
+
expect(getByTestId("test-id")).toHaveClass("buttons");
|
|
23
|
+
expect(getByTestId("test-id")).toHaveClass("buttons--stack-on-xs");
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Changelog for Card Component
|
|
2
|
+
|
|
3
|
+
## [Unreleased]
|
|
4
|
+
|
|
5
|
+
### Breaking Changes
|
|
6
|
+
|
|
7
|
+
- **Removed**: `CardHeader` component has been removed from the Card module.
|
|
8
|
+
- **Added**: `CardProductHeader` component has been introduced as a new header variant for product cards.
|
|
9
|
+
- **Added**: `space` prop to `CardSection` and `CardProductHeader` for small spacing option. When set to `"small"`, applies compact spacing via a modifier class.
|
|
10
|
+
|
|
11
|
+
### Other Notable Changes
|
|
12
|
+
|
|
13
|
+
- Card documentation and usage examples updated to use `CardProductHeader` instead of `CardHeader`.
|
|
14
|
+
- Card exports and tests updated to reflect the removal of `CardHeader` and addition of `CardProductHeader`.
|
|
15
|
+
- No changes to the main `Card` or `CardSection` API except for the new `space` prop.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
**Note:** If you were using `CardHeader`, please migrate to `CardProductHeader` or use `CardSection` for custom header content as needed.
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import { ComponentDocs } from "@lighting-beetle/lighter-styleguide";
|
|
2
|
+
|
|
3
|
+
import { Preview } from "../../styleguide/";
|
|
4
|
+
|
|
5
|
+
import Card, { CardHeader, CardSection } from "./";
|
|
6
|
+
import { headerColors } from "../Card/CardHeader";
|
|
7
|
+
import Divider from "../Divider";
|
|
8
|
+
import Button from "../Button";
|
|
9
|
+
import { Image } from "../Image";
|
|
10
|
+
import Grid, { GridCol } from "../Grid";
|
|
11
|
+
|
|
12
|
+
export const GrayPreview = (props) => <Preview bgTheme="gray" {...props} />;
|
|
13
|
+
|
|
14
|
+
export const DefaultSection = ({
|
|
15
|
+
title = "Section",
|
|
16
|
+
content = "Content",
|
|
17
|
+
...props
|
|
18
|
+
}) => (
|
|
19
|
+
<CardSection {...props}>
|
|
20
|
+
<h3>{title}</h3>
|
|
21
|
+
<p>{content}</p>
|
|
22
|
+
</CardSection>
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
# Card
|
|
26
|
+
|
|
27
|
+
A card serves as an entry point to more detailed information. Cards may contain
|
|
28
|
+
rich content, such as photos, text, link, list, tables, you name it.
|
|
29
|
+
|
|
30
|
+
## Example
|
|
31
|
+
|
|
32
|
+
Card (without border) should be used **on non-white background** to stand out.
|
|
33
|
+
|
|
34
|
+
<GrayPreview>
|
|
35
|
+
<Card>
|
|
36
|
+
<CardSection>
|
|
37
|
+
<h2>Card with one section</h2>
|
|
38
|
+
<p>Content can be whatever you choose it to be</p>
|
|
39
|
+
</CardSection>
|
|
40
|
+
</Card>
|
|
41
|
+
</GrayPreview>
|
|
42
|
+
|
|
43
|
+
## Bordered and shadowed
|
|
44
|
+
|
|
45
|
+
If you need to use white card **on white background** you can eighter use card border or shadow.
|
|
46
|
+
|
|
47
|
+
<Preview>
|
|
48
|
+
<Grid>
|
|
49
|
+
<GridCol size={{ md: 6 }}>
|
|
50
|
+
<Card hasBorder>
|
|
51
|
+
<CardSection>
|
|
52
|
+
<h2>Card with border</h2>
|
|
53
|
+
<p>Use bordered card on white background</p>
|
|
54
|
+
</CardSection>
|
|
55
|
+
</Card>
|
|
56
|
+
</GridCol>
|
|
57
|
+
<GridCol size={{ md: 6 }}>
|
|
58
|
+
<Card hasShadow>
|
|
59
|
+
<CardSection>
|
|
60
|
+
<h2>Card with shadow</h2>
|
|
61
|
+
<p>Use card with shadow on white background</p>
|
|
62
|
+
</CardSection>
|
|
63
|
+
</Card>
|
|
64
|
+
</GridCol>
|
|
65
|
+
</Grid>
|
|
66
|
+
</Preview>
|
|
67
|
+
|
|
68
|
+
## Background colors
|
|
69
|
+
|
|
70
|
+
Colors can be changed on:
|
|
71
|
+
|
|
72
|
+
- `.card__section` (preferred) level
|
|
73
|
+
- if you need just specific section to have a custom color
|
|
74
|
+
- `.card` level
|
|
75
|
+
- if you need to change color of all sections, with no custom sections
|
|
76
|
+
|
|
77
|
+
Default `.card` color is white.
|
|
78
|
+
|
|
79
|
+
Every `.card__section` inherits from `.card`.
|
|
80
|
+
|
|
81
|
+
To change default color use `.bg-[color]` class from
|
|
82
|
+
[background color utilities](/utilities/color#background-color).
|
|
83
|
+
|
|
84
|
+
<GrayPreview>
|
|
85
|
+
<Grid>
|
|
86
|
+
<GridCol size={{ md: "auto" }}>
|
|
87
|
+
<h2 className="h4">Black section</h2>
|
|
88
|
+
<Card>
|
|
89
|
+
<DefaultSection
|
|
90
|
+
color="black"
|
|
91
|
+
content="Just this section changed color"
|
|
92
|
+
/>
|
|
93
|
+
{[1, 2].map((i) => (
|
|
94
|
+
<DefaultSection
|
|
95
|
+
key={i.toString()}
|
|
96
|
+
content="Color inherited from card"
|
|
97
|
+
/>
|
|
98
|
+
))}
|
|
99
|
+
</Card>
|
|
100
|
+
</GridCol>
|
|
101
|
+
<GridCol size={{ md: "auto" }}>
|
|
102
|
+
<h2 className="h4">Black card</h2>
|
|
103
|
+
<Card color="black">
|
|
104
|
+
{[1, 2, 3].map((i) => (
|
|
105
|
+
<DefaultSection
|
|
106
|
+
key={i.toString()}
|
|
107
|
+
content="Color inherited from card"
|
|
108
|
+
/>
|
|
109
|
+
))}
|
|
110
|
+
</Card>
|
|
111
|
+
</GridCol>
|
|
112
|
+
</Grid>
|
|
113
|
+
</GrayPreview>
|
|
114
|
+
|
|
115
|
+
## Height
|
|
116
|
+
|
|
117
|
+
In `flex` environment, card sections can fill out remaining space with
|
|
118
|
+
`.card__section--fill` class.
|
|
119
|
+
|
|
120
|
+
<GrayPreview>
|
|
121
|
+
<Grid justifyHeight>
|
|
122
|
+
<GridCol size={{ md: 4 }}>
|
|
123
|
+
<Card>
|
|
124
|
+
<CardSection isFilling>
|
|
125
|
+
<h2>Filling good</h2>
|
|
126
|
+
<p>Adjusting by filling the space</p>
|
|
127
|
+
</CardSection>
|
|
128
|
+
<Divider />
|
|
129
|
+
<CardSection isFilling>
|
|
130
|
+
<h2>Filling good</h2>
|
|
131
|
+
<p>Adjusting by filling the space</p>
|
|
132
|
+
</CardSection>
|
|
133
|
+
</Card>
|
|
134
|
+
</GridCol>
|
|
135
|
+
<GridCol size={{ md: 4 }}>
|
|
136
|
+
<Card>
|
|
137
|
+
<CardSection isFilling>
|
|
138
|
+
<h2>I fill for you</h2>
|
|
139
|
+
</CardSection>
|
|
140
|
+
<Divider />
|
|
141
|
+
<CardSection>
|
|
142
|
+
<h2>I don't fill good</h2>
|
|
143
|
+
<p>Someone turned my fillings off</p>
|
|
144
|
+
</CardSection>
|
|
145
|
+
</Card>
|
|
146
|
+
</GridCol>
|
|
147
|
+
<GridCol size={{ md: 4 }}>
|
|
148
|
+
<Card>
|
|
149
|
+
<CardSection isFilling>
|
|
150
|
+
<h2>Tall helper card</h2>
|
|
151
|
+
<p>
|
|
152
|
+
This card is here just to stretch the vertical space and force the
|
|
153
|
+
other cards to fill their remaining space.
|
|
154
|
+
</p>
|
|
155
|
+
<p>
|
|
156
|
+
Ipsum consequat esse eu ullamco deserunt veniam exercitation
|
|
157
|
+
officia. In eu voluptate Lorem ut nisi veniam nulla Lorem ipsum.
|
|
158
|
+
Enim excepteur adipisicing esse id est. Deserunt adipisicing
|
|
159
|
+
excepteur sunt occaecat consectetur dolor deserunt excepteur ut enim
|
|
160
|
+
ullamco Lorem. Enim aliquip laboris sint consequat culpa tempor
|
|
161
|
+
exercitation. Laborum labore amet do ullamco excepteur anim tempor
|
|
162
|
+
pariatur pariatur.
|
|
163
|
+
</p>
|
|
164
|
+
</CardSection>
|
|
165
|
+
</Card>
|
|
166
|
+
</GridCol>
|
|
167
|
+
</Grid>
|
|
168
|
+
</GrayPreview>
|
|
169
|
+
|
|
170
|
+
## Header
|
|
171
|
+
|
|
172
|
+
Header is used to display extra info for the card.
|
|
173
|
+
|
|
174
|
+
<p>
|
|
175
|
+
You can choose a black, orange, or gray-400 color for background, default is{" "}
|
|
176
|
+
{headerColors[0]}.
|
|
177
|
+
</p>
|
|
178
|
+
|
|
179
|
+
If you need empty header use non breaking space instead of empty string (`\xa0` or ` `), but this in not required and you can have thinner header if you keep it empty.
|
|
180
|
+
|
|
181
|
+
By default, longer texts in the header are truncated. If you want the header text to be wrapped, use the `.card__header--wrap` class.
|
|
182
|
+
|
|
183
|
+
<GrayPreview>
|
|
184
|
+
<Card className="bold">
|
|
185
|
+
<div className="card__header"></div>
|
|
186
|
+
<DefaultSection />
|
|
187
|
+
</Card>
|
|
188
|
+
{headerColors.map((color) => (
|
|
189
|
+
<Card key={color} className="bold">
|
|
190
|
+
<CardHeader
|
|
191
|
+
title={color === "black" ? "" : "Header title"}
|
|
192
|
+
color={color}
|
|
193
|
+
/>
|
|
194
|
+
<DefaultSection />
|
|
195
|
+
</Card>
|
|
196
|
+
))}
|
|
197
|
+
<Card className="bold">
|
|
198
|
+
<div className="card__header card__header--wrap">
|
|
199
|
+
Indonesia (+ Sumatra, Java, Borneo, Bali, Sulawesi) (+62)
|
|
200
|
+
</div>
|
|
201
|
+
<DefaultSection />
|
|
202
|
+
</Card>
|
|
203
|
+
</GrayPreview>
|
|
204
|
+
|
|
205
|
+
## Divider
|
|
206
|
+
|
|
207
|
+
If you need to divide the card with a visible element, use the [Divider](/components/divider) component
|
|
208
|
+
in between sections. You can use option with icon or without icon.
|
|
209
|
+
|
|
210
|
+
<GrayPreview>
|
|
211
|
+
<Card {...props}>
|
|
212
|
+
<CardSection>
|
|
213
|
+
<h2>Dividers</h2>
|
|
214
|
+
</CardSection>
|
|
215
|
+
<Divider />
|
|
216
|
+
<DefaultSection />
|
|
217
|
+
<Divider icon="add" />
|
|
218
|
+
<DefaultSection />
|
|
219
|
+
</Card>
|
|
220
|
+
</GrayPreview>
|
|
221
|
+
|
|
222
|
+
## Image
|
|
223
|
+
|
|
224
|
+
You can use images in cards. You can use it inside sections or outside to fill
|
|
225
|
+
the width of the card.
|
|
226
|
+
|
|
227
|
+
export const PlaceholderImage = ({ title, ...props }) => (
|
|
228
|
+
<Image
|
|
229
|
+
src={`https://placehold.co/600x330/000000/FFFFFF?text=${title}`}
|
|
230
|
+
alt=""
|
|
231
|
+
{...props}
|
|
232
|
+
/>
|
|
233
|
+
);
|
|
234
|
+
|
|
235
|
+
<GrayPreview>
|
|
236
|
+
<Grid>
|
|
237
|
+
<GridCol size={{ md: 6 }}>
|
|
238
|
+
<Card>
|
|
239
|
+
<CardSection>
|
|
240
|
+
<PlaceholderImage title="Image inside of a section" />
|
|
241
|
+
<h3>Section</h3>
|
|
242
|
+
<p>Content</p>
|
|
243
|
+
</CardSection>
|
|
244
|
+
</Card>
|
|
245
|
+
</GridCol>
|
|
246
|
+
<GridCol size={{ md: 6 }}>
|
|
247
|
+
<Card>
|
|
248
|
+
<CardSection>
|
|
249
|
+
<h3>Section</h3>
|
|
250
|
+
<p>Content</p>
|
|
251
|
+
<PlaceholderImage title="Image inside of a section" />
|
|
252
|
+
</CardSection>
|
|
253
|
+
</Card>
|
|
254
|
+
</GridCol>
|
|
255
|
+
<GridCol size={{ md: 6 }}>
|
|
256
|
+
<Card>
|
|
257
|
+
<PlaceholderImage
|
|
258
|
+
className="mb-none"
|
|
259
|
+
title="Image outside of a section"
|
|
260
|
+
/>
|
|
261
|
+
<DefaultSection />
|
|
262
|
+
</Card>
|
|
263
|
+
</GridCol>
|
|
264
|
+
<GridCol size={{ md: 6 }}>
|
|
265
|
+
<Card>
|
|
266
|
+
<DefaultSection />
|
|
267
|
+
<PlaceholderImage
|
|
268
|
+
className="mb-none"
|
|
269
|
+
title="Image outside of a section"
|
|
270
|
+
/>
|
|
271
|
+
</Card>
|
|
272
|
+
</GridCol>
|
|
273
|
+
</Grid>
|
|
274
|
+
</GrayPreview>
|
|
275
|
+
|
|
276
|
+
## Real-world example
|
|
277
|
+
|
|
278
|
+
export const products = [
|
|
279
|
+
{
|
|
280
|
+
title: "Internet",
|
|
281
|
+
description:
|
|
282
|
+
"Od najrýchlejšej optiky po bezdrôtové 4G, nájdeme vám najlepšie pripojenie, aké môžete mať.",
|
|
283
|
+
badge: "Najpredávanejší",
|
|
284
|
+
price: 10,
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
title: "Televízia",
|
|
288
|
+
description:
|
|
289
|
+
"Správy, šport, večerná zábava, detské alebo dokumentárne kanálov... Máme pre vás všetko. Archív, nahrávanie a špičkový obraz sú s Orange TV samozrejmosťou.",
|
|
290
|
+
price: 10,
|
|
291
|
+
},
|
|
292
|
+
];
|
|
293
|
+
|
|
294
|
+
<GrayPreview>
|
|
295
|
+
<Grid justifyHeight>
|
|
296
|
+
{products.map((product, index, array) => (
|
|
297
|
+
<GridCol key={product.title} size={{ md: Math.round(12 / array.length) }}>
|
|
298
|
+
<Card>
|
|
299
|
+
<CardHeader title={product.badge} />
|
|
300
|
+
<CardSection isFilling>
|
|
301
|
+
<h2>{product.title}</h2>
|
|
302
|
+
<p className="bold large">{product.description}</p>
|
|
303
|
+
</CardSection>
|
|
304
|
+
<CardSection>
|
|
305
|
+
<div className="bold mb-small">
|
|
306
|
+
<div className="h1 mb-small color-orange">
|
|
307
|
+
od {product.price} €/mes.
|
|
308
|
+
</div>
|
|
309
|
+
<div className="small">Viazanosť 24 mesiacov</div>
|
|
310
|
+
<div>+ 19,90 € poplatok za inštaláciu</div>
|
|
311
|
+
</div>
|
|
312
|
+
<a href="#" className="btn btn--primary">
|
|
313
|
+
Vybrať
|
|
314
|
+
</a>
|
|
315
|
+
</CardSection>
|
|
316
|
+
</Card>
|
|
317
|
+
</GridCol>
|
|
318
|
+
))}
|
|
319
|
+
</Grid>
|
|
320
|
+
</GrayPreview>
|
|
321
|
+
|
|
322
|
+
## Props
|
|
323
|
+
|
|
324
|
+
<ComponentDocs title="<Card />" component={Card} />
|
|
325
|
+
|
|
326
|
+
<ComponentDocs title="<CardSection />" component={CardSection} />
|
|
327
|
+
|
|
328
|
+
<ComponentDocs title="<CardHeader />" component={CardHeader} />
|
|
329
|
+
|
|
330
|
+
## Accessibility
|
|
331
|
+
|
|
332
|
+
The `<Card />` component is purely presentational and does not carry any
|
|
333
|
+
semantic meaning. The only thing you should care about is the usage of correct
|
|
334
|
+
heading level in `<CardSection />`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import cx from "classnames";
|
|
3
|
+
|
|
4
|
+
export const cardColors = ["white", "black", "orange"] as const;
|
|
5
|
+
export type CardColor = (typeof cardColors)[number];
|
|
6
|
+
|
|
7
|
+
export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
/** Custom background color */
|
|
9
|
+
color?: CardColor;
|
|
10
|
+
/** Add border */
|
|
11
|
+
hasBorder?: boolean;
|
|
12
|
+
hasShadow?: boolean;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const CLASS_ROOT = "card";
|
|
16
|
+
|
|
17
|
+
const Card = React.forwardRef<HTMLDivElement, CardProps>(
|
|
18
|
+
({ className, color = "white", hasBorder, hasShadow, ...other }, ref) => {
|
|
19
|
+
const classes = cx(
|
|
20
|
+
CLASS_ROOT,
|
|
21
|
+
{
|
|
22
|
+
[`bg-${color}`]: color !== "white",
|
|
23
|
+
[`${CLASS_ROOT}--bordered`]: hasBorder,
|
|
24
|
+
[`${CLASS_ROOT}--shadow`]: hasShadow,
|
|
25
|
+
},
|
|
26
|
+
className,
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
return <div className={classes} ref={ref} {...other} />;
|
|
30
|
+
},
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
Card.displayName = "Card";
|
|
34
|
+
|
|
35
|
+
export { Card };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import cx from "classnames";
|
|
3
|
+
|
|
4
|
+
interface CardProductHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
image?: React.ReactNode;
|
|
6
|
+
/** Use small spacing */
|
|
7
|
+
space?: "small";
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const CLASS_ROOT = "card__product-header";
|
|
11
|
+
|
|
12
|
+
const CardProductHeader = React.forwardRef<
|
|
13
|
+
HTMLDivElement,
|
|
14
|
+
CardProductHeaderProps
|
|
15
|
+
>(({ className, children, image, space, ...other }, ref) => {
|
|
16
|
+
const classes = cx(
|
|
17
|
+
CLASS_ROOT,
|
|
18
|
+
{
|
|
19
|
+
[`${CLASS_ROOT}--space-small`]: space === "small",
|
|
20
|
+
},
|
|
21
|
+
className,
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
return (
|
|
25
|
+
<div className={classes} ref={ref} {...other}>
|
|
26
|
+
<div>{children}</div>
|
|
27
|
+
{image}
|
|
28
|
+
</div>
|
|
29
|
+
);
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
CardProductHeader.displayName = "CardProductHeader";
|
|
33
|
+
|
|
34
|
+
export { CardProductHeader };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import cx from "classnames";
|
|
3
|
+
|
|
4
|
+
export const cardSectionColors = [
|
|
5
|
+
"orange",
|
|
6
|
+
"gray",
|
|
7
|
+
"blue",
|
|
8
|
+
"green",
|
|
9
|
+
"pink",
|
|
10
|
+
"yellow",
|
|
11
|
+
"violet",
|
|
12
|
+
] as const;
|
|
13
|
+
export type CardSectionColor = (typeof cardSectionColors)[number];
|
|
14
|
+
|
|
15
|
+
interface CardSectionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
16
|
+
/** Custom background color */
|
|
17
|
+
color?: CardSectionColor;
|
|
18
|
+
/** Fill available space using flexbox */
|
|
19
|
+
isFilling?: boolean;
|
|
20
|
+
/** Use small spacing */
|
|
21
|
+
space?: "small";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const CLASS_ROOT = "card__section";
|
|
25
|
+
|
|
26
|
+
const CardSection = React.forwardRef<HTMLDivElement, CardSectionProps>(
|
|
27
|
+
({ className, color, isFilling, space, ...other }, ref) => {
|
|
28
|
+
const classes = cx(
|
|
29
|
+
CLASS_ROOT,
|
|
30
|
+
{
|
|
31
|
+
[`bg-${color}`]: color,
|
|
32
|
+
[`${CLASS_ROOT}--fill`]: isFilling,
|
|
33
|
+
[`${CLASS_ROOT}--space-small`]: space === "small",
|
|
34
|
+
},
|
|
35
|
+
className,
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
return <div className={classes} ref={ref} {...other} />;
|
|
39
|
+
},
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
CardSection.displayName = "CardSection";
|
|
43
|
+
|
|
44
|
+
export { CardSection };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use "../../../styles/tokens/color";
|
|
2
|
+
@use "../../../styles/tokens/space";
|
|
3
|
+
@use "../../../styles/tools/convert";
|
|
4
|
+
|
|
5
|
+
$card-base: (
|
|
6
|
+
background-color: var(--color-surface-primary),
|
|
7
|
+
margin-bottom: space.get(),
|
|
8
|
+
border-radius: convert.to-rem(10px),
|
|
9
|
+
border: 1px solid var(--color-border-subtle),
|
|
10
|
+
overflow: hidden,
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
$spacing: (
|
|
14
|
+
default: space.get(),
|
|
15
|
+
md: space.get("large"),
|
|
16
|
+
);
|