diff --git a/apps/cli/oclif.manifest.json b/apps/cli/oclif.manifest.json index ebb17d5b..9c9fd0fd 100644 --- a/apps/cli/oclif.manifest.json +++ b/apps/cli/oclif.manifest.json @@ -317,98 +317,6 @@ "generate.js" ] }, - "components:get": { - "aliases": [], - "args": { - "component": { - "description": "The name of the component to add to the local components library package", - "name": "component", - "noCacheDefault": false, - "required": false - } - }, - "description": "A command to add a copy of a design component from the remote Cyclone UI registry to the local components library package", - "examples": [ - { - "description": "Initialize the themes using the output path from the Storm configuration file", - "command": "<%= config.bin %> <%= command.id %> init" - }, - { - "description": "Initialize the themes, and write the output to ./path/to/output", - "command": "<%= config.bin %> <%= command.id %> init --output=./path/to/output" - }, - { - "description": "Initialize the themes, write the output to ./path/to/output, and skip confirmation prompts", - "command": "<%= config.bin %> <%= command.id %> init --output=./path/to/output --skip" - } - ], - "flags": { - "library": { - "aliases": [ - "lib" - ], - "char": "l", - "deprecateAliases": false, - "description": "The location of the local components library package directory", - "hidden": false, - "name": "library", - "required": false, - "summary": "Components library directory", - "hasDynamicHelp": false, - "helpValue": "", - "multiple": false, - "type": "option" - }, - "skip": { - "char": "s", - "deprecateAliases": false, - "description": "Skip all confirmation prompts and use the default values", - "hidden": false, - "name": "skip", - "noCacheDefault": false, - "required": false, - "summary": "Skip confirmation prompts", - "allowNo": true, - "type": "boolean" - }, - "registry": { - "aliases": [ - "registryUrl", - "registry-url" - ], - "char": "r", - "deprecateAliases": false, - "description": "The URL of the Cyclone UI remote registry to use for the components library package", - "hidden": false, - "name": "registry", - "required": false, - "summary": "Registry URL", - "hasDynamicHelp": false, - "helpValue": "", - "multiple": false, - "type": "option" - } - }, - "hasDynamicHelp": false, - "hiddenAliases": [], - "id": "components:get", - "pluginAlias": "@cyclone-ui/cli", - "pluginName": "@cyclone-ui/cli", - "pluginType": "core", - "strict": false, - "summary": "Get design component files from registry", - "enableJsonFlag": false, - "isESM": true, - "relativePath": [ - "dist", - "apps", - "cli", - "src", - "commands", - "components", - "get.js" - ] - }, "themes:clean": { "aliases": [], "args": { @@ -615,6 +523,98 @@ "themes", "generate.js" ] + }, + "components:get": { + "aliases": [], + "args": { + "component": { + "description": "The name of the component to add to the local components library package", + "name": "component", + "noCacheDefault": false, + "required": false + } + }, + "description": "A command to add a copy of a design component from the remote Cyclone UI registry to the local components library package", + "examples": [ + { + "description": "Initialize the themes using the output path from the Storm configuration file", + "command": "<%= config.bin %> <%= command.id %> init" + }, + { + "description": "Initialize the themes, and write the output to ./path/to/output", + "command": "<%= config.bin %> <%= command.id %> init --output=./path/to/output" + }, + { + "description": "Initialize the themes, write the output to ./path/to/output, and skip confirmation prompts", + "command": "<%= config.bin %> <%= command.id %> init --output=./path/to/output --skip" + } + ], + "flags": { + "library": { + "aliases": [ + "lib" + ], + "char": "l", + "deprecateAliases": false, + "description": "The location of the local components library package directory", + "hidden": false, + "name": "library", + "required": false, + "summary": "Components library directory", + "hasDynamicHelp": false, + "helpValue": "", + "multiple": false, + "type": "option" + }, + "skip": { + "char": "s", + "deprecateAliases": false, + "description": "Skip all confirmation prompts and use the default values", + "hidden": false, + "name": "skip", + "noCacheDefault": false, + "required": false, + "summary": "Skip confirmation prompts", + "allowNo": true, + "type": "boolean" + }, + "registry": { + "aliases": [ + "registryUrl", + "registry-url" + ], + "char": "r", + "deprecateAliases": false, + "description": "The URL of the Cyclone UI remote registry to use for the components library package", + "hidden": false, + "name": "registry", + "required": false, + "summary": "Registry URL", + "hasDynamicHelp": false, + "helpValue": "", + "multiple": false, + "type": "option" + } + }, + "hasDynamicHelp": false, + "hiddenAliases": [], + "id": "components:get", + "pluginAlias": "@cyclone-ui/cli", + "pluginName": "@cyclone-ui/cli", + "pluginType": "core", + "strict": false, + "summary": "Get design component files from registry", + "enableJsonFlag": false, + "isESM": true, + "relativePath": [ + "dist", + "apps", + "cli", + "src", + "commands", + "components", + "get.js" + ] } }, "version": "0.6.1" diff --git a/components/eyebrow-text/src/EyebrowText.tsx b/components/eyebrow-text/src/EyebrowText.tsx index f09fac7a..2c2d677e 100644 --- a/components/eyebrow-text/src/EyebrowText.tsx +++ b/components/eyebrow-text/src/EyebrowText.tsx @@ -15,9 +15,9 @@ -------------------------------------------------------------------*/ +import { ColorThemeName } from "@cyclone-ui/colors"; import { GetProps, styled } from "@tamagui/core"; import { SizableText } from "@tamagui/text"; -import { ColorThemeName } from "@cyclone-ui/colors"; export const EyebrowText = styled(SizableText, { name: "EyebrowText", @@ -27,7 +27,7 @@ export const EyebrowText = styled(SizableText, { color: "$tertiary", fontFamily: "$eyebrow", size: "$true", - textTransform: "uppercase", + textTransform: "uppercase" }); export type EyebrowTextProps = GetProps; diff --git a/components/heading-text/src/HeadingText.stories.tsx b/components/heading-text/src/HeadingText.stories.tsx index febab5bb..1ede9016 100644 --- a/components/heading-text/src/HeadingText.stories.tsx +++ b/components/heading-text/src/HeadingText.stories.tsx @@ -1,3 +1,20 @@ +/*------------------------------------------------------------------- + + ⚡ Storm Software - Cyclone UI + + This code was released as part of the Cyclone UI project. Cyclone UI + is maintained by Storm Software under the Apache-2.0 License, and is + free for commercial and private use. For more information, please visit + our licensing page. + + Website: https://stormsoftware.com + Repository: https://github.com/storm-software/cyclone-ui + Documentation: https://stormsoftware.com/projects/cyclone-ui/docs + Contact: https://stormsoftware.com/contact + License: https://stormsoftware.com/projects/cyclone-ui/license + + -------------------------------------------------------------------*/ + import type { Meta, StoryObj } from "@storybook/react"; import { HeadingText } from "./HeadingText"; diff --git a/components/number-text/README.md b/components/number-text/README.md new file mode 100644 index 00000000..c687020a --- /dev/null +++ b/components/number-text/README.md @@ -0,0 +1,304 @@ + + + + + +
Storm Software
+
+ +
+ +Website • +GitHub • +DiscordDocsContact • +Report a Bug + +
+ +
+This package is part of the 🌀 Cyclone UI monorepo. The repository contains Tamagui based design components used by Storm Software. Like Shadcn UI, the components are copied into other repositories via the Cyclone CLI. +
+ +

💻 Visit stormsoftware.com to stay up to date with this developer


+ +[![Version](https://img.shields.io/badge/version-0.5.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/) [![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/) [![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/) ![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6) [![documented with docusaurus](https://img.shields.io/badge/documented_with-docusaurus-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://docusaurus.io/) ![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/cyclone-ui/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6) + + + + +> [!IMPORTANT] +> This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be availible through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across. + + + + +
+ + + + + + +# NumberText + +A NumberText component meant to be shared in many other components + + + +## Table of Contents + +- [NumberText](#numbertext) + - [Table of Contents](#table-of-contents) + - [Installing](#installing) + - [Reduced Package Size](#reduced-package-size) + - [Development](#development) + - [Building](#building) + - [Running unit tests](#running-unit-tests) + - [Linting](#linting) + - [Storm Workspaces](#storm-workspaces) + - [Roadmap](#roadmap) + - [Support](#support) + - [License](#license) + - [Documentation](#documentation) + - [Changelog](#changelog) + - [Contributing](#contributing) + - [Contributors](#contributors) + + + +## Installing + +Using [pnpm](http://pnpm.io): + +```bash +pnpm add -D @cyclone-ui/number-text +``` + +
+ Using npm + +```bash +npm install -D @cyclone-ui/number-text +``` + +
+ +
+ Using yarn + +```bash +yarn add -D @cyclone-ui/number-text +``` + +
+ +## Reduced Package Size + +This project uses [tsup](https://tsup.egoist.dev/) to package the source code +due to its ability to remove unused code and ship smaller javascript files +thanks to code splitting. This helps to greatly reduce the size of the package +and to make it easier to use in other projects. + +## Development + +This project is built using [Nx](https://nx.dev). As a result, many of the usual +commands are available to assist in development. + +### Building + +Run `nx build number-text` to build the library. + +### Running unit tests + +Run `nx test number-text` to execute the unit tests via +[Jest](https://jestjs.io). + +### Linting + +Run `nx lint number-text` to run [ESLint](https://eslint.org/) on the package. + + + + + + +## Storm Workspaces + +Storm workspaces are built using +Nx, a set of extensible dev tools +for monorepos, which helps you develop like Google, Facebook, and Microsoft. +Building on top of Nx, the Open System provides a set of tools and patterns that +help you scale your monorepo to many teams while keeping the codebase +maintainable. + + +
+ +## Roadmap + +See the [open issues](https://github.com/storm-software/cyclone-ui/issues) for a +list of proposed features (and known issues). + +- [Top Feature Requests](https://github.com/storm-software/cyclone-ui/issues?q=label%3Aenhancement+is%3Aopen+sort%3Areactions-%2B1-desc) + (Add your votes using the 👍 reaction) +- [Top Bugs](https://github.com/storm-software/cyclone-ui/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Areactions-%2B1-desc) + (Add your votes using the 👍 reaction) +- [Newest Bugs](https://github.com/storm-software/cyclone-ui/issues?q=is%3Aopen+is%3Aissue+label%3Abug) + + +
+ +## Support + +Reach out to the maintainer at one of the following places: + +- [Contact](https://stormsoftware.com/contact) +- [GitHub discussions](https://github.com/storm-software/cyclone-ui/discussions) +- + + +
+ +## License + +This project is licensed under the **Apache License, Version 2.0**. Feel free to +edit and distribute this template as you like. + +``` + Copyright (C) 2023 - 2024 Storm Software + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +``` + +See [LICENSE](LICENSE) for more information. + +### Documentation + +All documentation is licensed under the +[Creative Commons](http://creativecommons.org/licenses/by/4.0/) (attribute) +license. + + +
+ +## Changelog + +This project adheres to +[Semantic Versioning](https://semver.org/spec/v2.0.0.html). Every release, along +with the migration instructions, is documented in the [CHANGELOG](CHANGELOG.md) +file + + +
+ +## Contributing + +First off, thanks for taking the time to contribute! Contributions are what +makes the open-source community such an amazing place to learn, inspire, and +create. Any contributions you make will benefit everybody else and are **greatly +appreciated**. + +Please try to create bug reports that are: + +- _Reproducible._ Include steps to reproduce the problem. +- _Specific._ Include as much detail as possible: which version, what + environment, etc. +- _Unique._ Do not duplicate existing opened issues. +- _Scoped to a Single Bug._ One bug per report. + +Please adhere to this project's [code of conduct](.github/CODE_OF_CONDUCT.md). + +You can use +[markdownlint-cli](https://github.com/storm-software/cyclone-ui/markdownlint-cli) +to check for common markdown style inconsistency. + + +
+ +## Contributors + +Thanks goes to these wonderful people +([emoji key](https://allcontributors.org/docs/en/emoji-key)): + + + + + + + + + + + + + + + + +
Patrick Sullivan
Patrick Sullivan

🎨 💻 🔧 📖 ⚠️
Tyler Benning
Tyler Benning

🎨
Stormie
Stormie

🚧
+ All Contributors + Add your contributions + +
+ + + +This project follows the +[all-contributors](https://github.com/all-contributors/all-contributors) +specification. Contributions of any kind welcome! + + +
+ +
+
+ +
+Storm Software +
+
+ +
+ +WebsiteContactDiscordLinkedInMediumGitHubOpenPGP Key + +
+ +
+Fingerprint: 1BD2 7192 7770 2549 F4C9 F238 E6AD C420 DA5C 4C2D +
+
+ +Storm Software is an open source software development organization and creator +of Acidic, StormStack and StormCloud. + +Our mission is to make software development more accessible. Our ideal future is +one where anyone can create software without years of prior development +experience serving as a barrier to entry. We hope to achieve this via LLMs, +Generative AI, and intuitive, high-level data modeling/programming languages. + +If this sounds interesting, and you would like to help us in creating the next +generation of development tools, please reach out on our website! + +
+

💻 Visit stormsoftware.com to stay up to date with this developer

+ +
+ +
+ + + + + + diff --git a/components/number-text/jest.config.ts b/components/number-text/jest.config.ts new file mode 100644 index 00000000..a81c0b84 --- /dev/null +++ b/components/number-text/jest.config.ts @@ -0,0 +1,3 @@ +import { getJestConfig } from "@storm-software/testing-tools"; + +export default getJestConfig("components/number-text", true, "number-text"); diff --git a/components/number-text/package.json b/components/number-text/package.json new file mode 100644 index 00000000..d4880498 --- /dev/null +++ b/components/number-text/package.json @@ -0,0 +1,50 @@ +{ + "name": "@cyclone-ui/number-text", + "version": "0.5.0", + "type": "module", + "description": "A visually hidden component meant to be shared in many other components", + "repository": { + "type": "github", + "url": "https://github.com/storm-software/cyclone-ui.git", + "directory": "components/number-text" + }, + "private": false, + "main": "dist/cjs", + "module": "dist/esm", + "exports": { + "./package.json": "./package.json", + ".": { + "types": "./types/index.d.ts", + "import": "./dist/esm/index.mjs", + "require": "./dist/cjs/index.js", + "react-native": "./dist/cjs/index.native.js" + } + }, + "types": "./types/index.d.ts", + "files": [ + "dist", + "src", + "types" + ], + "peerDependencies": { + "react": "18.3.1", + "react-dom": "18.3.1", + "react-native": "0.74.1" + }, + "dependencies": { + "@number-flow/react": "^0.4.2", + "@tamagui/core": "^1.116.15" + }, + "devDependencies": { + "react": "18.3.1", + "react-dom": "18.3.1", + "react-native": "0.74.1" + }, + "publishConfig": { + "access": "public" + }, + "sideEffects": [ + "*.css" + ], + "module:jsx": "dist/jsx" +} diff --git a/components/number-text/project.json b/components/number-text/project.json new file mode 100644 index 00000000..30182ef9 --- /dev/null +++ b/components/number-text/project.json @@ -0,0 +1,46 @@ +{ + "name": "number-text", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "projectType": "library", + "sourceRoot": "components/number-text/src", + "targets": { + "build": { + "cache": true, + "executor": "@cyclone-ui/nx:build", + "inputs": ["default", "^production"], + "dependsOn": ["^build"], + "output": "{options.outputPath}", + "options": { + "outputPath": "dist/components/number-text", + "tsConfig": "components/number-text/tsconfig.json", + "project": "components/number-text/package.json", + "defaultConfiguration": "production", + "assets": [ + { + "input": "components/number-text", + "glob": "*.md", + "output": "/" + }, + { + "input": "", + "glob": "LICENSE", + "output": "/" + } + ] + }, + "configurations": { + "production": { + "debug": false, + "verbose": false + }, + "development": { + "debug": true, + "verbose": true + } + } + }, + "nx-release-publish": { + "executor": "@cyclone-ui/tools-nx:component-publish" + } + } +} diff --git a/components/number-text/src/NumberText.stories.tsx b/components/number-text/src/NumberText.stories.tsx new file mode 100644 index 00000000..19516255 --- /dev/null +++ b/components/number-text/src/NumberText.stories.tsx @@ -0,0 +1,104 @@ +/*------------------------------------------------------------------- + + ⚡ Storm Software - Cyclone UI + + This code was released as part of the Cyclone UI project. Cyclone UI + is maintained by Storm Software under the Apache-2.0 License, and is + free for commercial and private use. For more information, please visit + our licensing page. + + Website: https://stormsoftware.com + Repository: https://github.com/storm-software/cyclone-ui + Documentation: https://stormsoftware.com/projects/cyclone-ui/docs + Contact: https://stormsoftware.com/contact + License: https://stormsoftware.com/projects/cyclone-ui/license + + -------------------------------------------------------------------*/ + +import type { Meta, StoryObj } from "@storybook/react"; +import { useEffect, useState } from "react"; +import { NumberText } from "./NumberText"; + +const meta: Meta = { + title: "Typography/NumberText", + component: NumberText, + tags: ["autodocs"], + render: (args: any) => { + const [value, setValue] = useState(0); + useEffect(() => { + setInterval(() => { + setValue(prev => (prev + Math.floor(Math.random() * 25)) % 100_000_000); + }, 1000); + }, [setValue]); + + return {value}; + } +} satisfies Meta; + +export default meta; + +type Story = StoryObj; + +export const Base: Story = { + args: {} +}; + +export const Brand: Story = { + args: { + theme: "brand" + } +}; + +export const Alternate: Story = { + args: { + theme: "alternate" + } +}; + +export const Accent: Story = { + args: { + theme: "accent" + } +}; + +export const Help: Story = { + args: { + theme: "help" + } +}; + +export const Info: Story = { + args: { + theme: "info" + } +}; + +export const Success: Story = { + args: { + theme: "success" + } +}; + +export const Warning: Story = { + args: { + theme: "warning" + } +}; + +export const Danger: Story = { + args: { + theme: "danger" + } +}; + +export const Positive: Story = { + args: { + theme: "positive" + } +}; + +export const Negative: Story = { + args: { + theme: "negative" + } +}; diff --git a/components/number-text/src/NumberText.tsx b/components/number-text/src/NumberText.tsx new file mode 100644 index 00000000..02806cf2 --- /dev/null +++ b/components/number-text/src/NumberText.tsx @@ -0,0 +1,37 @@ +/*------------------------------------------------------------------- + + ⚡ Storm Software - Cyclone UI + + This code was released as part of the Cyclone UI project. Cyclone UI + is maintained by Storm Software under the Apache-2.0 License, and is + free for commercial and private use. For more information, please visit + our licensing page. + + Website: https://stormsoftware.com + Repository: https://github.com/storm-software/cyclone-ui + Documentation: https://stormsoftware.com/projects/cyclone-ui/docs + Contact: https://stormsoftware.com/contact + License: https://stormsoftware.com/projects/cyclone-ui/license + + -------------------------------------------------------------------*/ + +import { LabelText } from "@cyclone-ui/label-text"; +import NumberFlow from "@number-flow/react"; +import { GetProps } from "@tamagui/core"; + +export const NumberText = LabelText.styleable( + ({ children, ...props }, forwardedRef) => { + let value = Number(children); + if (isNaN(value)) { + value = 0; + } + + return ( + + + + ); + } +); + +export type NumberTextProps = GetProps; diff --git a/components/number-text/src/index.ts b/components/number-text/src/index.ts new file mode 100644 index 00000000..37bbebf1 --- /dev/null +++ b/components/number-text/src/index.ts @@ -0,0 +1,18 @@ +/*------------------------------------------------------------------- + + ⚡ Storm Software - Cyclone UI + + This code was released as part of the Cyclone UI project. Cyclone UI + is maintained by Storm Software under the Apache-2.0 License, and is + free for commercial and private use. For more information, please visit + our licensing page. + + Website: https://stormsoftware.com + Repository: https://github.com/storm-software/cyclone-ui + Documentation: https://stormsoftware.com/projects/cyclone-ui/docs + Contact: https://stormsoftware.com/contact + License: https://stormsoftware.com/projects/cyclone-ui/license + + -------------------------------------------------------------------*/ + +export * from "./NumberText"; diff --git a/components/number-text/tsconfig.json b/components/number-text/tsconfig.json new file mode 100644 index 00000000..b33f969e --- /dev/null +++ b/components/number-text/tsconfig.json @@ -0,0 +1,15 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc", + "jsx": "preserve", + "types": [ + "node", + "@nx/react/typings/cssmodule.d.ts", + "@nx/react/typings/image.d.ts" + ] + }, + "files": [], + "include": ["src/**/*.ts", "src/**/*.tsx"], + "exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"] +} diff --git a/components/number-text/tsconfig.spec.json b/components/number-text/tsconfig.spec.json new file mode 100644 index 00000000..95c31fef --- /dev/null +++ b/components/number-text/tsconfig.spec.json @@ -0,0 +1,13 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc", + "types": ["jest"] + }, + "include": [ + "jest.config.ts", + "src/**/*.test.ts", + "src/**/*.spec.ts", + "src/**/*.d.ts" + ] +} diff --git a/package.json b/package.json index c105c544..962f7cf8 100644 --- a/package.json +++ b/package.json @@ -270,6 +270,7 @@ "@cyclone-ui/link-text": "workspace:*", "@cyclone-ui/label-text": "workspace:*", "@cyclone-ui/title-text": "workspace:*", + "@cyclone-ui/number-text": "workspace:*", "@cyclone-ui/bytes-text": "workspace:*", "@cyclone-ui/heading-text": "workspace:*", "@cyclone-ui/validation-text": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 52e28e0e..6ce2004b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -40,6 +40,7 @@ overrides: '@cyclone-ui/link-text': workspace:* '@cyclone-ui/label-text': workspace:* '@cyclone-ui/title-text': workspace:* + '@cyclone-ui/number-text': workspace:* '@cyclone-ui/bytes-text': workspace:* '@cyclone-ui/heading-text': workspace:* '@cyclone-ui/validation-text': workspace:* @@ -1653,6 +1654,25 @@ importers: specifier: 0.74.1 version: 0.74.1(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.12)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10) + components/number-text: + dependencies: + '@number-flow/react': + specifier: ^0.4.2 + version: 0.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tamagui/core': + specifier: ^1.116.15 + version: 1.117.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + devDependencies: + react: + specifier: 18.3.1 + version: 18.3.1 + react-dom: + specifier: 18.3.1 + version: 18.3.1(react@18.3.1) + react-native: + specifier: 0.74.1 + version: 0.74.1(@babel/core@7.26.0)(@babel/preset-env@7.26.0(@babel/core@7.26.0))(@types/react@18.3.12)(bufferutil@4.0.8)(encoding@0.1.13)(react@18.3.1)(utf-8-validate@5.0.10) + components/pagination: dependencies: '@tamagui/core': @@ -6581,6 +6601,12 @@ packages: '@nrwl/workspace@19.8.13': resolution: {integrity: sha512-NT9bnVx4GR1H7NyO7b043G2PeEa+9LKrZvjpHCop1nxuOeFiFv48Y/o6Msl2oFDFF4/sAo5XcqgEv6PE2EoncA==} + '@number-flow/react@0.4.2': + resolution: {integrity: sha512-lCAkLuK/3+Nlhb/oy1tpRnadp1vvfc/cWTtWUL9hMksHsJOGh+1T5Y/dyeQhyCD0heaWTjNYWX2ndBKLJwuC0A==} + peerDependencies: + react: ^18 || ^19.0.0-rc-915b914b3a-20240515 + react-dom: ^18 + '@nx/cypress@20.0.6': resolution: {integrity: sha512-b26Ucgf+dAdTRlBGhFi8Xjeqw1mbUrxn3nwAOYNwuivc+CZCeokba5/orldNAlBlJKvHe0QmSAI3wpDjdU05Ww==} peerDependencies: @@ -13050,6 +13076,9 @@ packages: jiti: optional: true + esm-env@1.2.1: + resolution: {integrity: sha512-U9JedYYjCnadUlXk7e1Kr+aENQhtUaoaV9+gZm1T8LC/YBAPJx3NSPIAurFOC0U5vrdSevnUJS2/wUVxGwPhng==} + esm-resolve@1.0.11: resolution: {integrity: sha512-LxF0wfUQm3ldUDHkkV2MIbvvY0TgzIpJ420jHSV1Dm+IlplBEWiJTKWM61GtxUfvjV6iD4OtTYFGAGM2uuIUWg==} @@ -17356,6 +17385,9 @@ packages: number-allocator@1.0.14: resolution: {integrity: sha512-OrL44UTVAvkKdOdRQZIJpLkAdjXGTRda052sN4sO77bKEzYYqWKMBjQvrJFzqygI99gL6Z4u2xctPW1tB8ErvA==} + number-flow@0.4.1: + resolution: {integrity: sha512-d39o1tWL7mMMBLuOfHswtQ8r0fj9eUcatb4G1Spdv0ZO/I30kg9DBdSzSPjNG6hrj1slQ6KA3TQXk1RmOq4qOA==} + nwsapi@2.2.16: resolution: {integrity: sha512-F1I/bimDpj3ncaNDhfyMWuFqmQDBwDB0Fogc2qpL3BWvkQteFD/8BzWuIRl83rq0DXfm8SGt/HFhLXZyljTXcQ==} @@ -27848,6 +27880,13 @@ snapshots: - '@swc/core' - debug + '@number-flow/react@0.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + esm-env: 1.2.1 + number-flow: 0.4.1 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + '@nx/cypress@20.0.6(@babel/traverse@7.25.9)(@swc-node/register@1.9.2(@swc/core@1.5.29(@swc/helpers@0.5.15))(@swc/types@0.1.17)(typescript@5.7.2))(@swc/core@1.5.29(@swc/helpers@0.5.15))(@types/node@22.5.5)(@zkochan/js-yaml@0.0.7)(eslint@9.16.0(jiti@2.4.1))(nx@20.0.6(@swc-node/register@1.9.2(@swc/core@1.5.29(@swc/helpers@0.5.15))(@swc/types@0.1.17)(typescript@5.7.2))(@swc/core@1.5.29(@swc/helpers@0.5.15)))(typescript@5.7.2)(verdaccio@5.33.0(encoding@0.1.13)(typanion@3.14.0))': dependencies: '@nx/devkit': 20.0.6(nx@20.0.6(@swc-node/register@1.9.2(@swc/core@1.5.29(@swc/helpers@0.5.15))(@swc/types@0.1.17)(typescript@5.7.2))(@swc/core@1.5.29(@swc/helpers@0.5.15))) @@ -38168,6 +38207,8 @@ snapshots: transitivePeerDependencies: - supports-color + esm-env@1.2.1: {} + esm-resolve@1.0.11: {} esm@3.2.25: {} @@ -44050,6 +44091,10 @@ snapshots: transitivePeerDependencies: - supports-color + number-flow@0.4.1: + dependencies: + esm-env: 1.2.1 + nwsapi@2.2.16: {} nx@19.8.13(@swc-node/register@1.9.2(@swc/core@1.5.29(@swc/helpers@0.5.15))(@swc/types@0.1.17)(typescript@5.7.2))(@swc/core@1.5.29(@swc/helpers@0.5.15)): diff --git a/tsconfig.base.json b/tsconfig.base.json index 2b1b02fc..99e32a5b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -50,6 +50,8 @@ "@cyclone-ui/date-picker/*": ["components/date-picker/src/*"], "@cyclone-ui/dialog": ["components/dialog/src/index.ts"], "@cyclone-ui/dialog/*": ["components/dialog/src/*"], + "@cyclone-ui/number-text": ["components/number-text/src/index.ts"], + "@cyclone-ui/number-text/*": ["components/number-text/src/*"], "@cyclone-ui/eyebrow-text": ["components/eyebrow-text/src/index.ts"], "@cyclone-ui/eyebrow-text/*": ["components/eyebrow-text/src/*"], "@cyclone-ui/progress": ["components/progress/src/index.ts"],