@react-fabric/core 1.0.0-beta.25 → 1.0.0-beta.27
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/cjs/components/dropdown/DropdownTool.js +1 -1
- package/dist/cjs/core/responsive/Responsive.js +1 -1
- package/dist/esm/components/dropdown/DropdownTool.js +1 -1
- package/dist/esm/core/responsive/Responsive.js +1 -1
- package/dist/types/core/theme/ThemeProvider.d.ts +1 -1
- package/package.json +5 -5
- package/src/components/dropdown/DropdownTool.tsx +1 -1
- package/src/core/responsive/Responsive.tsx +2 -1
- package/src/core/theme/ThemeProvider.tsx +1 -1
|
@@ -20,7 +20,7 @@ var DropdownTool = function DropdownTool(_ref) {
|
|
|
20
20
|
return /*#__PURE__*/jsxRuntime.jsxs(Dropdown.Dropdown, _objectSpread(_objectSpread({}, props), {}, {
|
|
21
21
|
children: [/*#__PURE__*/jsxRuntime.jsx(Icon.Icon, {
|
|
22
22
|
icon: icon !== null && icon !== void 0 ? icon : icons.CoreIcons.caretDown,
|
|
23
|
-
className: classNames(className, "outline bg-base flex-content pointer-events-auto cursor-pointer", groupHover && "hidden group-hover:inline-block data-[dropdown-open]:inline-block")
|
|
23
|
+
className: classNames(className, "outline bg-base flex-content pointer-events-auto cursor-pointer", groupHover && "hidden group-hover/tool:inline-block data-[dropdown-open]:inline-block")
|
|
24
24
|
}), children]
|
|
25
25
|
}));
|
|
26
26
|
};
|
|
@@ -53,7 +53,7 @@ var Col = function Col(_ref3) {
|
|
|
53
53
|
stretchContent = _ref3.stretchContent,
|
|
54
54
|
aria = _objectWithoutProperties(_ref3, _excluded3);
|
|
55
55
|
return /*#__PURE__*/jsxRuntime.jsx("div", _objectSpread(_objectSpread({
|
|
56
|
-
className: classNames(Responsive_module.col, className, stretchContent && Responsive_module.stretchContent, flex === "
|
|
56
|
+
className: classNames(Responsive_module.col, className, stretchContent && Responsive_module.stretchContent, flex === "fill" && "flex-1", flex === "full" && "flex-full", flex === "auto" && "flex-initial", flex === "content" && "flex-content", align && "self-".concat(align))
|
|
57
57
|
}, aria), {}, {
|
|
58
58
|
children: children
|
|
59
59
|
}));
|
|
@@ -20,7 +20,7 @@ var DropdownTool = function DropdownTool(_ref) {
|
|
|
20
20
|
return /*#__PURE__*/jsxs(Dropdown, _objectSpread(_objectSpread({}, props), {}, {
|
|
21
21
|
children: [/*#__PURE__*/jsx(Icon, {
|
|
22
22
|
icon: icon !== null && icon !== void 0 ? icon : CoreIcons.caretDown,
|
|
23
|
-
className: classNames(className, "outline bg-base flex-content pointer-events-auto cursor-pointer", groupHover && "hidden group-hover:inline-block data-[dropdown-open]:inline-block")
|
|
23
|
+
className: classNames(className, "outline bg-base flex-content pointer-events-auto cursor-pointer", groupHover && "hidden group-hover/tool:inline-block data-[dropdown-open]:inline-block")
|
|
24
24
|
}), children]
|
|
25
25
|
}));
|
|
26
26
|
};
|
|
@@ -53,7 +53,7 @@ var Col = function Col(_ref3) {
|
|
|
53
53
|
stretchContent = _ref3.stretchContent,
|
|
54
54
|
aria = _objectWithoutProperties(_ref3, _excluded3);
|
|
55
55
|
return /*#__PURE__*/jsx("div", _objectSpread(_objectSpread({
|
|
56
|
-
className: classNames(classes.col, className, stretchContent && classes.stretchContent, flex === "
|
|
56
|
+
className: classNames(classes.col, className, stretchContent && classes.stretchContent, flex === "fill" && "flex-1", flex === "full" && "flex-full", flex === "auto" && "flex-initial", flex === "content" && "flex-content", align && "self-".concat(align))
|
|
57
57
|
}, aria), {}, {
|
|
58
58
|
children: children
|
|
59
59
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-fabric/core",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.27",
|
|
4
4
|
"description": "RUF: Core package",
|
|
5
5
|
"author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@floating-ui/react": "^0.26.24",
|
|
39
|
-
"@react-fabric/utilities": "^1.0.0-beta.
|
|
39
|
+
"@react-fabric/utilities": "^1.0.0-beta.27",
|
|
40
40
|
"@tailwindcss/container-queries": "^0.1.1",
|
|
41
41
|
"@tailwindcss/forms": "^0.5.7",
|
|
42
42
|
"@tailwindcss/typography": "^0.5.13",
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"i18next": "^23.15.1",
|
|
51
|
-
"react": "
|
|
52
|
-
"react-dom": "
|
|
51
|
+
"react": "^19.0.0",
|
|
52
|
+
"react-dom": "^19.0.0",
|
|
53
53
|
"react-i18next": "^15.0.2"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
56
|
"node": ">=18.12.0",
|
|
57
57
|
"npm": ">=8.19.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "02ddac152718fe86b6003f35ea5e1ef1581168f2"
|
|
60
60
|
}
|
|
@@ -50,7 +50,7 @@ export const DropdownTool = ({
|
|
|
50
50
|
className,
|
|
51
51
|
"outline bg-base flex-content pointer-events-auto cursor-pointer",
|
|
52
52
|
groupHover &&
|
|
53
|
-
"hidden group-hover:inline-block data-[dropdown-open]:inline-block",
|
|
53
|
+
"hidden group-hover/tool:inline-block data-[dropdown-open]:inline-block",
|
|
54
54
|
)}
|
|
55
55
|
/>
|
|
56
56
|
{children}
|
|
@@ -159,9 +159,10 @@ export const Col = ({
|
|
|
159
159
|
classes.col,
|
|
160
160
|
className,
|
|
161
161
|
stretchContent && classes.stretchContent,
|
|
162
|
-
flex === "auto" && "flex-content",
|
|
163
162
|
flex === "fill" && "flex-1",
|
|
164
163
|
flex === "full" && "flex-full",
|
|
164
|
+
flex === "auto" && "flex-initial",
|
|
165
|
+
flex === "content" && "flex-content",
|
|
165
166
|
align && `self-${align}`,
|
|
166
167
|
)}
|
|
167
168
|
{...aria}
|