@unipin/angular-applet 18.9.3 → 18.9.5
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/.editorconfig +16 -0
- package/.eslintrc.json +72 -0
- package/.github/ISSUE_TEMPLATE/bug_fix.yml +60 -0
- package/.github/ISSUE_TEMPLATE/dependency_update.yml +20 -0
- package/.github/ISSUE_TEMPLATE/documentation.yml +13 -0
- package/.github/ISSUE_TEMPLATE/engineering.yml +22 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +38 -0
- package/.github/ISSUE_TEMPLATE/testing.yml +38 -0
- package/.github/dependabot.yml +11 -0
- package/.github/pull_request_template.md +77 -0
- package/.github/workflows/npm_publish.yml +52 -0
- package/.storybook/main.ts +28 -0
- package/.storybook/preview.ts +19 -0
- package/.storybook/test-runner.ts +29 -0
- package/.storybook/tsconfig.json +14 -0
- package/.storybook/typings.d.ts +4 -0
- package/.vscode/extensions.json +7 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/settings.json +16 -0
- package/.vscode/tasks.json +42 -0
- package/README.md +11 -8
- package/angular.json +102 -0
- package/codegen.yml +8 -0
- package/package.json +86 -38
- package/projects/unipin-angular/README.md +24 -0
- package/projects/unipin-angular/documentation.json +116258 -0
- package/projects/unipin-angular/ng-package.json +19 -0
- package/projects/unipin-angular/package-lock.json +23 -0
- package/projects/unipin-angular/package.json +32 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_accordion.scss +149 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_alert.scss +71 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_badge.scss +38 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_breadcrumb.scss +40 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_button-group.scss +142 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_buttons.scss +209 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_card.scss +234 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_carousel.scss +226 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_close.scss +40 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_containers.scss +41 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_dropdown.scss +249 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_forms.scss +9 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_functions.scss +302 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_grid.scss +33 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_helpers.scss +10 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_images.scss +42 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_list-group.scss +192 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_maps.scss +54 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_mixins.scss +43 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_modal.scss +237 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_nav.scss +172 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_navbar.scss +278 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_offcanvas.scss +144 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_pagination.scss +109 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_placeholders.scss +51 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_popover.scss +196 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_progress.scss +59 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_reboot.scss +610 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_root.scss +73 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_spinners.scss +85 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_tables.scss +164 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_toasts.scss +73 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_tooltip.scss +120 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_transitions.scss +27 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_type.scss +106 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_utilities.scss +647 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/_variables.scss +1634 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/bootstrap-grid.scss +64 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/bootstrap-reboot.scss +9 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/bootstrap-utilities.scss +18 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/bootstrap.scss +24 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/forms/_floating-labels.scss +75 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/forms/_form-check.scss +175 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/forms/_form-control.scss +195 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/forms/_form-range.scss +91 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/forms/_form-select.scss +71 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/forms/_form-text.scss +11 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/forms/_input-group.scss +132 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/forms/_labels.scss +36 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/forms/_validation.scss +12 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/helpers/_clearfix.scss +3 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/helpers/_color-bg.scss +10 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/helpers/_colored-links.scss +12 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/helpers/_position.scss +36 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/helpers/_ratio.scss +26 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/helpers/_stacks.scss +15 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/helpers/_stretched-link.scss +15 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/helpers/_text-truncation.scss +7 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/helpers/_visually-hidden.scss +8 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/helpers/_vr.scss +8 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_alert.scss +15 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_backdrop.scss +14 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_banner.scss +9 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_border-radius.scss +78 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_box-shadow.scss +18 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_breakpoints.scss +127 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_buttons.scss +70 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_caret.scss +64 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_clearfix.scss +9 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_color-scheme.scss +7 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_container.scss +11 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_deprecate.scss +10 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_forms.scss +152 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_gradients.scss +47 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_grid.scss +151 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_image.scss +16 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_list-group.scss +24 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_lists.scss +7 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_pagination.scss +10 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_reset-text.scss +17 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_resize.scss +6 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_table-variants.scss +24 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_text-truncate.scss +8 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_transition.scss +26 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_utilities.scss +97 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/mixins/_visually-hidden.scss +29 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/utilities/_api.scss +47 -0
- package/projects/unipin-angular/src/assets/private/scss/bootstrap/vendor/_rfs.scss +354 -0
- package/projects/unipin-angular/src/assets/private/scss/theme/variables.scss +59 -0
- package/projects/unipin-angular/src/graphql/generated.d.ts +715 -0
- package/projects/unipin-angular/src/graphql/generated.mjs +49 -0
- package/projects/unipin-angular/src/graphql/generated.ts +19998 -0
- package/projects/unipin-angular/src/lib/components/approval/detail/approval-detail.component.html +14 -0
- package/projects/unipin-angular/src/lib/components/approval/detail/approval-detail.component.scss +0 -0
- package/projects/unipin-angular/src/lib/components/approval/detail/approval-detail.component.ts +90 -0
- package/projects/unipin-angular/src/lib/components/approval/detail/approval-detail.stories.ts +61 -0
- package/projects/unipin-angular/src/lib/components/approval/form/approval-form.component.html +41 -0
- package/projects/unipin-angular/src/lib/components/approval/form/approval-form.component.scss +0 -0
- package/projects/unipin-angular/src/lib/components/approval/form/approval-form.component.ts +152 -0
- package/projects/unipin-angular/src/lib/components/approval/form/approval-form.stories.ts +111 -0
- package/{lib/components/approval/index.d.ts → projects/unipin-angular/src/lib/components/approval/index.ts} +1 -0
- package/projects/unipin-angular/src/lib/components/approval/list/approval-list.component.html +15 -0
- package/projects/unipin-angular/src/lib/components/approval/list/approval-list.component.scss +0 -0
- package/projects/unipin-angular/src/lib/components/approval/list/approval-list.component.ts +136 -0
- package/projects/unipin-angular/src/lib/components/approval/list/approval-list.stories.ts +141 -0
- package/projects/unipin-angular/src/lib/components/approval/list/provide-approval-entities.util.ts +10 -0
- package/projects/unipin-angular/src/lib/components/approval/services/approval.service.ts +46 -0
- package/projects/unipin-angular/src/lib/components/audit/detail/audit-detail.component.html +50 -0
- package/projects/unipin-angular/src/lib/components/audit/detail/audit-detail.component.scss +4 -0
- package/projects/unipin-angular/src/lib/components/audit/detail/audit-detail.component.spec.ts +51 -0
- package/projects/unipin-angular/src/lib/components/audit/detail/audit-detail.component.ts +141 -0
- package/projects/unipin-angular/src/lib/components/audit/detail/audit-detail.stories.ts +126 -0
- package/projects/unipin-angular/src/lib/components/audit/list/audit-list.component.html +5 -0
- package/projects/unipin-angular/src/lib/components/audit/list/audit-list.component.scss +0 -0
- package/projects/unipin-angular/src/lib/components/audit/list/audit-list.component.ts +85 -0
- package/projects/unipin-angular/src/lib/components/audit/list/audit-list.stories.ts +170 -0
- package/projects/unipin-angular/src/lib/components/audit/service/audit.service.ts +48 -0
- package/projects/unipin-angular/src/lib/components/audit/types/audit-detail-form.type.ts +13 -0
- package/projects/unipin-angular/src/lib/components/buttons/group/btn-group.component.html +42 -0
- package/projects/unipin-angular/src/lib/components/buttons/group/btn-group.component.scss +19 -0
- package/projects/unipin-angular/src/lib/components/buttons/group/btn-group.component.ts +72 -0
- package/projects/unipin-angular/src/lib/components/buttons/group/btn-group.stories.ts +132 -0
- package/projects/unipin-angular/src/lib/components/buttons/group/interfaces/btn-group-config.interface.ts +63 -0
- package/projects/unipin-angular/src/lib/components/buttons/loading/btn-loading.component.html +9 -0
- package/projects/unipin-angular/src/lib/components/buttons/loading/btn-loading.component.scss +8 -0
- package/projects/unipin-angular/src/lib/components/buttons/loading/btn-loading.component.ts +87 -0
- package/projects/unipin-angular/src/lib/components/buttons/loading/btn-loading.stories.ts +188 -0
- package/projects/unipin-angular/src/lib/components/containers/applet-container/applet-container.component.html +39 -0
- package/projects/unipin-angular/src/lib/components/containers/applet-container/applet-container.component.scss +68 -0
- package/projects/unipin-angular/src/lib/components/containers/applet-container/applet-container.component.ts +98 -0
- package/projects/unipin-angular/src/lib/components/containers/applet-container/provide-applet-config.util.ts +23 -0
- package/projects/unipin-angular/src/lib/components/containers/colum-header-container/column-header-container.component.html +17 -0
- package/projects/unipin-angular/src/lib/components/containers/colum-header-container/column-header-container.component.scss +4 -0
- package/projects/unipin-angular/src/lib/components/containers/colum-header-container/column-header-container.component.ts +32 -0
- package/projects/unipin-angular/src/lib/components/containers/colum-header-container/column-header.stories.ts +77 -0
- package/projects/unipin-angular/src/lib/components/containers/column-container/column-container.component.html +17 -0
- package/projects/unipin-angular/src/lib/components/containers/column-container/column-container.component.scss +0 -0
- package/projects/unipin-angular/src/lib/components/containers/column-container/column-container.component.ts +139 -0
- package/projects/unipin-angular/src/lib/components/containers/column-container/directives/lazy-route.directive.ts +86 -0
- package/{lib/components/containers/index.d.ts → projects/unipin-angular/src/lib/components/containers/index.ts} +1 -0
- package/{lib/components/containers/list-container/interfaces/list-container-config.interface.d.ts → projects/unipin-angular/src/lib/components/containers/list-container/interfaces/list-container-config.interface.ts} +5 -4
- package/projects/unipin-angular/src/lib/components/containers/list-container/list-pagination-container/list-pagination-container.component.html +19 -0
- package/projects/unipin-angular/src/lib/components/containers/list-container/list-pagination-container/list-pagination-container.component.scss +7 -0
- package/projects/unipin-angular/src/lib/components/containers/list-container/list-pagination-container/list-pagination-container.component.ts +113 -0
- package/projects/unipin-angular/src/lib/components/containers/list-container/list-pagination-container/list-pagination-container.stories.ts +207 -0
- package/projects/unipin-angular/src/lib/components/containers/list-container/list-snapshot-container/list-snapshot-container.component.html +19 -0
- package/projects/unipin-angular/src/lib/components/containers/list-container/list-snapshot-container/list-snapshot-container.component.scss +7 -0
- package/projects/unipin-angular/src/lib/components/containers/list-container/list-snapshot-container/list-snapshot-container.component.ts +114 -0
- package/projects/unipin-angular/src/lib/components/containers/list-container/list-snapshot-container/list-snapshot-container.stories.ts +212 -0
- package/projects/unipin-angular/src/lib/components/containers/modal-container/modal-container.component.html +15 -0
- package/projects/unipin-angular/src/lib/components/containers/modal-container/modal-container.component.scss +2 -0
- package/projects/unipin-angular/src/lib/components/containers/modal-container/modal-container.component.ts +88 -0
- package/projects/unipin-angular/src/lib/components/containers/modal-container/modal-container.stories.ts +66 -0
- package/projects/unipin-angular/src/lib/components/filter/filter.component.html +113 -0
- package/projects/unipin-angular/src/lib/components/filter/filter.component.scss +28 -0
- package/projects/unipin-angular/src/lib/components/filter/filter.component.ts +329 -0
- package/projects/unipin-angular/src/lib/components/filter/filter.stories.ts +176 -0
- package/{lib/components/filter/index.d.ts → projects/unipin-angular/src/lib/components/filter/index.ts} +1 -1
- package/projects/unipin-angular/src/lib/components/filter/interfaces/filter-config.interface.ts +17 -0
- package/projects/unipin-angular/src/lib/components/filter/interfaces/filter-field.interface.ts +80 -0
- package/projects/unipin-angular/src/lib/components/filter/interfaces/filter-search-event.interface.ts +15 -0
- package/projects/unipin-angular/src/lib/components/forms/country-input/form-country-input.component.html +19 -0
- package/projects/unipin-angular/src/lib/components/forms/country-input/form-country-input.component.scss +0 -0
- package/projects/unipin-angular/src/lib/components/forms/country-input/form-country-input.component.ts +210 -0
- package/projects/unipin-angular/src/lib/components/forms/country-input/form-country-input.stories.ts +175 -0
- package/projects/unipin-angular/src/lib/components/forms/currency-input/form-currency-input.component.html +42 -0
- package/projects/unipin-angular/src/lib/components/forms/currency-input/form-currency-input.component.scss +4 -0
- package/projects/unipin-angular/src/lib/components/forms/currency-input/form-currency-input.component.ts +285 -0
- package/projects/unipin-angular/src/lib/components/forms/currency-input/form-currency-input.spec.ts +119 -0
- package/projects/unipin-angular/src/lib/components/forms/currency-input/form-currency-input.stories.ts +243 -0
- package/projects/unipin-angular/src/lib/components/forms/date/form-date.component.html +27 -0
- package/projects/unipin-angular/src/lib/components/forms/date/form-date.component.scss +7 -0
- package/projects/unipin-angular/src/lib/components/forms/date/form-date.component.ts +225 -0
- package/projects/unipin-angular/src/lib/components/forms/date/form-date.stories.ts +201 -0
- package/projects/unipin-angular/src/lib/components/forms/image-picker/directives/drag-n-drop.directive.ts +40 -0
- package/projects/unipin-angular/src/lib/components/forms/image-picker/form-image-picker.component.html +29 -0
- package/projects/unipin-angular/src/lib/components/forms/image-picker/form-image-picker.component.scss +40 -0
- package/projects/unipin-angular/src/lib/components/forms/image-picker/form-image-picker.component.ts +109 -0
- package/projects/unipin-angular/src/lib/components/forms/image-picker/form-image-picker.stories.ts +133 -0
- package/projects/unipin-angular/src/lib/components/forms/input/form-input.component.html +22 -0
- package/projects/unipin-angular/src/lib/components/forms/input/form-input.component.scss +0 -0
- package/projects/unipin-angular/src/lib/components/forms/input/form-input.component.ts +177 -0
- package/projects/unipin-angular/src/lib/components/forms/input/form-input.stories.ts +185 -0
- package/projects/unipin-angular/src/lib/components/forms/number/form-number.component.html +6 -0
- package/projects/unipin-angular/src/lib/components/forms/number/form-number.component.scss +0 -0
- package/projects/unipin-angular/src/lib/components/forms/number/form-number.component.ts +176 -0
- package/projects/unipin-angular/src/lib/components/forms/number/form-number.spec.ts +62 -0
- package/projects/unipin-angular/src/lib/components/forms/number/form-number.stories.ts +150 -0
- package/projects/unipin-angular/src/lib/components/forms/number/pipes/locale-number.pipe.ts +32 -0
- package/projects/unipin-angular/src/lib/components/forms/password/form-password.component.html +11 -0
- package/projects/unipin-angular/src/lib/components/forms/password/form-password.component.scss +5 -0
- package/projects/unipin-angular/src/lib/components/forms/password/form-password.component.ts +177 -0
- package/projects/unipin-angular/src/lib/components/forms/password/form-password.stories.ts +151 -0
- package/projects/unipin-angular/src/lib/components/forms/rate-group-code-input/form-rate-group-code-input.component.html +30 -0
- package/projects/unipin-angular/src/lib/components/forms/rate-group-code-input/form-rate-group-code-input.component.scss +0 -0
- package/projects/unipin-angular/src/lib/components/forms/rate-group-code-input/form-rate-group-code-input.component.ts +271 -0
- package/projects/unipin-angular/src/lib/components/forms/rate-group-code-input/form-rate-group-code-input.stories.ts +248 -0
- package/projects/unipin-angular/src/lib/components/forms/searchable-select/form-searchable-select.component.html +28 -0
- package/projects/unipin-angular/src/lib/components/forms/searchable-select/form-searchable-select.component.scss +0 -0
- package/projects/unipin-angular/src/lib/components/forms/searchable-select/form-searchable-select.component.ts +281 -0
- package/projects/unipin-angular/src/lib/components/forms/searchable-select/form-searchable-select.stories.ts +267 -0
- package/projects/unipin-angular/src/lib/components/forms/select/form-select.component.html +25 -0
- package/projects/unipin-angular/src/lib/components/forms/select/form-select.component.scss +1 -0
- package/projects/unipin-angular/src/lib/components/forms/select/form-select.component.ts +223 -0
- package/projects/unipin-angular/src/lib/components/forms/select/form-select.stories.ts +220 -0
- package/projects/unipin-angular/src/lib/components/forms/textarea/form-textarea.component.html +9 -0
- package/projects/unipin-angular/src/lib/components/forms/textarea/form-textarea.component.scss +0 -0
- package/projects/unipin-angular/src/lib/components/forms/textarea/form-textarea.component.ts +146 -0
- package/projects/unipin-angular/src/lib/components/forms/textarea/form-textarea.stories.ts +163 -0
- package/projects/unipin-angular/src/lib/components/grids/grid-pagination/grid-pagination.component.html +17 -0
- package/projects/unipin-angular/src/lib/components/grids/grid-pagination/grid-pagination.component.scss +8 -0
- package/projects/unipin-angular/src/lib/components/grids/grid-pagination/grid-pagination.component.ts +224 -0
- package/projects/unipin-angular/src/lib/components/grids/grid-pagination/grid-pagination.stories.ts +219 -0
- package/projects/unipin-angular/src/lib/components/grids/grid-snapshot/grid-snapshot.component.html +17 -0
- package/projects/unipin-angular/src/lib/components/grids/grid-snapshot/grid-snapshot.component.scss +8 -0
- package/projects/unipin-angular/src/lib/components/grids/grid-snapshot/grid-snapshot.component.ts +229 -0
- package/projects/unipin-angular/src/lib/components/grids/grid-snapshot/grid-snapshot.stories.ts +173 -0
- package/projects/unipin-angular/src/lib/components/grids/interfaces/grid-config.interface.ts +44 -0
- package/projects/unipin-angular/src/lib/components/grids/services/grid.service.ts +23 -0
- package/{lib/components/index.d.ts → projects/unipin-angular/src/lib/components/index.ts} +14 -2
- package/projects/unipin-angular/src/lib/components/infinite-scroll/directive/infinite-scroll.directive.ts +72 -0
- package/projects/unipin-angular/src/lib/components/infinite-scroll/infinite-scroll.component.html +13 -0
- package/projects/unipin-angular/src/lib/components/infinite-scroll/infinite-scroll.component.scss +10 -0
- package/projects/unipin-angular/src/lib/components/infinite-scroll/infinite-scroll.component.ts +61 -0
- package/projects/unipin-angular/src/lib/components/infinite-scroll/infinite-scroll.stories.ts +80 -0
- package/{lib/components/tabs/index.d.ts → projects/unipin-angular/src/lib/components/tabs/index.ts} +3 -2
- package/projects/unipin-angular/src/lib/components/tabs/tab-content/tab-content.component.html +3 -0
- package/projects/unipin-angular/src/lib/components/tabs/tab-content/tab-content.component.scss +6 -0
- package/projects/unipin-angular/src/lib/components/tabs/tab-content/tab-content.component.ts +56 -0
- package/projects/unipin-angular/src/lib/components/tabs/tab-group/tab-group.component.html +24 -0
- package/projects/unipin-angular/src/lib/components/tabs/tab-group/tab-group.component.scss +39 -0
- package/projects/unipin-angular/src/lib/components/tabs/tab-group/tab-group.component.ts +92 -0
- package/projects/unipin-angular/src/lib/components/tabs/tab.stories.ts +117 -0
- package/projects/unipin-angular/src/lib/guards/auth/auth.guard.ts +11 -0
- package/projects/unipin-angular/src/lib/interceptors/header/header.interceptor.ts +36 -0
- package/projects/unipin-angular/src/lib/interceptors/refresh-token/refresh-token.interceptor.ts +123 -0
- package/projects/unipin-angular/src/lib/interfaces/user/user.interface.ts +27 -0
- package/projects/unipin-angular/src/lib/modules/index.ts +11 -0
- package/projects/unipin-angular/src/lib/modules/micro-frontend/utils/mf-bootstrap.util.ts +74 -0
- package/projects/unipin-angular/src/lib/modules/micro-frontend/utils/mf-global-state.util.ts +20 -0
- package/projects/unipin-angular/src/lib/modules/permission/directive/permission.directive.spec.ts +50 -0
- package/projects/unipin-angular/src/lib/modules/permission/directive/permission.directive.ts +68 -0
- package/projects/unipin-angular/src/lib/modules/permission/guards/permission.guard.spec.ts +76 -0
- package/projects/unipin-angular/src/lib/modules/permission/guards/permission.guard.ts +30 -0
- package/{lib/modules/permission/index.d.ts → projects/unipin-angular/src/lib/modules/permission/index.ts} +1 -0
- package/projects/unipin-angular/src/lib/modules/permission/pages/401/unauthorized.page.html +3 -0
- package/projects/unipin-angular/src/lib/modules/permission/pages/401/unauthorized.page.scss +3 -0
- package/projects/unipin-angular/src/lib/modules/permission/pages/401/unauthorized.page.ts +14 -0
- package/projects/unipin-angular/src/lib/modules/permission/pages/loading/loading.page.html +2 -0
- package/projects/unipin-angular/src/lib/modules/permission/pages/loading/loading.page.scss +4 -0
- package/projects/unipin-angular/src/lib/modules/permission/pages/loading/loading.page.ts +76 -0
- package/projects/unipin-angular/src/lib/modules/permission/pages/loading/provide-loading-config.util.ts +18 -0
- package/projects/unipin-angular/src/lib/modules/permission/services/permission.service.spec.ts +62 -0
- package/projects/unipin-angular/src/lib/modules/permission/services/permission.service.ts +78 -0
- package/projects/unipin-angular/src/lib/resolvers/auth/auth.resolver.spec.ts +46 -0
- package/projects/unipin-angular/src/lib/resolvers/auth/auth.resolver.ts +144 -0
- package/projects/unipin-angular/src/lib/services/auth/auth.service.ts +243 -0
- package/projects/unipin-angular/src/lib/services/country/country.service.ts +47 -0
- package/projects/unipin-angular/src/lib/services/currency/currency.service.ts +44 -0
- package/projects/unipin-angular/src/lib/services/profile/profile.service.ts +86 -0
- package/projects/unipin-angular/src/lib/services/rate-group-code/rate-group-code.service.ts +29 -0
- package/projects/unipin-angular/src/lib/utils/contrast-color-generator/contrast-color-generator.util.spec.ts +19 -0
- package/projects/unipin-angular/src/lib/utils/contrast-color-generator/contrast-color-generator.util.ts +28 -0
- package/projects/unipin-angular/src/lib/utils/form-error-message/form-error-message.util.spec.ts +58 -0
- package/projects/unipin-angular/src/lib/utils/form-error-message/form-error-message.util.ts +30 -0
- package/projects/unipin-angular/src/lib/utils/format-capitalize/format-capitalize.util.spec.ts +30 -0
- package/projects/unipin-angular/src/lib/utils/format-capitalize/format-capitalize.util.ts +22 -0
- package/projects/unipin-angular/src/lib/utils/redirect-to-first-menu/redirect-to-first-menu.util.ts +15 -0
- package/projects/unipin-angular/src/public-api.ts +126 -0
- package/projects/unipin-angular/tsconfig.lib.json +14 -0
- package/projects/unipin-angular/tsconfig.lib.prod.json +10 -0
- package/projects/unipin-angular/tsconfig.spec.json +14 -0
- package/snapshot-serializer.js +12 -0
- package/test-runner-jest.config.js +13 -0
- package/tsconfig.json +51 -0
- package/esm2022/graphql/generated.mjs +0 -938
- package/esm2022/lib/components/approval/detail/approval-detail.component.mjs +0 -78
- package/esm2022/lib/components/approval/form/approval-form.component.mjs +0 -128
- package/esm2022/lib/components/approval/index.mjs +0 -5
- package/esm2022/lib/components/approval/list/approval-list.component.mjs +0 -114
- package/esm2022/lib/components/approval/list/provide-approval-entities.util.mjs +0 -9
- package/esm2022/lib/components/approval/services/approval.service.mjs +0 -46
- package/esm2022/lib/components/audit/detail/audit-detail.component.mjs +0 -123
- package/esm2022/lib/components/audit/index.mjs +0 -3
- package/esm2022/lib/components/audit/list/audit-list.component.mjs +0 -81
- package/esm2022/lib/components/audit/service/audit.service.mjs +0 -49
- package/esm2022/lib/components/audit/types/audit-detail-form.type.mjs +0 -2
- package/esm2022/lib/components/buttons/group/btn-group.component.mjs +0 -43
- package/esm2022/lib/components/buttons/group/interfaces/btn-group-config.interface.mjs +0 -2
- package/esm2022/lib/components/buttons/index.mjs +0 -3
- package/esm2022/lib/components/buttons/loading/btn-loading.component.mjs +0 -48
- package/esm2022/lib/components/containers/applet-container/applet-container.component.mjs +0 -55
- package/esm2022/lib/components/containers/applet-container/provide-applet-config.util.mjs +0 -9
- package/esm2022/lib/components/containers/colum-header-container/column-header-container.component.mjs +0 -23
- package/esm2022/lib/components/containers/column-container/column-container.component.mjs +0 -79
- package/esm2022/lib/components/containers/column-container/directives/lazy-route.directive.mjs +0 -57
- package/esm2022/lib/components/containers/index.mjs +0 -7
- package/esm2022/lib/components/containers/list-container/index.mjs +0 -3
- package/esm2022/lib/components/containers/list-container/interfaces/list-container-config.interface.mjs +0 -2
- package/esm2022/lib/components/containers/list-container/list-pagination-container/list-pagination-container.component.mjs +0 -58
- package/esm2022/lib/components/containers/list-container/list-snapshot-container/list-snapshot-container.component.mjs +0 -57
- package/esm2022/lib/components/containers/modal-container/modal-container.component.mjs +0 -40
- package/esm2022/lib/components/filter/filter.component.mjs +0 -222
- package/esm2022/lib/components/filter/index.mjs +0 -2
- package/esm2022/lib/components/filter/interfaces/filter-config.interface.mjs +0 -2
- package/esm2022/lib/components/filter/interfaces/filter-field.interface.mjs +0 -2
- package/esm2022/lib/components/filter/interfaces/filter-search-event.interface.mjs +0 -2
- package/esm2022/lib/components/forms/country-input/form-country-input.component.mjs +0 -122
- package/esm2022/lib/components/forms/currency-input/form-currency-input.component.mjs +0 -157
- package/esm2022/lib/components/forms/date/form-date.component.mjs +0 -114
- package/esm2022/lib/components/forms/image-picker/directives/drag-n-drop.directive.mjs +0 -49
- package/esm2022/lib/components/forms/image-picker/form-image-picker.component.mjs +0 -68
- package/esm2022/lib/components/forms/index.mjs +0 -12
- package/esm2022/lib/components/forms/input/form-input.component.mjs +0 -98
- package/esm2022/lib/components/forms/number/form-number.component.mjs +0 -97
- package/esm2022/lib/components/forms/number/pipes/locale-number.pipe.mjs +0 -33
- package/esm2022/lib/components/forms/password/form-password.component.mjs +0 -100
- package/esm2022/lib/components/forms/rate-group-code-input/form-rate-group-code-input.component.mjs +0 -135
- package/esm2022/lib/components/forms/searchable-select/form-searchable-select.component.mjs +0 -138
- package/esm2022/lib/components/forms/select/form-select.component.mjs +0 -116
- package/esm2022/lib/components/forms/textarea/form-textarea.component.mjs +0 -88
- package/esm2022/lib/components/grids/grid-pagination/grid-pagination.component.mjs +0 -111
- package/esm2022/lib/components/grids/grid-snapshot/grid-snapshot.component.mjs +0 -109
- package/esm2022/lib/components/grids/index.mjs +0 -4
- package/esm2022/lib/components/grids/interfaces/grid-config.interface.mjs +0 -2
- package/esm2022/lib/components/grids/services/grid.service.mjs +0 -25
- package/esm2022/lib/components/index.mjs +0 -9
- package/esm2022/lib/components/infinite-scroll/directive/infinite-scroll.directive.mjs +0 -43
- package/esm2022/lib/components/infinite-scroll/index.mjs +0 -3
- package/esm2022/lib/components/infinite-scroll/infinite-scroll.component.mjs +0 -36
- package/esm2022/lib/components/tabs/index.mjs +0 -3
- package/esm2022/lib/components/tabs/tab-content/tab-content.component.mjs +0 -37
- package/esm2022/lib/components/tabs/tab-group/tab-group.component.mjs +0 -47
- package/esm2022/lib/guards/auth/auth.guard.mjs +0 -10
- package/esm2022/lib/guards/index.mjs +0 -2
- package/esm2022/lib/interceptors/header/header.interceptor.mjs +0 -29
- package/esm2022/lib/interceptors/index.mjs +0 -3
- package/esm2022/lib/interceptors/refresh-token/refresh-token.interceptor.mjs +0 -83
- package/esm2022/lib/interfaces/index.mjs +0 -2
- package/esm2022/lib/interfaces/user/user.interface.mjs +0 -2
- package/esm2022/lib/modules/index.mjs +0 -3
- package/esm2022/lib/modules/micro-frontend/index.mjs +0 -2
- package/esm2022/lib/modules/micro-frontend/utils/mf-bootstrap.util.mjs +0 -55
- package/esm2022/lib/modules/micro-frontend/utils/mf-global-state.util.mjs +0 -14
- package/esm2022/lib/modules/permission/directive/permission.directive.mjs +0 -41
- package/esm2022/lib/modules/permission/guards/permission.guard.mjs +0 -26
- package/esm2022/lib/modules/permission/index.mjs +0 -7
- package/esm2022/lib/modules/permission/pages/401/unauthorized.page.mjs +0 -15
- package/esm2022/lib/modules/permission/pages/loading/loading.page.mjs +0 -65
- package/esm2022/lib/modules/permission/pages/loading/provide-loading-config.util.mjs +0 -9
- package/esm2022/lib/modules/permission/services/permission.service.mjs +0 -50
- package/esm2022/lib/resolvers/auth/auth.resolver.mjs +0 -87
- package/esm2022/lib/resolvers/index.mjs +0 -2
- package/esm2022/lib/services/auth/auth.service.mjs +0 -171
- package/esm2022/lib/services/country/country.service.mjs +0 -43
- package/esm2022/lib/services/currency/currency.service.mjs +0 -40
- package/esm2022/lib/services/index.mjs +0 -6
- package/esm2022/lib/services/profile/profile.service.mjs +0 -82
- package/esm2022/lib/services/rate-group-code/rate-group-code.service.mjs +0 -31
- package/esm2022/lib/utils/contrast-color-generator/contrast-color-generator.util.mjs +0 -16
- package/esm2022/lib/utils/form-error-message/form-error-message.util.mjs +0 -21
- package/esm2022/lib/utils/format-capitalize/format-capitalize.util.mjs +0 -18
- package/esm2022/lib/utils/index.mjs +0 -5
- package/esm2022/lib/utils/redirect-to-first-menu/redirect-to-first-menu.util.mjs +0 -9
- package/esm2022/public-api.mjs +0 -10
- package/esm2022/unipin-angular-applet.mjs +0 -2
- package/fesm2022/unipin-angular-applet.mjs +0 -4614
- package/fesm2022/unipin-angular-applet.mjs.map +0 -1
- package/graphql/generated.d.ts +0 -16225
- package/index.d.ts +0 -2
- package/lib/components/approval/detail/approval-detail.component.d.ts +0 -26
- package/lib/components/approval/form/approval-form.component.d.ts +0 -33
- package/lib/components/approval/list/approval-list.component.d.ts +0 -33
- package/lib/components/approval/list/provide-approval-entities.util.d.ts +0 -3
- package/lib/components/approval/services/approval.service.d.ts +0 -18
- package/lib/components/audit/detail/audit-detail.component.d.ts +0 -33
- package/lib/components/audit/list/audit-list.component.d.ts +0 -31
- package/lib/components/audit/service/audit.service.d.ts +0 -15
- package/lib/components/audit/types/audit-detail-form.type.d.ts +0 -12
- package/lib/components/buttons/group/btn-group.component.d.ts +0 -18
- package/lib/components/buttons/group/interfaces/btn-group-config.interface.d.ts +0 -11
- package/lib/components/buttons/loading/btn-loading.component.d.ts +0 -19
- package/lib/components/containers/applet-container/applet-container.component.d.ts +0 -22
- package/lib/components/containers/applet-container/provide-applet-config.util.d.ts +0 -15
- package/lib/components/containers/colum-header-container/column-header-container.component.d.ts +0 -7
- package/lib/components/containers/column-container/column-container.component.d.ts +0 -26
- package/lib/components/containers/column-container/directives/lazy-route.directive.d.ts +0 -17
- package/lib/components/containers/list-container/list-pagination-container/list-pagination-container.component.d.ts +0 -23
- package/lib/components/containers/list-container/list-snapshot-container/list-snapshot-container.component.d.ts +0 -23
- package/lib/components/containers/modal-container/modal-container.component.d.ts +0 -16
- package/lib/components/filter/filter.component.d.ts +0 -44
- package/lib/components/filter/interfaces/filter-config.interface.d.ts +0 -5
- package/lib/components/filter/interfaces/filter-field.interface.d.ts +0 -23
- package/lib/components/filter/interfaces/filter-search-event.interface.d.ts +0 -4
- package/lib/components/forms/country-input/form-country-input.component.d.ts +0 -41
- package/lib/components/forms/currency-input/form-currency-input.component.d.ts +0 -52
- package/lib/components/forms/date/form-date.component.d.ts +0 -32
- package/lib/components/forms/image-picker/directives/drag-n-drop.directive.d.ts +0 -10
- package/lib/components/forms/image-picker/form-image-picker.component.d.ts +0 -21
- package/lib/components/forms/input/form-input.component.d.ts +0 -31
- package/lib/components/forms/number/form-number.component.d.ts +0 -27
- package/lib/components/forms/number/pipes/locale-number.pipe.d.ts +0 -8
- package/lib/components/forms/password/form-password.component.d.ts +0 -27
- package/lib/components/forms/rate-group-code-input/form-rate-group-code-input.component.d.ts +0 -41
- package/lib/components/forms/searchable-select/form-searchable-select.component.d.ts +0 -42
- package/lib/components/forms/select/form-select.component.d.ts +0 -33
- package/lib/components/forms/textarea/form-textarea.component.d.ts +0 -26
- package/lib/components/grids/grid-pagination/grid-pagination.component.d.ts +0 -33
- package/lib/components/grids/grid-snapshot/grid-snapshot.component.d.ts +0 -36
- package/lib/components/grids/interfaces/grid-config.interface.d.ts +0 -16
- package/lib/components/grids/services/grid.service.d.ts +0 -12
- package/lib/components/infinite-scroll/directive/infinite-scroll.directive.d.ts +0 -15
- package/lib/components/infinite-scroll/infinite-scroll.component.d.ts +0 -12
- package/lib/components/tabs/tab-content/tab-content.component.d.ts +0 -14
- package/lib/components/tabs/tab-group/tab-group.component.d.ts +0 -18
- package/lib/guards/auth/auth.guard.d.ts +0 -1
- package/lib/interceptors/header/header.interceptor.d.ts +0 -9
- package/lib/interceptors/refresh-token/refresh-token.interceptor.d.ts +0 -14
- package/lib/interfaces/user/user.interface.d.ts +0 -27
- package/lib/modules/index.d.ts +0 -2
- package/lib/modules/micro-frontend/utils/mf-bootstrap.util.d.ts +0 -9
- package/lib/modules/micro-frontend/utils/mf-global-state.util.d.ts +0 -4
- package/lib/modules/permission/directive/permission.directive.d.ts +0 -16
- package/lib/modules/permission/guards/permission.guard.d.ts +0 -2
- package/lib/modules/permission/pages/401/unauthorized.page.d.ts +0 -5
- package/lib/modules/permission/pages/loading/loading.page.d.ts +0 -18
- package/lib/modules/permission/pages/loading/provide-loading-config.util.d.ts +0 -10
- package/lib/modules/permission/services/permission.service.d.ts +0 -21
- package/lib/resolvers/auth/auth.resolver.d.ts +0 -14
- package/lib/services/auth/auth.service.d.ts +0 -39
- package/lib/services/country/country.service.d.ts +0 -16
- package/lib/services/currency/currency.service.d.ts +0 -16
- package/lib/services/profile/profile.service.d.ts +0 -12
- package/lib/services/rate-group-code/rate-group-code.service.d.ts +0 -14
- package/lib/utils/contrast-color-generator/contrast-color-generator.util.d.ts +0 -4
- package/lib/utils/form-error-message/form-error-message.util.d.ts +0 -2
- package/lib/utils/format-capitalize/format-capitalize.util.d.ts +0 -1
- package/lib/utils/redirect-to-first-menu/redirect-to-first-menu.util.d.ts +0 -2
- package/public-api.d.ts +0 -11
- /package/{src → projects/unipin-angular/src}/assets/scss/forms.scss +0 -0
- /package/{src → projects/unipin-angular/src}/assets/scss/grid.scss +0 -0
- /package/{src → projects/unipin-angular/src}/assets/scss/select.scss +0 -0
- /package/{lib/components/audit/index.d.ts → projects/unipin-angular/src/lib/components/audit/index.ts} +0 -0
- /package/{lib/components/buttons/index.d.ts → projects/unipin-angular/src/lib/components/buttons/index.ts} +0 -0
- /package/{lib/components/containers/list-container/index.d.ts → projects/unipin-angular/src/lib/components/containers/list-container/index.ts} +0 -0
- /package/{lib/components/forms/index.d.ts → projects/unipin-angular/src/lib/components/forms/index.ts} +0 -0
- /package/{lib/components/grids/index.d.ts → projects/unipin-angular/src/lib/components/grids/index.ts} +0 -0
- /package/{lib/components/infinite-scroll/index.d.ts → projects/unipin-angular/src/lib/components/infinite-scroll/index.ts} +0 -0
- /package/{lib/guards/index.d.ts → projects/unipin-angular/src/lib/guards/index.ts} +0 -0
- /package/{lib/interceptors/index.d.ts → projects/unipin-angular/src/lib/interceptors/index.ts} +0 -0
- /package/{lib/interfaces/index.d.ts → projects/unipin-angular/src/lib/interfaces/index.ts} +0 -0
- /package/{lib/modules/micro-frontend/index.d.ts → projects/unipin-angular/src/lib/modules/micro-frontend/index.ts} +0 -0
- /package/{lib/resolvers/index.d.ts → projects/unipin-angular/src/lib/resolvers/index.ts} +0 -0
- /package/{lib/services/index.d.ts → projects/unipin-angular/src/lib/services/index.ts} +0 -0
- /package/{lib/utils/index.d.ts → projects/unipin-angular/src/lib/utils/index.ts} +0 -0
|
@@ -0,0 +1,610 @@
|
|
|
1
|
+
// stylelint-disable declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
// Reboot
|
|
5
|
+
//
|
|
6
|
+
// Normalization of HTML elements, manually forked from Normalize.css to remove
|
|
7
|
+
// styles targeting irrelevant browsers while applying new styles.
|
|
8
|
+
//
|
|
9
|
+
// Normalize is licensed MIT. https://github.com/necolas/normalize.css
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
// Document
|
|
13
|
+
//
|
|
14
|
+
// Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
|
|
15
|
+
|
|
16
|
+
*,
|
|
17
|
+
*::before,
|
|
18
|
+
*::after {
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
// Root
|
|
24
|
+
//
|
|
25
|
+
// Ability to the value of the root font sizes, affecting the value of `rem`.
|
|
26
|
+
// null by default, thus nothing is generated.
|
|
27
|
+
|
|
28
|
+
:root {
|
|
29
|
+
@if $font-size-root != null {
|
|
30
|
+
@include font-size(var(--#{$prefix}root-font-size));
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@if $enable-smooth-scroll {
|
|
34
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
35
|
+
scroll-behavior: smooth;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
// Body
|
|
42
|
+
//
|
|
43
|
+
// 1. Remove the margin in all browsers.
|
|
44
|
+
// 2. As a best practice, apply a default `background-color`.
|
|
45
|
+
// 3. Prevent adjustments of font size after orientation changes in iOS.
|
|
46
|
+
// 4. Change the default tap highlight to be completely transparent in iOS.
|
|
47
|
+
|
|
48
|
+
// scss-docs-start reboot-body-rules
|
|
49
|
+
body {
|
|
50
|
+
margin: 0; // 1
|
|
51
|
+
font-family: var(--#{$prefix}body-font-family);
|
|
52
|
+
@include font-size(var(--#{$prefix}body-font-size));
|
|
53
|
+
font-weight: var(--#{$prefix}body-font-weight);
|
|
54
|
+
line-height: var(--#{$prefix}body-line-height);
|
|
55
|
+
color: var(--#{$prefix}body-color);
|
|
56
|
+
text-align: var(--#{$prefix}body-text-align);
|
|
57
|
+
// background-color: var(--#{$prefix}body-bg); // 2
|
|
58
|
+
-webkit-text-size-adjust: 100%; // 3
|
|
59
|
+
-webkit-tap-highlight-color: rgba($black, 0); // 4
|
|
60
|
+
}
|
|
61
|
+
// scss-docs-end reboot-body-rules
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
// Content grouping
|
|
65
|
+
//
|
|
66
|
+
// 1. Reset Firefox's gray color
|
|
67
|
+
|
|
68
|
+
hr {
|
|
69
|
+
margin: $hr-margin-y 0;
|
|
70
|
+
color: $hr-color; // 1
|
|
71
|
+
border: 0;
|
|
72
|
+
border-top: $hr-border-width solid $hr-border-color;
|
|
73
|
+
opacity: $hr-opacity;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
// Typography
|
|
78
|
+
//
|
|
79
|
+
// 1. Remove top margins from headings
|
|
80
|
+
// By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
|
|
81
|
+
// margin for easier control within type scales as it avoids margin collapsing.
|
|
82
|
+
|
|
83
|
+
%heading {
|
|
84
|
+
margin-top: 0; // 1
|
|
85
|
+
margin-bottom: $headings-margin-bottom;
|
|
86
|
+
font-family: $headings-font-family;
|
|
87
|
+
font-style: $headings-font-style;
|
|
88
|
+
font-weight: $headings-font-weight;
|
|
89
|
+
line-height: $headings-line-height;
|
|
90
|
+
color: $headings-color;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
h1 {
|
|
94
|
+
@extend %heading;
|
|
95
|
+
@include font-size($h1-font-size);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
h2 {
|
|
99
|
+
@extend %heading;
|
|
100
|
+
@include font-size($h2-font-size);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
h3 {
|
|
104
|
+
@extend %heading;
|
|
105
|
+
@include font-size($h3-font-size);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
h4 {
|
|
109
|
+
@extend %heading;
|
|
110
|
+
@include font-size($h4-font-size);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
h5 {
|
|
114
|
+
@extend %heading;
|
|
115
|
+
@include font-size($h5-font-size);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
h6 {
|
|
119
|
+
@extend %heading;
|
|
120
|
+
@include font-size($h6-font-size);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
// Reset margins on paragraphs
|
|
125
|
+
//
|
|
126
|
+
// Similarly, the top margin on `<p>`s get reset. However, we also reset the
|
|
127
|
+
// bottom margin to use `rem` units instead of `em`.
|
|
128
|
+
|
|
129
|
+
p {
|
|
130
|
+
margin-top: 0;
|
|
131
|
+
margin-bottom: $paragraph-margin-bottom;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
// Abbreviations
|
|
136
|
+
//
|
|
137
|
+
// 1. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
|
|
138
|
+
// 2. Add explicit cursor to indicate changed behavior.
|
|
139
|
+
// 3. Prevent the text-decoration to be skipped.
|
|
140
|
+
|
|
141
|
+
abbr[title] {
|
|
142
|
+
text-decoration: underline dotted; // 1
|
|
143
|
+
cursor: help; // 2
|
|
144
|
+
text-decoration-skip-ink: none; // 3
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
// Address
|
|
149
|
+
|
|
150
|
+
address {
|
|
151
|
+
margin-bottom: 1rem;
|
|
152
|
+
font-style: normal;
|
|
153
|
+
line-height: inherit;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
// Lists
|
|
158
|
+
|
|
159
|
+
ol,
|
|
160
|
+
ul {
|
|
161
|
+
padding-left: 2rem;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
ol,
|
|
165
|
+
ul,
|
|
166
|
+
dl {
|
|
167
|
+
margin-top: 0;
|
|
168
|
+
margin-bottom: 1rem;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
ol ol,
|
|
172
|
+
ul ul,
|
|
173
|
+
ol ul,
|
|
174
|
+
ul ol {
|
|
175
|
+
margin-bottom: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
dt {
|
|
179
|
+
font-weight: $dt-font-weight;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// 1. Undo browser default
|
|
183
|
+
|
|
184
|
+
dd {
|
|
185
|
+
margin-bottom: .5rem;
|
|
186
|
+
margin-left: 0; // 1
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
// Blockquote
|
|
191
|
+
|
|
192
|
+
blockquote {
|
|
193
|
+
margin: 0 0 1rem;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
// Strong
|
|
198
|
+
//
|
|
199
|
+
// Add the correct font weight in Chrome, Edge, and Safari
|
|
200
|
+
|
|
201
|
+
b,
|
|
202
|
+
strong {
|
|
203
|
+
font-weight: $font-weight-bolder;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
// Small
|
|
208
|
+
//
|
|
209
|
+
// Add the correct font size in all browsers
|
|
210
|
+
|
|
211
|
+
small {
|
|
212
|
+
@include font-size($small-font-size);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
// Mark
|
|
217
|
+
|
|
218
|
+
mark {
|
|
219
|
+
padding: $mark-padding;
|
|
220
|
+
background-color: var(--#{$prefix}highlight-bg);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
// Sub and Sup
|
|
225
|
+
//
|
|
226
|
+
// Prevent `sub` and `sup` elements from affecting the line height in
|
|
227
|
+
// all browsers.
|
|
228
|
+
|
|
229
|
+
sub,
|
|
230
|
+
sup {
|
|
231
|
+
position: relative;
|
|
232
|
+
@include font-size($sub-sup-font-size);
|
|
233
|
+
line-height: 0;
|
|
234
|
+
vertical-align: baseline;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
sub { bottom: -.25em; }
|
|
238
|
+
sup { top: -.5em; }
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
// Links
|
|
242
|
+
|
|
243
|
+
a {
|
|
244
|
+
color: var(--#{$prefix}link-color);
|
|
245
|
+
text-decoration: $link-decoration;
|
|
246
|
+
|
|
247
|
+
&:hover {
|
|
248
|
+
color: var(--#{$prefix}link-hover-color);
|
|
249
|
+
text-decoration: $link-hover-decoration;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
// And undo these styles for placeholder links/named anchors (without href).
|
|
254
|
+
// It would be more straightforward to just use a[href] in previous block, but that
|
|
255
|
+
// causes specificity issues in many other styles that are too complex to fix.
|
|
256
|
+
// See https://github.com/twbs/bootstrap/issues/19402
|
|
257
|
+
|
|
258
|
+
a:not([href]):not([class]) {
|
|
259
|
+
&,
|
|
260
|
+
&:hover {
|
|
261
|
+
color: inherit;
|
|
262
|
+
text-decoration: none;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
// Code
|
|
268
|
+
|
|
269
|
+
pre,
|
|
270
|
+
code,
|
|
271
|
+
kbd,
|
|
272
|
+
samp {
|
|
273
|
+
font-family: $font-family-code;
|
|
274
|
+
@include font-size(1em); // Correct the odd `em` font sizing in all browsers.
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// 1. Remove browser default top margin
|
|
278
|
+
// 2. Reset browser default of `1em` to use `rem`s
|
|
279
|
+
// 3. Don't allow content to break outside
|
|
280
|
+
|
|
281
|
+
pre {
|
|
282
|
+
display: block;
|
|
283
|
+
margin-top: 0; // 1
|
|
284
|
+
margin-bottom: 1rem; // 2
|
|
285
|
+
overflow: auto; // 3
|
|
286
|
+
@include font-size($code-font-size);
|
|
287
|
+
color: $pre-color;
|
|
288
|
+
|
|
289
|
+
// Account for some code outputs that place code tags in pre tags
|
|
290
|
+
code {
|
|
291
|
+
@include font-size(inherit);
|
|
292
|
+
color: inherit;
|
|
293
|
+
word-break: normal;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
code {
|
|
298
|
+
@include font-size($code-font-size);
|
|
299
|
+
color: var(--#{$prefix}code-color);
|
|
300
|
+
word-wrap: break-word;
|
|
301
|
+
|
|
302
|
+
// Streamline the style when inside anchors to avoid broken underline and more
|
|
303
|
+
a > & {
|
|
304
|
+
color: inherit;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
kbd {
|
|
309
|
+
padding: $kbd-padding-y $kbd-padding-x;
|
|
310
|
+
@include font-size($kbd-font-size);
|
|
311
|
+
color: $kbd-color;
|
|
312
|
+
background-color: $kbd-bg;
|
|
313
|
+
@include border-radius($border-radius-sm);
|
|
314
|
+
|
|
315
|
+
kbd {
|
|
316
|
+
padding: 0;
|
|
317
|
+
@include font-size(1em);
|
|
318
|
+
font-weight: $nested-kbd-font-weight;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
// Figures
|
|
324
|
+
//
|
|
325
|
+
// Apply a consistent margin strategy (matches our type styles).
|
|
326
|
+
|
|
327
|
+
figure {
|
|
328
|
+
margin: 0 0 1rem;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
// Images and content
|
|
333
|
+
|
|
334
|
+
img,
|
|
335
|
+
svg {
|
|
336
|
+
vertical-align: middle;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
// Tables
|
|
341
|
+
//
|
|
342
|
+
// Prevent double borders
|
|
343
|
+
|
|
344
|
+
table {
|
|
345
|
+
caption-side: bottom;
|
|
346
|
+
border-collapse: collapse;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
caption {
|
|
350
|
+
padding-top: $table-cell-padding-y;
|
|
351
|
+
padding-bottom: $table-cell-padding-y;
|
|
352
|
+
color: $table-caption-color;
|
|
353
|
+
text-align: left;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
// 1. Removes font-weight bold by inheriting
|
|
357
|
+
// 2. Matches default `<td>` alignment by inheriting `text-align`.
|
|
358
|
+
// 3. Fix alignment for Safari
|
|
359
|
+
|
|
360
|
+
th {
|
|
361
|
+
font-weight: $table-th-font-weight; // 1
|
|
362
|
+
text-align: inherit; // 2
|
|
363
|
+
text-align: -webkit-match-parent; // 3
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
thead,
|
|
367
|
+
tbody,
|
|
368
|
+
tfoot,
|
|
369
|
+
tr,
|
|
370
|
+
td,
|
|
371
|
+
th {
|
|
372
|
+
border-color: inherit;
|
|
373
|
+
border-style: solid;
|
|
374
|
+
border-width: 0;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
// Forms
|
|
379
|
+
//
|
|
380
|
+
// 1. Allow labels to use `margin` for spacing.
|
|
381
|
+
|
|
382
|
+
label {
|
|
383
|
+
display: inline-block; // 1
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
// Remove the default `border-radius` that macOS Chrome adds.
|
|
387
|
+
// See https://github.com/twbs/bootstrap/issues/24093
|
|
388
|
+
|
|
389
|
+
// button {
|
|
390
|
+
// // stylelint-disable-next-line property-disallowed-list
|
|
391
|
+
// border-radius: 0;
|
|
392
|
+
// }
|
|
393
|
+
|
|
394
|
+
// Explicitly remove focus outline in Chromium when it shouldn't be
|
|
395
|
+
// visible (e.g. as result of mouse click or touch tap). It already
|
|
396
|
+
// should be doing this automatically, but seems to currently be
|
|
397
|
+
// confused and applies its very visible two-tone outline anyway.
|
|
398
|
+
|
|
399
|
+
button:focus:not(:focus-visible) {
|
|
400
|
+
outline: 0;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
// 1. Remove the margin in Firefox and Safari
|
|
404
|
+
|
|
405
|
+
input,
|
|
406
|
+
button,
|
|
407
|
+
select,
|
|
408
|
+
optgroup,
|
|
409
|
+
textarea {
|
|
410
|
+
margin: 0; // 1
|
|
411
|
+
font-family: inherit;
|
|
412
|
+
@include font-size(inherit);
|
|
413
|
+
line-height: inherit;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
// Remove the inheritance of text transform in Firefox
|
|
417
|
+
button,
|
|
418
|
+
select {
|
|
419
|
+
text-transform: none;
|
|
420
|
+
}
|
|
421
|
+
// Set the cursor for non-`<button>` buttons
|
|
422
|
+
//
|
|
423
|
+
// Details at https://github.com/twbs/bootstrap/pull/30562
|
|
424
|
+
[role="button"] {
|
|
425
|
+
cursor: pointer;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
select {
|
|
429
|
+
// Remove the inheritance of word-wrap in Safari.
|
|
430
|
+
// See https://github.com/twbs/bootstrap/issues/24990
|
|
431
|
+
word-wrap: normal;
|
|
432
|
+
|
|
433
|
+
// Undo the opacity change from Chrome
|
|
434
|
+
&:disabled {
|
|
435
|
+
opacity: 1;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
// Remove the dropdown arrow only from text type inputs built with datalists in Chrome.
|
|
440
|
+
// See https://stackoverflow.com/a/54997118
|
|
441
|
+
|
|
442
|
+
[list]:not([type="date"]):not([type="datetime-local"]):not([type="month"]):not([type="week"]):not([type="time"])::-webkit-calendar-picker-indicator {
|
|
443
|
+
display: none !important;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
|
447
|
+
// controls in Android 4.
|
|
448
|
+
// 2. Correct the inability to style clickable types in iOS and Safari.
|
|
449
|
+
// 3. Opinionated: add "hand" cursor to non-disabled button elements.
|
|
450
|
+
|
|
451
|
+
button,
|
|
452
|
+
[type="button"], // 1
|
|
453
|
+
[type="reset"],
|
|
454
|
+
[type="submit"] {
|
|
455
|
+
-webkit-appearance: button; // 2
|
|
456
|
+
|
|
457
|
+
@if $enable-button-pointers {
|
|
458
|
+
&:not(:disabled) {
|
|
459
|
+
cursor: pointer; // 3
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
// Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
|
|
465
|
+
|
|
466
|
+
::-moz-focus-inner {
|
|
467
|
+
padding: 0;
|
|
468
|
+
border-style: none;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
// 1. Textareas should really only resize vertically so they don't break their (horizontal) containers.
|
|
472
|
+
|
|
473
|
+
textarea {
|
|
474
|
+
resize: vertical; // 1
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
// 1. Browsers set a default `min-width: min-content;` on fieldsets,
|
|
478
|
+
// unlike e.g. `<div>`s, which have `min-width: 0;` by default.
|
|
479
|
+
// So we reset that to ensure fieldsets behave more like a standard block element.
|
|
480
|
+
// See https://github.com/twbs/bootstrap/issues/12359
|
|
481
|
+
// and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
|
|
482
|
+
// 2. Reset the default outline behavior of fieldsets so they don't affect page layout.
|
|
483
|
+
|
|
484
|
+
fieldset {
|
|
485
|
+
min-width: 0; // 1
|
|
486
|
+
padding: 0; // 2
|
|
487
|
+
margin: 0; // 2
|
|
488
|
+
border: 0; // 2
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
// 1. By using `float: left`, the legend will behave like a block element.
|
|
492
|
+
// This way the border of a fieldset wraps around the legend if present.
|
|
493
|
+
// 2. Fix wrapping bug.
|
|
494
|
+
// See https://github.com/twbs/bootstrap/issues/29712
|
|
495
|
+
|
|
496
|
+
legend {
|
|
497
|
+
float: left; // 1
|
|
498
|
+
width: 100%;
|
|
499
|
+
padding: 0;
|
|
500
|
+
margin-bottom: $legend-margin-bottom;
|
|
501
|
+
@include font-size($legend-font-size);
|
|
502
|
+
font-weight: $legend-font-weight;
|
|
503
|
+
line-height: inherit;
|
|
504
|
+
|
|
505
|
+
+ * {
|
|
506
|
+
clear: left; // 2
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
// Fix height of inputs with a type of datetime-local, date, month, week, or time
|
|
511
|
+
// See https://github.com/twbs/bootstrap/issues/18842
|
|
512
|
+
|
|
513
|
+
::-webkit-datetime-edit-fields-wrapper,
|
|
514
|
+
::-webkit-datetime-edit-text,
|
|
515
|
+
::-webkit-datetime-edit-minute,
|
|
516
|
+
::-webkit-datetime-edit-hour-field,
|
|
517
|
+
::-webkit-datetime-edit-day-field,
|
|
518
|
+
::-webkit-datetime-edit-month-field,
|
|
519
|
+
::-webkit-datetime-edit-year-field {
|
|
520
|
+
padding: 0;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
::-webkit-inner-spin-button {
|
|
524
|
+
height: auto;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
// 1. Correct the outline style in Safari.
|
|
528
|
+
// 2. This overrides the extra rounded corners on search inputs in iOS so that our
|
|
529
|
+
// `.form-control` class can properly style them. Note that this cannot simply
|
|
530
|
+
// be added to `.form-control` as it's not specific enough. For details, see
|
|
531
|
+
// https://github.com/twbs/bootstrap/issues/11586.
|
|
532
|
+
|
|
533
|
+
[type="search"] {
|
|
534
|
+
outline-offset: -2px; // 1
|
|
535
|
+
-webkit-appearance: textfield; // 2
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
// 1. A few input types should stay LTR
|
|
539
|
+
// See https://rtlstyling.com/posts/rtl-styling#form-inputs
|
|
540
|
+
// 2. RTL only output
|
|
541
|
+
// See https://rtlcss.com/learn/usage-guide/control-directives/#raw
|
|
542
|
+
|
|
543
|
+
/* rtl:raw:
|
|
544
|
+
[type="tel"],
|
|
545
|
+
[type="url"],
|
|
546
|
+
[type="email"],
|
|
547
|
+
[type="number"] {
|
|
548
|
+
direction: ltr;
|
|
549
|
+
}
|
|
550
|
+
*/
|
|
551
|
+
|
|
552
|
+
// Remove the inner padding in Chrome and Safari on macOS.
|
|
553
|
+
|
|
554
|
+
::-webkit-search-decoration {
|
|
555
|
+
-webkit-appearance: none;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
// Remove padding around color pickers in webkit browsers
|
|
559
|
+
|
|
560
|
+
::-webkit-color-swatch-wrapper {
|
|
561
|
+
padding: 0;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
// 1. Inherit font family and line height for file input buttons
|
|
566
|
+
// 2. Correct the inability to style clickable types in iOS and Safari.
|
|
567
|
+
|
|
568
|
+
::file-selector-button {
|
|
569
|
+
font: inherit; // 1
|
|
570
|
+
-webkit-appearance: button; // 2
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
// Correct element displays
|
|
574
|
+
|
|
575
|
+
output {
|
|
576
|
+
display: inline-block;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
// Remove border from iframe
|
|
580
|
+
|
|
581
|
+
iframe {
|
|
582
|
+
border: 0;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
// Summary
|
|
586
|
+
//
|
|
587
|
+
// 1. Add the correct display in all browsers
|
|
588
|
+
|
|
589
|
+
summary {
|
|
590
|
+
display: list-item; // 1
|
|
591
|
+
cursor: pointer;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
// Progress
|
|
596
|
+
//
|
|
597
|
+
// Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
598
|
+
|
|
599
|
+
progress {
|
|
600
|
+
vertical-align: baseline;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
// Hidden attribute
|
|
605
|
+
//
|
|
606
|
+
// Always hide an element with the `hidden` HTML attribute.
|
|
607
|
+
|
|
608
|
+
[hidden] {
|
|
609
|
+
display: none !important;
|
|
610
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
// Note: Custom variable values only support SassScript inside `#{}`.
|
|
3
|
+
|
|
4
|
+
// Colors
|
|
5
|
+
//
|
|
6
|
+
// Generate palettes for full colors, grays, and theme colors.
|
|
7
|
+
|
|
8
|
+
// @each $color, $value in $colors {
|
|
9
|
+
// --#{$prefix}#{$color}: #{$value};
|
|
10
|
+
// }
|
|
11
|
+
|
|
12
|
+
// @each $color, $value in $grays {
|
|
13
|
+
// --#{$prefix}gray-#{$color}: #{$value};
|
|
14
|
+
// }
|
|
15
|
+
|
|
16
|
+
@each $color, $value in $theme-colors {
|
|
17
|
+
--#{$prefix}#{$color}: #{$value};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@each $color, $value in $theme-colors-rgb {
|
|
21
|
+
--#{$prefix}#{$color}-rgb: #{$value};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
--#{$prefix}white-rgb: #{to-rgb($white)};
|
|
25
|
+
--#{$prefix}black-rgb: #{to-rgb($black)};
|
|
26
|
+
--#{$prefix}body-color-rgb: #{to-rgb($body-color)};
|
|
27
|
+
--#{$prefix}body-bg-rgb: #{to-rgb($body-bg)};
|
|
28
|
+
|
|
29
|
+
// Fonts
|
|
30
|
+
|
|
31
|
+
// Note: Use `inspect` for lists so that quoted items keep the quotes.
|
|
32
|
+
// See https://github.com/sass/sass/issues/2383#issuecomment-336349172
|
|
33
|
+
--#{$prefix}font-sans-serif: #{inspect($font-family-sans-serif)};
|
|
34
|
+
--#{$prefix}font-monospace: #{inspect($font-family-monospace)};
|
|
35
|
+
--#{$prefix}gradient: #{$gradient};
|
|
36
|
+
|
|
37
|
+
// Root and body
|
|
38
|
+
// scss-docs-start root-body-variables
|
|
39
|
+
@if $font-size-root != null {
|
|
40
|
+
--#{$prefix}root-font-size: #{$font-size-root};
|
|
41
|
+
}
|
|
42
|
+
--#{$prefix}body-font-family: #{$font-family-base};
|
|
43
|
+
@include rfs($font-size-base, --#{$prefix}body-font-size);
|
|
44
|
+
--#{$prefix}body-font-weight: #{$font-weight-base};
|
|
45
|
+
--#{$prefix}body-line-height: #{$line-height-base};
|
|
46
|
+
--#{$prefix}body-color: #{$body-color};
|
|
47
|
+
@if $body-text-align != null {
|
|
48
|
+
--#{$prefix}body-text-align: #{$body-text-align};
|
|
49
|
+
}
|
|
50
|
+
--#{$prefix}body-bg: #{$body-bg};
|
|
51
|
+
// scss-docs-end root-body-variables
|
|
52
|
+
|
|
53
|
+
// scss-docs-start root-border-var
|
|
54
|
+
--#{$prefix}border-width: #{$border-width};
|
|
55
|
+
--#{$prefix}border-style: #{$border-style};
|
|
56
|
+
--#{$prefix}border-color: #{$border-color};
|
|
57
|
+
--#{$prefix}border-color-translucent: #{$border-color-translucent};
|
|
58
|
+
|
|
59
|
+
--#{$prefix}border-radius: #{$border-radius};
|
|
60
|
+
--#{$prefix}border-radius-sm: #{$border-radius-sm};
|
|
61
|
+
--#{$prefix}border-radius-lg: #{$border-radius-lg};
|
|
62
|
+
--#{$prefix}border-radius-xl: #{$border-radius-xl};
|
|
63
|
+
--#{$prefix}border-radius-2xl: #{$border-radius-2xl};
|
|
64
|
+
--#{$prefix}border-radius-pill: #{$border-radius-pill};
|
|
65
|
+
// scss-docs-end root-border-var
|
|
66
|
+
|
|
67
|
+
--#{$prefix}link-color: #{$link-color};
|
|
68
|
+
--#{$prefix}link-hover-color: #{$link-hover-color};
|
|
69
|
+
|
|
70
|
+
--#{$prefix}code-color: #{$code-color};
|
|
71
|
+
|
|
72
|
+
--#{$prefix}highlight-bg: #{$mark-bg};
|
|
73
|
+
}
|