@eldrajs/ui 0.3.6 → 0.3.7
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 +6 -0
- package/README.md +153 -16
- package/dist/{VariantPicker-BB-2Cj32.js → VariantPicker-Cr_AkX47.js} +113 -43
- package/dist/componentNames.d.ts +1 -1
- package/dist/components/badge/StockBadge.vue.d.ts +1 -1
- package/dist/components/chip/Chip.vue.d.ts +2 -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/notice/Notice.vue.d.ts +28 -0
- package/dist/components/notice/types.d.ts +38 -0
- package/dist/components/pagination/Pagination.vue.d.ts +2 -0
- package/dist/components/price/Price.vue.d.ts +1 -1
- package/dist/components/product-card/ProductCard.vue.d.ts +1 -1
- package/dist/components/radio/RadioGroup.vue.d.ts +4 -0
- package/dist/components/radio/recipes.d.ts +4 -2
- package/dist/components/radio/types.d.ts +8 -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 +2 -0
- 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/spinner/Spinner.vue.d.ts +4 -1
- package/dist/components/spinner/types.d.ts +9 -0
- package/dist/components/step-indicator/StepIndicator.vue.d.ts +7 -0
- package/dist/components/step-indicator/types.d.ts +30 -0
- package/dist/components/toast/Toast.vue.d.ts +2 -0
- package/dist/components/toast/Toaster.vue.d.ts +2 -0
- package/dist/components.css +89 -0
- package/dist/icons/paths.d.ts +8 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +620 -302
- package/dist/messages/en-US.d.ts +8 -0
- package/dist/messages/is-IS.js +3 -1
- package/dist/resolver.js +3 -0
- package/dist/style.css +89 -0
- package/dist/{useMessages-B5nzZghs.js → useMessages-DOHGfip_.js} +9 -1
- package/dist/vee-validate/FieldCheckbox.vue.d.ts +5 -1
- package/dist/vee-validate/FieldCheckboxGroup.vue.d.ts +5 -1
- package/dist/vee-validate/FieldCurrencyInput.vue.d.ts +5 -1
- package/dist/vee-validate/FieldInput.vue.d.ts +5 -1
- package/dist/vee-validate/FieldMultiSelect.vue.d.ts +5 -1
- package/dist/vee-validate/FieldQuantityStepper.vue.d.ts +5 -1
- package/dist/vee-validate/FieldRadioGroup.vue.d.ts +5 -1
- package/dist/vee-validate/FieldSearchBar.vue.d.ts +5 -1
- package/dist/vee-validate/FieldSelect.vue.d.ts +5 -1
- package/dist/vee-validate/FieldSwitch.vue.d.ts +5 -1
- package/dist/vee-validate/FieldTextarea.vue.d.ts +5 -1
- package/dist/vee-validate/FieldUnitInput.vue.d.ts +5 -1
- package/dist/vee-validate/FieldVariantPicker.vue.d.ts +5 -1
- package/dist/vee-validate/context.d.ts +32 -7
- package/dist/vee-validate/index.d.ts +8 -5
- package/dist/vee-validate/types.d.ts +26 -0
- package/dist/vee-validate/useFieldControl.d.ts +59 -10
- package/dist/vee-validate.js +258 -74
- package/dist/vue-i18n.js +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { RadioGroupOption, RadioGroupProps, RadioGroupSize } from './types.js';
|
|
2
2
|
declare const __VLS_template: () => {
|
|
3
3
|
__VLS_Slots: {
|
|
4
|
+
leading?: (props: {
|
|
5
|
+
option: RadioGroupOption;
|
|
6
|
+
}) => any;
|
|
7
|
+
} & {
|
|
4
8
|
label?: (props: {
|
|
5
9
|
option: RadioGroupOption;
|
|
6
10
|
}) => any;
|
|
@@ -37,5 +37,7 @@ export declare const INPUT = "eldra:absolute eldra:inset-0 eldra:m-0 eldra:size-
|
|
|
37
37
|
* `text-card-title` utility (see `tailwind.css`) already give those numbers.
|
|
38
38
|
*/
|
|
39
39
|
export declare function labelRecipe(card: boolean, disabled: boolean | undefined): string[];
|
|
40
|
-
/** Spec "Radio group" → Sizes: the hint is `muted` in every layout
|
|
41
|
-
export declare const
|
|
40
|
+
/** Spec "Radio group" → Sizes: the hint is `muted` in every layout. */
|
|
41
|
+
export declare const HINT_TEXT = "eldra:text-body-sm eldra:text-muted eldra:min-w-0";
|
|
42
|
+
/** The hint under the label's column: column 2, after the radio. */
|
|
43
|
+
export declare const HINT = "eldra:text-body-sm eldra:text-muted eldra:min-w-0 eldra:col-start-2";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { IconComponent } from '../icon/types.js';
|
|
1
2
|
/** The parts a consumer can restyle through `classes`, named as the spec's anatomy names them. */
|
|
2
|
-
export type RadioGroupPart = 'legend' | 'requiredMark' | 'options' | 'option' | 'radio' | 'input' | 'dot' | 'label' | 'hint' | 'meta' | 'help' | 'error' | 'errorIcon';
|
|
3
|
+
export type RadioGroupPart = 'legend' | 'requiredMark' | 'options' | 'option' | 'radio' | 'leading' | 'input' | 'dot' | 'label' | 'hint' | 'meta' | 'help' | 'error' | 'errorIcon';
|
|
3
4
|
/** The spec's two radio sizes: 1.125rem or 1.5rem. Plain layouts only — a card's radio is fixed. */
|
|
4
5
|
export type RadioGroupSize = 'md' | 'lg';
|
|
5
6
|
/** `vertical` (default), `row` (wraps, for short labels) or `cards` (the whole option is a card). */
|
|
@@ -14,6 +15,12 @@ export interface RadioGroupOption {
|
|
|
14
15
|
hint?: string;
|
|
15
16
|
/** Cards only: a price or note, end-aligned, tabular numerals ("Free", "$12.00"). */
|
|
16
17
|
meta?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Cards only: a decorative icon between the radio and the title (a truck, a credit card), drawn
|
|
20
|
+
* at 1.25rem and hidden from assistive technology. For a logo or any other image, use the
|
|
21
|
+
* `leading` slot instead.
|
|
22
|
+
*/
|
|
23
|
+
icon?: IconComponent;
|
|
17
24
|
/** Native `disabled` for this option alone. Say why in `hint`. */
|
|
18
25
|
disabled?: boolean;
|
|
19
26
|
/**
|
|
@@ -177,6 +177,8 @@ declare const __VLS_base: import('vue').DefineComponent<RangeSliderProps, {}, {}
|
|
|
177
177
|
formSuccessTitle: string;
|
|
178
178
|
formPendingTitle: string;
|
|
179
179
|
formPendingMessage: string;
|
|
180
|
+
stepCompleted: string;
|
|
181
|
+
stepNotStarted: string;
|
|
180
182
|
}>;
|
|
181
183
|
min: number;
|
|
182
184
|
formatValue: (value: number, end?: RangeSliderEnd) => string;
|
|
@@ -179,6 +179,8 @@ declare const __VLS_base: import('vue').DefineComponent<SearchBarProps, {}, {},
|
|
|
179
179
|
formSuccessTitle: string;
|
|
180
180
|
formPendingTitle: string;
|
|
181
181
|
formPendingMessage: string;
|
|
182
|
+
stepCompleted: string;
|
|
183
|
+
stepNotStarted: string;
|
|
182
184
|
}>;
|
|
183
185
|
action: string;
|
|
184
186
|
teleport: string | boolean;
|
|
@@ -185,6 +185,8 @@ declare const __VLS_base: import('vue').DefineComponent<SearchModalProps, {
|
|
|
185
185
|
formSuccessTitle: string;
|
|
186
186
|
formPendingTitle: string;
|
|
187
187
|
formPendingMessage: string;
|
|
188
|
+
stepCompleted: string;
|
|
189
|
+
stepNotStarted: string;
|
|
188
190
|
}>;
|
|
189
191
|
action: string;
|
|
190
192
|
query: string;
|
|
@@ -236,6 +236,8 @@ declare const __VLS_base: import('vue').DefineComponent<MultiSelectProps, {}, {}
|
|
|
236
236
|
formSuccessTitle: string;
|
|
237
237
|
formPendingTitle: string;
|
|
238
238
|
formPendingMessage: string;
|
|
239
|
+
stepCompleted: string;
|
|
240
|
+
stepNotStarted: string;
|
|
239
241
|
}>;
|
|
240
242
|
readonly: boolean;
|
|
241
243
|
searchable: boolean;
|
|
@@ -207,6 +207,8 @@ declare const __VLS_base: import('vue').DefineComponent<SelectProps, {}, {}, {},
|
|
|
207
207
|
formSuccessTitle: string;
|
|
208
208
|
formPendingTitle: string;
|
|
209
209
|
formPendingMessage: string;
|
|
210
|
+
stepCompleted: string;
|
|
211
|
+
stepNotStarted: string;
|
|
210
212
|
}>;
|
|
211
213
|
clearable: boolean;
|
|
212
214
|
readonly: boolean;
|
|
@@ -172,6 +172,8 @@ declare const __VLS_base: import('vue').DefineComponent<SiteFormProps, {}, {}, {
|
|
|
172
172
|
formSuccessTitle: string;
|
|
173
173
|
formPendingTitle: string;
|
|
174
174
|
formPendingMessage: string;
|
|
175
|
+
stepCompleted: string;
|
|
176
|
+
stepNotStarted: string;
|
|
175
177
|
}>;
|
|
176
178
|
layout: import('./types.js').SiteFormLayout;
|
|
177
179
|
heading: string;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { SpinnerProps } from './types.js';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<SpinnerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SpinnerProps> & Readonly<{}>, {
|
|
3
|
+
label: string;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
2
5
|
declare const _default: typeof __VLS_export;
|
|
3
6
|
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface SpinnerProps {
|
|
2
|
+
/**
|
|
3
|
+
* An accessible name ("Loading", "Confirming your payment"). Give it only when nothing around
|
|
4
|
+
* the spinner already says what is happening: without it the spinner is decorative and hidden
|
|
5
|
+
* from assistive technology, which is right inside a region that is itself `aria-busy` or a
|
|
6
|
+
* live region. With it the spinner is `role="img"` — a name, never an announcement.
|
|
7
|
+
*/
|
|
8
|
+
label?: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StepIndicatorProps } from './types.js';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<StepIndicatorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StepIndicatorProps> & Readonly<{}>, {
|
|
3
|
+
classes: Partial<Record<import('./types.js').StepIndicatorPart, string>>;
|
|
4
|
+
orientation: import('./types.js').StepIndicatorOrientation;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** One step of a `StepIndicator`. */
|
|
2
|
+
export interface StepIndicatorStep {
|
|
3
|
+
/** The step's name ("Packed"). */
|
|
4
|
+
label: string;
|
|
5
|
+
/** A secondary line under the label: a date, a place, a short note. */
|
|
6
|
+
description?: string;
|
|
7
|
+
}
|
|
8
|
+
/** `horizontal` (the default) lays the steps out in equal columns; `vertical` stacks them. */
|
|
9
|
+
export type StepIndicatorOrientation = 'horizontal' | 'vertical';
|
|
10
|
+
/** Where a step stands against `current`. Also on each step as `data-state`. */
|
|
11
|
+
export type StepIndicatorState = 'done' | 'current' | 'upcoming';
|
|
12
|
+
/**
|
|
13
|
+
* The parts a consumer can restyle through `classes`. The root (the `<ol>`) is styled with
|
|
14
|
+
* `class`. `status` is the visually hidden "(completed)" / "(not started)" after a label.
|
|
15
|
+
*/
|
|
16
|
+
export type StepIndicatorPart = 'step' | 'marker' | 'content' | 'label' | 'labelIcon' | 'status' | 'description';
|
|
17
|
+
export interface StepIndicatorProps {
|
|
18
|
+
/** The steps, in order. */
|
|
19
|
+
steps: StepIndicatorStep[];
|
|
20
|
+
/**
|
|
21
|
+
* The index of the current step, from 0. Every step before it is done and every step after it
|
|
22
|
+
* is upcoming. `steps.length` (or more) marks every step done, with none current; a negative
|
|
23
|
+
* number marks every step upcoming.
|
|
24
|
+
*/
|
|
25
|
+
current: number;
|
|
26
|
+
/** `horizontal` (default) or `vertical`. Also on the root as `data-orientation`. */
|
|
27
|
+
orientation?: StepIndicatorOrientation;
|
|
28
|
+
/** Per-part classes, appended to the part's own (they win by cascade layer). */
|
|
29
|
+
classes?: Partial<Record<StepIndicatorPart, string>>;
|
|
30
|
+
}
|
|
@@ -158,6 +158,8 @@ declare const __VLS_export: import('vue').DefineComponent<ToastProps, {}, {}, {}
|
|
|
158
158
|
formSuccessTitle: string;
|
|
159
159
|
formPendingTitle: string;
|
|
160
160
|
formPendingMessage: string;
|
|
161
|
+
stepCompleted: string;
|
|
162
|
+
stepNotStarted: string;
|
|
161
163
|
}>;
|
|
162
164
|
action: import('./types.js').ToastAction;
|
|
163
165
|
closable: boolean;
|
|
@@ -157,6 +157,8 @@ declare const __VLS_export: import('vue').DefineComponent<ToasterProps, {}, {},
|
|
|
157
157
|
formSuccessTitle: string;
|
|
158
158
|
formPendingTitle: string;
|
|
159
159
|
formPendingMessage: string;
|
|
160
|
+
stepCompleted: string;
|
|
161
|
+
stepNotStarted: string;
|
|
160
162
|
}>;
|
|
161
163
|
teleportTo: string | HTMLElement;
|
|
162
164
|
toasts: ToasterToast[];
|
package/dist/components.css
CHANGED
|
@@ -547,6 +547,18 @@
|
|
|
547
547
|
grid-column-start: 3;
|
|
548
548
|
}
|
|
549
549
|
|
|
550
|
+
.eldra\:col-start-4 {
|
|
551
|
+
grid-column-start: 4;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.eldra\:row-span-1 {
|
|
555
|
+
grid-row: span 1 / span 1;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.eldra\:row-span-2 {
|
|
559
|
+
grid-row: span 2 / span 2;
|
|
560
|
+
}
|
|
561
|
+
|
|
550
562
|
.eldra\:row-start-1 {
|
|
551
563
|
grid-row-start: 1;
|
|
552
564
|
}
|
|
@@ -1578,6 +1590,14 @@
|
|
|
1578
1590
|
appearance: none;
|
|
1579
1591
|
}
|
|
1580
1592
|
|
|
1593
|
+
.eldra\:auto-cols-fr {
|
|
1594
|
+
grid-auto-columns: minmax(0, 1fr);
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
.eldra\:grid-flow-col {
|
|
1598
|
+
grid-auto-flow: column;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1581
1601
|
.eldra\:eldra-nav-menu-columns {
|
|
1582
1602
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--eldra-nav-menu-column-min, 12rem)), 1fr));
|
|
1583
1603
|
}
|
|
@@ -1606,6 +1626,10 @@
|
|
|
1606
1626
|
grid-template-columns: auto 1fr auto;
|
|
1607
1627
|
}
|
|
1608
1628
|
|
|
1629
|
+
.eldra\:grid-cols-\[auto_auto_1fr_auto\] {
|
|
1630
|
+
grid-template-columns: auto auto 1fr auto;
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1609
1633
|
.eldra\:grid-cols-\[auto_minmax\(0\,1fr\)\] {
|
|
1610
1634
|
grid-template-columns: auto minmax(0, 1fr);
|
|
1611
1635
|
}
|
|
@@ -1930,6 +1954,11 @@
|
|
|
1930
1954
|
border-width: 0;
|
|
1931
1955
|
}
|
|
1932
1956
|
|
|
1957
|
+
.eldra\:border-2 {
|
|
1958
|
+
border-style: var(--tw-border-style);
|
|
1959
|
+
border-width: 2px;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1933
1962
|
.eldra\:eldra-filter-swatch-edge {
|
|
1934
1963
|
border-width: var(--eldra-filter-swatch-edge-width, 1px);
|
|
1935
1964
|
border-color: var(--eldra-color-text);
|
|
@@ -2026,6 +2055,36 @@
|
|
|
2026
2055
|
}
|
|
2027
2056
|
}
|
|
2028
2057
|
|
|
2058
|
+
.eldra\:border-\[color-mix\(in_oklab\,var\(--eldra-color-danger\)\,var\(--eldra-color-background\)_60\%\)\] {
|
|
2059
|
+
border-color: var(--eldra-color-danger);
|
|
2060
|
+
}
|
|
2061
|
+
|
|
2062
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2063
|
+
.eldra\:border-\[color-mix\(in_oklab\,var\(--eldra-color-danger\)\,var\(--eldra-color-background\)_60\%\)\] {
|
|
2064
|
+
border-color: color-mix(in oklab,var(--eldra-color-danger),var(--eldra-color-background) 60%);
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2068
|
+
.eldra\:border-\[color-mix\(in_oklab\,var\(--eldra-color-success\)\,var\(--eldra-color-background\)_60\%\)\] {
|
|
2069
|
+
border-color: var(--eldra-color-success);
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2073
|
+
.eldra\:border-\[color-mix\(in_oklab\,var\(--eldra-color-success\)\,var\(--eldra-color-background\)_60\%\)\] {
|
|
2074
|
+
border-color: color-mix(in oklab,var(--eldra-color-success),var(--eldra-color-background) 60%);
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
.eldra\:border-\[color-mix\(in_oklab\,var\(--eldra-color-warning\)\,var\(--eldra-color-background\)_60\%\)\] {
|
|
2079
|
+
border-color: var(--eldra-color-warning);
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2083
|
+
.eldra\:border-\[color-mix\(in_oklab\,var\(--eldra-color-warning\)\,var\(--eldra-color-background\)_60\%\)\] {
|
|
2084
|
+
border-color: color-mix(in oklab,var(--eldra-color-warning),var(--eldra-color-background) 60%);
|
|
2085
|
+
}
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2029
2088
|
.eldra\:border-\[color\:var\(--eldra-dialog-border\,var\(--eldra-color-border\)\)\] {
|
|
2030
2089
|
border-color: var(--eldra-dialog-border, var(--eldra-color-border));
|
|
2031
2090
|
}
|
|
@@ -2096,6 +2155,26 @@
|
|
|
2096
2155
|
}
|
|
2097
2156
|
}
|
|
2098
2157
|
|
|
2158
|
+
.eldra\:bg-\[color-mix\(in_oklab\,var\(--eldra-color-danger\)\,var\(--eldra-color-background\)_92\%\)\] {
|
|
2159
|
+
background-color: var(--eldra-color-danger);
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2162
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2163
|
+
.eldra\:bg-\[color-mix\(in_oklab\,var\(--eldra-color-danger\)\,var\(--eldra-color-background\)_92\%\)\] {
|
|
2164
|
+
background-color: color-mix(in oklab,var(--eldra-color-danger),var(--eldra-color-background) 92%);
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
|
|
2168
|
+
.eldra\:bg-\[color-mix\(in_oklab\,var\(--eldra-color-success\)\,var\(--eldra-color-background\)_92\%\)\] {
|
|
2169
|
+
background-color: var(--eldra-color-success);
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2173
|
+
.eldra\:bg-\[color-mix\(in_oklab\,var\(--eldra-color-success\)\,var\(--eldra-color-background\)_92\%\)\] {
|
|
2174
|
+
background-color: color-mix(in oklab,var(--eldra-color-success),var(--eldra-color-background) 92%);
|
|
2175
|
+
}
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2099
2178
|
.eldra\:bg-\[color-mix\(in_oklab\,var\(--eldra-color-text\)_94\%\,transparent\)\] {
|
|
2100
2179
|
background-color: var(--eldra-color-text);
|
|
2101
2180
|
}
|
|
@@ -2106,6 +2185,16 @@
|
|
|
2106
2185
|
}
|
|
2107
2186
|
}
|
|
2108
2187
|
|
|
2188
|
+
.eldra\:bg-\[color-mix\(in_oklab\,var\(--eldra-color-warning\)\,var\(--eldra-color-background\)_92\%\)\] {
|
|
2189
|
+
background-color: var(--eldra-color-warning);
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2193
|
+
.eldra\:bg-\[color-mix\(in_oklab\,var\(--eldra-color-warning\)\,var\(--eldra-color-background\)_92\%\)\] {
|
|
2194
|
+
background-color: color-mix(in oklab,var(--eldra-color-warning),var(--eldra-color-background) 92%);
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2109
2198
|
.eldra\:bg-\[color\:var\(--eldra-popover-background\,var\(--eldra-color-background\)\)\] {
|
|
2110
2199
|
background-color: var(--eldra-popover-background, var(--eldra-color-background));
|
|
2111
2200
|
}
|
package/dist/icons/paths.d.ts
CHANGED
|
@@ -8,3 +8,11 @@
|
|
|
8
8
|
* the same `alert-triangle` glyph.
|
|
9
9
|
*/
|
|
10
10
|
export declare const ALERT_TRIANGLE_PATHS: string[];
|
|
11
|
+
/** `circle-check`: `Notice`'s `success` default (the same glyph `Toast` and `StockBadge` draw). */
|
|
12
|
+
export declare const CIRCLE_CHECK_PATHS: string[];
|
|
13
|
+
/** `info-circle`: `Notice`'s `info` default (the same glyph `Toast`'s `info` draws). */
|
|
14
|
+
export declare const INFO_CIRCLE_PATHS: string[];
|
|
15
|
+
/** `alert-circle`: `Notice`'s `danger` default (the same glyph `Toast`'s `danger` draws). */
|
|
16
|
+
export declare const ALERT_CIRCLE_PATHS: string[];
|
|
17
|
+
/** `check`: a completed step's mark in `StepIndicator`. */
|
|
18
|
+
export declare const CHECK_PATHS: string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export { default as LoadMore } from './components/load-more/LoadMore.vue.js';
|
|
|
31
31
|
export { default as LogoItem } from './components/logo-item/LogoItem.vue.js';
|
|
32
32
|
export { default as MultiSelect } from './components/select/MultiSelect.vue.js';
|
|
33
33
|
export { default as NavMenu } from './components/nav-menu/NavMenu.vue.js';
|
|
34
|
+
export { default as Notice } from './components/notice/Notice.vue.js';
|
|
34
35
|
export { default as Pagination } from './components/pagination/Pagination.vue.js';
|
|
35
36
|
export { default as Popover } from './components/popover/Popover.vue.js';
|
|
36
37
|
export { default as Price } from './components/price/Price.vue.js';
|
|
@@ -46,6 +47,8 @@ export { default as Section } from './components/section/Section.vue.js';
|
|
|
46
47
|
export { default as Select } from './components/select/Select.vue.js';
|
|
47
48
|
export { default as SiteForm } from './components/site-form/SiteForm.vue.js';
|
|
48
49
|
export { default as Skeleton } from './components/skeleton/Skeleton.vue.js';
|
|
50
|
+
export { default as Spinner } from './components/spinner/Spinner.vue.js';
|
|
51
|
+
export { default as StepIndicator } from './components/step-indicator/StepIndicator.vue.js';
|
|
49
52
|
export { default as StockBadge } from './components/badge/StockBadge.vue.js';
|
|
50
53
|
export { default as Switch } from './components/switch/Switch.vue.js';
|
|
51
54
|
export { default as Tab } from './components/tabs/Tab.vue.js';
|
|
@@ -85,6 +88,7 @@ export type { LoadMorePart, LoadMoreProps } from './components/load-more/types.j
|
|
|
85
88
|
export type { LogoItemPart, LogoItemProps } from './components/logo-item/types.js';
|
|
86
89
|
export type { MultiSelectPart, MultiSelectProps, SelectOption, SelectPart, SelectPlacement, SelectProps, SelectSize, } from './components/select/types.js';
|
|
87
90
|
export type { NavMenuCollapse, NavMenuDrawerLayout, NavMenuDrawerPanelPart, NavMenuGroup, NavMenuGroupHeadingSlotProps, NavMenuItem, NavMenuLink, NavMenuPanelItemSlotProps, NavMenuPanelLayout, NavMenuPanelPart, NavMenuPart, NavMenuPlacement, NavMenuProps, NavMenuVariant, } from './components/nav-menu/types.js';
|
|
91
|
+
export type { NoticePart, NoticeProps, NoticeTone } from './components/notice/types.js';
|
|
88
92
|
export type { PaginationPart, PaginationProps } from './components/pagination/types.js';
|
|
89
93
|
export type { PopoverPart, PopoverProps } from './components/popover/types.js';
|
|
90
94
|
export type { PricePart, PriceProps, PriceSize } from './components/price/types.js';
|
|
@@ -98,6 +102,8 @@ export type { SearchModalPart, SearchModalProps } from './components/search-moda
|
|
|
98
102
|
export type { SectionBackground, SectionProps, SectionSpacing } from './components/section/types.js';
|
|
99
103
|
export type { SiteFormClient, SiteFormDefinition, SiteFormFailure, SiteFormFailureReason, SiteFormField, SiteFormLayout, SiteFormPart, SiteFormProps, SiteFormStatus, SiteFormSubmitOutcome, SiteFormSuccess, SiteFormValue, } from './components/site-form/types.js';
|
|
100
104
|
export type { SkeletonPart, SkeletonProps, SkeletonVariant } from './components/skeleton/types.js';
|
|
105
|
+
export type { SpinnerProps } from './components/spinner/types.js';
|
|
106
|
+
export type { StepIndicatorOrientation, StepIndicatorPart, StepIndicatorProps, StepIndicatorState, StepIndicatorStep, } from './components/step-indicator/types.js';
|
|
101
107
|
export type { SwitchPart, SwitchProps, SwitchSize, SwitchSlotProps, } from './components/switch/types.js';
|
|
102
108
|
export type { TabPanelPart, TabPanelProps, TabPart, TabProps, TabsActivation, TabsItem, TabsPart, TabsProps, TabsVariant, } from './components/tabs/types.js';
|
|
103
109
|
export type { TablerIconProps } from './components/tabler-icon/types.js';
|