@eldrajs/ui 0.3.7 → 0.3.8
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 +4 -0
- package/LICENSE-country-flag-icons +25 -0
- package/README.md +230 -66
- package/dist/PhoneInput-CYGpERg4.js +749 -0
- package/dist/{VariantPicker-Cr_AkX47.js → VariantPicker-D_Gg80So.js} +88 -2302
- package/dist/components/chip/Chip.vue.d.ts +8 -0
- package/dist/components/dialog/Dialog.vue.d.ts +8 -0
- package/dist/components/drawer/Drawer.vue.d.ts +8 -0
- package/dist/components/filter-panel/FilterGroup.vue.d.ts +8 -0
- package/dist/components/filter-panel/FilterPanel.vue.d.ts +8 -0
- package/dist/components/filter-panel/facets/ColourFacet.vue.d.ts +8 -0
- package/dist/components/filter-panel/facets/ListFacet.vue.d.ts +8 -0
- package/dist/components/filter-panel/facets/RangeFacet.vue.d.ts +8 -0
- package/dist/components/filter-panel/facets/SizeFacet.vue.d.ts +8 -0
- package/dist/components/filter-panel/facets/ToggleFacet.vue.d.ts +8 -0
- package/dist/components/lightbox/Lightbox.vue.d.ts +8 -0
- package/dist/components/nav-menu/NavMenu.vue.d.ts +8 -0
- package/dist/components/pagination/Pagination.vue.d.ts +8 -0
- package/dist/components/range-slider/RangeSlider.vue.d.ts +8 -0
- package/dist/components/search-bar/SearchBar.vue.d.ts +8 -0
- package/dist/components/search-modal/SearchModal.vue.d.ts +8 -0
- package/dist/components/select/MultiSelect.vue.d.ts +8 -0
- package/dist/components/select/Select.vue.d.ts +8 -0
- package/dist/components/site-form/SiteForm.vue.d.ts +8 -0
- package/dist/components/toast/Toast.vue.d.ts +8 -0
- package/dist/components/toast/Toaster.vue.d.ts +8 -0
- package/dist/components.css +64 -0
- package/dist/index.js +3 -2
- package/dist/messages/en-US.d.ts +19 -0
- package/dist/messages/is-IS.js +9 -1
- package/dist/phone/PhoneFlag.vue.d.ts +6 -0
- package/dist/phone/PhoneInput.vue.d.ts +220 -0
- package/dist/phone/caret.d.ts +14 -0
- package/dist/phone/examples.d.ts +2 -0
- package/dist/phone/flags.d.ts +8 -0
- package/dist/phone/index.d.ts +13 -0
- package/dist/phone/phone.d.ts +62 -0
- package/dist/phone/phoneFlagData.d.ts +2 -0
- package/dist/phone/rule.d.ts +22 -0
- package/dist/phone/types.d.ts +63 -0
- package/dist/phone/vee-validate/FieldPhoneInput.vue.d.ts +24 -0
- package/dist/phone/vee-validate/index.d.ts +3 -0
- package/dist/phone/vee-validate/types.d.ts +3 -0
- package/dist/phone/vee-validate.js +96 -0
- package/dist/phone.js +1 -0
- package/dist/phoneFlagData-D9dDT2uC.js +261 -0
- package/dist/resolver.d.ts +9 -2
- package/dist/resolver.js +15 -4
- package/dist/style.css +64 -0
- package/dist/useFieldControl-D_b9SC9s.js +273 -0
- package/dist/{useMessages-DOHGfip_.js → useMessages-DQQPh1P_.js} +20 -1
- package/dist/usePopover-4CQR2hB5.js +2228 -0
- package/dist/utilities.css +37 -0
- package/dist/vee-validate.js +6 -273
- package/dist/vue-i18n.js +4 -1
- package/package.json +19 -2
|
@@ -175,6 +175,14 @@ declare const __VLS_base: import('vue').DefineComponent<ChipProps, {}, {}, {}, {
|
|
|
175
175
|
formPendingMessage: string;
|
|
176
176
|
stepCompleted: string;
|
|
177
177
|
stepNotStarted: string;
|
|
178
|
+
phoneCountry: (name: string, code: string) => string;
|
|
179
|
+
phoneCountryList: string;
|
|
180
|
+
phoneSearch: string;
|
|
181
|
+
phoneSuggested: string;
|
|
182
|
+
phoneAllCountries: string;
|
|
183
|
+
phoneNoMatch: (query: string) => string;
|
|
184
|
+
phoneInvalid: (country: string) => string;
|
|
185
|
+
phoneInvalidNumber: string;
|
|
178
186
|
}>;
|
|
179
187
|
avatar: string | import('../../index.js').ImageMedia | null;
|
|
180
188
|
removable: boolean;
|
|
@@ -175,6 +175,14 @@ declare const __VLS_base: import('vue').DefineComponent<DialogProps, {
|
|
|
175
175
|
formPendingMessage: string;
|
|
176
176
|
stepCompleted: string;
|
|
177
177
|
stepNotStarted: string;
|
|
178
|
+
phoneCountry: (name: string, code: string) => string;
|
|
179
|
+
phoneCountryList: string;
|
|
180
|
+
phoneSearch: string;
|
|
181
|
+
phoneSuggested: string;
|
|
182
|
+
phoneAllCountries: string;
|
|
183
|
+
phoneNoMatch: (query: string) => string;
|
|
184
|
+
phoneInvalid: (country: string) => string;
|
|
185
|
+
phoneInvalidNumber: string;
|
|
178
186
|
}>;
|
|
179
187
|
description: string;
|
|
180
188
|
dismissable: boolean;
|
|
@@ -177,6 +177,14 @@ declare const __VLS_base: import('vue').DefineComponent<DrawerProps, {
|
|
|
177
177
|
formPendingMessage: string;
|
|
178
178
|
stepCompleted: string;
|
|
179
179
|
stepNotStarted: string;
|
|
180
|
+
phoneCountry: (name: string, code: string) => string;
|
|
181
|
+
phoneCountryList: string;
|
|
182
|
+
phoneSearch: string;
|
|
183
|
+
phoneSuggested: string;
|
|
184
|
+
phoneAllCountries: string;
|
|
185
|
+
phoneNoMatch: (query: string) => string;
|
|
186
|
+
phoneInvalid: (country: string) => string;
|
|
187
|
+
phoneInvalidNumber: string;
|
|
180
188
|
}>;
|
|
181
189
|
width: string;
|
|
182
190
|
side: import('./types.js').DrawerSide;
|
|
@@ -187,6 +187,14 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
187
187
|
formPendingMessage: string;
|
|
188
188
|
stepCompleted: string;
|
|
189
189
|
stepNotStarted: string;
|
|
190
|
+
phoneCountry: (name: string, code: string) => string;
|
|
191
|
+
phoneCountryList: string;
|
|
192
|
+
phoneSearch: string;
|
|
193
|
+
phoneSuggested: string;
|
|
194
|
+
phoneAllCountries: string;
|
|
195
|
+
phoneNoMatch: (query: string) => string;
|
|
196
|
+
phoneInvalid: (country: string) => string;
|
|
197
|
+
phoneInvalidNumber: string;
|
|
190
198
|
}>;
|
|
191
199
|
topRule: boolean;
|
|
192
200
|
escCollapses: boolean;
|
|
@@ -208,6 +208,14 @@ declare const __VLS_base: import('vue').DefineComponent<FilterPanelProps, {
|
|
|
208
208
|
formPendingMessage: string;
|
|
209
209
|
stepCompleted: string;
|
|
210
210
|
stepNotStarted: string;
|
|
211
|
+
phoneCountry: (name: string, code: string) => string;
|
|
212
|
+
phoneCountryList: string;
|
|
213
|
+
phoneSearch: string;
|
|
214
|
+
phoneSuggested: string;
|
|
215
|
+
phoneAllCountries: string;
|
|
216
|
+
phoneNoMatch: (query: string) => string;
|
|
217
|
+
phoneInvalid: (country: string) => string;
|
|
218
|
+
phoneInvalidNumber: string;
|
|
211
219
|
}>;
|
|
212
220
|
currency: string;
|
|
213
221
|
idPrefix: string;
|
|
@@ -156,6 +156,14 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
156
156
|
formPendingMessage: string;
|
|
157
157
|
stepCompleted: string;
|
|
158
158
|
stepNotStarted: string;
|
|
159
|
+
phoneCountry: (name: string, code: string) => string;
|
|
160
|
+
phoneCountryList: string;
|
|
161
|
+
phoneSearch: string;
|
|
162
|
+
phoneSuggested: string;
|
|
163
|
+
phoneAllCountries: string;
|
|
164
|
+
phoneNoMatch: (query: string) => string;
|
|
165
|
+
phoneInvalid: (country: string) => string;
|
|
166
|
+
phoneInvalidNumber: string;
|
|
159
167
|
}>;
|
|
160
168
|
dense: boolean;
|
|
161
169
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -156,6 +156,14 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
156
156
|
formPendingMessage: string;
|
|
157
157
|
stepCompleted: string;
|
|
158
158
|
stepNotStarted: string;
|
|
159
|
+
phoneCountry: (name: string, code: string) => string;
|
|
160
|
+
phoneCountryList: string;
|
|
161
|
+
phoneSearch: string;
|
|
162
|
+
phoneSuggested: string;
|
|
163
|
+
phoneAllCountries: string;
|
|
164
|
+
phoneNoMatch: (query: string) => string;
|
|
165
|
+
phoneInvalid: (country: string) => string;
|
|
166
|
+
phoneInvalidNumber: string;
|
|
159
167
|
}>;
|
|
160
168
|
dense: boolean;
|
|
161
169
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -163,6 +163,14 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
163
163
|
formPendingMessage: string;
|
|
164
164
|
stepCompleted: string;
|
|
165
165
|
stepNotStarted: string;
|
|
166
|
+
phoneCountry: (name: string, code: string) => string;
|
|
167
|
+
phoneCountryList: string;
|
|
168
|
+
phoneSearch: string;
|
|
169
|
+
phoneSuggested: string;
|
|
170
|
+
phoneAllCountries: string;
|
|
171
|
+
phoneNoMatch: (query: string) => string;
|
|
172
|
+
phoneInvalid: (country: string) => string;
|
|
173
|
+
phoneInvalidNumber: string;
|
|
166
174
|
}>;
|
|
167
175
|
currency: string;
|
|
168
176
|
dense: boolean;
|
|
@@ -156,6 +156,14 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
156
156
|
formPendingMessage: string;
|
|
157
157
|
stepCompleted: string;
|
|
158
158
|
stepNotStarted: string;
|
|
159
|
+
phoneCountry: (name: string, code: string) => string;
|
|
160
|
+
phoneCountryList: string;
|
|
161
|
+
phoneSearch: string;
|
|
162
|
+
phoneSuggested: string;
|
|
163
|
+
phoneAllCountries: string;
|
|
164
|
+
phoneNoMatch: (query: string) => string;
|
|
165
|
+
phoneInvalid: (country: string) => string;
|
|
166
|
+
phoneInvalidNumber: string;
|
|
159
167
|
}>;
|
|
160
168
|
dense: boolean;
|
|
161
169
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -156,6 +156,14 @@ declare const __VLS_export: import('vue').DefineComponent<FacetProps, {}, {}, {}
|
|
|
156
156
|
formPendingMessage: string;
|
|
157
157
|
stepCompleted: string;
|
|
158
158
|
stepNotStarted: string;
|
|
159
|
+
phoneCountry: (name: string, code: string) => string;
|
|
160
|
+
phoneCountryList: string;
|
|
161
|
+
phoneSearch: string;
|
|
162
|
+
phoneSuggested: string;
|
|
163
|
+
phoneAllCountries: string;
|
|
164
|
+
phoneNoMatch: (query: string) => string;
|
|
165
|
+
phoneInvalid: (country: string) => string;
|
|
166
|
+
phoneInvalidNumber: string;
|
|
159
167
|
}>;
|
|
160
168
|
dense: boolean;
|
|
161
169
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -163,6 +163,14 @@ declare const __VLS_export: import('vue').DefineComponent<LightboxProps, {
|
|
|
163
163
|
formPendingMessage: string;
|
|
164
164
|
stepCompleted: string;
|
|
165
165
|
stepNotStarted: string;
|
|
166
|
+
phoneCountry: (name: string, code: string) => string;
|
|
167
|
+
phoneCountryList: string;
|
|
168
|
+
phoneSearch: string;
|
|
169
|
+
phoneSuggested: string;
|
|
170
|
+
phoneAllCountries: string;
|
|
171
|
+
phoneNoMatch: (query: string) => string;
|
|
172
|
+
phoneInvalid: (country: string) => string;
|
|
173
|
+
phoneInvalidNumber: string;
|
|
166
174
|
}>;
|
|
167
175
|
thumbnails: boolean;
|
|
168
176
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -195,6 +195,14 @@ declare const __VLS_base: import('vue').DefineComponent<NavMenuProps, {
|
|
|
195
195
|
formPendingMessage: string;
|
|
196
196
|
stepCompleted: string;
|
|
197
197
|
stepNotStarted: string;
|
|
198
|
+
phoneCountry: (name: string, code: string) => string;
|
|
199
|
+
phoneCountryList: string;
|
|
200
|
+
phoneSearch: string;
|
|
201
|
+
phoneSuggested: string;
|
|
202
|
+
phoneAllCountries: string;
|
|
203
|
+
phoneNoMatch: (query: string) => string;
|
|
204
|
+
phoneInvalid: (country: string) => string;
|
|
205
|
+
phoneInvalidNumber: string;
|
|
198
206
|
}>;
|
|
199
207
|
drawerOpen: boolean;
|
|
200
208
|
collapseBelow: NavMenuCollapse;
|
|
@@ -159,6 +159,14 @@ declare const __VLS_export: import('vue').DefineComponent<PaginationProps, {}, {
|
|
|
159
159
|
formPendingMessage: string;
|
|
160
160
|
stepCompleted: string;
|
|
161
161
|
stepNotStarted: string;
|
|
162
|
+
phoneCountry: (name: string, code: string) => string;
|
|
163
|
+
phoneCountryList: string;
|
|
164
|
+
phoneSearch: string;
|
|
165
|
+
phoneSuggested: string;
|
|
166
|
+
phoneAllCountries: string;
|
|
167
|
+
phoneNoMatch: (query: string) => string;
|
|
168
|
+
phoneInvalid: (country: string) => string;
|
|
169
|
+
phoneInvalidNumber: string;
|
|
162
170
|
}>;
|
|
163
171
|
compact: boolean;
|
|
164
172
|
siblings: number;
|
|
@@ -179,6 +179,14 @@ declare const __VLS_base: import('vue').DefineComponent<RangeSliderProps, {}, {}
|
|
|
179
179
|
formPendingMessage: string;
|
|
180
180
|
stepCompleted: string;
|
|
181
181
|
stepNotStarted: string;
|
|
182
|
+
phoneCountry: (name: string, code: string) => string;
|
|
183
|
+
phoneCountryList: string;
|
|
184
|
+
phoneSearch: string;
|
|
185
|
+
phoneSuggested: string;
|
|
186
|
+
phoneAllCountries: string;
|
|
187
|
+
phoneNoMatch: (query: string) => string;
|
|
188
|
+
phoneInvalid: (country: string) => string;
|
|
189
|
+
phoneInvalidNumber: string;
|
|
182
190
|
}>;
|
|
183
191
|
min: number;
|
|
184
192
|
formatValue: (value: number, end?: RangeSliderEnd) => string;
|
|
@@ -181,6 +181,14 @@ declare const __VLS_base: import('vue').DefineComponent<SearchBarProps, {}, {},
|
|
|
181
181
|
formPendingMessage: string;
|
|
182
182
|
stepCompleted: string;
|
|
183
183
|
stepNotStarted: string;
|
|
184
|
+
phoneCountry: (name: string, code: string) => string;
|
|
185
|
+
phoneCountryList: string;
|
|
186
|
+
phoneSearch: string;
|
|
187
|
+
phoneSuggested: string;
|
|
188
|
+
phoneAllCountries: string;
|
|
189
|
+
phoneNoMatch: (query: string) => string;
|
|
190
|
+
phoneInvalid: (country: string) => string;
|
|
191
|
+
phoneInvalidNumber: string;
|
|
184
192
|
}>;
|
|
185
193
|
action: string;
|
|
186
194
|
teleport: string | boolean;
|
|
@@ -187,6 +187,14 @@ declare const __VLS_base: import('vue').DefineComponent<SearchModalProps, {
|
|
|
187
187
|
formPendingMessage: string;
|
|
188
188
|
stepCompleted: string;
|
|
189
189
|
stepNotStarted: string;
|
|
190
|
+
phoneCountry: (name: string, code: string) => string;
|
|
191
|
+
phoneCountryList: string;
|
|
192
|
+
phoneSearch: string;
|
|
193
|
+
phoneSuggested: string;
|
|
194
|
+
phoneAllCountries: string;
|
|
195
|
+
phoneNoMatch: (query: string) => string;
|
|
196
|
+
phoneInvalid: (country: string) => string;
|
|
197
|
+
phoneInvalidNumber: string;
|
|
190
198
|
}>;
|
|
191
199
|
action: string;
|
|
192
200
|
query: string;
|
|
@@ -238,6 +238,14 @@ declare const __VLS_base: import('vue').DefineComponent<MultiSelectProps, {}, {}
|
|
|
238
238
|
formPendingMessage: string;
|
|
239
239
|
stepCompleted: string;
|
|
240
240
|
stepNotStarted: string;
|
|
241
|
+
phoneCountry: (name: string, code: string) => string;
|
|
242
|
+
phoneCountryList: string;
|
|
243
|
+
phoneSearch: string;
|
|
244
|
+
phoneSuggested: string;
|
|
245
|
+
phoneAllCountries: string;
|
|
246
|
+
phoneNoMatch: (query: string) => string;
|
|
247
|
+
phoneInvalid: (country: string) => string;
|
|
248
|
+
phoneInvalidNumber: string;
|
|
241
249
|
}>;
|
|
242
250
|
readonly: boolean;
|
|
243
251
|
searchable: boolean;
|
|
@@ -209,6 +209,14 @@ declare const __VLS_base: import('vue').DefineComponent<SelectProps, {}, {}, {},
|
|
|
209
209
|
formPendingMessage: string;
|
|
210
210
|
stepCompleted: string;
|
|
211
211
|
stepNotStarted: string;
|
|
212
|
+
phoneCountry: (name: string, code: string) => string;
|
|
213
|
+
phoneCountryList: string;
|
|
214
|
+
phoneSearch: string;
|
|
215
|
+
phoneSuggested: string;
|
|
216
|
+
phoneAllCountries: string;
|
|
217
|
+
phoneNoMatch: (query: string) => string;
|
|
218
|
+
phoneInvalid: (country: string) => string;
|
|
219
|
+
phoneInvalidNumber: string;
|
|
212
220
|
}>;
|
|
213
221
|
clearable: boolean;
|
|
214
222
|
readonly: boolean;
|
|
@@ -174,6 +174,14 @@ declare const __VLS_base: import('vue').DefineComponent<SiteFormProps, {}, {}, {
|
|
|
174
174
|
formPendingMessage: string;
|
|
175
175
|
stepCompleted: string;
|
|
176
176
|
stepNotStarted: string;
|
|
177
|
+
phoneCountry: (name: string, code: string) => string;
|
|
178
|
+
phoneCountryList: string;
|
|
179
|
+
phoneSearch: string;
|
|
180
|
+
phoneSuggested: string;
|
|
181
|
+
phoneAllCountries: string;
|
|
182
|
+
phoneNoMatch: (query: string) => string;
|
|
183
|
+
phoneInvalid: (country: string) => string;
|
|
184
|
+
phoneInvalidNumber: string;
|
|
177
185
|
}>;
|
|
178
186
|
layout: import('./types.js').SiteFormLayout;
|
|
179
187
|
heading: string;
|
|
@@ -160,6 +160,14 @@ declare const __VLS_export: import('vue').DefineComponent<ToastProps, {}, {}, {}
|
|
|
160
160
|
formPendingMessage: string;
|
|
161
161
|
stepCompleted: string;
|
|
162
162
|
stepNotStarted: string;
|
|
163
|
+
phoneCountry: (name: string, code: string) => string;
|
|
164
|
+
phoneCountryList: string;
|
|
165
|
+
phoneSearch: string;
|
|
166
|
+
phoneSuggested: string;
|
|
167
|
+
phoneAllCountries: string;
|
|
168
|
+
phoneNoMatch: (query: string) => string;
|
|
169
|
+
phoneInvalid: (country: string) => string;
|
|
170
|
+
phoneInvalidNumber: string;
|
|
163
171
|
}>;
|
|
164
172
|
action: import('./types.js').ToastAction;
|
|
165
173
|
closable: boolean;
|
|
@@ -159,6 +159,14 @@ declare const __VLS_export: import('vue').DefineComponent<ToasterProps, {}, {},
|
|
|
159
159
|
formPendingMessage: string;
|
|
160
160
|
stepCompleted: string;
|
|
161
161
|
stepNotStarted: string;
|
|
162
|
+
phoneCountry: (name: string, code: string) => string;
|
|
163
|
+
phoneCountryList: string;
|
|
164
|
+
phoneSearch: string;
|
|
165
|
+
phoneSuggested: string;
|
|
166
|
+
phoneAllCountries: string;
|
|
167
|
+
phoneNoMatch: (query: string) => string;
|
|
168
|
+
phoneInvalid: (country: string) => string;
|
|
169
|
+
phoneInvalidNumber: string;
|
|
162
170
|
}>;
|
|
163
171
|
teleportTo: string | HTMLElement;
|
|
164
172
|
toasts: ToasterToast[];
|
package/dist/components.css
CHANGED
|
@@ -981,6 +981,10 @@
|
|
|
981
981
|
height: .625rem;
|
|
982
982
|
}
|
|
983
983
|
|
|
984
|
+
.eldra\:h-3\.5 {
|
|
985
|
+
height: .875rem;
|
|
986
|
+
}
|
|
987
|
+
|
|
984
988
|
.eldra\:h-4\.5 {
|
|
985
989
|
height: 1.125rem;
|
|
986
990
|
}
|
|
@@ -1216,6 +1220,10 @@
|
|
|
1216
1220
|
width: 1.125rem;
|
|
1217
1221
|
}
|
|
1218
1222
|
|
|
1223
|
+
.eldra\:w-5 {
|
|
1224
|
+
width: var(--eldra-space-5);
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1219
1227
|
.eldra\:w-6 {
|
|
1220
1228
|
width: var(--eldra-space-6);
|
|
1221
1229
|
}
|
|
@@ -1852,6 +1860,12 @@
|
|
|
1852
1860
|
scroll-behavior: smooth;
|
|
1853
1861
|
}
|
|
1854
1862
|
|
|
1863
|
+
.eldra\:eldra-phone-flag {
|
|
1864
|
+
border-radius: var(--eldra-phone-flag-radius, 2px);
|
|
1865
|
+
box-shadow: 0 0 0 1px var(--eldra-phone-flag-border, var(--eldra-color-border));
|
|
1866
|
+
background-color: var(--eldra-phone-flag-fill, var(--eldra-color-surface-strong));
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1855
1869
|
.eldra\:eldra-link-radius {
|
|
1856
1870
|
border-radius: var(--eldra-link-radius, 2px);
|
|
1857
1871
|
}
|
|
@@ -1924,6 +1938,11 @@
|
|
|
1924
1938
|
border-radius: var(--eldra-radius-xl);
|
|
1925
1939
|
}
|
|
1926
1940
|
|
|
1941
|
+
.eldra\:rounded-s-\[calc\(var\(--eldra-input-radius\,var\(--eldra-radius-md\)\)-var\(--eldra-field-border-width\,1px\)\)\] {
|
|
1942
|
+
border-start-start-radius: calc(var(--eldra-input-radius, var(--eldra-radius-md)) - var(--eldra-field-border-width, 1px));
|
|
1943
|
+
border-end-start-radius: calc(var(--eldra-input-radius, var(--eldra-radius-md)) - var(--eldra-field-border-width, 1px));
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1927
1946
|
.eldra\:rounded-t-full {
|
|
1928
1947
|
border-top-left-radius: var(--eldra-radius-full);
|
|
1929
1948
|
border-top-right-radius: var(--eldra-radius-full);
|
|
@@ -2015,6 +2034,11 @@
|
|
|
2015
2034
|
border-inline-start-width: 1px;
|
|
2016
2035
|
}
|
|
2017
2036
|
|
|
2037
|
+
.eldra\:border-e {
|
|
2038
|
+
border-inline-end-style: var(--tw-border-style);
|
|
2039
|
+
border-inline-end-width: 1px;
|
|
2040
|
+
}
|
|
2041
|
+
|
|
2018
2042
|
.eldra\:border-t {
|
|
2019
2043
|
border-top-style: var(--tw-border-style);
|
|
2020
2044
|
border-top-width: 1px;
|
|
@@ -2545,6 +2569,10 @@
|
|
|
2545
2569
|
padding-inline-end: var(--eldra-space-1);
|
|
2546
2570
|
}
|
|
2547
2571
|
|
|
2572
|
+
.eldra\:pe-2 {
|
|
2573
|
+
padding-inline-end: var(--eldra-space-2);
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2548
2576
|
.eldra\:pe-2\.5 {
|
|
2549
2577
|
padding-inline-end: .625rem;
|
|
2550
2578
|
}
|
|
@@ -3503,6 +3531,28 @@
|
|
|
3503
3531
|
}
|
|
3504
3532
|
}
|
|
3505
3533
|
|
|
3534
|
+
.eldra\:eldra-focus-has-open:has([aria-expanded="true"]) {
|
|
3535
|
+
--eldra-focus-alpha: 1;
|
|
3536
|
+
}
|
|
3537
|
+
|
|
3538
|
+
@supports not (color: color-mix(in srgb, red, red)) {
|
|
3539
|
+
.eldra\:eldra-focus-has-open:has([aria-expanded="true"]) {
|
|
3540
|
+
--tw-ring-offset-shadow: 0 0 0 var(--eldra-focus-offset) var(--eldra-color-focus-inner),
|
|
3541
|
+
0 0 0 var(--eldra-focus-offset) var(--eldra-color-focus-inner),
|
|
3542
|
+
0 0 0 var(--eldra-focus-offset) var(--eldra-color-focus-inner);
|
|
3543
|
+
--tw-ring-shadow: 0 0 0 calc(var(--eldra-focus-offset) + var(--eldra-focus-width))
|
|
3544
|
+
var(--eldra-color-focus);
|
|
3545
|
+
}
|
|
3546
|
+
}
|
|
3547
|
+
|
|
3548
|
+
@media (forced-colors: active) {
|
|
3549
|
+
.eldra\:eldra-focus-has-open:has([aria-expanded="true"]) {
|
|
3550
|
+
outline-width: var(--eldra-focus-width);
|
|
3551
|
+
outline-offset: var(--eldra-focus-offset);
|
|
3552
|
+
outline-color: highlight;
|
|
3553
|
+
}
|
|
3554
|
+
}
|
|
3555
|
+
|
|
3506
3556
|
.eldra\:eldra-focus-open[aria-expanded="true"] {
|
|
3507
3557
|
--eldra-focus-alpha: 1;
|
|
3508
3558
|
}
|
|
@@ -3917,6 +3967,10 @@
|
|
|
3917
3967
|
display: none;
|
|
3918
3968
|
}
|
|
3919
3969
|
|
|
3970
|
+
.eldra\:focus-within\:border-text:focus-within {
|
|
3971
|
+
border-color: var(--eldra-color-text);
|
|
3972
|
+
}
|
|
3973
|
+
|
|
3920
3974
|
@media (hover: hover) {
|
|
3921
3975
|
.eldra\:hover\:border-danger:hover {
|
|
3922
3976
|
border-color: var(--eldra-color-danger);
|
|
@@ -4081,6 +4135,16 @@
|
|
|
4081
4135
|
outline-style: none;
|
|
4082
4136
|
}
|
|
4083
4137
|
|
|
4138
|
+
.eldra\:focus-visible\:bg-\[color-mix\(in_oklab\,var\(--eldra-color-text\)\,transparent_94\%\)\]:focus-visible {
|
|
4139
|
+
background-color: var(--eldra-color-text);
|
|
4140
|
+
}
|
|
4141
|
+
|
|
4142
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4143
|
+
.eldra\:focus-visible\:bg-\[color-mix\(in_oklab\,var\(--eldra-color-text\)\,transparent_94\%\)\]:focus-visible {
|
|
4144
|
+
background-color: color-mix(in oklab,var(--eldra-color-text),transparent 94%);
|
|
4145
|
+
}
|
|
4146
|
+
}
|
|
4147
|
+
|
|
4084
4148
|
.eldra\:active\:scale-\[0\.98\]:active {
|
|
4085
4149
|
scale: .98;
|
|
4086
4150
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { i as enUS, n as provideEldraUiMessages, r as useMessages, t as MESSAGES_KEY } from "./useMessages-
|
|
1
|
+
import { $ as useEldraScope, A as FIELD_SEARCH_APPEARANCE, B as LOCALE_KEY, C as FIELD_DISABLED, E as FIELD_LIVE, G as FIELD_KEY, H as provideEldraUiLocale, J as ICON_STROKE_WIDTH$6, K as Spinner_default, Q as provideEldraScope, R as CURRENCY_KEY, U as useEldraUiCurrency, V as provideEldraUiCurrency, W as useEldraUiLocale, X as useControllableModel, Y as mergeClass, Z as ELDRA_SCOPE_KEY, a as useFloating, et as joinIds, i as useTeleportTarget, j as FIELD_SIZE, l as normalizeText, n as useOverlay, q as ICON_SIZE_CLASS, r as topLayerDialog, s as matchRange, t as usePopover, tt as useUiId, u as useListbox, v as FIELD_BASE, x as FIELD_CLEAR_BUTTON_BOX, z as DEFAULT_UI_LOCALE } from "./usePopover-4CQR2hB5.js";
|
|
2
|
+
import { i as enUS, n as provideEldraUiMessages, r as useMessages, t as MESSAGES_KEY } from "./useMessages-DQQPh1P_.js";
|
|
3
|
+
import { $ as FORM_SUBMITTING_KEY, A as UnitInput_default, B as useSlotPresence, C as Switch_default, D as defaultCharacterMeaning, E as applyMask, F as formatCurrency, G as CheckboxGroup_default, H as TAG_FILL, I as formatNumber, J as RequiredMark_default, K as Checkbox_default, L as formatUnit, M as currencyFractionDigits, N as currencySymbol, O as stripMask, P as defaultUnitFormat, Q as FORM_LAYOUT_KEY, R as localeSeparators, S as focusInvalid, T as Input_default, U as TAG_SHAPE, V as useHeadingTag, W as tagPadding, X as Button_default, Y as FieldError_default, Z as Icon_default, _ as optionCursor, a as claimShortcut, b as MultiSelect_default, c as SearchResultsPanel_default, d as INPUT, f as PLAIN_BOX_ONLY, g as labelRecipe, h as dotRecipe, i as SearchBar_default, j as createNumberFormat, k as CurrencyInput_default, l as RadioGroup_default, m as PLAIN_OPTION, n as Textarea_default, o as ownsShortcut, p as PLAIN_COLUMNS, q as VisuallyHidden_default, r as Select_default, s as releaseShortcut, t as VariantPicker_default, u as HINT, v as radioRecipe, w as filterNumericBeforeInput, x as FormLayout_default, y as QuantityStepper_default, z as parseLocaleNumber } from "./VariantPicker-D_Gg80So.js";
|
|
3
4
|
import { Comment, Fragment, Teleport, Text, Transition, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, inject, isRef, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, onServerPrefetch, onUnmounted, onUpdated, openBlock, provide, reactive, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toRef, toValue, unref, useAttrs, useId, useSlots, useTemplateRef, vModelText, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
4
5
|
import { dateTimeFormat } from "@eldrajs/sdk/format/date";
|
|
5
6
|
// src/components/accordion/context.ts
|
package/dist/messages/en-US.d.ts
CHANGED
|
@@ -520,6 +520,25 @@ export declare const enUS: {
|
|
|
520
520
|
stepCompleted: string;
|
|
521
521
|
/** `StepIndicator`: the same, for a step after the current one. */
|
|
522
522
|
stepNotStarted: string;
|
|
523
|
+
/**
|
|
524
|
+
* `PhoneInput` (`@eldrajs/ui/phone`): the country button's accessible name, the chosen country
|
|
525
|
+
* and its dialling code ("Country: Iceland, +354").
|
|
526
|
+
*/
|
|
527
|
+
phoneCountry: (name: string, code: string) => string;
|
|
528
|
+
/** `PhoneInput`: the country list's accessible name. */
|
|
529
|
+
phoneCountryList: string;
|
|
530
|
+
/** `PhoneInput`: the search field over the country list, its placeholder and its name. */
|
|
531
|
+
phoneSearch: string;
|
|
532
|
+
/** `PhoneInput`: the heading over the `preferredCountries`. */
|
|
533
|
+
phoneSuggested: string;
|
|
534
|
+
/** `PhoneInput`: the heading over every other country. */
|
|
535
|
+
phoneAllCountries: string;
|
|
536
|
+
/** `PhoneInput`: the country list's empty state while a search is showing. */
|
|
537
|
+
phoneNoMatch: (query: string) => string;
|
|
538
|
+
/** `phoneRule`: the number is not one the chosen country has. `country` is its localised name. */
|
|
539
|
+
phoneInvalid: (country: string) => string;
|
|
540
|
+
/** `phoneRule`: the same, when no country is known for the number. */
|
|
541
|
+
phoneInvalidNumber: string;
|
|
523
542
|
};
|
|
524
543
|
/**
|
|
525
544
|
* Every message a component can emit. A consumer overrides any subset of it,
|
package/dist/messages/is-IS.js
CHANGED
|
@@ -192,6 +192,14 @@ var isIS = {
|
|
|
192
192
|
formPendingTitle: "Kíktu í pósthólfið",
|
|
193
193
|
formPendingMessage: "Við sendum þér tölvupóst. Smelltu á hlekkinn í honum til að staðfesta.",
|
|
194
194
|
stepCompleted: "lokið",
|
|
195
|
-
stepNotStarted: "ekki hafið"
|
|
195
|
+
stepNotStarted: "ekki hafið",
|
|
196
|
+
phoneCountry: (name, code) => `Land: ${name}, ${code}`,
|
|
197
|
+
phoneCountryList: "Land",
|
|
198
|
+
phoneSearch: "Leita að landi eða landsnúmeri",
|
|
199
|
+
phoneSuggested: "Tillögur",
|
|
200
|
+
phoneAllCountries: "Öll lönd",
|
|
201
|
+
phoneNoMatch: (query) => `Ekkert land passar við „${query}“.`,
|
|
202
|
+
phoneInvalid: (country) => `Símanúmerið er ekki gilt í landinu sem er valið: ${country}.`,
|
|
203
|
+
phoneInvalidNumber: "Sláðu inn gilt símanúmer."
|
|
196
204
|
};
|
|
197
205
|
export { isIS as default, isIS };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
country: string;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|