@nation-a/ui 0.10.5 → 0.10.6

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.
@@ -8,3 +8,4 @@ export declare const WithDescription: Story;
8
8
  export declare const UIVariants: Story;
9
9
  export declare const DisabledStates: Story;
10
10
  export declare const LabelVariations: Story;
11
+ export declare const WithIcons: Story;
@@ -1,3 +1,4 @@
1
+ import { ReactNode } from 'react';
1
2
  import { HTMLStyledProps } from '../../../styled-system/jsx';
2
3
  import { Assign } from '@ark-ui/react';
3
4
  import { InputVariantProps } from './input.recipe';
@@ -7,6 +8,8 @@ export type InputProps = Assign<HTMLStyledProps<'input'>, InputVariantProps> & {
7
8
  labelPosition?: 'outside' | 'inside';
8
9
  description?: string;
9
10
  textLimit?: number;
11
+ startAdornment?: ReactNode;
12
+ endAdornment?: ReactNode;
10
13
  };
11
14
  declare const _default: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<Omit<InputProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>>;
12
15
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { RecipeVariantProps } from '../../../styled-system/css';
2
2
  export type InputVariantProps = RecipeVariantProps<typeof inputRecipe>;
3
- export declare const inputRecipe: import('../../../styled-system/types').SlotRecipeRuntimeFn<"label" | "description" | "inputContainer" | "requiredStar" | "textLengthIndicator", {
3
+ export declare const inputRecipe: import('../../../styled-system/types').SlotRecipeRuntimeFn<"label" | "description" | "inputContainer" | "requiredStar" | "textLengthIndicator" | "adornment", {
4
4
  isTextArea: {
5
5
  true: {
6
6
  inputContainer: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nation-a/ui",
3
- "version": "0.10.5",
3
+ "version": "0.10.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -99,6 +99,7 @@
99
99
  "typecheck": "tsc --noEmit",
100
100
  "panda": "panda codegen && panda",
101
101
  "storybook": "pnpm panda && VITE_IS_STORYBOOK=true storybook dev -p 6006",
102
- "build-storybook": "pnpm panda && storybook build"
102
+ "build-storybook": "pnpm panda && storybook build",
103
+ "dev": "pnpm storybook"
103
104
  }
104
105
  }