@dynamic-framework/ui-react 1.2.2 → 1.3.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/dist/css/dynamic-ui-all.css +1 -1
- package/dist/css/dynamic-ui-react.css +1 -1
- package/dist/css/dynamic-ui.css +1 -1
- package/dist/index.esm.js +177 -175
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +222 -220
- package/dist/index.js.map +1 -1
- package/dist/types/components/{MBoxFile.d.ts → DBoxFile.d.ts} +1 -1
- package/dist/types/components/{MCard.d.ts → DCard.d.ts} +1 -1
- package/dist/types/components/DCardAccount.d.ts +13 -0
- package/dist/types/components/{MCardBody.d.ts → DCardBody.d.ts} +1 -1
- package/dist/types/components/{MCardFooter.d.ts → DCardFooter.d.ts} +1 -1
- package/dist/types/components/{MCardHeader.d.ts → DCardHeader.d.ts} +1 -1
- package/dist/types/components/{MCarousel.d.ts → DCarousel.d.ts} +1 -1
- package/dist/types/components/{MCarouselSlide.d.ts → DCarouselSlide.d.ts} +1 -1
- package/dist/types/components/DCollapse.d.ts +11 -0
- package/dist/types/components/{banking/MCollapseIconText.d.ts → DCollapseIconText.d.ts} +1 -1
- package/dist/types/components/{MCurrencyText.d.ts → DCurrencyText.d.ts} +1 -1
- package/dist/types/components/{MDatePicker.d.ts → DDatePicker.d.ts} +3 -3
- package/dist/types/components/{MDatePickerHeader.d.ts → DDatePickerHeader.d.ts} +5 -4
- package/dist/types/components/DDatePickerInput.d.ts +8 -0
- package/dist/types/components/DDatePickerTime.d.ts +8 -0
- package/dist/types/components/DFormikInput.d.ts +7 -0
- package/dist/types/components/DFormikInputCurrency.d.ts +7 -0
- package/dist/types/components/{MFormikInputSelect.d.ts → DFormikInputSelect.d.ts} +3 -3
- package/dist/types/components/DInputCurrency.d.ts +9 -0
- package/dist/types/components/{MList.d.ts → DList.d.ts} +1 -1
- package/dist/types/components/{MListItem.d.ts → DListItem.d.ts} +2 -2
- package/dist/types/components/{MListItemMovement.d.ts → DListItemMovement.d.ts} +3 -3
- package/dist/types/components/DMonthPicker.d.ts +7 -0
- package/dist/types/components/{MPaginator.d.ts → DPaginator.d.ts} +4 -4
- package/dist/types/components/DPopover.d.ts +8 -0
- package/dist/types/components/{MSkeleton.d.ts → DSkeleton.d.ts} +1 -1
- package/dist/types/components/{MStepper.d.ts → DStepper.d.ts} +1 -1
- package/dist/types/components/{MTabContent.d.ts → DTabContent.d.ts} +1 -1
- package/dist/types/components/{MTabs.d.ts → DTabs.d.ts} +5 -5
- package/dist/types/components/{MToastContainer.d.ts → DToastContainer.d.ts} +2 -2
- package/dist/types/components/{MTooltip.d.ts → DTooltip.d.ts} +2 -2
- package/dist/types/components/banking/{MPermissionItem.d.ts → DPermissionItem.d.ts} +1 -1
- package/dist/types/components/banking/index.d.ts +1 -2
- package/dist/types/components/index.d.ts +27 -27
- package/dist/types/components/proxies.d.ts +21 -21
- package/dist/types/stories/components/{MBadge.stories.d.ts → DBadge.stories.d.ts} +3 -3
- package/dist/types/stories/components/DBoxFile.stories.d.ts +6 -0
- package/dist/types/stories/components/{MButton.stories.d.ts → DButton.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MCard.stories.d.ts → DCard.stories.d.ts} +3 -3
- package/dist/types/stories/components/DCardAccount.stories.d.ts +6 -0
- package/dist/types/stories/components/{MChip.stories.d.ts → DChip.stories.d.ts} +3 -3
- package/dist/types/stories/components/DCurrencyText.stories.d.ts +6 -0
- package/dist/types/stories/components/{MDatePicker.stories.d.ts → DDatePicker.stories.d.ts} +3 -3
- package/dist/types/stories/components/DFormikInput.stories.d.ts +7 -0
- package/dist/types/stories/components/{MFormikInputCurrency.stories.d.ts → DFormikInputCurrency.stories.d.ts} +3 -3
- package/dist/types/stories/components/DFormikInputSelect.stories.d.ts +7 -0
- package/dist/types/stories/components/{MIcon.stories.d.ts → DIcon.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInput.stories.d.ts → DInput.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputCheck.stories.d.ts → DInputCheck.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputCounter.stories.d.ts → DInputCounter.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputCurrency.stories.d.ts → DInputCurrency.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputCurrencyBase.stories.d.ts → DInputCurrencyBase.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputPassword.stories.d.ts → DInputPassword.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputPin.stories.d.ts → DInputPin.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputSearch.stories.d.ts → DInputSearch.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputSelect.stories.d.ts → DInputSelect.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputSwitch.stories.d.ts → DInputSwitch.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MList.stories.d.ts → DList.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MListItem.stories.d.ts → DListItem.stories.d.ts} +3 -3
- package/dist/types/stories/components/DListItemMovement.stories.d.ts +7 -0
- package/dist/types/stories/components/{MPaginator.stories.d.ts → DPaginator.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MProgressBar.stories.d.ts → DProgress.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MQuickActionButton.stories.d.ts → DQuickActionButton.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MQuickActionCheck.stories.d.ts → DQuickActionCheck.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MQuickActionSelect.stories.d.ts → DQuickActionSelect.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MQuickActionSwitch.stories.d.ts → DQuickActionSwitch.stories.d.ts} +3 -3
- package/dist/types/stories/components/DSkeleton.stories.d.ts +6 -0
- package/dist/types/stories/components/{MStepper.stories.d.ts → DStepper.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MTooltip.stories.d.ts → DTooltip.stories.d.ts} +3 -3
- package/dist/types/stories/constants.d.ts +1 -2
- package/dist/types/stories/hooks/useOffcanvasContext.stories.d.ts +2 -2
- package/dist/types/stories/patterns/{MAlert.stories.d.ts → DAlert.stories.d.ts} +3 -3
- package/dist/types/stories/{components/MCarousel.stories.d.ts → patterns/DCarousel.stories.d.ts} +3 -3
- package/dist/types/stories/patterns/{MCollapse.stories.d.ts → DCollapse.stories.d.ts} +3 -3
- package/dist/types/stories/patterns/DCollapseIconText.stories.d.ts +6 -0
- package/dist/types/stories/patterns/{MModal.stories.d.ts → DModal.stories.d.ts} +3 -3
- package/dist/types/stories/patterns/{MOffcanvas.stories.d.ts → DOffcanvas.stories.d.ts} +3 -3
- package/dist/types/stories/patterns/{MPopover.stories.d.ts → DPopover.stories.d.ts} +3 -3
- package/dist/types/stories/patterns/{MTabs.stories.d.ts → DTabs.stories.d.ts} +3 -3
- package/package.json +6 -6
- package/src/style/components/_+import.scss +15 -12
- package/src/style/components/_d-box-file.scss +66 -0
- package/src/style/components/{_m-card-account.scss → _d-card-account.scss} +1 -1
- package/src/style/components/_d-carousel.scss +44 -0
- package/src/style/components/_d-collapse-icon-text.scss +16 -0
- package/src/style/components/_d-collapse.scss +54 -0
- package/src/style/components/_d-datepicker.scss +224 -0
- package/src/style/components/_d-monthpicker.scss +90 -0
- package/src/style/components/_d-paginator.scss +98 -0
- package/src/style/components/_d-permission-group.scss +39 -0
- package/src/style/components/{_m-popover.scss → _d-popover.scss} +2 -2
- package/src/style/components/_d-stepper.scss +156 -0
- package/src/style/components/_d-tabs.scss +56 -0
- package/src/style/components/_d-timepicker.scss +37 -0
- package/dist/types/components/MCardAccount.d.ts +0 -13
- package/dist/types/components/MCollapse.d.ts +0 -11
- package/dist/types/components/MDatePickerInput.d.ts +0 -9
- package/dist/types/components/MDatePickerTime.d.ts +0 -9
- package/dist/types/components/MFormikInput.d.ts +0 -7
- package/dist/types/components/MFormikInputCurrency.d.ts +0 -7
- package/dist/types/components/MInputCurrency.d.ts +0 -9
- package/dist/types/components/MMonthPicker.d.ts +0 -7
- package/dist/types/components/MPopover.d.ts +0 -8
- package/dist/types/stories/components/MBoxFile.stories.d.ts +0 -6
- package/dist/types/stories/components/MCardAccount.stories.d.ts +0 -6
- package/dist/types/stories/components/MFormikInput.stories.d.ts +0 -7
- package/dist/types/stories/components/MFormikInputSelect.stories.d.ts +0 -7
- package/dist/types/stories/components/MListItemMovement.stories.d.ts +0 -7
- package/dist/types/stories/components/MSkeleton.stories.d.ts +0 -6
- package/dist/types/stories/patterns/MCollapseIconText.stories.d.ts +0 -6
- package/src/style/components/_m-box-file.scss +0 -66
- package/src/style/components/_m-carousel.scss +0 -44
- package/src/style/components/_m-collapse-icon-text.scss +0 -16
- package/src/style/components/_m-collapse.scss +0 -56
- package/src/style/components/_m-datepicker.scss +0 -224
- package/src/style/components/_m-monthpicker.scss +0 -90
- package/src/style/components/_m-paginator.scss +0 -98
- package/src/style/components/_m-stepper.scss +0 -156
- package/src/style/components/_m-tabs.scss +0 -56
- package/src/style/components/_m-timepicker.scss +0 -37
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { DFormikInput } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DFormikInput>;
|
|
4
|
+
export default config;
|
|
5
|
+
declare type Story = StoryObj<typeof DFormikInput>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Empty: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DFormikInputCurrency } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DFormikInputCurrency>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DFormikInputCurrency>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Empty: Story;
|
|
8
8
|
export declare const WithErrors: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { DFormikInputSelect } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DFormikInputSelect>;
|
|
4
|
+
export default config;
|
|
5
|
+
declare type Story = StoryObj<typeof DFormikInputSelect>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Empty: Story;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const meta: Meta<typeof
|
|
2
|
+
import { DIcon } from '../../components';
|
|
3
|
+
declare const meta: Meta<typeof DIcon>;
|
|
4
4
|
export default meta;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DIcon>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Circle: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DInput } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DInput>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DInput>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Value: Story;
|
|
8
8
|
export declare const Error: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DInputCheck } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DInputCheck>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DInputCheck>;
|
|
6
6
|
export declare const CheckboxWithoutLabel: Story;
|
|
7
7
|
export declare const CheckboxDefault: Story;
|
|
8
8
|
export declare const CheckboxChecked: Story;
|
package/dist/types/stories/components/{MInputCounter.stories.d.ts → DInputCounter.stories.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DInputCounter } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DInputCounter>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DInputCounter>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Error: Story;
|
|
8
8
|
export declare const Confirm: Story;
|
package/dist/types/stories/components/{MInputCurrency.stories.d.ts → DInputCurrency.stories.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DInputCurrency } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DInputCurrency>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DInputCurrency>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Value: Story;
|
|
8
8
|
export declare const Error: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DInputCurrencyBase } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DInputCurrencyBase>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DInputCurrencyBase>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Value: Story;
|
|
8
8
|
export declare const Error: Story;
|
package/dist/types/stories/components/{MInputPassword.stories.d.ts → DInputPassword.stories.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DInputPassword } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DInputPassword>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DInputPassword>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Value: Story;
|
|
8
8
|
export declare const Error: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DInputPin } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DInputPin>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DInputPin>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const WithoutLabel: Story;
|
|
8
8
|
export declare const Error: Story;
|
package/dist/types/stories/components/{MInputSearch.stories.d.ts → DInputSearch.stories.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DInputSearch } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DInputSearch>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DInputSearch>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Value: Story;
|
|
8
8
|
export declare const Error: Story;
|
package/dist/types/stories/components/{MInputSelect.stories.d.ts → DInputSelect.stories.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DInputSelect } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DInputSelect>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DInputSelect>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Disabled: Story;
|
|
8
8
|
export declare const Icon: Story;
|
package/dist/types/stories/components/{MInputSwitch.stories.d.ts → DInputSwitch.stories.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DInputSwitch } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DInputSwitch>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DInputSwitch>;
|
|
6
6
|
export declare const WithoutLabel: Story;
|
|
7
7
|
export declare const Default: Story;
|
|
8
8
|
export declare const Checked: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DList } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DList>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DList>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Flush: Story;
|
|
8
8
|
export declare const Numbered: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DListItem } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DListItem>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DListItem>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Active: Story;
|
|
8
8
|
export declare const Disabled: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { DListItemMovement } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DListItemMovement>;
|
|
4
|
+
export default config;
|
|
5
|
+
declare type Story = StoryObj<typeof DListItemMovement>;
|
|
6
|
+
export declare const Movement: Story;
|
|
7
|
+
export declare const Movements: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import
|
|
3
|
-
declare const meta: Meta<typeof
|
|
2
|
+
import { DPaginator } from '../../components';
|
|
3
|
+
declare const meta: Meta<typeof DPaginator>;
|
|
4
4
|
export default meta;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DPaginator>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const LabelArrows: Story;
|
|
8
8
|
export declare const NoArrows: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DProgress } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DProgress>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DProgress>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Stripped: Story;
|
|
8
8
|
export declare const Valueless: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DQuickActionButton } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DQuickActionButton>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DQuickActionButton>;
|
|
6
6
|
export declare const PersonalInfo: Story;
|
|
7
7
|
export declare const ButtonDoubleAction: Story;
|
|
8
8
|
export declare const AccountBox: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DQuickActionCheck } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DQuickActionCheck>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DQuickActionCheck>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Example: Story;
|
|
8
8
|
export declare const Checked: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DQuickActionSelect } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DQuickActionSelect>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DQuickActionSelect>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Example: Story;
|
|
8
8
|
export declare const Selected: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DQuickActionSwitch } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DQuickActionSwitch>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DQuickActionSwitch>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Checked: Story;
|
|
8
8
|
export declare const DefaultDisabled: Story;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DStepper } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DStepper>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DStepper>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Vertical: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DTooltip } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DTooltip>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DTooltip>;
|
|
6
6
|
export declare const Top: Story;
|
|
7
7
|
export declare const Right: Story;
|
|
8
8
|
export declare const Bottom: Story;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export declare const ICONS: string[];
|
|
2
2
|
export declare const FIRST_ICON: string;
|
|
3
3
|
export declare const THEMES: string[];
|
|
4
|
-
export declare const ALL_COLORS: string[];
|
|
5
4
|
export declare const ALERT_TYPES: string[];
|
|
6
|
-
export declare const
|
|
5
|
+
export declare const THEMES_WITH_EMPTY: (string | undefined)[];
|
|
7
6
|
export declare const INPUT_STATE: string[];
|
|
8
7
|
export declare const COMPONENT_SIZE: (string | undefined)[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
2
|
+
import { DOffcanvas } from '../../components';
|
|
3
3
|
declare const Example: () => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare const config: Meta<typeof Example>;
|
|
5
5
|
export default config;
|
|
6
|
-
declare type Story = StoryObj<typeof
|
|
6
|
+
declare type Story = StoryObj<typeof DOffcanvas>;
|
|
7
7
|
export declare const useOffcanvasContext: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DAlert } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DAlert>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DAlert>;
|
|
6
6
|
export declare const Light: Story;
|
|
7
7
|
export declare const Dark: Story;
|
|
8
8
|
export declare const Success: Story;
|
package/dist/types/stories/{components/MCarousel.stories.d.ts → patterns/DCarousel.stories.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import DCarousel from '../../components/DCarousel';
|
|
3
|
+
declare const config: Meta<typeof DCarousel>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DCarousel>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const TwoPerPage: Story;
|
|
8
8
|
export declare const WithBreakpoints: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DCollapse } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DCollapse>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DCollapse>;
|
|
6
6
|
export declare const HeaderText: Story;
|
|
7
7
|
export declare const HeaderComponent: Story;
|
|
8
8
|
export declare const Collapsed: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { DCollapseIconText } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DCollapseIconText>;
|
|
4
|
+
export default config;
|
|
5
|
+
declare type Story = StoryObj<typeof DCollapseIconText>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DModal } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DModal>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DModal>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const ActionsPlacementStart: Story;
|
|
8
8
|
export declare const ActionsPlacementEnd: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DOffcanvas } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DOffcanvas>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DOffcanvas>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const ActionsPlacementStart: Story;
|
|
8
8
|
export declare const ActionsPlacementEnd: Story;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DPopover } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DPopover>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DPopover>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Open: Story;
|
|
8
8
|
export declare const Plain: Story;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import {
|
|
3
|
-
declare const config: Meta<typeof
|
|
2
|
+
import { DTabs } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DTabs>;
|
|
4
4
|
export default config;
|
|
5
|
-
declare type Story = StoryObj<typeof
|
|
5
|
+
declare type Story = StoryObj<typeof DTabs>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Vertical: Story;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-framework/ui-react",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.1",
|
|
5
5
|
"description": "React Dynamic Framework",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"src/style"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@dynamic-framework/ui": "^1.
|
|
48
|
+
"@dynamic-framework/ui": "^1.4.1",
|
|
49
49
|
"@floating-ui/react": "^0.24.1",
|
|
50
50
|
"@splidejs/react-splide": "^0.7.12",
|
|
51
51
|
"@splidejs/splide": "^4.1.4",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@testing-library/react": "^13.4.0",
|
|
81
81
|
"@types/jest": "29.1.2",
|
|
82
82
|
"@types/lodash.camelcase": "^4.3.7",
|
|
83
|
-
"@types/luxon": "
|
|
83
|
+
"@types/luxon": "^3.2.1",
|
|
84
84
|
"@types/node": "^15.12.2",
|
|
85
85
|
"@types/react": "^18.2.19",
|
|
86
86
|
"@types/react-datepicker": "~4.8.0",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"jest-cli": "^29.1.2",
|
|
104
104
|
"jest-environment-jsdom": "^29.1.2",
|
|
105
105
|
"lint-staged": "^12.4.1",
|
|
106
|
-
"luxon": "
|
|
106
|
+
"luxon": "^3.2.1",
|
|
107
107
|
"postcss-cli": "^10.1.0",
|
|
108
108
|
"react": "^18.2.0",
|
|
109
109
|
"react-dom": "^18.2.0",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"peerDependencies": {
|
|
123
123
|
"formik": "^2.2.9",
|
|
124
124
|
"html2canvas": "^1.4.1",
|
|
125
|
-
"luxon": "
|
|
125
|
+
"luxon": "^3.2.1",
|
|
126
126
|
"react": "^18.1.0",
|
|
127
127
|
"react-dom": "^18.1.0",
|
|
128
128
|
"react-i18next": "~11.18.3",
|
|
@@ -133,5 +133,5 @@
|
|
|
133
133
|
"@dynamic-framework/ui"
|
|
134
134
|
]
|
|
135
135
|
},
|
|
136
|
-
"gitHead": "
|
|
136
|
+
"gitHead": "1e4aef6bac9c0c3693ac239b947e5e8da05bab23"
|
|
137
137
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
@import "
|
|
2
|
-
@import "
|
|
3
|
-
@import "
|
|
4
|
-
@import "
|
|
5
|
-
@import "
|
|
6
|
-
@import "
|
|
7
|
-
@import "
|
|
8
|
-
@import "
|
|
9
|
-
@import "
|
|
10
|
-
@import "
|
|
11
|
-
@import "
|
|
12
|
-
@import "
|
|
1
|
+
@import "d-collapse";
|
|
2
|
+
@import "d-collapse-icon-text";
|
|
3
|
+
@import "d-datepicker";
|
|
4
|
+
@import "d-timepicker";
|
|
5
|
+
@import "d-monthpicker";
|
|
6
|
+
@import "d-tabs";
|
|
7
|
+
@import "d-popover";
|
|
8
|
+
@import "d-box-file";
|
|
9
|
+
@import "d-carousel";
|
|
10
|
+
@import "d-stepper";
|
|
11
|
+
@import "d-paginator";
|
|
12
|
+
@import "d-card-account";
|
|
13
|
+
|
|
14
|
+
// TODO: review.
|
|
15
|
+
@import "d-permission-group";
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
.d-box-file {
|
|
2
|
+
--#{$prefix}box-file-gap: #{$box-file-gap};
|
|
3
|
+
--#{$prefix}box-file-border: #{$box-file-border};
|
|
4
|
+
--#{$prefix}box-file-border-radius: #{$box-file-border-radius};
|
|
5
|
+
--#{$prefix}box-file-padding: #{$box-file-padding};
|
|
6
|
+
--#{$prefix}box-file-content-max-width: #{$box-file-content-max-width};
|
|
7
|
+
--#{$prefix}box-file-icon-size: #{$box-file-icon-size};
|
|
8
|
+
--#{$prefix}box-file-icon-color: #{$box-file-icon-color};
|
|
9
|
+
|
|
10
|
+
--#{$prefix}box-file-hover-border: #{$box-file-hover-border};
|
|
11
|
+
--#{$prefix}box-file-hover-bg: #{$box-file-hover-background};
|
|
12
|
+
|
|
13
|
+
--#{$prefix}box-file-selected-border: #{$box-file-selected-border};
|
|
14
|
+
--#{$prefix}box-file-selected-bg: #{$box-file-selected-background};
|
|
15
|
+
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
gap: var(--#{$prefix}box-file-gap);
|
|
19
|
+
width: 100%;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
border: var(--#{$prefix}box-file-border);
|
|
22
|
+
border-radius: var(--#{$prefix}box-file-border-radius);
|
|
23
|
+
|
|
24
|
+
&:hover {
|
|
25
|
+
background: var(--#{$prefix}box-file-hover-bg);
|
|
26
|
+
border: var(--#{$prefix}box-file-hover-border);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.d-box-file-selected {
|
|
30
|
+
background: var(--#{$prefix}box-file-selected-bg);
|
|
31
|
+
border: var(--#{$prefix}box-file-selected-border);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.d-icon {
|
|
35
|
+
--#{$prefix}icon-size: var(--#{$prefix}box-file-icon-size);
|
|
36
|
+
--#{$prefix}icon-color: var(--#{$prefix}box-file-icon-color);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.d-box-file-dropzone {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
gap: var(--#{$prefix}box-file-gap);
|
|
43
|
+
align-items: center;
|
|
44
|
+
width: 100%;
|
|
45
|
+
padding: var(--#{$prefix}box-file-padding);
|
|
46
|
+
|
|
47
|
+
&:not(:last-child) {
|
|
48
|
+
padding-bottom: 0;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.d-box-content {
|
|
53
|
+
max-width: var(--#{$prefix}box-file-content-max-width);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.d-box-files {
|
|
57
|
+
display: flex;
|
|
58
|
+
flex-direction: column;
|
|
59
|
+
gap: var(--#{$prefix}box-file-gap);
|
|
60
|
+
padding: 0 var(--#{$prefix}box-file-padding) var(--#{$prefix}box-file-padding);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.d-box-files-text {
|
|
64
|
+
word-break: break-word;
|
|
65
|
+
}
|
|
66
|
+
}
|