@nattstack/ui 0.0.106 → 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 +9 -5
- 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 +17 -15
- 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 -9
- 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 -5
- 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 -36
- 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 -6
- 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 +17 -15
- 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 +13 -11
- 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 -23
- 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 -8
- 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 -9
- 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 -191
- 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,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 };
|
|
@@ -1,22 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { pickerItemStyles } from "../picker/picker-item.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-item.tsx
|
|
6
6
|
function ComboboxItem(props) {
|
|
7
|
-
const { children, className: customClassName = "",
|
|
8
|
-
const combinedClassName = comboboxItemVariants({ className: customClassName });
|
|
7
|
+
const { children, className: customClassName = "", ...rest } = props;
|
|
9
8
|
return /* @__PURE__ */ jsxs(Combobox.Item, {
|
|
10
|
-
className:
|
|
9
|
+
className: cn(sx(pickerItemStyles.base), customClassName),
|
|
11
10
|
"data-slot": "combobox-item",
|
|
12
|
-
disabled: isDisabled,
|
|
13
11
|
...rest,
|
|
14
12
|
children: [/* @__PURE__ */ jsx("span", {
|
|
15
|
-
className:
|
|
13
|
+
className: sx(pickerItemStyles.label),
|
|
16
14
|
"data-slot": "combobox-item-text",
|
|
17
15
|
children
|
|
18
16
|
}), /* @__PURE__ */ jsx(Combobox.ItemIndicator, {
|
|
19
|
-
className:
|
|
17
|
+
className: sx(pickerItemStyles.indicator),
|
|
20
18
|
"data-slot": "combobox-item-indicator",
|
|
21
19
|
children: /* @__PURE__ */ jsx("svg", {
|
|
22
20
|
height: "14px",
|
|
@@ -37,6 +35,5 @@ function ComboboxItem(props) {
|
|
|
37
35
|
})]
|
|
38
36
|
});
|
|
39
37
|
}
|
|
40
|
-
const comboboxItemVariants = cva(picker_item_module_default.base);
|
|
41
38
|
//#endregion
|
|
42
|
-
export { ComboboxItem
|
|
39
|
+
export { ComboboxItem };
|
|
@@ -5,6 +5,5 @@ interface ComboboxListProps extends Omit<Combobox.List.Props, "className"> {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
7
|
declare function ComboboxList(props: ComboboxListProps): JSX.Element;
|
|
8
|
-
declare const comboboxListVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
9
8
|
//#endregion
|
|
10
|
-
export { ComboboxList, ComboboxListProps
|
|
9
|
+
export { ComboboxList, ComboboxListProps };
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { pickerListStyles } from "../picker/picker-list.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-list.tsx
|
|
6
6
|
function ComboboxList(props) {
|
|
7
7
|
const { className: customClassName = "", ...rest } = props;
|
|
8
|
-
const combinedClassName = comboboxListVariants({ className: customClassName });
|
|
9
8
|
return /* @__PURE__ */ jsx(Combobox.List, {
|
|
10
|
-
className:
|
|
9
|
+
className: cn(sx(pickerListStyles.base), customClassName),
|
|
11
10
|
"data-slot": "combobox-list",
|
|
12
11
|
...rest
|
|
13
12
|
});
|
|
14
13
|
}
|
|
15
|
-
const comboboxListVariants = cva(picker_list_module_default.base);
|
|
16
14
|
//#endregion
|
|
17
|
-
export { ComboboxList
|
|
15
|
+
export { ComboboxList };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
+
import { comboboxSearchStyles } from "./combobox-search.stylex.js";
|
|
1
2
|
import { Combobox } from "@base-ui/react";
|
|
2
3
|
import { JSX } from "react";
|
|
3
4
|
//#region src/components/combobox/combobox-search.d.ts
|
|
4
|
-
interface ComboboxSearchProps extends Omit<Combobox.Input.Props, "className" | "
|
|
5
|
+
interface ComboboxSearchProps extends Omit<Combobox.Input.Props, "className" | "size"> {
|
|
5
6
|
className?: string;
|
|
6
|
-
isDisabled?: Combobox.Input.Props["disabled"];
|
|
7
7
|
}
|
|
8
8
|
declare function ComboboxSearch(props: ComboboxSearchProps): JSX.Element;
|
|
9
|
-
declare const comboboxSearchVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
10
9
|
//#endregion
|
|
11
|
-
export { ComboboxSearch, ComboboxSearchProps,
|
|
10
|
+
export { ComboboxSearch, ComboboxSearchProps, comboboxSearchStyles };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { comboboxSearchStyles } from "./combobox-search.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-search.tsx
|
|
6
6
|
function ComboboxSearch(props) {
|
|
7
|
-
const { className: customClassName = "",
|
|
7
|
+
const { className: customClassName = "", ...rest } = props;
|
|
8
8
|
return /* @__PURE__ */ jsxs("div", {
|
|
9
|
-
className:
|
|
9
|
+
className: cn(sx(comboboxSearchStyles.base), customClassName),
|
|
10
10
|
"data-slot": "combobox-search",
|
|
11
11
|
children: [/* @__PURE__ */ jsx("span", {
|
|
12
|
-
className:
|
|
12
|
+
className: sx(comboboxSearchStyles.icon),
|
|
13
13
|
"data-slot": "combobox-search-icon",
|
|
14
14
|
children: /* @__PURE__ */ jsxs("svg", {
|
|
15
15
|
height: "18",
|
|
@@ -33,13 +33,11 @@ function ComboboxSearch(props) {
|
|
|
33
33
|
})]
|
|
34
34
|
})
|
|
35
35
|
}), /* @__PURE__ */ jsx(Combobox.Input, {
|
|
36
|
-
className:
|
|
36
|
+
className: sx(comboboxSearchStyles.input),
|
|
37
37
|
"data-slot": "combobox-search-input",
|
|
38
|
-
disabled: isDisabled,
|
|
39
38
|
...rest
|
|
40
39
|
})]
|
|
41
40
|
});
|
|
42
41
|
}
|
|
43
|
-
const comboboxSearchVariants = cva(combobox_search_module_default.base);
|
|
44
42
|
//#endregion
|
|
45
|
-
export { ComboboxSearch,
|
|
43
|
+
export { ComboboxSearch, comboboxSearchStyles };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/combobox/combobox-search.stylex.d.ts
|
|
3
|
+
declare const comboboxSearchStyles: Readonly<{
|
|
4
|
+
readonly base: Readonly<{
|
|
5
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
6
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "var(--color-bg-shell-inner)">;
|
|
7
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", "inset 0 -1px 0 var(--color-border)">;
|
|
8
|
+
readonly columnGap: stylex.StyleXClassNameFor<"columnGap", 8>;
|
|
9
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
10
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
11
|
+
readonly height: stylex.StyleXClassNameFor<"height", 40>;
|
|
12
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", 0>;
|
|
13
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 16>;
|
|
14
|
+
}>;
|
|
15
|
+
readonly icon: Readonly<{
|
|
16
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
17
|
+
readonly color: stylex.StyleXClassNameFor<"color", "var(--color-gray-9)">;
|
|
18
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
19
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
20
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
21
|
+
}>;
|
|
22
|
+
readonly input: Readonly<{
|
|
23
|
+
readonly "::placeholder": stylex.StyleXClassNameFor<"::placeholder", {
|
|
24
|
+
readonly color: "var(--color-gray-9)";
|
|
25
|
+
readonly userSelect: "none";
|
|
26
|
+
}>;
|
|
27
|
+
readonly appearance: stylex.StyleXClassNameFor<"appearance", "none">;
|
|
28
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
|
|
29
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "none">;
|
|
30
|
+
readonly color: stylex.StyleXClassNameFor<"color", "var(--color-text-primary)">;
|
|
31
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "text" | "not-allowed">;
|
|
32
|
+
readonly flexBasis: stylex.StyleXClassNameFor<"flexBasis", 0>;
|
|
33
|
+
readonly flexGrow: stylex.StyleXClassNameFor<"flexGrow", 1>;
|
|
34
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 1>;
|
|
35
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", 14>;
|
|
36
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", 400>;
|
|
37
|
+
readonly height: stylex.StyleXClassNameFor<"height", "100%">;
|
|
38
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
39
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 1 | 0.5>;
|
|
40
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
41
|
+
readonly padding: stylex.StyleXClassNameFor<"padding", 0>;
|
|
42
|
+
}>;
|
|
43
|
+
}>;
|
|
44
|
+
//#endregion
|
|
45
|
+
export { comboboxSearchStyles };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
//#region src/components/combobox/combobox-search.stylex.ts
|
|
2
|
+
const comboboxSearchStyles = {
|
|
3
|
+
base: {
|
|
4
|
+
kGNEyG: "x6s0dn4",
|
|
5
|
+
kWkggS: "x1h73wb5",
|
|
6
|
+
kGVxlE: "x1buzmp1",
|
|
7
|
+
k1C7PZ: "xfex06f",
|
|
8
|
+
k1xSpc: "x78zum5",
|
|
9
|
+
kmuXW: "x2lah0s",
|
|
10
|
+
kZKoxP: "x1vqgdyp",
|
|
11
|
+
k8WAf4: "xt970qd",
|
|
12
|
+
kg3NbH: "x1hr3lfm",
|
|
13
|
+
$$css: true
|
|
14
|
+
},
|
|
15
|
+
icon: {
|
|
16
|
+
kGNEyG: "x6s0dn4",
|
|
17
|
+
kMwMTN: "x1vpwubs",
|
|
18
|
+
k1xSpc: "x78zum5",
|
|
19
|
+
kmuXW: "x2lah0s",
|
|
20
|
+
kjj79g: "xl56j7k",
|
|
21
|
+
$$css: true
|
|
22
|
+
},
|
|
23
|
+
input: {
|
|
24
|
+
k8Qsv1: "x1ta7s2x",
|
|
25
|
+
kI5SfV: "xjp5s5a",
|
|
26
|
+
kysU6D: "xjyslct",
|
|
27
|
+
kWkggS: "xjbqb8w",
|
|
28
|
+
ksu8eU: "xng3xce",
|
|
29
|
+
kMwMTN: "x1tgivj0",
|
|
30
|
+
kkrTdU: "x1s07b3s x1ed109x",
|
|
31
|
+
kCS8Yb: "x1r8uery",
|
|
32
|
+
kzQI83: "x1iyjqo2",
|
|
33
|
+
kmuXW: "xs83m0k",
|
|
34
|
+
kGuDYH: "xif65rj",
|
|
35
|
+
k63SB2: "xo1l8bm",
|
|
36
|
+
kZKoxP: "x5yr21d",
|
|
37
|
+
k7Eaqz: "xeuugli",
|
|
38
|
+
kSiTet: "xijokvz x1hc1fzr",
|
|
39
|
+
kI3sdo: "x1a2a7pz",
|
|
40
|
+
kmVPX3: "x1717udv",
|
|
41
|
+
$$css: true
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
//#endregion
|
|
45
|
+
export { comboboxSearchStyles };
|
|
@@ -5,6 +5,5 @@ interface ComboboxSeparatorProps extends Omit<Combobox.Separator.Props, "classNa
|
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
7
|
declare function ComboboxSeparator(props: ComboboxSeparatorProps): JSX.Element;
|
|
8
|
-
declare const comboboxSeparatorVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
9
8
|
//#endregion
|
|
10
|
-
export { ComboboxSeparator, ComboboxSeparatorProps
|
|
9
|
+
export { ComboboxSeparator, ComboboxSeparatorProps };
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { pickerSeparatorStyles } from "../picker/picker-separator.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-separator.tsx
|
|
6
6
|
function ComboboxSeparator(props) {
|
|
7
7
|
const { className: customClassName = "", ...rest } = props;
|
|
8
|
-
const combinedClassName = comboboxSeparatorVariants({ className: customClassName });
|
|
9
8
|
return /* @__PURE__ */ jsx(Combobox.Separator, {
|
|
10
|
-
className:
|
|
9
|
+
className: cn(sx(pickerSeparatorStyles.base), customClassName),
|
|
11
10
|
"data-slot": "combobox-separator",
|
|
12
11
|
...rest
|
|
13
12
|
});
|
|
14
13
|
}
|
|
15
|
-
const comboboxSeparatorVariants = cva(picker_separator_module_default.base);
|
|
16
14
|
//#endregion
|
|
17
|
-
export { ComboboxSeparator
|
|
15
|
+
export { ComboboxSeparator };
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import { VariantProps } from "class-variance-authority";
|
|
2
1
|
import { Combobox } from "@base-ui/react";
|
|
3
2
|
import { JSX } from "react";
|
|
4
3
|
//#region src/components/combobox/combobox-trigger.d.ts
|
|
5
4
|
interface ComboboxTriggerProps extends Combobox.Trigger.Props {
|
|
6
|
-
|
|
7
|
-
size?:
|
|
5
|
+
rounded?: boolean;
|
|
6
|
+
size?: ComboboxTriggerSize;
|
|
8
7
|
}
|
|
8
|
+
type ComboboxTriggerSize = 32 | 36 | 40 | 44 | 48;
|
|
9
9
|
declare function ComboboxTrigger(props: ComboboxTriggerProps): JSX.Element;
|
|
10
|
-
declare const comboboxTriggerVariants: (props?: ({
|
|
11
|
-
isRounded?: boolean | null | undefined;
|
|
12
|
-
size?: 32 | 36 | 40 | 44 | 48 | null | undefined;
|
|
13
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
10
|
//#endregion
|
|
15
|
-
export { ComboboxTrigger, ComboboxTriggerProps,
|
|
11
|
+
export { ComboboxTrigger, ComboboxTriggerProps, ComboboxTriggerSize };
|
|
@@ -1,21 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { pickerTriggerStyles } from "../picker/picker-trigger.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-trigger.tsx
|
|
6
6
|
function ComboboxTrigger(props) {
|
|
7
|
-
const { children = void 0, className: customClassName = "",
|
|
8
|
-
const combinedClassName = comboboxTriggerVariants({
|
|
9
|
-
className: customClassName,
|
|
10
|
-
isRounded,
|
|
11
|
-
size
|
|
12
|
-
});
|
|
7
|
+
const { children = void 0, className: customClassName = "", rounded = false, size = 40, ...rest } = props;
|
|
13
8
|
return /* @__PURE__ */ jsxs(Combobox.Trigger, {
|
|
14
|
-
className:
|
|
9
|
+
className: cn(sx(pickerTriggerStyles.base, pickerTriggerStyles[size], rounded && pickerTriggerStyles.roundedFull), customClassName),
|
|
15
10
|
"data-slot": "combobox-trigger",
|
|
16
11
|
...rest,
|
|
17
12
|
children: [children, /* @__PURE__ */ jsx(Combobox.Icon, {
|
|
18
|
-
className:
|
|
13
|
+
className: sx(pickerTriggerStyles.icon),
|
|
19
14
|
"data-slot": "combobox-icon",
|
|
20
15
|
children: /* @__PURE__ */ jsx("svg", {
|
|
21
16
|
height: "14",
|
|
@@ -34,15 +29,5 @@ function ComboboxTrigger(props) {
|
|
|
34
29
|
})]
|
|
35
30
|
});
|
|
36
31
|
}
|
|
37
|
-
const comboboxTriggerVariants = cva(picker_trigger_module_default.base, { variants: {
|
|
38
|
-
isRounded: { true: picker_trigger_module_default.rounded_full },
|
|
39
|
-
size: {
|
|
40
|
-
32: picker_trigger_module_default.size_32,
|
|
41
|
-
36: picker_trigger_module_default.size_36,
|
|
42
|
-
40: picker_trigger_module_default.size_40,
|
|
43
|
-
44: picker_trigger_module_default.size_44,
|
|
44
|
-
48: picker_trigger_module_default.size_48
|
|
45
|
-
}
|
|
46
|
-
} });
|
|
47
32
|
//#endregion
|
|
48
|
-
export { ComboboxTrigger
|
|
33
|
+
export { ComboboxTrigger };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { comboboxValueStyles } from "./combobox-value.stylex.js";
|
|
1
2
|
import { Combobox } from "@base-ui/react";
|
|
2
3
|
import { JSX } from "react";
|
|
3
4
|
//#region src/components/combobox/combobox-value.d.ts
|
|
@@ -5,6 +6,5 @@ interface ComboboxValueProps extends Combobox.Value.Props {
|
|
|
5
6
|
className?: string;
|
|
6
7
|
}
|
|
7
8
|
declare function ComboboxValue(props: ComboboxValueProps): JSX.Element;
|
|
8
|
-
declare const comboboxValueVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
9
9
|
//#endregion
|
|
10
|
-
export { ComboboxValue, ComboboxValueProps,
|
|
10
|
+
export { ComboboxValue, ComboboxValueProps, comboboxValueStyles };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { comboboxValueStyles } from "./combobox-value.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-value.tsx
|
|
6
6
|
function ComboboxValue(props) {
|
|
7
7
|
const { children = void 0, className: customClassName = "", placeholder = void 0, ...rest } = props;
|
|
8
|
-
const combinedClassName = comboboxValueVariants({ className: customClassName });
|
|
9
8
|
const resolvedChildren = typeof children === "function" ? (selectedValue) => (selectedValue ?? void 0) === void 0 ? placeholder : children(selectedValue) : children;
|
|
10
9
|
return /* @__PURE__ */ jsx("div", {
|
|
11
|
-
className:
|
|
10
|
+
className: cn(sx(comboboxValueStyles.base), customClassName),
|
|
12
11
|
"data-slot": "combobox-value",
|
|
13
12
|
children: /* @__PURE__ */ jsx(Combobox.Value, {
|
|
14
13
|
placeholder,
|
|
@@ -17,6 +16,5 @@ function ComboboxValue(props) {
|
|
|
17
16
|
})
|
|
18
17
|
});
|
|
19
18
|
}
|
|
20
|
-
const comboboxValueVariants = cva(combobox_value_module_default.base);
|
|
21
19
|
//#endregion
|
|
22
|
-
export { ComboboxValue,
|
|
20
|
+
export { ComboboxValue, comboboxValueStyles };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/combobox/combobox-value.stylex.d.ts
|
|
3
|
+
declare const comboboxValueStyles: Readonly<{
|
|
4
|
+
readonly base: Readonly<{
|
|
5
|
+
readonly color: stylex.StyleXClassNameFor<"color", "var(--color-text-primary)" | "var(--color-gray-9)">;
|
|
6
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", 14>;
|
|
7
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", 450>;
|
|
8
|
+
readonly overflowX: stylex.StyleXClassNameFor<"overflowX", "hidden">;
|
|
9
|
+
readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
|
|
10
|
+
readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
|
|
11
|
+
}>;
|
|
12
|
+
}>;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { comboboxValueStyles };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/components/combobox/combobox-value.stylex.ts
|
|
2
|
+
const comboboxValueStyles = { base: {
|
|
3
|
+
kMwMTN: "x1tgivj0 xn64az2",
|
|
4
|
+
kGuDYH: "xif65rj",
|
|
5
|
+
k63SB2: "x10p5zqr",
|
|
6
|
+
kXHlph: "x6ikm8r",
|
|
7
|
+
kg5iWk: "xlyipyv",
|
|
8
|
+
khDVqt: "xuxw1ft",
|
|
9
|
+
$$css: true
|
|
10
|
+
} };
|
|
11
|
+
//#endregion
|
|
12
|
+
export { comboboxValueStyles };
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { dialogResponsiveBackdropStyles } from "./dialog-responsive-backdrop.stylex.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Drawer } from "@base-ui/react";
|
|
5
5
|
//#region src/components/dialog-responsive/dialog-responsive-backdrop.tsx
|
|
6
6
|
function DialogResponsiveBackdrop(props) {
|
|
7
7
|
const { className: customClassName = "", ...rest } = props;
|
|
8
|
-
const combinedClassName = dialogResponsiveBackdropVariants({ className: customClassName });
|
|
9
8
|
return /* @__PURE__ */ jsx(Drawer.Backdrop, {
|
|
10
|
-
className:
|
|
9
|
+
className: cn(sx(dialogResponsiveBackdropStyles.base), customClassName),
|
|
11
10
|
"data-slot": "dialog-responsive-backdrop",
|
|
12
11
|
...rest
|
|
13
12
|
});
|
|
14
13
|
}
|
|
15
|
-
const dialogResponsiveBackdropVariants = cva(dialog_responsive_backdrop_module_default.base);
|
|
16
14
|
//#endregion
|
|
17
|
-
export { DialogResponsiveBackdrop
|
|
15
|
+
export { DialogResponsiveBackdrop };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/components/dialog-responsive/dialog-responsive-backdrop.stylex.ts
|
|
2
|
+
const dialogResponsiveBackdropStyles = { base: {
|
|
3
|
+
"--backdrop-opacity": "x10t59f0",
|
|
4
|
+
kWkggS: "x42x0ya",
|
|
5
|
+
kpwlN0: "x10a8y8t",
|
|
6
|
+
kSiTet: "x1pimrze x1b866l",
|
|
7
|
+
kjBf7l: "x1luwoo2",
|
|
8
|
+
kVAEAm: "xixxii4",
|
|
9
|
+
kIyJzY: "x10t6uq9 xm69ghq xx6bhzk",
|
|
10
|
+
k1ekBW: "x19991ni",
|
|
11
|
+
$$css: true
|
|
12
|
+
} };
|
|
13
|
+
//#endregion
|
|
14
|
+
export { dialogResponsiveBackdropStyles };
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
2
|
+
import { dialogResponsiveBarStyles } from "./dialog-responsive-bar.stylex.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/dialog-responsive/dialog-responsive-bar.tsx
|
|
5
5
|
function DialogResponsiveBar(props) {
|
|
6
6
|
const { className: customClassName = "", ...rest } = props;
|
|
7
7
|
return /* @__PURE__ */ jsx("div", {
|
|
8
|
-
className:
|
|
8
|
+
className: cn(sx(dialogResponsiveBarStyles.base), customClassName),
|
|
9
9
|
"data-slot": "dialog-responsive-bar",
|
|
10
10
|
...rest
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
|
-
const dialogResponsiveBarVariants = cva(dialog_responsive_bar_module_default.base);
|
|
14
13
|
//#endregion
|
|
15
|
-
export { DialogResponsiveBar
|
|
14
|
+
export { DialogResponsiveBar };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/components/dialog-responsive/dialog-responsive-bar.stylex.ts
|
|
2
|
+
const dialogResponsiveBarStyles = { base: {
|
|
3
|
+
kWkggS: "x1tcrco7",
|
|
4
|
+
kaIpWk: "x10hpsqq",
|
|
5
|
+
k1xSpc: "x1s85apg xfsj286",
|
|
6
|
+
kZKoxP: "xqu0tyb",
|
|
7
|
+
kqGvvJ: "x1twdi5u",
|
|
8
|
+
kUOVxO: "xvueqy4",
|
|
9
|
+
kzqmXN: "x1useyqa",
|
|
10
|
+
$$css: true
|
|
11
|
+
} };
|
|
12
|
+
//#endregion
|
|
13
|
+
export { dialogResponsiveBarStyles };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { dialogResponsivePopupStyles } from "./dialog-responsive-popup.stylex.js";
|
|
1
2
|
import { Drawer } from "@base-ui/react";
|
|
2
3
|
import { JSX } from "react";
|
|
3
4
|
//#region src/components/dialog-responsive/dialog-responsive-popup.d.ts
|
|
4
5
|
interface DialogResponsivePopupProps extends Drawer.Popup.Props {}
|
|
5
6
|
declare function DialogResponsivePopup(props: DialogResponsivePopupProps): JSX.Element;
|
|
6
|
-
declare const dialogResponsivePopupVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
7
7
|
//#endregion
|
|
8
|
-
export { DialogResponsivePopup, DialogResponsivePopupProps,
|
|
8
|
+
export { DialogResponsivePopup, DialogResponsivePopupProps, dialogResponsivePopupStyles };
|
|
@@ -1,22 +1,20 @@
|
|
|
1
|
+
import { cn, sx } from "../cn.js";
|
|
1
2
|
import { DialogResponsiveBackdrop } from "./dialog-responsive-backdrop.js";
|
|
2
3
|
import { DialogResponsiveBar } from "./dialog-responsive-bar.js";
|
|
4
|
+
import { dialogResponsivePopupStyles } from "./dialog-responsive-popup.stylex.js";
|
|
3
5
|
import { DialogResponsivePortal } from "./dialog-responsive-portal.js";
|
|
4
6
|
import { DialogResponsiveViewport } from "./dialog-responsive-viewport.js";
|
|
5
|
-
import dialog_responsive_popup_module_default from "./dialog-responsive-popup.module.js";
|
|
6
|
-
import { cva } from "class-variance-authority";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { Drawer } from "@base-ui/react";
|
|
9
9
|
//#region src/components/dialog-responsive/dialog-responsive-popup.tsx
|
|
10
10
|
function DialogResponsivePopup(props) {
|
|
11
11
|
const { children, className: customClassName = "", ...rest } = props;
|
|
12
|
-
const combinedClassName = dialogResponsivePopupVariants({ className: customClassName });
|
|
13
12
|
return /* @__PURE__ */ jsxs(DialogResponsivePortal, { children: [/* @__PURE__ */ jsx(DialogResponsiveBackdrop, {}), /* @__PURE__ */ jsx(DialogResponsiveViewport, { children: /* @__PURE__ */ jsxs(Drawer.Popup, {
|
|
14
|
-
className:
|
|
13
|
+
className: cn(sx(dialogResponsivePopupStyles.base), customClassName),
|
|
15
14
|
"data-slot": "dialog-responsive-popup",
|
|
16
15
|
...rest,
|
|
17
16
|
children: [/* @__PURE__ */ jsx(DialogResponsiveBar, {}), children]
|
|
18
17
|
}) })] });
|
|
19
18
|
}
|
|
20
|
-
const dialogResponsivePopupVariants = cva(dialog_responsive_popup_module_default.base);
|
|
21
19
|
//#endregion
|
|
22
|
-
export { DialogResponsivePopup,
|
|
20
|
+
export { DialogResponsivePopup, dialogResponsivePopupStyles };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as stylex from "@stylexjs/stylex";
|
|
2
|
+
//#region src/components/dialog-responsive/dialog-responsive-popup.stylex.d.ts
|
|
3
|
+
declare const dialogResponsivePopupStyles: Readonly<{
|
|
4
|
+
readonly base: Readonly<{
|
|
5
|
+
readonly "--radius-mobile": stylex.StyleXClassNameFor<"--radius-mobile", "16px" | "24px">;
|
|
6
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "var(--color-gray-1)">;
|
|
7
|
+
readonly borderBottomLeftRadius: stylex.StyleXClassNameFor<"borderBottomLeftRadius", 0 | 16>;
|
|
8
|
+
readonly borderBottomRightRadius: stylex.StyleXClassNameFor<"borderBottomRightRadius", 0 | 16>;
|
|
9
|
+
readonly borderTopLeftRadius: stylex.StyleXClassNameFor<"borderTopLeftRadius", 16 | "var(--radius-mobile)">;
|
|
10
|
+
readonly borderTopRightRadius: stylex.StyleXClassNameFor<"borderTopRightRadius", 16 | "var(--radius-mobile)">;
|
|
11
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "auto">;
|
|
12
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
13
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
14
|
+
readonly maxWidth: stylex.StyleXClassNameFor<"maxWidth", 640>;
|
|
15
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0 | 1>;
|
|
16
|
+
readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", "var(--color-primary-9)">;
|
|
17
|
+
readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", -4>;
|
|
18
|
+
readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
|
|
19
|
+
readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", 0 | 2>;
|
|
20
|
+
readonly padding: stylex.StyleXClassNameFor<"padding", 16>;
|
|
21
|
+
readonly paddingTop: stylex.StyleXClassNameFor<"paddingTop", 0 | 16>;
|
|
22
|
+
readonly transform: stylex.StyleXClassNameFor<"transform", "none" | "scale(0.975)" | "scale(1) translateY(100%)" | "translateY(var(--drawer-swipe-movement-y))">;
|
|
23
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "150ms" | "calc(var(--drawer-swipe-strength) * 300ms)" | "450ms">;
|
|
24
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "transform" | "opacity, transform">;
|
|
25
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease" | "cubic-bezier(0.32, 0.72, 0, 1)">;
|
|
26
|
+
readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "auto" | "none">;
|
|
27
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
28
|
+
readonly willChange: stylex.StyleXClassNameFor<"willChange", "opacity, transform">;
|
|
29
|
+
}>;
|
|
30
|
+
}>;
|
|
31
|
+
//#endregion
|
|
32
|
+
export { dialogResponsivePopupStyles };
|