@dynamic-framework/ui-react 1.5.0 → 1.7.0
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/LICENSE +223 -21
- package/README.md +3 -15
- package/dist/css/dynamic-root.css +286 -0
- package/dist/css/dynamic-root.min.css +1 -0
- package/dist/css/dynamic-ui.css +17279 -1
- package/dist/css/dynamic-ui.min.css +1 -0
- package/dist/index.esm.js +918 -549
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +966 -590
- package/dist/index.js.map +1 -1
- package/dist/types/components/DAlert.d.ts +16 -0
- package/dist/types/components/DBadge.d.ts +11 -0
- package/dist/types/components/DBoxFile.d.ts +3 -4
- package/dist/types/components/DButton.d.ts +21 -0
- package/dist/types/components/DCard.d.ts +2 -2
- package/dist/types/components/DCardAccount.d.ts +3 -3
- package/dist/types/components/DCardBody.d.ts +2 -2
- package/dist/types/components/DCardFooter.d.ts +2 -2
- package/dist/types/components/DCardHeader.d.ts +2 -2
- package/dist/types/components/DCarousel.d.ts +3 -3
- package/dist/types/components/DCarouselSlide.d.ts +1 -1
- package/dist/types/components/DChip.d.ts +10 -0
- package/dist/types/components/DCollapse.d.ts +4 -4
- package/dist/types/components/DCollapseIconText.d.ts +3 -4
- package/dist/types/components/DCurrencyText.d.ts +1 -1
- package/dist/types/components/DDatePicker.d.ts +5 -5
- package/dist/types/components/DDatePickerHeader.d.ts +4 -4
- package/dist/types/components/DDatePickerInput.d.ts +7 -7
- package/dist/types/components/DDatePickerTime.d.ts +6 -6
- package/dist/types/components/DFormikInput.d.ts +2 -2
- package/dist/types/components/DFormikInputCurrency.d.ts +1 -1
- package/dist/types/components/DFormikInputSelect.d.ts +3 -6
- package/dist/types/components/DIcon.d.ts +16 -0
- package/dist/types/components/DInput.d.ts +32 -0
- package/dist/types/components/DInputCheck.d.ts +15 -0
- package/dist/types/components/DInputCounter.d.ts +22 -0
- package/dist/types/components/DInputCurrency.d.ts +4 -8
- package/dist/types/components/DInputCurrencyBase.d.ts +24 -0
- package/dist/types/components/DInputPassword.d.ts +17 -0
- package/dist/types/components/DInputPin.d.ts +19 -0
- package/dist/types/components/DInputSearch.d.ts +19 -0
- package/dist/types/components/DInputSelect.d.ts +23 -0
- package/dist/types/components/DInputSwitch.d.ts +11 -0
- package/dist/types/components/DList.d.ts +4 -3
- package/dist/types/components/DListItem.d.ts +4 -4
- package/dist/types/components/DListItemMovement.d.ts +2 -2
- package/dist/types/components/DModal.d.ts +14 -0
- package/dist/types/components/DModalBody.d.ts +6 -0
- package/dist/types/components/DModalFooter.d.ts +6 -0
- package/dist/types/components/DModalHeader.d.ts +7 -0
- package/dist/types/components/DMonthPicker.d.ts +4 -4
- package/dist/types/components/DOffcanvas.d.ts +10 -0
- package/dist/types/components/DOffcanvasBody.d.ts +6 -0
- package/dist/types/components/DOffcanvasFooter.d.ts +6 -0
- package/dist/types/components/DOffcanvasHeader.d.ts +7 -0
- package/dist/types/components/DPaginator.d.ts +4 -4
- package/dist/types/components/DPopover.d.ts +3 -2
- package/dist/types/components/DProgress.d.ts +9 -0
- package/dist/types/components/DQuickActionButton.d.ts +22 -0
- package/dist/types/components/DQuickActionCheck.d.ts +13 -0
- package/dist/types/components/DQuickActionSelect.d.ts +12 -0
- package/dist/types/components/DQuickActionSwitch.d.ts +11 -0
- package/dist/types/components/DSkeleton.d.ts +2 -2
- package/dist/types/components/DStepper.d.ts +6 -3
- package/dist/types/components/DStepperDesktop.d.ts +12 -0
- package/dist/types/components/DStepperMobile.d.ts +11 -0
- package/dist/types/components/DTabContent.d.ts +1 -1
- package/dist/types/components/DTabs.d.ts +5 -5
- package/dist/types/components/DToastContainer.d.ts +2 -3
- package/dist/types/components/DTooltip.d.ts +2 -2
- package/dist/types/components/banking/{MPermissionGroup.d.ts → DPermissionGroup.d.ts} +2 -2
- package/dist/types/components/banking/DPermissionItem.d.ts +1 -1
- package/dist/types/components/banking/{MSummaryCard.d.ts → DSummaryCard.d.ts} +2 -2
- package/dist/types/components/banking/index.d.ts +2 -2
- package/dist/types/components/banking/interface.d.ts +1 -1
- package/dist/types/components/config.d.ts +5 -0
- package/dist/types/components/index.d.ts +48 -20
- package/dist/types/components/interface.d.ts +44 -0
- package/dist/types/contexts/ModalContext.d.ts +12 -12
- package/dist/types/contexts/OffcanvasContext.d.ts +12 -12
- package/dist/types/hooks/useScreenshot.d.ts +1 -1
- package/dist/types/hooks/useToast.d.ts +3 -3
- package/dist/types/stories/components/DBadge.stories.d.ts +1 -1
- package/dist/types/stories/components/DBoxFile.stories.d.ts +1 -1
- package/dist/types/stories/components/DButton.stories.d.ts +1 -1
- package/dist/types/stories/components/DChip.stories.d.ts +1 -1
- package/dist/types/stories/components/DCurrencyText.stories.d.ts +1 -1
- package/dist/types/stories/components/DDatePicker.stories.d.ts +1 -1
- package/dist/types/stories/components/DFormikInput.stories.d.ts +1 -1
- package/dist/types/stories/components/DFormikInputCurrency.stories.d.ts +1 -1
- package/dist/types/stories/components/DFormikInputSelect.stories.d.ts +1 -1
- package/dist/types/stories/components/DIcon.stories.d.ts +1 -1
- package/dist/types/stories/components/DInput.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputCheck.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputCounter.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputCurrency.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputCurrencyBase.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputPassword.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputPin.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputSearch.stories.d.ts +1 -1
- package/dist/types/stories/components/DInputSelect.stories.d.ts +7 -3
- package/dist/types/stories/components/DInputSwitch.stories.d.ts +1 -1
- package/dist/types/stories/components/DList.stories.d.ts +1 -1
- package/dist/types/stories/components/DListItem.stories.d.ts +1 -1
- package/dist/types/stories/components/DListItemMovement.stories.d.ts +1 -1
- package/dist/types/stories/components/DPaginator.stories.d.ts +1 -1
- package/dist/types/stories/components/DProgress.stories.d.ts +1 -1
- package/dist/types/stories/components/DQuickActionButton.stories.d.ts +1 -1
- package/dist/types/stories/components/DQuickActionCheck.stories.d.ts +1 -1
- package/dist/types/stories/components/DQuickActionSelect.stories.d.ts +1 -1
- package/dist/types/stories/components/DQuickActionSwitch.stories.d.ts +1 -1
- package/dist/types/stories/components/DSkeleton.stories.d.ts +1 -1
- package/dist/types/stories/components/DStepper.stories.d.ts +1 -1
- package/dist/types/stories/components/DStepperDesktop.stories.d.ts +7 -0
- package/dist/types/stories/components/DStepperMobile.stories.d.ts +6 -0
- package/dist/types/stories/components/DTooltip.stories.d.ts +1 -1
- package/dist/types/stories/hooks/useFormatCurrency.stories.d.ts +1 -1
- package/dist/types/stories/hooks/useModalContext.stories.d.ts +1 -1
- package/dist/types/stories/hooks/useOffcanvasContext.stories.d.ts +1 -1
- package/dist/types/stories/hooks/useToast.stories.d.ts +2 -2
- package/dist/types/stories/patterns/DAlert.stories.d.ts +1 -1
- package/dist/types/stories/{components → patterns}/DCard.stories.d.ts +1 -1
- package/dist/types/stories/{components → patterns}/DCardAccount.stories.d.ts +1 -1
- package/dist/types/stories/patterns/DCarousel.stories.d.ts +1 -1
- package/dist/types/stories/patterns/DCollapse.stories.d.ts +1 -1
- package/dist/types/stories/patterns/DCollapseIconText.stories.d.ts +1 -1
- package/dist/types/stories/patterns/DModal.stories.d.ts +1 -1
- package/dist/types/stories/patterns/DOffcanvas.stories.d.ts +1 -1
- package/dist/types/stories/patterns/DPopover.stories.d.ts +2 -1
- package/dist/types/stories/patterns/DTabs.stories.d.ts +1 -1
- package/dist/types/utils/format-currency.d.ts +2 -0
- package/dist/types/utils/index.d.ts +2 -1
- package/dist/types/utils/liquid-parser.d.ts +20 -0
- package/package.json +64 -54
- package/src/style/_shame.scss +4 -0
- package/src/style/abstracts/_+import.scss +14 -2
- package/src/style/abstracts/_funcions.scss +55 -0
- package/src/style/abstracts/_maps.scss +1 -0
- package/src/style/abstracts/_mixins.scss +133 -0
- package/src/style/abstracts/_utilities.scss +78 -0
- package/src/style/abstracts/variables/_+import.scss +159 -0
- package/src/style/abstracts/variables/_accordion.scss +35 -0
- package/src/style/abstracts/variables/_alerts.scss +27 -0
- package/src/style/abstracts/variables/_badges.scss +15 -0
- package/src/style/abstracts/variables/_body.scss +52 -0
- package/src/style/abstracts/variables/_border.scss +29 -0
- package/src/style/abstracts/variables/_box-file.scss +4 -4
- package/src/style/abstracts/variables/_box-shadow.scss +6 -0
- package/src/style/abstracts/variables/_breadcrumb.scss +15 -0
- package/src/style/abstracts/variables/_buttons.scss +55 -0
- package/src/style/abstracts/variables/_cards.scss +23 -0
- package/src/style/abstracts/variables/_carousel.scss +37 -0
- package/src/style/abstracts/variables/_chips.scss +13 -0
- package/src/style/abstracts/variables/_close.scss +16 -0
- package/src/style/abstracts/variables/_code.scss +16 -0
- package/src/style/abstracts/variables/_collapse-icon-text.scss +3 -3
- package/src/style/abstracts/variables/_colors.scss +515 -0
- package/src/style/abstracts/variables/_cursors.scss +32 -0
- package/src/style/abstracts/variables/_dropdowns.scss +54 -0
- package/src/style/abstracts/variables/_figures.scss +6 -0
- package/src/style/abstracts/variables/_forms.scss +313 -0
- package/src/style/abstracts/variables/_grid.scss +41 -0
- package/src/style/abstracts/variables/_list-group.scss +43 -0
- package/src/style/abstracts/variables/_modals.scss +58 -0
- package/src/style/abstracts/variables/_navbar.scss +43 -0
- package/src/style/abstracts/variables/_navs.scss +44 -0
- package/src/style/abstracts/variables/_offcanvas.scss +20 -0
- package/src/style/abstracts/variables/_options.scss +24 -0
- package/src/style/abstracts/variables/_pagination.scss +41 -0
- package/src/style/abstracts/variables/_popovers.scss +31 -0
- package/src/style/abstracts/variables/_progress.scss +17 -0
- package/src/style/abstracts/variables/_quick-action-button.scss +31 -0
- package/src/style/abstracts/variables/_quick-action-check.scss +22 -0
- package/src/style/abstracts/variables/_quick-action-select.scss +16 -0
- package/src/style/abstracts/variables/_quick-action-switch.scss +21 -0
- package/src/style/abstracts/variables/_spacers.scss +28 -0
- package/src/style/abstracts/variables/_spinners.scss +13 -0
- package/src/style/abstracts/variables/_tables.scss +57 -0
- package/src/style/abstracts/variables/_thumbnails.scss +10 -0
- package/src/style/abstracts/variables/_toasts.scss +19 -0
- package/src/style/abstracts/variables/_tooltips.scss +29 -0
- package/src/style/abstracts/variables/_typography.scss +122 -0
- package/src/style/abstracts/variables/_z-index.scss +28 -0
- package/src/style/base/_+import.scss +15 -0
- package/src/style/base/_root.scss +248 -0
- package/src/style/base/_tables.scss +171 -0
- package/src/style/components/_+import.scss +46 -1
- package/src/style/components/_d-alert.scss +45 -0
- package/src/style/components/_d-badge.scss +26 -0
- package/src/style/components/_d-button.scss +191 -0
- package/src/style/components/_d-card-account.scss +3 -3
- package/src/style/components/_d-chip.scss +52 -0
- package/src/style/components/_d-icon.scss +32 -0
- package/src/style/components/_d-input-check.scss +20 -0
- package/src/style/components/_d-input-pin.scss +121 -0
- package/src/style/components/_d-input-select.scss +20 -0
- package/src/style/components/_d-input-switch.scss +58 -0
- package/src/style/components/_d-input.scss +168 -0
- package/src/style/components/_d-modal.scss +55 -0
- package/src/style/components/_d-offcanvas.scss +45 -0
- package/src/style/components/_d-popover.scss +4 -1
- package/src/style/components/_d-progress.scss +9 -0
- package/src/style/components/_d-quick-action-button.scss +111 -0
- package/src/style/components/_d-quick-action-check.scss +74 -0
- package/src/style/components/_d-quick-action-select.scss +56 -0
- package/src/style/components/_d-quick-action-switch.scss +71 -0
- package/src/style/components/{_d-stepper.scss → _d-stepper-desktop.scss} +1 -1
- package/src/style/components/_d-stepper-mobile.scss +69 -0
- package/src/style/dynamic-root.scss +6 -0
- package/src/style/dynamic-ui.scss +13 -1
- package/src/style/helpers/_+import.scss +13 -0
- package/src/style/helpers/_color-bg.scss +7 -0
- package/dist/css/dynamic-ui-all.css +0 -1
- package/dist/css/dynamic-ui-react.css +0 -1
- package/dist/types/components/proxies.d.ts +0 -23
- package/dist/types/components/react-component-lib/createComponent.d.ts +0 -10
- package/dist/types/components/react-component-lib/createOverlayComponent.d.ts +0 -21
- package/dist/types/components/react-component-lib/index.d.ts +0 -2
- package/dist/types/components/react-component-lib/interfaces.d.ts +0 -29
- package/dist/types/components/react-component-lib/utils/attachProps.d.ts +0 -16
- package/dist/types/components/react-component-lib/utils/case.d.ts +0 -2
- package/dist/types/components/react-component-lib/utils/dev.d.ts +0 -2
- package/dist/types/components/react-component-lib/utils/index.d.ts +0 -10
- package/src/style/dynamic-ui-all.scss +0 -3
- package/src/style/dynamic-ui-react.scss +0 -7
- /package/dist/types/stories/{constants.d.ts → config/constants.d.ts} +0 -0
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DFormikInputCurrency } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DFormikInputCurrency>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,6 +2,6 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DFormikInputSelect } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DFormikInputSelect>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof DFormikInputSelect>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Empty: Story;
|
|
@@ -2,6 +2,6 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DIcon } from '../../components';
|
|
3
3
|
declare const meta: Meta<typeof DIcon>;
|
|
4
4
|
export default meta;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof DIcon>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Circle: Story;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DInput } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DInput>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DInputCheck } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DInputCheck>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DInputCounter } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DInputCounter>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DInputCurrency } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DInputCurrency>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DInputCurrencyBase } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DInputCurrencyBase>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DInputPassword } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DInputPassword>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DInputPin } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DInputPin>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DInputSearch } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DInputSearch>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
2
|
import { DInputSelect } from '../../components';
|
|
3
|
+
import type { DInputSelectProps } from '../../components';
|
|
3
4
|
declare const config: Meta<typeof DInputSelect>;
|
|
4
5
|
export default config;
|
|
5
|
-
|
|
6
|
+
type Story = StoryObj<typeof DInputSelect>;
|
|
6
7
|
export declare const Default: Story;
|
|
7
8
|
export declare const Disabled: Story;
|
|
8
9
|
export declare const Icon: Story;
|
|
9
|
-
export declare const Extractors:
|
|
10
|
+
export declare const Extractors: StoryObj<DInputSelectProps<{
|
|
11
|
+
id: string;
|
|
12
|
+
text: string;
|
|
13
|
+
}>>;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DInputSwitch } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DInputSwitch>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DList } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DList>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DListItem } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DListItem>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,6 +2,6 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DListItemMovement } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DListItemMovement>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof DListItemMovement>;
|
|
6
6
|
export declare const Movement: Story;
|
|
7
7
|
export declare const Movements: Story;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DPaginator } from '../../components';
|
|
3
3
|
declare const meta: Meta<typeof DPaginator>;
|
|
4
4
|
export default meta;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DProgress } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DProgress>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DQuickActionButton } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DQuickActionButton>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DQuickActionCheck } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DQuickActionCheck>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DQuickActionSelect } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DQuickActionSelect>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DQuickActionSwitch } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DQuickActionSwitch>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,5 +2,5 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DSkeleton } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DSkeleton>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof DSkeleton>;
|
|
6
6
|
export declare const Default: Story;
|
|
@@ -2,6 +2,6 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DStepper } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DStepper>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof DStepper>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Vertical: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { DStepperDesktop } from '../../components';
|
|
3
|
+
declare const config: Meta<typeof DStepperDesktop>;
|
|
4
|
+
export default config;
|
|
5
|
+
type Story = StoryObj<typeof DStepperDesktop>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Vertical: Story;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DTooltip } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DTooltip>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,5 +2,5 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
declare const Example: () => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare const config: Meta<typeof Example>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof Example>;
|
|
6
6
|
export declare const Default: Story;
|
|
@@ -2,5 +2,5 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
declare const Example: () => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
declare const config: Meta<typeof Example>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof Example>;
|
|
6
6
|
export declare const useModalContext: Story;
|
|
@@ -3,5 +3,5 @@ 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
|
-
|
|
6
|
+
type Story = StoryObj<typeof DOffcanvas>;
|
|
7
7
|
export declare const useOffcanvasContext: Story;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DAlert } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DAlert>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DCard } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DCard>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof DCard>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const HeaderAndBody: Story;
|
|
8
8
|
export declare const OnlyBody: Story;
|
|
@@ -2,5 +2,5 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import DCardAccount from '../../components/DCardAccount';
|
|
3
3
|
declare const config: Meta<typeof DCardAccount>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof DCardAccount>;
|
|
6
6
|
export declare const Default: Story;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import DCarousel from '../../components/DCarousel';
|
|
3
3
|
declare const config: Meta<typeof DCarousel>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DCollapse } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DCollapse>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,5 +2,5 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DCollapseIconText } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DCollapseIconText>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof DCollapseIconText>;
|
|
6
6
|
export declare const Default: Story;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DModal } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DModal>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DOffcanvas } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DOffcanvas>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
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;
|
|
@@ -2,7 +2,8 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DPopover } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DPopover>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof DPopover>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
|
+
export declare const WithoutAdjustToContent: Story;
|
|
7
8
|
export declare const Open: Story;
|
|
8
9
|
export declare const Plain: Story;
|
|
@@ -2,6 +2,6 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DTabs } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DTabs>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof DTabs>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Vertical: Story;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
library: {};
|
|
3
|
+
engine: any;
|
|
4
|
+
init(library: any, Liquid: any): void;
|
|
5
|
+
/**
|
|
6
|
+
* Parse a liquid string
|
|
7
|
+
* @param liquidString Target Content Space UID
|
|
8
|
+
* @returns a usable object or string
|
|
9
|
+
*/
|
|
10
|
+
parseLiquidAsync(liquidString: string): Promise<string>;
|
|
11
|
+
/**
|
|
12
|
+
* Parse a liquid string
|
|
13
|
+
* @param liquidString Target Content Space UID
|
|
14
|
+
* @returns a usable object or string
|
|
15
|
+
*/
|
|
16
|
+
parseLiquid(liquidString: string): string;
|
|
17
|
+
parse(liquidString: string): string;
|
|
18
|
+
parseAsync(liquidString: string): Promise<string>;
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
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.7.0",
|
|
5
5
|
"description": "React Dynamic Framework",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -16,19 +16,34 @@
|
|
|
16
16
|
"url": "https://github.com/dynamic-framework/dynamic-ui.git"
|
|
17
17
|
},
|
|
18
18
|
"author": {
|
|
19
|
-
"name": "
|
|
20
|
-
"email": "
|
|
21
|
-
"url": "https://
|
|
19
|
+
"name": "Dynamic Framework Team",
|
|
20
|
+
"email": "support@modyo.com",
|
|
21
|
+
"url": "https://dynamicframework.dev"
|
|
22
22
|
},
|
|
23
|
+
"contributors": [
|
|
24
|
+
{
|
|
25
|
+
"name": "Abraham José González Barboza",
|
|
26
|
+
"email": "agonzalez@modyo.com",
|
|
27
|
+
"url": "https://github.com/abe-modyo"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "Eduard Fabián Barón Gutiérrez",
|
|
31
|
+
"email": "ebaron@modyo.com",
|
|
32
|
+
"url": "https://github.com/efbarong"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "Johann Felipe Rojas Pineda",
|
|
36
|
+
"email": "jrojas@modyo.com",
|
|
37
|
+
"url": "https://github.com/johannrp27"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
23
40
|
"scripts": {
|
|
24
41
|
"test": "jest",
|
|
25
|
-
"
|
|
42
|
+
"test:watch": "jest --watch",
|
|
43
|
+
"build": "pnpm build:react && pnpm build:scss",
|
|
26
44
|
"build:react": "rimraf dist && tsc -p . && rollup -c rollup.config.js",
|
|
27
45
|
"build:react:watch": "tsc -p . && rollup -c rollup.config.js",
|
|
28
|
-
"build:scss": "
|
|
29
|
-
"build:scss:watch": "sass --load-path=node_modules -w src/style:dist/css",
|
|
30
|
-
"build:autoprefixer": "postcss dist/css/*.css --replace --use autoprefixer --no-map",
|
|
31
|
-
"build:style": "pnpm build:scss && pnpm build:autoprefixer",
|
|
46
|
+
"build:scss": "./scripts/build-scss.sh",
|
|
32
47
|
"clean": "rimraf dist",
|
|
33
48
|
"compile": "tsc -p . && rollup -c rollup.config.js",
|
|
34
49
|
"storybook": "storybook dev -p 6006",
|
|
@@ -45,12 +60,13 @@
|
|
|
45
60
|
"src/style"
|
|
46
61
|
],
|
|
47
62
|
"dependencies": {
|
|
48
|
-
"@dynamic-framework/ui": "^1.6.0",
|
|
49
63
|
"@floating-ui/react": "^0.24.1",
|
|
50
64
|
"@splidejs/react-splide": "^0.7.12",
|
|
51
65
|
"@splidejs/splide": "^4.1.4",
|
|
52
66
|
"axios": "^1.1.2",
|
|
67
|
+
"bootstrap": "^5.3.2",
|
|
53
68
|
"classnames": "^2.3.2",
|
|
69
|
+
"currency.js": "^2.0.4",
|
|
54
70
|
"date-fns": "^2.29.3",
|
|
55
71
|
"i18next": "~21.9.0",
|
|
56
72
|
"react-content-loader": "~6.2.0",
|
|
@@ -60,47 +76,46 @@
|
|
|
60
76
|
"yup": "^1.2.0"
|
|
61
77
|
},
|
|
62
78
|
"devDependencies": {
|
|
63
|
-
"@babel/core": "^7.
|
|
64
|
-
"@babel/preset-env": "^7.
|
|
65
|
-
"@babel/preset-react": "^7.
|
|
66
|
-
"@babel/preset-typescript": "^7.
|
|
79
|
+
"@babel/core": "^7.23.2",
|
|
80
|
+
"@babel/preset-env": "^7.23.2",
|
|
81
|
+
"@babel/preset-react": "^7.22.15",
|
|
82
|
+
"@babel/preset-typescript": "^7.23.2",
|
|
67
83
|
"@mdx-js/react": "^2.3.0",
|
|
68
|
-
"@rollup/plugin-node-resolve": "^
|
|
69
|
-
"@storybook/addon-actions": "7.0
|
|
70
|
-
"@storybook/addon-essentials": "7.0
|
|
71
|
-
"@storybook/addon-interactions": "7.0
|
|
72
|
-
"@storybook/addon-links": "7.0
|
|
73
|
-
"@storybook/addon-viewport": "7.0
|
|
74
|
-
"@storybook/blocks": "7.0
|
|
75
|
-
"@storybook/react": "7.0
|
|
76
|
-
"@storybook/react-webpack5": "7.0
|
|
77
|
-
"@storybook/testing-library": "^0.
|
|
78
|
-
"@storybook/theming": "^7.0
|
|
84
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
85
|
+
"@storybook/addon-actions": "^7.5.0",
|
|
86
|
+
"@storybook/addon-essentials": "^7.5.0",
|
|
87
|
+
"@storybook/addon-interactions": "^7.5.0",
|
|
88
|
+
"@storybook/addon-links": "^7.5.0",
|
|
89
|
+
"@storybook/addon-viewport": "^7.5.0",
|
|
90
|
+
"@storybook/blocks": "^7.5.0",
|
|
91
|
+
"@storybook/react": "^7.5.0",
|
|
92
|
+
"@storybook/react-webpack5": "^7.5.0",
|
|
93
|
+
"@storybook/testing-library": "^0.2.2",
|
|
94
|
+
"@storybook/theming": "^7.5.0",
|
|
79
95
|
"@testing-library/jest-dom": "^5.16.5",
|
|
80
96
|
"@testing-library/react": "^13.4.0",
|
|
81
|
-
"@types/jest": "29.
|
|
82
|
-
"@types/lodash.camelcase": "^4.3.7",
|
|
97
|
+
"@types/jest": "29.5.5",
|
|
83
98
|
"@types/luxon": "^3.2.1",
|
|
84
|
-
"@types/node": "^15.
|
|
99
|
+
"@types/node": "^18.15.3",
|
|
85
100
|
"@types/react": "^18.2.19",
|
|
86
101
|
"@types/react-datepicker": "~4.8.0",
|
|
87
102
|
"@types/react-dom": "^18.0.3",
|
|
88
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
89
|
-
"@typescript-eslint/parser": "^
|
|
90
|
-
"autoprefixer": "^10.4.
|
|
91
|
-
"babel-loader": "^
|
|
92
|
-
"bootstrap": "^5.3.
|
|
93
|
-
"eslint": "8.
|
|
94
|
-
"eslint-config-airbnb": "19.0.4",
|
|
95
|
-
"eslint-config-airbnb-typescript": "^17.
|
|
96
|
-
"eslint-plugin-import": "^2.
|
|
97
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
98
|
-
"eslint-plugin-react": "^7.
|
|
99
|
-
"eslint-plugin-react-hooks": "^4.
|
|
103
|
+
"@typescript-eslint/eslint-plugin": "^6.8.0",
|
|
104
|
+
"@typescript-eslint/parser": "^6.8.0",
|
|
105
|
+
"autoprefixer": "^10.4.16",
|
|
106
|
+
"babel-loader": "^9.1.3",
|
|
107
|
+
"bootstrap": "^5.3.2",
|
|
108
|
+
"eslint": "8.51.0",
|
|
109
|
+
"eslint-config-airbnb": "^19.0.4",
|
|
110
|
+
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
111
|
+
"eslint-plugin-import": "^2.28.1",
|
|
112
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
113
|
+
"eslint-plugin-react": "^7.33.2",
|
|
114
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
100
115
|
"formik": "^2.2.9",
|
|
101
116
|
"html2canvas": "^1.4.1",
|
|
102
|
-
"jest": "^29.
|
|
103
|
-
"jest-cli": "^29.
|
|
117
|
+
"jest": "^29.7.0",
|
|
118
|
+
"jest-cli": "^29.7.0",
|
|
104
119
|
"jest-environment-jsdom": "^29.1.2",
|
|
105
120
|
"lint-staged": "^12.4.1",
|
|
106
121
|
"luxon": "^3.2.1",
|
|
@@ -111,13 +126,13 @@
|
|
|
111
126
|
"react-toastify": "~9.0.8",
|
|
112
127
|
"rimraf": "^2.6.3",
|
|
113
128
|
"rollup": "^2.72.1",
|
|
114
|
-
"sass": "^1.
|
|
115
|
-
"storybook": "^7.0
|
|
116
|
-
"stylelint": "^15.
|
|
117
|
-
"stylelint-config-twbs-bootstrap": "^
|
|
118
|
-
"ts-jest": "^29.
|
|
129
|
+
"sass": "^1.69.3",
|
|
130
|
+
"storybook": "^7.5.0",
|
|
131
|
+
"stylelint": "^15.11.0",
|
|
132
|
+
"stylelint-config-twbs-bootstrap": "^11.0.1",
|
|
133
|
+
"ts-jest": "^29.1.1",
|
|
119
134
|
"tslib": "^2.4.0",
|
|
120
|
-
"typescript": "^
|
|
135
|
+
"typescript": "^5.2.2"
|
|
121
136
|
},
|
|
122
137
|
"peerDependencies": {
|
|
123
138
|
"formik": "^2.2.9",
|
|
@@ -128,10 +143,5 @@
|
|
|
128
143
|
"react-i18next": "~11.18.3",
|
|
129
144
|
"react-toastify": "~9.0.8"
|
|
130
145
|
},
|
|
131
|
-
"
|
|
132
|
-
"implicitDependencies": [
|
|
133
|
-
"@dynamic-framework/ui"
|
|
134
|
-
]
|
|
135
|
-
},
|
|
136
|
-
"gitHead": "cb61210b966f0916eb4d9bac3841e06580ea1ba6"
|
|
146
|
+
"gitHead": "f014ad192ea859979ed465b1c6d27f38f9853fe6"
|
|
137
147
|
}
|