This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.m-0 { | |
margin: 0 !important; | |
} | |
.m-1 { | |
margin: 0.25rem !important; | |
} | |
.m-2 { | |
margin: 0.5rem !important; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface BrowserContextSuggestions { | |
detected_values: { | |
/** | |
* An object informing of the the visitors country and 2 letter country code | |
*/ | |
country: { | |
/** | |
* The 2 letter country code | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
AD: 'AD501', | |
AE: '32222', | |
AF: '1001', | |
AG: '00000', | |
AI: '2640', | |
AL: '1001', | |
AM: '0001', | |
AO: '1001', | |
AR: '1010', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Primitive = | null | undefined | string | number | boolean | symbol | bigint; | |
type LiteralUnion<LiteralType, BaseType extends Primitive,> = LiteralType | (BaseType & Record<never, never>); | |
export interface Shopify { | |
PaymentButton: { | |
init(): any | |
} | |
autoloadFeatures(param: any): any | |
/** | |
* Only show in Theme previews, it's a class instance, yuck. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if type == 'heading' %} | |
<div class="col-12 mt-{{ block.mt }} mb-{{ block.mb }} tc"> | |
<h1 class="mb-4"> | |
{{ block.title }} | |
</h1> | |
<h4 class="my-3 fc-dark-gray italic uncase"> | |
{{ block.subtitle }} | |
</h4> | |
<div class="{{ block.fs }} {{ block.ta }}"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { LiteralUnion, AnyCase } from '@brixtol/tsutils'; | |
import { CountryCodes } from '@brixtol/country-names'; | |
export interface ICurrencies { | |
/** Andorra (Euro) */ | |
AD: 'EUR', | |
/** United Arab Emirates (UAE Dirham) */ | |
AE: 'AED', | |
/** Afghanistan (Afghani) */ | |
AF: 'AFN', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface IEndpoints { | |
/** | |
* Returns Ajax Cart | |
*/ | |
get: '/cart.json', | |
/** | |
* Add a product to cart | |
*/ | |
add: '/cart/add.js', | |
/** |
Update the relating files to the structures found below, adjust where necessary. This update should not take longer than 1 minute for most users, it is just copy/paste unless you have some custom beautification rules, in that case you will need to re-apply them where required. Refer to the Release Notes for additional information and understanding.
Get support in the Discord Server if you run into any issues, I am here and I am human!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { assign } = Object | |
const { from } = Array | |
export interface CarouselOptions { | |
selector: HTMLElement | string; | |
duration: number; | |
easing: string; | |
perPage: number |{ [width: number]: number }; | |
startIndex: number; | |
draggable: boolean; |