@noya-app/noya-designsystem 0.1.85 → 0.1.87
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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +12 -0
- package/dist/index.css +1 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +4 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/InputField.tsx +1 -0
- package/src/components/Popover.tsx +5 -0
- package/src/components/__tests__/InputField.test.tsx +36 -0
- package/src/components/workspace/DrawerWorkspaceLayout.tsx +1 -11
- package/src/components/workspace/__tests__/DrawerWorkspaceLayout.test.tsx +62 -0
package/dist/index.mjs
CHANGED
|
@@ -21357,6 +21357,7 @@ function Popover({
|
|
|
21357
21357
|
className,
|
|
21358
21358
|
portalContainer,
|
|
21359
21359
|
style: style2,
|
|
21360
|
+
initialFocus,
|
|
21360
21361
|
shouldCloseOnInteractOutside
|
|
21361
21362
|
}) {
|
|
21362
21363
|
const defaultId = useId2();
|
|
@@ -21414,6 +21415,7 @@ function Popover({
|
|
|
21414
21415
|
index_parts_exports5.Popup,
|
|
21415
21416
|
{
|
|
21416
21417
|
ref: popupRef,
|
|
21418
|
+
initialFocus,
|
|
21417
21419
|
style: style2,
|
|
21418
21420
|
className: cx(
|
|
21419
21421
|
popoverStyle.base,
|
|
@@ -21828,6 +21830,7 @@ function InputFieldRoot({
|
|
|
21828
21830
|
{
|
|
21829
21831
|
open: true,
|
|
21830
21832
|
trigger: rootElement,
|
|
21833
|
+
initialFocus: false,
|
|
21831
21834
|
sideOffset,
|
|
21832
21835
|
showArrow: false
|
|
21833
21836
|
},
|
|
@@ -41898,16 +41901,7 @@ var DrawerWorkspaceLayout = memoGeneric(function DrawerWorkspaceLayout2({
|
|
|
41898
41901
|
onClick: () => handleSelectTab(compactTabItem.value)
|
|
41899
41902
|
}
|
|
41900
41903
|
)),
|
|
41901
|
-
/* @__PURE__ */ React311.createElement("div", { className: "n-flex-1 n-flex n-flex-col n-relative n-min-h-0" }, isDrawerOpen && /* @__PURE__ */ React311.createElement("div", { className: "n-absolute n-inset-0 n-z-20 n-flex n-flex-col" }, /* @__PURE__ */ React311.createElement("div", { className: "n-flex-
|
|
41902
|
-
"div",
|
|
41903
|
-
{
|
|
41904
|
-
className: "n-flex-1 n-bg-black/30",
|
|
41905
|
-
onClick: () => setLayoutState({
|
|
41906
|
-
leftSidebarCollapsed: true,
|
|
41907
|
-
rightSidebarCollapsed: true
|
|
41908
|
-
})
|
|
41909
|
-
}
|
|
41910
|
-
)), /* @__PURE__ */ React311.createElement("div", { className: "n-flex-1 n-flex n-relative n-min-h-0" }, centerPanel))
|
|
41904
|
+
/* @__PURE__ */ React311.createElement("div", { className: "n-flex-1 n-flex n-flex-col n-relative n-min-h-0" }, isDrawerOpen && /* @__PURE__ */ React311.createElement("div", { className: "n-absolute n-inset-0 n-z-20 n-flex n-flex-col" }, /* @__PURE__ */ React311.createElement("div", { className: "n-relative n-flex-1 n-min-h-0 n-overflow-auto n-bg-sidebar-background n-border-b n-border-divider-strong n-shadow-lg" }, activeDrawerPanel)), /* @__PURE__ */ React311.createElement("div", { className: "n-flex-1 n-flex n-relative n-min-h-0" }, centerPanel))
|
|
41911
41905
|
);
|
|
41912
41906
|
});
|
|
41913
41907
|
|