@redvars/peacock 3.2.9 → 3.2.10
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/assets/tokens.css +2 -0
- package/dist/assets/tokens.css.map +1 -0
- package/dist/{button-2MeDq0Yy.js → button-DaL4va7Q.js} +2 -2
- package/dist/{button-2MeDq0Yy.js.map → button-DaL4va7Q.js.map} +1 -1
- package/dist/button.js +1 -1
- package/dist/{image-DK6VQW7N.js → image-v3BujlY5.js} +12 -6
- package/dist/{image-DK6VQW7N.js.map → image-v3BujlY5.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/peacock-loader.js +2 -2
- package/package.json +1 -1
- package/readme.md +2 -2
- package/scss/tokens.scss +1 -0
- package/src/button/button/button.scss +1 -1
- package/src/image/image.scss +55 -48
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { A as Accordion, a as Avatar, B as Badge, b as Breadcrumb, c as BreadcrumbItem, C as Chip, d as CircularProgress, e as Container, D as DatePicker, f as Divider, E as Elevation, g as EmptyState, F as Field, h as FocusRing, I as Icon, i as IconButton, j as Image, k as Input, L as LinearProgress, l as Link, N as NumberField, R as Ripple, S as Skeleton, m as Spinner, n as Switch, T as Tag, o as Textarea, p as TimePicker, q as Tooltip } from './image-
|
|
1
|
+
export { A as Accordion, a as Avatar, B as Badge, b as Breadcrumb, c as BreadcrumbItem, C as Chip, d as CircularProgress, e as Container, D as DatePicker, f as Divider, E as Elevation, g as EmptyState, F as Field, h as FocusRing, I as Icon, i as IconButton, j as Image, k as Input, L as LinearProgress, l as Link, N as NumberField, R as Ripple, S as Skeleton, m as Spinner, n as Switch, T as Tag, o as Textarea, p as TimePicker, q as Tooltip } from './image-v3BujlY5.js';
|
|
2
2
|
export { Clock } from './clock.js';
|
|
3
|
-
export { B as Button } from './button-
|
|
3
|
+
export { B as Button } from './button-DaL4va7Q.js';
|
|
4
4
|
export { ButtonGroup } from './button-group.js';
|
|
5
5
|
export { NumberCounter } from './number-counter.js';
|
|
6
6
|
export { CodeHighlighter } from './code-highlighter.js';
|
package/dist/peacock-loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Accordion, j as Image, e as Container, g as EmptyState, m as Spinner, n as Switch, c as BreadcrumbItem, b as Breadcrumb, q as Tooltip, p as TimePicker, D as DatePicker, o as Textarea, N as NumberField, F as Field, k as Input, S as Skeleton, d as CircularProgress, L as LinearProgress, T as Tag, C as Chip, l as Link, R as Ripple, E as Elevation, f as Divider, i as IconButton, B as Badge, a as Avatar, h as FocusRing, I as Icon } from './image-
|
|
2
|
-
import { s as spread, B as Button } from './button-
|
|
1
|
+
import { A as Accordion, j as Image, e as Container, g as EmptyState, m as Spinner, n as Switch, c as BreadcrumbItem, b as Breadcrumb, q as Tooltip, p as TimePicker, D as DatePicker, o as Textarea, N as NumberField, F as Field, k as Input, S as Skeleton, d as CircularProgress, L as LinearProgress, T as Tag, C as Chip, l as Link, R as Ripple, E as Elevation, f as Divider, i as IconButton, B as Badge, a as Avatar, h as FocusRing, I as Icon } from './image-v3BujlY5.js';
|
|
2
|
+
import { s as spread, B as Button } from './button-DaL4va7Q.js';
|
|
3
3
|
import { ButtonGroup } from './button-group.js';
|
|
4
4
|
import { i, _ as __decorate, n, a as i$1, w, b } from './PeacockComponent-CxJc63xj.js';
|
|
5
5
|
import { r } from './state-B09bP3XH.js';
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -44,9 +44,9 @@ Visit [https://peacock.redvars.com](https://peacock.redvars.com) to view the doc
|
|
|
44
44
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
45
45
|
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
|
|
46
46
|
|
|
47
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@redvars/peacock@3.2.
|
|
47
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@redvars/peacock@3.2.9/dist/assets/styles.css"></link>
|
|
48
48
|
<script type='module'
|
|
49
|
-
src='https://cdn.jsdelivr.net/npm/@redvars/peacock@3.2.
|
|
49
|
+
src='https://cdn.jsdelivr.net/npm/@redvars/peacock@3.2.9/dist/peacock-loader.js'></script>
|
|
50
50
|
</head>
|
|
51
51
|
|
|
52
52
|
<base-button>Button</base-button>
|
package/scss/tokens.scss
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use 'tokens.css';
|
package/src/image/image.scss
CHANGED
|
@@ -1,49 +1,56 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
2
|
+
display: block;
|
|
3
|
+
height: 100%;
|
|
4
|
+
width: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.image-wrapper {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
height: 100%;
|
|
12
|
+
width: 100%;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
img {
|
|
16
|
+
display: block;
|
|
17
|
+
max-height: 100%;
|
|
18
|
+
max-width: 100%;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
img.clickable {
|
|
23
|
+
cursor: zoom-in;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.placeholder {
|
|
27
|
+
background: #e0e0e0;
|
|
28
|
+
min-width: 100px;
|
|
29
|
+
min-height: 100px;
|
|
30
|
+
display: block;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* Preview overlay — rendered in light DOM via portal, but we keep
|
|
34
|
+
a host-level overlay as a fallback when shadow DOM is used. */
|
|
35
|
+
.preview-overlay {
|
|
36
|
+
display: none;
|
|
37
|
+
position: fixed;
|
|
38
|
+
inset: 0;
|
|
39
|
+
z-index: 9999;
|
|
40
|
+
background: rgba(0, 0, 0, 0.85);
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
cursor: zoom-out;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.preview-overlay.open {
|
|
47
|
+
display: flex;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.preview-overlay img {
|
|
51
|
+
max-width: 90vw;
|
|
52
|
+
max-height: 90vh;
|
|
53
|
+
object-fit: contain;
|
|
54
|
+
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
|
|
55
|
+
border-radius: 4px;
|
|
56
|
+
}
|