**What** - Implements new Region domain design - Adds new SplitView component for managing adding nested relations in FocusModals, eg. adding countries to a region. - Adds new Combobox component for multi select fields in forms **medusajs/ui** - Fix styling of RadioGroup.Choicebox component CLOSES CORE-1650, CORE-1671
29 lines
564 B
JavaScript
29 lines
564 B
JavaScript
import path from "path"
|
|
|
|
const rootProject = path.join(
|
|
process.cwd(),
|
|
"../../apps/server/src/admin/**/*.{js,jsx,ts,tsx}"
|
|
)
|
|
|
|
// get the path of the dependency "@medusajs/ui"
|
|
const medusaUI = path.join(
|
|
path.dirname(require.resolve("@medusajs/ui")),
|
|
"**/*.{js,jsx,ts,tsx}"
|
|
)
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
module.exports = {
|
|
presets: [require("@medusajs/ui-preset")],
|
|
content: [
|
|
"./index.html",
|
|
"./src/**/*.{js,ts,jsx,tsx}",
|
|
medusaUI,
|
|
rootProject,
|
|
],
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {},
|
|
},
|
|
plugins: [],
|
|
}
|