@sankhyalabs/ezui 1.1.8 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -72
- package/dist/cjs/{DataUnit-28b290cb.js → DataUnit-9a4a35ca.js} +415 -371
- package/dist/cjs/ez-action-chip.cjs.entry.js +41 -41
- package/dist/cjs/ez-button_14.cjs.entry.js +1911 -1911
- package/dist/cjs/ez-label-chip.cjs.entry.js +120 -120
- package/dist/cjs/ez-modal.cjs.entry.js +104 -104
- package/dist/cjs/ez-number-input.cjs.entry.js +236 -236
- package/dist/cjs/ez-time-input.cjs.entry.js +168 -168
- package/dist/cjs/form-metadata.cjs.entry.js +65 -65
- package/dist/collection/components/ez-action-chip/ez-action-chip.css +82 -82
- package/dist/collection/components/ez-action-chip/ez-action-chip.js +109 -109
- package/dist/collection/components/ez-button/ez-button.css +94 -94
- package/dist/collection/components/ez-button/ez-button.js +125 -125
- package/dist/collection/components/ez-calendar/ez-calendar.css +210 -210
- package/dist/collection/components/ez-calendar/ez-calendar.js +215 -215
- package/dist/collection/components/ez-check/ez-check.css +265 -265
- package/dist/collection/components/ez-check/ez-check.js +168 -168
- package/dist/collection/components/ez-collapsable-box/ez-collapsable-box.css +67 -67
- package/dist/collection/components/ez-collapsable-box/ez-collapsable-box.js +108 -108
- package/dist/collection/components/ez-combo-box/ez-combo-box-interfaces.js +2 -2
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +167 -167
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +363 -363
- package/dist/collection/components/ez-date-input/ez-date-input.css +38 -38
- package/dist/collection/components/ez-date-input/ez-date-input.js +172 -172
- package/dist/collection/components/ez-form/ez-form.css +19 -19
- package/dist/collection/components/ez-form/ez-form.js +368 -368
- package/dist/collection/components/ez-form/store/Form.actions.js +132 -132
- package/dist/collection/components/ez-form/store/Form.reducer.js +194 -194
- package/dist/collection/components/ez-form/store/Form.selectors.js +44 -44
- package/dist/collection/components/ez-form/subcomponents/DataUnit.js +251 -207
- package/dist/collection/components/ez-form/subcomponents/FormMetadata.js +16 -16
- package/dist/collection/components/ez-form/subcomponents/css/place-holder.css +23 -23
- package/dist/collection/components/ez-form/subcomponents/form-metadata.js +173 -173
- package/dist/collection/components/ez-form/subcomponents/place-holder.js +14 -14
- package/dist/collection/components/ez-form/subcomponents/structure/Field.js +71 -71
- package/dist/collection/components/ez-form/subcomponents/structure/FieldSet.js +27 -27
- package/dist/collection/components/ez-form/subcomponents/structure/FormSheet.js +40 -40
- package/dist/collection/components/ez-form/subcomponents/structure/NavigationBar.js +27 -27
- package/dist/collection/components/ez-icon/ez-icon.css +36 -36
- package/dist/collection/components/ez-icon/ez-icon.js +56 -56
- package/dist/collection/components/ez-label-chip/ez-label-chip.css +117 -117
- package/dist/collection/components/ez-label-chip/ez-label-chip.js +276 -276
- package/dist/collection/components/ez-modal/ez-modal.css +86 -86
- package/dist/collection/components/ez-modal/ez-modal.js +224 -224
- package/dist/collection/components/ez-number-input/ez-number-input.css +144 -144
- package/dist/collection/components/ez-number-input/ez-number-input.js +465 -465
- package/dist/collection/components/ez-popover/ez-popover.css +38 -38
- package/dist/collection/components/ez-popover/ez-popover.js +323 -323
- package/dist/collection/components/ez-search/ez-search.css +295 -295
- package/dist/collection/components/ez-search/ez-search.js +527 -527
- package/dist/collection/components/ez-tabselector/ez-tabselector.css +125 -125
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +283 -283
- package/dist/collection/components/ez-text-area/ez-text-area.css +139 -139
- package/dist/collection/components/ez-text-area/ez-text-area.js +267 -267
- package/dist/collection/components/ez-text-input/ez-text-input.css +169 -169
- package/dist/collection/components/ez-text-input/ez-text-input.js +395 -395
- package/dist/collection/components/ez-time-input/ez-time-input.css +155 -155
- package/dist/collection/components/ez-time-input/ez-time-input.js +326 -326
- package/dist/collection/index.js +1 -1
- package/dist/collection/servidor.js +100 -100
- package/dist/collection/utils/FloatingManager.js +15 -15
- package/dist/collection/utils/utils.js +6 -6
- package/dist/custom-elements/index.js +3125 -3081
- package/dist/esm/{DataUnit-69e518fa.js → DataUnit-d5d4c9a3.js} +415 -371
- package/dist/esm/ez-action-chip.entry.js +41 -41
- package/dist/esm/ez-button_14.entry.js +1911 -1911
- package/dist/esm/ez-label-chip.entry.js +120 -120
- package/dist/esm/ez-modal.entry.js +104 -104
- package/dist/esm/ez-number-input.entry.js +236 -236
- package/dist/esm/ez-time-input.entry.js +168 -168
- package/dist/esm/form-metadata.entry.js +65 -65
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-b0974f4f.entry.js → p-0fcdfb51.entry.js} +1 -1
- package/dist/ezui/p-dac7a6c2.js +1 -0
- package/dist/ezui/{p-db11c600.entry.js → p-dbef7060.entry.js} +1 -1
- package/dist/types/components/ez-action-chip/ez-action-chip.d.ts +16 -16
- package/dist/types/components/ez-button/ez-button.d.ts +20 -20
- package/dist/types/components/ez-calendar/ez-calendar.d.ts +42 -42
- package/dist/types/components/ez-check/ez-check.d.ts +32 -32
- package/dist/types/components/ez-collapsable-box/ez-collapsable-box.d.ts +18 -18
- package/dist/types/components/ez-combo-box/ez-combo-box-interfaces.d.ts +4 -4
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +68 -68
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +31 -31
- package/dist/types/components/ez-form/ez-form.d.ts +26 -31
- package/dist/types/components/ez-form/store/Form.actions.d.ts +111 -111
- package/dist/types/components/ez-form/store/Form.reducer.d.ts +20 -20
- package/dist/types/components/ez-form/store/Form.selectors.d.ts +14 -14
- package/dist/types/components/ez-form/subcomponents/DataUnit.d.ts +60 -55
- package/dist/types/components/ez-form/subcomponents/FormMetadata.d.ts +41 -41
- package/dist/types/components/ez-form/subcomponents/form-metadata.d.ts +15 -15
- package/dist/types/components/ez-form/subcomponents/place-holder.d.ts +3 -3
- package/dist/types/components/ez-form/subcomponents/structure/Field.d.ts +10 -10
- package/dist/types/components/ez-form/subcomponents/structure/FieldSet.d.ts +12 -12
- package/dist/types/components/ez-form/subcomponents/structure/FormSheet.d.ts +13 -13
- package/dist/types/components/ez-form/subcomponents/structure/NavigationBar.d.ts +17 -17
- package/dist/types/components/ez-icon/ez-icon.d.ts +5 -5
- package/dist/types/components/ez-label-chip/ez-label-chip.d.ts +40 -40
- package/dist/types/components/ez-modal/ez-modal.d.ts +32 -32
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +73 -73
- package/dist/types/components/ez-popover/ez-popover.d.ts +52 -52
- package/dist/types/components/ez-search/ez-search.d.ts +95 -95
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +31 -31
- package/dist/types/components/ez-text-area/ez-text-area.d.ts +49 -49
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +64 -64
- package/dist/types/components/ez-time-input/ez-time-input.d.ts +53 -53
- package/dist/types/index.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +2 -2
- package/package.json +114 -114
- package/dist/ezui/p-10ef58b3.js +0 -1
- package/react/components.d.ts +0 -22
- package/react/components.js +0 -25
- package/react/components.js.map +0 -1
- package/react/react-component-lib/createComponent.d.ts +0 -10
- package/react/react-component-lib/createComponent.js +0 -59
- package/react/react-component-lib/createComponent.js.map +0 -1
- package/react/react-component-lib/createOverlayComponent.d.ts +0 -20
- package/react/react-component-lib/createOverlayComponent.js +0 -89
- package/react/react-component-lib/createOverlayComponent.js.map +0 -1
- package/react/react-component-lib/index.d.ts +0 -2
- package/react/react-component-lib/index.js +0 -3
- package/react/react-component-lib/index.js.map +0 -1
- package/react/react-component-lib/interfaces.d.ts +0 -29
- package/react/react-component-lib/interfaces.js +0 -1
- package/react/react-component-lib/interfaces.js.map +0 -1
- package/react/react-component-lib/utils/attachProps.d.ts +0 -12
- package/react/react-component-lib/utils/attachProps.js +0 -96
- package/react/react-component-lib/utils/attachProps.js.map +0 -1
- package/react/react-component-lib/utils/case.d.ts +0 -2
- package/react/react-component-lib/utils/case.js +0 -7
- package/react/react-component-lib/utils/case.js.map +0 -1
- package/react/react-component-lib/utils/dev.d.ts +0 -2
- package/react/react-component-lib/utils/dev.js +0 -13
- package/react/react-component-lib/utils/dev.js.map +0 -1
- package/react/react-component-lib/utils/index.d.ts +0 -7
- package/react/react-component-lib/utils/index.js +0 -21
- package/react/react-component-lib/utils/index.js.map +0 -1
|
@@ -1,210 +1,210 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
--cal--font-family: var(--font-pattern, Arial);
|
|
3
|
-
--cal--color: var(--title--primary, #626e82);
|
|
4
|
-
--cal--text-shadow: var(--text-shadow, 0 0 0 #353535,0 0 1px transparent);
|
|
5
|
-
|
|
6
|
-
/* cal__body */
|
|
7
|
-
--cal__body--background-color: var(--background--xlight, #FFF);
|
|
8
|
-
--cal__body--padding: var(--space--medium, 12px);
|
|
9
|
-
--cal__body--border-radius: var(--border--radius-medium, 12px);
|
|
10
|
-
--cal__body--shadow: var(--shadow, 0px 0px 16px 0px #000);
|
|
11
|
-
|
|
12
|
-
/* cal__header */
|
|
13
|
-
--cal__header-line--stroke: 2px;
|
|
14
|
-
--cal__header-line--color: var(--color--strokes, #C0C0C0);
|
|
15
|
-
|
|
16
|
-
/* nav buttons */
|
|
17
|
-
--cal__nav-btn--fill: var(--text--primary, #008561);
|
|
18
|
-
--cal__nav-btn--over--fill: var(--color--primary, #350404);
|
|
19
|
-
--cal__nav-btn--width: 10px;
|
|
20
|
-
--cal__nav-btn--height: 16px;
|
|
21
|
-
--cal__nav-btn--previous-path: path("M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z");
|
|
22
|
-
--cal__nav-btn--next-path: path("M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z");
|
|
23
|
-
|
|
24
|
-
/* cell */
|
|
25
|
-
--cal__cell--margin: 0px var(--space--small, 12px);
|
|
26
|
-
--cal__cell--width: var(--space--large, 24px);
|
|
27
|
-
--cal__cell--padding: var(--space--extra-small, 3px) 0px;
|
|
28
|
-
--cal__cell--border-radius: var(--border--radius-small, 6px);
|
|
29
|
-
--cal__cell--over--background-color: var(--color--strokes, #C0C0C0);
|
|
30
|
-
--cal__cell--outset--color: var(--color--strokes, #C0C0C0);
|
|
31
|
-
--cal__cell--selected--background-color: var(--color--primary, #008561);
|
|
32
|
-
--cal__cell--selected--color: var(--color--inverted, #FFF);
|
|
33
|
-
|
|
34
|
-
/* btn today */
|
|
35
|
-
--cal__btn-today--color: var(--color--primary);
|
|
36
|
-
--cal__btn-today--hover--background-color: var(--color--strokes, #C0C0C0);
|
|
37
|
-
--cal__btn-today--border-radius: var(--border--radius-small, 6px);
|
|
38
|
-
|
|
39
|
-
/***************
|
|
40
|
-
host style
|
|
41
|
-
***************/
|
|
42
|
-
/*private*/
|
|
43
|
-
position: relative;
|
|
44
|
-
display: flex;
|
|
45
|
-
user-select: none;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.calendar{
|
|
49
|
-
/*private*/
|
|
50
|
-
z-index: var(--more-visible, 2);
|
|
51
|
-
display: flex;
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
|
|
54
|
-
/*public*/
|
|
55
|
-
background-color: var(--cal__body--background-color);
|
|
56
|
-
padding: var(--cal__body--padding);
|
|
57
|
-
border-radius: var(--cal__body--border-radius);
|
|
58
|
-
box-shadow: var(--cal__body--shadow);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.calendar__header{
|
|
62
|
-
/*private*/
|
|
63
|
-
display: flex;
|
|
64
|
-
justify-content: space-between;
|
|
65
|
-
padding-bottom: var(--space--medium, 12px);
|
|
66
|
-
margin: var(--space--small, 6px) var(--space--, 12px);
|
|
67
|
-
|
|
68
|
-
/*public*/
|
|
69
|
-
font-family: var(--cal--font-family);
|
|
70
|
-
color: var(--cal--color);
|
|
71
|
-
text-shadow: var(--cal--text-shadow);
|
|
72
|
-
border-bottom: solid var(--cal__header-line--stroke) var(--cal__header-line--color);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.calendar__btn-next, .calendar__btn-previous{
|
|
76
|
-
/*private*/
|
|
77
|
-
outline: none;
|
|
78
|
-
border: none;
|
|
79
|
-
background-color: unset;
|
|
80
|
-
cursor: pointer;
|
|
81
|
-
padding: 0px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.calendar__btn-next::after, .calendar__btn-previous::after{
|
|
85
|
-
/*private*/
|
|
86
|
-
content: '';
|
|
87
|
-
display: flex;
|
|
88
|
-
|
|
89
|
-
/*public*/
|
|
90
|
-
background-color: var(--cal__nav-btn--fill);/*parece estranho, mas o bg funciona como fill pq aplicaremos clip-path.*/
|
|
91
|
-
width: var(--cal__nav-btn--width);
|
|
92
|
-
height: var(--cal__nav-btn--height);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.calendar__btn-previous::after{
|
|
96
|
-
/*public*/
|
|
97
|
-
clip-path: var(--cal__nav-btn--previous-path);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.calendar__btn-next::after{
|
|
101
|
-
/*public*/
|
|
102
|
-
clip-path: var(--cal__nav-btn--next-path);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.calendar__btn-next:hover::after, .calendar__btn-previous:hover::after{
|
|
106
|
-
/*public*/
|
|
107
|
-
background-color: var(--cal__nav-btn--over--fill);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.calendar__lbl-month{
|
|
111
|
-
/*private*/
|
|
112
|
-
font-weight: var(--text-weight--large, 600);
|
|
113
|
-
font-size: var(--title--medium, 16px);
|
|
114
|
-
|
|
115
|
-
/*public*/
|
|
116
|
-
font-family: var(--cal--font-family);
|
|
117
|
-
color: var(--cal--color);
|
|
118
|
-
text-shadow: var(--cal--text-shadow);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.calendar__line{
|
|
122
|
-
/*private*/
|
|
123
|
-
display: flex;
|
|
124
|
-
padding: 0px;
|
|
125
|
-
margin: 0px;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.calendar__cell{
|
|
129
|
-
/*private*/
|
|
130
|
-
display: flex;
|
|
131
|
-
justify-content: center;
|
|
132
|
-
align-content: center;
|
|
133
|
-
cursor: pointer;
|
|
134
|
-
font-size: var(--text--small, 12px);
|
|
135
|
-
|
|
136
|
-
/*public*/
|
|
137
|
-
font-family: var(--cal--font-family);
|
|
138
|
-
color: var(--cal--color);
|
|
139
|
-
text-shadow: var(--cal--text-shadow);
|
|
140
|
-
padding: var(--cal__cell--padding);
|
|
141
|
-
margin: var(--cal__cell--margin);
|
|
142
|
-
min-width: var(--cal__cell--width);
|
|
143
|
-
border-radius: var(--cal__cell--border-radius);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
.calendar__cell:hover{
|
|
148
|
-
/*public*/
|
|
149
|
-
background-color: var(--cal__cell--over--background-color);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.calendar__cell--secondary{
|
|
153
|
-
/*public*/
|
|
154
|
-
color: var(--cal__cell--outset--color);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.calendar__cell--unselectable:hover{
|
|
158
|
-
/*private*/
|
|
159
|
-
background-color: unset;
|
|
160
|
-
border-radius: unset;
|
|
161
|
-
cursor: unset;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.calendar__cell--unselectable{
|
|
165
|
-
/*private*/
|
|
166
|
-
font-weight: var(--text-weight--large, 600);
|
|
167
|
-
|
|
168
|
-
/*public*/
|
|
169
|
-
font-family: var(--cal--font-family);
|
|
170
|
-
color: var(--cal--color);
|
|
171
|
-
text-shadow: var(--cal--text-shadow);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.calendar__cell--selected, .calendar__cell--selected:hover{
|
|
175
|
-
/*public*/
|
|
176
|
-
background-color: var(--cal__cell--selected--background-color);
|
|
177
|
-
color: var(--cal__cell--selected--color);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.calendar__body {
|
|
181
|
-
/*private*/
|
|
182
|
-
padding: var(--space--small, 6px) 0px;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.calendar__footer{
|
|
186
|
-
/*private*/
|
|
187
|
-
display: flex;
|
|
188
|
-
flex-direction: column;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.calendar__btn-today{
|
|
192
|
-
/*private*/
|
|
193
|
-
border: none;
|
|
194
|
-
background-color: unset;
|
|
195
|
-
cursor: pointer;
|
|
196
|
-
font-weight: var(--text-weight--large, 600);
|
|
197
|
-
font-size: var(--title--small);
|
|
198
|
-
padding: var(--space--extra-small, 6px);
|
|
199
|
-
|
|
200
|
-
/*public*/
|
|
201
|
-
font-family: var(--cal--font-family);
|
|
202
|
-
text-shadow: var(--cal--text-shadow);
|
|
203
|
-
color: var(--cal__btn-today--color);
|
|
204
|
-
border-radius: var(--cal__btn-today--border-radius);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.calendar__btn-today:hover{
|
|
208
|
-
/*public*/
|
|
209
|
-
background-color: var(--cal__btn-today--hover--background-color);
|
|
210
|
-
}
|
|
1
|
+
:host {
|
|
2
|
+
--cal--font-family: var(--font-pattern, Arial);
|
|
3
|
+
--cal--color: var(--title--primary, #626e82);
|
|
4
|
+
--cal--text-shadow: var(--text-shadow, 0 0 0 #353535,0 0 1px transparent);
|
|
5
|
+
|
|
6
|
+
/* cal__body */
|
|
7
|
+
--cal__body--background-color: var(--background--xlight, #FFF);
|
|
8
|
+
--cal__body--padding: var(--space--medium, 12px);
|
|
9
|
+
--cal__body--border-radius: var(--border--radius-medium, 12px);
|
|
10
|
+
--cal__body--shadow: var(--shadow, 0px 0px 16px 0px #000);
|
|
11
|
+
|
|
12
|
+
/* cal__header */
|
|
13
|
+
--cal__header-line--stroke: 2px;
|
|
14
|
+
--cal__header-line--color: var(--color--strokes, #C0C0C0);
|
|
15
|
+
|
|
16
|
+
/* nav buttons */
|
|
17
|
+
--cal__nav-btn--fill: var(--text--primary, #008561);
|
|
18
|
+
--cal__nav-btn--over--fill: var(--color--primary, #350404);
|
|
19
|
+
--cal__nav-btn--width: 10px;
|
|
20
|
+
--cal__nav-btn--height: 16px;
|
|
21
|
+
--cal__nav-btn--previous-path: path("M 9.7808475,13.860393 3.9204526,8.0000004 9.7808475,2.0624965 7.9301965,0.28895552 0.21915255,8.0000004 7.9301965,15.711044 Z");
|
|
22
|
+
--cal__nav-btn--next-path: path("M 0.21915251,13.860393 6.0795475,8.0000007 0.21915251,2.0624968 2.0698036,0.28895588 9.7808475,8.0000007 2.0698036,15.711044 Z");
|
|
23
|
+
|
|
24
|
+
/* cell */
|
|
25
|
+
--cal__cell--margin: 0px var(--space--small, 12px);
|
|
26
|
+
--cal__cell--width: var(--space--large, 24px);
|
|
27
|
+
--cal__cell--padding: var(--space--extra-small, 3px) 0px;
|
|
28
|
+
--cal__cell--border-radius: var(--border--radius-small, 6px);
|
|
29
|
+
--cal__cell--over--background-color: var(--color--strokes, #C0C0C0);
|
|
30
|
+
--cal__cell--outset--color: var(--color--strokes, #C0C0C0);
|
|
31
|
+
--cal__cell--selected--background-color: var(--color--primary, #008561);
|
|
32
|
+
--cal__cell--selected--color: var(--color--inverted, #FFF);
|
|
33
|
+
|
|
34
|
+
/* btn today */
|
|
35
|
+
--cal__btn-today--color: var(--color--primary);
|
|
36
|
+
--cal__btn-today--hover--background-color: var(--color--strokes, #C0C0C0);
|
|
37
|
+
--cal__btn-today--border-radius: var(--border--radius-small, 6px);
|
|
38
|
+
|
|
39
|
+
/***************
|
|
40
|
+
host style
|
|
41
|
+
***************/
|
|
42
|
+
/*private*/
|
|
43
|
+
position: relative;
|
|
44
|
+
display: flex;
|
|
45
|
+
user-select: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.calendar{
|
|
49
|
+
/*private*/
|
|
50
|
+
z-index: var(--more-visible, 2);
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
|
|
54
|
+
/*public*/
|
|
55
|
+
background-color: var(--cal__body--background-color);
|
|
56
|
+
padding: var(--cal__body--padding);
|
|
57
|
+
border-radius: var(--cal__body--border-radius);
|
|
58
|
+
box-shadow: var(--cal__body--shadow);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.calendar__header{
|
|
62
|
+
/*private*/
|
|
63
|
+
display: flex;
|
|
64
|
+
justify-content: space-between;
|
|
65
|
+
padding-bottom: var(--space--medium, 12px);
|
|
66
|
+
margin: var(--space--small, 6px) var(--space--, 12px);
|
|
67
|
+
|
|
68
|
+
/*public*/
|
|
69
|
+
font-family: var(--cal--font-family);
|
|
70
|
+
color: var(--cal--color);
|
|
71
|
+
text-shadow: var(--cal--text-shadow);
|
|
72
|
+
border-bottom: solid var(--cal__header-line--stroke) var(--cal__header-line--color);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.calendar__btn-next, .calendar__btn-previous{
|
|
76
|
+
/*private*/
|
|
77
|
+
outline: none;
|
|
78
|
+
border: none;
|
|
79
|
+
background-color: unset;
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
padding: 0px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.calendar__btn-next::after, .calendar__btn-previous::after{
|
|
85
|
+
/*private*/
|
|
86
|
+
content: '';
|
|
87
|
+
display: flex;
|
|
88
|
+
|
|
89
|
+
/*public*/
|
|
90
|
+
background-color: var(--cal__nav-btn--fill);/*parece estranho, mas o bg funciona como fill pq aplicaremos clip-path.*/
|
|
91
|
+
width: var(--cal__nav-btn--width);
|
|
92
|
+
height: var(--cal__nav-btn--height);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.calendar__btn-previous::after{
|
|
96
|
+
/*public*/
|
|
97
|
+
clip-path: var(--cal__nav-btn--previous-path);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.calendar__btn-next::after{
|
|
101
|
+
/*public*/
|
|
102
|
+
clip-path: var(--cal__nav-btn--next-path);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.calendar__btn-next:hover::after, .calendar__btn-previous:hover::after{
|
|
106
|
+
/*public*/
|
|
107
|
+
background-color: var(--cal__nav-btn--over--fill);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.calendar__lbl-month{
|
|
111
|
+
/*private*/
|
|
112
|
+
font-weight: var(--text-weight--large, 600);
|
|
113
|
+
font-size: var(--title--medium, 16px);
|
|
114
|
+
|
|
115
|
+
/*public*/
|
|
116
|
+
font-family: var(--cal--font-family);
|
|
117
|
+
color: var(--cal--color);
|
|
118
|
+
text-shadow: var(--cal--text-shadow);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.calendar__line{
|
|
122
|
+
/*private*/
|
|
123
|
+
display: flex;
|
|
124
|
+
padding: 0px;
|
|
125
|
+
margin: 0px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.calendar__cell{
|
|
129
|
+
/*private*/
|
|
130
|
+
display: flex;
|
|
131
|
+
justify-content: center;
|
|
132
|
+
align-content: center;
|
|
133
|
+
cursor: pointer;
|
|
134
|
+
font-size: var(--text--small, 12px);
|
|
135
|
+
|
|
136
|
+
/*public*/
|
|
137
|
+
font-family: var(--cal--font-family);
|
|
138
|
+
color: var(--cal--color);
|
|
139
|
+
text-shadow: var(--cal--text-shadow);
|
|
140
|
+
padding: var(--cal__cell--padding);
|
|
141
|
+
margin: var(--cal__cell--margin);
|
|
142
|
+
min-width: var(--cal__cell--width);
|
|
143
|
+
border-radius: var(--cal__cell--border-radius);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
.calendar__cell:hover{
|
|
148
|
+
/*public*/
|
|
149
|
+
background-color: var(--cal__cell--over--background-color);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.calendar__cell--secondary{
|
|
153
|
+
/*public*/
|
|
154
|
+
color: var(--cal__cell--outset--color);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.calendar__cell--unselectable:hover{
|
|
158
|
+
/*private*/
|
|
159
|
+
background-color: unset;
|
|
160
|
+
border-radius: unset;
|
|
161
|
+
cursor: unset;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.calendar__cell--unselectable{
|
|
165
|
+
/*private*/
|
|
166
|
+
font-weight: var(--text-weight--large, 600);
|
|
167
|
+
|
|
168
|
+
/*public*/
|
|
169
|
+
font-family: var(--cal--font-family);
|
|
170
|
+
color: var(--cal--color);
|
|
171
|
+
text-shadow: var(--cal--text-shadow);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.calendar__cell--selected, .calendar__cell--selected:hover{
|
|
175
|
+
/*public*/
|
|
176
|
+
background-color: var(--cal__cell--selected--background-color);
|
|
177
|
+
color: var(--cal__cell--selected--color);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.calendar__body {
|
|
181
|
+
/*private*/
|
|
182
|
+
padding: var(--space--small, 6px) 0px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.calendar__footer{
|
|
186
|
+
/*private*/
|
|
187
|
+
display: flex;
|
|
188
|
+
flex-direction: column;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.calendar__btn-today{
|
|
192
|
+
/*private*/
|
|
193
|
+
border: none;
|
|
194
|
+
background-color: unset;
|
|
195
|
+
cursor: pointer;
|
|
196
|
+
font-weight: var(--text-weight--large, 600);
|
|
197
|
+
font-size: var(--title--small);
|
|
198
|
+
padding: var(--space--extra-small, 6px);
|
|
199
|
+
|
|
200
|
+
/*public*/
|
|
201
|
+
font-family: var(--cal--font-family);
|
|
202
|
+
text-shadow: var(--cal--text-shadow);
|
|
203
|
+
color: var(--cal__btn-today--color);
|
|
204
|
+
border-radius: var(--cal__btn-today--border-radius);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.calendar__btn-today:hover{
|
|
208
|
+
/*public*/
|
|
209
|
+
background-color: var(--cal__btn-today--hover--background-color);
|
|
210
|
+
}
|