@sapphire-ion/framework 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/esm2022/lib/classes/comparison/comparison-operator.mjs +18 -0
- package/esm2022/lib/classes/comparison/comparison-value-type.mjs +25 -0
- package/esm2022/lib/classes/comparison/comparison.mjs +41 -0
- package/esm2022/lib/classes/comparison/properties/bool-property.mjs +15 -0
- package/esm2022/lib/classes/comparison/properties/date-property.mjs +27 -0
- package/esm2022/lib/classes/comparison/properties/datetime-property.mjs +27 -0
- package/esm2022/lib/classes/comparison/properties/decimal-property.mjs +27 -0
- package/esm2022/lib/classes/comparison/properties/enum-property.mjs +27 -0
- package/esm2022/lib/classes/comparison/properties/implicit-property.mjs +12 -0
- package/esm2022/lib/classes/comparison/properties/int-property.mjs +27 -0
- package/esm2022/lib/classes/comparison/properties/long-property.mjs +27 -0
- package/esm2022/lib/classes/comparison/properties/string-property.mjs +15 -0
- package/esm2022/lib/classes/comparison/properties/time-property.mjs +27 -0
- package/esm2022/lib/classes/credentials.mjs +2 -0
- package/esm2022/lib/classes/environment.mjs +32 -0
- package/esm2022/lib/classes/filters/view-filtros.mjs +18 -0
- package/esm2022/lib/classes/inputs/table-field-form-builder.mjs +10 -0
- package/esm2022/lib/classes/inputs/table-field.mjs +63 -0
- package/esm2022/lib/classes/page-option.mjs +2 -0
- package/esm2022/lib/classes/routes/default-routing-factory.mjs +23 -0
- package/esm2022/lib/classes/routes/id-preloader-configuration.mjs +22 -0
- package/esm2022/lib/classes/routes/route-data.mjs +9 -0
- package/esm2022/lib/components/carousel/carousel-image/carousel-image.component.mjs +18 -0
- package/esm2022/lib/components/carousel/carousel-item/carousel-item.component.mjs +15 -0
- package/esm2022/lib/components/carousel/carousel.component.mjs +79 -0
- package/esm2022/lib/components/carousel/carousel.module.mjs +31 -0
- package/esm2022/lib/components/carousel/i-carousel-item.component.mjs +16 -0
- package/esm2022/lib/components/content-block/content-block.component.mjs +27 -0
- package/esm2022/lib/components/default/default-list/abstract-list.mjs +49 -0
- package/esm2022/lib/components/default/default-list/default-list.component.mjs +94 -0
- package/esm2022/lib/components/default/default-list/header-list/header-list.component.mjs +98 -0
- package/esm2022/lib/components/default/default-list/list.mjs +110 -0
- package/esm2022/lib/components/default/default-pagination/default-pagination.component.mjs +123 -0
- package/esm2022/lib/components/default/default-table/default-table.component.mjs +206 -0
- package/esm2022/lib/components/default/default-table/th-filter/th-filter.component.mjs +182 -0
- package/esm2022/lib/components/default/default-view/abstract-view.mjs +18 -0
- package/esm2022/lib/components/default/default-view/default-view.component.mjs +51 -0
- package/esm2022/lib/components/default/default-view/header-view/header-view.component.mjs +72 -0
- package/esm2022/lib/components/default/default-view/view.mjs +170 -0
- package/esm2022/lib/components/default/default.module.mjs +87 -0
- package/esm2022/lib/components/default-page/default.page.mjs +73 -0
- package/esm2022/lib/components/drag-drop-file/drag-drop-file.directive.mjs +60 -0
- package/esm2022/lib/components/drag-drop-file/drag-drop-file.module.mjs +31 -0
- package/esm2022/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.mjs +15 -0
- package/esm2022/lib/components/drawer/default-drawer-end/default-drawer-end.component.mjs +34 -0
- package/esm2022/lib/components/drawer/drawer-group/drawer-group.component.mjs +49 -0
- package/esm2022/lib/components/drawer/drawer.component.mjs +117 -0
- package/esm2022/lib/components/drawer/menu.mjs +15 -0
- package/esm2022/lib/components/filter/filter.component.mjs +124 -0
- package/esm2022/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.mjs +17 -0
- package/esm2022/lib/components/image/image.component.mjs +91 -0
- package/esm2022/lib/components/info-popover/info-popover.component.mjs +91 -0
- package/esm2022/lib/components/inputs/custom-input.mjs +77 -0
- package/esm2022/lib/components/inputs/custom-signal-input.mjs +74 -0
- package/esm2022/lib/components/inputs/input-bool/input-bool.component.mjs +43 -0
- package/esm2022/lib/components/inputs/input-bool/input-bool.configuration.mjs +16 -0
- package/esm2022/lib/components/inputs/input-color/input-color.component.mjs +487 -0
- package/esm2022/lib/components/inputs/input-configuration.mjs +2 -0
- package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.mjs +93 -0
- package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.mjs +6 -0
- package/esm2022/lib/components/inputs/input-date/input-date.component.mjs +119 -0
- package/esm2022/lib/components/inputs/input-date/input-date.configuration.mjs +8 -0
- package/esm2022/lib/components/inputs/input-decimal/input-decimal.component.mjs +269 -0
- package/esm2022/lib/components/inputs/input-decimal/input-decimal.configuration.mjs +45 -0
- package/esm2022/lib/components/inputs/input-default-configurations.mjs +14 -0
- package/esm2022/lib/components/inputs/input-file/download-button/download-button.component.mjs +91 -0
- package/esm2022/lib/components/inputs/input-file/input-file.component.mjs +128 -0
- package/esm2022/lib/components/inputs/input-file/input-file.configuration.mjs +11 -0
- package/esm2022/lib/components/inputs/input-loading/input-loading.component.mjs +16 -0
- package/esm2022/lib/components/inputs/input-provider-factory.mjs +15 -0
- package/esm2022/lib/components/inputs/input-select/ISelect.mjs +11 -0
- package/esm2022/lib/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.mjs +42 -0
- package/esm2022/lib/components/inputs/input-select/input-select-option/input-select-option.component.mjs +46 -0
- package/esm2022/lib/components/inputs/input-select/input-select-template.directive.mjs +16 -0
- package/esm2022/lib/components/inputs/input-select/input-select.component.mjs +322 -0
- package/esm2022/lib/components/inputs/input-select/input.select.configuration.mjs +164 -0
- package/esm2022/lib/components/inputs/input-string/input-string.component.mjs +50 -0
- package/esm2022/lib/components/inputs/input-string/input-string.configuration.mjs +18 -0
- package/esm2022/lib/components/inputs/input-textarea/input-textarea.component.mjs +47 -0
- package/esm2022/lib/components/inputs/input-type.mjs +18 -0
- package/esm2022/lib/components/inputs/input-validators.mjs +90 -0
- package/esm2022/lib/components/inputs/inputs.module.mjs +101 -0
- package/esm2022/lib/components/loading/loading.component.mjs +34 -0
- package/esm2022/lib/components/login/login-admin/login-admin.component.mjs +52 -0
- package/esm2022/lib/components/login/login.component.mjs +93 -0
- package/esm2022/lib/components/main-content/main-content.component.mjs +62 -0
- package/esm2022/lib/components/stepper/step/step.component.mjs +43 -0
- package/esm2022/lib/components/stepper/stepper.component.mjs +36 -0
- package/esm2022/lib/components/stepper/stepper.module.mjs +25 -0
- package/esm2022/lib/components/tabs/tab/tab.component.mjs +41 -0
- package/esm2022/lib/components/tabs/tabs/tabs.component.mjs +56 -0
- package/esm2022/lib/components/tabs/tabs.module.mjs +22 -0
- package/esm2022/lib/components/text-tooltip/text-tooltip.component.mjs +51 -0
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +21 -0
- package/esm2022/lib/core.module.mjs +29 -0
- package/esm2022/lib/directives/ng-var.directive.mjs +29 -0
- package/esm2022/lib/guards/auth.guard.mjs +26 -0
- package/esm2022/lib/guards/error.interceptor.mjs +106 -0
- package/esm2022/lib/guards/token.interceptor.mjs +25 -0
- package/esm2022/lib/index.mjs +172 -0
- package/esm2022/lib/pipes/secure.pipe.mjs +42 -0
- package/esm2022/lib/services/auth.service.mjs +149 -0
- package/esm2022/lib/services/environment.service.mjs +26 -0
- package/esm2022/lib/services/generics.service.mjs +84 -0
- package/esm2022/lib/services/route/route.cache.service.mjs +15 -0
- package/esm2022/lib/services/route/route.provider.service.mjs +42 -0
- package/esm2022/lib/services/usuario.service.mjs +49 -0
- package/esm2022/lib/services/utils.service.mjs +149 -0
- package/esm2022/lib/services/web/api-url-provider.service.mjs +29 -0
- package/esm2022/lib/services/web/http.ativo.service.mjs +55 -0
- package/esm2022/lib/services/web/http.service.mjs +175 -0
- package/esm2022/lib/services/web/storage.service.mjs +115 -0
- package/esm2022/public-api.mjs +5 -0
- package/esm2022/sapphire-ion-framework.mjs +5 -0
- package/fesm2022/sapphire-ion-framework.mjs +6080 -0
- package/fesm2022/sapphire-ion-framework.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/classes/comparison/comparison-operator.d.ts +9 -0
- package/lib/classes/comparison/comparison-value-type.d.ts +23 -0
- package/lib/classes/comparison/comparison.d.ts +25 -0
- package/lib/classes/comparison/properties/bool-property.d.ts +7 -0
- package/lib/classes/comparison/properties/date-property.d.ts +11 -0
- package/lib/classes/comparison/properties/datetime-property.d.ts +11 -0
- package/lib/classes/comparison/properties/decimal-property.d.ts +11 -0
- package/lib/classes/comparison/properties/enum-property.d.ts +11 -0
- package/lib/classes/comparison/properties/implicit-property.d.ts +6 -0
- package/lib/classes/comparison/properties/int-property.d.ts +11 -0
- package/lib/classes/comparison/properties/long-property.d.ts +11 -0
- package/lib/classes/comparison/properties/string-property.d.ts +7 -0
- package/lib/classes/comparison/properties/time-property.d.ts +11 -0
- package/lib/classes/credentials.d.ts +5 -0
- package/lib/classes/environment.d.ts +13 -0
- package/lib/classes/filters/view-filtros.d.ts +10 -0
- package/lib/classes/inputs/table-field-form-builder.d.ts +5 -0
- package/lib/classes/inputs/table-field.d.ts +19 -0
- package/lib/classes/page-option.d.ts +7 -0
- package/lib/classes/routes/default-routing-factory.d.ts +8 -0
- package/lib/classes/routes/id-preloader-configuration.d.ts +28 -0
- package/lib/classes/routes/route-data.d.ts +5 -0
- package/lib/components/carousel/carousel-image/carousel-image.component.d.ts +10 -0
- package/lib/components/carousel/carousel-item/carousel-item.component.d.ts +9 -0
- package/lib/components/carousel/carousel.component.d.ts +32 -0
- package/lib/components/carousel/carousel.module.d.ts +12 -0
- package/lib/components/carousel/i-carousel-item.component.d.ts +9 -0
- package/lib/components/content-block/content-block.component.d.ts +15 -0
- package/lib/components/default/default-list/abstract-list.d.ts +21 -0
- package/lib/components/default/default-list/default-list.component.d.ts +42 -0
- package/lib/components/default/default-list/header-list/header-list.component.d.ts +45 -0
- package/lib/components/default/default-list/list.d.ts +37 -0
- package/lib/components/default/default-pagination/default-pagination.component.d.ts +36 -0
- package/lib/components/default/default-table/default-table.component.d.ts +71 -0
- package/lib/components/default/default-table/th-filter/th-filter.component.d.ts +20 -0
- package/lib/components/default/default-view/abstract-view.d.ts +16 -0
- package/lib/components/default/default-view/default-view.component.d.ts +26 -0
- package/lib/components/default/default-view/header-view/header-view.component.d.ts +25 -0
- package/lib/components/default/default-view/view.d.ts +55 -0
- package/lib/components/default/default.module.d.ts +28 -0
- package/lib/components/default-page/default.page.d.ts +35 -0
- package/lib/components/drag-drop-file/drag-drop-file.directive.d.ts +14 -0
- package/lib/components/drag-drop-file/drag-drop-file.module.d.ts +10 -0
- package/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.d.ts +9 -0
- package/lib/components/drawer/default-drawer-end/default-drawer-end.component.d.ts +13 -0
- package/lib/components/drawer/drawer-group/drawer-group.component.d.ts +22 -0
- package/lib/components/drawer/drawer.component.d.ts +23 -0
- package/lib/components/drawer/menu.d.ts +9 -0
- package/lib/components/filter/filter.component.d.ts +29 -0
- package/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.d.ts +8 -0
- package/lib/components/image/image.component.d.ts +23 -0
- package/lib/components/info-popover/info-popover.component.d.ts +15 -0
- package/lib/components/inputs/custom-input.d.ts +36 -0
- package/lib/components/inputs/custom-signal-input.d.ts +38 -0
- package/lib/components/inputs/input-bool/input-bool.component.d.ts +19 -0
- package/lib/components/inputs/input-bool/input-bool.configuration.d.ts +17 -0
- package/lib/components/inputs/input-color/input-color.component.d.ts +80 -0
- package/lib/components/inputs/input-configuration.d.ts +8 -0
- package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.d.ts +24 -0
- package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.d.ts +5 -0
- package/lib/components/inputs/input-date/input-date.component.d.ts +30 -0
- package/lib/components/inputs/input-date/input-date.configuration.d.ts +7 -0
- package/lib/components/inputs/input-decimal/input-decimal.component.d.ts +41 -0
- package/lib/components/inputs/input-decimal/input-decimal.configuration.d.ts +25 -0
- package/lib/components/inputs/input-default-configurations.d.ts +13 -0
- package/lib/components/inputs/input-file/download-button/download-button.component.d.ts +36 -0
- package/lib/components/inputs/input-file/input-file.component.d.ts +39 -0
- package/lib/components/inputs/input-file/input-file.configuration.d.ts +11 -0
- package/lib/components/inputs/input-loading/input-loading.component.d.ts +7 -0
- package/lib/components/inputs/input-provider-factory.d.ts +4 -0
- package/lib/components/inputs/input-select/ISelect.d.ts +21 -0
- package/lib/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.d.ts +18 -0
- package/lib/components/inputs/input-select/input-select-option/input-select-option.component.d.ts +24 -0
- package/lib/components/inputs/input-select/input-select-template.directive.d.ts +8 -0
- package/lib/components/inputs/input-select/input-select.component.d.ts +66 -0
- package/lib/components/inputs/input-select/input.select.configuration.d.ts +87 -0
- package/lib/components/inputs/input-string/input-string.component.d.ts +19 -0
- package/lib/components/inputs/input-string/input-string.configuration.d.ts +14 -0
- package/lib/components/inputs/input-textarea/input-textarea.component.d.ts +18 -0
- package/lib/components/inputs/input-type.d.ts +16 -0
- package/lib/components/inputs/input-validators.d.ts +19 -0
- package/lib/components/inputs/inputs.module.d.ts +28 -0
- package/lib/components/loading/loading.component.d.ts +18 -0
- package/lib/components/login/login-admin/login-admin.component.d.ts +20 -0
- package/lib/components/login/login.component.d.ts +28 -0
- package/lib/components/main-content/main-content.component.d.ts +17 -0
- package/lib/components/stepper/step/step.component.d.ts +15 -0
- package/lib/components/stepper/stepper.component.d.ts +17 -0
- package/lib/components/stepper/stepper.module.d.ts +10 -0
- package/lib/components/tabs/tab/tab.component.d.ts +19 -0
- package/lib/components/tabs/tabs/tabs.component.d.ts +18 -0
- package/lib/components/tabs/tabs.module.d.ts +12 -0
- package/lib/components/text-tooltip/text-tooltip.component.d.ts +16 -0
- package/lib/components/tooltip/tooltip.component.d.ts +7 -0
- package/lib/core.module.d.ts +11 -0
- package/lib/directives/ng-var.directive.d.ts +12 -0
- package/lib/guards/auth.guard.d.ts +11 -0
- package/lib/guards/error.interceptor.d.ts +32 -0
- package/lib/guards/token.interceptor.d.ts +11 -0
- package/lib/index.d.ts +108 -0
- package/lib/pipes/secure.pipe.d.ts +15 -0
- package/lib/services/auth.service.d.ts +47 -0
- package/lib/services/environment.service.d.ts +10 -0
- package/lib/services/generics.service.d.ts +22 -0
- package/lib/services/route/route.cache.service.d.ts +7 -0
- package/lib/services/route/route.provider.service.d.ts +13 -0
- package/lib/services/usuario.service.d.ts +21 -0
- package/lib/services/utils.service.d.ts +36 -0
- package/lib/services/web/api-url-provider.service.d.ts +13 -0
- package/lib/services/web/http.ativo.service.d.ts +31 -0
- package/lib/services/web/http.service.d.ts +51 -0
- package/lib/services/web/storage.service.d.ts +25 -0
- package/package.json +41 -0
- package/public-api.d.ts +1 -0
- package/themes/compiled-styles.scss +2291 -0
- package/themes/components/_inputs_new/input-string/input-string.component.scss +0 -0
- package/themes/components/_inputs_new/inputs.scss +15 -0
- package/themes/components/carousel/carousel-image/carousel-image.component.scss +0 -0
- package/themes/components/carousel/carousel-item/carousel-item.component.scss +0 -0
- package/themes/components/carousel/carousel.component.scss +9 -0
- package/themes/components/content-block/content-block.component.scss +0 -0
- package/themes/components/default/default-list/default-list.component.scss +0 -0
- package/themes/components/default/default-list/header-list/header-list.component.scss +0 -0
- package/themes/components/default/default-pagination/default-pagination.component.scss +22 -0
- package/themes/components/default/default-table/default-table.component.scss +33 -0
- package/themes/components/default/default-table/th-filter/th-filter.component.scss +24 -0
- package/themes/components/default/default-view/default-view.component.scss +5 -0
- package/themes/components/default/default-view/header-view/header-view.component.scss +7 -0
- package/themes/components/default-page/default.page.scss +4 -0
- package/themes/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.scss +9 -0
- package/themes/components/drawer/default-drawer-end/default-drawer-end.component.scss +0 -0
- package/themes/components/drawer/drawer-group/drawer-group.component.scss +22 -0
- package/themes/components/drawer/drawer.component.scss +46 -0
- package/themes/components/filter/filter.component.scss +0 -0
- package/themes/components/http-responses-pages/forbidden-403/forbidden-403.component.scss +19 -0
- package/themes/components/image/image.component.scss +0 -0
- package/themes/components/info-popover/info-popover.component.scss +3 -0
- package/themes/components/inputs/input-bool/input-bool.component.scss +14 -0
- package/themes/components/inputs/input-color/input-color.component.scss +48 -0
- package/themes/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.scss +0 -0
- package/themes/components/inputs/input-date/input-date.component.scss +41 -0
- package/themes/components/inputs/input-decimal/input-decimal.component.scss +44 -0
- package/themes/components/inputs/input-file/download-button/download-button.component.scss +3 -0
- package/themes/components/inputs/input-file/input-file.component.scss +3 -0
- package/themes/components/inputs/input-loading/input-loading.component.scss +0 -0
- package/themes/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.scss +0 -0
- package/themes/components/inputs/input-select/input-select-option/input-select-option.component.scss +0 -0
- package/themes/components/inputs/input-select/input-select.component.scss +28 -0
- package/themes/components/inputs/input-string/input-string.component.scss +0 -0
- package/themes/components/inputs/input-textarea/input-textarea.component.scss +0 -0
- package/themes/components/inputs/inputs.scss +67 -0
- package/themes/components/loading/loading.component.scss +0 -0
- package/themes/components/login/login-admin/login-admin.component.scss +3 -0
- package/themes/components/login/login.component.scss +40 -0
- package/themes/components/main-content/main-content.component.scss +9 -0
- package/themes/components/stepper/step/step.component.scss +48 -0
- package/themes/components/stepper/stepper.component.scss +0 -0
- package/themes/components/tabs/tab/tab.component.scss +0 -0
- package/themes/components/tabs/tabs/tabs.component.scss +23 -0
- package/themes/components/text-tooltip/text-tooltip.component.scss +0 -0
- package/themes/components/tooltip/tooltip.component.scss +23 -0
- package/themes/styles/components.scss +52 -0
- package/themes/styles/core.styles.scss +409 -0
- package/themes/styles/ionic/ion-action-sheet.scss +8 -0
- package/themes/styles/ionic/ion-alert.scss +9 -0
- package/themes/styles/ionic/ion-button.scss +3 -0
- package/themes/styles/ionic/ion-card.scss +3 -0
- package/themes/styles/ionic/ion-content.scss +3 -0
- package/themes/styles/ionic/ion-datetime.scss +6 -0
- package/themes/styles/ionic/ion-item.scss +10 -0
- package/themes/styles/ionic/ion-list.scss +4 -0
- package/themes/styles/ionic/ion-modal.scss +8 -0
- package/themes/styles/ionic/ion-popover.scss +31 -0
- package/themes/styles/ionic/ion-progress-bar.scss +3 -0
- package/themes/styles/ionic/ion-searchbar.scss +4 -0
- package/themes/styles/ionic/ion-toast.scss +14 -0
- package/themes/styles/ionic.scss +13 -0
- package/themes/styles/login-default.scss +87 -0
- package/themes/styles/mixins.scss +467 -0
- package/themes/styles/styles.scss +1 -0
- package/themes/styles/translucid.scss +21 -0
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
|
|
3
|
+
@for $i from 1 through 100 {
|
|
4
|
+
.modal-w-#{$i}{
|
|
5
|
+
@media (orientation: landscape) {
|
|
6
|
+
--width: #{$i + '%'};
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
@for $i from 1 through 100 {
|
|
11
|
+
.modal-h-#{$i}{
|
|
12
|
+
@media (orientation: landscape) {
|
|
13
|
+
--height: #{$i + '%'};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
@for $i from 1 through 100 {
|
|
18
|
+
.modal-size-#{$i}{
|
|
19
|
+
@media (orientation: landscape) {
|
|
20
|
+
--height: #{$i + '%'};
|
|
21
|
+
--width: #{$i + '%'};
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
$colors: primary, secondary, tertiary, success, warning, danger, light, medium, dark, translucid;
|
|
27
|
+
$steps : 5, 7, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95;
|
|
28
|
+
//[ Text Colors ]
|
|
29
|
+
@mixin text-colors($colors){
|
|
30
|
+
@each $color in $colors {
|
|
31
|
+
.text-#{$color} {
|
|
32
|
+
color: var(--ion-color-#{$color})
|
|
33
|
+
}
|
|
34
|
+
.hover\:text-#{$color} {
|
|
35
|
+
@apply transition-all ease-in-out duration-300;
|
|
36
|
+
&:hover{
|
|
37
|
+
color: var(--ion-color-#{$color});
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.\!text-#{$color} {
|
|
42
|
+
color: var(--ion-color-#{$color}) !important;
|
|
43
|
+
}
|
|
44
|
+
.hover\:\!text-#{$color} {
|
|
45
|
+
@apply transition-all ease-in-out duration-300;
|
|
46
|
+
&:hover{
|
|
47
|
+
color: var(--ion-color-#{$color}) !important;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
@mixin text-colors-steps($colors, $steps){
|
|
53
|
+
@each $color in $colors {
|
|
54
|
+
@each $step in $steps {
|
|
55
|
+
.text-#{$color}\/#{$step} {
|
|
56
|
+
color: color-mix(
|
|
57
|
+
in srgb,
|
|
58
|
+
var(--ion-color-#{$color})
|
|
59
|
+
math.percentage(math.div($step, 100)),
|
|
60
|
+
transparent
|
|
61
|
+
math.percentage(math.div(100 - $step, 100))
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
.hover\:text-#{$color}\/#{$step}{
|
|
65
|
+
@apply transition-all ease-in-out duration-300;
|
|
66
|
+
&:hover{
|
|
67
|
+
color: color-mix(
|
|
68
|
+
in srgb,
|
|
69
|
+
var(--ion-color-#{$color})
|
|
70
|
+
math.percentage(math.div($step, 100)),
|
|
71
|
+
transparent
|
|
72
|
+
math.percentage(math.div(100 - $step, 100))
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.\!text-#{$color}\/#{$step} {
|
|
78
|
+
color: color-mix(
|
|
79
|
+
in srgb,
|
|
80
|
+
var(--ion-color-#{$color})
|
|
81
|
+
math.percentage(math.div($step, 100)),
|
|
82
|
+
transparent
|
|
83
|
+
math.percentage(math.div(100 - $step, 100)) !important
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
.hover\:\!text-#{$color}\/#{$step}{
|
|
87
|
+
@apply transition-all ease-in-out duration-300;
|
|
88
|
+
&:hover{
|
|
89
|
+
color: color-mix(
|
|
90
|
+
in srgb,
|
|
91
|
+
var(--ion-color-#{$color})
|
|
92
|
+
math.percentage(math.div($step, 100)),
|
|
93
|
+
transparent
|
|
94
|
+
math.percentage(math.div(100 - $step, 100)) !important
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
@include text-colors($colors);
|
|
102
|
+
@include text-colors-steps($colors, $steps);
|
|
103
|
+
|
|
104
|
+
//[ BG Colors ]
|
|
105
|
+
@mixin bg-colors($colors){
|
|
106
|
+
@each $color in $colors {
|
|
107
|
+
.bg-#{$color} {
|
|
108
|
+
background-color: var(--ion-color-#{$color});
|
|
109
|
+
}
|
|
110
|
+
.hover\:bg-#{$color} {
|
|
111
|
+
@apply transition-all ease-in-out duration-300;
|
|
112
|
+
&:hover{
|
|
113
|
+
background-color: var(--ion-color-#{$color});
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.\!bg-#{$color} {
|
|
118
|
+
background-color: var(--ion-color-#{$color}) !important;
|
|
119
|
+
}
|
|
120
|
+
.hover\:\!bg-#{$color} {
|
|
121
|
+
@apply transition-all ease-in-out duration-300;
|
|
122
|
+
&:hover{
|
|
123
|
+
background-color: var(--ion-color-#{$color}) !important;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
@mixin bg-colors-steps($colors, $steps){
|
|
129
|
+
@each $color in $colors {
|
|
130
|
+
@each $step in $steps {
|
|
131
|
+
.bg-#{$color}\/#{$step} {
|
|
132
|
+
background-color: color-mix(
|
|
133
|
+
in srgb,
|
|
134
|
+
var(--ion-color-#{$color})
|
|
135
|
+
math.percentage(math.div($step, 100)),
|
|
136
|
+
transparent
|
|
137
|
+
math.percentage(math.div(100 - $step, 100))
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
.hover\:bg-#{$color}\/#{$step}{
|
|
141
|
+
@apply transition-all ease-in-out duration-300;
|
|
142
|
+
&:hover{
|
|
143
|
+
background-color: color-mix(
|
|
144
|
+
in srgb,
|
|
145
|
+
var(--ion-color-#{$color})
|
|
146
|
+
math.percentage(math.div($step, 100)),
|
|
147
|
+
transparent
|
|
148
|
+
math.percentage(math.div(100 - $step, 100))
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.\!bg-#{$color}\/#{$step} {
|
|
154
|
+
background-color: color-mix(
|
|
155
|
+
in srgb,
|
|
156
|
+
var(--ion-color-#{$color})
|
|
157
|
+
math.percentage(math.div($step, 100)),
|
|
158
|
+
transparent
|
|
159
|
+
math.percentage(math.div(100 - $step, 100)) !important
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
.hover\:\!bg-#{$color}\/#{$step}{
|
|
163
|
+
@apply transition-all ease-in-out duration-300;
|
|
164
|
+
&:hover{
|
|
165
|
+
background-color: color-mix(
|
|
166
|
+
in srgb,
|
|
167
|
+
var(--ion-color-#{$color})
|
|
168
|
+
math.percentage(math.div($step, 100)),
|
|
169
|
+
transparent
|
|
170
|
+
math.percentage(math.div(100 - $step, 100)) !important
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@include bg-colors($colors);
|
|
179
|
+
@include bg-colors-steps($colors, $steps);
|
|
180
|
+
|
|
181
|
+
//[ Borders ]
|
|
182
|
+
@mixin border-colors($colors){
|
|
183
|
+
@each $color in $colors {
|
|
184
|
+
.border-#{$color} {
|
|
185
|
+
border-color: var(--ion-color-#{$color});
|
|
186
|
+
}
|
|
187
|
+
.border-t-#{$color} {
|
|
188
|
+
border-top-color : var(--ion-color-#{$color});
|
|
189
|
+
}
|
|
190
|
+
.border-b-#{$color} {
|
|
191
|
+
border-bottom-color: var(--ion-color-#{$color});
|
|
192
|
+
}
|
|
193
|
+
.border-y-#{$color} {
|
|
194
|
+
border-top-color : var(--ion-color-#{$color});
|
|
195
|
+
border-bottom-color: var(--ion-color-#{$color});
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.border-l-#{$color} {
|
|
199
|
+
border-left-color : var(--ion-color-#{$color});
|
|
200
|
+
}
|
|
201
|
+
.border-r-#{$color} {
|
|
202
|
+
border-right-color: var(--ion-color-#{$color});
|
|
203
|
+
}
|
|
204
|
+
.border-x-#{$color} {
|
|
205
|
+
border-left-color : var(--ion-color-#{$color});
|
|
206
|
+
border-right-color: var(--ion-color-#{$color});
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.hover\:border-#{$color} {
|
|
210
|
+
@apply transition-all ease-in-out duration-300;
|
|
211
|
+
&:hover{
|
|
212
|
+
border-color: var(--ion-color-#{$color});
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.hover\:border-t-#{$color} {
|
|
217
|
+
@apply transition-all ease-in-out duration-300;
|
|
218
|
+
&:hover{
|
|
219
|
+
border-top-color: var(--ion-color-#{$color});
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
.hover\:border-b-#{$color} {
|
|
223
|
+
@apply transition-all ease-in-out duration-300;
|
|
224
|
+
&:hover{
|
|
225
|
+
border-bottom-color: var(--ion-color-#{$color});
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
.hover\:border-y-#{$color} {
|
|
229
|
+
@apply transition-all ease-in-out duration-300;
|
|
230
|
+
&:hover{
|
|
231
|
+
border-bottom-color: var(--ion-color-#{$color});
|
|
232
|
+
border-top-color : var(--ion-color-#{$color});
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.hover\:border-l-#{$color} {
|
|
237
|
+
@apply transition-all ease-in-out duration-300;
|
|
238
|
+
&:hover{
|
|
239
|
+
border-left-color: var(--ion-color-#{$color});
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
.hover\:border-r-#{$color} {
|
|
243
|
+
@apply transition-all ease-in-out duration-300;
|
|
244
|
+
&:hover{
|
|
245
|
+
border-right-color: var(--ion-color-#{$color});
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
.hover\:border-x-#{$color} {
|
|
249
|
+
@apply transition-all ease-in-out duration-300;
|
|
250
|
+
&:hover{
|
|
251
|
+
border-left-color : var(--ion-color-#{$color});
|
|
252
|
+
border-right-color: var(--ion-color-#{$color});
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
@mixin border-colors-steps($colors, $steps){
|
|
258
|
+
@each $color in $colors {
|
|
259
|
+
@each $step in $steps {
|
|
260
|
+
.border-#{$color}\/#{$step} {
|
|
261
|
+
border-color: color-mix(
|
|
262
|
+
in srgb,
|
|
263
|
+
var(--ion-color-#{$color})
|
|
264
|
+
math.percentage(math.div($step, 100)),
|
|
265
|
+
transparent
|
|
266
|
+
math.percentage(math.div(100 - $step, 100))
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.border-t-#{$color}\/#{$step} {
|
|
271
|
+
border-top-color: color-mix(
|
|
272
|
+
in srgb,
|
|
273
|
+
var(--ion-color-#{$color})
|
|
274
|
+
math.percentage(math.div($step, 100)),
|
|
275
|
+
transparent
|
|
276
|
+
math.percentage(math.div(100 - $step, 100))
|
|
277
|
+
);
|
|
278
|
+
}
|
|
279
|
+
.border-b-#{$color}\/#{$step} {
|
|
280
|
+
border-bottom-color: color-mix(
|
|
281
|
+
in srgb,
|
|
282
|
+
var(--ion-color-#{$color})
|
|
283
|
+
math.percentage(math.div($step, 100)),
|
|
284
|
+
transparent
|
|
285
|
+
math.percentage(math.div(100 - $step, 100))
|
|
286
|
+
);
|
|
287
|
+
}
|
|
288
|
+
.border-y-#{$color}\/#{$step} {
|
|
289
|
+
border-top-color: color-mix(
|
|
290
|
+
in srgb,
|
|
291
|
+
var(--ion-color-#{$color})
|
|
292
|
+
math.percentage(math.div($step, 100)),
|
|
293
|
+
transparent
|
|
294
|
+
math.percentage(math.div(100 - $step, 100))
|
|
295
|
+
);
|
|
296
|
+
border-bottom-color: color-mix(
|
|
297
|
+
in srgb,
|
|
298
|
+
var(--ion-color-#{$color})
|
|
299
|
+
math.percentage(math.div($step, 100)),
|
|
300
|
+
transparent
|
|
301
|
+
math.percentage(math.div(100 - $step, 100))
|
|
302
|
+
);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.border-l-#{$color}\/#{$step} {
|
|
306
|
+
border-left-color: color-mix(
|
|
307
|
+
in srgb,
|
|
308
|
+
var(--ion-color-#{$color})
|
|
309
|
+
math.percentage(math.div($step, 100)),
|
|
310
|
+
transparent
|
|
311
|
+
math.percentage(math.div(100 - $step, 100))
|
|
312
|
+
);
|
|
313
|
+
}
|
|
314
|
+
.border-r-#{$color}\/#{$step} {
|
|
315
|
+
border-right-color: color-mix(
|
|
316
|
+
in srgb,
|
|
317
|
+
var(--ion-color-#{$color})
|
|
318
|
+
math.percentage(math.div($step, 100)),
|
|
319
|
+
transparent
|
|
320
|
+
math.percentage(math.div(100 - $step, 100))
|
|
321
|
+
);
|
|
322
|
+
}
|
|
323
|
+
.border-x-#{$color}\/#{$step} {
|
|
324
|
+
border-left-color: color-mix(
|
|
325
|
+
in srgb,
|
|
326
|
+
var(--ion-color-#{$color})
|
|
327
|
+
math.percentage(math.div($step, 100)),
|
|
328
|
+
transparent
|
|
329
|
+
math.percentage(math.div(100 - $step, 100))
|
|
330
|
+
);
|
|
331
|
+
border-right-color: color-mix(
|
|
332
|
+
in srgb,
|
|
333
|
+
var(--ion-color-#{$color})
|
|
334
|
+
math.percentage(math.div($step, 100)),
|
|
335
|
+
transparent
|
|
336
|
+
math.percentage(math.div(100 - $step, 100))
|
|
337
|
+
);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.hover\:border-#{$color}\/#{$step}{
|
|
341
|
+
@apply transition-all ease-in-out duration-300;
|
|
342
|
+
&:hover{
|
|
343
|
+
border-color: color-mix(
|
|
344
|
+
in srgb,
|
|
345
|
+
var(--ion-color-#{$color})
|
|
346
|
+
math.percentage(math.div($step, 100)),
|
|
347
|
+
transparent
|
|
348
|
+
math.percentage(math.div(100 - $step, 100))
|
|
349
|
+
);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.hover\:border-t-#{$color}\/#{$step}{
|
|
354
|
+
@apply transition-all ease-in-out duration-300;
|
|
355
|
+
&:hover{
|
|
356
|
+
border-top-color: color-mix(
|
|
357
|
+
in srgb,
|
|
358
|
+
var(--ion-color-#{$color})
|
|
359
|
+
math.percentage(math.div($step, 100)),
|
|
360
|
+
transparent
|
|
361
|
+
math.percentage(math.div(100 - $step, 100))
|
|
362
|
+
);
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
.hover\:border-b-#{$color}\/#{$step}{
|
|
366
|
+
@apply transition-all ease-in-out duration-300;
|
|
367
|
+
&:hover{
|
|
368
|
+
border-bottom-color: color-mix(
|
|
369
|
+
in srgb,
|
|
370
|
+
var(--ion-color-#{$color})
|
|
371
|
+
math.percentage(math.div($step, 100)),
|
|
372
|
+
transparent
|
|
373
|
+
math.percentage(math.div(100 - $step, 100))
|
|
374
|
+
);
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
.hover\:border-y-#{$color}\/#{$step}{
|
|
378
|
+
@apply transition-all ease-in-out duration-300;
|
|
379
|
+
&:hover{
|
|
380
|
+
border-bottom-color: color-mix(
|
|
381
|
+
in srgb,
|
|
382
|
+
var(--ion-color-#{$color})
|
|
383
|
+
math.percentage(math.div($step, 100)),
|
|
384
|
+
transparent
|
|
385
|
+
math.percentage(math.div(100 - $step, 100))
|
|
386
|
+
);
|
|
387
|
+
border-top-color: color-mix(
|
|
388
|
+
in srgb,
|
|
389
|
+
var(--ion-color-#{$color})
|
|
390
|
+
math.percentage(math.div($step, 100)),
|
|
391
|
+
transparent
|
|
392
|
+
math.percentage(math.div(100 - $step, 100))
|
|
393
|
+
);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.hover\:border-l-#{$color}\/#{$step}{
|
|
398
|
+
@apply transition-all ease-in-out duration-300;
|
|
399
|
+
&:hover{
|
|
400
|
+
border-left-color: color-mix(
|
|
401
|
+
in srgb,
|
|
402
|
+
var(--ion-color-#{$color})
|
|
403
|
+
math.percentage(math.div($step, 100)),
|
|
404
|
+
transparent
|
|
405
|
+
math.percentage(math.div(100 - $step, 100))
|
|
406
|
+
);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
.hover\:border-r-#{$color}\/#{$step}{
|
|
410
|
+
@apply transition-all ease-in-out duration-300;
|
|
411
|
+
&:hover{
|
|
412
|
+
border-right-color: color-mix(
|
|
413
|
+
in srgb,
|
|
414
|
+
var(--ion-color-#{$color})
|
|
415
|
+
math.percentage(math.div($step, 100)),
|
|
416
|
+
transparent
|
|
417
|
+
math.percentage(math.div(100 - $step, 100))
|
|
418
|
+
);
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
.hover\:border-x-#{$color}\/#{$step}{
|
|
422
|
+
@apply transition-all ease-in-out duration-300;
|
|
423
|
+
&:hover{
|
|
424
|
+
border-left-color: color-mix(
|
|
425
|
+
in srgb,
|
|
426
|
+
var(--ion-color-#{$color})
|
|
427
|
+
math.percentage(math.div($step, 100)),
|
|
428
|
+
transparent
|
|
429
|
+
math.percentage(math.div(100 - $step, 100))
|
|
430
|
+
);
|
|
431
|
+
border-right-color: color-mix(
|
|
432
|
+
in srgb,
|
|
433
|
+
var(--ion-color-#{$color})
|
|
434
|
+
math.percentage(math.div($step, 100)),
|
|
435
|
+
transparent
|
|
436
|
+
math.percentage(math.div(100 - $step, 100))
|
|
437
|
+
);
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
@include border-colors($colors);
|
|
445
|
+
@include border-colors-steps($colors, $steps);
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
.mask-x{
|
|
449
|
+
mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 1%, rgba(0, 0, 0, 1) 99%, rgba(0, 0, 0, 0) 100%);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.mask-y{
|
|
453
|
+
mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 1%, rgba(0, 0, 0, 1) 99%, rgba(0, 0, 0, 0) 100%);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
$steps-mask: 2, 3, 4, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50;
|
|
457
|
+
@mixin masks($steps){
|
|
458
|
+
@each $step in $steps {
|
|
459
|
+
.mask-x\/#{$step} {
|
|
460
|
+
mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) math.percentage(math.div($step, 100)), rgba(0, 0, 0, 1) math.percentage(math.div(100 - $step, 100)), rgba(0, 0, 0, 0) 100%);
|
|
461
|
+
}
|
|
462
|
+
.mask-y\/#{$step} {
|
|
463
|
+
mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) math.percentage(math.div($step, 100)), rgba(0, 0, 0, 1) math.percentage(math.div(100 - $step, 100)), rgba(0, 0, 0, 0) 100%);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
@include masks($steps-mask);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./../src/lib/components/inputs/inputs.scss";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
$translucid-background-color : color-mix(in srgb, var(--ion-color-light) 95%, transparent 5%);
|
|
2
|
+
$translucid-primary-background-color : color-mix(in srgb, var(--ion-color-primary) 30%, transparent 70%);
|
|
3
|
+
$translucid-secondary-background-color : color-mix(in srgb, var(--ion-color-secondary) 30%, transparent 70%);
|
|
4
|
+
$translucid-tertiary-background-color : color-mix(in srgb, var(--ion-color-tertiary) 30%, transparent 70%);
|
|
5
|
+
$translucid-success-background-color : color-mix(in srgb, var(--ion-color-success) 30%, transparent 70%);
|
|
6
|
+
$translucid-warning-background-color : color-mix(in srgb, var(--ion-color-warning) 30%, transparent 70%);
|
|
7
|
+
$translucid-danger-background-color : color-mix(in srgb, var(--ion-color-danger) 30%, transparent 70%);
|
|
8
|
+
$translucid-dark-background-color : color-mix(in srgb, var(--ion-color-dark) 30%, transparent 70%);
|
|
9
|
+
$translucid-medium-background-color : color-mix(in srgb, var(--ion-color-medium) 30%, transparent 70%);
|
|
10
|
+
$translucid-light-background-color : color-mix(in srgb, var(--ion-color-light) 30%, transparent 70%);
|
|
11
|
+
|
|
12
|
+
$translucid-border-color : var(--ion-color-step-250);
|
|
13
|
+
$translucid-border-color-primary : color-mix(in srgb, var(--ion-color-primary) 20%, transparent 80%);
|
|
14
|
+
$translucid-border-color-secondary : color-mix(in srgb, var(--ion-color-secondary) 20%, transparent 80%);
|
|
15
|
+
$translucid-border-color-tertiary : color-mix(in srgb, var(--ion-color-tertiary) 20%, transparent 80%);
|
|
16
|
+
$translucid-border-color-success : color-mix(in srgb, var(--ion-color-success) 20%, transparent 80%);
|
|
17
|
+
$translucid-border-color-warning : color-mix(in srgb, var(--ion-color-warning) 20%, transparent 80%);
|
|
18
|
+
$translucid-border-color-danger : color-mix(in srgb, var(--ion-color-danger) 20%, transparent 80%);
|
|
19
|
+
$translucid-border-color-dark : color-mix(in srgb, var(--ion-color-dark) 20%, transparent 80%);
|
|
20
|
+
$translucid-border-color-medium : color-mix(in srgb, var(--ion-color-medium) 20%, transparent 80%);
|
|
21
|
+
$translucid-border-color-light : color-mix(in srgb, var(--ion-color-light) 20%, transparent 80%);
|