@economic/taco 2.11.0 → 2.11.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@economic/taco",
3
- "version": "2.11.0",
3
+ "version": "2.11.1",
4
4
  "description": "> TODO: description",
5
5
  "author": "Matt Daly <matthew.daly@visma.com>",
6
6
  "homepage": "https://github.com/e-conomic/taco#readme",
@@ -44,18 +44,18 @@
44
44
  "@dnd-kit/sortable": "^7.0.1",
45
45
  "@economic/taco-tokens": "^1.4.1",
46
46
  "@radix-ui/react-accordion": "^1.0.1",
47
- "@radix-ui/react-alert-dialog": "^1.0.2",
48
- "@radix-ui/react-checkbox": "^1.0.1",
49
- "@radix-ui/react-dialog": "^1.0.2",
50
- "@radix-ui/react-dropdown-menu": "^2.0.1",
51
- "@radix-ui/react-hover-card": "^1.0.2",
52
- "@radix-ui/react-popover": "^1.0.2",
53
- "@radix-ui/react-radio-group": "^1.1.0",
54
- "@radix-ui/react-scroll-area": "^1.0.1",
55
- "@radix-ui/react-switch": "^1.0.1",
56
- "@radix-ui/react-tabs": "^1.0.1",
57
- "@radix-ui/react-tooltip": "^1.0.2",
58
- "@radix-ui/react-use-controllable-state": "^1.0.0",
47
+ "@radix-ui/react-alert-dialog": "^1.0.5",
48
+ "@radix-ui/react-checkbox": "^1.0.4",
49
+ "@radix-ui/react-dialog": "^1.0.5",
50
+ "@radix-ui/react-dropdown-menu": "^2.0.6",
51
+ "@radix-ui/react-hover-card": "^1.0.7",
52
+ "@radix-ui/react-popover": "^1.0.7",
53
+ "@radix-ui/react-radio-group": "^1.1.3",
54
+ "@radix-ui/react-scroll-area": "^1.0.5",
55
+ "@radix-ui/react-switch": "^1.0.3",
56
+ "@radix-ui/react-tabs": "^1.0.4",
57
+ "@radix-ui/react-tooltip": "^1.0.7",
58
+ "@radix-ui/react-use-controllable-state": "^1.0.1",
59
59
  "@react-aria/focus": "^3.9.0",
60
60
  "@react-aria/interactions": "^3.12.0",
61
61
  "@tanstack/react-table": "^8.7.6",
@@ -130,5 +130,5 @@
130
130
  "not ie < 11"
131
131
  ]
132
132
  },
133
- "gitHead": "dda8e614823843a1acc3ef093ba36b1c33efa0cf"
133
+ "gitHead": "a95a2ee563d95b5ca295636b54a997c98cc82612"
134
134
  }
package/types.json CHANGED
@@ -488747,7 +488747,14 @@
488747
488747
  },
488748
488748
  "type": {
488749
488749
  "type": "reference",
488750
- "name": "FunctionComponent"
488750
+ "typeArguments": [
488751
+ {
488752
+ "type": "reference",
488753
+ "id": 1344,
488754
+ "name": "MenuSeparatorProps"
488755
+ }
488756
+ ],
488757
+ "name": "ForwardRefExoticComponent"
488751
488758
  }
488752
488759
  },
488753
488760
  {
@@ -492554,37 +492561,68 @@
492554
492561
  "children": [
492555
492562
  {
492556
492563
  "id": 1344,
492564
+ "name": "MenuSeparatorProps",
492565
+ "kind": 4194304,
492566
+ "kindString": "Type alias",
492567
+ "flags": {
492568
+ "isExported": true
492569
+ },
492570
+ "type": {
492571
+ "type": "reference",
492572
+ "name": "DropdownMenuSeparatorProps"
492573
+ }
492574
+ },
492575
+ {
492576
+ "id": 1345,
492557
492577
  "name": "Separator",
492558
- "kind": 64,
492559
- "kindString": "Function",
492578
+ "kind": 32,
492579
+ "kindString": "Variable",
492560
492580
  "flags": {
492561
492581
  "isExported": true,
492562
492582
  "isConst": true
492563
492583
  },
492564
- "signatures": [
492565
- {
492566
- "id": 1345,
492567
- "name": "Separator",
492568
- "kind": 4096,
492569
- "kindString": "Call signature",
492570
- "flags": {
492571
- "isExported": true
492572
- },
492573
- "type": {
492574
- "type": "reference",
492575
- "name": "Element"
492584
+ "type": {
492585
+ "type": "reference",
492586
+ "typeArguments": [
492587
+ {
492588
+ "type": "intersection",
492589
+ "types": [
492590
+ {
492591
+ "type": "reference",
492592
+ "name": "DropdownMenuSeparatorProps"
492593
+ },
492594
+ {
492595
+ "type": "reference",
492596
+ "typeArguments": [
492597
+ {
492598
+ "type": "reference",
492599
+ "name": "HTMLDivElement"
492600
+ }
492601
+ ],
492602
+ "name": "RefAttributes"
492603
+ }
492604
+ ]
492576
492605
  }
492577
- }
492578
- ]
492606
+ ],
492607
+ "name": "ForwardRefExoticComponent"
492608
+ },
492609
+ "defaultValue": "React.forwardRef<HTMLDivElement, MenuSeparatorProps>((props, ref) => {\n return <DropdownMenuPrimitive.Separator {...props} className=\"bg-grey-300 my-1 h-px\" ref={ref} />;\n})"
492579
492610
  }
492580
492611
  ],
492581
492612
  "groups": [
492582
492613
  {
492583
- "title": "Functions",
492584
- "kind": 64,
492614
+ "title": "Type aliases",
492615
+ "kind": 4194304,
492585
492616
  "children": [
492586
492617
  1344
492587
492618
  ]
492619
+ },
492620
+ {
492621
+ "title": "Variables",
492622
+ "kind": 32,
492623
+ "children": [
492624
+ 1345
492625
+ ]
492588
492626
  }
492589
492627
  ]
492590
492628
  },
@@ -575100,7 +575138,7 @@
575100
575138
  ],
575101
575139
  "name": "ForwardRefExoticComponent"
575102
575140
  },
575103
- "defaultValue": "React.forwardRef(function Tooltip(props: TooltipProps, ref: React.Ref<HTMLElement>) {\n const { title, children, placement, ...otherProps } = props;\n const className = cn(otherProps.className);\n\n return (\n <TooltipPrimitive.Root delayDuration={250}>\n <TooltipPrimitive.Trigger asChild ref={ref as any}>\n {children}\n </TooltipPrimitive.Trigger>\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content {...otherProps} asChild className={className} side={placement} sideOffset={3}>\n <div\n className=\"xs:max-w-[theme(spacing.56)] max-w-[theme(spacing.32)] animate-[fade-in_150ms] rounded-sm bg-blue-900 px-2 py-1 text-xs font-bold text-white\"\n data-taco=\"tooltip\"\n style={{\n transformOrigin: 'var(--radix-tooltip-content-transform-origin)',\n }}>\n <TooltipPrimitive.Arrow className=\"-mt-px fill-blue-900/90 stroke-blue-900/90\" />\n {title}\n </div>\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n </TooltipPrimitive.Root>\n );\n})"
575141
+ "defaultValue": "React.forwardRef(function Tooltip(props: TooltipProps, ref: React.Ref<HTMLElement>) {\n const { children, placement, title, ...otherProps } = props;\n\n const className = cn(\n 'xs:max-w-[theme(spacing.56)] max-w-[theme(spacing.32)] animate-[fade-in_150ms] rounded-sm bg-blue-900 px-2 py-1 text-xs font-bold text-white',\n otherProps.className\n );\n const style = { transformOrigin: 'var(--radix-tooltip-content-transform-origin)' };\n\n return (\n <TooltipPrimitive.Root delayDuration={250}>\n <TooltipPrimitive.Trigger asChild ref={ref as any}>\n {children}\n </TooltipPrimitive.Trigger>\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n {...otherProps}\n className={className}\n data-taco=\"tooltip\"\n side={placement}\n sideOffset={3}\n style={style}>\n <TooltipPrimitive.Arrow className=\"-mt-px fill-blue-900/90 stroke-blue-900/90\" />\n {title}\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n </TooltipPrimitive.Root>\n );\n})"
575104
575142
  }
575105
575143
  ],
575106
575144
  "groups": [