@momo-webplatform/mobase 0.0.42 → 0.0.44
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/cjs/index.cjs +5790 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/cjs/index.d.cts +661 -0
- package/dist/esm/index.d.ts +661 -0
- package/dist/esm/index.js +5260 -0
- package/dist/esm/index.js.map +1 -0
- package/package.json +63 -114
- package/LICENSE +0 -21
- package/publish/cjs/components/Accordion/Accordion.js +0 -44
- package/publish/cjs/components/Accordion/index.js +0 -8
- package/publish/cjs/components/AlertDialog/AlertDialog.js +0 -62
- package/publish/cjs/components/AlertDialog/index.js +0 -16
- package/publish/cjs/components/Badge/Badge.js +0 -24
- package/publish/cjs/components/Badge/index.js +0 -6
- package/publish/cjs/components/Breadcrumb/Breadcrumb.js +0 -55
- package/publish/cjs/components/Breadcrumb/index.js +0 -11
- package/publish/cjs/components/Button/Button.js +0 -74
- package/publish/cjs/components/Button/index.js +0 -6
- package/publish/cjs/components/Callout/Callout.js +0 -46
- package/publish/cjs/components/Callout/index.js +0 -5
- package/publish/cjs/components/Card/Card.js +0 -47
- package/publish/cjs/components/Card/index.js +0 -10
- package/publish/cjs/components/Checkbox/Checkbox.js +0 -67
- package/publish/cjs/components/Checkbox/index.js +0 -9
- package/publish/cjs/components/Choicebox/Choicebox.js +0 -90
- package/publish/cjs/components/Choicebox/index.js +0 -6
- package/publish/cjs/components/Combobox/Combobox.js +0 -19
- package/publish/cjs/components/Combobox/index.js +0 -7
- package/publish/cjs/components/Command/Command.js +0 -74
- package/publish/cjs/components/Command/index.js +0 -13
- package/publish/cjs/components/Dialog/Dialog.js +0 -90
- package/publish/cjs/components/Dialog/index.js +0 -15
- package/publish/cjs/components/DialogQr/DialogQr.js +0 -98
- package/publish/cjs/components/DialogQr/index.js +0 -5
- package/publish/cjs/components/Footer/Footer.js +0 -15
- package/publish/cjs/components/Footer/FooterContent.js +0 -27
- package/publish/cjs/components/Footer/index.js +0 -5
- package/publish/cjs/components/Header/Header.js +0 -19
- package/publish/cjs/components/Header/ListItem.js +0 -12
- package/publish/cjs/components/Header/ListItemMobile.js +0 -15
- package/publish/cjs/components/Header/MobileMenu.js +0 -61
- package/publish/cjs/components/Header/NavItems.js +0 -26
- package/publish/cjs/components/Header/NavItemsMobile.js +0 -35
- package/publish/cjs/components/Header/index.js +0 -5
- package/publish/cjs/components/IconButton/IconButton.js +0 -67
- package/publish/cjs/components/IconButton/index.js +0 -5
- package/publish/cjs/components/LightboxGallery/LightboxGallery.js +0 -203
- package/publish/cjs/components/LightboxGallery/index.js +0 -7
- package/publish/cjs/components/NavigationMenu/NavigationMenu.js +0 -62
- package/publish/cjs/components/NavigationMenu/index.js +0 -13
- package/publish/cjs/components/Pagination/Pagination.js +0 -31
- package/publish/cjs/components/Pagination/index.js +0 -8
- package/publish/cjs/components/Popover/Popover.js +0 -37
- package/publish/cjs/components/Popover/index.js +0 -7
- package/publish/cjs/components/RadioGroup/RadioGroup.js +0 -53
- package/publish/cjs/components/RadioGroup/index.js +0 -6
- package/publish/cjs/components/SearchBar/SearchBar.js +0 -48
- package/publish/cjs/components/SearchBar/index.js +0 -5
- package/publish/cjs/components/Select/Select.js +0 -67
- package/publish/cjs/components/Select/index.js +0 -14
- package/publish/cjs/components/Stepper/Stepper.js +0 -100
- package/publish/cjs/components/Stepper/index.js +0 -5
- package/publish/cjs/components/Switch/Switch.js +0 -33
- package/publish/cjs/components/Switch/index.js +0 -5
- package/publish/cjs/components/Tabs/Tabs.js +0 -41
- package/publish/cjs/components/Tabs/index.js +0 -8
- package/publish/cjs/components/TextArea/TextArea.js +0 -38
- package/publish/cjs/components/TextArea/index.js +0 -5
- package/publish/cjs/components/TextButton/TextButton.js +0 -63
- package/publish/cjs/components/TextButton/index.js +0 -6
- package/publish/cjs/components/TextInput/TextInput.js +0 -65
- package/publish/cjs/components/TextInput/index.js +0 -5
- package/publish/cjs/components/Toast/Toast.js +0 -66
- package/publish/cjs/components/Toast/index.js +0 -8
- package/publish/cjs/components/Toast/toaster.js +0 -14
- package/publish/cjs/components/Toast/useToast.js +0 -157
- package/publish/cjs/components/Tooltip/Tooltip.js +0 -44
- package/publish/cjs/components/Tooltip/index.js +0 -9
- package/publish/cjs/foundation/SpinerIcon.js +0 -7
- package/publish/cjs/helpers/SpinerIcon.js +0 -7
- package/publish/cjs/helpers/animations.js +0 -18
- package/publish/cjs/helpers/clone-deep.js +0 -15
- package/publish/cjs/helpers/clone-deep.spec.js +0 -22
- package/publish/cjs/helpers/constants.js +0 -204
- package/publish/cjs/helpers/generic-forward-ref.js +0 -5
- package/publish/cjs/helpers/http.js +0 -10
- package/publish/cjs/helpers/is-client.js +0 -7
- package/publish/cjs/helpers/is-object.js +0 -12
- package/publish/cjs/helpers/is-object.spec.js +0 -24
- package/publish/cjs/helpers/merge-deep.js +0 -29
- package/publish/cjs/helpers/merge-deep.spec.js +0 -56
- package/publish/cjs/helpers/omit.js +0 -16
- package/publish/cjs/helpers/omit.spec.js +0 -9
- package/publish/cjs/helpers/utils.js +0 -23
- package/publish/cjs/index.js +0 -48
- package/publish/cjs/mobase-tw-plugin/animations/index.js +0 -25
- package/publish/cjs/mobase-tw-plugin/colors/blue.js +0 -16
- package/publish/cjs/mobase-tw-plugin/colors/common.js +0 -23
- package/publish/cjs/mobase-tw-plugin/colors/gray.js +0 -16
- package/publish/cjs/mobase-tw-plugin/colors/green.js +0 -16
- package/publish/cjs/mobase-tw-plugin/colors/index.js +0 -9
- package/publish/cjs/mobase-tw-plugin/colors/orange.js +0 -16
- package/publish/cjs/mobase-tw-plugin/colors/pink.js +0 -16
- package/publish/cjs/mobase-tw-plugin/colors/purple.js +0 -16
- package/publish/cjs/mobase-tw-plugin/colors/red.js +0 -16
- package/publish/cjs/mobase-tw-plugin/colors/yellow.js +0 -16
- package/publish/cjs/mobase-tw-plugin/font-sizes.js +0 -98
- package/publish/cjs/mobase-tw-plugin/index.js +0 -5
- package/publish/cjs/mobase-tw-plugin/layout.js +0 -48
- package/publish/cjs/mobase-tw-plugin/plugin.js +0 -201
- package/publish/cjs/mobase-tw-plugin/radius.js +0 -16
- package/publish/cjs/mobase-tw-plugin/types.js +0 -54
- package/publish/cjs/mobase-tw-plugin/utilities/custom.js +0 -25
- package/publish/cjs/mobase-tw-plugin/utilities/index.js +0 -14
- package/publish/cjs/mobase-tw-plugin/utilities/scrollbar-hide.js +0 -30
- package/publish/cjs/mobase-tw-plugin/utilities/transition.js +0 -88
- package/publish/cjs/mobase-tw-plugin/utils/index.js +0 -17
- package/publish/cjs/mobase-tw-plugin/utils/object.js +0 -53
- package/publish/cjs/mobase-tw-plugin/utils/theme.js +0 -70
- package/publish/cjs/site/index.js +0 -5
- package/publish/cjs/site/meta.js +0 -57
- package/publish/cjs/tsconfig.lib.tsbuildinfo +0 -1
- package/publish/cjs/types/index.js +0 -2
- package/publish/esm/components/Accordion/Accordion.d.ts +0 -20
- package/publish/esm/components/Accordion/Accordion.js +0 -15
- package/publish/esm/components/Accordion/index.d.ts +0 -2
- package/publish/esm/components/Accordion/index.js +0 -1
- package/publish/esm/components/AlertDialog/AlertDialog.d.ts +0 -49
- package/publish/esm/components/AlertDialog/AlertDialog.js +0 -26
- package/publish/esm/components/AlertDialog/index.d.ts +0 -2
- package/publish/esm/components/AlertDialog/index.js +0 -5
- package/publish/esm/components/Badge/Badge.d.ts +0 -10
- package/publish/esm/components/Badge/Badge.js +0 -20
- package/publish/esm/components/Badge/index.d.ts +0 -1
- package/publish/esm/components/Badge/index.js +0 -1
- package/publish/esm/components/Breadcrumb/Breadcrumb.d.ts +0 -20
- package/publish/esm/components/Breadcrumb/Breadcrumb.js +0 -23
- package/publish/esm/components/Breadcrumb/index.d.ts +0 -2
- package/publish/esm/components/Breadcrumb/index.js +0 -2
- package/publish/esm/components/Button/Button.d.ts +0 -26
- package/publish/esm/components/Button/Button.js +0 -44
- package/publish/esm/components/Button/index.d.ts +0 -2
- package/publish/esm/components/Button/index.js +0 -1
- package/publish/esm/components/Callout/Callout.d.ts +0 -19
- package/publish/esm/components/Callout/Callout.js +0 -43
- package/publish/esm/components/Callout/index.d.ts +0 -1
- package/publish/esm/components/Callout/index.js +0 -1
- package/publish/esm/components/Card/Card.d.ts +0 -9
- package/publish/esm/components/Card/Card.js +0 -16
- package/publish/esm/components/Card/index.d.ts +0 -1
- package/publish/esm/components/Card/index.js +0 -1
- package/publish/esm/components/Checkbox/Checkbox.d.ts +0 -40
- package/publish/esm/components/Checkbox/Checkbox.js +0 -36
- package/publish/esm/components/Checkbox/index.d.ts +0 -2
- package/publish/esm/components/Checkbox/index.js +0 -1
- package/publish/esm/components/Choicebox/Choicebox.d.ts +0 -31
- package/publish/esm/components/Choicebox/Choicebox.js +0 -62
- package/publish/esm/components/Choicebox/index.d.ts +0 -1
- package/publish/esm/components/Choicebox/index.js +0 -1
- package/publish/esm/components/Combobox/Combobox.d.ts +0 -19
- package/publish/esm/components/Combobox/Combobox.js +0 -13
- package/publish/esm/components/Combobox/index.d.ts +0 -1
- package/publish/esm/components/Combobox/index.js +0 -1
- package/publish/esm/components/Command/Command.d.ts +0 -57
- package/publish/esm/components/Command/Command.js +0 -40
- package/publish/esm/components/Command/index.d.ts +0 -1
- package/publish/esm/components/Command/index.js +0 -1
- package/publish/esm/components/Dialog/Dialog.d.ts +0 -51
- package/publish/esm/components/Dialog/Dialog.js +0 -54
- package/publish/esm/components/Dialog/index.d.ts +0 -1
- package/publish/esm/components/Dialog/index.js +0 -1
- package/publish/esm/components/DialogQr/DialogQr.d.ts +0 -33
- package/publish/esm/components/DialogQr/DialogQr.js +0 -91
- package/publish/esm/components/DialogQr/index.d.ts +0 -1
- package/publish/esm/components/DialogQr/index.js +0 -1
- package/publish/esm/components/Footer/Footer.d.ts +0 -22
- package/publish/esm/components/Footer/Footer.js +0 -9
- package/publish/esm/components/Footer/FooterContent.d.ts +0 -4
- package/publish/esm/components/Footer/FooterContent.js +0 -27
- package/publish/esm/components/Footer/index.d.ts +0 -1
- package/publish/esm/components/Footer/index.js +0 -1
- package/publish/esm/components/Header/Header.d.ts +0 -44
- package/publish/esm/components/Header/Header.js +0 -13
- package/publish/esm/components/Header/ListItem.d.ts +0 -9
- package/publish/esm/components/Header/ListItem.js +0 -10
- package/publish/esm/components/Header/ListItemMobile.d.ts +0 -9
- package/publish/esm/components/Header/ListItemMobile.js +0 -10
- package/publish/esm/components/Header/MobileMenu.d.ts +0 -6
- package/publish/esm/components/Header/MobileMenu.js +0 -56
- package/publish/esm/components/Header/NavItems.d.ts +0 -2
- package/publish/esm/components/Header/NavItems.js +0 -21
- package/publish/esm/components/Header/NavItemsMobile.d.ts +0 -2
- package/publish/esm/components/Header/NavItemsMobile.js +0 -30
- package/publish/esm/components/Header/index.d.ts +0 -1
- package/publish/esm/components/Header/index.js +0 -1
- package/publish/esm/components/IconButton/IconButton.d.ts +0 -22
- package/publish/esm/components/IconButton/IconButton.js +0 -40
- package/publish/esm/components/IconButton/index.d.ts +0 -2
- package/publish/esm/components/IconButton/index.js +0 -1
- package/publish/esm/components/LightboxGallery/LightboxGallery.d.ts +0 -37
- package/publish/esm/components/LightboxGallery/LightboxGallery.js +0 -171
- package/publish/esm/components/LightboxGallery/index.d.ts +0 -1
- package/publish/esm/components/LightboxGallery/index.js +0 -1
- package/publish/esm/components/NavigationMenu/NavigationMenu.d.ts +0 -12
- package/publish/esm/components/NavigationMenu/NavigationMenu.js +0 -28
- package/publish/esm/components/NavigationMenu/index.d.ts +0 -1
- package/publish/esm/components/NavigationMenu/index.js +0 -1
- package/publish/esm/components/Pagination/Pagination.d.ts +0 -16
- package/publish/esm/components/Pagination/Pagination.js +0 -28
- package/publish/esm/components/Pagination/index.d.ts +0 -1
- package/publish/esm/components/Pagination/index.js +0 -1
- package/publish/esm/components/Popover/Popover.d.ts +0 -6
- package/publish/esm/components/Popover/Popover.js +0 -9
- package/publish/esm/components/Popover/index.d.ts +0 -1
- package/publish/esm/components/Popover/index.js +0 -1
- package/publish/esm/components/RadioGroup/RadioGroup.d.ts +0 -13
- package/publish/esm/components/RadioGroup/RadioGroup.js +0 -26
- package/publish/esm/components/RadioGroup/index.d.ts +0 -1
- package/publish/esm/components/RadioGroup/index.js +0 -1
- package/publish/esm/components/SearchBar/SearchBar.d.ts +0 -7
- package/publish/esm/components/SearchBar/SearchBar.js +0 -45
- package/publish/esm/components/SearchBar/index.d.ts +0 -1
- package/publish/esm/components/SearchBar/index.js +0 -1
- package/publish/esm/components/Select/Select.d.ts +0 -19
- package/publish/esm/components/Select/Select.js +0 -32
- package/publish/esm/components/Select/index.d.ts +0 -1
- package/publish/esm/components/Select/index.js +0 -1
- package/publish/esm/components/Stepper/Stepper.d.ts +0 -15
- package/publish/esm/components/Stepper/Stepper.js +0 -97
- package/publish/esm/components/Stepper/index.d.ts +0 -1
- package/publish/esm/components/Stepper/index.js +0 -1
- package/publish/esm/components/Switch/Switch.d.ts +0 -4
- package/publish/esm/components/Switch/Switch.js +0 -7
- package/publish/esm/components/Switch/index.d.ts +0 -1
- package/publish/esm/components/Switch/index.js +0 -1
- package/publish/esm/components/Tabs/Tabs.d.ts +0 -16
- package/publish/esm/components/Tabs/Tabs.js +0 -12
- package/publish/esm/components/Tabs/index.d.ts +0 -1
- package/publish/esm/components/Tabs/index.js +0 -1
- package/publish/esm/components/TextArea/TextArea.d.ts +0 -9
- package/publish/esm/components/TextArea/TextArea.js +0 -35
- package/publish/esm/components/TextArea/index.d.ts +0 -2
- package/publish/esm/components/TextArea/index.js +0 -1
- package/publish/esm/components/TextButton/TextButton.d.ts +0 -22
- package/publish/esm/components/TextButton/TextButton.js +0 -36
- package/publish/esm/components/TextButton/index.d.ts +0 -2
- package/publish/esm/components/TextButton/index.js +0 -1
- package/publish/esm/components/TextInput/TextInput.d.ts +0 -11
- package/publish/esm/components/TextInput/TextInput.js +0 -62
- package/publish/esm/components/TextInput/index.d.ts +0 -2
- package/publish/esm/components/TextInput/index.js +0 -1
- package/publish/esm/components/Toast/Toast.d.ts +0 -15
- package/publish/esm/components/Toast/Toast.js +0 -34
- package/publish/esm/components/Toast/index.d.ts +0 -2
- package/publish/esm/components/Toast/index.js +0 -2
- package/publish/esm/components/Toast/toaster.d.ts +0 -1
- package/publish/esm/components/Toast/toaster.js +0 -10
- package/publish/esm/components/Toast/useToast.d.ts +0 -44
- package/publish/esm/components/Toast/useToast.js +0 -129
- package/publish/esm/components/Tooltip/Tooltip.d.ts +0 -12
- package/publish/esm/components/Tooltip/Tooltip.js +0 -14
- package/publish/esm/components/Tooltip/index.d.ts +0 -1
- package/publish/esm/components/Tooltip/index.js +0 -1
- package/publish/esm/foundation/SpinerIcon.d.ts +0 -6
- package/publish/esm/foundation/SpinerIcon.js +0 -5
- package/publish/esm/helpers/SpinerIcon.d.ts +0 -6
- package/publish/esm/helpers/SpinerIcon.js +0 -5
- package/publish/esm/helpers/animations.d.ts +0 -26
- package/publish/esm/helpers/animations.js +0 -14
- package/publish/esm/helpers/clone-deep.d.ts +0 -1
- package/publish/esm/helpers/clone-deep.js +0 -11
- package/publish/esm/helpers/clone-deep.spec.d.ts +0 -1
- package/publish/esm/helpers/clone-deep.spec.js +0 -20
- package/publish/esm/helpers/constants.d.ts +0 -69
- package/publish/esm/helpers/constants.js +0 -201
- package/publish/esm/helpers/generic-forward-ref.d.ts +0 -5
- package/publish/esm/helpers/generic-forward-ref.js +0 -3
- package/publish/esm/helpers/http.d.ts +0 -1
- package/publish/esm/helpers/http.js +0 -6
- package/publish/esm/helpers/is-client.d.ts +0 -1
- package/publish/esm/helpers/is-client.js +0 -3
- package/publish/esm/helpers/is-object.d.ts +0 -6
- package/publish/esm/helpers/is-object.js +0 -8
- package/publish/esm/helpers/is-object.spec.d.ts +0 -1
- package/publish/esm/helpers/is-object.spec.js +0 -22
- package/publish/esm/helpers/merge-deep.d.ts +0 -7
- package/publish/esm/helpers/merge-deep.js +0 -25
- package/publish/esm/helpers/merge-deep.spec.d.ts +0 -1
- package/publish/esm/helpers/merge-deep.spec.js +0 -54
- package/publish/esm/helpers/omit.d.ts +0 -1
- package/publish/esm/helpers/omit.js +0 -12
- package/publish/esm/helpers/omit.spec.d.ts +0 -1
- package/publish/esm/helpers/omit.spec.js +0 -7
- package/publish/esm/helpers/utils.d.ts +0 -8
- package/publish/esm/helpers/utils.js +0 -18
- package/publish/esm/index.d.ts +0 -32
- package/publish/esm/index.js +0 -32
- package/publish/esm/mobase-tw-plugin/animations/index.d.ts +0 -34
- package/publish/esm/mobase-tw-plugin/animations/index.js +0 -22
- package/publish/esm/mobase-tw-plugin/colors/blue.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/blue.js +0 -13
- package/publish/esm/mobase-tw-plugin/colors/common.d.ts +0 -109
- package/publish/esm/mobase-tw-plugin/colors/common.js +0 -20
- package/publish/esm/mobase-tw-plugin/colors/gray.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/gray.js +0 -13
- package/publish/esm/mobase-tw-plugin/colors/green.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/green.js +0 -13
- package/publish/esm/mobase-tw-plugin/colors/index.d.ts +0 -110
- package/publish/esm/mobase-tw-plugin/colors/index.js +0 -5
- package/publish/esm/mobase-tw-plugin/colors/orange.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/orange.js +0 -13
- package/publish/esm/mobase-tw-plugin/colors/pink.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/pink.js +0 -13
- package/publish/esm/mobase-tw-plugin/colors/purple.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/purple.js +0 -13
- package/publish/esm/mobase-tw-plugin/colors/red.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/red.js +0 -13
- package/publish/esm/mobase-tw-plugin/colors/yellow.d.ts +0 -13
- package/publish/esm/mobase-tw-plugin/colors/yellow.js +0 -13
- package/publish/esm/mobase-tw-plugin/font-sizes.d.ts +0 -59
- package/publish/esm/mobase-tw-plugin/font-sizes.js +0 -94
- package/publish/esm/mobase-tw-plugin/index.d.ts +0 -1
- package/publish/esm/mobase-tw-plugin/index.js +0 -1
- package/publish/esm/mobase-tw-plugin/layout.d.ts +0 -45
- package/publish/esm/mobase-tw-plugin/layout.js +0 -45
- package/publish/esm/mobase-tw-plugin/plugin.d.ts +0 -10
- package/publish/esm/mobase-tw-plugin/plugin.js +0 -194
- package/publish/esm/mobase-tw-plugin/radius.d.ts +0 -9
- package/publish/esm/mobase-tw-plugin/radius.js +0 -12
- package/publish/esm/mobase-tw-plugin/types.d.ts +0 -103
- package/publish/esm/mobase-tw-plugin/types.js +0 -51
- package/publish/esm/mobase-tw-plugin/utilities/custom.d.ts +0 -24
- package/publish/esm/mobase-tw-plugin/utilities/custom.js +0 -23
- package/publish/esm/mobase-tw-plugin/utilities/index.d.ts +0 -114
- package/publish/esm/mobase-tw-plugin/utilities/index.js +0 -8
- package/publish/esm/mobase-tw-plugin/utilities/scrollbar-hide.d.ts +0 -23
- package/publish/esm/mobase-tw-plugin/utilities/scrollbar-hide.js +0 -28
- package/publish/esm/mobase-tw-plugin/utilities/transition.d.ts +0 -86
- package/publish/esm/mobase-tw-plugin/utilities/transition.js +0 -86
- package/publish/esm/mobase-tw-plugin/utils/index.d.ts +0 -1
- package/publish/esm/mobase-tw-plugin/utils/index.js +0 -1
- package/publish/esm/mobase-tw-plugin/utils/object.d.ts +0 -10
- package/publish/esm/mobase-tw-plugin/utils/object.js +0 -44
- package/publish/esm/mobase-tw-plugin/utils/theme.d.ts +0 -2
- package/publish/esm/mobase-tw-plugin/utils/theme.js +0 -65
- package/publish/esm/site/index.d.ts +0 -2
- package/publish/esm/site/index.js +0 -2
- package/publish/esm/site/meta.d.ts +0 -1
- package/publish/esm/site/meta.js +0 -53
- package/publish/esm/tsconfig.lib.tsbuildinfo +0 -1
- package/publish/esm/types/index.d.ts +0 -3
- package/publish/esm/types/index.js +0 -1
package/package.json
CHANGED
|
@@ -1,31 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@momo-webplatform/mobase",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.44",
|
|
4
4
|
"description": "Mobase is the UI framework upon we build product experiences at MoMo.vn, base on Radix primitives, and Tailwind CSS.",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"dev": "rm -rf .next && next dev",
|
|
7
|
-
"build": "rm -rf .next && next build",
|
|
8
|
-
"start": "next start",
|
|
9
|
-
"build:lib": "rm -rf ./publish/ && yarn build:lib:esm && yarn build:lib:cjs",
|
|
10
|
-
"build:lib:cjs": "tsc -p tsconfig.lib.json",
|
|
11
|
-
"build:lib:esm": "tsc -p tsconfig.lib.json --module esnext --declaration --outDir ./publish/esm",
|
|
12
|
-
"storybook": "storybook dev -p 6006",
|
|
13
|
-
"build-storybook": "storybook build",
|
|
14
|
-
"web-demo": "git pull && pnpm i && pnpm build && pnpm start",
|
|
15
|
-
"release": "standard-version -a"
|
|
16
|
-
},
|
|
17
|
-
"publishConfig": {
|
|
18
|
-
"access": "public"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"./publish/"
|
|
22
|
-
],
|
|
23
|
-
"main": "./publish/cjs/index.js",
|
|
24
|
-
"module": "./publish/esm/index.js",
|
|
25
|
-
"types": "./publish/esm/index.d.ts",
|
|
26
5
|
"author": "MoMo - Front-end dev",
|
|
27
6
|
"license": "MIT",
|
|
28
7
|
"homepage": "https://momo.vn/",
|
|
8
|
+
"files": [
|
|
9
|
+
"./dist/"
|
|
10
|
+
],
|
|
11
|
+
"type": "module",
|
|
12
|
+
"main": "./dist/cjs/index.cjs",
|
|
13
|
+
"types": "./dist/cjs/index.d.cts",
|
|
14
|
+
"module": "./dist/esm/index.js",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"require": {
|
|
18
|
+
"types": "./dist/cjs/index.d.cts",
|
|
19
|
+
"default": "./dist/cjs/index.cjs"
|
|
20
|
+
},
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/esm/index.d.ts",
|
|
23
|
+
"default": "./dist/esm/index.js"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"sideEffects": false,
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@turbo/gen": "^1.12.4",
|
|
30
|
+
"@types/node": "^20.11.24",
|
|
31
|
+
"@types/eslint": "^8.56.5",
|
|
32
|
+
"@types/react": "^18.2.61",
|
|
33
|
+
"@types/react-dom": "^18.2.19",
|
|
34
|
+
"eslint": "^8.57.0",
|
|
35
|
+
"@types/color": "^3.0.6",
|
|
36
|
+
"@types/lodash.omit": "^4.5.9",
|
|
37
|
+
"react": "^18.2.0",
|
|
38
|
+
"@swc/core": "^1.4.0",
|
|
39
|
+
"typescript": "^5.3.3",
|
|
40
|
+
"prettier-plugin-tailwindcss": "^0.5.11",
|
|
41
|
+
"tsup": "^8.0.2",
|
|
42
|
+
"concurrently": "^8.2.2",
|
|
43
|
+
"@repo/eslint-config": "0.0.0",
|
|
44
|
+
"@repo/typescript-config": "0.0.0"
|
|
45
|
+
},
|
|
29
46
|
"dependencies": {
|
|
30
47
|
"@heroicons/react": "^2.1.1",
|
|
31
48
|
"@radix-ui/primitive": "^1.0.1",
|
|
@@ -58,105 +75,37 @@
|
|
|
58
75
|
"@radix-ui/react-tooltip": "^1.0.7",
|
|
59
76
|
"@radix-ui/react-use-previous": "^1.0.1",
|
|
60
77
|
"@radix-ui/react-use-size": "^1.0.1",
|
|
61
|
-
"@storybook/addon-styling": "^1.3.7",
|
|
62
|
-
"@types/color": "^3.0.6",
|
|
63
|
-
"autoprefixer": "^10.4.16",
|
|
64
|
-
"axios": "^1.6.7",
|
|
65
|
-
"class-variance-authority": "^0.7.0",
|
|
66
78
|
"clsx": "^2.1.0",
|
|
67
|
-
"cmdk": "^0.2.1",
|
|
68
79
|
"color": "^4.2.3",
|
|
69
|
-
"
|
|
80
|
+
"color2k": "^2.0.3",
|
|
81
|
+
"cva": "1.0.0-beta.1",
|
|
70
82
|
"deepmerge": "^4.3.1",
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"flat": "^3.0.1",
|
|
74
|
-
"framer-motion": "^11.0.24",
|
|
75
|
-
"html-react-parser": "^5.1.10",
|
|
83
|
+
"flat": "^6.0.1",
|
|
84
|
+
"lodash.omit": "^4.5.0",
|
|
76
85
|
"lodash": "^4.17.21",
|
|
77
86
|
"lodash.foreach": "^4.5.0",
|
|
78
|
-
"
|
|
79
|
-
"
|
|
87
|
+
"tailwind-merge": "^2.2.1",
|
|
88
|
+
"framer-motion": "^11.0.24",
|
|
80
89
|
"next": "^13.0.0",
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"qrcode.react": "1.0
|
|
85
|
-
"react": "^
|
|
86
|
-
"react-day-picker": "^8.10.0",
|
|
87
|
-
"react-docgen-typescript": "^2.2.2",
|
|
88
|
-
"react-dom": "^18.2.0",
|
|
89
|
-
"react-icons": "^4.11.0",
|
|
90
|
-
"react-indiana-drag-scroll": "^2.2.0",
|
|
90
|
+
"class-variance-authority": "^0.7.0",
|
|
91
|
+
"cmdk": "^0.2.1",
|
|
92
|
+
"lucide-react": "^0.307.0",
|
|
93
|
+
"qrcode.react": "^3.1.0",
|
|
94
|
+
"html-react-parser": "^5.1.10",
|
|
91
95
|
"react-use": "^17.5.0",
|
|
92
96
|
"swiper": "^8.4.4",
|
|
93
|
-
"
|
|
94
|
-
"tailwindcss": "^3.4.3",
|
|
95
|
-
"tailwindcss-animate": "^1.0.7",
|
|
96
|
-
"vaul": "^0.8.0"
|
|
97
|
-
},
|
|
98
|
-
"devDependencies": {
|
|
99
|
-
"@next/eslint-plugin-next": "^14.1.4",
|
|
100
|
-
"@storybook/addon-essentials": "^7.6.7",
|
|
101
|
-
"@storybook/addon-interactions": "^7.6.7",
|
|
102
|
-
"@storybook/addon-links": "^7.6.7",
|
|
103
|
-
"@storybook/addon-onboarding": "^1.0.10",
|
|
104
|
-
"@storybook/blocks": "^7.6.7",
|
|
105
|
-
"@storybook/nextjs": "^7.6.7",
|
|
106
|
-
"@storybook/react": "^7.6.7",
|
|
107
|
-
"@storybook/test": "^7.6.7",
|
|
108
|
-
"@testing-library/dom": "^9.3.3",
|
|
109
|
-
"@testing-library/jest-dom": "^6.1.4",
|
|
110
|
-
"@testing-library/react": "^14.1.0",
|
|
111
|
-
"@testing-library/user-event": "^14.5.1",
|
|
112
|
-
"@types/dlv": "^1.1.4",
|
|
113
|
-
"@types/node": "^20.9.0",
|
|
114
|
-
"@types/react": "^18.2.37",
|
|
115
|
-
"@types/react-dom": "^18.2.15",
|
|
116
|
-
"@types/react-syntax-highlighter": "^15.5.10",
|
|
117
|
-
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
|
118
|
-
"@typescript-eslint/parser": "^7.3.1",
|
|
119
|
-
"@vitejs/plugin-react": "^4.1.1",
|
|
120
|
-
"@vitest/coverage-v8": "^0.34.6",
|
|
121
|
-
"@vitest/ui": "^0.34.6",
|
|
122
|
-
"autoprefixer": "^10.4.16",
|
|
123
|
-
"eslint": "^8.57.0",
|
|
124
|
-
"eslint-config-airbnb": "^19.0.4",
|
|
125
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
|
126
|
-
"eslint-config-next": "^14.1.4",
|
|
127
|
-
"eslint-config-prettier": "^9.1.0",
|
|
128
|
-
"eslint-import-resolver-alias": "^1.1.2",
|
|
129
|
-
"eslint-plugin-etc": "^2.0.3",
|
|
130
|
-
"eslint-plugin-json-schema-validator": "^4.9.0",
|
|
131
|
-
"eslint-plugin-mdx": "^3.1.5",
|
|
132
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
133
|
-
"jsdom": "^22.1.0",
|
|
134
|
-
"markdown-toc": "^1.2.0",
|
|
135
|
-
"prettier": "^3.0.3",
|
|
136
|
-
"prettier-plugin-organize-imports": "^3.2.3",
|
|
137
|
-
"prettier-plugin-tailwindcss": "^0.5.6",
|
|
138
|
-
"react": "^18.2.0",
|
|
139
|
-
"react-dom": "^18.2.0",
|
|
140
|
-
"react-markdown": "^9.0.0",
|
|
141
|
-
"resize-observer-polyfill": "^1.5.1",
|
|
142
|
-
"sharp": "^0.32.6",
|
|
143
|
-
"standard-version": "^9.5.0",
|
|
144
|
-
"storybook": "^7.6.7",
|
|
145
|
-
"terser-webpack-plugin": "^5.3.9",
|
|
146
|
-
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
147
|
-
"typescript": "^5.2.2",
|
|
148
|
-
"vite": "^4.5.0",
|
|
149
|
-
"vite-tsconfig-paths": "^4.2.1",
|
|
150
|
-
"vitest": "^0.34.6"
|
|
151
|
-
},
|
|
152
|
-
"pnpm": {
|
|
153
|
-
"overrides": {
|
|
154
|
-
"react-docgen-typescript": "^2.2.2",
|
|
155
|
-
"flexsearch": "0.7.31"
|
|
156
|
-
}
|
|
97
|
+
"tailwindcss": "*"
|
|
157
98
|
},
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
99
|
+
"scripts": {
|
|
100
|
+
"build:cjs": "tsup --format cjs --external react",
|
|
101
|
+
"build:esm": "tsup --format esm --external react",
|
|
102
|
+
"build": "concurrently \"npm run build:cjs\" \"npm run build:esm\"",
|
|
103
|
+
"build:watch:esm": "npm run build:esm -- --watch",
|
|
104
|
+
"build:watch:cjs": "npm run build:cjs -- --watch",
|
|
105
|
+
"build:watch": "concurrently \"npm:build:watch:*\"",
|
|
106
|
+
"dev": "npm run build:watch",
|
|
107
|
+
"clean": "rimraf .turbo node_modules dist",
|
|
108
|
+
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
|
|
109
|
+
"lint:fix": "eslint 'src/**/*.{js,jsx,ts,tsx}' --fix"
|
|
161
110
|
}
|
|
162
|
-
}
|
|
111
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 Shu Ding
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.AccordionContent = exports.AccordionTrigger = exports.AccordionItem = exports.Accordion = void 0;
|
|
27
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
const React = __importStar(require("react"));
|
|
29
|
-
const AccordionPrimitive = __importStar(require("@radix-ui/react-accordion"));
|
|
30
|
-
const lucide_react_1 = require("lucide-react");
|
|
31
|
-
const utils_1 = require("../../helpers/utils");
|
|
32
|
-
// const Accordion = AccordionPrimitive.Root;
|
|
33
|
-
const Accordion = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AccordionPrimitive.Root, { ref: ref, ...props })));
|
|
34
|
-
exports.Accordion = Accordion;
|
|
35
|
-
Accordion.displayName = "AccordionRoot";
|
|
36
|
-
const AccordionItem = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AccordionPrimitive.Item, { ref: ref, className: (0, utils_1.cn)("border-b border-gray-200", className), ...props })));
|
|
37
|
-
exports.AccordionItem = AccordionItem;
|
|
38
|
-
AccordionItem.displayName = "AccordionItem";
|
|
39
|
-
const AccordionTrigger = React.forwardRef(({ className, children, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AccordionPrimitive.Header, { className: "flex", children: (0, jsx_runtime_1.jsxs)(AccordionPrimitive.Trigger, { ref: ref, className: (0, utils_1.cn)("flex flex-1 items-center text-left justify-between py-4 font-medium transition-all hover:underline hover:text-pink-600 [&[data-state=open]]:text-pink-600 [&[data-state=open]>svg]:rotate-180 text-gray-900", className), ...props, children: [children, (0, jsx_runtime_1.jsx)(lucide_react_1.ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-200 ml-1" })] }) })));
|
|
40
|
-
exports.AccordionTrigger = AccordionTrigger;
|
|
41
|
-
AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
|
|
42
|
-
const AccordionContent = React.forwardRef(({ className, children, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AccordionPrimitive.Content, { ref: ref, className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ", ...props, children: (0, jsx_runtime_1.jsx)("div", { className: (0, utils_1.cn)("pb-4 pt-0 text-gray-900 prose-sm", className), children: children }) })));
|
|
43
|
-
exports.AccordionContent = AccordionContent;
|
|
44
|
-
AccordionContent.displayName = AccordionPrimitive.Content.displayName;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AccordionContent = exports.AccordionTrigger = exports.AccordionItem = exports.Accordion = void 0;
|
|
4
|
-
var Accordion_1 = require("./Accordion");
|
|
5
|
-
Object.defineProperty(exports, "Accordion", { enumerable: true, get: function () { return Accordion_1.Accordion; } });
|
|
6
|
-
Object.defineProperty(exports, "AccordionItem", { enumerable: true, get: function () { return Accordion_1.AccordionItem; } });
|
|
7
|
-
Object.defineProperty(exports, "AccordionTrigger", { enumerable: true, get: function () { return Accordion_1.AccordionTrigger; } });
|
|
8
|
-
Object.defineProperty(exports, "AccordionContent", { enumerable: true, get: function () { return Accordion_1.AccordionContent; } });
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.AlertDialogCancel = exports.AlertDialogAction = exports.AlertDialogDescription = exports.AlertDialogTitle = exports.AlertDialogFooter = exports.AlertDialogHeader = exports.AlertDialogContent = exports.AlertDialogTrigger = exports.AlertDialogOverlay = exports.AlertDialogPortal = exports.AlertDialog = void 0;
|
|
27
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
const React = __importStar(require("react"));
|
|
29
|
-
const AlertDialogPrimitive = __importStar(require("@radix-ui/react-alert-dialog"));
|
|
30
|
-
const utils_1 = require("../../helpers/utils");
|
|
31
|
-
const Button_1 = require("../Button");
|
|
32
|
-
const AlertDialog = AlertDialogPrimitive.Root;
|
|
33
|
-
exports.AlertDialog = AlertDialog;
|
|
34
|
-
const AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
35
|
-
exports.AlertDialogTrigger = AlertDialogTrigger;
|
|
36
|
-
const AlertDialogPortal = AlertDialogPrimitive.Portal;
|
|
37
|
-
exports.AlertDialogPortal = AlertDialogPortal;
|
|
38
|
-
const AlertDialogOverlay = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Overlay, { className: (0, utils_1.cn)("fixed inset-0 z-50 bg-black/70 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className), ...props, ref: ref })));
|
|
39
|
-
exports.AlertDialogOverlay = AlertDialogOverlay;
|
|
40
|
-
AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
|
|
41
|
-
const AlertDialogContent = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsxs)(AlertDialogPortal, { children: [(0, jsx_runtime_1.jsx)(AlertDialogOverlay, {}), (0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Content, { ref: ref, className: (0, utils_1.cn)("fixed left-[50%] w-[90vw] bg-white text-gray-700 border border-gray-300 top-[50%] z-50 grid w- max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-xl", className), ...props })] })));
|
|
42
|
-
exports.AlertDialogContent = AlertDialogContent;
|
|
43
|
-
AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
|
|
44
|
-
const AlertDialogHeader = ({ className, ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: (0, utils_1.cn)("flex flex-col space-y-2 text-left", className), ...props }));
|
|
45
|
-
exports.AlertDialogHeader = AlertDialogHeader;
|
|
46
|
-
AlertDialogHeader.displayName = "AlertDialogHeader";
|
|
47
|
-
const AlertDialogFooter = ({ className, ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: (0, utils_1.cn)("flex flex-row justify-end space-x-4", className), ...props }));
|
|
48
|
-
exports.AlertDialogFooter = AlertDialogFooter;
|
|
49
|
-
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
50
|
-
const AlertDialogTitle = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Title, { ref: ref, className: (0, utils_1.cn)("text-lg text-gray-900 font-semibold", className), ...props })));
|
|
51
|
-
exports.AlertDialogTitle = AlertDialogTitle;
|
|
52
|
-
AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
|
|
53
|
-
const AlertDialogDescription = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Description, { ref: ref, className: (0, utils_1.cn)("text-sm text-muted-foreground", className), ...props })));
|
|
54
|
-
exports.AlertDialogDescription = AlertDialogDescription;
|
|
55
|
-
AlertDialogDescription.displayName =
|
|
56
|
-
AlertDialogPrimitive.Description.displayName;
|
|
57
|
-
const AlertDialogAction = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Action, { ref: ref, className: (0, utils_1.cn)((0, Button_1.buttonVariants)({ variant: "primary" }), "", className), ...props })));
|
|
58
|
-
exports.AlertDialogAction = AlertDialogAction;
|
|
59
|
-
AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
|
|
60
|
-
const AlertDialogCancel = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Cancel, { ref: ref, className: (0, utils_1.cn)((0, Button_1.buttonVariants)({ variant: "secondary" }), className), ...props })));
|
|
61
|
-
exports.AlertDialogCancel = AlertDialogCancel;
|
|
62
|
-
AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AlertDialogHeader = exports.AlertDialogFooter = exports.AlertDialogDescription = exports.AlertDialogTitle = exports.AlertDialogCancel = exports.AlertDialogAction = exports.AlertDialogContent = exports.AlertDialogOverlay = exports.AlertDialogPortal = exports.AlertDialogTrigger = exports.AlertDialog = void 0;
|
|
4
|
-
var AlertDialog_1 = require("./AlertDialog");
|
|
5
|
-
//
|
|
6
|
-
Object.defineProperty(exports, "AlertDialog", { enumerable: true, get: function () { return AlertDialog_1.AlertDialog; } });
|
|
7
|
-
Object.defineProperty(exports, "AlertDialogTrigger", { enumerable: true, get: function () { return AlertDialog_1.AlertDialogTrigger; } });
|
|
8
|
-
Object.defineProperty(exports, "AlertDialogPortal", { enumerable: true, get: function () { return AlertDialog_1.AlertDialogPortal; } });
|
|
9
|
-
Object.defineProperty(exports, "AlertDialogOverlay", { enumerable: true, get: function () { return AlertDialog_1.AlertDialogOverlay; } });
|
|
10
|
-
Object.defineProperty(exports, "AlertDialogContent", { enumerable: true, get: function () { return AlertDialog_1.AlertDialogContent; } });
|
|
11
|
-
Object.defineProperty(exports, "AlertDialogAction", { enumerable: true, get: function () { return AlertDialog_1.AlertDialogAction; } });
|
|
12
|
-
Object.defineProperty(exports, "AlertDialogCancel", { enumerable: true, get: function () { return AlertDialog_1.AlertDialogCancel; } });
|
|
13
|
-
Object.defineProperty(exports, "AlertDialogTitle", { enumerable: true, get: function () { return AlertDialog_1.AlertDialogTitle; } });
|
|
14
|
-
Object.defineProperty(exports, "AlertDialogDescription", { enumerable: true, get: function () { return AlertDialog_1.AlertDialogDescription; } });
|
|
15
|
-
Object.defineProperty(exports, "AlertDialogFooter", { enumerable: true, get: function () { return AlertDialog_1.AlertDialogFooter; } });
|
|
16
|
-
Object.defineProperty(exports, "AlertDialogHeader", { enumerable: true, get: function () { return AlertDialog_1.AlertDialogHeader; } });
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.badgeVariants = exports.Badge = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const class_variance_authority_1 = require("class-variance-authority");
|
|
6
|
-
const utils_1 = require("../../helpers/utils");
|
|
7
|
-
const badgeVariants = (0, class_variance_authority_1.cva)("inline-flex items-center rounded-md border border-gray-300 px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 font-semibold", {
|
|
8
|
-
variants: {
|
|
9
|
-
variant: {
|
|
10
|
-
default: "border-transparent bg-pink-500 text-white/90 shadow hover:bg-pink-500/80",
|
|
11
|
-
secondary: "border-transparent bg-gray-200 text-gray-900 hover:bg-gray-200/80",
|
|
12
|
-
outline: "text-gray-900",
|
|
13
|
-
danger: "border-transparent bg-red-500 text-white/90 shadow hover:bg-red-500/80",
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
defaultVariants: {
|
|
17
|
-
variant: "default",
|
|
18
|
-
},
|
|
19
|
-
});
|
|
20
|
-
exports.badgeVariants = badgeVariants;
|
|
21
|
-
function Badge({ className, variant, ...props }) {
|
|
22
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: (0, utils_1.cn)(badgeVariants({ variant }), className), ...props }));
|
|
23
|
-
}
|
|
24
|
-
exports.Badge = Badge;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.badgeVariants = exports.Badge = void 0;
|
|
4
|
-
var Badge_1 = require("./Badge");
|
|
5
|
-
Object.defineProperty(exports, "Badge", { enumerable: true, get: function () { return Badge_1.Badge; } });
|
|
6
|
-
Object.defineProperty(exports, "badgeVariants", { enumerable: true, get: function () { return Badge_1.badgeVariants; } });
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.BreadcrumbEllipsis = exports.BreadcrumbSeparator = exports.BreadcrumbPage = exports.BreadcrumbLink = exports.BreadcrumbItem = exports.BreadcrumbList = exports.Breadcrumb = void 0;
|
|
27
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
const React = __importStar(require("react"));
|
|
29
|
-
const react_icons_1 = require("@radix-ui/react-icons");
|
|
30
|
-
const react_slot_1 = require("@radix-ui/react-slot");
|
|
31
|
-
const utils_1 = require("../../helpers/utils");
|
|
32
|
-
const Breadcrumb = React.forwardRef(({ className, ...props }, ref) => (0, jsx_runtime_1.jsx)("nav", { ref: ref, "aria-label": "breadcrumb", className: (0, utils_1.cn)("", className), ...props }));
|
|
33
|
-
exports.Breadcrumb = Breadcrumb;
|
|
34
|
-
Breadcrumb.displayName = "Breadcrumb";
|
|
35
|
-
const BreadcrumbList = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)("ol", { ref: ref, className: (0, utils_1.cn)("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden", className), ...props })));
|
|
36
|
-
exports.BreadcrumbList = BreadcrumbList;
|
|
37
|
-
BreadcrumbList.displayName = "BreadcrumbList";
|
|
38
|
-
const BreadcrumbItem = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)("li", { ref: ref, className: (0, utils_1.cn)("shrink-0 text-gray-900 hover:text-pink-500", className), ...props })));
|
|
39
|
-
exports.BreadcrumbItem = BreadcrumbItem;
|
|
40
|
-
BreadcrumbItem.displayName = "BreadcrumbItem";
|
|
41
|
-
const BreadcrumbLink = React.forwardRef(({ asChild, className, ...props }, ref) => {
|
|
42
|
-
const Comp = asChild ? react_slot_1.Slot : "a";
|
|
43
|
-
return ((0, jsx_runtime_1.jsx)(Comp, { ref: ref, className: (0, utils_1.cn)("transition-colors hover:text-foreground", className), ...props }));
|
|
44
|
-
});
|
|
45
|
-
exports.BreadcrumbLink = BreadcrumbLink;
|
|
46
|
-
BreadcrumbLink.displayName = "BreadcrumbLink";
|
|
47
|
-
const BreadcrumbPage = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)("span", { ref: ref, role: "link", "aria-disabled": "true", "aria-current": "page", className: (0, utils_1.cn)("text-sm text-gray-500", className), ...props })));
|
|
48
|
-
exports.BreadcrumbPage = BreadcrumbPage;
|
|
49
|
-
BreadcrumbPage.displayName = "BreadcrumbPage";
|
|
50
|
-
const BreadcrumbSeparator = ({ children, className, ...props }) => ((0, jsx_runtime_1.jsx)("li", { role: "presentation", "aria-hidden": "true", className: (0, utils_1.cn)("text-gray-900", className), ...props, children: children ?? (0, jsx_runtime_1.jsx)(react_icons_1.ChevronRightIcon, { className: "w-2 h-2" }) }));
|
|
51
|
-
exports.BreadcrumbSeparator = BreadcrumbSeparator;
|
|
52
|
-
BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
|
|
53
|
-
const BreadcrumbEllipsis = ({ className, ...props }) => ((0, jsx_runtime_1.jsxs)("span", { role: "presentation", "aria-hidden": "true", className: (0, utils_1.cn)("flex h-5 w-5 items-center justify-center", className), ...props, children: [(0, jsx_runtime_1.jsx)(react_icons_1.DotsHorizontalIcon, { className: "w-4 h-4 text-gray-900" }), (0, jsx_runtime_1.jsx)("span", { className: "sr-only", children: "More" })] }));
|
|
54
|
-
exports.BreadcrumbEllipsis = BreadcrumbEllipsis;
|
|
55
|
-
BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BreadcrumbEllipsis = exports.BreadcrumbSeparator = exports.BreadcrumbPage = exports.BreadcrumbLink = exports.BreadcrumbItem = exports.BreadcrumbList = exports.Breadcrumb = void 0;
|
|
4
|
-
const Breadcrumb_1 = require("./Breadcrumb");
|
|
5
|
-
Object.defineProperty(exports, "Breadcrumb", { enumerable: true, get: function () { return Breadcrumb_1.Breadcrumb; } });
|
|
6
|
-
Object.defineProperty(exports, "BreadcrumbList", { enumerable: true, get: function () { return Breadcrumb_1.BreadcrumbList; } });
|
|
7
|
-
Object.defineProperty(exports, "BreadcrumbItem", { enumerable: true, get: function () { return Breadcrumb_1.BreadcrumbItem; } });
|
|
8
|
-
Object.defineProperty(exports, "BreadcrumbLink", { enumerable: true, get: function () { return Breadcrumb_1.BreadcrumbLink; } });
|
|
9
|
-
Object.defineProperty(exports, "BreadcrumbPage", { enumerable: true, get: function () { return Breadcrumb_1.BreadcrumbPage; } });
|
|
10
|
-
Object.defineProperty(exports, "BreadcrumbSeparator", { enumerable: true, get: function () { return Breadcrumb_1.BreadcrumbSeparator; } });
|
|
11
|
-
Object.defineProperty(exports, "BreadcrumbEllipsis", { enumerable: true, get: function () { return Breadcrumb_1.BreadcrumbEllipsis; } });
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.buttonVariants = exports.Button = void 0;
|
|
30
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
-
const React = __importStar(require("react"));
|
|
32
|
-
const react_slot_1 = require("@radix-ui/react-slot");
|
|
33
|
-
const class_variance_authority_1 = require("class-variance-authority");
|
|
34
|
-
const utils_1 = require("../../helpers/utils");
|
|
35
|
-
const SpinerIcon_1 = __importDefault(require("../../foundation/SpinerIcon"));
|
|
36
|
-
// /dwd
|
|
37
|
-
const buttonVariants = (0, class_variance_authority_1.cva)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-semibold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent", {
|
|
38
|
-
variants: {
|
|
39
|
-
/**
|
|
40
|
-
* Determines style variation of Button component.
|
|
41
|
-
*/
|
|
42
|
-
variant: {
|
|
43
|
-
primary: "bg-pink-500 text-white hover:bg-pink-600 disabled:bg-pink-300",
|
|
44
|
-
secondary: "bg-white text-gray-900 hover:bg-gray-100 disabled:text-gray-400 disabled:bg-white border-gray-300",
|
|
45
|
-
outline: "border-pink-500 text-pink-500 bg-white hover:bg-pink-50 disabled:bg-white disabled:border-pink-300 disabled:text-pink-300",
|
|
46
|
-
tonal: "bg-pink-100 text-pink-500 hover:bg-pink-200 disabled:bg-gray-200 disabled:text-gray-400",
|
|
47
|
-
danger: "bg-red-500 text-white hover:bg-red-600 disabled:bg-red-300",
|
|
48
|
-
transparent: "text-gray-900 bg-transparent hover:bg-gray-100 disabled:text-gray-400 disabled:bg-transparent",
|
|
49
|
-
},
|
|
50
|
-
/**
|
|
51
|
-
* Determines size variation of Button component.
|
|
52
|
-
*/
|
|
53
|
-
size: {
|
|
54
|
-
default: "text-sm h-10 px-4",
|
|
55
|
-
sm: "h-8 px-3 text-sm",
|
|
56
|
-
lg: "h-12 px-4 text-base",
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
defaultVariants: {
|
|
60
|
-
variant: "primary",
|
|
61
|
-
size: "default",
|
|
62
|
-
},
|
|
63
|
-
});
|
|
64
|
-
exports.buttonVariants = buttonVariants;
|
|
65
|
-
const Button = React.forwardRef(({ className, variant = "primary", size = "default", asChild = false, isLoading = false, isDisabled = false, ...props }, ref) => {
|
|
66
|
-
const Comp = asChild ? react_slot_1.Slot : "button";
|
|
67
|
-
const buttonClassName = (0, utils_1.cn)(buttonVariants({ variant, size, className }), {
|
|
68
|
-
"cursor-wait": isLoading,
|
|
69
|
-
});
|
|
70
|
-
const loaderSize = size === "default" || size === "sm" ? "w-4 h-4" : "w-5 h-5";
|
|
71
|
-
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: asChild ? ((0, jsx_runtime_1.jsx)(Comp, { className: buttonClassName, type: "button", disabled: isDisabled, ref: ref, ...props, children: props.children })) : ((0, jsx_runtime_1.jsxs)(Comp, { className: buttonClassName, type: "button", disabled: isDisabled, ref: ref, ...props, children: [isLoading && ((0, jsx_runtime_1.jsx)(SpinerIcon_1.default, { className: `${loaderSize} animate-spin-loading mr-2` })), props.children] })) }));
|
|
72
|
-
});
|
|
73
|
-
exports.Button = Button;
|
|
74
|
-
Button.displayName = "Button";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.buttonVariants = exports.Button = void 0;
|
|
4
|
-
var Button_1 = require("./Button");
|
|
5
|
-
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return Button_1.Button; } });
|
|
6
|
-
Object.defineProperty(exports, "buttonVariants", { enumerable: true, get: function () { return Button_1.buttonVariants; } });
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Callout = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const class_variance_authority_1 = require("class-variance-authority");
|
|
6
|
-
const react_1 = require("react");
|
|
7
|
-
const utils_1 = require("../../helpers/utils");
|
|
8
|
-
const outline_1 = require("@heroicons/react/24/outline");
|
|
9
|
-
const TextButton_1 = require("../TextButton");
|
|
10
|
-
const calloutVariants = (0, class_variance_authority_1.cva)("px-3 py-2 rounded-md border flex items-center space-x-2 text-gray-700 text-sm ", {
|
|
11
|
-
variants: {
|
|
12
|
-
typeDiv: {
|
|
13
|
-
neutral: "bg-gray-50 border-gray-300 ",
|
|
14
|
-
error: "bg-red-50 border-red-300",
|
|
15
|
-
success: "bg-green-50 border-green-300",
|
|
16
|
-
warning: "bg-yellow-50 border-yellow-300",
|
|
17
|
-
info: "bg-blue-50 border-blue-300",
|
|
18
|
-
},
|
|
19
|
-
disabled: {
|
|
20
|
-
true: "text-gray-400 bg-gray-50 opacity-55 pointer-events-none border-gray-300",
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
defaultVariants: {
|
|
24
|
-
typeDiv: "neutral",
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
const iconVariants = (0, class_variance_authority_1.cva)("w-5 h-5 shrink-0 border-none p-0 ", {
|
|
28
|
-
variants: {
|
|
29
|
-
typeIcon: {
|
|
30
|
-
neutral: "text-gray-700",
|
|
31
|
-
error: "text-red-700",
|
|
32
|
-
success: "text-green-700",
|
|
33
|
-
warning: "text-yellow-700",
|
|
34
|
-
info: "text-blue-700",
|
|
35
|
-
},
|
|
36
|
-
disabled: {
|
|
37
|
-
true: "text-gray-400",
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
defaultVariants: {
|
|
41
|
-
typeIcon: "neutral",
|
|
42
|
-
},
|
|
43
|
-
});
|
|
44
|
-
exports.Callout = (0, react_1.forwardRef)(({ type = "neutral", message = "", withAction = false, onClickAction, className, disabled, actionClassName, ...props }, ref) => {
|
|
45
|
-
return ((0, jsx_runtime_1.jsxs)("div", { ref: ref, className: (0, utils_1.cn)("", className, calloutVariants({ typeDiv: type, disabled })), ...props, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-center space-x-2", children: [(0, jsx_runtime_1.jsx)(outline_1.InformationCircleIcon, { className: (0, utils_1.cn)(iconVariants({ typeIcon: type, disabled })), width: 20, height: 20 }), (0, jsx_runtime_1.jsx)("div", { children: "B\u1EA1n c\u1EA7n cho ph\u00E9p website s\u1EED d\u1EE5ng th\u00F4ng tin v\u1ECB tr\u00ED \u0111\u1EC3 s\u1EED d\u1EE5ng t\u00EDnh n\u0103ng n\u00E0y" })] }), withAction && ((0, jsx_runtime_1.jsx)(TextButton_1.TextButton, { variant: "primary", onClick: () => onClickAction?.(), className: (0, utils_1.cn)("", actionClassName), isDisabled: disabled, children: withAction }))] }));
|
|
46
|
-
});
|