@litigiovirtual/ius-design-components 1.0.126 → 1.0.128
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/ng-package.json +10 -0
- package/package.json +16 -26
- package/src/lib/avatar-icon/avatar-icon.component.html +17 -0
- package/src/lib/avatar-icon/avatar-icon.component.scss +28 -0
- package/src/lib/avatar-icon/avatar-icon.component.spec.ts +23 -0
- package/src/lib/avatar-icon/avatar-icon.component.ts +22 -0
- package/{lib/avatar-icon/index.d.ts → src/lib/avatar-icon/index.ts} +2 -1
- package/src/lib/badge/badge.component.html +3 -0
- package/src/lib/badge/badge.component.scss +29 -0
- package/src/lib/badge/badge.component.spec.ts +23 -0
- package/src/lib/badge/badge.component.ts +24 -0
- package/{lib/badge/index.d.ts → src/lib/badge/index.ts} +2 -1
- package/src/lib/breadcrumb/breadcrumb.component.html +24 -0
- package/src/lib/breadcrumb/breadcrumb.component.scss +41 -0
- package/src/lib/breadcrumb/breadcrumb.component.spec.ts +23 -0
- package/src/lib/breadcrumb/breadcrumb.component.ts +25 -0
- package/{lib/breadcrumb/index.d.ts → src/lib/breadcrumb/index.ts} +2 -1
- package/src/lib/button-auth/button-auth.component.html +4 -0
- package/src/lib/button-auth/button-auth.component.scss +39 -0
- package/src/lib/button-auth/button-auth.component.spec.ts +23 -0
- package/src/lib/button-auth/button-auth.component.ts +116 -0
- package/{lib/button-auth/index.d.ts → src/lib/button-auth/index.ts} +2 -1
- package/src/lib/button-circle-secondary/button-circle-secondary.component.html +3 -0
- package/src/lib/button-circle-secondary/button-circle-secondary.component.scss +39 -0
- package/src/lib/button-circle-secondary/button-circle-secondary.component.spec.ts +23 -0
- package/src/lib/button-circle-secondary/button-circle-secondary.component.ts +25 -0
- package/{lib/button-circle-secondary/index.d.ts → src/lib/button-circle-secondary/index.ts} +2 -1
- package/src/lib/button-circle-tertiary/button-circle-tertiary.component.html +3 -0
- package/src/lib/button-circle-tertiary/button-circle-tertiary.component.scss +38 -0
- package/src/lib/button-circle-tertiary/button-circle-tertiary.component.spec.ts +23 -0
- package/src/lib/button-circle-tertiary/button-circle-tertiary.component.ts +22 -0
- package/{lib/button-circle-tertiary/index.d.ts → src/lib/button-circle-tertiary/index.ts} +2 -1
- package/src/lib/button-dynamic/button-dynamic.component.html +19 -0
- package/src/lib/button-dynamic/button-dynamic.component.scss +56 -0
- package/src/lib/button-dynamic/button-dynamic.component.spec.ts +23 -0
- package/src/lib/button-dynamic/button-dynamic.component.ts +113 -0
- package/{lib/button-dynamic/index.d.ts → src/lib/button-dynamic/index.ts} +2 -1
- package/src/lib/button-filter/button-filter.component.html +19 -0
- package/src/lib/button-filter/button-filter.component.scss +68 -0
- package/src/lib/button-filter/button-filter.component.spec.ts +23 -0
- package/src/lib/button-filter/button-filter.component.ts +47 -0
- package/{lib/button-filter/index.d.ts → src/lib/button-filter/index.ts} +2 -1
- package/src/lib/button-order/button-order.component.html +20 -0
- package/src/lib/button-order/button-order.component.scss +52 -0
- package/src/lib/button-order/button-order.component.spec.ts +23 -0
- package/src/lib/button-order/button-order.component.ts +39 -0
- package/{lib/button-order/index.d.ts → src/lib/button-order/index.ts} +2 -1
- package/src/lib/button-squared-secondary/button-squared-secondary.component.html +3 -0
- package/src/lib/button-squared-secondary/button-squared-secondary.component.scss +43 -0
- package/src/lib/button-squared-secondary/button-squared-secondary.component.spec.ts +23 -0
- package/src/lib/button-squared-secondary/button-squared-secondary.component.ts +23 -0
- package/{lib/button-squared-secondary/index.d.ts → src/lib/button-squared-secondary/index.ts} +2 -1
- package/src/lib/button-squared-tertiary/button-squared-tertiary.component.html +3 -0
- package/src/lib/button-squared-tertiary/button-squared-tertiary.component.scss +42 -0
- package/src/lib/button-squared-tertiary/button-squared-tertiary.component.spec.ts +23 -0
- package/src/lib/button-squared-tertiary/button-squared-tertiary.component.ts +21 -0
- package/{lib/button-squared-tertiary/index.d.ts → src/lib/button-squared-tertiary/index.ts} +2 -1
- package/src/lib/button-standard-primary/button-standard-primary.component.html +4 -0
- package/src/lib/button-standard-primary/button-standard-primary.component.scss +41 -0
- package/src/lib/button-standard-primary/button-standard-primary.component.spec.ts +23 -0
- package/src/lib/button-standard-primary/button-standard-primary.component.ts +24 -0
- package/{lib/button-standard-primary/index.d.ts → src/lib/button-standard-primary/index.ts} +2 -1
- package/src/lib/button-standard-secondary/button-standard-secondary.component.html +3 -0
- package/src/lib/button-standard-secondary/button-standard-secondary.component.scss +39 -0
- package/src/lib/button-standard-secondary/button-standard-secondary.component.spec.ts +23 -0
- package/src/lib/button-standard-secondary/button-standard-secondary.component.ts +21 -0
- package/{lib/button-standard-secondary/index.d.ts → src/lib/button-standard-secondary/index.ts} +2 -1
- package/src/lib/button-standard-tertiary/button-standard-tertiary.component.html +6 -0
- package/src/lib/button-standard-tertiary/button-standard-tertiary.component.scss +48 -0
- package/src/lib/button-standard-tertiary/button-standard-tertiary.component.spec.ts +23 -0
- package/src/lib/button-standard-tertiary/button-standard-tertiary.component.ts +22 -0
- package/{lib/button-standard-tertiary/index.d.ts → src/lib/button-standard-tertiary/index.ts} +2 -1
- package/src/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.html +9 -0
- package/src/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.scss +47 -0
- package/src/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.spec.ts +23 -0
- package/src/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.ts +22 -0
- package/{lib/button-standard-tertiary-small/index.d.ts → src/lib/button-standard-tertiary-small/index.ts} +2 -1
- package/src/lib/card-block/card-block.component.html +56 -0
- package/src/lib/card-block/card-block.component.scss +116 -0
- package/src/lib/card-block/card-block.component.spec.ts +23 -0
- package/src/lib/card-block/card-block.component.ts +43 -0
- package/{lib/card-block/index.d.ts → src/lib/card-block/index.ts} +2 -1
- package/src/lib/card-button-checkbox/card-button-checkbox.component.html +15 -0
- package/src/lib/card-button-checkbox/card-button-checkbox.component.scss +98 -0
- package/src/lib/card-button-checkbox/card-button-checkbox.component.spec.ts +23 -0
- package/src/lib/card-button-checkbox/card-button-checkbox.component.ts +29 -0
- package/{lib/card-button-checkbox/index.d.ts → src/lib/card-button-checkbox/index.ts} +2 -1
- package/src/lib/card-dynamic-content/card-dynamic-content.component.html +6 -0
- package/src/lib/card-dynamic-content/card-dynamic-content.component.scss +22 -0
- package/src/lib/card-dynamic-content/card-dynamic-content.component.spec.ts +23 -0
- package/src/lib/card-dynamic-content/card-dynamic-content.component.ts +15 -0
- package/{lib/card-dynamic-content/index.d.ts → src/lib/card-dynamic-content/index.ts} +2 -1
- package/src/lib/card-list-consumo/card-list-consumo.component.html +23 -0
- package/src/lib/card-list-consumo/card-list-consumo.component.scss +132 -0
- package/src/lib/card-list-consumo/card-list-consumo.component.spec.ts +23 -0
- package/src/lib/card-list-consumo/card-list-consumo.component.ts +39 -0
- package/{lib/card-list-consumo/index.d.ts → src/lib/card-list-consumo/index.ts} +2 -1
- package/src/lib/card-list-movimientos/card-list-movimientos.component.html +154 -0
- package/src/lib/card-list-movimientos/card-list-movimientos.component.scss +150 -0
- package/src/lib/card-list-movimientos/card-list-movimientos.component.spec.ts +23 -0
- package/src/lib/card-list-movimientos/card-list-movimientos.component.ts +28 -0
- package/{lib/card-list-movimientos/index.d.ts → src/lib/card-list-movimientos/index.ts} +2 -1
- package/src/lib/card-list-proceso/card-list-proceso.component.html +27 -0
- package/src/lib/card-list-proceso/card-list-proceso.component.scss +131 -0
- package/src/lib/card-list-proceso/card-list-proceso.component.spec.ts +23 -0
- package/src/lib/card-list-proceso/card-list-proceso.component.ts +28 -0
- package/{lib/card-list-proceso/index.d.ts → src/lib/card-list-proceso/index.ts} +2 -1
- package/src/lib/categories/categories.component.html +21 -0
- package/src/lib/categories/categories.component.scss +85 -0
- package/src/lib/categories/categories.component.spec.ts +23 -0
- package/src/lib/categories/categories.component.ts +29 -0
- package/{lib/categories/index.d.ts → src/lib/categories/index.ts} +2 -1
- package/src/lib/charts-bar-grouped/charts-bar-grouped.component.html +79 -0
- package/src/lib/charts-bar-grouped/charts-bar-grouped.component.scss +141 -0
- package/src/lib/charts-bar-grouped/charts-bar-grouped.component.spec.ts +23 -0
- package/src/lib/charts-bar-grouped/charts-bar-grouped.component.ts +284 -0
- package/{lib/charts-bar-grouped/index.d.ts → src/lib/charts-bar-grouped/index.ts} +2 -1
- package/src/lib/charts-donut/charts-donut.component.html +57 -0
- package/src/lib/charts-donut/charts-donut.component.scss +125 -0
- package/src/lib/charts-donut/charts-donut.component.spec.ts +23 -0
- package/src/lib/charts-donut/charts-donut.component.ts +148 -0
- package/{lib/charts-donut/index.d.ts → src/lib/charts-donut/index.ts} +2 -1
- package/src/lib/checkbox/checkbox.component.html +9 -0
- package/src/lib/checkbox/checkbox.component.scss +67 -0
- package/src/lib/checkbox/checkbox.component.spec.ts +23 -0
- package/src/lib/checkbox/checkbox.component.ts +27 -0
- package/{lib/checkbox/index.d.ts → src/lib/checkbox/index.ts} +2 -1
- package/src/lib/chip-user/chip-user.component.html +12 -0
- package/src/lib/chip-user/chip-user.component.scss +66 -0
- package/src/lib/chip-user/chip-user.component.spec.ts +23 -0
- package/src/lib/chip-user/chip-user.component.ts +21 -0
- package/{lib/chip-user/index.d.ts → src/lib/chip-user/index.ts} +2 -1
- package/src/lib/custom-dropdown/custom-dropdown.component.html +89 -0
- package/src/lib/custom-dropdown/custom-dropdown.component.scss +209 -0
- package/src/lib/custom-dropdown/custom-dropdown.component.spec.ts +23 -0
- package/src/lib/custom-dropdown/custom-dropdown.component.ts +118 -0
- package/{lib/custom-dropdown/index.d.ts → src/lib/custom-dropdown/index.ts} +2 -1
- package/src/lib/date-hour-picker/date-hour-picker.component.html +217 -0
- package/src/lib/date-hour-picker/date-hour-picker.component.scss +528 -0
- package/src/lib/date-hour-picker/date-hour-picker.component.spec.ts +22 -0
- package/src/lib/date-hour-picker/date-hour-picker.component.ts +300 -0
- package/{lib/date-hour-picker/index.d.ts → src/lib/date-hour-picker/index.ts} +2 -1
- package/src/lib/date-picker/date-picker.component.html +121 -0
- package/src/lib/date-picker/date-picker.component.scss +337 -0
- package/src/lib/date-picker/date-picker.component.spec.ts +23 -0
- package/src/lib/date-picker/date-picker.component.ts +164 -0
- package/{lib/date-picker/index.d.ts → src/lib/date-picker/index.ts} +2 -1
- package/src/lib/directives/popover.directive.ts +164 -0
- package/src/lib/double-date-picker/double-date-picker.component.html +176 -0
- package/src/lib/double-date-picker/double-date-picker.component.scss +365 -0
- package/src/lib/double-date-picker/double-date-picker.component.spec.ts +23 -0
- package/src/lib/double-date-picker/double-date-picker.component.ts +237 -0
- package/{lib/double-date-picker/index.d.ts → src/lib/double-date-picker/index.ts} +2 -1
- package/src/lib/drawer-container-right/drawer-container-right.component.html +30 -0
- package/src/lib/drawer-container-right/drawer-container-right.component.scss +79 -0
- package/src/lib/drawer-container-right/drawer-container-right.component.spec.ts +23 -0
- package/src/lib/drawer-container-right/drawer-container-right.component.ts +54 -0
- package/{lib/drawer-container-right/index.d.ts → src/lib/drawer-container-right/index.ts} +1 -1
- package/src/lib/dropdown/dropdown.component.html +36 -0
- package/src/lib/dropdown/dropdown.component.scss +119 -0
- package/src/lib/dropdown/dropdown.component.spec.ts +23 -0
- package/src/lib/dropdown/dropdown.component.ts +40 -0
- package/{lib/dropdown/index.d.ts → src/lib/dropdown/index.ts} +2 -1
- package/src/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.html +7 -0
- package/src/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.scss +20 -0
- package/src/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.spec.ts +23 -0
- package/src/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.ts +12 -0
- package/{lib/dropdown-contextual-menu/index.d.ts → src/lib/dropdown-contextual-menu/index.ts} +2 -1
- package/src/lib/dropdown-option-item/dropdown-option-item.component.html +6 -0
- package/src/lib/dropdown-option-item/dropdown-option-item.component.scss +40 -0
- package/src/lib/dropdown-option-item/dropdown-option-item.component.spec.ts +23 -0
- package/src/lib/dropdown-option-item/dropdown-option-item.component.ts +27 -0
- package/{lib/dropdown-option-item/index.d.ts → src/lib/dropdown-option-item/index.ts} +2 -1
- package/src/lib/dropdown-user-menu/dropdown-user-menu.component.html +13 -0
- package/src/lib/dropdown-user-menu/dropdown-user-menu.component.scss +83 -0
- package/src/lib/dropdown-user-menu/dropdown-user-menu.component.spec.ts +23 -0
- package/src/lib/dropdown-user-menu/dropdown-user-menu.component.ts +42 -0
- package/{lib/dropdown-user-menu/index.d.ts → src/lib/dropdown-user-menu/index.ts} +2 -1
- package/src/lib/filter-item/filter-item.component.html +6 -0
- package/src/lib/filter-item/filter-item.component.scss +28 -0
- package/src/lib/filter-item/filter-item.component.spec.ts +23 -0
- package/src/lib/filter-item/filter-item.component.ts +20 -0
- package/src/lib/filter-item/index.ts +1 -0
- package/src/lib/icon-lg/icon-lg.component.html +1 -0
- package/src/lib/icon-lg/icon-lg.component.scss +14 -0
- package/src/lib/icon-lg/icon-lg.component.spec.ts +23 -0
- package/src/lib/icon-lg/icon-lg.component.ts +25 -0
- package/{lib/icon-lg/index.d.ts → src/lib/icon-lg/index.ts} +2 -1
- package/src/lib/icon-md/icon-md.component.html +1 -0
- package/src/lib/icon-md/icon-md.component.scss +14 -0
- package/src/lib/icon-md/icon-md.component.spec.ts +23 -0
- package/src/lib/icon-md/icon-md.component.ts +25 -0
- package/{lib/icon-md/index.d.ts → src/lib/icon-md/index.ts} +2 -1
- package/src/lib/icon-sm/icon-sm.component.html +1 -0
- package/src/lib/icon-sm/icon-sm.component.scss +14 -0
- package/src/lib/icon-sm/icon-sm.component.spec.ts +23 -0
- package/src/lib/icon-sm/icon-sm.component.ts +25 -0
- package/{lib/icon-sm/index.d.ts → src/lib/icon-sm/index.ts} +2 -1
- package/src/lib/icon-xl/icon-xl.component.html +1 -0
- package/src/lib/icon-xl/icon-xl.component.scss +14 -0
- package/src/lib/icon-xl/icon-xl.component.spec.ts +23 -0
- package/src/lib/icon-xl/icon-xl.component.ts +25 -0
- package/{lib/icon-xl/index.d.ts → src/lib/icon-xl/index.ts} +2 -1
- package/src/lib/icon-xs/icon-xs.component.html +1 -0
- package/src/lib/icon-xs/icon-xs.component.scss +14 -0
- package/src/lib/icon-xs/icon-xs.component.spec.ts +23 -0
- package/src/lib/icon-xs/icon-xs.component.ts +26 -0
- package/{lib/icon-xs/index.d.ts → src/lib/icon-xs/index.ts} +2 -1
- package/src/lib/icon-xxl/icon-xxl.component.html +1 -0
- package/src/lib/icon-xxl/icon-xxl.component.scss +14 -0
- package/src/lib/icon-xxl/icon-xxl.component.spec.ts +23 -0
- package/src/lib/icon-xxl/icon-xxl.component.ts +25 -0
- package/{lib/icon-xxl/index.d.ts → src/lib/icon-xxl/index.ts} +2 -1
- package/src/lib/icons/icons-map.ts +1035 -0
- package/{lib/input-otp/index.d.ts → src/lib/input-otp/index.ts} +2 -1
- package/src/lib/input-otp/input-otp.component.html +60 -0
- package/src/lib/input-otp/input-otp.component.scss +141 -0
- package/src/lib/input-otp/input-otp.component.spec.ts +23 -0
- package/src/lib/input-otp/input-otp.component.ts +161 -0
- package/{lib/input-password/index.d.ts → src/lib/input-password/index.ts} +2 -1
- package/src/lib/input-password/input-password.component.html +45 -0
- package/src/lib/input-password/input-password.component.scss +142 -0
- package/src/lib/input-password/input-password.component.spec.ts +23 -0
- package/src/lib/input-password/input-password.component.ts +57 -0
- package/{lib/input-select/index.d.ts → src/lib/input-select/index.ts} +2 -1
- package/src/lib/input-select/input-select.component.html +52 -0
- package/src/lib/input-select/input-select.component.scss +198 -0
- package/src/lib/input-select/input-select.component.spec.ts +23 -0
- package/src/lib/input-select/input-select.component.ts +129 -0
- package/{lib/input-select-filter/index.d.ts → src/lib/input-select-filter/index.ts} +2 -1
- package/src/lib/input-select-filter/input-select-filter.component.html +56 -0
- package/src/lib/input-select-filter/input-select-filter.component.scss +269 -0
- package/src/lib/input-select-filter/input-select-filter.component.spec.ts +23 -0
- package/src/lib/input-select-filter/input-select-filter.component.ts +163 -0
- package/{lib/input-select-number/index.d.ts → src/lib/input-select-number/index.ts} +2 -1
- package/src/lib/input-select-number/input-select-number.component.html +24 -0
- package/src/lib/input-select-number/input-select-number.component.scss +128 -0
- package/src/lib/input-select-number/input-select-number.component.spec.ts +23 -0
- package/src/lib/input-select-number/input-select-number.component.ts +68 -0
- package/{lib/input-textfield/index.d.ts → src/lib/input-textfield/index.ts} +2 -1
- package/src/lib/input-textfield/input-textfield.component.html +64 -0
- package/src/lib/input-textfield/input-textfield.component.scss +152 -0
- package/src/lib/input-textfield/input-textfield.component.spec.ts +23 -0
- package/src/lib/input-textfield/input-textfield.component.ts +105 -0
- package/{lib/linear-progress-bar/index.d.ts → src/lib/linear-progress-bar/index.ts} +2 -1
- package/src/lib/linear-progress-bar/linear-progress-bar.component.html +4 -0
- package/src/lib/linear-progress-bar/linear-progress-bar.component.scss +24 -0
- package/src/lib/linear-progress-bar/linear-progress-bar.component.spec.ts +23 -0
- package/src/lib/linear-progress-bar/linear-progress-bar.component.ts +12 -0
- package/{lib/loading-circle/index.d.ts → src/lib/loading-circle/index.ts} +2 -1
- package/src/lib/loading-circle/loading-circle.component.html +3 -0
- package/src/lib/loading-circle/loading-circle.component.scss +19 -0
- package/src/lib/loading-circle/loading-circle.component.spec.ts +23 -0
- package/src/lib/loading-circle/loading-circle.component.ts +14 -0
- package/{lib/menu-item/index.d.ts → src/lib/menu-item/index.ts} +2 -1
- package/src/lib/menu-item/menu-item.component.html +9 -0
- package/src/lib/menu-item/menu-item.component.scss +55 -0
- package/src/lib/menu-item/menu-item.component.spec.ts +23 -0
- package/src/lib/menu-item/menu-item.component.ts +26 -0
- package/{lib/nav-rail/index.d.ts → src/lib/nav-rail/index.ts} +2 -1
- package/src/lib/nav-rail/nav-rail.component.html +13 -0
- package/src/lib/nav-rail/nav-rail.component.scss +49 -0
- package/src/lib/nav-rail/nav-rail.component.spec.ts +23 -0
- package/src/lib/nav-rail/nav-rail.component.ts +45 -0
- package/{lib/notification-card/index.d.ts → src/lib/notification-card/index.ts} +2 -1
- package/src/lib/notification-card/notification-card.component.html +69 -0
- package/src/lib/notification-card/notification-card.component.scss +137 -0
- package/src/lib/notification-card/notification-card.component.spec.ts +23 -0
- package/src/lib/notification-card/notification-card.component.ts +76 -0
- package/{lib/option/index.d.ts → src/lib/option/index.ts} +2 -1
- package/src/lib/option/option.component.html +8 -0
- package/src/lib/option/option.component.scss +54 -0
- package/src/lib/option/option.component.spec.ts +23 -0
- package/src/lib/option/option.component.ts +20 -0
- package/src/lib/option-item/index.ts +1 -0
- package/src/lib/option-item/option-item.component.html +6 -0
- package/src/lib/option-item/option-item.component.scss +47 -0
- package/src/lib/option-item/option-item.component.spec.ts +23 -0
- package/src/lib/option-item/option-item.component.ts +22 -0
- package/src/lib/popover/popover.component.html +8 -0
- package/src/lib/popover/popover.component.scss +77 -0
- package/src/lib/popover/popover.component.spec.ts +23 -0
- package/src/lib/popover/popover.component.ts +18 -0
- package/{lib/search-bar/index.d.ts → src/lib/search-bar/index.ts} +2 -1
- package/src/lib/search-bar/search-bar.component.html +26 -0
- package/src/lib/search-bar/search-bar.component.scss +100 -0
- package/src/lib/search-bar/search-bar.component.spec.ts +23 -0
- package/src/lib/search-bar/search-bar.component.ts +70 -0
- package/{lib/section-collapse-drawer-child/index.d.ts → src/lib/section-collapse-drawer-child/index.ts} +2 -1
- package/src/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.html +15 -0
- package/src/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.scss +52 -0
- package/src/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.spec.ts +23 -0
- package/src/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.ts +45 -0
- package/{lib/section-collapse-drawer-parent/index.d.ts → src/lib/section-collapse-drawer-parent/index.ts} +2 -1
- package/src/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.html +16 -0
- package/src/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.scss +52 -0
- package/src/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.spec.ts +23 -0
- package/src/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.ts +46 -0
- package/{lib/segment/index.d.ts → src/lib/segment/index.ts} +1 -1
- package/src/lib/segment/segment.component.html +15 -0
- package/src/lib/segment/segment.component.scss +62 -0
- package/src/lib/segment/segment.component.spec.ts +23 -0
- package/src/lib/segment/segment.component.ts +34 -0
- package/{lib/simple-card-contador/index.d.ts → src/lib/simple-card-contador/index.ts} +2 -1
- package/src/lib/simple-card-contador/simple-card-contador.component.html +36 -0
- package/src/lib/simple-card-contador/simple-card-contador.component.scss +110 -0
- package/src/lib/simple-card-contador/simple-card-contador.component.spec.ts +23 -0
- package/src/lib/simple-card-contador/simple-card-contador.component.ts +37 -0
- package/{lib/simple-divider/index.d.ts → src/lib/simple-divider/index.ts} +2 -1
- package/src/lib/simple-divider/simple-divider.component.html +1 -0
- package/src/lib/simple-divider/simple-divider.component.scss +8 -0
- package/src/lib/simple-divider/simple-divider.component.spec.ts +23 -0
- package/src/lib/simple-divider/simple-divider.component.ts +12 -0
- package/{lib/simple-user-card/index.d.ts → src/lib/simple-user-card/index.ts} +2 -1
- package/src/lib/simple-user-card/simple-user-card.component.html +20 -0
- package/src/lib/simple-user-card/simple-user-card.component.scss +113 -0
- package/src/lib/simple-user-card/simple-user-card.component.spec.ts +23 -0
- package/src/lib/simple-user-card/simple-user-card.component.ts +17 -0
- package/{lib/slide-toggle/index.d.ts → src/lib/slide-toggle/index.ts} +1 -1
- package/src/lib/slide-toggle/slide-toggle.component.html +6 -0
- package/src/lib/slide-toggle/slide-toggle.component.scss +50 -0
- package/src/lib/slide-toggle/slide-toggle.component.spec.ts +23 -0
- package/src/lib/slide-toggle/slide-toggle.component.ts +19 -0
- package/{lib/snackbar/index.d.ts → src/lib/snackbar/index.ts} +1 -1
- package/src/lib/snackbar/snackbar.component.html +10 -0
- package/src/lib/snackbar/snackbar.component.scss +92 -0
- package/src/lib/snackbar/snackbar.component.spec.ts +23 -0
- package/src/lib/snackbar/snackbar.component.ts +34 -0
- package/{lib/toolbar/index.d.ts → src/lib/toolbar/index.ts} +1 -1
- package/src/lib/toolbar/toolbar.component.html +35 -0
- package/src/lib/toolbar/toolbar.component.scss +113 -0
- package/src/lib/toolbar/toolbar.component.spec.ts +23 -0
- package/src/lib/toolbar/toolbar.component.ts +261 -0
- package/{lib/toolbar-user-menu/index.d.ts → src/lib/toolbar-user-menu/index.ts} +1 -1
- package/src/lib/toolbar-user-menu/toolbar-user-menu.component.html +157 -0
- package/src/lib/toolbar-user-menu/toolbar-user-menu.component.scss +265 -0
- package/src/lib/toolbar-user-menu/toolbar-user-menu.component.spec.ts +23 -0
- package/src/lib/toolbar-user-menu/toolbar-user-menu.component.ts +66 -0
- package/{lib/user-card/index.d.ts → src/lib/user-card/index.ts} +1 -1
- package/src/lib/user-card/user-card.component.html +66 -0
- package/src/lib/user-card/user-card.component.scss +235 -0
- package/src/lib/user-card/user-card.component.spec.ts +23 -0
- package/src/lib/user-card/user-card.component.ts +66 -0
- package/{public-api.d.ts → src/public-api.ts} +70 -68
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2022/lib/avatar-icon/avatar-icon.component.mjs +0 -32
- package/esm2022/lib/avatar-icon/index.mjs +0 -2
- package/esm2022/lib/badge/badge.component.mjs +0 -26
- package/esm2022/lib/badge/index.mjs +0 -2
- package/esm2022/lib/breadcrumb/breadcrumb.component.mjs +0 -22
- package/esm2022/lib/breadcrumb/index.mjs +0 -2
- package/esm2022/lib/button-auth/button-auth.component.mjs +0 -113
- package/esm2022/lib/button-auth/index.mjs +0 -2
- package/esm2022/lib/button-circle-secondary/button-circle-secondary.component.mjs +0 -28
- package/esm2022/lib/button-circle-secondary/index.mjs +0 -2
- package/esm2022/lib/button-circle-tertiary/button-circle-tertiary.component.mjs +0 -28
- package/esm2022/lib/button-circle-tertiary/index.mjs +0 -2
- package/esm2022/lib/button-dynamic/button-dynamic.component.mjs +0 -115
- package/esm2022/lib/button-dynamic/index.mjs +0 -2
- package/esm2022/lib/button-filter/button-filter.component.mjs +0 -50
- package/esm2022/lib/button-filter/index.mjs +0 -2
- package/esm2022/lib/button-order/button-order.component.mjs +0 -39
- package/esm2022/lib/button-order/index.mjs +0 -2
- package/esm2022/lib/button-squared-secondary/button-squared-secondary.component.mjs +0 -28
- package/esm2022/lib/button-squared-secondary/index.mjs +0 -2
- package/esm2022/lib/button-squared-tertiary/button-squared-tertiary.component.mjs +0 -28
- package/esm2022/lib/button-squared-tertiary/index.mjs +0 -2
- package/esm2022/lib/button-standard-primary/button-standard-primary.component.mjs +0 -28
- package/esm2022/lib/button-standard-primary/index.mjs +0 -2
- package/esm2022/lib/button-standard-secondary/button-standard-secondary.component.mjs +0 -24
- package/esm2022/lib/button-standard-secondary/index.mjs +0 -2
- package/esm2022/lib/button-standard-tertiary/button-standard-tertiary.component.mjs +0 -28
- package/esm2022/lib/button-standard-tertiary/index.mjs +0 -2
- package/esm2022/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.mjs +0 -31
- package/esm2022/lib/button-standard-tertiary-small/index.mjs +0 -2
- package/esm2022/lib/card-block/card-block.component.mjs +0 -53
- package/esm2022/lib/card-block/index.mjs +0 -2
- package/esm2022/lib/card-button-checkbox/card-button-checkbox.component.mjs +0 -43
- package/esm2022/lib/card-button-checkbox/index.mjs +0 -2
- package/esm2022/lib/card-dynamic-content/card-dynamic-content.component.mjs +0 -21
- package/esm2022/lib/card-dynamic-content/index.mjs +0 -2
- package/esm2022/lib/card-list-consumo/card-list-consumo.component.mjs +0 -39
- package/esm2022/lib/card-list-consumo/index.mjs +0 -2
- package/esm2022/lib/card-list-movimientos/card-list-movimientos.component.mjs +0 -43
- package/esm2022/lib/card-list-movimientos/index.mjs +0 -2
- package/esm2022/lib/card-list-proceso/card-list-proceso.component.mjs +0 -43
- package/esm2022/lib/card-list-proceso/index.mjs +0 -2
- package/esm2022/lib/categories/categories.component.mjs +0 -41
- package/esm2022/lib/categories/index.mjs +0 -2
- package/esm2022/lib/charts-bar-grouped/charts-bar-grouped.component.mjs +0 -238
- package/esm2022/lib/charts-bar-grouped/index.mjs +0 -2
- package/esm2022/lib/charts-donut/charts-donut.component.mjs +0 -137
- package/esm2022/lib/charts-donut/index.mjs +0 -2
- package/esm2022/lib/checkbox/checkbox.component.mjs +0 -31
- package/esm2022/lib/checkbox/index.mjs +0 -2
- package/esm2022/lib/chip-user/chip-user.component.mjs +0 -26
- package/esm2022/lib/chip-user/index.mjs +0 -2
- package/esm2022/lib/custom-dropdown/custom-dropdown.component.mjs +0 -140
- package/esm2022/lib/custom-dropdown/index.mjs +0 -2
- package/esm2022/lib/date-hour-picker/date-hour-picker.component.mjs +0 -279
- package/esm2022/lib/date-hour-picker/index.mjs +0 -2
- package/esm2022/lib/date-picker/date-picker.component.mjs +0 -161
- package/esm2022/lib/date-picker/index.mjs +0 -2
- package/esm2022/lib/directives/popover.directive.mjs +0 -170
- package/esm2022/lib/double-date-picker/double-date-picker.component.mjs +0 -230
- package/esm2022/lib/double-date-picker/index.mjs +0 -2
- package/esm2022/lib/drawer-container-right/drawer-container-right.component.mjs +0 -77
- package/esm2022/lib/drawer-container-right/index.mjs +0 -2
- package/esm2022/lib/dropdown/dropdown.component.mjs +0 -47
- package/esm2022/lib/dropdown/index.mjs +0 -2
- package/esm2022/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.mjs +0 -11
- package/esm2022/lib/dropdown-contextual-menu/index.mjs +0 -2
- package/esm2022/lib/dropdown-option-item/dropdown-option-item.component.mjs +0 -31
- package/esm2022/lib/dropdown-option-item/index.mjs +0 -2
- package/esm2022/lib/dropdown-user-menu/dropdown-user-menu.component.mjs +0 -48
- package/esm2022/lib/dropdown-user-menu/index.mjs +0 -2
- package/esm2022/lib/filter-item/filter-item.component.mjs +0 -24
- package/esm2022/lib/filter-item/index.mjs +0 -2
- package/esm2022/lib/icon-lg/icon-lg.component.mjs +0 -29
- package/esm2022/lib/icon-lg/index.mjs +0 -2
- package/esm2022/lib/icon-md/icon-md.component.mjs +0 -29
- package/esm2022/lib/icon-md/index.mjs +0 -2
- package/esm2022/lib/icon-sm/icon-sm.component.mjs +0 -29
- package/esm2022/lib/icon-sm/index.mjs +0 -2
- package/esm2022/lib/icon-xl/icon-xl.component.mjs +0 -29
- package/esm2022/lib/icon-xl/index.mjs +0 -2
- package/esm2022/lib/icon-xs/icon-xs.component.mjs +0 -29
- package/esm2022/lib/icon-xs/index.mjs +0 -2
- package/esm2022/lib/icon-xxl/icon-xxl.component.mjs +0 -29
- package/esm2022/lib/icon-xxl/index.mjs +0 -2
- package/esm2022/lib/icons/icons-map.mjs +0 -1032
- package/esm2022/lib/input-otp/index.mjs +0 -2
- package/esm2022/lib/input-otp/input-otp.component.mjs +0 -173
- package/esm2022/lib/input-password/index.mjs +0 -2
- package/esm2022/lib/input-password/input-password.component.mjs +0 -71
- package/esm2022/lib/input-select/index.mjs +0 -2
- package/esm2022/lib/input-select/input-select.component.mjs +0 -143
- package/esm2022/lib/input-select-filter/index.mjs +0 -2
- package/esm2022/lib/input-select-filter/input-select-filter.component.mjs +0 -161
- package/esm2022/lib/input-select-number/index.mjs +0 -2
- package/esm2022/lib/input-select-number/input-select-number.component.mjs +0 -68
- package/esm2022/lib/input-textfield/index.mjs +0 -2
- package/esm2022/lib/input-textfield/input-textfield.component.mjs +0 -118
- package/esm2022/lib/linear-progress-bar/index.mjs +0 -2
- package/esm2022/lib/linear-progress-bar/linear-progress-bar.component.mjs +0 -16
- package/esm2022/lib/loading-circle/index.mjs +0 -2
- package/esm2022/lib/loading-circle/loading-circle.component.mjs +0 -17
- package/esm2022/lib/menu-item/index.mjs +0 -2
- package/esm2022/lib/menu-item/menu-item.component.mjs +0 -33
- package/esm2022/lib/nav-rail/index.mjs +0 -2
- package/esm2022/lib/nav-rail/nav-rail.component.mjs +0 -65
- package/esm2022/lib/notification-card/index.mjs +0 -2
- package/esm2022/lib/notification-card/notification-card.component.mjs +0 -88
- package/esm2022/lib/option/index.mjs +0 -2
- package/esm2022/lib/option/option.component.mjs +0 -26
- package/esm2022/lib/option-item/index.mjs +0 -2
- package/esm2022/lib/option-item/option-item.component.mjs +0 -30
- package/esm2022/lib/popover/popover.component.mjs +0 -30
- package/esm2022/lib/search-bar/index.mjs +0 -2
- package/esm2022/lib/search-bar/search-bar.component.mjs +0 -79
- package/esm2022/lib/section-collapse-drawer-child/index.mjs +0 -2
- package/esm2022/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.mjs +0 -73
- package/esm2022/lib/section-collapse-drawer-parent/index.mjs +0 -2
- package/esm2022/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.mjs +0 -73
- package/esm2022/lib/segment/index.mjs +0 -2
- package/esm2022/lib/segment/segment.component.mjs +0 -43
- package/esm2022/lib/simple-card-contador/index.mjs +0 -2
- package/esm2022/lib/simple-card-contador/simple-card-contador.component.mjs +0 -39
- package/esm2022/lib/simple-divider/index.mjs +0 -2
- package/esm2022/lib/simple-divider/simple-divider.component.mjs +0 -11
- package/esm2022/lib/simple-user-card/index.mjs +0 -2
- package/esm2022/lib/simple-user-card/simple-user-card.component.mjs +0 -17
- package/esm2022/lib/slide-toggle/index.mjs +0 -2
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +0 -26
- package/esm2022/lib/snackbar/index.mjs +0 -2
- package/esm2022/lib/snackbar/snackbar.component.mjs +0 -40
- package/esm2022/lib/toolbar/index.mjs +0 -2
- package/esm2022/lib/toolbar/toolbar.component.mjs +0 -270
- package/esm2022/lib/toolbar-user-menu/index.mjs +0 -2
- package/esm2022/lib/toolbar-user-menu/toolbar-user-menu.component.mjs +0 -66
- package/esm2022/lib/user-card/index.mjs +0 -2
- package/esm2022/lib/user-card/user-card.component.mjs +0 -81
- package/esm2022/litigiovirtual-ius-design-components.mjs +0 -5
- package/esm2022/public-api.mjs +0 -70
- package/fesm2022/litigiovirtual-ius-design-components.mjs +0 -5299
- package/fesm2022/litigiovirtual-ius-design-components.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/avatar-icon/avatar-icon.component.d.ts +0 -10
- package/lib/badge/badge.component.d.ts +0 -7
- package/lib/breadcrumb/breadcrumb.component.d.ts +0 -16
- package/lib/button-auth/button-auth.component.d.ts +0 -22
- package/lib/button-circle-secondary/button-circle-secondary.component.d.ts +0 -10
- package/lib/button-circle-tertiary/button-circle-tertiary.component.d.ts +0 -10
- package/lib/button-dynamic/button-dynamic.component.d.ts +0 -28
- package/lib/button-filter/button-filter.component.d.ts +0 -17
- package/lib/button-order/button-order.component.d.ts +0 -22
- package/lib/button-squared-secondary/button-squared-secondary.component.d.ts +0 -10
- package/lib/button-squared-tertiary/button-squared-tertiary.component.d.ts +0 -10
- package/lib/button-standard-primary/button-standard-primary.component.d.ts +0 -10
- package/lib/button-standard-secondary/button-standard-secondary.component.d.ts +0 -9
- package/lib/button-standard-tertiary/button-standard-tertiary.component.d.ts +0 -10
- package/lib/button-standard-tertiary-small/button-standard-tertiary-small.component.d.ts +0 -11
- package/lib/card-block/card-block.component.d.ts +0 -23
- package/lib/card-button-checkbox/card-button-checkbox.component.d.ts +0 -15
- package/lib/card-dynamic-content/card-dynamic-content.component.d.ts +0 -7
- package/lib/card-list-consumo/card-list-consumo.component.d.ts +0 -16
- package/lib/card-list-movimientos/card-list-movimientos.component.d.ts +0 -16
- package/lib/card-list-proceso/card-list-proceso.component.d.ts +0 -19
- package/lib/categories/categories.component.d.ts +0 -14
- package/lib/charts-bar-grouped/charts-bar-grouped.component.d.ts +0 -98
- package/lib/charts-donut/charts-donut.component.d.ts +0 -47
- package/lib/checkbox/checkbox.component.d.ts +0 -10
- package/lib/chip-user/chip-user.component.d.ts +0 -10
- package/lib/custom-dropdown/custom-dropdown.component.d.ts +0 -37
- package/lib/date-hour-picker/date-hour-picker.component.d.ts +0 -56
- package/lib/date-picker/date-picker.component.d.ts +0 -42
- package/lib/directives/popover.directive.d.ts +0 -41
- package/lib/double-date-picker/double-date-picker.component.d.ts +0 -57
- package/lib/drawer-container-right/drawer-container-right.component.d.ts +0 -15
- package/lib/dropdown/dropdown.component.d.ts +0 -25
- package/lib/dropdown-contextual-menu/dropdown-contextual-menu.component.d.ts +0 -5
- package/lib/dropdown-option-item/dropdown-option-item.component.d.ts +0 -13
- package/lib/dropdown-user-menu/dropdown-user-menu.component.d.ts +0 -15
- package/lib/filter-item/filter-item.component.d.ts +0 -9
- package/lib/filter-item/index.d.ts +0 -1
- package/lib/icon-lg/icon-lg.component.d.ts +0 -12
- package/lib/icon-md/icon-md.component.d.ts +0 -12
- package/lib/icon-sm/icon-sm.component.d.ts +0 -13
- package/lib/icon-xl/icon-xl.component.d.ts +0 -12
- package/lib/icon-xs/icon-xs.component.d.ts +0 -12
- package/lib/icon-xxl/icon-xxl.component.d.ts +0 -12
- package/lib/icons/icons-map.d.ts +0 -1
- package/lib/input-otp/input-otp.component.d.ts +0 -34
- package/lib/input-password/input-password.component.d.ts +0 -24
- package/lib/input-select/input-select.component.d.ts +0 -33
- package/lib/input-select-filter/input-select-filter.component.d.ts +0 -51
- package/lib/input-select-number/input-select-number.component.d.ts +0 -18
- package/lib/input-textfield/input-textfield.component.d.ts +0 -31
- package/lib/linear-progress-bar/linear-progress-bar.component.d.ts +0 -6
- package/lib/loading-circle/loading-circle.component.d.ts +0 -6
- package/lib/menu-item/menu-item.component.d.ts +0 -11
- package/lib/nav-rail/nav-rail.component.d.ts +0 -10
- package/lib/notification-card/notification-card.component.d.ts +0 -30
- package/lib/option/option.component.d.ts +0 -10
- package/lib/option-item/index.d.ts +0 -1
- package/lib/option-item/option-item.component.d.ts +0 -11
- package/lib/popover/popover.component.d.ts +0 -10
- package/lib/search-bar/search-bar.component.d.ts +0 -24
- package/lib/section-collapse-drawer-child/section-collapse-drawer-child.component.d.ts +0 -12
- package/lib/section-collapse-drawer-parent/section-collapse-drawer-parent.component.d.ts +0 -12
- package/lib/segment/segment.component.d.ts +0 -14
- package/lib/simple-card-contador/simple-card-contador.component.d.ts +0 -12
- package/lib/simple-divider/simple-divider.component.d.ts +0 -5
- package/lib/simple-user-card/simple-user-card.component.d.ts +0 -8
- package/lib/slide-toggle/slide-toggle.component.d.ts +0 -10
- package/lib/snackbar/snackbar.component.d.ts +0 -16
- package/lib/toolbar/toolbar.component.d.ts +0 -67
- package/lib/toolbar-user-menu/toolbar-user-menu.component.d.ts +0 -32
- package/lib/user-card/user-card.component.d.ts +0 -31
package/ng-package.json
ADDED
package/package.json
CHANGED
|
@@ -1,27 +1,17 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@litigiovirtual/ius-design-components",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"peerDependencies": {
|
|
5
|
-
"@angular/common": ">=17.0.0 <20.0.0",
|
|
6
|
-
"@angular/core": ">=17.0.0 <20.0.0",
|
|
7
|
-
"@angular/cdk": ">=17.0.0 <20.0.0"
|
|
8
|
-
},
|
|
9
|
-
"dependencies": {
|
|
10
|
-
"@litigiovirtual/ius-design-styles": "^1.0.13",
|
|
11
|
-
"tslib": "^2.3.0"
|
|
12
|
-
},
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"./package.json": {
|
|
18
|
-
"default": "./package.json"
|
|
19
|
-
},
|
|
20
|
-
".": {
|
|
21
|
-
"types": "./index.d.ts",
|
|
22
|
-
"esm2022": "./esm2022/litigiovirtual-ius-design-components.mjs",
|
|
23
|
-
"esm": "./esm2022/litigiovirtual-ius-design-components.mjs",
|
|
24
|
-
"default": "./fesm2022/litigiovirtual-ius-design-components.mjs"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@litigiovirtual/ius-design-components",
|
|
3
|
+
"version": "1.0.128",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": ">=17.0.0 <20.0.0",
|
|
6
|
+
"@angular/core": ">=17.0.0 <20.0.0",
|
|
7
|
+
"@angular/cdk": ">=17.0.0 <20.0.0"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@litigiovirtual/ius-design-styles": "^1.0.13",
|
|
11
|
+
"tslib": "^2.3.0"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"@angular/cdk": "17.3.10"
|
|
15
|
+
},
|
|
16
|
+
"sideEffects": false
|
|
27
17
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<div class="avatar" [ngClass]="size" [ngStyle]="{'background-color': backgroundColor}">
|
|
2
|
+
@if (imageUrl) {
|
|
3
|
+
<img [src]="imageUrl" alt="avatar" />
|
|
4
|
+
} @else {
|
|
5
|
+
@switch (size) {
|
|
6
|
+
@case('sm') {
|
|
7
|
+
<ius-icon-xs [iconName]="iconName" [color]="iconColor"></ius-icon-xs>
|
|
8
|
+
}
|
|
9
|
+
@case('md') {
|
|
10
|
+
<ius-icon-sm [iconName]="iconName" [color]="iconColor"></ius-icon-sm>
|
|
11
|
+
}
|
|
12
|
+
@case('lg') {
|
|
13
|
+
<ius-icon-md [iconName]="iconName" [color]="iconColor"></ius-icon-md>
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
</div>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
$avatar-sizes: (
|
|
2
|
+
sm: 24px,
|
|
3
|
+
md: 32px,
|
|
4
|
+
lg: 40px,
|
|
5
|
+
);
|
|
6
|
+
|
|
7
|
+
.avatar {
|
|
8
|
+
border-radius: 50%;
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
12
|
+
|
|
13
|
+
img {
|
|
14
|
+
border-radius: 50%;
|
|
15
|
+
width: 100%;
|
|
16
|
+
height: 100%;
|
|
17
|
+
object-fit: cover;
|
|
18
|
+
display: block;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Se utiliza para recibir el tamaño dinamico del componente circular
|
|
22
|
+
@each $size, $value in $avatar-sizes {
|
|
23
|
+
&.#{$size} {
|
|
24
|
+
width: $value;
|
|
25
|
+
height: $value;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { AvatarIconComponent } from './avatar-icon.component';
|
|
4
|
+
|
|
5
|
+
describe('AvatarIconComponent', () => {
|
|
6
|
+
let component: AvatarIconComponent;
|
|
7
|
+
let fixture: ComponentFixture<AvatarIconComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [AvatarIconComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(AvatarIconComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, Input } from '@angular/core';
|
|
3
|
+
import { IconXsComponent } from "../icon-xs";
|
|
4
|
+
import { IconSmComponent } from '../icon-sm';
|
|
5
|
+
import { IconMdComponent } from "../icon-md";
|
|
6
|
+
|
|
7
|
+
@Component({
|
|
8
|
+
selector: 'ius-avatar-icon',
|
|
9
|
+
standalone: true,
|
|
10
|
+
imports: [CommonModule, IconXsComponent, IconSmComponent, IconMdComponent],
|
|
11
|
+
templateUrl: './avatar-icon.component.html',
|
|
12
|
+
styleUrl: './avatar-icon.component.scss'
|
|
13
|
+
})
|
|
14
|
+
export class AvatarIconComponent {
|
|
15
|
+
@Input() size: 'sm' | 'md' | 'lg' = 'sm';
|
|
16
|
+
|
|
17
|
+
@Input() imageUrl?: string;
|
|
18
|
+
|
|
19
|
+
@Input() backgroundColor: string = 'grey';
|
|
20
|
+
@Input() iconName: string = 'icon-comment';
|
|
21
|
+
@Input() iconColor: string = 'grey';
|
|
22
|
+
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './avatar-icon.component';
|
|
1
|
+
export * from './avatar-icon.component';
|
|
2
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@use '@litigiovirtual/ius-design-styles/lib/colors' as colors;
|
|
2
|
+
@use '@litigiovirtual/ius-design-styles/lib/typography' as typography;
|
|
3
|
+
@use '@litigiovirtual/ius-design-styles/lib/variables' as variables;
|
|
4
|
+
@use '@litigiovirtual/ius-design-styles/lib/semantic-colors' as semantic-colors;
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
.container-badge {
|
|
8
|
+
display: flex;
|
|
9
|
+
width: min-content;
|
|
10
|
+
min-height: variables.$icon-size-xs;
|
|
11
|
+
padding: variables.$spacing-none 5px;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
align-items: center;
|
|
14
|
+
border-radius: variables.$radius-pill;
|
|
15
|
+
background: colors.$info-500;
|
|
16
|
+
|
|
17
|
+
color: semantic-colors.$color-text-primary-on-dark;
|
|
18
|
+
font-family: typography.$font-primary;
|
|
19
|
+
font-size: typography.$font-size-sm;
|
|
20
|
+
font-weight: typography.$font-weight-medium;
|
|
21
|
+
line-height: typography.$line-height-sm;
|
|
22
|
+
letter-spacing: 0.24px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.container-badge-no-value {
|
|
26
|
+
min-height: variables.$icon-size-xs;
|
|
27
|
+
min-width: variables.$icon-size-xs;
|
|
28
|
+
padding: 0px;
|
|
29
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { BadgeComponent } from './badge.component';
|
|
4
|
+
|
|
5
|
+
describe('BadgeComponent', () => {
|
|
6
|
+
let component: BadgeComponent;
|
|
7
|
+
let fixture: ComponentFixture<BadgeComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [BadgeComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(BadgeComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, Input } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'ius-badge',
|
|
6
|
+
standalone: true,
|
|
7
|
+
imports: [CommonModule],
|
|
8
|
+
templateUrl: './badge.component.html',
|
|
9
|
+
styleUrl: './badge.component.scss',
|
|
10
|
+
})
|
|
11
|
+
export class BadgeComponent {
|
|
12
|
+
@Input() number: number | undefined;
|
|
13
|
+
|
|
14
|
+
get formattedNumber(): string | undefined {
|
|
15
|
+
if (this.number === undefined) {
|
|
16
|
+
return undefined;
|
|
17
|
+
}
|
|
18
|
+
if (this.number > 999) {
|
|
19
|
+
return '999+';
|
|
20
|
+
} else {
|
|
21
|
+
return this.number.toString();
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './badge.component';
|
|
1
|
+
export * from './badge.component';
|
|
2
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<nav class="container" aria-label="Breadcrumb">
|
|
2
|
+
@for (item of (items); track item.label) {
|
|
3
|
+
@if (!$first) {
|
|
4
|
+
<span class="divider" aria-hidden="true">{{ separator }}</span>
|
|
5
|
+
}
|
|
6
|
+
<a
|
|
7
|
+
class="body-ba link"
|
|
8
|
+
[routerLink]="item.commands"
|
|
9
|
+
[queryParams]="item.queryParams"
|
|
10
|
+
[fragment]="item.fragment"
|
|
11
|
+
[replaceUrl]="item.replaceUrl ?? false"
|
|
12
|
+
[state]="item.state"
|
|
13
|
+
[attr.aria-label]="item.ariaLabel || item.label"
|
|
14
|
+
routerLinkActive="current"
|
|
15
|
+
[routerLinkActiveOptions]="{ exact: true }"
|
|
16
|
+
#rla="routerLinkActive"
|
|
17
|
+
[attr.aria-current]="rla.isActive ? 'page' : null"
|
|
18
|
+
>
|
|
19
|
+
{{ item.label }}
|
|
20
|
+
</a>
|
|
21
|
+
}
|
|
22
|
+
</nav>
|
|
23
|
+
|
|
24
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@use "@litigiovirtual/ius-design-styles/lib/colors" as colors;
|
|
2
|
+
@use "@litigiovirtual/ius-design-styles/lib/typography" as typography;
|
|
3
|
+
@use "@litigiovirtual/ius-design-styles/lib/variables" as variables;
|
|
4
|
+
@use "@litigiovirtual/ius-design-styles/lib/semantic-colors" as semantic-colors;
|
|
5
|
+
|
|
6
|
+
.container {
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
gap: variables.$spacing-xxs;
|
|
10
|
+
height: 24px;
|
|
11
|
+
position: relative;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.divider {
|
|
15
|
+
color: colors.$neutral-5;
|
|
16
|
+
user-select: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.link {
|
|
20
|
+
color: semantic-colors.$color-text-tertiary-on-light;
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
padding: 0 variables.$spacing-xxs;
|
|
23
|
+
transition: color .15s ease, text-decoration .15s ease;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.link:hover,
|
|
27
|
+
.link:focus {
|
|
28
|
+
outline: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.current {
|
|
32
|
+
color: semantic-colors.$color-text-secundary-on-light;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.body-ba {
|
|
36
|
+
font-family: typography.$font-secondary;
|
|
37
|
+
font-size: typography.$font-size-base;
|
|
38
|
+
font-weight: typography.$font-weight-regular;
|
|
39
|
+
line-height: typography.$line-height-base;
|
|
40
|
+
letter-spacing: 0.28px;
|
|
41
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { BreadcrumbComponent } from './breadcrumb.component';
|
|
4
|
+
|
|
5
|
+
describe('BreadcrumbComponent', () => {
|
|
6
|
+
let component: BreadcrumbComponent;
|
|
7
|
+
let fixture: ComponentFixture<BreadcrumbComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [BreadcrumbComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(BreadcrumbComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { RouterLink, RouterLinkActive } from '@angular/router';
|
|
4
|
+
|
|
5
|
+
export interface IusBreadcrumbItem {
|
|
6
|
+
label: string;
|
|
7
|
+
commands?: any[];
|
|
8
|
+
queryParams?: any;
|
|
9
|
+
fragment?: string;
|
|
10
|
+
replaceUrl?: boolean;
|
|
11
|
+
state?: any;
|
|
12
|
+
ariaLabel?: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@Component({
|
|
16
|
+
selector: 'ius-breadcrumb',
|
|
17
|
+
standalone: true,
|
|
18
|
+
imports: [CommonModule, RouterLink, RouterLinkActive],
|
|
19
|
+
templateUrl: './breadcrumb.component.html',
|
|
20
|
+
styleUrls: ['./breadcrumb.component.scss'],
|
|
21
|
+
})
|
|
22
|
+
export class BreadcrumbComponent {
|
|
23
|
+
@Input({ required: true }) items: IusBreadcrumbItem[] = [];
|
|
24
|
+
@Input() separator = '|';
|
|
25
|
+
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './breadcrumb.component';
|
|
1
|
+
export * from './breadcrumb.component';
|
|
2
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@use '@litigiovirtual/ius-design-styles/lib/colors' as colors;
|
|
2
|
+
@use '@litigiovirtual/ius-design-styles/lib/typography' as typography;
|
|
3
|
+
@use '@litigiovirtual/ius-design-styles/lib/variables' as variables;
|
|
4
|
+
@use '@litigiovirtual/ius-design-styles/lib/semantic-colors' as semantic-colors;
|
|
5
|
+
|
|
6
|
+
.ctn-button {
|
|
7
|
+
position: relative;
|
|
8
|
+
display: flex;
|
|
9
|
+
padding: variables.$spacing-sm variables.$spacing-lg;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: variables.$spacing-xxs;
|
|
13
|
+
border: none;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
|
|
16
|
+
border-radius: variables.$radius-lg;
|
|
17
|
+
background: semantic-colors.$color-btn-secondary-3-default;
|
|
18
|
+
color: semantic-colors.$color-text-primary-on-light;
|
|
19
|
+
|
|
20
|
+
&:hover:not(:disabled) {
|
|
21
|
+
background-color: semantic-colors.$color-btn-secondary-3-hovered;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:active:not(:disabled) {
|
|
25
|
+
color: semantic-colors.$color-text-primary-on-dark;
|
|
26
|
+
background-color: semantic-colors.$color-btn-secondary-3-pressed;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:disabled {
|
|
30
|
+
color: semantic-colors.$color-text-disabled-on-light;
|
|
31
|
+
background-color: semantic-colors.$color-btn-secondary-3-disabled;
|
|
32
|
+
cursor: default;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.icon-btn {
|
|
37
|
+
width: 20px;
|
|
38
|
+
height: 20px;
|
|
39
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { ButtonAuthComponent } from './button-auth.component';
|
|
4
|
+
|
|
5
|
+
describe('ButtonAuthComponent', () => {
|
|
6
|
+
let component: ButtonAuthComponent;
|
|
7
|
+
let fixture: ComponentFixture<ButtonAuthComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [ButtonAuthComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(ButtonAuthComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: 'ius-button-auth',
|
|
7
|
+
standalone: true,
|
|
8
|
+
imports: [CommonModule],
|
|
9
|
+
templateUrl: './button-auth.component.html',
|
|
10
|
+
styleUrl: './button-auth.component.scss'
|
|
11
|
+
})
|
|
12
|
+
export class ButtonAuthComponent {
|
|
13
|
+
|
|
14
|
+
@Input() disabled = false;
|
|
15
|
+
@Input() textButton?: 'Google' | 'Microsoft' | 'LinkedIn' = 'Google';
|
|
16
|
+
@Output() buttonClicked: EventEmitter<void> = new EventEmitter();
|
|
17
|
+
|
|
18
|
+
colorDisabled: string = '#BFBFBF';
|
|
19
|
+
|
|
20
|
+
svg: SafeHtml = '';
|
|
21
|
+
|
|
22
|
+
constructor(private sanitizer: DomSanitizer) { }
|
|
23
|
+
|
|
24
|
+
ngOnInit() {
|
|
25
|
+
var svgIcon: string = '';
|
|
26
|
+
|
|
27
|
+
switch (this.textButton) {
|
|
28
|
+
case 'Google':
|
|
29
|
+
if (this.disabled) {
|
|
30
|
+
svgIcon = this.svgGoogleDisabled;
|
|
31
|
+
} else {
|
|
32
|
+
svgIcon = this.svgGoogle;
|
|
33
|
+
}
|
|
34
|
+
break;
|
|
35
|
+
case 'Microsoft':
|
|
36
|
+
if (this.disabled) {
|
|
37
|
+
svgIcon = this.svgMicrosoftDisabled;
|
|
38
|
+
} else {
|
|
39
|
+
svgIcon = this.svgMicrosoft;
|
|
40
|
+
}
|
|
41
|
+
break;
|
|
42
|
+
case 'LinkedIn':
|
|
43
|
+
if (this.disabled) {
|
|
44
|
+
svgIcon = this.svgLinkedinDisabled;
|
|
45
|
+
} else {
|
|
46
|
+
svgIcon = this.svgLinkedin;
|
|
47
|
+
}
|
|
48
|
+
break;
|
|
49
|
+
default:
|
|
50
|
+
svgIcon = '';
|
|
51
|
+
break;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
this.svg = this.sanitizer.bypassSecurityTrustHtml(svgIcon) ?? '';
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
onClick() {
|
|
58
|
+
if (this.disabled == false) {
|
|
59
|
+
this.buttonClicked.emit();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
svgGoogle: string = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
64
|
+
<path d="M18.8 10.2084C18.8 9.55837 18.7417 8.93337 18.6333 8.33337H10V11.8834H14.9333C14.7167 13.025 14.0667 13.9917 13.0917 14.6417V16.95H16.0667C17.8 15.35 18.8 13 18.8 10.2084Z" fill="#4285F4"/>
|
|
65
|
+
<path d="M10 19.1667C12.475 19.1667 14.55 18.35 16.0667 16.95L13.0917 14.6417C12.275 15.1917 11.2333 15.525 10 15.525C7.61668 15.525 5.59168 13.9167 4.86668 11.75H1.81668V14.1167C3.32501 17.1083 6.41668 19.1667 10 19.1667Z" fill="#34A853"/>
|
|
66
|
+
<path d="M4.86668 11.7417C4.68334 11.1917 4.57501 10.6084 4.57501 10.0001C4.57501 9.39172 4.68334 8.80839 4.86668 8.25839V5.89172H1.81668C1.19168 7.12506 0.833344 8.51672 0.833344 10.0001C0.833344 11.4834 1.19168 12.8751 1.81668 14.1084L4.19168 12.2584L4.86668 11.7417Z" fill="#FBBC05"/>
|
|
67
|
+
<path d="M10 4.48337C11.35 4.48337 12.55 4.95004 13.5083 5.85004L16.1333 3.22504C14.5417 1.74171 12.475 0.833374 10 0.833374C6.41668 0.833374 3.32501 2.89171 1.81668 5.89171L4.86668 8.25837C5.59168 6.09171 7.61668 4.48337 10 4.48337Z" fill="#EA4335"/>
|
|
68
|
+
</svg>`;
|
|
69
|
+
|
|
70
|
+
svgGoogleDisabled: string = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
71
|
+
<path d="M18.8 10.2084C18.8 9.55837 18.7417 8.93337 18.6333 8.33337H10V11.8834H14.9333C14.7167 13.025 14.0667 13.9917 13.0917 14.6417V16.95H16.0667C17.8 15.35 18.8 13 18.8 10.2084Z" fill="#BFBFBF"/>
|
|
72
|
+
<path d="M10 19.1667C12.475 19.1667 14.55 18.35 16.0667 16.95L13.0917 14.6417C12.275 15.1917 11.2333 15.525 10 15.525C7.61668 15.525 5.59168 13.9167 4.86668 11.75H1.81668V14.1167C3.32501 17.1083 6.41668 19.1667 10 19.1667Z" fill="#BFBFBF"/>
|
|
73
|
+
<path d="M4.86668 11.7417C4.68334 11.1917 4.57501 10.6084 4.57501 10.0001C4.57501 9.39172 4.68334 8.80839 4.86668 8.25839V5.89172H1.81668C1.19168 7.12506 0.833344 8.51672 0.833344 10.0001C0.833344 11.4834 1.19168 12.8751 1.81668 14.1084L4.19168 12.2584L4.86668 11.7417Z" fill="#BFBFBF"/>
|
|
74
|
+
<path d="M10 4.48337C11.35 4.48337 12.55 4.95004 13.5083 5.85004L16.1333 3.22504C14.5417 1.74171 12.475 0.833374 10 0.833374C6.41668 0.833374 3.32501 2.89171 1.81668 5.89171L4.86668 8.25837C5.59168 6.09171 7.61668 4.48337 10 4.48337Z" fill="#BFBFBF"/>
|
|
75
|
+
</svg>`;
|
|
76
|
+
|
|
77
|
+
svgMicrosoft: string = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
78
|
+
<g clip-path="url(#clip0_1670_13811)">
|
|
79
|
+
<path d="M0 0H20V20H0V0Z" fill="#F3F3F3"/>
|
|
80
|
+
<path d="M0.869568 0.869507H9.56522V9.56516H0.869568V0.869507Z" fill="#F35325"/>
|
|
81
|
+
<path d="M10.4348 0.869507H19.1304V9.56516H10.4348V0.869507Z" fill="#81BC06"/>
|
|
82
|
+
<path d="M0.869568 10.4348H9.56522V19.1305H0.869568V10.4348Z" fill="#05A6F0"/>
|
|
83
|
+
<path d="M10.4348 10.4348H19.1304V19.1305H10.4348V10.4348Z" fill="#FFBA08"/>
|
|
84
|
+
</g>
|
|
85
|
+
<defs>
|
|
86
|
+
<clipPath id="clip0_1670_13811">
|
|
87
|
+
<rect width="20" height="20" fill="white"/>
|
|
88
|
+
</clipPath>
|
|
89
|
+
</defs>
|
|
90
|
+
</svg>`;
|
|
91
|
+
|
|
92
|
+
svgMicrosoftDisabled: string = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
93
|
+
<g clip-path="url(#clip0_1670_13817)">
|
|
94
|
+
<path d="M0 0H20V20H0V0Z" fill="#F3F3F3"/>
|
|
95
|
+
<path d="M0.869568 0.869507H9.56522V9.56516H0.869568V0.869507Z" fill="#BFBFBF"/>
|
|
96
|
+
<path d="M10.4348 0.869507H19.1304V9.56516H10.4348V0.869507Z" fill="#BFBFBF"/>
|
|
97
|
+
<path d="M0.869568 10.4348H9.56522V19.1305H0.869568V10.4348Z" fill="#BFBFBF"/>
|
|
98
|
+
<path d="M10.4348 10.4348H19.1304V19.1305H10.4348V10.4348Z" fill="#BFBFBF"/>
|
|
99
|
+
</g>
|
|
100
|
+
<defs>
|
|
101
|
+
<clipPath id="clip0_1670_13817">
|
|
102
|
+
<rect width="20" height="20" fill="white"/>
|
|
103
|
+
</clipPath>
|
|
104
|
+
</defs>
|
|
105
|
+
</svg>`;
|
|
106
|
+
|
|
107
|
+
svgLinkedin: string = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
108
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.22222 20H17.7778C19.0051 20 20 19.0051 20 17.7778V2.22222C20 0.994923 19.0051 0 17.7778 0H2.22222C0.994923 0 0 0.994923 0 2.22222V17.7778C0 19.0051 0.994923 20 2.22222 20Z" fill="#007EBB"/>
|
|
109
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.2222 17.2223H14.2543V12.1673C14.2543 10.7814 13.7277 10.0069 12.6307 10.0069C11.4374 10.0069 10.8139 10.8129 10.8139 12.1673V17.2223H7.9537V7.59265H10.8139V8.88976C10.8139 8.88976 11.6739 7.29845 13.7174 7.29845C15.7599 7.29845 17.2222 8.54574 17.2222 11.1254V17.2223ZM4.54148 6.33172C3.56723 6.33172 2.77777 5.53607 2.77777 4.55478C2.77777 3.57349 3.56723 2.77783 4.54148 2.77783C5.51573 2.77783 6.30472 3.57349 6.30472 4.55478C6.30472 5.53607 5.51573 6.33172 4.54148 6.33172ZM3.06459 17.2223H6.04705V7.59265H3.06459V17.2223Z" fill="white"/>
|
|
110
|
+
</svg>`;
|
|
111
|
+
|
|
112
|
+
svgLinkedinDisabled: string = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
113
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.22222 20H17.7778C19.0051 20 20 19.0051 20 17.7778V2.22222C20 0.994923 19.0051 0 17.7778 0H2.22222C0.994923 0 0 0.994923 0 2.22222V17.7778C0 19.0051 0.994923 20 2.22222 20Z" fill="#BFBFBF"/>
|
|
114
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.2222 17.2223H14.2543V12.1673C14.2543 10.7814 13.7277 10.0069 12.6307 10.0069C11.4374 10.0069 10.8139 10.8129 10.8139 12.1673V17.2223H7.9537V7.59265H10.8139V8.88976C10.8139 8.88976 11.6739 7.29845 13.7174 7.29845C15.7599 7.29845 17.2222 8.54574 17.2222 11.1254V17.2223ZM4.54148 6.33172C3.56723 6.33172 2.77777 5.53607 2.77777 4.55478C2.77777 3.57349 3.56723 2.77783 4.54148 2.77783C5.51573 2.77783 6.30472 3.57349 6.30472 4.55478C6.30472 5.53607 5.51573 6.33172 4.54148 6.33172ZM3.06459 17.2223H6.04705V7.59265H3.06459V17.2223Z" fill="white"/>
|
|
115
|
+
</svg>`;
|
|
116
|
+
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './button-auth.component';
|
|
1
|
+
export * from './button-auth.component';
|
|
2
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@use '@litigiovirtual/ius-design-styles/lib/colors' as colors;
|
|
2
|
+
@use '@litigiovirtual/ius-design-styles/lib/variables' as variables;
|
|
3
|
+
@use '@litigiovirtual/ius-design-styles/lib/semantic-colors' as semantic-colors;
|
|
4
|
+
|
|
5
|
+
.icon-color{
|
|
6
|
+
color : colors.$success-600;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ius-btn {
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
padding: variables.$spacing-sm;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
align-items: center;
|
|
14
|
+
gap: variables.$spacing-xxs;
|
|
15
|
+
border-radius: variables.$radius-pill;
|
|
16
|
+
border: 1px solid colors.$success-600;
|
|
17
|
+
background-color: semantic-colors.$color-btn-secondary-2-default;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
|
|
20
|
+
&:hover:not(:disabled) {
|
|
21
|
+
background-color: semantic-colors.$color-btn-secondary-2-hovered;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:active:not(:disabled) {
|
|
25
|
+
.icon-color{
|
|
26
|
+
color: semantic-colors.$color-text-primary-on-dark;
|
|
27
|
+
}
|
|
28
|
+
background-color: semantic-colors.$color-btn-secondary-2-pressed;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&:disabled {
|
|
32
|
+
.icon-color{
|
|
33
|
+
color: semantic-colors.$color-text-disabled-on-light;
|
|
34
|
+
}
|
|
35
|
+
border: 1px solid colors.$neutral-4;
|
|
36
|
+
background-color: semantic-colors.$color-btn-secondary-2-disabled;
|
|
37
|
+
cursor: not-allowed;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { ButtonCircleSecondaryComponent } from './button-circle-secondary.component';
|
|
4
|
+
|
|
5
|
+
describe('ButtonCircleSecondaryComponent', () => {
|
|
6
|
+
let component: ButtonCircleSecondaryComponent;
|
|
7
|
+
let fixture: ComponentFixture<ButtonCircleSecondaryComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
imports: [ButtonCircleSecondaryComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(ButtonCircleSecondaryComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { IconLgComponent } from "../icon-lg/icon-lg.component";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: 'ius-button-circle-secondary',
|
|
7
|
+
standalone: true,
|
|
8
|
+
imports: [IconLgComponent],
|
|
9
|
+
templateUrl: './button-circle-secondary.component.html',
|
|
10
|
+
styleUrl: './button-circle-secondary.component.scss'
|
|
11
|
+
})
|
|
12
|
+
export class ButtonCircleSecondaryComponent {
|
|
13
|
+
|
|
14
|
+
@Input() disabled = false;
|
|
15
|
+
@Input() iconName = '';
|
|
16
|
+
@Output() buttonClicked: EventEmitter<Event> = new EventEmitter();
|
|
17
|
+
|
|
18
|
+
onClick(event:Event) {
|
|
19
|
+
if (this.disabled == false) {
|
|
20
|
+
this.buttonClicked.emit(event);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './button-circle-secondary.component';
|
|
1
|
+
export * from './button-circle-secondary.component';
|
|
2
|
+
|