@nattstack/ui 0.0.107 → 0.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/README.md +1 -1
- package/dist/baseline/index.css +5 -1
- package/dist/components/button/button-spinner.js +18 -3
- package/dist/components/button/button-spinner.stylex.js +96 -0
- package/dist/components/button/button.d.ts +20 -17
- package/dist/components/button/button.js +28 -38
- package/dist/components/button/button.stylex.d.ts +121 -0
- package/dist/components/button/button.stylex.js +158 -0
- package/dist/components/button-link/button-link.d.ts +5 -6
- package/dist/components/button-link/button-link.js +5 -5
- package/dist/components/checkbox/checkbox-icon.js +4 -3
- package/dist/components/checkbox/checkbox.d.ts +2 -2
- package/dist/components/checkbox/checkbox.js +6 -8
- package/dist/components/checkbox/checkbox.stylex.d.ts +40 -0
- package/dist/components/checkbox/checkbox.stylex.js +43 -0
- package/dist/components/cn.d.ts +6 -0
- package/dist/components/cn.js +18 -0
- package/dist/components/column/column.d.ts +2 -2
- package/dist/components/column/column.js +8 -9
- package/dist/components/column/column.stylex.d.ts +10 -0
- package/dist/components/column/column.stylex.js +8 -0
- package/dist/components/combobox/combobox-content.d.ts +1 -2
- package/dist/components/combobox/combobox-content.js +5 -7
- package/dist/components/combobox/combobox-empty.d.ts +2 -2
- package/dist/components/combobox/combobox-empty.js +4 -6
- package/dist/components/combobox/combobox-empty.stylex.d.ts +13 -0
- package/dist/components/combobox/combobox-empty.stylex.js +11 -0
- package/dist/components/combobox/combobox-group-label.d.ts +1 -2
- package/dist/components/combobox/combobox-group-label.js +4 -6
- package/dist/components/combobox/combobox-group.d.ts +1 -2
- package/dist/components/combobox/combobox-group.js +4 -6
- package/dist/components/combobox/combobox-input.d.ts +6 -10
- package/dist/components/combobox/combobox-input.js +10 -25
- package/dist/components/combobox/combobox-input.stylex.d.ts +93 -0
- package/dist/components/combobox/combobox-input.stylex.js +100 -0
- package/dist/components/combobox/combobox-item.d.ts +2 -4
- package/dist/components/combobox/combobox-item.js +7 -10
- package/dist/components/combobox/combobox-list.d.ts +1 -2
- package/dist/components/combobox/combobox-list.js +4 -6
- package/dist/components/combobox/combobox-search.d.ts +3 -4
- package/dist/components/combobox/combobox-search.js +7 -10
- package/dist/components/combobox/combobox-search.stylex.d.ts +45 -0
- package/dist/components/combobox/combobox-search.stylex.js +45 -0
- package/dist/components/combobox/combobox-separator.d.ts +1 -2
- package/dist/components/combobox/combobox-separator.js +4 -6
- package/dist/components/combobox/combobox-trigger.d.ts +4 -8
- package/dist/components/combobox/combobox-trigger.js +6 -21
- package/dist/components/combobox/combobox-value.d.ts +2 -2
- package/dist/components/combobox/combobox-value.js +4 -6
- package/dist/components/combobox/combobox-value.stylex.d.ts +14 -0
- package/dist/components/combobox/combobox-value.stylex.js +12 -0
- package/dist/components/dialog-responsive/dialog-responsive-backdrop.js +4 -6
- package/dist/components/dialog-responsive/dialog-responsive-backdrop.stylex.js +14 -0
- package/dist/components/dialog-responsive/dialog-responsive-bar.js +4 -6
- package/dist/components/dialog-responsive/dialog-responsive-bar.stylex.js +13 -0
- package/dist/components/dialog-responsive/dialog-responsive-popup.d.ts +2 -2
- package/dist/components/dialog-responsive/dialog-responsive-popup.js +4 -6
- package/dist/components/dialog-responsive/dialog-responsive-popup.stylex.d.ts +32 -0
- package/dist/components/dialog-responsive/dialog-responsive-popup.stylex.js +30 -0
- package/dist/components/dialog-responsive/dialog-responsive-portal.js +4 -6
- package/dist/components/dialog-responsive/dialog-responsive-portal.stylex.js +9 -0
- package/dist/components/dialog-responsive/dialog-responsive-viewport.js +4 -6
- package/dist/components/dialog-responsive/dialog-responsive-viewport.stylex.js +13 -0
- package/dist/components/dialog-responsive/dialog-responsive.d.ts +1 -4
- package/dist/components/dialog-responsive/dialog-responsive.js +1 -4
- package/dist/components/icon-button/icon-button.d.ts +3 -5
- package/dist/components/icon-button/icon-button.js +17 -22
- package/dist/components/icon-button/icon-button.stylex.d.ts +21 -0
- package/dist/components/icon-button/icon-button.stylex.js +25 -0
- package/dist/components/index.d.ts +90 -53
- package/dist/components/index.js +91 -53
- package/dist/components/input/input.d.ts +8 -16
- package/dist/components/input/input.js +9 -37
- package/dist/components/input/input.stylex.d.ts +66 -0
- package/dist/components/input/input.stylex.js +71 -0
- package/dist/components/label/label.d.ts +2 -2
- package/dist/components/label/label.js +7 -7
- package/dist/components/label/label.stylex.d.ts +12 -0
- package/dist/components/label/label.stylex.js +10 -0
- package/dist/components/menu/menu-checkbox-item.d.ts +2 -6
- package/dist/components/menu/menu-checkbox-item.js +7 -12
- package/dist/components/menu/menu-content.d.ts +2 -2
- package/dist/components/menu/menu-content.js +8 -10
- package/dist/components/menu/menu-content.stylex.d.ts +11 -0
- package/dist/components/menu/menu-content.stylex.js +9 -0
- package/dist/components/menu/menu-group-label.d.ts +1 -2
- package/dist/components/menu/menu-group-label.js +4 -6
- package/dist/components/menu/menu-group.d.ts +1 -2
- package/dist/components/menu/menu-group.js +4 -6
- package/dist/components/menu/menu-item.d.ts +3 -4
- package/dist/components/menu/menu-item.js +6 -9
- package/dist/components/menu/menu-item.stylex.d.ts +11 -0
- package/dist/components/menu/menu-item.stylex.js +9 -0
- package/dist/components/menu/menu-link-item.d.ts +1 -2
- package/dist/components/menu/menu-link-item.js +5 -7
- package/dist/components/menu/menu-radio-group.d.ts +2 -4
- package/dist/components/menu/menu-radio-group.js +5 -8
- package/dist/components/menu/menu-radio-item.d.ts +2 -4
- package/dist/components/menu/menu-radio-item.js +7 -10
- package/dist/components/menu/menu-separator.d.ts +1 -2
- package/dist/components/menu/menu-separator.js +4 -6
- package/dist/components/menu/menu-submenu-trigger.d.ts +3 -4
- package/dist/components/menu/menu-submenu-trigger.js +8 -15
- package/dist/components/menu/menu-submenu-trigger.stylex.d.ts +19 -0
- package/dist/components/menu/menu-submenu-trigger.stylex.js +20 -0
- package/dist/components/otp-field/otp-field-input.d.ts +2 -2
- package/dist/components/otp-field/otp-field-input.js +5 -6
- package/dist/components/otp-field/otp-field-input.stylex.d.ts +25 -0
- package/dist/components/otp-field/otp-field-input.stylex.js +23 -0
- package/dist/components/otp-field/otp-field.d.ts +4 -7
- package/dist/components/otp-field/otp-field.js +7 -18
- package/dist/components/otp-field/otp-field.stylex.d.ts +16 -0
- package/dist/components/otp-field/otp-field.stylex.js +17 -0
- package/dist/components/picker/picker-group.stylex.d.ts +18 -0
- package/dist/components/picker/picker-group.stylex.js +19 -0
- package/dist/components/picker/picker-item.stylex.d.ts +39 -0
- package/dist/components/picker/picker-item.stylex.js +41 -0
- package/dist/components/picker/picker-list.stylex.js +13 -0
- package/dist/components/picker/picker-popup.stylex.d.ts +36 -0
- package/dist/components/picker/picker-popup.stylex.js +37 -0
- package/dist/components/picker/picker-separator.stylex.d.ts +13 -0
- package/dist/components/picker/picker-separator.stylex.js +11 -0
- package/dist/components/picker/picker-trigger.stylex.d.ts +60 -0
- package/dist/components/picker/picker-trigger.stylex.js +67 -0
- package/dist/components/row/row.d.ts +2 -2
- package/dist/components/row/row.js +8 -9
- package/dist/components/row/row.stylex.d.ts +10 -0
- package/dist/components/row/row.stylex.js +8 -0
- package/dist/components/select/select-content.d.ts +2 -2
- package/dist/components/select/select-content.js +7 -9
- package/dist/components/select/select-group-label.d.ts +1 -2
- package/dist/components/select/select-group-label.js +4 -6
- package/dist/components/select/select-group.d.ts +2 -2
- package/dist/components/select/select-group.js +4 -6
- package/dist/components/select/select-item.d.ts +3 -4
- package/dist/components/select/select-item.js +7 -10
- package/dist/components/select/select-separator.d.ts +2 -2
- package/dist/components/select/select-separator.js +4 -6
- package/dist/components/select/select-trigger.d.ts +5 -8
- package/dist/components/select/select-trigger.js +6 -21
- package/dist/components/select/select-value.d.ts +2 -2
- package/dist/components/select/select-value.js +4 -6
- package/dist/components/select/select-value.stylex.d.ts +14 -0
- package/dist/components/select/select-value.stylex.js +12 -0
- package/dist/components/spacer/spacer.d.ts +2 -2
- package/dist/components/spacer/spacer.js +7 -7
- package/dist/components/spacer/spacer.stylex.d.ts +9 -0
- package/dist/components/spacer/spacer.stylex.js +7 -0
- package/dist/components/stylex.css +1420 -0
- package/dist/components/switch/switch.d.ts +4 -12
- package/dist/components/switch/switch.js +6 -22
- package/dist/components/switch/switch.stylex.d.ts +41 -0
- package/dist/components/switch/switch.stylex.js +44 -0
- package/dist/components/tabs/tabs-panel.d.ts +2 -2
- package/dist/components/tabs/tabs-panel.js +7 -7
- package/dist/components/tabs/tabs-panel.stylex.d.ts +14 -0
- package/dist/components/tabs/tabs-panel.stylex.js +12 -0
- package/dist/components/tabs/tabs.d.ts +2 -2
- package/dist/components/tabs/tabs.js +7 -7
- package/dist/components/tabs/tabs.stylex.d.ts +10 -0
- package/dist/components/tabs/tabs.stylex.js +8 -0
- package/dist/components/tabs-pill/tabs-pill-indicator.js +4 -6
- package/dist/components/tabs-pill/tabs-pill-indicator.stylex.js +16 -0
- package/dist/components/tabs-pill/tabs-pill-list.d.ts +2 -2
- package/dist/components/tabs-pill/tabs-pill-list.js +4 -6
- package/dist/components/tabs-pill/tabs-pill-list.stylex.d.ts +13 -0
- package/dist/components/tabs-pill/tabs-pill-list.stylex.js +11 -0
- package/dist/components/tabs-pill/tabs-pill-tab.d.ts +3 -5
- package/dist/components/tabs-pill/tabs-pill-tab.js +8 -10
- package/dist/components/tabs-pill/tabs-pill-tab.stylex.d.ts +44 -0
- package/dist/components/tabs-pill/tabs-pill-tab.stylex.js +46 -0
- package/dist/components/tabs-segmented/tabs-segmented-indicator.js +4 -6
- package/dist/components/tabs-segmented/tabs-segmented-indicator.stylex.js +16 -0
- package/dist/components/tabs-segmented/tabs-segmented-list.d.ts +2 -2
- package/dist/components/tabs-segmented/tabs-segmented-list.js +4 -6
- package/dist/components/tabs-segmented/tabs-segmented-list.stylex.d.ts +17 -0
- package/dist/components/tabs-segmented/tabs-segmented-list.stylex.js +15 -0
- package/dist/components/tabs-segmented/tabs-segmented-tab.d.ts +3 -5
- package/dist/components/tabs-segmented/tabs-segmented-tab.js +6 -8
- package/dist/components/tabs-segmented/tabs-segmented-tab.stylex.d.ts +28 -0
- package/dist/components/tabs-segmented/tabs-segmented-tab.stylex.js +26 -0
- package/dist/components/tabs-underline/tabs-underline-indicator.js +4 -6
- package/dist/components/tabs-underline/tabs-underline-indicator.stylex.js +14 -0
- package/dist/components/tabs-underline/tabs-underline-list.d.ts +2 -2
- package/dist/components/tabs-underline/tabs-underline-list.js +4 -6
- package/dist/components/tabs-underline/tabs-underline-list.stylex.d.ts +14 -0
- package/dist/components/tabs-underline/tabs-underline-list.stylex.js +12 -0
- package/dist/components/tabs-underline/tabs-underline-tab.d.ts +3 -5
- package/dist/components/tabs-underline/tabs-underline-tab.js +6 -8
- package/dist/components/tabs-underline/tabs-underline-tab.stylex.d.ts +27 -0
- package/dist/components/tabs-underline/tabs-underline-tab.stylex.js +25 -0
- package/dist/components/textarea/textarea.d.ts +7 -12
- package/dist/components/textarea/textarea.js +10 -24
- package/dist/components/textarea/textarea.stylex.d.ts +13 -0
- package/dist/components/textarea/textarea.stylex.js +11 -0
- package/dist/components/toggle-group/toggle-group-item.d.ts +3 -6
- package/dist/components/toggle-group/toggle-group-item.js +6 -9
- package/dist/components/toggle-group/toggle-group-item.stylex.d.ts +33 -0
- package/dist/components/toggle-group/toggle-group-item.stylex.js +34 -0
- package/dist/components/toggle-group/toggle-group.d.ts +3 -7
- package/dist/components/toggle-group/toggle-group.js +6 -10
- package/dist/components/toggle-group/toggle-group.stylex.d.ts +11 -0
- package/dist/components/toggle-group/toggle-group.stylex.js +9 -0
- package/dist/components/tooltip/tooltip-popup.d.ts +2 -2
- package/dist/components/tooltip/tooltip-popup.js +6 -7
- package/dist/components/tooltip/tooltip-popup.stylex.d.ts +30 -0
- package/dist/components/tooltip/tooltip-popup.stylex.js +32 -0
- package/dist/components/tooltip/tooltip.d.ts +1 -4
- package/dist/components/tooltip/tooltip.js +2 -4
- package/dist/tailwind-colors/root.css +10 -0
- package/package.json +4 -3
- package/dist/components/button/button-spinner.css +0 -97
- package/dist/components/button/button-spinner.module.js +0 -8
- package/dist/components/button/button.css +0 -157
- package/dist/components/button/button.module.js +0 -21
- package/dist/components/checkbox/checkbox.css +0 -55
- package/dist/components/checkbox/checkbox.module.js +0 -9
- package/dist/components/column/column.css +0 -6
- package/dist/components/column/column.module.js +0 -5
- package/dist/components/combobox/combobox-empty.css +0 -9
- package/dist/components/combobox/combobox-empty.module.js +0 -5
- package/dist/components/combobox/combobox-input.css +0 -121
- package/dist/components/combobox/combobox-input.module.js +0 -16
- package/dist/components/combobox/combobox-search.css +0 -44
- package/dist/components/combobox/combobox-search.module.js +0 -9
- package/dist/components/combobox/combobox-value.css +0 -14
- package/dist/components/combobox/combobox-value.module.js +0 -5
- package/dist/components/dialog-responsive/dialog-responsive-backdrop.css +0 -28
- package/dist/components/dialog-responsive/dialog-responsive-backdrop.module.js +0 -5
- package/dist/components/dialog-responsive/dialog-responsive-bar.css +0 -16
- package/dist/components/dialog-responsive/dialog-responsive-bar.module.js +0 -5
- package/dist/components/dialog-responsive/dialog-responsive-popup.css +0 -56
- package/dist/components/dialog-responsive/dialog-responsive-popup.module.js +0 -5
- package/dist/components/dialog-responsive/dialog-responsive-portal.css +0 -7
- package/dist/components/dialog-responsive/dialog-responsive-portal.module.js +0 -5
- package/dist/components/dialog-responsive/dialog-responsive-viewport.css +0 -18
- package/dist/components/dialog-responsive/dialog-responsive-viewport.module.js +0 -5
- package/dist/components/icon-button/icon-button.css +0 -21
- package/dist/components/icon-button/icon-button.module.js +0 -11
- package/dist/components/input/input.css +0 -83
- package/dist/components/input/input.module.js +0 -14
- package/dist/components/label/label.css +0 -8
- package/dist/components/label/label.module.js +0 -5
- package/dist/components/menu/menu-content.css +0 -7
- package/dist/components/menu/menu-content.module.js +0 -5
- package/dist/components/menu/menu-item.css +0 -7
- package/dist/components/menu/menu-item.module.js +0 -5
- package/dist/components/menu/menu-submenu-trigger.css +0 -16
- package/dist/components/menu/menu-submenu-trigger.module.js +0 -8
- package/dist/components/otp-field/otp-field-input.css +0 -32
- package/dist/components/otp-field/otp-field-input.module.js +0 -5
- package/dist/components/otp-field/otp-field.css +0 -13
- package/dist/components/otp-field/otp-field.module.js +0 -8
- package/dist/components/picker/picker-group.css +0 -14
- package/dist/components/picker/picker-group.module.js +0 -8
- package/dist/components/picker/picker-item.css +0 -43
- package/dist/components/picker/picker-item.module.js +0 -9
- package/dist/components/picker/picker-list.css +0 -15
- package/dist/components/picker/picker-list.module.js +0 -5
- package/dist/components/picker/picker-popup.css +0 -56
- package/dist/components/picker/picker-popup.module.js +0 -8
- package/dist/components/picker/picker-separator.css +0 -8
- package/dist/components/picker/picker-separator.module.js +0 -5
- package/dist/components/picker/picker-trigger.css +0 -85
- package/dist/components/picker/picker-trigger.module.js +0 -14
- package/dist/components/row/row.css +0 -6
- package/dist/components/row/row.module.js +0 -5
- package/dist/components/select/select-value.css +0 -14
- package/dist/components/select/select-value.module.js +0 -5
- package/dist/components/spacer/spacer.css +0 -5
- package/dist/components/spacer/spacer.module.js +0 -5
- package/dist/components/switch/switch.css +0 -55
- package/dist/components/switch/switch.module.js +0 -10
- package/dist/components/tabs/tabs-panel.css +0 -14
- package/dist/components/tabs/tabs-panel.module.js +0 -5
- package/dist/components/tabs/tabs.css +0 -6
- package/dist/components/tabs/tabs.module.js +0 -5
- package/dist/components/tabs-pill/tabs-pill-indicator.css +0 -14
- package/dist/components/tabs-pill/tabs-pill-indicator.module.js +0 -5
- package/dist/components/tabs-pill/tabs-pill-list.css +0 -9
- package/dist/components/tabs-pill/tabs-pill-list.module.js +0 -5
- package/dist/components/tabs-pill/tabs-pill-tab.css +0 -66
- package/dist/components/tabs-pill/tabs-pill-tab.module.js +0 -9
- package/dist/components/tabs-segmented/tabs-segmented-indicator.css +0 -14
- package/dist/components/tabs-segmented/tabs-segmented-indicator.module.js +0 -5
- package/dist/components/tabs-segmented/tabs-segmented-list.css +0 -13
- package/dist/components/tabs-segmented/tabs-segmented-list.module.js +0 -5
- package/dist/components/tabs-segmented/tabs-segmented-tab.css +0 -37
- package/dist/components/tabs-segmented/tabs-segmented-tab.module.js +0 -5
- package/dist/components/tabs-underline/tabs-underline-indicator.css +0 -12
- package/dist/components/tabs-underline/tabs-underline-indicator.module.js +0 -5
- package/dist/components/tabs-underline/tabs-underline-list.css +0 -10
- package/dist/components/tabs-underline/tabs-underline-list.module.js +0 -5
- package/dist/components/tabs-underline/tabs-underline-tab.css +0 -36
- package/dist/components/tabs-underline/tabs-underline-tab.module.js +0 -5
- package/dist/components/textarea/textarea.css +0 -9
- package/dist/components/textarea/textarea.module.js +0 -5
- package/dist/components/toggle-group/toggle-group-item.css +0 -47
- package/dist/components/toggle-group/toggle-group-item.module.js +0 -5
- package/dist/components/toggle-group/toggle-group.css +0 -7
- package/dist/components/toggle-group/toggle-group.module.js +0 -5
- package/dist/components/tooltip/tooltip-popup.css +0 -32
- package/dist/components/tooltip/tooltip-popup.module.js +0 -8
|
@@ -1,11 +1,10 @@
|
|
|
1
|
+
import { menuSubmenuTriggerStyles } from "./menu-submenu-trigger.stylex.js";
|
|
1
2
|
import { Menu } from "@base-ui/react";
|
|
2
3
|
import { JSX } from "react";
|
|
3
4
|
//#region src/components/menu/menu-submenu-trigger.d.ts
|
|
4
|
-
interface MenuSubmenuTriggerProps extends Omit<Menu.SubmenuTrigger.Props, "className"
|
|
5
|
+
interface MenuSubmenuTriggerProps extends Omit<Menu.SubmenuTrigger.Props, "className"> {
|
|
5
6
|
className?: string;
|
|
6
|
-
isDisabled?: Menu.SubmenuTrigger.Props["disabled"];
|
|
7
7
|
}
|
|
8
8
|
declare function MenuSubmenuTrigger(props: MenuSubmenuTriggerProps): JSX.Element;
|
|
9
|
-
declare const menuSubmenuTriggerVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
10
9
|
//#endregion
|
|
11
|
-
export { MenuSubmenuTrigger, MenuSubmenuTriggerProps,
|
|
10
|
+
export { MenuSubmenuTrigger, MenuSubmenuTriggerProps, menuSubmenuTriggerStyles };
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { pickerItemStyles } from "../picker/picker-item.stylex.js";
|
|
3
|
+
import { menuItemStyles } from "./menu-item.stylex.js";
|
|
4
|
+
import { menuSubmenuTriggerStyles } from "./menu-submenu-trigger.stylex.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { Menu } from "@base-ui/react";
|
|
7
7
|
//#region src/components/menu/menu-submenu-trigger.tsx
|
|
8
8
|
function MenuSubmenuTrigger(props) {
|
|
9
|
-
const { children, className: customClassName = "",
|
|
10
|
-
const combinedClassName = menuSubmenuTriggerVariants({ className: customClassName });
|
|
9
|
+
const { children, className: customClassName = "", ...rest } = props;
|
|
11
10
|
return /* @__PURE__ */ jsxs(Menu.SubmenuTrigger, {
|
|
12
|
-
className:
|
|
11
|
+
className: cn(sx(pickerItemStyles.base, menuItemStyles.base, menuSubmenuTriggerStyles.base), customClassName),
|
|
13
12
|
"data-slot": "menu-submenu-trigger",
|
|
14
|
-
disabled: isDisabled,
|
|
15
13
|
...rest,
|
|
16
14
|
children: [children, /* @__PURE__ */ jsx("span", {
|
|
17
|
-
className:
|
|
15
|
+
className: sx(menuSubmenuTriggerStyles.icon),
|
|
18
16
|
"data-slot": "menu-submenu-trigger-icon",
|
|
19
17
|
children: /* @__PURE__ */ jsx("svg", {
|
|
20
18
|
height: "14px",
|
|
@@ -35,10 +33,5 @@ function MenuSubmenuTrigger(props) {
|
|
|
35
33
|
})]
|
|
36
34
|
});
|
|
37
35
|
}
|
|
38
|
-
const menuSubmenuTriggerVariants = cva([
|
|
39
|
-
picker_item_module_default.base,
|
|
40
|
-
menu_item_module_default.base,
|
|
41
|
-
menu_submenu_trigger_module_default.base
|
|
42
|
-
]);
|
|
43
36
|
//#endregion
|
|
44
|
-
export { MenuSubmenuTrigger,
|
|
37
|
+
export { MenuSubmenuTrigger, menuSubmenuTriggerStyles };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/menu/menu-submenu-trigger.stylex.d.ts
|
|
3
|
+
declare const menuSubmenuTriggerStyles: Readonly<{
|
|
4
|
+
readonly base: Readonly<{
|
|
5
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent" | "var(--color-gray-3)">;
|
|
6
|
+
}>;
|
|
7
|
+
readonly icon: Readonly<{
|
|
8
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
9
|
+
readonly color: stylex.StyleXClassNameFor<"color", "var(--color-text-secondary)">;
|
|
10
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
11
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
12
|
+
readonly height: stylex.StyleXClassNameFor<"height", 16>;
|
|
13
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
14
|
+
readonly marginLeft: stylex.StyleXClassNameFor<"marginLeft", "auto">;
|
|
15
|
+
readonly width: stylex.StyleXClassNameFor<"width", 16>;
|
|
16
|
+
}>;
|
|
17
|
+
}>;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { menuSubmenuTriggerStyles };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//#region src/components/menu/menu-submenu-trigger.stylex.ts
|
|
2
|
+
const menuSubmenuTriggerStyles = {
|
|
3
|
+
base: {
|
|
4
|
+
kWkggS: "xm4hijy xjbqb8w",
|
|
5
|
+
$$css: true
|
|
6
|
+
},
|
|
7
|
+
icon: {
|
|
8
|
+
kGNEyG: "x6s0dn4",
|
|
9
|
+
kMwMTN: "xv1l7n4",
|
|
10
|
+
k1xSpc: "x78zum5",
|
|
11
|
+
kmuXW: "x2lah0s",
|
|
12
|
+
kZKoxP: "xlup9mm",
|
|
13
|
+
kjj79g: "xl56j7k",
|
|
14
|
+
koQZXg: "x8x9d4c",
|
|
15
|
+
kzqmXN: "x1kky2od",
|
|
16
|
+
$$css: true
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { menuSubmenuTriggerStyles };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { otpFieldInputStyles } from "./otp-field-input.stylex.js";
|
|
1
2
|
import { OTPField } from "@base-ui/react";
|
|
2
3
|
import { JSX } from "react";
|
|
3
4
|
//#region src/components/otp-field/otp-field-input.d.ts
|
|
4
5
|
interface OTPFieldInputProps extends OTPField.Input.Props {}
|
|
5
6
|
declare function OTPFieldInput(props: OTPFieldInputProps): JSX.Element;
|
|
6
|
-
declare const otpFieldInputVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
7
7
|
//#endregion
|
|
8
|
-
export { OTPFieldInput,
|
|
8
|
+
export { OTPFieldInput, otpFieldInputStyles };
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { otpFieldStyles } from "./otp-field.stylex.js";
|
|
3
|
+
import { otpFieldInputStyles } from "./otp-field-input.stylex.js";
|
|
3
4
|
import { jsx } from "react/jsx-runtime";
|
|
4
5
|
import { OTPField } from "@base-ui/react";
|
|
5
6
|
//#region src/components/otp-field/otp-field-input.tsx
|
|
6
7
|
function OTPFieldInput(props) {
|
|
7
8
|
const { className: customClassName = "", ...rest } = props;
|
|
8
|
-
const combinedClassName = otpFieldInputVariants({ className: customClassName });
|
|
9
9
|
return /* @__PURE__ */ jsx(OTPField.Input, {
|
|
10
|
-
className:
|
|
10
|
+
className: cn(sx(otpFieldInputStyles.base, otpFieldStyles.maskedInput), customClassName),
|
|
11
11
|
"data-slot": "otp-field-input",
|
|
12
12
|
...rest
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
|
-
const otpFieldInputVariants = cva(otp_field_input_module_default.base);
|
|
16
15
|
//#endregion
|
|
17
|
-
export { OTPFieldInput,
|
|
16
|
+
export { OTPFieldInput, otpFieldInputStyles };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/otp-field/otp-field-input.stylex.d.ts
|
|
3
|
+
declare const otpFieldInputStyles: Readonly<{
|
|
4
|
+
readonly base: Readonly<{
|
|
5
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "var(--color-gray-3)">;
|
|
6
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 14>;
|
|
7
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "inset 0 0 0 1px var(--color-border)" | "inset 0 0 0 1px var(--color-gray-6)">;
|
|
8
|
+
readonly color: stylex.StyleXClassNameFor<"color", "var(--color-text-primary)">;
|
|
9
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "text" | "not-allowed">;
|
|
10
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", 14>;
|
|
11
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", 450>;
|
|
12
|
+
readonly height: stylex.StyleXClassNameFor<"height", 48>;
|
|
13
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 1 | 0.5>;
|
|
14
|
+
readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", "var(--color-outline)">;
|
|
15
|
+
readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", -2>;
|
|
16
|
+
readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
|
|
17
|
+
readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", 0 | 2>;
|
|
18
|
+
readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "center">;
|
|
19
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "150ms">;
|
|
20
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "box-shadow">;
|
|
21
|
+
readonly width: stylex.StyleXClassNameFor<"width", 40>;
|
|
22
|
+
}>;
|
|
23
|
+
}>;
|
|
24
|
+
//#endregion
|
|
25
|
+
export { otpFieldInputStyles };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region src/components/otp-field/otp-field-input.stylex.ts
|
|
2
|
+
const otpFieldInputStyles = { base: {
|
|
3
|
+
kWkggS: "x2j0cto",
|
|
4
|
+
kaIpWk: "xixl9f9",
|
|
5
|
+
kGVxlE: "x1rlgnxn x1er153n",
|
|
6
|
+
kMwMTN: "x1tgivj0",
|
|
7
|
+
kkrTdU: "x1s07b3s x1ed109x",
|
|
8
|
+
kGuDYH: "xif65rj",
|
|
9
|
+
k63SB2: "x10p5zqr",
|
|
10
|
+
kZKoxP: "xsdox4t",
|
|
11
|
+
kSiTet: "xijokvz x1hc1fzr",
|
|
12
|
+
kjBf7l: "x43yjvr",
|
|
13
|
+
kInvED: "x2ssjo2",
|
|
14
|
+
k3XXqK: "xaatb59",
|
|
15
|
+
kMeerF: "x784prv x1k57tk5",
|
|
16
|
+
k9WMMc: "x2b8uid",
|
|
17
|
+
kIyJzY: "xx6bhzk",
|
|
18
|
+
k1ekBW: "xkdsq27",
|
|
19
|
+
kzqmXN: "x100vrsf",
|
|
20
|
+
$$css: true
|
|
21
|
+
} };
|
|
22
|
+
//#endregion
|
|
23
|
+
export { otpFieldInputStyles };
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
+
import { otpFieldStyles } from "./otp-field.stylex.js";
|
|
1
2
|
import { OTPField } from "@base-ui/react";
|
|
2
3
|
import { JSX } from "react";
|
|
3
4
|
//#region src/components/otp-field/otp-field.d.ts
|
|
4
|
-
interface OTPFieldProps extends Omit<OTPField.Root.Props, "
|
|
5
|
-
|
|
6
|
-
isMasked?: OTPField.Root.Props["mask"];
|
|
5
|
+
interface OTPFieldProps extends Omit<OTPField.Root.Props, "mask"> {
|
|
6
|
+
masked?: OTPField.Root.Props["mask"];
|
|
7
7
|
}
|
|
8
8
|
declare function OTPField$1(props: OTPFieldProps): JSX.Element;
|
|
9
|
-
declare const otpFieldVariants: (props?: ({
|
|
10
|
-
isMasked?: boolean | null | undefined;
|
|
11
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
9
|
//#endregion
|
|
13
|
-
export { OTPField$1 as OTPField,
|
|
10
|
+
export { OTPField$1 as OTPField, otpFieldStyles };
|
|
@@ -1,28 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { otpFieldStyles } from "./otp-field.stylex.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { OTPField } from "@base-ui/react";
|
|
5
5
|
//#region src/components/otp-field/otp-field.tsx
|
|
6
6
|
function OTPField$1(props) {
|
|
7
|
-
const { className: customClassName = "",
|
|
8
|
-
const combinedClassName = otpFieldVariants({
|
|
9
|
-
className: customClassName,
|
|
10
|
-
isMasked
|
|
11
|
-
});
|
|
7
|
+
const { className: customClassName = "", masked = false, ...rest } = props;
|
|
12
8
|
return /* @__PURE__ */ jsx(OTPField.Root, {
|
|
13
|
-
className:
|
|
9
|
+
className: cn(sx(otpFieldStyles.base), customClassName),
|
|
10
|
+
"data-is-masked": masked,
|
|
14
11
|
"data-slot": "otp-field",
|
|
15
|
-
|
|
16
|
-
mask: isMasked,
|
|
12
|
+
mask: masked,
|
|
17
13
|
...rest
|
|
18
14
|
});
|
|
19
15
|
}
|
|
20
|
-
const otpFieldVariants = cva(otp_field_module_default.base, {
|
|
21
|
-
defaultVariants: { isMasked: false },
|
|
22
|
-
variants: { isMasked: {
|
|
23
|
-
false: "",
|
|
24
|
-
true: otp_field_module_default.masked
|
|
25
|
-
} }
|
|
26
|
-
});
|
|
27
16
|
//#endregion
|
|
28
|
-
export { OTPField$1 as OTPField,
|
|
17
|
+
export { OTPField$1 as OTPField, otpFieldStyles };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/otp-field/otp-field.stylex.d.ts
|
|
3
|
+
declare const otpFieldStyles: Readonly<{
|
|
4
|
+
readonly base: Readonly<{
|
|
5
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
6
|
+
readonly flexWrap: stylex.StyleXClassNameFor<"flexWrap", "wrap">;
|
|
7
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", 8>;
|
|
8
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
9
|
+
readonly width: stylex.StyleXClassNameFor<"width", "fit-content">;
|
|
10
|
+
}>;
|
|
11
|
+
readonly maskedInput: Readonly<{
|
|
12
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", "inherit" | "var(--font-code)">;
|
|
13
|
+
}>;
|
|
14
|
+
}>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { otpFieldStyles };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region src/components/otp-field/otp-field.stylex.ts
|
|
2
|
+
const otpFieldStyles = {
|
|
3
|
+
base: {
|
|
4
|
+
k1xSpc: "x78zum5",
|
|
5
|
+
kwnvtZ: "x1a02dak",
|
|
6
|
+
kOIVth: "x167g77z",
|
|
7
|
+
kjj79g: "xl56j7k",
|
|
8
|
+
kzqmXN: "xeq5yr9",
|
|
9
|
+
$$css: true
|
|
10
|
+
},
|
|
11
|
+
maskedInput: {
|
|
12
|
+
kMv6JI: "xjb2p0i x1iczwhp",
|
|
13
|
+
$$css: true
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { otpFieldStyles };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/picker/picker-group.stylex.d.ts
|
|
3
|
+
declare const pickerGroupStyles: Readonly<{
|
|
4
|
+
readonly base: Readonly<{
|
|
5
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
6
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
7
|
+
readonly rowGap: stylex.StyleXClassNameFor<"rowGap", 2>;
|
|
8
|
+
}>;
|
|
9
|
+
readonly label: Readonly<{
|
|
10
|
+
readonly color: stylex.StyleXClassNameFor<"color", "var(--color-text-secondary)">;
|
|
11
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", 12>;
|
|
12
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", 450>;
|
|
13
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", "6px 4px">;
|
|
14
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 12>;
|
|
15
|
+
}>;
|
|
16
|
+
}>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { pickerGroupStyles };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region src/components/picker/picker-group.stylex.ts
|
|
2
|
+
const pickerGroupStyles = {
|
|
3
|
+
base: {
|
|
4
|
+
k1xSpc: "x78zum5",
|
|
5
|
+
kXwgrk: "xdt5ytf",
|
|
6
|
+
khm7nJ: "x1dbijih",
|
|
7
|
+
$$css: true
|
|
8
|
+
},
|
|
9
|
+
label: {
|
|
10
|
+
kMwMTN: "xv1l7n4",
|
|
11
|
+
kGuDYH: "xfifm61",
|
|
12
|
+
k63SB2: "x10p5zqr",
|
|
13
|
+
k8WAf4: "xxzk6he",
|
|
14
|
+
kg3NbH: "xaope02",
|
|
15
|
+
$$css: true
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { pickerGroupStyles };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/picker/picker-item.stylex.d.ts
|
|
3
|
+
declare const pickerItemStyles: Readonly<{
|
|
4
|
+
readonly base: Readonly<{
|
|
5
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
6
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent" | "var(--color-gray-3)">;
|
|
7
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 8>;
|
|
8
|
+
readonly columnGap: stylex.StyleXClassNameFor<"columnGap", 8>;
|
|
9
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer" | "not-allowed">;
|
|
10
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
11
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
12
|
+
readonly height: stylex.StyleXClassNameFor<"height", 36>;
|
|
13
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 1 | 0.5>;
|
|
14
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
15
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
|
|
16
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 12>;
|
|
17
|
+
readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
|
|
18
|
+
}>;
|
|
19
|
+
readonly indicator: Readonly<{
|
|
20
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
21
|
+
readonly color: stylex.StyleXClassNameFor<"color", "var(--color-primary-9)">;
|
|
22
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
23
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
24
|
+
readonly height: stylex.StyleXClassNameFor<"height", 16>;
|
|
25
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
26
|
+
readonly marginLeft: stylex.StyleXClassNameFor<"marginLeft", "auto">;
|
|
27
|
+
readonly width: stylex.StyleXClassNameFor<"width", 16>;
|
|
28
|
+
}>;
|
|
29
|
+
readonly label: Readonly<{
|
|
30
|
+
readonly color: stylex.StyleXClassNameFor<"color", "var(--color-text-primary)">;
|
|
31
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", 14>;
|
|
32
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", 450>;
|
|
33
|
+
readonly overflowX: stylex.StyleXClassNameFor<"overflowX", "hidden">;
|
|
34
|
+
readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
|
|
35
|
+
readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
|
|
36
|
+
}>;
|
|
37
|
+
}>;
|
|
38
|
+
//#endregion
|
|
39
|
+
export { pickerItemStyles };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
//#region src/components/picker/picker-item.stylex.ts
|
|
2
|
+
const pickerItemStyles = {
|
|
3
|
+
base: {
|
|
4
|
+
kGNEyG: "x6s0dn4",
|
|
5
|
+
kWkggS: "x1cgdd2a x160dr52 xjbqb8w",
|
|
6
|
+
kaIpWk: "xur7f20",
|
|
7
|
+
k1C7PZ: "xfex06f",
|
|
8
|
+
kkrTdU: "x5ezrf1 x1ypdohk",
|
|
9
|
+
k1xSpc: "x78zum5",
|
|
10
|
+
kmuXW: "x2lah0s",
|
|
11
|
+
kZKoxP: "xc9qbxq",
|
|
12
|
+
kSiTet: "xxh3kiz x1hc1fzr",
|
|
13
|
+
kI3sdo: "x1a2a7pz",
|
|
14
|
+
k8WAf4: "xt970qd",
|
|
15
|
+
kg3NbH: "xaope02",
|
|
16
|
+
kfSwDN: "x87ps6o",
|
|
17
|
+
$$css: true
|
|
18
|
+
},
|
|
19
|
+
indicator: {
|
|
20
|
+
kGNEyG: "x6s0dn4",
|
|
21
|
+
kMwMTN: "x9i09x5",
|
|
22
|
+
k1xSpc: "x78zum5",
|
|
23
|
+
kmuXW: "x2lah0s",
|
|
24
|
+
kZKoxP: "xlup9mm",
|
|
25
|
+
kjj79g: "xl56j7k",
|
|
26
|
+
koQZXg: "x8x9d4c",
|
|
27
|
+
kzqmXN: "x1kky2od",
|
|
28
|
+
$$css: true
|
|
29
|
+
},
|
|
30
|
+
label: {
|
|
31
|
+
kMwMTN: "x1tgivj0",
|
|
32
|
+
kGuDYH: "xif65rj",
|
|
33
|
+
k63SB2: "x10p5zqr",
|
|
34
|
+
kXHlph: "x6ikm8r",
|
|
35
|
+
kg5iWk: "xlyipyv",
|
|
36
|
+
khDVqt: "xuxw1ft",
|
|
37
|
+
$$css: true
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
//#endregion
|
|
41
|
+
export { pickerItemStyles };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/components/picker/picker-list.stylex.ts
|
|
2
|
+
const pickerListStyles = { base: {
|
|
3
|
+
k1xSpc: "x1vilw8v x78zum5",
|
|
4
|
+
kXwgrk: "xdt5ytf",
|
|
5
|
+
kORKVm: "x1odjw0f",
|
|
6
|
+
kZeWKH: "xish69e",
|
|
7
|
+
kmVPX3: "xfawy5m",
|
|
8
|
+
khm7nJ: "x1dbijih",
|
|
9
|
+
kcrMnD: "x1r1ic4w",
|
|
10
|
+
$$css: true
|
|
11
|
+
} };
|
|
12
|
+
//#endregion
|
|
13
|
+
export { pickerListStyles };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/picker/picker-popup.stylex.d.ts
|
|
3
|
+
declare const pickerPopupStyles: Readonly<{
|
|
4
|
+
readonly base: Readonly<{
|
|
5
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "var(--color-bg-shell-inner)">;
|
|
6
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "var(--color-border)">;
|
|
7
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 12>;
|
|
8
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
9
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", 1>;
|
|
10
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "0 0.5px 0 color-mix(in oklab, black 3%, transparent), 0 36px 15px -4px color-mix(in oklab, black 1%, transparent), 0 20px 12px -3px color-mix(in oklab, black 3%, transparent), 0 9px 9px -2px color-mix(in oklab, black 4%, transparent), 0 2px 5px -1px color-mix(in oklab, black 5%, transparent)">;
|
|
11
|
+
readonly color: stylex.StyleXClassNameFor<"color", "var(--color-text-primary)">;
|
|
12
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
13
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
14
|
+
readonly maxHeight: stylex.StyleXClassNameFor<"maxHeight", "min(var(--available-height), 480px)">;
|
|
15
|
+
readonly maxWidth: stylex.StyleXClassNameFor<"maxWidth", "var(--available-width)">;
|
|
16
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", "max(var(--anchor-width), 240px)">;
|
|
17
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0 | 1>;
|
|
18
|
+
readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", "var(--color-primary-9)">;
|
|
19
|
+
readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", -2>;
|
|
20
|
+
readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
|
|
21
|
+
readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", 0 | 2>;
|
|
22
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
23
|
+
readonly transform: stylex.StyleXClassNameFor<"transform", "none" | "scale(0.975)" | "scale(0.975) translateY(-4px)" | "scale(0.975) translateX(-4px)" | "scale(0.975) translateX(4px)" | "scale(0.975) translateY(4px)">;
|
|
24
|
+
readonly transformOrigin: stylex.StyleXClassNameFor<"transformOrigin", "var(--transform-origin)">;
|
|
25
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "150ms">;
|
|
26
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "opacity, transform">;
|
|
27
|
+
readonly width: stylex.StyleXClassNameFor<"width", "var(--anchor-width)">;
|
|
28
|
+
readonly willChange: stylex.StyleXClassNameFor<"willChange", "opacity, transform">;
|
|
29
|
+
}>;
|
|
30
|
+
readonly positioner: Readonly<{
|
|
31
|
+
readonly isolation: stylex.StyleXClassNameFor<"isolation", "isolate">;
|
|
32
|
+
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 50>;
|
|
33
|
+
}>;
|
|
34
|
+
}>;
|
|
35
|
+
//#endregion
|
|
36
|
+
export { pickerPopupStyles };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
//#region src/components/picker/picker-popup.stylex.ts
|
|
2
|
+
const pickerPopupStyles = {
|
|
3
|
+
base: {
|
|
4
|
+
kWkggS: "x1h73wb5",
|
|
5
|
+
kVAM5u: "x14i3s5s",
|
|
6
|
+
kaIpWk: "x4pepcl",
|
|
7
|
+
ksu8eU: "x1y0btm7",
|
|
8
|
+
kMzoRj: "xmkeg23",
|
|
9
|
+
kGVxlE: "x1ikjq0b",
|
|
10
|
+
kMwMTN: "x1tgivj0",
|
|
11
|
+
k1xSpc: "x78zum5",
|
|
12
|
+
kXwgrk: "xdt5ytf",
|
|
13
|
+
kskxy: "xqldp2m",
|
|
14
|
+
ks0D6T: "x7k7lee",
|
|
15
|
+
k7Eaqz: "xz962wo",
|
|
16
|
+
kSiTet: "x1pimrze x1hc1fzr",
|
|
17
|
+
kjBf7l: "x1luwoo2",
|
|
18
|
+
kInvED: "x2ssjo2",
|
|
19
|
+
k3XXqK: "xaatb59",
|
|
20
|
+
kMeerF: "x784prv x1k57tk5",
|
|
21
|
+
kVQacm: "xb3r6kr",
|
|
22
|
+
k3aq6I: "x1t4ihx1 xmrwbtw x1fpexdu xaf6vq3 x1usa04o x1c071of",
|
|
23
|
+
k3nNDw: "xctpfpq",
|
|
24
|
+
kIyJzY: "xx6bhzk",
|
|
25
|
+
k1ekBW: "x6o7n8i",
|
|
26
|
+
kzqmXN: "x1hhjr3y",
|
|
27
|
+
k6sLGO: "x6my1t9",
|
|
28
|
+
$$css: true
|
|
29
|
+
},
|
|
30
|
+
positioner: {
|
|
31
|
+
kHBbk8: "xc8icb0",
|
|
32
|
+
kY2c9j: "xa9119d",
|
|
33
|
+
$$css: true
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
export { pickerPopupStyles };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/picker/picker-separator.stylex.d.ts
|
|
3
|
+
declare const pickerSeparatorStyles: Readonly<{
|
|
4
|
+
readonly base: Readonly<{
|
|
5
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "var(--color-border)">;
|
|
6
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
7
|
+
readonly height: stylex.StyleXClassNameFor<"height", 1>;
|
|
8
|
+
readonly marginBlock: stylex.StyleXClassNameFor<"marginBlock", 2>;
|
|
9
|
+
readonly marginInline: stylex.StyleXClassNameFor<"marginInline", 8>;
|
|
10
|
+
}>;
|
|
11
|
+
}>;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { pickerSeparatorStyles };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/components/picker/picker-separator.stylex.ts
|
|
2
|
+
const pickerSeparatorStyles = { base: {
|
|
3
|
+
kWkggS: "x1m4xfpy",
|
|
4
|
+
kmuXW: "x2lah0s",
|
|
5
|
+
kZKoxP: "xjm9jq1",
|
|
6
|
+
kqGvvJ: "x8q42hb",
|
|
7
|
+
kUOVxO: "xxbjj12",
|
|
8
|
+
$$css: true
|
|
9
|
+
} };
|
|
10
|
+
//#endregion
|
|
11
|
+
export { pickerSeparatorStyles };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/picker/picker-trigger.stylex.d.ts
|
|
3
|
+
declare const pickerTriggerStyles: Readonly<{
|
|
4
|
+
readonly 32: Readonly<{
|
|
5
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 8>;
|
|
6
|
+
readonly height: stylex.StyleXClassNameFor<"height", 32>;
|
|
7
|
+
}>;
|
|
8
|
+
readonly 36: Readonly<{
|
|
9
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 9>;
|
|
10
|
+
readonly height: stylex.StyleXClassNameFor<"height", 36>;
|
|
11
|
+
}>;
|
|
12
|
+
readonly 40: Readonly<{
|
|
13
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 10>;
|
|
14
|
+
readonly height: stylex.StyleXClassNameFor<"height", 40>;
|
|
15
|
+
}>;
|
|
16
|
+
readonly 44: Readonly<{
|
|
17
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 11>;
|
|
18
|
+
readonly height: stylex.StyleXClassNameFor<"height", 44>;
|
|
19
|
+
}>;
|
|
20
|
+
readonly 48: Readonly<{
|
|
21
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 12>;
|
|
22
|
+
readonly height: stylex.StyleXClassNameFor<"height", 48>;
|
|
23
|
+
}>;
|
|
24
|
+
readonly base: Readonly<{
|
|
25
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
26
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "var(--color-bg-shell-inner)" | "var(--color-gray-3)">;
|
|
27
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "inset 0 0 0 1px var(--color-border)" | "inset 0 0 0 1px var(--color-gray-6)" | "inset 0 0 0 1px transparent">;
|
|
28
|
+
readonly columnGap: stylex.StyleXClassNameFor<"columnGap", 8>;
|
|
29
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer" | "not-allowed">;
|
|
30
|
+
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
31
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
32
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 1 | "var(--opacity-picker-disabled)">;
|
|
33
|
+
readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", "transparent" | "var(--color-primary)">;
|
|
34
|
+
readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", 2>;
|
|
35
|
+
readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
|
|
36
|
+
readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", 2>;
|
|
37
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
38
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
|
|
39
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 16>;
|
|
40
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "150ms">;
|
|
41
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, box-shadow">;
|
|
42
|
+
readonly width: stylex.StyleXClassNameFor<"width", "stretch">;
|
|
43
|
+
}>;
|
|
44
|
+
readonly icon: Readonly<{
|
|
45
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
46
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
47
|
+
readonly height: stylex.StyleXClassNameFor<"height", 16>;
|
|
48
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
49
|
+
readonly marginLeft: stylex.StyleXClassNameFor<"marginLeft", "auto">;
|
|
50
|
+
readonly rotate: stylex.StyleXClassNameFor<"rotate", "0deg" | "180deg">;
|
|
51
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "150ms">;
|
|
52
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "rotate">;
|
|
53
|
+
readonly width: stylex.StyleXClassNameFor<"width", 16>;
|
|
54
|
+
}>;
|
|
55
|
+
readonly roundedFull: Readonly<{
|
|
56
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 9999>;
|
|
57
|
+
}>;
|
|
58
|
+
}>;
|
|
59
|
+
//#endregion
|
|
60
|
+
export { pickerTriggerStyles };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
//#region src/components/picker/picker-trigger.stylex.ts
|
|
2
|
+
const pickerTriggerStyles = {
|
|
3
|
+
"32": {
|
|
4
|
+
kaIpWk: "xur7f20",
|
|
5
|
+
kZKoxP: "x10w6t97",
|
|
6
|
+
$$css: true
|
|
7
|
+
},
|
|
8
|
+
"36": {
|
|
9
|
+
kaIpWk: "xhpnuu7",
|
|
10
|
+
kZKoxP: "xc9qbxq",
|
|
11
|
+
$$css: true
|
|
12
|
+
},
|
|
13
|
+
"40": {
|
|
14
|
+
kaIpWk: "x1q4ynmn",
|
|
15
|
+
kZKoxP: "x1vqgdyp",
|
|
16
|
+
$$css: true
|
|
17
|
+
},
|
|
18
|
+
"44": {
|
|
19
|
+
kaIpWk: "x1ctf4ec",
|
|
20
|
+
kZKoxP: "xn3w4p2",
|
|
21
|
+
$$css: true
|
|
22
|
+
},
|
|
23
|
+
"48": {
|
|
24
|
+
kaIpWk: "x4pepcl",
|
|
25
|
+
kZKoxP: "xsdox4t",
|
|
26
|
+
$$css: true
|
|
27
|
+
},
|
|
28
|
+
base: {
|
|
29
|
+
kGNEyG: "x6s0dn4",
|
|
30
|
+
kWkggS: "xfi2sx2 xm4hijy x1h73wb5",
|
|
31
|
+
kGVxlE: "xwsgaks xofwk0p x1er153n",
|
|
32
|
+
k1C7PZ: "xfex06f",
|
|
33
|
+
kkrTdU: "x1s07b3s x1ypdohk",
|
|
34
|
+
k1xSpc: "x3nfvp2",
|
|
35
|
+
kmuXW: "x2lah0s",
|
|
36
|
+
kSiTet: "xpdez7c x1hc1fzr",
|
|
37
|
+
kjBf7l: "xr5th1z x1uczgqu",
|
|
38
|
+
kInvED: "x1hl8ikr",
|
|
39
|
+
k3XXqK: "xaatb59",
|
|
40
|
+
kMeerF: "x1de99jn",
|
|
41
|
+
kVQacm: "xb3r6kr",
|
|
42
|
+
k8WAf4: "xt970qd",
|
|
43
|
+
kg3NbH: "x1hr3lfm",
|
|
44
|
+
kIyJzY: "xx6bhzk",
|
|
45
|
+
k1ekBW: "x106061f",
|
|
46
|
+
kzqmXN: "x1brm51p",
|
|
47
|
+
$$css: true
|
|
48
|
+
},
|
|
49
|
+
icon: {
|
|
50
|
+
kGNEyG: "x6s0dn4",
|
|
51
|
+
k1xSpc: "x78zum5",
|
|
52
|
+
kZKoxP: "xlup9mm",
|
|
53
|
+
kjj79g: "xl56j7k",
|
|
54
|
+
koQZXg: "x8x9d4c",
|
|
55
|
+
k4XH5M: "x1gcftaf xxh3ss5",
|
|
56
|
+
kIyJzY: "xx6bhzk",
|
|
57
|
+
k1ekBW: "x1s3hfkw",
|
|
58
|
+
kzqmXN: "x1kky2od",
|
|
59
|
+
$$css: true
|
|
60
|
+
},
|
|
61
|
+
roundedFull: {
|
|
62
|
+
kaIpWk: "x10hpsqq",
|
|
63
|
+
$$css: true
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
//#endregion
|
|
67
|
+
export { pickerTriggerStyles };
|