@aotearoan/neon 28.1.2 → 28.2.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/filter-bar/NeonFilterBar.cjs.js +2 -0
- package/dist/components/layout/filter-bar/NeonFilterBar.cjs.js.map +1 -0
- package/dist/components/layout/filter-bar/NeonFilterBar.es.js +11 -0
- package/dist/components/layout/filter-bar/NeonFilterBar.es.js.map +1 -0
- package/dist/components/layout/filter-bar/NeonFilterBar.vue.cjs.js +2 -0
- package/dist/components/layout/filter-bar/NeonFilterBar.vue.cjs.js.map +1 -0
- package/dist/components/layout/filter-bar/NeonFilterBar.vue.es.js +34 -0
- package/dist/components/layout/filter-bar/NeonFilterBar.vue.es.js.map +1 -0
- package/dist/components/user-input/filter/NeonFilter.cjs.js +2 -0
- package/dist/components/user-input/filter/NeonFilter.cjs.js.map +1 -0
- package/dist/components/user-input/filter/NeonFilter.es.js +138 -0
- package/dist/components/user-input/filter/NeonFilter.es.js.map +1 -0
- package/dist/components/user-input/filter/NeonFilter.vue.cjs.js +2 -0
- package/dist/components/user-input/filter/NeonFilter.vue.cjs.js.map +1 -0
- package/dist/components/user-input/filter/NeonFilter.vue.es.js +123 -0
- package/dist/components/user-input/filter/NeonFilter.vue.es.js.map +1 -0
- package/dist/components/user-input/search-filter/NeonSearchFilter.cjs.js +2 -0
- package/dist/components/user-input/search-filter/NeonSearchFilter.cjs.js.map +1 -0
- package/dist/components/user-input/search-filter/NeonSearchFilter.es.js +123 -0
- package/dist/components/user-input/search-filter/NeonSearchFilter.es.js.map +1 -0
- package/dist/components/user-input/search-filter/NeonSearchFilter.vue.cjs.js +2 -0
- package/dist/components/user-input/search-filter/NeonSearchFilter.vue.cjs.js.map +1 -0
- package/dist/components/user-input/search-filter/NeonSearchFilter.vue.es.js +88 -0
- package/dist/components/user-input/search-filter/NeonSearchFilter.vue.es.js.map +1 -0
- package/dist/neon.cjs.js +1 -1
- package/dist/neon.es.js +209 -203
- package/dist/neon.es.js.map +1 -1
- package/dist/src/components/layout/filter-bar/NeonFilterBar.d.ts +70 -0
- package/dist/src/components/layout/filter-bar/NeonFilterBar.vue.d.ts +2 -0
- package/dist/src/components/presentation/image-carousel/NeonImageCarousel.d.ts +1 -1
- package/dist/src/components/user-input/filter/NeonFilter.d.ts +3557 -0
- package/dist/src/components/user-input/filter/NeonFilter.vue.d.ts +2 -0
- package/dist/src/components/user-input/search-filter/NeonSearchFilter.d.ts +3288 -0
- package/dist/src/components/user-input/search-filter/NeonSearchFilter.vue.d.ts +2 -0
- package/dist/src/model/user-input/filter/NeonFilterItem.d.ts +13 -0
- package/dist/src/neon.d.ts +4 -0
- package/dist/src/utils/common/debounce/NeonDebounceUtils.d.ts +1 -1
- package/dist/utils/common/debounce/NeonDebounceUtils.cjs.js +1 -1
- package/dist/utils/common/debounce/NeonDebounceUtils.cjs.js.map +1 -1
- package/dist/utils/common/debounce/NeonDebounceUtils.es.js +1 -1
- package/dist/utils/common/debounce/NeonDebounceUtils.es.js.map +1 -1
- package/package.json +3 -1
- package/src/sass/components/_filter-bar.scss +55 -0
- package/src/sass/components/_filter.scss +53 -0
- package/src/sass/components/_search-filter.scss +25 -0
- package/src/sass/components/components.scss +3 -0
- package/src/sass/includes/_dependencies.scss +3 -0
- package/src/sass/theme.scss +12 -0
- package/src/sass/variables-global.scss +7 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model describing a filter item. See <a href="/user-input/filter">NeonFilter</a>.
|
|
3
|
+
*/
|
|
4
|
+
export interface NeonFilterItem {
|
|
5
|
+
/** Display label for this item. */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Count of items matching this filter option. */
|
|
8
|
+
count: number;
|
|
9
|
+
/** Boolean indicating if this item is selected. */
|
|
10
|
+
selected: boolean;
|
|
11
|
+
/** Boolean indicating if this item is disabled. */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}
|
package/dist/src/neon.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export { default as NeonExpansionPanel } from './components/presentation/expansi
|
|
|
25
25
|
export { default as NeonFieldGroup } from './components/user-input/field-group/NeonFieldGroup.vue';
|
|
26
26
|
export { default as NeonField } from './components/user-input/field/NeonField.vue';
|
|
27
27
|
export { default as NeonFile } from './components/user-input/file/NeonFile.vue';
|
|
28
|
+
export { default as NeonFilter } from './components/user-input/filter/NeonFilter.vue';
|
|
29
|
+
export { default as NeonFilterBar } from './components/layout/filter-bar/NeonFilterBar.vue';
|
|
28
30
|
export { default as NeonFilterList } from './components/user-input/filter-list/NeonFilterList.vue';
|
|
29
31
|
export { default as NeonFooter } from './components/layout/footer/NeonFooter.vue';
|
|
30
32
|
export { default as NeonGrid } from './components/layout/grid/NeonGrid.vue';
|
|
@@ -53,6 +55,7 @@ export { default as NeonPassword } from './components/user-input/password/NeonPa
|
|
|
53
55
|
export { default as NeonRangeSlider } from './components/user-input/range-slider/NeonRangeSlider.vue';
|
|
54
56
|
export { default as NeonSideNav } from './components/layout/side-nav/NeonSideNav.vue';
|
|
55
57
|
export { default as NeonSearch } from './components/user-input/search/NeonSearch.vue';
|
|
58
|
+
export { default as NeonSearchFilter } from './components/user-input/search-filter/NeonSearchFilter.vue';
|
|
56
59
|
export { default as NeonSelect } from './components/user-input/select/NeonSelect.vue';
|
|
57
60
|
export { default as NeonSelectableCard } from './components/layout/card-list/selectable-card/NeonSelectableCard.vue';
|
|
58
61
|
export { default as NeonSkeletonLoader } from './components/feedback/skeleton-loader/NeonSkeletonLoader.vue';
|
|
@@ -95,6 +98,7 @@ export type { NeonDropdownMenuItem } from '@/model/presentation/dropdown/NeonDro
|
|
|
95
98
|
export { NeonDropdownPlacement } from '@/model/presentation/dropdown/NeonDropdownPlacement';
|
|
96
99
|
export type { NeonDropdownPlacementObject } from '@/model/presentation/dropdown/NeonDropdownPlacementObject';
|
|
97
100
|
export { NeonDropdownStyle } from '@/model/presentation/dropdown/NeonDropdownStyle';
|
|
101
|
+
export type { NeonFilterItem } from './model/user-input/filter/NeonFilterItem';
|
|
98
102
|
export type { NeonFilterListItem } from '@/model/user-input/filter-list/NeonFilterListItem';
|
|
99
103
|
export { NeonFunctionalColor } from '@/model/common/color/NeonFunctionalColor';
|
|
100
104
|
export type { NeonGridModel } from '@/model/layout/grid/NeonGridModel';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Debounce utility used for debouncing user input. This has the benefit of also providing a global default which can
|
|
3
|
-
* also be set to 0 for improving test code (no need to wait for input). The default debounce timeout is set to
|
|
3
|
+
* also be set to 0 for improving test code (no need to wait for input). The default debounce timeout is set to 0ms.
|
|
4
4
|
*/
|
|
5
5
|
export declare class NeonDebounceUtils {
|
|
6
6
|
private static debounceTimeout;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var s=Object.defineProperty;var b=(i,e,t)=>e in i?s(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var r=(i,e,t)=>b(i,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=class o{static setGlobalDebounceTimeout(e){o.debounceTimeout=e}static debounce(e,t=o.debounceTimeout){let u;return t>0?(...a)=>{u&&clearTimeout(u),u=window.setTimeout(()=>e(...a),t)}:e}};r(o,"debounceTimeout",
|
|
1
|
+
"use strict";var s=Object.defineProperty;var b=(i,e,t)=>e in i?s(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var r=(i,e,t)=>b(i,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=class o{static setGlobalDebounceTimeout(e){o.debounceTimeout=e}static debounce(e,t=o.debounceTimeout){let u;return t>0?(...a)=>{u&&clearTimeout(u),u=window.setTimeout(()=>e(...a),t)}:e}};r(o,"debounceTimeout",0);let c=o;exports.NeonDebounceUtils=c;
|
|
2
2
|
//# sourceMappingURL=NeonDebounceUtils.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NeonDebounceUtils.cjs.js","sources":["../../../../src/utils/common/debounce/NeonDebounceUtils.ts"],"sourcesContent":["/**\n * Debounce utility used for debouncing user input. This has the benefit of also providing a global default which can\n * also be set to 0 for improving test code (no need to wait for input). The default debounce timeout is set to
|
|
1
|
+
{"version":3,"file":"NeonDebounceUtils.cjs.js","sources":["../../../../src/utils/common/debounce/NeonDebounceUtils.ts"],"sourcesContent":["/**\n * Debounce utility used for debouncing user input. This has the benefit of also providing a global default which can\n * also be set to 0 for improving test code (no need to wait for input). The default debounce timeout is set to 0ms.\n */\nexport class NeonDebounceUtils {\n private static debounceTimeout = 0;\n\n /**\n * Set a global debounce timeout value. NOTE: Set this to 0 to disable debounce & receive all input events immediately.\n * This is useful for testing purposes.\n *\n * @param debounceTimeout The debounce timeout in milliseconds.\n */\n public static setGlobalDebounceTimeout(debounceTimeout: number) {\n NeonDebounceUtils.debounceTimeout = debounceTimeout;\n }\n\n /**\n * Debounce a function, i.e. prevent triggering the function until a certain amount of time has passed without further\n * input.\n *\n * @param fn Function to debounce.\n * @param timeout Debounce timeout in milliseconds, uses the global setting by default.\n *\n * @returns Debounced function or in the case the timeout is set to 0 the original function parameter.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public static debounce(fn: (...args: any[]) => void, timeout = NeonDebounceUtils.debounceTimeout) {\n let timer: number;\n\n if (timeout > 0) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (...args: any[]) => {\n if (timer) {\n clearTimeout(timer);\n }\n timer = window.setTimeout(() => fn(...args), timeout);\n };\n }\n\n return fn;\n }\n}\n"],"names":["_NeonDebounceUtils","debounceTimeout","fn","timeout","timer","args","__publicField","NeonDebounceUtils"],"mappings":"oPAIO,MAAMA,EAAN,MAAMA,CAAkB,CAS7B,OAAc,yBAAyBC,EAAyB,CAC9DD,EAAkB,gBAAkBC,CACtC,CAYA,OAAc,SAASC,EAA8BC,EAAUH,EAAkB,gBAAiB,CAChG,IAAII,EAEJ,OAAID,EAAU,EAEL,IAAIE,IAAgB,CACrBD,GACF,aAAaA,CAAK,EAEpBA,EAAQ,OAAO,WAAW,IAAMF,EAAG,GAAGG,CAAI,EAAGF,CAAO,CACtD,EAGKD,CACT,CACF,EArCEI,EADWN,EACI,kBAAkB,GAD5B,IAAMO,EAANP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NeonDebounceUtils.es.js","sources":["../../../../src/utils/common/debounce/NeonDebounceUtils.ts"],"sourcesContent":["/**\n * Debounce utility used for debouncing user input. This has the benefit of also providing a global default which can\n * also be set to 0 for improving test code (no need to wait for input). The default debounce timeout is set to
|
|
1
|
+
{"version":3,"file":"NeonDebounceUtils.es.js","sources":["../../../../src/utils/common/debounce/NeonDebounceUtils.ts"],"sourcesContent":["/**\n * Debounce utility used for debouncing user input. This has the benefit of also providing a global default which can\n * also be set to 0 for improving test code (no need to wait for input). The default debounce timeout is set to 0ms.\n */\nexport class NeonDebounceUtils {\n private static debounceTimeout = 0;\n\n /**\n * Set a global debounce timeout value. NOTE: Set this to 0 to disable debounce & receive all input events immediately.\n * This is useful for testing purposes.\n *\n * @param debounceTimeout The debounce timeout in milliseconds.\n */\n public static setGlobalDebounceTimeout(debounceTimeout: number) {\n NeonDebounceUtils.debounceTimeout = debounceTimeout;\n }\n\n /**\n * Debounce a function, i.e. prevent triggering the function until a certain amount of time has passed without further\n * input.\n *\n * @param fn Function to debounce.\n * @param timeout Debounce timeout in milliseconds, uses the global setting by default.\n *\n * @returns Debounced function or in the case the timeout is set to 0 the original function parameter.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public static debounce(fn: (...args: any[]) => void, timeout = NeonDebounceUtils.debounceTimeout) {\n let timer: number;\n\n if (timeout > 0) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return (...args: any[]) => {\n if (timer) {\n clearTimeout(timer);\n }\n timer = window.setTimeout(() => fn(...args), timeout);\n };\n }\n\n return fn;\n }\n}\n"],"names":["_NeonDebounceUtils","debounceTimeout","fn","timeout","timer","args","__publicField","NeonDebounceUtils"],"mappings":";;;AAIO,MAAMA,IAAN,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAS7B,OAAc,yBAAyBC,GAAyB;AAC9D,IAAAD,EAAkB,kBAAkBC;AAAA,EACtC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYA,OAAc,SAASC,GAA8BC,IAAUH,EAAkB,iBAAiB;AAChG,QAAII;AAEJ,WAAID,IAAU,IAEL,IAAIE,MAAgB;AACzB,MAAID,KACF,aAAaA,CAAK,GAEpBA,IAAQ,OAAO,WAAW,MAAMF,EAAG,GAAGG,CAAI,GAAGF,CAAO;AAAA,IACtD,IAGKD;AAAA,EACT;AACF;AArCEI,EADWN,GACI,mBAAkB;AAD5B,IAAMO,IAANP;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aotearoan/neon",
|
|
3
3
|
"description": "Neon is a lightweight design library of Vue 3 components with minimal dependencies.",
|
|
4
|
-
"version": "28.
|
|
4
|
+
"version": "28.2.0",
|
|
5
5
|
"main": "./dist/neon.cjs.js",
|
|
6
6
|
"module": "./dist/neon.es.js",
|
|
7
7
|
"types": "./dist/src/neon.d.ts",
|
|
@@ -116,6 +116,8 @@
|
|
|
116
116
|
"sass": "^1.62.1",
|
|
117
117
|
"scss-parser": "^1.0.6",
|
|
118
118
|
"ts-jest": "^29.1.0",
|
|
119
|
+
"ts-node": "^10.9.1",
|
|
120
|
+
"tslib": "^2.8.1",
|
|
119
121
|
"typedoc": "^0.24.8",
|
|
120
122
|
"typescript": "~5.0.4",
|
|
121
123
|
"vite": "^6.3.4",
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@use '../includes/responsive';
|
|
2
|
+
|
|
3
|
+
@mixin filter-bar {
|
|
4
|
+
.neon-filter-bar {
|
|
5
|
+
.neon-swiper {
|
|
6
|
+
// display dropdowns as modals when overflowing as the overflow horizontal scrolling prevents the dropdown from
|
|
7
|
+
// being displayed. See https://github.com/w3c/csswg-drafts/issues/4092
|
|
8
|
+
@include responsive.responsive(mobile-large) {
|
|
9
|
+
.neon-dropdown__content {
|
|
10
|
+
position: fixed;
|
|
11
|
+
top: 50%;
|
|
12
|
+
left: 50%;
|
|
13
|
+
transform: translate(-50%, -50%);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.neon-dropdown__click-blocker {
|
|
17
|
+
position: fixed;
|
|
18
|
+
top: 0;
|
|
19
|
+
left: 0;
|
|
20
|
+
width: 100vw;
|
|
21
|
+
height: 100vh;
|
|
22
|
+
background-color: var(--neon-background-color-overlay);
|
|
23
|
+
z-index: var(--neon-z-index-below-top);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@include responsive.responsive(larger-than-mobile-large) {
|
|
28
|
+
&,
|
|
29
|
+
.neon-swiper__container {
|
|
30
|
+
overflow: visible;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.neon-filter-bar__filters {
|
|
36
|
+
gap: var(--neon-space-8);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.neon-filter-bar__sort {
|
|
40
|
+
flex-direction: row;
|
|
41
|
+
margin-left: auto;
|
|
42
|
+
|
|
43
|
+
.neon-select {
|
|
44
|
+
.neon-dropdown__button.neon-button {
|
|
45
|
+
&,
|
|
46
|
+
&:focus-within {
|
|
47
|
+
border: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
font-weight: var(--neon-font-weight-bold);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@use '../includes/responsive';
|
|
2
|
+
@use '../includes/scrollbars';
|
|
3
|
+
|
|
4
|
+
@mixin filter {
|
|
5
|
+
.neon-filter {
|
|
6
|
+
.neon-filter__content {
|
|
7
|
+
flex: 1;
|
|
8
|
+
padding: var(--neon-space-16);
|
|
9
|
+
width: var(--neon-width-filter-content);
|
|
10
|
+
|
|
11
|
+
@include responsive.responsive(mobile-large) {
|
|
12
|
+
flex: 1 0 auto;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.neon-filter__items {
|
|
16
|
+
overflow-y: auto;
|
|
17
|
+
@include scrollbars.scrollbars;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.neon-filter__title {
|
|
21
|
+
user-select: none;
|
|
22
|
+
font-size: var(--neon-font-size-xl);
|
|
23
|
+
font-weight: var(--neon-font-weight-medium);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.neon-filter__item {
|
|
27
|
+
user-select: none;
|
|
28
|
+
flex-direction: row;
|
|
29
|
+
justify-content: space-between;
|
|
30
|
+
align-items: center;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.neon-filter__item-count--disabled {
|
|
34
|
+
cursor: not-allowed;
|
|
35
|
+
color: var(--neon-color-disabled-text);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__cta {
|
|
39
|
+
margin-top: auto;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.neon-link.neon-filter__reset-link {
|
|
43
|
+
--neon-color-link: var(--neon-color-text-tertiary);
|
|
44
|
+
--neon-color-link-visited: var(--neon-color-text-tertiary);
|
|
45
|
+
--neon-color-link-hover: var(--neon-color-text-secondary);
|
|
46
|
+
|
|
47
|
+
&:not(:hover) {
|
|
48
|
+
text-decoration: none;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@use '../includes/responsive';
|
|
2
|
+
|
|
3
|
+
@mixin search-filter {
|
|
4
|
+
.neon-search-filter {
|
|
5
|
+
.neon-search-filter__content {
|
|
6
|
+
flex: 1;
|
|
7
|
+
padding: var(--neon-space-16);
|
|
8
|
+
width: var(--neon-width-filter-content);
|
|
9
|
+
|
|
10
|
+
@include responsive.responsive(mobile-large) {
|
|
11
|
+
flex: 1 0 auto;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.neon-search-filter__title {
|
|
15
|
+
user-select: none;
|
|
16
|
+
font-size: var(--neon-font-size-xl);
|
|
17
|
+
font-weight: var(--neon-font-weight-medium);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&__cta {
|
|
21
|
+
margin-top: auto;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -138,6 +138,9 @@
|
|
|
138
138
|
NeonStickyButtons: [],
|
|
139
139
|
NeonBreadcrumbs: [NeonIcon, NeonLink, NeonSwiper],
|
|
140
140
|
NeonHeader: [NeonBreadcrumbs, NeonButton, NeonExpansionIndicator, NeonIcon, NeonInline, NeonLink, NeonNote, NeonSwiper, NeonStack],
|
|
141
|
+
NeonFilter: [NeonButton, NeonInput, NeonLink, NeonStack, NeonSwitch, NeonExpansionIndicator, NeonIcon, NeonLink, NeonFieldGroup, NeonDropdown, NeonBadge],
|
|
142
|
+
NeonSearchFilter: [NeonButton, NeonInput, NeonLink, NeonStack, NeonSwitch, NeonExpansionIndicator, NeonIcon, NeonLink, NeonFieldGroup, NeonDropdown, NeonBadge],
|
|
143
|
+
NeonFilterBar: [NeonInline, NeonSwiper],
|
|
141
144
|
);
|
|
142
145
|
|
|
143
146
|
$neon-flattened-components: [];
|
package/src/sass/theme.scss
CHANGED
|
@@ -300,4 +300,16 @@ $neon-components: null !default;
|
|
|
300
300
|
@if index($neon-flattened-components, NeonHeader) {
|
|
301
301
|
@include components.header;
|
|
302
302
|
}
|
|
303
|
+
|
|
304
|
+
@if index($neon-flattened-components, NeonFilter) {
|
|
305
|
+
@include components.filter;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
@if index($neon-flattened-components, NeonSearchFilter) {
|
|
309
|
+
@include components.search-filter;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
@if index($neon-flattened-components, NeonFilterBar) {
|
|
313
|
+
@include components.filter-bar;
|
|
314
|
+
}
|
|
303
315
|
}
|
|
@@ -1389,4 +1389,11 @@
|
|
|
1389
1389
|
* Min height of the sticky buttons container
|
|
1390
1390
|
*/
|
|
1391
1391
|
--neon-min-height-sticky-buttons: 72rem;
|
|
1392
|
+
|
|
1393
|
+
/* filter */
|
|
1394
|
+
/**
|
|
1395
|
+
* @component NeonFilter
|
|
1396
|
+
* Width of the filter content when open
|
|
1397
|
+
*/
|
|
1398
|
+
--neon-width-filter-content: 250rem;
|
|
1392
1399
|
}
|