@jsenv/navi 0.12.24 → 0.12.26

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.
@@ -11092,7 +11092,8 @@ const initPseudoStyles = (
11092
11092
  for (const pseudoClass of pseudoClasses) {
11093
11093
  const pseudoClassDefinition = PSEUDO_CLASSES[pseudoClass];
11094
11094
  if (!pseudoClassDefinition) {
11095
- throw new Error(`Unknown pseudo class: ${pseudoClass}`);
11095
+ console.warn(`Unknown pseudo class: ${pseudoClass}`);
11096
+ continue;
11096
11097
  }
11097
11098
  const { setup } = pseudoClassDefinition;
11098
11099
  if (setup) {
@@ -13915,9 +13916,17 @@ const Icon = ({
13915
13916
  if (width !== undefined || height !== undefined) {
13916
13917
  box = true;
13917
13918
  }
13919
+ const ariaProps = decorative ? {
13920
+ "aria-hidden": "true"
13921
+ } : {
13922
+ role,
13923
+ "aria-label": ariaLabel
13924
+ };
13918
13925
  if (box) {
13919
13926
  return jsx(Box, {
13920
13927
  ...props,
13928
+ ...ariaProps,
13929
+ box: box,
13921
13930
  baseClassName: "navi_icon",
13922
13931
  "data-width": width,
13923
13932
  "data-height": height,
@@ -13927,12 +13936,6 @@ const Icon = ({
13927
13936
  });
13928
13937
  }
13929
13938
  const invisibleText = baseChar.repeat(charWidth);
13930
- const ariaProps = decorative ? {
13931
- "aria-hidden": "true"
13932
- } : {
13933
- role,
13934
- "aria-label": ariaLabel
13935
- };
13936
13939
  return jsxs(Text, {
13937
13940
  ...props,
13938
13941
  ...ariaProps,
@@ -22247,7 +22250,7 @@ const DialogLayout = ({
22247
22250
  }) => {
22248
22251
  return jsx(Box, {
22249
22252
  baseClassName: "navi_dialog_layout",
22250
- CSSVars: DialogLayoutStyleCSSVars,
22253
+ styleCSSVars: DialogLayoutStyleCSSVars,
22251
22254
  visualSelector: ".navi_dialog_content",
22252
22255
  ...props,
22253
22256
  children: jsx(Box, {