From 5ffe6f32343aca670d115108bd6e5b045affac24 Mon Sep 17 00:00:00 2001 From: Younes Barrad Date: Sun, 10 Sep 2023 02:18:47 +0100 Subject: [PATCH 01/11] feat: remove lodash --- docs/pages/index.vue | 2 +- package.json | 4 +- pnpm-lock.yaml | 7 +- src/colors.ts | 2 +- src/runtime/components/data/Table.vue | 2 +- src/runtime/components/elements/Accordion.vue | 2 +- src/runtime/components/elements/Alert.vue | 2 +- src/runtime/components/elements/Avatar.vue | 3 +- .../components/elements/AvatarGroup.ts | 2 +- src/runtime/components/elements/Badge.vue | 2 +- src/runtime/components/elements/Button.vue | 2 +- .../components/elements/ButtonGroup.ts | 2 +- src/runtime/components/elements/Dropdown.vue | 2 +- src/runtime/components/elements/Kbd.vue | 2 +- src/runtime/components/elements/Link.vue | 2 +- src/runtime/components/forms/Checkbox.vue | 2 +- src/runtime/components/forms/FormGroup.vue | 2 +- src/runtime/components/forms/Input.vue | 2 +- src/runtime/components/forms/Radio.vue | 2 +- src/runtime/components/forms/Range.vue | 2 +- src/runtime/components/forms/Select.vue | 2 +- src/runtime/components/forms/SelectMenu.vue | 2 +- src/runtime/components/forms/Textarea.vue | 2 +- src/runtime/components/forms/Toggle.vue | 2 +- src/runtime/components/layout/Card.vue | 2 +- src/runtime/components/layout/Container.vue | 2 +- src/runtime/components/layout/Skeleton.vue | 2 +- .../components/navigation/CommandPalette.vue | 2 +- .../components/navigation/Pagination.vue | 2 +- src/runtime/components/navigation/Tabs.vue | 2 +- .../navigation/VerticalNavigation.vue | 2 +- .../components/overlays/ContextMenu.vue | 2 +- src/runtime/components/overlays/Modal.vue | 2 +- .../components/overlays/Notification.vue | 2 +- .../components/overlays/Notifications.vue | 2 +- src/runtime/components/overlays/Popover.vue | 2 +- src/runtime/components/overlays/Slideover.vue | 2 +- src/runtime/components/overlays/Tooltip.vue | 2 +- src/runtime/composables/usePopper.ts | 2 +- src/runtime/utils/lodash.ts | 147 ++++++++++++++++++ 40 files changed, 190 insertions(+), 43 deletions(-) create mode 100644 src/runtime/utils/lodash.ts diff --git a/docs/pages/index.vue b/docs/pages/index.vue index 38d3ccfaea..710332eca4 100644 --- a/docs/pages/index.vue +++ b/docs/pages/index.vue @@ -179,7 +179,7 @@