@economic/taco 2.46.8 → 2.46.9-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. package/dist/components/AlertDialog/AlertDialog.d.ts +2 -1
  2. package/dist/components/AlertDialog/components/Content.d.ts +2 -0
  3. package/dist/components/Dialog/components/Content.d.ts +3 -3
  4. package/dist/components/Menu/components/Content.d.ts +1 -1
  5. package/dist/components/Menu/components/SubMenu.d.ts +1 -1
  6. package/dist/components/Popover/Popover.d.ts +1 -1
  7. package/dist/esm/packages/taco/src/components/AlertDialog/AlertDialog.js +2 -1
  8. package/dist/esm/packages/taco/src/components/AlertDialog/AlertDialog.js.map +1 -1
  9. package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js +7 -2
  10. package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js.map +1 -1
  11. package/dist/esm/packages/taco/src/components/Dialog/components/Content.js +2 -1
  12. package/dist/esm/packages/taco/src/components/Dialog/components/Content.js.map +1 -1
  13. package/dist/esm/packages/taco/src/components/Drawer/components/Content.js +1 -0
  14. package/dist/esm/packages/taco/src/components/Drawer/components/Content.js.map +1 -1
  15. package/dist/esm/packages/taco/src/components/Popover/Popover.js.map +1 -1
  16. package/dist/esm/packages/taco/src/components/Select/Select.js +2 -1
  17. package/dist/esm/packages/taco/src/components/Select/Select.js.map +1 -1
  18. package/dist/taco.cjs.development.js +11 -2
  19. package/dist/taco.cjs.development.js.map +1 -1
  20. package/dist/taco.cjs.production.min.js +1 -1
  21. package/dist/taco.cjs.production.min.js.map +1 -1
  22. package/package.json +17 -16
  23. package/tailwind.colors.js +121 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@economic/taco",
3
- "version": "2.46.8",
3
+ "version": "2.46.9-alpha.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",
@@ -16,6 +16,7 @@
16
16
  "files": [
17
17
  "dist",
18
18
  "plugins",
19
+ "tailwind.colors.js",
19
20
  "tailwind.config.js",
20
21
  "types.json"
21
22
  ],
@@ -41,20 +42,20 @@
41
42
  "dependencies": {
42
43
  "@dnd-kit/modifiers": "^7.0.0",
43
44
  "@dnd-kit/sortable": "^7.0.1",
44
- "@radix-ui/react-accordion": "^1.0.1",
45
- "@radix-ui/react-alert-dialog": "^1.0.2",
46
- "@radix-ui/react-checkbox": "^1.0.1",
47
- "@radix-ui/react-collapsible": "^1.0.3",
48
- "@radix-ui/react-dialog": "^1.0.2",
49
- "@radix-ui/react-dropdown-menu": "^2.0.1",
50
- "@radix-ui/react-hover-card": "^1.0.2",
51
- "@radix-ui/react-popover": "^1.0.2",
52
- "@radix-ui/react-radio-group": "^1.1.0",
53
- "@radix-ui/react-scroll-area": "^1.0.1",
54
- "@radix-ui/react-switch": "^1.0.1",
55
- "@radix-ui/react-tabs": "^1.0.1",
56
- "@radix-ui/react-tooltip": "^1.0.2",
57
- "@radix-ui/react-use-controllable-state": "^1.0.0",
45
+ "@radix-ui/react-accordion": "^1.2.1",
46
+ "@radix-ui/react-alert-dialog": "^1.1.2",
47
+ "@radix-ui/react-checkbox": "^1.1.2",
48
+ "@radix-ui/react-collapsible": "^1.1.1",
49
+ "@radix-ui/react-dialog": "^1.1.2",
50
+ "@radix-ui/react-dropdown-menu": "^2.1.2",
51
+ "@radix-ui/react-hover-card": "^1.1.2",
52
+ "@radix-ui/react-popover": "^1.1.2",
53
+ "@radix-ui/react-radio-group": "^1.2.1",
54
+ "@radix-ui/react-scroll-area": "^1.2.0",
55
+ "@radix-ui/react-switch": "^1.1.1",
56
+ "@radix-ui/react-tabs": "^1.1.1",
57
+ "@radix-ui/react-tooltip": "^1.1.3",
58
+ "@radix-ui/react-use-controllable-state": "^1.1.0",
58
59
  "@react-aria/focus": "^3.9.0",
59
60
  "@react-aria/interactions": "^3.12.0",
60
61
  "@tanstack/react-table": "^8.20.5",
@@ -130,5 +131,5 @@
130
131
  "not ie < 11"
131
132
  ]
132
133
  },
133
- "gitHead": "7d5bf185f1f7284bf7c39e05a32d5baeb201691d"
134
+ "gitHead": "d6c9b2d3ff9f69ef3a789268a954fc5b1dc6c78b"
134
135
  }
@@ -0,0 +1,121 @@
1
+ // NOTE: this file is intentianally a js file so that it can be consumed by tailwind.config.js
2
+
3
+ const THEME_COLORS = {
4
+ transparent: 'transparent',
5
+ current: 'currentColor',
6
+ white: '#fff',
7
+ black: '#1c1c1c',
8
+ brand: {
9
+ vismaRed: '#E70641',
10
+ paleOrange: '#FFF5E5',
11
+ sunsetOrange: '#E89C2E',
12
+ midnightBlue: '#29283E',
13
+ coolBlue: '#F5F7F9',
14
+ },
15
+ grey: {
16
+ lightest: '#fafafa',
17
+ light: '#F6F6F6',
18
+ DEFAULT: '#EBEBEB',
19
+ dark: '#DDDDDD',
20
+ darker: '#ACACAC',
21
+ darkest: '#595959',
22
+ darkNew: '#a5a6a9',
23
+ 50: '#fafafa',
24
+ 100: '#F6F6F6',
25
+ 200: '#EBEBEB',
26
+ 300: '#DDDDDD',
27
+ 500: '#ACACAC',
28
+ 700: '#595959',
29
+ 900: '#303030',
30
+ },
31
+ purple: {
32
+ lightest: '#585c74',
33
+ light: '#4b4f64',
34
+ DEFAULT: '#3d4153',
35
+ dark: '#353a48',
36
+ darker: '#29283e',
37
+ darkest: '#212032',
38
+ darkNew_1: '#373647',
39
+ darkNew_2: '#414050',
40
+ 100: '#EEE5FF',
41
+ 200: '#ddd1ff',
42
+ 300: '#CBBCFE',
43
+ 500: '#9270FA',
44
+ 700: '#6542D1',
45
+ 900: '#412970',
46
+ },
47
+ blue: {
48
+ lightest: '#DEEBFF',
49
+ light: '#75A0F5',
50
+ DEFAULT: '#4573D2',
51
+ dark: '#2B57B4',
52
+ 100: '#DEEBFF',
53
+ 200: '#AACCFF',
54
+ 300: '#75A0F5',
55
+ 500: '#4573D2',
56
+ 700: '#2B57B4',
57
+ 900: '#29283E',
58
+ },
59
+ red: {
60
+ lightest: '#FFDAD2',
61
+ light: '#E66568',
62
+ DEFAULT: '#CE3F42',
63
+ dark: '#950027',
64
+ 100: '#FFDAD2',
65
+ 200: '#f3a09d',
66
+ 300: '#E66568',
67
+ 500: '#CE3F42',
68
+ 700: '#950027',
69
+ 900: '#64001B',
70
+ },
71
+ green: {
72
+ lightest: '#cdf0e7',
73
+ light: '#52C7AB',
74
+ DEFAULT: '#08AE87',
75
+ dark: '#028465',
76
+ 100: '#cdf0e7',
77
+ 200: '#9be1ce',
78
+ 300: '#52C7AB',
79
+ 500: '#08AE87',
80
+ 700: '#028465',
81
+ 900: '#14493A',
82
+ },
83
+ yellow: {
84
+ lightest: '#FFF1C3',
85
+ light: '#FFD665',
86
+ DEFAULT: '#FFBD3B',
87
+ dark: '#e89c2e',
88
+ 100: '#FFF1C3',
89
+ 200: '#ffe494',
90
+ 300: '#FFD665',
91
+ 500: '#FFBD3B',
92
+ 700: '#e89c2e',
93
+ 900: '#733700',
94
+ },
95
+ pink: {
96
+ 100: '#FFE3F7',
97
+ 200: '#fcb9e9',
98
+ 300: '#F98EDB',
99
+ 500: '#E165BF',
100
+ 700: '#CF49AA',
101
+ 900: '#870062',
102
+ },
103
+ brown: {
104
+ 100: '#EEE0DA',
105
+ 200: '#DFCCC2',
106
+ 300: '#C4AB9E',
107
+ 500: '#93715D',
108
+ 700: '#73503B',
109
+ 900: '#45291F',
110
+ },
111
+ orange: {
112
+ 100: '#FFE3BB',
113
+ 200: '#FCCB80',
114
+ 300: '#FAB64D',
115
+ 500: '#F99702',
116
+ 700: '#EF7D00',
117
+ 900: '#4A2811',
118
+ },
119
+ };
120
+
121
+ export default THEME_COLORS;