@yr3/ui 1.0.17 → 1.0.19
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/dist/components/Date/month.css +117 -0
- package/dist/components/Date/month.css.map +1 -0
- package/dist/index.cjs +648 -420
- package/dist/index.d.cts +105 -49
- package/dist/index.d.ts +105 -49
- package/dist/index.js +536 -313
- package/dist/styles/index.css +116 -0
- package/dist/styles/index.css.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
.yr3MonthSelector {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
position: relative;
|
|
7
|
+
box-sizing: content-box;
|
|
8
|
+
}
|
|
9
|
+
.yr3MonthSelector.yr3MonthSelector--wrapper {
|
|
10
|
+
position: relative;
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: row;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
}
|
|
16
|
+
.yr3MonthSelector--icon {
|
|
17
|
+
position: absolute;
|
|
18
|
+
right: 6;
|
|
19
|
+
z-index: 3;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.yr3MonthSelector--component {
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: calc(100% + 4px);
|
|
26
|
+
left: 0;
|
|
27
|
+
right: 0;
|
|
28
|
+
background: var(--color-surface);
|
|
29
|
+
border: 1px solid var(--color-primary);
|
|
30
|
+
border-radius: 4px;
|
|
31
|
+
z-index: 10;
|
|
32
|
+
overflow-x: hidden;
|
|
33
|
+
overflow-y: auto;
|
|
34
|
+
padding: 8px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.yr3MonthSelector--year-options {
|
|
38
|
+
padding: 4px 4px;
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: row;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: space-around;
|
|
43
|
+
border-radius: 4px;
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.yr3MonthSelector--months {
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-wrap: wrap;
|
|
50
|
+
justify-content: space-around;
|
|
51
|
+
gap: 4px;
|
|
52
|
+
padding: 8px;
|
|
53
|
+
margin-top: 8px;
|
|
54
|
+
}
|
|
55
|
+
.yr3MonthSelector--months .yr3MonthSelector--month {
|
|
56
|
+
padding: 8px 8px;
|
|
57
|
+
flex-basis: 20px;
|
|
58
|
+
outline: none;
|
|
59
|
+
border: none;
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
}
|
|
62
|
+
.yr3MonthSelector--months .yr3MonthSelector--month-disabled {
|
|
63
|
+
cursor: not-allowed;
|
|
64
|
+
opacity: 0.5;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.yr3MonthSelector--year-button-back--disabled {
|
|
68
|
+
cursor: not-allowed;
|
|
69
|
+
opacity: 0.5;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.yr3MonthSelector--year-button-next--disabled {
|
|
73
|
+
cursor: not-allowed;
|
|
74
|
+
opacity: 0.5;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.yr3MonthSelector--icon-color-primary {
|
|
78
|
+
color: var(--color-primary);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.yr3MonthSelector--icon-color-secondary {
|
|
82
|
+
color: var(--color-secondary);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.yr3MonthSelector--icon-color-success {
|
|
86
|
+
color: var(--color-success);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.yr3MonthSelector--icon-color-error {
|
|
90
|
+
color: var(--color-error);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.yr3MonthSelector--icon-color-warning {
|
|
94
|
+
color: var(--color-warning);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.yr3MonthSelector--icon-color-info {
|
|
98
|
+
color: var(--color-info);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.yr3MonthSelector--icon-color-disabled {
|
|
102
|
+
color: var(--color-disabled);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.yr3MonthSelector--icon-color-background {
|
|
106
|
+
color: var(--color-surface);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.yr3MonthSelector--icon-color-text {
|
|
110
|
+
color: var(--color-text);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.yr3MonthSelector--icon-color-common {
|
|
114
|
+
color: var(--color-white);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/*# sourceMappingURL=month.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../src/components/Date/month.scss"],"names":[],"mappings":"AAAA;EACI;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;;;AAIN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;EACA;EACA;EACA;;AACA;EACI;EACA;;;AAMR;EACI;EACA;;;AAKJ;EACI;EACA;;;AAKR;EACI;;;AAEJ;EACI;;;AAEJ;EACI;;;AAEJ;EACI;;;AAEJ;EACI;;;AAEJ;EACI;;;AAEJ;EACI;;;AAEJ;EACI;;;AAEJ;EACI;;;AAEJ;EACI","file":"month.css"}
|