@salla.sa/twilight-components 1.5.2 → 1.5.6
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/cjs/{index-0d0167d5.js → index-d43334bf.js} +0 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-add-product-button.cjs.entry.js +1 -1
- package/dist/cjs/salla-button_24.cjs.entry.js +1 -1
- package/dist/cjs/salla-conditional-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-installment.cjs.entry.js +1 -1
- package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
- package/dist/cjs/twilight-components.cjs.js +1 -1
- package/dist/collection/global/app.js +1 -1
- package/dist/esm/{index-4e30ffd0.js → index-c78562f8.js} +0 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/salla-add-product-button.entry.js +1 -1
- package/dist/esm/salla-button_24.entry.js +1 -1
- package/dist/esm/salla-conditional-fields.entry.js +1 -1
- package/dist/esm/salla-installment.entry.js +1 -1
- package/dist/esm/salla-scopes.entry.js +1 -1
- package/dist/esm/twilight-components.js +1 -1
- package/dist/twilight-components/{p-1503d976.js → p-336eda99.js} +0 -0
- package/dist/twilight-components/{p-40a01521.entry.js → p-5707f352.entry.js} +1 -1
- package/dist/twilight-components/{p-282f9df8.entry.js → p-aa546227.entry.js} +1 -1
- package/dist/twilight-components/{p-4cba804f.entry.js → p-b5028001.entry.js} +1 -1
- package/dist/twilight-components/{p-b9fe5498.entry.js → p-c2947b0f.entry.js} +1 -1
- package/dist/twilight-components/{p-019bb315.entry.js → p-ca871c42.entry.js} +1 -1
- package/dist/twilight-components/twilight-components.esm.js +1 -1
- package/dist/types/global/app.d.ts +1 -1
- package/package.json +7 -10
- package/dist/collection/plugins/tailwind-theme/generator.js +0 -67
- package/dist/collection/plugins/tailwind-theme/index.js +0 -79
- package/example/.gitignore +0 -2
- package/example/assets/images/star.png +0 -0
- package/example/assets/tailwind.css +0 -5235
- package/example/assets/translations.js +0 -4981
- package/example/auth/email/send_verification +0 -0
- package/example/auth/email/verify +0 -11
- package/example/auth/mobile/send_verification +0 -0
- package/example/auth/mobile/verify +0 -9
- package/example/currencies +0 -23
- package/example/index.html +0 -974
- package/example/infinit-scroll.html +0 -7
- package/example/languages +0 -17
- package/example/package.json +0 -19
- package/example/products/search +0 -13
- package/example/rating/products +0 -0
- package/example/rating/rating.json +0 -1
- package/example/rating/shipping +0 -0
- package/example/rating/store +0 -0
- package/example/tailwind.config.js +0 -59
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<salla-infinite-scroll next-page="infinit-scroll.html?page=2">
|
|
2
|
-
<div class="i-item w-full h-40 flex items-center justify-center rounded-md bg-green-100"></div>
|
|
3
|
-
<div class="i-item w-full h-40 flex items-center justify-center rounded-md bg-red-100"></div>
|
|
4
|
-
<div class="i-item w-full h-40 flex items-center justify-center rounded-md bg-yellow-100"></div>
|
|
5
|
-
<div class="i-item w-full h-40 flex items-center justify-center rounded-md bg-gray-100"></div>
|
|
6
|
-
<div class="i-item w-full h-40 flex items-center justify-center rounded-md bg-purple-100"></div>
|
|
7
|
-
</salla-infinite-scroll>
|
package/example/languages
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{"data":[
|
|
2
|
-
{
|
|
3
|
-
"name" : "العربية",
|
|
4
|
-
"code" : "ar",
|
|
5
|
-
"url" : "?lang=ar",
|
|
6
|
-
"is_rtl" : true,
|
|
7
|
-
"country_code": "sa"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"name" : "English",
|
|
11
|
-
"code" : "en",
|
|
12
|
-
"url" : "?lang=ev",
|
|
13
|
-
"is_rtl" : false,
|
|
14
|
-
"country_code": "gb"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
}
|
package/example/package.json
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "twilight-components-example",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"watch": "tailwindcss -i ./assets/tailwind.css -o ./dist/tailwind.css --watch",
|
|
8
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
9
|
-
},
|
|
10
|
-
"author": "",
|
|
11
|
-
"license": "ISC",
|
|
12
|
-
"devDependencies": {
|
|
13
|
-
"@salla.sa/twilight-tailwind-theme": "^1.0.38",
|
|
14
|
-
"@tailwindcss/jit": "^0.1.18",
|
|
15
|
-
"tailwind-scrollbar": "^1.3.1",
|
|
16
|
-
"tailwindcss": "^2.2.19",
|
|
17
|
-
"tailwindcss-rtl": "^0.9.0"
|
|
18
|
-
}
|
|
19
|
-
}
|
package/example/products/search
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"status": 200,
|
|
3
|
-
"success": true,
|
|
4
|
-
"data": [
|
|
5
|
-
{
|
|
6
|
-
"id": "XpKBN",
|
|
7
|
-
"name": "ديتول - المطّهر السائل أوريجينال 500 مل ديتول",
|
|
8
|
-
"price": "100",
|
|
9
|
-
"image_url": "https://s3-eu-central-1.amazonaws.com/salla-dev/gUJQnj4dOie4zFFeCamrzhge1b9yEIWCVKt1PwTZ.jpeg",
|
|
10
|
-
"url": "#"
|
|
11
|
-
}
|
|
12
|
-
]
|
|
13
|
-
}
|
package/example/rating/products
DELETED
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
package/example/rating/shipping
DELETED
|
File without changes
|
package/example/rating/store
DELETED
|
File without changes
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
const colors = require('tailwindcss/colors');
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
mode: 'jit',
|
|
5
|
-
purge: {
|
|
6
|
-
enabled: true,
|
|
7
|
-
content: [
|
|
8
|
-
'./*.html',
|
|
9
|
-
'../src/plugins/tailwind-theme/safe-list-css.txt',
|
|
10
|
-
],
|
|
11
|
-
},
|
|
12
|
-
darkMode: 'class', // or 'media' or 'class'
|
|
13
|
-
theme: {
|
|
14
|
-
colors : colors,
|
|
15
|
-
extend: {
|
|
16
|
-
transitionTimingFunction: {
|
|
17
|
-
'elastic': 'cubic-bezier(0.55, 0, 0.1, 1)',
|
|
18
|
-
},
|
|
19
|
-
borderRadius : {
|
|
20
|
-
'large': '22px',
|
|
21
|
-
'tiny' : '3px',
|
|
22
|
-
},
|
|
23
|
-
width : {
|
|
24
|
-
'18': '4.5rem',
|
|
25
|
-
},
|
|
26
|
-
zIndex : {
|
|
27
|
-
'1': '1',
|
|
28
|
-
},
|
|
29
|
-
screens : {
|
|
30
|
-
'xxs': {'min': '380px', 'max': '479px'},
|
|
31
|
-
'xs': '480px',
|
|
32
|
-
},
|
|
33
|
-
spacing: {
|
|
34
|
-
'100' : '28rem',
|
|
35
|
-
},
|
|
36
|
-
colors : {
|
|
37
|
-
'inherit' : 'inherit',
|
|
38
|
-
'primary' : 'var(--color-main)',
|
|
39
|
-
'primary-d' : 'var(--color-main-d)',
|
|
40
|
-
'primary-l' : 'var(--color-main-l)',
|
|
41
|
-
'primary-reverse': 'var(--color-main-reverse)',
|
|
42
|
-
'transparent' : 'transparent',
|
|
43
|
-
'light-gray' : '#F9FAFB',
|
|
44
|
-
'gray-150' : '#eff0f0',
|
|
45
|
-
'color-gray' : 'var(--color-grey)',
|
|
46
|
-
'reverse' : 'var(--color-text-reverse)',
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
corePlugins: {
|
|
51
|
-
outline: false,
|
|
52
|
-
},
|
|
53
|
-
plugins: [
|
|
54
|
-
//require('@salla.sa/twilight-tailwind-theme'),
|
|
55
|
-
require('../src/plugins/tailwind-theme'),
|
|
56
|
-
require('tailwindcss-rtl'),
|
|
57
|
-
require('@tailwindcss/jit'),
|
|
58
|
-
],
|
|
59
|
-
}
|