avo 3.0.1.beta10 → 3.0.1.beta11

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d41facc3b8991d0d8f35381b5e802fc6e21dafc7cff9fbb0e30d45c4ee4b159
4
- data.tar.gz: 986a54076e03412e55025a97019bcaad9b7a5f6777fdbf4be5926d42e8d52e29
3
+ metadata.gz: 022cb3e4cb686ce487ad3304f60e9971da143463b9adf66a710c40f483a2afb7
4
+ data.tar.gz: 1784442417d2bbe2204fa7e5ddfd08ecd07e6506e9850ca329d218025624540e
5
5
  SHA512:
6
- metadata.gz: c7fa3479f4793ffb0bfaa0cb13c7b0c8cbe2aaec8fcdd1c9b87d8e8a3b11e31f0e9ae5327cec3ac0b31c8726dd6ffdae06380f7b291f191ca5d9c4b2a1d3068f
7
- data.tar.gz: 0cd9c8dd5438cb08cb5321e347d91a5e76a564c78b694781111a6481134adb0c94e063dcfdd92e221ee972d51e01a16b5d561e0c24093d10e9f3db66af779eab
6
+ metadata.gz: 22417fabd06df79a9030be62f76f83585add1f3375fbccb9d0f089e1912a0a819a641302d826ed82611dabb7ffef5efc8c5d0949ed6e1c4a7ebe5129229a1542
7
+ data.tar.gz: 18f52cfabd9fa655fdf509021f898f425e3857b3e88b4b63c8be950bc25ae95fd64e6fc57b6883e83543c2414ac3e730f31515f75ef629115c17d25fd164d537
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (3.0.1.beta10)
4
+ avo (3.0.1.beta11)
5
5
  actionview (>= 6.1)
6
6
  active_link_to
7
7
  activerecord (>= 6.1)
data/avo.gemspec CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.required_ruby_version = ">= 3.0.0"
31
31
  spec.post_install_message = "Thank you for using Avo 💪 Docs are available at https://docs.avohq.io"
32
32
 
33
- spec.files = Dir["{bin,app,config,db,lib,public}/**/*", "MIT-LICENSE", "Rakefile", "README.md", "avo.gemspec", "Gemfile", "Gemfile.lock"]
33
+ spec.files = Dir["{bin,app,config,db,lib,public}/**/*", "MIT-LICENSE", "Rakefile", "README.md", "avo.gemspec", "Gemfile", "Gemfile.lock", "tailwind.preset.js"]
34
34
 
35
35
  spec.add_dependency "activerecord", ">= 6.1"
36
36
  spec.add_dependency "activesupport", ">= 6.1"
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "3.0.1.beta10" unless const_defined?(:VERSION)
2
+ VERSION = "3.0.1.beta11" unless const_defined?(:VERSION)
3
3
  end
@@ -0,0 +1,144 @@
1
+ const plugin = require('tailwindcss/plugin')
2
+ const colors = require('tailwindcss/colors')
3
+ const defaultTheme = require('tailwindcss/defaultTheme')
4
+
5
+ const { primary, blue, gray } = require('./tailwind.custom')
6
+
7
+ module.exports = {
8
+ content: [
9
+ './tmp/avo/packages/*/safelist.txt',
10
+ './tmp/avo/packages/*/lib/avo/**/*.rb',
11
+ './tmp/avo/packages/*/app/helpers/**/*.rb',
12
+ './tmp/avo/packages/*/app/views/**/*.erb',
13
+ './tmp/avo/packages/*/app/javascript/**/*.js',
14
+ './tmp/avo/packages/*/app/components/**/*.{html.erb,rb}',
15
+ './tmp/avo/packages/*/app/controllers/**/*.rb',
16
+ './tmp/avo/packages/*/lib/**/*.rb',
17
+ './tmp/avo/packages/*/public/**/*.{js,css}',
18
+ ],
19
+ theme: {
20
+ extend: {
21
+ colors: {
22
+ blue,
23
+ gray,
24
+ primary,
25
+ sky: colors.sky,
26
+ teal: colors.teal,
27
+ slate: colors.slate,
28
+ indigo: colors.indigo,
29
+ application: 'rgb(var(--color-application-background))',
30
+ },
31
+ fontFamily: {
32
+ // eslint-disable-next-line max-len
33
+ sans: '"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',
34
+ },
35
+ inset: {
36
+ '1/2': '50%',
37
+ full: '100%',
38
+ },
39
+ borderRadius: {
40
+ xl: '1rem',
41
+ },
42
+ boxShadow: {
43
+ row: '0 0 15px -5px rgba(0, 0, 0, 0.25)',
44
+ context: '0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 0 25px -5px rgba(0, 0, 0, 0.1)',
45
+ panel: '0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04)',
46
+ modal: ' 0px 24px 32px rgba(0, 0, 0, 0.04), 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04)',
47
+ stripe: '0 15px 35px #31315d1a, 0 5px 15px #00000014',
48
+ },
49
+ minWidth: {
50
+ '1/2': '50%',
51
+ '1/3': '33.333333%',
52
+ '2/3': '66.666667%',
53
+ '1/4': '25%',
54
+ '2/4': '50%',
55
+ '3/4': '75%',
56
+ '1/5': '20%',
57
+ '2/5': '40%',
58
+ '3/5': '60%',
59
+ '4/5': '80%',
60
+ },
61
+ maxWidth: {
62
+ 168: '42rem',
63
+ },
64
+ minHeight: {
65
+ inherit: 'inherit',
66
+ 16: '4rem',
67
+ 24: '6rem',
68
+ 48: '12rem',
69
+ '1/2': '50%',
70
+ '1/3': '33.333333%',
71
+ '2/3': '66.666667%',
72
+ '1/4': '25%',
73
+ '2/4': '50%',
74
+ '3/4': '75%',
75
+ '1/5': '20%',
76
+ '2/5': '40%',
77
+ '3/5': '60%',
78
+ '4/5': '80%',
79
+ },
80
+ spacing: {
81
+ full: '100%',
82
+ 72: '18rem',
83
+ 80: '20rem',
84
+ 88: '22rem',
85
+ 96: '24rem',
86
+ '1/2': '50%',
87
+ '1/3': '33.333333%',
88
+ '2/3': '66.666667%',
89
+ '1/4': '25%',
90
+ '2/4': '50%',
91
+ '3/4': '75%',
92
+ '1/5': '20%',
93
+ '2/5': '40%',
94
+ '3/5': '60%',
95
+ '4/5': '80%',
96
+ '1/6': '16.666667%',
97
+ '2/6': '33.333333%',
98
+ '3/6': '50%',
99
+ '4/6': '66.666667%',
100
+ '5/6': '83.333333%',
101
+ '1/12': '8.333333%',
102
+ '2/12': '16.666667%',
103
+ '3/12': '25%',
104
+ '4/12': '33.333333%',
105
+ '5/12': '41.666667%',
106
+ '6/12': '50%',
107
+ '7/12': '58.333333%',
108
+ '8/12': '66.666667%',
109
+ '9/12': '75%',
110
+ '10/12': '83.333333%',
111
+ '11/12': '91.666667%',
112
+ },
113
+ transitionTimingFunction: {
114
+ pop: 'cubic-bezier(.23,2,.73,.55)',
115
+ },
116
+ },
117
+ screens: {
118
+ xs: '495px',
119
+ ...defaultTheme.screens,
120
+ },
121
+ },
122
+ variants: {
123
+ display: ['responsive', 'hover', 'focus', 'group-hover', 'checked'],
124
+ padding: ['responsive', 'group-hover'],
125
+ borderColor: ['responsive', 'hover', 'focus', 'disabled'],
126
+ backgroundColor: ['responsive', 'hover', 'focus', 'disabled'],
127
+ textColor: ['responsive', 'hover', 'focus', 'disabled'],
128
+ translate: ['responsive', 'hover', 'focus', 'active'],
129
+ cursor: ['responsive', 'disabled'],
130
+ },
131
+ plugins: [
132
+ require('@tailwindcss/forms'),
133
+ require('@tailwindcss/typography'),
134
+ plugin(({ addUtilities }) => {
135
+ const newUtilities = {
136
+ '.backface-hidden': {
137
+ backfaceVisibility: 'hidden',
138
+ },
139
+ }
140
+
141
+ addUtilities(newUtilities, ['group-hover'])
142
+ }),
143
+ ],
144
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1.beta10
4
+ version: 3.0.1.beta11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -1947,6 +1947,7 @@ files:
1947
1947
  - public/avo-assets/logo.png
1948
1948
  - public/avo-assets/logomark.png
1949
1949
  - public/avo-assets/placeholder.svg
1950
+ - tailwind.preset.js
1950
1951
  homepage: https://avohq.io
1951
1952
  licenses:
1952
1953
  - Commercial