@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,199 @@
|
|
|
1
|
+
import { ComponentDocs, md } from '@lighting-beetle/lighter-styleguide';
|
|
2
|
+
import { Preview } from '../../styleguide/';
|
|
3
|
+
import Table from './';
|
|
4
|
+
import {
|
|
5
|
+
headers,
|
|
6
|
+
rows,
|
|
7
|
+
unsortedHeaders,
|
|
8
|
+
ascendingHeaders,
|
|
9
|
+
descendingHeaders,
|
|
10
|
+
sortableRows,
|
|
11
|
+
ascendingRowsByDate,
|
|
12
|
+
descendingRowsByDate,
|
|
13
|
+
expandableTableRows,
|
|
14
|
+
footer,
|
|
15
|
+
scrollableHeaders,
|
|
16
|
+
scrollableRows,
|
|
17
|
+
shrinkHeaders,
|
|
18
|
+
shrinkRows,
|
|
19
|
+
fillHeaders,
|
|
20
|
+
fillRows,
|
|
21
|
+
} from './docsData';
|
|
22
|
+
|
|
23
|
+
export const defaultProps = {
|
|
24
|
+
headers,
|
|
25
|
+
rows,
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
# Table
|
|
29
|
+
|
|
30
|
+
<Preview>
|
|
31
|
+
<Table {...defaultProps} caption={<h2 hasMdxLink={false}>Random data</h2>} />
|
|
32
|
+
</Preview>
|
|
33
|
+
|
|
34
|
+
## With footer
|
|
35
|
+
|
|
36
|
+
<Preview>
|
|
37
|
+
<Table
|
|
38
|
+
caption={<h3 hasMdxLink={false}>Random data and footer</h3>}
|
|
39
|
+
{...defaultProps}
|
|
40
|
+
footers={footer}
|
|
41
|
+
/>
|
|
42
|
+
</Preview>
|
|
43
|
+
|
|
44
|
+
## Striped
|
|
45
|
+
|
|
46
|
+
<Preview>
|
|
47
|
+
<Table
|
|
48
|
+
{...defaultProps}
|
|
49
|
+
caption={<h3 hasMdxLink={false}>Random data with striped rows</h3>}
|
|
50
|
+
isStriped
|
|
51
|
+
/>
|
|
52
|
+
</Preview>
|
|
53
|
+
|
|
54
|
+
## Shrink / fill cells
|
|
55
|
+
|
|
56
|
+
<Preview>
|
|
57
|
+
<Table
|
|
58
|
+
headers={shrinkHeaders}
|
|
59
|
+
rows={shrinkRows}
|
|
60
|
+
caption={<h3 hasMdxLink={false}>Shrink cells to their minimum width</h3>}
|
|
61
|
+
/>
|
|
62
|
+
</Preview>
|
|
63
|
+
|
|
64
|
+
<Preview>
|
|
65
|
+
<Table
|
|
66
|
+
headers={fillHeaders}
|
|
67
|
+
rows={fillRows}
|
|
68
|
+
caption={
|
|
69
|
+
<h3 hasMdxLink={false}>Fill cells to take maximum avialble space</h3>
|
|
70
|
+
}
|
|
71
|
+
/>
|
|
72
|
+
</Preview>
|
|
73
|
+
|
|
74
|
+
## Scrollable
|
|
75
|
+
|
|
76
|
+
Scrollable tables can get wider than their container and scroll horizontally.
|
|
77
|
+
|
|
78
|
+
How to enable horizontal scrolling:
|
|
79
|
+
|
|
80
|
+
- Wrap the table in a `<div class="table-scrollable" role="group" />`.
|
|
81
|
+
|
|
82
|
+
This enables the scrolling itself.
|
|
83
|
+
|
|
84
|
+
- Put `data-table` attribute on the `<table />` element.
|
|
85
|
+
|
|
86
|
+
This initializes Table.static.js. It observes the table width and makes
|
|
87
|
+
the wrapping div focusable, when the table width exceeds the wrapping
|
|
88
|
+
div width and becomes horizontally scrollable.
|
|
89
|
+
This enables keyboard navigation support.
|
|
90
|
+
|
|
91
|
+
- Add a table caption and reference it as label from the wrapping div
|
|
92
|
+
by adding `aria-labelledby="caption-id"`.
|
|
93
|
+
|
|
94
|
+
This enables screenreader support.
|
|
95
|
+
|
|
96
|
+
<Preview>
|
|
97
|
+
<Table
|
|
98
|
+
data-table
|
|
99
|
+
headers={scrollableHeaders}
|
|
100
|
+
rows={scrollableRows}
|
|
101
|
+
caption={<h3 hasMdxLink={false}>Scrollable on all viewports</h3>}
|
|
102
|
+
isScrollable
|
|
103
|
+
/>
|
|
104
|
+
</Preview>
|
|
105
|
+
|
|
106
|
+
## Sortable
|
|
107
|
+
|
|
108
|
+
Sortable tables only provide necessary (accessible) markup and styles.
|
|
109
|
+
|
|
110
|
+
The sorting functionality itself and changing appropriate attributes and text labels
|
|
111
|
+
must be managed by application authors.
|
|
112
|
+
|
|
113
|
+
The following example shows three example states of sorting by date.
|
|
114
|
+
|
|
115
|
+
<Preview>
|
|
116
|
+
<Table
|
|
117
|
+
caption={<h3 hasMdxLink={false}>Random unsorted data</h3>}
|
|
118
|
+
headers={unsortedHeaders}
|
|
119
|
+
rows={sortableRows}
|
|
120
|
+
/>
|
|
121
|
+
<Table
|
|
122
|
+
caption={<h3 hasMdxLink={false}>Random sorted data (ascending by Date)</h3>}
|
|
123
|
+
headers={ascendingHeaders}
|
|
124
|
+
rows={ascendingRowsByDate}
|
|
125
|
+
/>
|
|
126
|
+
<Table
|
|
127
|
+
caption={
|
|
128
|
+
<h3 hasMdxLink={false}>Random sorted data (descending by Date)</h3>
|
|
129
|
+
}
|
|
130
|
+
headers={descendingHeaders}
|
|
131
|
+
rows={descendingRowsByDate}
|
|
132
|
+
/>
|
|
133
|
+
</Preview>
|
|
134
|
+
|
|
135
|
+
## Expandable rows
|
|
136
|
+
|
|
137
|
+
Expandable rows functionality is automatically initialised, on tables
|
|
138
|
+
with `data-table` attribute for `button` elements with `data-subrow-toggle`
|
|
139
|
+
attribute present. Clicking a button expands all rows referenced in `aria-controls`
|
|
140
|
+
and switches it's `aria-expanded` attribute.
|
|
141
|
+
|
|
142
|
+
<Preview>
|
|
143
|
+
<Table
|
|
144
|
+
data-table
|
|
145
|
+
caption={<h3 hasMdxLink={false}>Random data</h3>}
|
|
146
|
+
headers={headers}
|
|
147
|
+
rows={expandableTableRows}
|
|
148
|
+
/>
|
|
149
|
+
</Preview>
|
|
150
|
+
|
|
151
|
+
## Responsive tables
|
|
152
|
+
|
|
153
|
+
When building a responsive table which changes CSS display properties of its
|
|
154
|
+
cells or rows, apply `data-table="responsive"` attribute to the `<table />` element.
|
|
155
|
+
`Table.static.js` takes over and sets appropriate `role` attributes. This is necessary
|
|
156
|
+
because browsers tend to destroy semantics on tables that have their CSS display
|
|
157
|
+
properties altered.
|
|
158
|
+
|
|
159
|
+
- `table` gets `role="table"`
|
|
160
|
+
- `thead`, `tbody` and `tfoot` gets `role="rowgroup"`
|
|
161
|
+
- `tr` gets `role="row"`
|
|
162
|
+
- `td` gets `role="cell"`
|
|
163
|
+
- `th` gets `role="columnheader"`
|
|
164
|
+
- `th[scope=row]` gets `role="rowheader"`
|
|
165
|
+
|
|
166
|
+
The Table component does not provide any example styles for responsive tables.
|
|
167
|
+
|
|
168
|
+
## JS module reference
|
|
169
|
+
|
|
170
|
+
`Table.static.js` provides:
|
|
171
|
+
|
|
172
|
+
- [expandable-rows](#expandable-rows) functionality
|
|
173
|
+
- attribute management for screenreader and keyboard support in [scrollable tables](#scrollable)
|
|
174
|
+
- assigning aria roles to [responsive tables](#responsive-tables)
|
|
175
|
+
|
|
176
|
+
All elements with `[data-tables]` will be initialised automatically.
|
|
177
|
+
|
|
178
|
+
### Custom initialization
|
|
179
|
+
|
|
180
|
+
```javascript
|
|
181
|
+
const myTable = new window.ODS.modules.Table(
|
|
182
|
+
document.getElementById('my-table'),
|
|
183
|
+
config
|
|
184
|
+
);
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
#### Default config
|
|
188
|
+
|
|
189
|
+
```javascript
|
|
190
|
+
{
|
|
191
|
+
expandButtonSelector: '[data-subrow-toggle]', // enable expanding rows for these buttons
|
|
192
|
+
scrollableContainerSelector: '.table-scrollable', // observe scrollable table width compared to this container
|
|
193
|
+
responsiveTableSelector: `[data-table="responsive"]`, // implicitly apply aria roles if the table matches this selector
|
|
194
|
+
}
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
## Props
|
|
198
|
+
|
|
199
|
+
<ComponentDocs title="<Table />" component={Table} />
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import toggle from "../../scripts/modules/toggleUtil";
|
|
2
|
+
|
|
3
|
+
interface TableConfig {
|
|
4
|
+
expandButtonSelector: string;
|
|
5
|
+
scrollableContainerSelector: string;
|
|
6
|
+
responsiveTableSelector: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const defaultConfig: TableConfig = {
|
|
10
|
+
expandButtonSelector: "[data-subrow-toggle]",
|
|
11
|
+
scrollableContainerSelector: ".table-scrollable",
|
|
12
|
+
responsiveTableSelector: `[data-table="responsive"]`,
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export default class Table {
|
|
16
|
+
private element: HTMLElement;
|
|
17
|
+
private config: TableConfig;
|
|
18
|
+
private expandButtons: HTMLElement[];
|
|
19
|
+
private scrollableContainer: HTMLElement | null;
|
|
20
|
+
private resizeObserver: ResizeObserver;
|
|
21
|
+
|
|
22
|
+
constructor(element: HTMLElement, config?: Partial<TableConfig>) {
|
|
23
|
+
this.element = element;
|
|
24
|
+
this.config = { ...defaultConfig, ...config };
|
|
25
|
+
|
|
26
|
+
this.addRole = this.addRole.bind(this);
|
|
27
|
+
this.addARIA = this.addARIA.bind(this);
|
|
28
|
+
this.onExpandClick = this.onExpandClick.bind(this);
|
|
29
|
+
|
|
30
|
+
this.expandButtons = [];
|
|
31
|
+
this.scrollableContainer = null;
|
|
32
|
+
|
|
33
|
+
(this.element as any).ODS_Table = this;
|
|
34
|
+
|
|
35
|
+
this.resizeObserver = new ResizeObserver((entries) => {
|
|
36
|
+
if (!this.scrollableContainer) return;
|
|
37
|
+
|
|
38
|
+
const containerRect = this.scrollableContainer.getBoundingClientRect();
|
|
39
|
+
|
|
40
|
+
entries.forEach((entry) => {
|
|
41
|
+
if (entry.contentRect.width > containerRect.width) {
|
|
42
|
+
this.scrollableContainer?.setAttribute("tabindex", "0");
|
|
43
|
+
} else {
|
|
44
|
+
this.scrollableContainer?.removeAttribute("tabindex");
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
this.init();
|
|
50
|
+
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
private addRole(selector: string, role: string): void {
|
|
55
|
+
const items = Array.from(this.element.querySelectorAll(selector));
|
|
56
|
+
|
|
57
|
+
items.forEach((item) => {
|
|
58
|
+
item.setAttribute("role", role);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
private addARIA(): void {
|
|
63
|
+
try {
|
|
64
|
+
this.element.setAttribute("role", "table");
|
|
65
|
+
this.addRole("thead, tbody, tfoot", "rowgroup");
|
|
66
|
+
this.addRole("tr", "row");
|
|
67
|
+
this.addRole("td", "cell");
|
|
68
|
+
this.addRole("th", "columnheader");
|
|
69
|
+
this.addRole("th[scope=row]", "rowheader");
|
|
70
|
+
// caption role not needed as it is not a real role and
|
|
71
|
+
// browsers do not dump their own role with display block
|
|
72
|
+
} catch (e) {
|
|
73
|
+
console.log("Table.addARIA(): " + e);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
private onExpandClick(e: Event): void {
|
|
78
|
+
const button = e.currentTarget as HTMLElement;
|
|
79
|
+
const ariaControls = button.getAttribute("aria-controls") ?? "";
|
|
80
|
+
const controlRows = this.element.querySelectorAll(
|
|
81
|
+
ariaControls
|
|
82
|
+
.split(" ")
|
|
83
|
+
.map((id) => `#${id}`)
|
|
84
|
+
.join(","),
|
|
85
|
+
);
|
|
86
|
+
|
|
87
|
+
toggle({
|
|
88
|
+
element: button,
|
|
89
|
+
attribute: "aria-expanded",
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
controlRows.forEach((row) => {
|
|
93
|
+
toggle({
|
|
94
|
+
element: row as HTMLElement,
|
|
95
|
+
attribute: "hidden",
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
private init(): void {
|
|
101
|
+
this.expandButtons = Array.from(
|
|
102
|
+
this.element.querySelectorAll<HTMLElement>(
|
|
103
|
+
this.config.expandButtonSelector,
|
|
104
|
+
),
|
|
105
|
+
);
|
|
106
|
+
|
|
107
|
+
this.expandButtons.forEach((button) => {
|
|
108
|
+
button.addEventListener("click", this.onExpandClick);
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
if (this.element.matches(this.config.responsiveTableSelector)) {
|
|
112
|
+
this.addARIA();
|
|
113
|
+
}
|
|
114
|
+
this.maybeInitScrollable();
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
private maybeInitScrollable(): boolean | undefined {
|
|
118
|
+
this.scrollableContainer = this.element.closest<HTMLElement>(
|
|
119
|
+
this.config.scrollableContainerSelector,
|
|
120
|
+
);
|
|
121
|
+
if (this.scrollableContainer) {
|
|
122
|
+
this.resizeObserver.observe(this.element);
|
|
123
|
+
return true;
|
|
124
|
+
}
|
|
125
|
+
return undefined;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
public destroy(): void {
|
|
129
|
+
this.expandButtons.forEach((button) => {
|
|
130
|
+
button.removeEventListener("click", this.onExpandClick);
|
|
131
|
+
});
|
|
132
|
+
|
|
133
|
+
this.resizeObserver.disconnect();
|
|
134
|
+
|
|
135
|
+
this.expandButtons = [];
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
public update(): void {
|
|
139
|
+
this.destroy();
|
|
140
|
+
this.init();
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
static getInstance(el: HTMLElement): Table | null {
|
|
144
|
+
return el && (el as any).ODS_Table ? (el as any).ODS_Table : null;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import React, { useId } from "react";
|
|
4
|
+
import cx from "classnames";
|
|
5
|
+
|
|
6
|
+
import ConditionalWrapper from "../../utils/ConditionalWrapper";
|
|
7
|
+
import { useStatic } from "../../utils/hooks";
|
|
8
|
+
|
|
9
|
+
import { Header } from "./Header";
|
|
10
|
+
import TableContext from "./TableContext";
|
|
11
|
+
import { Rows } from "./Rows";
|
|
12
|
+
import { Footer } from "./Footer";
|
|
13
|
+
import TableStatic from "./Table.static";
|
|
14
|
+
import { TableHeader, TableRow, ExpandableRowsCaptions } from "./types";
|
|
15
|
+
|
|
16
|
+
interface TableProps extends React.TableHTMLAttributes<HTMLTableElement> {
|
|
17
|
+
/** Caption helps users with screen readers to find a table and understand what it's about and decide if they want to read it. */
|
|
18
|
+
caption?: React.ReactNode;
|
|
19
|
+
expandableRowsCaptions?: ExpandableRowsCaptions;
|
|
20
|
+
/** Foot element for table */
|
|
21
|
+
footers?: TableRow[];
|
|
22
|
+
/** Labels for headers in the table. Value of the key in headers match with the key name in rows */
|
|
23
|
+
headers: TableHeader[];
|
|
24
|
+
/** Compact table only takes spaced needed to display its content */
|
|
25
|
+
isCompact?: boolean;
|
|
26
|
+
/** If table has horizontal scrollbar */
|
|
27
|
+
isScrollable?: boolean;
|
|
28
|
+
/** Different colors for even and odd rows. */
|
|
29
|
+
isStriped?: boolean;
|
|
30
|
+
/** rows to print out in the table. */
|
|
31
|
+
rows: TableRow[];
|
|
32
|
+
className?: string;
|
|
33
|
+
/** Sets color scheme */
|
|
34
|
+
colorScheme?: "dark" | "light";
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const CLASS_ROOT = "table";
|
|
38
|
+
|
|
39
|
+
const Table: React.FC<TableProps> = ({
|
|
40
|
+
className,
|
|
41
|
+
caption,
|
|
42
|
+
headers,
|
|
43
|
+
rows,
|
|
44
|
+
footers,
|
|
45
|
+
isCompact,
|
|
46
|
+
isStriped,
|
|
47
|
+
isScrollable,
|
|
48
|
+
colorScheme,
|
|
49
|
+
expandableRowsCaptions = {
|
|
50
|
+
header: "Rozšíriteľný",
|
|
51
|
+
emptyRow: "Nerozšíriteľný riadok",
|
|
52
|
+
},
|
|
53
|
+
...other
|
|
54
|
+
}) => {
|
|
55
|
+
const [tableRef] = useStatic(TableStatic);
|
|
56
|
+
const idPrefix = useId();
|
|
57
|
+
|
|
58
|
+
const classes = cx(
|
|
59
|
+
CLASS_ROOT,
|
|
60
|
+
{
|
|
61
|
+
[`${CLASS_ROOT}--striped`]: isStriped,
|
|
62
|
+
[`${CLASS_ROOT}--compact`]: isCompact,
|
|
63
|
+
"is-dark": colorScheme === "dark",
|
|
64
|
+
"is-light": colorScheme === "light",
|
|
65
|
+
},
|
|
66
|
+
className,
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
const captionId = `${idPrefix}-caption`;
|
|
70
|
+
|
|
71
|
+
const expandableRows = {
|
|
72
|
+
hasExpandableRows: rows.some(
|
|
73
|
+
(row) => row && row.expand && row.expand.length > 0,
|
|
74
|
+
),
|
|
75
|
+
expandableRowsCaptions,
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
const customRows = rows.map((row, rowIndex) => {
|
|
79
|
+
if (row && row.expand) {
|
|
80
|
+
return {
|
|
81
|
+
...row,
|
|
82
|
+
expand: row.expand.map((expandableRow, expandIndex) => ({
|
|
83
|
+
...expandableRow,
|
|
84
|
+
id: `${idPrefix}-row-${rowIndex}-${expandIndex}`,
|
|
85
|
+
})),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return row;
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
const context = {
|
|
93
|
+
headers,
|
|
94
|
+
footers,
|
|
95
|
+
rows: customRows,
|
|
96
|
+
expandableRows,
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
const table = (
|
|
100
|
+
<TableContext.Provider value={context}>
|
|
101
|
+
<ConditionalWrapper
|
|
102
|
+
condition={isScrollable || false}
|
|
103
|
+
wrapper={
|
|
104
|
+
<div
|
|
105
|
+
className={`${CLASS_ROOT}-scrollable`}
|
|
106
|
+
role="group"
|
|
107
|
+
{...(caption && { "aria-labelledby": captionId })}
|
|
108
|
+
/>
|
|
109
|
+
}
|
|
110
|
+
>
|
|
111
|
+
<table ref={tableRef} className={classes} {...other}>
|
|
112
|
+
{caption && (
|
|
113
|
+
<caption {...(isScrollable && { id: captionId })}>
|
|
114
|
+
{caption}
|
|
115
|
+
</caption>
|
|
116
|
+
)}
|
|
117
|
+
<Header />
|
|
118
|
+
<Rows />
|
|
119
|
+
<Footer />
|
|
120
|
+
</table>
|
|
121
|
+
</ConditionalWrapper>
|
|
122
|
+
</TableContext.Provider>
|
|
123
|
+
);
|
|
124
|
+
|
|
125
|
+
return table;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
Table.displayName = "Table";
|
|
129
|
+
|
|
130
|
+
export { Table };
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
interface CellValue {
|
|
2
|
+
value: string;
|
|
3
|
+
rawValue?: number;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
interface TableHeader {
|
|
7
|
+
key: string;
|
|
8
|
+
label: string;
|
|
9
|
+
isSortable?: boolean;
|
|
10
|
+
sort?: "none" | "ascending" | "descending";
|
|
11
|
+
cellProps?: {
|
|
12
|
+
className?: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
interface TableRow {
|
|
17
|
+
[key: string]: string | number | CellValue | Array<any>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export const headers: TableHeader[] = [
|
|
21
|
+
{
|
|
22
|
+
key: "col1",
|
|
23
|
+
label: "No.",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
key: "col2",
|
|
27
|
+
label: "Lorem",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
key: "col3",
|
|
31
|
+
label: "Ipsum",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
key: "col4",
|
|
35
|
+
label: "Dolor",
|
|
36
|
+
cellProps: {
|
|
37
|
+
className: "align-right",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
];
|
|
41
|
+
|
|
42
|
+
export const rows: TableRow[] = [
|
|
43
|
+
{
|
|
44
|
+
col1: { value: "1" },
|
|
45
|
+
col2: "Et fugiat",
|
|
46
|
+
col3: "Voluptate dolore",
|
|
47
|
+
col4: "579",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
col1: "2",
|
|
51
|
+
col2: "Quis deserunt",
|
|
52
|
+
col3: "Aliqua sint laboris ut",
|
|
53
|
+
col4: "814",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
col1: "3",
|
|
57
|
+
col2: "Voluptate dolore",
|
|
58
|
+
col3: "Aliqua sint laboris ut",
|
|
59
|
+
col4: "436",
|
|
60
|
+
},
|
|
61
|
+
];
|
|
62
|
+
|
|
63
|
+
const dateHeader: TableHeader = {
|
|
64
|
+
key: "date",
|
|
65
|
+
label: "Date",
|
|
66
|
+
isSortable: true,
|
|
67
|
+
sort: "none",
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
const sortableHeaders = [...headers];
|
|
71
|
+
|
|
72
|
+
export const unsortedHeaders: TableHeader[] = [dateHeader, ...sortableHeaders];
|
|
73
|
+
|
|
74
|
+
export const ascendingHeaders: TableHeader[] = [
|
|
75
|
+
{ ...dateHeader, sort: "ascending" },
|
|
76
|
+
...sortableHeaders,
|
|
77
|
+
];
|
|
78
|
+
|
|
79
|
+
export const descendingHeaders: TableHeader[] = [
|
|
80
|
+
{ ...dateHeader, sort: "descending" },
|
|
81
|
+
...sortableHeaders,
|
|
82
|
+
];
|
|
83
|
+
|
|
84
|
+
export const sortableRows = rows.map((row) => {
|
|
85
|
+
const date = new Date(
|
|
86
|
+
Date.UTC(2017, 12, Math.floor(Math.random() * 31), 0, 0, 0),
|
|
87
|
+
);
|
|
88
|
+
const formattedDate: CellValue = {
|
|
89
|
+
value: date.toLocaleDateString("en", {
|
|
90
|
+
weekday: "long",
|
|
91
|
+
year: "numeric",
|
|
92
|
+
month: "long",
|
|
93
|
+
day: "numeric",
|
|
94
|
+
}),
|
|
95
|
+
rawValue: date.getTime(),
|
|
96
|
+
};
|
|
97
|
+
return {
|
|
98
|
+
...row,
|
|
99
|
+
date: formattedDate,
|
|
100
|
+
};
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
export const ascendingRowsByDate = [...sortableRows].sort(
|
|
104
|
+
(a, b) => (a.date as CellValue).rawValue! - (b.date as CellValue).rawValue!,
|
|
105
|
+
);
|
|
106
|
+
|
|
107
|
+
export const descendingRowsByDate = [...sortableRows].sort(
|
|
108
|
+
(a, b) => (b.date as CellValue).rawValue! - (a.date as CellValue).rawValue!,
|
|
109
|
+
);
|
|
110
|
+
|
|
111
|
+
export const expandableTableRows: TableRow[] = [
|
|
112
|
+
...rows.map((r, i) => ({ ...r, col1: "" + (1 + i) })),
|
|
113
|
+
].map((row, index) => ({
|
|
114
|
+
...row,
|
|
115
|
+
expand: new Array(index + 1).fill({
|
|
116
|
+
col1: "",
|
|
117
|
+
col2: "test",
|
|
118
|
+
col3: "",
|
|
119
|
+
col4: "436",
|
|
120
|
+
}),
|
|
121
|
+
}));
|
|
122
|
+
|
|
123
|
+
expandableTableRows[2] = {
|
|
124
|
+
col1: "3",
|
|
125
|
+
col2: "Voluptate dolore",
|
|
126
|
+
col3: "Aliqua sint laboris ut",
|
|
127
|
+
col4: "436",
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
export const footer: TableRow[] = [
|
|
131
|
+
{
|
|
132
|
+
col1: "",
|
|
133
|
+
col2: "",
|
|
134
|
+
col3: "lorem ipsum",
|
|
135
|
+
col4: "3525",
|
|
136
|
+
},
|
|
137
|
+
];
|
|
138
|
+
|
|
139
|
+
export const scrollableHeaders: TableHeader[] = [
|
|
140
|
+
...headers,
|
|
141
|
+
{
|
|
142
|
+
key: "col5",
|
|
143
|
+
label:
|
|
144
|
+
"Maecenas faucibus mollis interdum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Sed posuere consectetur est at lobortis. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.",
|
|
145
|
+
cellProps: { className: "text-nowrap" },
|
|
146
|
+
},
|
|
147
|
+
];
|
|
148
|
+
|
|
149
|
+
export const scrollableRows: TableRow[] = [
|
|
150
|
+
...rows.map((row) => {
|
|
151
|
+
return {
|
|
152
|
+
...row,
|
|
153
|
+
col5: "Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.",
|
|
154
|
+
};
|
|
155
|
+
}),
|
|
156
|
+
];
|
|
157
|
+
|
|
158
|
+
export const shrinkHeaders: TableHeader[] = [
|
|
159
|
+
{
|
|
160
|
+
key: "col1",
|
|
161
|
+
label: "Deafult column",
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
key: "col2",
|
|
165
|
+
label: "Shrink",
|
|
166
|
+
cellProps: { className: "table__cell--shrink" },
|
|
167
|
+
},
|
|
168
|
+
];
|
|
169
|
+
|
|
170
|
+
export const shrinkRows: TableRow[] = [
|
|
171
|
+
{
|
|
172
|
+
col1: "Et fugiat",
|
|
173
|
+
col2: "1",
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
col1: "Quis deserunt",
|
|
177
|
+
col2: "2",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
col1: "Voluptate dolore",
|
|
181
|
+
col2: "3",
|
|
182
|
+
},
|
|
183
|
+
];
|
|
184
|
+
|
|
185
|
+
export const fillHeaders: TableHeader[] = [
|
|
186
|
+
{
|
|
187
|
+
key: "col1",
|
|
188
|
+
label: "Deafult column",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
key: "col2",
|
|
192
|
+
label: "Fill all available space",
|
|
193
|
+
cellProps: { className: "table__cell--fill" },
|
|
194
|
+
},
|
|
195
|
+
];
|
|
196
|
+
|
|
197
|
+
export const fillRows: TableRow[] = [
|
|
198
|
+
{
|
|
199
|
+
col1: "Et fugiat",
|
|
200
|
+
col2: "1",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
col1: "Quis deserunt",
|
|
204
|
+
col2: "2",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
col1: "Voluptate dolore",
|
|
208
|
+
col2: "3",
|
|
209
|
+
},
|
|
210
|
+
];
|