onekijs-ui 0.20.3 → 0.20.5

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.
@@ -80,11 +80,11 @@ export declare const getIconDivProps: (props: IconProps) => {
80
80
  results?: number | undefined;
81
81
  security?: string | undefined;
82
82
  unselectable?: "on" | "off" | undefined;
83
- inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
83
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
84
84
  is?: string | undefined;
85
85
  'aria-activedescendant'?: string | undefined;
86
86
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
87
- 'aria-autocomplete'?: "none" | "inline" | "both" | "list" | undefined;
87
+ 'aria-autocomplete'?: "inline" | "none" | "list" | "both" | undefined;
88
88
  'aria-braillelabel'?: string | undefined;
89
89
  'aria-brailleroledescription'?: string | undefined;
90
90
  'aria-busy'?: (boolean | "true" | "false") | undefined;
@@ -94,7 +94,7 @@ export declare const getIconDivProps: (props: IconProps) => {
94
94
  'aria-colindextext'?: string | undefined;
95
95
  'aria-colspan'?: number | undefined;
96
96
  'aria-controls'?: string | undefined;
97
- 'aria-current'?: boolean | "time" | "step" | "date" | "true" | "false" | "page" | "location" | undefined;
97
+ 'aria-current'?: boolean | "time" | "true" | "false" | "step" | "date" | "page" | "location" | undefined;
98
98
  'aria-describedby'?: string | undefined;
99
99
  'aria-description'?: string | undefined;
100
100
  'aria-details'?: string | undefined;
@@ -104,7 +104,7 @@ export declare const getIconDivProps: (props: IconProps) => {
104
104
  'aria-expanded'?: (boolean | "true" | "false") | undefined;
105
105
  'aria-flowto'?: string | undefined;
106
106
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
107
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "listbox" | "grid" | "true" | "false" | "tree" | undefined;
107
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree" | undefined;
108
108
  'aria-hidden'?: (boolean | "true" | "false") | undefined;
109
109
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
110
110
  'aria-keyshortcuts'?: string | undefined;
package/dist/index.js CHANGED
@@ -1025,6 +1025,12 @@ const buttonStyle = ({ kind = 'primary', pattern = 'solid', size = 'medium', dis
1025
1025
  .o-icon-loading-container {
1026
1026
  ${marginRight('xs')}
1027
1027
  }
1028
+
1029
+ .o-icon-loading-svg {
1030
+ ${color(fontColor, {
1031
+ hover: disabled ? fontColor : hoverFontColor,
1032
+ })}
1033
+ }
1028
1034
  `;
1029
1035
  };
1030
1036
  const dropdownButtonStyle = () => {
@@ -6635,9 +6641,9 @@ const SelectIconComponent = ({ onClick, open, loading }) => {
6635
6641
  };
6636
6642
 
6637
6643
  const SelectTokenComponent = ({ token, onRemove, index, }) => {
6638
- return (React.createElement("div", { className: "o-select-token" },
6644
+ return (React.createElement("div", { className: `o-select-token${token.disabled ? ' o-select-token-disabled' : ''}` },
6639
6645
  React.createElement("div", { className: "o-select-token-text", key: "o-select-token-text" }, token.text),
6640
- React.createElement("div", { className: "o-select-token-remove", key: "o-select-token-remove", onClick: (e) => {
6646
+ !token.disabled && React.createElement("div", { className: "o-select-token-remove", key: "o-select-token-remove", onClick: (e) => {
6641
6647
  onRemove(token, index);
6642
6648
  e.stopPropagation();
6643
6649
  } }, "\u2716")));