mis-crystal-design-system 18.0.21-test-1 → 18.0.22-test-dynamic-theme
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/button/button.directive.scss +69 -0
- package/drawer/drawer.scss +20 -0
- package/dynamic-theme/branding.types.d.ts +84 -0
- package/dynamic-theme/dynamic-theme.module.d.ts +9 -0
- package/dynamic-theme/dynamic-theme.service.d.ts +89 -0
- package/dynamic-theme/index.d.ts +1 -0
- package/dynamic-theme/public_api.d.ts +3 -0
- package/esm2022/action-list/action-list.component.mjs +2 -2
- package/esm2022/async-search-dropdown/async-dropdown.component.mjs +2 -2
- package/esm2022/button/button.component.mjs +2 -2
- package/esm2022/checkbox/checkbox.component.mjs +2 -2
- package/esm2022/chip/chip.component.mjs +2 -2
- package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +2 -2
- package/esm2022/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +2 -2
- package/esm2022/dropdown/dropdown.component.mjs +7 -7
- package/esm2022/dynamic-form/dynamic-form.component.mjs +2 -2
- package/esm2022/dynamic-theme/branding.types.mjs +93 -0
- package/esm2022/dynamic-theme/dynamic-theme.module.mjs +25 -0
- package/esm2022/dynamic-theme/dynamic-theme.service.mjs +193 -0
- package/esm2022/dynamic-theme/index.mjs +2 -0
- package/esm2022/dynamic-theme/mis-crystal-design-system-dynamic-theme.mjs +5 -0
- package/esm2022/dynamic-theme/public_api.mjs +4 -0
- package/esm2022/fab/fab.component.mjs +3 -3
- package/esm2022/filter/filter-panel/filter-panel.component.mjs +3 -3
- package/esm2022/input/mis-input.component.mjs +2 -2
- package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +2 -2
- package/esm2022/loader/loader.component.mjs +2 -2
- package/esm2022/mobile-filter/mobile-filter.component.mjs +2 -2
- package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +2 -2
- package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +2 -2
- package/esm2022/phone-input/phone-input.component.mjs +2 -2
- package/esm2022/public-api.mjs +1 -1
- package/esm2022/radio-button/radio-button.component.mjs +2 -2
- package/esm2022/ske-loader/ske-loader.component.mjs +2 -2
- package/esm2022/slider/slider.component.mjs +2 -2
- package/esm2022/snackbar/snackbar/snackbar.component.mjs +2 -2
- package/esm2022/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +2 -2
- package/esm2022/star-rating/star-rating.component.mjs +2 -2
- package/esm2022/switch/switch.component.mjs +2 -2
- package/esm2022/table/actions-cell/actions-cell.component.mjs +2 -2
- package/esm2022/table/filter/filter.component.mjs +2 -2
- package/esm2022/table/sub-table/sub-table.component.mjs +2 -2
- package/esm2022/table/table.component.mjs +2 -2
- package/esm2022/timepicker/timepicker.component.mjs +2 -2
- package/esm2022/toast/toast.component.mjs +3 -3
- package/esm2022/tooltip/tooltip-container/tooltip.component.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-action-list.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-action-list.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-button.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-button.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-checkbox.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-chip.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-chip.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-dropdown.mjs +6 -6
- package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-dynamic-form.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-dynamic-theme.mjs +313 -0
- package/fesm2022/mis-crystal-design-system-dynamic-theme.mjs.map +1 -0
- package/fesm2022/mis-crystal-design-system-fab.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-fab.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-filter.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-filter.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-input-stepper.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-input-stepper.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-input.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-input.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-loader.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-loader.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-mobile-filter.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-phone-input.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-phone-input.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-radio-button.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-radio-button.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-ske-loader.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-slider.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-slider.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-snackbar.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-star-rating.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-switch.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-switch.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-table.mjs +8 -8
- package/fesm2022/mis-crystal-design-system-table.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-timepicker.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-timepicker.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-toast.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-toast.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system-tooltip.mjs +2 -2
- package/fesm2022/mis-crystal-design-system-tooltip.mjs.map +1 -1
- package/fesm2022/mis-crystal-design-system.mjs.map +1 -1
- package/input/mis-input.component.scss +180 -0
- package/modal/modal.scss +9 -0
- package/package.json +19 -13
- package/styles/fonts/icomoon.eot +0 -0
- package/styles/fonts/icomoon.svg +315 -0
- package/styles/fonts/icomoon.ttf +0 -0
- package/styles/fonts/icomoon.woff +0 -0
- package/styles/mis-borders-backgrounds.scss +764 -0
- package/styles/mis-color-constants.scss +149 -0
- package/styles/mis-dynamic-theme-color-var.scss +324 -0
- package/styles/mis-flex.scss +321 -0
- package/styles/mis-fonts.scss +124 -0
- package/styles/mis-icons.scss +1054 -0
- package/styles/mis-mixins.scss +46 -0
- package/styles/mis-old-icon-styles.scss +498 -0
- package/styles/mis-spacing-sizing.scss +2590 -0
- package/styles/mis-typography.scss +462 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
@import "../styles/mis-color-constants.scss";
|
|
2
|
+
|
|
3
|
+
.input-container {
|
|
4
|
+
position: relative;
|
|
5
|
+
padding-bottom: 24px;
|
|
6
|
+
&.mis-disabled {
|
|
7
|
+
.input-wrapper {
|
|
8
|
+
pointer-events: none !important;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
.input-wrapper {
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
flex-wrap: nowrap;
|
|
17
|
+
transition: all ease-in 60ms;
|
|
18
|
+
background-color: var(--bg-primary);
|
|
19
|
+
padding: 3px 16px; // DONE CHANGE
|
|
20
|
+
gap: 16px;
|
|
21
|
+
.mis-input {
|
|
22
|
+
flex: 1 1 auto;
|
|
23
|
+
z-index: 0;
|
|
24
|
+
position: relative;
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
}
|
|
28
|
+
input {
|
|
29
|
+
flex: 1 1 auto;
|
|
30
|
+
border: none;
|
|
31
|
+
outline: none;
|
|
32
|
+
height: 100%;
|
|
33
|
+
padding: 0;
|
|
34
|
+
font-family: Lato;
|
|
35
|
+
font-style: normal;
|
|
36
|
+
font-weight: normal;
|
|
37
|
+
font-size: 16px;
|
|
38
|
+
height: 24px;
|
|
39
|
+
color: var(--text-primary);
|
|
40
|
+
background-color: transparent;
|
|
41
|
+
width: 100%;
|
|
42
|
+
vertical-align: middle;
|
|
43
|
+
&::placeholder {
|
|
44
|
+
transition: all ease-in 100ms;
|
|
45
|
+
opacity: 0;
|
|
46
|
+
transform-origin: left center;
|
|
47
|
+
color: transparent;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
.mis-placeholder {
|
|
51
|
+
position: absolute;
|
|
52
|
+
font-family: Lato;
|
|
53
|
+
font-style: normal;
|
|
54
|
+
font-weight: normal;
|
|
55
|
+
font-size: 16px;
|
|
56
|
+
line-height: 24px;
|
|
57
|
+
color: var(--text-secondary);
|
|
58
|
+
z-index: -1;
|
|
59
|
+
transition: all ease-in 150ms;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&:focus-within {
|
|
63
|
+
background-color: var(--bg-tertiary);
|
|
64
|
+
}
|
|
65
|
+
&:focus-within {
|
|
66
|
+
border: 1px solid $pmry_500;
|
|
67
|
+
}
|
|
68
|
+
[mis-input-act],
|
|
69
|
+
[mis-input-icon] {
|
|
70
|
+
width: 18px;
|
|
71
|
+
height: 18px;
|
|
72
|
+
color: var(--text-secondary);
|
|
73
|
+
font-size: 24px;
|
|
74
|
+
line-height: 18px;
|
|
75
|
+
}
|
|
76
|
+
[mis-input-act] {
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
&.no-hint {
|
|
81
|
+
padding-bottom: 0px;
|
|
82
|
+
}
|
|
83
|
+
&.rounded {
|
|
84
|
+
input {
|
|
85
|
+
box-sizing: initial;
|
|
86
|
+
}
|
|
87
|
+
&.sm {
|
|
88
|
+
input {
|
|
89
|
+
padding: 3px 16px;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
&.md {
|
|
93
|
+
input {
|
|
94
|
+
padding: 9px 16px;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
&.lg {
|
|
98
|
+
input {
|
|
99
|
+
padding: 15px 16px;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
.input-wrapper {
|
|
103
|
+
border-radius: 4px;
|
|
104
|
+
border: 1px solid var(--border-primary);
|
|
105
|
+
padding: 0;
|
|
106
|
+
// input:not(:disabled) {
|
|
107
|
+
// &:hover,
|
|
108
|
+
// &:focus {
|
|
109
|
+
// background-color: #f5f5f5;
|
|
110
|
+
// }
|
|
111
|
+
// }
|
|
112
|
+
&:hover {
|
|
113
|
+
background-color: var(--bg-tertiary);
|
|
114
|
+
}
|
|
115
|
+
&:focus-within {
|
|
116
|
+
border: 1px solid var(--brand-primary);
|
|
117
|
+
}
|
|
118
|
+
input:not(:placeholder-shown) + .mis-placeholder {
|
|
119
|
+
color: transparent !important;
|
|
120
|
+
}
|
|
121
|
+
.mis-placeholder {
|
|
122
|
+
margin-left: 16px;
|
|
123
|
+
transition-duration: 50ms;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
&.has-error {
|
|
127
|
+
.input-wrapper {
|
|
128
|
+
border: 1px solid var(--brand-error) !important;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
&.floating {
|
|
133
|
+
.input-wrapper {
|
|
134
|
+
padding-top: 24px;
|
|
135
|
+
padding-bottom: 7px; // DONE CHANGE
|
|
136
|
+
border-bottom: 1px solid var(--border-primary);
|
|
137
|
+
input:focus + .mis-placeholder {
|
|
138
|
+
color: var(--brand-primary) !important;
|
|
139
|
+
}
|
|
140
|
+
input:not(:placeholder-shown) + .mis-placeholder,
|
|
141
|
+
input:focus + .mis-placeholder {
|
|
142
|
+
transform: translateY(calc(-100% + 6px)) !important;
|
|
143
|
+
font-size: 12px !important;
|
|
144
|
+
letter-spacing: 0.2px !important;
|
|
145
|
+
}
|
|
146
|
+
&:focus-within {
|
|
147
|
+
border: none;
|
|
148
|
+
border-bottom: 1px solid var(--brand-primary);
|
|
149
|
+
input::placeholder {
|
|
150
|
+
color: var(--text-secondary);
|
|
151
|
+
opacity: 1;
|
|
152
|
+
font-size: 16px;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
&.has-error {
|
|
157
|
+
.input-wrapper {
|
|
158
|
+
border-bottom: 1px solid var(--brand-error) !important;
|
|
159
|
+
.mis-placeholder {
|
|
160
|
+
color: var(--brand-error) !important;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
[mis-input-hint],
|
|
166
|
+
[mis-input-error] {
|
|
167
|
+
position: absolute;
|
|
168
|
+
left: 0;
|
|
169
|
+
right: 0px;
|
|
170
|
+
bottom: 0px;
|
|
171
|
+
line-height: 24px;
|
|
172
|
+
height: 24px;
|
|
173
|
+
font-size: 12px;
|
|
174
|
+
color: var(--text-secondary);
|
|
175
|
+
letter-spacing: 0.2px;
|
|
176
|
+
}
|
|
177
|
+
[mis-input-error] {
|
|
178
|
+
color: var(--brand-error);
|
|
179
|
+
}
|
|
180
|
+
}
|
package/modal/modal.scss
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mis-crystal-design-system",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.22-test-dynamic-theme",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "*",
|
|
6
6
|
"@angular/core": "*",
|
|
@@ -34,36 +34,36 @@
|
|
|
34
34
|
"esm": "./esm2022/analytics/mis-crystal-design-system-analytics.mjs",
|
|
35
35
|
"default": "./fesm2022/mis-crystal-design-system-analytics.mjs"
|
|
36
36
|
},
|
|
37
|
-
"./async-search-dropdown": {
|
|
38
|
-
"types": "./async-search-dropdown/index.d.ts",
|
|
39
|
-
"esm2022": "./esm2022/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs",
|
|
40
|
-
"esm": "./esm2022/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs",
|
|
41
|
-
"default": "./fesm2022/mis-crystal-design-system-async-search-dropdown.mjs"
|
|
42
|
-
},
|
|
43
37
|
"./button": {
|
|
44
38
|
"types": "./button/index.d.ts",
|
|
45
39
|
"esm2022": "./esm2022/button/mis-crystal-design-system-button.mjs",
|
|
46
40
|
"esm": "./esm2022/button/mis-crystal-design-system-button.mjs",
|
|
47
41
|
"default": "./fesm2022/mis-crystal-design-system-button.mjs"
|
|
48
42
|
},
|
|
43
|
+
"./async-search-dropdown": {
|
|
44
|
+
"types": "./async-search-dropdown/index.d.ts",
|
|
45
|
+
"esm2022": "./esm2022/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs",
|
|
46
|
+
"esm": "./esm2022/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs",
|
|
47
|
+
"default": "./fesm2022/mis-crystal-design-system-async-search-dropdown.mjs"
|
|
48
|
+
},
|
|
49
49
|
"./checkbox": {
|
|
50
50
|
"types": "./checkbox/index.d.ts",
|
|
51
51
|
"esm2022": "./esm2022/checkbox/mis-crystal-design-system-checkbox.mjs",
|
|
52
52
|
"esm": "./esm2022/checkbox/mis-crystal-design-system-checkbox.mjs",
|
|
53
53
|
"default": "./fesm2022/mis-crystal-design-system-checkbox.mjs"
|
|
54
54
|
},
|
|
55
|
-
"./datepicker_v2": {
|
|
56
|
-
"types": "./datepicker_v2/index.d.ts",
|
|
57
|
-
"esm2022": "./esm2022/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs",
|
|
58
|
-
"esm": "./esm2022/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs",
|
|
59
|
-
"default": "./fesm2022/mis-crystal-design-system-datepicker_v2.mjs"
|
|
60
|
-
},
|
|
61
55
|
"./chip": {
|
|
62
56
|
"types": "./chip/index.d.ts",
|
|
63
57
|
"esm2022": "./esm2022/chip/mis-crystal-design-system-chip.mjs",
|
|
64
58
|
"esm": "./esm2022/chip/mis-crystal-design-system-chip.mjs",
|
|
65
59
|
"default": "./fesm2022/mis-crystal-design-system-chip.mjs"
|
|
66
60
|
},
|
|
61
|
+
"./datepicker_v2": {
|
|
62
|
+
"types": "./datepicker_v2/index.d.ts",
|
|
63
|
+
"esm2022": "./esm2022/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs",
|
|
64
|
+
"esm": "./esm2022/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs",
|
|
65
|
+
"default": "./fesm2022/mis-crystal-design-system-datepicker_v2.mjs"
|
|
66
|
+
},
|
|
67
67
|
"./daterangepicker_v2": {
|
|
68
68
|
"types": "./daterangepicker_v2/index.d.ts",
|
|
69
69
|
"esm2022": "./esm2022/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs",
|
|
@@ -88,6 +88,12 @@
|
|
|
88
88
|
"esm": "./esm2022/dynamic-form/mis-crystal-design-system-dynamic-form.mjs",
|
|
89
89
|
"default": "./fesm2022/mis-crystal-design-system-dynamic-form.mjs"
|
|
90
90
|
},
|
|
91
|
+
"./dynamic-theme": {
|
|
92
|
+
"types": "./dynamic-theme/index.d.ts",
|
|
93
|
+
"esm2022": "./esm2022/dynamic-theme/mis-crystal-design-system-dynamic-theme.mjs",
|
|
94
|
+
"esm": "./esm2022/dynamic-theme/mis-crystal-design-system-dynamic-theme.mjs",
|
|
95
|
+
"default": "./fesm2022/mis-crystal-design-system-dynamic-theme.mjs"
|
|
96
|
+
},
|
|
91
97
|
"./fab": {
|
|
92
98
|
"types": "./fab/index.d.ts",
|
|
93
99
|
"esm2022": "./esm2022/fab/mis-crystal-design-system-fab.mjs",
|
|
Binary file
|