@lolmath/ui 5.0.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/index.css +9 -5
- package/dist/es/index.d.ts +12 -18
- package/dist/es/index.js +109 -76
- package/dist/es/index.js.map +1 -1
- package/dist/lib/index.css +9 -5
- package/dist/lib/index.d.ts +12 -18
- package/dist/lib/index.js +140 -98
- package/dist/lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist/lib/index.css
CHANGED
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
/* src/components/select/select.module.css?css_virtual&hash=
|
|
705
|
+
/* src/components/select/select.module.css?css_virtual&hash=aa964 */
|
|
706
706
|
@layer lol {
|
|
707
707
|
.button_560be {
|
|
708
708
|
font-family: var(--lol-font-family-spiegel);
|
|
@@ -754,6 +754,7 @@
|
|
|
754
754
|
background-color: var(--lol-color-hextech-black);
|
|
755
755
|
border: 1px solid var(--lol-color-gold-600);
|
|
756
756
|
outline: none;
|
|
757
|
+
overflow-y: auto;
|
|
757
758
|
}
|
|
758
759
|
.item_560be {
|
|
759
760
|
border-bottom: 1px solid var(--lol-color-grey-300);
|
|
@@ -782,8 +783,8 @@
|
|
|
782
783
|
}
|
|
783
784
|
.popover_560be {
|
|
784
785
|
width: var(--trigger-width);
|
|
785
|
-
|
|
786
|
-
|
|
786
|
+
display: flex;
|
|
787
|
+
flex-direction: column;
|
|
787
788
|
}
|
|
788
789
|
}
|
|
789
790
|
|
|
@@ -1244,10 +1245,9 @@
|
|
|
1244
1245
|
}
|
|
1245
1246
|
}
|
|
1246
1247
|
|
|
1247
|
-
/* src/components/menu.module.css?css_virtual&hash=
|
|
1248
|
+
/* src/components/menu.module.css?css_virtual&hash=9a522 */
|
|
1248
1249
|
@layer lol {
|
|
1249
1250
|
.menu_bd9f7 {
|
|
1250
|
-
max-height: inherit;
|
|
1251
1251
|
box-sizing: border-box;
|
|
1252
1252
|
overflow: auto;
|
|
1253
1253
|
min-width: 150px;
|
|
@@ -1278,6 +1278,10 @@
|
|
|
1278
1278
|
.item_bd9f7[data-pressed] {
|
|
1279
1279
|
color: var(--lol-color-gold-300);
|
|
1280
1280
|
}
|
|
1281
|
+
.popover_bd9f7 {
|
|
1282
|
+
display: flex;
|
|
1283
|
+
flex-direction: column;
|
|
1284
|
+
}
|
|
1281
1285
|
}
|
|
1282
1286
|
|
|
1283
1287
|
/* src/components/select/multiple-select.module.css?css_virtual&hash=2f6cf */
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react_aria_components from 'react-aria-components';
|
|
2
|
-
import { ButtonProps as ButtonProps$1, DisclosureProps, DisclosurePanelProps, BreadcrumbsProps, BreadcrumbProps, LinkProps, CheckboxProps, HeadingProps as HeadingProps$1, ModalOverlayProps, DialogProps, NumberFieldProps, Input, Group, ProgressBarProps as ProgressBarProps$1, RadioGroupProps, RadioProps, SearchFieldProps,
|
|
3
|
-
export { Dialog, DialogTrigger, Key, RouterProvider, Popover as UnstyledPopover } from 'react-aria-components';
|
|
2
|
+
import { ButtonProps as ButtonProps$1, DisclosureProps, DisclosurePanelProps, BreadcrumbsProps, BreadcrumbProps, LinkProps, CheckboxProps, HeadingProps as HeadingProps$1, ModalOverlayProps, DialogProps, NumberFieldProps, Input, Group, ProgressBarProps as ProgressBarProps$1, RadioGroupProps, RadioProps, SearchFieldProps, PopoverProps, ListBoxProps, ListBoxItemProps, SliderProps, SliderTrackProps, SliderThumbProps, SliderTrackRenderProps, SliderOutputProps, SwitchProps, TabListProps, TabProps, TabPanelProps, TextFieldProps, TextAreaProps, InputProps, ToggleButtonProps as ToggleButtonProps$1, LabelProps as LabelProps$1, MenuTrigger as MenuTrigger$1, MenuProps, MenuItemProps, ComboBoxProps, TagProps } from 'react-aria-components';
|
|
3
|
+
export { Autocomplete, Dialog, DialogTrigger, Key, MenuItemProps, MenuProps, RouterProvider, Select, SelectValue, Popover as UnstyledPopover, useFilter } from 'react-aria-components';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as react from 'react';
|
|
6
|
-
import react__default, { Ref, ComponentProps, JSX
|
|
6
|
+
import react__default, { Ref, ComponentProps, JSX } from 'react';
|
|
7
7
|
import { ExternalToast as ExternalToast$1, ToasterProps } from 'sonner';
|
|
8
8
|
import { Key } from 'react-aria';
|
|
9
9
|
|
|
@@ -140,16 +140,12 @@ declare function SearchField({ inputProps, borderProps, children, className, siz
|
|
|
140
140
|
size?: "small" | "medium" | "large";
|
|
141
141
|
}): react_jsx_runtime.JSX.Element;
|
|
142
142
|
|
|
143
|
-
|
|
144
|
-
label?: string;
|
|
145
|
-
description?: string;
|
|
146
|
-
errorMessage?: string;
|
|
147
|
-
items?: Iterable<T>;
|
|
148
|
-
children?: ReactNode | ((item: T) => ReactNode);
|
|
143
|
+
declare function SelectButton({ className, size, ...props }: ButtonProps$1 & {
|
|
149
144
|
size?: "small" | "medium" | "large";
|
|
150
|
-
}
|
|
151
|
-
declare function
|
|
152
|
-
declare function
|
|
145
|
+
}): react_jsx_runtime.JSX.Element;
|
|
146
|
+
declare function SelectPopover({ className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
147
|
+
declare function SelectListBox<T extends object>({ className, ...props }: ListBoxProps<T>): react_jsx_runtime.JSX.Element;
|
|
148
|
+
declare function SelectListBoxItem({ className, ...props }: ListBoxItemProps): react_jsx_runtime.JSX.Element;
|
|
153
149
|
|
|
154
150
|
declare function Slider<T extends number | number[]>({ children, className, sliderThumbProps, sliderTrackProps, sliderTrackBackgroundClassName, sliderTrackForegroundClassName, ...props }: SliderProps<T> & {
|
|
155
151
|
sliderTrackProps?: SliderTrackProps;
|
|
@@ -494,11 +490,9 @@ declare function Label({ preset, color, className, ...rest }: LabelProps): JSX.E
|
|
|
494
490
|
|
|
495
491
|
declare const MenuTrigger: typeof MenuTrigger$1;
|
|
496
492
|
declare const SubmenuTrigger: (props: react_aria_components.SubmenuTriggerProps & React.RefAttributes<HTMLDivElement>) => react.ReactElement | null;
|
|
497
|
-
|
|
498
|
-
}
|
|
499
|
-
declare function
|
|
500
|
-
type MenuItemProps<T extends object> = MenuItemProps$1<T>;
|
|
501
|
-
declare function MenuItem<T extends object>({ children, className, ...props }: MenuItemProps<T>): react_jsx_runtime.JSX.Element;
|
|
493
|
+
declare function Menu<T extends object>({ className, ...props }: MenuProps<T>): react_jsx_runtime.JSX.Element;
|
|
494
|
+
declare function MenuItem<T extends object>({ className, ...props }: MenuItemProps<T>): react_jsx_runtime.JSX.Element;
|
|
495
|
+
declare function MenuPopover({ className, ...props }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
502
496
|
|
|
503
497
|
interface SelectedKey {
|
|
504
498
|
id: Key;
|
|
@@ -519,4 +513,4 @@ declare function MultipleSelect<T extends SelectedKey>({ children, items, select
|
|
|
519
513
|
|
|
520
514
|
declare function Tag({ children, className, ...props }: TagProps): react_jsx_runtime.JSX.Element;
|
|
521
515
|
|
|
522
|
-
export { Breadcrumb, Breadcrumbs, Button, ButtonLink, type ButtonPreset, type ButtonShape, type ButtonSize, Checkbox, DialogButtons, DialogHeading, Disclosure, DisclosureButton, DisclosureGroup, DisclosurePanel, Divider, Heading, type HeadingColor, type HeadingElement,
|
|
516
|
+
export { Breadcrumb, Breadcrumbs, Button, ButtonLink, type ButtonPreset, type ButtonShape, type ButtonSize, Checkbox, DialogButtons, DialogHeading, Disclosure, DisclosureButton, DisclosureGroup, DisclosurePanel, Divider, Heading, type HeadingColor, type HeadingElement, Label, Menu, MenuItem, MenuPopover, MenuTrigger, Modal, MultipleSelect, NumberField, Popover, ProgressBar, Radio, RadioGroup, SearchField, SelectButton, SelectListBox, SelectListBoxItem, SelectPopover, type SelectedKey, Slider, SliderOutput, Sonner, type SonnerProps, Spinner, SubmenuTrigger, Switch, Tab, TabList, TabPanel, Tabs, Tag, Text, TextArea, type TextColor, type TextElement, TextField, type TextPreset, type ToastVariant, ToggleButton, type ToggleButtonPreset, _Button, _ButtonLink, button, heading, sonner, text, textField };
|