@oliasoft-open-source/react-ui-library 4.12.1 → 4.12.2

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.
Files changed (25) hide show
  1. package/dist/global.css +12 -14
  2. package/dist/index.js +23 -16
  3. package/dist/index.js.map +1 -1
  4. package/dist/storybook/assets/{Color-KGDBMAHA-cuFJBfra.js → Color-KGDBMAHA-CvQEdkJ-.js} +1 -1
  5. package/dist/storybook/assets/{DocsRenderer-PKQXORMH-CaQNyPjs.js → DocsRenderer-PKQXORMH-C6GXR-GZ.js} +1 -1
  6. package/dist/storybook/assets/{buttons-and-links-CIalsKBg.js → buttons-and-links-B2aUSQnD.js} +1 -1
  7. package/dist/storybook/assets/{chunk-HLWAVYOI-B6tKmVAb.js → chunk-HLWAVYOI-bMKAIsRx.js} +1 -1
  8. package/dist/storybook/assets/{color-Db0d-sIL.js → color-C-IS9le6.js} +1 -1
  9. package/dist/storybook/assets/{iframe-CiH1oRY9.js → iframe-QRTUElpr.js} +2 -2
  10. package/dist/storybook/assets/{index-CFQAbfkz.js → index-BEnhO9y0.js} +1 -1
  11. package/dist/storybook/assets/{index-DxVfXBUu.js → index-bEJt8O9I.js} +4 -4
  12. package/dist/storybook/assets/{input-validation-2jw3AErr.js → input-validation-DMG_NbpY.js} +1 -1
  13. package/dist/storybook/assets/{inputs-vz_lls3e.js → inputs-DBtZGdv-.js} +1 -1
  14. package/dist/storybook/assets/{layout-forms-C57CCgYO.js → layout-forms-CaGMNapf.js} +1 -1
  15. package/dist/storybook/assets/{layout-general-BrPYeT71.js → layout-general-irIAv1Z-.js} +1 -1
  16. package/dist/storybook/assets/{padding-and-spacing-frCiIWTJ.js → padding-and-spacing-BWFXmHaT.js} +1 -1
  17. package/dist/storybook/assets/{preview-zxbSrXtO.js → preview-BAhOLBiJ.js} +1 -1
  18. package/dist/storybook/assets/{preview-BtOO2cWa.js → preview-BQAoj8Wn.js} +2 -2
  19. package/dist/storybook/assets/unit-input-DTOrVqdm.js +5 -0
  20. package/dist/storybook/assets/{unit-input.stories-BP03WTYV.js → unit-input.stories-BhSBzB95.js} +1 -1
  21. package/dist/storybook/assets/{unit-input.test-case.stories-D9PyN8YI.js → unit-input.test-case.stories-Dk5SRvMt.js} +7 -12
  22. package/dist/storybook/iframe.html +1 -1
  23. package/dist/storybook/project.json +1 -1
  24. package/package.json +1 -1
  25. package/dist/storybook/assets/unit-input-C07ZKMj5.js +0 -10
package/dist/global.css CHANGED
@@ -9395,11 +9395,8 @@ button:active .remirror-menu-pane-shortcut,
9395
9395
  .rc-slider .rc-slider-handle {
9396
9396
  opacity: 1;
9397
9397
  }
9398
- .rc-slider .rc-slider-mark-text {
9399
- color: var(--color-text-faint);
9400
- }
9401
- .rc-slider .rc-slider-mark-text-active {
9402
- color: var(--color-text-muted);
9398
+ .rc-slider .rc-slider-mark {
9399
+ top: 0;
9403
9400
  }
9404
9401
  .rc-slider-disabled {
9405
9402
  background-color: transparent !important;
@@ -9409,30 +9406,27 @@ button:active .remirror-menu-pane-shortcut,
9409
9406
  .rc-slider-disabled .rc-slider-dot {
9410
9407
  cursor: default !important;
9411
9408
  }
9412
- ._container_1a936_1 {
9409
+ ._container_1bhdk_1 {
9413
9410
  display: flex;
9414
9411
  align-items: center;
9415
9412
  min-height: var(--size);
9416
9413
  gap: 4px;
9417
9414
  }
9418
- ._container_1a936_1._small_1a936_7 {
9415
+ ._container_1bhdk_1._small_1bhdk_7 {
9419
9416
  min-height: var(--size-sm);
9420
9417
  }
9421
- ._container_1a936_1._hasMarks_1a936_10 {
9422
- padding-bottom: 20px;
9423
- }
9424
- ._container_1a936_1._vertical_1a936_13 {
9418
+ ._container_1bhdk_1._vertical_1bhdk_10 {
9425
9419
  flex-direction: column;
9426
9420
  padding-bottom: 0;
9427
9421
  }
9428
- ._container_1a936_1._vertical_1a936_13 ._hasArrows_1a936_17 {
9422
+ ._container_1bhdk_1._vertical_1bhdk_10 ._hasArrows_1bhdk_14 {
9429
9423
  margin-top: 5px;
9430
9424
  margin-bottom: 5px;
9431
9425
  }
9432
- ._container_1a936_1._vertical_1a936_13 ._button_1a936_21 svg {
9426
+ ._container_1bhdk_1._vertical_1bhdk_10 ._button_1bhdk_18 svg {
9433
9427
  transform: rotate(-90deg);
9434
9428
  }
9435
- ._label_1a936_24 {
9429
+ ._label_1bhdk_21 {
9436
9430
  white-space: nowrap;
9437
9431
  margin-left: var(--padding-xs);
9438
9432
  line-height: 1;
@@ -9440,6 +9434,10 @@ button:active .remirror-menu-pane-shortcut,
9440
9434
  text-overflow: ellipsis;
9441
9435
  flex-shrink: 0;
9442
9436
  }
9437
+ ._dot_1bhdk_29 {
9438
+ width: 8px;
9439
+ height: 14px;
9440
+ }
9443
9441
  ._inputInTable_1dg3w_1 {
9444
9442
  background-color: transparent;
9445
9443
  border-radius: inherit !important;
package/dist/index.js CHANGED
@@ -4494,7 +4494,7 @@ const label$9 = "_label_nwprz_11";
4494
4494
  const dark = "_dark_nwprz_23";
4495
4495
  const light = "_light_nwprz_26";
4496
4496
  const small$b = "_small_nwprz_29";
4497
- const dot = "_dot_nwprz_33";
4497
+ const dot$1 = "_dot_nwprz_33";
4498
4498
  const hasChildren = "_hasChildren_nwprz_39";
4499
4499
  const styles$K = {
4500
4500
  wrapper: wrapper$3,
@@ -4503,7 +4503,7 @@ const styles$K = {
4503
4503
  dark,
4504
4504
  light,
4505
4505
  small: small$b,
4506
- dot,
4506
+ dot: dot$1,
4507
4507
  hasChildren
4508
4508
  };
4509
4509
  const isDark = (hexColor) => {
@@ -55158,27 +55158,35 @@ if (process.env.NODE_ENV !== "production") {
55158
55158
  }
55159
55159
  var _default = Handle;
55160
55160
  default_1 = Handle$1.default = _default;
55161
- const container = "_container_1a936_1";
55162
- const small$2 = "_small_1a936_7";
55163
- const hasMarks = "_hasMarks_1a936_10";
55164
- const vertical = "_vertical_1a936_13";
55165
- const hasArrows = "_hasArrows_1a936_17";
55166
- const button$1 = "_button_1a936_21";
55167
- const label$1 = "_label_1a936_24";
55161
+ const container = "_container_1bhdk_1";
55162
+ const small$2 = "_small_1bhdk_7";
55163
+ const vertical = "_vertical_1bhdk_10";
55164
+ const hasArrows = "_hasArrows_1bhdk_14";
55165
+ const button$1 = "_button_1bhdk_18";
55166
+ const label$1 = "_label_1bhdk_21";
55167
+ const dot = "_dot_1bhdk_29";
55168
55168
  const styles$c = {
55169
55169
  container,
55170
55170
  small: small$2,
55171
- hasMarks,
55172
55171
  vertical,
55173
55172
  hasArrows,
55174
55173
  button: button$1,
55175
- label: label$1
55174
+ label: label$1,
55175
+ dot
55176
55176
  };
55177
55177
  const formatMarkers = (marks) => {
55178
55178
  return marks.reduce((acc, { label: label2, tooltip: tooltip2, value }) => {
55179
- const isTooltip = tooltip2 !== void 0;
55180
- const formattedValue = isTooltip ? /* @__PURE__ */ jsx(Tooltip, { text: tooltip2, children: label2 }) : label2 || value;
55181
- acc[value] = formattedValue;
55179
+ acc[value] = /* @__PURE__ */ jsx(
55180
+ Tooltip,
55181
+ {
55182
+ text: /* @__PURE__ */ jsxs(Fragment$1, { children: [
55183
+ tooltip2,
55184
+ tooltip2 ? ": " : "",
55185
+ label2 ?? value
55186
+ ] }),
55187
+ children: /* @__PURE__ */ jsx("div", { className: styles$c.dot })
55188
+ }
55189
+ );
55182
55190
  return acc;
55183
55191
  }, {});
55184
55192
  };
@@ -55255,8 +55263,7 @@ const Slider = ({
55255
55263
  className: cx$2(
55256
55264
  styles$c.container,
55257
55265
  small2 ? styles$c.small : "",
55258
- vertical2.enabled ? styles$c.vertical : "",
55259
- !isEmpty(marks) ? styles$c.hasMarks : ""
55266
+ vertical2.enabled ? styles$c.vertical : ""
55260
55267
  ),
55261
55268
  style: vertical2.enabled ? { width: vertical2.width, height: vertical2.height } : { width: width2 },
55262
55269
  children: [