@dktunited-techoff/techoff-suite-ui 0.8.5 → 0.8.7
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/package.json +1 -1
- package/src/components/Icon/icons/index.ts +1 -1
- package/src/layouts/Header/Header.css +15 -23
- package/src/layouts/Header/Header.tsx +9 -4
- package/src/layouts/Header/Header.types.ts +1 -0
- package/src/layouts/Header/__stories__/Header.stories.mdx +11 -3
- package/src/layouts/Navigation/Navigation.css +1 -1
- package/esm/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/esm/components/Button/Button.css +0 -93
- package/esm/components/Button/Button.d.ts +0 -5
- package/esm/components/Button/Button.js +0 -17
- package/esm/components/Button/Button.js.map +0 -1
- package/esm/components/Button/Button.types.d.ts +0 -9
- package/esm/components/Button/Button.types.js +0 -2
- package/esm/components/Button/Button.types.js.map +0 -1
- package/esm/components/Button/__stories__/Button.stories.mdx +0 -74
- package/esm/components/Checkbox/Checkbox.css +0 -61
- package/esm/components/Checkbox/Checkbox.d.ts +0 -7
- package/esm/components/Checkbox/Checkbox.js +0 -21
- package/esm/components/Checkbox/Checkbox.js.map +0 -1
- package/esm/components/Checkbox/Checkbox.types.d.ts +0 -4
- package/esm/components/Checkbox/Checkbox.types.js +0 -2
- package/esm/components/Checkbox/Checkbox.types.js.map +0 -1
- package/esm/components/Checkbox/__stories__/Checkbox.stories.mdx +0 -43
- package/esm/components/Icon/Icon.css +0 -26
- package/esm/components/Icon/Icon.d.ts +0 -4
- package/esm/components/Icon/Icon.js +0 -12
- package/esm/components/Icon/Icon.js.map +0 -1
- package/esm/components/Icon/Icon.types.d.ts +0 -4
- package/esm/components/Icon/Icon.types.js +0 -2
- package/esm/components/Icon/Icon.types.js.map +0 -1
- package/esm/components/Icon/__stories__/Icon.stories.mdx +0 -88
- package/esm/components/Icon/icons/alert-fill.svg +0 -1
- package/esm/components/Icon/icons/alert-line.svg +0 -1
- package/esm/components/Icon/icons/arrow-back.svg +0 -1
- package/esm/components/Icon/icons/arrow-down.svg +0 -1
- package/esm/components/Icon/icons/arrow-left.svg +0 -1
- package/esm/components/Icon/icons/arrow-right-.svg +0 -1
- package/esm/components/Icon/icons/arrow-up.svg +0 -1
- package/esm/components/Icon/icons/arrows-up-down.svg +0 -1
- package/esm/components/Icon/icons/check-circle-fill.svg +0 -1
- package/esm/components/Icon/icons/check-circle.svg +0 -1
- package/esm/components/Icon/icons/check.svg +0 -1
- package/esm/components/Icon/icons/chevron-down.svg +0 -1
- package/esm/components/Icon/icons/chevron-left.svg +0 -1
- package/esm/components/Icon/icons/chevron-right.svg +0 -1
- package/esm/components/Icon/icons/chevron-up.svg +0 -1
- package/esm/components/Icon/icons/circle.svg +0 -1
- package/esm/components/Icon/icons/dots-vertical.svg +0 -1
- package/esm/components/Icon/icons/download.svg +0 -1
- package/esm/components/Icon/icons/edit.svg +0 -1
- package/esm/components/Icon/icons/external-link.svg +0 -1
- package/esm/components/Icon/icons/filter-off.svg +0 -1
- package/esm/components/Icon/icons/filter.svg +0 -1
- package/esm/components/Icon/icons/header-bikestudio.svg +0 -32
- package/esm/components/Icon/icons/header-nsc-helmet.svg +0 -32
- package/esm/components/Icon/icons/header-opticost.svg +0 -32
- package/esm/components/Icon/icons/heart-fill.svg +0 -1
- package/esm/components/Icon/icons/heart.svg +0 -1
- package/esm/components/Icon/icons/home.svg +0 -1
- package/esm/components/Icon/icons/houglass.svg +0 -1
- package/esm/components/Icon/icons/in-progress.svg +0 -18
- package/esm/components/Icon/icons/index.d.ts +0 -3
- package/esm/components/Icon/icons/index.js +0 -49
- package/esm/components/Icon/icons/index.js.map +0 -1
- package/esm/components/Icon/icons/index.ts +0 -48
- package/esm/components/Icon/icons/lightning-off.svg +0 -1
- package/esm/components/Icon/icons/lightning.svg +0 -1
- package/esm/components/Icon/icons/list-settings.svg +0 -1
- package/esm/components/Icon/icons/lock.svg +0 -1
- package/esm/components/Icon/icons/plus-circle.svg +0 -1
- package/esm/components/Icon/icons/plus.svg +0 -1
- package/esm/components/Icon/icons/search.svg +0 -1
- package/esm/components/Icon/icons/seed-2.svg +0 -1
- package/esm/components/Icon/icons/square-check-fill.svg +0 -1
- package/esm/components/Icon/icons/square.svg +0 -1
- package/esm/components/Icon/icons/tools.svg +0 -1
- package/esm/components/Icon/icons/user.svg +0 -1
- package/esm/components/Icon/icons/waiting-validation.svg +0 -19
- package/esm/components/Icon/icons/x-circle-fill.svg +0 -1
- package/esm/components/Icon/icons/x.svg +0 -1
- package/esm/components/Inputs/BooleanInput/BooleanInput.css +0 -51
- package/esm/components/Inputs/BooleanInput/BooleanInput.d.ts +0 -4
- package/esm/components/Inputs/BooleanInput/BooleanInput.js +0 -13
- package/esm/components/Inputs/BooleanInput/BooleanInput.js.map +0 -1
- package/esm/components/Inputs/BooleanInput/BooleanInput.tsx +0 -24
- package/esm/components/Inputs/BooleanInput/BooleanInput.types.d.ts +0 -7
- package/esm/components/Inputs/BooleanInput/BooleanInput.types.js +0 -2
- package/esm/components/Inputs/BooleanInput/BooleanInput.types.js.map +0 -1
- package/esm/components/Inputs/BooleanInput/BooleanInput.types.ts +0 -7
- package/esm/components/Inputs/BooleanInput/__stories__/BooleanInput.stories.mdx +0 -44
- package/esm/components/Inputs/TextInput/TextInput.css +0 -42
- package/esm/components/Inputs/TextInput/TextInput.d.ts +0 -4
- package/esm/components/Inputs/TextInput/TextInput.js +0 -16
- package/esm/components/Inputs/TextInput/TextInput.js.map +0 -1
- package/esm/components/Inputs/TextInput/TextInput.tsx +0 -24
- package/esm/components/Inputs/TextInput/TextInput.types.d.ts +0 -8
- package/esm/components/Inputs/TextInput/TextInput.types.js +0 -2
- package/esm/components/Inputs/TextInput/TextInput.types.js.map +0 -1
- package/esm/components/Inputs/TextInput/TextInput.types.ts +0 -8
- package/esm/components/Inputs/TextInput/__stories__/TextInput.stories.mdx +0 -55
- package/esm/components/Loader/Loader.css +0 -42
- package/esm/components/Loader/Loader.d.ts +0 -4
- package/esm/components/Loader/Loader.js +0 -6
- package/esm/components/Loader/Loader.js.map +0 -1
- package/esm/components/Loader/Loader.types.d.ts +0 -3
- package/esm/components/Loader/Loader.types.js +0 -2
- package/esm/components/Loader/Loader.types.js.map +0 -1
- package/esm/components/Loader/__stories__/Loader.stories.mdx +0 -30
- package/esm/index.d.ts +0 -9
- package/esm/index.js +0 -10
- package/esm/index.js.map +0 -1
- package/esm/layouts/Header/Header.css +0 -83
- package/esm/layouts/Header/Header.d.ts +0 -4
- package/esm/layouts/Header/Header.js +0 -14
- package/esm/layouts/Header/Header.js.map +0 -1
- package/esm/layouts/Header/Header.types.d.ts +0 -4
- package/esm/layouts/Header/Header.types.js +0 -2
- package/esm/layouts/Header/Header.types.js.map +0 -1
- package/esm/layouts/Header/HeaderActions.d.ts +0 -3
- package/esm/layouts/Header/HeaderActions.js +0 -7
- package/esm/layouts/Header/HeaderActions.js.map +0 -1
- package/esm/layouts/Header/HeaderProfile.d.ts +0 -3
- package/esm/layouts/Header/HeaderProfile.js +0 -16
- package/esm/layouts/Header/HeaderProfile.js.map +0 -1
- package/esm/layouts/Header/HeaderTitle.d.ts +0 -3
- package/esm/layouts/Header/HeaderTitle.js +0 -11
- package/esm/layouts/Header/HeaderTitle.js.map +0 -1
- package/esm/layouts/Header/__stories__/Header.stories.mdx +0 -36
- package/esm/layouts/Navigation/Navigation.css +0 -74
- package/esm/layouts/Navigation/Navigation.d.ts +0 -4
- package/esm/layouts/Navigation/Navigation.js +0 -15
- package/esm/layouts/Navigation/Navigation.js.map +0 -1
- package/esm/layouts/Navigation/Navigation.types.d.ts +0 -5
- package/esm/layouts/Navigation/Navigation.types.js +0 -2
- package/esm/layouts/Navigation/Navigation.types.js.map +0 -1
- package/esm/layouts/Navigation/NavigationActions.d.ts +0 -4
- package/esm/layouts/Navigation/NavigationActions.js +0 -4
- package/esm/layouts/Navigation/NavigationActions.js.map +0 -1
- package/esm/layouts/Navigation/NavigationBreadcrumb.d.ts +0 -6
- package/esm/layouts/Navigation/NavigationBreadcrumb.js +0 -26
- package/esm/layouts/Navigation/NavigationBreadcrumb.js.map +0 -1
- package/esm/layouts/Navigation/__stories__/Navigation.stories.mdx +0 -46
- package/esm/utils/string.utils.d.ts +0 -1
- package/esm/utils/string.utils.js +0 -2
- package/esm/utils/string.utils.js.map +0 -1
- package/esm/utils/validator.utils.d.ts +0 -2
- package/esm/utils/validator.utils.js +0 -5
- package/esm/utils/validator.utils.js.map +0 -1
- package/lib/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/lib/components/Button/Button.css +0 -93
- package/lib/components/Button/Button.d.ts +0 -5
- package/lib/components/Button/Button.js +0 -21
- package/lib/components/Button/Button.js.map +0 -1
- package/lib/components/Button/Button.types.d.ts +0 -9
- package/lib/components/Button/Button.types.js +0 -3
- package/lib/components/Button/Button.types.js.map +0 -1
- package/lib/components/Button/__stories__/Button.stories.mdx +0 -74
- package/lib/components/Checkbox/Checkbox.css +0 -61
- package/lib/components/Checkbox/Checkbox.d.ts +0 -7
- package/lib/components/Checkbox/Checkbox.js +0 -27
- package/lib/components/Checkbox/Checkbox.js.map +0 -1
- package/lib/components/Checkbox/Checkbox.types.d.ts +0 -4
- package/lib/components/Checkbox/Checkbox.types.js +0 -3
- package/lib/components/Checkbox/Checkbox.types.js.map +0 -1
- package/lib/components/Checkbox/__stories__/Checkbox.stories.mdx +0 -43
- package/lib/components/Icon/Icon.css +0 -26
- package/lib/components/Icon/Icon.d.ts +0 -4
- package/lib/components/Icon/Icon.js +0 -16
- package/lib/components/Icon/Icon.js.map +0 -1
- package/lib/components/Icon/Icon.types.d.ts +0 -4
- package/lib/components/Icon/Icon.types.js +0 -3
- package/lib/components/Icon/Icon.types.js.map +0 -1
- package/lib/components/Icon/__stories__/Icon.stories.mdx +0 -88
- package/lib/components/Icon/icons/alert-fill.svg +0 -1
- package/lib/components/Icon/icons/alert-line.svg +0 -1
- package/lib/components/Icon/icons/arrow-back.svg +0 -1
- package/lib/components/Icon/icons/arrow-down.svg +0 -1
- package/lib/components/Icon/icons/arrow-left.svg +0 -1
- package/lib/components/Icon/icons/arrow-right-.svg +0 -1
- package/lib/components/Icon/icons/arrow-up.svg +0 -1
- package/lib/components/Icon/icons/arrows-up-down.svg +0 -1
- package/lib/components/Icon/icons/check-circle-fill.svg +0 -1
- package/lib/components/Icon/icons/check-circle.svg +0 -1
- package/lib/components/Icon/icons/check.svg +0 -1
- package/lib/components/Icon/icons/chevron-down.svg +0 -1
- package/lib/components/Icon/icons/chevron-left.svg +0 -1
- package/lib/components/Icon/icons/chevron-right.svg +0 -1
- package/lib/components/Icon/icons/chevron-up.svg +0 -1
- package/lib/components/Icon/icons/circle.svg +0 -1
- package/lib/components/Icon/icons/dots-vertical.svg +0 -1
- package/lib/components/Icon/icons/download.svg +0 -1
- package/lib/components/Icon/icons/edit.svg +0 -1
- package/lib/components/Icon/icons/external-link.svg +0 -1
- package/lib/components/Icon/icons/filter-off.svg +0 -1
- package/lib/components/Icon/icons/filter.svg +0 -1
- package/lib/components/Icon/icons/header-bikestudio.svg +0 -32
- package/lib/components/Icon/icons/header-nsc-helmet.svg +0 -32
- package/lib/components/Icon/icons/header-opticost.svg +0 -32
- package/lib/components/Icon/icons/header-reparability.svg +0 -32
- package/lib/components/Icon/icons/heart-fill.svg +0 -1
- package/lib/components/Icon/icons/heart.svg +0 -1
- package/lib/components/Icon/icons/home.svg +0 -1
- package/lib/components/Icon/icons/houglass.svg +0 -1
- package/lib/components/Icon/icons/in-progress.svg +0 -18
- package/lib/components/Icon/icons/index.d.ts +0 -3
- package/lib/components/Icon/icons/index.js +0 -52
- package/lib/components/Icon/icons/index.js.map +0 -1
- package/lib/components/Icon/icons/index.ts +0 -48
- package/lib/components/Icon/icons/lightning-off.svg +0 -1
- package/lib/components/Icon/icons/lightning.svg +0 -1
- package/lib/components/Icon/icons/list-settings.svg +0 -1
- package/lib/components/Icon/icons/lock.svg +0 -1
- package/lib/components/Icon/icons/plus-circle.svg +0 -1
- package/lib/components/Icon/icons/plus.svg +0 -1
- package/lib/components/Icon/icons/search.svg +0 -1
- package/lib/components/Icon/icons/seed-2.svg +0 -1
- package/lib/components/Icon/icons/square-check-fill.svg +0 -1
- package/lib/components/Icon/icons/square.svg +0 -1
- package/lib/components/Icon/icons/tools.svg +0 -1
- package/lib/components/Icon/icons/user.svg +0 -1
- package/lib/components/Icon/icons/waiting-validation.svg +0 -19
- package/lib/components/Icon/icons/x-circle-fill.svg +0 -1
- package/lib/components/Icon/icons/x.svg +0 -1
- package/lib/components/Inputs/BooleanInput/BooleanInput.css +0 -51
- package/lib/components/Inputs/BooleanInput/BooleanInput.d.ts +0 -4
- package/lib/components/Inputs/BooleanInput/BooleanInput.js +0 -17
- package/lib/components/Inputs/BooleanInput/BooleanInput.js.map +0 -1
- package/lib/components/Inputs/BooleanInput/BooleanInput.tsx +0 -24
- package/lib/components/Inputs/BooleanInput/BooleanInput.types.d.ts +0 -7
- package/lib/components/Inputs/BooleanInput/BooleanInput.types.js +0 -3
- package/lib/components/Inputs/BooleanInput/BooleanInput.types.js.map +0 -1
- package/lib/components/Inputs/BooleanInput/BooleanInput.types.ts +0 -7
- package/lib/components/Inputs/BooleanInput/__stories__/BooleanInput.stories.mdx +0 -44
- package/lib/components/Inputs/TextInput/TextInput.css +0 -42
- package/lib/components/Inputs/TextInput/TextInput.d.ts +0 -4
- package/lib/components/Inputs/TextInput/TextInput.js +0 -20
- package/lib/components/Inputs/TextInput/TextInput.js.map +0 -1
- package/lib/components/Inputs/TextInput/TextInput.tsx +0 -24
- package/lib/components/Inputs/TextInput/TextInput.types.d.ts +0 -8
- package/lib/components/Inputs/TextInput/TextInput.types.js +0 -3
- package/lib/components/Inputs/TextInput/TextInput.types.js.map +0 -1
- package/lib/components/Inputs/TextInput/TextInput.types.ts +0 -8
- package/lib/components/Inputs/TextInput/__stories__/TextInput.stories.mdx +0 -55
- package/lib/components/Loader/Loader.css +0 -42
- package/lib/components/Loader/Loader.d.ts +0 -4
- package/lib/components/Loader/Loader.js +0 -10
- package/lib/components/Loader/Loader.js.map +0 -1
- package/lib/components/Loader/Loader.types.d.ts +0 -3
- package/lib/components/Loader/Loader.types.js +0 -3
- package/lib/components/Loader/Loader.types.js.map +0 -1
- package/lib/components/Loader/__stories__/Loader.stories.mdx +0 -30
- package/lib/index.d.ts +0 -9
- package/lib/index.js +0 -26
- package/lib/index.js.map +0 -1
- package/lib/layouts/Header/Header.css +0 -83
- package/lib/layouts/Header/Header.d.ts +0 -4
- package/lib/layouts/Header/Header.js +0 -18
- package/lib/layouts/Header/Header.js.map +0 -1
- package/lib/layouts/Header/Header.types.d.ts +0 -4
- package/lib/layouts/Header/Header.types.js +0 -3
- package/lib/layouts/Header/Header.types.js.map +0 -1
- package/lib/layouts/Header/HeaderActions.d.ts +0 -3
- package/lib/layouts/Header/HeaderActions.js +0 -11
- package/lib/layouts/Header/HeaderActions.js.map +0 -1
- package/lib/layouts/Header/HeaderProfile.d.ts +0 -3
- package/lib/layouts/Header/HeaderProfile.js +0 -20
- package/lib/layouts/Header/HeaderProfile.js.map +0 -1
- package/lib/layouts/Header/HeaderTitle.d.ts +0 -3
- package/lib/layouts/Header/HeaderTitle.js +0 -15
- package/lib/layouts/Header/HeaderTitle.js.map +0 -1
- package/lib/layouts/Header/__stories__/Header.stories.mdx +0 -36
- package/lib/layouts/Navigation/Navigation.css +0 -74
- package/lib/layouts/Navigation/Navigation.d.ts +0 -4
- package/lib/layouts/Navigation/Navigation.js +0 -19
- package/lib/layouts/Navigation/Navigation.js.map +0 -1
- package/lib/layouts/Navigation/Navigation.types.d.ts +0 -5
- package/lib/layouts/Navigation/Navigation.types.js +0 -3
- package/lib/layouts/Navigation/Navigation.types.js.map +0 -1
- package/lib/layouts/Navigation/NavigationActions.d.ts +0 -4
- package/lib/layouts/Navigation/NavigationActions.js +0 -8
- package/lib/layouts/Navigation/NavigationActions.js.map +0 -1
- package/lib/layouts/Navigation/NavigationBreadcrumb.d.ts +0 -6
- package/lib/layouts/Navigation/NavigationBreadcrumb.js +0 -31
- package/lib/layouts/Navigation/NavigationBreadcrumb.js.map +0 -1
- package/lib/layouts/Navigation/__stories__/Navigation.stories.mdx +0 -46
- package/lib/utils/string.utils.d.ts +0 -1
- package/lib/utils/string.utils.js +0 -6
- package/lib/utils/string.utils.js.map +0 -1
- package/lib/utils/validator.utils.d.ts +0 -2
- package/lib/utils/validator.utils.js +0 -9
- package/lib/utils/validator.utils.js.map +0 -1
- package/src/components/Icon/icons/header-reparability.svg +0 -32
- package/src/layouts/Header/HeaderTitle.tsx +0 -17
- /package/{esm/components/Icon/icons/header-reparability.svg → src/components/Icon/icons/header-repairability.svg} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M5.33003 3.27096C5.99706 3.03294 6.72061 3.00288 7.40509 3.18476C8.08957 3.36664 8.70277 3.75189 9.16368 4.28961C9.62459 4.82734 9.91152 5.49225 9.98657 6.19649C10.0616 6.90073 9.92126 7.61117 9.58403 8.23396L20.293 18.944L18.879 20.358L8.16903 9.64796C7.5461 9.98386 6.83602 10.1231 6.13236 10.0475C5.4287 9.97177 4.76448 9.68466 4.22724 9.22397C3.69 8.76327 3.30494 8.15061 3.12282 7.46673C2.9407 6.78284 2.97006 6.05982 3.20703 5.39296L5.44403 7.62996C5.5824 7.77322 5.74791 7.8875 5.93092 7.96611C6.11393 8.04472 6.31076 8.0861 6.50993 8.08783C6.70909 8.08956 6.90661 8.05161 7.09096 7.97619C7.2753 7.90077 7.44278 7.78939 7.58362 7.64855C7.72446 7.50771 7.83584 7.34023 7.91126 7.15589C7.98668 6.97154 8.02463 6.77402 8.0229 6.57485C8.02117 6.37569 7.97979 6.17886 7.90118 5.99585C7.82257 5.81284 7.70829 5.64733 7.56503 5.50896L5.32903 3.26996L5.33003 3.27096ZM15.697 5.15496L18.879 3.38696L20.293 4.80096L18.525 7.98296L16.757 8.33696L14.637 10.458L13.222 9.04396L15.343 6.92296L15.697 5.15496ZM8.97903 13.287L10.393 14.701L5.09003 20.004C4.90973 20.1848 4.66709 20.2898 4.41186 20.2974C4.15663 20.305 3.90814 20.2148 3.71734 20.0451C3.52655 19.8754 3.40789 19.6391 3.38571 19.3847C3.36352 19.1304 3.43949 18.8771 3.59803 18.677L3.67603 18.59L8.97903 13.287Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 23C4 20.8783 4.84285 18.8434 6.34315 17.3431C7.84344 15.8429 9.87827 15 12 15C14.1217 15 16.1566 15.8429 17.6569 17.3431C19.1571 18.8434 20 20.8783 20 23H18C18 21.4087 17.3679 19.8826 16.2426 18.7574C15.1174 17.6321 13.5913 17 12 17C10.4087 17 8.88258 17.6321 7.75736 18.7574C6.63214 19.8826 6 21.4087 6 23H4ZM12 14C8.685 14 6 11.315 6 8C6 4.685 8.685 2 12 2C15.315 2 18 4.685 18 8C18 11.315 15.315 14 12 14ZM12 12C14.21 12 16 10.21 16 8C16 5.79 14.21 4 12 4C9.79 4 8 5.79 8 8C8 10.21 9.79 12 12 12Z"/></svg>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 27.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
-
viewBox="0 0 21.5 21.6" style="enable-background:new 0 0 21.5 21.6;" xml:space="preserve">
|
|
5
|
-
<style type="text/css">
|
|
6
|
-
.st0{fill:none;stroke:#4D6F56;stroke-width:2;stroke-miterlimit:10;}
|
|
7
|
-
.st1{fill:none;stroke:#88CABA;stroke-width:2;stroke-miterlimit:10;}
|
|
8
|
-
.st2{fill:none;stroke:#88CABA;stroke-width:1.8;stroke-miterlimit:10;}
|
|
9
|
-
.st3{fill:#88CABA;}
|
|
10
|
-
.st4{fill:none;stroke:#FFFFFF;stroke-width:1.1;stroke-miterlimit:10;}
|
|
11
|
-
</style>
|
|
12
|
-
<g id="XMLID_00000036946766399946185720000000839440717394961049_">
|
|
13
|
-
<circle class="st0" cx="9" cy="12.6" r="8"/>
|
|
14
|
-
<circle class="st1" cx="9" cy="12.6" r="8"/>
|
|
15
|
-
</g>
|
|
16
|
-
<polyline class="st2" points="13.8,9.3 8.2,15 8.2,15 5,11.9 "/>
|
|
17
|
-
<circle class="st3" cx="15.8" cy="5.7" r="5.7"/>
|
|
18
|
-
<polyline class="st4" points="18.7,6.2 15.8,6.2 15.8,2.9 "/>
|
|
19
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 12C2 17.523 6.477 22 12 22C17.523 22 22 17.523 22 12C22 6.477 17.523 2 12 2C6.477 2 2 6.477 2 12ZM9.172 7.757L12 10.586L14.828 7.757L16.243 9.172L13.414 12L16.243 14.828L14.828 16.243L12 13.414L9.172 16.243L7.757 14.828L10.586 12L7.757 9.172L9.172 7.757Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 10.586L16.95 5.63599L18.364 7.04999L13.414 12L18.364 16.95L16.95 18.364L12 13.414L7.04999 18.364L5.63599 16.95L10.586 12L5.63599 7.04999L7.04999 5.63599L12 10.586Z"/></svg>
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
.boolean-input {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
}
|
|
5
|
-
.boolean-input > label {
|
|
6
|
-
display: block;
|
|
7
|
-
margin-bottom: 4px;
|
|
8
|
-
color: #012b49;
|
|
9
|
-
font-weight: 700;
|
|
10
|
-
}
|
|
11
|
-
.boolean-input-container {
|
|
12
|
-
display: flex;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* ######## */
|
|
16
|
-
/* INPUTS */
|
|
17
|
-
.boolean-input-content {
|
|
18
|
-
display: flex;
|
|
19
|
-
height: 32px;
|
|
20
|
-
border-radius: 6px;
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
}
|
|
23
|
-
.boolean-input-content > div {
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
min-width: 44px;
|
|
28
|
-
padding: 12px;
|
|
29
|
-
background: #e7f3f9;
|
|
30
|
-
color: #007dbc;
|
|
31
|
-
font-weight: 700;
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
transition: all ease 0.3s;
|
|
34
|
-
}
|
|
35
|
-
.boolean-input-content > div:first-child {
|
|
36
|
-
border-right: 1px solid #007dbc;
|
|
37
|
-
}
|
|
38
|
-
.boolean-input-content > .boolean-input--selected {
|
|
39
|
-
background: #007dbc;
|
|
40
|
-
color: #ffffff;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/* ######### */
|
|
44
|
-
/* GLOBALS */
|
|
45
|
-
* {
|
|
46
|
-
font-size: 14px;
|
|
47
|
-
outline: none;
|
|
48
|
-
box-sizing: border-box;
|
|
49
|
-
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
|
|
50
|
-
'Helvetica Neue', sans-serif;
|
|
51
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './BooleanInput.css';
|
|
3
|
-
export const BooleanInput = ({ label, labelFalse, labelTrue, value, onChange }) => {
|
|
4
|
-
// #########
|
|
5
|
-
// Rendering
|
|
6
|
-
return (React.createElement("div", { className: "boolean-input" },
|
|
7
|
-
label && React.createElement("label", null, label),
|
|
8
|
-
React.createElement("div", { className: "boolean-input-container" },
|
|
9
|
-
React.createElement("div", { className: "boolean-input-content" },
|
|
10
|
-
React.createElement("div", { className: value === true ? 'boolean-input--selected' : '', onClick: () => onChange(true) }, labelTrue ?? 'Yes'),
|
|
11
|
-
React.createElement("div", { className: value === false ? 'boolean-input--selected' : '', onClick: () => onChange(false) }, labelFalse ?? 'No')))));
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=BooleanInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BooleanInput.js","sourceRoot":"","sources":["../../../../src/components/Inputs/BooleanInput/BooleanInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,oBAAoB,CAAC;AAE5B,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAqB,EAAE,EAAE;IACnG,YAAY;IACZ,YAAY;IACZ,OAAO,CACL,6BAAK,SAAS,EAAC,eAAe;QAC3B,KAAK,IAAI,mCAAQ,KAAK,CAAS;QAEhC,6BAAK,SAAS,EAAC,yBAAyB;YACtC,6BAAK,SAAS,EAAC,uBAAuB;gBACpC,6BAAK,SAAS,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,IAC3F,SAAS,IAAI,KAAK,CACf;gBACN,6BAAK,SAAS,EAAE,KAAK,KAAK,KAAK,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,IAC7F,UAAU,IAAI,IAAI,CACf,CACF,CACF,CACF,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BooleanInputProps } from './BooleanInput.types';
|
|
3
|
-
import './BooleanInput.css';
|
|
4
|
-
|
|
5
|
-
export const BooleanInput = ({ label, labelFalse, labelTrue, value, onChange }: BooleanInputProps) => {
|
|
6
|
-
// #########
|
|
7
|
-
// Rendering
|
|
8
|
-
return (
|
|
9
|
-
<div className="boolean-input">
|
|
10
|
-
{label && <label>{label}</label>}
|
|
11
|
-
|
|
12
|
-
<div className="boolean-input-container">
|
|
13
|
-
<div className="boolean-input-content">
|
|
14
|
-
<div className={value === true ? 'boolean-input--selected' : ''} onClick={() => onChange(true)}>
|
|
15
|
-
{labelTrue ?? 'Yes'}
|
|
16
|
-
</div>
|
|
17
|
-
<div className={value === false ? 'boolean-input--selected' : ''} onClick={() => onChange(false)}>
|
|
18
|
-
{labelFalse ?? 'No'}
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
);
|
|
24
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BooleanInput.types.js","sourceRoot":"","sources":["../../../../src/components/Inputs/BooleanInput/BooleanInput.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ArgsTable, Canvas, Meta, Story } from '@storybook/blocks';
|
|
3
|
-
import { BooleanInput } from '../BooleanInput';
|
|
4
|
-
|
|
5
|
-
<Meta title="Components/Inputs/BooleanInput" />
|
|
6
|
-
|
|
7
|
-
export const inputArgType = {
|
|
8
|
-
label: {
|
|
9
|
-
control: 'text',
|
|
10
|
-
description: 'Label of the input.',
|
|
11
|
-
},
|
|
12
|
-
labelFalse: {
|
|
13
|
-
control: 'text',
|
|
14
|
-
description: 'Label of the FALSE value.',
|
|
15
|
-
},
|
|
16
|
-
labelTrue: {
|
|
17
|
-
control: 'text',
|
|
18
|
-
description: 'Label of the TRUE value.',
|
|
19
|
-
},
|
|
20
|
-
value: {
|
|
21
|
-
control: 'boolean',
|
|
22
|
-
description: 'Value of the input (can be undefined).',
|
|
23
|
-
},
|
|
24
|
-
onChange: {
|
|
25
|
-
control: 'function',
|
|
26
|
-
description: 'The handler called when clicking on input.',
|
|
27
|
-
},
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
# Boolean Input
|
|
31
|
-
|
|
32
|
-
The Boolean input is used to quickly switch between two possible states. It is commonly used for "yes/no" switches. The input can in some cases have a 3rd state, EMPTY.
|
|
33
|
-
|
|
34
|
-
## Overview
|
|
35
|
-
|
|
36
|
-
<Canvas>
|
|
37
|
-
<Story name="Overview" args={{ label: 'Label', onChange: () => {} }} argTypes={inputArgType}>
|
|
38
|
-
{args => <BooleanInput {...args} />}
|
|
39
|
-
</Story>
|
|
40
|
-
</Canvas>
|
|
41
|
-
|
|
42
|
-
## Props
|
|
43
|
-
|
|
44
|
-
<ArgsTable story="Overview" of={BooleanInput} />
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
.text-input {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
}
|
|
5
|
-
.text-input > label {
|
|
6
|
-
display: block;
|
|
7
|
-
margin-bottom: 4px;
|
|
8
|
-
color: #012b49;
|
|
9
|
-
font-weight: 700;
|
|
10
|
-
}
|
|
11
|
-
.text-input-container {
|
|
12
|
-
position: relative;
|
|
13
|
-
}
|
|
14
|
-
.text-input-container > input {
|
|
15
|
-
width: 100%;
|
|
16
|
-
height: 32px;
|
|
17
|
-
padding: 0 40px 0 12px;
|
|
18
|
-
border: 1px solid #d4d4d4;
|
|
19
|
-
border-radius: 6px;
|
|
20
|
-
color: #007dbc;
|
|
21
|
-
font-weight: 700;
|
|
22
|
-
}
|
|
23
|
-
.text-input-container > input::placeholder {
|
|
24
|
-
font-weight: 400;
|
|
25
|
-
}
|
|
26
|
-
.text-input-container > .icon {
|
|
27
|
-
position: absolute;
|
|
28
|
-
top: 50%;
|
|
29
|
-
right: 12px;
|
|
30
|
-
color: #4e5d6b;
|
|
31
|
-
transform: translateY(-50%);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* ######### */
|
|
35
|
-
/* GLOBALS */
|
|
36
|
-
* {
|
|
37
|
-
font-size: 14px;
|
|
38
|
-
outline: none;
|
|
39
|
-
box-sizing: border-box;
|
|
40
|
-
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
|
|
41
|
-
'Helvetica Neue', sans-serif;
|
|
42
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Icon } from '../../Icon/Icon';
|
|
3
|
-
import './TextInput.css';
|
|
4
|
-
export const TextInput = ({ icon, label, placeholder, value, autofocus, onChange }) => {
|
|
5
|
-
// ########
|
|
6
|
-
// Handlers
|
|
7
|
-
const handleChange = (e) => onChange(e.target.value);
|
|
8
|
-
// #########
|
|
9
|
-
// Rendering
|
|
10
|
-
return (React.createElement("div", { className: "text-input" },
|
|
11
|
-
label && React.createElement("label", null, label),
|
|
12
|
-
React.createElement("div", { className: "text-input-container" },
|
|
13
|
-
React.createElement("input", { type: "text", placeholder: placeholder, value: value, autoFocus: autofocus, onChange: handleChange }),
|
|
14
|
-
icon && React.createElement(Icon, { name: icon, size: "16" }))));
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=TextInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.js","sourceRoot":"","sources":["../../../../src/components/Inputs/TextInput/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,OAAO,iBAAiB,CAAC;AAEzB,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAkB,EAAE,EAAE;IACpG,WAAW;IACX,WAAW;IACX,MAAM,YAAY,GAAG,CAAC,CAAgC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAEpF,YAAY;IACZ,YAAY;IACZ,OAAO,CACL,6BAAK,SAAS,EAAC,YAAY;QACxB,KAAK,IAAI,mCAAQ,KAAK,CAAS;QAEhC,6BAAK,SAAS,EAAC,sBAAsB;YACnC,+BAAO,IAAI,EAAC,MAAM,EAAC,WAAW,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,GAAI;YAC1G,IAAI,IAAI,oBAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,IAAI,GAAG,CACnC,CACF,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ChangeEvent } from 'react';
|
|
3
|
-
import { Icon } from '../../Icon/Icon';
|
|
4
|
-
import { TextInputProps } from './TextInput.types';
|
|
5
|
-
import './TextInput.css';
|
|
6
|
-
|
|
7
|
-
export const TextInput = ({ icon, label, placeholder, value, autofocus, onChange }: TextInputProps) => {
|
|
8
|
-
// ########
|
|
9
|
-
// Handlers
|
|
10
|
-
const handleChange = (e: ChangeEvent<HTMLInputElement>) => onChange(e.target.value);
|
|
11
|
-
|
|
12
|
-
// #########
|
|
13
|
-
// Rendering
|
|
14
|
-
return (
|
|
15
|
-
<div className="text-input">
|
|
16
|
-
{label && <label>{label}</label>}
|
|
17
|
-
|
|
18
|
-
<div className="text-input-container">
|
|
19
|
-
<input type="text" placeholder={placeholder} value={value} autoFocus={autofocus} onChange={handleChange} />
|
|
20
|
-
{icon && <Icon name={icon} size="16" />}
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
);
|
|
24
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.types.js","sourceRoot":"","sources":["../../../../src/components/Inputs/TextInput/TextInput.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ArgsTable, Canvas, Meta, Story } from '@storybook/blocks';
|
|
3
|
-
import { TextInput } from '../TextInput';
|
|
4
|
-
import { icons } from '../../../Icon/icons';
|
|
5
|
-
|
|
6
|
-
<Meta title="Components/Inputs/TextInput" />
|
|
7
|
-
|
|
8
|
-
export const inputArgTypes = {
|
|
9
|
-
icon: {
|
|
10
|
-
control: 'select',
|
|
11
|
-
options: Object.keys(icons),
|
|
12
|
-
description: 'Name of an icon.',
|
|
13
|
-
},
|
|
14
|
-
label: {
|
|
15
|
-
control: 'text',
|
|
16
|
-
description: 'Label of the input.',
|
|
17
|
-
},
|
|
18
|
-
placeholder: {
|
|
19
|
-
control: 'text',
|
|
20
|
-
description: 'Placeholder displayed when the input is empty.',
|
|
21
|
-
},
|
|
22
|
-
value: {
|
|
23
|
-
control: 'text',
|
|
24
|
-
description: 'Value of the input.',
|
|
25
|
-
},
|
|
26
|
-
autofocus: {
|
|
27
|
-
control: 'boolean',
|
|
28
|
-
description: 'Auto focus the input once mounted',
|
|
29
|
-
table: { defaultValue: { summary: 'false' } },
|
|
30
|
-
},
|
|
31
|
-
onChange: {
|
|
32
|
-
control: 'function',
|
|
33
|
-
description: 'The handler called when the value of the input changes.',
|
|
34
|
-
},
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
# Text Input
|
|
38
|
-
|
|
39
|
-
Text input allows the user to enter content and data when the expected user input is a single line of text.
|
|
40
|
-
|
|
41
|
-
## Overview
|
|
42
|
-
|
|
43
|
-
<Canvas>
|
|
44
|
-
<Story
|
|
45
|
-
name="Overview"
|
|
46
|
-
args={{ label: 'Label', placeholder: 'This is a placeholder', autofocus: false, onChange: () => {} }}
|
|
47
|
-
argTypes={inputArgTypes}
|
|
48
|
-
>
|
|
49
|
-
{args => <TextInput {...args} />}
|
|
50
|
-
</Story>
|
|
51
|
-
</Canvas>
|
|
52
|
-
|
|
53
|
-
## Props
|
|
54
|
-
|
|
55
|
-
<ArgsTable story="Overview" of={TextInput} />
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
@keyframes rotation {
|
|
2
|
-
0% {
|
|
3
|
-
transform: rotate(0deg);
|
|
4
|
-
}
|
|
5
|
-
100% {
|
|
6
|
-
transform: rotate(360deg);
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.loader {
|
|
11
|
-
border: 2px solid;
|
|
12
|
-
border-color: #00689d transparent;
|
|
13
|
-
border-radius: 50%;
|
|
14
|
-
display: inline-block;
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
animation: rotation 1.5s linear infinite;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* ####### */
|
|
20
|
-
/* SIZES */
|
|
21
|
-
.loader--sm {
|
|
22
|
-
width: 24px;
|
|
23
|
-
height: 24px;
|
|
24
|
-
}
|
|
25
|
-
.loader--md {
|
|
26
|
-
width: 32px;
|
|
27
|
-
height: 32px;
|
|
28
|
-
}
|
|
29
|
-
.loader--lg {
|
|
30
|
-
width: 44px;
|
|
31
|
-
height: 44px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* ######### */
|
|
35
|
-
/* GLOBALS */
|
|
36
|
-
* {
|
|
37
|
-
font-size: 14px;
|
|
38
|
-
outline: none;
|
|
39
|
-
box-sizing: border-box;
|
|
40
|
-
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
|
|
41
|
-
'Helvetica Neue', sans-serif;
|
|
42
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.js","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,cAAc,CAAC;AAEtB,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,EAAe,EAAE,EAAE;IACrD,OAAO,6BAAK,SAAS,EAAE,kBAAkB,IAAI,EAAE,GAAI,CAAC;AACtD,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.types.js","sourceRoot":"","sources":["../../../src/components/Loader/Loader.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ArgsTable, Canvas, Meta, Story } from '@storybook/blocks';
|
|
3
|
-
import { Loader } from '../Loader';
|
|
4
|
-
|
|
5
|
-
<Meta title="Components/Loader" />
|
|
6
|
-
|
|
7
|
-
export const loaderArgTypes = {
|
|
8
|
-
size: {
|
|
9
|
-
control: 'inline-radio',
|
|
10
|
-
options: ['sm', 'md', 'lg'],
|
|
11
|
-
description: 'Define the size of the loader.',
|
|
12
|
-
table: { defaultValue: { summary: 'md' } },
|
|
13
|
-
},
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
# Loader
|
|
17
|
-
|
|
18
|
-
Loader express to user that an action is occuring.
|
|
19
|
-
|
|
20
|
-
## Overview
|
|
21
|
-
|
|
22
|
-
<Canvas>
|
|
23
|
-
<Story name="Overview" args={{ size: 'md' }} argTypes={loaderArgTypes}>
|
|
24
|
-
{args => <Loader {...args}>{args.children}</Loader>}
|
|
25
|
-
</Story>
|
|
26
|
-
</Canvas>
|
|
27
|
-
|
|
28
|
-
## Props
|
|
29
|
-
|
|
30
|
-
<ArgsTable story="Overview" of={Loader} />
|
package/esm/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './components/Button/Button';
|
|
2
|
-
export * from './components/Icon/Icon';
|
|
3
|
-
export * from './layouts/Header/Header';
|
|
4
|
-
export * from './layouts/Header/HeaderActions';
|
|
5
|
-
export * from './layouts/Header/HeaderProfile';
|
|
6
|
-
export * from './layouts/Header/HeaderTitle';
|
|
7
|
-
export * from './layouts/Navigation/Navigation';
|
|
8
|
-
export * from './layouts/Navigation/NavigationActions';
|
|
9
|
-
export * from './layouts/Navigation/NavigationBreadcrumb';
|
package/esm/index.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './components/Button/Button';
|
|
2
|
-
export * from './components/Icon/Icon';
|
|
3
|
-
export * from './layouts/Header/Header';
|
|
4
|
-
export * from './layouts/Header/HeaderActions';
|
|
5
|
-
export * from './layouts/Header/HeaderProfile';
|
|
6
|
-
export * from './layouts/Header/HeaderTitle';
|
|
7
|
-
export * from './layouts/Navigation/Navigation';
|
|
8
|
-
export * from './layouts/Navigation/NavigationActions';
|
|
9
|
-
export * from './layouts/Navigation/NavigationBreadcrumb';
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
package/esm/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AAEvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: 'Montserrat';
|
|
3
|
-
src: url('../../assets/fonts/Montserrat-Medium.ttf');
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
/* ######## */
|
|
7
|
-
/* HEADER */
|
|
8
|
-
header {
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: space-between;
|
|
12
|
-
width: 100%;
|
|
13
|
-
height: 64px;
|
|
14
|
-
padding: 0 24px;
|
|
15
|
-
}
|
|
16
|
-
.header-actions {
|
|
17
|
-
display: flex;
|
|
18
|
-
}
|
|
19
|
-
.header-actions > * {
|
|
20
|
-
margin-left: 12px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* ############## */
|
|
24
|
-
/* HEADER TITLE */
|
|
25
|
-
.header-title-container {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: flex-end;
|
|
28
|
-
height: 30px;
|
|
29
|
-
}
|
|
30
|
-
.header-title {
|
|
31
|
-
font-family: 'Montserrat';
|
|
32
|
-
font-size: 25px;
|
|
33
|
-
line-height: 19px;
|
|
34
|
-
text-transform: uppercase;
|
|
35
|
-
}
|
|
36
|
-
.header-by {
|
|
37
|
-
margin-left: 15px;
|
|
38
|
-
font-family: 'Montserrat';
|
|
39
|
-
font-size: 12px;
|
|
40
|
-
line-height: 10px;
|
|
41
|
-
text-transform: uppercase;
|
|
42
|
-
}
|
|
43
|
-
.header-techoff {
|
|
44
|
-
width: 64px;
|
|
45
|
-
margin-left: 4px;
|
|
46
|
-
margin-bottom: -2px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/* ################ */
|
|
50
|
-
/* HEADER PROFILE */
|
|
51
|
-
.header-profile {
|
|
52
|
-
display: flex;
|
|
53
|
-
align-items: center;
|
|
54
|
-
height: 40px;
|
|
55
|
-
padding: 0 4px;
|
|
56
|
-
border-radius: 9999px;
|
|
57
|
-
box-shadow: 0px 12px 12px 0px #00537d1a;
|
|
58
|
-
background: white;
|
|
59
|
-
}
|
|
60
|
-
.header-profile--icon {
|
|
61
|
-
display: flex;
|
|
62
|
-
align-items: center;
|
|
63
|
-
justify-content: center;
|
|
64
|
-
width: 32px;
|
|
65
|
-
height: 32px;
|
|
66
|
-
border-radius: 9999px;
|
|
67
|
-
background: #e5e5e5;
|
|
68
|
-
}
|
|
69
|
-
.header-profile--name {
|
|
70
|
-
padding-left: 8px;
|
|
71
|
-
padding-right: 12px;
|
|
72
|
-
color: #4e5d6b;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/* ######### */
|
|
76
|
-
/* GLOBALS */
|
|
77
|
-
* {
|
|
78
|
-
font-size: 14px;
|
|
79
|
-
outline: none;
|
|
80
|
-
box-sizing: border-box;
|
|
81
|
-
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
|
|
82
|
-
'Helvetica Neue', sans-serif;
|
|
83
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Children } from 'react';
|
|
3
|
-
import { isSuiteElement } from '../../utils/validator.utils';
|
|
4
|
-
import './Header.css';
|
|
5
|
-
export const Header = ({ children }) => {
|
|
6
|
-
const titleElement = Children.toArray(children).find(c => isSuiteElement(c, 'HeaderTitle'));
|
|
7
|
-
const actionsElement = Children.toArray(children).find(c => isSuiteElement(c, 'HeaderActions'));
|
|
8
|
-
// #########
|
|
9
|
-
// Rendering
|
|
10
|
-
return (React.createElement("header", null,
|
|
11
|
-
React.createElement("div", null, titleElement),
|
|
12
|
-
React.createElement("div", null, actionsElement)));
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=Header.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/layouts/Header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAqB,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,cAAc,CAAC;AAEtB,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EAAE,QAAQ,EAAqB,EAAE,EAAE;IACxD,MAAM,YAAY,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC;IAC5F,MAAM,cAAc,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC;IAEhG,YAAY;IACZ,YAAY;IACZ,OAAO,CACL;QACE,iCAAM,YAAY,CAAO;QACzB,iCAAM,cAAc,CAAO,CACpB,CACV,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Header.types.js","sourceRoot":"","sources":["../../../src/layouts/Header/Header.types.ts"],"names":[],"mappings":""}
|