@stokelp/ui 2.66.0 → 2.67.1

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/ui.js CHANGED
@@ -17691,7 +17691,7 @@ const sp = /* @__PURE__ */ w3.forwardRef(fp), { withProvider: Lp, withContext: N
17691
17691
  onClick: (c) => {
17692
17692
  c.preventDefault();
17693
17693
  const o = localStorage.getItem("isMiniaturizeNav") === "closed" ? "open" : "closed";
17694
- localStorage.setItem("isMiniaturizeNav", o), console.error(c.currentTarget), c.currentTarget.setAttribute("data-state", o), window.dispatchEvent(new Event("storage"));
17694
+ localStorage.setItem("isMiniaturizeNav", o), c.currentTarget.setAttribute("data-state", o), window.dispatchEvent(new Event("storage"));
17695
17695
  },
17696
17696
  className: "app-navigation__miniaturizeTrigger",
17697
17697
  "data-state": typeof localStorage < "u" && localStorage.getItem("isMiniaturizeNav") || "open",
@@ -21932,11 +21932,35 @@ const $f = U({
21932
21932
  className: "app-navigation-language-select",
21933
21933
  defaultVariants: {
21934
21934
  size: "md",
21935
- variant: "primary"
21935
+ variant: "primary",
21936
+ isMiniaturized: !1
21936
21937
  },
21937
21938
  jsx: ["AppNavigationLanguageSelect"],
21938
21939
  slots: x3.keys(),
21939
21940
  variants: {
21941
+ isMiniaturized: {
21942
+ true: {
21943
+ trigger: {
21944
+ "& .app-navigation-language-select__valueText, & .app-navigation-language-select__indicator": {
21945
+ display: "none"
21946
+ },
21947
+ width: "auto",
21948
+ p: "space-8"
21949
+ },
21950
+ content: {
21951
+ pt: "1px",
21952
+ width: "100%",
21953
+ minWidth: "max",
21954
+ borderRadius: "radius-8"
21955
+ }
21956
+ },
21957
+ false: {
21958
+ root: {
21959
+ width: "full",
21960
+ minWidth: "size-64"
21961
+ }
21962
+ }
21963
+ },
21940
21964
  size: {
21941
21965
  md: {
21942
21966
  item: { px: "space-16", py: "space-8", textStyle: "body.md" },