@rovula/ui 0.1.6 → 0.1.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/dist/cjs/bundle.css +630 -467
- package/dist/cjs/bundle.js +1545 -1545
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/components/AlertDialog/AlertDialog.stories.d.ts +3 -0
- package/dist/cjs/types/components/Dialog/Dialog.d.ts +7 -1
- package/dist/cjs/types/components/Dialog/Dialog.stories.d.ts +3 -0
- package/dist/cjs/types/components/Dropdown/Dropdown.d.ts +2 -0
- package/dist/cjs/types/components/Dropdown/Dropdown.stories.d.ts +2 -0
- package/dist/cjs/types/components/Form/Field.d.ts +26 -0
- package/dist/cjs/types/components/Form/FieldMessage.d.ts +7 -0
- package/dist/cjs/types/components/Form/Form.d.ts +49 -11
- package/dist/cjs/types/components/Form/Form.stories.d.ts +23 -0
- package/dist/cjs/types/components/Form/ValidationHintList.d.ts +17 -0
- package/dist/cjs/types/components/Form/ValidationHintList.stories.d.ts +9 -0
- package/dist/cjs/types/components/Form/index.d.ts +10 -0
- package/dist/cjs/types/components/Form/useOptionBridge.d.ts +17 -0
- package/dist/cjs/types/components/OtpInput/OtpInput.d.ts +17 -0
- package/dist/cjs/types/components/OtpInput/OtpInput.stories.d.ts +15 -0
- package/dist/cjs/types/components/OtpInput/OtpInputGroup.d.ts +25 -0
- package/dist/cjs/types/components/OtpInput/index.d.ts +5 -0
- package/dist/cjs/types/components/TextInput/TextInput.styles.d.ts +3 -0
- package/dist/cjs/types/index.d.ts +5 -0
- package/dist/cjs/types/theme/ThemeColorCoverageRuntime.stories.d.ts +10 -0
- package/dist/cjs/types/utils/colors.d.ts +351 -267
- package/dist/components/ActionButton/ActionButton.stories.js +2 -2
- package/dist/components/ActionButton/ActionButton.styles.js +1 -1
- package/dist/components/AlertDialog/AlertDialog.js +6 -6
- package/dist/components/AlertDialog/AlertDialog.stories.js +3 -0
- package/dist/components/Avatar/Avatar.stories.js +1 -1
- package/dist/components/Avatar/Avatar.styles.js +1 -1
- package/dist/components/Avatar/AvatarBase.js +1 -1
- package/dist/components/Avatar/AvatarGroup.stories.js +1 -1
- package/dist/components/Button/Buttons.stories.js +2 -2
- package/dist/components/Calendar/Calendar.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Checkbox/Checkbox.stories.js +17 -7
- package/dist/components/Collapsible/Collapsible.styles.js +1 -1
- package/dist/components/DataTable/DataTable.js +2 -2
- package/dist/components/Dialog/Dialog.js +12 -7
- package/dist/components/Dialog/Dialog.stories.js +90 -2
- package/dist/components/Dropdown/Dropdown.js +2 -2
- package/dist/components/DropdownMenu/DropdownMenu.js +3 -3
- package/dist/components/FocusedScrollView/FocusedScrollView.stories.js +6 -6
- package/dist/components/Form/Field.js +60 -0
- package/dist/components/Form/FieldMessage.js +24 -0
- package/dist/components/Form/Form.js +73 -41
- package/dist/components/Form/Form.stories.js +221 -0
- package/dist/components/Form/ValidationHintList.js +30 -0
- package/dist/components/Form/ValidationHintList.stories.js +50 -0
- package/dist/components/Form/index.js +5 -0
- package/dist/components/Form/useOptionBridge.js +27 -0
- package/dist/components/InputFilter/InputFilter.js +5 -4
- package/dist/components/InputFilter/InputFilter.stories.js +1 -1
- package/dist/components/InputFilter/InputFilter.styles.js +14 -1
- package/dist/components/Label/Label.styles.js +1 -1
- package/dist/components/Menu/Menu.js +2 -2
- package/dist/components/NumberInput/NumberInput.stories.js +1 -1
- package/dist/components/OtpInput/OtpInput.js +118 -0
- package/dist/components/OtpInput/OtpInput.stories.js +60 -0
- package/dist/components/OtpInput/OtpInputGroup.js +23 -0
- package/dist/components/OtpInput/index.js +3 -0
- package/dist/components/PasswordInput/PasswordInput.stories.js +1 -1
- package/dist/components/Popover/Popover.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.stories.js +2 -2
- package/dist/components/Search/Search.js +13 -1
- package/dist/components/Search/Search.stories.js +1 -1
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Slider/Slider.stories.js +5 -5
- package/dist/components/Switch/Switch.stories.js +2 -2
- package/dist/components/Switch/Switch.styles.js +1 -1
- package/dist/components/Table/Table.js +5 -5
- package/dist/components/Tabs/Tabs.js +12 -9
- package/dist/components/Tabs/Tabs.stories.js +1 -1
- package/dist/components/Text/Text.js +1 -1
- package/dist/components/Text/Text.stories.js +1 -1
- package/dist/components/TextArea/TextArea.stories.js +1 -1
- package/dist/components/TextArea/TextArea.styles.js +3 -3
- package/dist/components/TextInput/TextInput.js +3 -2
- package/dist/components/TextInput/TextInput.stories.js +3 -3
- package/dist/components/TextInput/TextInput.styles.js +41 -19
- package/dist/components/Toast/Toast.js +4 -2
- package/dist/components/Toast/Toast.stories.js +1 -1
- package/dist/components/Toast/Toast.styles.js +4 -4
- package/dist/components/Toast/Toaster.js +2 -2
- package/dist/components/Tree/Tree.stories.js +1 -1
- package/dist/components/Tree/TreeItem.js +1 -1
- package/dist/esm/bundle.css +630 -467
- package/dist/esm/bundle.js +1545 -1545
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/components/AlertDialog/AlertDialog.stories.d.ts +3 -0
- package/dist/esm/types/components/Dialog/Dialog.d.ts +7 -1
- package/dist/esm/types/components/Dialog/Dialog.stories.d.ts +3 -0
- package/dist/esm/types/components/Dropdown/Dropdown.d.ts +2 -0
- package/dist/esm/types/components/Dropdown/Dropdown.stories.d.ts +2 -0
- package/dist/esm/types/components/Form/Field.d.ts +26 -0
- package/dist/esm/types/components/Form/FieldMessage.d.ts +7 -0
- package/dist/esm/types/components/Form/Form.d.ts +49 -11
- package/dist/esm/types/components/Form/Form.stories.d.ts +23 -0
- package/dist/esm/types/components/Form/ValidationHintList.d.ts +17 -0
- package/dist/esm/types/components/Form/ValidationHintList.stories.d.ts +9 -0
- package/dist/esm/types/components/Form/index.d.ts +10 -0
- package/dist/esm/types/components/Form/useOptionBridge.d.ts +17 -0
- package/dist/esm/types/components/OtpInput/OtpInput.d.ts +17 -0
- package/dist/esm/types/components/OtpInput/OtpInput.stories.d.ts +15 -0
- package/dist/esm/types/components/OtpInput/OtpInputGroup.d.ts +25 -0
- package/dist/esm/types/components/OtpInput/index.d.ts +5 -0
- package/dist/esm/types/components/TextInput/TextInput.styles.d.ts +3 -0
- package/dist/esm/types/index.d.ts +5 -0
- package/dist/esm/types/theme/ThemeColorCoverageRuntime.stories.d.ts +10 -0
- package/dist/esm/types/utils/colors.d.ts +351 -267
- package/dist/index.d.ts +512 -269
- package/dist/index.js +3 -0
- package/dist/src/theme/global.css +2739 -2681
- package/dist/theme/ThemeColorCoverageRuntime.stories.js +91 -0
- package/dist/utils/colors.js +359 -267
- package/package.json +4 -2
- package/src/components/ActionButton/ActionButton.stories.tsx +6 -6
- package/src/components/ActionButton/ActionButton.styles.ts +1 -1
- package/src/components/AlertDialog/AlertDialog.stories.tsx +22 -0
- package/src/components/AlertDialog/AlertDialog.tsx +6 -6
- package/src/components/Avatar/Avatar.stories.tsx +1 -1
- package/src/components/Avatar/Avatar.styles.ts +1 -1
- package/src/components/Avatar/AvatarBase.tsx +1 -1
- package/src/components/Avatar/AvatarGroup.stories.tsx +1 -1
- package/src/components/Button/Buttons.stories.tsx +25 -17
- package/src/components/Calendar/Calendar.tsx +3 -3
- package/src/components/Checkbox/Checkbox.stories.tsx +35 -12
- package/src/components/Checkbox/Checkbox.tsx +7 -5
- package/src/components/Collapsible/Collapsible.styles.ts +1 -1
- package/src/components/DataTable/DataTable.tsx +2 -2
- package/src/components/Dialog/Dialog.stories.tsx +173 -0
- package/src/components/Dialog/Dialog.tsx +32 -15
- package/src/components/Dropdown/Dropdown.styles.ts +1 -1
- package/src/components/Dropdown/Dropdown.tsx +16 -14
- package/src/components/DropdownMenu/DropdownMenu.tsx +3 -3
- package/src/components/FocusedScrollView/FocusedScrollView.stories.tsx +10 -10
- package/src/components/Form/Field.tsx +160 -0
- package/src/components/Form/FieldMessage.tsx +38 -0
- package/src/components/Form/Form.docs.mdx +67 -0
- package/src/components/Form/Form.stories.tsx +490 -0
- package/src/components/Form/Form.tsx +185 -87
- package/src/components/Form/README.md +284 -0
- package/src/components/Form/ValidationHintList.stories.tsx +118 -0
- package/src/components/Form/ValidationHintList.tsx +82 -0
- package/src/components/Form/index.ts +28 -0
- package/src/components/Form/useOptionBridge.ts +55 -0
- package/src/components/InputFilter/InputFilter.stories.tsx +1 -1
- package/src/components/InputFilter/InputFilter.styles.ts +14 -1
- package/src/components/InputFilter/InputFilter.tsx +33 -28
- package/src/components/Label/Label.styles.ts +2 -2
- package/src/components/Label/Label.tsx +1 -1
- package/src/components/Menu/Menu.tsx +12 -12
- package/src/components/NumberInput/NumberInput.stories.tsx +1 -1
- package/src/components/OtpInput/OtpInput.stories.tsx +168 -0
- package/src/components/OtpInput/OtpInput.tsx +210 -0
- package/src/components/OtpInput/OtpInputGroup.tsx +74 -0
- package/src/components/OtpInput/index.ts +5 -0
- package/src/components/PasswordInput/PasswordInput.stories.tsx +1 -1
- package/src/components/Popover/Popover.tsx +1 -1
- package/src/components/RadioGroup/RadioGroup.stories.tsx +4 -4
- package/src/components/RadioGroup/RadioGroup.tsx +2 -1
- package/src/components/Search/Search.stories.tsx +1 -1
- package/src/components/Search/Search.tsx +6 -2
- package/src/components/Slider/Slider.stories.tsx +7 -7
- package/src/components/Slider/Slider.tsx +1 -1
- package/src/components/Switch/Switch.stories.tsx +4 -4
- package/src/components/Switch/Switch.styles.ts +1 -1
- package/src/components/Table/Table.tsx +5 -5
- package/src/components/Tabs/Tabs.stories.tsx +1 -1
- package/src/components/Tabs/Tabs.tsx +29 -18
- package/src/components/Text/Text.stories.tsx +1 -1
- package/src/components/Text/Text.tsx +1 -1
- package/src/components/TextArea/TextArea.stories.tsx +1 -1
- package/src/components/TextArea/TextArea.styles.ts +3 -3
- package/src/components/TextInput/TextInput.stories.tsx +7 -7
- package/src/components/TextInput/TextInput.styles.ts +42 -19
- package/src/components/TextInput/TextInput.tsx +3 -1
- package/src/components/Toast/Toast.stories.tsx +1 -1
- package/src/components/Toast/Toast.styles.tsx +7 -7
- package/src/components/Toast/Toast.tsx +5 -4
- package/src/components/Toast/Toaster.tsx +17 -20
- package/src/components/Tree/Tree.stories.tsx +1 -1
- package/src/components/Tree/TreeItem.tsx +1 -1
- package/src/index.ts +5 -0
- package/src/theme/THEME_MAPPING.md +36 -37
- package/src/theme/ThemeColorCoverageRuntime.stories.tsx +236 -0
- package/src/theme/direct-token-migration-plan.md +121 -0
- package/src/theme/figma-mcp-check-report.md +225 -0
- package/src/theme/figma-mcp-component-checklist.json +1250 -0
- package/src/theme/global.css +7 -3
- package/src/theme/presets/colors.js +173 -64
- package/src/theme/themes/skyller/baseline.css +0 -4
- package/src/theme/themes/variable-mapping.css +1064 -0
- package/src/theme/themes/variable.css +248 -230
- package/src/theme/themes/xspector/baseline.css +0 -4
- package/src/theme/themes/xspector/components/dropdown-menu.css +4 -4
- package/src/theme/themes/xspector/components/loading.css +2 -2
- package/src/theme/tokens/baseline.css +0 -3
- package/src/theme/tokens/color.css +36 -65
- package/src/theme/tokens/components/action-button.css +6 -6
- package/src/theme/tokens/components/button.css +189 -189
- package/src/theme/tokens/components/dropdown-menu.css +5 -5
- package/src/theme/tokens/components/footer.css +1 -1
- package/src/theme/tokens/components/loading.css +2 -2
- package/src/theme/tokens/components/switch.css +11 -11
- package/src/theme/tokens/typography.css +28 -28
- package/src/theme/tokens_old/baseline.css +13 -0
- package/src/theme/tokens_old/color.css +78 -0
- package/src/theme/tokens_old/components/action-button.css +127 -0
- package/src/theme/tokens_old/components/button.css +512 -0
- package/src/theme/tokens_old/components/dropdown-menu.css +27 -0
- package/src/theme/tokens_old/components/footer.css +9 -0
- package/src/theme/tokens_old/components/loading.css +11 -0
- package/src/theme/tokens_old/components/navbar.css +9 -0
- package/src/theme/tokens_old/components/progress-bar.css +8 -0
- package/src/theme/tokens_old/components/switch.css +29 -0
- package/src/theme/tokens_old/typography.css +199 -0
- package/src/theme/tokens_old/variables.css +28 -0
- package/src/theme/utils.js +172 -33
- package/src/utils/colors.ts +367 -278
- package/src/theme/themes/skyller/color.css +0 -79
- package/src/theme/themes/skyller/palette.css +0 -143
- package/src/theme/themes/skyller/state.css +0 -94
- package/src/theme/themes/skyller/transparent.css +0 -94
- package/src/theme/themes/xspector/color.css +0 -83
- package/src/theme/themes/xspector/palette.css +0 -142
- package/src/theme/themes/xspector/state.css +0 -94
- package/src/theme/themes/xspector/transparent.css +0 -93
- /package/src/theme/{tokens → tokens_old}/palette.css +0 -0
- /package/src/theme/{tokens → tokens_old}/state.css +0 -0
- /package/src/theme/{tokens → tokens_old}/transparent.css +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { ReactElement, ReactNode, CSSProperties, FC, ComponentPropsWithoutRef, HTMLAttributes } from 'react';
|
|
2
|
+
import React__default, { ReactElement, ReactNode, CSSProperties, FC, ComponentPropsWithoutRef, HTMLAttributes, FormHTMLAttributes, ComponentType } from 'react';
|
|
3
3
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
4
4
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
5
5
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
@@ -17,6 +17,8 @@ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
|
17
17
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
18
18
|
import { ToastProviderProps } from '@radix-ui/react-toast';
|
|
19
19
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
20
|
+
import { FieldValues, UseFormReturn, DefaultValues, SubmitHandler, SubmitErrorHandler, Resolver, Mode, FieldPath, RegisterOptions, FieldPathValue } from 'react-hook-form';
|
|
21
|
+
import * as yup from 'yup';
|
|
20
22
|
import { ClassValue } from 'clsx';
|
|
21
23
|
|
|
22
24
|
type ButtonProps = {
|
|
@@ -447,6 +449,7 @@ type DropdownProps = {
|
|
|
447
449
|
optionContainerClassName?: string;
|
|
448
450
|
optionItemClassName?: string;
|
|
449
451
|
optionNotFoundItemClassName?: string;
|
|
452
|
+
segmentedInput?: boolean;
|
|
450
453
|
options: Options$1[];
|
|
451
454
|
value?: Options$1;
|
|
452
455
|
onChangeText?: InputProps["onChange"];
|
|
@@ -478,6 +481,7 @@ declare const Dropdown: React__default.ForwardRefExoticComponent<{
|
|
|
478
481
|
optionContainerClassName?: string;
|
|
479
482
|
optionItemClassName?: string;
|
|
480
483
|
optionNotFoundItemClassName?: string;
|
|
484
|
+
segmentedInput?: boolean;
|
|
481
485
|
options: Options$1[];
|
|
482
486
|
value?: Options$1;
|
|
483
487
|
onChangeText?: InputProps["onChange"];
|
|
@@ -641,6 +645,45 @@ type DatePickerProps = {
|
|
|
641
645
|
} & React__default.ComponentPropsWithoutRef<typeof Calendar>;
|
|
642
646
|
declare const DatePicker: FC<DatePickerProps>;
|
|
643
647
|
|
|
648
|
+
type OtpInputProps = {
|
|
649
|
+
value: string;
|
|
650
|
+
onChange: (value: string) => void;
|
|
651
|
+
onBlur?: () => void;
|
|
652
|
+
onComplete?: (value: string) => void;
|
|
653
|
+
length?: number;
|
|
654
|
+
disabled?: boolean;
|
|
655
|
+
invalid?: boolean;
|
|
656
|
+
autoFocus?: boolean;
|
|
657
|
+
inputMode?: React__default.HTMLAttributes<HTMLInputElement>["inputMode"];
|
|
658
|
+
charPattern?: RegExp;
|
|
659
|
+
className?: string;
|
|
660
|
+
inputClassName?: string;
|
|
661
|
+
};
|
|
662
|
+
declare const OtpInput: React__default.ForwardRefExoticComponent<OtpInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
663
|
+
|
|
664
|
+
type OtpInputGroupProps = OtpInputProps & {
|
|
665
|
+
id?: string;
|
|
666
|
+
label?: string;
|
|
667
|
+
required?: boolean;
|
|
668
|
+
helperText?: string;
|
|
669
|
+
error?: boolean;
|
|
670
|
+
errorMessage?: string;
|
|
671
|
+
keepFooterSpace?: boolean;
|
|
672
|
+
labelClassName?: string;
|
|
673
|
+
messageClassName?: string;
|
|
674
|
+
};
|
|
675
|
+
declare const OtpInputGroup: React__default.ForwardRefExoticComponent<OtpInputProps & {
|
|
676
|
+
id?: string;
|
|
677
|
+
label?: string;
|
|
678
|
+
required?: boolean;
|
|
679
|
+
helperText?: string;
|
|
680
|
+
error?: boolean;
|
|
681
|
+
errorMessage?: string;
|
|
682
|
+
keepFooterSpace?: boolean;
|
|
683
|
+
labelClassName?: string;
|
|
684
|
+
messageClassName?: string;
|
|
685
|
+
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
686
|
+
|
|
644
687
|
type LoadingProps = {
|
|
645
688
|
size?: number;
|
|
646
689
|
color?: string;
|
|
@@ -710,6 +753,12 @@ declare const DialogHeader: {
|
|
|
710
753
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
711
754
|
displayName: string;
|
|
712
755
|
};
|
|
756
|
+
declare const DialogBody: {
|
|
757
|
+
({ className, scrollable, ...props }: React.HTMLAttributes<HTMLDivElement> & {
|
|
758
|
+
scrollable?: boolean;
|
|
759
|
+
}): react_jsx_runtime.JSX.Element;
|
|
760
|
+
displayName: string;
|
|
761
|
+
};
|
|
713
762
|
declare const DialogFooter: {
|
|
714
763
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
715
764
|
displayName: string;
|
|
@@ -1097,6 +1146,116 @@ declare const FocusedScrollView: React__default.FC<FocusedScrollViewProps>;
|
|
|
1097
1146
|
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1098
1147
|
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1099
1148
|
|
|
1149
|
+
type FormChildren<TFieldValues extends FieldValues> = ReactNode | ((methods: UseFormReturn<TFieldValues>) => ReactNode);
|
|
1150
|
+
type FormController<TFieldValues extends FieldValues> = {
|
|
1151
|
+
submit: () => Promise<void>;
|
|
1152
|
+
getValues: () => TFieldValues;
|
|
1153
|
+
setValue: UseFormReturn<TFieldValues>["setValue"];
|
|
1154
|
+
trigger: UseFormReturn<TFieldValues>["trigger"];
|
|
1155
|
+
reset: UseFormReturn<TFieldValues>["reset"];
|
|
1156
|
+
};
|
|
1157
|
+
type FormProps<TFieldValues extends FieldValues> = Omit<FormHTMLAttributes<HTMLFormElement>, "children" | "onSubmit"> & {
|
|
1158
|
+
children: FormChildren<TFieldValues>;
|
|
1159
|
+
defaultValues: DefaultValues<TFieldValues>;
|
|
1160
|
+
methods?: UseFormReturn<TFieldValues>;
|
|
1161
|
+
controllerRef?: React__default.MutableRefObject<FormController<TFieldValues> | null>;
|
|
1162
|
+
onSubmit: SubmitHandler<TFieldValues>;
|
|
1163
|
+
onInvalidSubmit?: SubmitErrorHandler<TFieldValues>;
|
|
1164
|
+
resolver?: Resolver<TFieldValues>;
|
|
1165
|
+
validationSchema?: yup.ObjectSchema<any>;
|
|
1166
|
+
mode?: Mode;
|
|
1167
|
+
reValidateMode?: Exclude<Mode, "onTouched" | "all">;
|
|
1168
|
+
};
|
|
1169
|
+
declare const createYupResolver: <TFieldValues extends FieldValues>(schema: yup.ObjectSchema<any>) => Resolver<TFieldValues>;
|
|
1170
|
+
type ControlledFormFactoryOptions<TFieldValues extends FieldValues> = {
|
|
1171
|
+
methods: UseFormReturn<TFieldValues>;
|
|
1172
|
+
defaultValues: DefaultValues<TFieldValues>;
|
|
1173
|
+
controllerRef?: React__default.MutableRefObject<FormController<TFieldValues> | null>;
|
|
1174
|
+
};
|
|
1175
|
+
type UseControlledFormOptions<TFieldValues extends FieldValues> = {
|
|
1176
|
+
defaultValues: DefaultValues<TFieldValues>;
|
|
1177
|
+
controllerRef?: React__default.MutableRefObject<FormController<TFieldValues> | null>;
|
|
1178
|
+
resolver?: Resolver<TFieldValues>;
|
|
1179
|
+
validationSchema?: yup.ObjectSchema<any>;
|
|
1180
|
+
mode?: Mode;
|
|
1181
|
+
reValidateMode?: Exclude<Mode, "onTouched" | "all">;
|
|
1182
|
+
};
|
|
1183
|
+
declare const createControlledForm: <TFieldValues extends FieldValues>({ methods, defaultValues, controllerRef, }: ControlledFormFactoryOptions<TFieldValues>) => {
|
|
1184
|
+
methods: UseFormReturn<TFieldValues>;
|
|
1185
|
+
FormRoot: React__default.ForwardRefExoticComponent<Omit<FormProps<TFieldValues>, "methods" | "defaultValues" | "controllerRef"> & React__default.RefAttributes<FormController<TFieldValues>>>;
|
|
1186
|
+
};
|
|
1187
|
+
declare const useControlledForm: <TFieldValues extends FieldValues>({ defaultValues, controllerRef, resolver, validationSchema, mode, reValidateMode, }: UseControlledFormOptions<TFieldValues>) => {
|
|
1188
|
+
methods: UseFormReturn<TFieldValues>;
|
|
1189
|
+
FormRoot: React__default.ForwardRefExoticComponent<Omit<FormProps<TFieldValues>, "methods" | "defaultValues" | "controllerRef"> & React__default.RefAttributes<FormController<TFieldValues>>>;
|
|
1190
|
+
};
|
|
1191
|
+
type FormComponent = <TFieldValues extends FieldValues>(props: FormProps<TFieldValues> & {
|
|
1192
|
+
ref?: React__default.Ref<FormController<TFieldValues>>;
|
|
1193
|
+
}) => React__default.ReactElement;
|
|
1194
|
+
declare const Form: FormComponent;
|
|
1195
|
+
|
|
1196
|
+
type ControlledComponentProps = object;
|
|
1197
|
+
type FieldProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>, TComponentProps extends ControlledComponentProps = ControlledComponentProps> = {
|
|
1198
|
+
name: TName;
|
|
1199
|
+
component: ComponentType<TComponentProps>;
|
|
1200
|
+
componentProps?: Omit<TComponentProps, "name" | "value" | "onChange" | "onBlur" | "ref" | "aria-invalid">;
|
|
1201
|
+
rules?: Omit<RegisterOptions<TFieldValues, TName>, "disabled" | "setValueAs" | "valueAsDate" | "valueAsNumber">;
|
|
1202
|
+
defaultValue?: FieldPathValue<TFieldValues, TName>;
|
|
1203
|
+
disabled?: boolean;
|
|
1204
|
+
shouldUnregister?: boolean;
|
|
1205
|
+
id?: string;
|
|
1206
|
+
describedBy?: string;
|
|
1207
|
+
valuePropName?: string;
|
|
1208
|
+
changePropName?: string;
|
|
1209
|
+
blurPropName?: string | false;
|
|
1210
|
+
refPropName?: string | false;
|
|
1211
|
+
errorMessagePropName?: string | false;
|
|
1212
|
+
invalidPropName?: string | false;
|
|
1213
|
+
parseValue?: (incomingValue: unknown, rawPayload: unknown) => FieldPathValue<TFieldValues, TName>;
|
|
1214
|
+
formatValue?: (value: FieldPathValue<TFieldValues, TName>) => TComponentProps[keyof TComponentProps];
|
|
1215
|
+
onChange?: (value: FieldPathValue<TFieldValues, TName>, rawPayload: unknown) => void;
|
|
1216
|
+
onBlur?: () => void;
|
|
1217
|
+
};
|
|
1218
|
+
declare const Field: <TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>, TComponentProps extends ControlledComponentProps = object>({ name, component: Component, componentProps, rules, defaultValue, disabled, shouldUnregister, id, describedBy, valuePropName, changePropName, blurPropName, refPropName, errorMessagePropName, invalidPropName, parseValue, formatValue, onChange, onBlur, }: FieldProps<TFieldValues, TName, TComponentProps>) => react_jsx_runtime.JSX.Element;
|
|
1219
|
+
|
|
1220
|
+
type FieldMessageProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> = HTMLAttributes<HTMLParagraphElement> & {
|
|
1221
|
+
name: TName;
|
|
1222
|
+
};
|
|
1223
|
+
declare const FieldMessage: <TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>>({ name, className, ...props }: FieldMessageProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element | null;
|
|
1224
|
+
|
|
1225
|
+
type ValidationHintState = "pending" | "valid" | "invalid";
|
|
1226
|
+
type ValidationHintMode = ValidationHintState[];
|
|
1227
|
+
type ValidationHintRule<TValues> = {
|
|
1228
|
+
id: string;
|
|
1229
|
+
label: string;
|
|
1230
|
+
validate: (values: TValues) => boolean;
|
|
1231
|
+
when?: (values: TValues) => boolean;
|
|
1232
|
+
};
|
|
1233
|
+
type ValidationHintListProps<TValues> = {
|
|
1234
|
+
values: TValues;
|
|
1235
|
+
rules: ValidationHintRule<TValues>[];
|
|
1236
|
+
mode?: ValidationHintMode;
|
|
1237
|
+
className?: string;
|
|
1238
|
+
itemClassName?: string;
|
|
1239
|
+
};
|
|
1240
|
+
declare const ValidationHintList: <TValues>({ values, rules, mode, className, itemClassName, }: ValidationHintListProps<TValues>) => react_jsx_runtime.JSX.Element;
|
|
1241
|
+
|
|
1242
|
+
type OptionValue = string | number;
|
|
1243
|
+
type OptionLike<TValue extends OptionValue = string> = {
|
|
1244
|
+
value: TValue;
|
|
1245
|
+
label?: string;
|
|
1246
|
+
};
|
|
1247
|
+
type UseOptionBridgeOptions<TValue extends OptionValue, TOption extends OptionLike<TValue>> = {
|
|
1248
|
+
options: TOption[];
|
|
1249
|
+
loading?: boolean;
|
|
1250
|
+
buildFallbackOption?: (value: TValue, loading: boolean) => TOption;
|
|
1251
|
+
};
|
|
1252
|
+
declare const useOptionBridge: <TValue extends OptionValue = string, TOption extends OptionLike<TValue> = OptionLike<TValue>>({ options, loading, buildFallbackOption, }: UseOptionBridgeOptions<TValue, TOption>) => {
|
|
1253
|
+
toOption: (value: TValue | null | undefined) => TOption | undefined;
|
|
1254
|
+
toOptionWithFallback: (value: TValue | null | undefined) => TOption | undefined;
|
|
1255
|
+
toValue: (option: TOption | null | undefined) => TValue | undefined;
|
|
1256
|
+
optionsByValue: Map<TValue, TOption>;
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1100
1259
|
declare const resloveTimestamp: (timestamp: number) => number;
|
|
1101
1260
|
declare const getStartDateOfDay: (date: Date) => Date;
|
|
1102
1261
|
declare const getEndDateOfDay: (date: Date) => Date;
|
|
@@ -1112,198 +1271,212 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
1112
1271
|
|
|
1113
1272
|
/** CSS variable names for theme colors (resolved by data-theme) */
|
|
1114
1273
|
declare const THEME_COLOR_KEYS: {
|
|
1115
|
-
readonly "primary
|
|
1116
|
-
readonly "
|
|
1117
|
-
readonly "
|
|
1118
|
-
readonly "
|
|
1119
|
-
readonly "
|
|
1120
|
-
readonly "
|
|
1121
|
-
readonly "
|
|
1122
|
-
readonly "primary-
|
|
1123
|
-
readonly "primary-
|
|
1124
|
-
readonly "primary-
|
|
1125
|
-
readonly "primary-
|
|
1126
|
-
readonly "primary-
|
|
1127
|
-
readonly "primary-
|
|
1128
|
-
readonly "primary-
|
|
1129
|
-
readonly "primary-
|
|
1130
|
-
readonly "primary-
|
|
1131
|
-
readonly "
|
|
1132
|
-
readonly "
|
|
1133
|
-
readonly "
|
|
1134
|
-
readonly "
|
|
1135
|
-
readonly "
|
|
1136
|
-
readonly "
|
|
1137
|
-
readonly "
|
|
1138
|
-
readonly "secondary-
|
|
1139
|
-
readonly "secondary-
|
|
1140
|
-
readonly "secondary-
|
|
1141
|
-
readonly "secondary-
|
|
1142
|
-
readonly "secondary-
|
|
1143
|
-
readonly "secondary-
|
|
1144
|
-
readonly "secondary-
|
|
1145
|
-
readonly "secondary-
|
|
1146
|
-
readonly "secondary-
|
|
1147
|
-
readonly "
|
|
1148
|
-
readonly "
|
|
1149
|
-
readonly "
|
|
1150
|
-
readonly "
|
|
1151
|
-
readonly "
|
|
1152
|
-
readonly "
|
|
1153
|
-
readonly "
|
|
1154
|
-
readonly "tertiary-
|
|
1155
|
-
readonly "tertiary-
|
|
1156
|
-
readonly "tertiary-
|
|
1157
|
-
readonly "tertiary-
|
|
1158
|
-
readonly "tertiary-
|
|
1159
|
-
readonly "tertiary-
|
|
1160
|
-
readonly "tertiary-
|
|
1161
|
-
readonly "tertiary-
|
|
1162
|
-
readonly "tertiary-
|
|
1163
|
-
readonly "
|
|
1164
|
-
readonly "
|
|
1165
|
-
readonly "
|
|
1166
|
-
readonly "
|
|
1167
|
-
readonly "
|
|
1168
|
-
readonly "
|
|
1169
|
-
readonly "
|
|
1170
|
-
readonly "grey-
|
|
1171
|
-
readonly "grey-
|
|
1172
|
-
readonly "grey-
|
|
1173
|
-
readonly "grey-
|
|
1174
|
-
readonly "grey-
|
|
1175
|
-
readonly "grey-
|
|
1176
|
-
readonly "grey-
|
|
1177
|
-
readonly "grey-
|
|
1178
|
-
readonly "grey-
|
|
1179
|
-
readonly "
|
|
1180
|
-
readonly "
|
|
1181
|
-
readonly "
|
|
1182
|
-
readonly "
|
|
1183
|
-
readonly "
|
|
1184
|
-
readonly "
|
|
1185
|
-
readonly "
|
|
1186
|
-
readonly "grey2-
|
|
1187
|
-
readonly "grey2-
|
|
1188
|
-
readonly "grey2-
|
|
1189
|
-
readonly "grey2-
|
|
1190
|
-
readonly "
|
|
1191
|
-
readonly "
|
|
1192
|
-
readonly "
|
|
1193
|
-
readonly "
|
|
1194
|
-
readonly "
|
|
1195
|
-
readonly "
|
|
1196
|
-
readonly "
|
|
1197
|
-
readonly "info-
|
|
1198
|
-
readonly "info-
|
|
1199
|
-
readonly "info-
|
|
1200
|
-
readonly "info-
|
|
1201
|
-
readonly "
|
|
1202
|
-
readonly "
|
|
1203
|
-
readonly "
|
|
1204
|
-
readonly "
|
|
1205
|
-
readonly "
|
|
1206
|
-
readonly "
|
|
1207
|
-
readonly "
|
|
1208
|
-
readonly "success-
|
|
1209
|
-
readonly "success-
|
|
1210
|
-
readonly "success-
|
|
1211
|
-
readonly "success-
|
|
1212
|
-
readonly "
|
|
1213
|
-
readonly "
|
|
1214
|
-
readonly "
|
|
1215
|
-
readonly "
|
|
1216
|
-
readonly "
|
|
1217
|
-
readonly "
|
|
1218
|
-
readonly "
|
|
1219
|
-
readonly "warning-
|
|
1220
|
-
readonly "warning-
|
|
1221
|
-
readonly "warning-
|
|
1222
|
-
readonly "warning-
|
|
1223
|
-
readonly "
|
|
1224
|
-
readonly "
|
|
1225
|
-
readonly "
|
|
1226
|
-
readonly "
|
|
1227
|
-
readonly "
|
|
1228
|
-
readonly "
|
|
1229
|
-
readonly "
|
|
1230
|
-
readonly "error-
|
|
1231
|
-
readonly "error-
|
|
1232
|
-
readonly "error-
|
|
1233
|
-
readonly "error-
|
|
1234
|
-
readonly
|
|
1235
|
-
readonly "
|
|
1236
|
-
readonly "
|
|
1237
|
-
readonly "
|
|
1238
|
-
readonly "
|
|
1239
|
-
readonly "
|
|
1240
|
-
readonly "
|
|
1241
|
-
readonly
|
|
1242
|
-
readonly "primary-
|
|
1243
|
-
readonly "primary-
|
|
1244
|
-
readonly
|
|
1245
|
-
readonly "
|
|
1246
|
-
readonly "
|
|
1247
|
-
readonly "
|
|
1248
|
-
readonly "
|
|
1249
|
-
readonly "
|
|
1250
|
-
readonly "
|
|
1251
|
-
readonly
|
|
1252
|
-
readonly "secondary-
|
|
1253
|
-
readonly "secondary-
|
|
1254
|
-
readonly
|
|
1255
|
-
readonly "
|
|
1256
|
-
readonly "
|
|
1257
|
-
readonly "
|
|
1258
|
-
readonly "
|
|
1259
|
-
readonly "
|
|
1260
|
-
readonly "
|
|
1261
|
-
readonly
|
|
1262
|
-
readonly "tertiary-
|
|
1263
|
-
readonly "tertiary-
|
|
1264
|
-
readonly
|
|
1265
|
-
readonly "
|
|
1266
|
-
readonly "
|
|
1267
|
-
readonly "
|
|
1268
|
-
readonly "
|
|
1269
|
-
readonly "
|
|
1270
|
-
readonly "
|
|
1271
|
-
readonly
|
|
1272
|
-
readonly "info-
|
|
1273
|
-
readonly "info-
|
|
1274
|
-
readonly
|
|
1275
|
-
readonly "
|
|
1276
|
-
readonly "
|
|
1277
|
-
readonly "
|
|
1278
|
-
readonly "
|
|
1279
|
-
readonly "
|
|
1280
|
-
readonly "
|
|
1281
|
-
readonly
|
|
1282
|
-
readonly "success-
|
|
1283
|
-
readonly "success-
|
|
1284
|
-
readonly
|
|
1285
|
-
readonly "
|
|
1286
|
-
readonly "
|
|
1287
|
-
readonly "
|
|
1288
|
-
readonly "
|
|
1289
|
-
readonly "
|
|
1290
|
-
readonly "
|
|
1291
|
-
readonly
|
|
1292
|
-
readonly "warning-
|
|
1293
|
-
readonly "warning-
|
|
1294
|
-
readonly
|
|
1295
|
-
readonly "
|
|
1296
|
-
readonly "
|
|
1297
|
-
readonly "
|
|
1298
|
-
readonly "
|
|
1299
|
-
readonly "
|
|
1300
|
-
readonly "
|
|
1301
|
-
readonly
|
|
1302
|
-
readonly "error-
|
|
1303
|
-
readonly "error-
|
|
1304
|
-
readonly "
|
|
1305
|
-
readonly "
|
|
1274
|
+
readonly "main-primary": "--main-primary";
|
|
1275
|
+
readonly "main-secondary": "--main-secondary";
|
|
1276
|
+
readonly "main-tertiary": "--main-tertiary";
|
|
1277
|
+
readonly "brand-midnight-blue": "--brand-midnight-blue";
|
|
1278
|
+
readonly "brand-columbia-blue": "--brand-columbia-blue";
|
|
1279
|
+
readonly "brand-background": "--brand-background";
|
|
1280
|
+
readonly "brand-lemon-glacier": "--brand-lemon-glacier";
|
|
1281
|
+
readonly "primary-5": "--ramps-primary-5";
|
|
1282
|
+
readonly "primary-10": "--ramps-primary-10";
|
|
1283
|
+
readonly "primary-20": "--ramps-primary-20";
|
|
1284
|
+
readonly "primary-30": "--ramps-primary-30";
|
|
1285
|
+
readonly "primary-40": "--ramps-primary-40";
|
|
1286
|
+
readonly "primary-50": "--ramps-primary-50";
|
|
1287
|
+
readonly "primary-60": "--ramps-primary-60";
|
|
1288
|
+
readonly "primary-70": "--ramps-primary-70";
|
|
1289
|
+
readonly "primary-80": "--ramps-primary-80";
|
|
1290
|
+
readonly "primary-90": "--ramps-primary-90";
|
|
1291
|
+
readonly "primary-100": "--ramps-primary-100";
|
|
1292
|
+
readonly "primary-110": "--ramps-primary-110";
|
|
1293
|
+
readonly "primary-120": "--ramps-primary-120";
|
|
1294
|
+
readonly "primary-130": "--ramps-primary-130";
|
|
1295
|
+
readonly "primary-140": "--ramps-primary-140";
|
|
1296
|
+
readonly "primary-150": "--ramps-primary-150";
|
|
1297
|
+
readonly "secondary-5": "--ramps-secondary-5";
|
|
1298
|
+
readonly "secondary-10": "--ramps-secondary-10";
|
|
1299
|
+
readonly "secondary-20": "--ramps-secondary-20";
|
|
1300
|
+
readonly "secondary-30": "--ramps-secondary-30";
|
|
1301
|
+
readonly "secondary-40": "--ramps-secondary-40";
|
|
1302
|
+
readonly "secondary-50": "--ramps-secondary-50";
|
|
1303
|
+
readonly "secondary-60": "--ramps-secondary-60";
|
|
1304
|
+
readonly "secondary-70": "--ramps-secondary-70";
|
|
1305
|
+
readonly "secondary-80": "--ramps-secondary-80";
|
|
1306
|
+
readonly "secondary-90": "--ramps-secondary-90";
|
|
1307
|
+
readonly "secondary-100": "--ramps-secondary-100";
|
|
1308
|
+
readonly "secondary-110": "--ramps-secondary-110";
|
|
1309
|
+
readonly "secondary-120": "--ramps-secondary-120";
|
|
1310
|
+
readonly "secondary-130": "--ramps-secondary-130";
|
|
1311
|
+
readonly "secondary-140": "--ramps-secondary-140";
|
|
1312
|
+
readonly "secondary-150": "--ramps-secondary-150";
|
|
1313
|
+
readonly "tertiary-5": "--ramps-tertiary-5";
|
|
1314
|
+
readonly "tertiary-10": "--ramps-tertiary-10";
|
|
1315
|
+
readonly "tertiary-20": "--ramps-tertiary-20";
|
|
1316
|
+
readonly "tertiary-30": "--ramps-tertiary-30";
|
|
1317
|
+
readonly "tertiary-40": "--ramps-tertiary-40";
|
|
1318
|
+
readonly "tertiary-50": "--ramps-tertiary-50";
|
|
1319
|
+
readonly "tertiary-60": "--ramps-tertiary-60";
|
|
1320
|
+
readonly "tertiary-70": "--ramps-tertiary-70";
|
|
1321
|
+
readonly "tertiary-80": "--ramps-tertiary-80";
|
|
1322
|
+
readonly "tertiary-90": "--ramps-tertiary-90";
|
|
1323
|
+
readonly "tertiary-100": "--ramps-tertiary-100";
|
|
1324
|
+
readonly "tertiary-110": "--ramps-tertiary-110";
|
|
1325
|
+
readonly "tertiary-120": "--ramps-tertiary-120";
|
|
1326
|
+
readonly "tertiary-130": "--ramps-tertiary-130";
|
|
1327
|
+
readonly "tertiary-140": "--ramps-tertiary-140";
|
|
1328
|
+
readonly "tertiary-150": "--ramps-tertiary-150";
|
|
1329
|
+
readonly "grey-5": "--ramps-grey-5";
|
|
1330
|
+
readonly "grey-10": "--ramps-grey-10";
|
|
1331
|
+
readonly "grey-20": "--ramps-grey-20";
|
|
1332
|
+
readonly "grey-30": "--ramps-grey-30";
|
|
1333
|
+
readonly "grey-40": "--ramps-grey-40";
|
|
1334
|
+
readonly "grey-50": "--ramps-grey-50";
|
|
1335
|
+
readonly "grey-60": "--ramps-grey-60";
|
|
1336
|
+
readonly "grey-70": "--ramps-grey-70";
|
|
1337
|
+
readonly "grey-80": "--ramps-grey-80";
|
|
1338
|
+
readonly "grey-90": "--ramps-grey-90";
|
|
1339
|
+
readonly "grey-100": "--ramps-grey-100";
|
|
1340
|
+
readonly "grey-110": "--ramps-grey-110";
|
|
1341
|
+
readonly "grey-120": "--ramps-grey-120";
|
|
1342
|
+
readonly "grey-130": "--ramps-grey-130";
|
|
1343
|
+
readonly "grey-140": "--ramps-grey-140";
|
|
1344
|
+
readonly "grey-150": "--ramps-grey-150";
|
|
1345
|
+
readonly "grey2-50": "--ramps-grey2-50";
|
|
1346
|
+
readonly "grey2-100": "--ramps-grey2-100";
|
|
1347
|
+
readonly "grey2-200": "--ramps-grey2-200";
|
|
1348
|
+
readonly "grey2-300": "--ramps-grey2-300";
|
|
1349
|
+
readonly "grey2-400": "--ramps-grey2-400";
|
|
1350
|
+
readonly "grey2-500": "--ramps-grey2-500";
|
|
1351
|
+
readonly "grey2-600": "--ramps-grey2-600";
|
|
1352
|
+
readonly "grey2-700": "--ramps-grey2-700";
|
|
1353
|
+
readonly "grey2-800": "--ramps-grey2-800";
|
|
1354
|
+
readonly "grey2-900": "--ramps-grey2-900";
|
|
1355
|
+
readonly "grey2-950": "--ramps-grey2-950";
|
|
1356
|
+
readonly "info-50": "--ramps-info-50";
|
|
1357
|
+
readonly "info-100": "--ramps-info-100";
|
|
1358
|
+
readonly "info-200": "--ramps-info-200";
|
|
1359
|
+
readonly "info-300": "--ramps-info-300";
|
|
1360
|
+
readonly "info-400": "--ramps-info-400";
|
|
1361
|
+
readonly "info-500": "--ramps-info-500";
|
|
1362
|
+
readonly "info-600": "--ramps-info-600";
|
|
1363
|
+
readonly "info-700": "--ramps-info-700";
|
|
1364
|
+
readonly "info-800": "--ramps-info-800";
|
|
1365
|
+
readonly "info-900": "--ramps-info-900";
|
|
1366
|
+
readonly "info-950": "--ramps-info-950";
|
|
1367
|
+
readonly "success-50": "--ramps-success-50";
|
|
1368
|
+
readonly "success-100": "--ramps-success-100";
|
|
1369
|
+
readonly "success-200": "--ramps-success-200";
|
|
1370
|
+
readonly "success-300": "--ramps-success-300";
|
|
1371
|
+
readonly "success-400": "--ramps-success-400";
|
|
1372
|
+
readonly "success-500": "--ramps-success-500";
|
|
1373
|
+
readonly "success-600": "--ramps-success-600";
|
|
1374
|
+
readonly "success-700": "--ramps-success-700";
|
|
1375
|
+
readonly "success-800": "--ramps-success-800";
|
|
1376
|
+
readonly "success-900": "--ramps-success-900";
|
|
1377
|
+
readonly "success-950": "--ramps-success-950";
|
|
1378
|
+
readonly "warning-50": "--ramps-warning-50";
|
|
1379
|
+
readonly "warning-100": "--ramps-warning-100";
|
|
1380
|
+
readonly "warning-200": "--ramps-warning-200";
|
|
1381
|
+
readonly "warning-300": "--ramps-warning-300";
|
|
1382
|
+
readonly "warning-400": "--ramps-warning-400";
|
|
1383
|
+
readonly "warning-500": "--ramps-warning-500";
|
|
1384
|
+
readonly "warning-600": "--ramps-warning-600";
|
|
1385
|
+
readonly "warning-700": "--ramps-warning-700";
|
|
1386
|
+
readonly "warning-800": "--ramps-warning-800";
|
|
1387
|
+
readonly "warning-900": "--ramps-warning-900";
|
|
1388
|
+
readonly "warning-950": "--ramps-warning-950";
|
|
1389
|
+
readonly "error-50": "--ramps-error-50";
|
|
1390
|
+
readonly "error-100": "--ramps-error-100";
|
|
1391
|
+
readonly "error-200": "--ramps-error-200";
|
|
1392
|
+
readonly "error-300": "--ramps-error-300";
|
|
1393
|
+
readonly "error-400": "--ramps-error-400";
|
|
1394
|
+
readonly "error-500": "--ramps-error-500";
|
|
1395
|
+
readonly "error-600": "--ramps-error-600";
|
|
1396
|
+
readonly "error-700": "--ramps-error-700";
|
|
1397
|
+
readonly "error-800": "--ramps-error-800";
|
|
1398
|
+
readonly "error-900": "--ramps-error-900";
|
|
1399
|
+
readonly "error-950": "--ramps-error-950";
|
|
1400
|
+
readonly primary: "--state-primary-default";
|
|
1401
|
+
readonly "primary-hover": "--state-primary-hover";
|
|
1402
|
+
readonly "primary-stroke": "--state-primary-stroke";
|
|
1403
|
+
readonly "primary-hover-bg": "--state-primary-hover-bg";
|
|
1404
|
+
readonly "primary-pressed": "--state-primary-pressed";
|
|
1405
|
+
readonly "primary-active": "--state-primary-active";
|
|
1406
|
+
readonly "primary-text-solid": "--state-primary-text-solid";
|
|
1407
|
+
readonly "primary-text-outline": "--state-primary-text-outline";
|
|
1408
|
+
readonly "primary-text-hover": "--state-primary-text-hover";
|
|
1409
|
+
readonly "primary-text-pressed": "--state-primary-text-pressed";
|
|
1410
|
+
readonly secondary: "--state-secondary-default";
|
|
1411
|
+
readonly "secondary-hover": "--state-secondary-hover";
|
|
1412
|
+
readonly "secondary-stroke": "--state-secondary-stroke";
|
|
1413
|
+
readonly "secondary-hover-bg": "--state-secondary-hover-bg";
|
|
1414
|
+
readonly "secondary-pressed": "--state-secondary-pressed";
|
|
1415
|
+
readonly "secondary-active": "--state-secondary-active";
|
|
1416
|
+
readonly "secondary-text-solid": "--state-secondary-text-solid";
|
|
1417
|
+
readonly "secondary-text-outline": "--state-secondary-text-outline";
|
|
1418
|
+
readonly "secondary-text-hover": "--state-secondary-text-hover";
|
|
1419
|
+
readonly "secondary-text-pressed": "--state-secondary-text-pressed";
|
|
1420
|
+
readonly tertiary: "--state-tertiary-default";
|
|
1421
|
+
readonly "tertiary-hover": "--state-tertiary-hover";
|
|
1422
|
+
readonly "tertiary-stroke": "--state-tertiary-stroke";
|
|
1423
|
+
readonly "tertiary-hover-bg": "--state-tertiary-hover-bg";
|
|
1424
|
+
readonly "tertiary-pressed": "--state-tertiary-pressed";
|
|
1425
|
+
readonly "tertiary-active": "--state-tertiary-active";
|
|
1426
|
+
readonly "tertiary-text-solid": "--state-tertiary-text-solid";
|
|
1427
|
+
readonly "tertiary-text-outline": "--state-tertiary-text-outline";
|
|
1428
|
+
readonly "tertiary-text-hover": "--state-tertiary-text-hover";
|
|
1429
|
+
readonly "tertiary-text-pressed": "--state-tertiary-text-pressed";
|
|
1430
|
+
readonly info: "--state-info-default";
|
|
1431
|
+
readonly "info-hover": "--state-info-hover";
|
|
1432
|
+
readonly "info-stroke": "--state-info-stroke";
|
|
1433
|
+
readonly "info-hover-bg": "--state-info-hover-bg";
|
|
1434
|
+
readonly "info-pressed": "--state-info-pressed";
|
|
1435
|
+
readonly "info-active": "--state-info-active";
|
|
1436
|
+
readonly "info-text-solid": "--state-info-text-solid";
|
|
1437
|
+
readonly "info-text-outline": "--state-info-text-outline";
|
|
1438
|
+
readonly "info-text-hover": "--state-info-text-hover";
|
|
1439
|
+
readonly "info-text-pressed": "--state-info-text-pressed";
|
|
1440
|
+
readonly success: "--state-success-default";
|
|
1441
|
+
readonly "success-hover": "--state-success-hover";
|
|
1442
|
+
readonly "success-stroke": "--state-success-stroke";
|
|
1443
|
+
readonly "success-hover-bg": "--state-success-hover-bg";
|
|
1444
|
+
readonly "success-pressed": "--state-success-pressed";
|
|
1445
|
+
readonly "success-active": "--state-success-active";
|
|
1446
|
+
readonly "success-text-solid": "--state-success-text-solid";
|
|
1447
|
+
readonly "success-text-outline": "--state-success-text-outline";
|
|
1448
|
+
readonly "success-text-hover": "--state-success-text-hover";
|
|
1449
|
+
readonly "success-text-pressed": "--state-success-text-pressed";
|
|
1450
|
+
readonly warning: "--state-warning-default";
|
|
1451
|
+
readonly "warning-hover": "--state-warning-hover";
|
|
1452
|
+
readonly "warning-stroke": "--state-warning-stroke";
|
|
1453
|
+
readonly "warning-hover-bg": "--state-warning-hover-bg";
|
|
1454
|
+
readonly "warning-pressed": "--state-warning-pressed";
|
|
1455
|
+
readonly "warning-active": "--state-warning-active";
|
|
1456
|
+
readonly "warning-text-solid": "--state-warning-text-solid";
|
|
1457
|
+
readonly "warning-text-outline": "--state-warning-text-outline";
|
|
1458
|
+
readonly "warning-text-hover": "--state-warning-text-hover";
|
|
1459
|
+
readonly "warning-text-pressed": "--state-warning-text-pressed";
|
|
1460
|
+
readonly error: "--state-error-default";
|
|
1461
|
+
readonly "error-hover": "--state-error-hover";
|
|
1462
|
+
readonly "error-stroke": "--state-error-stroke";
|
|
1463
|
+
readonly "error-hover-bg": "--state-error-hover-bg";
|
|
1464
|
+
readonly "error-pressed": "--state-error-pressed";
|
|
1465
|
+
readonly "error-active": "--state-error-active";
|
|
1466
|
+
readonly "error-text-solid": "--state-error-text-solid";
|
|
1467
|
+
readonly "error-text-outline": "--state-error-text-outline";
|
|
1468
|
+
readonly "error-text-hover": "--state-error-text-hover";
|
|
1469
|
+
readonly "error-text-pressed": "--state-error-text-pressed";
|
|
1470
|
+
readonly "disable-solid": "--state-disable-solid";
|
|
1471
|
+
readonly "disable-outline": "--state-disable-outline";
|
|
1306
1472
|
readonly "text-black": "--text-black";
|
|
1473
|
+
readonly "text-contrast-low": "--text-contrast-low";
|
|
1474
|
+
readonly "text-contrast-medium": "--text-contrast-medium";
|
|
1475
|
+
readonly "text-contrast-high": "--text-contrast-high";
|
|
1476
|
+
readonly "text-contrast-max": "--text-contrast-max";
|
|
1477
|
+
readonly "text-g-contrast-low": "--text-g-contrast-low";
|
|
1478
|
+
readonly "text-g-contrast-medium": "--text-g-contrast-medium";
|
|
1479
|
+
readonly "text-g-contrast-high": "--text-g-contrast-high";
|
|
1307
1480
|
readonly "text-dark": "--text-dark";
|
|
1308
1481
|
readonly "text-medium": "--text-medium";
|
|
1309
1482
|
readonly "text-light": "--text-light";
|
|
@@ -1311,15 +1484,15 @@ declare const THEME_COLOR_KEYS: {
|
|
|
1311
1484
|
readonly "text-grey-medium": "--text-grey-medium";
|
|
1312
1485
|
readonly "text-grey-light": "--text-grey-light";
|
|
1313
1486
|
readonly "text-white": "--text-white";
|
|
1314
|
-
readonly "input-default-text": "--input-
|
|
1315
|
-
readonly "input-default-stroke": "--input-
|
|
1316
|
-
readonly "input-filled-text": "--input-
|
|
1317
|
-
readonly "input-active-stroke": "--input-
|
|
1318
|
-
readonly "input-disable-text": "--input-
|
|
1319
|
-
readonly "input-disable-stroke": "--input-
|
|
1320
|
-
readonly "input-disable-bg": "--input-
|
|
1321
|
-
readonly "input-label-bg": "--input-
|
|
1322
|
-
readonly "input-error": "--input-
|
|
1487
|
+
readonly "input-default-text": "--input-default-text";
|
|
1488
|
+
readonly "input-default-stroke": "--input-default-stroke";
|
|
1489
|
+
readonly "input-filled-text": "--input-filled-text";
|
|
1490
|
+
readonly "input-active-stroke": "--input-active-stroke";
|
|
1491
|
+
readonly "input-disable-text": "--input-disable-text";
|
|
1492
|
+
readonly "input-disable-stroke": "--input-disable-stroke";
|
|
1493
|
+
readonly "input-disable-bg": "--input-disable-bg";
|
|
1494
|
+
readonly "input-label-bg": "--input-label-bg";
|
|
1495
|
+
readonly "input-error": "--input-error";
|
|
1323
1496
|
readonly "function-default-solid": "--function-default-solid";
|
|
1324
1497
|
readonly "function-default-hover": "--function-default-hover";
|
|
1325
1498
|
readonly "function-default-hover-bg": "--function-default-hover-bg";
|
|
@@ -1331,6 +1504,28 @@ declare const THEME_COLOR_KEYS: {
|
|
|
1331
1504
|
readonly "function-active-hover-bg": "--function-active-hover-bg";
|
|
1332
1505
|
readonly "function-active-stroke": "--function-active-stroke";
|
|
1333
1506
|
readonly "function-active-icon": "--function-active-icon";
|
|
1507
|
+
readonly "modal-surface": "--modal-surface";
|
|
1508
|
+
readonly "modal-highlight": "--modal-highlight";
|
|
1509
|
+
readonly "modal-overlay": "--modal-overlay";
|
|
1510
|
+
readonly "bg-bg1": "--bg-bg1";
|
|
1511
|
+
readonly "bg-bg2": "--bg-bg2";
|
|
1512
|
+
readonly "bg-bg3": "--bg-bg3";
|
|
1513
|
+
readonly "bg-stroke1": "--bg-stroke1";
|
|
1514
|
+
readonly "bg-stroke2": "--bg-stroke2";
|
|
1515
|
+
readonly "state-primary-text-solid": "--state-primary-text-solid";
|
|
1516
|
+
readonly "state-primary-text-hover": "--state-primary-text-hover";
|
|
1517
|
+
readonly "state-secondary-text-solid": "--state-secondary-text-solid";
|
|
1518
|
+
readonly "state-secondary-text-hover": "--state-secondary-text-hover";
|
|
1519
|
+
readonly "state-tertiary-text-solid": "--state-tertiary-text-solid";
|
|
1520
|
+
readonly "state-tertiary-text-hover": "--state-tertiary-text-hover";
|
|
1521
|
+
readonly "state-info-text-solid": "--state-info-text-solid";
|
|
1522
|
+
readonly "state-info-text-hover": "--state-info-text-hover";
|
|
1523
|
+
readonly "state-success-text-solid": "--state-success-text-solid";
|
|
1524
|
+
readonly "state-success-text-hover": "--state-success-text-hover";
|
|
1525
|
+
readonly "state-warning-text-solid": "--state-warning-text-solid";
|
|
1526
|
+
readonly "state-warning-text-hover": "--state-warning-text-hover";
|
|
1527
|
+
readonly "state-error-text-solid": "--state-error-text-solid";
|
|
1528
|
+
readonly "state-error-text-hover": "--state-error-text-hover";
|
|
1334
1529
|
readonly "base-bg": "--base-color-bg";
|
|
1335
1530
|
readonly "base-bg2": "--base-color-bg2";
|
|
1336
1531
|
readonly "base-bg3": "--base-color-bg3";
|
|
@@ -1342,6 +1537,54 @@ declare const THEME_COLOR_KEYS: {
|
|
|
1342
1537
|
readonly "base-popup-foreground": "--base-color-popup-foreground";
|
|
1343
1538
|
readonly "common-white": "--common-white";
|
|
1344
1539
|
readonly "common-black": "--common-black";
|
|
1540
|
+
readonly "brand-rvl-yellow": "--brand-rvl-yellow";
|
|
1541
|
+
readonly "brand-rvl-grey": "--brand-rvl-grey";
|
|
1542
|
+
readonly "others-1": "--others-1";
|
|
1543
|
+
readonly "others-2": "--others-2";
|
|
1544
|
+
readonly "others-3": "--others-3";
|
|
1545
|
+
readonly "others-4": "--others-4";
|
|
1546
|
+
readonly "others-5": "--others-5";
|
|
1547
|
+
readonly "others-6": "--others-6";
|
|
1548
|
+
readonly "others-7": "--others-7";
|
|
1549
|
+
readonly "others-8": "--others-8";
|
|
1550
|
+
readonly "others-9": "--others-9";
|
|
1551
|
+
readonly "others-10": "--others-10";
|
|
1552
|
+
readonly "others-11": "--others-11";
|
|
1553
|
+
readonly "others-12": "--others-12";
|
|
1554
|
+
readonly "others-13": "--others-13";
|
|
1555
|
+
readonly "others-14": "--others-14";
|
|
1556
|
+
readonly "others-15": "--others-15";
|
|
1557
|
+
readonly "others-16": "--others-16";
|
|
1558
|
+
readonly "others-17": "--others-17";
|
|
1559
|
+
readonly "others-18": "--others-18";
|
|
1560
|
+
readonly "others-19": "--others-19";
|
|
1561
|
+
readonly "others-20": "--others-20";
|
|
1562
|
+
readonly "others-21": "--others-21";
|
|
1563
|
+
readonly "others-22": "--others-22";
|
|
1564
|
+
readonly "others-23": "--others-23";
|
|
1565
|
+
readonly "others-24": "--others-24";
|
|
1566
|
+
readonly "others-25": "--others-25";
|
|
1567
|
+
readonly "others-26": "--others-26";
|
|
1568
|
+
readonly "others-27": "--others-27";
|
|
1569
|
+
readonly "others-28": "--others-28";
|
|
1570
|
+
readonly "others-29": "--others-29";
|
|
1571
|
+
readonly "others-30": "--others-30";
|
|
1572
|
+
readonly "others-31": "--others-31";
|
|
1573
|
+
readonly "others-32": "--others-32";
|
|
1574
|
+
readonly "others-33": "--others-33";
|
|
1575
|
+
readonly "others-34": "--others-34";
|
|
1576
|
+
readonly "others-35": "--others-35";
|
|
1577
|
+
readonly "page-bg-main": "--page-bg-main";
|
|
1578
|
+
readonly "page-bg-circle-top-g-in": "--page-bg-circle-top-g-in";
|
|
1579
|
+
readonly "page-bg-circle-top-g-out": "--page-bg-circle-top-g-out";
|
|
1580
|
+
readonly "page-bg-circle-bottom-g-in": "--page-bg-circle-bottom-g-in";
|
|
1581
|
+
readonly "page-bg-circle-bottom-g-out": "--page-bg-circle-bottom-g-out";
|
|
1582
|
+
readonly "modal-line": "--modal-line";
|
|
1583
|
+
readonly "bg-bg4": "--bg-bg4";
|
|
1584
|
+
readonly "bg-bg5": "--bg-bg5";
|
|
1585
|
+
readonly "bg-stroke3": "--bg-stroke3";
|
|
1586
|
+
readonly "bg-stroke4": "--bg-stroke4";
|
|
1587
|
+
readonly "bg-stroke5": "--bg-stroke5";
|
|
1345
1588
|
readonly background: "--background";
|
|
1346
1589
|
readonly foreground: "--foreground";
|
|
1347
1590
|
readonly surface: "--surface";
|
|
@@ -1355,72 +1598,72 @@ declare const THEME_COLOR_KEYS: {
|
|
|
1355
1598
|
readonly "error-foreground": "--error-foreground";
|
|
1356
1599
|
readonly "grey-foreground": "--grey-foreground";
|
|
1357
1600
|
readonly "grey2-foreground": "--grey2-foreground";
|
|
1358
|
-
readonly "primary-transparent-8": "--
|
|
1359
|
-
readonly "primary-transparent-12": "--
|
|
1360
|
-
readonly "primary-transparent-16": "--
|
|
1361
|
-
readonly "primary-transparent-24": "--
|
|
1362
|
-
readonly "primary-transparent-32": "--
|
|
1363
|
-
readonly "primary-transparent-48": "--
|
|
1364
|
-
readonly "secondary-transparent-8": "--
|
|
1365
|
-
readonly "secondary-transparent-12": "--
|
|
1366
|
-
readonly "secondary-transparent-16": "--
|
|
1367
|
-
readonly "secondary-transparent-24": "--
|
|
1368
|
-
readonly "secondary-transparent-32": "--
|
|
1369
|
-
readonly "secondary-transparent-48": "--
|
|
1370
|
-
readonly "tertiary-transparent-8": "--
|
|
1371
|
-
readonly "tertiary-transparent-12": "--
|
|
1372
|
-
readonly "tertiary-transparent-16": "--
|
|
1373
|
-
readonly "tertiary-transparent-24": "--
|
|
1374
|
-
readonly "tertiary-transparent-32": "--
|
|
1375
|
-
readonly "tertiary-transparent-48": "--
|
|
1376
|
-
readonly "info-transparent-8": "--
|
|
1377
|
-
readonly "info-transparent-12": "--
|
|
1378
|
-
readonly "info-transparent-16": "--
|
|
1379
|
-
readonly "info-transparent-24": "--
|
|
1380
|
-
readonly "info-transparent-32": "--
|
|
1381
|
-
readonly "info-transparent-48": "--
|
|
1382
|
-
readonly "success-transparent-8": "--
|
|
1383
|
-
readonly "success-transparent-12": "--
|
|
1384
|
-
readonly "success-transparent-16": "--
|
|
1385
|
-
readonly "success-transparent-24": "--
|
|
1386
|
-
readonly "success-transparent-32": "--
|
|
1387
|
-
readonly "success-transparent-48": "--
|
|
1388
|
-
readonly "warning-transparent-8": "--
|
|
1389
|
-
readonly "warning-transparent-12": "--
|
|
1390
|
-
readonly "warning-transparent-16": "--
|
|
1391
|
-
readonly "warning-transparent-24": "--
|
|
1392
|
-
readonly "warning-transparent-32": "--
|
|
1393
|
-
readonly "warning-transparent-48": "--
|
|
1394
|
-
readonly "error-transparent-8": "--
|
|
1395
|
-
readonly "error-transparent-12": "--
|
|
1396
|
-
readonly "error-transparent-16": "--
|
|
1397
|
-
readonly "error-transparent-24": "--
|
|
1398
|
-
readonly "error-transparent-32": "--
|
|
1399
|
-
readonly "error-transparent-48": "--
|
|
1400
|
-
readonly "grey-transparent-8": "--
|
|
1401
|
-
readonly "grey-transparent-12": "--
|
|
1402
|
-
readonly "grey-transparent-16": "--
|
|
1403
|
-
readonly "grey-transparent-24": "--
|
|
1404
|
-
readonly "grey-transparent-32": "--
|
|
1405
|
-
readonly "grey-transparent-48": "--
|
|
1406
|
-
readonly "grey2-transparent-8": "--
|
|
1407
|
-
readonly "grey2-transparent-12": "--
|
|
1408
|
-
readonly "grey2-transparent-16": "--
|
|
1409
|
-
readonly "grey2-transparent-24": "--
|
|
1410
|
-
readonly "grey2-transparent-32": "--
|
|
1411
|
-
readonly "grey2-transparent-48": "--
|
|
1412
|
-
readonly "white-transparent-8": "--
|
|
1413
|
-
readonly "white-transparent-12": "--
|
|
1414
|
-
readonly "white-transparent-16": "--
|
|
1415
|
-
readonly "white-transparent-24": "--
|
|
1416
|
-
readonly "white-transparent-32": "--
|
|
1417
|
-
readonly "white-transparent-48": "--
|
|
1418
|
-
readonly "black-transparent-8": "--
|
|
1419
|
-
readonly "black-transparent-12": "--
|
|
1420
|
-
readonly "black-transparent-16": "--
|
|
1421
|
-
readonly "black-transparent-24": "--
|
|
1422
|
-
readonly "black-transparent-32": "--
|
|
1423
|
-
readonly "black-transparent-48": "--
|
|
1601
|
+
readonly "primary-transparent-8": "--transparent-primary-8";
|
|
1602
|
+
readonly "primary-transparent-12": "--transparent-primary-12";
|
|
1603
|
+
readonly "primary-transparent-16": "--transparent-primary-16";
|
|
1604
|
+
readonly "primary-transparent-24": "--transparent-primary-24";
|
|
1605
|
+
readonly "primary-transparent-32": "--transparent-primary-32";
|
|
1606
|
+
readonly "primary-transparent-48": "--transparent-primary-48";
|
|
1607
|
+
readonly "secondary-transparent-8": "--transparent-secondary-8";
|
|
1608
|
+
readonly "secondary-transparent-12": "--transparent-secondary-12";
|
|
1609
|
+
readonly "secondary-transparent-16": "--transparent-secondary-16";
|
|
1610
|
+
readonly "secondary-transparent-24": "--transparent-secondary-24";
|
|
1611
|
+
readonly "secondary-transparent-32": "--transparent-secondary-32";
|
|
1612
|
+
readonly "secondary-transparent-48": "--transparent-secondary-48";
|
|
1613
|
+
readonly "tertiary-transparent-8": "--transparent-tertiary-8";
|
|
1614
|
+
readonly "tertiary-transparent-12": "--transparent-tertiary-12";
|
|
1615
|
+
readonly "tertiary-transparent-16": "--transparent-tertiary-16";
|
|
1616
|
+
readonly "tertiary-transparent-24": "--transparent-tertiary-24";
|
|
1617
|
+
readonly "tertiary-transparent-32": "--transparent-tertiary-32";
|
|
1618
|
+
readonly "tertiary-transparent-48": "--transparent-tertiary-48";
|
|
1619
|
+
readonly "info-transparent-8": "--transparent-info-8";
|
|
1620
|
+
readonly "info-transparent-12": "--transparent-info-12";
|
|
1621
|
+
readonly "info-transparent-16": "--transparent-info-16";
|
|
1622
|
+
readonly "info-transparent-24": "--transparent-info-24";
|
|
1623
|
+
readonly "info-transparent-32": "--transparent-info-32";
|
|
1624
|
+
readonly "info-transparent-48": "--transparent-info-48";
|
|
1625
|
+
readonly "success-transparent-8": "--transparent-success-8";
|
|
1626
|
+
readonly "success-transparent-12": "--transparent-success-12";
|
|
1627
|
+
readonly "success-transparent-16": "--transparent-success-16";
|
|
1628
|
+
readonly "success-transparent-24": "--transparent-success-24";
|
|
1629
|
+
readonly "success-transparent-32": "--transparent-success-32";
|
|
1630
|
+
readonly "success-transparent-48": "--transparent-success-48";
|
|
1631
|
+
readonly "warning-transparent-8": "--transparent-warning-8";
|
|
1632
|
+
readonly "warning-transparent-12": "--transparent-warning-12";
|
|
1633
|
+
readonly "warning-transparent-16": "--transparent-warning-16";
|
|
1634
|
+
readonly "warning-transparent-24": "--transparent-warning-24";
|
|
1635
|
+
readonly "warning-transparent-32": "--transparent-warning-32";
|
|
1636
|
+
readonly "warning-transparent-48": "--transparent-warning-48";
|
|
1637
|
+
readonly "error-transparent-8": "--transparent-error-8";
|
|
1638
|
+
readonly "error-transparent-12": "--transparent-error-12";
|
|
1639
|
+
readonly "error-transparent-16": "--transparent-error-16";
|
|
1640
|
+
readonly "error-transparent-24": "--transparent-error-24";
|
|
1641
|
+
readonly "error-transparent-32": "--transparent-error-32";
|
|
1642
|
+
readonly "error-transparent-48": "--transparent-error-48";
|
|
1643
|
+
readonly "grey-transparent-8": "--transparent-grey-8";
|
|
1644
|
+
readonly "grey-transparent-12": "--transparent-grey-12";
|
|
1645
|
+
readonly "grey-transparent-16": "--transparent-grey-16";
|
|
1646
|
+
readonly "grey-transparent-24": "--transparent-grey-24";
|
|
1647
|
+
readonly "grey-transparent-32": "--transparent-grey-32";
|
|
1648
|
+
readonly "grey-transparent-48": "--transparent-grey-48";
|
|
1649
|
+
readonly "grey2-transparent-8": "--transparent-grey2-8";
|
|
1650
|
+
readonly "grey2-transparent-12": "--transparent-grey2-12";
|
|
1651
|
+
readonly "grey2-transparent-16": "--transparent-grey2-16";
|
|
1652
|
+
readonly "grey2-transparent-24": "--transparent-grey2-24";
|
|
1653
|
+
readonly "grey2-transparent-32": "--transparent-grey2-32";
|
|
1654
|
+
readonly "grey2-transparent-48": "--transparent-grey2-48";
|
|
1655
|
+
readonly "white-transparent-8": "--transparent-white-8";
|
|
1656
|
+
readonly "white-transparent-12": "--transparent-white-12";
|
|
1657
|
+
readonly "white-transparent-16": "--transparent-white-16";
|
|
1658
|
+
readonly "white-transparent-24": "--transparent-white-24";
|
|
1659
|
+
readonly "white-transparent-32": "--transparent-white-32";
|
|
1660
|
+
readonly "white-transparent-48": "--transparent-white-48";
|
|
1661
|
+
readonly "black-transparent-8": "--transparent-black-8";
|
|
1662
|
+
readonly "black-transparent-12": "--transparent-black-12";
|
|
1663
|
+
readonly "black-transparent-16": "--transparent-black-16";
|
|
1664
|
+
readonly "black-transparent-24": "--transparent-black-24";
|
|
1665
|
+
readonly "black-transparent-32": "--transparent-black-32";
|
|
1666
|
+
readonly "black-transparent-48": "--transparent-black-48";
|
|
1424
1667
|
};
|
|
1425
1668
|
type ThemeColorKey = keyof typeof THEME_COLOR_KEYS;
|
|
1426
1669
|
/**
|
|
@@ -1429,7 +1672,7 @@ type ThemeColorKey = keyof typeof THEME_COLOR_KEYS;
|
|
|
1429
1672
|
*
|
|
1430
1673
|
* @example
|
|
1431
1674
|
* const primary = getThemeColor('primary');
|
|
1432
|
-
* const hex = getThemeColor('--
|
|
1675
|
+
* const hex = getThemeColor('--ramps-primary-100');
|
|
1433
1676
|
*/
|
|
1434
1677
|
declare function getThemeColor(keyOrVar: ThemeColorKey | string, element?: HTMLElement | Document): string;
|
|
1435
1678
|
/**
|
|
@@ -1452,4 +1695,4 @@ declare const srgbToHex: (color: string) => string;
|
|
|
1452
1695
|
*/
|
|
1453
1696
|
declare function getLucideIconNames(): Promise<string[]>;
|
|
1454
1697
|
|
|
1455
|
-
export { ActionButton, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, type ButtonProps, Calendar, Checkbox, Collapsible, type CustomSliderProps, DataTable, type DataTableProps, DatePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dropdown, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type DropdownProps, FocusedScrollView, Footer, type FooterProps, type FooterVariant, Icon, Input, InputFilter, type InputFilterProps, type InputProps, Label, Loading, type MaskRule, MaskedTextInput, type MaskedTextInputProps, Menu, MenuItem, type MenuItemType, MenuLabel, type MenuOption, type MenuProps, MenuSeparator, Navbar, type NavbarProps, type NavbarVariant, NumberInput, type NumberInputProps, type Options$1 as Options, PasswordInput, type PasswordInputProps, Popover, PopoverContent, PopoverTrigger, ProgressBar, RadioGroup, RadioGroupItem, Search, type SearchProps, Slider, type SliderProps, Switch, THEME_COLOR_KEYS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, Text, TextArea, type TextAreaProps, TextInput, type ThemeColorKey, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipSimple, TooltipTrigger, Tree, type TreeData, TreeItem, type TreeItemProps, type TreeProps, cn, getEndDateOfDay, getLucideIconNames, getStartDateOfDay, getStartEndTimestampOfDay, getThemeColor, getThemeColors, getTimestampUTC, reducer, resloveTimestamp, srgbToHex, toast, usePrevious, useToast };
|
|
1698
|
+
export { ActionButton, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, type ButtonProps, Calendar, Checkbox, Collapsible, type ControlledFormFactoryOptions, type CustomSliderProps, DataTable, type DataTableProps, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dropdown, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type DropdownProps, Field, FieldMessage, type FieldMessageProps, type FieldProps, FocusedScrollView, Footer, type FooterProps, type FooterVariant, Form, type FormController, type FormProps, Icon, Input, InputFilter, type InputFilterProps, type InputProps, Label, Loading, type MaskRule, MaskedTextInput, type MaskedTextInputProps, Menu, MenuItem, type MenuItemType, MenuLabel, type MenuOption, type MenuProps, MenuSeparator, Navbar, type NavbarProps, type NavbarVariant, NumberInput, type NumberInputProps, type OptionLike, type Options$1 as Options, OtpInput, OtpInputGroup, type OtpInputGroupProps, type OtpInputProps, PasswordInput, type PasswordInputProps, Popover, PopoverContent, PopoverTrigger, ProgressBar, RadioGroup, RadioGroupItem, Search, type SearchProps, Slider, type SliderProps, Switch, THEME_COLOR_KEYS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, Text, TextArea, type TextAreaProps, TextInput, type ThemeColorKey, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipSimple, TooltipTrigger, Tree, type TreeData, TreeItem, type TreeItemProps, type TreeProps, type UseControlledFormOptions, type UseOptionBridgeOptions, ValidationHintList, type ValidationHintListProps, type ValidationHintMode, type ValidationHintRule, type ValidationHintState, cn, createControlledForm, createYupResolver, getEndDateOfDay, getLucideIconNames, getStartDateOfDay, getStartEndTimestampOfDay, getThemeColor, getThemeColors, getTimestampUTC, reducer, resloveTimestamp, srgbToHex, toast, useControlledForm, useOptionBridge, usePrevious, useToast };
|