@croquiscom/pds 0.7.1 → 0.8.0

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.
@@ -0,0 +1,9 @@
1
+ import React, { TextareaHTMLAttributes } from 'react';
2
+ import { SizeProps } from '../styles';
3
+ export interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement>, SizeProps {
4
+ error?: boolean;
5
+ value?: string;
6
+ /** @default false */
7
+ showCounter?: boolean;
8
+ }
9
+ export declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("./Textarea").TextareaProps & React.RefAttributes<HTMLTextAreaElement>>>;
4
+ export default _default;
5
+ export declare const Base: any;
6
+ export declare const Error: any;
7
+ export declare const WithFormHelperText: () => JSX.Element;
8
+ export declare const Disabled: any;
9
+ export declare const EnteredDisabled: any;
10
+ export declare const MaxLength: any;
@@ -0,0 +1 @@
1
+ export * from './Textarea';
@@ -0,0 +1,20 @@
1
+ export declare const textarea_base_css: import("@emotion/utils").SerializedStyles;
2
+ export declare const input_default_style: {
3
+ backgroundColor: string;
4
+ border: string;
5
+ color: string;
6
+ };
7
+ export declare const input_error_style: {
8
+ border: string;
9
+ '&:focus, &:hover': {
10
+ border: string;
11
+ };
12
+ };
13
+ export declare const input_disabled_style: {
14
+ backgroundColor: string;
15
+ border: string;
16
+ color: string;
17
+ '&:focus, &:hover': {
18
+ border: string;
19
+ };
20
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@croquiscom/pds",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "description": "Design system for Zigzag's Partner Center",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.es.js",