@sme.up/ketchup2 2.0.0-SNAPSHOT-20250616095943 → 2.0.0-SNAPSHOT-20250616143804

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.
@@ -1 +1 @@
1
- {"version":3,"file":"cell.d.ts","sourceRoot":"","sources":["../../../src/basic-components/cell/cell.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAKL,SAAS,EAEV,MAAM,cAAc,CAAA;AAOrB,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0M7B,CAAA;AAED,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"cell.d.ts","sourceRoot":"","sources":["../../../src/basic-components/cell/cell.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAKL,SAAS,EAEV,MAAM,cAAc,CAAA;AAQrB,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAuN7B,CAAA;AAED,eAAe,IAAI,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { default as React } from 'react';
2
+ import { State } from '../../types/global';
3
+ import { StringCellBindProps } from '../cell/cell-types';
4
+ export interface TextareaProps extends StringCellBindProps {
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ state?: State;
8
+ appearance?: "base" | "outlined";
9
+ onKeyDown?: (e: React.KeyboardEvent) => void;
10
+ label?: string;
11
+ /**
12
+ * It manages the helperText visibility that shows error message
13
+ * @default true
14
+ */
15
+ helperText?: boolean;
16
+ /**
17
+ * It's the error message
18
+ * @default ''
19
+ */
20
+ error?: string;
21
+ }
22
+ //# sourceMappingURL=textarea-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textarea-types.d.ts","sourceRoot":"","sources":["../../../src/basic-components/textarea/textarea-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAExD,MAAM,WAAW,aAAc,SAAQ,mBAAmB;IACxD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;IAChC,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,KAAK,IAAI,CAAA;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAElB;;;KAGC;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
@@ -0,0 +1,4 @@
1
+ import { TextareaProps } from './textarea-types';
2
+ import { default as React } from 'react';
3
+ export declare const Textarea: React.FC<TextareaProps>;
4
+ //# sourceMappingURL=textarea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../src/basic-components/textarea/textarea.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,gBAAgB,CAAA;AAEvB,OAAO,KAAgB,MAAM,OAAO,CAAA;AAEpC,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA6D5C,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"textfield.d.ts","sourceRoot":"","sources":["../../../src/basic-components/textfield/textfield.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,iBAAiB,CAAA;AAExB,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAmG9C,CAAA"}
1
+ {"version":3,"file":"textfield.d.ts","sourceRoot":"","sources":["../../../src/basic-components/textfield/textfield.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,iBAAiB,CAAA;AAExB,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA2G9C,CAAA"}
@@ -12,5 +12,9 @@ export interface HelperTextProps {
12
12
  * Disabled state
13
13
  */
14
14
  state?: State;
15
+ /**
16
+ * Identifier of this helperText related to the main component
17
+ */
18
+ id?: string;
15
19
  }
16
20
  //# sourceMappingURL=helper-text-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helper-text-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/helper-text/helper-text-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,MAAM,WAAW,eAAe;IAC9B;;MAEE;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;MAEE;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;MAEE;IACF,KAAK,CAAC,EAAE,KAAK,CAAC;CACf"}
1
+ {"version":3,"file":"helper-text-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/helper-text/helper-text-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,MAAM,WAAW,eAAe;IAC9B;;MAEE;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;MAEE;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;MAEE;IACF,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ"}
@@ -1 +1 @@
1
- {"version":3,"file":"helper-text.d.ts","sourceRoot":"","sources":["../../../src/functional-components/helper-text/helper-text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,mBAAmB,CAAA;AAE1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAUhD,CAAA"}
1
+ {"version":3,"file":"helper-text.d.ts","sourceRoot":"","sources":["../../../src/functional-components/helper-text/helper-text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,mBAAmB,CAAA;AAE1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAehD,CAAA"}
@@ -7,5 +7,9 @@ export interface LabelProps {
7
7
  * Disabled state
8
8
  */
9
9
  disabled?: boolean;
10
+ /**
11
+ * The element referred to this label
12
+ */
13
+ htmlFor?: string;
10
14
  }
11
15
  //# sourceMappingURL=label-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"label-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/label/label-types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEb;;KAEC;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB"}
1
+ {"version":3,"file":"label-types.d.ts","sourceRoot":"","sources":["../../../src/functional-components/label/label-types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEb;;KAEC;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/functional-components/label/label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,aAAa,CAAA;AAEpB,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAMtC,CAAA"}
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/functional-components/label/label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,aAAa,CAAA;AAEpB,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAUtC,CAAA"}