@lolmath/ui 6.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 +2 -1
- package/dist/es/index.js +15 -1
- package/dist/es/index.js.map +1 -1
- package/dist/lib/index.css +9 -5
- package/dist/lib/index.d.ts +2 -1
- package/dist/lib/index.js +15 -1
- package/dist/lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist/es/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/es/index.d.ts
CHANGED
|
@@ -492,6 +492,7 @@ declare const MenuTrigger: typeof MenuTrigger$1;
|
|
|
492
492
|
declare const SubmenuTrigger: (props: react_aria_components.SubmenuTriggerProps & React.RefAttributes<HTMLDivElement>) => react.ReactElement | null;
|
|
493
493
|
declare function Menu<T extends object>({ className, ...props }: MenuProps<T>): react_jsx_runtime.JSX.Element;
|
|
494
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;
|
|
495
496
|
|
|
496
497
|
interface SelectedKey {
|
|
497
498
|
id: Key;
|
|
@@ -512,4 +513,4 @@ declare function MultipleSelect<T extends SelectedKey>({ children, items, select
|
|
|
512
513
|
|
|
513
514
|
declare function Tag({ children, className, ...props }: TagProps): react_jsx_runtime.JSX.Element;
|
|
514
515
|
|
|
515
|
-
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, 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 };
|
|
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 };
|
package/dist/es/index.js
CHANGED
|
@@ -1368,12 +1368,13 @@ import {
|
|
|
1368
1368
|
Menu as AriaMenu,
|
|
1369
1369
|
MenuItem as AriaMenuItem,
|
|
1370
1370
|
MenuTrigger as AriaMenuTrigger,
|
|
1371
|
+
Popover as AriaPopover3,
|
|
1371
1372
|
SubmenuTrigger as AriaSubmenuTrigger,
|
|
1372
1373
|
composeRenderProps as composeRenderProps18
|
|
1373
1374
|
} from "react-aria-components";
|
|
1374
1375
|
|
|
1375
1376
|
// src/components/menu.module.css
|
|
1376
|
-
var menu_default = { "menu": "menu_bd9f7", "item": "item_bd9f7" };
|
|
1377
|
+
var menu_default = { "menu": "menu_bd9f7", "item": "item_bd9f7", "popover": "popover_bd9f7" };
|
|
1377
1378
|
|
|
1378
1379
|
// src/components/menu.tsx
|
|
1379
1380
|
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
@@ -1397,6 +1398,18 @@ function MenuItem({
|
|
|
1397
1398
|
}
|
|
1398
1399
|
);
|
|
1399
1400
|
}
|
|
1401
|
+
function MenuPopover({ className, ...props }) {
|
|
1402
|
+
return /* @__PURE__ */ jsx22(
|
|
1403
|
+
AriaPopover3,
|
|
1404
|
+
{
|
|
1405
|
+
...props,
|
|
1406
|
+
className: composeRenderProps18(
|
|
1407
|
+
className,
|
|
1408
|
+
(className2) => cx13(className2, menu_default.popover)
|
|
1409
|
+
)
|
|
1410
|
+
}
|
|
1411
|
+
);
|
|
1412
|
+
}
|
|
1400
1413
|
|
|
1401
1414
|
// src/components/select/multiple-select.tsx
|
|
1402
1415
|
import { cva as cva13 } from "cva";
|
|
@@ -1671,6 +1684,7 @@ export {
|
|
|
1671
1684
|
Label2 as Label,
|
|
1672
1685
|
Menu,
|
|
1673
1686
|
MenuItem,
|
|
1687
|
+
MenuPopover,
|
|
1674
1688
|
MenuTrigger,
|
|
1675
1689
|
Modal,
|
|
1676
1690
|
MultipleSelect,
|