@economic/taco 1.9.2 → 1.10.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,13 @@
1
+ export declare const colors: {
2
+ green: string;
3
+ yellow: string;
4
+ red: string;
5
+ blue: string;
6
+ purple: string;
7
+ orange: string;
8
+ brown: string;
9
+ pink: string;
10
+ grey: string;
11
+ black: string;
12
+ };
13
+ export declare type Color = keyof typeof colors;
@@ -0,0 +1 @@
1
+ export declare const isOverflowing: (element: HTMLElement | null) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@economic/taco",
3
- "version": "1.9.2",
3
+ "version": "1.10.0",
4
4
  "description": "> TODO: description",
5
5
  "author": "Matt Daly <matthew.daly@visma.com>",
6
6
  "homepage": "https://github.com/e-conomic/taco#readme",
@@ -126,5 +126,5 @@
126
126
  "not ie < 11"
127
127
  ]
128
128
  },
129
- "gitHead": "2d21eeba1698198138f89575021215137ba4dfd7"
129
+ "gitHead": "0d6c7aa5cf40f34547a4a1fcde2c8af5fe760adc"
130
130
  }
package/types.json CHANGED
@@ -3302,6 +3302,53 @@
3302
3302
  ]
3303
3303
  }
3304
3304
  },
3305
+ "Tag": {
3306
+ "TagProps": {
3307
+ "intersections": [
3308
+ "Omit<HTMLAttributes<HTMLSpanElement>, 'children'>"
3309
+ ],
3310
+ "props": [
3311
+ {
3312
+ "name": "children",
3313
+ "optional": false,
3314
+ "type": "string"
3315
+ },
3316
+ {
3317
+ "name": "color",
3318
+ "optional": true,
3319
+ "type": "Color"
3320
+ },
3321
+ {
3322
+ "name": "disabled",
3323
+ "optional": true,
3324
+ "type": "boolean"
3325
+ },
3326
+ {
3327
+ "name": "icon",
3328
+ "optional": true,
3329
+ "type": [
3330
+ "ReactElement<IconProps>",
3331
+ "IconName"
3332
+ ]
3333
+ },
3334
+ {
3335
+ "name": "onDelete",
3336
+ "optional": true,
3337
+ "type": {
3338
+ "arguments": {
3339
+ "event": "MouseEvent<SVGSVGElement>"
3340
+ },
3341
+ "returnValue": "void"
3342
+ }
3343
+ },
3344
+ {
3345
+ "name": "readOnly",
3346
+ "optional": true,
3347
+ "type": "boolean"
3348
+ }
3349
+ ]
3350
+ }
3351
+ },
3305
3352
  "Textarea": {
3306
3353
  "TextareaProps": {
3307
3354
  "intersections": [