@economic/taco 2.11.0 → 2.11.1
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.
- package/dist/components/Menu/Menu.d.ts +2 -1
- package/dist/components/Menu/components/Content.d.ts +1 -1
- package/dist/components/Menu/components/Separator.d.ts +4 -2
- package/dist/components/Menu/components/SubMenu.d.ts +1 -1
- package/dist/esm/packages/taco/src/components/Menu/Menu.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Separator.js +7 -6
- package/dist/esm/packages/taco/src/components/Menu/components/Separator.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js +10 -12
- package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/taco.cjs.development.js +16 -17
- package/dist/taco.cjs.development.js.map +1 -1
- package/dist/taco.cjs.production.min.js +1 -1
- package/dist/taco.cjs.production.min.js.map +1 -1
- package/package.json +14 -14
- package/types.json +58 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@economic/taco",
|
|
3
|
-
"version": "2.11.
|
|
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.
|
|
48
|
-
"@radix-ui/react-checkbox": "^1.0.
|
|
49
|
-
"@radix-ui/react-dialog": "^1.0.
|
|
50
|
-
"@radix-ui/react-dropdown-menu": "^2.0.
|
|
51
|
-
"@radix-ui/react-hover-card": "^1.0.
|
|
52
|
-
"@radix-ui/react-popover": "^1.0.
|
|
53
|
-
"@radix-ui/react-radio-group": "^1.1.
|
|
54
|
-
"@radix-ui/react-scroll-area": "^1.0.
|
|
55
|
-
"@radix-ui/react-switch": "^1.0.
|
|
56
|
-
"@radix-ui/react-tabs": "^1.0.
|
|
57
|
-
"@radix-ui/react-tooltip": "^1.0.
|
|
58
|
-
"@radix-ui/react-use-controllable-state": "^1.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": "
|
|
133
|
+
"gitHead": "a95a2ee563d95b5ca295636b54a997c98cc82612"
|
|
134
134
|
}
|
package/types.json
CHANGED
|
@@ -488747,7 +488747,14 @@
|
|
|
488747
488747
|
},
|
|
488748
488748
|
"type": {
|
|
488749
488749
|
"type": "reference",
|
|
488750
|
-
"
|
|
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":
|
|
492559
|
-
"kindString": "
|
|
492578
|
+
"kind": 32,
|
|
492579
|
+
"kindString": "Variable",
|
|
492560
492580
|
"flags": {
|
|
492561
492581
|
"isExported": true,
|
|
492562
492582
|
"isConst": true
|
|
492563
492583
|
},
|
|
492564
|
-
"
|
|
492565
|
-
|
|
492566
|
-
|
|
492567
|
-
|
|
492568
|
-
|
|
492569
|
-
|
|
492570
|
-
|
|
492571
|
-
|
|
492572
|
-
|
|
492573
|
-
|
|
492574
|
-
|
|
492575
|
-
|
|
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": "
|
|
492584
|
-
"kind":
|
|
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 {
|
|
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": [
|