@nattstack/ui 0.0.88 → 0.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/button/button.js +1 -0
- package/dist/components/button-link/button-link.js +1 -0
- package/dist/components/checkbox/checkbox-icon.js +1 -0
- package/dist/components/checkbox/checkbox.css +4 -4
- package/dist/components/checkbox/checkbox.js +2 -1
- package/dist/components/checkbox/checkbox.module.js +1 -1
- package/dist/components/column/column.css +1 -1
- package/dist/components/column/column.js +2 -1
- package/dist/components/column/column.module.js +1 -1
- package/dist/components/dialog-responsive/dialog-responsive-backdrop.css +5 -5
- package/dist/components/dialog-responsive/dialog-responsive-backdrop.js +1 -1
- package/dist/components/dialog-responsive/dialog-responsive-backdrop.module.js +1 -1
- package/dist/components/dialog-responsive/dialog-responsive-bar.css +2 -2
- package/dist/components/dialog-responsive/dialog-responsive-bar.js +1 -1
- package/dist/components/dialog-responsive/dialog-responsive-bar.module.js +1 -1
- package/dist/components/dialog-responsive/dialog-responsive-popup.css +7 -7
- package/dist/components/dialog-responsive/dialog-responsive-popup.js +1 -1
- package/dist/components/dialog-responsive/dialog-responsive-popup.module.js +1 -1
- package/dist/components/dialog-responsive/dialog-responsive-portal.css +1 -1
- package/dist/components/dialog-responsive/dialog-responsive-portal.js +1 -1
- package/dist/components/dialog-responsive/dialog-responsive-portal.module.js +1 -1
- package/dist/components/dialog-responsive/dialog-responsive-viewport.css +2 -2
- package/dist/components/dialog-responsive/dialog-responsive-viewport.js +1 -1
- package/dist/components/dialog-responsive/dialog-responsive-viewport.module.js +1 -1
- package/dist/components/icon-button/icon-button.js +1 -0
- package/dist/components/index.d.ts +9 -1
- package/dist/components/index.js +9 -1
- package/dist/components/input/input.css +14 -14
- package/dist/components/input/input.js +9 -8
- package/dist/components/input/input.module.js +8 -8
- package/dist/components/label/label.css +2 -2
- package/dist/components/label/label.js +3 -2
- package/dist/components/label/label.module.js +1 -1
- package/dist/components/otp-field/otp-field-input.css +4 -4
- package/dist/components/otp-field/otp-field-input.js +2 -1
- package/dist/components/otp-field/otp-field-input.module.js +1 -1
- package/dist/components/otp-field/otp-field.css +2 -2
- package/dist/components/otp-field/otp-field.js +3 -2
- package/dist/components/otp-field/otp-field.module.js +2 -2
- package/dist/components/row/row.css +1 -1
- package/dist/components/row/row.js +2 -1
- package/dist/components/row/row.module.js +1 -1
- package/dist/components/select/select-content.css +59 -0
- package/dist/components/select/select-content.d.ts +11 -0
- package/dist/components/select/select-content.js +39 -0
- package/dist/components/select/select-content.module.js +8 -0
- package/dist/components/select/select-group-label.css +8 -0
- package/dist/components/select/select-group-label.d.ts +10 -0
- package/dist/components/select/select-group-label.js +17 -0
- package/dist/components/select/select-group-label.module.js +5 -0
- package/dist/components/select/select-group.css +6 -0
- package/dist/components/select/select-group.d.ts +10 -0
- package/dist/components/select/select-group.js +17 -0
- package/dist/components/select/select-group.module.js +5 -0
- package/dist/components/select/select-item.css +43 -0
- package/dist/components/select/select-item.d.ts +11 -0
- package/dist/components/select/select-item.js +42 -0
- package/dist/components/select/select-item.module.js +9 -0
- package/dist/components/select/select-separator.css +8 -0
- package/dist/components/select/select-separator.d.ts +10 -0
- package/dist/components/select/select-separator.js +17 -0
- package/dist/components/select/select-separator.module.js +5 -0
- package/dist/components/select/select-trigger.css +76 -0
- package/dist/components/select/select-trigger.d.ts +15 -0
- package/dist/components/select/select-trigger.js +48 -0
- package/dist/components/select/select-trigger.module.js +14 -0
- package/dist/components/select/select-value.css +14 -0
- package/dist/components/select/select-value.d.ts +8 -0
- package/dist/components/select/select-value.js +18 -0
- package/dist/components/select/select-value.module.js +5 -0
- package/dist/components/select/select.d.ts +7 -0
- package/dist/components/select/select.js +12 -0
- package/dist/components/spacer/spacer.css +1 -1
- package/dist/components/spacer/spacer.js +2 -1
- package/dist/components/spacer/spacer.module.js +1 -1
- package/dist/components/switch/switch.css +8 -8
- package/dist/components/switch/switch.js +5 -4
- package/dist/components/switch/switch.module.js +4 -4
- package/dist/components/tabs/tabs-panel.css +2 -2
- package/dist/components/tabs/tabs-panel.js +1 -1
- package/dist/components/tabs/tabs-panel.module.js +1 -1
- package/dist/components/tabs/tabs.css +1 -1
- package/dist/components/tabs/tabs.js +1 -1
- package/dist/components/tabs/tabs.module.js +1 -1
- package/dist/components/tabs-pill/tabs-pill-indicator.css +1 -1
- package/dist/components/tabs-pill/tabs-pill-indicator.js +1 -1
- package/dist/components/tabs-pill/tabs-pill-indicator.module.js +1 -1
- package/dist/components/tabs-pill/tabs-pill-list.css +1 -1
- package/dist/components/tabs-pill/tabs-pill-list.js +2 -2
- package/dist/components/tabs-pill/tabs-pill-list.module.js +1 -1
- package/dist/components/tabs-pill/tabs-pill-tab.css +9 -9
- package/dist/components/tabs-pill/tabs-pill-tab.js +3 -3
- package/dist/components/tabs-pill/tabs-pill-tab.module.js +3 -3
- package/dist/components/tabs-segmented/tabs-segmented-indicator.css +1 -1
- package/dist/components/tabs-segmented/tabs-segmented-indicator.js +1 -1
- package/dist/components/tabs-segmented/tabs-segmented-indicator.module.js +1 -1
- package/dist/components/tabs-segmented/tabs-segmented-list.css +1 -1
- package/dist/components/tabs-segmented/tabs-segmented-list.js +2 -2
- package/dist/components/tabs-segmented/tabs-segmented-list.module.js +1 -1
- package/dist/components/tabs-segmented/tabs-segmented-tab.css +4 -4
- package/dist/components/tabs-segmented/tabs-segmented-tab.js +1 -1
- package/dist/components/tabs-segmented/tabs-segmented-tab.module.js +1 -1
- package/dist/components/tabs-underline/tabs-underline-indicator.css +1 -1
- package/dist/components/tabs-underline/tabs-underline-indicator.js +1 -1
- package/dist/components/tabs-underline/tabs-underline-indicator.module.js +1 -1
- package/dist/components/tabs-underline/tabs-underline-list.css +1 -1
- package/dist/components/tabs-underline/tabs-underline-list.js +2 -2
- package/dist/components/tabs-underline/tabs-underline-list.module.js +1 -1
- package/dist/components/tabs-underline/tabs-underline-tab.css +4 -4
- package/dist/components/tabs-underline/tabs-underline-tab.js +1 -1
- package/dist/components/tabs-underline/tabs-underline-tab.module.js +1 -1
- package/dist/components/textarea/textarea.css +1 -1
- package/dist/components/textarea/textarea.js +4 -3
- package/dist/components/textarea/textarea.module.js +1 -1
- package/dist/components/toggle-group/toggle-group-item.css +6 -6
- package/dist/components/toggle-group/toggle-group-item.js +1 -1
- package/dist/components/toggle-group/toggle-group-item.module.js +1 -1
- package/dist/components/toggle-group/toggle-group.css +1 -1
- package/dist/components/toggle-group/toggle-group.js +1 -1
- package/dist/components/toggle-group/toggle-group.module.js +1 -1
- package/dist/components/tooltip/tooltip-popup.css +5 -5
- package/dist/components/tooltip/tooltip-popup.js +3 -3
- package/dist/components/tooltip/tooltip-popup.module.js +2 -2
- package/package.json +5 -5
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Select } from "@base-ui/react";
|
|
2
|
+
import { JSX } from "react";
|
|
3
|
+
//#region src/components/select/select.d.ts
|
|
4
|
+
interface SelectProps<Value, Multiple extends boolean | undefined = false> extends Select.Root.Props<Value, Multiple> {}
|
|
5
|
+
declare function Select$1<Value, Multiple extends boolean | undefined = false>(props: SelectProps<Value, Multiple>): JSX.Element;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { Select$1 as Select, SelectProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Select } from "@base-ui/react";
|
|
3
|
+
//#region src/components/select/select.tsx
|
|
4
|
+
function Select$1(props) {
|
|
5
|
+
const { ...rest } = props;
|
|
6
|
+
return /* @__PURE__ */ jsx(Select.Root, {
|
|
7
|
+
"data-slot": "select",
|
|
8
|
+
...rest
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { Select$1 as Select };
|
|
@@ -6,6 +6,7 @@ function Spacer(props) {
|
|
|
6
6
|
const { className: customClassName = "", height, style: customStyle, width, ...rest } = props;
|
|
7
7
|
return /* @__PURE__ */ jsx("div", {
|
|
8
8
|
className: spacerVariants({ className: customClassName }),
|
|
9
|
+
"data-slot": "spacer",
|
|
9
10
|
style: {
|
|
10
11
|
...customStyle,
|
|
11
12
|
...width === void 0 ? {} : { width },
|
|
@@ -14,6 +15,6 @@ function Spacer(props) {
|
|
|
14
15
|
...rest
|
|
15
16
|
});
|
|
16
17
|
}
|
|
17
|
-
const spacerVariants = cva(spacer_module_default.
|
|
18
|
+
const spacerVariants = cva(spacer_module_default.base);
|
|
18
19
|
//#endregion
|
|
19
20
|
export { Spacer, spacerVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './spacer.css';
|
|
2
2
|
//#region src/components/spacer/spacer.module.css
|
|
3
|
-
var spacer_module_default = { "
|
|
3
|
+
var spacer_module_default = { "base": "spacer-module_base_liXYKW" };
|
|
4
4
|
//#endregion
|
|
5
5
|
export { spacer_module_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer components {
|
|
2
|
-
.switch-
|
|
2
|
+
.switch-module_base_K0d9Sa {
|
|
3
3
|
background-color: var(--color-gray-6);
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
outline-color: var(--color-primary-9);
|
|
@@ -14,20 +14,20 @@
|
|
|
14
14
|
overflow: hidden;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.switch-
|
|
17
|
+
.switch-module_base_K0d9Sa:focus-visible {
|
|
18
18
|
outline-width: 2px;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.switch-
|
|
21
|
+
.switch-module_base_K0d9Sa[data-checked] {
|
|
22
22
|
background-color: var(--color-primary-9);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.switch-
|
|
25
|
+
.switch-module_base_K0d9Sa[data-disabled] {
|
|
26
26
|
cursor: not-allowed;
|
|
27
27
|
opacity: .5;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.switch-
|
|
30
|
+
.switch-module_thumb_K0d9Sa {
|
|
31
31
|
aspect-ratio: 1;
|
|
32
32
|
background-color: #fff;
|
|
33
33
|
border-radius: 9999px;
|
|
@@ -36,17 +36,17 @@
|
|
|
36
36
|
transition-duration: .15s;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.switch-
|
|
39
|
+
.switch-module_thumb_K0d9Sa[data-checked] {
|
|
40
40
|
transform: translateX(var(--translateX));
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.switch-
|
|
43
|
+
.switch-module_size_18_K0d9Sa {
|
|
44
44
|
--translateX: 12px;
|
|
45
45
|
width: 30px;
|
|
46
46
|
height: 18px;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.switch-
|
|
49
|
+
.switch-module_size_24_K0d9Sa {
|
|
50
50
|
--translateX: 16px;
|
|
51
51
|
width: 40px;
|
|
52
52
|
height: 24px;
|
|
@@ -12,19 +12,20 @@ function Switch$1(props) {
|
|
|
12
12
|
return /* @__PURE__ */ jsx(Switch.Root, {
|
|
13
13
|
checked: isChecked,
|
|
14
14
|
className: combinedClassName,
|
|
15
|
+
"data-slot": "switch",
|
|
15
16
|
defaultChecked: isDefaultChecked,
|
|
16
17
|
disabled: isDisabled,
|
|
17
18
|
readOnly: isReadOnly,
|
|
18
19
|
required: isRequired,
|
|
19
20
|
...rest,
|
|
20
|
-
children: /* @__PURE__ */ jsx(Switch.Thumb, { className: switch_module_default.
|
|
21
|
+
children: /* @__PURE__ */ jsx(Switch.Thumb, { className: switch_module_default.thumb })
|
|
21
22
|
});
|
|
22
23
|
}
|
|
23
|
-
const switchVariants = cva(switch_module_default.
|
|
24
|
+
const switchVariants = cva(switch_module_default.base, {
|
|
24
25
|
defaultVariants: { size: 24 },
|
|
25
26
|
variants: { size: {
|
|
26
|
-
18: switch_module_default.
|
|
27
|
-
24: switch_module_default.
|
|
27
|
+
18: switch_module_default.size_18,
|
|
28
|
+
24: switch_module_default.size_24
|
|
28
29
|
} }
|
|
29
30
|
});
|
|
30
31
|
//#endregion
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './switch.css';
|
|
2
2
|
//#region src/components/switch/switch.module.css
|
|
3
3
|
var switch_module_default = {
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
4
|
+
"base": "switch-module_base_K0d9Sa",
|
|
5
|
+
"size_18": "switch-module_size_18_K0d9Sa",
|
|
6
|
+
"size_24": "switch-module_size_24_K0d9Sa",
|
|
7
|
+
"thumb": "switch-module_thumb_K0d9Sa"
|
|
8
8
|
};
|
|
9
9
|
//#endregion
|
|
10
10
|
export { switch_module_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer components {
|
|
2
|
-
.tabs-panel-
|
|
2
|
+
.tabs-panel-module_base_AXj2FW {
|
|
3
3
|
outline-color: var(--color-primary-9);
|
|
4
4
|
outline-offset: -2px;
|
|
5
5
|
outline-width: 0;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
display: flex;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.tabs-panel-
|
|
11
|
+
.tabs-panel-module_base_AXj2FW:focus-visible {
|
|
12
12
|
outline-width: 2px;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './tabs-panel.css';
|
|
2
2
|
//#region src/components/tabs/tabs-panel.module.css
|
|
3
|
-
var tabs_panel_module_default = { "
|
|
3
|
+
var tabs_panel_module_default = { "base": "tabs-panel-module_base_AXj2FW" };
|
|
4
4
|
//#endregion
|
|
5
5
|
export { tabs_panel_module_default as default };
|
|
@@ -13,6 +13,6 @@ function TabsPillIndicator(props) {
|
|
|
13
13
|
...rest
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
const tabsPillIndicatorVariants = cva(tabs_pill_indicator_module_default.
|
|
16
|
+
const tabsPillIndicatorVariants = cva(tabs_pill_indicator_module_default.base);
|
|
17
17
|
//#endregion
|
|
18
18
|
export { TabsPillIndicator, tabsPillIndicatorVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './tabs-pill-indicator.css';
|
|
2
2
|
//#region src/components/tabs-pill/tabs-pill-indicator.module.css
|
|
3
|
-
var tabs_pill_indicator_module_default = { "
|
|
3
|
+
var tabs_pill_indicator_module_default = { "base": "tabs-pill-indicator-module_base_PiFilW" };
|
|
4
4
|
//#endregion
|
|
5
5
|
export { tabs_pill_indicator_module_default as default };
|
|
@@ -5,7 +5,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
5
5
|
import { Tabs } from "@base-ui/react";
|
|
6
6
|
//#region src/components/tabs-pill/tabs-pill-list.tsx
|
|
7
7
|
function TabsPillList(props) {
|
|
8
|
-
const { className: customClassName = "", children =
|
|
8
|
+
const { className: customClassName = "", children = void 0, ...rest } = props;
|
|
9
9
|
const combinedClassName = tabsPillListVariants({ className: customClassName });
|
|
10
10
|
return /* @__PURE__ */ jsxs(Tabs.List, {
|
|
11
11
|
className: combinedClassName,
|
|
@@ -14,6 +14,6 @@ function TabsPillList(props) {
|
|
|
14
14
|
children: [children, /* @__PURE__ */ jsx(TabsPillIndicator, {})]
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
const tabsPillListVariants = cva(tabs_pill_list_module_default.
|
|
17
|
+
const tabsPillListVariants = cva(tabs_pill_list_module_default.base);
|
|
18
18
|
//#endregion
|
|
19
19
|
export { TabsPillList, tabsPillListVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './tabs-pill-list.css';
|
|
2
2
|
//#region src/components/tabs-pill/tabs-pill-list.module.css
|
|
3
|
-
var tabs_pill_list_module_default = { "
|
|
3
|
+
var tabs_pill_list_module_default = { "base": "tabs-pill-list-module_base_3ahKPW" };
|
|
4
4
|
//#endregion
|
|
5
5
|
export { tabs_pill_list_module_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer components {
|
|
2
|
-
.tabs-pill-tab-
|
|
2
|
+
.tabs-pill-tab-module_base_nxQ-sW {
|
|
3
3
|
border-radius: var(--border-radius);
|
|
4
4
|
color: #000;
|
|
5
5
|
cursor: pointer;
|
|
@@ -21,34 +21,34 @@
|
|
|
21
21
|
display: flex;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.tabs-pill-tab-
|
|
24
|
+
.tabs-pill-tab-module_base_nxQ-sW:focus-visible {
|
|
25
25
|
outline-width: 2px;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.tabs-pill-tab-
|
|
28
|
+
.tabs-pill-tab-module_base_nxQ-sW:hover {
|
|
29
29
|
background-color: var(--color-gray-4);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.tabs-pill-tab-
|
|
32
|
+
.tabs-pill-tab-module_base_nxQ-sW[data-active] {
|
|
33
33
|
color: #fff;
|
|
34
34
|
background-color: #0000;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.dark .tabs-pill-tab-
|
|
37
|
+
.dark .tabs-pill-tab-module_base_nxQ-sW {
|
|
38
38
|
color: #fff;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.dark .tabs-pill-tab-
|
|
41
|
+
.dark .tabs-pill-tab-module_base_nxQ-sW[data-active] {
|
|
42
42
|
color: #000;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.tabs-pill-tab-
|
|
45
|
+
.tabs-pill-tab-module_base_nxQ-sW > svg {
|
|
46
46
|
--size-icon: 16px;
|
|
47
47
|
height: var(--size-icon);
|
|
48
48
|
width: var(--size-icon);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.tabs-pill-tab-
|
|
51
|
+
.tabs-pill-tab-module_wrapper_nxQ-sW {
|
|
52
52
|
--border-radius: 12px;
|
|
53
53
|
border-radius: var(--border-radius);
|
|
54
54
|
flex-shrink: 0;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
overflow: hidden;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.tabs-pill-tab-
|
|
60
|
+
.tabs-pill-tab-module_background_nxQ-sW {
|
|
61
61
|
background-color: var(--color-gray-3);
|
|
62
62
|
z-index: -2;
|
|
63
63
|
position: absolute;
|
|
@@ -7,15 +7,15 @@ function TabsPillTab(props) {
|
|
|
7
7
|
const { className: customClassName = "", isNativeButton = true, ...rest } = props;
|
|
8
8
|
const combinedClassName = tabsPillTabVariants({ className: customClassName });
|
|
9
9
|
return /* @__PURE__ */ jsxs("div", {
|
|
10
|
-
className: tabs_pill_tab_module_default.
|
|
10
|
+
className: tabs_pill_tab_module_default.wrapper,
|
|
11
11
|
children: [/* @__PURE__ */ jsx(Tabs.Tab, {
|
|
12
12
|
className: combinedClassName,
|
|
13
13
|
"data-slot": "tabs-pill-tab",
|
|
14
14
|
nativeButton: isNativeButton,
|
|
15
15
|
...rest
|
|
16
|
-
}), /* @__PURE__ */ jsx("div", { className: tabs_pill_tab_module_default.
|
|
16
|
+
}), /* @__PURE__ */ jsx("div", { className: tabs_pill_tab_module_default.background })]
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
const tabsPillTabVariants = cva(tabs_pill_tab_module_default.
|
|
19
|
+
const tabsPillTabVariants = cva(tabs_pill_tab_module_default.base);
|
|
20
20
|
//#endregion
|
|
21
21
|
export { TabsPillTab, tabsPillTabVariants };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './tabs-pill-tab.css';
|
|
2
2
|
//#region src/components/tabs-pill/tabs-pill-tab.module.css
|
|
3
3
|
var tabs_pill_tab_module_default = {
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
4
|
+
"background": "tabs-pill-tab-module_background_nxQ-sW",
|
|
5
|
+
"base": "tabs-pill-tab-module_base_nxQ-sW",
|
|
6
|
+
"wrapper": "tabs-pill-tab-module_wrapper_nxQ-sW"
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
9
9
|
export { tabs_pill_tab_module_default as default };
|
|
@@ -13,6 +13,6 @@ function TabsSegmentedIndicator(props) {
|
|
|
13
13
|
...rest
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
const tabsSegmentedIndicatorVariants = cva(tabs_segmented_indicator_module_default.
|
|
16
|
+
const tabsSegmentedIndicatorVariants = cva(tabs_segmented_indicator_module_default.base);
|
|
17
17
|
//#endregion
|
|
18
18
|
export { TabsSegmentedIndicator, tabsSegmentedIndicatorVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './tabs-segmented-indicator.css';
|
|
2
2
|
//#region src/components/tabs-segmented/tabs-segmented-indicator.module.css
|
|
3
|
-
var tabs_segmented_indicator_module_default = { "
|
|
3
|
+
var tabs_segmented_indicator_module_default = { "base": "tabs-segmented-indicator-module_base_3DY8Ta" };
|
|
4
4
|
//#endregion
|
|
5
5
|
export { tabs_segmented_indicator_module_default as default };
|
|
@@ -5,7 +5,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
5
5
|
import { Tabs } from "@base-ui/react";
|
|
6
6
|
//#region src/components/tabs-segmented/tabs-segmented-list.tsx
|
|
7
7
|
function TabsSegmentedList(props) {
|
|
8
|
-
const { className: customClassName = "", children =
|
|
8
|
+
const { className: customClassName = "", children = void 0, ...rest } = props;
|
|
9
9
|
const combinedClassName = tabsSegmentedListVariants({ className: customClassName });
|
|
10
10
|
return /* @__PURE__ */ jsxs(Tabs.List, {
|
|
11
11
|
className: combinedClassName,
|
|
@@ -14,6 +14,6 @@ function TabsSegmentedList(props) {
|
|
|
14
14
|
children: [children, /* @__PURE__ */ jsx(TabsSegmentedIndicator, {})]
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
const tabsSegmentedListVariants = cva(tabs_segmented_list_module_default.
|
|
17
|
+
const tabsSegmentedListVariants = cva(tabs_segmented_list_module_default.base);
|
|
18
18
|
//#endregion
|
|
19
19
|
export { TabsSegmentedList, tabsSegmentedListVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './tabs-segmented-list.css';
|
|
2
2
|
//#region src/components/tabs-segmented/tabs-segmented-list.module.css
|
|
3
|
-
var tabs_segmented_list_module_default = { "
|
|
3
|
+
var tabs_segmented_list_module_default = { "base": "tabs-segmented-list-module_base_wG8CPq" };
|
|
4
4
|
//#endregion
|
|
5
5
|
export { tabs_segmented_list_module_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer components {
|
|
2
|
-
.tabs-segmented-tab-
|
|
2
|
+
.tabs-segmented-tab-module_base_du-IJG {
|
|
3
3
|
color: var(--color-gray-11);
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
outline-color: var(--color-primary-9);
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
display: flex;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.tabs-segmented-tab-
|
|
24
|
+
.tabs-segmented-tab-module_base_du-IJG:focus-visible {
|
|
25
25
|
outline-width: 2px;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.tabs-segmented-tab-
|
|
28
|
+
.tabs-segmented-tab-module_base_du-IJG:hover, .tabs-segmented-tab-module_base_du-IJG[data-active] {
|
|
29
29
|
color: var(--color-gray-12);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.tabs-segmented-tab-
|
|
32
|
+
.tabs-segmented-tab-module_base_du-IJG > svg {
|
|
33
33
|
--size-icon: 16px;
|
|
34
34
|
height: var(--size-icon);
|
|
35
35
|
width: var(--size-icon);
|
|
@@ -13,6 +13,6 @@ function TabsSegmentedTab(props) {
|
|
|
13
13
|
...rest
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
const tabsSegmentedTabVariants = cva(tabs_segmented_tab_module_default.
|
|
16
|
+
const tabsSegmentedTabVariants = cva(tabs_segmented_tab_module_default.base);
|
|
17
17
|
//#endregion
|
|
18
18
|
export { TabsSegmentedTab, tabsSegmentedTabVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './tabs-segmented-tab.css';
|
|
2
2
|
//#region src/components/tabs-segmented/tabs-segmented-tab.module.css
|
|
3
|
-
var tabs_segmented_tab_module_default = { "
|
|
3
|
+
var tabs_segmented_tab_module_default = { "base": "tabs-segmented-tab-module_base_du-IJG" };
|
|
4
4
|
//#endregion
|
|
5
5
|
export { tabs_segmented_tab_module_default as default };
|
|
@@ -13,6 +13,6 @@ function TabsUnderlineIndicator(props) {
|
|
|
13
13
|
...rest
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
const tabsUnderlineIndicatorVariants = cva(tabs_underline_indicator_module_default.
|
|
16
|
+
const tabsUnderlineIndicatorVariants = cva(tabs_underline_indicator_module_default.base);
|
|
17
17
|
//#endregion
|
|
18
18
|
export { TabsUnderlineIndicator, tabsUnderlineIndicatorVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './tabs-underline-indicator.css';
|
|
2
2
|
//#region src/components/tabs-underline/tabs-underline-indicator.module.css
|
|
3
|
-
var tabs_underline_indicator_module_default = { "
|
|
3
|
+
var tabs_underline_indicator_module_default = { "base": "tabs-underline-indicator-module_base_Gl55Ba" };
|
|
4
4
|
//#endregion
|
|
5
5
|
export { tabs_underline_indicator_module_default as default };
|
|
@@ -5,7 +5,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
5
5
|
import { Tabs } from "@base-ui/react";
|
|
6
6
|
//#region src/components/tabs-underline/tabs-underline-list.tsx
|
|
7
7
|
function TabsUnderlineList(props) {
|
|
8
|
-
const { className: customClassName = "", children =
|
|
8
|
+
const { className: customClassName = "", children = void 0, ...rest } = props;
|
|
9
9
|
const combinedClassName = tabsUnderlineListVariants({ className: customClassName });
|
|
10
10
|
return /* @__PURE__ */ jsxs(Tabs.List, {
|
|
11
11
|
className: combinedClassName,
|
|
@@ -14,6 +14,6 @@ function TabsUnderlineList(props) {
|
|
|
14
14
|
children: [children, /* @__PURE__ */ jsx(TabsUnderlineIndicator, {})]
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
const tabsUnderlineListVariants = cva(tabs_underline_list_module_default.
|
|
17
|
+
const tabsUnderlineListVariants = cva(tabs_underline_list_module_default.base);
|
|
18
18
|
//#endregion
|
|
19
19
|
export { TabsUnderlineList, tabsUnderlineListVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './tabs-underline-list.css';
|
|
2
2
|
//#region src/components/tabs-underline/tabs-underline-list.module.css
|
|
3
|
-
var tabs_underline_list_module_default = { "
|
|
3
|
+
var tabs_underline_list_module_default = { "base": "tabs-underline-list-module_base_3MpMpG" };
|
|
4
4
|
//#endregion
|
|
5
5
|
export { tabs_underline_list_module_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer components {
|
|
2
|
-
.tabs-underline-tab-
|
|
2
|
+
.tabs-underline-tab-module_base_lcqfQW {
|
|
3
3
|
color: var(--color-gray-11);
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
outline-color: var(--color-primary-9);
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
display: flex;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.tabs-underline-tab-
|
|
23
|
+
.tabs-underline-tab-module_base_lcqfQW:focus-visible {
|
|
24
24
|
outline-width: 2px;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.tabs-underline-tab-
|
|
27
|
+
.tabs-underline-tab-module_base_lcqfQW:hover, .tabs-underline-tab-module_base_lcqfQW[data-active] {
|
|
28
28
|
color: var(--color-gray-12);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.tabs-underline-tab-
|
|
31
|
+
.tabs-underline-tab-module_base_lcqfQW > svg {
|
|
32
32
|
--size-icon: 16px;
|
|
33
33
|
height: var(--size-icon);
|
|
34
34
|
width: var(--size-icon);
|
|
@@ -13,6 +13,6 @@ function TabsUnderlineTab(props) {
|
|
|
13
13
|
...rest
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
const tabsUnderlineTabVariants = cva(tabs_underline_tab_module_default.
|
|
16
|
+
const tabsUnderlineTabVariants = cva(tabs_underline_tab_module_default.base);
|
|
17
17
|
//#endregion
|
|
18
18
|
export { TabsUnderlineTab, tabsUnderlineTabVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './tabs-underline-tab.css';
|
|
2
2
|
//#region src/components/tabs-underline/tabs-underline-tab.module.css
|
|
3
|
-
var tabs_underline_tab_module_default = { "
|
|
3
|
+
var tabs_underline_tab_module_default = { "base": "tabs-underline-tab-module_base_lcqfQW" };
|
|
4
4
|
//#endregion
|
|
5
5
|
export { tabs_underline_tab_module_default as default };
|
|
@@ -13,6 +13,7 @@ function Textarea(props) {
|
|
|
13
13
|
"data-is-active": isActive,
|
|
14
14
|
"data-is-invalid": isInvalid,
|
|
15
15
|
"data-is-valid": isValid,
|
|
16
|
+
"data-slot": "textarea",
|
|
16
17
|
disabled: isDisabled,
|
|
17
18
|
readOnly: isReadOnly,
|
|
18
19
|
required: isRequired,
|
|
@@ -20,11 +21,11 @@ function Textarea(props) {
|
|
|
20
21
|
...rest
|
|
21
22
|
});
|
|
22
23
|
}
|
|
23
|
-
const textareaVariants = cva([input_module_default.
|
|
24
|
+
const textareaVariants = cva([input_module_default.base, textarea_module_default.base], {
|
|
24
25
|
defaultVariants: { isRounded: false },
|
|
25
26
|
variants: { isRounded: {
|
|
26
|
-
false: input_module_default.
|
|
27
|
-
true: input_module_default.
|
|
27
|
+
false: input_module_default.rounded_base,
|
|
28
|
+
true: input_module_default.rounded_full
|
|
28
29
|
} }
|
|
29
30
|
});
|
|
30
31
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './textarea.css';
|
|
2
2
|
//#region src/components/textarea/textarea.module.css
|
|
3
|
-
var textarea_module_default = { "
|
|
3
|
+
var textarea_module_default = { "base": "textarea-module_base_jT_oOq" };
|
|
4
4
|
//#endregion
|
|
5
5
|
export { textarea_module_default as default };
|