moduix 0.11.0 → 0.11.2
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/LICENSE.md +21 -0
- package/README.md +13 -3
- package/dist/components/Accordion/Accordion.css +99 -0
- package/dist/components/Accordion/Accordion.d.ts +17 -9
- package/dist/components/Accordion/Accordion.js +60 -0
- package/dist/components/Accordion/Accordion.module.js +12 -0
- package/dist/components/Accordion/index.d.ts +1 -1
- package/dist/components/Alert/Alert.css +114 -0
- package/dist/components/Alert/Alert.d.ts +30 -10
- package/dist/components/Alert/Alert.js +44 -0
- package/dist/components/Alert/Alert.module.js +11 -0
- package/dist/components/Alert/index.d.ts +1 -1
- package/dist/components/AlertDialog/AlertDialog.css +159 -0
- package/dist/components/AlertDialog/AlertDialog.d.ts +66 -19
- package/dist/components/AlertDialog/AlertDialog.js +107 -0
- package/dist/components/AlertDialog/AlertDialog.module.js +18 -0
- package/dist/components/AlertDialog/index.d.ts +1 -1
- package/dist/components/AspectRatio/AspectRatio.css +14 -0
- package/dist/components/AspectRatio/AspectRatio.d.ts +12 -5
- package/dist/components/AspectRatio/AspectRatio.js +24 -0
- package/dist/components/AspectRatio/AspectRatio.module.js +5 -0
- package/dist/components/AspectRatio/index.d.ts +1 -2
- package/dist/components/Autocomplete/Autocomplete.css +454 -0
- package/dist/components/Autocomplete/Autocomplete.d.ts +40 -37
- package/dist/components/Autocomplete/Autocomplete.js +271 -0
- package/dist/components/Autocomplete/Autocomplete.module.js +37 -0
- package/dist/components/Autocomplete/index.d.ts +1 -1
- package/dist/components/Avatar/Avatar.css +74 -0
- package/dist/components/Avatar/Avatar.d.ts +19 -6
- package/dist/components/Avatar/Avatar.js +29 -0
- package/dist/components/Avatar/Avatar.module.js +9 -0
- package/dist/components/Avatar/index.d.ts +1 -1
- package/dist/components/Badge/Badge.css +66 -0
- package/dist/components/Badge/Badge.d.ts +15 -6
- package/dist/components/Badge/Badge.js +22 -0
- package/dist/components/Badge/Badge.module.js +8 -0
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Bleed/Bleed.css +51 -0
- package/dist/components/Bleed/Bleed.d.ts +15 -6
- package/dist/components/Bleed/Bleed.js +15 -0
- package/dist/components/Bleed/Bleed.module.js +5 -0
- package/dist/components/Bleed/index.d.ts +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.css +88 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +38 -10
- package/dist/components/Breadcrumbs/Breadcrumbs.js +66 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.module.js +13 -0
- package/dist/components/Breadcrumbs/index.d.ts +1 -1
- package/dist/components/Button/Button.css +194 -0
- package/dist/components/Button/Button.d.ts +9 -7
- package/dist/components/Button/Button.js +18 -0
- package/dist/components/Button/Button.module.js +5 -0
- package/dist/components/Button/index.d.ts +1 -2
- package/dist/components/Card/Card.css +136 -0
- package/dist/components/Card/Card.d.ts +45 -15
- package/dist/components/Card/Card.js +72 -0
- package/dist/components/Card/Card.module.js +14 -0
- package/dist/components/Card/index.d.ts +1 -2
- package/dist/components/Checkbox/Checkbox.css +131 -0
- package/dist/components/Checkbox/Checkbox.d.ts +27 -10
- package/dist/components/Checkbox/Checkbox.js +59 -0
- package/dist/components/Checkbox/Checkbox.module.js +13 -0
- package/dist/components/Checkbox/index.d.ts +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.css +33 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +27 -9
- package/dist/components/CheckboxGroup/CheckboxGroup.js +50 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.module.js +11 -0
- package/dist/components/CheckboxGroup/index.d.ts +1 -1
- package/dist/components/CloseButton/CloseButton.css +49 -0
- package/dist/components/CloseButton/CloseButton.d.ts +4 -2
- package/dist/components/CloseButton/CloseButton.js +22 -0
- package/dist/components/CloseButton/CloseButton.module.js +5 -0
- package/dist/components/Collapsible/Collapsible.css +92 -0
- package/dist/components/Collapsible/Collapsible.d.ts +14 -6
- package/dist/components/Collapsible/Collapsible.js +44 -0
- package/dist/components/Collapsible/Collapsible.module.js +10 -0
- package/dist/components/Collapsible/index.d.ts +1 -1
- package/dist/components/Combobox/Combobox.css +497 -0
- package/dist/components/Combobox/Combobox.d.ts +58 -43
- package/dist/components/Combobox/Combobox.js +295 -0
- package/dist/components/Combobox/Combobox.module.js +42 -0
- package/dist/components/Combobox/index.d.ts +1 -1
- package/dist/components/CommandPalette/CommandPalette.css +375 -0
- package/dist/components/CommandPalette/CommandPalette.d.ts +134 -42
- package/dist/components/CommandPalette/CommandPalette.js +278 -0
- package/dist/components/CommandPalette/CommandPalette.module.js +30 -0
- package/dist/components/CommandPalette/index.d.ts +1 -1
- package/dist/components/Container/Container.css +45 -0
- package/dist/components/Container/Container.d.ts +15 -6
- package/dist/components/Container/Container.js +15 -0
- package/dist/components/Container/Container.module.js +5 -0
- package/dist/components/Container/index.d.ts +1 -1
- package/dist/components/ContextMenu/ContextMenu.css +308 -0
- package/dist/components/ContextMenu/ContextMenu.d.ts +131 -38
- package/dist/components/ContextMenu/ContextMenu.js +215 -0
- package/dist/components/ContextMenu/ContextMenu.module.js +33 -0
- package/dist/components/ContextMenu/index.d.ts +1 -2
- package/dist/components/CopyButton/CopyButton.css +14 -0
- package/dist/components/CopyButton/CopyButton.d.ts +14 -13
- package/dist/components/CopyButton/CopyButton.js +66 -0
- package/dist/components/CopyButton/CopyButton.module.js +5 -0
- package/dist/components/CopyButton/index.d.ts +1 -2
- package/dist/components/Dialog/Dialog.css +186 -0
- package/dist/components/Dialog/Dialog.d.ts +68 -18
- package/dist/components/Dialog/Dialog.js +122 -0
- package/dist/components/Dialog/Dialog.module.js +18 -0
- package/dist/components/Dialog/index.d.ts +1 -1
- package/dist/components/Drawer/Drawer.css +483 -0
- package/dist/components/Drawer/Drawer.d.ts +95 -27
- package/dist/components/Drawer/Drawer.js +182 -0
- package/dist/components/Drawer/Drawer.module.js +24 -0
- package/dist/components/Drawer/index.d.ts +1 -1
- package/dist/components/Empty/Empty.css +78 -0
- package/dist/components/Empty/Empty.d.ts +31 -9
- package/dist/components/Empty/Empty.js +48 -0
- package/dist/components/Empty/Empty.module.js +12 -0
- package/dist/components/Empty/index.d.ts +1 -1
- package/dist/components/Field/Field.css +86 -0
- package/dist/components/Field/Field.d.ts +30 -9
- package/dist/components/Field/Field.js +50 -0
- package/dist/components/Field/Field.module.js +12 -0
- package/dist/components/Field/index.d.ts +1 -1
- package/dist/components/Fieldset/Fieldset.css +39 -0
- package/dist/components/Fieldset/Fieldset.d.ts +13 -4
- package/dist/components/Fieldset/Fieldset.js +21 -0
- package/dist/components/Fieldset/Fieldset.module.js +8 -0
- package/dist/components/Fieldset/index.d.ts +1 -1
- package/dist/components/Form/Form.css +9 -0
- package/dist/components/Form/Form.d.ts +6 -3
- package/dist/components/Form/Form.js +16 -0
- package/dist/components/Form/Form.module.js +5 -0
- package/dist/components/Form/index.d.ts +1 -1
- package/dist/components/Heading/Heading.css +50 -0
- package/dist/components/Heading/Heading.d.ts +21 -13
- package/dist/components/Heading/Heading.js +23 -0
- package/dist/components/Heading/Heading.module.js +5 -0
- package/dist/components/Heading/index.d.ts +1 -1
- package/dist/components/Input/Input.css +78 -0
- package/dist/components/Input/Input.d.ts +10 -8
- package/dist/components/Input/Input.js +18 -0
- package/dist/components/Input/Input.module.js +5 -0
- package/dist/components/Input/index.d.ts +1 -2
- package/dist/components/InputGroup/InputGroup.css +160 -0
- package/dist/components/InputGroup/InputGroup.d.ts +14 -10
- package/dist/components/InputGroup/InputGroup.js +73 -0
- package/dist/components/InputGroup/InputGroup.module.js +11 -0
- package/dist/components/InputGroup/index.d.ts +1 -1
- package/dist/components/Kbd/Kbd.css +49 -0
- package/dist/components/Kbd/Kbd.d.ts +13 -4
- package/dist/components/Kbd/Kbd.js +20 -0
- package/dist/components/Kbd/Kbd.module.js +8 -0
- package/dist/components/Kbd/index.d.ts +1 -1
- package/dist/components/Lightbox/Lightbox.css +114 -0
- package/dist/components/Lightbox/Lightbox.d.ts +81 -28
- package/dist/components/Lightbox/Lightbox.js +208 -0
- package/dist/components/Lightbox/Lightbox.module.js +14 -0
- package/dist/components/Lightbox/index.d.ts +1 -1
- package/dist/components/List/List.css +114 -0
- package/dist/components/List/List.d.ts +26 -12
- package/dist/components/List/List.js +28 -0
- package/dist/components/List/List.module.js +5 -0
- package/dist/components/List/index.d.ts +1 -1
- package/dist/components/Menu/Menu.css +377 -0
- package/dist/components/Menu/Menu.d.ts +141 -41
- package/dist/components/Menu/Menu.js +231 -0
- package/dist/components/Menu/Menu.module.js +36 -0
- package/dist/components/Menu/index.d.ts +1 -2
- package/dist/components/Menubar/Menubar.css +387 -0
- package/dist/components/Menubar/Menubar.d.ts +144 -42
- package/dist/components/Menubar/Menubar.js +232 -0
- package/dist/components/Menubar/Menubar.module.js +36 -0
- package/dist/components/Menubar/index.d.ts +1 -2
- package/dist/components/Meter/Meter.css +46 -0
- package/dist/components/Meter/Meter.d.ts +9 -7
- package/dist/components/Meter/Meter.js +55 -0
- package/dist/components/Meter/Meter.module.js +11 -0
- package/dist/components/NavigationMenu/NavigationMenu.css +319 -0
- package/dist/components/NavigationMenu/NavigationMenu.d.ts +81 -22
- package/dist/components/NavigationMenu/NavigationMenu.js +134 -0
- package/dist/components/NavigationMenu/NavigationMenu.module.js +21 -0
- package/dist/components/NavigationMenu/index.d.ts +1 -2
- package/dist/components/NumberField/NumberField.css +158 -0
- package/dist/components/NumberField/NumberField.d.ts +48 -14
- package/dist/components/NumberField/NumberField.js +75 -0
- package/dist/components/NumberField/NumberField.module.js +13 -0
- package/dist/components/NumberField/index.d.ts +1 -2
- package/dist/components/OTPField/OTPField.css +78 -0
- package/dist/components/OTPField/OTPField.d.ts +19 -5
- package/dist/components/OTPField/OTPField.js +39 -0
- package/dist/components/OTPField/OTPField.module.js +9 -0
- package/dist/components/OTPField/index.d.ts +1 -1
- package/dist/components/Pagination/Pagination.css +103 -0
- package/dist/components/Pagination/Pagination.d.ts +60 -22
- package/dist/components/Pagination/Pagination.js +116 -0
- package/dist/components/Pagination/Pagination.module.js +16 -0
- package/dist/components/Pagination/index.d.ts +1 -1
- package/dist/components/PasswordInput/PasswordInput.css +19 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts +14 -12
- package/dist/components/PasswordInput/PasswordInput.js +47 -0
- package/dist/components/PasswordInput/PasswordInput.module.js +9 -0
- package/dist/components/PasswordInput/index.d.ts +1 -2
- package/dist/components/Popover/Popover.css +200 -0
- package/dist/components/Popover/Popover.d.ts +79 -22
- package/dist/components/Popover/Popover.js +131 -0
- package/dist/components/Popover/Popover.module.js +22 -0
- package/dist/components/Popover/index.d.ts +1 -1
- package/dist/components/PreviewCard/PreviewCard.css +136 -0
- package/dist/components/PreviewCard/PreviewCard.d.ts +51 -15
- package/dist/components/PreviewCard/PreviewCard.js +87 -0
- package/dist/components/PreviewCard/PreviewCard.module.js +16 -0
- package/dist/components/PreviewCard/index.d.ts +1 -1
- package/dist/components/Progress/Progress.css +68 -0
- package/dist/components/Progress/Progress.d.ts +9 -7
- package/dist/components/Progress/Progress.js +55 -0
- package/dist/components/Progress/Progress.module.js +12 -0
- package/dist/components/Radio/Radio.css +141 -0
- package/dist/components/Radio/Radio.d.ts +39 -14
- package/dist/components/Radio/Radio.js +71 -0
- package/dist/components/Radio/Radio.module.js +14 -0
- package/dist/components/Radio/index.d.ts +1 -1
- package/dist/components/Rating/Rating.css +79 -0
- package/dist/components/Rating/Rating.d.ts +12 -10
- package/dist/components/Rating/Rating.js +61 -0
- package/dist/components/Rating/Rating.module.js +9 -0
- package/dist/components/Rating/index.d.ts +1 -2
- package/dist/components/ScrollArea/ScrollArea.css +205 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +16 -13
- package/dist/components/ScrollArea/ScrollArea.js +76 -0
- package/dist/components/ScrollArea/ScrollArea.module.js +12 -0
- package/dist/components/ScrollArea/index.d.ts +1 -1
- package/dist/components/Select/Select.css +357 -0
- package/dist/components/Select/Select.d.ts +116 -30
- package/dist/components/Select/Select.js +196 -0
- package/dist/components/Select/Select.module.js +33 -0
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/Separator/Separator.css +17 -0
- package/dist/components/Separator/Separator.d.ts +4 -2
- package/dist/components/Separator/Separator.js +16 -0
- package/dist/components/Separator/Separator.module.js +5 -0
- package/dist/components/Skeleton/Skeleton.css +21 -0
- package/dist/components/Skeleton/Skeleton.d.ts +22 -9
- package/dist/components/Skeleton/Skeleton.js +25 -0
- package/dist/components/Skeleton/Skeleton.module.js +5 -0
- package/dist/components/Skeleton/index.d.ts +1 -1
- package/dist/components/Slider/Slider.css +115 -0
- package/dist/components/Slider/Slider.d.ts +14 -11
- package/dist/components/Slider/Slider.js +99 -0
- package/dist/components/Slider/Slider.module.js +13 -0
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/SnapCarousel/SnapCarousel.css +131 -0
- package/dist/components/SnapCarousel/SnapCarousel.d.ts +37 -10
- package/dist/components/SnapCarousel/SnapCarousel.js +125 -0
- package/dist/components/SnapCarousel/SnapCarousel.module.js +13 -0
- package/dist/components/SnapCarousel/index.d.ts +1 -2
- package/dist/components/Spinner/Spinner.css +60 -0
- package/dist/components/Spinner/Spinner.d.ts +16 -6
- package/dist/components/Spinner/Spinner.js +28 -0
- package/dist/components/Spinner/Spinner.module.js +9 -0
- package/dist/components/Spinner/index.d.ts +1 -2
- package/dist/components/SplitButton/SplitButton.css +59 -0
- package/dist/components/SplitButton/SplitButton.d.ts +39 -20
- package/dist/components/SplitButton/SplitButton.js +66 -0
- package/dist/components/SplitButton/SplitButton.module.js +9 -0
- package/dist/components/SplitButton/index.d.ts +1 -2
- package/dist/components/Stack/Stack.css +13 -0
- package/dist/components/Stack/Stack.d.ts +27 -13
- package/dist/components/Stack/Stack.js +27 -0
- package/dist/components/Stack/Stack.module.js +5 -0
- package/dist/components/Stack/index.d.ts +1 -1
- package/dist/components/Stepper/Stepper.css +174 -0
- package/dist/components/Stepper/Stepper.d.ts +55 -16
- package/dist/components/Stepper/Stepper.js +131 -0
- package/dist/components/Stepper/Stepper.module.js +14 -0
- package/dist/components/Stepper/index.d.ts +1 -2
- package/dist/components/Switch/Switch.css +138 -0
- package/dist/components/Switch/Switch.d.ts +21 -9
- package/dist/components/Switch/Switch.js +40 -0
- package/dist/components/Switch/Switch.module.js +10 -0
- package/dist/components/Switch/index.d.ts +1 -1
- package/dist/components/Table/Table.css +107 -0
- package/dist/components/Table/Table.d.ts +54 -16
- package/dist/components/Table/Table.js +85 -0
- package/dist/components/Table/Table.module.js +18 -0
- package/dist/components/Table/index.d.ts +1 -1
- package/dist/components/Tabs/Tabs.css +181 -0
- package/dist/components/Tabs/Tabs.d.ts +10 -8
- package/dist/components/Tabs/Tabs.js +66 -0
- package/dist/components/Tabs/Tabs.module.js +11 -0
- package/dist/components/Text/Text.css +73 -0
- package/dist/components/Text/Text.d.ts +20 -9
- package/dist/components/Text/Text.js +42 -0
- package/dist/components/Text/Text.module.js +5 -0
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/components/Textarea/Textarea.css +59 -0
- package/dist/components/Textarea/Textarea.d.ts +7 -5
- package/dist/components/Textarea/Textarea.js +28 -0
- package/dist/components/Textarea/Textarea.module.js +5 -0
- package/dist/components/Textarea/index.d.ts +1 -2
- package/dist/components/Toast/Toast.css +351 -0
- package/dist/components/Toast/Toast.d.ts +79 -38
- package/dist/components/Toast/Toast.js +263 -0
- package/dist/components/Toast/Toast.module.js +26 -0
- package/dist/components/Toast/index.d.ts +1 -2
- package/dist/components/Toggle/Toggle.css +147 -0
- package/dist/components/Toggle/Toggle.d.ts +9 -6
- package/dist/components/Toggle/Toggle.js +18 -0
- package/dist/components/Toggle/Toggle.module.js +5 -0
- package/dist/components/Toggle/index.d.ts +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.css +42 -0
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +15 -12
- package/dist/components/ToggleGroup/ToggleGroup.js +41 -0
- package/dist/components/ToggleGroup/ToggleGroup.module.js +8 -0
- package/dist/components/ToggleGroup/index.d.ts +1 -1
- package/dist/components/Toolbar/Toolbar.css +203 -0
- package/dist/components/Toolbar/Toolbar.d.ts +9 -7
- package/dist/components/Toolbar/Toolbar.js +56 -0
- package/dist/components/Toolbar/Toolbar.module.js +12 -0
- package/dist/components/Tooltip/Tooltip.css +155 -0
- package/dist/components/Tooltip/Tooltip.d.ts +51 -15
- package/dist/components/Tooltip/Tooltip.js +82 -0
- package/dist/components/Tooltip/Tooltip.module.js +15 -0
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/icons/demo/Icons.d.ts +15 -12
- package/dist/icons/demo/Icons.js +225 -0
- package/dist/icons/demo/index.d.ts +1 -1
- package/dist/icons/ui/Icons.d.ts +30 -22
- package/dist/icons/ui/Icons.js +308 -0
- package/dist/icons/ui/index.d.ts +1 -1
- package/dist/index.d.ts +68 -67
- package/dist/index.js +68 -5775
- package/dist/reset.d.ts +1 -0
- package/dist/reset.js +1 -0
- package/dist/style.d.ts +1 -0
- package/dist/style.js +1 -0
- package/dist/styles/reset.css +175 -0
- package/dist/styles/style.css +263 -0
- package/dist/utils/mergeClassName.js +8 -0
- package/package.json +11 -10
- package/dist/components/CloseButton/index.d.ts +0 -1
- package/dist/components/Meter/index.d.ts +0 -1
- package/dist/components/Progress/index.d.ts +0 -1
- package/dist/components/Separator/index.d.ts +0 -1
- package/dist/components/Tabs/index.d.ts +0 -1
- package/dist/components/Toolbar/index.d.ts +0 -1
- package/dist/data/insideScrollSections.d.ts +0 -4
- package/dist/index.cjs +0 -1
- package/dist/index.css +0 -1
- package/dist/reset.css +0 -334
- package/dist/utils/mergeClassName.d.ts +0 -4
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { mergeClassName } from "../../utils/mergeClassName.js";
|
|
2
|
+
import Field_module_default from "./Field.module.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { Field } from "@base-ui/react/field";
|
|
5
|
+
//#region src/components/Field/Field.tsx
|
|
6
|
+
function Field$1({ className, ...props }) {
|
|
7
|
+
return /* @__PURE__ */ jsx(Field.Root, {
|
|
8
|
+
"data-slot": "field-root",
|
|
9
|
+
className: mergeClassName(className, Field_module_default.root),
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function FieldItem({ className, ...props }) {
|
|
14
|
+
return /* @__PURE__ */ jsx(Field.Item, {
|
|
15
|
+
"data-slot": "field-item",
|
|
16
|
+
className: mergeClassName(className, Field_module_default.item),
|
|
17
|
+
...props
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
function FieldLabel({ className, ...props }) {
|
|
21
|
+
return /* @__PURE__ */ jsx(Field.Label, {
|
|
22
|
+
"data-slot": "field-label",
|
|
23
|
+
className: mergeClassName(className, Field_module_default.label),
|
|
24
|
+
...props
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
function FieldControl({ className, ...props }) {
|
|
28
|
+
return /* @__PURE__ */ jsx(Field.Control, {
|
|
29
|
+
"data-slot": "field-control",
|
|
30
|
+
className: mergeClassName(className, Field_module_default.control),
|
|
31
|
+
...props
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function FieldDescription({ className, ...props }) {
|
|
35
|
+
return /* @__PURE__ */ jsx(Field.Description, {
|
|
36
|
+
"data-slot": "field-description",
|
|
37
|
+
className: mergeClassName(className, Field_module_default.description),
|
|
38
|
+
...props
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function FieldError({ className, ...props }) {
|
|
42
|
+
return /* @__PURE__ */ jsx(Field.Error, {
|
|
43
|
+
"data-slot": "field-error",
|
|
44
|
+
className: mergeClassName(className, Field_module_default.error),
|
|
45
|
+
...props
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
const FieldValidity = Field.Validity;
|
|
49
|
+
//#endregion
|
|
50
|
+
export { Field$1 as Field, FieldControl, FieldDescription, FieldError, FieldItem, FieldLabel, FieldValidity };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import './Field.css';
|
|
2
|
+
//#region src/components/Field/Field.module.css
|
|
3
|
+
var Field_module_default = {
|
|
4
|
+
"control": "otdAoW_control",
|
|
5
|
+
"description": "otdAoW_description",
|
|
6
|
+
"error": "otdAoW_error",
|
|
7
|
+
"item": "otdAoW_item",
|
|
8
|
+
"label": "otdAoW_label",
|
|
9
|
+
"root": "otdAoW_root"
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { Field_module_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import { Field, FieldControl, FieldDescription, FieldError, FieldItem, FieldLabel, FieldValidity } from "./Field.js";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@layer ui.components {
|
|
2
|
+
.xKLSQG_root, .xKLSQG_legend {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.xKLSQG_root {
|
|
7
|
+
gap: var(--fieldset-gap, var(--spacing-4));
|
|
8
|
+
width: var(--fieldset-width, 100%);
|
|
9
|
+
max-width: var(--fieldset-max-width, none);
|
|
10
|
+
margin: var(--fieldset-margin, 0);
|
|
11
|
+
padding: var(--fieldset-padding, 0);
|
|
12
|
+
border-width: var(--fieldset-border-width, 0);
|
|
13
|
+
border-style: var(--fieldset-border-style, solid);
|
|
14
|
+
border-color: var(--fieldset-border-color, transparent);
|
|
15
|
+
border-radius: var(--fieldset-radius, var(--radius-none));
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
min-inline-size: 0;
|
|
18
|
+
display: flex;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.xKLSQG_root[data-disabled] {
|
|
22
|
+
opacity: var(--fieldset-disabled-opacity, var(--opacity-disabled));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.xKLSQG_legend {
|
|
26
|
+
inline-size: 100%;
|
|
27
|
+
max-inline-size: 100%;
|
|
28
|
+
margin: var(--fieldset-legend-margin, 0);
|
|
29
|
+
padding: var(--fieldset-legend-padding, 0 0 var(--spacing-3));
|
|
30
|
+
border-bottom-width: var(--fieldset-legend-border-width, var(--border-width-sm));
|
|
31
|
+
border-bottom-style: var(--fieldset-legend-border-style, solid);
|
|
32
|
+
border-bottom-color: var(--fieldset-legend-border-color, var(--color-border));
|
|
33
|
+
color: var(--fieldset-legend-color, var(--color-foreground));
|
|
34
|
+
font-size: var(--fieldset-legend-font-size, var(--text-lg));
|
|
35
|
+
font-weight: var(--fieldset-legend-font-weight, var(--weight-semibold));
|
|
36
|
+
line-height: var(--fieldset-legend-line-height, var(--line-height-text-lg));
|
|
37
|
+
display: block;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
import { Fieldset
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Fieldset } from "@base-ui/react/fieldset";
|
|
2
|
+
|
|
3
|
+
//#region src/components/Fieldset/Fieldset.d.ts
|
|
4
|
+
declare function Fieldset$1({
|
|
5
|
+
className,
|
|
6
|
+
...props
|
|
7
|
+
}: Fieldset.Root.Props): import("react").JSX.Element;
|
|
8
|
+
declare function FieldsetLegend({
|
|
9
|
+
className,
|
|
10
|
+
...props
|
|
11
|
+
}: Fieldset.Legend.Props): import("react").JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { Fieldset$1 as Fieldset, FieldsetLegend };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { mergeClassName } from "../../utils/mergeClassName.js";
|
|
2
|
+
import Fieldset_module_default from "./Fieldset.module.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { Fieldset } from "@base-ui/react/fieldset";
|
|
5
|
+
//#region src/components/Fieldset/Fieldset.tsx
|
|
6
|
+
function Fieldset$1({ className, ...props }) {
|
|
7
|
+
return /* @__PURE__ */ jsx(Fieldset.Root, {
|
|
8
|
+
"data-slot": "fieldset-root",
|
|
9
|
+
className: mergeClassName(className, Fieldset_module_default.root),
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function FieldsetLegend({ className, ...props }) {
|
|
14
|
+
return /* @__PURE__ */ jsx(Fieldset.Legend, {
|
|
15
|
+
"data-slot": "fieldset-legend",
|
|
16
|
+
className: mergeClassName(className, Fieldset_module_default.legend),
|
|
17
|
+
...props
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { Fieldset$1 as Fieldset, FieldsetLegend };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import { Fieldset, FieldsetLegend } from "./Fieldset.js";
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import { Form
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Form } from "@base-ui/react/form";
|
|
2
|
+
|
|
3
|
+
//#region src/components/Form/Form.d.ts
|
|
4
|
+
declare const Form$1: import("react").ForwardRefExoticComponent<Omit<Form.Props<Record<string, any>>, "ref"> & import("react").RefAttributes<HTMLFormElement>>;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { Form$1 as Form };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { mergeClassName } from "../../utils/mergeClassName.js";
|
|
2
|
+
import Form_module_default from "./Form.module.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { forwardRef } from "react";
|
|
5
|
+
import { Form } from "@base-ui/react/form";
|
|
6
|
+
//#region src/components/Form/Form.tsx
|
|
7
|
+
const Form$1 = forwardRef(function Form$2({ className, ...props }, ref) {
|
|
8
|
+
return /* @__PURE__ */ jsx(Form, {
|
|
9
|
+
ref,
|
|
10
|
+
"data-slot": "form-root",
|
|
11
|
+
className: mergeClassName(className, Form_module_default.root),
|
|
12
|
+
...props
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Form$1 as Form };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import { Form } from "./Form.js";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@layer ui.components {
|
|
2
|
+
.qDe8qG_root {
|
|
3
|
+
color: var(--heading-color, var(--color-foreground));
|
|
4
|
+
font-family: var(--heading-font-family, var(--font-sans));
|
|
5
|
+
font-size: var(--heading-font-size-2xl, var(--heading-font-size, var(--text-3xl)));
|
|
6
|
+
font-weight: var(--heading-font-weight-semibold, var(--heading-font-weight, var(--weight-semibold)));
|
|
7
|
+
line-height: var(--heading-line-height-2xl, var(--heading-line-height, var(--line-height-text-3xl)));
|
|
8
|
+
letter-spacing: var(--heading-letter-spacing, 0);
|
|
9
|
+
text-wrap: var(--heading-text-wrap, balance);
|
|
10
|
+
overflow-wrap: break-word;
|
|
11
|
+
margin: 0;
|
|
12
|
+
|
|
13
|
+
&[data-size="xs"] {
|
|
14
|
+
font-size: var(--heading-font-size-xs, var(--heading-font-size, var(--text-sm)));
|
|
15
|
+
line-height: var(--heading-line-height-xs, var(--heading-line-height, var(--line-height-text-sm)));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&[data-size="sm"] {
|
|
19
|
+
font-size: var(--heading-font-size-sm, var(--heading-font-size, var(--text-md)));
|
|
20
|
+
line-height: var(--heading-line-height-sm, var(--heading-line-height, var(--line-height-text-md)));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&[data-size="md"] {
|
|
24
|
+
font-size: var(--heading-font-size-md, var(--heading-font-size, var(--text-lg)));
|
|
25
|
+
line-height: var(--heading-line-height-md, var(--heading-line-height, var(--line-height-text-lg)));
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&[data-size="lg"] {
|
|
29
|
+
font-size: var(--heading-font-size-lg, var(--heading-font-size, var(--text-xl)));
|
|
30
|
+
line-height: var(--heading-line-height-lg, var(--heading-line-height, var(--line-height-text-xl)));
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&[data-size="xl"] {
|
|
34
|
+
font-size: var(--heading-font-size-xl, var(--heading-font-size, var(--text-2xl)));
|
|
35
|
+
line-height: var(--heading-line-height-xl, var(--heading-line-height, var(--line-height-text-2xl)));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&[data-weight="regular"] {
|
|
39
|
+
font-weight: var(--heading-font-weight-regular, var(--heading-font-weight, var(--weight-regular)));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&[data-weight="medium"] {
|
|
43
|
+
font-weight: var(--heading-font-weight-medium, var(--heading-font-weight, var(--weight-medium)));
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&[data-weight="bold"] {
|
|
47
|
+
font-weight: var(--heading-font-weight-bold, var(--heading-font-weight, var(--weight-bold)));
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -1,20 +1,28 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from
|
|
1
|
+
import { ComponentPropsWithoutRef } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/Heading/Heading.d.ts
|
|
2
4
|
declare const defaultSizeByElement: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
readonly h1: "2xl";
|
|
6
|
+
readonly h2: "xl";
|
|
7
|
+
readonly h3: "lg";
|
|
8
|
+
readonly h4: "md";
|
|
9
|
+
readonly h5: "sm";
|
|
10
|
+
readonly h6: "xs";
|
|
9
11
|
};
|
|
10
12
|
type HeadingLevel = keyof typeof defaultSizeByElement;
|
|
11
13
|
type HeadingSize = (typeof defaultSizeByElement)[HeadingLevel];
|
|
12
14
|
type HeadingWeight = 'regular' | 'medium' | 'semibold' | 'bold';
|
|
13
15
|
type HeadingProps = ComponentPropsWithoutRef<HeadingLevel> & {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
as?: HeadingLevel;
|
|
17
|
+
size?: HeadingSize;
|
|
18
|
+
weight?: HeadingWeight;
|
|
17
19
|
};
|
|
18
|
-
declare function Heading({
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
declare function Heading({
|
|
21
|
+
as,
|
|
22
|
+
size,
|
|
23
|
+
weight,
|
|
24
|
+
className,
|
|
25
|
+
...props
|
|
26
|
+
}: HeadingProps): import("react").JSX.Element;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { Heading, type HeadingLevel, type HeadingProps, type HeadingSize, type HeadingWeight };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import Heading_module_default from "./Heading.module.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import clsx$1 from "clsx";
|
|
4
|
+
//#region src/components/Heading/Heading.tsx
|
|
5
|
+
const defaultSizeByElement = {
|
|
6
|
+
h1: "2xl",
|
|
7
|
+
h2: "xl",
|
|
8
|
+
h3: "lg",
|
|
9
|
+
h4: "md",
|
|
10
|
+
h5: "sm",
|
|
11
|
+
h6: "xs"
|
|
12
|
+
};
|
|
13
|
+
function Heading({ as = "h1", size, weight = "semibold", className, ...props }) {
|
|
14
|
+
return /* @__PURE__ */ jsx(as, {
|
|
15
|
+
"data-slot": "heading-root",
|
|
16
|
+
"data-size": size ?? defaultSizeByElement[as],
|
|
17
|
+
"data-weight": weight,
|
|
18
|
+
className: clsx$1(Heading_module_default.root, className),
|
|
19
|
+
...props
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
export { Heading };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import { Heading, HeadingLevel, HeadingProps, HeadingSize, HeadingWeight } from "./Heading.js";
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@layer ui.components {
|
|
2
|
+
.ek-HaW_root {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
width: var(--input-width, 100%);
|
|
5
|
+
max-width: var(--input-max-width, none);
|
|
6
|
+
min-height: var(--input-height, var(--input-height-md, var(--size-lg)));
|
|
7
|
+
border: var(--input-border-width, var(--border-width-sm)) var(--input-border-style, solid)
|
|
8
|
+
var(--input-border-color, var(--color-border));
|
|
9
|
+
border-radius: var(--input-radius, var(--radius-md));
|
|
10
|
+
padding: var(--input-padding-y, var(--input-padding-y-md, .5rem))
|
|
11
|
+
var(--input-padding-x, var(--input-padding-x-md, .875rem));
|
|
12
|
+
background-color: var(--input-bg, var(--color-background));
|
|
13
|
+
color: var(--input-color, var(--color-foreground));
|
|
14
|
+
font: inherit;
|
|
15
|
+
font-size: var(--input-font-size, var(--input-font-size-md, var(--text-md)));
|
|
16
|
+
line-height: var(--input-line-height, var(--input-line-height-md, var(--line-height-text-md)));
|
|
17
|
+
outline: var(--input-focus-ring-width, var(--input-border-width, var(--border-width-sm))) solid
|
|
18
|
+
transparent;
|
|
19
|
+
outline-offset: var(--input-focus-ring-offset, calc(0px - var(--input-border-width, var(--border-width-sm))));
|
|
20
|
+
transition: border-color var(--input-transition, var(--transition-default)),
|
|
21
|
+
outline-color var(--input-transition, var(--transition-default)),
|
|
22
|
+
opacity var(--input-transition, var(--transition-default));
|
|
23
|
+
margin: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.ek-HaW_root::placeholder {
|
|
27
|
+
color: var(--input-placeholder-color, var(--color-muted-foreground));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.ek-HaW_root:focus-visible {
|
|
31
|
+
outline-color: var(--input-focus-ring-color, var(--color-ring));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.ek-HaW_root[data-invalid] {
|
|
35
|
+
border-color: var(--input-border-color-invalid, var(--color-destructive));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ek-HaW_root[data-invalid]:focus-visible {
|
|
39
|
+
outline-color: var(--input-border-color-invalid, var(--color-destructive));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ek-HaW_root[data-disabled] {
|
|
43
|
+
pointer-events: none;
|
|
44
|
+
opacity: var(--input-disabled-opacity, var(--opacity-disabled));
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.ek-HaW_root[data-size="xs"] {
|
|
48
|
+
--input-height: var(--input-height-xs, var(--size-sm));
|
|
49
|
+
--input-padding-x: var(--input-padding-x-xs, .625rem);
|
|
50
|
+
--input-padding-y: var(--input-padding-y-xs, .25rem);
|
|
51
|
+
--input-font-size: var(--input-font-size-xs, var(--text-xs));
|
|
52
|
+
--input-line-height: var(--input-line-height-xs, var(--line-height-text-xs));
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ek-HaW_root[data-size="sm"] {
|
|
56
|
+
--input-height: var(--input-height-sm, 2rem);
|
|
57
|
+
--input-padding-x: var(--input-padding-x-sm, .75rem);
|
|
58
|
+
--input-padding-y: var(--input-padding-y-sm, .3125rem);
|
|
59
|
+
--input-font-size: var(--input-font-size-sm, var(--text-sm));
|
|
60
|
+
--input-line-height: var(--input-line-height-sm, var(--line-height-text-sm));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ek-HaW_root[data-size="lg"] {
|
|
64
|
+
--input-height: var(--input-height-lg, var(--size-xl));
|
|
65
|
+
--input-padding-x: var(--input-padding-x-lg, 1rem);
|
|
66
|
+
--input-padding-y: var(--input-padding-y-lg, .625rem);
|
|
67
|
+
--input-font-size: var(--input-font-size-lg, var(--text-lg));
|
|
68
|
+
--input-line-height: var(--input-line-height-lg, var(--line-height-text-lg));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ek-HaW_root[data-size="xl"] {
|
|
72
|
+
--input-height: var(--input-height-xl, 3rem);
|
|
73
|
+
--input-padding-x: var(--input-padding-x-xl, 1.125rem);
|
|
74
|
+
--input-padding-y: var(--input-padding-y-xl, .75rem);
|
|
75
|
+
--input-font-size: var(--input-font-size-xl, var(--text-lg));
|
|
76
|
+
--input-line-height: var(--input-line-height-xl, var(--line-height-text-lg));
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { ComponentProps } from
|
|
2
|
-
import { Input
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
import { Input } from "@base-ui/react/input";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Input/Input.d.ts
|
|
3
5
|
type InputSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
-
type InputProps = Omit<
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
type InputProps = Omit<Input.Props, 'size'> & {
|
|
7
|
+
size?: InputSize;
|
|
8
|
+
htmlSize?: ComponentProps<'input'>['size'];
|
|
7
9
|
};
|
|
8
|
-
declare const Input: import(
|
|
9
|
-
|
|
10
|
-
export type
|
|
10
|
+
declare const Input$1: import("react").ForwardRefExoticComponent<Omit<InputProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { Input$1 as Input, type InputProps, type InputSize };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { mergeClassName } from "../../utils/mergeClassName.js";
|
|
2
|
+
import Input_module_default from "./Input.module.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { forwardRef } from "react";
|
|
5
|
+
import { Input } from "@base-ui/react/input";
|
|
6
|
+
//#region src/components/Input/Input.tsx
|
|
7
|
+
const Input$1 = forwardRef(function Input$2({ className, size = "md", htmlSize, ...props }, ref) {
|
|
8
|
+
return /* @__PURE__ */ jsx(Input, {
|
|
9
|
+
ref,
|
|
10
|
+
"data-slot": "input-root",
|
|
11
|
+
"data-size": size,
|
|
12
|
+
className: mergeClassName(className, Input_module_default.root),
|
|
13
|
+
size: htmlSize,
|
|
14
|
+
...props
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { Input$1 as Input };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export type { InputProps, InputSize } from './Input';
|
|
1
|
+
import { Input, InputProps, InputSize } from "./Input.js";
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
@layer ui.components {
|
|
2
|
+
.jSOrbG_root {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
width: var(--input-group-width, 100%);
|
|
5
|
+
max-width: var(--input-group-max-width, none);
|
|
6
|
+
min-height: var(--input-group-height, var(--input-group-height-md, var(--size-lg)));
|
|
7
|
+
border: var(--input-group-border-width, var(--border-width-sm))
|
|
8
|
+
var(--input-group-border-style, solid) var(--input-group-border-color, var(--color-border));
|
|
9
|
+
border-radius: var(--input-group-radius, var(--radius-md));
|
|
10
|
+
background-color: var(--input-group-bg, var(--color-background));
|
|
11
|
+
color: var(--input-group-color, var(--color-foreground));
|
|
12
|
+
outline: var(--input-group-focus-ring-width, var(--input-group-border-width, var(--border-width-sm)))
|
|
13
|
+
solid transparent;
|
|
14
|
+
outline-offset: var(--input-group-focus-ring-offset, -1px);
|
|
15
|
+
transition: border-color var(--input-group-transition, var(--transition-default)),
|
|
16
|
+
outline-color var(--input-group-transition, var(--transition-default)),
|
|
17
|
+
opacity var(--input-group-transition, var(--transition-default));
|
|
18
|
+
align-items: stretch;
|
|
19
|
+
display: flex;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
|
|
22
|
+
&:focus-within {
|
|
23
|
+
outline-color: var(--input-group-focus-ring-color, var(--color-ring));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:has([data-slot="input-group-input"][data-invalid], [data-slot="input-group-input"][aria-invalid="true"]) {
|
|
27
|
+
border-color: var(--input-group-border-color-invalid, var(--color-destructive));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:has([data-slot="input-group-input"][data-invalid], [data-slot="input-group-input"][aria-invalid="true"]):focus-within {
|
|
31
|
+
outline-color: var(--input-group-border-color-invalid, var(--color-destructive));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:has([data-slot="input-group-input"][data-disabled], [data-slot="input-group-input"]:disabled) {
|
|
35
|
+
opacity: var(--input-group-disabled-opacity, var(--opacity-disabled));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&[data-size="xs"] {
|
|
39
|
+
--input-group-height: var(--input-group-height-xs, var(--size-sm));
|
|
40
|
+
--input-group-addon-padding-x: var(--input-group-addon-padding-x-xs, .625rem);
|
|
41
|
+
--input-group-font-size: var(--input-group-font-size-xs, var(--text-xs));
|
|
42
|
+
--input-group-line-height: var(--input-group-line-height-xs, var(--line-height-text-xs));
|
|
43
|
+
--input-group-input-padding-x: var(--input-group-input-padding-x-xs, .625rem);
|
|
44
|
+
--input-group-input-padding-y: var(--input-group-input-padding-y-xs, .25rem);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&[data-size="sm"] {
|
|
48
|
+
--input-group-height: var(--input-group-height-sm, 2rem);
|
|
49
|
+
--input-group-addon-padding-x: var(--input-group-addon-padding-x-sm, .75rem);
|
|
50
|
+
--input-group-font-size: var(--input-group-font-size-sm, var(--text-sm));
|
|
51
|
+
--input-group-line-height: var(--input-group-line-height-sm, var(--line-height-text-sm));
|
|
52
|
+
--input-group-input-padding-x: var(--input-group-input-padding-x-sm, .75rem);
|
|
53
|
+
--input-group-input-padding-y: var(--input-group-input-padding-y-sm, .3125rem);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&[data-size="md"] {
|
|
57
|
+
--input-group-height: var(--input-group-height-md, var(--size-lg));
|
|
58
|
+
--input-group-addon-padding-x: var(--input-group-addon-padding-x-md, .875rem);
|
|
59
|
+
--input-group-font-size: var(--input-group-font-size-md, var(--text-md));
|
|
60
|
+
--input-group-line-height: var(--input-group-line-height-md, var(--line-height-text-md));
|
|
61
|
+
--input-group-input-padding-x: var(--input-group-input-padding-x-md, .875rem);
|
|
62
|
+
--input-group-input-padding-y: var(--input-group-input-padding-y-md, .5rem);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&[data-size="lg"] {
|
|
66
|
+
--input-group-height: var(--input-group-height-lg, var(--size-xl));
|
|
67
|
+
--input-group-addon-padding-x: var(--input-group-addon-padding-x-lg, 1rem);
|
|
68
|
+
--input-group-font-size: var(--input-group-font-size-lg, var(--text-lg));
|
|
69
|
+
--input-group-line-height: var(--input-group-line-height-lg, var(--line-height-text-lg));
|
|
70
|
+
--input-group-input-padding-x: var(--input-group-input-padding-x-lg, 1rem);
|
|
71
|
+
--input-group-input-padding-y: var(--input-group-input-padding-y-lg, .625rem);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&[data-size="xl"] {
|
|
75
|
+
--input-group-height: var(--input-group-height-xl, 3rem);
|
|
76
|
+
--input-group-addon-padding-x: var(--input-group-addon-padding-x-xl, 1.125rem);
|
|
77
|
+
--input-group-font-size: var(--input-group-font-size-xl, var(--text-lg));
|
|
78
|
+
--input-group-line-height: var(--input-group-line-height-xl, var(--line-height-text-lg));
|
|
79
|
+
--input-group-input-padding-x: var(--input-group-input-padding-x-xl, 1.125rem);
|
|
80
|
+
--input-group-input-padding-y: var(--input-group-input-padding-y-xl, .75rem);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.jSOrbG_input {
|
|
85
|
+
min-width: 0;
|
|
86
|
+
min-height: 0;
|
|
87
|
+
font-size: var(--input-group-font-size, var(--text-md));
|
|
88
|
+
line-height: var(--input-group-line-height, var(--line-height-text-md));
|
|
89
|
+
padding-block: var(--input-group-input-padding-y, .5rem);
|
|
90
|
+
padding-inline: var(--input-group-input-padding-x, .875rem);
|
|
91
|
+
background-color: #0000;
|
|
92
|
+
border: 0;
|
|
93
|
+
border-radius: 0;
|
|
94
|
+
outline: 0;
|
|
95
|
+
flex: auto;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.jSOrbG_addon, .jSOrbG_text {
|
|
99
|
+
box-sizing: border-box;
|
|
100
|
+
justify-content: center;
|
|
101
|
+
align-items: center;
|
|
102
|
+
gap: var(--input-group-addon-gap, var(--spacing-2));
|
|
103
|
+
min-width: max-content;
|
|
104
|
+
padding-inline: var(--input-group-addon-padding-x, .875rem);
|
|
105
|
+
background-color: var(--input-group-addon-bg, var(--color-muted));
|
|
106
|
+
color: var(--input-group-addon-color, var(--color-muted-foreground));
|
|
107
|
+
font-size: var(--input-group-font-size, var(--text-md));
|
|
108
|
+
line-height: var(--input-group-line-height, var(--line-height-text-md));
|
|
109
|
+
white-space: nowrap;
|
|
110
|
+
display: inline-flex;
|
|
111
|
+
|
|
112
|
+
& > svg {
|
|
113
|
+
width: var(--input-group-icon-size, 1rem);
|
|
114
|
+
height: var(--input-group-icon-size, 1rem);
|
|
115
|
+
flex-shrink: 0;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.jSOrbG_addon {
|
|
120
|
+
border-inline: var(--input-group-separator-width, var(--border-width-sm)) solid
|
|
121
|
+
var(--input-group-separator-color, var(--color-border));
|
|
122
|
+
|
|
123
|
+
&:first-child {
|
|
124
|
+
border-inline-start: 0;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&:last-child {
|
|
128
|
+
border-inline-end: 0;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.jSOrbG_text {
|
|
133
|
+
background-color: #0000;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.jSOrbG_button {
|
|
137
|
+
height: auto;
|
|
138
|
+
min-height: auto;
|
|
139
|
+
padding-block: 0;
|
|
140
|
+
padding-inline: var(--input-group-addon-padding-x, .875rem);
|
|
141
|
+
border: 0;
|
|
142
|
+
border-inline-start: var(--input-group-separator-width, var(--border-width-sm)) solid
|
|
143
|
+
var(--input-group-separator-color, var(--color-border));
|
|
144
|
+
color: var(--input-group-button-color, var(--color-foreground));
|
|
145
|
+
font-size: var(--input-group-font-size, var(--text-sm));
|
|
146
|
+
line-height: var(--input-group-line-height, var(--line-height-text-sm));
|
|
147
|
+
border-radius: 0;
|
|
148
|
+
align-self: stretch;
|
|
149
|
+
|
|
150
|
+
&:first-child {
|
|
151
|
+
border-inline-start: 0;
|
|
152
|
+
border-inline-end: var(--input-group-separator-width, var(--border-width-sm)) solid
|
|
153
|
+
var(--input-group-separator-color, var(--color-border));
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&:focus-visible {
|
|
157
|
+
outline-offset: var(--input-group-button-focus-ring-offset, -1px);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|