@dynamic-framework/ui-react 1.6.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-ui.css +3888 -1310
- package/dist/css/dynamic-ui.min.css +1 -1
- package/dist/index.esm.js +887 -555
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +941 -604
- 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 +3 -3
- package/dist/types/components/DStepperDesktop.d.ts +2 -2
- package/dist/types/components/DStepperMobile.d.ts +2 -2
- 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 +46 -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 +1 -1
- package/dist/types/stories/components/DStepperMobile.stories.d.ts +1 -1
- 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 +62 -49
- 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-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/_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 +44 -0
- 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 +1 -1
- 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/dynamic-root.scss +5 -1
- 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 -16620
- package/dist/css/dynamic-ui-all.min.css +0 -1
- package/dist/css/dynamic-ui-react.css +0 -1919
- package/dist/css/dynamic-ui-react.min.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,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;
|
|
@@ -2,6 +2,6 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DStepperDesktop } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DStepperDesktop>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof DStepperDesktop>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Vertical: Story;
|
|
@@ -2,5 +2,5 @@ import { Meta, StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { DStepperMobile } from '../../components';
|
|
3
3
|
declare const config: Meta<typeof DStepperMobile>;
|
|
4
4
|
export default config;
|
|
5
|
-
|
|
5
|
+
type Story = StoryObj<typeof DStepperMobile>;
|
|
6
6
|
export declare const Default: 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,12 +16,30 @@
|
|
|
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",
|
|
42
|
+
"test:watch": "jest --watch",
|
|
25
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",
|
|
@@ -42,12 +60,13 @@
|
|
|
42
60
|
"src/style"
|
|
43
61
|
],
|
|
44
62
|
"dependencies": {
|
|
45
|
-
"@dynamic-framework/ui": "^1.7.0",
|
|
46
63
|
"@floating-ui/react": "^0.24.1",
|
|
47
64
|
"@splidejs/react-splide": "^0.7.12",
|
|
48
65
|
"@splidejs/splide": "^4.1.4",
|
|
49
66
|
"axios": "^1.1.2",
|
|
67
|
+
"bootstrap": "^5.3.2",
|
|
50
68
|
"classnames": "^2.3.2",
|
|
69
|
+
"currency.js": "^2.0.4",
|
|
51
70
|
"date-fns": "^2.29.3",
|
|
52
71
|
"i18next": "~21.9.0",
|
|
53
72
|
"react-content-loader": "~6.2.0",
|
|
@@ -57,47 +76,46 @@
|
|
|
57
76
|
"yup": "^1.2.0"
|
|
58
77
|
},
|
|
59
78
|
"devDependencies": {
|
|
60
|
-
"@babel/core": "^7.
|
|
61
|
-
"@babel/preset-env": "^7.
|
|
62
|
-
"@babel/preset-react": "^7.
|
|
63
|
-
"@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",
|
|
64
83
|
"@mdx-js/react": "^2.3.0",
|
|
65
|
-
"@rollup/plugin-node-resolve": "^
|
|
66
|
-
"@storybook/addon-actions": "7.0
|
|
67
|
-
"@storybook/addon-essentials": "7.0
|
|
68
|
-
"@storybook/addon-interactions": "7.0
|
|
69
|
-
"@storybook/addon-links": "7.0
|
|
70
|
-
"@storybook/addon-viewport": "7.0
|
|
71
|
-
"@storybook/blocks": "7.0
|
|
72
|
-
"@storybook/react": "7.0
|
|
73
|
-
"@storybook/react-webpack5": "7.0
|
|
74
|
-
"@storybook/testing-library": "^0.
|
|
75
|
-
"@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",
|
|
76
95
|
"@testing-library/jest-dom": "^5.16.5",
|
|
77
96
|
"@testing-library/react": "^13.4.0",
|
|
78
|
-
"@types/jest": "29.
|
|
79
|
-
"@types/lodash.camelcase": "^4.3.7",
|
|
97
|
+
"@types/jest": "29.5.5",
|
|
80
98
|
"@types/luxon": "^3.2.1",
|
|
81
|
-
"@types/node": "^15.
|
|
99
|
+
"@types/node": "^18.15.3",
|
|
82
100
|
"@types/react": "^18.2.19",
|
|
83
101
|
"@types/react-datepicker": "~4.8.0",
|
|
84
102
|
"@types/react-dom": "^18.0.3",
|
|
85
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
86
|
-
"@typescript-eslint/parser": "^
|
|
87
|
-
"autoprefixer": "^10.4.
|
|
88
|
-
"babel-loader": "^
|
|
89
|
-
"bootstrap": "^5.3.
|
|
90
|
-
"eslint": "8.
|
|
91
|
-
"eslint-config-airbnb": "19.0.4",
|
|
92
|
-
"eslint-config-airbnb-typescript": "^17.
|
|
93
|
-
"eslint-plugin-import": "^2.
|
|
94
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
95
|
-
"eslint-plugin-react": "^7.
|
|
96
|
-
"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",
|
|
97
115
|
"formik": "^2.2.9",
|
|
98
116
|
"html2canvas": "^1.4.1",
|
|
99
|
-
"jest": "^29.
|
|
100
|
-
"jest-cli": "^29.
|
|
117
|
+
"jest": "^29.7.0",
|
|
118
|
+
"jest-cli": "^29.7.0",
|
|
101
119
|
"jest-environment-jsdom": "^29.1.2",
|
|
102
120
|
"lint-staged": "^12.4.1",
|
|
103
121
|
"luxon": "^3.2.1",
|
|
@@ -108,13 +126,13 @@
|
|
|
108
126
|
"react-toastify": "~9.0.8",
|
|
109
127
|
"rimraf": "^2.6.3",
|
|
110
128
|
"rollup": "^2.72.1",
|
|
111
|
-
"sass": "^1.
|
|
112
|
-
"storybook": "^7.0
|
|
113
|
-
"stylelint": "^15.
|
|
114
|
-
"stylelint-config-twbs-bootstrap": "^
|
|
115
|
-
"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",
|
|
116
134
|
"tslib": "^2.4.0",
|
|
117
|
-
"typescript": "^
|
|
135
|
+
"typescript": "^5.2.2"
|
|
118
136
|
},
|
|
119
137
|
"peerDependencies": {
|
|
120
138
|
"formik": "^2.2.9",
|
|
@@ -125,10 +143,5 @@
|
|
|
125
143
|
"react-i18next": "~11.18.3",
|
|
126
144
|
"react-toastify": "~9.0.8"
|
|
127
145
|
},
|
|
128
|
-
"
|
|
129
|
-
"implicitDependencies": [
|
|
130
|
-
"@dynamic-framework/ui"
|
|
131
|
-
]
|
|
132
|
-
},
|
|
133
|
-
"gitHead": "e6757939aaf87031e5e416b603a2359446a2c219"
|
|
146
|
+
"gitHead": "f014ad192ea859979ed465b1c6d27f38f9853fe6"
|
|
134
147
|
}
|
package/src/style/_shame.scss
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
@import "
|
|
1
|
+
@import "funcions";
|
|
2
|
+
@import "bootstrap/scss/functions";
|
|
2
3
|
|
|
3
|
-
@import "variables/+import";
|
|
4
|
+
@import "variables/+import"; // Include any default variable overrides here
|
|
5
|
+
@import "bootstrap/scss/variables";
|
|
6
|
+
// @import "bootstrap/scss/variables-dark"; re-enable with dark implementation
|
|
7
|
+
|
|
8
|
+
@import "maps"; // Include any default map overrides here
|
|
9
|
+
@import "bootstrap/scss/maps";
|
|
10
|
+
|
|
11
|
+
@import "mixins";
|
|
12
|
+
@import "bootstrap/scss/mixins";
|
|
13
|
+
|
|
14
|
+
@import "bootstrap/scss/utilities";
|
|
15
|
+
@import "utilities"; // Extend utilities here
|