@designcrowd/fe-shared-lib 1.2.7 → 1.2.9-ali-disabled-2
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.md +71 -0
- package/Dockerfile +1 -1
- package/package.json +2 -2
- package/public/css/tailwind-brandCrowd.css +3 -29
- package/public/css/tailwind-brandPage.css +3 -25
- package/public/css/tailwind-crazyDomains.css +3 -29
- package/public/css/tailwind-designCom.css +3 -29
- package/public/css/tailwind-designCrowd.css +3 -29
- package/src/atoms/components/ButtonGroup/ButtonGroup.stories.js +1 -0
- package/src/atoms/components/ButtonGroup/ButtonGroup.vue +24 -12
- package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.mixin.js +4 -0
- package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.stories.js +13 -0
- package/src/atoms/components/CollapsiblePanel/CollapsiblePanel.vue +5 -2
- package/src/bundles/bundled-translations.de-DE.json +2 -2
- package/src/bundles/bundled-translations.es-ES.json +1 -1
- package/src/bundles/bundled-translations.fr-FR.json +3 -3
- package/src/bundles/bundled-translations.pt-PT.json +1 -1
- package/src/experiences/components/AuthFlow/ForgotPassword.vue +21 -9
- package/src/experiences/components/AuthFlow/ResetPassword.vue +37 -8
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.de-DE.json +20 -20
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.es-ES.json +20 -20
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.fr-FR.json +20 -20
- package/src/experiences/components/PublishBrandPageModal/i18n/publish-brand-page-modal.pt-PT.json +20 -20
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.de-DE.json +6 -6
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.es-ES.json +6 -6
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.fr-FR.json +6 -6
- package/src/experiences/components/SellDomainNameList/i18n/sell-domain-name-list.pt-PT.json +6 -6
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.de-DE.json +4 -4
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.es-ES.json +4 -4
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.fr-FR.json +4 -4
- package/src/experiences/components/SellDomainNameListModal/i18n/sell-domain-name-list-modal.pt-PT.json +4 -4
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.de-DE.json +4 -4
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.es-ES.json +4 -4
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.fr-FR.json +4 -4
- package/src/experiences/components/SellDomainNameModalApplication/i18n/sell-domain-name-modal-application.pt-PT.json +4 -4
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.de-DE.json +6 -6
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.es-ES.json +6 -6
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.fr-FR.json +6 -6
- package/src/experiences/components/SellDomainNameSearch/i18n/sell-domain-name-search.pt-PT.json +6 -6
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.de-DE.json +4 -4
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.es-ES.json +4 -4
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.fr-FR.json +4 -4
- package/src/experiences/components/SellDomainNameSearchResult/i18n/sell-domain-name-list-search-result.pt-PT.json +4 -4
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.de-DE.json +6 -6
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.es-ES.json +6 -6
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.fr-FR.json +6 -6
- package/src/experiences/components/SellDomainNameWidget/i18n/sell-domain-name-widget.pt-PT.json +6 -6
- package/src/useSharedLibTranslate.js +6 -0
- package/.storybook-static/assets/Auth-CV5AmoX8.css +0 -1
- package/.storybook-static/assets/Auth.stories-CX3sjxh5.js +0 -490
- package/.storybook-static/assets/AuthCrazyDomains.stories-Didj_VFa.js +0 -73
- package/.storybook-static/assets/Button-5UzSGUF6.css +0 -1
- package/.storybook-static/assets/Button-DtVlr_q3.js +0 -1
- package/.storybook-static/assets/ButtonGroup-Dfr7bNL2.css +0 -1
- package/.storybook-static/assets/ButtonGroup.stories-4EQk-ktb.js +0 -503
- package/.storybook-static/assets/ButtonPrimary-Bu6bXb_c.css +0 -1
- package/.storybook-static/assets/ButtonPrimary-DG9wNod9.js +0 -1
- package/.storybook-static/assets/Buttons.stories-B_KpeCzt.js +0 -761
- package/.storybook-static/assets/ButtonsCrazyDomains.stories-oZtahAmR.js +0 -199
- package/.storybook-static/assets/Checkbox.mixin-DkHpdvGa.js +0 -1
- package/.storybook-static/assets/Checkbox.stories-C67RL0ut.js +0 -203
- package/.storybook-static/assets/Checktile.stories-DN2wfzd6.js +0 -88
- package/.storybook-static/assets/CollapsiblePanel.stories-BkzrqfVG.js +0 -39
- package/.storybook-static/assets/ColorPicker.stories-85BQwpyF.js +0 -73
- package/.storybook-static/assets/CopyToClipboardText.stories-Csh5nVRs.js +0 -32
- package/.storybook-static/assets/Dropdown.stories-NNlxNopk.js +0 -159
- package/.storybook-static/assets/DropdownItem-CDX_V6Mi.js +0 -1
- package/.storybook-static/assets/DropdownItem-CLNmWtKh.css +0 -1
- package/.storybook-static/assets/FormControl.mixin-_gXRExB7.js +0 -1
- package/.storybook-static/assets/HashRouteModal.stories-Dy1_nLTJ.js +0 -64
- package/.storybook-static/assets/HelloBar-z54fob0q.js +0 -1
- package/.storybook-static/assets/HelloBar.stories-ClJ9_KRK.js +0 -342
- package/.storybook-static/assets/Icon-8mZGP41G.js +0 -144
- package/.storybook-static/assets/Icon.stories-BcXMvpuh.js +0 -126
- package/.storybook-static/assets/Icon.stories-D6ECVMta.js +0 -751
- package/.storybook-static/assets/Loader-D61Ki9P1.js +0 -1
- package/.storybook-static/assets/LogoBusinessBrandColours-B1_8hw0H.js +0 -1
- package/.storybook-static/assets/LogoBusinessBrandColours-DEFhAyxR.css +0 -1
- package/.storybook-static/assets/LogoBusinessBrandColours.stories-CIWe9ndn.js +0 -36
- package/.storybook-static/assets/Masonry-C2MNiGg0.css +0 -1
- package/.storybook-static/assets/Masonry.stories-CDT8kZCv.js +0 -71
- package/.storybook-static/assets/Modal-BQrpXSGA.js +0 -1
- package/.storybook-static/assets/Modal-BvVMN71n.css +0 -1
- package/.storybook-static/assets/Modal.stories-BycF7YL6.js +0 -345
- package/.storybook-static/assets/Notice.stories-BufkrC1b.js +0 -222
- package/.storybook-static/assets/NumberStepper-Blffv09R.css +0 -1
- package/.storybook-static/assets/NumberStepper.stories-6_y_lEgC.js +0 -64
- package/.storybook-static/assets/PaymentConfigList-wI1eTv5x.css +0 -1
- package/.storybook-static/assets/PaymentConfigList.stories-BlzzKrzz.js +0 -126
- package/.storybook-static/assets/Picture-Cq76CaoK.js +0 -1
- package/.storybook-static/assets/Picture.stories-BDqRm9_g.js +0 -119
- package/.storybook-static/assets/Pill-BsMeJhV9.js +0 -1
- package/.storybook-static/assets/Pill.stories-DUvzbtnS.js +0 -18
- package/.storybook-static/assets/PillBar-os4mJV3M.css +0 -1
- package/.storybook-static/assets/PillBar.stories-BUMLXBij.js +0 -41
- package/.storybook-static/assets/Price-DKOwLeD0.js +0 -1
- package/.storybook-static/assets/Price.stories-DlqrNUWI.js +0 -221
- package/.storybook-static/assets/PublishBrandPageModal-CLU8-If3.css +0 -1
- package/.storybook-static/assets/PublishBrandPageModal.stories-Dqobvq-n.js +0 -273
- package/.storybook-static/assets/SearchBar.stories-_wPX3-Rl.js +0 -12
- package/.storybook-static/assets/Select-Dw-zvSUg.css +0 -1
- package/.storybook-static/assets/Select.stories-BWINGxdY.js +0 -108
- package/.storybook-static/assets/SellDomainNameList.fixtures-LC6fjr_b.js +0 -1
- package/.storybook-static/assets/SellDomainNameListModal-ByK_ak0A.js +0 -1
- package/.storybook-static/assets/SellDomainNameListModal-CdfyEX1a.css +0 -1
- package/.storybook-static/assets/SellDomainNameListModal.stories-DrL8w2AY.js +0 -71
- package/.storybook-static/assets/SellDomainNameListSearchResult-1WuAKfzI.css +0 -1
- package/.storybook-static/assets/SellDomainNameListSearchResult-By0IpIM_.js +0 -1
- package/.storybook-static/assets/SellDomainNameSearchWithResults-BttjI4PH.js +0 -1
- package/.storybook-static/assets/SellDomainNameSearchWithResults.stories-Dm1Q8Cza.js +0 -37
- package/.storybook-static/assets/SellDomainNameWidget.stories-CKoz3WnZ.js +0 -36
- package/.storybook-static/assets/SignIn-DNYeJu86.css +0 -1
- package/.storybook-static/assets/SignIn-Dt8OJr0J.js +0 -1
- package/.storybook-static/assets/Slider-Cog2FFdj.css +0 -1
- package/.storybook-static/assets/Slider.stories-08DN2SFB.js +0 -141
- package/.storybook-static/assets/StarRating-BtKh7pzm.css +0 -1
- package/.storybook-static/assets/StarRating.stories-BEIj9ufA.js +0 -45
- package/.storybook-static/assets/TabMenu.stories-D9f0pyZI.js +0 -47
- package/.storybook-static/assets/TextCopyField-B04vTGbG.js +0 -1
- package/.storybook-static/assets/TextCopyField.stories-KD0WUWzA.js +0 -47
- package/.storybook-static/assets/TextInput-JK1M0hv6.js +0 -1
- package/.storybook-static/assets/TextInput.stories-BO0eQqBY.js +0 -233
- package/.storybook-static/assets/Textarea.stories-Bcn4sCkV.js +0 -207
- package/.storybook-static/assets/Toggle.stories-CuTFLoNh.js +0 -161
- package/.storybook-static/assets/Tooltip-DcSbUh5f.js +0 -1
- package/.storybook-static/assets/Tooltip-DyXIgFQH.css +0 -1
- package/.storybook-static/assets/Tooltip.stories-B0I_PBGG.js +0 -953
- package/.storybook-static/assets/UploadYourLogoApplication-EyTEQx-x.css +0 -9
- package/.storybook-static/assets/UploadYourLogoApplication.stories-Dixp1ynI.js +0 -194
- package/.storybook-static/assets/UploadYourLogoDropzone-DQqACf-e.css +0 -1
- package/.storybook-static/assets/UploadYourLogoDropzone-DouZtNvi.js +0 -24
- package/.storybook-static/assets/UploadYourLogoDropzone.stories-BHYeu4gz.js +0 -55
- package/.storybook-static/assets/UploadedLogoSearchResultCard.stories-D1KR63O4.js +0 -79
- package/.storybook-static/assets/_commonjsHelpers-D6-XlEtG.js +0 -1
- package/.storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +0 -1
- package/.storybook-static/assets/api-lSJGRrF2.js +0 -1
- package/.storybook-static/assets/axe-nGVJxRof.js +0 -30
- package/.storybook-static/assets/brand-crowd-api.client-DiPM1Wo-.js +0 -1
- package/.storybook-static/assets/bundled-translations-BZ57czTo.js +0 -1
- package/.storybook-static/assets/bundled-translations.de-DE-DXggTXB2.js +0 -1
- package/.storybook-static/assets/bundled-translations.es-ES-DtMmvicd.js +0 -1
- package/.storybook-static/assets/bundled-translations.fr-FR-BrQqbieG.js +0 -1
- package/.storybook-static/assets/bundled-translations.pt-PT-CpiWEAtr.js +0 -1
- package/.storybook-static/assets/carousel-CMMZ5MZ-.css +0 -1
- package/.storybook-static/assets/carousel.stories-o3eu2Qyc.js +0 -374
- package/.storybook-static/assets/event-constants-CMO9VQVu.js +0 -1
- package/.storybook-static/assets/iframe-C86bI_2U.js +0 -1126
- package/.storybook-static/assets/index-Bw-gCGc_.js +0 -6
- package/.storybook-static/assets/index-DhkYCT1V.js +0 -29
- package/.storybook-static/assets/matchers-7Z3WT2CE-T3xScrR7.js +0 -14
- package/.storybook-static/assets/tracking-ATsLLehC.js +0 -1
- package/.storybook-static/css/tailwind-brandCrowd.css +0 -2404
- package/.storybook-static/css/tailwind-brandPage.css +0 -2088
- package/.storybook-static/css/tailwind-crazyDomains.css +0 -2404
- package/.storybook-static/css/tailwind-designCom.css +0 -2404
- package/.storybook-static/css/tailwind-designCrowd.css +0 -2404
- package/.storybook-static/favicon.svg +0 -1
- package/.storybook-static/iframe.html +0 -694
- package/.storybook-static/index.html +0 -156
- package/.storybook-static/index.json +0 -1
- package/.storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/project.json +0 -1
- package/.storybook-static/sb-addons/a11y-1/manager-bundle.js +0 -5
- package/.storybook-static/sb-addons/links-2/manager-bundle.js +0 -3
- package/.storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -188
- package/.storybook-static/sb-addons/themes-3/manager-bundle.js +0 -3
- package/.storybook-static/sb-common-assets/favicon.svg +0 -1
- package/.storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/.storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/.storybook-static/sb-manager/globals-module-info.js +0 -797
- package/.storybook-static/sb-manager/globals-runtime.js +0 -72062
- package/.storybook-static/sb-manager/globals.js +0 -34
- package/.storybook-static/sb-manager/runtime.js +0 -13002
- package/dist/css/tailwind-brandCrowd.css +0 -2419
- package/dist/css/tailwind-brandPage.css +0 -2107
- package/dist/css/tailwind-crazyDomains.css +0 -2419
- package/dist/css/tailwind-designCom.css +0 -2419
- package/dist/css/tailwind-designCrowd.css +0 -2419
package/CLAUDE.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# CLAUDE.md
|
|
2
|
+
|
|
3
|
+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
4
|
+
|
|
5
|
+
## Development Commands
|
|
6
|
+
|
|
7
|
+
### Starting Development
|
|
8
|
+
- `npm start` - Builds Tailwind CSS files for all themes and launches Storybook development server on port 6006
|
|
9
|
+
- `npm run storybook` - Same as `npm start` (alias)
|
|
10
|
+
|
|
11
|
+
### Building
|
|
12
|
+
- `npm run build` - Builds production CSS using Tailwind
|
|
13
|
+
- `npm run build:css` - Builds CSS files using tailwind.build.js
|
|
14
|
+
- `npm run build:storybook` - Builds static Storybook for deployment
|
|
15
|
+
|
|
16
|
+
### Code Quality
|
|
17
|
+
- `npm run lint` - Runs ESLint on TypeScript, JavaScript, and Vue files in src/
|
|
18
|
+
- `npm run lint:fix` - Automatically fixes linting issues where possible
|
|
19
|
+
|
|
20
|
+
### Testing in UAT Environment
|
|
21
|
+
To test experimental versions without publishing to production:
|
|
22
|
+
1. Update package.json version to `[current]-[description]`
|
|
23
|
+
2. Run `docker build . --build-arg NPM_TOKEN=$NPM_TOKEN`
|
|
24
|
+
3. Update consumer package reference to the new version
|
|
25
|
+
|
|
26
|
+
## Architecture Overview
|
|
27
|
+
|
|
28
|
+
This is a shared component library and design system for DesignCrowd's frontend applications, published as `@designcrowd/fe-shared-lib`.
|
|
29
|
+
|
|
30
|
+
### Project Structure
|
|
31
|
+
- **`src/atoms/`** - Reusable UI components (Button, Modal, Icon, etc.)
|
|
32
|
+
- **`src/experiences/`** - Complex, business-specific components (AuthFlow, PaymentConfig, etc.)
|
|
33
|
+
- **`src/themes/`** - Tailwind CSS theme configurations for different brands
|
|
34
|
+
- **`src/css/`** - Global CSS and Tailwind configuration
|
|
35
|
+
- **`public/css/`** - Generated CSS output files
|
|
36
|
+
|
|
37
|
+
### Theme System
|
|
38
|
+
The library supports multiple brand themes through Tailwind CSS:
|
|
39
|
+
- **BrandCrowd** (`bc.js`)
|
|
40
|
+
- **BrandPage** (`bp.js`)
|
|
41
|
+
- **CrazyDomains** (`cd.js`)
|
|
42
|
+
- **DesignCrowd** (`dc.js`)
|
|
43
|
+
- **Design.com** (`dcom.js`)
|
|
44
|
+
|
|
45
|
+
Themes are built using `tailwind.themes.js` and exported via `src/themes/themes.js`.
|
|
46
|
+
|
|
47
|
+
### Component Organization
|
|
48
|
+
- **Atoms**: Basic UI components with stories in Storybook
|
|
49
|
+
- **Experiences**: Complex components combining multiple atoms for specific workflows
|
|
50
|
+
- **Icons**: Extensive icon library with brand-specific variants
|
|
51
|
+
- **Mixins**: Reusable Vue.js mixins for common functionality
|
|
52
|
+
|
|
53
|
+
### Key Files
|
|
54
|
+
- `index.js` - Main export file exposing all components
|
|
55
|
+
- `tailwind.config.js` - Tailwind CSS configuration
|
|
56
|
+
- `vite.config.ts` - Vite build configuration for development
|
|
57
|
+
|
|
58
|
+
### Local Development Workflow
|
|
59
|
+
Use `npm link` in this directory and `npm link @designcrowd/fe-shared-lib` in consumer projects for local development.
|
|
60
|
+
|
|
61
|
+
### Storybook
|
|
62
|
+
- Development server runs on port 6006
|
|
63
|
+
- Live Storybook: https://brandcrowd-storybook.s3.amazonaws.com/fe-shared-lib/live/index.html
|
|
64
|
+
- Stories are co-located with components (`.stories.js` files)
|
|
65
|
+
|
|
66
|
+
### Brand Page Integration
|
|
67
|
+
For changes affecting BrandPage Tab in BC.NET:
|
|
68
|
+
1. Update app.maker's reference to this library
|
|
69
|
+
2. Bump app.maker version
|
|
70
|
+
3. Run `npm run docker:publish:bp`
|
|
71
|
+
4. Update BC.NET's reference to the new app.maker version
|
package/Dockerfile
CHANGED
|
@@ -29,7 +29,7 @@ COPY .npmignore ./
|
|
|
29
29
|
RUN npm run bundle-translation
|
|
30
30
|
|
|
31
31
|
RUN mkdir artifacts
|
|
32
|
-
RUN npm publish || touch artifacts/npm_publish_failed
|
|
32
|
+
RUN npm publish || (touch artifacts/npm_publish_failed && exit 1)
|
|
33
33
|
RUN cp package.json artifacts/
|
|
34
34
|
|
|
35
35
|
ENTRYPOINT ["/bin/echo", "Nothing to do."]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designcrowd/fe-shared-lib",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9-ali-disabled-2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "run-p storybook watch:translation",
|
|
6
6
|
"build": "npm run build:css --production",
|
|
@@ -113,4 +113,4 @@
|
|
|
113
113
|
"overrides": {
|
|
114
114
|
"storybook": "$storybook"
|
|
115
115
|
}
|
|
116
|
-
}
|
|
116
|
+
}
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-brandCrowd .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-brandCrowd .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-brandCrowd .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -830,10 +827,6 @@ video {
|
|
|
830
827
|
.theme-brandCrowd .tw-h-auto {
|
|
831
828
|
height: auto;
|
|
832
829
|
}
|
|
833
|
-
.theme-brandCrowd .tw-h-fit {
|
|
834
|
-
height: -moz-fit-content;
|
|
835
|
-
height: fit-content;
|
|
836
|
-
}
|
|
837
830
|
.theme-brandCrowd .tw-h-full {
|
|
838
831
|
height: 100%;
|
|
839
832
|
}
|
|
@@ -849,6 +842,9 @@ video {
|
|
|
849
842
|
.theme-brandCrowd .tw-max-h-screen {
|
|
850
843
|
max-height: 100vh;
|
|
851
844
|
}
|
|
845
|
+
.theme-brandCrowd .tw-w-1\/3 {
|
|
846
|
+
width: 33.333333%;
|
|
847
|
+
}
|
|
852
848
|
.theme-brandCrowd .tw-w-10 {
|
|
853
849
|
width: 2.5rem;
|
|
854
850
|
}
|
|
@@ -1450,17 +1446,6 @@ video {
|
|
|
1450
1446
|
.theme-brandCrowd .tw-bg-opacity-80 {
|
|
1451
1447
|
--tw-bg-opacity: 0.8;
|
|
1452
1448
|
}
|
|
1453
|
-
.theme-brandCrowd .tw-bg-gradient-to-t {
|
|
1454
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1455
|
-
}
|
|
1456
|
-
.theme-brandCrowd .tw-from-\[\#d946ef\] {
|
|
1457
|
-
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1458
|
-
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1459
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1460
|
-
}
|
|
1461
|
-
.theme-brandCrowd .tw-to-\[\#8b5cf6\] {
|
|
1462
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1463
|
-
}
|
|
1464
1449
|
.theme-brandCrowd .tw-bg-no-repeat {
|
|
1465
1450
|
background-repeat: no-repeat;
|
|
1466
1451
|
}
|
|
@@ -2038,10 +2023,6 @@ video {
|
|
|
2038
2023
|
--tw-bg-opacity: 1;
|
|
2039
2024
|
background-color: rgb(0 121 172 / var(--tw-bg-opacity));
|
|
2040
2025
|
}
|
|
2041
|
-
.theme-brandCrowd .hover\:tw-bg-primary-100:hover {
|
|
2042
|
-
--tw-bg-opacity: 1;
|
|
2043
|
-
background-color: rgb(252 209 217 / var(--tw-bg-opacity));
|
|
2044
|
-
}
|
|
2045
2026
|
.theme-brandCrowd .hover\:tw-bg-primary-400:hover {
|
|
2046
2027
|
--tw-bg-opacity: 1;
|
|
2047
2028
|
background-color: rgb(245 73 101 / var(--tw-bg-opacity));
|
|
@@ -2106,10 +2087,6 @@ video {
|
|
|
2106
2087
|
--tw-shadow-color: #0097D7 !important;
|
|
2107
2088
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2108
2089
|
}
|
|
2109
|
-
.theme-brandCrowd .hover\:tw-brightness-\[0\.85\]:hover {
|
|
2110
|
-
--tw-brightness: brightness(0.85);
|
|
2111
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2112
|
-
}
|
|
2113
2090
|
.theme-brandCrowd .focus\:tw-border-error-600:focus {
|
|
2114
2091
|
--tw-border-opacity: 1;
|
|
2115
2092
|
border-color: rgb(194 22 50 / var(--tw-border-opacity));
|
|
@@ -2224,9 +2201,6 @@ video {
|
|
|
2224
2201
|
.theme-brandCrowd .md\:tw-ml-4 {
|
|
2225
2202
|
margin-left: 1rem;
|
|
2226
2203
|
}
|
|
2227
|
-
.theme-brandCrowd .md\:tw-mr-2 {
|
|
2228
|
-
margin-right: 0.5rem;
|
|
2229
|
-
}
|
|
2230
2204
|
.theme-brandCrowd .md\:tw-mt-0 {
|
|
2231
2205
|
margin-top: 0px;
|
|
2232
2206
|
}
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-brandPage .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-brandPage .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-brandPage .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -830,10 +827,6 @@ video {
|
|
|
830
827
|
.theme-brandPage .tw-h-auto {
|
|
831
828
|
height: auto;
|
|
832
829
|
}
|
|
833
|
-
.theme-brandPage .tw-h-fit {
|
|
834
|
-
height: -moz-fit-content;
|
|
835
|
-
height: fit-content;
|
|
836
|
-
}
|
|
837
830
|
.theme-brandPage .tw-h-full {
|
|
838
831
|
height: 100%;
|
|
839
832
|
}
|
|
@@ -849,6 +842,9 @@ video {
|
|
|
849
842
|
.theme-brandPage .tw-max-h-screen {
|
|
850
843
|
max-height: 100vh;
|
|
851
844
|
}
|
|
845
|
+
.theme-brandPage .tw-w-1\/3 {
|
|
846
|
+
width: 33.333333%;
|
|
847
|
+
}
|
|
852
848
|
.theme-brandPage .tw-w-10 {
|
|
853
849
|
width: 2.5rem;
|
|
854
850
|
}
|
|
@@ -1298,17 +1294,6 @@ video {
|
|
|
1298
1294
|
.theme-brandPage .tw-bg-opacity-80 {
|
|
1299
1295
|
--tw-bg-opacity: 0.8;
|
|
1300
1296
|
}
|
|
1301
|
-
.theme-brandPage .tw-bg-gradient-to-t {
|
|
1302
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1303
|
-
}
|
|
1304
|
-
.theme-brandPage .tw-from-\[\#d946ef\] {
|
|
1305
|
-
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1306
|
-
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1307
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1308
|
-
}
|
|
1309
|
-
.theme-brandPage .tw-to-\[\#8b5cf6\] {
|
|
1310
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1311
|
-
}
|
|
1312
1297
|
.theme-brandPage .tw-bg-no-repeat {
|
|
1313
1298
|
background-repeat: no-repeat;
|
|
1314
1299
|
}
|
|
@@ -1806,10 +1791,6 @@ video {
|
|
|
1806
1791
|
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
|
1807
1792
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
1808
1793
|
}
|
|
1809
|
-
.theme-brandPage .hover\:tw-brightness-\[0\.85\]:hover {
|
|
1810
|
-
--tw-brightness: brightness(0.85);
|
|
1811
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
1812
|
-
}
|
|
1813
1794
|
.theme-brandPage .focus\:tw-border-grayscale-600:focus {
|
|
1814
1795
|
--tw-border-opacity: 1;
|
|
1815
1796
|
border-color: rgb(94 94 94 / var(--tw-border-opacity));
|
|
@@ -1908,9 +1889,6 @@ video {
|
|
|
1908
1889
|
.theme-brandPage .md\:tw-ml-4 {
|
|
1909
1890
|
margin-left: 1rem;
|
|
1910
1891
|
}
|
|
1911
|
-
.theme-brandPage .md\:tw-mr-2 {
|
|
1912
|
-
margin-right: 0.5rem;
|
|
1913
|
-
}
|
|
1914
1892
|
.theme-brandPage .md\:tw-mt-0 {
|
|
1915
1893
|
margin-top: 0px;
|
|
1916
1894
|
}
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-crazyDomains .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-crazyDomains .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-crazyDomains .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -830,10 +827,6 @@ video {
|
|
|
830
827
|
.theme-crazyDomains .tw-h-auto {
|
|
831
828
|
height: auto;
|
|
832
829
|
}
|
|
833
|
-
.theme-crazyDomains .tw-h-fit {
|
|
834
|
-
height: -moz-fit-content;
|
|
835
|
-
height: fit-content;
|
|
836
|
-
}
|
|
837
830
|
.theme-crazyDomains .tw-h-full {
|
|
838
831
|
height: 100%;
|
|
839
832
|
}
|
|
@@ -849,6 +842,9 @@ video {
|
|
|
849
842
|
.theme-crazyDomains .tw-max-h-screen {
|
|
850
843
|
max-height: 100vh;
|
|
851
844
|
}
|
|
845
|
+
.theme-crazyDomains .tw-w-1\/3 {
|
|
846
|
+
width: 33.333333%;
|
|
847
|
+
}
|
|
852
848
|
.theme-crazyDomains .tw-w-10 {
|
|
853
849
|
width: 2.5rem;
|
|
854
850
|
}
|
|
@@ -1450,17 +1446,6 @@ video {
|
|
|
1450
1446
|
.theme-crazyDomains .tw-bg-opacity-80 {
|
|
1451
1447
|
--tw-bg-opacity: 0.8;
|
|
1452
1448
|
}
|
|
1453
|
-
.theme-crazyDomains .tw-bg-gradient-to-t {
|
|
1454
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1455
|
-
}
|
|
1456
|
-
.theme-crazyDomains .tw-from-\[\#d946ef\] {
|
|
1457
|
-
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1458
|
-
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1459
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1460
|
-
}
|
|
1461
|
-
.theme-crazyDomains .tw-to-\[\#8b5cf6\] {
|
|
1462
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1463
|
-
}
|
|
1464
1449
|
.theme-crazyDomains .tw-bg-no-repeat {
|
|
1465
1450
|
background-repeat: no-repeat;
|
|
1466
1451
|
}
|
|
@@ -2038,10 +2023,6 @@ video {
|
|
|
2038
2023
|
--tw-bg-opacity: 1;
|
|
2039
2024
|
background-color: rgb(0 129 191 / var(--tw-bg-opacity));
|
|
2040
2025
|
}
|
|
2041
|
-
.theme-crazyDomains .hover\:tw-bg-primary-100:hover {
|
|
2042
|
-
--tw-bg-opacity: 1;
|
|
2043
|
-
background-color: rgb(226 238 213 / var(--tw-bg-opacity));
|
|
2044
|
-
}
|
|
2045
2026
|
.theme-crazyDomains .hover\:tw-bg-primary-400:hover {
|
|
2046
2027
|
--tw-bg-opacity: 1;
|
|
2047
2028
|
background-color: rgb(140 189 89 / var(--tw-bg-opacity));
|
|
@@ -2106,10 +2087,6 @@ video {
|
|
|
2106
2087
|
--tw-shadow-color: #00A1EF !important;
|
|
2107
2088
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2108
2089
|
}
|
|
2109
|
-
.theme-crazyDomains .hover\:tw-brightness-\[0\.85\]:hover {
|
|
2110
|
-
--tw-brightness: brightness(0.85);
|
|
2111
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2112
|
-
}
|
|
2113
2090
|
.theme-crazyDomains .focus\:tw-border-error-600:focus {
|
|
2114
2091
|
--tw-border-opacity: 1;
|
|
2115
2092
|
border-color: rgb(186 24 79 / var(--tw-border-opacity));
|
|
@@ -2224,9 +2201,6 @@ video {
|
|
|
2224
2201
|
.theme-crazyDomains .md\:tw-ml-4 {
|
|
2225
2202
|
margin-left: 1rem;
|
|
2226
2203
|
}
|
|
2227
|
-
.theme-crazyDomains .md\:tw-mr-2 {
|
|
2228
|
-
margin-right: 0.5rem;
|
|
2229
|
-
}
|
|
2230
2204
|
.theme-crazyDomains .md\:tw-mt-0 {
|
|
2231
2205
|
margin-top: 0px;
|
|
2232
2206
|
}
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-designCom .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-designCom .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-designCom .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -830,10 +827,6 @@ video {
|
|
|
830
827
|
.theme-designCom .tw-h-auto {
|
|
831
828
|
height: auto;
|
|
832
829
|
}
|
|
833
|
-
.theme-designCom .tw-h-fit {
|
|
834
|
-
height: -moz-fit-content;
|
|
835
|
-
height: fit-content;
|
|
836
|
-
}
|
|
837
830
|
.theme-designCom .tw-h-full {
|
|
838
831
|
height: 100%;
|
|
839
832
|
}
|
|
@@ -849,6 +842,9 @@ video {
|
|
|
849
842
|
.theme-designCom .tw-max-h-screen {
|
|
850
843
|
max-height: 100vh;
|
|
851
844
|
}
|
|
845
|
+
.theme-designCom .tw-w-1\/3 {
|
|
846
|
+
width: 33.333333%;
|
|
847
|
+
}
|
|
852
848
|
.theme-designCom .tw-w-10 {
|
|
853
849
|
width: 2.5rem;
|
|
854
850
|
}
|
|
@@ -1450,17 +1446,6 @@ video {
|
|
|
1450
1446
|
.theme-designCom .tw-bg-opacity-80 {
|
|
1451
1447
|
--tw-bg-opacity: 0.8;
|
|
1452
1448
|
}
|
|
1453
|
-
.theme-designCom .tw-bg-gradient-to-t {
|
|
1454
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1455
|
-
}
|
|
1456
|
-
.theme-designCom .tw-from-\[\#d946ef\] {
|
|
1457
|
-
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1458
|
-
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1459
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1460
|
-
}
|
|
1461
|
-
.theme-designCom .tw-to-\[\#8b5cf6\] {
|
|
1462
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1463
|
-
}
|
|
1464
1449
|
.theme-designCom .tw-bg-no-repeat {
|
|
1465
1450
|
background-repeat: no-repeat;
|
|
1466
1451
|
}
|
|
@@ -2038,10 +2023,6 @@ video {
|
|
|
2038
2023
|
--tw-bg-opacity: 1;
|
|
2039
2024
|
background-color: rgb(50 71 197 / var(--tw-bg-opacity));
|
|
2040
2025
|
}
|
|
2041
|
-
.theme-designCom .hover\:tw-bg-primary-100:hover {
|
|
2042
|
-
--tw-bg-opacity: 1;
|
|
2043
|
-
background-color: rgb(236 238 254 / var(--tw-bg-opacity));
|
|
2044
|
-
}
|
|
2045
2026
|
.theme-designCom .hover\:tw-bg-primary-400:hover {
|
|
2046
2027
|
--tw-bg-opacity: 1;
|
|
2047
2028
|
background-color: rgb(121 139 249 / var(--tw-bg-opacity));
|
|
@@ -2106,10 +2087,6 @@ video {
|
|
|
2106
2087
|
--tw-shadow-color: #3f59f6 !important;
|
|
2107
2088
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2108
2089
|
}
|
|
2109
|
-
.theme-designCom .hover\:tw-brightness-\[0\.85\]:hover {
|
|
2110
|
-
--tw-brightness: brightness(0.85);
|
|
2111
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2112
|
-
}
|
|
2113
2090
|
.theme-designCom .focus\:tw-border-error-600:focus {
|
|
2114
2091
|
--tw-border-opacity: 1;
|
|
2115
2092
|
border-color: rgb(182 58 42 / var(--tw-border-opacity));
|
|
@@ -2224,9 +2201,6 @@ video {
|
|
|
2224
2201
|
.theme-designCom .md\:tw-ml-4 {
|
|
2225
2202
|
margin-left: 1rem;
|
|
2226
2203
|
}
|
|
2227
|
-
.theme-designCom .md\:tw-mr-2 {
|
|
2228
|
-
margin-right: 0.5rem;
|
|
2229
|
-
}
|
|
2230
2204
|
.theme-designCom .md\:tw-mt-0 {
|
|
2231
2205
|
margin-top: 0px;
|
|
2232
2206
|
}
|
|
@@ -719,9 +719,6 @@ video {
|
|
|
719
719
|
.theme-designCrowd .tw-ml-auto {
|
|
720
720
|
margin-left: auto;
|
|
721
721
|
}
|
|
722
|
-
.theme-designCrowd .tw-mr-1 {
|
|
723
|
-
margin-right: 0.25rem;
|
|
724
|
-
}
|
|
725
722
|
.theme-designCrowd .tw-mr-2 {
|
|
726
723
|
margin-right: 0.5rem;
|
|
727
724
|
}
|
|
@@ -830,10 +827,6 @@ video {
|
|
|
830
827
|
.theme-designCrowd .tw-h-auto {
|
|
831
828
|
height: auto;
|
|
832
829
|
}
|
|
833
|
-
.theme-designCrowd .tw-h-fit {
|
|
834
|
-
height: -moz-fit-content;
|
|
835
|
-
height: fit-content;
|
|
836
|
-
}
|
|
837
830
|
.theme-designCrowd .tw-h-full {
|
|
838
831
|
height: 100%;
|
|
839
832
|
}
|
|
@@ -849,6 +842,9 @@ video {
|
|
|
849
842
|
.theme-designCrowd .tw-max-h-screen {
|
|
850
843
|
max-height: 100vh;
|
|
851
844
|
}
|
|
845
|
+
.theme-designCrowd .tw-w-1\/3 {
|
|
846
|
+
width: 33.333333%;
|
|
847
|
+
}
|
|
852
848
|
.theme-designCrowd .tw-w-10 {
|
|
853
849
|
width: 2.5rem;
|
|
854
850
|
}
|
|
@@ -1450,17 +1446,6 @@ video {
|
|
|
1450
1446
|
.theme-designCrowd .tw-bg-opacity-80 {
|
|
1451
1447
|
--tw-bg-opacity: 0.8;
|
|
1452
1448
|
}
|
|
1453
|
-
.theme-designCrowd .tw-bg-gradient-to-t {
|
|
1454
|
-
background-image: linear-gradient(to top, var(--tw-gradient-stops));
|
|
1455
|
-
}
|
|
1456
|
-
.theme-designCrowd .tw-from-\[\#d946ef\] {
|
|
1457
|
-
--tw-gradient-from: #d946ef var(--tw-gradient-from-position);
|
|
1458
|
-
--tw-gradient-to: rgb(217 70 239 / 0) var(--tw-gradient-to-position);
|
|
1459
|
-
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
1460
|
-
}
|
|
1461
|
-
.theme-designCrowd .tw-to-\[\#8b5cf6\] {
|
|
1462
|
-
--tw-gradient-to: #8b5cf6 var(--tw-gradient-to-position);
|
|
1463
|
-
}
|
|
1464
1449
|
.theme-designCrowd .tw-bg-no-repeat {
|
|
1465
1450
|
background-repeat: no-repeat;
|
|
1466
1451
|
}
|
|
@@ -2038,10 +2023,6 @@ video {
|
|
|
2038
2023
|
--tw-bg-opacity: 1;
|
|
2039
2024
|
background-color: rgb(14 121 188 / var(--tw-bg-opacity));
|
|
2040
2025
|
}
|
|
2041
|
-
.theme-designCrowd .hover\:tw-bg-primary-100:hover {
|
|
2042
|
-
--tw-bg-opacity: 1;
|
|
2043
|
-
background-color: rgb(207 234 251 / var(--tw-bg-opacity));
|
|
2044
|
-
}
|
|
2045
2026
|
.theme-designCrowd .hover\:tw-bg-primary-400:hover {
|
|
2046
2027
|
--tw-bg-opacity: 1;
|
|
2047
2028
|
background-color: rgb(65 172 239 / var(--tw-bg-opacity));
|
|
@@ -2106,10 +2087,6 @@ video {
|
|
|
2106
2087
|
--tw-shadow-color: #1197EB !important;
|
|
2107
2088
|
--tw-shadow: var(--tw-shadow-colored) !important;
|
|
2108
2089
|
}
|
|
2109
|
-
.theme-designCrowd .hover\:tw-brightness-\[0\.85\]:hover {
|
|
2110
|
-
--tw-brightness: brightness(0.85);
|
|
2111
|
-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
|
2112
|
-
}
|
|
2113
2090
|
.theme-designCrowd .focus\:tw-border-error-600:focus {
|
|
2114
2091
|
--tw-border-opacity: 1;
|
|
2115
2092
|
border-color: rgb(195 50 48 / var(--tw-border-opacity));
|
|
@@ -2224,9 +2201,6 @@ video {
|
|
|
2224
2201
|
.theme-designCrowd .md\:tw-ml-4 {
|
|
2225
2202
|
margin-left: 1rem;
|
|
2226
2203
|
}
|
|
2227
|
-
.theme-designCrowd .md\:tw-mr-2 {
|
|
2228
|
-
margin-right: 0.5rem;
|
|
2229
|
-
}
|
|
2230
2204
|
.theme-designCrowd .md\:tw-mt-0 {
|
|
2231
2205
|
margin-top: 0px;
|
|
2232
2206
|
}
|
|
@@ -10,11 +10,14 @@
|
|
|
10
10
|
<button
|
|
11
11
|
class="button-group-item tw-text-xs tw-shadow-inner tw-w-full tw-py-2"
|
|
12
12
|
:class="{
|
|
13
|
-
'!tw-shadow-[0_0_0_2px] !tw-shadow-info-500': option.isSelected,
|
|
14
|
-
'!tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200
|
|
13
|
+
'!tw-shadow-[0_0_0_2px] !tw-shadow-info-500': option.isSelected && !option.disabled,
|
|
14
|
+
'!tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': !option.isSelected && !option.disabled,
|
|
15
|
+
'hover:!tw-shadow-info-500': !option.isSelected && !option.disabled,
|
|
16
|
+
'tw-opacity-50 !tw-cursor-not-allowed !tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': option.disabled,
|
|
15
17
|
}"
|
|
18
|
+
:disabled="option.disabled"
|
|
16
19
|
v-bind="option.dataAttribute ? { [option.dataAttribute]: '' } : {}"
|
|
17
|
-
@click="$emit('on-select', option)"
|
|
20
|
+
@click="!option.disabled && $emit('on-select', option)"
|
|
18
21
|
>
|
|
19
22
|
<slot name="content" :option="option"></slot>
|
|
20
23
|
</button>
|
|
@@ -35,8 +38,10 @@
|
|
|
35
38
|
<button
|
|
36
39
|
v-if="variant === 'icon'"
|
|
37
40
|
:class="{
|
|
38
|
-
'!tw-shadow-[0_0_0_2px] !tw-shadow-info-500': option.isSelected,
|
|
39
|
-
'!tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200
|
|
41
|
+
'!tw-shadow-[0_0_0_2px] !tw-shadow-info-500': option.isSelected && !option.disabled,
|
|
42
|
+
'!tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': !option.isSelected && !option.disabled,
|
|
43
|
+
'hover:!tw-shadow-info-500': !option.isSelected && !option.disabled,
|
|
44
|
+
'tw-opacity-50 !tw-cursor-not-allowed !tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': option.disabled,
|
|
40
45
|
'tw-px-2': !option.iconViewBox,
|
|
41
46
|
'tw-px-px':
|
|
42
47
|
option.iconViewBox && !option.isSelected && !option.iconName.includes('display-style') && btnStyleVariant, // TODO - move style logic to computed prop
|
|
@@ -45,9 +50,10 @@
|
|
|
45
50
|
'tw-px-0 tw-py-0': option.iconName.includes('display-style') || btnStyleVariant === 'compressed',
|
|
46
51
|
}"
|
|
47
52
|
:style="option.iconName.includes('display-style') ? { lineHeight: 0 } : {}"
|
|
53
|
+
:disabled="option.disabled"
|
|
48
54
|
class="tw-text-xs button-group-icon-button tw-shadow-inner"
|
|
49
55
|
v-bind="option.dataAttribute ? { [option.dataAttribute]: '' } : {}"
|
|
50
|
-
@click="$emit('on-select', option)"
|
|
56
|
+
@click="!option.disabled && $emit('on-select', option)"
|
|
51
57
|
>
|
|
52
58
|
<div
|
|
53
59
|
:class="{
|
|
@@ -67,12 +73,15 @@
|
|
|
67
73
|
<button
|
|
68
74
|
v-else
|
|
69
75
|
:class="{
|
|
70
|
-
'!tw-shadow-[0_0_0_2px] !tw-shadow-info-500': option.isSelected,
|
|
71
|
-
'!tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200
|
|
76
|
+
'!tw-shadow-[0_0_0_2px] !tw-shadow-info-500': option.isSelected && !option.disabled,
|
|
77
|
+
'!tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': !option.isSelected && !option.disabled,
|
|
78
|
+
'hover:!tw-shadow-info-500': !option.isSelected && !option.disabled,
|
|
79
|
+
'tw-opacity-50 !tw-cursor-not-allowed !tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': option.disabled,
|
|
72
80
|
}"
|
|
81
|
+
:disabled="option.disabled"
|
|
73
82
|
class="tw-text-xs button-group-image-button tw-shadow-inner"
|
|
74
83
|
v-bind="option.dataAttribute ? { [option.dataAttribute]: '' } : {}"
|
|
75
|
-
@click="$emit('on-select', option)"
|
|
84
|
+
@click="!option.disabled && $emit('on-select', option)"
|
|
76
85
|
>
|
|
77
86
|
<img :src="option.src" :alt="option.alt" class="tw-w-full tw-h-full" />
|
|
78
87
|
</button>
|
|
@@ -90,11 +99,14 @@
|
|
|
90
99
|
:key="`button-${option.value}`"
|
|
91
100
|
:class="{
|
|
92
101
|
'tw-ml-2': idx > 0 && !columns,
|
|
93
|
-
'!tw-shadow-[0_0_0_2px] !tw-shadow-info-500': option.isSelected,
|
|
94
|
-
'!tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200
|
|
102
|
+
'!tw-shadow-[0_0_0_2px] !tw-shadow-info-500': option.isSelected && !option.disabled,
|
|
103
|
+
'!tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': !option.isSelected && !option.disabled,
|
|
104
|
+
'hover:!tw-shadow-info-500': !option.isSelected && !option.disabled,
|
|
105
|
+
'tw-opacity-50 !tw-cursor-not-allowed !tw-shadow-[0_0_0_1px] !tw-shadow-secondary-200': option.disabled,
|
|
95
106
|
}"
|
|
107
|
+
:disabled="option.disabled"
|
|
96
108
|
class="tw-text-xs button-group-button tw-shadow-inner"
|
|
97
|
-
@click="$emit('on-select', option)"
|
|
109
|
+
@click="!option.disabled && $emit('on-select', option)"
|
|
98
110
|
>
|
|
99
111
|
{{ option.label }}
|
|
100
112
|
</button>
|
|
@@ -38,3 +38,16 @@ export const WithForm = () => {
|
|
|
38
38
|
`,
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
+
|
|
42
|
+
export const WithSubtitle = () => {
|
|
43
|
+
return {
|
|
44
|
+
...data,
|
|
45
|
+
template: `
|
|
46
|
+
<CollapsiblePanel title="Hello" subtitle="This is a subtitle">
|
|
47
|
+
<p>Test case with subtitle</p>
|
|
48
|
+
<p>Test case with subtitle</p>
|
|
49
|
+
<p>Test case with subtitle</p>
|
|
50
|
+
</CollapsiblePanel>
|
|
51
|
+
`,
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -7,8 +7,11 @@
|
|
|
7
7
|
:class="{ 'tw-mb-2': !selfIsCollapsed }"
|
|
8
8
|
@click="toggleCollapsed()"
|
|
9
9
|
>
|
|
10
|
-
<div class="tw-grow
|
|
11
|
-
|
|
10
|
+
<div class="tw-grow">
|
|
11
|
+
<div class="tw-text-md tw-font-sans tw-font-bold tw-text-secondary-800">
|
|
12
|
+
{{ title }}
|
|
13
|
+
</div>
|
|
14
|
+
<div v-if="subtitle" class="tw-text-sm tw-text-grayscale-700 tw-my-1">{{ subtitle }}</div>
|
|
12
15
|
</div>
|
|
13
16
|
<div class="tw-bg-transparent tw-border-none tw-text-grayscale-600 tw-ml-2">
|
|
14
17
|
<Icon :name="selfIsCollapsed ? 'chevron-down' : 'chevron-up'" size="sm" />
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"sellDomainNameList": {
|
|
23
23
|
"freeDomainButtonLabel": "Kostenlose Domain",
|
|
24
24
|
"buyNowButtonLabel": "Jetzt kaufen",
|
|
25
|
-
"pricePerYearLabel": "/
|
|
25
|
+
"pricePerYearLabel": "/yr",
|
|
26
26
|
"costPriceLabel": "Kostenpreis:"
|
|
27
27
|
},
|
|
28
28
|
"sellDomainNameListModal": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"searchBarPreText": "Domainname"
|
|
41
41
|
},
|
|
42
42
|
"sellDomainNameListSearchResult": {
|
|
43
|
-
"domainSearchEmptyMessage": "Leider konnten wir keine Domain für
|
|
43
|
+
"domainSearchEmptyMessage": "Leider konnten wir keine Domain für „{{domainNameSearchTerm}}“ finden.",
|
|
44
44
|
"searchAnotherDomainMessage": "Versuchen Sie, mit einer anderen Domain zu suchen."
|
|
45
45
|
},
|
|
46
46
|
"sellDomainNameWidget": {
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"sellDomainNameList": {
|
|
23
23
|
"freeDomainButtonLabel": "Domaine gratuit",
|
|
24
24
|
"buyNowButtonLabel": "Acheter",
|
|
25
|
-
"pricePerYearLabel": "/
|
|
26
|
-
"costPriceLabel": "Prix de revient:"
|
|
25
|
+
"pricePerYearLabel": "/yr",
|
|
26
|
+
"costPriceLabel": "Prix de revient :"
|
|
27
27
|
},
|
|
28
28
|
"sellDomainNameListModal": {
|
|
29
29
|
"domainSearchHeaderTitle": "Rechercher un nom de domaine",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"searchBarPreText": "Nom de domaine"
|
|
41
41
|
},
|
|
42
42
|
"sellDomainNameListSearchResult": {
|
|
43
|
-
"domainSearchEmptyMessage": "Désolé, nous n’avons pas trouvé de nom de domaine pour
|
|
43
|
+
"domainSearchEmptyMessage": "Désolé, nous n’avons pas trouvé de nom de domaine pour « {{domainNameSearchTerm}} ».",
|
|
44
44
|
"searchAnotherDomainMessage": "Essayez de faire une recherche avec un autre nom de domaine."
|
|
45
45
|
},
|
|
46
46
|
"sellDomainNameWidget": {
|