tide-design-system 2.0.23 → 2.0.24
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/IconAccountBalance-0a430d19.cjs +2 -0
- package/dist/IconAdd-91de604b.cjs +2 -0
- package/dist/IconAiDescription-674cca6d.cjs +2 -0
- package/dist/IconAlignSpace-7ee811f8.cjs +2 -0
- package/dist/IconApplePay-92395240.cjs +2 -0
- package/dist/IconArrowBack-3d47d166.cjs +2 -0
- package/dist/IconArrowForward-613e128c.cjs +2 -0
- package/dist/IconArrowRight-9f39cdbb.cjs +2 -0
- package/dist/IconAssignment-915702cc.cjs +2 -0
- package/dist/IconAwardStar-447cf4fc.cjs +2 -0
- package/dist/IconBookmark-3f6454d9.cjs +2 -0
- package/dist/IconCalendarMonth-bb5bbb9b.cjs +2 -0
- package/dist/IconCall-08f3119f.cjs +2 -0
- package/dist/IconCheck-910929df.cjs +2 -0
- package/dist/IconChevronLeft-6626777e.cjs +2 -0
- package/dist/IconChevronRight-91bc7ad1.cjs +2 -0
- package/dist/IconClear-489c5a46.cjs +2 -0
- package/dist/IconClose-538a540f.cjs +2 -0
- package/dist/IconCycle-7b7c7325.cjs +2 -0
- package/dist/IconDelete-5cc224a1.cjs +2 -0
- package/dist/IconDiamond-4e736f5f.cjs +2 -0
- package/dist/IconDraft-26850369.cjs +2 -0
- package/dist/IconEdit-b4d5f175.cjs +2 -0
- package/dist/IconError-4ad48be1.cjs +2 -0
- package/dist/IconExpandContent-03a28bfb.cjs +2 -0
- package/dist/IconExpandLess-59a80211.cjs +2 -0
- package/dist/IconExpandMore-edf55cdd.cjs +2 -0
- package/dist/IconFacebook-9c43095a.cjs +2 -0
- package/dist/IconFavorite-43091cef.cjs +2 -0
- package/dist/IconFavoriteFilled-71277849.cjs +2 -0
- package/dist/IconFormatBold-4faa5f99.cjs +2 -0
- package/dist/IconFormatItalic-fee490fc.cjs +2 -0
- package/dist/IconFormatListBulleted-d0a77d0e.cjs +2 -0
- package/dist/IconForum-22217aa0.cjs +2 -0
- package/dist/IconGavel-aacae653.cjs +2 -0
- package/dist/IconGoogle-77ec192e.cjs +2 -0
- package/dist/IconGooglePay-049e93ec.cjs +2 -0
- package/dist/IconGrid-1693599f.cjs +2 -0
- package/dist/IconHeight-d8ee424f.cjs +2 -0
- package/dist/IconHelp-43137a66.cjs +2 -0
- package/dist/IconInfo-2d14575c.cjs +2 -0
- package/dist/IconInsertText-14c80b9a.cjs +2 -0
- package/dist/IconInstagram-43bb02ea.cjs +2 -0
- package/dist/IconIosShare-526a016a.cjs +2 -0
- package/dist/IconLayout-e663120e.cjs +2 -0
- package/dist/IconLinkedIn-088a3792.cjs +2 -0
- package/dist/IconLocalShipping-9bca5a95.cjs +2 -0
- package/dist/IconLock-1c996287.cjs +2 -0
- package/dist/IconMail-f2b8fee4.cjs +2 -0
- package/dist/IconMenu-c7c2b143.cjs +2 -0
- package/dist/IconMoreHoriz-2c82da62.cjs +2 -0
- package/dist/IconNotifications-01f7658b.cjs +2 -0
- package/dist/IconOpenInNew-9032f1db.cjs +2 -0
- package/dist/IconPalette-269c7286.cjs +2 -0
- package/dist/IconPaypal-427e8667.cjs +2 -0
- package/dist/IconPerson-ee87961e.cjs +2 -0
- package/dist/IconPhotoCamera-56cb060d.cjs +2 -0
- package/dist/IconPinterest-87034fbf.cjs +2 -0
- package/dist/IconPlayArrow-80f601bf.cjs +2 -0
- package/dist/IconRemove-73b05132.cjs +2 -0
- package/dist/IconRoundedCorners-53cb2cfc.cjs +2 -0
- package/dist/IconRuler-5feb5a83.cjs +2 -0
- package/dist/IconSearch-45b2c0e5.cjs +2 -0
- package/dist/IconSeating-bc19b98f.cjs +2 -0
- package/dist/IconSell-bcede586.cjs +2 -0
- package/dist/IconShare-ff50a973.cjs +2 -0
- package/dist/IconShoppingCart-eee95744.cjs +2 -0
- package/dist/IconSms-0575f458.cjs +2 -0
- package/dist/IconStar-e2a88836.cjs +2 -0
- package/dist/IconSwapVert-29258e96.cjs +2 -0
- package/dist/IconThreeDRotation-7be89ff8.cjs +2 -0
- package/dist/IconTrophy-4d05eb75.cjs +2 -0
- package/dist/IconTune-1276696d.cjs +2 -0
- package/dist/IconTwitter-55b8ba63.cjs +2 -0
- package/dist/IconVideocam-f5b07935.cjs +2 -0
- package/dist/IconViewInAr-a583aff8.cjs +2 -0
- package/dist/IconVisibility-4984bcac.cjs +2 -0
- package/dist/IconVolumeOff-35d350ee.cjs +2 -0
- package/dist/IconVolumeOn-386ad18b.cjs +2 -0
- package/dist/IconWarning-54f3a9ac.cjs +2 -0
- package/dist/IconWeight-c6ddd367.cjs +2 -0
- package/dist/IconWidth-a556befc.cjs +2 -0
- package/dist/IconWidth-c81dbc7a.js +16 -0
- package/dist/IconYoutube-ed951c21.cjs +2 -0
- package/dist/css/grid-layout.css +1 -1
- package/dist/tide-design-system.cjs +2 -0
- package/dist/tide-design-system.esm.d.ts +1925 -0
- package/dist/tide-design-system.esm.js +2168 -0
- package/package.json +1 -1
- package/dist/IconWidth-023f69f2.js +0 -16
- package/dist/tide-design-system.js +0 -2174
- package/dist/types/Alert.ts +0 -8
- package/dist/types/Badge.ts +0 -21
- package/dist/types/BreadCrumb.ts +0 -5
- package/dist/types/Detail.ts +0 -4
- package/dist/types/Element.ts +0 -13
- package/dist/types/FacetRange.ts +0 -84
- package/dist/types/Field.ts +0 -54
- package/dist/types/Form.ts +0 -58
- package/dist/types/Formatted.ts +0 -22
- package/dist/types/Icon.ts +0 -87
- package/dist/types/Link.ts +0 -5
- package/dist/types/ListingMedia.ts +0 -43
- package/dist/types/Orientation.ts +0 -6
- package/dist/types/Priority.ts +0 -11
- package/dist/types/Raw.ts +0 -5
- package/dist/types/Realm.ts +0 -13
- package/dist/types/RealmConfig.ts +0 -14
- package/dist/types/Select.ts +0 -10
- package/dist/types/Size.ts +0 -6
- package/dist/types/Storybook.ts +0 -219
- package/dist/types/Styles.ts +0 -590
- package/dist/types/Tab.ts +0 -5
- package/dist/types/Target.ts +0 -6
- package/dist/types/TextInput.ts +0 -16
- package/dist/types/Validation.ts +0 -24
package/dist/types/Alert.ts
DELETED
package/dist/types/Badge.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export const BADGE = {
|
|
2
|
-
JUST_LISTED: 'Just listed',
|
|
3
|
-
NATIONWIDE: 'Nationwide',
|
|
4
|
-
REDUCED: 'Reduced',
|
|
5
|
-
UPDATED: 'Updated',
|
|
6
|
-
} as const;
|
|
7
|
-
|
|
8
|
-
export const BADGE_PREMIUM = {
|
|
9
|
-
PREMIUM: 'Premium',
|
|
10
|
-
PREMIUM_SELECT: 'Premium SELECT',
|
|
11
|
-
} as const;
|
|
12
|
-
|
|
13
|
-
export const BADGE_TRUSTED = {
|
|
14
|
-
YEARS_10: '10',
|
|
15
|
-
YEARS_15: '15',
|
|
16
|
-
YEARS_5: '5',
|
|
17
|
-
} as const;
|
|
18
|
-
|
|
19
|
-
export type Badge = (typeof BADGE)[keyof typeof BADGE];
|
|
20
|
-
export type BadgePremium = (typeof BADGE_PREMIUM)[keyof typeof BADGE_PREMIUM];
|
|
21
|
-
export type BadgeTrustedYears = (typeof BADGE_TRUSTED)[keyof typeof BADGE_TRUSTED];
|
package/dist/types/BreadCrumb.ts
DELETED
package/dist/types/Detail.ts
DELETED
package/dist/types/Element.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export const ELEMENT = {
|
|
2
|
-
BUTTON: 'button',
|
|
3
|
-
LINK: 'a',
|
|
4
|
-
} as const;
|
|
5
|
-
|
|
6
|
-
export const ELEMENT_TEXT_AS_ICON = {
|
|
7
|
-
BUTTON: 'button',
|
|
8
|
-
DIV: 'div',
|
|
9
|
-
LINK: 'a',
|
|
10
|
-
} as const;
|
|
11
|
-
|
|
12
|
-
export type Element = (typeof ELEMENT)[keyof typeof ELEMENT];
|
|
13
|
-
export type ElementTextAsIcon = (typeof ELEMENT_TEXT_AS_ICON)[keyof typeof ELEMENT_TEXT_AS_ICON];
|
package/dist/types/FacetRange.ts
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import type { SelectOption } from '@/types/Select';
|
|
2
|
-
|
|
3
|
-
export const FACET_COMPONENT_ID_RANGE = {
|
|
4
|
-
GROSS_WEIGHT: 'grossWeight',
|
|
5
|
-
LENGTH: 'vehicleLength',
|
|
6
|
-
MILEAGE: 'mileage',
|
|
7
|
-
PRICE: 'price',
|
|
8
|
-
SLEEPING_CAPACITY: 'sleepingCapacity',
|
|
9
|
-
SLIDEOUTS: 'slideouts',
|
|
10
|
-
YEAR: 'vehicleYear',
|
|
11
|
-
} as const;
|
|
12
|
-
|
|
13
|
-
export type FacetComponentIdRange = (typeof FACET_COMPONENT_ID_RANGE)[keyof typeof FACET_COMPONENT_ID_RANGE];
|
|
14
|
-
|
|
15
|
-
export type RangeData = {
|
|
16
|
-
min: number | null;
|
|
17
|
-
max: number | null;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
const GROSS_WEIGHT_MIN = 1000;
|
|
21
|
-
const GROSS_WEIGHT_MAX = 12000;
|
|
22
|
-
export const GROSS_WEIGHT_OPTIONS: SelectOption[] = [
|
|
23
|
-
{
|
|
24
|
-
label: 'Any',
|
|
25
|
-
value: null,
|
|
26
|
-
},
|
|
27
|
-
...Array.from({ length: Math.floor((GROSS_WEIGHT_MAX - GROSS_WEIGHT_MIN) / 1000) + 1 }, (_, index) => ({
|
|
28
|
-
label: (GROSS_WEIGHT_MAX - index * 1000).toString(),
|
|
29
|
-
value: (GROSS_WEIGHT_MAX - index * 1000).toString(),
|
|
30
|
-
})),
|
|
31
|
-
];
|
|
32
|
-
|
|
33
|
-
const SLEEP_CAP_MIN = 1;
|
|
34
|
-
const SLEEP_CAP_MAX = 10;
|
|
35
|
-
export const SLEEPING_CAPACITY_OPTIONS: SelectOption[] = [
|
|
36
|
-
{
|
|
37
|
-
label: 'Any',
|
|
38
|
-
value: null,
|
|
39
|
-
},
|
|
40
|
-
...Array.from({ length: SLEEP_CAP_MAX - SLEEP_CAP_MIN + 1 }, (_, index) => ({
|
|
41
|
-
label: (SLEEP_CAP_MAX - index).toString(),
|
|
42
|
-
value: (SLEEP_CAP_MAX - index).toString(),
|
|
43
|
-
})),
|
|
44
|
-
];
|
|
45
|
-
|
|
46
|
-
const SLIDEOUT_MIN = 0;
|
|
47
|
-
const SLIDEOUT_MAX = 5;
|
|
48
|
-
export const SLIDEOUT_OPTIONS: SelectOption[] = [
|
|
49
|
-
{
|
|
50
|
-
label: 'Any',
|
|
51
|
-
value: null,
|
|
52
|
-
},
|
|
53
|
-
...Array.from({ length: SLIDEOUT_MAX - SLIDEOUT_MIN + 1 }, (_, index) => ({
|
|
54
|
-
label: (SLIDEOUT_MAX - index).toString(),
|
|
55
|
-
value: (SLIDEOUT_MAX - index).toString(),
|
|
56
|
-
})),
|
|
57
|
-
];
|
|
58
|
-
|
|
59
|
-
const LENGTH_MIN = 10;
|
|
60
|
-
const LENGTH_MAX = 50;
|
|
61
|
-
export const LENGTH_OPTIONS: SelectOption[] = [
|
|
62
|
-
{
|
|
63
|
-
label: 'Any',
|
|
64
|
-
value: null,
|
|
65
|
-
},
|
|
66
|
-
...Array.from({ length: LENGTH_MAX - LENGTH_MIN + 1 }, (_, index) => ({
|
|
67
|
-
label: (LENGTH_MAX - index).toString(),
|
|
68
|
-
value: (LENGTH_MAX - index).toString(),
|
|
69
|
-
})),
|
|
70
|
-
];
|
|
71
|
-
|
|
72
|
-
const YEAR_MIN = 1900;
|
|
73
|
-
const today = new Date();
|
|
74
|
-
const YEAR_MAX = today.getFullYear() + 2;
|
|
75
|
-
export const YEAR_OPTIONS: SelectOption[] = [
|
|
76
|
-
{
|
|
77
|
-
label: 'Any',
|
|
78
|
-
value: null,
|
|
79
|
-
},
|
|
80
|
-
...Array.from({ length: YEAR_MAX - YEAR_MIN + 1 }, (_, index) => ({
|
|
81
|
-
label: (YEAR_MAX - index).toString(),
|
|
82
|
-
value: (YEAR_MAX - index).toString(),
|
|
83
|
-
})),
|
|
84
|
-
];
|
package/dist/types/Field.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import type { FormValueTransformer } from '@/types/Form';
|
|
2
|
-
import type { SelectOption } from '@/types/Select';
|
|
3
|
-
import type { TextInputType } from '@/types/TextInput';
|
|
4
|
-
import type { ValidationError, Validator } from '@/types/Validation';
|
|
5
|
-
|
|
6
|
-
interface BooleanValue {
|
|
7
|
-
value?: boolean;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
interface CheckboxField extends GenericInput, BooleanValue {
|
|
11
|
-
indeterminate?: boolean;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
interface GenericField extends GenericInput {
|
|
15
|
-
transformValue?: FormValueTransformer;
|
|
16
|
-
validators?: Validator[];
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface GenericInput {
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
error: ValidationError;
|
|
22
|
-
label?: string;
|
|
23
|
-
name: string;
|
|
24
|
-
required?: boolean;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
interface SelectField extends GenericInput, StringValue {
|
|
28
|
-
options: SelectOption[];
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
interface StringValue {
|
|
32
|
-
value?: string;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
interface TextareaField extends GenericField, StringValue {
|
|
36
|
-
maxlength?: number;
|
|
37
|
-
minlength?: number;
|
|
38
|
-
placeholder?: string;
|
|
39
|
-
value?: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
interface TextField extends GenericField, StringValue {
|
|
43
|
-
maxlength?: number;
|
|
44
|
-
minlength?: number;
|
|
45
|
-
placeholder?: string;
|
|
46
|
-
type?: TextInputType;
|
|
47
|
-
value?: string;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export type BooleanField = CheckboxField;
|
|
51
|
-
export type Field = SelectField | TextField | TextareaField | CheckboxField;
|
|
52
|
-
export type StringField = SelectField | TextField | TextareaField;
|
|
53
|
-
export type { BooleanValue, StringValue };
|
|
54
|
-
export type { CheckboxField, GenericField, GenericInput, SelectField, TextareaField, TextField };
|
package/dist/types/Form.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import type { SelectOptGroup, SelectOption } from '@/types/Select';
|
|
2
|
-
import type { TextInputType } from '@/types/TextInput';
|
|
3
|
-
import type { ValidationError, Validator } from '@/types/Validation';
|
|
4
|
-
|
|
5
|
-
interface GenericInput {
|
|
6
|
-
error?: ValidationError;
|
|
7
|
-
transformValue?: FormValueTransformer;
|
|
8
|
-
name: string;
|
|
9
|
-
validators?: Validator[];
|
|
10
|
-
required?: boolean;
|
|
11
|
-
label?: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
interface StringValue {
|
|
16
|
-
value?: string;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface BooleanValue {
|
|
20
|
-
value?: boolean;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export type SelectInput = GenericInput &
|
|
24
|
-
StringValue & {
|
|
25
|
-
options?: SelectOption[] | readonly SelectOption[];
|
|
26
|
-
placeholder?: string;
|
|
27
|
-
optgroups?: SelectOptGroup[];
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export type TextInput = GenericInput &
|
|
31
|
-
StringValue & {
|
|
32
|
-
autocomplete?: boolean;
|
|
33
|
-
maxlength?: number;
|
|
34
|
-
minlength?: number;
|
|
35
|
-
type?: TextInputType;
|
|
36
|
-
placeholder?: string;
|
|
37
|
-
value?: string;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export type TextareaInput = GenericInput &
|
|
41
|
-
StringValue & {
|
|
42
|
-
maxlength?: number;
|
|
43
|
-
minlength?: number;
|
|
44
|
-
placeholder?: string;
|
|
45
|
-
value?: string;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
export type CheckboxInput = GenericInput &
|
|
49
|
-
BooleanValue & {
|
|
50
|
-
checked?: boolean;
|
|
51
|
-
indeterminate?: boolean;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export type StringInput = SelectInput | TextInput | TextareaInput;
|
|
55
|
-
export type BooleanInput = CheckboxInput;
|
|
56
|
-
export type Input = SelectInput | TextInput | TextareaInput | CheckboxInput;
|
|
57
|
-
|
|
58
|
-
export type FormValueTransformer = (value: string) => string;
|
package/dist/types/Formatted.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { formatNumber, formatPhone, formatPrice } from '@/utilities/format';
|
|
2
|
-
|
|
3
|
-
export type Formatted = {
|
|
4
|
-
[key: string]: string | string[] | number;
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
export const FORMAT = {
|
|
8
|
-
NUMBER: formatNumber,
|
|
9
|
-
PHONE: formatPhone,
|
|
10
|
-
PRICE: formatPrice,
|
|
11
|
-
} as const;
|
|
12
|
-
|
|
13
|
-
export const FORMAT_REGEX = {
|
|
14
|
-
alpha: /^[a-zA-Z]+$/g,
|
|
15
|
-
alphaNumberOrEmpty: /^$|^[a-z0-9]+$/i,
|
|
16
|
-
alphaSpace: /^[a-zA-Z ]+$/g,
|
|
17
|
-
email:
|
|
18
|
-
/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,
|
|
19
|
-
numberFormatted: /^$|(?=.)^\$?(([1-9][0-9]{0,2}(,[0-9]{3})*)|0)?(\.[0-9]{1,2})?$/,
|
|
20
|
-
phone: /^(?:\d{3}-\d{3}-\d{4}|\d{1}-\d{3}-\d{3}-\d{4})?$/,
|
|
21
|
-
price: /(?=.)^\$?(([1-9][0-9]{0,2}(,[0-9]{3})*)|0)?(\.[0-9]{1,2})?$/,
|
|
22
|
-
};
|
package/dist/types/Icon.ts
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
export const ICON = {
|
|
2
|
-
ACCOUNT_BALANCE: 'account-balance',
|
|
3
|
-
ADD: 'add',
|
|
4
|
-
AI_DESCRIPTION: 'ai-description',
|
|
5
|
-
ALIGN_SPACE: 'align-space',
|
|
6
|
-
APPLE_PAY: 'apple-pay',
|
|
7
|
-
ARROW_BACK: 'arrow-back',
|
|
8
|
-
ARROW_FORWARD: 'arrow-forward',
|
|
9
|
-
ARROW_RIGHT: 'arrow-right',
|
|
10
|
-
ASSIGNMENT: 'assignment',
|
|
11
|
-
AWARD_STAR: 'award-star',
|
|
12
|
-
BOOKMARK: 'bookmark',
|
|
13
|
-
CALENDAR_MONTH: 'calendar-month',
|
|
14
|
-
CALL: 'call',
|
|
15
|
-
CHECK: 'check',
|
|
16
|
-
CHEVRON_LEFT: 'chevron-left',
|
|
17
|
-
CHEVRON_RIGHT: 'chevron-right',
|
|
18
|
-
CLEAR: 'clear',
|
|
19
|
-
CLOSE: 'close',
|
|
20
|
-
CYCLE: 'cycle',
|
|
21
|
-
DELETE: 'delete',
|
|
22
|
-
DIAMOND: 'diamond',
|
|
23
|
-
DRAFT: 'draft',
|
|
24
|
-
EDIT: 'edit',
|
|
25
|
-
ERROR: 'error',
|
|
26
|
-
EXPAND_CONTENT: 'expand-content',
|
|
27
|
-
EXPAND_LESS: 'expand-less',
|
|
28
|
-
EXPAND_MORE: 'expand-more',
|
|
29
|
-
FACEBOOK: 'facebook',
|
|
30
|
-
FAVORITE: 'favorite',
|
|
31
|
-
FAVORITE_FILLED: 'favorite-filled',
|
|
32
|
-
FORMAT_BOLD: 'format-bold',
|
|
33
|
-
FORMAT_ITALIC: 'format-italic',
|
|
34
|
-
FORMAT_LIST_BULLETED: 'format-list-bulleted',
|
|
35
|
-
FORUM: 'forum',
|
|
36
|
-
GAVEL: 'gavel',
|
|
37
|
-
GOOGLE: 'google',
|
|
38
|
-
GOOGLE_PAY: 'google-pay',
|
|
39
|
-
GRID: 'grid',
|
|
40
|
-
HEIGHT: 'height',
|
|
41
|
-
HELP: 'help',
|
|
42
|
-
INFO: 'info',
|
|
43
|
-
INSERT_TEXT: 'insert-text',
|
|
44
|
-
INSTAGRAM: 'instagram',
|
|
45
|
-
IOS_SHARE: 'ios-share',
|
|
46
|
-
LAYOUT: 'layout',
|
|
47
|
-
LINKED_IN: 'linked in',
|
|
48
|
-
LOCAL_SHIPPING: 'local-shipping',
|
|
49
|
-
LOCK: 'lock',
|
|
50
|
-
MAIL: 'mail',
|
|
51
|
-
MENU: 'menu',
|
|
52
|
-
MORE_HORIZ: 'more-horiz',
|
|
53
|
-
NOTIFICATIONS: 'notifications',
|
|
54
|
-
OPEN_IN_NEW: 'open-in-new',
|
|
55
|
-
PALETTE: 'palette',
|
|
56
|
-
PAYPAL: 'paypal',
|
|
57
|
-
PERSON: 'person',
|
|
58
|
-
PHOTO_CAMERA: 'photo-camera',
|
|
59
|
-
PINTEREST: 'pinterest',
|
|
60
|
-
PLAY_ARROW: 'play-arrow',
|
|
61
|
-
REMOVE: 'remove',
|
|
62
|
-
ROUNDED_CORNERS: 'rounded-corners',
|
|
63
|
-
RULER: 'ruler',
|
|
64
|
-
SEARCH: 'search',
|
|
65
|
-
SEATING: 'seating',
|
|
66
|
-
SELL: 'sell',
|
|
67
|
-
SHARE: 'share',
|
|
68
|
-
SHOPPING_CART: 'shopping-cart',
|
|
69
|
-
SMS: 'sms',
|
|
70
|
-
STAR: 'star',
|
|
71
|
-
SWAP_VERT: 'swap-vert',
|
|
72
|
-
THREE_D_ROTATION: 'three-d-rotation',
|
|
73
|
-
TROPHY: 'trophy',
|
|
74
|
-
TUNE: 'tune',
|
|
75
|
-
TWITTER: 'twitter',
|
|
76
|
-
VIDEOCAM: 'videocam',
|
|
77
|
-
VIEW_IN_AR: 'view-in-ar',
|
|
78
|
-
VISIBILITY: 'visibility',
|
|
79
|
-
VOLUME_OFF: 'volume-off',
|
|
80
|
-
VOLUME_ON: 'volume-on',
|
|
81
|
-
WARNING: 'warning',
|
|
82
|
-
WEIGHT: 'weight',
|
|
83
|
-
WIDTH: 'width',
|
|
84
|
-
YOUTUBE: 'youtube',
|
|
85
|
-
} as const;
|
|
86
|
-
|
|
87
|
-
export type Icon = (typeof ICON)[keyof typeof ICON];
|
package/dist/types/Link.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* These slides are used in both the inline detail page photo slider
|
|
3
|
-
* and the fullscreen media gallery.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
export const MEDIA_SLIDE_TYPES = {
|
|
7
|
-
IMAGE: {
|
|
8
|
-
FLOORPLAN: 'floorplan',
|
|
9
|
-
IMAGE: 'image',
|
|
10
|
-
},
|
|
11
|
-
VIDEO: 'video',
|
|
12
|
-
VR: 'vr',
|
|
13
|
-
} as const;
|
|
14
|
-
|
|
15
|
-
export type MediaSlideType =
|
|
16
|
-
| (typeof MEDIA_SLIDE_TYPES.IMAGE)[keyof typeof MEDIA_SLIDE_TYPES.IMAGE]
|
|
17
|
-
| typeof MEDIA_SLIDE_TYPES.VIDEO
|
|
18
|
-
| typeof MEDIA_SLIDE_TYPES.VR;
|
|
19
|
-
|
|
20
|
-
export type ImageSlideType = (typeof MEDIA_SLIDE_TYPES.IMAGE)[keyof typeof MEDIA_SLIDE_TYPES.IMAGE];
|
|
21
|
-
|
|
22
|
-
type ImageSlide = {
|
|
23
|
-
imageUrl: string;
|
|
24
|
-
type: ImageSlideType;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export type VideoSlideType = typeof MEDIA_SLIDE_TYPES.VIDEO;
|
|
28
|
-
|
|
29
|
-
type VideoSlide = {
|
|
30
|
-
imageUrl: string;
|
|
31
|
-
type: VideoSlideType;
|
|
32
|
-
videoUrl: string;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export type VrSlideType = typeof MEDIA_SLIDE_TYPES.VR;
|
|
36
|
-
|
|
37
|
-
type VrSlide = {
|
|
38
|
-
imageUrl: string;
|
|
39
|
-
type: VrSlideType;
|
|
40
|
-
vrUrl: string;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export type ListingMedia = ImageSlide | VideoSlide | VrSlide;
|
package/dist/types/Priority.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/* eslint-disable vue/sort-keys */
|
|
2
|
-
|
|
3
|
-
export const PRIORITY = {
|
|
4
|
-
PRIMARY: 'primary',
|
|
5
|
-
SECONDARY: 'secondary',
|
|
6
|
-
TERTIARY: 'tertiary',
|
|
7
|
-
QUATERNARY: 'quaternary',
|
|
8
|
-
FLOATING: 'floating',
|
|
9
|
-
} as const;
|
|
10
|
-
|
|
11
|
-
export type Priority = (typeof PRIORITY)[keyof typeof PRIORITY];
|
package/dist/types/Raw.ts
DELETED
package/dist/types/Realm.ts
DELETED
package/dist/types/Select.ts
DELETED