Skip to content

Commit

Permalink
feat(number-text): Initial check-in of the NumberText component pac…
Browse files Browse the repository at this point in the history
…kage
  • Loading branch information
sullivanpj committed Dec 14, 2024
1 parent f50ce55 commit aa78b12
Show file tree
Hide file tree
Showing 15 changed files with 749 additions and 94 deletions.
184 changes: 92 additions & 92 deletions apps/cli/oclif.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "<directory>",
"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": "<url>",
"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": {
Expand Down Expand Up @@ -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": "<directory>",
"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": "<url>",
"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"
Expand Down
4 changes: 2 additions & 2 deletions components/eyebrow-text/src/EyebrowText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -27,7 +27,7 @@ export const EyebrowText = styled(SizableText, {
color: "$tertiary",
fontFamily: "$eyebrow",
size: "$true",
textTransform: "uppercase",
textTransform: "uppercase"
});

export type EyebrowTextProps = GetProps<typeof EyebrowText>;
17 changes: 17 additions & 0 deletions components/heading-text/src/HeadingText.stories.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
Loading

0 comments on commit aa78b12

Please sign in to comment.