@castlabs/ui 7.6.0 → 7.6.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.
- package/dist/castlabs-ui-editor.common.js +1 -1
- package/dist/castlabs-ui-editor.common.js.map +1 -1
- package/dist/castlabs-ui-editor.umd.js +1 -1
- package/dist/castlabs-ui-editor.umd.js.map +1 -1
- package/dist/castlabs-ui.common.js +2 -2
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.css +1 -1
- package/dist/castlabs-ui.umd.js +3 -3
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ClPagination/style.scss +38 -0
- package/src/components/section/ClSectionForm/style.scss +1 -1
- package/src/styles/abstracts/grid.scss +2 -2
- package/src/styles/fonts/FontAwesome5/index.scss +1 -1
- package/src/styles/layout/color.scss +1 -1
- package/src/styles/layout/grid.scss +1 -1
- package/src/styles/layout/typography.scss +2 -2
- package/types/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
|
|
60
60
|
border-radius: $brand-border-radius !important; // overrule BS
|
|
61
61
|
cursor: not-allowed;
|
|
62
|
+
max-height: 36px;
|
|
62
63
|
min-width: 36px;
|
|
63
64
|
padding: $spacing-tiny;
|
|
64
65
|
pointer-events: none;
|
|
@@ -90,3 +91,40 @@
|
|
|
90
91
|
}
|
|
91
92
|
}
|
|
92
93
|
}
|
|
94
|
+
|
|
95
|
+
.cl-pagination-autosize {
|
|
96
|
+
// for use by simple code that can't hide bubbles by itself
|
|
97
|
+
// will hide all but the first, last and +/-5 bubbles around the .active one
|
|
98
|
+
.page-item {
|
|
99
|
+
display: none;
|
|
100
|
+
|
|
101
|
+
&:first-of-type,
|
|
102
|
+
&.active,
|
|
103
|
+
&.disabled,
|
|
104
|
+
&:last-of-type {
|
|
105
|
+
display: list-item;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@include media-breakpoint-up(md) {
|
|
109
|
+
&.active {
|
|
110
|
+
display: list-item;
|
|
111
|
+
|
|
112
|
+
+ .page-item,
|
|
113
|
+
+ .page-item + .page-item,
|
|
114
|
+
+ .page-item + .page-item + .page-item,
|
|
115
|
+
+ .page-item + .page-item + .page-item + .page-item,
|
|
116
|
+
+ .page-item + .page-item + .page-item + .page-item + .page-item {
|
|
117
|
+
display: list-item;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&:has(+ .active),
|
|
122
|
+
&:has(+ * + .active),
|
|
123
|
+
&:has(+ * + * + .active),
|
|
124
|
+
&:has(+ * + * + * + .active),
|
|
125
|
+
&:has(+ * + * + * + * + .active) {
|
|
126
|
+
display: list-item;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
padding: math.div($spacing, 2) $spacing-tiny math.div($spacing, 2) $spacing-tiny;
|
|
23
23
|
|
|
24
24
|
> *:first-child {
|
|
25
|
-
margin-top: 0; //
|
|
25
|
+
margin-top: 0; // don’t apply top spacing to first element in a cel
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
> *:last-child {
|
|
29
|
-
margin-bottom: 0; //
|
|
29
|
+
margin-bottom: 0; // don’t apply bottom spacing to last element in a cel
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -225,7 +225,7 @@ $cl-url-postfix: '' !default;
|
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
|
228
|
-
readers
|
|
228
|
+
readers don’t read off random characters that represent icons */
|
|
229
229
|
.fa-500px::before {
|
|
230
230
|
content: '\f26e';
|
|
231
231
|
}
|
|
@@ -177,7 +177,7 @@ main {
|
|
|
177
177
|
overflow-wrap: anywhere;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
b, // <b> defined just for fallback - don
|
|
180
|
+
b, // <b> defined just for fallback - don’t use!
|
|
181
181
|
strong {
|
|
182
182
|
font-weight: 600;
|
|
183
183
|
}
|
|
@@ -250,7 +250,7 @@ hr {
|
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
// --- redefine bs utilities we use so we don
|
|
253
|
+
// --- redefine bs utilities we use so we don’t need to pull the whole set -----
|
|
254
254
|
|
|
255
255
|
@each $bp, $px in $grid-breakpoints {
|
|
256
256
|
.text-#{$bp}-start {
|
package/types/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { App, DefineComponent } from 'vue'
|
|
|
3
3
|
declare function install (Vue: App): void
|
|
4
4
|
export default install
|
|
5
5
|
|
|
6
|
-
export function
|
|
6
|
+
export function clUi (Vue: App): void
|
|
7
7
|
|
|
8
8
|
export const ClAlert: DefineComponent
|
|
9
9
|
export const ClBackCancelOk: DefineComponent
|