Skip to content

Commit

Permalink
add experimental datebox
Browse files Browse the repository at this point in the history
  • Loading branch information
szkabaroli committed Mar 15, 2023
1 parent 3d45d95 commit 10ac954
Show file tree
Hide file tree
Showing 23 changed files with 2,506 additions and 100 deletions.
60 changes: 60 additions & 0 deletions packages/datebox/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"name": "@meshx-org/mxui-datebox",
"description": "DateBox component for MXUI",
"version": "0.7.21",
"license": "Apache-2.0",
"author": "Roland Szarka-Kovács <Roland.Szarka-Kovacs@meshx.co>",
"homepage": "https://meshx.co/produts/mxui",
"sideEffects": false,
"main": "lib/commonjs/index.js",
"types": "src/index.ts",
"files": [
"src",
"lib"
],
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"commonjs",
{
"copyFlow": true
}
],
"module",
"typescript"
]
},
"publishConfig": {
"access": "public",
"registry": "https://npm.pkg.github.com"
},
"repository": {
"type": "git",
"url": "https://github.com/meshx-org/meshx-ui.git"
},
"scripts": {
"build": "echo build"
},
"dependencies": {
"clsx": "1.2.1",
"@internationalized/date": "3.1.0",
"@internationalized/number": "3.2.0",
"@meshx-org/mxui-core": "0.7.21",
"@meshx-org/mxui-primitives": "0.7.21"
},
"devDependencies": {
"@meshx-org/mxui-tsconfig": "*",
"@types/styled-components": "^5.1.26",
"react-native-builder-bob": "^0.20.3",
"react": "18.1.0",
"react-dom": "18.1.0"
},
"peerDependencies": {
"react-native": ">=0.69.0",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0",
"styled-components": ">=5.0.0"
}
}
6 changes: 6 additions & 0 deletions packages/datebox/src/DateBox.native.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { DateValue } from '@internationalized/date'
import { DateBoxProps } from './DateBox.types'

export function DateBox(props: DateBoxProps<DateValue>) {
return null
}

0 comments on commit 10ac954

Please sign in to comment.