@designcrowd/fe-shared-lib 1.5.27-ENG-3954 → 1.5.28-ast-jy-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/.claude/skills/new-icon/SKILL.md +121 -0
- package/dist/css/tailwind-brandCrowd.css +3 -0
- package/dist/css/tailwind-brandPage.css +3 -0
- package/dist/css/tailwind-crazyDomains.css +3 -0
- package/dist/css/tailwind-designCom.css +3 -0
- package/dist/css/tailwind-designCrowd.css +3 -0
- package/package.json +1 -1
- package/public/css/tailwind-brandCrowd.css +4 -21
- package/public/css/tailwind-brandPage.css +4 -13
- package/public/css/tailwind-crazyDomains.css +4 -21
- package/public/css/tailwind-designCom.css +4 -21
- package/public/css/tailwind-designCrowd.css +4 -21
- package/src/atoms/components/Button/variants/ButtonGray.vue +7 -5
- package/src/atoms/components/Icon/Icon.stories.js +10 -2
- package/src/atoms/components/Icon/Icon.vue +21 -19
- package/src/atoms/components/Icon/icons/discount-badge.vue +5 -0
- package/src/atoms/components/Icon/icons/home-outline.vue +6 -0
- package/src/atoms/components/Icon/icons/page-blank.vue +6 -0
- package/src/atoms/components/Price/Price.stories.js +42 -21
- package/src/experiences/components/PaymentConfigList/PaymentConfig.mixin.js +5 -0
- package/src/experiences/components/PaymentConfigList/PaymentConfigDropdown.vue +33 -0
- package/src/experiences/components/PaymentConfigList/PaymentConfigList.stories.js +48 -0
- package/src/experiences/components/PaymentConfigList/PaymentConfigList.vue +22 -1
- package/src/experiences/components/WebsitesContextualUpgradeModal/WebsiteContextualUpgradeModal.vue +4 -5
- package/tailwind.config.js +1 -1
- package/.vscode/settings.json +0 -2
- package/src/atoms/components/Icon/icons/crown-alt.vue +0 -5
- package/src/atoms/components/Icon/icons/crown.vue +0 -6
- package/src/experiences/components/SideNavigationPanel/MenuCta.vue +0 -62
- package/src/experiences/components/SideNavigationPanel/MenuItem.vue +0 -47
- package/src/experiences/components/SideNavigationPanel/SideNavigationPanel.stories.js +0 -219
- package/src/experiences/components/SideNavigationPanel/SideNavigationPanel.vue +0 -57
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: new-icon
|
|
3
|
+
description: Add a new SVG icon to the fe-shared-lib icon library. Use when given SVG code and an icon name to create.
|
|
4
|
+
argument-hint: "[icon-name] [svg-code]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Add New Icon
|
|
8
|
+
|
|
9
|
+
Add a new icon to the shared component library given an icon name and SVG source.
|
|
10
|
+
|
|
11
|
+
## Steps
|
|
12
|
+
|
|
13
|
+
### 1. Create the icon Vue file
|
|
14
|
+
|
|
15
|
+
Create `src/atoms/components/icon/icons/<icon-name>.vue`.
|
|
16
|
+
|
|
17
|
+
Extract only the inner SVG content — no `fill` attributes (color is controlled by the parent via `tw-fill-current`).
|
|
18
|
+
|
|
19
|
+
**Simple icon** (no clip-path, or clip-path clips to full viewBox — effectively a no-op):
|
|
20
|
+
|
|
21
|
+
```vue
|
|
22
|
+
<template>
|
|
23
|
+
<path d="..." />
|
|
24
|
+
</template>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Icon with meaningful clip-path** (follow the pattern in `hamburger-4.vue`):
|
|
28
|
+
|
|
29
|
+
```vue
|
|
30
|
+
<template>
|
|
31
|
+
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
32
|
+
<g clip-path="url(#clip0_XXXX)">
|
|
33
|
+
<path d="..." />
|
|
34
|
+
</g>
|
|
35
|
+
<defs>
|
|
36
|
+
<clipPath id="clip0_XXXX">
|
|
37
|
+
<rect width="16" height="16" fill="white" />
|
|
38
|
+
</clipPath>
|
|
39
|
+
</defs>
|
|
40
|
+
</svg>
|
|
41
|
+
</template>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
> If the `<clipPath>` rect is exactly the same size as the viewBox (`width="16" height="16"`), it clips nothing — use the simple form instead.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
### 2. Register the icon in `Icon.vue`
|
|
49
|
+
|
|
50
|
+
**Add the import** (`src/atoms/components/icon/Icon.vue`):
|
|
51
|
+
|
|
52
|
+
```js
|
|
53
|
+
import IconMyIconName from './icons/my-icon-name.vue';
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Place it near other imports with the same first letter, or alongside related icons.
|
|
57
|
+
|
|
58
|
+
The import name must follow the pattern: `Icon` + PascalCase of the icon name.
|
|
59
|
+
|
|
60
|
+
- `discount-badge` → `IconDiscountBadge`
|
|
61
|
+
- `arrow-up` → `IconArrowUp`
|
|
62
|
+
|
|
63
|
+
**Register in `components`**:
|
|
64
|
+
|
|
65
|
+
```js
|
|
66
|
+
components: {
|
|
67
|
+
// ...
|
|
68
|
+
IconMyIconName,
|
|
69
|
+
// ...
|
|
70
|
+
}
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
### 3. Add to Storybook
|
|
76
|
+
|
|
77
|
+
In `src/atoms/components/icon/Icon.stories.js`, add to the `icons` array:
|
|
78
|
+
|
|
79
|
+
```js
|
|
80
|
+
{ name: 'my-icon-name' },
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Place it near related or alphabetically adjacent icons.
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Example
|
|
88
|
+
|
|
89
|
+
Given icon name `discount-badge` and SVG with a full-viewBox clip-path (no-op):
|
|
90
|
+
|
|
91
|
+
**`src/atoms/components/icon/icons/discount-badge.vue`**
|
|
92
|
+
|
|
93
|
+
```vue
|
|
94
|
+
<template>
|
|
95
|
+
<path d="M4.99447 0.743491..." />
|
|
96
|
+
</template>
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**`Icon.vue` import:**
|
|
100
|
+
|
|
101
|
+
```js
|
|
102
|
+
import IconDiscountBadge from './icons/discount-badge.vue';
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
**`Icon.vue` components:**
|
|
106
|
+
|
|
107
|
+
```js
|
|
108
|
+
IconDiscountBadge,
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
**`Icon.stories.js`:**
|
|
112
|
+
|
|
113
|
+
```js
|
|
114
|
+
{ name: 'discount-badge' },
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
The icon is then usable as:
|
|
118
|
+
|
|
119
|
+
```html
|
|
120
|
+
<icon name="discount-badge" size="md" />
|
|
121
|
+
```
|
package/package.json
CHANGED
|
@@ -946,9 +946,6 @@ video {
|
|
|
946
946
|
.theme-brandCrowd .tw-w-96 {
|
|
947
947
|
width: 24rem;
|
|
948
948
|
}
|
|
949
|
-
.theme-brandCrowd .tw-w-\[14rem\] {
|
|
950
|
-
width: 14rem;
|
|
951
|
-
}
|
|
952
949
|
.theme-brandCrowd .tw-w-auto {
|
|
953
950
|
width: auto;
|
|
954
951
|
}
|
|
@@ -1213,9 +1210,6 @@ video {
|
|
|
1213
1210
|
.theme-brandCrowd .tw-rounded-full {
|
|
1214
1211
|
border-radius: 9999px;
|
|
1215
1212
|
}
|
|
1216
|
-
.theme-brandCrowd .tw-rounded-lg {
|
|
1217
|
-
border-radius: 0.5rem;
|
|
1218
|
-
}
|
|
1219
1213
|
.theme-brandCrowd .tw-rounded-md {
|
|
1220
1214
|
border-radius: 0.375rem;
|
|
1221
1215
|
}
|
|
@@ -1312,6 +1306,10 @@ video {
|
|
|
1312
1306
|
--tw-border-opacity: 1;
|
|
1313
1307
|
border-color: rgb(194 22 50 / var(--tw-border-opacity));
|
|
1314
1308
|
}
|
|
1309
|
+
.theme-brandCrowd .tw-border-grayscale-100 {
|
|
1310
|
+
--tw-border-opacity: 1;
|
|
1311
|
+
border-color: rgb(255 255 255 / var(--tw-border-opacity));
|
|
1312
|
+
}
|
|
1315
1313
|
.theme-brandCrowd .tw-border-grayscale-300 {
|
|
1316
1314
|
--tw-border-opacity: 1;
|
|
1317
1315
|
border-color: rgb(239 239 239 / var(--tw-border-opacity));
|
|
@@ -1853,9 +1851,6 @@ video {
|
|
|
1853
1851
|
.theme-brandCrowd .tw-font-bold {
|
|
1854
1852
|
font-weight: 700;
|
|
1855
1853
|
}
|
|
1856
|
-
.theme-brandCrowd .tw-font-medium {
|
|
1857
|
-
font-weight: 500;
|
|
1858
|
-
}
|
|
1859
1854
|
.theme-brandCrowd .tw-font-normal {
|
|
1860
1855
|
font-weight: 400;
|
|
1861
1856
|
}
|
|
@@ -2103,10 +2098,6 @@ video {
|
|
|
2103
2098
|
--tw-bg-opacity: 1;
|
|
2104
2099
|
background-color: rgb(230 230 230 / var(--tw-bg-opacity));
|
|
2105
2100
|
}
|
|
2106
|
-
.theme-brandCrowd .hover\:tw-bg-grayscale-500:hover {
|
|
2107
|
-
--tw-bg-opacity: 1;
|
|
2108
|
-
background-color: rgb(208 208 208 / var(--tw-bg-opacity));
|
|
2109
|
-
}
|
|
2110
2101
|
.theme-brandCrowd .hover\:tw-bg-info-100:hover {
|
|
2111
2102
|
--tw-bg-opacity: 1;
|
|
2112
2103
|
background-color: rgb(204 234 247 / var(--tw-bg-opacity));
|
|
@@ -2131,10 +2122,6 @@ video {
|
|
|
2131
2122
|
--tw-bg-opacity: 1;
|
|
2132
2123
|
background-color: rgb(194 22 50 / var(--tw-bg-opacity));
|
|
2133
2124
|
}
|
|
2134
|
-
.theme-brandCrowd .hover\:tw-bg-primary-700:hover {
|
|
2135
|
-
--tw-bg-opacity: 1;
|
|
2136
|
-
background-color: rgb(145 16 38 / var(--tw-bg-opacity));
|
|
2137
|
-
}
|
|
2138
2125
|
.theme-brandCrowd .hover\:tw-bg-secondary-100:hover {
|
|
2139
2126
|
--tw-bg-opacity: 1;
|
|
2140
2127
|
background-color: rgb(222 222 222 / var(--tw-bg-opacity));
|
|
@@ -2151,10 +2138,6 @@ video {
|
|
|
2151
2138
|
--tw-bg-opacity: 1;
|
|
2152
2139
|
background-color: rgb(71 71 71 / var(--tw-bg-opacity));
|
|
2153
2140
|
}
|
|
2154
|
-
.theme-brandCrowd .hover\:tw-bg-secondary-700:hover {
|
|
2155
|
-
--tw-bg-opacity: 1;
|
|
2156
|
-
background-color: rgb(53 53 53 / var(--tw-bg-opacity));
|
|
2157
|
-
}
|
|
2158
2141
|
.theme-brandCrowd .hover\:tw-bg-success-100:hover {
|
|
2159
2142
|
--tw-bg-opacity: 1;
|
|
2160
2143
|
background-color: rgb(211 238 207 / var(--tw-bg-opacity));
|
|
@@ -946,9 +946,6 @@ video {
|
|
|
946
946
|
.theme-brandPage .tw-w-96 {
|
|
947
947
|
width: 24rem;
|
|
948
948
|
}
|
|
949
|
-
.theme-brandPage .tw-w-\[14rem\] {
|
|
950
|
-
width: 14rem;
|
|
951
|
-
}
|
|
952
949
|
.theme-brandPage .tw-w-auto {
|
|
953
950
|
width: auto;
|
|
954
951
|
}
|
|
@@ -1213,9 +1210,6 @@ video {
|
|
|
1213
1210
|
.theme-brandPage .tw-rounded-full {
|
|
1214
1211
|
border-radius: 9999px;
|
|
1215
1212
|
}
|
|
1216
|
-
.theme-brandPage .tw-rounded-lg {
|
|
1217
|
-
border-radius: 0.5rem;
|
|
1218
|
-
}
|
|
1219
1213
|
.theme-brandPage .tw-rounded-md {
|
|
1220
1214
|
border-radius: 0.375rem;
|
|
1221
1215
|
}
|
|
@@ -1304,6 +1298,10 @@ video {
|
|
|
1304
1298
|
.theme-brandPage .tw-border-black\/10 {
|
|
1305
1299
|
border-color: rgb(0 0 0 / 0.1);
|
|
1306
1300
|
}
|
|
1301
|
+
.theme-brandPage .tw-border-grayscale-100 {
|
|
1302
|
+
--tw-border-opacity: 1;
|
|
1303
|
+
border-color: rgb(255 255 255 / var(--tw-border-opacity));
|
|
1304
|
+
}
|
|
1307
1305
|
.theme-brandPage .tw-border-grayscale-300 {
|
|
1308
1306
|
--tw-border-opacity: 1;
|
|
1309
1307
|
border-color: rgb(239 239 239 / var(--tw-border-opacity));
|
|
@@ -1701,9 +1699,6 @@ video {
|
|
|
1701
1699
|
.theme-brandPage .tw-font-bold {
|
|
1702
1700
|
font-weight: 700;
|
|
1703
1701
|
}
|
|
1704
|
-
.theme-brandPage .tw-font-medium {
|
|
1705
|
-
font-weight: 500;
|
|
1706
|
-
}
|
|
1707
1702
|
.theme-brandPage .tw-font-normal {
|
|
1708
1703
|
font-weight: 400;
|
|
1709
1704
|
}
|
|
@@ -1867,10 +1862,6 @@ video {
|
|
|
1867
1862
|
--tw-bg-opacity: 1;
|
|
1868
1863
|
background-color: rgb(230 230 230 / var(--tw-bg-opacity));
|
|
1869
1864
|
}
|
|
1870
|
-
.theme-brandPage .hover\:tw-bg-grayscale-500:hover {
|
|
1871
|
-
--tw-bg-opacity: 1;
|
|
1872
|
-
background-color: rgb(208 208 208 / var(--tw-bg-opacity));
|
|
1873
|
-
}
|
|
1874
1865
|
.theme-brandPage .hover\:tw-text-grayscale-800:hover {
|
|
1875
1866
|
--tw-text-opacity: 1;
|
|
1876
1867
|
color: rgb(17 21 23 / var(--tw-text-opacity));
|
|
@@ -946,9 +946,6 @@ video {
|
|
|
946
946
|
.theme-crazyDomains .tw-w-96 {
|
|
947
947
|
width: 24rem;
|
|
948
948
|
}
|
|
949
|
-
.theme-crazyDomains .tw-w-\[14rem\] {
|
|
950
|
-
width: 14rem;
|
|
951
|
-
}
|
|
952
949
|
.theme-crazyDomains .tw-w-auto {
|
|
953
950
|
width: auto;
|
|
954
951
|
}
|
|
@@ -1213,9 +1210,6 @@ video {
|
|
|
1213
1210
|
.theme-crazyDomains .tw-rounded-full {
|
|
1214
1211
|
border-radius: 9999px;
|
|
1215
1212
|
}
|
|
1216
|
-
.theme-crazyDomains .tw-rounded-lg {
|
|
1217
|
-
border-radius: 0.5rem;
|
|
1218
|
-
}
|
|
1219
1213
|
.theme-crazyDomains .tw-rounded-md {
|
|
1220
1214
|
border-radius: 0.375rem;
|
|
1221
1215
|
}
|
|
@@ -1312,6 +1306,10 @@ video {
|
|
|
1312
1306
|
--tw-border-opacity: 1;
|
|
1313
1307
|
border-color: rgb(186 24 79 / var(--tw-border-opacity));
|
|
1314
1308
|
}
|
|
1309
|
+
.theme-crazyDomains .tw-border-grayscale-100 {
|
|
1310
|
+
--tw-border-opacity: 1;
|
|
1311
|
+
border-color: rgb(255 255 255 / var(--tw-border-opacity));
|
|
1312
|
+
}
|
|
1315
1313
|
.theme-crazyDomains .tw-border-grayscale-300 {
|
|
1316
1314
|
--tw-border-opacity: 1;
|
|
1317
1315
|
border-color: rgb(240 240 245 / var(--tw-border-opacity));
|
|
@@ -1853,9 +1851,6 @@ video {
|
|
|
1853
1851
|
.theme-crazyDomains .tw-font-bold {
|
|
1854
1852
|
font-weight: 700;
|
|
1855
1853
|
}
|
|
1856
|
-
.theme-crazyDomains .tw-font-medium {
|
|
1857
|
-
font-weight: 500;
|
|
1858
|
-
}
|
|
1859
1854
|
.theme-crazyDomains .tw-font-normal {
|
|
1860
1855
|
font-weight: 400;
|
|
1861
1856
|
}
|
|
@@ -2103,10 +2098,6 @@ video {
|
|
|
2103
2098
|
--tw-bg-opacity: 1;
|
|
2104
2099
|
background-color: rgb(235 238 243 / var(--tw-bg-opacity));
|
|
2105
2100
|
}
|
|
2106
|
-
.theme-crazyDomains .hover\:tw-bg-grayscale-500:hover {
|
|
2107
|
-
--tw-bg-opacity: 1;
|
|
2108
|
-
background-color: rgb(199 204 207 / var(--tw-bg-opacity));
|
|
2109
|
-
}
|
|
2110
2101
|
.theme-crazyDomains .hover\:tw-bg-info-100:hover {
|
|
2111
2102
|
--tw-bg-opacity: 1;
|
|
2112
2103
|
background-color: rgb(230 246 253 / var(--tw-bg-opacity));
|
|
@@ -2131,10 +2122,6 @@ video {
|
|
|
2131
2122
|
--tw-bg-opacity: 1;
|
|
2132
2123
|
background-color: rgb(89 138 38 / var(--tw-bg-opacity));
|
|
2133
2124
|
}
|
|
2134
|
-
.theme-crazyDomains .hover\:tw-bg-primary-700:hover {
|
|
2135
|
-
--tw-bg-opacity: 1;
|
|
2136
|
-
background-color: rgb(67 103 28 / var(--tw-bg-opacity));
|
|
2137
|
-
}
|
|
2138
2125
|
.theme-crazyDomains .hover\:tw-bg-secondary-100:hover {
|
|
2139
2126
|
--tw-bg-opacity: 1;
|
|
2140
2127
|
background-color: rgb(218 218 218 / var(--tw-bg-opacity));
|
|
@@ -2151,10 +2138,6 @@ video {
|
|
|
2151
2138
|
--tw-bg-opacity: 1;
|
|
2152
2139
|
background-color: rgb(58 58 58 / var(--tw-bg-opacity));
|
|
2153
2140
|
}
|
|
2154
|
-
.theme-crazyDomains .hover\:tw-bg-secondary-700:hover {
|
|
2155
|
-
--tw-bg-opacity: 1;
|
|
2156
|
-
background-color: rgb(43 43 43 / var(--tw-bg-opacity));
|
|
2157
|
-
}
|
|
2158
2141
|
.theme-crazyDomains .hover\:tw-bg-success-100:hover {
|
|
2159
2142
|
--tw-bg-opacity: 1;
|
|
2160
2143
|
background-color: rgb(226 238 213 / var(--tw-bg-opacity));
|
|
@@ -946,9 +946,6 @@ video {
|
|
|
946
946
|
.theme-designCom .tw-w-96 {
|
|
947
947
|
width: 24rem;
|
|
948
948
|
}
|
|
949
|
-
.theme-designCom .tw-w-\[14rem\] {
|
|
950
|
-
width: 14rem;
|
|
951
|
-
}
|
|
952
949
|
.theme-designCom .tw-w-auto {
|
|
953
950
|
width: auto;
|
|
954
951
|
}
|
|
@@ -1213,9 +1210,6 @@ video {
|
|
|
1213
1210
|
.theme-designCom .tw-rounded-full {
|
|
1214
1211
|
border-radius: 9999px;
|
|
1215
1212
|
}
|
|
1216
|
-
.theme-designCom .tw-rounded-lg {
|
|
1217
|
-
border-radius: 0.75rem;
|
|
1218
|
-
}
|
|
1219
1213
|
.theme-designCom .tw-rounded-md {
|
|
1220
1214
|
border-radius: 0.375rem;
|
|
1221
1215
|
}
|
|
@@ -1312,6 +1306,10 @@ video {
|
|
|
1312
1306
|
--tw-border-opacity: 1;
|
|
1313
1307
|
border-color: rgb(182 58 42 / var(--tw-border-opacity));
|
|
1314
1308
|
}
|
|
1309
|
+
.theme-designCom .tw-border-grayscale-100 {
|
|
1310
|
+
--tw-border-opacity: 1;
|
|
1311
|
+
border-color: rgb(250 250 250 / var(--tw-border-opacity));
|
|
1312
|
+
}
|
|
1315
1313
|
.theme-designCom .tw-border-grayscale-300 {
|
|
1316
1314
|
--tw-border-opacity: 1;
|
|
1317
1315
|
border-color: rgb(237 237 237 / var(--tw-border-opacity));
|
|
@@ -1853,9 +1851,6 @@ video {
|
|
|
1853
1851
|
.theme-designCom .tw-font-bold {
|
|
1854
1852
|
font-weight: 700;
|
|
1855
1853
|
}
|
|
1856
|
-
.theme-designCom .tw-font-medium {
|
|
1857
|
-
font-weight: 500;
|
|
1858
|
-
}
|
|
1859
1854
|
.theme-designCom .tw-font-normal {
|
|
1860
1855
|
font-weight: 400;
|
|
1861
1856
|
}
|
|
@@ -2103,10 +2098,6 @@ video {
|
|
|
2103
2098
|
--tw-bg-opacity: 1;
|
|
2104
2099
|
background-color: rgb(227 227 227 / var(--tw-bg-opacity));
|
|
2105
2100
|
}
|
|
2106
|
-
.theme-designCom .hover\:tw-bg-grayscale-500:hover {
|
|
2107
|
-
--tw-bg-opacity: 1;
|
|
2108
|
-
background-color: rgb(209 209 209 / var(--tw-bg-opacity));
|
|
2109
|
-
}
|
|
2110
2101
|
.theme-designCom .hover\:tw-bg-info-100:hover {
|
|
2111
2102
|
--tw-bg-opacity: 1;
|
|
2112
2103
|
background-color: rgb(236 238 254 / var(--tw-bg-opacity));
|
|
@@ -2131,10 +2122,6 @@ video {
|
|
|
2131
2122
|
--tw-bg-opacity: 1;
|
|
2132
2123
|
background-color: rgb(50 71 197 / var(--tw-bg-opacity));
|
|
2133
2124
|
}
|
|
2134
|
-
.theme-designCom .hover\:tw-bg-primary-700:hover {
|
|
2135
|
-
--tw-bg-opacity: 1;
|
|
2136
|
-
background-color: rgb(38 53 148 / var(--tw-bg-opacity));
|
|
2137
|
-
}
|
|
2138
2125
|
.theme-designCom .hover\:tw-bg-secondary-100:hover {
|
|
2139
2126
|
--tw-bg-opacity: 1;
|
|
2140
2127
|
background-color: rgb(236 236 236 / var(--tw-bg-opacity));
|
|
@@ -2151,10 +2138,6 @@ video {
|
|
|
2151
2138
|
--tw-bg-opacity: 1;
|
|
2152
2139
|
background-color: rgb(49 49 49 / var(--tw-bg-opacity));
|
|
2153
2140
|
}
|
|
2154
|
-
.theme-designCom .hover\:tw-bg-secondary-700:hover {
|
|
2155
|
-
--tw-bg-opacity: 1;
|
|
2156
|
-
background-color: rgb(37 37 37 / var(--tw-bg-opacity));
|
|
2157
|
-
}
|
|
2158
2141
|
.theme-designCom .hover\:tw-bg-success-100:hover {
|
|
2159
2142
|
--tw-bg-opacity: 1;
|
|
2160
2143
|
background-color: rgb(236 238 254 / var(--tw-bg-opacity));
|
|
@@ -946,9 +946,6 @@ video {
|
|
|
946
946
|
.theme-designCrowd .tw-w-96 {
|
|
947
947
|
width: 24rem;
|
|
948
948
|
}
|
|
949
|
-
.theme-designCrowd .tw-w-\[14rem\] {
|
|
950
|
-
width: 14rem;
|
|
951
|
-
}
|
|
952
949
|
.theme-designCrowd .tw-w-auto {
|
|
953
950
|
width: auto;
|
|
954
951
|
}
|
|
@@ -1213,9 +1210,6 @@ video {
|
|
|
1213
1210
|
.theme-designCrowd .tw-rounded-full {
|
|
1214
1211
|
border-radius: 9999px;
|
|
1215
1212
|
}
|
|
1216
|
-
.theme-designCrowd .tw-rounded-lg {
|
|
1217
|
-
border-radius: 0.5rem;
|
|
1218
|
-
}
|
|
1219
1213
|
.theme-designCrowd .tw-rounded-md {
|
|
1220
1214
|
border-radius: 0.375rem;
|
|
1221
1215
|
}
|
|
@@ -1312,6 +1306,10 @@ video {
|
|
|
1312
1306
|
--tw-border-opacity: 1;
|
|
1313
1307
|
border-color: rgb(195 50 48 / var(--tw-border-opacity));
|
|
1314
1308
|
}
|
|
1309
|
+
.theme-designCrowd .tw-border-grayscale-100 {
|
|
1310
|
+
--tw-border-opacity: 1;
|
|
1311
|
+
border-color: rgb(255 255 255 / var(--tw-border-opacity));
|
|
1312
|
+
}
|
|
1315
1313
|
.theme-designCrowd .tw-border-grayscale-300 {
|
|
1316
1314
|
--tw-border-opacity: 1;
|
|
1317
1315
|
border-color: rgb(239 239 239 / var(--tw-border-opacity));
|
|
@@ -1853,9 +1851,6 @@ video {
|
|
|
1853
1851
|
.theme-designCrowd .tw-font-bold {
|
|
1854
1852
|
font-weight: 700;
|
|
1855
1853
|
}
|
|
1856
|
-
.theme-designCrowd .tw-font-medium {
|
|
1857
|
-
font-weight: 500;
|
|
1858
|
-
}
|
|
1859
1854
|
.theme-designCrowd .tw-font-normal {
|
|
1860
1855
|
font-weight: 400;
|
|
1861
1856
|
}
|
|
@@ -2103,10 +2098,6 @@ video {
|
|
|
2103
2098
|
--tw-bg-opacity: 1;
|
|
2104
2099
|
background-color: rgb(230 230 230 / var(--tw-bg-opacity));
|
|
2105
2100
|
}
|
|
2106
|
-
.theme-designCrowd .hover\:tw-bg-grayscale-500:hover {
|
|
2107
|
-
--tw-bg-opacity: 1;
|
|
2108
|
-
background-color: rgb(204 204 204 / var(--tw-bg-opacity));
|
|
2109
|
-
}
|
|
2110
2101
|
.theme-designCrowd .hover\:tw-bg-info-100:hover {
|
|
2111
2102
|
--tw-bg-opacity: 1;
|
|
2112
2103
|
background-color: rgb(207 234 251 / var(--tw-bg-opacity));
|
|
@@ -2131,10 +2122,6 @@ video {
|
|
|
2131
2122
|
--tw-bg-opacity: 1;
|
|
2132
2123
|
background-color: rgb(14 121 188 / var(--tw-bg-opacity));
|
|
2133
2124
|
}
|
|
2134
|
-
.theme-designCrowd .hover\:tw-bg-primary-700:hover {
|
|
2135
|
-
--tw-bg-opacity: 1;
|
|
2136
|
-
background-color: rgb(10 91 141 / var(--tw-bg-opacity));
|
|
2137
|
-
}
|
|
2138
2125
|
.theme-designCrowd .hover\:tw-bg-secondary-100:hover {
|
|
2139
2126
|
--tw-bg-opacity: 1;
|
|
2140
2127
|
background-color: rgb(223 226 230 / var(--tw-bg-opacity));
|
|
@@ -2151,10 +2138,6 @@ video {
|
|
|
2151
2138
|
--tw-bg-opacity: 1;
|
|
2152
2139
|
background-color: rgb(74 87 103 / var(--tw-bg-opacity));
|
|
2153
2140
|
}
|
|
2154
|
-
.theme-designCrowd .hover\:tw-bg-secondary-700:hover {
|
|
2155
|
-
--tw-bg-opacity: 1;
|
|
2156
|
-
background-color: rgb(56 65 77 / var(--tw-bg-opacity));
|
|
2157
|
-
}
|
|
2158
2141
|
.theme-designCrowd .hover\:tw-bg-success-100:hover {
|
|
2159
2142
|
--tw-bg-opacity: 1;
|
|
2160
2143
|
background-color: rgb(213 242 223 / var(--tw-bg-opacity));
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<button
|
|
3
3
|
v-if="!url"
|
|
4
|
-
class="tw-font-sans tw-font-bold tw-text-grayscale-800 tw-uppercase tw-border-solid tw-transition-colors tw-duration-300"
|
|
4
|
+
class="tw-font-sans tw-border-2 tw-font-bold tw-text-grayscale-800 tw-uppercase tw-border-solid tw-transition-colors tw-duration-300"
|
|
5
5
|
:class="[
|
|
6
6
|
classes,
|
|
7
7
|
computedClasses,
|
|
8
8
|
{
|
|
9
9
|
'no-rounded-l': !rounded && !roundedLeft,
|
|
10
10
|
'no-rounded-r': !rounded && !roundedRight,
|
|
11
|
-
'tw-cursor-pointer tw-bg-grayscale-300 hover:tw-bg-grayscale-500':
|
|
11
|
+
'tw-cursor-pointer tw-bg-grayscale-300 tw-border-grayscale-300 hover:tw-border-grayscale-500 hover:tw-bg-grayscale-500':
|
|
12
|
+
!disabled,
|
|
12
13
|
'tw-bg-grayscale-100 tw-border-grayscale-300 tw-cursor-not-allowed': disabled,
|
|
13
14
|
},
|
|
14
15
|
]"
|
|
@@ -22,15 +23,16 @@
|
|
|
22
23
|
<a
|
|
23
24
|
v-else
|
|
24
25
|
:href="computedUrl"
|
|
25
|
-
class="tw-justify-center tw-font-sans tw-inline-flex tw-
|
|
26
|
+
class="tw-justify-center tw-font-sans tw-inline-flex tw-border-2 tw-font-bold tw-text-grayscale-800 tw-uppercase tw-border-solid tw-transition-colors tw-duration-300 tw-no-underline"
|
|
26
27
|
:class="[
|
|
27
28
|
classes,
|
|
28
29
|
computedClasses,
|
|
29
30
|
{
|
|
30
31
|
'no-rounded-l': !rounded && !roundedLeft,
|
|
31
32
|
'no-rounded-r': !rounded && !roundedRight,
|
|
32
|
-
'tw-cursor-pointer tw-bg-grayscale-300 hover:tw-bg-grayscale-500':
|
|
33
|
-
|
|
33
|
+
'tw-cursor-pointer tw-bg-grayscale-300 tw-border-grayscale-300 hover:tw-border-grayscale-500 hover:tw-bg-grayscale-500':
|
|
34
|
+
!disabled,
|
|
35
|
+
'tw-bg-grayscale-100 tw-border-grayscale-100 tw-cursor-not-allowed': disabled,
|
|
34
36
|
},
|
|
35
37
|
]"
|
|
36
38
|
:download="download"
|
|
@@ -14,9 +14,14 @@ export const IconSample = () => {
|
|
|
14
14
|
return {
|
|
15
15
|
sizes: ['xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl'],
|
|
16
16
|
icons: [
|
|
17
|
-
{ name: '
|
|
18
|
-
{ name: '
|
|
17
|
+
{ name: 'websites-upgrade-to-add-page' },
|
|
18
|
+
{ name: 'websites-upgrade-to-contact-form' },
|
|
19
|
+
{ name: 'websites-upgrade-to-remove-watermark' },
|
|
20
|
+
{ name: 'websites-upgrade-to-publish' },
|
|
21
|
+
{ name: 'websites-upgrade-to-videos' },
|
|
22
|
+
{ name: 'websites-upgrade-to-maps' },
|
|
19
23
|
{ name: 'add-page' },
|
|
24
|
+
{ name: 'page-blank' },
|
|
20
25
|
{ name: 'ai' },
|
|
21
26
|
{ name: 'arrow-down' },
|
|
22
27
|
{ name: 'arrow-left' },
|
|
@@ -28,6 +33,7 @@ export const IconSample = () => {
|
|
|
28
33
|
{ name: 'auth-facebook-white' },
|
|
29
34
|
{ name: 'auth-google' },
|
|
30
35
|
{ name: 'badge' },
|
|
36
|
+
{ name: 'discount-badge' },
|
|
31
37
|
{ name: 'briefcase' },
|
|
32
38
|
{ name: 'brush' },
|
|
33
39
|
{ name: 'banner' },
|
|
@@ -145,6 +151,7 @@ export const IconSample = () => {
|
|
|
145
151
|
|
|
146
152
|
{ name: 'home' },
|
|
147
153
|
{ name: 'home-crazy-domains' },
|
|
154
|
+
{ name: 'home-outline' },
|
|
148
155
|
{ name: 'info' },
|
|
149
156
|
{ name: 'jobs' },
|
|
150
157
|
{ name: 'display-style-about-1' },
|
|
@@ -383,6 +390,7 @@ export const IconSample = () => {
|
|
|
383
390
|
<div class="tw-grid tw-grid-cols-8 tw-gap-4 tw-items-center" style="grid-template-columns: repeat(8, minmax(0, 1fr));">
|
|
384
391
|
<Icon
|
|
385
392
|
v-for="size in sizes"
|
|
393
|
+
viewBox="0 0 96 96"
|
|
386
394
|
:name="icon.name"
|
|
387
395
|
:alt-text="icon.altText"
|
|
388
396
|
:size="size"
|