@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
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/checkbox/checkbox.stylex.d.ts
|
|
3
|
+
declare const checkboxStyles: Readonly<{
|
|
4
|
+
readonly base: Readonly<{
|
|
5
|
+
readonly "--size": stylex.StyleXClassNameFor<"--size", "16px">;
|
|
6
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
7
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "var(--color-bg-shell-inner)" | "var(--color-gray-3)" | "var(--color-primary)">;
|
|
8
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", "transparent" | "var(--color-gray-6)" | "var(--color-border)">;
|
|
9
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 4>;
|
|
10
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
11
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", 1>;
|
|
12
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
13
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
14
|
+
readonly height: stylex.StyleXClassNameFor<"height", "var(--size)">;
|
|
15
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
16
|
+
readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", "var(--color-primary)">;
|
|
17
|
+
readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", 2>;
|
|
18
|
+
readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
|
|
19
|
+
readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", 0 | 2>;
|
|
20
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "150ms">;
|
|
21
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, border-color">;
|
|
22
|
+
readonly width: stylex.StyleXClassNameFor<"width", "var(--size)">;
|
|
23
|
+
}>;
|
|
24
|
+
readonly icon: Readonly<{
|
|
25
|
+
readonly "--size": stylex.StyleXClassNameFor<"--size", "12px">;
|
|
26
|
+
readonly height: stylex.StyleXClassNameFor<"height", "var(--size)">;
|
|
27
|
+
readonly width: stylex.StyleXClassNameFor<"width", "var(--size)">;
|
|
28
|
+
}>;
|
|
29
|
+
readonly iconPath: Readonly<{
|
|
30
|
+
readonly stroke: stylex.StyleXClassNameFor<"stroke", "white">;
|
|
31
|
+
readonly strokeWidth: stylex.StyleXClassNameFor<"strokeWidth", 3>;
|
|
32
|
+
}>;
|
|
33
|
+
readonly indicator: Readonly<{
|
|
34
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0 | 1>;
|
|
35
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "150ms">;
|
|
36
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "opacity">;
|
|
37
|
+
}>;
|
|
38
|
+
}>;
|
|
39
|
+
//#endregion
|
|
40
|
+
export { checkboxStyles };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
//#region src/components/checkbox/checkbox.stylex.ts
|
|
2
|
+
const checkboxStyles = {
|
|
3
|
+
base: {
|
|
4
|
+
"--size": "x1fwrj7o",
|
|
5
|
+
kGNEyG: "x6s0dn4",
|
|
6
|
+
kWkggS: "x12icss0 x1qny0gl x1h73wb5",
|
|
7
|
+
kVAM5u: "x7n6cpb x81i4et x14i3s5s",
|
|
8
|
+
kaIpWk: "x12oqio5",
|
|
9
|
+
ksu8eU: "x1y0btm7",
|
|
10
|
+
kMzoRj: "xmkeg23",
|
|
11
|
+
kkrTdU: "x1ypdohk",
|
|
12
|
+
k1xSpc: "x78zum5",
|
|
13
|
+
kZKoxP: "x188dgw3",
|
|
14
|
+
kjj79g: "xl56j7k",
|
|
15
|
+
kjBf7l: "x1du7r5n",
|
|
16
|
+
kInvED: "x1hl8ikr",
|
|
17
|
+
k3XXqK: "xaatb59",
|
|
18
|
+
kMeerF: "x784prv x1k57tk5",
|
|
19
|
+
kIyJzY: "xx6bhzk",
|
|
20
|
+
k1ekBW: "xts7igz",
|
|
21
|
+
kzqmXN: "x1fjlwjz",
|
|
22
|
+
$$css: true
|
|
23
|
+
},
|
|
24
|
+
icon: {
|
|
25
|
+
"--size": "x14kqwz2",
|
|
26
|
+
kZKoxP: "x188dgw3",
|
|
27
|
+
kzqmXN: "x1fjlwjz",
|
|
28
|
+
$$css: true
|
|
29
|
+
},
|
|
30
|
+
iconPath: {
|
|
31
|
+
kjVXCG: "xqvyd8v",
|
|
32
|
+
kfJifR: "xqjr0vm",
|
|
33
|
+
$$css: true
|
|
34
|
+
},
|
|
35
|
+
indicator: {
|
|
36
|
+
kSiTet: "xyn2shw xg01cxk",
|
|
37
|
+
kIyJzY: "xx6bhzk",
|
|
38
|
+
k1ekBW: "x19991ni",
|
|
39
|
+
$$css: true
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
//#endregion
|
|
43
|
+
export { checkboxStyles };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CompiledStyles, InlineStyles, StyleXArray } from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/cn.d.ts
|
|
3
|
+
type StylexStyle = StyleXArray<boolean | CompiledStyles | false | null | Readonly<[CompiledStyles, InlineStyles]> | undefined>;
|
|
4
|
+
declare function sx(...styles: StylexStyle[]): string;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { sx };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/cn.ts
|
|
3
|
+
/**
|
|
4
|
+
* Join class names, dropping empty values.
|
|
5
|
+
*
|
|
6
|
+
* `cn` is short for class names.
|
|
7
|
+
*
|
|
8
|
+
* @param {unknown[]} values - Class strings and optional empty values to ignore.
|
|
9
|
+
* @returns {string} A single space-separated class string.
|
|
10
|
+
*/
|
|
11
|
+
function cn(...values) {
|
|
12
|
+
return values.filter((value) => typeof value === "string" && value !== "").join(" ");
|
|
13
|
+
}
|
|
14
|
+
function sx(...styles) {
|
|
15
|
+
return stylex.props(...styles).className ?? "";
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { cn, sx };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { columnStyles } from "./column.stylex.js";
|
|
1
2
|
import { CSSProperties, ComponentProps, ElementType, JSX } from "react";
|
|
2
3
|
//#region src/components/column/column.d.ts
|
|
3
4
|
type ColumnProps<ComponentType extends ElementType = "div"> = ColumnInternalProps & ComponentProps<ComponentType>;
|
|
@@ -11,6 +12,5 @@ interface ColumnInternalProps {
|
|
|
11
12
|
justifyContent?: CSSProperties["justifyContent"];
|
|
12
13
|
}
|
|
13
14
|
declare function Column(props: ColumnProps): JSX.Element;
|
|
14
|
-
declare const columnVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
15
15
|
//#endregion
|
|
16
|
-
export { Column, ColumnProps,
|
|
16
|
+
export { Column, ColumnProps, columnStyles };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn } from "../cn.js";
|
|
2
|
+
import { columnStyles } from "./column.stylex.js";
|
|
3
|
+
import * as stylex from "@stylexjs/stylex";
|
|
3
4
|
import { createElement } from "react";
|
|
4
5
|
//#region src/components/column/column.tsx
|
|
5
6
|
function Column(props) {
|
|
6
|
-
const { alignItems = void 0, as = "div", className
|
|
7
|
-
const
|
|
8
|
-
const combinedClassName = columnVariants({ className: customClassName });
|
|
7
|
+
const { alignItems = void 0, as = "div", className = "", flexWrap = void 0, gap = void 0, gapX = void 0, gapY = void 0, justifyContent = void 0, style: customStyle, ...rest } = props;
|
|
8
|
+
const { className: stylexClassName } = stylex.props(columnStyles.base);
|
|
9
9
|
const combinedStyle = {
|
|
10
10
|
...customStyle,
|
|
11
11
|
...gap === void 0 ? {} : { gap },
|
|
@@ -15,13 +15,12 @@ function Column(props) {
|
|
|
15
15
|
...alignItems === void 0 ? {} : { alignItems },
|
|
16
16
|
...justifyContent === void 0 ? {} : { justifyContent }
|
|
17
17
|
};
|
|
18
|
-
return createElement(
|
|
19
|
-
className:
|
|
18
|
+
return createElement(as, {
|
|
19
|
+
className: cn(stylexClassName, className),
|
|
20
20
|
"data-slot": "column",
|
|
21
21
|
style: combinedStyle,
|
|
22
22
|
...rest
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
const columnVariants = cva(column_module_default.base);
|
|
26
25
|
//#endregion
|
|
27
|
-
export { Column,
|
|
26
|
+
export { Column, columnStyles };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/column/column.stylex.d.ts
|
|
3
|
+
declare const columnStyles: Readonly<{
|
|
4
|
+
readonly base: Readonly<{
|
|
5
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
6
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
7
|
+
}>;
|
|
8
|
+
}>;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { columnStyles };
|
|
@@ -6,6 +6,5 @@ interface ComboboxContentProps extends Omit<Combobox.Popup.Props, "className">,
|
|
|
6
6
|
container?: Combobox.Portal.Props["container"];
|
|
7
7
|
}
|
|
8
8
|
declare function ComboboxContent(props: ComboboxContentProps): JSX.Element;
|
|
9
|
-
declare const comboboxContentVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
10
9
|
//#endregion
|
|
11
|
-
export { ComboboxContent, ComboboxContentProps
|
|
10
|
+
export { ComboboxContent, ComboboxContentProps };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { pickerPopupStyles } from "../picker/picker-popup.stylex.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Combobox } from "@base-ui/react";
|
|
5
5
|
//#region src/components/combobox/combobox-content.tsx
|
|
6
6
|
function ComboboxContent(props) {
|
|
7
7
|
const { align = "start", alignOffset = void 0, anchor = void 0, arrowPadding = void 0, children, className: customClassName = "", collisionAvoidance = void 0, collisionBoundary = void 0, collisionPadding = void 0, container = void 0, disableAnchorTracking = void 0, positionMethod = void 0, side = "bottom", sideOffset = 6, sticky = void 0, ...rest } = props;
|
|
8
|
-
const combinedClassName = comboboxContentVariants({ className: customClassName });
|
|
9
8
|
return /* @__PURE__ */ jsx(Combobox.Portal, {
|
|
10
9
|
container,
|
|
11
10
|
"data-slot": "combobox-portal",
|
|
@@ -14,7 +13,7 @@ function ComboboxContent(props) {
|
|
|
14
13
|
alignOffset,
|
|
15
14
|
anchor,
|
|
16
15
|
arrowPadding,
|
|
17
|
-
className:
|
|
16
|
+
className: sx(pickerPopupStyles.positioner),
|
|
18
17
|
collisionAvoidance,
|
|
19
18
|
collisionBoundary,
|
|
20
19
|
collisionPadding,
|
|
@@ -25,7 +24,7 @@ function ComboboxContent(props) {
|
|
|
25
24
|
sideOffset,
|
|
26
25
|
sticky,
|
|
27
26
|
children: /* @__PURE__ */ jsx(Combobox.Popup, {
|
|
28
|
-
className:
|
|
27
|
+
className: cn(sx(pickerPopupStyles.base), customClassName),
|
|
29
28
|
"data-slot": "combobox-content",
|
|
30
29
|
...rest,
|
|
31
30
|
children
|
|
@@ -33,6 +32,5 @@ function ComboboxContent(props) {
|
|
|
33
32
|
})
|
|
34
33
|
});
|
|
35
34
|
}
|
|
36
|
-
const comboboxContentVariants = cva(picker_popup_module_default.base);
|
|
37
35
|
//#endregion
|
|
38
|
-
export { ComboboxContent
|
|
36
|
+
export { ComboboxContent };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { comboboxEmptyStyles } from "./combobox-empty.stylex.js";
|
|
1
2
|
import { Combobox } from "@base-ui/react";
|
|
2
3
|
import { JSX } from "react";
|
|
3
4
|
//#region src/components/combobox/combobox-empty.d.ts
|
|
@@ -5,6 +6,5 @@ interface ComboboxEmptyProps extends Omit<Combobox.Empty.Props, "className"> {
|
|
|
5
6
|
className?: string;
|
|
6
7
|
}
|
|
7
8
|
declare function ComboboxEmpty(props: ComboboxEmptyProps): JSX.Element;
|
|
8
|
-
declare const comboboxEmptyVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
9
9
|
//#endregion
|
|
10
|
-
export { ComboboxEmpty, ComboboxEmptyProps,
|
|
10
|
+
export { ComboboxEmpty, ComboboxEmptyProps, comboboxEmptyStyles };
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { comboboxEmptyStyles } from "./combobox-empty.stylex.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Combobox } from "@base-ui/react";
|
|
5
5
|
//#region src/components/combobox/combobox-empty.tsx
|
|
6
6
|
function ComboboxEmpty(props) {
|
|
7
7
|
const { className: customClassName = "", ...rest } = props;
|
|
8
|
-
const combinedClassName = comboboxEmptyVariants({ className: customClassName });
|
|
9
8
|
return /* @__PURE__ */ jsx(Combobox.Empty, {
|
|
10
|
-
className:
|
|
9
|
+
className: cn(sx(comboboxEmptyStyles.base), customClassName),
|
|
11
10
|
"data-slot": "combobox-empty",
|
|
12
11
|
...rest
|
|
13
12
|
});
|
|
14
13
|
}
|
|
15
|
-
const comboboxEmptyVariants = cva(combobox_empty_module_default.base);
|
|
16
14
|
//#endregion
|
|
17
|
-
export { ComboboxEmpty,
|
|
15
|
+
export { ComboboxEmpty, comboboxEmptyStyles };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/combobox/combobox-empty.stylex.d.ts
|
|
3
|
+
declare const comboboxEmptyStyles: Readonly<{
|
|
4
|
+
readonly base: Readonly<{
|
|
5
|
+
readonly color: stylex.StyleXClassNameFor<"color", "transparent" | "var(--color-text-secondary)">;
|
|
6
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", 0 | 14>;
|
|
7
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", 400 | 450>;
|
|
8
|
+
readonly padding: stylex.StyleXClassNameFor<"padding", 0 | "8px 12px">;
|
|
9
|
+
readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "center">;
|
|
10
|
+
}>;
|
|
11
|
+
}>;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { comboboxEmptyStyles };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/components/combobox/combobox-empty.stylex.ts
|
|
2
|
+
const comboboxEmptyStyles = { base: {
|
|
3
|
+
kMwMTN: "x5y519c x19co3pv",
|
|
4
|
+
kGuDYH: "xigw2gj xgxxoiu",
|
|
5
|
+
k63SB2: "xhqi7ye xo1l8bm",
|
|
6
|
+
kmVPX3: "x3cdv55 x1717udv",
|
|
7
|
+
k9WMMc: "x2b8uid",
|
|
8
|
+
$$css: true
|
|
9
|
+
} };
|
|
10
|
+
//#endregion
|
|
11
|
+
export { comboboxEmptyStyles };
|
|
@@ -5,6 +5,5 @@ interface ComboboxGroupLabelProps extends Omit<Combobox.GroupLabel.Props, "class
|
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
7
|
declare function ComboboxGroupLabel(props: ComboboxGroupLabelProps): JSX.Element;
|
|
8
|
-
declare const comboboxGroupLabelVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
9
8
|
//#endregion
|
|
10
|
-
export { ComboboxGroupLabel, ComboboxGroupLabelProps
|
|
9
|
+
export { ComboboxGroupLabel, ComboboxGroupLabelProps };
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { pickerGroupStyles } from "../picker/picker-group.stylex.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Combobox } from "@base-ui/react";
|
|
5
5
|
//#region src/components/combobox/combobox-group-label.tsx
|
|
6
6
|
function ComboboxGroupLabel(props) {
|
|
7
7
|
const { className: customClassName = "", ...rest } = props;
|
|
8
|
-
const combinedClassName = comboboxGroupLabelVariants({ className: customClassName });
|
|
9
8
|
return /* @__PURE__ */ jsx(Combobox.GroupLabel, {
|
|
10
|
-
className:
|
|
9
|
+
className: cn(sx(pickerGroupStyles.label), customClassName),
|
|
11
10
|
"data-slot": "combobox-group-label",
|
|
12
11
|
...rest
|
|
13
12
|
});
|
|
14
13
|
}
|
|
15
|
-
const comboboxGroupLabelVariants = cva(picker_group_module_default.label);
|
|
16
14
|
//#endregion
|
|
17
|
-
export { ComboboxGroupLabel
|
|
15
|
+
export { ComboboxGroupLabel };
|
|
@@ -5,6 +5,5 @@ interface ComboboxGroupProps extends Omit<Combobox.Group.Props, "className"> {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
7
|
declare function ComboboxGroup(props: ComboboxGroupProps): JSX.Element;
|
|
8
|
-
declare const comboboxGroupVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
9
8
|
//#endregion
|
|
10
|
-
export { ComboboxGroup, ComboboxGroupProps
|
|
9
|
+
export { ComboboxGroup, ComboboxGroupProps };
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { pickerGroupStyles } from "../picker/picker-group.stylex.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Combobox } from "@base-ui/react";
|
|
5
5
|
//#region src/components/combobox/combobox-group.tsx
|
|
6
6
|
function ComboboxGroup(props) {
|
|
7
7
|
const { className: customClassName = "", ...rest } = props;
|
|
8
|
-
const combinedClassName = comboboxGroupVariants({ className: customClassName });
|
|
9
8
|
return /* @__PURE__ */ jsx(Combobox.Group, {
|
|
10
|
-
className:
|
|
9
|
+
className: cn(sx(pickerGroupStyles.base), customClassName),
|
|
11
10
|
"data-slot": "combobox-group",
|
|
12
11
|
...rest
|
|
13
12
|
});
|
|
14
13
|
}
|
|
15
|
-
const comboboxGroupVariants = cva(picker_group_module_default.base);
|
|
16
14
|
//#endregion
|
|
17
|
-
export { ComboboxGroup
|
|
15
|
+
export { ComboboxGroup };
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { comboboxInputStyles } from "./combobox-input.stylex.js";
|
|
2
2
|
import { Combobox } from "@base-ui/react";
|
|
3
3
|
import { JSX } from "react";
|
|
4
4
|
//#region src/components/combobox/combobox-input.d.ts
|
|
5
|
-
interface ComboboxInputProps extends Omit<Combobox.Input.Props, "className" | "
|
|
5
|
+
interface ComboboxInputProps extends Omit<Combobox.Input.Props, "className" | "size"> {
|
|
6
6
|
className?: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
size?: VariantProps<typeof comboboxInputVariants>["size"];
|
|
7
|
+
rounded?: boolean;
|
|
8
|
+
size?: ComboboxInputSize;
|
|
10
9
|
}
|
|
10
|
+
type ComboboxInputSize = 32 | 36 | 40 | 44 | 48;
|
|
11
11
|
declare function ComboboxInput(props: ComboboxInputProps): JSX.Element;
|
|
12
|
-
declare const comboboxInputVariants: (props?: ({
|
|
13
|
-
isRounded?: boolean | null | undefined;
|
|
14
|
-
size?: 32 | 36 | 40 | 44 | 48 | null | undefined;
|
|
15
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
16
12
|
//#endregion
|
|
17
|
-
export { ComboboxInput, ComboboxInputProps,
|
|
13
|
+
export { ComboboxInput, ComboboxInputProps, ComboboxInputSize, comboboxInputStyles };
|
|
@@ -1,30 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { comboboxInputStyles } from "./combobox-input.stylex.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import { Combobox } from "@base-ui/react";
|
|
5
5
|
//#region src/components/combobox/combobox-input.tsx
|
|
6
6
|
function ComboboxInput(props) {
|
|
7
|
-
const { className: customClassName = "",
|
|
8
|
-
const combinedClassName = comboboxInputVariants({
|
|
9
|
-
className: customClassName,
|
|
10
|
-
isRounded,
|
|
11
|
-
size
|
|
12
|
-
});
|
|
7
|
+
const { className: customClassName = "", disabled = false, rounded = false, size = 40, ...rest } = props;
|
|
13
8
|
return /* @__PURE__ */ jsxs(Combobox.InputGroup, {
|
|
14
|
-
className:
|
|
9
|
+
className: cn(sx(comboboxInputStyles.base, comboboxInputStyles[size], rounded && comboboxInputStyles.roundedFull), customClassName),
|
|
15
10
|
"data-slot": "combobox-input-group",
|
|
16
11
|
children: [/* @__PURE__ */ jsx(Combobox.Input, {
|
|
17
|
-
className:
|
|
12
|
+
className: sx(comboboxInputStyles.input),
|
|
18
13
|
"data-slot": "combobox-input",
|
|
19
|
-
disabled
|
|
14
|
+
disabled,
|
|
20
15
|
...rest
|
|
21
16
|
}), /* @__PURE__ */ jsx(Combobox.Trigger, {
|
|
22
|
-
className:
|
|
17
|
+
className: sx(comboboxInputStyles.trigger),
|
|
23
18
|
"data-slot": "combobox-input-trigger",
|
|
24
|
-
disabled
|
|
19
|
+
disabled,
|
|
25
20
|
tabIndex: -1,
|
|
26
21
|
children: /* @__PURE__ */ jsx(Combobox.Icon, {
|
|
27
|
-
className:
|
|
22
|
+
className: sx(comboboxInputStyles.icon),
|
|
28
23
|
"data-slot": "combobox-input-icon",
|
|
29
24
|
children: /* @__PURE__ */ jsx("svg", {
|
|
30
25
|
height: "14",
|
|
@@ -44,15 +39,5 @@ function ComboboxInput(props) {
|
|
|
44
39
|
})]
|
|
45
40
|
});
|
|
46
41
|
}
|
|
47
|
-
const comboboxInputVariants = cva(combobox_input_module_default.base, { variants: {
|
|
48
|
-
isRounded: { true: combobox_input_module_default.rounded_full },
|
|
49
|
-
size: {
|
|
50
|
-
32: combobox_input_module_default.size_32,
|
|
51
|
-
36: combobox_input_module_default.size_36,
|
|
52
|
-
40: combobox_input_module_default.size_40,
|
|
53
|
-
44: combobox_input_module_default.size_44,
|
|
54
|
-
48: combobox_input_module_default.size_48
|
|
55
|
-
}
|
|
56
|
-
} });
|
|
57
42
|
//#endregion
|
|
58
|
-
export { ComboboxInput,
|
|
43
|
+
export { ComboboxInput, comboboxInputStyles };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/combobox/combobox-input.stylex.d.ts
|
|
3
|
+
declare const comboboxInputStyles: 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)">;
|
|
28
|
+
readonly columnGap: stylex.StyleXClassNameFor<"columnGap", 8>;
|
|
29
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "text" | "not-allowed">;
|
|
30
|
+
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
31
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
32
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 1 | 0.5>;
|
|
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 rotate: stylex.StyleXClassNameFor<"rotate", "0deg" | "180deg">;
|
|
50
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "150ms">;
|
|
51
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "rotate">;
|
|
52
|
+
readonly width: stylex.StyleXClassNameFor<"width", 16>;
|
|
53
|
+
}>;
|
|
54
|
+
readonly input: Readonly<{
|
|
55
|
+
readonly "::placeholder": stylex.StyleXClassNameFor<"::placeholder", {
|
|
56
|
+
readonly color: "var(--color-gray-9)";
|
|
57
|
+
readonly userSelect: "none";
|
|
58
|
+
}>;
|
|
59
|
+
readonly appearance: stylex.StyleXClassNameFor<"appearance", "none">;
|
|
60
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
|
|
61
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "none">;
|
|
62
|
+
readonly color: stylex.StyleXClassNameFor<"color", "var(--color-text-primary)">;
|
|
63
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "text" | "not-allowed">;
|
|
64
|
+
readonly flexBasis: stylex.StyleXClassNameFor<"flexBasis", 0>;
|
|
65
|
+
readonly flexGrow: stylex.StyleXClassNameFor<"flexGrow", 1>;
|
|
66
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 1>;
|
|
67
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", 14>;
|
|
68
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", 450>;
|
|
69
|
+
readonly height: stylex.StyleXClassNameFor<"height", "100%">;
|
|
70
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
71
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
72
|
+
readonly padding: stylex.StyleXClassNameFor<"padding", 0>;
|
|
73
|
+
}>;
|
|
74
|
+
readonly roundedFull: Readonly<{
|
|
75
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 9999>;
|
|
76
|
+
}>;
|
|
77
|
+
readonly trigger: Readonly<{
|
|
78
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
79
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
|
|
80
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "none">;
|
|
81
|
+
readonly color: stylex.StyleXClassNameFor<"color", "inherit">;
|
|
82
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer" | "not-allowed">;
|
|
83
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
84
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
85
|
+
readonly height: stylex.StyleXClassNameFor<"height", "100%">;
|
|
86
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
87
|
+
readonly marginLeft: stylex.StyleXClassNameFor<"marginLeft", "auto">;
|
|
88
|
+
readonly padding: stylex.StyleXClassNameFor<"padding", 0>;
|
|
89
|
+
readonly width: stylex.StyleXClassNameFor<"width", 16>;
|
|
90
|
+
}>;
|
|
91
|
+
}>;
|
|
92
|
+
//#endregion
|
|
93
|
+
export { comboboxInputStyles };
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
//#region src/components/combobox/combobox-input.stylex.ts
|
|
2
|
+
const comboboxInputStyles = {
|
|
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: "xoepl9e xm4hijy x1h73wb5 xpy517o",
|
|
31
|
+
kGVxlE: "x1ytwql3 x1er153n",
|
|
32
|
+
k1C7PZ: "xfex06f",
|
|
33
|
+
kkrTdU: "x5ezrf1 x1ed109x x1beebc2",
|
|
34
|
+
k1xSpc: "x3nfvp2",
|
|
35
|
+
kmuXW: "x2lah0s",
|
|
36
|
+
kSiTet: "xxh3kiz x1hc1fzr x116ge45",
|
|
37
|
+
kjBf7l: "x1oifg 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
|
+
k4XH5M: "x1gcftaf xxh3ss5",
|
|
55
|
+
kIyJzY: "xx6bhzk",
|
|
56
|
+
k1ekBW: "x1s3hfkw",
|
|
57
|
+
kzqmXN: "x1kky2od",
|
|
58
|
+
$$css: true
|
|
59
|
+
},
|
|
60
|
+
input: {
|
|
61
|
+
k8Qsv1: "x1ta7s2x",
|
|
62
|
+
kI5SfV: "xjp5s5a",
|
|
63
|
+
kysU6D: "xjyslct",
|
|
64
|
+
kWkggS: "xjbqb8w",
|
|
65
|
+
ksu8eU: "xng3xce",
|
|
66
|
+
kMwMTN: "x1tgivj0",
|
|
67
|
+
kkrTdU: "x1s07b3s x1ed109x",
|
|
68
|
+
kCS8Yb: "x1r8uery",
|
|
69
|
+
kzQI83: "x1iyjqo2",
|
|
70
|
+
kmuXW: "xs83m0k",
|
|
71
|
+
kGuDYH: "xif65rj",
|
|
72
|
+
k63SB2: "x10p5zqr",
|
|
73
|
+
kZKoxP: "x5yr21d",
|
|
74
|
+
k7Eaqz: "xeuugli",
|
|
75
|
+
kI3sdo: "x1a2a7pz",
|
|
76
|
+
kmVPX3: "x1717udv",
|
|
77
|
+
$$css: true
|
|
78
|
+
},
|
|
79
|
+
roundedFull: {
|
|
80
|
+
kaIpWk: "x10hpsqq",
|
|
81
|
+
$$css: true
|
|
82
|
+
},
|
|
83
|
+
trigger: {
|
|
84
|
+
kGNEyG: "x6s0dn4",
|
|
85
|
+
kWkggS: "xjbqb8w",
|
|
86
|
+
ksu8eU: "xng3xce",
|
|
87
|
+
kMwMTN: "x1heor9g",
|
|
88
|
+
kkrTdU: "x1s07b3s x1ypdohk",
|
|
89
|
+
k1xSpc: "x78zum5",
|
|
90
|
+
kmuXW: "x2lah0s",
|
|
91
|
+
kZKoxP: "x5yr21d",
|
|
92
|
+
kjj79g: "xl56j7k",
|
|
93
|
+
koQZXg: "x8x9d4c",
|
|
94
|
+
kmVPX3: "x1717udv",
|
|
95
|
+
kzqmXN: "x1kky2od",
|
|
96
|
+
$$css: true
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
//#endregion
|
|
100
|
+
export { comboboxInputStyles };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { Combobox } from "@base-ui/react";
|
|
2
2
|
import { JSX } from "react";
|
|
3
3
|
//#region src/components/combobox/combobox-item.d.ts
|
|
4
|
-
interface ComboboxItemProps extends Omit<Combobox.Item.Props, "className"
|
|
4
|
+
interface ComboboxItemProps extends Omit<Combobox.Item.Props, "className"> {
|
|
5
5
|
className?: string;
|
|
6
|
-
isDisabled?: Combobox.Item.Props["disabled"];
|
|
7
6
|
}
|
|
8
7
|
declare function ComboboxItem(props: ComboboxItemProps): JSX.Element;
|
|
9
|
-
declare const comboboxItemVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
10
8
|
//#endregion
|
|
11
|
-
export { ComboboxItem, ComboboxItemProps
|
|
9
|
+
export { ComboboxItem, ComboboxItemProps };
|