@eldrajs/ui 0.3.16 → 0.3.18
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/CHANGELOG.md +3 -0
- package/README.md +1 -0
- package/dist/{PhoneInput-CB9p1skb.js → PhoneInput-CHTpjbtS.js} +1 -1
- package/dist/{VariantPicker-CCBZXtMa.js → VariantPicker-Dein0E4i.js} +4199 -4194
- package/dist/componentNames.d.ts +1 -1
- package/dist/components/autocomplete/Autocomplete.vue.d.ts +2 -0
- package/dist/components/chip/Chip.vue.d.ts +2 -0
- package/dist/components/currency-picker/CurrencyPicker.vue.d.ts +17 -0
- package/dist/components/currency-picker/types.d.ts +21 -0
- package/dist/components/dialog/Dialog.vue.d.ts +2 -0
- package/dist/components/drawer/Drawer.vue.d.ts +2 -0
- package/dist/components/filter-panel/FilterGroup.vue.d.ts +2 -0
- package/dist/components/filter-panel/FilterPanel.vue.d.ts +2 -0
- package/dist/components/filter-panel/facets/ColourFacet.vue.d.ts +2 -0
- package/dist/components/filter-panel/facets/ListFacet.vue.d.ts +2 -0
- package/dist/components/filter-panel/facets/RangeFacet.vue.d.ts +2 -0
- package/dist/components/filter-panel/facets/SizeFacet.vue.d.ts +2 -0
- package/dist/components/filter-panel/facets/ToggleFacet.vue.d.ts +2 -0
- package/dist/components/lightbox/Lightbox.vue.d.ts +2 -0
- package/dist/components/nav-menu/NavMenu.vue.d.ts +2 -0
- package/dist/components/pagination/Pagination.vue.d.ts +2 -0
- package/dist/components/popover/Popover.vue.d.ts +1 -1
- package/dist/components/product-card/types.d.ts +3 -1
- package/dist/components/range-slider/RangeSlider.vue.d.ts +2 -0
- package/dist/components/search-bar/SearchBar.vue.d.ts +2 -0
- package/dist/components/search-modal/SearchModal.vue.d.ts +3 -1
- package/dist/components/section/Section.vue.d.ts +1 -1
- package/dist/components/select/MultiSelect.vue.d.ts +2 -0
- package/dist/components/select/Select.vue.d.ts +2 -0
- package/dist/components/site-form/SiteForm.vue.d.ts +2 -0
- package/dist/components/toast/Toast.vue.d.ts +2 -0
- package/dist/components/toast/Toaster.vue.d.ts +2 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +798 -700
- package/dist/messages/en-US.d.ts +4 -0
- package/dist/messages/is-IS.js +2 -0
- package/dist/phone/PhoneInput.vue.d.ts +2 -0
- package/dist/phone/vee-validate.js +2 -2
- package/dist/phone.js +1 -1
- package/dist/resolver.js +1 -0
- package/dist/{useMessages-CrSnIuLt.js → useMessages-BdN9F1cW.js} +4 -0
- package/dist/utils/number-format.d.ts +2 -0
- package/dist/vee-validate.js +2 -2
- package/dist/vue-i18n.js +2 -1
- package/package.json +2 -2
package/dist/componentNames.d.ts
CHANGED
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
* it from `@eldrajs/ui`, where it does not exist, and would pull an optional peer into a project
|
|
16
16
|
* that never installed it. `src/__tests__/veeValidateIsolation.spec.ts` asserts both halves.
|
|
17
17
|
*/
|
|
18
|
-
export declare const componentNames: readonly ["Accordion", "AccordionItem", "Autocomplete", "Avatar", "AvatarGroup", "Badge", "Breadcrumb", "Button", "ButtonGroup", "Carousel", "Checkbox", "CheckboxGroup", "Chip", "ChipGroup", "Container", "ContentCard", "CurrencyInput", "Dialog", "Drawer", "EditorPlaceholder", "EmptyState", "FeatureCard", "FieldWrapper", "FilterPanel", "FormLayout", "Icon", "Image", "Input", "Lightbox", "Link", "LoadMore", "LogoItem", "MultiSelect", "NavMenu", "Notice", "Pagination", "Popover", "Price", "ProductCard", "QuantityStepper", "Radio", "RadioGroup", "RangeSlider", "Rating", "SearchBar", "SearchModal", "Section", "Select", "SiteForm", "Skeleton", "Spinner", "StepIndicator", "StockBadge", "Switch", "Tab", "TabPanel", "TablerIcon", "Tabs", "Textarea", "Toast", "Toaster", "Tooltip", "UnitInput", "VariantPicker", "VisuallyHidden"];
|
|
18
|
+
export declare const componentNames: readonly ["Accordion", "AccordionItem", "Autocomplete", "Avatar", "AvatarGroup", "Badge", "Breadcrumb", "Button", "ButtonGroup", "Carousel", "Checkbox", "CheckboxGroup", "Chip", "ChipGroup", "Container", "ContentCard", "CurrencyInput", "CurrencyPicker", "Dialog", "Drawer", "EditorPlaceholder", "EmptyState", "FeatureCard", "FieldWrapper", "FilterPanel", "FormLayout", "Icon", "Image", "Input", "Lightbox", "Link", "LoadMore", "LogoItem", "MultiSelect", "NavMenu", "Notice", "Pagination", "Popover", "Price", "ProductCard", "QuantityStepper", "Radio", "RadioGroup", "RangeSlider", "Rating", "SearchBar", "SearchModal", "Section", "Select", "SiteForm", "Skeleton", "Spinner", "StepIndicator", "StockBadge", "Switch", "Tab", "TabPanel", "TablerIcon", "Tabs", "Textarea", "Toast", "Toaster", "Tooltip", "UnitInput", "VariantPicker", "VisuallyHidden"];
|
|
19
19
|
export type ComponentName = (typeof componentNames)[number];
|
|
@@ -101,9 +101,11 @@ declare const __VLS_base: import('vue').DefineComponent<AutocompleteProps, {
|
|
|
101
101
|
newBadge: string;
|
|
102
102
|
quickAddLabel: string;
|
|
103
103
|
quickAdd: (title: string) => string;
|
|
104
|
+
notSoldInCurrency: (currency: string) => string;
|
|
104
105
|
loadingProduct: string;
|
|
105
106
|
swatchesAvailable: (n: number) => string;
|
|
106
107
|
noImage: string;
|
|
108
|
+
currencyPickerLabel: string;
|
|
107
109
|
noImageAvailable: string;
|
|
108
110
|
stockistSite: string;
|
|
109
111
|
stockIn: string;
|
|
@@ -82,9 +82,11 @@ declare const __VLS_base: import('vue').DefineComponent<ChipProps, {}, {}, {}, {
|
|
|
82
82
|
newBadge: string;
|
|
83
83
|
quickAddLabel: string;
|
|
84
84
|
quickAdd: (title: string) => string;
|
|
85
|
+
notSoldInCurrency: (currency: string) => string;
|
|
85
86
|
loadingProduct: string;
|
|
86
87
|
swatchesAvailable: (n: number) => string;
|
|
87
88
|
noImage: string;
|
|
89
|
+
currencyPickerLabel: string;
|
|
88
90
|
noImageAvailable: string;
|
|
89
91
|
stockistSite: string;
|
|
90
92
|
stockIn: string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CurrencyPickerProps } from './types.js';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<CurrencyPickerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
"update:modelValue": (code: string) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<CurrencyPickerProps> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((code: string) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
label: string;
|
|
8
|
+
size: "sm" | "md" | "lg";
|
|
9
|
+
modelValue: string;
|
|
10
|
+
classes: Partial<Record<import('./types.js').CurrencyPickerPart, string>>;
|
|
11
|
+
placement: "auto" | "above";
|
|
12
|
+
busy: boolean;
|
|
13
|
+
locale: string;
|
|
14
|
+
showLabel: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SelectPart } from '../select/types.js';
|
|
2
|
+
export type CurrencyPickerPart = 'root' | SelectPart;
|
|
3
|
+
export interface CurrencyPickerProps {
|
|
4
|
+
/** ISO 4217 codes to offer, the store's own first. With fewer than two the picker renders nothing. */
|
|
5
|
+
currencies: readonly string[];
|
|
6
|
+
/** The chosen code (`v-model`). */
|
|
7
|
+
modelValue?: string;
|
|
8
|
+
/** Defaults to the `currencyPickerLabel` message ("Currency"). */
|
|
9
|
+
label?: string;
|
|
10
|
+
/** Shows the label; hidden by default, where the picker sits in a header. */
|
|
11
|
+
showLabel?: boolean;
|
|
12
|
+
/** `Select`'s own `size`. Defaults to `sm`. */
|
|
13
|
+
size?: 'sm' | 'md' | 'lg';
|
|
14
|
+
/** `Select`'s own `placement`. */
|
|
15
|
+
placement?: 'auto' | 'above';
|
|
16
|
+
/** A change is on its way (the cart is moving): the picker says so and still takes a newer choice. */
|
|
17
|
+
busy?: boolean;
|
|
18
|
+
/** The language the currency names are written in. Defaults to `useEldraUiLocale()`. */
|
|
19
|
+
locale?: string;
|
|
20
|
+
classes?: Partial<Record<CurrencyPickerPart, string>>;
|
|
21
|
+
}
|
|
@@ -83,9 +83,11 @@ declare const __VLS_base: import('vue').DefineComponent<DialogProps, {
|
|
|
83
83
|
newBadge: string;
|
|
84
84
|
quickAddLabel: string;
|
|
85
85
|
quickAdd: (title: string) => string;
|
|
86
|
+
notSoldInCurrency: (currency: string) => string;
|
|
86
87
|
loadingProduct: string;
|
|
87
88
|
swatchesAvailable: (n: number) => string;
|
|
88
89
|
noImage: string;
|
|
90
|
+
currencyPickerLabel: string;
|
|
89
91
|
noImageAvailable: string;
|
|
90
92
|
stockistSite: string;
|
|
91
93
|
stockIn: string;
|
|
@@ -84,9 +84,11 @@ declare const __VLS_base: import('vue').DefineComponent<DrawerProps, {
|
|
|
84
84
|
newBadge: string;
|
|
85
85
|
quickAddLabel: string;
|
|
86
86
|
quickAdd: (title: string) => string;
|
|
87
|
+
notSoldInCurrency: (currency: string) => string;
|
|
87
88
|
loadingProduct: string;
|
|
88
89
|
swatchesAvailable: (n: number) => string;
|
|
89
90
|
noImage: string;
|
|
91
|
+
currencyPickerLabel: string;
|
|
90
92
|
noImageAvailable: string;
|
|
91
93
|
stockistSite: string;
|
|
92
94
|
stockIn: string;
|
|
@@ -95,9 +95,11 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
95
95
|
newBadge: string;
|
|
96
96
|
quickAddLabel: string;
|
|
97
97
|
quickAdd: (title: string) => string;
|
|
98
|
+
notSoldInCurrency: (currency: string) => string;
|
|
98
99
|
loadingProduct: string;
|
|
99
100
|
swatchesAvailable: (n: number) => string;
|
|
100
101
|
noImage: string;
|
|
102
|
+
currencyPickerLabel: string;
|
|
101
103
|
noImageAvailable: string;
|
|
102
104
|
stockistSite: string;
|
|
103
105
|
stockIn: string;
|
|
@@ -114,9 +114,11 @@ declare const __VLS_base: import('vue').DefineComponent<FilterPanelProps, {
|
|
|
114
114
|
newBadge: string;
|
|
115
115
|
quickAddLabel: string;
|
|
116
116
|
quickAdd: (title: string) => string;
|
|
117
|
+
notSoldInCurrency: (currency: string) => string;
|
|
117
118
|
loadingProduct: string;
|
|
118
119
|
swatchesAvailable: (n: number) => string;
|
|
119
120
|
noImage: string;
|
|
121
|
+
currencyPickerLabel: string;
|
|
120
122
|
noImageAvailable: string;
|
|
121
123
|
stockistSite: string;
|
|
122
124
|
stockIn: string;
|
|
@@ -64,9 +64,11 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
64
64
|
newBadge: string;
|
|
65
65
|
quickAddLabel: string;
|
|
66
66
|
quickAdd: (title: string) => string;
|
|
67
|
+
notSoldInCurrency: (currency: string) => string;
|
|
67
68
|
loadingProduct: string;
|
|
68
69
|
swatchesAvailable: (n: number) => string;
|
|
69
70
|
noImage: string;
|
|
71
|
+
currencyPickerLabel: string;
|
|
70
72
|
noImageAvailable: string;
|
|
71
73
|
stockistSite: string;
|
|
72
74
|
stockIn: string;
|
|
@@ -64,9 +64,11 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
64
64
|
newBadge: string;
|
|
65
65
|
quickAddLabel: string;
|
|
66
66
|
quickAdd: (title: string) => string;
|
|
67
|
+
notSoldInCurrency: (currency: string) => string;
|
|
67
68
|
loadingProduct: string;
|
|
68
69
|
swatchesAvailable: (n: number) => string;
|
|
69
70
|
noImage: string;
|
|
71
|
+
currencyPickerLabel: string;
|
|
70
72
|
noImageAvailable: string;
|
|
71
73
|
stockistSite: string;
|
|
72
74
|
stockIn: string;
|
|
@@ -70,9 +70,11 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
70
70
|
newBadge: string;
|
|
71
71
|
quickAddLabel: string;
|
|
72
72
|
quickAdd: (title: string) => string;
|
|
73
|
+
notSoldInCurrency: (currency: string) => string;
|
|
73
74
|
loadingProduct: string;
|
|
74
75
|
swatchesAvailable: (n: number) => string;
|
|
75
76
|
noImage: string;
|
|
77
|
+
currencyPickerLabel: string;
|
|
76
78
|
noImageAvailable: string;
|
|
77
79
|
stockistSite: string;
|
|
78
80
|
stockIn: string;
|
|
@@ -64,9 +64,11 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
64
64
|
newBadge: string;
|
|
65
65
|
quickAddLabel: string;
|
|
66
66
|
quickAdd: (title: string) => string;
|
|
67
|
+
notSoldInCurrency: (currency: string) => string;
|
|
67
68
|
loadingProduct: string;
|
|
68
69
|
swatchesAvailable: (n: number) => string;
|
|
69
70
|
noImage: string;
|
|
71
|
+
currencyPickerLabel: string;
|
|
70
72
|
noImageAvailable: string;
|
|
71
73
|
stockistSite: string;
|
|
72
74
|
stockIn: string;
|
|
@@ -64,9 +64,11 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
64
64
|
newBadge: string;
|
|
65
65
|
quickAddLabel: string;
|
|
66
66
|
quickAdd: (title: string) => string;
|
|
67
|
+
notSoldInCurrency: (currency: string) => string;
|
|
67
68
|
loadingProduct: string;
|
|
68
69
|
swatchesAvailable: (n: number) => string;
|
|
69
70
|
noImage: string;
|
|
71
|
+
currencyPickerLabel: string;
|
|
70
72
|
noImageAvailable: string;
|
|
71
73
|
stockistSite: string;
|
|
72
74
|
stockIn: string;
|
|
@@ -71,9 +71,11 @@ declare const __VLS_export: import('vue').DefineComponent<LightboxProps, {
|
|
|
71
71
|
newBadge: string;
|
|
72
72
|
quickAddLabel: string;
|
|
73
73
|
quickAdd: (title: string) => string;
|
|
74
|
+
notSoldInCurrency: (currency: string) => string;
|
|
74
75
|
loadingProduct: string;
|
|
75
76
|
swatchesAvailable: (n: number) => string;
|
|
76
77
|
noImage: string;
|
|
78
|
+
currencyPickerLabel: string;
|
|
77
79
|
noImageAvailable: string;
|
|
78
80
|
stockistSite: string;
|
|
79
81
|
stockIn: string;
|
|
@@ -100,9 +100,11 @@ declare const __VLS_base: import('vue').DefineComponent<NavMenuProps, {
|
|
|
100
100
|
newBadge: string;
|
|
101
101
|
quickAddLabel: string;
|
|
102
102
|
quickAdd: (title: string) => string;
|
|
103
|
+
notSoldInCurrency: (currency: string) => string;
|
|
103
104
|
loadingProduct: string;
|
|
104
105
|
swatchesAvailable: (n: number) => string;
|
|
105
106
|
noImage: string;
|
|
107
|
+
currencyPickerLabel: string;
|
|
106
108
|
noImageAvailable: string;
|
|
107
109
|
stockistSite: string;
|
|
108
110
|
stockIn: string;
|
|
@@ -65,9 +65,11 @@ declare const __VLS_export: import('vue').DefineComponent<PaginationProps, {}, {
|
|
|
65
65
|
newBadge: string;
|
|
66
66
|
quickAddLabel: string;
|
|
67
67
|
quickAdd: (title: string) => string;
|
|
68
|
+
notSoldInCurrency: (currency: string) => string;
|
|
68
69
|
loadingProduct: string;
|
|
69
70
|
swatchesAvailable: (n: number) => string;
|
|
70
71
|
noImage: string;
|
|
72
|
+
currencyPickerLabel: string;
|
|
71
73
|
noImageAvailable: string;
|
|
72
74
|
stockistSite: string;
|
|
73
75
|
stockIn: string;
|
|
@@ -40,7 +40,7 @@ declare const __VLS_base: import('vue').DefineComponent<PopoverProps, {
|
|
|
40
40
|
ariaLabel: string;
|
|
41
41
|
closeOnEscape: boolean;
|
|
42
42
|
viewportPadding: number;
|
|
43
|
-
haspopup: "dialog" | "menu" | "true" | "listbox" | "
|
|
43
|
+
haspopup: "dialog" | "menu" | "true" | "listbox" | "tree" | "grid";
|
|
44
44
|
labelledByTrigger: boolean;
|
|
45
45
|
openOnArrowDown: boolean;
|
|
46
46
|
focusOnOpen: boolean;
|
|
@@ -62,10 +62,12 @@ export interface ProductCardProduct {
|
|
|
62
62
|
* media at 60% opacity, an outline "Sold out" badge, and quick add replaced by a disabled
|
|
63
63
|
* "Sold out" button. Omitted/`true` is the ordinary available state. */
|
|
64
64
|
available?: boolean;
|
|
65
|
+
/** A currency code: the product has no price in it. Replaces the price with a line saying so and turns quick add off. */
|
|
66
|
+
notSoldIn?: string | null;
|
|
65
67
|
}
|
|
66
68
|
/** The parts a consumer can restyle through `classes`, named as the spec's anatomy names them,
|
|
67
69
|
* plus `stockLine` for the addition beyond it (see `ProductCardProduct.stock`). */
|
|
68
|
-
export type ProductCardPart = 'media' | 'badges' | 'body' | 'vendor' | 'title' | 'link' | 'price' | 'rating' | 'stockLine' | 'swatches' | 'swatch' | 'swatchOverflow' | 'quickAdd' | 'skeleton';
|
|
70
|
+
export type ProductCardPart = 'media' | 'badges' | 'body' | 'vendor' | 'title' | 'link' | 'price' | 'notSold' | 'rating' | 'stockLine' | 'swatches' | 'swatch' | 'swatchOverflow' | 'quickAdd' | 'skeleton';
|
|
69
71
|
export interface ProductCardProps {
|
|
70
72
|
/** The product. See `ProductCardProduct`. */
|
|
71
73
|
product: ProductCardProduct;
|
|
@@ -88,9 +88,11 @@ declare const __VLS_base: import('vue').DefineComponent<RangeSliderProps, {}, {}
|
|
|
88
88
|
newBadge: string;
|
|
89
89
|
quickAddLabel: string;
|
|
90
90
|
quickAdd: (title: string) => string;
|
|
91
|
+
notSoldInCurrency: (currency: string) => string;
|
|
91
92
|
loadingProduct: string;
|
|
92
93
|
swatchesAvailable: (n: number) => string;
|
|
93
94
|
noImage: string;
|
|
95
|
+
currencyPickerLabel: string;
|
|
94
96
|
noImageAvailable: string;
|
|
95
97
|
stockistSite: string;
|
|
96
98
|
stockIn: string;
|
|
@@ -89,9 +89,11 @@ declare const __VLS_base: import('vue').DefineComponent<SearchBarProps, {}, {},
|
|
|
89
89
|
newBadge: string;
|
|
90
90
|
quickAddLabel: string;
|
|
91
91
|
quickAdd: (title: string) => string;
|
|
92
|
+
notSoldInCurrency: (currency: string) => string;
|
|
92
93
|
loadingProduct: string;
|
|
93
94
|
swatchesAvailable: (n: number) => string;
|
|
94
95
|
noImage: string;
|
|
96
|
+
currencyPickerLabel: string;
|
|
95
97
|
noImageAvailable: string;
|
|
96
98
|
stockistSite: string;
|
|
97
99
|
stockIn: string;
|
|
@@ -94,9 +94,11 @@ declare const __VLS_base: import('vue').DefineComponent<SearchModalProps, {
|
|
|
94
94
|
newBadge: string;
|
|
95
95
|
quickAddLabel: string;
|
|
96
96
|
quickAdd: (title: string) => string;
|
|
97
|
+
notSoldInCurrency: (currency: string) => string;
|
|
97
98
|
loadingProduct: string;
|
|
98
99
|
swatchesAvailable: (n: number) => string;
|
|
99
100
|
noImage: string;
|
|
101
|
+
currencyPickerLabel: string;
|
|
100
102
|
noImageAvailable: string;
|
|
101
103
|
stockistSite: string;
|
|
102
104
|
stockIn: string;
|
|
@@ -200,8 +202,8 @@ declare const __VLS_base: import('vue').DefineComponent<SearchModalProps, {
|
|
|
200
202
|
phoneInvalidNumber: string;
|
|
201
203
|
}>;
|
|
202
204
|
ariaLabel: string;
|
|
203
|
-
action: string;
|
|
204
205
|
query: string;
|
|
206
|
+
action: string;
|
|
205
207
|
recent: string[];
|
|
206
208
|
popular: string[];
|
|
207
209
|
showRecent: boolean;
|
|
@@ -9,8 +9,8 @@ declare const __VLS_base: import('vue').DefineComponent<SectionProps, {}, {}, {}
|
|
|
9
9
|
spacing: SectionSpacing;
|
|
10
10
|
as: string;
|
|
11
11
|
ariaLabel: string | null;
|
|
12
|
-
background: SectionBackground;
|
|
13
12
|
labelledBy: string | null;
|
|
13
|
+
background: SectionBackground;
|
|
14
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
@@ -154,9 +154,11 @@ declare const __VLS_base: import('vue').DefineComponent<MultiSelectProps, {}, {}
|
|
|
154
154
|
newBadge: string;
|
|
155
155
|
quickAddLabel: string;
|
|
156
156
|
quickAdd: (title: string) => string;
|
|
157
|
+
notSoldInCurrency: (currency: string) => string;
|
|
157
158
|
loadingProduct: string;
|
|
158
159
|
swatchesAvailable: (n: number) => string;
|
|
159
160
|
noImage: string;
|
|
161
|
+
currencyPickerLabel: string;
|
|
160
162
|
noImageAvailable: string;
|
|
161
163
|
stockistSite: string;
|
|
162
164
|
stockIn: string;
|
|
@@ -125,9 +125,11 @@ declare const __VLS_base: import('vue').DefineComponent<SelectProps, {}, {}, {},
|
|
|
125
125
|
newBadge: string;
|
|
126
126
|
quickAddLabel: string;
|
|
127
127
|
quickAdd: (title: string) => string;
|
|
128
|
+
notSoldInCurrency: (currency: string) => string;
|
|
128
129
|
loadingProduct: string;
|
|
129
130
|
swatchesAvailable: (n: number) => string;
|
|
130
131
|
noImage: string;
|
|
132
|
+
currencyPickerLabel: string;
|
|
131
133
|
noImageAvailable: string;
|
|
132
134
|
stockistSite: string;
|
|
133
135
|
stockIn: string;
|
|
@@ -82,9 +82,11 @@ declare const __VLS_base: import('vue').DefineComponent<SiteFormProps, {}, {}, {
|
|
|
82
82
|
newBadge: string;
|
|
83
83
|
quickAddLabel: string;
|
|
84
84
|
quickAdd: (title: string) => string;
|
|
85
|
+
notSoldInCurrency: (currency: string) => string;
|
|
85
86
|
loadingProduct: string;
|
|
86
87
|
swatchesAvailable: (n: number) => string;
|
|
87
88
|
noImage: string;
|
|
89
|
+
currencyPickerLabel: string;
|
|
88
90
|
noImageAvailable: string;
|
|
89
91
|
stockistSite: string;
|
|
90
92
|
stockIn: string;
|
|
@@ -67,9 +67,11 @@ declare const __VLS_export: import('vue').DefineComponent<ToastProps, {}, {}, {}
|
|
|
67
67
|
newBadge: string;
|
|
68
68
|
quickAddLabel: string;
|
|
69
69
|
quickAdd: (title: string) => string;
|
|
70
|
+
notSoldInCurrency: (currency: string) => string;
|
|
70
71
|
loadingProduct: string;
|
|
71
72
|
swatchesAvailable: (n: number) => string;
|
|
72
73
|
noImage: string;
|
|
74
|
+
currencyPickerLabel: string;
|
|
73
75
|
noImageAvailable: string;
|
|
74
76
|
stockistSite: string;
|
|
75
77
|
stockIn: string;
|
|
@@ -67,9 +67,11 @@ declare const __VLS_export: import('vue').DefineComponent<ToasterProps, {}, {},
|
|
|
67
67
|
newBadge: string;
|
|
68
68
|
quickAddLabel: string;
|
|
69
69
|
quickAdd: (title: string) => string;
|
|
70
|
+
notSoldInCurrency: (currency: string) => string;
|
|
70
71
|
loadingProduct: string;
|
|
71
72
|
swatchesAvailable: (n: number) => string;
|
|
72
73
|
noImage: string;
|
|
74
|
+
currencyPickerLabel: string;
|
|
73
75
|
noImageAvailable: string;
|
|
74
76
|
stockistSite: string;
|
|
75
77
|
stockIn: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export { default as ChipGroup } from './components/chip/ChipGroup.vue.js';
|
|
|
15
15
|
export { default as Container } from './components/container/Container.vue.js';
|
|
16
16
|
export { default as ContentCard } from './components/card/ContentCard.vue.js';
|
|
17
17
|
export { default as CurrencyInput } from './components/currency-input/CurrencyInput.vue.js';
|
|
18
|
+
export { default as CurrencyPicker } from './components/currency-picker/CurrencyPicker.vue.js';
|
|
18
19
|
export { default as Dialog } from './components/dialog/Dialog.vue.js';
|
|
19
20
|
export { default as Drawer } from './components/drawer/Drawer.vue.js';
|
|
20
21
|
export { default as EditorPlaceholder } from './components/empty-state/EditorPlaceholder.vue.js';
|
|
@@ -76,6 +77,7 @@ export type { ChipGroupPart, ChipGroupProps, ChipPart, ChipProps, ChipSize, } fr
|
|
|
76
77
|
export type { ContainerProps, ContainerWidth } from './components/container/types.js';
|
|
77
78
|
export type { ContentCardPart, ContentCardProps, ContentCardRatio, ContentCardVariant, FeatureCardPart, FeatureCardProps, FeatureCardVariant, } from './components/card/types.js';
|
|
78
79
|
export type { CurrencyInputPart, CurrencyInputProps } from './components/currency-input/types.js';
|
|
80
|
+
export type { CurrencyPickerPart, CurrencyPickerProps } from './components/currency-picker/types.js';
|
|
79
81
|
export type { DialogPart, DialogProps, DialogSize } from './components/dialog/types.js';
|
|
80
82
|
export type { DrawerPart, DrawerProps, DrawerSide } from './components/drawer/types.js';
|
|
81
83
|
export type { EditorPlaceholderPart, EditorPlaceholderProps, EmptyStatePart, EmptyStateProps, EmptyStateVariant, } from './components/empty-state/types.js';
|
|
@@ -146,7 +148,7 @@ export { TABS_KEY, type TabsContext, type TabsEntry } from './components/tabs/co
|
|
|
146
148
|
export { mixToward } from './utils/color.js';
|
|
147
149
|
export { joinIds, useUiId } from './utils/id.js';
|
|
148
150
|
export { applyMask, defaultCharacterMeaning, stripMask } from './utils/mask.js';
|
|
149
|
-
export { createNumberFormat, currencyFractionDigits, currencySymbol, defaultUnitFormat, formatCurrency, formatNumber, formatUnit, localeSeparators, parseLocaleNumber, type NumberFormatOptions, type UnitFormatOptions, } from './utils/number-format.js';
|
|
151
|
+
export { createNumberFormat, currencyFractionDigits, currencySymbol, defaultUnitFormat, formatCurrency, formatNumber, formatUnit, localeSeparators, parseLocaleNumber, toMinorUnits, type NumberFormatOptions, type UnitFormatOptions, } from './utils/number-format.js';
|
|
150
152
|
export { filterNumericBeforeInput, type NumericInputFilterOptions } from './utils/numeric-input.js';
|
|
151
153
|
export { frameAspectRatio } from './utils/ratio.js';
|
|
152
154
|
export { zoomSizes } from './utils/sizes.js';
|