@beterdichtbij/component-library 0.11.0 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/README.md +10 -5
  2. package/dist/bd-component-lib.cjs.js +32 -32
  3. package/dist/bd-component-lib.css +5 -0
  4. package/dist/bd-component-lib.es.js +4401 -4612
  5. package/dist/bd-component-lib.umd.js +37 -32
  6. package/dist/components/atoms/BDAlert/BDAlert.vue.d.ts +19 -7
  7. package/dist/components/atoms/BDAlert/BDAlert.vue.d.ts.map +1 -1
  8. package/dist/components/atoms/BDBadge/BDBadge.vue.d.ts +6 -5
  9. package/dist/components/atoms/BDBadge/BDBadge.vue.d.ts.map +1 -1
  10. package/dist/components/atoms/BDButton/BDButton.vue.d.ts +29 -22
  11. package/dist/components/atoms/BDButton/BDButton.vue.d.ts.map +1 -1
  12. package/dist/components/atoms/BDCard/BDCard.vue.d.ts.map +1 -1
  13. package/dist/components/atoms/BDForm/BDForm.vue.d.ts +20 -2
  14. package/dist/components/atoms/BDForm/BDForm.vue.d.ts.map +1 -1
  15. package/dist/components/atoms/BDFormInput/BDFormInput.vue.d.ts +3 -33
  16. package/dist/components/atoms/BDFormInput/BDFormInput.vue.d.ts.map +1 -1
  17. package/dist/components/atoms/BDFormInvalidFeedback/BDFormInvalidFeedback.vue.d.ts +9 -8
  18. package/dist/components/atoms/BDFormInvalidFeedback/BDFormInvalidFeedback.vue.d.ts.map +1 -1
  19. package/dist/components/atoms/BDFormSelect/BDFormSelect.vue.d.ts +8 -16
  20. package/dist/components/atoms/BDFormSelect/BDFormSelect.vue.d.ts.map +1 -1
  21. package/dist/components/atoms/BDInputGroup/BDInputGroup.vue.d.ts +2 -28
  22. package/dist/components/atoms/BDInputGroup/BDInputGroup.vue.d.ts.map +1 -1
  23. package/dist/components/atoms/BDLink/BDLink.vue.d.ts +8 -6
  24. package/dist/components/atoms/BDLink/BDLink.vue.d.ts.map +1 -1
  25. package/dist/components/atoms/BDLogo/BDLogo.vue.d.ts.map +1 -1
  26. package/dist/components/atoms/BDPagination/BDPagination.vue.d.ts +15 -5
  27. package/dist/components/atoms/BDPagination/BDPagination.vue.d.ts.map +1 -1
  28. package/dist/components/atoms/BDProfileImage/BDProfileImage.vue.d.ts +6 -5
  29. package/dist/components/atoms/BDProfileImage/BDProfileImage.vue.d.ts.map +1 -1
  30. package/dist/components/atoms/BDZoomslider/BDZoomslider.vue.d.ts +18 -4
  31. package/dist/components/atoms/BDZoomslider/BDZoomslider.vue.d.ts.map +1 -1
  32. package/dist/components/atoms/icons/IconAttachment.vue.d.ts.map +1 -1
  33. package/dist/components/atoms/icons/IconBold.vue.d.ts.map +1 -1
  34. package/dist/components/atoms/icons/IconBulletList.vue.d.ts.map +1 -1
  35. package/dist/components/atoms/icons/IconCaretLeft.vue.d.ts.map +1 -1
  36. package/dist/components/atoms/icons/IconCaretRight.vue.d.ts.map +1 -1
  37. package/dist/components/atoms/icons/IconCheck.vue.d.ts.map +1 -1
  38. package/dist/components/atoms/icons/IconClose.vue.d.ts.map +1 -1
  39. package/dist/components/atoms/icons/IconError.vue.d.ts.map +1 -1
  40. package/dist/components/atoms/icons/IconFile.vue.d.ts.map +1 -1
  41. package/dist/components/atoms/icons/IconHyperlink.vue.d.ts.map +1 -1
  42. package/dist/components/atoms/icons/IconInfo.vue.d.ts.map +1 -1
  43. package/dist/components/atoms/icons/IconItalic.vue.d.ts.map +1 -1
  44. package/dist/components/atoms/icons/IconOrderedList.vue.d.ts.map +1 -1
  45. package/dist/components/atoms/icons/IconRemove.vue.d.ts.map +1 -1
  46. package/dist/components/atoms/icons/IconUnderline.vue.d.ts.map +1 -1
  47. package/dist/components/atoms/icons/index.d.ts +1 -2
  48. package/dist/components/molecules/BDDropdownItem/BDDropdownItem.vue.d.ts +9 -14
  49. package/dist/components/molecules/BDDropdownItem/BDDropdownItem.vue.d.ts.map +1 -1
  50. package/dist/components/molecules/BDDropzone/BDDropzone.vue.d.ts +1 -26
  51. package/dist/components/molecules/BDDropzone/BDDropzone.vue.d.ts.map +1 -1
  52. package/dist/components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue.d.ts +6 -14
  53. package/dist/components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue.d.ts.map +1 -1
  54. package/dist/components/organisms/BDDropdown/BDDropdown.vue.d.ts +26 -25
  55. package/dist/components/organisms/BDDropdown/BDDropdown.vue.d.ts.map +1 -1
  56. package/dist/components/organisms/BDHeader/BDHeader.vue.d.ts +37 -0
  57. package/dist/components/organisms/BDHeader/BDHeader.vue.d.ts.map +1 -0
  58. package/dist/components/organisms/BDModal/BDModal.vue.d.ts +0 -6
  59. package/dist/components/organisms/BDModal/BDModal.vue.d.ts.map +1 -1
  60. package/dist/enums/bootstrap.d.ts +15 -0
  61. package/dist/enums/tiptapVariants.d.ts +4 -0
  62. package/dist/enums/variants.d.ts +12 -0
  63. package/dist/index.d.ts +3 -10
  64. package/dist/layout/BDContainer.vue.d.ts +4 -4
  65. package/dist/types/BDAlert.d.ts +5 -0
  66. package/dist/types/BDButton.d.ts +8 -0
  67. package/dist/types/BDDropDown.d.ts +11 -0
  68. package/dist/{interfaces/BDFormInputProps.d.ts → types/BDFormInput.d.ts} +2 -3
  69. package/dist/types/BDFormSelect.d.ts +10 -0
  70. package/dist/types/BDHeader.d.ts +7 -0
  71. package/dist/{interfaces → types}/BDImage.d.ts +2 -2
  72. package/dist/types/BDLink.d.ts +13 -0
  73. package/dist/types/BDMarkdownEditor.d.ts +8 -0
  74. package/dist/types/BootstrapButtonVariants.d.ts +4 -0
  75. package/dist/types/BootstrapSize.d.ts +4 -0
  76. package/dist/types/BootstrapVariant.d.ts +4 -0
  77. package/package.json +122 -122
  78. package/dist/components/atoms/BDArticle/BDArticle.vue.d.ts +0 -60
  79. package/dist/components/atoms/BDArticle/BDArticle.vue.d.ts.map +0 -1
  80. package/dist/components/atoms/BDCollapsableCard/BDCollapsableCard.vue.d.ts +0 -50
  81. package/dist/components/atoms/BDCollapsableCard/BDCollapsableCard.vue.d.ts.map +0 -1
  82. package/dist/components/atoms/BDFormCheckbox/BDFormCheckbox.vue.d.ts +0 -54
  83. package/dist/components/atoms/BDFormCheckbox/BDFormCheckbox.vue.d.ts.map +0 -1
  84. package/dist/components/atoms/BDToast/BDToast.vue.d.ts +0 -75
  85. package/dist/components/atoms/BDToast/BDToast.vue.d.ts.map +0 -1
  86. package/dist/components/atoms/icons/IconCaretDown.vue.d.ts +0 -2
  87. package/dist/components/atoms/icons/IconCaretDown.vue.d.ts.map +0 -1
  88. package/dist/components/molecules/BDUser/BDUser.vue.d.ts +0 -56
  89. package/dist/components/molecules/BDUser/BDUser.vue.d.ts.map +0 -1
  90. package/dist/interfaces/BDAlertProps.d.ts +0 -5
  91. package/dist/interfaces/BDArticleProps.d.ts +0 -7
  92. package/dist/interfaces/BDBadgeProps.d.ts +0 -4
  93. package/dist/interfaces/BDButtonProps.d.ts +0 -9
  94. package/dist/interfaces/BDCardProps.d.ts +0 -10
  95. package/dist/interfaces/BDCollapsableCardProps.d.ts +0 -7
  96. package/dist/interfaces/BDDropDownProps.d.ts +0 -13
  97. package/dist/interfaces/BDFormCheckboxProps.d.ts +0 -7
  98. package/dist/interfaces/BDFormInvalidFeedbackProps.d.ts +0 -4
  99. package/dist/interfaces/BDFormSelectProps.d.ts +0 -10
  100. package/dist/interfaces/BDInputGroupProps.d.ts +0 -4
  101. package/dist/interfaces/BDLinkProps.d.ts +0 -12
  102. package/dist/interfaces/BDMarkdownEditorProps.d.ts +0 -8
  103. package/dist/interfaces/BDPaginationProps.d.ts +0 -6
  104. package/dist/interfaces/BDToastProps.d.ts +0 -10
  105. package/dist/interfaces/BDUserProps.d.ts +0 -7
  106. package/dist/interfaces/BDZoomSliderProps.d.ts +0 -4
  107. package/dist/scss/_alert.scss +0 -11
  108. package/dist/scss/_article.scss +0 -24
  109. package/dist/scss/_base.scss +0 -2
  110. package/dist/scss/_button.scss +0 -54
  111. package/dist/scss/_card.scss +0 -83
  112. package/dist/scss/_collapsable-card.scss +0 -119
  113. package/dist/scss/_dropdown.scss +0 -102
  114. package/dist/scss/_dropzone.scss +0 -72
  115. package/dist/scss/_forms.scss +0 -2
  116. package/dist/scss/_icons.scss +0 -53
  117. package/dist/scss/_markdown-editor.scss +0 -48
  118. package/dist/scss/_modal.scss +0 -16
  119. package/dist/scss/_pagination.scss +0 -29
  120. package/dist/scss/_profile-image.scss +0 -47
  121. package/dist/scss/_toast.scss +0 -84
  122. package/dist/scss/_user.scss +0 -6
  123. package/dist/scss/_zoomslider.scss +0 -72
  124. package/dist/scss/base/typography.scss +0 -16
  125. package/dist/scss/base/variables.scss +0 -162
  126. package/dist/scss/component-library-styling.scss +0 -18
  127. package/dist/scss/forms/_form-check.scss +0 -12
  128. package/dist/scss/forms/_form-input.scss +0 -4
  129. package/dist/scss/mixins.scss +0 -46
  130. package/dist/types/BootstrapSizes.d.ts +0 -8
  131. package/dist/types/BootstrapVariants.d.ts +0 -10
  132. package/dist/types/ButtonColorVariants.d.ts +0 -14
  133. package/dist/types/Identifier.d.ts +0 -3
  134. package/dist/types/ToastVariants.d.ts +0 -8
  135. package/dist/types/tiptapVariants.d.ts +0 -6
  136. package/dist/utils/type.d.ts +0 -1
  137. /package/dist/composables/{useUniqueIdentifier.d.ts → uniqueIdentifier.d.ts} +0 -0
  138. /package/dist/{interfaces/BDDropzoneProps.d.ts → types/BDDropzone.d.ts} +0 -0
  139. /package/dist/{interfaces/BDModalProps.d.ts → types/BDModal.d.ts} +0 -0
@@ -1,75 +0,0 @@
1
- import type { PropType as __PropType } from 'vue';
2
- declare const _sfc_main: import("vue").DefineComponent<{
3
- id: {
4
- type: __PropType<string | undefined>;
5
- required: false;
6
- };
7
- show: {
8
- type: __PropType<boolean | undefined>;
9
- required: false;
10
- default: boolean;
11
- };
12
- variant: {
13
- type: __PropType<import('../../../types/ToastVariants').toastVariants | undefined>;
14
- required: false;
15
- default: "info";
16
- };
17
- teleport: {
18
- type: __PropType<import("vue").TeleportProps | undefined>;
19
- required: false;
20
- default: {
21
- to: string;
22
- disabled: boolean;
23
- };
24
- };
25
- title: {
26
- type: __PropType<string | undefined>;
27
- required: false;
28
- default: string;
29
- };
30
- text: {
31
- type: __PropType<string | undefined>;
32
- required: false;
33
- default: string;
34
- };
35
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
- id: {
37
- type: __PropType<string | undefined>;
38
- required: false;
39
- };
40
- show: {
41
- type: __PropType<boolean | undefined>;
42
- required: false;
43
- default: boolean;
44
- };
45
- variant: {
46
- type: __PropType<import('../../../types/ToastVariants').toastVariants | undefined>;
47
- required: false;
48
- default: "info";
49
- };
50
- teleport: {
51
- type: __PropType<import("vue").TeleportProps | undefined>;
52
- required: false;
53
- default: {
54
- to: string;
55
- disabled: boolean;
56
- };
57
- };
58
- title: {
59
- type: __PropType<string | undefined>;
60
- required: false;
61
- default: string;
62
- };
63
- text: {
64
- type: __PropType<string | undefined>;
65
- required: false;
66
- default: string;
67
- };
68
- }>>, {
69
- variant: import('../../../types/ToastVariants').toastVariants | undefined;
70
- text: string | undefined;
71
- title: string | undefined;
72
- show: boolean | undefined;
73
- teleport: import("vue").TeleportProps | undefined;
74
- }, {}>;
75
- export default _sfc_main;
@@ -1 +0,0 @@
1
- {"version":3,"file":"BDToast.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/BDToast/BDToast.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,iGAAiG,CAAC;AACxH,cAAc,iGAAiG,CAAC;AAChH,eAAe,SAAS,CAAC"}
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
- export default _default;
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconCaretDown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconCaretDown.vue"],"names":[],"mappings":";AAsBA,wBAA4E"}
@@ -1,56 +0,0 @@
1
- import type { PropType as __PropType } from 'vue';
2
- declare const _sfc_main: import("vue").DefineComponent<{
3
- name: {
4
- type: __PropType<string>;
5
- required: true;
6
- default: string;
7
- };
8
- img: {
9
- type: __PropType<import("../../../interfaces/BDImage").ImageProps>;
10
- required: true;
11
- default: {
12
- src: string;
13
- alt: string;
14
- };
15
- };
16
- details: {
17
- type: __PropType<string | string[]>;
18
- required: true;
19
- default: undefined;
20
- };
21
- hideImage: {
22
- type: __PropType<boolean>;
23
- required: true;
24
- default: boolean;
25
- };
26
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
- name: {
28
- type: __PropType<string>;
29
- required: true;
30
- default: string;
31
- };
32
- img: {
33
- type: __PropType<import("../../../interfaces/BDImage").ImageProps>;
34
- required: true;
35
- default: {
36
- src: string;
37
- alt: string;
38
- };
39
- };
40
- details: {
41
- type: __PropType<string | string[]>;
42
- required: true;
43
- default: undefined;
44
- };
45
- hideImage: {
46
- type: __PropType<boolean>;
47
- required: true;
48
- default: boolean;
49
- };
50
- }>>, {
51
- name: string;
52
- img: import("../../../interfaces/BDImage").ImageProps;
53
- details: string | string[];
54
- hideImage: boolean;
55
- }, {}>;
56
- export default _sfc_main;
@@ -1 +0,0 @@
1
- {"version":3,"file":"BDUser.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/BDUser/BDUser.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,mGAAmG,CAAC;AAC1H,cAAc,mGAAmG,CAAC;AAClH,eAAe,SAAS,CAAC"}
@@ -1,5 +0,0 @@
1
- import { bootstrapVariants } from "../types/BootstrapVariants";
2
- export interface BDAlertProps {
3
- variant?: bootstrapVariants;
4
- title?: string;
5
- }
@@ -1,7 +0,0 @@
1
- import { identifierProp } from "../types/Identifier";
2
- export interface BDArticleProps extends identifierProp {
3
- title?: string;
4
- text?: string;
5
- hideBody?: boolean;
6
- hideFooter?: boolean;
7
- }
@@ -1,4 +0,0 @@
1
- import { bootstrapVariants } from '../types/BootstrapVariants';
2
- export interface BDBadgeProps {
3
- variant?: bootstrapVariants;
4
- }
@@ -1,9 +0,0 @@
1
- import { bootstrapSizes } from '../types/BootstrapSizes';
2
- import { btnColorVariants } from '../types/ButtonColorVariants';
3
- import { OptionalBDLinkProps } from '../interfaces/BDLinkProps';
4
- export interface BDButtonProps extends OptionalBDLinkProps {
5
- size?: bootstrapSizes;
6
- variant?: btnColorVariants;
7
- blockElement?: boolean;
8
- disabled?: boolean;
9
- }
@@ -1,10 +0,0 @@
1
- export interface BDCardProps {
2
- class?: string;
3
- title?: string;
4
- noHeader?: boolean;
5
- noBody?: boolean;
6
- headerClass?: string;
7
- bodyClass?: string;
8
- id?: number;
9
- headerVariant?: string;
10
- }
@@ -1,7 +0,0 @@
1
- import { bootstrapSizes } from '../types/BootstrapSizes';
2
- export interface BDCollapsableCardProps {
3
- title: string;
4
- disabled: boolean;
5
- showOn: bootstrapSizes;
6
- visible: boolean;
7
- }
@@ -1,13 +0,0 @@
1
- import { props as BDTextType } from "../types/BDText";
2
- import { bootstrapVariants } from "../types/BootstrapVariants";
3
- import { bootstrapSizes } from '../types/BootstrapSizes';
4
- import { PopperOffset } from "../types/PopperOffset";
5
- export interface props extends BDTextType, PopperOffset {
6
- size?: bootstrapSizes;
7
- variant?: bootstrapVariants;
8
- right?: boolean;
9
- noFlip?: boolean;
10
- toggleTag: string;
11
- toggleClass?: string;
12
- actionToggle?: boolean;
13
- }
@@ -1,7 +0,0 @@
1
- import { ValidationStateType } from '../types/ValidationState';
2
- export interface bdFormCheckboxProps {
3
- modelValue: boolean | string;
4
- value: boolean | string;
5
- uncheckedValue: boolean | string;
6
- state: ValidationStateType;
7
- }
@@ -1,4 +0,0 @@
1
- export interface BDFormInvalidFeedbackProps {
2
- state: boolean | null;
3
- text?: string;
4
- }
@@ -1,10 +0,0 @@
1
- import { ModelValueStringAndNumber } from "../types/ModelValue";
2
- import { ValidationState } from '../types/ValidationState';
3
- import { BDOption } from "../types/BDOption";
4
- import { bootstrapSizes } from '../types/BootstrapSizes';
5
- export interface BDFormSelectProps extends ModelValueStringAndNumber, ValidationState {
6
- size?: bootstrapSizes;
7
- disabled?: boolean;
8
- autofocus?: boolean;
9
- options?: BDOption[];
10
- }
@@ -1,4 +0,0 @@
1
- export interface BDInputGroupProps {
2
- label?: string | null;
3
- labelForId?: string;
4
- }
@@ -1,12 +0,0 @@
1
- export interface BDLinkProps {
2
- to: object | string;
3
- target?: string;
4
- text?: string;
5
- rel?: string;
6
- }
7
- export interface OptionalBDLinkProps {
8
- to?: object | string;
9
- target?: string;
10
- text?: string;
11
- rel?: string;
12
- }
@@ -1,8 +0,0 @@
1
- import { ModelValueString } from "../types/ModelValue";
2
- import { TiptapVariants } from '../types/tiptapVariants';
3
- export interface BDMarkdownEditorProps extends ModelValueString {
4
- placeholder?: string;
5
- errorText?: string;
6
- state?: boolean;
7
- variant: TiptapVariants;
8
- }
@@ -1,6 +0,0 @@
1
- export interface BDPaginationProps {
2
- modelValue?: string | number;
3
- totalRows: number;
4
- rowsPerPage: number;
5
- isPatient?: boolean;
6
- }
@@ -1,10 +0,0 @@
1
- import { toastVariants } from '../types/ToastVariants';
2
- import { TeleportProps } from "vue";
3
- export interface BDToastProps {
4
- id?: string;
5
- show?: boolean;
6
- variant?: toastVariants;
7
- teleport?: TeleportProps;
8
- title?: string;
9
- text?: string;
10
- }
@@ -1,7 +0,0 @@
1
- import { ImageProps } from "./BDImage";
2
- export interface BDUserProps {
3
- name: string;
4
- img: ImageProps;
5
- details: string[] | string;
6
- hideImage: boolean;
7
- }
@@ -1,4 +0,0 @@
1
- export interface BDZoomSliderProps {
2
- modelValue: number;
3
- maxValue?: number;
4
- }
@@ -1,11 +0,0 @@
1
- @each $variant, $color in $theme-colors {
2
- $bg-color: tint-color($color, 90%);
3
- .alert-#{$variant} {
4
- @include alert($color, $bg-color);
5
- }
6
- }
7
-
8
- .alert-warning {
9
- color: $color-darkblue;
10
- }
11
-
@@ -1,24 +0,0 @@
1
-
2
- article{
3
-
4
- &.bd-article{
5
- display:flex;
6
- flex-direction: column;
7
- padding: 1.125rem;
8
- width:100%;
9
- gap: 1rem;
10
- background-color: $white;
11
- border-radius: 8px;
12
-
13
- header{
14
- display: flex;
15
- justify-content: space-between;
16
- }
17
-
18
- footer {
19
- display:flex;
20
- justify-content: space-between;
21
- }
22
- }
23
-
24
- }
@@ -1,2 +0,0 @@
1
- @import "base/typography.scss";
2
- @import "base/variables.scss";
@@ -1,54 +0,0 @@
1
- .btn {
2
- font-weight: 500;
3
- border: none;
4
- border-radius: $border-radius-default;
5
- text-align: center;
6
- margin: 0;
7
- transition: all .5s cubic-bezier(.36,.03,.28,.99);
8
- }
9
-
10
- // $variant, $color, $bg-color, $hover-color, $hover-bg-color, $border $solid $border-color
11
- $btn-variants:
12
- "primary" $white $primary $primary $color-lightblue none,
13
- "secondary" $primary $color-lightblue $color-lightblue $primary none,
14
- "danger" $white $danger $danger $white none,
15
- "colleague" $white $color-colleague $color-colleague #ccf2e2 none,
16
- "outline-primary" $color-blue $white $white $color-blue 1px solid $color-blue,
17
- "outline-primary-dark" $color-blue transparent $white $color-blue 1px solid $color-blue,
18
- "outline-tertiary" $black $white $black $white 1px solid #abb0be,
19
- "link" $primary transparent $primary transparent none,
20
- "white" $white transparent $white transparent none;
21
-
22
- @each $variant, $color, $bg-color, $hover-color, $hover-bg-color, $border, $solid, $border-color in $btn-variants {
23
- .btn-#{$variant} {
24
- @include button($variant, $color, $bg-color, $hover-color, $hover-bg-color, $border, $solid, $border-color)
25
- }
26
- }
27
-
28
- .btn-link {
29
- text-decoration: none;
30
-
31
- &:hover {
32
- text-decoration: underline;
33
- }
34
- }
35
-
36
- .btn-outline-tertiary {
37
- &.disabled{
38
- opacity: 1;
39
- color: #afb8cc;
40
- background-color: #f2f3f5;
41
- }
42
- }
43
-
44
- .btn-close{
45
- .modal & {
46
- background-image: initial;
47
- }
48
- }
49
-
50
-
51
-
52
-
53
-
54
-
@@ -1,83 +0,0 @@
1
- .card {
2
- border:none;
3
- border-radius: $border-radius-default;
4
-
5
- .card-header {
6
- background-color:$primary;
7
- color:$white;
8
- display: flex;
9
- align-items: center;
10
- justify-content: space-between;
11
- position: relative;
12
-
13
- &.colleague {
14
- background-color: $color-colleague;
15
- }
16
- }
17
-
18
- .card-body {
19
- padding: 20px;
20
-
21
- ul {
22
- list-style: none;
23
- padding: 0px;
24
- margin: 0px;
25
-
26
- &:not(:last-of-type) {
27
- border-bottom: 2px solid $color-bg;
28
- margin-bottom: 20px;
29
- }
30
-
31
- li &:not(.autocomplete-result) {
32
- color: $color-darkblue;
33
- font-size: 16px;
34
- font-weight: $font-bold;
35
-
36
- label {
37
- font-weight: $font-normal;
38
- margin-right: 5px;
39
- }
40
-
41
- a:not(.attachment-link) {
42
- text-decoration: underline;
43
- color: $color-darkblue;
44
- font-weight: $font-bold;
45
-
46
- &:active,
47
- &:focus {
48
- text-decoration: none;
49
- }
50
-
51
- @include media-breakpoint-up(md) {
52
- &:hover {
53
- text-decoration: none;
54
- }
55
- }
56
- }
57
- }
58
- }
59
-
60
- .alert {
61
- ul {
62
- padding-top: 10px;
63
- }
64
- }
65
-
66
- .btn-container {
67
- margin-top: 10px;
68
- }
69
- }
70
-
71
- &.no-body .card-header {
72
- background-color: $white;
73
- color: $font-color-primary;
74
- border:none;
75
- border-radius: $border-radius-default;
76
- padding: 20px;
77
-
78
- h2 {
79
- font-weight: $font-normal;
80
- font-family: $font-secondary;
81
- }
82
- }
83
- }
@@ -1,119 +0,0 @@
1
- .bd-collapsable-card {
2
- margin-bottom: 1rem;
3
-
4
- &__actions {
5
- display: flex;
6
- gap: 8px;
7
- }
8
-
9
- .card-header {
10
- border-radius: $border-radius-default;
11
-
12
- .patient-detail-template &{
13
- &.is-disabled{
14
- border-radius: $border-radius-default;
15
- padding: 10px 20px;
16
- }
17
- }
18
-
19
- >.btn-caret.collapsed {
20
- border-radius: $border-radius-default;
21
- }
22
-
23
- &.no-title {
24
- justify-content: flex-end;
25
- }
26
-
27
- .btn-caret.btn {
28
- width: fit-content;
29
- padding: 0px 6px 0px 6px;
30
- background: transparent;
31
-
32
- svg {
33
- margin: revert;
34
- fill: $color-white;
35
- }
36
-
37
- &:focus,
38
- &:hover {
39
- border: none;
40
- box-shadow: revert;
41
- background: transparent;
42
-
43
- svg {
44
- fill: $color-white;
45
- }
46
- }
47
-
48
- &[aria-expanded="true"] {
49
- svg {
50
- transform: rotate(-180deg);
51
- }
52
- }
53
- }
54
-
55
- &.round-corners {
56
- border-radius: $border-radius-default;
57
- }
58
-
59
- @include media-breakpoint-down(md) {
60
- min-height: revert;
61
- height: 60px;
62
-
63
- &.round-corners-md {
64
- border-radius: $border-radius-default;
65
- }
66
- }
67
-
68
- @include media-breakpoint-down(sm) {
69
- &.round-corners-sm {
70
- border-radius: $border-radius-default;
71
- }
72
- }
73
- }
74
-
75
- .card-body {
76
- &.display-none {
77
- display: none;
78
- }
79
-
80
- .collapse {
81
- @include media-breakpoint-up(lg) {
82
- &.open-collapse-lg {
83
- display: block !important
84
- }
85
- }
86
-
87
- @include media-breakpoint-up(md) {
88
- &.open-collapse-md {
89
- display: block !important
90
- }
91
- }
92
- }
93
-
94
- .collapse-body {
95
- padding: 20px;
96
-
97
- ul {
98
- list-style: none;
99
- padding: 0px;
100
- margin: 0px;
101
-
102
- &:not(:last-of-type) {
103
- border-bottom: 1px solid $color-bg;
104
- margin-bottom: 20px;
105
- }
106
- }
107
-
108
- li {
109
- font-size: 1rem;
110
- line-height: 1.375rem;
111
- word-wrap: break-word;
112
- }
113
-
114
- label {
115
- margin-right: 0.4rem;
116
- }
117
- }
118
- }
119
- }