@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,30 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/tooltip/tooltip-popup.stylex.d.ts
|
|
3
|
+
declare const tooltipPopupStyles: Readonly<{
|
|
4
|
+
readonly base: Readonly<{
|
|
5
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "var(--color-tooltip-bg)">;
|
|
6
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", 8>;
|
|
7
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)">;
|
|
8
|
+
readonly color: stylex.StyleXClassNameFor<"color", "var(--color-tooltip)">;
|
|
9
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", 13>;
|
|
10
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", 450>;
|
|
11
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0 | 1>;
|
|
12
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 4>;
|
|
13
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 8>;
|
|
14
|
+
readonly scale: stylex.StyleXClassNameFor<"scale", 1 | 0.975>;
|
|
15
|
+
readonly transformOrigin: stylex.StyleXClassNameFor<"transformOrigin", "var(--transform-origin)">;
|
|
16
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "150ms" | "0ms">;
|
|
17
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "none" | "opacity, scale">;
|
|
18
|
+
}>;
|
|
19
|
+
readonly portal: Readonly<{
|
|
20
|
+
readonly isolation: stylex.StyleXClassNameFor<"isolation", "isolate">;
|
|
21
|
+
readonly position: stylex.StyleXClassNameFor<"position", "relative">;
|
|
22
|
+
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 50>;
|
|
23
|
+
}>;
|
|
24
|
+
readonly positioner: Readonly<{
|
|
25
|
+
readonly isolation: stylex.StyleXClassNameFor<"isolation", "isolate">;
|
|
26
|
+
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 50>;
|
|
27
|
+
}>;
|
|
28
|
+
}>;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { tooltipPopupStyles };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//#region src/components/tooltip/tooltip-popup.stylex.ts
|
|
2
|
+
const tooltipPopupStyles = {
|
|
3
|
+
base: {
|
|
4
|
+
kWkggS: "x191mfzf",
|
|
5
|
+
kaIpWk: "xur7f20",
|
|
6
|
+
kGVxlE: "x1bbn379",
|
|
7
|
+
kMwMTN: "x1x01sck",
|
|
8
|
+
kGuDYH: "x4z9k3i",
|
|
9
|
+
k63SB2: "x10p5zqr",
|
|
10
|
+
kSiTet: "x1pimrze x1hc1fzr",
|
|
11
|
+
k8WAf4: "x12ulsxz",
|
|
12
|
+
kg3NbH: "xdqyycr",
|
|
13
|
+
km0Bbg: "xx6l7ed x1hsy5kr",
|
|
14
|
+
k3nNDw: "xctpfpq",
|
|
15
|
+
kIyJzY: "xuik8z1 xx6bhzk",
|
|
16
|
+
k1ekBW: "xfm2kp x1h615f9",
|
|
17
|
+
$$css: true
|
|
18
|
+
},
|
|
19
|
+
portal: {
|
|
20
|
+
kHBbk8: "xc8icb0",
|
|
21
|
+
kVAEAm: "x1n2onr6",
|
|
22
|
+
kY2c9j: "xa9119d",
|
|
23
|
+
$$css: true
|
|
24
|
+
},
|
|
25
|
+
positioner: {
|
|
26
|
+
kHBbk8: "xc8icb0",
|
|
27
|
+
kY2c9j: "xa9119d",
|
|
28
|
+
$$css: true
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
32
|
+
export { tooltipPopupStyles };
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { Tooltip } from "@base-ui/react";
|
|
2
2
|
import { JSX } from "react";
|
|
3
3
|
//#region src/components/tooltip/tooltip.d.ts
|
|
4
|
-
interface TooltipProps extends
|
|
5
|
-
isDisabled?: Tooltip.Root.Props["disabled"];
|
|
6
|
-
isDisableHoverablePopup?: Tooltip.Root.Props["disableHoverablePopup"];
|
|
7
|
-
}
|
|
4
|
+
interface TooltipProps extends Tooltip.Root.Props {}
|
|
8
5
|
declare function Tooltip$1(props: TooltipProps): JSX.Element;
|
|
9
6
|
//#endregion
|
|
10
7
|
export { Tooltip$1 as Tooltip, TooltipProps };
|
|
@@ -2,12 +2,10 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Tooltip } from "@base-ui/react";
|
|
3
3
|
//#region src/components/tooltip/tooltip.tsx
|
|
4
4
|
function Tooltip$1(props) {
|
|
5
|
-
const { isDisabled = false, isDisableHoverablePopup = true, ...rest } = props;
|
|
6
5
|
return /* @__PURE__ */ jsx(Tooltip.Root, {
|
|
7
6
|
"data-slot": "tooltip",
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
...rest
|
|
7
|
+
disableHoverablePopup: true,
|
|
8
|
+
...props
|
|
11
9
|
});
|
|
12
10
|
}
|
|
13
11
|
//#endregion
|
|
@@ -16,9 +16,19 @@
|
|
|
16
16
|
--color-success: var(--color-primitive-green-9);
|
|
17
17
|
--color-warning: var(--color-primitive-yellow-9);
|
|
18
18
|
--color-error: var(--color-primitive-red-9);
|
|
19
|
+
|
|
20
|
+
--color-tooltip: var(--color-gray-dark-12);
|
|
21
|
+
--color-tooltip-bg: var(--color-gray-dark-1);
|
|
22
|
+
|
|
23
|
+
--opacity-dialog-backdrop: 0.25;
|
|
24
|
+
--opacity-picker-disabled: 0.5;
|
|
19
25
|
}
|
|
20
26
|
|
|
21
27
|
.dark {
|
|
22
28
|
--color-bg-shell-outer: var(--color-gray-1);
|
|
23
29
|
--color-bg-shell-inner: var(--color-gray-2);
|
|
30
|
+
--color-tooltip: var(--color-gray-light-12);
|
|
31
|
+
--color-tooltip-bg: var(--color-gray-light-1);
|
|
32
|
+
--opacity-dialog-backdrop: 0.75;
|
|
33
|
+
--opacity-picker-disabled: 0.25;
|
|
24
34
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nattstack/ui",
|
|
3
|
-
"version": "0.0
|
|
4
|
-
"description": "A collection of reusable React components built with Base UI
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A collection of reusable React components built with Base UI and StyleX",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"base-ui",
|
|
7
7
|
"components",
|
|
@@ -49,9 +49,10 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@base-ui/react": "1.7.0",
|
|
52
|
-
"
|
|
52
|
+
"@stylexjs/stylex": "0.19.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
+
"@stylexjs/unplugin": "0.19.0",
|
|
55
56
|
"@tsdown/css": "0.22.14",
|
|
56
57
|
"@types/bun": "1.3.14",
|
|
57
58
|
"tsdown": "0.22.14",
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.button-spinner-module_base_UApLZa {
|
|
3
|
-
height: var(--size);
|
|
4
|
-
width: var(--size);
|
|
5
|
-
animation: 1s steps(12, end) infinite button-spinner-module_spinner_UApLZa;
|
|
6
|
-
position: absolute;
|
|
7
|
-
scale: -1 1;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@keyframes button-spinner-module_spinner_UApLZa {
|
|
11
|
-
to {
|
|
12
|
-
rotate: 1turn;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.button-spinner-module_base_UApLZa > div {
|
|
17
|
-
height: calc(var(--size) / 12);
|
|
18
|
-
pointer-events: none;
|
|
19
|
-
transform-origin: 0;
|
|
20
|
-
width: calc(var(--size) / 2);
|
|
21
|
-
transition: all .15s;
|
|
22
|
-
position: absolute;
|
|
23
|
-
top: 50%;
|
|
24
|
-
right: 0;
|
|
25
|
-
translate: 0 -50%;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.button-spinner-module_base_UApLZa > div:after {
|
|
29
|
-
content: "";
|
|
30
|
-
background-color: currentColor;
|
|
31
|
-
border-radius: 9999px;
|
|
32
|
-
width: 50%;
|
|
33
|
-
height: 100%;
|
|
34
|
-
position: absolute;
|
|
35
|
-
right: 0;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.button-spinner-module_base_UApLZa > div:first-child {
|
|
39
|
-
opacity: 1;
|
|
40
|
-
rotate: 0deg;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.button-spinner-module_base_UApLZa > div:nth-child(2) {
|
|
44
|
-
opacity: .925;
|
|
45
|
-
rotate: 30deg;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.button-spinner-module_base_UApLZa > div:nth-child(3) {
|
|
49
|
-
opacity: .85;
|
|
50
|
-
rotate: 60deg;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.button-spinner-module_base_UApLZa > div:nth-child(4) {
|
|
54
|
-
opacity: .775;
|
|
55
|
-
rotate: 90deg;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.button-spinner-module_base_UApLZa > div:nth-child(5) {
|
|
59
|
-
opacity: .7;
|
|
60
|
-
rotate: 120deg;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.button-spinner-module_base_UApLZa > div:nth-child(6) {
|
|
64
|
-
opacity: .625;
|
|
65
|
-
rotate: 150deg;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.button-spinner-module_base_UApLZa > div:nth-child(7) {
|
|
69
|
-
opacity: .55;
|
|
70
|
-
rotate: 180deg;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.button-spinner-module_base_UApLZa > div:nth-child(8) {
|
|
74
|
-
opacity: .475;
|
|
75
|
-
rotate: 210deg;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.button-spinner-module_base_UApLZa > div:nth-child(9) {
|
|
79
|
-
opacity: .4;
|
|
80
|
-
rotate: 240deg;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.button-spinner-module_base_UApLZa > div:nth-child(10) {
|
|
84
|
-
opacity: .325;
|
|
85
|
-
rotate: 270deg;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.button-spinner-module_base_UApLZa > div:nth-child(11) {
|
|
89
|
-
opacity: .25;
|
|
90
|
-
rotate: 300deg;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.button-spinner-module_base_UApLZa > div:nth-child(12) {
|
|
94
|
-
opacity: .15;
|
|
95
|
-
rotate: 330deg;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import './button-spinner.css';
|
|
2
|
-
//#region src/components/button/button-spinner.module.css
|
|
3
|
-
var button_spinner_module_default = {
|
|
4
|
-
"base": "button-spinner-module_base_UApLZa",
|
|
5
|
-
"spinner": "button-spinner-module_spinner_UApLZa"
|
|
6
|
-
};
|
|
7
|
-
//#endregion
|
|
8
|
-
export { button_spinner_module_default as default };
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.button-module_base_4nLWdW {
|
|
3
|
-
cursor: pointer;
|
|
4
|
-
outline-offset: 2px;
|
|
5
|
-
user-select: none;
|
|
6
|
-
outline: 2px solid #0000;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
align-items: center;
|
|
9
|
-
column-gap: 8px;
|
|
10
|
-
font-size: 14px;
|
|
11
|
-
font-weight: 450;
|
|
12
|
-
transition-property: background-color, box-shadow, translate;
|
|
13
|
-
transition-duration: .15s;
|
|
14
|
-
display: inline-flex;
|
|
15
|
-
position: relative;
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.button-module_base_4nLWdW:active:not(:disabled) {
|
|
20
|
-
translate: 0 1px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.button-module_base_4nLWdW:focus-visible {
|
|
24
|
-
outline-color: var(--color-outline);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.button-module_disabled_4nLWdW, .button-module_loading_4nLWdW {
|
|
28
|
-
cursor: not-allowed;
|
|
29
|
-
opacity: .5;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.button-module_loading_4nLWdW > :not([data-slot="button-spinner"]) {
|
|
33
|
-
color: #0000;
|
|
34
|
-
text-shadow: none;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.button-module_rounded_base_4nLWdW.button-module_size_32_4nLWdW {
|
|
38
|
-
border-radius: 8px;
|
|
39
|
-
padding: 0 12px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.button-module_rounded_base_4nLWdW.button-module_size_36_4nLWdW {
|
|
43
|
-
border-radius: 9px;
|
|
44
|
-
padding: 0 14px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.button-module_rounded_base_4nLWdW.button-module_size_40_4nLWdW {
|
|
48
|
-
border-radius: 10px;
|
|
49
|
-
padding: 0 16px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.button-module_rounded_base_4nLWdW.button-module_size_44_4nLWdW {
|
|
53
|
-
border-radius: 11px;
|
|
54
|
-
padding: 0 18px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.button-module_rounded_base_4nLWdW.button-module_size_48_4nLWdW {
|
|
58
|
-
border-radius: 12px;
|
|
59
|
-
padding: 0 20px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.button-module_rounded_full_4nLWdW.button-module_size_32_4nLWdW {
|
|
63
|
-
border-radius: 16px;
|
|
64
|
-
padding: 0 12px;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.button-module_rounded_full_4nLWdW.button-module_size_36_4nLWdW {
|
|
68
|
-
border-radius: 18px;
|
|
69
|
-
padding: 0 17px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.button-module_rounded_full_4nLWdW.button-module_size_40_4nLWdW {
|
|
73
|
-
border-radius: 20px;
|
|
74
|
-
padding: 0 20px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.button-module_rounded_full_4nLWdW.button-module_size_44_4nLWdW {
|
|
78
|
-
border-radius: 22px;
|
|
79
|
-
padding: 0 23px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.button-module_rounded_full_4nLWdW.button-module_size_48_4nLWdW {
|
|
83
|
-
border-radius: 24px;
|
|
84
|
-
padding: 0 28px;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.button-module_size_32_4nLWdW {
|
|
88
|
-
height: 32px;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.button-module_size_36_4nLWdW {
|
|
92
|
-
height: 36px;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.button-module_size_40_4nLWdW {
|
|
96
|
-
height: 40px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.button-module_size_44_4nLWdW {
|
|
100
|
-
height: 44px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.button-module_size_48_4nLWdW {
|
|
104
|
-
height: 48px;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.button-module_variant_ghost_4nLWdW {
|
|
108
|
-
color: #000;
|
|
109
|
-
background-color: #0000;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.button-module_variant_ghost_4nLWdW:hover:not(:disabled) {
|
|
113
|
-
background-color: var(--color-gray-4);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.dark .button-module_variant_ghost_4nLWdW {
|
|
117
|
-
color: #fff;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.button-module_variant_primary_4nLWdW {
|
|
121
|
-
--color: #fff;
|
|
122
|
-
background-color: var(--color-gray-12);
|
|
123
|
-
color: var(--color);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.button-module_variant_primary_4nLWdW:hover:not(:disabled) {
|
|
127
|
-
background-color: color-mix(in oklab, var(--color-gray-12) 100%, var(--color) 25%);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.dark .button-module_variant_primary_4nLWdW {
|
|
131
|
-
--color: #000;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.button-module_variant_secondary_4nLWdW {
|
|
135
|
-
--color-text: #000;
|
|
136
|
-
background-color: var(--color-bg-shell-inner);
|
|
137
|
-
box-shadow: inset 0 0 0 1px var(--color-border);
|
|
138
|
-
color: var(--color-text);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.dark .button-module_variant_secondary_4nLWdW {
|
|
142
|
-
--color-text: #fff;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.button-module_variant_secondary_4nLWdW:hover:not(:disabled) {
|
|
146
|
-
background-color: var(--color-gray-4);
|
|
147
|
-
box-shadow: none;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.button-module_width_base_4nLWdW {
|
|
151
|
-
width: fit-content;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.button-module_width_full_4nLWdW {
|
|
155
|
-
width: stretch;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import './button.css';
|
|
2
|
-
//#region src/components/button/button.module.css
|
|
3
|
-
var button_module_default = {
|
|
4
|
-
"base": "button-module_base_4nLWdW",
|
|
5
|
-
"disabled": "button-module_disabled_4nLWdW",
|
|
6
|
-
"loading": "button-module_loading_4nLWdW",
|
|
7
|
-
"rounded_base": "button-module_rounded_base_4nLWdW",
|
|
8
|
-
"rounded_full": "button-module_rounded_full_4nLWdW",
|
|
9
|
-
"size_32": "button-module_size_32_4nLWdW",
|
|
10
|
-
"size_36": "button-module_size_36_4nLWdW",
|
|
11
|
-
"size_40": "button-module_size_40_4nLWdW",
|
|
12
|
-
"size_44": "button-module_size_44_4nLWdW",
|
|
13
|
-
"size_48": "button-module_size_48_4nLWdW",
|
|
14
|
-
"variant_ghost": "button-module_variant_ghost_4nLWdW",
|
|
15
|
-
"variant_primary": "button-module_variant_primary_4nLWdW",
|
|
16
|
-
"variant_secondary": "button-module_variant_secondary_4nLWdW",
|
|
17
|
-
"width_base": "button-module_width_base_4nLWdW",
|
|
18
|
-
"width_full": "button-module_width_full_4nLWdW"
|
|
19
|
-
};
|
|
20
|
-
//#endregion
|
|
21
|
-
export { button_module_default as default };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.checkbox-module_base_tQ0i7W {
|
|
3
|
-
--size: 16px;
|
|
4
|
-
background-color: var(--color-bg-shell-inner);
|
|
5
|
-
border: 1px solid var(--color-border);
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
height: var(--size);
|
|
8
|
-
outline-color: var(--color-primary);
|
|
9
|
-
outline-offset: 2px;
|
|
10
|
-
width: var(--size);
|
|
11
|
-
border-radius: 4px;
|
|
12
|
-
outline-width: 0;
|
|
13
|
-
outline-style: solid;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
align-items: center;
|
|
16
|
-
transition-property: background-color, border-color;
|
|
17
|
-
transition-duration: .15s;
|
|
18
|
-
display: flex;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.checkbox-module_base_tQ0i7W:focus-visible {
|
|
22
|
-
outline-width: 2px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.checkbox-module_base_tQ0i7W:hover {
|
|
26
|
-
background-color: var(--color-gray-3);
|
|
27
|
-
border-color: var(--color-gray-6);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.checkbox-module_base_tQ0i7W[data-checked] {
|
|
31
|
-
background-color: var(--color-primary);
|
|
32
|
-
border-color: #0000;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.checkbox-module_indicator_tQ0i7W {
|
|
36
|
-
opacity: 0;
|
|
37
|
-
transition-property: opacity;
|
|
38
|
-
transition-duration: .15s;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.checkbox-module_indicator_tQ0i7W[data-checked] {
|
|
42
|
-
opacity: 1;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.checkbox-module_icon_tQ0i7W {
|
|
46
|
-
--size: 12px;
|
|
47
|
-
height: var(--size);
|
|
48
|
-
width: var(--size);
|
|
49
|
-
|
|
50
|
-
& > path {
|
|
51
|
-
stroke-width: 3px;
|
|
52
|
-
stroke: #fff;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import './checkbox.css';
|
|
2
|
-
//#region src/components/checkbox/checkbox.module.css
|
|
3
|
-
var checkbox_module_default = {
|
|
4
|
-
"base": "checkbox-module_base_tQ0i7W",
|
|
5
|
-
"icon": "checkbox-module_icon_tQ0i7W",
|
|
6
|
-
"indicator": "checkbox-module_indicator_tQ0i7W"
|
|
7
|
-
};
|
|
8
|
-
//#endregion
|
|
9
|
-
export { checkbox_module_default as default };
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
@layer components {
|
|
2
|
-
.combobox-input-module_base_eAQxaq {
|
|
3
|
-
background-color: var(--color-bg-shell-inner);
|
|
4
|
-
box-shadow: inset 0 0 0 1px var(--color-border);
|
|
5
|
-
cursor: text;
|
|
6
|
-
outline-offset: 2px;
|
|
7
|
-
outline: 2px solid #0000;
|
|
8
|
-
flex-shrink: 0;
|
|
9
|
-
align-items: center;
|
|
10
|
-
column-gap: 8px;
|
|
11
|
-
width: stretch;
|
|
12
|
-
padding: 0 16px;
|
|
13
|
-
transition-property: background-color, box-shadow;
|
|
14
|
-
transition-duration: .15s;
|
|
15
|
-
display: inline-flex;
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.combobox-input-module_base_eAQxaq[data-disabled], .combobox-input-module_base_eAQxaq:has(.combobox-input-module_input_eAQxaq:disabled) {
|
|
20
|
-
cursor: not-allowed;
|
|
21
|
-
opacity: .5;
|
|
22
|
-
background-color: var(--color-gray-3);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.combobox-input-module_base_eAQxaq:focus-within {
|
|
26
|
-
outline-color: var(--color-primary);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.combobox-input-module_base_eAQxaq:hover:not([data-disabled], :has(.combobox-input-module_input_eAQxaq:disabled)) {
|
|
30
|
-
box-shadow: inset 0 0 0 1px var(--color-gray-6);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.combobox-input-module_base_eAQxaq[data-popup-open] {
|
|
34
|
-
background-color: var(--color-gray-3);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.combobox-input-module_size_32_eAQxaq {
|
|
38
|
-
border-radius: 8px;
|
|
39
|
-
height: 32px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.combobox-input-module_size_36_eAQxaq {
|
|
43
|
-
border-radius: 9px;
|
|
44
|
-
height: 36px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.combobox-input-module_size_40_eAQxaq {
|
|
48
|
-
border-radius: 10px;
|
|
49
|
-
height: 40px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.combobox-input-module_size_44_eAQxaq {
|
|
53
|
-
border-radius: 11px;
|
|
54
|
-
height: 44px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.combobox-input-module_size_48_eAQxaq {
|
|
58
|
-
border-radius: 12px;
|
|
59
|
-
height: 48px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.combobox-input-module_rounded_full_eAQxaq {
|
|
63
|
-
border-radius: 9999px;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.combobox-input-module_input_eAQxaq {
|
|
67
|
-
appearance: none;
|
|
68
|
-
color: var(--color-text-primary);
|
|
69
|
-
background-color: #0000;
|
|
70
|
-
border-style: none;
|
|
71
|
-
outline: none;
|
|
72
|
-
flex: 1;
|
|
73
|
-
min-width: 0;
|
|
74
|
-
height: 100%;
|
|
75
|
-
padding: 0;
|
|
76
|
-
font-size: 14px;
|
|
77
|
-
font-weight: 450;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.combobox-input-module_input_eAQxaq::placeholder {
|
|
81
|
-
color: var(--color-gray-9);
|
|
82
|
-
user-select: none;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.combobox-input-module_input_eAQxaq:disabled {
|
|
86
|
-
cursor: not-allowed;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.combobox-input-module_trigger_eAQxaq {
|
|
90
|
-
color: inherit;
|
|
91
|
-
cursor: pointer;
|
|
92
|
-
background-color: #0000;
|
|
93
|
-
border-style: none;
|
|
94
|
-
flex-shrink: 0;
|
|
95
|
-
justify-content: center;
|
|
96
|
-
align-items: center;
|
|
97
|
-
width: 16px;
|
|
98
|
-
height: 100%;
|
|
99
|
-
margin-left: auto;
|
|
100
|
-
padding: 0;
|
|
101
|
-
display: flex;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.combobox-input-module_trigger_eAQxaq:disabled {
|
|
105
|
-
cursor: not-allowed;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.combobox-input-module_icon_eAQxaq {
|
|
109
|
-
justify-content: center;
|
|
110
|
-
align-items: center;
|
|
111
|
-
width: 16px;
|
|
112
|
-
height: 16px;
|
|
113
|
-
transition-property: rotate;
|
|
114
|
-
transition-duration: .15s;
|
|
115
|
-
display: flex;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.combobox-input-module_base_eAQxaq[data-popup-open] .combobox-input-module_icon_eAQxaq {
|
|
119
|
-
rotate: 180deg;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import './combobox-input.css';
|
|
2
|
-
//#region src/components/combobox/combobox-input.module.css
|
|
3
|
-
var combobox_input_module_default = {
|
|
4
|
-
"base": "combobox-input-module_base_eAQxaq",
|
|
5
|
-
"icon": "combobox-input-module_icon_eAQxaq",
|
|
6
|
-
"input": "combobox-input-module_input_eAQxaq",
|
|
7
|
-
"rounded_full": "combobox-input-module_rounded_full_eAQxaq",
|
|
8
|
-
"size_32": "combobox-input-module_size_32_eAQxaq",
|
|
9
|
-
"size_36": "combobox-input-module_size_36_eAQxaq",
|
|
10
|
-
"size_40": "combobox-input-module_size_40_eAQxaq",
|
|
11
|
-
"size_44": "combobox-input-module_size_44_eAQxaq",
|
|
12
|
-
"size_48": "combobox-input-module_size_48_eAQxaq",
|
|
13
|
-
"trigger": "combobox-input-module_trigger_eAQxaq"
|
|
14
|
-
};
|
|
15
|
-
//#endregion
|
|
16
|
-
export { combobox_input_module_default as default };
|