@atls-ui-admin/bottom-navigation 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,18 @@
1
+
2
+
3
+ ## 0.0.1 (2025-11-10)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+
9
+ * **ui-admin:** bottom navigation colors ([2b1a7a8](https://github.com/atls/hyperion/commit/2b1a7a8811f2bf95ceefdc3bb27bc67156f6702e))
10
+ * **ui-admin:** bottom navigation item colors ([f8ce1b8](https://github.com/atls/hyperion/commit/f8ce1b8098413c24148a3dce4c616c0078b08db1))
11
+ * **ui-admin:** bottom navigation types ([35a2219](https://github.com/atls/hyperion/commit/35a22195d1a34e18a3f5a6e0ad0ae1d9d6a72d37))
12
+
13
+ ### Features
14
+
15
+
16
+ * **ui-admin:** init bottom navigation ([381ea4d](https://github.com/atls/hyperion/commit/381ea4d991727ae020a3292397238f14899dcfa1))
17
+
18
+
@@ -0,0 +1,10 @@
1
+ import type { ComponentType } from 'react';
2
+ import type { ReactElement } from 'react';
3
+ export interface BottomNavigationItemProps {
4
+ icon: ComponentType<{
5
+ color?: string;
6
+ width?: number | string;
7
+ height?: number | string;
8
+ }>;
9
+ }
10
+ export declare const BottomNavigationItem: ({ icon }: BottomNavigationItemProps) => ReactElement;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { createElement } from 'react';
3
+ import { bottomNavigationItemStyles } from './styles.css.js';
4
+ export const BottomNavigationItem = ({ icon }) => (_jsx("div", { className: bottomNavigationItemStyles, children: createElement(icon, {
5
+ color: 'rgba(255, 255, 255, 1)',
6
+ width: 20,
7
+ height: 20,
8
+ }) }));
@@ -0,0 +1 @@
1
+ export * from './component.js';
@@ -0,0 +1 @@
1
+ export * from "./component.js";
@@ -0,0 +1 @@
1
+ export declare const bottomNavigationItemStyles: string;
@@ -0,0 +1,8 @@
1
+ import { style } from '@vanilla-extract/css';
2
+ export const bottomNavigationItemStyles = style({
3
+ display: 'flex',
4
+ alignItems: 'center',
5
+ justifyContent: 'center',
6
+ boxSizing: 'border-box',
7
+ width: '100%',
8
+ });
@@ -0,0 +1,3 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { ReactElement } from 'react';
3
+ export declare const BottomNavigationRoot: ({ children }: PropsWithChildren) => ReactElement;
@@ -0,0 +1,3 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { bottomNavigationRootStyles } from './styles.css.js';
3
+ export const BottomNavigationRoot = ({ children }) => (_jsx("div", { className: bottomNavigationRootStyles, children: children }));
@@ -0,0 +1 @@
1
+ export * from './component.js';
@@ -0,0 +1 @@
1
+ export * from "./component.js";
@@ -0,0 +1 @@
1
+ export declare const bottomNavigationRootStyles: string;
@@ -0,0 +1,10 @@
1
+ import { style } from '@vanilla-extract/css';
2
+ export const bottomNavigationRootStyles = style({
3
+ display: 'flex',
4
+ alignItems: 'center',
5
+ justifyContent: 'space-between',
6
+ boxSizing: 'border-box',
7
+ background: 'rgba(0, 0, 0, 1)',
8
+ width: '100%',
9
+ height: 64,
10
+ });
@@ -0,0 +1,6 @@
1
+ import type { ReactElement } from 'react';
2
+ import type { BottomNavigationItemProps } from './bottom-navigation-item/index.js';
3
+ export interface BottomNavigationProps {
4
+ items: Array<BottomNavigationItemProps>;
5
+ }
6
+ export declare const BottomNavigation: ({ items }: BottomNavigationProps) => ReactElement;
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { BottomNavigationItem } from './bottom-navigation-item/index.js';
3
+ import { BottomNavigationRoot } from './bottom-navigation-root/index.js';
4
+ export const BottomNavigation = ({ items = [] }) => (_jsx(BottomNavigationRoot, { children: items.map((item) => (_jsx(BottomNavigationItem, { icon: item.icon }, item.icon.name))) }));
@@ -0,0 +1 @@
1
+ export * from './component.js';
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from "./component.js";
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@atls-ui-admin/bottom-navigation",
3
+ "version": "0.0.1",
4
+ "license": "BSD-3-Clause",
5
+ "type": "module",
6
+ "exports": {
7
+ "./package.json": "./package.json",
8
+ ".": {
9
+ "import": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "default": "./dist/index.js"
12
+ }
13
+ },
14
+ "main": "dist/index.js",
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "scripts": {
19
+ "build": "yarn library build",
20
+ "prepack": "yarn run build",
21
+ "postpack": "rm -rf dist"
22
+ },
23
+ "devDependencies": {
24
+ "@atls-ui-admin/layout": "1.0.7",
25
+ "@atls-ui-admin/theme": "1.0.7",
26
+ "@radix-ui/react-icons": "1.3.2",
27
+ "@storybook/react": "8.6.12",
28
+ "@types/react": "19.1.2",
29
+ "@vanilla-extract/css": "1.17.1",
30
+ "@vanilla-extract/dynamic": "2.1.2",
31
+ "react": "19.1.0",
32
+ "react-dom": "19.1.0",
33
+ "storybook": "8.6.12"
34
+ },
35
+ "peerDependencies": {
36
+ "@vanilla-extract/css": "^1",
37
+ "@vanilla-extract/dynamic": "^2",
38
+ "react": "^19",
39
+ "react-dom": "^19"
40
+ },
41
+ "publishConfig": {
42
+ "exports": {
43
+ "./package.json": "./package.json",
44
+ ".": {
45
+ "import": "./dist/index.js",
46
+ "types": "./dist/index.d.ts",
47
+ "default": "./dist/index.js"
48
+ }
49
+ },
50
+ "main": "dist/index.js",
51
+ "typings": "dist/index.d.ts"
52
+ },
53
+ "typings": "dist/index.d.ts"
54
+ }