@oliasoft-open-source/react-ui-library 6.16.0 → 7.0.0-beta-1
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/README.md +63 -48
- package/dist/components/check-box/check-box.d.ts.map +1 -1
- package/dist/components/check-box/check-box.test-case.stories.d.ts +2 -1
- package/dist/components/check-box/check-box.test-case.stories.d.ts.map +1 -1
- package/dist/components/radio-button/radio-button.d.ts +2 -7
- package/dist/components/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/radio-button/radio-button.test-case.stories.d.ts +3 -1
- package/dist/components/radio-button/radio-button.test-case.stories.d.ts.map +1 -1
- package/dist/components/radio-button/radio-input.d.ts +3 -4
- package/dist/components/radio-button/radio-input.d.ts.map +1 -1
- package/dist/components/table/table.stories-data.d.ts +1 -1
- package/dist/components/table/table.stories-data.d.ts.map +1 -1
- package/dist/components/toggle/toggle.d.ts.map +1 -1
- package/dist/components/toggle/toggle.test-case.stories.d.ts +2 -0
- package/dist/components/toggle/toggle.test-case.stories.d.ts.map +1 -1
- package/dist/global.css +1 -1
- package/dist/index.js +1941 -1891
- package/dist/translations/config.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -468,23 +468,23 @@ The `CheckBox` component is used to create a checkbox input field, often utilize
|
|
|
468
468
|
|
|
469
469
|
### Props
|
|
470
470
|
|
|
471
|
-
| Prop
|
|
472
|
-
|
|
|
473
|
-
| `checked`
|
|
474
|
-
| `
|
|
475
|
-
| `
|
|
476
|
-
| `
|
|
477
|
-
| `
|
|
478
|
-
| `
|
|
479
|
-
| `
|
|
480
|
-
| `
|
|
481
|
-
| `
|
|
482
|
-
| `
|
|
483
|
-
| `
|
|
484
|
-
| `dataix`
|
|
485
|
-
| `
|
|
486
|
-
| `
|
|
487
|
-
| `
|
|
471
|
+
| Prop | Description | Default Value |
|
|
472
|
+
| --------------- | --------------------------------------------------------------------------- | --------------- |
|
|
473
|
+
| `checked` | Determines whether the checkbox is checked. | `false` |
|
|
474
|
+
| `indeterminate` | When true, shows an indeterminate state. | `false` |
|
|
475
|
+
| `isInTable` | If true, optimizes the checkbox for use within a table. | `false` |
|
|
476
|
+
| `label` | The text label associated with the checkbox. | None (optional) |
|
|
477
|
+
| `name` | The name of the checkbox input, useful for form submission. | None (optional) |
|
|
478
|
+
| `noMargin` | If true, removes the margin around the checkbox for tighter UI integration. | `false` |
|
|
479
|
+
| `onChange` | A callback function that is called when the checkbox state changes. | None (required) |
|
|
480
|
+
| `tabIndex` | The tab index of the checkbox. Values below 0 exclude it from tab order. | `0` |
|
|
481
|
+
| `disabled` | If true, disables the checkbox preventing user interaction. | `false` |
|
|
482
|
+
| `small` | If true, renders a smaller version of the checkbox. | `false` |
|
|
483
|
+
| `testId` | A unique identifier for testing purposes. | None (optional) |
|
|
484
|
+
| `dataix` | Custom data index attribute for the component. | `0` |
|
|
485
|
+
| `helpText` | Optional help text displayed near the checkbox. | None (optional) |
|
|
486
|
+
| `onClickHelp` | A callback function triggered when the help text is clicked. | None (optional) |
|
|
487
|
+
| `textTransform` | CSS text-transform applied to the label. | `'capitalize'` |
|
|
488
488
|
|
|
489
489
|
### Usage Example
|
|
490
490
|
|
|
@@ -1570,44 +1570,59 @@ The `ProgressBar` component is used to display a visual progress bar indicating
|
|
|
1570
1570
|
|
|
1571
1571
|
## RadioButton <a id="radiobutton"></a>
|
|
1572
1572
|
|
|
1573
|
-
The `RadioButton` component provides a set of radio buttons for selecting options within a group.
|
|
1573
|
+
The `RadioButton` component provides a set of radio buttons for selecting options within a group. Use the `Field` component to provide a group label.
|
|
1574
1574
|
|
|
1575
1575
|
### Props
|
|
1576
1576
|
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
|
1580
|
-
|
|
|
1581
|
-
| `
|
|
1582
|
-
| `
|
|
1583
|
-
| `
|
|
1584
|
-
| `
|
|
1585
|
-
| `
|
|
1586
|
-
| `
|
|
1587
|
-
| `
|
|
1588
|
-
| `
|
|
1589
|
-
| `
|
|
1590
|
-
| `
|
|
1591
|
-
|
|
|
1592
|
-
|
|
|
1577
|
+
<<<<<<< HEAD
|
|
1578
|
+
|
|
1579
|
+
| Prop | Description | Default Value |
|
|
1580
|
+
| ------------------- | --------------------------------------------------------------------------------------- | ------------------ |
|
|
1581
|
+
| `name` | The name attribute of the radio button group. | None (optional) |
|
|
1582
|
+
| `label` | (Deprecated) Group label. Wrap the control in a `Field` component instead. | None (optional) |
|
|
1583
|
+
| `options` | An array of objects representing each radio button option. | None (required) |
|
|
1584
|
+
| `value` | The currently selected value or option object. | None (required) |
|
|
1585
|
+
| `inline` | Displays radio buttons in a horizontal row and enables Left/Right arrow key navigation. | `false` |
|
|
1586
|
+
| `disabled` | Determines whether the radio buttons are disabled. | `false` |
|
|
1587
|
+
| `small` | Determines whether to use a smaller size for the radio buttons. | `false` |
|
|
1588
|
+
| `onChange` | A function called when the selected value changes. | None (optional) |
|
|
1589
|
+
| `noMargin` | Determines whether to remove margins around the radio buttons. | `false` |
|
|
1590
|
+
| `testId` | A string used to define a test ID for testing purposes. | - |
|
|
1591
|
+
| ======= |
|
|
1592
|
+
| Prop | Description | Default Value |
|
|
1593
|
+
| ------------------- | ----------------------------------------------------------------------------- | ------------------ |
|
|
1594
|
+
| `name` | The name attribute of the radio button group. | - |
|
|
1595
|
+
| `label` | The label for the radio button group. | `null` |
|
|
1596
|
+
| `options` | An array of objects representing each radio button option. | - |
|
|
1597
|
+
| `value` | The currently selected value or option object. | - |
|
|
1598
|
+
| `inline` | (Deprecated) Determines whether the radio buttons should be displayed inline. | `false` |
|
|
1599
|
+
| `disabled` | Determines whether the radio buttons are disabled. | `false` |
|
|
1600
|
+
| `small` | Determines whether to use a smaller size for the radio buttons. | `false` |
|
|
1601
|
+
| `onChange` | A function called when the selected value changes. | - |
|
|
1602
|
+
| `noMargin` | Determines whether to remove margins around the radio buttons. | `false` |
|
|
1603
|
+
| `onClick` | (Deprecated) A function called when a radio button is clicked. | `() => {}` |
|
|
1604
|
+
| `mainLabel` | (Deprecated) The main label for the radio button group. | `''` |
|
|
1605
|
+
| `radioButtonsData` | (Deprecated) An array of objects representing each radio button option. | - |
|
|
1606
|
+
| `classForContainer` | (Deprecated) A class name for the container element. | `'grouped fields'` |
|
|
1607
|
+
| `testId` | A string used to define a test ID for testing purposes. | - |
|
|
1608
|
+
|
|
1609
|
+
> > > > > > > master
|
|
1593
1610
|
|
|
1594
1611
|
### Usage Example
|
|
1595
1612
|
|
|
1596
1613
|
```jsx
|
|
1597
|
-
<
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
noMargin={false}
|
|
1610
|
-
/>
|
|
1614
|
+
<Field label="Gender">
|
|
1615
|
+
<RadioButton
|
|
1616
|
+
name="gender"
|
|
1617
|
+
options={[
|
|
1618
|
+
{ label: 'Male', value: 'male' },
|
|
1619
|
+
{ label: 'Female', value: 'female' },
|
|
1620
|
+
{ label: 'Other', value: 'other' },
|
|
1621
|
+
]}
|
|
1622
|
+
value="male"
|
|
1623
|
+
onChange={(e) => console.log('Selected value:', e.target.value)}
|
|
1624
|
+
/>
|
|
1625
|
+
</Field>
|
|
1611
1626
|
```
|
|
1612
1627
|
|
|
1613
1628
|
<hr style="border: none; border-right: 2px solid black; width: 100%; height: 1px;">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-box.d.ts","sourceRoot":"","sources":["../../../src/components/check-box/check-box.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"check-box.d.ts","sourceRoot":"","sources":["../../../src/components/check-box/check-box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAA2B,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAM/E,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,OAAO,CAAC;QACjB,KAAK,EAAE,OAAO,CAAC;KAChB,CAAC;CACH;AAED,MAAM,MAAM,qBAAqB,GAAG,CAClC,GAAG,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,GAAG;IAClD,MAAM,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;CACvC,KACE,IAAI,CAAC;AAEV,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,qBAAqB,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,cAAc,CAAC;CAChC;AAED,eAAO,MAAM,QAAQ,GAAI,0JAgBtB,cAAc,4CA+ChB,CAAC"}
|
|
@@ -2,8 +2,9 @@ import { Meta, StoryFn } from '@storybook/react-vite';
|
|
|
2
2
|
import { ICheckBoxProps } from './check-box';
|
|
3
3
|
declare const _default: Meta<ICheckBoxProps>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const TestKeys:
|
|
5
|
+
export declare const TestKeys: StoryFn<ICheckBoxProps>;
|
|
6
6
|
export declare const Test: StoryFn<ICheckBoxProps>;
|
|
7
7
|
export declare const TestDisabled: StoryFn<ICheckBoxProps>;
|
|
8
8
|
export declare const CheckUncheckAll: StoryFn<ICheckBoxProps>;
|
|
9
|
+
export declare const TestStandalone: StoryFn<ICheckBoxProps>;
|
|
9
10
|
//# sourceMappingURL=check-box.test-case.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-box.test-case.stories.d.ts","sourceRoot":"","sources":["../../../src/components/check-box/check-box.test-case.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAY,cAAc,EAAE,MAAM,aAAa,CAAC;wBAWlD,IAAI,CAAC,cAAc,CAAC;AARzB,wBAQ0B;AAE1B,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"check-box.test-case.stories.d.ts","sourceRoot":"","sources":["../../../src/components/check-box/check-box.test-case.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAY,cAAc,EAAE,MAAM,aAAa,CAAC;wBAWlD,IAAI,CAAC,cAAc,CAAC;AARzB,wBAQ0B;AAE1B,eAAO,MAAM,QAAQ,EAAE,OAAO,CAAC,cAAc,CAM5C,CAAC;AA8BF,eAAO,MAAM,IAAI,EAAE,OAAO,CAAC,cAAc,CAUxC,CAAC;AAyCF,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,cAAc,CAWhD,CAAC;AA2BF,eAAO,MAAM,eAAe,EAAE,OAAO,CAAC,cAAc,CAkCnD,CAAC;AAoEF,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,cAAc,CAUlD,CAAC"}
|
|
@@ -7,8 +7,6 @@ export interface IRadioButtonOption {
|
|
|
7
7
|
testId?: string;
|
|
8
8
|
helpText?: string;
|
|
9
9
|
onClickHelp?: (evt: MouseEvent<HTMLButtonElement>) => void;
|
|
10
|
-
name?: string;
|
|
11
|
-
checked?: boolean;
|
|
12
10
|
disabled?: boolean;
|
|
13
11
|
textTransform?: TTextTransform;
|
|
14
12
|
}
|
|
@@ -22,10 +20,7 @@ export interface IRadioButtonProps {
|
|
|
22
20
|
small?: boolean;
|
|
23
21
|
onChange?: TChangeEventHandler;
|
|
24
22
|
noMargin?: boolean;
|
|
25
|
-
|
|
26
|
-
onClick?: (target: HTMLInputElement) => void;
|
|
27
|
-
radioButtonsData?: IRadioButtonOption[];
|
|
28
|
-
classForContainer?: 'grouped fields' | 'inline fields';
|
|
23
|
+
testId?: string;
|
|
29
24
|
}
|
|
30
|
-
export declare const RadioButton: ({ name, label
|
|
25
|
+
export declare const RadioButton: ({ name, label, options: rawOptions, value: rawValue, onChange, disabled, small, noMargin, inline, testId, }: IRadioButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
26
|
//# sourceMappingURL=radio-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.d.ts","sourceRoot":"","sources":["../../../src/components/radio-button/radio-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,UAAU,EAAc,MAAM,OAAO,CAAC;AAEtD,OAAO,EACL,mBAAmB,EACnB,eAAe,EAChB,MAAM,iCAAiC,CAAC;AAKzC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,eAAe,CAAC;IACvB,KAAK,EAAE,eAAe,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC3D,
|
|
1
|
+
{"version":3,"file":"radio-button.d.ts","sourceRoot":"","sources":["../../../src/components/radio-button/radio-button.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,UAAU,EAAc,MAAM,OAAO,CAAC;AAEtD,OAAO,EACL,mBAAmB,EACnB,eAAe,EAChB,MAAM,iCAAiC,CAAC;AAKzC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,eAAe,CAAC;IACvB,KAAK,EAAE,eAAe,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,cAAc,CAAC;CAChC;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,KAAK,EAAE,eAAe,GAAG,kBAAkB,CAAC;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,WAAW,GAAI,6GAWzB,iBAAiB,4CA2DnB,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react-vite';
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/react-vite';
|
|
2
2
|
declare const _default: Meta;
|
|
3
3
|
export default _default;
|
|
4
4
|
export declare const Test: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, any>;
|
|
5
|
+
export declare const TestInline: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, any>;
|
|
6
|
+
export declare const TestStandalone: StoryFn;
|
|
5
7
|
//# sourceMappingURL=radio-button.test-case.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-button.test-case.stories.d.ts","sourceRoot":"","sources":["../../../src/components/radio-button/radio-button.test-case.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"radio-button.test-case.stories.d.ts","sourceRoot":"","sources":["../../../src/components/radio-button/radio-button.test-case.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;wBAqCjD,IAAI;AAXT,wBAWU;AAiBV,eAAO,MAAM,IAAI,uGAAoB,CAAC;AA4FtC,eAAO,MAAM,UAAU,uGAAoB,CAAC;AAc5C,eAAO,MAAM,cAAc,EAAE,OAU5B,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { TTextTransform } from '../../typings/common-types';
|
|
3
3
|
import { TStringOrNumber } from '../../typings/common-type-definitions';
|
|
4
|
-
interface IRadioInputProps {
|
|
5
|
-
name
|
|
4
|
+
export interface IRadioInputProps {
|
|
5
|
+
name?: TStringOrNumber;
|
|
6
6
|
label?: TStringOrNumber;
|
|
7
7
|
value: TStringOrNumber;
|
|
8
|
-
selected
|
|
8
|
+
selected?: boolean;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
small?: boolean;
|
|
11
11
|
onChange?: (evt: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
@@ -16,5 +16,4 @@ interface IRadioInputProps {
|
|
|
16
16
|
textTransform?: TTextTransform;
|
|
17
17
|
}
|
|
18
18
|
export declare const RadioInput: ({ name, label, value, selected, disabled, small, onChange, noMargin, testId, helpText, onClickHelp, textTransform, }: IRadioInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export {};
|
|
20
19
|
//# sourceMappingURL=radio-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-input.d.ts","sourceRoot":"","sources":["../../../src/components/radio-button/radio-input.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"radio-input.d.ts","sourceRoot":"","sources":["../../../src/components/radio-button/radio-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAQ1C,OAAO,EAAiB,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAIlE,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,EAAE,eAAe,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IACvE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IACpC,aAAa,CAAC,EAAE,cAAc,CAAC;CAChC;AAED,eAAO,MAAM,UAAU,GAAI,sHAaxB,gBAAgB,4CAyDlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.stories-data.d.ts","sourceRoot":"","sources":["../../../src/components/table/table.stories-data.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;C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,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCtB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmExB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmG/B,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BvB,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;CAgBjC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+G5B,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;CA+BtB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;CAiC1B,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;CA+BtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../src/components/toggle/toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../src/components/toggle/toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAiB,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAEL,mBAAmB,EACpB,MAAM,iCAAiC,CAAC;AAIzC,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;IAC3C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,cAAc,CAAC;CAChC;AAED,eAAO,MAAM,MAAM,GAAI,uHAapB,YAAY,4CAqCd,CAAC"}
|
|
@@ -2,7 +2,9 @@ import { Meta, StoryFn } from '@storybook/react-vite';
|
|
|
2
2
|
import { IToggleProps } from './toggle';
|
|
3
3
|
declare const _default: Meta;
|
|
4
4
|
export default _default;
|
|
5
|
+
export declare const TestKeys: StoryFn<IToggleProps>;
|
|
5
6
|
export declare const TestClicked: StoryFn<IToggleProps>;
|
|
6
7
|
export declare const Test: StoryFn<IToggleProps>;
|
|
7
8
|
export declare const TestDisabled: StoryFn<IToggleProps>;
|
|
9
|
+
export declare const TestStandalone: StoryFn<IToggleProps>;
|
|
8
10
|
//# sourceMappingURL=toggle.test-case.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.test-case.stories.d.ts","sourceRoot":"","sources":["../../../src/components/toggle/toggle.test-case.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAU,MAAM,UAAU,CAAC;wBAS3C,IAAI;AAPT,wBAOU;AAEV,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,YAAY,CAc7C,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,OAAO,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"toggle.test-case.stories.d.ts","sourceRoot":"","sources":["../../../src/components/toggle/toggle.test-case.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAU,MAAM,UAAU,CAAC;wBAS3C,IAAI;AAPT,wBAOU;AAEV,eAAO,MAAM,QAAQ,EAAE,OAAO,CAAC,YAAY,CAM1C,CAAC;AA8BF,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,YAAY,CAc7C,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,OAAO,CAAC,YAAY,CAatC,CAAC;AA8CF,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,YAAY,CAc9C,CAAC;AA4BF,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,YAAY,CAUhD,CAAC"}
|