@oliasoft-open-source/react-ui-library 8.0.0-beta-9 → 8.0.0-beta-11
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/components/menu/trigger/component.d.ts.map +1 -1
- package/dist/components/unit-slider/unit-slider.d.ts +2 -1
- package/dist/components/unit-slider/unit-slider.d.ts.map +1 -1
- package/dist/components/unit-slider/unit-slider.test-case.stories.d.ts +1 -1
- package/dist/global.css +1 -1
- package/dist/index.js +98 -92
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/trigger/component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA4B,cAAc,EAAgC,SAAS,EAAO,MAAM,OAAO,CAAC;AAMtH,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACtE,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAQD;;;;GAIG;AACH,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/trigger/component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA4B,cAAc,EAAgC,SAAS,EAAO,MAAM,OAAO,CAAC;AAMtH,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACtE,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAQD;;;;GAIG;AACH,eAAO,MAAM,SAAS,yFAiCrB,CAAC"}
|
|
@@ -11,6 +11,7 @@ export interface IUnitSliderProps {
|
|
|
11
11
|
onChange: TChangeEventHandler;
|
|
12
12
|
onChangeComplete?: TChangeEventHandler;
|
|
13
13
|
preferredUnit?: string;
|
|
14
|
+
onSwitchUnit?: (unit: string) => void;
|
|
14
15
|
enableEditUnitInput?: boolean;
|
|
15
16
|
disabled?: boolean;
|
|
16
17
|
showUnitInput?: boolean;
|
|
@@ -23,5 +24,5 @@ export interface IUnitSliderProps {
|
|
|
23
24
|
minErrorMessage?: (min: number) => string;
|
|
24
25
|
maxErrorMessage?: (max: number) => string;
|
|
25
26
|
}
|
|
26
|
-
export declare const UnitSlider: ({ name, value, min, max, label, step, onChange, onChangeComplete, preferredUnit, enableEditUnitInput, disabled, showUnitInput, showArrows, unitkey, testId, noConversion, small, marks, minErrorMessage, maxErrorMessage, }: IUnitSliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare const UnitSlider: ({ name, value, min, max, label, step, onChange, onChangeComplete, preferredUnit, onSwitchUnit, enableEditUnitInput, disabled, showUnitInput, showArrows, unitkey, testId, noConversion, small, marks, minErrorMessage, maxErrorMessage, }: IUnitSliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
28
|
//# sourceMappingURL=unit-slider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unit-slider.d.ts","sourceRoot":"","sources":["../../../src/components/unit-slider/unit-slider.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAiB,SAAS,EAAuB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"unit-slider.d.ts","sourceRoot":"","sources":["../../../src/components/unit-slider/unit-slider.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAiB,SAAS,EAAuB,MAAM,OAAO,CAAC;AAU7E,OAAO,KAAK,EAAgB,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACzF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAQ5D,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,gBAAgB,CAAC,EAAE,mBAAmB,CAAC;IACvC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;IACtB,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;CAC3C;AAaD,eAAO,MAAM,UAAU,GAAI,2OAsBxB,gBAAgB,4CAiLlB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ name, value, min, max, label, step, onChange, onChangeComplete, preferredUnit, enableEditUnitInput, disabled, showUnitInput, showArrows, unitkey, testId, noConversion, small, marks, minErrorMessage, maxErrorMessage, }: import('./unit-slider').IUnitSliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
component: ({ name, value, min, max, label, step, onChange, onChangeComplete, preferredUnit, onSwitchUnit, enableEditUnitInput, disabled, showUnitInput, showArrows, unitkey, testId, noConversion, small, marks, minErrorMessage, maxErrorMessage, }: import('./unit-slider').IUnitSliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
parameters: {
|
|
6
6
|
chromatic: {
|
|
7
7
|
disableSnapshot: boolean;
|