@brickclay-org/ui 0.1.39 → 0.1.41
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 +1911 -1911
- package/fesm2022/brickclay-org-ui.mjs +12 -12
- package/fesm2022/brickclay-org-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/icons/custom-calender.svg +12 -12
- package/src/assets/icons/select-column.svg +4 -4
- package/src/lib/column-select/components/column-select/column-select.css +24 -0
- package/src/lib/hierarchical-select/hierarchical-select.css +27 -1
- package/src/lib/select/select.css +9 -12
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M6 1.5V3.75" stroke="black" stroke-width="1.25" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
-
<path d="M12 1.5V3.75" stroke="black" stroke-width="1.25" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
<path d="M2.625 6.81836H15.375" stroke="black" stroke-width="1.3" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
-
<path d="M15.75 6.375V12.75C15.75 15 14.625 16.5 12 16.5H6C3.375 16.5 2.25 15 2.25 12.75V6.375C2.25 4.125 3.375 2.625 6 2.625H12C14.625 2.625 15.75 4.125 15.75 6.375Z" stroke="black" stroke-width="1.3" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
-
<path d="M11.7693 10.2754H11.7761" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
-
<path d="M11.7693 12.5254H11.7761" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
-
<path d="M8.99588 10.2754H9.00262" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
9
|
-
<path d="M8.99588 12.5254H9.00262" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
-
<path d="M6.22244 10.2754H6.22918" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
-
<path d="M6.22244 12.5254H6.22918" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
-
</svg>
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M6 1.5V3.75" stroke="black" stroke-width="1.25" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M12 1.5V3.75" stroke="black" stroke-width="1.25" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M2.625 6.81836H15.375" stroke="black" stroke-width="1.3" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M15.75 6.375V12.75C15.75 15 14.625 16.5 12 16.5H6C3.375 16.5 2.25 15 2.25 12.75V6.375C2.25 4.125 3.375 2.625 6 2.625H12C14.625 2.625 15.75 4.125 15.75 6.375Z" stroke="black" stroke-width="1.3" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M11.7693 10.2754H11.7761" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
<path d="M11.7693 12.5254H11.7761" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
+
<path d="M8.99588 10.2754H9.00262" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
9
|
+
<path d="M8.99588 12.5254H9.00262" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
+
<path d="M6.22244 10.2754H6.22918" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
+
<path d="M6.22244 12.5254H6.22918" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
+
</svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M7.875 14.925V3.075C7.875 1.95 7.395 1.5 6.2025 1.5H3.1725C1.98 1.5 1.5 1.95 1.5 3.075V14.925C1.5 16.05 1.98 16.5 3.1725 16.5H6.2025C7.395 16.5 7.875 16.05 7.875 14.925Z" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
-
<path d="M16.5 14.925V3.075C16.5 1.95 16.02 1.5 14.8275 1.5H11.7975C10.605 1.5 10.125 1.95 10.125 3.075V14.925C10.125 16.05 10.605 16.5 11.7975 16.5H14.8275C16.02 16.5 16.5 16.05 16.5 14.925Z" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
</svg>
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M7.875 14.925V3.075C7.875 1.95 7.395 1.5 6.2025 1.5H3.1725C1.98 1.5 1.5 1.95 1.5 3.075V14.925C1.5 16.05 1.98 16.5 3.1725 16.5H6.2025C7.395 16.5 7.875 16.05 7.875 14.925Z" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M16.5 14.925V3.075C16.5 1.95 16.02 1.5 14.8275 1.5H11.7975C10.605 1.5 10.125 1.95 10.125 3.075V14.925C10.125 16.05 10.605 16.5 11.7975 16.5H14.8275C16.02 16.5 16.5 16.05 16.5 14.925Z" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -1,3 +1,27 @@
|
|
|
1
1
|
.column-select-option-empty {
|
|
2
2
|
@apply px-3 py-2 text-gray-400 cursor-default text-sm;
|
|
3
3
|
}
|
|
4
|
+
|
|
5
|
+
.column-select-options-list {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
overflow-y: auto;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@media (max-height: 700px) {
|
|
12
|
+
.column-select-options-list {
|
|
13
|
+
max-height: 125px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@media (min-height: 701px) and (max-height: 900px) {
|
|
18
|
+
.column-select-options-list {
|
|
19
|
+
max-height: 165px;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media (min-height: 901px) {
|
|
24
|
+
.column-select-options-list {
|
|
25
|
+
max-height: 210px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -83,7 +83,25 @@
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.hierarchical-options-list {
|
|
86
|
-
@apply
|
|
86
|
+
@apply overflow-auto relative flex flex-col gap-0.5 mt-1;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@media (max-height: 700px) {
|
|
90
|
+
.hierarchical-options-list {
|
|
91
|
+
max-height: 124px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@media (min-height: 701px) and (max-height: 900px) {
|
|
96
|
+
.hierarchical-options-list {
|
|
97
|
+
max-height: 164px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@media (min-height: 901px) {
|
|
102
|
+
.hierarchical-options-list {
|
|
103
|
+
max-height: 204px;
|
|
104
|
+
}
|
|
87
105
|
}
|
|
88
106
|
|
|
89
107
|
.hierarchical-option {
|
|
@@ -139,6 +157,14 @@
|
|
|
139
157
|
background: #909090;
|
|
140
158
|
}
|
|
141
159
|
|
|
160
|
+
.hierarchical-breadcrumb-node {
|
|
161
|
+
flex: 0 1 auto;
|
|
162
|
+
min-width: 0;
|
|
163
|
+
overflow: hidden;
|
|
164
|
+
text-overflow: ellipsis;
|
|
165
|
+
white-space: nowrap;
|
|
166
|
+
}
|
|
167
|
+
|
|
142
168
|
.breadcrumb-separator {
|
|
143
169
|
margin: 0 6px;
|
|
144
170
|
flex-shrink: 0;
|
|
@@ -6,17 +6,19 @@
|
|
|
6
6
|
|
|
7
7
|
/* Control */
|
|
8
8
|
.bk-select-control {
|
|
9
|
-
@apply flex items-center justify-between gap-2 w-full bg-white border border-[#E3E3E7] rounded
|
|
10
|
-
focus-visible:!outline-[0.
|
|
9
|
+
@apply flex items-center justify-between gap-2 w-full bg-white border border-[#E3E3E7] rounded cursor-pointer focus:border-[#E3E3E7]
|
|
10
|
+
focus-visible:!outline-[0.1px] focus-visible:!outline-[#6B7080]
|
|
11
11
|
;
|
|
12
|
+
transition: border-color 200ms, box-shadow 200ms;
|
|
12
13
|
box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
|
|
13
14
|
|
|
14
|
-
&:focus-visible{
|
|
15
|
-
outline-style: solid !important
|
|
15
|
+
&:focus-visible {
|
|
16
|
+
outline-style: solid !important;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
&.bk-focused {
|
|
19
20
|
@apply border-[#6B7080] shadow-none z-10;
|
|
21
|
+
outline: none !important;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
&.bk-disabled {
|
|
@@ -125,29 +127,24 @@
|
|
|
125
127
|
@apply overflow-y-auto overflow-x-hidden relative flex flex-col gap-0.5;
|
|
126
128
|
}
|
|
127
129
|
|
|
128
|
-
/* Medium screens (tablets) */
|
|
129
|
-
/* Small screens */
|
|
130
130
|
@media (max-height: 700px) {
|
|
131
131
|
.bk-options-list {
|
|
132
|
-
max-height:
|
|
132
|
+
max-height: 125px;
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
/* Medium screens */
|
|
137
136
|
@media (min-height: 701px) and (max-height: 900px) {
|
|
138
137
|
.bk-options-list {
|
|
139
|
-
max-height:
|
|
138
|
+
max-height: 165px;
|
|
140
139
|
}
|
|
141
140
|
}
|
|
142
141
|
|
|
143
|
-
/* Extra large screens */
|
|
144
142
|
@media (min-height: 901px) {
|
|
145
143
|
.bk-options-list {
|
|
146
|
-
max-height:
|
|
144
|
+
max-height: 210px;
|
|
147
145
|
}
|
|
148
146
|
}
|
|
149
147
|
|
|
150
|
-
|
|
151
148
|
/* Options */
|
|
152
149
|
.bk-option {
|
|
153
150
|
@apply flex items-center p-2.5 cursor-pointer transition-colors font-normal text-sm text-[#141414] min-w-0;
|