@mobileaction/action-kit 1.42.7-beta.2 → 1.42.7-beta.4
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/package.json +3 -3
- package/src/Configuration.mdx +36 -0
- package/src/Introduction.mdx +36 -0
- package/src/assets/fonts/EuclidCircularABold.ttf +0 -0
- package/src/assets/fonts/EuclidCircularABold.woff +0 -0
- package/src/assets/fonts/EuclidCircularABold.woff2 +0 -0
- package/src/assets/fonts/EuclidCircularABoldItalic.ttf +0 -0
- package/src/assets/fonts/EuclidCircularAItalic.ttf +0 -0
- package/src/assets/fonts/EuclidCircularAItalic.woff +0 -0
- package/src/assets/fonts/EuclidCircularAItalic.woff2 +0 -0
- package/src/assets/fonts/EuclidCircularALight.ttf +0 -0
- package/src/assets/fonts/EuclidCircularALightItalic.ttf +0 -0
- package/src/assets/fonts/EuclidCircularAMedium.ttf +0 -0
- package/src/assets/fonts/EuclidCircularAMedium.woff +0 -0
- package/src/assets/fonts/EuclidCircularAMedium.woff2 +0 -0
- package/src/assets/fonts/EuclidCircularAMediumItalic.ttf +0 -0
- package/src/assets/fonts/EuclidCircularARegular.ttf +0 -0
- package/src/assets/fonts/EuclidCircularARegular.woff +0 -0
- package/src/assets/fonts/EuclidCircularARegular.woff2 +0 -0
- package/src/assets/fonts/EuclidCircularASemiBold.ttf +0 -0
- package/src/assets/fonts/EuclidCircularASemiBold.woff +0 -0
- package/src/assets/fonts/EuclidCircularASemiBold.woff2 +0 -0
- package/src/assets/fonts/EuclidCircularASemiBoldItalic.ttf +0 -0
- package/src/assets/fonts.scss +84 -0
- package/src/assets/typography-classes.css +295 -0
- package/src/assets/typography.css +412 -0
- package/src/components/alert/alert.test.ts +36 -0
- package/src/components/alert/index.vue +72 -0
- package/src/components/alert/stories/blue.stories.ts +63 -0
- package/src/components/alert/stories/constants.ts +60 -0
- package/src/components/alert/stories/dark.stories.ts +71 -0
- package/src/components/alert/stories/green.stories.ts +41 -0
- package/src/components/alert/stories/orange.stories.ts +41 -0
- package/src/components/alert/stories/red.stories.ts +41 -0
- package/src/components/alert/styles.scss +125 -0
- package/src/components/alert/types.ts +15 -0
- package/src/components/animation/index.vue +93 -0
- package/src/components/animation/stories/animation.stories.ts +31 -0
- package/src/components/animation/stories/constants.ts +46 -0
- package/src/components/animation/types.ts +13 -0
- package/src/components/app-icon/assets/styles.scss +229 -0
- package/src/components/app-icon/index.vue +181 -0
- package/src/components/app-icon/stories/constants.ts +46 -0
- package/src/components/app-icon/stories/default.stories.ts +78 -0
- package/src/components/app-icon/types.ts +16 -0
- package/src/components/app-track-button/assets/styles.scss +76 -0
- package/src/components/app-track-button/index.vue +98 -0
- package/src/components/app-track-button/stories/constants.ts +47 -0
- package/src/components/app-track-button/stories/default.stories.ts +64 -0
- package/src/components/avatar/avatar.test.ts +47 -0
- package/src/components/avatar/index.vue +100 -0
- package/src/components/avatar/stories/constants.ts +45 -0
- package/src/components/avatar/stories/default.stories.ts +20 -0
- package/src/components/avatar/styles.scss +116 -0
- package/src/components/avatar/types.ts +24 -0
- package/src/components/badge/badge.test.ts +97 -0
- package/src/components/badge/index.vue +52 -0
- package/src/components/badge/stories/basic.stories.ts +54 -0
- package/src/components/badge/stories/blue.stories.ts +60 -0
- package/src/components/badge/stories/constants.ts +81 -0
- package/src/components/badge/stories/dark.stories.ts +54 -0
- package/src/components/badge/stories/green.stories.ts +59 -0
- package/src/components/badge/stories/orange.stories.ts +59 -0
- package/src/components/badge/stories/pink.stories.ts +59 -0
- package/src/components/badge/stories/purple.stories.ts +59 -0
- package/src/components/badge/stories/red.stories.ts +58 -0
- package/src/components/badge/stories/status-example.mdx +14 -0
- package/src/components/badge/stories/status.stories.ts +17 -0
- package/src/components/badge/stories/teal.stories.ts +58 -0
- package/src/components/badge/stories/yellow.stories.ts +59 -0
- package/src/components/badge/styles.scss +198 -0
- package/src/components/badge/types.ts +43 -0
- package/src/components/button/assets/link.scss +72 -0
- package/src/components/button/assets/mixins.scss +82 -0
- package/src/components/button/assets/regular.scss +188 -0
- package/src/components/button/assets/social.scss +98 -0
- package/src/components/button/assets/styles.scss +31 -0
- package/src/components/button/button.test.ts +126 -0
- package/src/components/button/index.vue +107 -0
- package/src/components/button/link-button/index.vue +92 -0
- package/src/components/button/link-button/stories/constants.ts +67 -0
- package/src/components/button/link-button/stories/link.stories.ts +74 -0
- package/src/components/button/link-button/types.ts +15 -0
- package/src/components/button/social-button/index.vue +88 -0
- package/src/components/button/social-button/stories/constants.ts +63 -0
- package/src/components/button/social-button/stories/social.stories.ts +109 -0
- package/src/components/button/social-button/types.ts +15 -0
- package/src/components/button/stories/constants.ts +89 -0
- package/src/components/button/stories/filled.stories.ts +113 -0
- package/src/components/button/stories/ghost.stories.ts +113 -0
- package/src/components/button/stories/lighter.stories.ts +113 -0
- package/src/components/button/stories/stroke.stories.ts +113 -0
- package/src/components/button/types.ts +52 -0
- package/src/components/button/utils.ts +28 -0
- package/src/components/card/assets/styles.scss +121 -0
- package/src/components/card/index.vue +240 -0
- package/src/components/card/stories/constants.ts +111 -0
- package/src/components/card/stories/default.stories.ts +130 -0
- package/src/components/card/stories/examples.mdx +37 -0
- package/src/components/card/stories/footer.stories.ts +122 -0
- package/src/components/card/stories/header.stories.ts +129 -0
- package/src/components/card/types.ts +21 -0
- package/src/components/cascader/assets/styles.scss +162 -0
- package/src/components/cascader/cascader.test.ts +163 -0
- package/src/components/cascader/components/option.vue +138 -0
- package/src/components/cascader/components/options.vue +97 -0
- package/src/components/cascader/composables/useCascaderOverflow.ts +35 -0
- package/src/components/cascader/composables/usePopoverAttributeWatcher.ts +50 -0
- package/src/components/cascader/index.vue +215 -0
- package/src/components/cascader/stories/constants.ts +82 -0
- package/src/components/cascader/stories/default.stories.ts +161 -0
- package/src/components/cascader/stories/options.json +80 -0
- package/src/components/cascader/types.ts +17 -0
- package/src/components/cascader/utils/index.test.ts +56 -0
- package/src/components/cascader/utils/index.ts +66 -0
- package/src/components/checkbox/group.vue +64 -0
- package/src/components/checkbox/index.vue +58 -0
- package/src/components/checkbox/stories/constants.ts +134 -0
- package/src/components/checkbox/stories/default.stories.ts +26 -0
- package/src/components/checkbox/stories/group.stories.ts +20 -0
- package/src/components/checkbox/stories/indeterminate.stories.ts +26 -0
- package/src/components/checkbox/styles.scss +221 -0
- package/src/components/checkbox/types.ts +6 -0
- package/src/components/collapse/assets/styles.scss +25 -0
- package/src/components/collapse/collapse.test.ts +86 -0
- package/src/components/collapse/components/CollapseContent.vue +11 -0
- package/src/components/collapse/components/CollapseHeader.vue +49 -0
- package/src/components/collapse/components/CollapseItem.vue +62 -0
- package/src/components/collapse/index.vue +119 -0
- package/src/components/collapse/stories/constants.ts +141 -0
- package/src/components/collapse/stories/default.stories.ts +42 -0
- package/src/components/collapse/types.ts +29 -0
- package/src/components/content-scroller/assets/styles.scss +111 -0
- package/src/components/content-scroller/index.vue +102 -0
- package/src/components/content-scroller/stories/constants.ts +47 -0
- package/src/components/content-scroller/stories/default.stories.ts +16 -0
- package/src/components/content-scroller/types.ts +13 -0
- package/src/components/country-radio/assets/styles.scss +30 -0
- package/src/components/country-radio/index.vue +66 -0
- package/src/components/country-radio/stories/constants.ts +51 -0
- package/src/components/country-radio/stories/default.stories.ts +26 -0
- package/src/components/country-radio/stories/examples.mdx +29 -0
- package/src/components/country-select/assets/styles.scss +48 -0
- package/src/components/country-select/components/multiCountrySelect.vue +135 -0
- package/src/components/country-select/components/singleCountrySelect.vue +96 -0
- package/src/components/country-select/index.vue +87 -0
- package/src/components/country-select/stories/constants.ts +46 -0
- package/src/components/country-select/stories/countries.json +342 -0
- package/src/components/country-select/stories/default.stories.ts +69 -0
- package/src/components/country-select/types.ts +5 -0
- package/src/components/date-picker/assets/animations.scss +107 -0
- package/src/components/date-picker/assets/styles.scss +872 -0
- package/src/components/date-picker/index.vue +340 -0
- package/src/components/date-picker/stories/constants.ts +95 -0
- package/src/components/date-picker/stories/default.stories.ts +108 -0
- package/src/components/date-picker/stories/range.stories.ts +137 -0
- package/src/components/date-picker/types.ts +19 -0
- package/src/components/date-picker-2/assets/calendar.scss +43 -0
- package/src/components/date-picker-2/assets/datepicker-menu.scss +242 -0
- package/src/components/date-picker-2/assets/input.scss +130 -0
- package/src/components/date-picker-2/assets/quarter-picker.scss +44 -0
- package/src/components/date-picker-2/assets/selection-overlay.scss +124 -0
- package/src/components/date-picker-2/assets/styles.scss +6 -0
- package/src/components/date-picker-2/assets/transitions.scss +61 -0
- package/src/components/date-picker-2/components/calendarSelect.vue +49 -0
- package/src/components/date-picker-2/composables/useDatePickerFormat.ts +80 -0
- package/src/components/date-picker-2/composables/utils.ts +49 -0
- package/src/components/date-picker-2/date-picker.test.ts +340 -0
- package/src/components/date-picker-2/index.vue +302 -0
- package/src/components/date-picker-2/stories/constants.ts +116 -0
- package/src/components/date-picker-2/stories/default.stories.ts +172 -0
- package/src/components/date-picker-2/stories/range.stories.ts +232 -0
- package/src/components/date-picker-2/types.ts +256 -0
- package/src/components/drawer/assets/styles.scss +163 -0
- package/src/components/drawer/drawer.test.ts +188 -0
- package/src/components/drawer/index.vue +312 -0
- package/src/components/drawer/stories/drawer.stories.ts +489 -0
- package/src/components/dropdown/assets/animations.scss +107 -0
- package/src/components/dropdown/assets/styles.scss +84 -0
- package/src/components/dropdown/index.vue +66 -0
- package/src/components/dropdown/stories/constants.ts +108 -0
- package/src/components/dropdown/stories/default.stories.ts +44 -0
- package/src/components/dropdown/types.ts +17 -0
- package/src/components/ellipsis/assets/styles.scss +7 -0
- package/src/components/ellipsis/index.vue +141 -0
- package/src/components/ellipsis/stories/constants.ts +34 -0
- package/src/components/ellipsis/stories/default.stories.ts +25 -0
- package/src/components/empty/assets/styles.scss +76 -0
- package/src/components/empty/index.vue +54 -0
- package/src/components/empty/stories/animation.stories.ts +35 -0
- package/src/components/empty/stories/constants.ts +40 -0
- package/src/components/empty/stories/default.stories.ts +19 -0
- package/src/components/empty/types.ts +24 -0
- package/src/components/form/assets/styles.scss +486 -0
- package/src/components/form/components/nonHSFormsIgnore.vue +15 -0
- package/src/components/form/index.vue +51 -0
- package/src/components/form/stories/constants.ts +20 -0
- package/src/components/form/stories/default.stories.ts +240 -0
- package/src/components/form/types.ts +7 -0
- package/src/components/form-item/index.vue +20 -0
- package/src/components/icon/components/flagIcon.vue +84 -0
- package/src/components/icon/components/maIcon.vue +47 -0
- package/src/components/icon/composables/useUniqueIds.ts +62 -0
- package/src/components/icon/flags.json +230 -0
- package/src/components/icon/icon.test.ts +89 -0
- package/src/components/icon/icons/403.svg +29 -0
- package/src/components/icon/icons/404.svg +28 -0
- package/src/components/icon/icons/500.svg +29 -0
- package/src/components/icon/icons/activity-bulk.svg +8 -0
- package/src/components/icon/icons/add-app.svg +81 -0
- package/src/components/icon/icons/add-bold.svg +3 -0
- package/src/components/icon/icons/add-bulk.svg +8 -0
- package/src/components/icon/icons/add-button.svg +5 -0
- package/src/components/icon/icons/add-circle-bold.svg +3 -0
- package/src/components/icon/icons/add-circle-bulk.svg +8 -0
- package/src/components/icon/icons/add-circle.svg +8 -0
- package/src/components/icon/icons/add-square-bold.svg +3 -0
- package/src/components/icon/icons/add-square.svg +5 -0
- package/src/components/icon/icons/add.svg +4 -0
- package/src/components/icon/icons/aim-outlined.svg +1 -0
- package/src/components/icon/icons/airplane-bulk.svg +4 -0
- package/src/components/icon/icons/align-left-bold.svg +11 -0
- package/src/components/icon/icons/align-left-bulk.svg +11 -0
- package/src/components/icon/icons/align-left.svg +10 -0
- package/src/components/icon/icons/android-storefront.svg +8 -0
- package/src/components/icon/icons/android.svg +6 -0
- package/src/components/icon/icons/angle-double-right.svg +5 -0
- package/src/components/icon/icons/app-store-colorful.svg +21 -0
- package/src/components/icon/icons/app-store.svg +3 -0
- package/src/components/icon/icons/app.svg +5 -0
- package/src/components/icon/icons/apple-bold.svg +5 -0
- package/src/components/icon/icons/apple-storefront.svg +5 -0
- package/src/components/icon/icons/apple-vision-pro.svg +16 -0
- package/src/components/icon/icons/apple.svg +3 -0
- package/src/components/icon/icons/arcade-bulk.svg +9 -0
- package/src/components/icon/icons/area-chart-outlined.svg +3 -0
- package/src/components/icon/icons/arrow-down-bold.svg +3 -0
- package/src/components/icon/icons/arrow-down-circle-bold.svg +3 -0
- package/src/components/icon/icons/arrow-down-circle.svg +4 -0
- package/src/components/icon/icons/arrow-down.svg +4 -0
- package/src/components/icon/icons/arrow-left-bold.svg +3 -0
- package/src/components/icon/icons/arrow-left-bulk.svg +7 -0
- package/src/components/icon/icons/arrow-left-circle-bold.svg +3 -0
- package/src/components/icon/icons/arrow-left-circle.svg +4 -0
- package/src/components/icon/icons/arrow-left-down-line.svg +3 -0
- package/src/components/icon/icons/arrow-left.svg +4 -0
- package/src/components/icon/icons/arrow-right-bold.svg +3 -0
- package/src/components/icon/icons/arrow-right-bulk.svg +7 -0
- package/src/components/icon/icons/arrow-right-circle-bold.svg +3 -0
- package/src/components/icon/icons/arrow-right-circle.svg +4 -0
- package/src/components/icon/icons/arrow-right-up-line.svg +3 -0
- package/src/components/icon/icons/arrow-right.svg +4 -0
- package/src/components/icon/icons/arrow-up-bold.svg +3 -0
- package/src/components/icon/icons/arrow-up-circle-bold.svg +3 -0
- package/src/components/icon/icons/arrow-up-circle.svg +4 -0
- package/src/components/icon/icons/arrow-up.svg +4 -0
- package/src/components/icon/icons/asterisk.svg +3 -0
- package/src/components/icon/icons/bag-bulk.svg +4 -0
- package/src/components/icon/icons/bahai.svg +3 -0
- package/src/components/icon/icons/book-bulk.svg +6 -0
- package/src/components/icon/icons/book-closed-bulk.svg +6 -0
- package/src/components/icon/icons/book-saved-bulk.svg +5 -0
- package/src/components/icon/icons/book-square-bulk.svg +5 -0
- package/src/components/icon/icons/bookmark-bold.svg +4 -0
- package/src/components/icon/icons/bookmark-bulk.svg +4 -0
- package/src/components/icon/icons/bookmark.svg +6 -0
- package/src/components/icon/icons/box-empty.svg +12 -0
- package/src/components/icon/icons/brain.svg +3 -0
- package/src/components/icon/icons/broom-bold.svg +4 -0
- package/src/components/icon/icons/broom.svg +8 -0
- package/src/components/icon/icons/brush-bulk.svg +5 -0
- package/src/components/icon/icons/bubble-bulk.svg +5 -0
- package/src/components/icon/icons/bucket-bulk.svg +6 -0
- package/src/components/icon/icons/bullhorn.svg +3 -0
- package/src/components/icon/icons/bus-bulk.svg +7 -0
- package/src/components/icon/icons/buy-crypto.svg +11 -0
- package/src/components/icon/icons/calendar-alt.svg +3 -0
- package/src/components/icon/icons/calendar-bold.svg +4 -0
- package/src/components/icon/icons/calendar-bulk.svg +10 -0
- package/src/components/icon/icons/calendar.svg +12 -0
- package/src/components/icon/icons/camera-bulk.svg +5 -0
- package/src/components/icon/icons/car-bulk.svg +6 -0
- package/src/components/icon/icons/card-bold.svg +4 -0
- package/src/components/icon/icons/card-bulk.svg +14 -0
- package/src/components/icon/icons/card.svg +6 -0
- package/src/components/icon/icons/caret-down-bold.svg +3 -0
- package/src/components/icon/icons/caret-down.svg +3 -0
- package/src/components/icon/icons/caret-left-bold.svg +3 -0
- package/src/components/icon/icons/caret-left.svg +3 -0
- package/src/components/icon/icons/caret-right-bold.svg +3 -0
- package/src/components/icon/icons/caret-right.svg +3 -0
- package/src/components/icon/icons/caret-up-bold.svg +3 -0
- package/src/components/icon/icons/caret-up.svg +3 -0
- package/src/components/icon/icons/casino-bulk.svg +4 -0
- package/src/components/icon/icons/category-bold.svg +14 -0
- package/src/components/icon/icons/category.svg +15 -0
- package/src/components/icon/icons/certificate.svg +3 -0
- package/src/components/icon/icons/chart-2-bulk.svg +11 -0
- package/src/components/icon/icons/chart-2.svg +5 -0
- package/src/components/icon/icons/chart-area.svg +3 -0
- package/src/components/icon/icons/chart-bar.svg +3 -0
- package/src/components/icon/icons/chart-bold.svg +6 -0
- package/src/components/icon/icons/chart-bulk.svg +12 -0
- package/src/components/icon/icons/chart.svg +6 -0
- package/src/components/icon/icons/check-line.svg +3 -0
- package/src/components/icon/icons/check.svg +3 -0
- package/src/components/icon/icons/checkered-flag.svg +3 -0
- package/src/components/icon/icons/chef-bulk.svg +4 -0
- package/src/components/icon/icons/chess-bulk.svg +8 -0
- package/src/components/icon/icons/chevron-down.svg +4 -0
- package/src/components/icon/icons/chevron-left.svg +4 -0
- package/src/components/icon/icons/chevron-right.svg +4 -0
- package/src/components/icon/icons/chevron-up.svg +4 -0
- package/src/components/icon/icons/chevrons-down.svg +4 -0
- package/src/components/icon/icons/chevrons-left.svg +4 -0
- package/src/components/icon/icons/chevrons-right.svg +4 -0
- package/src/components/icon/icons/chevrons-up.svg +4 -0
- package/src/components/icon/icons/circle-exclamation.svg +3 -0
- package/src/components/icon/icons/circle-notch.svg +3 -0
- package/src/components/icon/icons/circle.svg +3 -0
- package/src/components/icon/icons/clipboard-bold.svg +8 -0
- package/src/components/icon/icons/clipboard-bulk.svg +11 -0
- package/src/components/icon/icons/clipboard-close-bulk.svg +5 -0
- package/src/components/icon/icons/clipboard-close.svg +6 -0
- package/src/components/icon/icons/clipboard-tick-bulk.svg +5 -0
- package/src/components/icon/icons/clipboard-tick.svg +5 -0
- package/src/components/icon/icons/clipboard.svg +11 -0
- package/src/components/icon/icons/clock-bold.svg +3 -0
- package/src/components/icon/icons/clock-bulk.svg +4 -0
- package/src/components/icon/icons/clock.svg +4 -0
- package/src/components/icon/icons/clone.svg +3 -0
- package/src/components/icon/icons/close-circle-bold.svg +3 -0
- package/src/components/icon/icons/close-circle-bulk.svg +8 -0
- package/src/components/icon/icons/close-circle.svg +5 -0
- package/src/components/icon/icons/close-square-bold.svg +3 -0
- package/src/components/icon/icons/close-square.svg +5 -0
- package/src/components/icon/icons/close.svg +1 -0
- package/src/components/icon/icons/cloud-sunny-bulk.svg +4 -0
- package/src/components/icon/icons/cloud-upload.svg +3 -0
- package/src/components/icon/icons/coffee-bulk.svg +8 -0
- package/src/components/icon/icons/cogs.svg +3 -0
- package/src/components/icon/icons/color-filter.svg +11 -0
- package/src/components/icon/icons/columns-bold.svg +4 -0
- package/src/components/icon/icons/columns.svg +4 -0
- package/src/components/icon/icons/compass-bulk.svg +4 -0
- package/src/components/icon/icons/compress.svg +3 -0
- package/src/components/icon/icons/contains-linear.svg +7 -0
- package/src/components/icon/icons/control.svg +11 -0
- package/src/components/icon/icons/convert-shape-bold.svg +14 -0
- package/src/components/icon/icons/convert-shape-bulk.svg +14 -0
- package/src/components/icon/icons/convert-shape.svg +12 -0
- package/src/components/icon/icons/copy-bold.svg +4 -0
- package/src/components/icon/icons/copy-bulk.svg +8 -0
- package/src/components/icon/icons/copy.svg +4 -0
- package/src/components/icon/icons/crosshairs.svg +3 -0
- package/src/components/icon/icons/crown-bold.svg +3 -0
- package/src/components/icon/icons/crown.svg +4 -0
- package/src/components/icon/icons/cup-bold.svg +8 -0
- package/src/components/icon/icons/cup-bulk.svg +17 -0
- package/src/components/icon/icons/cup.svg +18 -0
- package/src/components/icon/icons/danger-bold.svg +3 -0
- package/src/components/icon/icons/danger-bulk.svg +5 -0
- package/src/components/icon/icons/danger.svg +5 -0
- package/src/components/icon/icons/dashboard.svg +3 -0
- package/src/components/icon/icons/data-bold.svg +17 -0
- package/src/components/icon/icons/data-bulk.svg +17 -0
- package/src/components/icon/icons/data.svg +18 -0
- package/src/components/icon/icons/devices.svg +11 -0
- package/src/components/icon/icons/diagram.svg +4 -0
- package/src/components/icon/icons/direct-inbox-bold.svg +10 -0
- package/src/components/icon/icons/direct-inbox-bulk.svg +11 -0
- package/src/components/icon/icons/direct-inbox.svg +12 -0
- package/src/components/icon/icons/direct-normal-bulk.svg +4 -0
- package/src/components/icon/icons/direct-normal.svg +4 -0
- package/src/components/icon/icons/dislike-bold.svg +4 -0
- package/src/components/icon/icons/dislike.svg +4 -0
- package/src/components/icon/icons/document-bold.svg +4 -0
- package/src/components/icon/icons/document-bulk.svg +14 -0
- package/src/components/icon/icons/document.svg +6 -0
- package/src/components/icon/icons/dollar-circle.svg +5 -0
- package/src/components/icon/icons/dot.svg +3 -0
- package/src/components/icon/icons/download-bold.svg +8 -0
- package/src/components/icon/icons/download-bulk.svg +11 -0
- package/src/components/icon/icons/download.svg +6 -0
- package/src/components/icon/icons/drag.svg +8 -0
- package/src/components/icon/icons/driving-bulk.svg +10 -0
- package/src/components/icon/icons/edit-2-bold.svg +11 -0
- package/src/components/icon/icons/edit-2-bulk.svg +5 -0
- package/src/components/icon/icons/edit-2.svg +5 -0
- package/src/components/icon/icons/edit-bold.svg +3 -0
- package/src/components/icon/icons/edit.svg +5 -0
- package/src/components/icon/icons/element-2-bulk.svg +6 -0
- package/src/components/icon/icons/element-3-bulk.svg +5 -0
- package/src/components/icon/icons/element-bulk.svg +6 -0
- package/src/components/icon/icons/element-plus-bold.svg +14 -0
- package/src/components/icon/icons/element-plus.svg +13 -0
- package/src/components/icon/icons/ellipsis-horizontal.svg +3 -0
- package/src/components/icon/icons/ellipsis-vertical.svg +3 -0
- package/src/components/icon/icons/empty-table.svg +31 -0
- package/src/components/icon/icons/equal.svg +4 -0
- package/src/components/icon/icons/expand-left-line.svg +5 -0
- package/src/components/icon/icons/expand-right-line.svg +5 -0
- package/src/components/icon/icons/expand.svg +6 -0
- package/src/components/icon/icons/export-2-bold.svg +8 -0
- package/src/components/icon/icons/export-2-bulk.svg +8 -0
- package/src/components/icon/icons/export-2.svg +9 -0
- package/src/components/icon/icons/export-bold.svg +3 -0
- package/src/components/icon/icons/export-bulk.svg +4 -0
- package/src/components/icon/icons/export.svg +5 -0
- package/src/components/icon/icons/eye-bold.svg +4 -0
- package/src/components/icon/icons/eye-bulk.svg +8 -0
- package/src/components/icon/icons/eye-slash-bold.svg +7 -0
- package/src/components/icon/icons/eye-slash.svg +8 -0
- package/src/components/icon/icons/eye.svg +4 -0
- package/src/components/icon/icons/facebook.svg +4 -0
- package/src/components/icon/icons/fatrows-bold.svg +8 -0
- package/src/components/icon/icons/fatrows-bulk.svg +8 -0
- package/src/components/icon/icons/fatrows.svg +8 -0
- package/src/components/icon/icons/favorite-chart-bold.svg +4 -0
- package/src/components/icon/icons/favorite-chart-bulk.svg +5 -0
- package/src/components/icon/icons/favorite-chart.svg +5 -0
- package/src/components/icon/icons/file-pdf.svg +3 -0
- package/src/components/icon/icons/filled-flag.svg +3 -0
- package/src/components/icon/icons/filter-bold.svg +4 -0
- package/src/components/icon/icons/filter-bulk.svg +8 -0
- package/src/components/icon/icons/filter.svg +4 -0
- package/src/components/icon/icons/flag.svg +4 -0
- package/src/components/icon/icons/flash-circle-bold.svg +5 -0
- package/src/components/icon/icons/flash-circle-bulk.svg +8 -0
- package/src/components/icon/icons/flash-circle.svg +10 -0
- package/src/components/icon/icons/flash.svg +5 -0
- package/src/components/icon/icons/folder-open-bold.svg +4 -0
- package/src/components/icon/icons/folder-open.svg +5 -0
- package/src/components/icon/icons/folder.svg +5 -0
- package/src/components/icon/icons/font.svg +3 -0
- package/src/components/icon/icons/gallery-bulk.svg +5 -0
- package/src/components/icon/icons/game-bulk.svg +9 -0
- package/src/components/icon/icons/glass-bold.svg +8 -0
- package/src/components/icon/icons/glass-bulk.svg +8 -0
- package/src/components/icon/icons/glass.svg +8 -0
- package/src/components/icon/icons/global.svg +7 -0
- package/src/components/icon/icons/google-colored.svg +12 -0
- package/src/components/icon/icons/google.svg +6 -0
- package/src/components/icon/icons/gps-linear.svg +8 -0
- package/src/components/icon/icons/graduation-cap-bold.svg +4 -0
- package/src/components/icon/icons/graduation-cap.svg +5 -0
- package/src/components/icon/icons/graph-bold.svg +4 -0
- package/src/components/icon/icons/graph.svg +4 -0
- package/src/components/icon/icons/grid-2.svg +6 -0
- package/src/components/icon/icons/grid-bold.svg +6 -0
- package/src/components/icon/icons/grid-bulk.svg +14 -0
- package/src/components/icon/icons/grid.svg +6 -0
- package/src/components/icon/icons/hamburger.svg +5 -0
- package/src/components/icon/icons/headset.svg +3 -0
- package/src/components/icon/icons/health-bulk.svg +5 -0
- package/src/components/icon/icons/history.svg +3 -0
- package/src/components/icon/icons/home-bold.svg +3 -0
- package/src/components/icon/icons/home-bulk.svg +8 -0
- package/src/components/icon/icons/home.svg +4 -0
- package/src/components/icon/icons/hospital-bulk.svg +6 -0
- package/src/components/icon/icons/house-bulk.svg +8 -0
- package/src/components/icon/icons/import-bold.svg +4 -0
- package/src/components/icon/icons/import.svg +11 -0
- package/src/components/icon/icons/in-range-bold.svg +5 -0
- package/src/components/icon/icons/in-range.svg +5 -0
- package/src/components/icon/icons/indent.svg +3 -0
- package/src/components/icon/icons/info-circle-2-bold.svg +5 -0
- package/src/components/icon/icons/info-circle-2-bulk.svg +11 -0
- package/src/components/icon/icons/info-circle-2.svg +9 -0
- package/src/components/icon/icons/info-circle-bold.svg +3 -0
- package/src/components/icon/icons/info-circle.svg +8 -0
- package/src/components/icon/icons/info.svg +3 -0
- package/src/components/icon/icons/ipad.svg +4 -0
- package/src/components/icon/icons/iphone.svg +3 -0
- package/src/components/icon/icons/judge-outline.svg +6 -0
- package/src/components/icon/icons/justify-right.svg +10 -0
- package/src/components/icon/icons/key.svg +5 -0
- package/src/components/icon/icons/lamp-charge-bulk.svg +5 -0
- package/src/components/icon/icons/lamp-charge.svg +5 -0
- package/src/components/icon/icons/layer-bold.svg +5 -0
- package/src/components/icon/icons/layer-bulk.svg +11 -0
- package/src/components/icon/icons/layer.svg +5 -0
- package/src/components/icon/icons/level-linear.svg +5 -0
- package/src/components/icon/icons/like-bold.svg +4 -0
- package/src/components/icon/icons/like.svg +4 -0
- package/src/components/icon/icons/link.svg +4 -0
- package/src/components/icon/icons/linkedin.svg +5 -0
- package/src/components/icon/icons/list.svg +3 -0
- package/src/components/icon/icons/loader.svg +10 -0
- package/src/components/icon/icons/loading.svg +3 -0
- package/src/components/icon/icons/location-bulk.svg +4 -0
- package/src/components/icon/icons/location.svg +8 -0
- package/src/components/icon/icons/lock-bold.svg +4 -0
- package/src/components/icon/icons/lock-bulk.svg +11 -0
- package/src/components/icon/icons/lock-slash-bulk.svg +7 -0
- package/src/components/icon/icons/lock-slash.svg +6 -0
- package/src/components/icon/icons/lock.svg +5 -0
- package/src/components/icon/icons/logout-bold.svg +4 -0
- package/src/components/icon/icons/logout.svg +5 -0
- package/src/components/icon/icons/lovely-bulk.svg +4 -0
- package/src/components/icon/icons/magic-pen-bold.svg +17 -0
- package/src/components/icon/icons/magic-pen.svg +13 -0
- package/src/components/icon/icons/map-bulk.svg +5 -0
- package/src/components/icon/icons/map-marker-bold.svg +3 -0
- package/src/components/icon/icons/map-marker.svg +4 -0
- package/src/components/icon/icons/maximize-linear.svg +6 -0
- package/src/components/icon/icons/med-kit.svg +3 -0
- package/src/components/icon/icons/medal-bold.svg +4 -0
- package/src/components/icon/icons/medal.svg +4 -0
- package/src/components/icon/icons/menu-bold.svg +3 -0
- package/src/components/icon/icons/menu.svg +5 -0
- package/src/components/icon/icons/message-bold.svg +5 -0
- package/src/components/icon/icons/message-bulk.svg +14 -0
- package/src/components/icon/icons/message-notif.svg +7 -0
- package/src/components/icon/icons/message-text.svg +5 -0
- package/src/components/icon/icons/message.svg +12 -0
- package/src/components/icon/icons/messages-2-bulk.svg +5 -0
- package/src/components/icon/icons/messages-bold.svg +8 -0
- package/src/components/icon/icons/messages-bulk.svg +8 -0
- package/src/components/icon/icons/messages.svg +8 -0
- package/src/components/icon/icons/microscope-bold.svg +14 -0
- package/src/components/icon/icons/microscope-bulk.svg +14 -0
- package/src/components/icon/icons/microscope.svg +14 -0
- package/src/components/icon/icons/milk-bulk.svg +5 -0
- package/src/components/icon/icons/minus-bold.svg +3 -0
- package/src/components/icon/icons/minus-square-bold.svg +3 -0
- package/src/components/icon/icons/minus-square.svg +4 -0
- package/src/components/icon/icons/minus.svg +3 -0
- package/src/components/icon/icons/mobile-action.svg +37 -0
- package/src/components/icon/icons/mobile-bold.svg +3 -0
- package/src/components/icon/icons/mobile-bulk.svg +11 -0
- package/src/components/icon/icons/mobile.svg +5 -0
- package/src/components/icon/icons/money-bill.svg +8 -0
- package/src/components/icon/icons/money-send.svg +11 -0
- package/src/components/icon/icons/moneys-bold.svg +8 -0
- package/src/components/icon/icons/moneys-bulk.svg +17 -0
- package/src/components/icon/icons/moneys.svg +18 -0
- package/src/components/icon/icons/more-bold.svg +3 -0
- package/src/components/icon/icons/more-bulk.svg +6 -0
- package/src/components/icon/icons/more-circle.svg +6 -0
- package/src/components/icon/icons/more-vertical.svg +3 -0
- package/src/components/icon/icons/more.svg +5 -0
- package/src/components/icon/icons/mouse-square-bold.svg +8 -0
- package/src/components/icon/icons/mouse-square-bulk.svg +8 -0
- package/src/components/icon/icons/mouse-square.svg +7 -0
- package/src/components/icon/icons/music-bulk.svg +5 -0
- package/src/components/icon/icons/musicnote-bulk.svg +4 -0
- package/src/components/icon/icons/not-contains-linear.svg +8 -0
- package/src/components/icon/icons/not-equal.svg +5 -0
- package/src/components/icon/icons/not-in-range.svg +6 -0
- package/src/components/icon/icons/notification-bold.svg +4 -0
- package/src/components/icon/icons/notification.svg +5 -0
- package/src/components/icon/icons/outdent.svg +3 -0
- package/src/components/icon/icons/outline-linear.svg +5 -0
- package/src/components/icon/icons/outline-lock-bulk.svg +5 -0
- package/src/components/icon/icons/outline-lock.svg +5 -0
- package/src/components/icon/icons/paper-plane.svg +3 -0
- package/src/components/icon/icons/parenting-bulk.svg +164 -0
- package/src/components/icon/icons/password-check.svg +7 -0
- package/src/components/icon/icons/pause-bold.svg +4 -0
- package/src/components/icon/icons/pause-circle-bold.svg +3 -0
- package/src/components/icon/icons/pause-circle-bulk.svg +5 -0
- package/src/components/icon/icons/pause-circle.svg +5 -0
- package/src/components/icon/icons/pause.svg +4 -0
- package/src/components/icon/icons/pay/affirm.svg +6 -0
- package/src/components/icon/icons/pay/alipay.svg +8 -0
- package/src/components/icon/icons/pay/amazon.svg +6 -0
- package/src/components/icon/icons/pay/amex-2.svg +7 -0
- package/src/components/icon/icons/pay/amex.svg +5 -0
- package/src/components/icon/icons/pay/applepay.svg +5 -0
- package/src/components/icon/icons/pay/bancontact.svg +7 -0
- package/src/components/icon/icons/pay/bitcoin.svg +5 -0
- package/src/components/icon/icons/pay/bitcoincash.svg +5 -0
- package/src/components/icon/icons/pay/bitpay.svg +5 -0
- package/src/components/icon/icons/pay/citadele.svg +5 -0
- package/src/components/icon/icons/pay/dinersclub.svg +5 -0
- package/src/components/icon/icons/pay/discover.svg +7 -0
- package/src/components/icon/icons/pay/elo.svg +8 -0
- package/src/components/icon/icons/pay/etherium.svg +11 -0
- package/src/components/icon/icons/pay/forbrugsforeningen.svg +5 -0
- package/src/components/icon/icons/pay/giropay.svg +7 -0
- package/src/components/icon/icons/pay/googlepay.svg +9 -0
- package/src/components/icon/icons/pay/ideal.svg +6 -0
- package/src/components/icon/icons/pay/interac.svg +7 -0
- package/src/components/icon/icons/pay/jcb.svg +21 -0
- package/src/components/icon/icons/pay/klarna.svg +5 -0
- package/src/components/icon/icons/pay/lightcoin.svg +5 -0
- package/src/components/icon/icons/pay/maestro-2.svg +5 -0
- package/src/components/icon/icons/pay/maestro.svg +7 -0
- package/src/components/icon/icons/pay/mastercard-2.svg +5 -0
- package/src/components/icon/icons/pay/mastercard.svg +7 -0
- package/src/components/icon/icons/pay/payoneer.svg +6 -0
- package/src/components/icon/icons/pay/paypal.svg +8 -0
- package/src/components/icon/icons/pay/paysafe.svg +7 -0
- package/src/components/icon/icons/pay/qiwi.svg +5 -0
- package/src/components/icon/icons/pay/quickbooks.svg +9 -0
- package/src/components/icon/icons/pay/sepa.svg +6 -0
- package/src/components/icon/icons/pay/shop-pay.svg +5 -0
- package/src/components/icon/icons/pay/skrill.svg +5 -0
- package/src/components/icon/icons/pay/sofort.svg +5 -0
- package/src/components/icon/icons/pay/stripe-2.svg +30 -0
- package/src/components/icon/icons/pay/stripe.svg +5 -0
- package/src/components/icon/icons/pay/unionpay.svg +8 -0
- package/src/components/icon/icons/pay/verifone.svg +6 -0
- package/src/components/icon/icons/pay/visa-2.svg +4 -0
- package/src/components/icon/icons/pay/visa.svg +5 -0
- package/src/components/icon/icons/pay/webmoney.svg +5 -0
- package/src/components/icon/icons/pay/wechat.svg +5 -0
- package/src/components/icon/icons/pay/yandex.svg +5 -0
- package/src/components/icon/icons/pen-square.svg +5 -0
- package/src/components/icon/icons/pencil.svg +3 -0
- package/src/components/icon/icons/people-bold.svg +8 -0
- package/src/components/icon/icons/people-bulk.svg +8 -0
- package/src/components/icon/icons/people.svg +8 -0
- package/src/components/icon/icons/percentage-square-bold.svg +3 -0
- package/src/components/icon/icons/percentage-square.svg +6 -0
- package/src/components/icon/icons/play-bold.svg +3 -0
- package/src/components/icon/icons/play-bulk.svg +4 -0
- package/src/components/icon/icons/play-circle-bold.svg +7 -0
- package/src/components/icon/icons/play-circle.svg +7 -0
- package/src/components/icon/icons/play-store-colorful.svg +14 -0
- package/src/components/icon/icons/play.svg +4 -0
- package/src/components/icon/icons/plug-bold.svg +5 -0
- package/src/components/icon/icons/plug.svg +11 -0
- package/src/components/icon/icons/poker-cards-bulk.svg +11 -0
- package/src/components/icon/icons/presentation-chart-bulk.svg +13 -0
- package/src/components/icon/icons/profile-2user-colored-bulk.svg +16 -0
- package/src/components/icon/icons/programming-arrows-bulk.svg +14 -0
- package/src/components/icon/icons/project-bold.svg +3 -0
- package/src/components/icon/icons/puzzle-bulk.svg +17 -0
- package/src/components/icon/icons/question-bold.svg +3 -0
- package/src/components/icon/icons/question.svg +5 -0
- package/src/components/icon/icons/radar-bold.svg +12 -0
- package/src/components/icon/icons/radar-bulk.svg +8 -0
- package/src/components/icon/icons/radar.svg +10 -0
- package/src/components/icon/icons/rank-bold.svg +14 -0
- package/src/components/icon/icons/rank-bulk.svg +11 -0
- package/src/components/icon/icons/rank.svg +14 -0
- package/src/components/icon/icons/ranking-bold.svg +14 -0
- package/src/components/icon/icons/ranking-bulk.svg +14 -0
- package/src/components/icon/icons/ranking.svg +11 -0
- package/src/components/icon/icons/record-circle.svg +3 -0
- package/src/components/icon/icons/redo-bold.svg +3 -0
- package/src/components/icon/icons/redo.svg +4 -0
- package/src/components/icon/icons/refresh-2.svg +3 -0
- package/src/components/icon/icons/refresh.svg +4 -0
- package/src/components/icon/icons/reply.svg +3 -0
- package/src/components/icon/icons/rocket-bulk.svg +11 -0
- package/src/components/icon/icons/rocket.svg +12 -0
- package/src/components/icon/icons/rotate-left.svg +5 -0
- package/src/components/icon/icons/rotate-right.svg +5 -0
- package/src/components/icon/icons/save-bold.svg +8 -0
- package/src/components/icon/icons/save.svg +11 -0
- package/src/components/icon/icons/scale-balanced.svg +3 -0
- package/src/components/icon/icons/search-2-line.svg +5 -0
- package/src/components/icon/icons/search-dollar.svg +3 -0
- package/src/components/icon/icons/search-normal-bold.svg +4 -0
- package/src/components/icon/icons/search-normal.svg +4 -0
- package/src/components/icon/icons/search-zoom-in-bold.svg +8 -0
- package/src/components/icon/icons/search-zoom-in-bulk.svg +11 -0
- package/src/components/icon/icons/search-zoom-in.svg +11 -0
- package/src/components/icon/icons/security-card-bold.svg +5 -0
- package/src/components/icon/icons/security-card.svg +7 -0
- package/src/components/icon/icons/selection.svg +48 -0
- package/src/components/icon/icons/send.svg +5 -0
- package/src/components/icon/icons/setting-2-linear.svg +8 -0
- package/src/components/icon/icons/setting-bulk.svg +8 -0
- package/src/components/icon/icons/settings-bold.svg +3 -0
- package/src/components/icon/icons/settings-bulk.svg +8 -0
- package/src/components/icon/icons/settings.svg +4 -0
- package/src/components/icon/icons/share-bold.svg +20 -0
- package/src/components/icon/icons/share-bulk.svg +20 -0
- package/src/components/icon/icons/share.svg +8 -0
- package/src/components/icon/icons/shopping-cart-bold.svg +6 -0
- package/src/components/icon/icons/shopping-cart.svg +6 -0
- package/src/components/icon/icons/sidebar-left-bold.svg +8 -0
- package/src/components/icon/icons/sidebar-left-bulk.svg +11 -0
- package/src/components/icon/icons/sidebar-left.svg +9 -0
- package/src/components/icon/icons/sidebar-right-bold.svg +8 -0
- package/src/components/icon/icons/sidebar-right-bulk.svg +11 -0
- package/src/components/icon/icons/sidebar-right.svg +9 -0
- package/src/components/icon/icons/slack.svg +8 -0
- package/src/components/icon/icons/slash-bold.svg +5 -0
- package/src/components/icon/icons/slash.svg +4 -0
- package/src/components/icon/icons/slider-horizontal-bold.svg +8 -0
- package/src/components/icon/icons/slider-horizontal.svg +8 -0
- package/src/components/icon/icons/smart-notification-bold.svg +8 -0
- package/src/components/icon/icons/smart-notification-bulk.svg +8 -0
- package/src/components/icon/icons/smart-notification.svg +8 -0
- package/src/components/icon/icons/sms-bold.svg +3 -0
- package/src/components/icon/icons/sms.svg +4 -0
- package/src/components/icon/icons/soccer-bulk.svg +9 -0
- package/src/components/icon/icons/social-facebook.svg +4 -0
- package/src/components/icon/icons/social-linkedin.svg +5 -0
- package/src/components/icon/icons/social-x.svg +4 -0
- package/src/components/icon/icons/sort-amount-down.svg +3 -0
- package/src/components/icon/icons/sort-bold.svg +5 -0
- package/src/components/icon/icons/sort-bulk.svg +14 -0
- package/src/components/icon/icons/sort.svg +5 -0
- package/src/components/icon/icons/speedometer.svg +5 -0
- package/src/components/icon/icons/spin-dots.svg +14 -0
- package/src/components/icon/icons/spin-round.svg +4 -0
- package/src/components/icon/icons/spin-three-circles.svg +11 -0
- package/src/components/icon/icons/spin-three-dots.svg +5 -0
- package/src/components/icon/icons/spinner.svg +3 -0
- package/src/components/icon/icons/square.svg +3 -0
- package/src/components/icon/icons/star-bold.svg +3 -0
- package/src/components/icon/icons/star-bulk.svg +14 -0
- package/src/components/icon/icons/star-half-colored.svg +4 -0
- package/src/components/icon/icons/star.svg +3 -0
- package/src/components/icon/icons/status-up.svg +17 -0
- package/src/components/icon/icons/steering-wheel-bulk.svg +4 -0
- package/src/components/icon/icons/stop-bold.svg +4 -0
- package/src/components/icon/icons/stop.svg +3 -0
- package/src/components/icon/icons/story.svg +14 -0
- package/src/components/icon/icons/stream.svg +7 -0
- package/src/components/icon/icons/swap-bold.svg +3 -0
- package/src/components/icon/icons/swap.svg +6 -0
- package/src/components/icon/icons/sword-bulk.svg +7 -0
- package/src/components/icon/icons/sync.svg +3 -0
- package/src/components/icon/icons/table-list.svg +3 -0
- package/src/components/icon/icons/tag-2-bold.svg +3 -0
- package/src/components/icon/icons/tag-2.svg +5 -0
- package/src/components/icon/icons/tag-bold.svg +3 -0
- package/src/components/icon/icons/tag-bulk.svg +8 -0
- package/src/components/icon/icons/tag-user.svg +5 -0
- package/src/components/icon/icons/tag.svg +4 -0
- package/src/components/icon/icons/teacher-bulk.svg +4 -0
- package/src/components/icon/icons/thumbtack.svg +3 -0
- package/src/components/icon/icons/tick-circle-bold.svg +5 -0
- package/src/components/icon/icons/tick-circle-bulk.svg +8 -0
- package/src/components/icon/icons/tick-circle.svg +4 -0
- package/src/components/icon/icons/tick-square-bold.svg +3 -0
- package/src/components/icon/icons/tick-square.svg +4 -0
- package/src/components/icon/icons/tick.svg +3 -0
- package/src/components/icon/icons/timer.svg +5 -0
- package/src/components/icon/icons/toggle-off-bold.svg +3 -0
- package/src/components/icon/icons/toggle-off.svg +4 -0
- package/src/components/icon/icons/toggle-on-bold.svg +3 -0
- package/src/components/icon/icons/toggle-on.svg +4 -0
- package/src/components/icon/icons/transgender.svg +3 -0
- package/src/components/icon/icons/translate-bold.svg +24 -0
- package/src/components/icon/icons/translate-bulk.svg +20 -0
- package/src/components/icon/icons/translate.svg +24 -0
- package/src/components/icon/icons/trash-bold.svg +4 -0
- package/src/components/icon/icons/trash-bulk.svg +14 -0
- package/src/components/icon/icons/trash.svg +7 -0
- package/src/components/icon/icons/trend-up-bold.svg +5 -0
- package/src/components/icon/icons/trend-up-bulk.svg +8 -0
- package/src/components/icon/icons/trend-up.svg +5 -0
- package/src/components/icon/icons/twitter.svg +3 -0
- package/src/components/icon/icons/undo-bold.svg +3 -0
- package/src/components/icon/icons/undo.svg +4 -0
- package/src/components/icon/icons/unlock-bold.svg +4 -0
- package/src/components/icon/icons/unlock.svg +5 -0
- package/src/components/icon/icons/upload-bulk.svg +11 -0
- package/src/components/icon/icons/upload.svg +6 -0
- package/src/components/icon/icons/user-avatar.svg +67 -0
- package/src/components/icon/icons/user-default.svg +3 -0
- package/src/components/icon/icons/user-outline.svg +4 -0
- package/src/components/icon/icons/user-settings.svg +3 -0
- package/src/components/icon/icons/user-square.svg +5 -0
- package/src/components/icon/icons/user.svg +5 -0
- package/src/components/icon/icons/video-bulk.svg +5 -0
- package/src/components/icon/icons/video-play-bulk.svg +5 -0
- package/src/components/icon/icons/video-remove.svg +7 -0
- package/src/components/icon/icons/video-square-bulk.svg +4 -0
- package/src/components/icon/icons/volume-low.svg +11 -0
- package/src/components/icon/icons/warning-2-bold.svg +3 -0
- package/src/components/icon/icons/warning-2-bulk.svg +5 -0
- package/src/components/icon/icons/warning-2.svg +5 -0
- package/src/components/icon/icons/warning.svg +3 -0
- package/src/components/icon/icons/watch-bulk.svg +6 -0
- package/src/components/icon/icons/wifi.svg +6 -0
- package/src/components/icon/icons/woman.svg +5 -0
- package/src/components/icon/icons/x.svg +5 -0
- package/src/components/icon/icons/zoom-in.svg +11 -0
- package/src/components/icon/icons/zoom-out.svg +9 -0
- package/src/components/icon/icons.json +524 -0
- package/src/components/icon/index.vue +48 -0
- package/src/components/icon/payment.json +47 -0
- package/src/components/icon/stories/icon.stories.ts +205 -0
- package/src/components/icon/styles.scss +18 -0
- package/src/components/icon/types.ts +17 -0
- package/src/components/icon-button/assets/styles.scss +143 -0
- package/src/components/icon-button/components/button.vue +87 -0
- package/src/components/icon-button/index.vue +95 -0
- package/src/components/icon-button/stories/constants.ts +47 -0
- package/src/components/icon-button/stories/primary.stories.ts +106 -0
- package/src/components/icon-button/stories/secondary.stories.ts +108 -0
- package/src/components/icon-button/types.ts +21 -0
- package/src/components/image/assets/styles.scss +153 -0
- package/src/components/image/group.vue +33 -0
- package/src/components/image/index.vue +51 -0
- package/src/components/image/stories/constants.ts +73 -0
- package/src/components/image/stories/default.stories.ts +27 -0
- package/src/components/image-2/assets/fallback.png +0 -0
- package/src/components/image-2/assets/styles.scss +57 -0
- package/src/components/image-2/group.vue +120 -0
- package/src/components/image-2/image2.test.ts +347 -0
- package/src/components/image-2/index.vue +103 -0
- package/src/components/image-2/preview.vue +244 -0
- package/src/components/image-2/stories/constants.ts +83 -0
- package/src/components/image-2/stories/default.stories.ts +91 -0
- package/src/components/input/index.vue +250 -0
- package/src/components/input/stories/amount.stories.ts +68 -0
- package/src/components/input/stories/constants.ts +81 -0
- package/src/components/input/stories/credit-card.stories.ts +76 -0
- package/src/components/input/stories/default.stories.ts +71 -0
- package/src/components/input/stories/email.stories.ts +76 -0
- package/src/components/input/stories/password.stories.ts +70 -0
- package/src/components/input/stories/textarea.stories.ts +70 -0
- package/src/components/input/stories/url.stories.ts +70 -0
- package/src/components/input/stories/user-info.stories.ts +76 -0
- package/src/components/input/styles.scss +282 -0
- package/src/components/input/types.ts +47 -0
- package/src/components/input-number/assets/styles.scss +622 -0
- package/src/components/input-number/index.vue +142 -0
- package/src/components/input-number/stories/constants.ts +145 -0
- package/src/components/input-number/stories/default.stories.ts +80 -0
- package/src/components/input-number/stories/formatter.mdx +13 -0
- package/src/components/input-number/stories/with-select.stories.ts +30 -0
- package/src/components/input-number/stories/withselect.mdx +23 -0
- package/src/components/input-number/types.ts +26 -0
- package/src/components/keyword-group-selection/assets/styles.scss +205 -0
- package/src/components/keyword-group-selection/components/kwGroupForm.vue +89 -0
- package/src/components/keyword-group-selection/components/kwGroupItem.vue +89 -0
- package/src/components/keyword-group-selection/composables/index.ts +19 -0
- package/src/components/keyword-group-selection/data/keywordGroups.json +136 -0
- package/src/components/keyword-group-selection/index.vue +326 -0
- package/src/components/keyword-group-selection/stories/constants.ts +178 -0
- package/src/components/keyword-group-selection/stories/default.stories.ts +97 -0
- package/src/components/keyword-group-selection/stories/example.mdx +110 -0
- package/src/components/keyword-group-selection/types.ts +43 -0
- package/src/components/menu/assets/styles.scss +3 -0
- package/src/components/menu/components/MenuItem.vue +45 -0
- package/src/components/menu/index.vue +28 -0
- package/src/components/menu/stories/constants.ts +67 -0
- package/src/components/menu/stories/default.stories1.ts +22 -0
- package/src/components/menu/stories/listData.stories1.mdx +33 -0
- package/src/components/modal/assets/effects.scss +602 -0
- package/src/components/modal/assets/styles.scss +131 -0
- package/src/components/modal/assets/with-tab.scss +8 -0
- package/src/components/modal/components/renderContent.vue +15 -0
- package/src/components/modal/index.ts +54 -0
- package/src/components/modal/index.vue +205 -0
- package/src/components/modal/stories/constants.ts +213 -0
- package/src/components/modal/stories/default.stories.ts +74 -0
- package/src/components/modal/stories/functions.stories.ts +82 -0
- package/src/components/modal/types.ts +43 -0
- package/src/components/notification/assets/styles.scss +251 -0
- package/src/components/notification/components/notification.vue +118 -0
- package/src/components/notification/components/notificationContainer.vue +72 -0
- package/src/components/notification/composables/useNotificationAnimation.ts +48 -0
- package/src/components/notification/index.ts +53 -0
- package/src/components/notification/notification.test.ts +120 -0
- package/src/components/notification/stories/commonStories.ts +126 -0
- package/src/components/notification/stories/constants.ts +67 -0
- package/src/components/notification/stories/docs.mdx +100 -0
- package/src/components/notification/stories/filled.stories.ts +23 -0
- package/src/components/notification/stories/light.stories.ts +23 -0
- package/src/components/notification/stories/stroke.stories.ts +23 -0
- package/src/components/notification/types.ts +56 -0
- package/src/components/numeric-input/assets/styles.scss +53 -0
- package/src/components/numeric-input/components/singleNumericInput.vue +46 -0
- package/src/components/numeric-input/index.vue +148 -0
- package/src/components/numeric-input/stories/constants.ts +40 -0
- package/src/components/numeric-input/stories/default.stories.ts +46 -0
- package/src/components/numeric-input/types.ts +7 -0
- package/src/components/pagination/assets/styles.scss +131 -0
- package/src/components/pagination/index.vue +379 -0
- package/src/components/pagination/pagination.test.ts +361 -0
- package/src/components/pagination/stories/constants.ts +50 -0
- package/src/components/pagination/stories/default.stories.ts +17 -0
- package/src/components/pagination/types.ts +31 -0
- package/src/components/popconfirm/assets/styles.scss +22 -0
- package/src/components/popconfirm/index.vue +129 -0
- package/src/components/popconfirm/stories/constants.ts +53 -0
- package/src/components/popconfirm/stories/default.stories.ts +19 -0
- package/src/components/popconfirm/types.ts +16 -0
- package/src/components/popover/assets/styles.scss +214 -0
- package/src/components/popover/index.vue +73 -0
- package/src/components/popover/stories/apps.json +47 -0
- package/src/components/popover/stories/constants.ts +120 -0
- package/src/components/popover/stories/default.stories.ts +33 -0
- package/src/components/popover/types.ts +30 -0
- package/src/components/popover-2/assets/styles.scss +171 -0
- package/src/components/popover-2/index.vue +103 -0
- package/src/components/popover-2/popover2.test.ts +96 -0
- package/src/components/popover-2/stories/constants.ts +142 -0
- package/src/components/popover-2/stories/default.stories.ts +32 -0
- package/src/components/popover-2/types.ts +26 -0
- package/src/components/progress/assets/styles.scss +241 -0
- package/src/components/progress/components/circle.vue +94 -0
- package/src/components/progress/components/halfCircle.vue +92 -0
- package/src/components/progress/components/line.vue +49 -0
- package/src/components/progress/components/stepLine.vue +48 -0
- package/src/components/progress/index.vue +90 -0
- package/src/components/progress/stories/circle.stories.ts +77 -0
- package/src/components/progress/stories/constants.ts +57 -0
- package/src/components/progress/stories/half-circle.stories.ts +67 -0
- package/src/components/progress/stories/line-step.stories.ts +73 -0
- package/src/components/progress/stories/line.stories.ts +90 -0
- package/src/components/progress/types.ts +42 -0
- package/src/components/radio/assets/checked-disabled.svg +11 -0
- package/src/components/radio/assets/checked.svg +11 -0
- package/src/components/radio/group.vue +26 -0
- package/src/components/radio/index.vue +67 -0
- package/src/components/radio/stories/constants.ts +54 -0
- package/src/components/radio/stories/default.stories.ts +38 -0
- package/src/components/radio/styles.scss +454 -0
- package/src/components/radio/types.ts +5 -0
- package/src/components/radio-card/assets/styles.scss +57 -0
- package/src/components/radio-card/index.vue +56 -0
- package/src/components/radio-card/stories/assets/iphone-half.svg +61 -0
- package/src/components/radio-card/stories/constants.ts +98 -0
- package/src/components/radio-card/stories/default.stories.ts +33 -0
- package/src/components/radio-card/stories/example.mdx +17 -0
- package/src/components/rate/assets/styles.scss +43 -0
- package/src/components/rate/components/star.vue +39 -0
- package/src/components/rate/index.vue +124 -0
- package/src/components/rate/stories/constants.ts +40 -0
- package/src/components/rate/stories/default.stories.ts +55 -0
- package/src/components/rate/types.ts +14 -0
- package/src/components/result/assets/styles.scss +53 -0
- package/src/components/result/index.vue +71 -0
- package/src/components/result/stories/constants.ts +70 -0
- package/src/components/result/stories/default.stories.ts +27 -0
- package/src/components/result/types.ts +11 -0
- package/src/components/select/assets/styles.scss +601 -0
- package/src/components/select/components/dropdownRender.vue +70 -0
- package/src/components/select/components/option.vue +19 -0
- package/src/components/select/components/optionCheckbox.vue +31 -0
- package/src/components/select/index.vue +506 -0
- package/src/components/select/stories/constants.ts +85 -0
- package/src/components/select/stories/countries.json +342 -0
- package/src/components/select/stories/countriesWithDescription.json +57 -0
- package/src/components/select/stories/countryGroups.json +47 -0
- package/src/components/select/stories/default.stories.ts +190 -0
- package/src/components/select/stories/group.stories.ts +55 -0
- package/src/components/select/stories/multi-select.stories.ts +158 -0
- package/src/components/select/stories/options.json +204 -0
- package/src/components/select/stories/single.stories.ts +42 -0
- package/src/components/select/types.ts +35 -0
- package/src/components/select-2/assets/borderless.scss +30 -0
- package/src/components/select-2/assets/compact.scss +5 -0
- package/src/components/select-2/assets/default.scss +139 -0
- package/src/components/select-2/assets/dropdown.scss +56 -0
- package/src/components/select-2/assets/inline.scss +49 -0
- package/src/components/select-2/assets/option-group.scss +6 -0
- package/src/components/select-2/assets/option.scss +50 -0
- package/src/components/select-2/assets/styles.scss +8 -0
- package/src/components/select-2/components/selectOption.vue +108 -0
- package/src/components/select-2/components/selectOptionGroup.vue +17 -0
- package/src/components/select-2/composables/use-keyboard-navigation.ts +81 -0
- package/src/components/select-2/composables/use-options-registry.ts +23 -0
- package/src/components/select-2/index.vue +449 -0
- package/src/components/select-2/select.test.ts +322 -0
- package/src/components/select-2/stories/borderless.stories.ts +38 -0
- package/src/components/select-2/stories/constants.ts +184 -0
- package/src/components/select-2/stories/data/countries.json +342 -0
- package/src/components/select-2/stories/data/users.json +204 -0
- package/src/components/select-2/stories/inline.stories.ts +38 -0
- package/src/components/select-2/stories/multiple.stories.ts +71 -0
- package/src/components/select-2/stories/select-option-group.stories.ts +70 -0
- package/src/components/select-2/stories/select-option.stories.ts +64 -0
- package/src/components/select-2/stories/single.stories.ts +169 -0
- package/src/components/select-2/types.ts +231 -0
- package/src/components/side-menu/add-new-app-button/assets/styles.scss +18 -0
- package/src/components/side-menu/add-new-app-button/index.vue +35 -0
- package/src/components/side-menu/add-new-app-button/stories/constants.ts +39 -0
- package/src/components/side-menu/add-new-app-button/stories/default.stories.ts +23 -0
- package/src/components/side-menu/app-button/assets/styles.scss +51 -0
- package/src/components/side-menu/app-button/index.vue +42 -0
- package/src/components/side-menu/app-button/stories/constants.ts +34 -0
- package/src/components/side-menu/app-button/stories/default.stories.ts +28 -0
- package/src/components/side-menu/button/assets/styles.scss +42 -0
- package/src/components/side-menu/button/index.vue +70 -0
- package/src/components/side-menu/button/stories/constants.ts +58 -0
- package/src/components/side-menu/button/stories/default.stories.ts +44 -0
- package/src/components/side-menu/icon-button/assets/styles.scss +49 -0
- package/src/components/side-menu/icon-button/index.vue +78 -0
- package/src/components/side-menu/icon-button/stories/constants.ts +48 -0
- package/src/components/side-menu/icon-button/stories/default.stories.ts +33 -0
- package/src/components/side-menu/menu-item/assets/styles.scss +66 -0
- package/src/components/side-menu/menu-item/index.vue +90 -0
- package/src/components/side-menu/menu-item/stories/constants.ts +59 -0
- package/src/components/side-menu/menu-item/stories/default.stories.ts +191 -0
- package/src/components/side-menu/menu-item/types.ts +12 -0
- package/src/components/side-menu/round-icon-button/assets/styles.scss +29 -0
- package/src/components/side-menu/round-icon-button/index.vue +27 -0
- package/src/components/side-menu/round-icon-button/stories/constants.ts +39 -0
- package/src/components/side-menu/round-icon-button/stories/default.stories.ts +18 -0
- package/src/components/side-menu-2/menu-button/assets/styles.scss +36 -0
- package/src/components/side-menu-2/menu-button/index.vue +77 -0
- package/src/components/side-menu-2/menu-button/stories/constants.ts +55 -0
- package/src/components/side-menu-2/menu-button/stories/default.stories.ts +49 -0
- package/src/components/side-menu-2/menu-button/types.ts +6 -0
- package/src/components/side-menu-2/menu-item/assets/styles.scss +43 -0
- package/src/components/side-menu-2/menu-item/index.vue +54 -0
- package/src/components/side-menu-2/menu-item/stories/constants.ts +39 -0
- package/src/components/side-menu-2/menu-item/stories/default.stories.ts +83 -0
- package/src/components/side-menu-2/side-menu-2.test.ts +64 -0
- package/src/components/slider/assets/styles.scss +222 -0
- package/src/components/slider/index.vue +100 -0
- package/src/components/slider/stories/constants.ts +104 -0
- package/src/components/slider/stories/default.stories.ts +22 -0
- package/src/components/slider/stories/example.mdx +69 -0
- package/src/components/slider/types.ts +12 -0
- package/src/components/spin/assets/styles.scss +127 -0
- package/src/components/spin/index.vue +55 -0
- package/src/components/spin/stories/constants.ts +70 -0
- package/src/components/spin/stories/container.stories.ts +30 -0
- package/src/components/spin/stories/default.stories.ts +26 -0
- package/src/components/spin/types.ts +17 -0
- package/src/components/step-items/assets/styles.scss +57 -0
- package/src/components/step-items/components/index.vue +81 -0
- package/src/components/step-items/index.vue +68 -0
- package/src/components/step-items/stories/constants.ts +77 -0
- package/src/components/step-items/stories/default.stories.ts +18 -0
- package/src/components/step-items/stories/examples.mdx +25 -0
- package/src/components/step-items/stories/step-item.stories.ts +19 -0
- package/src/components/steps/assets/styles.scss +79 -0
- package/src/components/steps/components/index.vue +78 -0
- package/src/components/steps/index.vue +72 -0
- package/src/components/steps/stories/constants.ts +132 -0
- package/src/components/steps/stories/default.stories.ts +56 -0
- package/src/components/steps/stories/examples.mdx +27 -0
- package/src/components/steps/stories/step.stories.ts +19 -0
- package/src/components/steps/types.ts +6 -0
- package/src/components/switch/assets/styles.scss +107 -0
- package/src/components/switch/index.vue +142 -0
- package/src/components/switch/stories/constants.ts +43 -0
- package/src/components/switch/stories/default.stories.ts +133 -0
- package/src/components/switch/switch.test.ts +90 -0
- package/src/components/switch/types.ts +12 -0
- package/src/components/table/assets/table.scss +167 -0
- package/src/components/table/preview.vue +140 -0
- package/src/components/table/row-detail.vue +19 -0
- package/src/components/table/stories/data/data.json +1089 -0
- package/src/components/table/stories/data/fields.ts +110 -0
- package/src/components/table/stories/default.stories.ts +25 -0
- package/src/components/table/stories/table.mdx +51 -0
- package/src/components/tabs/assets/styles.scss +435 -0
- package/src/components/tabs/components/tabPane.vue +11 -0
- package/src/components/tabs/index.vue +65 -0
- package/src/components/tabs/stories/card.stories.ts +85 -0
- package/src/components/tabs/stories/constants.ts +124 -0
- package/src/components/tabs/stories/default.mdx +72 -0
- package/src/components/tabs/stories/line.stories.ts +85 -0
- package/src/components/tabs/types.ts +20 -0
- package/src/components/tabs-2/assets/styles.scss +40 -0
- package/src/components/tabs-2/assets/tab-button.scss +89 -0
- package/src/components/tabs-2/components/tabButton.vue +70 -0
- package/src/components/tabs-2/components/tabPane.vue +33 -0
- package/src/components/tabs-2/index.vue +110 -0
- package/src/components/tabs-2/stories/default.stories.ts +147 -0
- package/src/components/tabs-2/stories/tab-button.stories.ts +71 -0
- package/src/components/tabs-2/stories/tab-pane.stories.ts +62 -0
- package/src/components/tabs-2/tabButton.test.ts +84 -0
- package/src/components/tabs-2/tabs.test.ts +178 -0
- package/src/components/tabs-2/types.ts +106 -0
- package/src/components/tag-input/assets/styles.scss +99 -0
- package/src/components/tag-input/index.vue +185 -0
- package/src/components/tag-input/stories/constants.ts +50 -0
- package/src/components/tag-input/stories/default.stories.ts +76 -0
- package/src/components/tag-input/types.ts +3 -0
- package/src/components/toggle/assets/styles.scss +122 -0
- package/src/components/toggle/index.vue +80 -0
- package/src/components/toggle/stories/constants.ts +73 -0
- package/src/components/toggle/stories/default.stories.ts +32 -0
- package/src/components/toggle/types.ts +7 -0
- package/src/components/tooltip/assets/styles.scss +207 -0
- package/src/components/tooltip/index.vue +101 -0
- package/src/components/tooltip/stories/constants.ts +67 -0
- package/src/components/tooltip/stories/default.stories.ts +143 -0
- package/src/components/tooltip/tooltip.test.ts +157 -0
- package/src/components/tooltip/types.ts +30 -0
- package/src/components/track-button/assets/style.scss +94 -0
- package/src/components/track-button/index.vue +77 -0
- package/src/components/track-button/stories/constants.ts +63 -0
- package/src/components/track-button/stories/default.stories.ts +123 -0
- package/src/components/track-button/track-button.test.ts +91 -0
- package/src/components/track-button/types.ts +8 -0
- package/src/components/tree/assets/styles.scss +35 -0
- package/src/components/tree/components/treeNode.vue +238 -0
- package/src/components/tree/index.vue +257 -0
- package/src/components/tree/stories/constants.ts +93 -0
- package/src/components/tree/stories/default.stories.ts +173 -0
- package/src/components/tree/stories/useTreeData.ts +41 -0
- package/src/components/tree/tree.test.ts +104 -0
- package/src/components/tree/types.ts +19 -0
- package/src/components/typography/assets/styles.scss +0 -0
- package/src/components/typography/index.vue +40 -0
- package/src/components/typography/stories/constants.ts +115 -0
- package/src/components/typography/stories/default.stories.ts +114 -0
- package/src/components/typography/types.ts +39 -0
- package/src/components/typography/typography.test.ts +56 -0
- package/src/components/upload/assets/styles.scss +120 -0
- package/src/components/upload/composables/file.ts +114 -0
- package/src/components/upload/index.vue +386 -0
- package/src/components/upload/singleFile.vue +62 -0
- package/src/components/upload/stories/box.stories.ts +76 -0
- package/src/components/upload/stories/button.stories.ts +20 -0
- package/src/components/upload/stories/constants.ts +159 -0
- package/src/components/upload/stories/small-box.stories.ts +21 -0
- package/src/components/upload/types.ts +31 -0
- package/src/components/watchlist-button/assets/styles.scss +116 -0
- package/src/components/watchlist-button/components/button.vue +105 -0
- package/src/components/watchlist-button/index.vue +88 -0
- package/src/components/watchlist-button/stories/constants.ts +54 -0
- package/src/components/watchlist-button/stories/dashed.stories.ts +30 -0
- package/src/components/watchlist-button/stories/default.stories.ts +55 -0
- package/src/components/watchlist-button/types.ts +13 -0
- package/src/composables/config.ts +6 -0
- package/src/composables/ssr.ts +10 -0
- package/src/index.ts +172 -0
- package/src/services/config.ts +32 -0
- package/src/shims-vue-virtual-scroller.d.ts +77 -0
- package/src/tailwind.scss +6 -0
- package/src/utils/breakpoints.test.ts +21 -0
- package/src/utils/breakpoints.ts +31 -0
- package/src/utils/slots.ts +21 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { h } from 'vue';
|
|
2
|
+
import { MaIcon, MaAppIcon } from '@/index';
|
|
3
|
+
|
|
4
|
+
export const Fields = [
|
|
5
|
+
{
|
|
6
|
+
field: 'keyword',
|
|
7
|
+
headerName: 'Keyword',
|
|
8
|
+
filter: 'agTextColumnFilter',
|
|
9
|
+
pinned: true,
|
|
10
|
+
cellRenderer: 'agGroupCellRenderer',
|
|
11
|
+
minWidth: 250,
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
field: 'trackId',
|
|
15
|
+
headerName: 'App',
|
|
16
|
+
pinned: true,
|
|
17
|
+
cellClass: 'flex items-center justify-center',
|
|
18
|
+
sortable: false,
|
|
19
|
+
cellRenderer: {
|
|
20
|
+
props: ['params'],
|
|
21
|
+
setup(props: any) {
|
|
22
|
+
return () => props.params.data?.trackId? h('div', {
|
|
23
|
+
class: 'flex items-center h-full',
|
|
24
|
+
}, [
|
|
25
|
+
h(MaAppIcon, {
|
|
26
|
+
appIcon: 'https://is2-ssl.mzstatic.com/image/thumb/Purple116/v4/d6/38/28/d6382878-36fe-bcdc-d5c2-b74289a73bc3/AppIcon-0-1x_U007emarketing-0-10-0-85-220.png/60x60.png',
|
|
27
|
+
appName: 'Calm',
|
|
28
|
+
appDescription: 'Health & Fitness',
|
|
29
|
+
platform: 'ios',
|
|
30
|
+
size: 'xx-small',
|
|
31
|
+
showTooltip: true,
|
|
32
|
+
}),
|
|
33
|
+
]): null;
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
field: 'rank',
|
|
39
|
+
headerName: 'Rank',
|
|
40
|
+
filter: 'agNumberColumnFilter',
|
|
41
|
+
filterParams: {
|
|
42
|
+
buttons: ['reset', 'apply'],
|
|
43
|
+
},
|
|
44
|
+
type: 'numericColumn',
|
|
45
|
+
aggFunc: 'sum',
|
|
46
|
+
headerClass: 'right-aligned',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
field: 'searchVolume',
|
|
50
|
+
headerName: 'Search Volume',
|
|
51
|
+
filter: 'agNumberColumnFilter',
|
|
52
|
+
type: 'numericColumn',
|
|
53
|
+
aggFunc: 'sum',
|
|
54
|
+
headerClass: 'right-aligned',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
field: 'change',
|
|
58
|
+
headerName: 'Change',
|
|
59
|
+
filter: 'agNumberColumnFilter',
|
|
60
|
+
type: 'numericColumn',
|
|
61
|
+
aggFunc: 'sum',
|
|
62
|
+
headerClass: 'right-aligned',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
field: 'chance',
|
|
66
|
+
headerName: 'Chance',
|
|
67
|
+
filter: 'agNumberColumnFilter',
|
|
68
|
+
type: 'numericColumn',
|
|
69
|
+
aggFunc: 'sum',
|
|
70
|
+
valueFormatter: ({ value }: { value: number }) => value.toFixed(0),
|
|
71
|
+
headerClass: 'right-aligned',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
field: 'numberOfApps',
|
|
75
|
+
headerName: 'Number of Apps',
|
|
76
|
+
filter: 'agNumberColumnFilter',
|
|
77
|
+
type: 'numericColumn',
|
|
78
|
+
aggFunc: 'sum',
|
|
79
|
+
headerClass: 'right-aligned',
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
field: 'relevancyScore',
|
|
83
|
+
headerName: 'Relevancy Score',
|
|
84
|
+
filter: 'agNumberColumnFilter',
|
|
85
|
+
type: 'numericColumn',
|
|
86
|
+
aggFunc: 'sum',
|
|
87
|
+
headerClass: 'right-aligned',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
field: 'runningSearchAds',
|
|
91
|
+
headerName: 'Search Ads',
|
|
92
|
+
filter: 'agBooleanColumnFilter',
|
|
93
|
+
cellDataType: 'boolean',
|
|
94
|
+
cellRenderer: {
|
|
95
|
+
props: ['params'],
|
|
96
|
+
setup(props: any) {
|
|
97
|
+
return () => {
|
|
98
|
+
const { value } = props.params;
|
|
99
|
+
if (value === undefined) return null;
|
|
100
|
+
|
|
101
|
+
if (value) {
|
|
102
|
+
return h(MaIcon, { name: 'tick-circle-bold', class: 'text-green-500' });
|
|
103
|
+
} else {
|
|
104
|
+
return h(MaIcon, { name: 'close-circle-bold', class: 'text-red-500' });
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { h } from 'vue';
|
|
2
|
+
import { StoryFn } from '@storybook/vue3';
|
|
3
|
+
|
|
4
|
+
import data from './data/data.json';
|
|
5
|
+
import { Fields } from './data/fields';
|
|
6
|
+
|
|
7
|
+
import TablePreview from '../preview.vue';
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
title: 'Advanced/Table',
|
|
11
|
+
parameters: {
|
|
12
|
+
docs: {
|
|
13
|
+
disable: true,
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export const Default: StoryFn = () =>
|
|
19
|
+
h(TablePreview, { data, columns: Fields });
|
|
20
|
+
export const AdvancedFilter: StoryFn = () =>
|
|
21
|
+
h(TablePreview, { data, columns: Fields, advancedFilter: true });
|
|
22
|
+
export const StickyHeader: StoryFn = () =>
|
|
23
|
+
h(TablePreview, { data, columns: Fields, domLayout: 'autoHeight' });
|
|
24
|
+
export const StatusBar: StoryFn = () =>
|
|
25
|
+
h(TablePreview, { data, columns: Fields, showStatusBar: true });
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Meta } from '@storybook/blocks';
|
|
2
|
+
|
|
3
|
+
<Meta title="Advanced/Table" />
|
|
4
|
+
|
|
5
|
+
# AgGrid Table
|
|
6
|
+
|
|
7
|
+
Action-Kit only includes theme codes and a preview for using AG Grid.
|
|
8
|
+
|
|
9
|
+
For AG Grid usage, please refer to the [official documentation.](https://www.ag-grid.com/vue-data-grid/getting-started/)
|
|
10
|
+
|
|
11
|
+
You can import the style codes of AG Grid's theme created for Mobile Action from this file.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
|
|
15
|
+
import "@mobileaction/action-kit/dist/table.css"
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
To apply the AG Grid Mobile Action theme, simply add the **ag-theme-ma** class to the AgGridVue component
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
|
|
23
|
+
<ag-grid-vue class="ag-theme-ma" ... />
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
To apply borderless variant add the **ag-theme-ma--borderless** class to the AgGridVue component
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
|
|
31
|
+
<ag-grid-vue class="ag-theme-ma ag-theme-ma--borderless" ... />
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
To apply no border radius variant add the **no-rounded** class to the AgGridVue component
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
|
|
39
|
+
<ag-grid-vue class="ag-theme-ma no-rounded" ... />
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
**MobileAction AgGrid usage rules**
|
|
44
|
+
|
|
45
|
+
[Confluence document](https://mobileaction.atlassian.net/wiki/spaces/ENG/pages/1807384583/AG+Grid+Table+Columns+Rulesets+for+MA+Dashboard) for cell rulesets
|
|
46
|
+
|
|
47
|
+
* Table widths will fit into their respective areas.
|
|
48
|
+
* Right-aligned columns will have their menu and filter buttons aligned to the right. For this, the `right-aligned` headerClass needs to be added to the columns.
|
|
49
|
+
* All numeric columns, except for lead columns and string columns, will be right-aligned.
|
|
50
|
+
* Lead columns will be pinned. If the width of the lead cell is too large in mobile view, it will not be pinned for the mobile view.
|
|
51
|
+
* Grand total rows will be pinned at the bottom. If a custom total row is being created instead of a grand total, the row should be given the `ma-total-row` className to inherit the total row styles.
|
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
.antd-tabs-top,
|
|
2
|
+
.antd-tabs-bottom {
|
|
3
|
+
@apply flex-col;
|
|
4
|
+
}
|
|
5
|
+
.antd-tabs-top > .antd-tabs-nav,
|
|
6
|
+
.antd-tabs-bottom > .antd-tabs-nav,
|
|
7
|
+
.antd-tabs-top > div > .antd-tabs-nav,
|
|
8
|
+
.antd-tabs-bottom > div > .antd-tabs-nav {
|
|
9
|
+
@apply mt-0 mx-0;
|
|
10
|
+
}
|
|
11
|
+
// .antd-tabs-top > .antd-tabs-nav::before,
|
|
12
|
+
// .antd-tabs-bottom > .antd-tabs-nav::before,
|
|
13
|
+
// .antd-tabs-top > div > .antd-tabs-nav::before,
|
|
14
|
+
// .antd-tabs-bottom > div > .antd-tabs-nav::before {
|
|
15
|
+
// @apply absolute content-[""] border-b-gray-200 border-b border-solid inset-x-0;
|
|
16
|
+
// }
|
|
17
|
+
.antd-tabs-top > .antd-tabs-nav .antd-tabs-ink-bar,
|
|
18
|
+
.antd-tabs-bottom > .antd-tabs-nav .antd-tabs-ink-bar,
|
|
19
|
+
.antd-tabs-top > div > .antd-tabs-nav .antd-tabs-ink-bar,
|
|
20
|
+
.antd-tabs-bottom > div > .antd-tabs-nav .antd-tabs-ink-bar {
|
|
21
|
+
@apply h-0.5;
|
|
22
|
+
}
|
|
23
|
+
.antd-tabs-top > .antd-tabs-nav .antd-tabs-ink-bar-animated,
|
|
24
|
+
.antd-tabs-bottom > .antd-tabs-nav .antd-tabs-ink-bar-animated,
|
|
25
|
+
.antd-tabs-top > div > .antd-tabs-nav .antd-tabs-ink-bar-animated,
|
|
26
|
+
.antd-tabs-bottom > div > .antd-tabs-nav .antd-tabs-ink-bar-animated {
|
|
27
|
+
transition:
|
|
28
|
+
width 0.3s,
|
|
29
|
+
left 0.3s,
|
|
30
|
+
right 0.3s;
|
|
31
|
+
}
|
|
32
|
+
.antd-tabs-top > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
33
|
+
.antd-tabs-bottom > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
34
|
+
.antd-tabs-top > div > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
35
|
+
.antd-tabs-bottom > div > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
36
|
+
.antd-tabs-top > .antd-tabs-nav .antd-tabs-nav-wrap::after,
|
|
37
|
+
.antd-tabs-bottom > .antd-tabs-nav .antd-tabs-nav-wrap::after,
|
|
38
|
+
.antd-tabs-top > div > .antd-tabs-nav .antd-tabs-nav-wrap::after,
|
|
39
|
+
.antd-tabs-bottom > div > .antd-tabs-nav .antd-tabs-nav-wrap::after {
|
|
40
|
+
@apply w-[30px] inset-y-0;
|
|
41
|
+
}
|
|
42
|
+
.antd-tabs-top > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
43
|
+
.antd-tabs-bottom > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
44
|
+
.antd-tabs-top > div > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
45
|
+
.antd-tabs-bottom > div > .antd-tabs-nav .antd-tabs-nav-wrap::before {
|
|
46
|
+
@apply shadow-[inset_10px_0_8px_-8px_rgba(0,0,0,0.08)] left-0;
|
|
47
|
+
}
|
|
48
|
+
.antd-tabs-top > .antd-tabs-nav .antd-tabs-nav-wrap::after,
|
|
49
|
+
.antd-tabs-bottom > .antd-tabs-nav .antd-tabs-nav-wrap::after,
|
|
50
|
+
.antd-tabs-top > div > .antd-tabs-nav .antd-tabs-nav-wrap::after,
|
|
51
|
+
.antd-tabs-bottom > div > .antd-tabs-nav .antd-tabs-nav-wrap::after {
|
|
52
|
+
@apply shadow-[inset_-10px_0_8px_-8px_rgba(0,0,0,0.08)] right-0;
|
|
53
|
+
}
|
|
54
|
+
.antd-tabs-top > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-left::before,
|
|
55
|
+
.antd-tabs-bottom > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-left::before,
|
|
56
|
+
.antd-tabs-top > div > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-left::before,
|
|
57
|
+
.antd-tabs-bottom > div > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-left::before {
|
|
58
|
+
@apply opacity-100;
|
|
59
|
+
}
|
|
60
|
+
.antd-tabs-top > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-right::after,
|
|
61
|
+
.antd-tabs-bottom > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-right::after,
|
|
62
|
+
.antd-tabs-top > div > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-right::after,
|
|
63
|
+
.antd-tabs-bottom > div > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-right::after {
|
|
64
|
+
@apply opacity-100;
|
|
65
|
+
}
|
|
66
|
+
.antd-tabs-top > .antd-tabs-nav::before,
|
|
67
|
+
.antd-tabs-top > div > .antd-tabs-nav::before {
|
|
68
|
+
@apply bottom-0;
|
|
69
|
+
}
|
|
70
|
+
.antd-tabs-top > .antd-tabs-nav .antd-tabs-ink-bar,
|
|
71
|
+
.antd-tabs-top > div > .antd-tabs-nav .antd-tabs-ink-bar {
|
|
72
|
+
@apply bottom-0;
|
|
73
|
+
}
|
|
74
|
+
.antd-tabs-bottom > .antd-tabs-nav,
|
|
75
|
+
.antd-tabs-bottom > div > .antd-tabs-nav {
|
|
76
|
+
@apply order-1 mt-4 mb-0;
|
|
77
|
+
}
|
|
78
|
+
.antd-tabs-bottom > .antd-tabs-nav::before,
|
|
79
|
+
.antd-tabs-bottom > div > .antd-tabs-nav::before {
|
|
80
|
+
@apply top-0;
|
|
81
|
+
}
|
|
82
|
+
.antd-tabs-bottom > .antd-tabs-nav .antd-tabs-ink-bar,
|
|
83
|
+
.antd-tabs-bottom > div > .antd-tabs-nav .antd-tabs-ink-bar {
|
|
84
|
+
@apply top-0;
|
|
85
|
+
}
|
|
86
|
+
.antd-tabs-bottom > .antd-tabs-content-holder,
|
|
87
|
+
.antd-tabs-bottom > div > .antd-tabs-content-holder {
|
|
88
|
+
@apply order-none;
|
|
89
|
+
}
|
|
90
|
+
.antd-tabs-left > .antd-tabs-nav,
|
|
91
|
+
.antd-tabs-right > .antd-tabs-nav,
|
|
92
|
+
.antd-tabs-left > div > .antd-tabs-nav,
|
|
93
|
+
.antd-tabs-right > div > .antd-tabs-nav {
|
|
94
|
+
@apply flex-col min-w-[50px];
|
|
95
|
+
}
|
|
96
|
+
.antd-tabs-left > .antd-tabs-nav .antd-tabs-tab,
|
|
97
|
+
.antd-tabs-right > .antd-tabs-nav .antd-tabs-tab,
|
|
98
|
+
.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-tab,
|
|
99
|
+
.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-tab {
|
|
100
|
+
@apply text-center;
|
|
101
|
+
}
|
|
102
|
+
.antd-tabs-left > .antd-tabs-nav .antd-tabs-tab + .antd-tabs-tab,
|
|
103
|
+
.antd-tabs-right > .antd-tabs-nav .antd-tabs-tab + .antd-tabs-tab,
|
|
104
|
+
.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-tab + .antd-tabs-tab,
|
|
105
|
+
.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-tab + .antd-tabs-tab {
|
|
106
|
+
@apply mt-4 mb-0 mx-0;
|
|
107
|
+
}
|
|
108
|
+
.antd-tabs-left > .antd-tabs-nav .antd-tabs-nav-wrap,
|
|
109
|
+
.antd-tabs-right > .antd-tabs-nav .antd-tabs-nav-wrap,
|
|
110
|
+
.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-nav-wrap,
|
|
111
|
+
.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-nav-wrap {
|
|
112
|
+
@apply flex-col;
|
|
113
|
+
}
|
|
114
|
+
.antd-tabs-left > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
115
|
+
.antd-tabs-right > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
116
|
+
.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
117
|
+
.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
118
|
+
.antd-tabs-left > .antd-tabs-nav .antd-tabs-nav-wrap::after,
|
|
119
|
+
.antd-tabs-right > .antd-tabs-nav .antd-tabs-nav-wrap::after,
|
|
120
|
+
.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-nav-wrap::after,
|
|
121
|
+
.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-nav-wrap::after {
|
|
122
|
+
@apply h-[30px] inset-x-0;
|
|
123
|
+
}
|
|
124
|
+
.antd-tabs-left > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
125
|
+
.antd-tabs-right > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
126
|
+
.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
127
|
+
.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-nav-wrap::before {
|
|
128
|
+
@apply top-0;
|
|
129
|
+
}
|
|
130
|
+
.antd-tabs-left > .antd-tabs-nav .antd-tabs-nav-wrap::after,
|
|
131
|
+
.antd-tabs-right > .antd-tabs-nav .antd-tabs-nav-wrap::after,
|
|
132
|
+
.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-nav-wrap::after,
|
|
133
|
+
.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-nav-wrap::after {
|
|
134
|
+
@apply bottom-0;
|
|
135
|
+
}
|
|
136
|
+
.antd-tabs-left > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-top::before,
|
|
137
|
+
.antd-tabs-right > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-top::before,
|
|
138
|
+
.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-top::before,
|
|
139
|
+
.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-top::before {
|
|
140
|
+
@apply opacity-100;
|
|
141
|
+
}
|
|
142
|
+
.antd-tabs-left > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-bottom::after,
|
|
143
|
+
.antd-tabs-right > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-bottom::after,
|
|
144
|
+
.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-bottom::after,
|
|
145
|
+
.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-nav-wrap.antd-tabs-nav-wrap-ping-bottom::after {
|
|
146
|
+
@apply opacity-100;
|
|
147
|
+
}
|
|
148
|
+
.antd-tabs-left > .antd-tabs-nav .antd-tabs-ink-bar,
|
|
149
|
+
.antd-tabs-right > .antd-tabs-nav .antd-tabs-ink-bar,
|
|
150
|
+
.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-ink-bar,
|
|
151
|
+
.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-ink-bar {
|
|
152
|
+
@apply w-0.5;
|
|
153
|
+
}
|
|
154
|
+
.antd-tabs-left > .antd-tabs-nav .antd-tabs-ink-bar-animated,
|
|
155
|
+
.antd-tabs-right > .antd-tabs-nav .antd-tabs-ink-bar-animated,
|
|
156
|
+
.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-ink-bar-animated,
|
|
157
|
+
.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-ink-bar-animated {
|
|
158
|
+
@apply transition-[height] duration-[0.3s,top] delay-[0.3s];
|
|
159
|
+
}
|
|
160
|
+
.antd-tabs-left > .antd-tabs-nav .antd-tabs-nav-list,
|
|
161
|
+
.antd-tabs-right > .antd-tabs-nav .antd-tabs-nav-list,
|
|
162
|
+
.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-nav-list,
|
|
163
|
+
.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-nav-list,
|
|
164
|
+
.antd-tabs-left > .antd-tabs-nav .antd-tabs-nav-operations,
|
|
165
|
+
.antd-tabs-right > .antd-tabs-nav .antd-tabs-nav-operations,
|
|
166
|
+
.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-nav-operations,
|
|
167
|
+
.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-nav-operations {
|
|
168
|
+
@apply flex-[1_0_auto] flex-col;
|
|
169
|
+
}
|
|
170
|
+
.antd-tabs-left > .antd-tabs-nav .antd-tabs-ink-bar,
|
|
171
|
+
.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-ink-bar {
|
|
172
|
+
@apply right-0;
|
|
173
|
+
}
|
|
174
|
+
.antd-tabs-left > .antd-tabs-content-holder,
|
|
175
|
+
.antd-tabs-left > div > .antd-tabs-content-holder {
|
|
176
|
+
@apply -ml-px border-l-gray-100 border-l border-solid;
|
|
177
|
+
}
|
|
178
|
+
.antd-tabs-card > .antd-tabs-content-holder,
|
|
179
|
+
.antd-tabs-card > div > .antd-tabs-content-holder {
|
|
180
|
+
@apply border-none ml-0;
|
|
181
|
+
}
|
|
182
|
+
.antd-tabs-left > .antd-tabs-content-holder > .antd-tabs-content > .antd-tabs-tabpane,
|
|
183
|
+
.antd-tabs-left > div > .antd-tabs-content-holder > .antd-tabs-content > .antd-tabs-tabpane {
|
|
184
|
+
@apply pl-1;
|
|
185
|
+
}
|
|
186
|
+
.antd-tabs-left > .antd-tabs-nav-list,
|
|
187
|
+
.antd-tabs-left > div > .antd-tabs-nav-list {
|
|
188
|
+
@apply pr-1;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.antd-tabs-left .antd-tabs-nav-list,
|
|
192
|
+
.antd-tabs-right .antd-tabs-nav-list {
|
|
193
|
+
@apply gap-2;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.antd-tabs-right > .antd-tabs-nav-list,
|
|
197
|
+
.antd-tabs-right > div > .antd-tabs-nav-list {
|
|
198
|
+
@apply p-2;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.antd-tabs-right > .antd-tabs-nav,
|
|
202
|
+
.antd-tabs-right > div > .antd-tabs-nav {
|
|
203
|
+
@apply order-1;
|
|
204
|
+
}
|
|
205
|
+
.antd-tabs-right > .antd-tabs-nav .antd-tabs-ink-bar,
|
|
206
|
+
.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-ink-bar {
|
|
207
|
+
@apply left-0;
|
|
208
|
+
}
|
|
209
|
+
.antd-tabs-right > .antd-tabs-content-holder,
|
|
210
|
+
.antd-tabs-right > div > .antd-tabs-content-holder {
|
|
211
|
+
@apply order-none -mr-px border-r-gray-100 border-r border-solid;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.antd-tabs-card > .antd-tabs-content-holder,
|
|
215
|
+
.antd-tabs-card > div > .antd-tabs-content-holder {
|
|
216
|
+
@apply border-none;
|
|
217
|
+
}
|
|
218
|
+
.antd-tabs-right > .antd-tabs-content-holder > .antd-tabs-content > .antd-tabs-tabpane,
|
|
219
|
+
.antd-tabs-right > div > .antd-tabs-content-holder > .antd-tabs-content > .antd-tabs-tabpane {
|
|
220
|
+
@apply pr-3;
|
|
221
|
+
}
|
|
222
|
+
.antd-tabs-dropdown {
|
|
223
|
+
@apply box-border text-gray-900 text-sm absolute top-[-9999px] left-[-9999px] z-[1050] block m-0 p-0;
|
|
224
|
+
font-variant: tabular-nums;
|
|
225
|
+
list-style: none;
|
|
226
|
+
font-feature-settings: "tnum";
|
|
227
|
+
}
|
|
228
|
+
.antd-tabs-dropdown-hidden {
|
|
229
|
+
@apply hidden;
|
|
230
|
+
}
|
|
231
|
+
.antd-tabs-dropdown-menu {
|
|
232
|
+
@apply max-h-[200px] overflow-x-hidden overflow-y-auto text-left list-none bg-white bg-clip-padding shadow-[0_3px_6px_-4px_rgba(0,0,0,0.12),0_6px_16px_0_rgba(0,0,0,0.08),0_9px_28px_8px_rgba(0,0,0,0.05)] m-0 px-0 py-1 rounded-sm outline-none;
|
|
233
|
+
}
|
|
234
|
+
.antd-tabs-dropdown-menu-item {
|
|
235
|
+
@apply flex items-center min-w-[120px] overflow-hidden whitespace-nowrap text-ellipsis cursor-pointer transition-all duration-[0.3s] m-0 px-3 py-[5px];
|
|
236
|
+
}
|
|
237
|
+
.antd-tabs-dropdown-menu-item > span {
|
|
238
|
+
@apply flex-1 whitespace-nowrap;
|
|
239
|
+
}
|
|
240
|
+
.antd-tabs-dropdown-menu-item-remove {
|
|
241
|
+
@apply flex-none text-xs cursor-pointer ml-3 border-0 hover:text-gray-900 bg-transparent;
|
|
242
|
+
}
|
|
243
|
+
.antd-tabs-dropdown-menu-item:hover {
|
|
244
|
+
@apply bg-gray-100;
|
|
245
|
+
}
|
|
246
|
+
.antd-tabs-dropdown-menu-item-disabled,
|
|
247
|
+
.antd-tabs-dropdown-menu-item-disabled:hover {
|
|
248
|
+
@apply text-gray-500 cursor-not-allowed bg-transparent;
|
|
249
|
+
.ma-icon {
|
|
250
|
+
@apply text-gray-200;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
.antd-tabs-card > .antd-tabs-nav .antd-tabs-tab,
|
|
254
|
+
.antd-tabs-card > div > .antd-tabs-nav .antd-tabs-tab {
|
|
255
|
+
@apply m-0 rounded-full text-gray-500 transition-all duration-[0.3s] ease-[cubic-bezier(0.645,0.045,0.355,1)];
|
|
256
|
+
}
|
|
257
|
+
.antd-tabs-card > .antd-tabs-nav .antd-tabs-tab-active,
|
|
258
|
+
.antd-tabs-card > div > .antd-tabs-nav .antd-tabs-tab-active {
|
|
259
|
+
@apply bg-gray-200 #{!important};
|
|
260
|
+
}
|
|
261
|
+
.antd-tabs-card > .antd-tabs-nav .antd-tabs-ink-bar,
|
|
262
|
+
.antd-tabs-card > div > .antd-tabs-nav .antd-tabs-ink-bar {
|
|
263
|
+
@apply invisible;
|
|
264
|
+
}
|
|
265
|
+
.antd-tabs-card.antd-tabs-top > .antd-tabs-nav .antd-tabs-tab + .antd-tabs-tab,
|
|
266
|
+
.antd-tabs-card.antd-tabs-bottom > .antd-tabs-nav .antd-tabs-tab + .antd-tabs-tab,
|
|
267
|
+
.antd-tabs-card.antd-tabs-top > div > .antd-tabs-nav .antd-tabs-tab + .antd-tabs-tab,
|
|
268
|
+
.antd-tabs-card.antd-tabs-bottom > div > .antd-tabs-nav .antd-tabs-tab + .antd-tabs-tab {
|
|
269
|
+
@apply ml-1;
|
|
270
|
+
}
|
|
271
|
+
.antd-tabs-card.antd-tabs-top > .antd-tabs-nav .antd-tabs-tab,
|
|
272
|
+
.antd-tabs-card.antd-tabs-top > div > .antd-tabs-nav .antd-tabs-tab {
|
|
273
|
+
@apply rounded-3xl bg-white;
|
|
274
|
+
}
|
|
275
|
+
.antd-tabs-card.antd-tabs-left > .antd-tabs-nav .antd-tabs-tab + .antd-tabs-tab,
|
|
276
|
+
.antd-tabs-card.antd-tabs-right > .antd-tabs-nav .antd-tabs-tab + .antd-tabs-tab,
|
|
277
|
+
.antd-tabs-card.antd-tabs-left > div > .antd-tabs-nav .antd-tabs-tab + .antd-tabs-tab,
|
|
278
|
+
.antd-tabs-card.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-tab + .antd-tabs-tab {
|
|
279
|
+
@apply mt-0.5;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.antd-tabs-card.antd-tabs-right > .antd-tabs-nav .antd-tabs-tab-active,
|
|
283
|
+
.antd-tabs-card.antd-tabs-right > div > .antd-tabs-nav .antd-tabs-tab-active {
|
|
284
|
+
@apply border-l-white;
|
|
285
|
+
}
|
|
286
|
+
.antd-tabs {
|
|
287
|
+
@apply box-border text-sm leading-[1.5715] flex overflow-hidden font-euclid;
|
|
288
|
+
font-variant: tabular-nums;
|
|
289
|
+
list-style: none;
|
|
290
|
+
font-feature-settings: "tnum";
|
|
291
|
+
}
|
|
292
|
+
.antd-tabs > .antd-tabs-nav,
|
|
293
|
+
.antd-tabs > div > .antd-tabs-nav {
|
|
294
|
+
@apply relative flex flex-none items-center;
|
|
295
|
+
}
|
|
296
|
+
.antd-tabs > .antd-tabs-nav .antd-tabs-nav-wrap,
|
|
297
|
+
.antd-tabs > div > .antd-tabs-nav .antd-tabs-nav-wrap {
|
|
298
|
+
@apply relative flex flex-[auto] self-stretch overflow-hidden whitespace-nowrap translate-x-0;
|
|
299
|
+
}
|
|
300
|
+
.antd-tabs > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
301
|
+
.antd-tabs > div > .antd-tabs-nav .antd-tabs-nav-wrap::before,
|
|
302
|
+
.antd-tabs > .antd-tabs-nav .antd-tabs-nav-wrap::after,
|
|
303
|
+
.antd-tabs > div > .antd-tabs-nav .antd-tabs-nav-wrap::after {
|
|
304
|
+
@apply absolute z-[1] opacity-0 transition-opacity duration-[0.3s] content-[""] pointer-events-none;
|
|
305
|
+
}
|
|
306
|
+
.antd-tabs > .antd-tabs-nav .antd-tabs-nav-list,
|
|
307
|
+
.antd-tabs > div > .antd-tabs-nav .antd-tabs-nav-list {
|
|
308
|
+
@apply relative flex transition-transform duration-[0.3s];
|
|
309
|
+
}
|
|
310
|
+
.antd-tabs > .antd-tabs-nav .antd-tabs-nav-operations,
|
|
311
|
+
.antd-tabs > div > .antd-tabs-nav .antd-tabs-nav-operations {
|
|
312
|
+
@apply flex self-stretch;
|
|
313
|
+
}
|
|
314
|
+
.antd-tabs > .antd-tabs-nav .antd-tabs-nav-operations-hidden,
|
|
315
|
+
.antd-tabs > div > .antd-tabs-nav .antd-tabs-nav-operations-hidden {
|
|
316
|
+
@apply absolute invisible pointer-events-none;
|
|
317
|
+
}
|
|
318
|
+
.antd-tabs > .antd-tabs-nav .antd-tabs-nav-more,
|
|
319
|
+
.antd-tabs > div > .antd-tabs-nav .antd-tabs-nav-more {
|
|
320
|
+
@apply relative px-4 py-2 border-0 bg-transparent;
|
|
321
|
+
}
|
|
322
|
+
.antd-tabs > .antd-tabs-nav .antd-tabs-nav-more::after,
|
|
323
|
+
.antd-tabs > div > .antd-tabs-nav .antd-tabs-nav-more::after {
|
|
324
|
+
@apply absolute h-[5px] translate-y-full content-[""] bottom-0 inset-x-0;
|
|
325
|
+
}
|
|
326
|
+
.antd-tabs > .antd-tabs-nav .antd-tabs-nav-add,
|
|
327
|
+
.antd-tabs > div > .antd-tabs-nav .antd-tabs-nav-add {
|
|
328
|
+
@apply min-w-[40px] border cursor-pointer transition-all duration-[0.3s] ease-[cubic-bezier(0.645,0.045,0.355,1)] ml-0.5 px-2 py-0 rounded-[2px_2px_0_0] border-solid outline-none;
|
|
329
|
+
}
|
|
330
|
+
.antd-tabs > .antd-tabs-nav .antd-tabs-nav-add:hover,
|
|
331
|
+
.antd-tabs > div > .antd-tabs-nav .antd-tabs-nav-add:hover {
|
|
332
|
+
@apply text-gray-900;
|
|
333
|
+
}
|
|
334
|
+
.antd-tabs > .antd-tabs-nav .antd-tabs-nav-add:active,
|
|
335
|
+
.antd-tabs > div > .antd-tabs-nav .antd-tabs-nav-add:active,
|
|
336
|
+
.antd-tabs > .antd-tabs-nav .antd-tabs-nav-add:focus,
|
|
337
|
+
.antd-tabs > div > .antd-tabs-nav .antd-tabs-nav-add:focus {
|
|
338
|
+
@apply text-gray-900;
|
|
339
|
+
}
|
|
340
|
+
.antd-tabs-extra-content {
|
|
341
|
+
@apply flex-none;
|
|
342
|
+
}
|
|
343
|
+
.antd-tabs-centered > .antd-tabs-nav .antd-tabs-nav-wrap:not([class*="antd-tabs-nav-wrap-ping"]),
|
|
344
|
+
.antd-tabs-centered > div > .antd-tabs-nav .antd-tabs-nav-wrap:not([class*="antd-tabs-nav-wrap-ping"]) {
|
|
345
|
+
@apply justify-center;
|
|
346
|
+
}
|
|
347
|
+
.antd-tabs-ink-bar {
|
|
348
|
+
@apply absolute pointer-events-none bg-gray-900;
|
|
349
|
+
}
|
|
350
|
+
.antd-tabs-tab {
|
|
351
|
+
@apply relative inline-flex items-center text-sm cursor-pointer border-0 outline-none;
|
|
352
|
+
}
|
|
353
|
+
.antd-tabs-tab-btn {
|
|
354
|
+
@apply flex gap-1 items-center transition-all duration-[0.3s] outline-none text-gray-500 text-xs font-medium px-3 py-2;
|
|
355
|
+
.ma-icon {
|
|
356
|
+
@apply text-gray-200 transition-all duration-[0.3s];
|
|
357
|
+
}
|
|
358
|
+
&:hover {
|
|
359
|
+
@apply text-gray-900;
|
|
360
|
+
.ma-icon {
|
|
361
|
+
@apply text-gray-900;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
.antd-tabs-tab-remove {
|
|
366
|
+
@apply flex-none text-[rgba(0,0,0,0.45)] text-xs cursor-pointer transition-all duration-[0.3s] ml-2 -mr-1 border-[none] hover:text-[rgba(0,0,0,0.85)];
|
|
367
|
+
background: transparent;
|
|
368
|
+
outline: none;
|
|
369
|
+
}
|
|
370
|
+
.antd-tabs-tab.antd-tabs-tab-active .antd-tabs-tab-btn {
|
|
371
|
+
@apply text-gray-900;
|
|
372
|
+
.ma-icon {
|
|
373
|
+
@apply text-gray-900;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
.antd-tabs-tab {
|
|
377
|
+
&:not(.antd-tabs-tab-active) {
|
|
378
|
+
.ak-badge--dark--primary {
|
|
379
|
+
@apply bg-white text-gray-500 border-gray-200;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
.antd-tabs-tab.antd-tabs-tab-disabled {
|
|
384
|
+
@apply cursor-not-allowed;
|
|
385
|
+
.antd-tabs-tab-btn {
|
|
386
|
+
@apply text-gray-300;
|
|
387
|
+
.ma-icon {
|
|
388
|
+
@apply text-gray-200;
|
|
389
|
+
}
|
|
390
|
+
.ma-badge {
|
|
391
|
+
@apply bg-gray-200;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
.antd-tabs-tab.antd-tabs-tab-disabled .antd-tabs-tab-btn:focus,
|
|
396
|
+
.antd-tabs-tab.antd-tabs-tab-disabled .antd-tabs-tab-remove:focus,
|
|
397
|
+
.antd-tabs-tab.antd-tabs-tab-disabled .antd-tabs-tab-btn:active,
|
|
398
|
+
.antd-tabs-tab.antd-tabs-tab-disabled .antd-tabs-tab-remove:active {
|
|
399
|
+
@apply text-gray-300;
|
|
400
|
+
}
|
|
401
|
+
.antd-tabs-tab .antd-tabs-tab-remove .anticon {
|
|
402
|
+
@apply m-0;
|
|
403
|
+
}
|
|
404
|
+
.antd-tabs-tab .anticon {
|
|
405
|
+
@apply mr-3;
|
|
406
|
+
}
|
|
407
|
+
.antd-tabs-tab + .antd-tabs-tab {
|
|
408
|
+
@apply ml-8 mr-0 my-0;
|
|
409
|
+
}
|
|
410
|
+
.antd-tabs-content {
|
|
411
|
+
@apply flex w-full;
|
|
412
|
+
}
|
|
413
|
+
.antd-tabs-content-holder {
|
|
414
|
+
@apply flex-[auto] min-w-0 min-h-0;
|
|
415
|
+
}
|
|
416
|
+
.antd-tabs-content-animated {
|
|
417
|
+
@apply transition-[margin] duration-[0.3s];
|
|
418
|
+
}
|
|
419
|
+
.antd-tabs-tabpane {
|
|
420
|
+
@apply flex-none w-full;
|
|
421
|
+
outline: none;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
// .antd-tabs-dropdown {
|
|
425
|
+
// .antd-tabs-dropdown-content {
|
|
426
|
+
// @apply rounded-xl;
|
|
427
|
+
// ul {
|
|
428
|
+
// li {
|
|
429
|
+
// span {
|
|
430
|
+
// @apply text-gray-900 text-xs font-medium;
|
|
431
|
+
// }
|
|
432
|
+
// }
|
|
433
|
+
// }
|
|
434
|
+
// }
|
|
435
|
+
// }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { TabPane as ATabPane } from 'ant-design-vue';
|
|
3
|
+
</script>
|
|
4
|
+
<template>
|
|
5
|
+
<a-tab-pane tab="test" v-bind="$attrs">
|
|
6
|
+
<template v-for="(_, slot) in $slots" v-slot:[slot]>
|
|
7
|
+
<slot :name="slot" />
|
|
8
|
+
</template>
|
|
9
|
+
</a-tab-pane>
|
|
10
|
+
</template>
|
|
11
|
+
<style scoped></style>
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
export default {
|
|
3
|
+
name: 'MaTabs',
|
|
4
|
+
};
|
|
5
|
+
</script>
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { WritableComputedRef, computed, useAttrs } from 'vue';
|
|
8
|
+
import { MaTabPosition, MaTabType } from './types';
|
|
9
|
+
import { Tabs as ATabs, TabsProps } from 'ant-design-vue';
|
|
10
|
+
import MaIcon from '../icon/index.vue';
|
|
11
|
+
export interface MaTabsProps {
|
|
12
|
+
activeKey?: string,
|
|
13
|
+
animated?: boolean,
|
|
14
|
+
destroyInactiveTabPane?: boolean,
|
|
15
|
+
tabPosition?: MaTabPosition,
|
|
16
|
+
type?: MaTabType,
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const props = withDefaults(defineProps<MaTabsProps>(), {
|
|
20
|
+
animated: false,
|
|
21
|
+
destroyInactiveTabPane: false,
|
|
22
|
+
tabPosition: 'top',
|
|
23
|
+
type: 'line',
|
|
24
|
+
});
|
|
25
|
+
const emits = defineEmits(['update:activeKey']);
|
|
26
|
+
const attrs = useAttrs();
|
|
27
|
+
|
|
28
|
+
const currentTab: WritableComputedRef<string> = computed({
|
|
29
|
+
get(){
|
|
30
|
+
return props?.activeKey;
|
|
31
|
+
},
|
|
32
|
+
set(data){
|
|
33
|
+
emits('update:activeKey', data);
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
const bindings = computed(() => ({ ...attrs, ...props } as unknown as TabsProps));
|
|
38
|
+
|
|
39
|
+
</script>
|
|
40
|
+
<template>
|
|
41
|
+
<a-tabs
|
|
42
|
+
v-model:activeKey="currentTab"
|
|
43
|
+
class="ak-tabs"
|
|
44
|
+
:animated="props?.animated"
|
|
45
|
+
:destroy-inactive-tab-pane="props?.destroyInactiveTabPane"
|
|
46
|
+
:tab-position="props?.tabPosition"
|
|
47
|
+
:type="type"
|
|
48
|
+
prefix-cls="antd-tabs"
|
|
49
|
+
v-bind="bindings"
|
|
50
|
+
>
|
|
51
|
+
<template
|
|
52
|
+
v-for="(_, slot) in $slots"
|
|
53
|
+
#[slot]
|
|
54
|
+
>
|
|
55
|
+
<slot :name="slot" />
|
|
56
|
+
</template>
|
|
57
|
+
<template #moreIcon>
|
|
58
|
+
<ma-icon
|
|
59
|
+
name="ellipsis-horizontal"
|
|
60
|
+
size="xs"
|
|
61
|
+
/>
|
|
62
|
+
</template>
|
|
63
|
+
</a-tabs>
|
|
64
|
+
</template>
|
|
65
|
+
<style lang="scss" src="./assets/styles.scss"></style>
|