@everymatrix/casino-filter-page 0.0.247 → 0.0.248

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-filter-page",
3
- "version": "0.0.247",
3
+ "version": "0.0.248",
4
4
  "main": "dist/casino-filter-page.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "a5b796f4cea4507671829ccf33489c7c93dc3709"
39
+ "gitHead": "77f6efa473daab4dd62004b893c587558bf4511c"
40
40
  }
@@ -288,38 +288,38 @@
288
288
  $: clientstylingurl && setClientStylingURL();
289
289
  </script>
290
290
 
291
- <div bind:this={customStylingContainer}>
291
+ <div bind:this={customStylingContainer} part="CustomStylingContainer">
292
292
  {#if isLoading}
293
- <div class="lds-dual-ring"></div>
293
+ <div class="lds-dual-ring" part="lds-dual-ring"></div>
294
294
  {:else}
295
- <div class="FilterModalContent {mobileView ? 'FilterModalMobileContent' : ''}" >
296
- <section class="FilterHeaderSection">
297
- <div class="FilterHeaderDetails">
298
- <h4 class="FilterHeaderTitle">{$_('filters.filterModalTitle')}</h4>
299
- <h5 class="FilterHeaderSubtitle">{$_('filters.filterModalSubtitle')}</h5>
295
+ <div class="FilterModalContent {mobileView ? 'FilterModalMobileContent' : ''}" part="FilterModalContent {mobileView ? 'FilterModalMobileContent' : ''}">
296
+ <section class="FilterHeaderSection" part="FilterHeaderSection">
297
+ <div class="FilterHeaderDetails" part="FilterHeaderDetails">
298
+ <h4 class="FilterHeaderTitle" part="FilterHeaderTitle">{$_('filters.filterModalTitle')}</h4>
299
+ <h5 class="FilterHeaderSubtitle" part="FilterHeaderSubtitle">{$_('filters.filterModalSubtitle')}</h5>
300
300
  </div>
301
301
  </section>
302
- <section class="FilterContentSection">
302
+ <section class="FilterContentSection" part="FilterContentSection">
303
303
  {#if vendorsArray}
304
304
  {#each vendorsArray as vendor}
305
- <div class="VendorBox {vendor.isFilterSelected ? 'VendorBoxSelected' : ''}" on:click="{() => toggleVendorFilter(vendor)}">
306
- <img class="VendorImage" src="{vendor.image}" alt="{vendor.name}" />
305
+ <div class="VendorBox {vendor.isFilterSelected ? 'VendorBoxSelected' : ''}" part="VendorBox {vendor.isFilterSelected ? 'VendorBoxSelected' : ''}" on:click="{() => toggleVendorFilter(vendor)}">
306
+ <img class="VendorImage" part="VendorImage" src="{vendor.image}" alt="{vendor.name}" />
307
307
  {#if vendor.isFilterSelected}
308
- <div class="FilterIconContainer">
309
- <div class="CheckMark"></div>
308
+ <div class="FilterIconContainer" part="FilterIconContainer">
309
+ <div class="CheckMark" part="CheckMark"></div>
310
310
  </div>
311
311
  {/if}
312
312
  </div>
313
313
  {/each}
314
314
  {/if}
315
315
  </section>
316
- <section class="FilterFooterSection">
316
+ <section class="FilterFooterSection" part="FilterFooterSection">
317
317
  {#if provisionalVendorArray}
318
318
  {#if provisionalVendorArray.length}
319
- <div class="ClearFiltersButton" on:click="{() => clearVendorFilter()}">{$_('filters.filterClear')}</div>
319
+ <div class="ClearFiltersButton" part="ClearFiltersButton" on:click="{() => clearVendorFilter()}">{$_('filters.filterClear')}</div>
320
320
  {/if}
321
321
  {/if}
322
- <div class="ApplyFiltersButton {!applyFilters ? "ApplyFilterButtonDisabled" : ''}" on:click="{() => applyVendorFilter()}">{$_('filters.filterApply')}</div>
322
+ <div class="ApplyFiltersButton {!applyFilters ? 'ApplyFilterButtonDisabled' : ''}" part="ApplyFiltersButton {!applyFilters ? 'ApplyFilterButtonDisabled' : ''}" on:click="{() => applyVendorFilter()}">{$_('filters.filterApply')}</div>
323
323
  </section>
324
324
  </div>
325
325
  {/if}