@lucca-front/ng 8.2.2 → 9.0.0-alpha.1

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 (137) hide show
  1. package/api/lib/select/feeder/api-feeder.component.d.ts +1 -1
  2. package/api/lib/select/input/api-select-input.component.d.ts +1 -10
  3. package/api/lib/select/pager/api-pager.component.d.ts +1 -1
  4. package/api/lib/select/searcher/api-searcher.component.d.ts +2 -2
  5. package/api/lib/service/api-hybrid.service.d.ts +3 -3
  6. package/esm2020/api/lib/select/feeder/api-feeder.component.mjs +1 -1
  7. package/esm2020/api/lib/select/input/api-select-input.component.mjs +3 -4
  8. package/esm2020/api/lib/select/pager/api-pager.component.mjs +1 -1
  9. package/esm2020/api/lib/select/searcher/api-searcher.component.mjs +5 -5
  10. package/esm2020/api/lib/service/api-hybrid.service.mjs +1 -1
  11. package/esm2020/api/lib/service/api-v4.service.mjs +2 -4
  12. package/esm2020/date/lib/calendar/calendar-input.component.mjs +2 -2
  13. package/esm2020/date/lib/select/date-select-input.component.mjs +2 -2
  14. package/esm2020/department/lib/select/input/department-select-input.component.mjs +2 -2
  15. package/esm2020/department/lib/service/department-v3.service.mjs +1 -1
  16. package/esm2020/establishment/lib/select/input/establishment-select-input.component.mjs +2 -2
  17. package/esm2020/establishment/lib/select/searcher/establishment-searcher.component.mjs +2 -2
  18. package/esm2020/establishment/lib/select/select-all/establishment-select-all.component.mjs +2 -2
  19. package/esm2020/formly/lib/types/api.mjs +3 -6
  20. package/esm2020/formly/lib/types/checkbox.mjs +2 -2
  21. package/esm2020/formly/lib/types/date.mjs +2 -2
  22. package/esm2020/formly/lib/types/department.mjs +2 -2
  23. package/esm2020/formly/lib/types/establishment.mjs +2 -2
  24. package/esm2020/formly/lib/types/input.mjs +2 -2
  25. package/esm2020/formly/lib/types/qualification.mjs +2 -2
  26. package/esm2020/formly/lib/types/radios.mjs +2 -2
  27. package/esm2020/formly/lib/types/select.mjs +2 -2
  28. package/esm2020/formly/lib/types/textarea.mjs +2 -2
  29. package/esm2020/formly/lib/types/user.mjs +2 -2
  30. package/esm2020/formly/lib/wrappers/checkbox-layout.mjs +2 -2
  31. package/esm2020/formly/lib/wrappers/error.mjs +3 -3
  32. package/esm2020/formly/lib/wrappers/helper.mjs +2 -2
  33. package/esm2020/formly/lib/wrappers/icon.mjs +2 -2
  34. package/esm2020/formly/lib/wrappers/radiosfield-layout.mjs +2 -2
  35. package/esm2020/formly/lib/wrappers/suffix.mjs +2 -2
  36. package/esm2020/formly/lib/wrappers/textfield-layout.mjs +2 -2
  37. package/esm2020/input/lib/clearer/clearer.component.mjs +2 -2
  38. package/esm2020/option/lib/item/option-item.component.mjs +2 -2
  39. package/esm2020/option/lib/item/tree-option-item.component.mjs +2 -2
  40. package/esm2020/option/lib/operator/searcher/option-searcher.component.mjs +2 -2
  41. package/esm2020/option/lib/operator/searcher/tree-option-searcher.component.mjs +2 -2
  42. package/esm2020/option/lib/placeholder/option-placeholder.component.mjs +2 -2
  43. package/esm2020/option/lib/selector/all/select-all.component.mjs +2 -2
  44. package/esm2020/option/lib/selector/all/tree-select-all.component.mjs +2 -2
  45. package/esm2020/qualification/lib/select/input/qualification-select-input.component.mjs +2 -2
  46. package/esm2020/select/lib/input/select-input.component.mjs +2 -2
  47. package/esm2020/tooltip/lib/panel/tooltip-panel.component.mjs +3 -3
  48. package/esm2020/user/lib/picture/user-picture.component.mjs +2 -2
  49. package/esm2020/user/lib/select/input/user-select-input.component.mjs +2 -2
  50. package/esm2020/user/lib/select/searcher/user-searcher.component.mjs +2 -2
  51. package/esm2020/user/lib/tile/user-tile.component.mjs +2 -2
  52. package/fesm2015/lucca-front-ng-api.mjs +7 -10
  53. package/fesm2015/lucca-front-ng-api.mjs.map +1 -1
  54. package/fesm2015/lucca-front-ng-date.mjs +4 -4
  55. package/fesm2015/lucca-front-ng-department.mjs +2 -2
  56. package/fesm2015/lucca-front-ng-department.mjs.map +1 -1
  57. package/fesm2015/lucca-front-ng-establishment.mjs +6 -6
  58. package/fesm2015/lucca-front-ng-formly.mjs +36 -39
  59. package/fesm2015/lucca-front-ng-formly.mjs.map +1 -1
  60. package/fesm2015/lucca-front-ng-input.mjs +2 -2
  61. package/fesm2015/lucca-front-ng-option.mjs +14 -14
  62. package/fesm2015/lucca-front-ng-qualification.mjs +2 -2
  63. package/fesm2015/lucca-front-ng-select.mjs +2 -2
  64. package/fesm2015/lucca-front-ng-tooltip.mjs +2 -2
  65. package/fesm2015/lucca-front-ng-tooltip.mjs.map +1 -1
  66. package/fesm2015/lucca-front-ng-user.mjs +8 -8
  67. package/fesm2020/lucca-front-ng-api.mjs +7 -10
  68. package/fesm2020/lucca-front-ng-api.mjs.map +1 -1
  69. package/fesm2020/lucca-front-ng-date.mjs +4 -4
  70. package/fesm2020/lucca-front-ng-department.mjs +2 -2
  71. package/fesm2020/lucca-front-ng-department.mjs.map +1 -1
  72. package/fesm2020/lucca-front-ng-establishment.mjs +6 -6
  73. package/fesm2020/lucca-front-ng-formly.mjs +36 -39
  74. package/fesm2020/lucca-front-ng-formly.mjs.map +1 -1
  75. package/fesm2020/lucca-front-ng-input.mjs +2 -2
  76. package/fesm2020/lucca-front-ng-option.mjs +14 -14
  77. package/fesm2020/lucca-front-ng-qualification.mjs +2 -2
  78. package/fesm2020/lucca-front-ng-select.mjs +2 -2
  79. package/fesm2020/lucca-front-ng-tooltip.mjs +2 -2
  80. package/fesm2020/lucca-front-ng-tooltip.mjs.map +1 -1
  81. package/fesm2020/lucca-front-ng-user.mjs +8 -8
  82. package/formly/lib/types/api.d.ts +1 -2
  83. package/formly/style/_components.scss +13 -13
  84. package/formly/style/_theming.overridable.scss +1 -1
  85. package/formly/style/_theming.scss +1 -1
  86. package/formly/style/main.overridable.scss +2 -2
  87. package/formly/style/main.scss +2 -2
  88. package/material/style/_components.scss +11 -11
  89. package/material/style/_theming.scss +1 -1
  90. package/material/style/components/_autocomplete.scss +11 -11
  91. package/material/style/components/_buttons.scss +3 -3
  92. package/material/style/components/_datepicker.scss +116 -116
  93. package/material/style/components/_dialog.scss +26 -26
  94. package/material/style/components/_input.scss +3 -3
  95. package/material/style/components/_menu.scss +19 -19
  96. package/material/style/components/_mixins.scss +8 -8
  97. package/material/style/components/_options.scss +21 -21
  98. package/material/style/components/_select.scss +37 -37
  99. package/material/style/components/_tooltip.scss +19 -19
  100. package/material/style/main-v11.overridable.scss +12 -12
  101. package/material/style/main-v11.scss +12 -12
  102. package/material/style/main.overridable.scss +8 -8
  103. package/material/style/main.scss +8 -8
  104. package/package.json +1 -1
  105. package/style/_components.scss +8 -9
  106. package/style/_definitions.scss +9 -9
  107. package/style/_theming.overridable.scss +15 -15
  108. package/style/_theming.scss +9 -9
  109. package/style/components/_dropdown.scss +107 -107
  110. package/style/components/_input.scss +50 -50
  111. package/style/components/_picker.scss +62 -62
  112. package/style/components/_popover.scss +54 -54
  113. package/style/components/_popup.scss +34 -21
  114. package/style/components/_sidepanel.scss +39 -33
  115. package/style/components/cdk/_dragDrop.scss +61 -61
  116. package/style/components/cdk/_global.scss +7 -10
  117. package/style/components/cdk/_misc.scss +2 -2
  118. package/style/components/cdk/_overlay.scss +4 -4
  119. package/style/components/cdk/_textarea.scss +12 -12
  120. package/style/definitions/option/_option-item.scss +106 -106
  121. package/style/definitions/option/_option-placeholder.scss +10 -10
  122. package/style/definitions/option/_option-searcher.scss +46 -46
  123. package/style/definitions/option/_option-selector.scss +10 -10
  124. package/style/definitions/select/_select-clearer.scss +70 -70
  125. package/style/definitions/select/_select-input.scss +323 -323
  126. package/style/definitions/tooltip/_tooltip.scss +13 -13
  127. package/style/definitions/user/user-picture.scss +34 -34
  128. package/style/definitions/user/user-tile.scss +61 -61
  129. package/style/main.overridable.scss +3 -3
  130. package/style/main.scss +2 -2
  131. package/style/theme/_calendar.theme.scss +4 -4
  132. package/style/theme/_dropdown.theme.scss +6 -6
  133. package/style/theme/_options.theme.scss +25 -25
  134. package/style/theme/_popup.theme.scss +26 -26
  135. package/style/theme/_select.theme.scss +24 -24
  136. package/style/theme/_tooltip.theme.scss +7 -7
  137. package/style/theme/_user-picture.theme.scss +34 -34
@@ -1,19 +1,32 @@
1
+ @use '../../scss/src/commons/utils/media';
2
+
3
+ :root {
4
+ --components-popup-panel-background-color: #FFFFFF;
5
+ --components-popup-size-small: 32rem;
6
+ --components-popup-size-medium: 42rem;
7
+ --components-popup-size-large: 60rem;
8
+ --components-popup-padding-horizontal: 2rem;
9
+ --components-popup-padding-vertical: 1rem;
10
+ }
11
+
1
12
  .lu-popup-panel {
2
- @include elevate(3);
13
+ box-shadow: var(--commons-elevations-elevation-3);
3
14
  position: relative;
4
- background-color: _component("popup.panel.background-color");
5
- border-radius: _theme("commons.border.radius");
6
- width: _component("popup.sizes.medium");
15
+ background-color: var(--components-popup-panel-background-color);
16
+ border-radius: var(--commons-border-radius);
17
+ width: var(--components-popup-size-medium);
7
18
  max-width: 95%;
8
19
  max-height: 90vh;
9
20
  overflow: auto;
10
- animation: popupAnimation _theme("commons.animations.durations.fast") cubic-bezier(0.25, 0.8, 0.25, 1);
21
+ animation: popupAnimation var(--commons-animations-durations-fast) cubic-bezier(0.25, 0.8, 0.25, 1);
11
22
 
12
- @each $panel-size, $size-obj in _getMap("components.popup.sizes") {
13
- &.mod-#{$panel-size}, &.size-#{$panel-size} {
14
- width: _component("popup.sizes."+$panel-size);
15
- }
16
- }
23
+ &.mod-small, &.size-small {
24
+ width: var(--components-popup-size-small);
25
+ }
26
+
27
+ &.mod-large, &.size-large {
28
+ width: var(--components-popup-size-large);
29
+ }
17
30
  }
18
31
 
19
32
  .lu-modal-panel-inner {
@@ -23,7 +36,7 @@
23
36
  }
24
37
 
25
38
  .lu-modal-header {
26
- padding: _component("popup.padding.vertical") 4rem _component("popup.padding.vertical") _component("popup.padding.horizontal");
39
+ padding: var(--components-popup-padding-vertical) 4rem var(--components-popup-padding-vertical) var(--components-popup-padding-horizontal);
27
40
  position: relative;
28
41
  }
29
42
 
@@ -43,21 +56,21 @@
43
56
  right: .6rem;
44
57
  top: .6rem;
45
58
  border-radius: 50%;
46
- transition: background _theme("commons.animations.durations.fast") ease;
59
+ transition: background var(--commons-animations-durations-fast) ease;
47
60
 
48
61
  .lucca-icon {
49
62
  font-size: 1.5rem;
50
- color: _color("text.default");
63
+ color: var(--palettes-grey-700);
51
64
  }
52
65
 
53
66
  &:hover,
54
67
  &:focus {
55
- background-color: _component("button.default-palette.100");
68
+ background-color: var(--palettes-primary-100);
56
69
  }
57
70
  }
58
71
 
59
72
  .lu-modal-content {
60
- padding: 0 _component("popup.padding.horizontal");
73
+ padding: 0 var(--components-popup-padding-horizontal);
61
74
  overflow: auto;
62
75
  height: auto;
63
76
 
@@ -65,7 +78,7 @@
65
78
  &:after {
66
79
  content: '';
67
80
  display: block;
68
- padding-bottom: _component("popup.padding.vertical");
81
+ padding-bottom: var(--components-popup-padding-vertical);
69
82
  }
70
83
 
71
84
  &.mod-noPadding {
@@ -78,8 +91,8 @@
78
91
  }
79
92
 
80
93
  .lu-modal-footer {
81
- border-top: 1px solid _theme("commons.divider.color");
82
- padding: _theme("spacings.smaller") _theme("spacings.small") _theme("spacings.smaller") _component("popup.padding.horizontal");
94
+ border-top: var(--commons-divider-width) solid var(--commons-divider-color);
95
+ padding: var(--spacings-smaller) var(--spacings-small) var(--spacings-smaller) var(--components-popup-padding-horizontal);
83
96
  display: flex;
84
97
  margin-top: auto;
85
98
  align-items: center;
@@ -103,7 +116,7 @@
103
116
  }
104
117
  }
105
118
 
106
- @include media_smaller_than("xxs") {
119
+ @include media.smallerThan('xxs') {
107
120
  .lu-popup-panel {
108
121
  border-radius: 0;
109
122
  max-width: none;
@@ -134,8 +147,8 @@
134
147
  }
135
148
  }
136
149
  .lu-modal-content-title {
137
- color: _color("grey", 800);
138
- font-size: _theme('sizes.bigger.font-size');
150
+ color: var(--palettes-grey-800);
151
+ font-size: var(--sizes-biiger-font-size);
139
152
  margin-top: 2.5rem;
140
153
  }
141
154
  .button {
@@ -1,37 +1,43 @@
1
- .lu-popup-panel {
2
- &.mod-sidepanel {
3
- position: fixed !important;
4
- top: 0;
5
- right: 0;
6
- bottom: 0;
7
- width: _component("sidepanel.sizes.small");
8
- max-width: 100%;
9
- max-height: 100vh;
10
- border-radius: 0;
11
- animation-name: sidepanelAnimation;
12
- transform-origin: center center;
13
-
14
- @each $panel-size, $size-obj in _getMap("components.sidepanel.sizes") {
15
- &.mod-#{$panel-size}, &.size-#{$panel-size} {
16
- width: _component("sidepanel.sizes."+$panel-size);
17
- }
18
- }
19
- }
1
+ :root {
2
+ --components-sidepanel-size-small: 40rem;
3
+ --components-sidepanel-size-medium: 55rem;
4
+ --components-sidepanel-size-large: 70rem;
20
5
  }
21
6
 
22
- .lu-sidepanel-panel-inner {
23
- display: flex;
24
- overflow: auto;
25
- height: 100%;
26
- flex-flow: column;
27
- }
7
+ // .lu-popup-panel {
8
+ // &.mod-sidepanel {
9
+ // position: fixed !important;
10
+ // top: 0;
11
+ // right: 0;
12
+ // bottom: 0;
13
+ // width: _component("sidepanel.sizes.small");
14
+ // max-width: 100%;
15
+ // max-height: 100vh;
16
+ // border-radius: 0;
17
+ // animation-name: sidepanelAnimation;
18
+ // transform-origin: center center;
28
19
 
29
- @keyframes sidepanelAnimation {
30
- from {
31
- transform: translate(_theme("commons.animations.translate"), 0);
32
- }
20
+ // @each $panel-size, $size-obj in _getMap("components.sidepanel.sizes") {
21
+ // &.mod-#{$panel-size}, &.size-#{$panel-size} {
22
+ // width: _component("sidepanel.sizes."+$panel-size);
23
+ // }
24
+ // }
25
+ // }
26
+ // }
33
27
 
34
- to {
35
- transform: translate(0, 0);
36
- }
37
- }
28
+ // .lu-sidepanel-panel-inner {
29
+ // display: flex;
30
+ // overflow: auto;
31
+ // height: 100%;
32
+ // flex-flow: column;
33
+ // }
34
+
35
+ // @keyframes sidepanelAnimation {
36
+ // from {
37
+ // transform: translate(_theme("commons.animations.translate"), 0);
38
+ // }
39
+
40
+ // to {
41
+ // transform: translate(0, 0);
42
+ // }
43
+ // }
@@ -1,68 +1,68 @@
1
- @import '~@lucca-front/scss/src/_mixins';
1
+ // @import '~@lucca-front/scss/src/_mixins';
2
2
 
3
- .cdk-drag-placeholder {
4
- box-shadow: fakeborderoverlay(_color("grey", "200"));
5
- background-color: _color("grey", "100");
6
- * {
7
- opacity: 0;
8
- }
9
- }
3
+ // .cdk-drag-placeholder {
4
+ // box-shadow: fakeborderoverlay(_color("grey", "200"));
5
+ // background-color: _color("grey", "100");
6
+ // * {
7
+ // opacity: 0;
8
+ // }
9
+ // }
10
10
 
11
- .cdk-drag-handle,
12
- .cdk-drag-placeholder {
13
- cursor: move;
14
- }
11
+ // .cdk-drag-handle,
12
+ // .cdk-drag-placeholder {
13
+ // cursor: move;
14
+ // }
15
15
 
16
- .dragDrop-card {
17
- z-index: 1;
18
- }
16
+ // .dragDrop-card {
17
+ // z-index: 1;
18
+ // }
19
19
 
20
- .dragDrop-list {
21
- border-radius: _theme("commons.border.radius", true);
22
- border-radius: _theme("commons.border.radius");
23
- }
20
+ // .dragDrop-list {
21
+ // border-radius: _theme("commons.border.radius", true);
22
+ // border-radius: _theme("commons.border.radius");
23
+ // }
24
24
 
25
- .dragDrop-item {
26
- cursor: grab;
27
- &:not(.cdk-drag-placeholder) {
28
- &:first-of-type {
29
- border-top-left-radius: _theme("commons.border.radius", true);
30
- border-top-left-radius: _theme("commons.border.radius");
31
- border-top-right-radius: _theme("commons.border.radius", true);
32
- border-top-right-radius: _theme("commons.border.radius");
33
- }
34
- &:last-of-type {
35
- border-bottom-left-radius: _theme("commons.border.radius", true);
36
- border-bottom-left-radius: _theme("commons.border.radius");
37
- border-bottom-right-radius: _theme("commons.border.radius", true);
38
- border-bottom-right-radius: _theme("commons.border.radius");
39
- }
40
- }
41
- &:active {
42
- cursor: grabbing;
43
- }
44
- }
45
- .dragDrop-item-content {
46
- padding: _theme("spacings.smaller", true);
47
- padding: _theme("spacings.smaller");
48
- }
25
+ // .dragDrop-item {
26
+ // cursor: grab;
27
+ // &:not(.cdk-drag-placeholder) {
28
+ // &:first-of-type {
29
+ // border-top-left-radius: _theme("commons.border.radius", true);
30
+ // border-top-left-radius: _theme("commons.border.radius");
31
+ // border-top-right-radius: _theme("commons.border.radius", true);
32
+ // border-top-right-radius: _theme("commons.border.radius");
33
+ // }
34
+ // &:last-of-type {
35
+ // border-bottom-left-radius: _theme("commons.border.radius", true);
36
+ // border-bottom-left-radius: _theme("commons.border.radius");
37
+ // border-bottom-right-radius: _theme("commons.border.radius", true);
38
+ // border-bottom-right-radius: _theme("commons.border.radius");
39
+ // }
40
+ // }
41
+ // &:active {
42
+ // cursor: grabbing;
43
+ // }
44
+ // }
45
+ // .dragDrop-item-content {
46
+ // padding: _theme("spacings.smaller", true);
47
+ // padding: _theme("spacings.smaller");
48
+ // }
49
49
 
50
- .cdk-drag-preview {
51
- z-index: 9999 !important;
52
- box-sizing: border-box;
53
- box-shadow: fakeborderoverlay(_color("secondary", "200"));
54
- background-color: _color("secondary", "50", true);
55
- background-color: _color("secondary", "50");
56
- border-radius: _theme("commons.border.radius", true);
57
- border-radius: _theme("commons.border.radius");
58
- cursor: grabbing;
59
- }
50
+ // .cdk-drag-preview {
51
+ // z-index: 9999 !important;
52
+ // box-sizing: border-box;
53
+ // box-shadow: fakeborderoverlay(_color("secondary", "200"));
54
+ // background-color: _color("secondary", "50", true);
55
+ // background-color: _color("secondary", "50");
56
+ // border-radius: _theme("commons.border.radius", true);
57
+ // border-radius: _theme("commons.border.radius");
58
+ // cursor: grabbing;
59
+ // }
60
60
 
61
- .cdk-drop-list-dragging {
62
- .dragDrop-item {
63
- cursor: grabbing;
64
- }
65
- .cdk-drag:not(.cdk-drag-placeholder) {
66
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
67
- }
68
- }
61
+ // .cdk-drop-list-dragging {
62
+ // .dragDrop-item {
63
+ // cursor: grabbing;
64
+ // }
65
+ // .cdk-drag:not(.cdk-drag-placeholder) {
66
+ // transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
67
+ // }
68
+ // }
@@ -4,9 +4,6 @@
4
4
  pointer-events: none;
5
5
  top: 0;
6
6
  width: 100%;
7
- }
8
-
9
- .cdk-global-overlay-wrapper {
10
7
  display: flex;
11
8
  position: absolute;
12
9
  z-index: 1000;
@@ -14,10 +11,10 @@
14
11
 
15
12
  .cdk-global-scrollblock {
16
13
  &,
17
- body {
18
- touch-action: none;
19
- overscroll-behavior: none;
20
- -webkit-overflow-scrolling: auto;
21
- overflow: hidden;
22
- }
23
- }
14
+ body {
15
+ touch-action: none;
16
+ overscroll-behavior: none;
17
+ -webkit-overflow-scrolling: auto;
18
+ overflow: hidden;
19
+ }
20
+ }
@@ -8,5 +8,5 @@
8
8
  position: absolute !important;
9
9
  width: 1px !important;
10
10
  white-space: nowrap !important;
11
- contain: paint !important
12
- }
11
+ contain: paint !important;
12
+ }
@@ -7,6 +7,7 @@
7
7
  top: 0;
8
8
  width: 100%;
9
9
  }
10
+
10
11
  .cdk-overlay-connected-position-bounding-box {
11
12
  position: absolute;
12
13
  z-index: 1000;
@@ -47,19 +48,18 @@
47
48
  }
48
49
 
49
50
  .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.lu-popup-backdrop {
50
- opacity: _component("popup.backdrop.opacity");
51
- animation: fadeInBackdrop _theme("commons.animations.durations.fast") ease-out;
51
+ opacity: _component('popup.backdrop.opacity');
52
+ animation: fadeInBackdrop _theme('commons.animations.durations.fast') ease-out;
52
53
  }
53
54
 
54
55
  // MODS
55
56
  // ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
56
57
 
57
58
  .cdk-overlay-pane {
58
-
59
59
  /* Option picker */
60
60
 
61
61
  &.mod-optionPicker {
62
62
  min-width: 13rem;
63
63
  max-width: 30rem;
64
64
  }
65
- }
65
+ }
@@ -1,13 +1,13 @@
1
- .cdk-textarea-autosize {
2
- resize: none;
3
- line-height: 1.3;
4
- box-sizing: content-box;
5
- width: calc(100% - (2 * #{_component("textfield.input.padding-horizontal")}));
6
- }
1
+ // .cdk-textarea-autosize {
2
+ // resize: none;
3
+ // line-height: 1.3;
4
+ // box-sizing: content-box;
5
+ // width: calc(100% - (2 * #{_component("textfield.input.padding-horizontal")}));
6
+ // }
7
7
 
8
- .cdk-textarea-autosize-measuring {
9
- height: auto !important;
10
- overflow: hidden !important;
11
- padding: 2px 0 !important;
12
- box-sizing: content-box !important;
13
- }
8
+ // .cdk-textarea-autosize-measuring {
9
+ // height: auto !important;
10
+ // overflow: hidden !important;
11
+ // padding: 2px 0 !important;
12
+ // box-sizing: content-box !important;
13
+ // }
@@ -1,121 +1,121 @@
1
- @import '~@lucca-front/icons/src/_mixins';
1
+ // @import '~@lucca-front/icons/src/_mixins';
2
2
 
3
- @mixin optionItemStyle {
4
- :host {
5
- display: block;
6
- }
3
+ // @mixin optionItemStyle {
4
+ // :host {
5
+ // display: block;
6
+ // }
7
7
 
8
- .optionItem {
9
- position: relative;
10
- }
8
+ // .optionItem {
9
+ // position: relative;
10
+ // }
11
11
 
12
- .optionItem-value {
13
- display: block;
14
- cursor: pointer;
15
- padding: #{_component("options.item.padding-vertical", true)} #{_component("options.item.padding-horizontal", true)};
16
- padding: _component("options.item.padding-vertical") _component("options.item.padding-horizontal");
17
- transition: background 50ms ease;
12
+ // .optionItem-value {
13
+ // display: block;
14
+ // cursor: pointer;
15
+ // padding: #{_component("options.item.padding-vertical", true)} #{_component("options.item.padding-horizontal", true)};
16
+ // padding: _component("options.item.padding-vertical") _component("options.item.padding-horizontal");
17
+ // transition: background 50ms ease;
18
18
 
19
- &.is-selected {
20
- background: _theme('commons.selected',true);
21
- background: _theme('commons.selected');
22
- }
19
+ // &.is-selected {
20
+ // background: _theme('commons.selected',true);
21
+ // background: _theme('commons.selected');
22
+ // }
23
23
 
24
- &:hover, &.is-highlighted, &.is-focus{
25
- background: _theme('commons.highlight',true);
26
- background: _theme('commons.highlight');
27
- }
28
- }
24
+ // &:hover, &.is-highlighted, &.is-focus{
25
+ // background: _theme('commons.highlight',true);
26
+ // background: _theme('commons.highlight');
27
+ // }
28
+ // }
29
29
 
30
- :host-context(.lu-select-value) {
31
- .optionItem-value {
32
- padding: 0;
33
- overflow: hidden;
34
- text-overflow: ellipsis;
30
+ // :host-context(.lu-select-value) {
31
+ // .optionItem-value {
32
+ // padding: 0;
33
+ // overflow: hidden;
34
+ // text-overflow: ellipsis;
35
35
 
36
- &:hover, &.is-focus, &.is-highlighted {
37
- background: inherit;
38
- }
39
- }
40
- }
36
+ // &:hover, &.is-focus, &.is-highlighted {
37
+ // background: inherit;
38
+ // }
39
+ // }
40
+ // }
41
41
 
42
- :host-context(.mod-multiple) {
43
- .optionItem-value {
44
- position: relative;
45
- padding-left: _component("options.item.multiple-padding", true);
46
- padding-left: _component("options.item.multiple-padding");
42
+ // :host-context(.mod-multiple) {
43
+ // .optionItem-value {
44
+ // position: relative;
45
+ // padding-left: _component("options.item.multiple-padding", true);
46
+ // padding-left: _component("options.item.multiple-padding");
47
47
 
48
- &::after, &::before {
49
- display: block;
50
- position: absolute;
51
- left: _component("options.checkbox.left", true);
52
- left: _component("options.checkbox.left");
53
- top: 50%;
54
- transform: translateY(-50%);
55
- }
48
+ // &::after, &::before {
49
+ // display: block;
50
+ // position: absolute;
51
+ // left: _component("options.checkbox.left", true);
52
+ // left: _component("options.checkbox.left");
53
+ // top: 50%;
54
+ // transform: translateY(-50%);
55
+ // }
56
56
 
57
- &::before {
58
- border-radius: _component("options.checkbox.border.radius", true);
59
- border-radius: _component("options.checkbox.border.radius");
60
- box-shadow: inset 0 0 0 2px _component("options.checkbox.border.color", true);
61
- box-shadow: inset 0 0 0 2px _component("options.checkbox.border.color");
62
- content: "";
63
- display: block;
64
- height: _component("options.checkbox.size", true);
65
- height: _component("options.checkbox.size");
66
- transition: all 100ms ease;
67
- width: _component("options.checkbox.size", true);
68
- width: _component("options.checkbox.size");
69
- }
57
+ // &::before {
58
+ // border-radius: _component("options.checkbox.border.radius", true);
59
+ // border-radius: _component("options.checkbox.border.radius");
60
+ // box-shadow: inset 0 0 0 2px _component("options.checkbox.border.color", true);
61
+ // box-shadow: inset 0 0 0 2px _component("options.checkbox.border.color");
62
+ // content: "";
63
+ // display: block;
64
+ // height: _component("options.checkbox.size", true);
65
+ // height: _component("options.checkbox.size");
66
+ // transition: all 100ms ease;
67
+ // width: _component("options.checkbox.size", true);
68
+ // width: _component("options.checkbox.size");
69
+ // }
70
70
 
71
- &::after {
72
- color: white;
73
- font-size: .8rem;
74
- @include makeIcon("tick");
75
- line-height: _component("options.checkbox.size", true);
76
- line-height: _component("options.checkbox.size");
77
- padding-top: .05rem;
78
- position: absolute;
79
- text-align: center;
80
- transform: translateY(-50%) scale(0);
81
- transition: all 100ms ease;
82
- width: _component("options.checkbox.size", true);
83
- width: _component("options.checkbox.size");
84
- }
71
+ // &::after {
72
+ // color: white;
73
+ // font-size: .8rem;
74
+ // @include makeIcon("tick");
75
+ // line-height: _component("options.checkbox.size", true);
76
+ // line-height: _component("options.checkbox.size");
77
+ // padding-top: .05rem;
78
+ // position: absolute;
79
+ // text-align: center;
80
+ // transform: translateY(-50%) scale(0);
81
+ // transition: all 100ms ease;
82
+ // width: _component("options.checkbox.size", true);
83
+ // width: _component("options.checkbox.size");
84
+ // }
85
85
 
86
- &.is-selected {
87
- &::before {
88
- background-color: _component("options.checkbox.color", true);
89
- background-color: _component("options.checkbox.color");
90
- box-shadow: inset 0 0 0 2px #{_component("options.checkbox.color", true)};
91
- box-shadow: inset 0 0 0 2px _component("options.checkbox.color");
92
- }
86
+ // &.is-selected {
87
+ // &::before {
88
+ // background-color: _component("options.checkbox.color", true);
89
+ // background-color: _component("options.checkbox.color");
90
+ // box-shadow: inset 0 0 0 2px #{_component("options.checkbox.color", true)};
91
+ // box-shadow: inset 0 0 0 2px _component("options.checkbox.color");
92
+ // }
93
93
 
94
- &::after {
95
- transform: translateY(-50%) scale(1);
96
- }
97
- }
94
+ // &::after {
95
+ // transform: translateY(-50%) scale(1);
96
+ // }
97
+ // }
98
98
 
99
- &:hover {
100
- &::before {
101
- box-shadow: inset 0 0 0 2px #{_component("options.checkbox.color", true)};
102
- box-shadow: inset 0 0 0 2px _component("options.checkbox.color");
103
- }
104
- }
105
- }
99
+ // &:hover {
100
+ // &::before {
101
+ // box-shadow: inset 0 0 0 2px #{_component("options.checkbox.color", true)};
102
+ // box-shadow: inset 0 0 0 2px _component("options.checkbox.color");
103
+ // }
104
+ // }
105
+ // }
106
106
 
107
- &.establishmentOption {
108
- .optionItem-value {
109
- position: relative;
110
- padding-left: calc(2 * #{_component("options.item.padding-horizontal", true)} + #{_component("options.checkbox.size", true)} + #{_theme("spacings.smaller", true)});
111
- padding-left: calc(2 * #{_component("options.item.padding-horizontal")} + #{_component("options.checkbox.size")} + #{_theme("spacings.smaller")});
112
- }
113
- .optionItem-value {
114
- &::before, &::after {
115
- left: calc(2 * #{_component("options.item.padding-horizontal", true)});
116
- left: calc(2 * #{_component("options.item.padding-horizontal")});
117
- }
118
- }
119
- }
120
- }
121
- }
107
+ // &.establishmentOption {
108
+ // .optionItem-value {
109
+ // position: relative;
110
+ // padding-left: calc(2 * #{_component("options.item.padding-horizontal", true)} + #{_component("options.checkbox.size", true)} + #{_theme("spacings.smaller", true)});
111
+ // padding-left: calc(2 * #{_component("options.item.padding-horizontal")} + #{_component("options.checkbox.size")} + #{_theme("spacings.smaller")});
112
+ // }
113
+ // .optionItem-value {
114
+ // &::before, &::after {
115
+ // left: calc(2 * #{_component("options.item.padding-horizontal", true)});
116
+ // left: calc(2 * #{_component("options.item.padding-horizontal")});
117
+ // }
118
+ // }
119
+ // }
120
+ // }
121
+ // }