diff --git a/client/src/components/BaseComponents/GButton.vue b/client/src/components/BaseComponents/GButton.vue new file mode 100644 index 000000000000..21e1dc2815b2 --- /dev/null +++ b/client/src/components/BaseComponents/GButton.vue @@ -0,0 +1,342 @@ + + + + + diff --git a/client/src/components/BaseComponents/GButtonGroup.vue b/client/src/components/BaseComponents/GButtonGroup.vue new file mode 100644 index 000000000000..3a441665f2a3 --- /dev/null +++ b/client/src/components/BaseComponents/GButtonGroup.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/client/src/components/BaseComponents/GTooltip.vue b/client/src/components/BaseComponents/GTooltip.vue new file mode 100644 index 000000000000..50850bfe3557 --- /dev/null +++ b/client/src/components/BaseComponents/GTooltip.vue @@ -0,0 +1,150 @@ + + + + + diff --git a/client/src/components/BaseComponents/componentVariants.ts b/client/src/components/BaseComponents/componentVariants.ts new file mode 100644 index 000000000000..6f7dcbbb3e9e --- /dev/null +++ b/client/src/components/BaseComponents/componentVariants.ts @@ -0,0 +1,12 @@ +export type ComponentColor = "grey" | "blue" | "green" | "yellow" | "orange" | "red"; +export type ComponentSize = "small" | "medium" | "large"; + +export type ComponentVariantClassList = { + [_key in `g-${ComponentSize}`]?: true; +} & { + [_key in `g-${ComponentColor}`]?: true; +}; + +export function prefix(key: T): `g-${T}` { + return `g-${key}`; +} diff --git a/client/src/components/Common/BreadcrumbHeading.vue b/client/src/components/Common/BreadcrumbHeading.vue index 3dcc62c9bdfe..55a6db9f6722 100644 --- a/client/src/components/Common/BreadcrumbHeading.vue +++ b/client/src/components/Common/BreadcrumbHeading.vue @@ -14,8 +14,8 @@ const props = defineProps();