@aotearoan/neon 28.5.0 → 28.7.0
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/layout/basic-layout/NeonBasicLayout.cjs.js +2 -0
- package/dist/components/layout/basic-layout/NeonBasicLayout.cjs.js.map +1 -0
- package/dist/components/layout/basic-layout/NeonBasicLayout.es.js +40 -0
- package/dist/components/layout/basic-layout/NeonBasicLayout.es.js.map +1 -0
- package/dist/components/layout/basic-layout/NeonBasicLayout.vue.cjs.js +2 -0
- package/dist/components/layout/basic-layout/NeonBasicLayout.vue.cjs.js.map +1 -0
- package/dist/components/layout/basic-layout/NeonBasicLayout.vue.es.js +41 -0
- package/dist/components/layout/basic-layout/NeonBasicLayout.vue.es.js.map +1 -0
- package/dist/components/layout/card-list/NeonCardList.cjs.js +1 -1
- package/dist/components/layout/card-list/NeonCardList.cjs.js.map +1 -1
- package/dist/components/layout/card-list/NeonCardList.es.js +76 -52
- package/dist/components/layout/card-list/NeonCardList.es.js.map +1 -1
- package/dist/components/layout/card-list/NeonCardList.vue.cjs.js +1 -1
- package/dist/components/layout/card-list/NeonCardList.vue.cjs.js.map +1 -1
- package/dist/components/layout/card-list/NeonCardList.vue.es.js +98 -83
- package/dist/components/layout/card-list/NeonCardList.vue.es.js.map +1 -1
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.cjs.js +2 -0
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.cjs.js.map +1 -0
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.cjs2.js +2 -0
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.cjs2.js.map +1 -0
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.es.js +78 -0
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.es.js.map +1 -0
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.es2.js +5 -0
- package/dist/components/layout/card-list/draggable-card/NeonDraggableCard.vue.es2.js.map +1 -0
- package/dist/components/layout/list-layout/NeonListLayout.cjs.js +1 -1
- package/dist/components/layout/list-layout/NeonListLayout.cjs.js.map +1 -1
- package/dist/components/layout/list-layout/NeonListLayout.es.js +16 -11
- package/dist/components/layout/list-layout/NeonListLayout.es.js.map +1 -1
- package/dist/components/layout/list-layout/NeonListLayout.vue.cjs.js +1 -1
- package/dist/components/layout/list-layout/NeonListLayout.vue.cjs.js.map +1 -1
- package/dist/components/layout/list-layout/NeonListLayout.vue.es.js +10 -9
- package/dist/components/layout/list-layout/NeonListLayout.vue.es.js.map +1 -1
- package/dist/components/presentation/avatar/NeonAvatar.cjs.js +2 -0
- package/dist/components/presentation/avatar/NeonAvatar.cjs.js.map +1 -0
- package/dist/components/presentation/avatar/NeonAvatar.es.js +66 -0
- package/dist/components/presentation/avatar/NeonAvatar.es.js.map +1 -0
- package/dist/components/presentation/avatar/NeonAvatar.vue.cjs.js +2 -0
- package/dist/components/presentation/avatar/NeonAvatar.vue.cjs.js.map +1 -0
- package/dist/components/presentation/avatar/NeonAvatar.vue.es.js +25 -0
- package/dist/components/presentation/avatar/NeonAvatar.vue.es.js.map +1 -0
- package/dist/components/presentation/header/NeonHeader.vue.cjs.js +1 -1
- package/dist/components/presentation/header/NeonHeader.vue.cjs.js.map +1 -1
- package/dist/components/presentation/header/NeonHeader.vue.es.js +31 -29
- package/dist/components/presentation/header/NeonHeader.vue.es.js.map +1 -1
- package/dist/icons/drag-handle.svg.cjs.js +7 -0
- package/dist/icons/drag-handle.svg.cjs.js.map +1 -0
- package/dist/icons/drag-handle.svg.es.js +10 -0
- package/dist/icons/drag-handle.svg.es.js.map +1 -0
- package/dist/model/layout/card-list/NeonCardListStyle.cjs.js +2 -0
- package/dist/model/layout/card-list/NeonCardListStyle.cjs.js.map +1 -0
- package/dist/model/layout/card-list/NeonCardListStyle.es.js +5 -0
- package/dist/model/layout/card-list/NeonCardListStyle.es.js.map +1 -0
- package/dist/model/presentation/badge/NeonBadgeSize.cjs.js +1 -1
- package/dist/model/presentation/badge/NeonBadgeSize.cjs.js.map +1 -1
- package/dist/model/presentation/badge/NeonBadgeSize.es.js +1 -1
- package/dist/model/presentation/badge/NeonBadgeSize.es.js.map +1 -1
- package/dist/neon.cjs.js +1 -1
- package/dist/neon.es.js +269 -261
- package/dist/neon.es.js.map +1 -1
- package/dist/src/components/layout/basic-layout/NeonBasicLayout.d.ts +427 -0
- package/dist/src/components/layout/basic-layout/NeonBasicLayout.vue.d.ts +2 -0
- package/dist/src/components/layout/card-list/NeonCardList.d.ts +169 -63
- package/dist/src/components/layout/card-list/draggable-card/NeonDraggableCard.vue.d.ts +59 -0
- package/dist/src/components/layout/list-layout/NeonListLayout.d.ts +399 -253
- package/dist/src/components/presentation/avatar/NeonAvatar.d.ts +1806 -0
- package/dist/src/components/presentation/avatar/NeonAvatar.vue.d.ts +2 -0
- package/dist/src/model/layout/card-list/NeonCardListStyle.d.ts +13 -0
- package/dist/src/model/layout/card-list/NeonLoadOnDemandModel.d.ts +4 -8
- package/dist/src/model/presentation/badge/NeonBadgeSize.d.ts +3 -1
- package/dist/src/neon.d.ts +5 -1
- package/dist/src/utils/common/array/NeonArrayUtils.d.ts +7 -0
- package/dist/src/utils/common/http/NeonHttpUtils.d.ts +23 -0
- package/dist/utils/common/array/NeonArrayUtils.cjs.js +2 -0
- package/dist/utils/common/array/NeonArrayUtils.cjs.js.map +1 -0
- package/dist/utils/common/array/NeonArrayUtils.es.js +8 -0
- package/dist/utils/common/array/NeonArrayUtils.es.js.map +1 -0
- package/dist/utils/common/http/NeonHttpUtils.cjs.js +2 -0
- package/dist/utils/common/http/NeonHttpUtils.cjs.js.map +1 -0
- package/dist/utils/common/http/NeonHttpUtils.es.js +31 -0
- package/dist/utils/common/http/NeonHttpUtils.es.js.map +1 -0
- package/dist/utils/common/icons/RegisterIcons.cjs.js +1 -1
- package/dist/utils/common/icons/RegisterIcons.cjs.js.map +1 -1
- package/dist/utils/common/icons/RegisterIcons.es.js +30 -29
- package/dist/utils/common/icons/RegisterIcons.es.js.map +1 -1
- package/package.json +1 -1
- package/src/sass/components/_badge.scss +2 -2
- package/src/sass/components/{_page-container.scss → _basic-layout.scss} +12 -33
- package/src/sass/components/_card-list.scss +32 -11
- package/src/sass/components/_date-picker.scss +2 -0
- package/src/sass/components/_draggable-card.scss +75 -0
- package/src/sass/components/_drawer.scss +1 -0
- package/src/sass/components/_field-group.scss +5 -1
- package/src/sass/components/_header.scss +2 -1
- package/src/sass/components/_input.scss +6 -0
- package/src/sass/components/_link.scss +1 -0
- package/src/sass/components/_modal.scss +1 -0
- package/src/sass/components/_page.scss +1 -0
- package/src/sass/components/_range-slider.scss +4 -0
- package/src/sass/components/_sticky-buttons.scss +1 -1
- package/src/sass/components/components.scss +2 -1
- package/src/sass/includes/_dependencies.scss +3 -2
- package/src/sass/theme.scss +8 -4
- package/src/sass/variables-dark.scss +15 -0
- package/src/sass/variables-global.scss +21 -7
- package/src/sass/variables-light.scss +15 -0
- package/dist/components/layout/page-container/NeonPageContainer.cjs.js +0 -2
- package/dist/components/layout/page-container/NeonPageContainer.cjs.js.map +0 -1
- package/dist/components/layout/page-container/NeonPageContainer.es.js +0 -26
- package/dist/components/layout/page-container/NeonPageContainer.es.js.map +0 -1
- package/dist/components/layout/page-container/NeonPageContainer.vue.cjs.js +0 -2
- package/dist/components/layout/page-container/NeonPageContainer.vue.cjs.js.map +0 -1
- package/dist/components/layout/page-container/NeonPageContainer.vue.es.js +0 -31
- package/dist/components/layout/page-container/NeonPageContainer.vue.es.js.map +0 -1
- package/dist/src/components/layout/page-container/NeonPageContainer.d.ts +0 -98
- package/dist/src/components/layout/page-container/NeonPageContainer.vue.d.ts +0 -2
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
@mixin card-list {
|
|
6
6
|
.neon-card-list {
|
|
7
|
-
&
|
|
7
|
+
&__result-count-label {
|
|
8
8
|
align-self: center;
|
|
9
9
|
user-select: none;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
font-size: var(--neon-font-size-xs);
|
|
11
|
+
color: var(--neon-color-text-secondary);
|
|
12
|
+
margin-top: var(--neon-space-32);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
&__show-more {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
&__header {
|
|
24
24
|
align-items: center;
|
|
25
25
|
user-select: none;
|
|
26
|
-
margin-bottom: var(--neon-space-
|
|
26
|
+
margin-bottom: var(--neon-space-8);
|
|
27
27
|
font-size: var(--neon-font-size-xs);
|
|
28
28
|
color: var(--neon-color-text-primary);
|
|
29
29
|
|
|
@@ -83,15 +83,36 @@
|
|
|
83
83
|
min-width: 100%;
|
|
84
84
|
@each $color in palettes.$neon-functional-colors {
|
|
85
85
|
&--#{$color} {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
&:hover,
|
|
89
|
-
&:hover {
|
|
90
|
-
background-color: rgba(var(--neon-rgb-#{$color}), 0.03125);
|
|
91
|
-
}
|
|
86
|
+
&:hover {
|
|
87
|
+
background-color: rgba(var(--neon-rgb-#{$color}), 0.03125);
|
|
92
88
|
}
|
|
93
89
|
}
|
|
94
90
|
}
|
|
95
91
|
}
|
|
92
|
+
|
|
93
|
+
&.neon-card-list--grid {
|
|
94
|
+
.neon-card-list__link {
|
|
95
|
+
width: fit-content;
|
|
96
|
+
min-width: fit-content;
|
|
97
|
+
max-width: fit-content;
|
|
98
|
+
display: inline-flex;
|
|
99
|
+
flex: 0 1 auto;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.neon-card-list__cards {
|
|
103
|
+
gap: var(--neon-space-32);
|
|
104
|
+
margin-top: var(--neon-space-32);
|
|
105
|
+
border-top: none;
|
|
106
|
+
flex-direction: row;
|
|
107
|
+
flex-wrap: wrap;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.neon-card-list__card {
|
|
111
|
+
width: fit-content;
|
|
112
|
+
max-width: fit-content;
|
|
113
|
+
flex: 0 1 auto;
|
|
114
|
+
padding: 0 0 var(--neon-space-24) 0;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
96
117
|
}
|
|
97
118
|
}
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
input {
|
|
38
38
|
pointer-events: none;
|
|
39
|
+
touch-action: none;
|
|
39
40
|
user-select: none;
|
|
40
41
|
font-variant: tabular-nums;
|
|
41
42
|
}
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
|
|
62
63
|
.neon-date-picker__native-input {
|
|
63
64
|
pointer-events: none;
|
|
65
|
+
touch-action: none;
|
|
64
66
|
width: 100%;
|
|
65
67
|
min-width: 100%;
|
|
66
68
|
display: flex;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
@use '../includes/palettes';
|
|
2
|
+
@use '../includes/svg';
|
|
3
|
+
|
|
4
|
+
@mixin draggable-card {
|
|
5
|
+
.neon-draggable-card {
|
|
6
|
+
flex-direction: row;
|
|
7
|
+
position: relative;
|
|
8
|
+
border-bottom: var(--neon-border);
|
|
9
|
+
|
|
10
|
+
& > .neon-card-list__card:not(:focus-visible) {
|
|
11
|
+
border-bottom: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&[draggable='true'] {
|
|
15
|
+
cursor: grab;
|
|
16
|
+
transition: var(--neon-animation-speed-fast) all ease;
|
|
17
|
+
|
|
18
|
+
@each $color in palettes.$neon-functional-colors {
|
|
19
|
+
&.neon-draggable-card--#{$color} {
|
|
20
|
+
&:hover {
|
|
21
|
+
background-color: rgba(var(--neon-rgb-#{$color}), 0.03125);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:hover {
|
|
27
|
+
.neon-draggable-card__handle-icon {
|
|
28
|
+
@include svg.color-with-svg(var(--neon-color-high-contrast));
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.neon-draggable-card--drag-in-progress {
|
|
33
|
+
/* add transparent overlay when dragging over all items. This prevents onDragLeave firing on child elements */
|
|
34
|
+
&:after {
|
|
35
|
+
content: '';
|
|
36
|
+
position: absolute;
|
|
37
|
+
top: 0;
|
|
38
|
+
left: 0;
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: 100%;
|
|
41
|
+
background-color: transparent;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.neon-draggable-card--active {
|
|
45
|
+
&:after {
|
|
46
|
+
background-color: var(--neon-background-color-draggable-card-hover);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&__handle-icon {
|
|
53
|
+
align-self: center;
|
|
54
|
+
margin-left: var(--neon-space-6);
|
|
55
|
+
margin-right: var(--neon-space-4);
|
|
56
|
+
width: 16rem;
|
|
57
|
+
height: 16rem;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.neon-drag-handle-transition {
|
|
61
|
+
&-enter-active,
|
|
62
|
+
&-leave-active {
|
|
63
|
+
transition: all ease-in-out var(--neon-animation-speed-fast) var(--neon-animation-speed-fast) allow-discrete;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&-enter-from,
|
|
67
|
+
&-leave-to {
|
|
68
|
+
opacity: 0;
|
|
69
|
+
width: 0;
|
|
70
|
+
margin-left: 0;
|
|
71
|
+
margin-right: 0;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -118,6 +118,7 @@
|
|
|
118
118
|
.neon-slider__input,
|
|
119
119
|
.neon-slider {
|
|
120
120
|
pointer-events: none;
|
|
121
|
+
touch-action: none;
|
|
121
122
|
}
|
|
122
123
|
|
|
123
124
|
.neon-range-slider__lower,
|
|
@@ -132,14 +133,17 @@
|
|
|
132
133
|
.neon-slider__input {
|
|
133
134
|
&::-webkit-slider-thumb {
|
|
134
135
|
pointer-events: none;
|
|
136
|
+
touch-action: none;
|
|
135
137
|
}
|
|
136
138
|
|
|
137
139
|
&::-moz-range-thumb {
|
|
138
140
|
pointer-events: none;
|
|
141
|
+
touch-action: none;
|
|
139
142
|
}
|
|
140
143
|
|
|
141
144
|
&::-ms-thumb {
|
|
142
145
|
pointer-events: none;
|
|
146
|
+
touch-action: none;
|
|
143
147
|
}
|
|
144
148
|
}
|
|
145
149
|
}
|
|
@@ -56,7 +56,6 @@
|
|
|
56
56
|
@forward './image-carousel';
|
|
57
57
|
@forward './swiper';
|
|
58
58
|
@forward './mobile-menu';
|
|
59
|
-
@forward './page-container';
|
|
60
59
|
@forward './banner';
|
|
61
60
|
@forward './pagination';
|
|
62
61
|
@forward './labelled-content';
|
|
@@ -69,3 +68,5 @@
|
|
|
69
68
|
@forward './empty-state';
|
|
70
69
|
@forward './list-layout';
|
|
71
70
|
@forward './loading-state-card';
|
|
71
|
+
@forward './basic-layout';
|
|
72
|
+
@forward './draggable-card';
|
|
@@ -127,11 +127,10 @@
|
|
|
127
127
|
NeonField: [],
|
|
128
128
|
NeonStack: [],
|
|
129
129
|
NeonInline: [],
|
|
130
|
-
NeonCardList: [NeonSelectableCard, NeonSwitch, NeonIcon, NeonButton, NeonExpansionIndicator, NeonIcon, NeonLink, NeonCard, NeonCardHeader, NeonCardBody, NeonInline, NeonStack, NeonPagination, NeonLoadingStateCard, NeonSkeletonLoader],
|
|
130
|
+
NeonCardList: [NeonSelectableCard, NeonSwitch, NeonIcon, NeonButton, NeonExpansionIndicator, NeonIcon, NeonLink, NeonCard, NeonCardHeader, NeonCardBody, NeonInline, NeonStack, NeonPagination, NeonLoadingStateCard, NeonSkeletonLoader, NeonDraggableCard],
|
|
131
131
|
NeonImageCarousel: [NeonButton, NeonLink],
|
|
132
132
|
NeonSwiper: [],
|
|
133
133
|
NeonMobileMenu: [NeonIcon, NeonLink],
|
|
134
|
-
NeonPageContainer: [NeonIcon],
|
|
135
134
|
NeonBanner: [NeonButton, NeonNote, NeonIcon, NeonLink, NeonExpansionIndicator],
|
|
136
135
|
NeonPagination: [NeonButton, NeonLink, NeonIcon],
|
|
137
136
|
NeonLabelledContent: [],
|
|
@@ -144,6 +143,8 @@
|
|
|
144
143
|
NeonEmptyState: [NeonButton, NeonIcon, NeonInline, NeonStack, NeonExpansionIndicator, NeonLink],
|
|
145
144
|
NeonListLayout: [NeonBreadcrumbs, NeonButton, NeonCard, NeonCardBody, NeonCardHeader, NeonCardList, NeonEmptyState, NeonExpansionIndicator, NeonHeader, NeonIcon, NeonInline, NeonLink, NeonNote, NeonPagination, NeonSelectableCard, NeonSwiper, NeonSwitch],
|
|
146
145
|
NeonLoadingStateCard: [NeonInline, NeonStack, NeonSkeletonLoader],
|
|
146
|
+
NeonBasicLayout: [NeonHeader, NeonBreadcrumbs, NeonButton, NeonExpansionIndicator, NeonIcon, NeonInline, NeonLink, NeonNote, NeonSwiper, NeonStack],
|
|
147
|
+
NeonDraggableCard: [NeonInline, NeonIcon],
|
|
147
148
|
);
|
|
148
149
|
|
|
149
150
|
$neon-flattened-components: [];
|
package/src/sass/theme.scss
CHANGED
|
@@ -273,10 +273,6 @@ $neon-components: null !default;
|
|
|
273
273
|
@include components.mobile-menu;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
-
@if index($neon-flattened-components, NeonPageContainer) {
|
|
277
|
-
@include components.page-container;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
276
|
@if index($neon-flattened-components, NeonBanner) {
|
|
281
277
|
@include components.banner;
|
|
282
278
|
}
|
|
@@ -324,4 +320,12 @@ $neon-components: null !default;
|
|
|
324
320
|
@if index($neon-flattened-components, NeonLoadingStateCard) {
|
|
325
321
|
@include components.loading-state-card;
|
|
326
322
|
}
|
|
323
|
+
|
|
324
|
+
@if index($neon-flattened-components, NeonBasicLayout) {
|
|
325
|
+
@include components.basic-layout;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
@if index($neon-flattened-components, NeonDraggableCard) {
|
|
329
|
+
@include components.draggable-card;
|
|
330
|
+
}
|
|
327
331
|
}
|
|
@@ -1337,4 +1337,19 @@
|
|
|
1337
1337
|
* Background color of the sticky button container.
|
|
1338
1338
|
*/
|
|
1339
1339
|
--neon-background-color-sticky-buttons: var(--neon-color-high-contrast-d5);
|
|
1340
|
+
|
|
1341
|
+
/* header */
|
|
1342
|
+
/**
|
|
1343
|
+
* @component NeonHeader,NeonBasicLayout
|
|
1344
|
+
* Color of the header component subtitle
|
|
1345
|
+
*/
|
|
1346
|
+
--neon-color-header-subtitle: var(--neon-color-text-secondary);
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
/* draggable-card */
|
|
1350
|
+
/**
|
|
1351
|
+
* @component NeonCardList,NeonDraggableCard
|
|
1352
|
+
* Background color of the hover state of the draggable card
|
|
1353
|
+
*/
|
|
1354
|
+
--neon-background-color-draggable-card-hover: var(--neon-color-brand-d5);
|
|
1340
1355
|
}
|
|
@@ -427,6 +427,10 @@
|
|
|
427
427
|
* XXL component size (buttons & badges only)
|
|
428
428
|
*/
|
|
429
429
|
--neon-size-xxl: calc(20 * var(--neon-base-space));
|
|
430
|
+
/**
|
|
431
|
+
* XXXL component size (buttons & badges only)
|
|
432
|
+
*/
|
|
433
|
+
--neon-size-xxxl: calc(72 * var(--neon-base-space));
|
|
430
434
|
|
|
431
435
|
/* box shadows */
|
|
432
436
|
/** Default box shadow */
|
|
@@ -1240,6 +1244,11 @@
|
|
|
1240
1244
|
--neon-text-transform-label: none;
|
|
1241
1245
|
|
|
1242
1246
|
/* badge */
|
|
1247
|
+
/**
|
|
1248
|
+
* @component NeonBadge,NeonAvatar
|
|
1249
|
+
* Badge border radius for square badges
|
|
1250
|
+
*/
|
|
1251
|
+
--neon-border-radius-badge: var(--neon-border-radius);
|
|
1243
1252
|
/**
|
|
1244
1253
|
* @component NeonBadge
|
|
1245
1254
|
* Background gradient angle for a multicolored badge
|
|
@@ -1275,6 +1284,11 @@
|
|
|
1275
1284
|
* Size (height) of an XXL Badge
|
|
1276
1285
|
*/
|
|
1277
1286
|
--neon-size-xxl-badge: var(--neon-size-xxl);
|
|
1287
|
+
/**
|
|
1288
|
+
* @component NeonBadge,NeonAvatar
|
|
1289
|
+
* Size (height) of an XXXL Badge
|
|
1290
|
+
*/
|
|
1291
|
+
--neon-size-xxxl-badge: var(--neon-size-xxxl);
|
|
1278
1292
|
/**
|
|
1279
1293
|
* @component NeonBadge
|
|
1280
1294
|
* Default opacity of an editable badge button
|
|
@@ -1334,13 +1348,6 @@
|
|
|
1334
1348
|
*/
|
|
1335
1349
|
--neon-blur-radius-image-carousel: 5px;
|
|
1336
1350
|
|
|
1337
|
-
/* page container */
|
|
1338
|
-
/**
|
|
1339
|
-
* @component NeonPageContainer
|
|
1340
|
-
* Page container fixed height for sticky buttons
|
|
1341
|
-
*/
|
|
1342
|
-
--neon-height-page-container-sticky-buttons: 72rem;
|
|
1343
|
-
|
|
1344
1351
|
/* tree menu */
|
|
1345
1352
|
/**
|
|
1346
1353
|
* @component NeonTreeMenu
|
|
@@ -1410,4 +1417,11 @@
|
|
|
1410
1417
|
* Border radius on the thumbnail placeholder in the loading state card. Set to 50% for a circular thumbnail.
|
|
1411
1418
|
*/
|
|
1412
1419
|
--neon-border-radius-loading-state-card-thumbnail: var(--neon-border-radius-skeleton-loader);
|
|
1420
|
+
|
|
1421
|
+
/* Header component */
|
|
1422
|
+
/**
|
|
1423
|
+
* @component NeonHeader,NeonBasicLayout
|
|
1424
|
+
* Font size of the header component subtitle
|
|
1425
|
+
*/
|
|
1426
|
+
--neon-font-size-header-subtitle: var(--neon-font-size-m);
|
|
1413
1427
|
}
|
|
@@ -1337,4 +1337,19 @@
|
|
|
1337
1337
|
* Background color of the sticky button container.
|
|
1338
1338
|
*/
|
|
1339
1339
|
--neon-background-color-sticky-buttons: var(--neon-color-high-contrast-l5);
|
|
1340
|
+
|
|
1341
|
+
/* header */
|
|
1342
|
+
/**
|
|
1343
|
+
* @component NeonHeader,NeonBasicLayout
|
|
1344
|
+
* Color of the header component subtitle
|
|
1345
|
+
*/
|
|
1346
|
+
--neon-color-header-subtitle: var(--neon-color-text-secondary);
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
/* draggable-card */
|
|
1350
|
+
/**
|
|
1351
|
+
* @component NeonCardList,NeonDraggableCard
|
|
1352
|
+
* Background color of the hover state of the draggable card
|
|
1353
|
+
*/
|
|
1354
|
+
--neon-background-color-draggable-card-hover: var(--neon-color-brand-l5);
|
|
1340
1355
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),o=require("../../presentation/icon/NeonIcon.vue.cjs.js"),s=e.defineComponent({name:"NeonPageContainer",components:{NeonIcon:o},props:{title:{type:String},hideNav:{type:Boolean,default:!1},stickyButtons:{type:Boolean,default:!1}},setup(n){const t=e.useSlots();return{hasHeader:e.computed(()=>n.title||t.header||t.actions)}}});module.exports=s;
|
|
2
|
-
//# sourceMappingURL=NeonPageContainer.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NeonPageContainer.cjs.js","sources":["../../../../src/components/layout/page-container/NeonPageContainer.ts?vue&type=script&src=true&lang.ts"],"sourcesContent":["import { computed, defineComponent, useSlots } from 'vue';\nimport NeonIcon from '@/components/presentation/icon/NeonIcon.vue';\n\n/**\n * NeonPageContainer is a component for the layout of basic (non-card based) page content. It is designed to be placed\n * directly inside the NeonPage <em>contents</em> slot.\n * <br />\n * <br />\n * Features include support for sticky button placement and hiding the nav bar.\n */\nexport default defineComponent({\n name: 'NeonPageContainer',\n components: {\n NeonIcon,\n },\n props: {\n /** The page title */\n title: { type: String },\n /** Hide the navbar */\n hideNav: { type: Boolean, default: false },\n /** Sticky button support on mobile */\n stickyButtons: { type: Boolean, default: false },\n },\n setup(props) {\n const slots = useSlots();\n\n const hasHeader = computed(() => {\n return props.title || slots.header || slots.actions;\n });\n\n return {\n hasHeader,\n };\n },\n});\n"],"names":["_sfc_main","defineComponent","NeonIcon","props","slots","useSlots","computed"],"mappings":"6FAUAA,EAAeC,kBAAgB,CAC7B,KAAM,oBACN,WAAY,CACV,SAAAC,CAAA,EAEF,MAAO,CAEL,MAAO,CAAE,KAAM,MAAA,EAEf,QAAS,CAAE,KAAM,QAAS,QAAS,EAAA,EAEnC,cAAe,CAAE,KAAM,QAAS,QAAS,EAAA,CAAM,EAEjD,MAAMC,EAAO,CACX,MAAMC,EAAQC,EAAAA,SAAA,EAMd,MAAO,CACL,UALgBC,EAAAA,SAAS,IAClBH,EAAM,OAASC,EAAM,QAAUA,EAAM,OAC7C,CAGC,CAEJ,CACF,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { defineComponent as o, useSlots as n, computed as a } from "vue";
|
|
2
|
-
import s from "../../presentation/icon/NeonIcon.vue.es.js";
|
|
3
|
-
const l = o({
|
|
4
|
-
name: "NeonPageContainer",
|
|
5
|
-
components: {
|
|
6
|
-
NeonIcon: s
|
|
7
|
-
},
|
|
8
|
-
props: {
|
|
9
|
-
/** The page title */
|
|
10
|
-
title: { type: String },
|
|
11
|
-
/** Hide the navbar */
|
|
12
|
-
hideNav: { type: Boolean, default: !1 },
|
|
13
|
-
/** Sticky button support on mobile */
|
|
14
|
-
stickyButtons: { type: Boolean, default: !1 }
|
|
15
|
-
},
|
|
16
|
-
setup(t) {
|
|
17
|
-
const e = n();
|
|
18
|
-
return {
|
|
19
|
-
hasHeader: a(() => t.title || e.header || e.actions)
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
export {
|
|
24
|
-
l as default
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=NeonPageContainer.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NeonPageContainer.es.js","sources":["../../../../src/components/layout/page-container/NeonPageContainer.ts?vue&type=script&src=true&lang.ts"],"sourcesContent":["import { computed, defineComponent, useSlots } from 'vue';\nimport NeonIcon from '@/components/presentation/icon/NeonIcon.vue';\n\n/**\n * NeonPageContainer is a component for the layout of basic (non-card based) page content. It is designed to be placed\n * directly inside the NeonPage <em>contents</em> slot.\n * <br />\n * <br />\n * Features include support for sticky button placement and hiding the nav bar.\n */\nexport default defineComponent({\n name: 'NeonPageContainer',\n components: {\n NeonIcon,\n },\n props: {\n /** The page title */\n title: { type: String },\n /** Hide the navbar */\n hideNav: { type: Boolean, default: false },\n /** Sticky button support on mobile */\n stickyButtons: { type: Boolean, default: false },\n },\n setup(props) {\n const slots = useSlots();\n\n const hasHeader = computed(() => {\n return props.title || slots.header || slots.actions;\n });\n\n return {\n hasHeader,\n };\n },\n});\n"],"names":["_sfc_main","defineComponent","NeonIcon","props","slots","useSlots","computed"],"mappings":";;AAUA,MAAAA,IAAeC,EAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,YAAY;AAAA,IACV,UAAAC;AAAA,EAAA;AAAA,EAEF,OAAO;AAAA;AAAA,IAEL,OAAO,EAAE,MAAM,OAAA;AAAA;AAAA,IAEf,SAAS,EAAE,MAAM,SAAS,SAAS,GAAA;AAAA;AAAA,IAEnC,eAAe,EAAE,MAAM,SAAS,SAAS,GAAA;AAAA,EAAM;AAAA,EAEjD,MAAMC,GAAO;AACX,UAAMC,IAAQC,EAAA;AAMd,WAAO;AAAA,MACL,WALgBC,EAAS,MAClBH,EAAM,SAASC,EAAM,UAAUA,EAAM,OAC7C;AAAA,IAGC;AAAA,EAEJ;AACF,CAAC;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./NeonPageContainer.cjs.js"),e=require("vue"),o=require("../../../_virtual/_plugin-vue_export-helper.cjs.js"),r={key:0,class:"neon-page-container__header"},s={key:0,class:"neon-page-container__title"};function a(n,c,l,p,d,u){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([{"neon-page-container--hide-nav":n.hideNav,"neon-page-container--with-sticky-buttons":n.stickyButtons},"neon-page-container"])},[n.hasHeader?(e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(n.$slots,"header",{},()=>[n.title?(e.openBlock(),e.createElementBlock("h1",s,e.toDisplayString(n.title),1)):e.createCommentVNode("",!0)]),e.renderSlot(n.$slots,"actions")])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default")],2)}const i=o(t,[["render",a]]);module.exports=i;
|
|
2
|
-
//# sourceMappingURL=NeonPageContainer.vue.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NeonPageContainer.vue.cjs.js","sources":["../../../../src/components/layout/page-container/NeonPageContainer.vue"],"sourcesContent":["<template>\n <div\n :class=\"{\n 'neon-page-container--hide-nav': hideNav,\n 'neon-page-container--with-sticky-buttons': stickyButtons,\n }\"\n class=\"neon-page-container\"\n >\n <div v-if=\"hasHeader\" class=\"neon-page-container__header\">\n <!-- @slot header - override default title for richer content -->\n <slot name=\"header\">\n <h1 v-if=\"title\" class=\"neon-page-container__title\">{{ title }}</h1>\n </slot>\n <!-- @slot header actions -->\n <slot name=\"actions\"></slot>\n </div>\n <!-- @slot the page contents -->\n <slot name=\"default\"></slot>\n </div>\n</template>\n\n<script lang=\"ts\" src=\"./NeonPageContainer.ts\" />\n"],"names":["_createElementBlock","_normalizeClass","_ctx","_openBlock","_hoisted_1","_renderSlot","_hoisted_2","_toDisplayString"],"mappings":"qJAQ0B,MAAM,wCAGP,MAAM,2EAV7BA,EAAAA,mBAiBM,MAAA,CAhBH,MAAKC,EAAAA,eAAA,CAAA,iCAA2CC,EAAA,mDAA2DA,EAAA,eAItG,qBAAqB,CAAA,IAEhBA,EAAA,WAAXC,EAAAA,YAAAH,EAAAA,mBAOM,MAPNI,EAOM,CALJC,EAAAA,WAEOH,qBAFP,IAEO,CADKA,EAAA,qBAAVF,EAAAA,mBAAoE,KAApEM,EAAoEC,EAAAA,gBAAbL,EAAA,KAAK,EAAA,CAAA,iCAG9DG,aAA4BH,EAAA,OAAA,SAAA,iCAG9BG,aAA4BH,EAAA,OAAA,SAAA"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import s from "./NeonPageContainer.es.js";
|
|
2
|
-
import { openBlock as n, createElementBlock as o, normalizeClass as r, renderSlot as t, toDisplayString as i, createCommentVNode as a } from "vue";
|
|
3
|
-
import l from "../../../_virtual/_plugin-vue_export-helper.es.js";
|
|
4
|
-
const c = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "neon-page-container__header"
|
|
7
|
-
}, d = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "neon-page-container__title"
|
|
10
|
-
};
|
|
11
|
-
function p(e, m, h, f, u, _) {
|
|
12
|
-
return n(), o("div", {
|
|
13
|
-
class: r([{
|
|
14
|
-
"neon-page-container--hide-nav": e.hideNav,
|
|
15
|
-
"neon-page-container--with-sticky-buttons": e.stickyButtons
|
|
16
|
-
}, "neon-page-container"])
|
|
17
|
-
}, [
|
|
18
|
-
e.hasHeader ? (n(), o("div", c, [
|
|
19
|
-
t(e.$slots, "header", {}, () => [
|
|
20
|
-
e.title ? (n(), o("h1", d, i(e.title), 1)) : a("", !0)
|
|
21
|
-
]),
|
|
22
|
-
t(e.$slots, "actions")
|
|
23
|
-
])) : a("", !0),
|
|
24
|
-
t(e.$slots, "default")
|
|
25
|
-
], 2);
|
|
26
|
-
}
|
|
27
|
-
const y = /* @__PURE__ */ l(s, [["render", p]]);
|
|
28
|
-
export {
|
|
29
|
-
y as default
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=NeonPageContainer.vue.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NeonPageContainer.vue.es.js","sources":["../../../../src/components/layout/page-container/NeonPageContainer.vue"],"sourcesContent":["<template>\n <div\n :class=\"{\n 'neon-page-container--hide-nav': hideNav,\n 'neon-page-container--with-sticky-buttons': stickyButtons,\n }\"\n class=\"neon-page-container\"\n >\n <div v-if=\"hasHeader\" class=\"neon-page-container__header\">\n <!-- @slot header - override default title for richer content -->\n <slot name=\"header\">\n <h1 v-if=\"title\" class=\"neon-page-container__title\">{{ title }}</h1>\n </slot>\n <!-- @slot header actions -->\n <slot name=\"actions\"></slot>\n </div>\n <!-- @slot the page contents -->\n <slot name=\"default\"></slot>\n </div>\n</template>\n\n<script lang=\"ts\" src=\"./NeonPageContainer.ts\" />\n"],"names":["_createElementBlock","_normalizeClass","_ctx","_openBlock","_hoisted_1","_renderSlot","_hoisted_2","_toDisplayString"],"mappings":";;;;;EAQ0B,OAAM;;;EAGP,OAAM;;;cAV7BA,EAiBM,OAAA;AAAA,IAhBH,OAAKC,EAAA,CAAA;AAAA,uCAA2CC,EAAA;AAAA,kDAA2DA,EAAA;AAAA,OAItG,qBAAqB,CAAA;AAAA;IAEhBA,EAAA,aAAXC,KAAAH,EAOM,OAPNI,GAOM;AAAA,MALJC,EAEOH,wBAFP,MAEO;AAAA,QADKA,EAAA,cAAVF,EAAoE,MAApEM,GAAoEC,EAAbL,EAAA,KAAK,GAAA,CAAA;;MAG9DG,EAA4BH,EAAA,QAAA,SAAA;AAAA;IAG9BG,EAA4BH,EAAA,QAAA,SAAA;AAAA;;;"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NeonPageContainer is a component for the layout of basic (non-card based) page content. It is designed to be placed
|
|
3
|
-
* directly inside the NeonPage <em>contents</em> slot.
|
|
4
|
-
* <br />
|
|
5
|
-
* <br />
|
|
6
|
-
* Features include support for sticky button placement and hiding the nav bar.
|
|
7
|
-
*/
|
|
8
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
|
-
/** The page title */
|
|
10
|
-
title: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
};
|
|
13
|
-
/** Hide the navbar */
|
|
14
|
-
hideNav: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
/** Sticky button support on mobile */
|
|
19
|
-
stickyButtons: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
}>, {
|
|
24
|
-
hasHeader: import("vue").ComputedRef<string | import("vue").Slot<any> | undefined>;
|
|
25
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
-
/** The page title */
|
|
27
|
-
title: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
};
|
|
30
|
-
/** Hide the navbar */
|
|
31
|
-
hideNav: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
|
-
/** Sticky button support on mobile */
|
|
36
|
-
stickyButtons: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
}>> & Readonly<{}>, {
|
|
41
|
-
hideNav: boolean;
|
|
42
|
-
stickyButtons: boolean;
|
|
43
|
-
}, {}, {
|
|
44
|
-
NeonIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
45
|
-
name: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
id: {
|
|
50
|
-
type: StringConstructor;
|
|
51
|
-
default: null;
|
|
52
|
-
};
|
|
53
|
-
color: {
|
|
54
|
-
type: () => import("../../../neon").NeonFunctionalColor;
|
|
55
|
-
default: null;
|
|
56
|
-
};
|
|
57
|
-
inverse: {
|
|
58
|
-
type: BooleanConstructor;
|
|
59
|
-
default: boolean;
|
|
60
|
-
};
|
|
61
|
-
disabled: {
|
|
62
|
-
type: BooleanConstructor;
|
|
63
|
-
default: boolean;
|
|
64
|
-
};
|
|
65
|
-
}>, {
|
|
66
|
-
sanitizedAttributes: import("vue").ComputedRef<{
|
|
67
|
-
[x: string]: unknown;
|
|
68
|
-
}>;
|
|
69
|
-
icon: import("vue").ComputedRef<string | undefined>;
|
|
70
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
71
|
-
name: {
|
|
72
|
-
type: StringConstructor;
|
|
73
|
-
required: true;
|
|
74
|
-
};
|
|
75
|
-
id: {
|
|
76
|
-
type: StringConstructor;
|
|
77
|
-
default: null;
|
|
78
|
-
};
|
|
79
|
-
color: {
|
|
80
|
-
type: () => import("../../../neon").NeonFunctionalColor;
|
|
81
|
-
default: null;
|
|
82
|
-
};
|
|
83
|
-
inverse: {
|
|
84
|
-
type: BooleanConstructor;
|
|
85
|
-
default: boolean;
|
|
86
|
-
};
|
|
87
|
-
disabled: {
|
|
88
|
-
type: BooleanConstructor;
|
|
89
|
-
default: boolean;
|
|
90
|
-
};
|
|
91
|
-
}>> & Readonly<{}>, {
|
|
92
|
-
color: import("../../../neon").NeonFunctionalColor;
|
|
93
|
-
id: string;
|
|
94
|
-
inverse: boolean;
|
|
95
|
-
disabled: boolean;
|
|
96
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
97
|
-
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
98
|
-
export default _default;
|