@khsura/sui 1.19.0 → 1.21.0
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/@types/components/avatar/index.d.ts +2 -0
- package/@types/components/avatar/sAvatar.vue.d.ts +13 -0
- package/@types/components/avatar/sAvatarGroup.vue.d.ts +16 -0
- package/@types/components/cards/sCardText.vue.d.ts +2 -2
- package/@types/components/datePicker/sDatePickerSwitch.vue.d.ts +2 -0
- package/@types/components/form/index.d.ts +2 -0
- package/@types/components/form/radio/sRadio.vue.d.ts +3 -0
- package/@types/components/form/sFormRow.vue.d.ts +18 -0
- package/@types/components/form/sInput.vue.d.ts +1 -0
- package/@types/components/form/sNumberInput.vue.d.ts +29 -0
- package/@types/components/form/sSelect.vue.d.ts +10 -3
- package/@types/components/index.d.ts +5 -0
- package/@types/components/layout/sNavigationDrawer.vue.d.ts +6 -6
- package/@types/components/progress/sProgressCircular.vue.d.ts +1 -0
- package/@types/components/progress/sProgressLinear.vue.d.ts +1 -0
- package/@types/components/sAutocomplete.vue.d.ts +11 -1
- package/@types/components/sEmptyState.vue.d.ts +26 -0
- package/@types/components/sFileInput.vue.d.ts +35 -0
- package/@types/components/sPagination.vue.d.ts +21 -0
- package/@types/components/sSkeletonLoader.vue.d.ts +19 -0
- package/@types/components/slideGroup/sSlideGroup.vue.d.ts +4 -1
- package/@types/components/table/sTable.vue.d.ts +2 -0
- package/@types/components/tabs/sTabs.vue.d.ts +2 -2
- package/@types/components/toggleButtonGroup/sToggleButtonGroup.vue.d.ts +2 -0
- package/@types/configs/app.d.ts +4 -0
- package/@types/configs/fileInput.d.ts +5 -0
- package/@types/configs/i18n.d.ts +3 -0
- package/@types/configs/index.d.ts +2 -0
- package/@types/configs/provider.d.ts +2 -0
- package/@types/configs/skeletonLoader.d.ts +57 -0
- package/@types/constants/avatar.d.ts +3 -0
- package/@types/constants/color.d.ts +15 -0
- package/@types/constants/cssVariables.d.ts +4 -0
- package/@types/constants/datePicker.d.ts +7 -0
- package/@types/constants/fileInput.d.ts +31 -0
- package/@types/constants/i18n.d.ts +3 -0
- package/@types/constants/index.d.ts +8 -0
- package/@types/constants/keyboard.d.ts +12 -0
- package/@types/constants/layout.d.ts +2 -0
- package/@types/constants/listbox.d.ts +1 -0
- package/@types/constants/numberInput.d.ts +22 -0
- package/@types/constants/overlay.d.ts +5 -0
- package/@types/constants/pagination.d.ts +20 -0
- package/@types/constants/skeletonLoader.d.ts +33 -0
- package/@types/constants/tabs.d.ts +10 -0
- package/@types/definitions/props/core/propsLink.d.ts +2 -2
- package/@types/definitions/props/index.d.ts +7 -0
- package/@types/definitions/props/propsAutocomplete.d.ts +8 -0
- package/@types/definitions/props/propsAvatar.d.ts +13 -0
- package/@types/definitions/props/propsAvatarGroup.d.ts +8 -0
- package/@types/definitions/props/propsEmptyState.d.ts +17 -0
- package/@types/definitions/props/propsFileInput.d.ts +41 -0
- package/@types/definitions/props/propsInput.d.ts +1 -0
- package/@types/definitions/props/propsLink.d.ts +2 -2
- package/@types/definitions/props/propsNumberInput.d.ts +46 -0
- package/@types/definitions/props/propsPagination.d.ts +32 -0
- package/@types/definitions/props/propsProgressCircular.d.ts +2 -0
- package/@types/definitions/props/propsProgressLinear.d.ts +2 -0
- package/@types/definitions/props/propsRow.d.ts +1 -0
- package/@types/definitions/props/propsSelect.d.ts +6 -0
- package/@types/definitions/props/propsSkeletonLoader.d.ts +18 -0
- package/@types/definitions/props/propsSlideGroup.d.ts +4 -0
- package/@types/definitions/props/propsTable.d.ts +1 -0
- package/@types/definitions/props/propsTabs.d.ts +4 -0
- package/@types/definitions/props/propsTextarea.d.ts +3 -0
- package/@types/helpers/colorHelpers.d.ts +1 -1
- package/@types/helpers/createAppStore.d.ts +4 -0
- package/@types/helpers/fileInputRules.d.ts +18 -0
- package/@types/helpers/index.d.ts +1 -0
- package/@types/lib/color.d.ts +21 -2
- package/@types/lib/escapeHtml.d.ts +2 -0
- package/@types/lib/flattenVNodes.d.ts +2 -0
- package/@types/lib/index.d.ts +7 -0
- package/@types/lib/linkLocation.d.ts +9 -0
- package/@types/lib/numberInput.d.ts +23 -0
- package/@types/lib/overlayPlacement.d.ts +11 -0
- package/@types/lib/revealInScroller.d.ts +25 -0
- package/@types/lib/safeArea.d.ts +3 -0
- package/@types/playwright.visual.config.d.ts +3 -0
- package/@types/services/appBarService.d.ts +14 -0
- package/@types/services/backgroundScrollService.d.ts +8 -2
- package/@types/services/core/layoutCoreService.d.ts +4 -0
- package/@types/services/datePicker/datePickerItemDateService.d.ts +1 -0
- package/@types/services/dialogService.d.ts +4 -8
- package/@types/services/fieldLayoutService.d.ts +19 -0
- package/@types/services/formInputService.d.ts +6 -0
- package/@types/services/index.d.ts +9 -0
- package/@types/services/layoutProviderService.d.ts +6 -0
- package/@types/services/layoutService.d.ts +4 -0
- package/@types/services/linkService.d.ts +11 -1
- package/@types/services/listboxNavigationService.d.ts +20 -0
- package/@types/services/menuService.d.ts +2 -0
- package/@types/services/overlayFocusService.d.ts +10 -0
- package/@types/services/paginationService.d.ts +39 -0
- package/@types/services/routerLinkService.d.ts +19 -0
- package/@types/services/scrollableFocusService.d.ts +10 -0
- package/@types/services/skeletonLoaderService.d.ts +22 -0
- package/@types/services/surfaceTextColorService.d.ts +8 -0
- package/@types/services/tabsService.d.ts +14 -0
- package/@types/store/index.d.ts +1 -0
- package/@types/store/scrollLockStore.d.ts +1 -0
- package/@types/tests/visual/constants/a11yAudit.d.ts +4 -0
- package/@types/tests/visual/constants/index.d.ts +4 -0
- package/@types/tests/visual/constants/resizeScroll.d.ts +10 -0
- package/@types/tests/visual/constants/storyRender.d.ts +5 -0
- package/@types/tests/visual/constants/visualMatrix.d.ts +20 -0
- package/@types/tests/visual/schemas/index.d.ts +1 -0
- package/@types/tests/visual/schemas/storyIndex.d.ts +17 -0
- package/@types/tests/visual/types/a11yAudit.d.ts +2 -0
- package/@types/tests/visual/types/index.d.ts +2 -0
- package/@types/tests/visual/types/visualStory.d.ts +8 -0
- package/@types/types/app.d.ts +2 -0
- package/@types/types/breadcrumbs.d.ts +2 -2
- package/@types/types/emits.d.ts +12 -0
- package/@types/types/fileInput.d.ts +28 -0
- package/@types/types/index.d.ts +6 -0
- package/@types/types/link.d.ts +20 -0
- package/@types/types/menu.d.ts +17 -0
- package/@types/types/numberInput.d.ts +12 -0
- package/@types/types/pagination.d.ts +17 -0
- package/@types/types/safeArea.d.ts +1 -0
- package/@types/types/skeletonLoader.d.ts +16 -0
- package/@types/vite.config.d.ts +1 -0
- package/README.md +12 -0
- package/dist/base.css.map +1 -1
- package/dist/s-ui.css +1 -1
- package/dist/s-ui.js +4792 -3038
- package/dist/s-ui.umd.cjs +1 -1
- package/dist/styles/components/avatar/_variables.scss +17 -0
- package/dist/styles/components/avatar/index.scss +1 -0
- package/dist/styles/components/button/mixins.scss +5 -0
- package/dist/styles/components/form/_variables.scss +11 -0
- package/dist/styles/components/form/index.scss +1 -0
- package/dist/styles/components/index.scss +2 -0
- package/dist/styles/mixins/_app.scss +7 -0
- package/dist/styles/tools/_safeArea.scss +8 -0
- package/dist/styles/tools/index.scss +1 -0
- package/dist/sui-api.json +1295 -212
- package/package.json +15 -4
- package/sui-plugin/.claude-plugin/plugin.json +1 -1
- package/sui-plugin/skills/sui-component/SKILL.md +21 -6
- package/sui-plugin/skills/sui-component/references/autocomplete.md +54 -46
- package/sui-plugin/skills/sui-component/references/avatar-group.md +66 -0
- package/sui-plugin/skills/sui-component/references/avatar.md +76 -0
- package/sui-plugin/skills/sui-component/references/badge.md +4 -4
- package/sui-plugin/skills/sui-component/references/breadcrumbs.md +3 -2
- package/sui-plugin/skills/sui-component/references/button.md +13 -13
- package/sui-plugin/skills/sui-component/references/calendar.md +1 -1
- package/sui-plugin/skills/sui-component/references/cards.md +12 -12
- package/sui-plugin/skills/sui-component/references/carousel.md +9 -9
- package/sui-plugin/skills/sui-component/references/chip.md +1 -1
- package/sui-plugin/skills/sui-component/references/date-picker.md +14 -13
- package/sui-plugin/skills/sui-component/references/dialog.md +11 -10
- package/sui-plugin/skills/sui-component/references/droppable.md +8 -8
- package/sui-plugin/skills/sui-component/references/empty-state.md +104 -0
- package/sui-plugin/skills/sui-component/references/expansion-panels.md +1 -1
- package/sui-plugin/skills/sui-component/references/file-input.md +106 -0
- package/sui-plugin/skills/sui-component/references/form.md +155 -105
- package/sui-plugin/skills/sui-component/references/image.md +11 -10
- package/sui-plugin/skills/sui-component/references/layout.md +53 -49
- package/sui-plugin/skills/sui-component/references/list.md +6 -3
- package/sui-plugin/skills/sui-component/references/menu.md +12 -9
- package/sui-plugin/skills/sui-component/references/number-input.md +102 -0
- package/sui-plugin/skills/sui-component/references/pagination.md +83 -0
- package/sui-plugin/skills/sui-component/references/progress.md +20 -18
- package/sui-plugin/skills/sui-component/references/sheet.md +8 -8
- package/sui-plugin/skills/sui-component/references/skeleton-loader.md +75 -0
- package/sui-plugin/skills/sui-component/references/slide-group.md +14 -12
- package/sui-plugin/skills/sui-component/references/snackbar.md +7 -5
- package/sui-plugin/skills/sui-component/references/split-view.md +2 -2
- package/sui-plugin/skills/sui-component/references/table.md +10 -3
- package/sui-plugin/skills/sui-component/references/tabs.md +19 -13
- package/sui-plugin/skills/sui-component/references/toggle-button-group.md +5 -4
- package/sui-plugin/skills/sui-component/references/toolbar.md +5 -5
- package/sui-plugin/skills/sui-component/references/tooltip.md +10 -9
- package/sui-plugin/skills/sui-component/references/window.md +6 -1
- package/sui-plugin/skills/sui-form/SKILL.md +25 -17
- package/sui-plugin/skills/sui-getting-started/SKILL.md +32 -7
- package/sui-plugin/skills/sui-layout/SKILL.md +3 -1
- package/sui-plugin/skills/sui-utilities/docs/classes.md +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PropsAvatar } from '../../definitions';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
default: () => void;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<PropsAvatar, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PropsAvatar> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { PropsAvatarGroup } from '../../definitions';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
default: () => void;
|
|
4
|
+
more: (props: {
|
|
5
|
+
count: number;
|
|
6
|
+
}) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<PropsAvatarGroup, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PropsAvatarGroup> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type PropsTag } from '../../definitions';
|
|
2
2
|
type __VLS_Props = PropsTag;
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_9: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_9) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_base: 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>;
|
|
8
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -10,6 +10,8 @@ declare const __VLS_export: import("vue").DefineComponent<PropsDatePickerItemSwi
|
|
|
10
10
|
}>, {
|
|
11
11
|
nextIcon: import("../..").MaterialDesignIcon;
|
|
12
12
|
prevIcon: import("../..").MaterialDesignIcon;
|
|
13
|
+
prevAriaLabel: string | null;
|
|
14
|
+
nextAriaLabel: string | null;
|
|
13
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
16
|
declare const _default: typeof __VLS_export;
|
|
15
17
|
export default _default;
|
|
@@ -2,6 +2,8 @@ export * from './common';
|
|
|
2
2
|
export * from './radio';
|
|
3
3
|
export { default as SCheckbox } from './sCheckbox.vue';
|
|
4
4
|
export { default as SForm } from './sForm.vue';
|
|
5
|
+
export { default as SFormRow } from './sFormRow.vue';
|
|
5
6
|
export { default as SInput } from './sInput.vue';
|
|
7
|
+
export { default as SNumberInput } from './sNumberInput.vue';
|
|
6
8
|
export { default as SSelect } from './sSelect.vue';
|
|
7
9
|
export { default as STextarea } from './sTextarea.vue';
|
|
@@ -4,6 +4,9 @@ type __VLS_Props = {
|
|
|
4
4
|
id?: string;
|
|
5
5
|
name?: string | null;
|
|
6
6
|
label?: string | null;
|
|
7
|
+
/** Accessible name for a radio without a visible `label` (for example an icon-only option). */
|
|
8
|
+
ariaLabel?: string | null;
|
|
9
|
+
/** @deprecated The option is a native radio inside a label now; `type` has no effect. */
|
|
7
10
|
type?: ButtonTypeType;
|
|
8
11
|
} & PropsDisabled & PropsSingleGroupItem & PropsBorder;
|
|
9
12
|
declare var __VLS_1: {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lines up text fields (`SInput`, `SNumberInput`, `SSelect`, `SDatePickerInput`, `SAutocomplete`, `STextarea`) and the buttons
|
|
3
|
+
* next to them in one wrapping row. Each button's top and bottom match the field box, not the field's label or
|
|
4
|
+
* its error line, with or without a label and while an error shows.
|
|
5
|
+
*/
|
|
6
|
+
type __VLS_Slots = {
|
|
7
|
+
/** The fields and buttons of the row. */
|
|
8
|
+
default?: () => unknown;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -24,6 +24,7 @@ declare const __VLS_export: <T extends string | number = string | number>(__VLS_
|
|
|
24
24
|
tile?: boolean;
|
|
25
25
|
minlength?: string | number | null;
|
|
26
26
|
maxlength?: string | number | null;
|
|
27
|
+
ariaLabel?: string;
|
|
27
28
|
ariaLabelledby?: string;
|
|
28
29
|
name?: string;
|
|
29
30
|
isPasteDisabled?: boolean;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { PropsNumberInput } from '../../definitions';
|
|
2
|
+
type __VLS_Props = PropsNumberInput;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
modelValue?: number | null;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
8
|
+
validate: (value?: number | null | undefined) => Promise<boolean>;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
change: (args_0: number | null) => any;
|
|
11
|
+
blur: (args_0: FocusEvent) => any;
|
|
12
|
+
focus: (args_0: FocusEvent) => any;
|
|
13
|
+
keydown: (args_0: KeyboardEvent) => any;
|
|
14
|
+
"update:error": (args_0: boolean) => any;
|
|
15
|
+
"update:errors": (args_0: string[]) => any;
|
|
16
|
+
"update:dirty": (args_0: boolean) => any;
|
|
17
|
+
"update:modelValue": (value: number | null) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
onChange?: ((args_0: number | null) => any) | undefined;
|
|
20
|
+
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
21
|
+
onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
22
|
+
onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
|
|
23
|
+
"onUpdate:error"?: ((args_0: boolean) => any) | undefined;
|
|
24
|
+
"onUpdate:errors"?: ((args_0: string[]) => any) | undefined;
|
|
25
|
+
"onUpdate:dirty"?: ((args_0: boolean) => any) | undefined;
|
|
26
|
+
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
import { type VNode } from 'vue';
|
|
1
2
|
import { type SelectItem } from '../../types';
|
|
2
3
|
declare const __VLS_export: <T extends string | number = string | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
4
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
5
|
name?: string | null;
|
|
5
6
|
items?: Array<SelectItem | string | undefined | null>;
|
|
6
7
|
label?: string | null;
|
|
8
|
+
placeholder?: string | null;
|
|
9
|
+
ariaLabel?: string | null;
|
|
7
10
|
dense?: boolean;
|
|
8
11
|
grow?: boolean;
|
|
9
12
|
text?: boolean;
|
|
10
13
|
divided?: boolean;
|
|
14
|
+
noDataText?: string | undefined;
|
|
11
15
|
} & import("../../definitions").PropsBorder & {
|
|
12
16
|
closeOnContentClick?: boolean;
|
|
13
17
|
closeOnScroll?: boolean;
|
|
@@ -41,15 +45,18 @@ declare const __VLS_export: <T extends string | number = string | number>(__VLS_
|
|
|
41
45
|
expose: (exposed: {}) => void;
|
|
42
46
|
attrs: any;
|
|
43
47
|
slots: {
|
|
48
|
+
/** Replaces the selected item's text in the field. */
|
|
44
49
|
activator?: (props: {
|
|
45
50
|
item: SelectItem | null;
|
|
46
51
|
value: boolean | undefined;
|
|
47
|
-
}) =>
|
|
48
|
-
|
|
52
|
+
}) => VNode[];
|
|
53
|
+
/** Replaces the chevron icon. */
|
|
49
54
|
dropdownIcon?: (props: {
|
|
50
55
|
color: string | undefined;
|
|
51
56
|
value: boolean | undefined;
|
|
52
|
-
}) =>
|
|
57
|
+
}) => VNode[];
|
|
58
|
+
/** Replaces `noDataText` when `items` is empty, such as an `SEmptyState`. */
|
|
59
|
+
noData?: () => VNode[];
|
|
53
60
|
};
|
|
54
61
|
emit: (((evt: "change", args_0: T | null) => void) & ((evt: "update:error", args_0: boolean) => void) & ((evt: "update:errors", args_0: string[]) => void) & ((evt: "update:dirty", args_0: boolean) => void)) & (((event: "update:modelValue", value: T | null | undefined) => void) & ((event: "update:menu", value: boolean | undefined) => void));
|
|
55
62
|
}>) => import("vue").VNode & {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './avatar';
|
|
1
2
|
export * from './badge';
|
|
2
3
|
export * from './calendar';
|
|
3
4
|
export * from './cards';
|
|
@@ -25,11 +26,15 @@ export { default as SChip } from './sChip.vue';
|
|
|
25
26
|
export { default as SDialog } from './sDialog.vue';
|
|
26
27
|
export { default as SDivider } from './sDivider.vue';
|
|
27
28
|
export { default as SDroppable } from './sDroppable.vue';
|
|
29
|
+
export { default as SEmptyState } from './sEmptyState.vue';
|
|
30
|
+
export { default as SFileInput } from './sFileInput.vue';
|
|
28
31
|
export { default as SIcon } from './sIcon.vue';
|
|
29
32
|
export { default as SImage } from './sImage.vue';
|
|
30
33
|
export { default as SOverlay } from './sOverlay.vue';
|
|
31
34
|
export { default as SMenu } from './sMenu.vue';
|
|
35
|
+
export { default as SPagination } from './sPagination.vue';
|
|
32
36
|
export { default as SSheet } from './sSheet.vue';
|
|
37
|
+
export { default as SSkeletonLoader } from './sSkeletonLoader.vue';
|
|
33
38
|
export { default as SSnackbar } from './sSnackbar.vue';
|
|
34
39
|
export { default as SSubheader } from './sSubheader.vue';
|
|
35
40
|
export { default as SSwitch } from './sSwitch.vue';
|
|
@@ -4,24 +4,24 @@ type __VLS_ModelProps = {
|
|
|
4
4
|
modelValue?: boolean;
|
|
5
5
|
};
|
|
6
6
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
-
declare var
|
|
7
|
+
declare var __VLS_27: {
|
|
8
8
|
class: string;
|
|
9
|
-
},
|
|
9
|
+
}, __VLS_29: {
|
|
10
10
|
on: {
|
|
11
11
|
click: () => void;
|
|
12
12
|
transitionend: (e: Event) => void;
|
|
13
13
|
mouseenter: () => void;
|
|
14
14
|
mouseleave: () => void;
|
|
15
15
|
};
|
|
16
|
-
},
|
|
16
|
+
}, __VLS_31: {
|
|
17
17
|
class: string;
|
|
18
18
|
};
|
|
19
19
|
type __VLS_Slots = {} & {
|
|
20
|
-
prepend?: (props: typeof
|
|
20
|
+
prepend?: (props: typeof __VLS_27) => any;
|
|
21
21
|
} & {
|
|
22
|
-
default?: (props: typeof
|
|
22
|
+
default?: (props: typeof __VLS_29) => any;
|
|
23
23
|
} & {
|
|
24
|
-
append?: (props: typeof
|
|
24
|
+
append?: (props: typeof __VLS_31) => any;
|
|
25
25
|
};
|
|
26
26
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
27
|
"update:modelValue": (value: boolean | undefined) => any;
|
|
@@ -7,6 +7,7 @@ declare const __VLS_base: import("vue").DefineComponent<PropsProgressCircular, {
|
|
|
7
7
|
value: number;
|
|
8
8
|
size: number | string;
|
|
9
9
|
width: number;
|
|
10
|
+
ariaLabel: string;
|
|
10
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
13
|
declare const _default: typeof __VLS_export;
|
|
@@ -6,6 +6,7 @@ type __VLS_Slots = {} & {
|
|
|
6
6
|
declare const __VLS_base: import("vue").DefineComponent<PropsProgressLinear, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PropsProgressLinear> & Readonly<{}>, {
|
|
7
7
|
value: number | string;
|
|
8
8
|
color: string;
|
|
9
|
+
ariaLabel: string;
|
|
9
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
11
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
12
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type VNode } from 'vue';
|
|
1
2
|
import type { AutocompleteModelType } from '../types/autocomplete';
|
|
2
3
|
declare const __VLS_export: <T extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
4
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
@@ -5,10 +6,14 @@ declare const __VLS_export: <T extends boolean = false>(__VLS_props: NonNullable
|
|
|
5
6
|
label?: string | null;
|
|
6
7
|
id?: string;
|
|
7
8
|
hideDetails?: boolean;
|
|
9
|
+
ariaLabel?: string | null;
|
|
10
|
+
clearAriaLabel?: string;
|
|
11
|
+
loadingAriaLabel?: string;
|
|
8
12
|
items?: import("../index.ts").SelectItem[] | string[];
|
|
9
13
|
filter?: (item: import("../index.ts").SelectItem, queryText: string) => boolean;
|
|
10
14
|
filterMode?: "start" | "contains" | "exact" | "none" | undefined;
|
|
11
15
|
debounce?: number;
|
|
16
|
+
noDataText?: string | undefined;
|
|
12
17
|
multiple?: T | undefined;
|
|
13
18
|
chips?: boolean;
|
|
14
19
|
closableChips?: boolean;
|
|
@@ -43,7 +48,12 @@ declare const __VLS_export: <T extends boolean = false>(__VLS_props: NonNullable
|
|
|
43
48
|
} ? P : {});
|
|
44
49
|
expose: (exposed: {}) => void;
|
|
45
50
|
attrs: any;
|
|
46
|
-
slots: {
|
|
51
|
+
slots: {
|
|
52
|
+
/** Replaces `noDataText` when no option is left, such as an `SEmptyState`. Receives the typed `query`. */
|
|
53
|
+
noData?: (props: {
|
|
54
|
+
query: string;
|
|
55
|
+
}) => VNode[];
|
|
56
|
+
};
|
|
47
57
|
emit: (((evt: "searchItem", args_0: string) => void) & ((evt: "createItem", args_0: import("../index.ts").SelectItem) => void)) & ((event: "update:modelValue", value: AutocompleteModelType<T> | null | undefined) => void);
|
|
48
58
|
}>) => import("vue").VNode & {
|
|
49
59
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { PropsEmptyState } from '../definitions';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
/** Replaces the icon or image, such as an illustration component. Keep it decorative. */
|
|
4
|
+
media?: () => unknown;
|
|
5
|
+
/** Replaces the `title` text. */
|
|
6
|
+
title?: () => unknown;
|
|
7
|
+
/** Replaces the `text` sentence. */
|
|
8
|
+
text?: () => unknown;
|
|
9
|
+
/** Extra content between the text and the actions. */
|
|
10
|
+
default?: () => unknown;
|
|
11
|
+
/** Replaces the built-in action button, such as two SButtons or a link. */
|
|
12
|
+
actions?: () => unknown;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<PropsEmptyState, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
action: (event: Event) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<PropsEmptyState> & Readonly<{
|
|
17
|
+
onAction?: ((event: Event) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { PropsFileInput } from '../definitions';
|
|
2
|
+
type __VLS_Props = PropsFileInput;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
modelValue?: File[] | null;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
8
|
+
validate: (value?: File[] | null | undefined) => Promise<boolean>;
|
|
9
|
+
clear: () => Promise<void>;
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
change: (args_0: File[] | null) => any;
|
|
12
|
+
clear: () => any;
|
|
13
|
+
"update:error": (args_0: boolean) => any;
|
|
14
|
+
"update:errors": (args_0: string[]) => any;
|
|
15
|
+
"update:dirty": (args_0: boolean) => any;
|
|
16
|
+
"update:modelValue": (value: File[] | null | undefined) => any;
|
|
17
|
+
reject: (args_0: File[]) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
onChange?: ((args_0: File[] | null) => any) | undefined;
|
|
20
|
+
onClear?: (() => any) | undefined;
|
|
21
|
+
"onUpdate:error"?: ((args_0: boolean) => any) | undefined;
|
|
22
|
+
"onUpdate:errors"?: ((args_0: string[]) => any) | undefined;
|
|
23
|
+
"onUpdate:dirty"?: ((args_0: boolean) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((value: File[] | null | undefined) => any) | undefined;
|
|
25
|
+
onReject?: ((args_0: File[]) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
display: "names" | "chips" | "count";
|
|
28
|
+
clearAriaLabel: string;
|
|
29
|
+
loadingAriaLabel: string;
|
|
30
|
+
variant: "input" | "dropzone";
|
|
31
|
+
countText: string;
|
|
32
|
+
dropText: string;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
declare const _default: typeof __VLS_export;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { PropsPagination } from '../definitions';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<PropsPagination, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: number) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<PropsPagination> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
disabled: boolean | null;
|
|
8
|
+
color: string;
|
|
9
|
+
modelValue: number;
|
|
10
|
+
compact: boolean;
|
|
11
|
+
ariaLabel: string;
|
|
12
|
+
prevAriaLabel: string;
|
|
13
|
+
nextAriaLabel: string;
|
|
14
|
+
totalVisible: number;
|
|
15
|
+
showFirstLastPage: boolean;
|
|
16
|
+
pageAriaLabel: string;
|
|
17
|
+
firstAriaLabel: string;
|
|
18
|
+
lastAriaLabel: string;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { PropsSkeletonLoader } from '../definitions';
|
|
2
|
+
type __VLS_Slots = {
|
|
3
|
+
/** The real content, shown once `loading` is `false`. */
|
|
4
|
+
default?: () => void;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<PropsSkeletonLoader, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PropsSkeletonLoader> & Readonly<{}>, {
|
|
7
|
+
type: string;
|
|
8
|
+
loading: boolean;
|
|
9
|
+
loadingText: string;
|
|
10
|
+
boilerplate: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -31,7 +31,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
31
31
|
"update:modelValue": (value: GroupItemValue[]) => any;
|
|
32
32
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
33
33
|
"onUpdate:modelValue"?: ((value: GroupItemValue[]) => any) | undefined;
|
|
34
|
-
}>, {
|
|
34
|
+
}>, {
|
|
35
|
+
prevAriaLabel: string;
|
|
36
|
+
nextAriaLabel: string;
|
|
37
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
36
39
|
declare const _default: typeof __VLS_export;
|
|
37
40
|
export default _default;
|
|
@@ -45,6 +45,8 @@ declare const __VLS_export: <T extends TableItem>(__VLS_props: NonNullable<Await
|
|
|
45
45
|
}) => void;
|
|
46
46
|
/** Shown instead of the rows when `items` is empty and not loading. */
|
|
47
47
|
noData?: () => void;
|
|
48
|
+
/** Shown instead of the rows while `loading` is set and `items` is still empty. */
|
|
49
|
+
loadingData?: () => void;
|
|
48
50
|
/** Label of the items-per-page selector in the pagination. */
|
|
49
51
|
itemsPerPageLabel?: () => void;
|
|
50
52
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PropsTabs } from '../../definitions';
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_11: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_11) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_base: import("vue").DefineComponent<PropsTabs, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
7
|
"update:modelValue": (value: string | number) => any;
|
|
@@ -17,6 +17,8 @@ declare const __VLS_export: <T extends GroupItemValue = GroupItemValue>(__VLS_pr
|
|
|
17
17
|
attrs: any;
|
|
18
18
|
slots: {
|
|
19
19
|
default?: (props: {}) => any;
|
|
20
|
+
} & {
|
|
21
|
+
overlay?: (props: {}) => any;
|
|
20
22
|
};
|
|
21
23
|
emit: (event: "update:modelValue", value: T[] | null) => void;
|
|
22
24
|
}>) => import("vue").VNode & {
|
package/@types/configs/app.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ export declare const defaultAppConfig: {
|
|
|
20
20
|
text: string;
|
|
21
21
|
anchor: string;
|
|
22
22
|
textErrorHover: string;
|
|
23
|
+
textError: string;
|
|
24
|
+
focusRing: string;
|
|
23
25
|
secondaryText: string;
|
|
24
26
|
background: string;
|
|
25
27
|
button: string;
|
|
@@ -47,6 +49,8 @@ export declare const defaultAppConfig: {
|
|
|
47
49
|
anchor: string;
|
|
48
50
|
title: string;
|
|
49
51
|
textErrorHover: string;
|
|
52
|
+
textError: string;
|
|
53
|
+
focusRing: string;
|
|
50
54
|
secondaryText: string;
|
|
51
55
|
background: string;
|
|
52
56
|
button: string;
|
package/@types/configs/i18n.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const i18nConfig: {
|
|
|
7
7
|
table: {
|
|
8
8
|
itemsPerPage: string;
|
|
9
9
|
noData: string;
|
|
10
|
+
loading: string;
|
|
10
11
|
};
|
|
11
12
|
formRules: {
|
|
12
13
|
required: string;
|
|
@@ -29,6 +30,7 @@ export declare const i18nConfig: {
|
|
|
29
30
|
table: {
|
|
30
31
|
itemsPerPage: string;
|
|
31
32
|
noData: string;
|
|
33
|
+
loading: string;
|
|
32
34
|
};
|
|
33
35
|
formRules: {
|
|
34
36
|
required: string;
|
|
@@ -51,6 +53,7 @@ export declare const i18nConfig: {
|
|
|
51
53
|
table: {
|
|
52
54
|
itemsPerPage: string;
|
|
53
55
|
noData: string;
|
|
56
|
+
loading: string;
|
|
54
57
|
};
|
|
55
58
|
formRules: {
|
|
56
59
|
required: string;
|
|
@@ -15,6 +15,7 @@ export declare const ProviderName: {
|
|
|
15
15
|
readonly stepperUnregisterStepperStep: InjectionKey<(step: number) => void>;
|
|
16
16
|
readonly stepperUpdateValue: InjectionKey<(value: number) => void>;
|
|
17
17
|
readonly group: InjectionKey<GroupProvider>;
|
|
18
|
+
readonly radioGroupName: InjectionKey<ComputedRef<string>>;
|
|
18
19
|
readonly singleGroup: InjectionKey<SingleGroupProvider>;
|
|
19
20
|
readonly layout: InjectionKey<Ref<typeof defaultLayoutSizes>>;
|
|
20
21
|
readonly expansionPanel: InjectionKey<{
|
|
@@ -39,4 +40,5 @@ export declare const ProviderPropsName: {
|
|
|
39
40
|
dialog: InjectionKey<props.PropsDialog>;
|
|
40
41
|
listProps: InjectionKey<props.PropsList>;
|
|
41
42
|
listItemProps: InjectionKey<props.PropsListItem>;
|
|
43
|
+
avatarGroupProps: InjectionKey<props.PropsAvatarGroup>;
|
|
42
44
|
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { SkeletonLoaderPreset } from '../constants';
|
|
2
|
+
import { type SkeletonLoaderPresetType } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* What each SSkeletonLoader preset is made of. A preset with no parts is a single bone; the others are groups the
|
|
5
|
+
* component lays out (a card stacks its parts, a table row puts its cells side by side).
|
|
6
|
+
*/
|
|
7
|
+
export declare const skeletonLoaderPresetParts: {
|
|
8
|
+
text: never[];
|
|
9
|
+
heading: never[];
|
|
10
|
+
avatar: never[];
|
|
11
|
+
button: never[];
|
|
12
|
+
image: never[];
|
|
13
|
+
card: ({
|
|
14
|
+
preset: SkeletonLoaderPreset.image;
|
|
15
|
+
count: number;
|
|
16
|
+
} | {
|
|
17
|
+
preset: SkeletonLoaderPreset.heading;
|
|
18
|
+
count: number;
|
|
19
|
+
} | {
|
|
20
|
+
preset: SkeletonLoaderPreset.text;
|
|
21
|
+
count: number;
|
|
22
|
+
})[];
|
|
23
|
+
"list-item": {
|
|
24
|
+
preset: SkeletonLoaderPreset.text;
|
|
25
|
+
count: number;
|
|
26
|
+
}[];
|
|
27
|
+
"list-item-avatar": ({
|
|
28
|
+
preset: SkeletonLoaderPreset.avatar;
|
|
29
|
+
count: number;
|
|
30
|
+
} | {
|
|
31
|
+
preset: SkeletonLoaderPreset.text;
|
|
32
|
+
count: number;
|
|
33
|
+
})[];
|
|
34
|
+
"table-row": {
|
|
35
|
+
preset: SkeletonLoaderPreset.text;
|
|
36
|
+
count: number;
|
|
37
|
+
}[];
|
|
38
|
+
table: {
|
|
39
|
+
preset: SkeletonLoaderPreset.tableRow;
|
|
40
|
+
count: number;
|
|
41
|
+
}[];
|
|
42
|
+
};
|
|
43
|
+
/** The camelCase BEM element each preset draws: `list-item-avatar` → `.s_skeletonLoader__listItemAvatar`. */
|
|
44
|
+
export declare const skeletonLoaderPresetElements: {
|
|
45
|
+
text: string;
|
|
46
|
+
heading: string;
|
|
47
|
+
avatar: string;
|
|
48
|
+
button: string;
|
|
49
|
+
image: string;
|
|
50
|
+
card: string;
|
|
51
|
+
"list-item": string;
|
|
52
|
+
"list-item-avatar": string;
|
|
53
|
+
"table-row": string;
|
|
54
|
+
table: string;
|
|
55
|
+
};
|
|
56
|
+
/** Every preset name, in the order the docs list them. */
|
|
57
|
+
export declare const skeletonLoaderPresets: SkeletonLoaderPresetType[];
|
|
@@ -164,6 +164,21 @@ export declare enum CssColor {
|
|
|
164
164
|
yellowgreen = "yellowgreen"
|
|
165
165
|
}
|
|
166
166
|
export declare const colorThreshold = 55;
|
|
167
|
+
export declare const srgbChannelMax = 255;
|
|
168
|
+
export declare const srgbLinearThreshold = 0.03928;
|
|
169
|
+
export declare const srgbLinearDivisor = 12.92;
|
|
170
|
+
export declare const srgbGammaOffset = 0.055;
|
|
171
|
+
export declare const srgbGammaDivisor = 1.055;
|
|
172
|
+
export declare const srgbGamma = 2.4;
|
|
173
|
+
export declare const luminanceWeightRed = 0.2126;
|
|
174
|
+
export declare const luminanceWeightGreen = 0.7152;
|
|
175
|
+
export declare const luminanceWeightBlue = 0.0722;
|
|
176
|
+
export declare const contrastFlare = 0.05;
|
|
177
|
+
export declare const minimumTextContrast = 4.5;
|
|
178
|
+
export declare const minimumLargeTextContrast = 3;
|
|
179
|
+
export declare const readableTextMixStep = 0.05;
|
|
180
|
+
export declare const lightestTextColor = "#ffffff";
|
|
181
|
+
export declare const darkestTextColor = "#000000";
|
|
167
182
|
export declare const cssColorToHex: {
|
|
168
183
|
readonly aliceblue: "#F0F8FF";
|
|
169
184
|
readonly antiquewhite: "#FAEBD7";
|
|
@@ -12,3 +12,10 @@ export declare const datePickerDefaultYearLimit = 100;
|
|
|
12
12
|
/** Years before and after today that a date picker allows when `min` / `max` are not set. */
|
|
13
13
|
export declare const datePickerDefaultRangeYears = 5;
|
|
14
14
|
export declare const datePickerWidth = "100%";
|
|
15
|
+
/**
|
|
16
|
+
* Width, in `em`, that SDatePickerInput reserves per character of its placeholder.
|
|
17
|
+
* The format placeholder (`YYYY-MM-DD`) is all wide capital letters, wider than `1ch` (one digit) each
|
|
18
|
+
* in some fonts, such as the WebKit system font.
|
|
19
|
+
*/
|
|
20
|
+
export declare const datePickerInputPlaceholderCharWidthEm = 0.7;
|
|
21
|
+
export declare const datePickerDayAriaLabelFormat = "dddd, MMMM D, YYYY";
|