oolib 2.214.4 → 2.214.6

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.
@@ -134,6 +134,7 @@ export namespace icons {
134
134
  export { Translate };
135
135
  export { SlidersHorizontal };
136
136
  export { Stack };
137
+ export { Sparkle };
137
138
  export { OkeGoogleIcon };
138
139
  export { LetterH };
139
140
  export { IndexIcon };
@@ -335,6 +336,7 @@ import { ChartDonutIcon as ChartDonut } from '@phosphor-icons/react';
335
336
  import { TranslateIcon as Translate } from '@phosphor-icons/react';
336
337
  import { SlidersHorizontalIcon as SlidersHorizontal } from '@phosphor-icons/react';
337
338
  import { StackIcon as Stack } from '@phosphor-icons/react';
339
+ import { SparkleIcon as Sparkle } from '@phosphor-icons/react';
338
340
  import { OkeGoogleIcon } from "./custom";
339
341
  import { LetterH } from "./custom";
340
342
  import { IndexIcon } from "./custom";
@@ -139,6 +139,7 @@ exports.icons = {
139
139
  Translate: react_1.TranslateIcon,
140
140
  SlidersHorizontal: react_1.SlidersHorizontalIcon,
141
141
  Stack: react_1.StackIcon,
142
+ Sparkle: react_1.SparkleIcon,
142
143
  //custom icons
143
144
  OkeGoogleIcon: custom_1.OkeGoogleIcon,
144
145
  LetterH: custom_1.LetterH,
@@ -186,7 +186,7 @@ function DropdownMulti(_a) {
186
186
  };
187
187
  var genInputComp = function () {
188
188
  // const SelectComp = isTagsStyle ? SelectTagsInput : SelectDropdown
189
- return (react_1.default.createElement(styled_1.StyledDropdownRefWrapper, { ref: dropdownRef, id: 'DropdownMulti_StyledDropdownRefWrapper_styleOverrideHandle' },
189
+ return (react_1.default.createElement(styled_1.StyledDropdownRefWrapper, { ref: dropdownRef, className: 'StyledDropdownRefWrapper_styleOverrideHandle' },
190
190
  react_1.default.createElement("div", { ref: selectRef, className: "OKE-Dropdown__Select-wrapper", onClick: disabled ? function () { } : function () {
191
191
  isTagsStyle
192
192
  ? !showOptions && handleShowOptions() //if tagsStyle, then click always shows options
@@ -141,7 +141,7 @@ function DropdownSingle(_a) {
141
141
  }));
142
142
  };
143
143
  var genInputComp = function () {
144
- return (react_1.default.createElement(styled_1.StyledDropdownRefWrapper, { ref: dropdownRef, id: "DropdownSingle_StyledDropdownRefWrapper_styleOverrideHandle" },
144
+ return (react_1.default.createElement(styled_1.StyledDropdownRefWrapper, { ref: dropdownRef, className: "StyledDropdownRefWrapper_styleOverrideHandle" },
145
145
  react_1.default.createElement("div", { ref: selectRef, className: "OKE-Dropdown__Select-wrapper", onClick: disabled ? function () { } : function () {
146
146
  isTagsStyle
147
147
  ? !showOptions && handleShowOptions() //if tagsStyle, then click always shows options
@@ -34,7 +34,7 @@ var SelectDropdown = function (_a) {
34
34
  return selectConfig.indexOf(elem) !== -1 ? true : false;
35
35
  };
36
36
  var TypoComp = S ? Typo2_1.UI_BODY_SM_DF : Typo2_1.UI_BODY_SM_DF;
37
- var genSelectComp = function () { return (react_1.default.createElement(styled_1.StyledSelectWrapper, { tabIndex: 0, S: S, isPlaceholder: (Array.isArray(value) && (value === null || value === void 0 ? void 0 : value.length) < 1) || !value, disabled: disabled, style: selectStyleOverride, variant: variant, showOptions: showOptions, id: "StyledSelectWrapper_styleOverrideHandle" },
37
+ var genSelectComp = function () { return (react_1.default.createElement(styled_1.StyledSelectWrapper, { tabIndex: 0, S: S, isPlaceholder: (Array.isArray(value) && (value === null || value === void 0 ? void 0 : value.length) < 1) || !value, disabled: disabled, style: selectStyleOverride, variant: variant, showOptions: showOptions, className: "StyledSelectWrapper_styleOverrideHandle" },
38
38
  react_1.default.createElement("div", { style: { display: "flex", gap: "1rem", alignItems: "center", zIndex: 1, padding: S ? "0.4rem 0" : "1rem 0" } },
39
39
  showElem('color') && (0, genColor_1.genColor)({ color: value === null || value === void 0 ? void 0 : value.color }),
40
40
  showElem("icon") && (0, genIcon_1.genIcon)({ icon: value === null || value === void 0 ? void 0 : value.icon, S: S }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.214.4",
3
+ "version": "2.214.6",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",