diff --git a/docs/package.json b/docs/package.json
index 4d784f3b1d..eebcae4db3 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -11,11 +11,11 @@
"lint": "next lint"
},
"dependencies": {
- "@heathmont/moon-base-tw": "workspace:^10.13.4",
- "@heathmont/moon-cmdk-tw": "workspace:^10.13.4",
- "@heathmont/moon-core-tw": "workspace:^10.13.4",
+ "@heathmont/moon-base-tw": "^10.13.5",
+ "@heathmont/moon-cmdk-tw": "^10.13.5",
+ "@heathmont/moon-core-tw": "^10.13.5",
"@heathmont/moon-icons-tw": "9.28.6",
- "@heathmont/moon-themes-tw": "workspace:^10.13.4",
+ "@heathmont/moon-themes-tw": "^10.13.5",
"@types/node": "20.4.9",
"@types/react": "18.2.19",
"@types/react-dom": "18.2.7",
diff --git a/next-docs/package.json b/next-docs/package.json
index ca29a97946..a766a62e14 100644
--- a/next-docs/package.json
+++ b/next-docs/package.json
@@ -19,9 +19,9 @@
"@heathmont/moon-assets": "workspace:^10.7.1",
"@heathmont/moon-charts": "workspace:^10.7.1",
"@heathmont/moon-components": "workspace:^10.7.1",
- "@heathmont/moon-cmdk-tw": "workspace:^10.13.4",
+ "@heathmont/moon-cmdk-tw": "^10.13.5",
"@heathmont/moon-core": "workspace:^10.7.1",
- "@heathmont/moon-core-tw": "workspace:^10.13.4",
+ "@heathmont/moon-core-tw": "^10.13.5",
"@heathmont/moon-datepicker": "workspace:^10.7.1",
"@heathmont/moon-draggabletable": "workspace:^10.7.1",
"@heathmont/moon-icons": "workspace:^10.7.1",
@@ -32,7 +32,7 @@
"@heathmont/moon-table": "workspace:^10.7.1",
"@heathmont/moon-table-tw": "workspace:^10.13.4",
"@heathmont/moon-themes": "workspace:^10.7.1",
- "@heathmont/moon-themes-tw": "workspace:^10.13.4",
+ "@heathmont/moon-themes-tw": "^10.13.5",
"@heathmont/moon-utils": "workspace:^10.7.1",
"@heathmont/moon-icons-tw": "9.28.6",
"@hookform/resolvers": "3.2.0",
diff --git a/next-docs/styles/themes.css b/next-docs/styles/themes.css
index 7f8100ca44..868f9f4dcb 100644
--- a/next-docs/styles/themes.css
+++ b/next-docs/styles/themes.css
@@ -1,15 +1,15 @@
-@import '@heathmont/moon-themes-tw/src/betadda.css';
-@import '@heathmont/moon-themes-tw/src/bitcasinoNew.css';
-@import '@heathmont/moon-themes-tw/src/bombayClub.css';
-@import '@heathmont/moon-themes-tw/src/comms.css';
-@import '@heathmont/moon-themes-tw/src/empire.css';
-@import '@heathmont/moon-themes-tw/src/hub88.css';
-@import '@heathmont/moon-themes-tw/src/lab.css';
-@import '@heathmont/moon-themes-tw/src/livecasino.css';
-@import '@heathmont/moon-themes-tw/src/moon.css';
-@import '@heathmont/moon-themes-tw/src/partners.css';
-@import '@heathmont/moon-themes-tw/src/sportsbet.css';
-@import '@heathmont/moon-themes-tw/src/tradeart.css';
-@import '@heathmont/moon-themes-tw/src/tradeartMiniBetting.css';
-@import '@heathmont/moon-themes-tw/src/travel.css';
-@import '@heathmont/moon-themes-tw/src/pay.css';
+@import '@heathmont/moon-themes-tw/lib/betadda.css';
+@import '@heathmont/moon-themes-tw/lib/bitcasinoNew.css';
+@import '@heathmont/moon-themes-tw/lib/bombayClub.css';
+@import '@heathmont/moon-themes-tw/lib/comms.css';
+@import '@heathmont/moon-themes-tw/lib/empire.css';
+@import '@heathmont/moon-themes-tw/lib/hub88.css';
+@import '@heathmont/moon-themes-tw/lib/lab.css';
+@import '@heathmont/moon-themes-tw/lib/livecasino.css';
+@import '@heathmont/moon-themes-tw/lib/moon.css';
+@import '@heathmont/moon-themes-tw/lib/partners.css';
+@import '@heathmont/moon-themes-tw/lib/sportsbet.css';
+@import '@heathmont/moon-themes-tw/lib/tradeart.css';
+@import '@heathmont/moon-themes-tw/lib/tradeartMiniBetting.css';
+@import '@heathmont/moon-themes-tw/lib/travel.css';
+@import '@heathmont/moon-themes-tw/lib/pay.css';
diff --git a/next-docs/tailwind.config.js b/next-docs/tailwind.config.js
index c67f51eafd..37bc32d4fe 100644
--- a/next-docs/tailwind.config.js
+++ b/next-docs/tailwind.config.js
@@ -8,7 +8,7 @@ module.exports = {
'./node_modules/@heathmont/moon-table-tw/**/*.{js,ts,jsx,tsx}',
],
presets: [
- require('@heathmont/moon-core-tw/src/private/presets/ds-moon-preset'),
+ require('@heathmont/moon-core-tw/lib/private/presets/ds-moon-preset'),
],
theme: {
extend: {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 833e0b6fed..b8ccbb5c13 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -166,20 +166,20 @@ importers:
docs:
dependencies:
'@heathmont/moon-base-tw':
- specifier: workspace:^10.13.4
- version: link:../workspaces/base
+ specifier: ^10.13.5
+ version: 10.13.5(react-dom@18.2.0)(react@18.2.0)
'@heathmont/moon-cmdk-tw':
- specifier: workspace:^10.13.4
- version: link:../workspaces/cmdk
+ specifier: ^10.13.5
+ version: 10.13.5(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0)
'@heathmont/moon-core-tw':
- specifier: workspace:^10.13.4
- version: link:../workspaces/core
+ specifier: ^10.13.5
+ version: 10.13.5(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0)
'@heathmont/moon-icons-tw':
specifier: 9.28.6
version: 9.28.6(react-dom@18.2.0)(react@18.2.0)
'@heathmont/moon-themes-tw':
- specifier: workspace:^10.13.4
- version: link:../workspaces/themes
+ specifier: ^10.13.5
+ version: 10.13.5
'@types/node':
specifier: 20.4.9
version: 20.4.9
@@ -238,8 +238,8 @@ importers:
specifier: workspace:^10.7.1
version: link:../packages/charts
'@heathmont/moon-cmdk-tw':
- specifier: workspace:^10.13.4
- version: link:../workspaces/cmdk
+ specifier: ^10.13.5
+ version: 10.13.5(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0)
'@heathmont/moon-components':
specifier: workspace:^10.7.1
version: link:../packages/components
@@ -247,8 +247,8 @@ importers:
specifier: workspace:^10.7.1
version: link:../packages/core
'@heathmont/moon-core-tw':
- specifier: workspace:^10.13.4
- version: link:../workspaces/core
+ specifier: ^10.13.5
+ version: 10.13.5(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0)
'@heathmont/moon-datepicker':
specifier: workspace:^10.7.1
version: link:../packages/datepicker
@@ -283,8 +283,8 @@ importers:
specifier: workspace:^10.7.1
version: link:../packages/themes
'@heathmont/moon-themes-tw':
- specifier: workspace:^10.13.4
- version: link:../workspaces/themes
+ specifier: ^10.13.5
+ version: 10.13.5
'@heathmont/moon-utils':
specifier: workspace:^10.7.1
version: link:../packages/utils
@@ -987,86 +987,11 @@ importers:
specifier: 4.5.6
version: 4.5.6
- workspaces/base:
- dependencies:
- react:
- specifier: '>= 18.2.0'
- version: 18.2.0
- react-dom:
- specifier: '>= 18.2.0'
- version: 18.2.0(react@18.2.0)
- tailwind-merge:
- specifier: 1.14.0
- version: 1.14.0
-
- workspaces/cmdk:
- dependencies:
- '@headlessui/react':
- specifier: 1.7.16
- version: 1.7.16(react-dom@18.2.0)(react@18.2.0)
- '@heathmont/moon-core-tw':
- specifier: workspace:^10.13.4
- version: link:../core
- cmdk:
- specifier: 0.2.0
- version: 0.2.0(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0)
- react:
- specifier: '>= 18.2.0'
- version: 18.2.0
- react-dom:
- specifier: '>= 18.2.0'
- version: 18.2.0(react@18.2.0)
- tailwind-merge:
- specifier: 1.14.0
- version: 1.14.0
- tailwindcss-radix:
- specifier: 2.8.0
- version: 2.8.0
-
- workspaces/core:
- dependencies:
- '@headlessui/react':
- specifier: 1.7.16
- version: 1.7.16(react-dom@18.2.0)(react@18.2.0)
- '@popperjs/core':
- specifier: 2.11.8
- version: 2.11.8
- '@radix-ui/react-accordion':
- specifier: 1.1.2
- version: 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0)
- '@radix-ui/react-toast':
- specifier: 1.1.4
- version: 1.1.4(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0)
- '@radix-ui/react-tooltip':
- specifier: 1.0.6
- version: 1.0.6(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0)
- react:
- specifier: '>= 18.2.0'
- version: 18.2.0
- react-dom:
- specifier: '>= 18.2.0'
- version: 18.2.0(react@18.2.0)
- react-popper:
- specifier: 2.3.0
- version: 2.3.0(@popperjs/core@2.11.8)(react-dom@18.2.0)(react@18.2.0)
- scroll-into-view-if-needed:
- specifier: 2.2.31
- version: 2.2.31
- smooth-scroll-into-view-if-needed:
- specifier: 1.1.33
- version: 1.1.33
- tailwind-merge:
- specifier: 1.14.0
- version: 1.14.0
- tailwindcss-radix:
- specifier: 2.8.0
- version: 2.8.0
-
workspaces/tables:
dependencies:
'@heathmont/moon-core-tw':
- specifier: workspace:^10.13.4
- version: link:../core
+ specifier: ^10.13.5
+ version: 10.13.5(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0)
react:
specifier: 18.2.0
version: 18.2.0
@@ -1093,8 +1018,6 @@ importers:
specifier: 1.8.5
version: 1.8.5
- workspaces/themes: {}
-
packages:
/@aashutoshrathi/word-wrap@1.2.6:
@@ -2612,6 +2535,7 @@ packages:
/@emotion/memoize@0.7.4:
resolution: {integrity: sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==}
+ requiresBuild: true
dev: false
optional: true
@@ -2765,6 +2689,58 @@ packages:
react-dom: 18.2.0(react@18.2.0)
dev: false
+ /@heathmont/moon-base-tw@10.13.5(react-dom@18.2.0)(react@18.2.0):
+ resolution: {integrity: sha512-pgZCYnjm9r4ri5cJSZ1aDXsij4FMNKPvMlwI0FK1Wiz0yFU8G9R0aQAZuE4nnuEZAy+EImbl/wbBEkYEOSaxzw==}
+ peerDependencies:
+ react: '>= 18.2.0'
+ react-dom: '>= 18.2.0'
+ dependencies:
+ react: 18.2.0
+ react-dom: 18.2.0(react@18.2.0)
+ tailwind-merge: 1.14.0
+ dev: false
+
+ /@heathmont/moon-cmdk-tw@10.13.5(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0):
+ resolution: {integrity: sha512-7zJ0VPvOmgc6Q/zjWucb/Ku4pu8jGZWgifJ3uHYQflpweimKjQJZzFziR9u23d4ZmuNytMuPYUdcQrKqCEbl2Q==}
+ peerDependencies:
+ react: '>= 18.2.0'
+ react-dom: '>= 18.2.0'
+ dependencies:
+ '@headlessui/react': 1.7.16(react-dom@18.2.0)(react@18.2.0)
+ '@heathmont/moon-core-tw': 10.13.5(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0)
+ cmdk: 0.2.0(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0)
+ react: 18.2.0
+ react-dom: 18.2.0(react@18.2.0)
+ tailwind-merge: 1.14.0
+ tailwindcss-radix: 2.8.0
+ transitivePeerDependencies:
+ - '@types/react'
+ - '@types/react-dom'
+ dev: false
+
+ /@heathmont/moon-core-tw@10.13.5(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0):
+ resolution: {integrity: sha512-Amk/ERSrsWWsSsqWC6Qe9iEd8jtK5/domM7Uk9yqSVEJjPh9jSPPT5iOY/LWlk7rP/VcPoFIteOOfIs1ZpZqMQ==}
+ peerDependencies:
+ react: '>= 18.2.0'
+ react-dom: '>= 18.2.0'
+ dependencies:
+ '@headlessui/react': 1.7.16(react-dom@18.2.0)(react@18.2.0)
+ '@popperjs/core': 2.11.8
+ '@radix-ui/react-accordion': 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0)
+ '@radix-ui/react-toast': 1.1.4(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0)
+ '@radix-ui/react-tooltip': 1.0.6(@types/react-dom@18.2.7)(@types/react@18.2.19)(react-dom@18.2.0)(react@18.2.0)
+ react: 18.2.0
+ react-dom: 18.2.0(react@18.2.0)
+ react-popper: 2.3.0(@popperjs/core@2.11.8)(react-dom@18.2.0)(react@18.2.0)
+ scroll-into-view-if-needed: 2.2.31
+ smooth-scroll-into-view-if-needed: 1.1.33
+ tailwind-merge: 1.14.0
+ tailwindcss-radix: 2.8.0
+ transitivePeerDependencies:
+ - '@types/react'
+ - '@types/react-dom'
+ dev: false
+
/@heathmont/moon-icons-tw@9.28.6(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-cDA7WO4Z07Sfm0Mv+/fBFRBGIMJonGrutcaYRLr6zl6OSfiUOxlsMjRSSivYOb/45WxUjpnbGxTA1AZGhXBFRA==}
peerDependencies:
@@ -2775,6 +2751,10 @@ packages:
react-dom: 18.2.0(react@18.2.0)
dev: false
+ /@heathmont/moon-themes-tw@10.13.5:
+ resolution: {integrity: sha512-TER8BI1BdKbVd3VvWHUv62I3JPSorUfga9Rb8UhKZgTed0AmW/9hEieSZjPiz1cLCa2/jqFu3NFypoIoA2vHhw==}
+ dev: false
+
/@hookform/resolvers@3.2.0(react-hook-form@7.45.4):
resolution: {integrity: sha512-skXQHhLxq0Sz2xDwCyv5dygBCtXJe1GmWwxDzfdtl0X6agD6qcyTG8HrZWkjJoy8AkiLARqYvSYJ8z7+Nwmi7w==}
peerDependencies:
@@ -8258,6 +8238,7 @@ packages:
/iconv-lite@0.6.3:
resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
engines: {node: '>=0.10.0'}
+ requiresBuild: true
dependencies:
safer-buffer: 2.1.2
dev: true
@@ -11633,6 +11614,7 @@ packages:
/prr@1.0.1:
resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==}
+ requiresBuild: true
dev: true
optional: true
@@ -12437,6 +12419,7 @@ packages:
/sax@1.3.0:
resolution: {integrity: sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==}
+ requiresBuild: true
dev: true
optional: true
@@ -14246,3 +14229,7 @@ packages:
/zwitch@2.0.4:
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
dev: false
+
+settings:
+ autoInstallPeers: true
+ excludeLinksFromLockfile: false
diff --git a/workspaces/base/CHANGELOG.md b/workspaces/base/CHANGELOG.md
deleted file mode 100644
index 0e062b2059..0000000000
--- a/workspaces/base/CHANGELOG.md
+++ /dev/null
@@ -1,277 +0,0 @@
-# @heathmont/moon-base-tw
-
-## 10.13.4
-
-### Patch Changes
-
-- Deploy 10.13.4
-
-## 10.13.3
-
-### Patch Changes
-
-- Deploy 10.13.3
-
-## 10.13.2
-
-### Patch Changes
-
-- Deploy
-
-## 10.13.1
-
-### Patch Changes
-
-- Deploy 10.13.1
-
-## 10.13.0
-
-### Minor Changes
-
-- Deploy 10.13.0
-
-## 10.12.2
-
-### Patch Changes
-
-- Deploy 10.12.2
-
-## 10.12.1
-
-### Patch Changes
-
-- Deploy 10.12.1
-
-## 10.12.0
-
-### Minor Changes
-
-- Hub88 fixes - Search
-
-## 10.11.2
-
-### Patch Changes
-
-- Deploy 10.11.2
-
-## 10.11.1
-
-### Patch Changes
-
-- Bump 10.11.1
-
-## 10.11.0
-
-### Minor Changes
-
-- Deploy 10.11.0
-
-## 10.10.7
-
-### Patch Changes
-
-- Deploy 10.10.7
-
-## 10.10.6
-
-### Patch Changes
-
-- Deploy 10.10.6
-
-## 10.10.5
-
-### Patch Changes
-
-- Deploy 10.10.5
-
-## 10.10.4
-
-### Patch Changes
-
-- Deploy 10.10.4
-
-## 10.10.3
-
-### Patch Changes
-
-- Deploy 10.10.3
-
-## 10.10.2
-
-### Patch Changes
-
-- Deploy 10.10.2
-
-## 10.10.1
-
-### Patch Changes
-
-- Deploy 10.10.1
-
-## 10.10.0
-
-### Minor Changes
-
-- Deploy 10.10.0
-
-## 10.9.1
-
-### Patch Changes
-
-- Deploy 10.9.1
-
-## 10.9.0
-
-### Minor Changes
-
-- Flip coku/gohan colours
-
-## 10.8.0
-
-### Minor Changes
-
-- Deploy 10.8.0
-
-## 10.7.9
-
-### Patch Changes
-
-- Deploy 10.7.9
-
-## 10.7.8
-
-### Patch Changes
-
-- Deploy 10.7.8
-
-## 10.7.7
-
-### Patch Changes
-
-- Deploy 10.7.7
-
-## 10.7.6
-
-### Patch Changes
-
-- Deploy 10.7.6
-
-## 10.7.5
-
-### Patch Changes
-
-- Fix table with long data
-
-## 10.7.4
-
-### Patch Changes
-
-- Bump version 10.7.4
-
-## 10.7.3
-
-### Patch Changes
-
-- Deploy 10.7.3
-
-## 10.7.2
-
-### Patch Changes
-
-- Deploy 10.7.2
-
-## 10.7.1
-
-### Patch Changes
-
-- Deploy 10.7.1
-
-## 10.7.0
-
-### Minor Changes
-
-- Deploy 10.7.1
-
-## 10.6.3
-
-### Patch Changes
-
-- Deploy 10.6.3
-
-## 10.6.2
-
-### Patch Changes
-
-- Deploy 10.6.2
-
-## 10.6.1
-
-### Patch Changes
-
-- Deploy
-
-## 10.6.0
-
-### Minor Changes
-
-- Deploy 10.6.0
-
-## 10.5.0
-
-### Minor Changes
-
-- Bump version to 10.5.0
-
-## 10.4.0
-
-### Minor Changes
-
-- Deploy 10.4.0
-
-## 10.3.2
-
-### Patch Changes
-
-- Deploy 10.3.2
-
-## 10.3.1
-
-### Patch Changes
-
-- Fix docs
-
-## 10.3.0
-
-### Minor Changes
-
-- Deploy 10.3.0
-
-## 10.2.0
-
-### Minor Changes
-
-- Deploy 10.2.0
-
-## 10.1.1
-
-### Patch Changes
-
-- Base updates
-
-## 10.1.0
-
-### Minor Changes
-
-- Deploy
-
-## 10.0.1
-
-### Patch Changes
-
-- Deploy v10.0.1
-
-## 10.0.0
-
-### Major Changes
-
-- Implement new Base package
diff --git a/workspaces/base/package.json b/workspaces/base/package.json
deleted file mode 100644
index d8d941f9fb..0000000000
--- a/workspaces/base/package.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "name": "@heathmont/moon-base-tw",
- "sideEffects": false,
- "version": "10.13.4",
- "files": [
- "lib"
- ],
- "type": "module",
- "main": "lib/index.js",
- "module": "lib/index.js",
- "typings": "lib/index.d.ts",
- "repository": "https://github.com/coingaming/moon-design",
- "author": "Yolo Group",
- "license": "MIT",
- "scripts": {
- "build": "pnpm run build:index && pnpm run build:code",
- "build:index": "barrelsby --config ../../.config/barrelsby/barrelsby.json --directory src",
- "build:code": "tsc --project tsconfig.esm.json",
- "chokidar": "chokidar \"**/*.tsx\" \"**/*.ts\" -i \"lib/**/*.d.ts\" -c \"pnpm run build:code\" "
- },
- "dependencies": {
- "tailwind-merge": "1.14.0"
- },
- "peerDependencies": {
- "react": ">= 18.2.0",
- "react-dom": ">= 18.2.0"
- }
-}
diff --git a/workspaces/base/src/accordion/Accordion.tsx b/workspaces/base/src/accordion/Accordion.tsx
deleted file mode 100644
index fc76856a5c..0000000000
--- a/workspaces/base/src/accordion/Accordion.tsx
+++ /dev/null
@@ -1,74 +0,0 @@
-import React from 'react';
-import type AccordionProps from './private/type/AccordionProps';
-import type ContentProps from './private/type/ContentProps';
-import type SummaryProps from './private/type/SummaryProps';
-import getSize from './private/utils/getSize';
-import mergeClassnames from '../mergeClassnames/mergeClassnames';
-
-const AccordionRoot = ({
- className,
- children,
- size,
- disabled,
- ...rest
-}: AccordionProps) => (
-
= P & {
- children?: React.ReactNode | undefined;
-};
-
-type PolymorphicNextPrevButtonProps
- {children}
- {children}
- {children}
- = P & {
- children?: React.ReactNode | ChildrenFunc | undefined;
-};
-
-export default PropsWithChildrenFunc;
diff --git a/workspaces/core/src/pagination/private/types/TruncableElementProps.ts b/workspaces/core/src/pagination/private/types/TruncableElementProps.ts
deleted file mode 100644
index 5d8f80ef93..0000000000
--- a/workspaces/core/src/pagination/private/types/TruncableElementProps.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-type TruncableElementProps = {
- prev?: boolean;
-};
-
-export default TruncableElementProps;
diff --git a/workspaces/core/src/pagination/private/types/UsePagination.ts b/workspaces/core/src/pagination/private/types/UsePagination.ts
deleted file mode 100644
index 4c55ea5a16..0000000000
--- a/workspaces/core/src/pagination/private/types/UsePagination.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-type UsePagination = {
- currentPage: number;
- setCurrentPage: (page: number) => void;
- pages: number[];
- hrefsArray?: string[];
- hasPreviousPage: boolean;
- hasNextPage: boolean;
- previousPages: number[];
- isPreviousTruncable: boolean;
- middlePages: number[];
- isNextTruncable: boolean;
- nextPages: number[];
-};
-
-export default UsePagination;
diff --git a/workspaces/core/src/pagination/private/types/WithChildren.ts b/workspaces/core/src/pagination/private/types/WithChildren.ts
deleted file mode 100644
index e931e027bd..0000000000
--- a/workspaces/core/src/pagination/private/types/WithChildren.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-type WithChildren
- {children}
-
-);
-
-const Body = ({ children, className, ...props }: Props) => (
-
- {children}
-
-);
-
-const Head = ({ children, className, ...props }: Props) => (
-
- {children}
-
-);
-
-const Row = ({ children, className, ...props }: Props) => (
-
- {children}
-
-);
-
-const Header = ({ children, className, ...props }: Props) => (
-
- {children}
-
-);
-
-const Cell = ({ children, className, ...props }: Props) => (
-
- {children}
-
-);
-
-const Table = Object.assign(TableRoot, { Row, Header, Cell, Body, Head });
-
-export default Table;
diff --git a/workspaces/base/src/table/private/types/Props.ts b/workspaces/base/src/table/private/types/Props.ts
deleted file mode 100644
index d916a547cb..0000000000
--- a/workspaces/base/src/table/private/types/Props.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-type Props = {
- className?: string;
- children?: React.ReactNode;
-};
-
-export default Props;
diff --git a/workspaces/base/src/table/private/types/Size.ts b/workspaces/base/src/table/private/types/Size.ts
deleted file mode 100644
index 484d7c3b3b..0000000000
--- a/workspaces/base/src/table/private/types/Size.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
-
-export default Size;
diff --git a/workspaces/base/src/table/private/types/TableProps.ts b/workspaces/base/src/table/private/types/TableProps.ts
deleted file mode 100644
index 557aab10a4..0000000000
--- a/workspaces/base/src/table/private/types/TableProps.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import type Props from './Props';
-import type Size from './Size';
-
-type TableProps = Props & {
- size?: Size;
-};
-
-export default TableProps;
diff --git a/workspaces/base/src/table/private/utils/getSize.ts b/workspaces/base/src/table/private/utils/getSize.ts
deleted file mode 100644
index 769c3aea67..0000000000
--- a/workspaces/base/src/table/private/utils/getSize.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import type Size from '../types/Size';
-
-const getSize = (size?: Size) => {
- switch (size) {
- case 'xs':
- return '[&_td]:px-2 [&_td]:py-1 [&_td]:text-moon-12 [&_th]:px-2 [&_th]:py-1 [&_th]:text-moon-12';
- case 'sm':
- return '[&_td]:px-3 [&_td]:py-1 [&_td]:text-moon-14 [&_th]:px-3 [&_th]:py-1 [&_th]:text-moon-14';
- case 'lg':
- return '[&_td]:px-3 [&_td]:py-3 [&_td]:text-moon-14 [&_th]:px-3 [&_th]:py-3 [&_th]:text-moon-14';
- case 'xl':
- return '[&_td]:px-3 [&_td]:py-4 [&_td]:text-moon-14 [&_th]:px-3 [&_th]:py-4 [&_th]:text-moon-14';
- case '2xl':
- return '[&_td]:px-3 [&_td]:py-5 [&_td]:text-moon-14 [&_th]:px-3 [&_th]:py-5 [&_th]:text-moon-14';
- case 'md':
- default:
- return '[&_td]:px-3 [&_td]:py-2 [&_td]:text-moon-14 [&_th]:px-3 [&_th]:py-2 [&_th]:text-moon-14';
- }
-};
-
-export default getSize;
diff --git a/workspaces/base/src/tabs/Tabs.tsx b/workspaces/base/src/tabs/Tabs.tsx
deleted file mode 100644
index f7cc8f997d..0000000000
--- a/workspaces/base/src/tabs/Tabs.tsx
+++ /dev/null
@@ -1,161 +0,0 @@
-import React from 'react';
-import type PanelProps from './private/types/PanelProps';
-import type Props from './private/types/Props';
-import type TabPolymorphicProps from './private/types/TabPolymorphicProps';
-import getTabSize from './private/utils/getTabSize';
-import mergeClassnames from '../mergeClassnames/mergeClassnames';
-
-const TabsRoot = ({ className, children }: Props) => (
- li]:list-none [&>li]:before:absolute [&>li]:before:content-["\\200B"]',
- '[&>*]:flex-[0_0_auto] [&>img]:h-full [&>img]:basis-auto [&>img]:w-auto',
- 'snap-x snap-mandatory rtl:flex-row-reverse',
- autoSlideDelay && 'overflow-x-hidden',
- className
- )}
- ref={containerRef}
- {...rest}
- >
- {isRtl ? revertChildren : children}
-
- );
-};
-
-// TODO: highlight selected item (mark it as selected)
-const Item = ({ children, className, ...rest }: SubcomponentProps) => {
- const { itemRef } = useCarouselContext('Carousel.Item');
- return (
-