@jects/jds 0.0.2-dev → 0.2.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/dist/index.cjs +17 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +17 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -11641,10 +11641,10 @@ var StyledSelectItem = (0, import_styled24.default)("div", {
|
|
|
11641
11641
|
const baseStyles = {
|
|
11642
11642
|
...restInteractionStyle,
|
|
11643
11643
|
display: "flex",
|
|
11644
|
-
flexDirection: "
|
|
11645
|
-
justifyContent: "
|
|
11646
|
-
alignItems: "
|
|
11647
|
-
gap:
|
|
11644
|
+
flexDirection: "row",
|
|
11645
|
+
justifyContent: "flex-start",
|
|
11646
|
+
alignItems: "center",
|
|
11647
|
+
gap: theme.scheme.semantic.spacing[8],
|
|
11648
11648
|
padding: getItemPaddingBySize(theme, $size),
|
|
11649
11649
|
backgroundColor: "transparent",
|
|
11650
11650
|
borderBottom: `1px solid ${theme.color.semantic.stroke.subtler}`,
|
|
@@ -11715,17 +11715,20 @@ var StyledSelectItemText = (0, import_styled24.default)(Label, {
|
|
|
11715
11715
|
return theme.color.semantic.object.bold;
|
|
11716
11716
|
};
|
|
11717
11717
|
return {
|
|
11718
|
-
color: getColor()
|
|
11718
|
+
color: getColor(),
|
|
11719
|
+
cursor: "inherit"
|
|
11719
11720
|
};
|
|
11720
11721
|
});
|
|
11721
11722
|
var StyledSelectItemCaption = (0, import_styled24.default)(Label, {
|
|
11722
11723
|
shouldForwardProp: (prop) => !prop.startsWith("$")
|
|
11723
11724
|
})(({ theme, $isDisabled }) => ({
|
|
11724
|
-
color: $isDisabled ? theme.color.semantic.object.subtle : theme.color.semantic.object.assistive
|
|
11725
|
+
color: $isDisabled ? theme.color.semantic.object.subtle : theme.color.semantic.object.assistive,
|
|
11726
|
+
cursor: "inherit"
|
|
11725
11727
|
}));
|
|
11726
11728
|
var StyledSelectItemBadge = (0, import_styled24.default)(ContentBadge.Basic)({
|
|
11727
11729
|
position: "relative",
|
|
11728
|
-
zIndex: 1
|
|
11730
|
+
zIndex: 1,
|
|
11731
|
+
cursor: "inherit"
|
|
11729
11732
|
});
|
|
11730
11733
|
var StyledSelectItemInputWrapper = (0, import_styled24.default)("div")({
|
|
11731
11734
|
display: "flex",
|
|
@@ -11903,10 +11906,10 @@ var SelectCheckbox = (0, import_react40.forwardRef)(
|
|
|
11903
11906
|
);
|
|
11904
11907
|
SelectCheckbox.displayName = "Select.Checkbox";
|
|
11905
11908
|
|
|
11906
|
-
// src/components/Select/
|
|
11909
|
+
// src/components/Select/SelectList.tsx
|
|
11907
11910
|
var import_react41 = require("react");
|
|
11908
11911
|
var import_jsx_runtime170 = require("@emotion/react/jsx-runtime");
|
|
11909
|
-
var
|
|
11912
|
+
var SelectList = (0, import_react41.forwardRef)(
|
|
11910
11913
|
({ value, isDisabled = false, caption, badge, children, ...restProps }, ref) => {
|
|
11911
11914
|
const { size, isSelected, onChange } = useSelectContext();
|
|
11912
11915
|
const { isItemSelected, handleClick, handleKeyDown } = createSelectItemHandlers({
|
|
@@ -11960,7 +11963,7 @@ var SelectLabel = (0, import_react41.forwardRef)(
|
|
|
11960
11963
|
);
|
|
11961
11964
|
}
|
|
11962
11965
|
);
|
|
11963
|
-
|
|
11966
|
+
SelectList.displayName = "Select.List";
|
|
11964
11967
|
|
|
11965
11968
|
// src/components/Select/SelectRadio.tsx
|
|
11966
11969
|
var import_react42 = require("react");
|
|
@@ -12032,7 +12035,7 @@ SelectRadio.displayName = "Select.Radio";
|
|
|
12032
12035
|
|
|
12033
12036
|
// src/components/Select/index.ts
|
|
12034
12037
|
var Select2 = Object.assign(Select, {
|
|
12035
|
-
|
|
12038
|
+
List: SelectList,
|
|
12036
12039
|
Radio: SelectRadio,
|
|
12037
12040
|
Checkbox: SelectCheckbox
|
|
12038
12041
|
});
|
|
@@ -12323,6 +12326,9 @@ var StyledTabPrimitiveTrigger = (0, import_styled27.default)(
|
|
|
12323
12326
|
transition: "none"
|
|
12324
12327
|
}
|
|
12325
12328
|
},
|
|
12329
|
+
"&:hover": {
|
|
12330
|
+
...interactionStyles7.hoverStyle
|
|
12331
|
+
},
|
|
12326
12332
|
"&:focus-visible": {
|
|
12327
12333
|
...interactionStyles7.focusStyle
|
|
12328
12334
|
},
|